@base-framework/ui 1.0.113 → 1.0.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/atoms.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as e, C as t, a as n, F as o, L as p, P as r, R as u, S as I, b as i, T as l } from "./tooltip-CxYLh_yj.js";
1
+ import { B as e, C as t, a as n, F as o, L as p, P as r, R as u, S as I, b as i, T as l } from "./tooltip-DFe_Pzhn.js";
2
2
  import { B as m, I as T, L as c } from "./buttons-CVEwmPAi.js";
3
3
  import { C as B, d as C, D as S, c as g, E as b, F as f, H as h, I as F, M as L, N as P, P as R, R as k, S as D, T as V, a as E, b as H, U as M, W as N } from "./inputs-Dmu4Z-7-.js";
4
4
  import { V as W, a as w } from "./veil-D4dRxILB.js";
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as e, C as o, a as t, F as r, L as n, P as i, R as l, S as p, b as u, T as m } from "./tooltip-CxYLh_yj.js";
1
+ import { B as e, C as o, a as t, F as r, L as n, P as i, R as l, S as p, b as u, T as m } from "./tooltip-DFe_Pzhn.js";
2
2
  import { B as g, I as T, L as c } from "./buttons-CVEwmPAi.js";
3
3
  import { C as b, d as D, D as S, c as I, E as B, F as P, H as F, I as M, M as k, N, P as v, R as f, S as x, T as h, a as y, b as W, U as L, W as A } from "./inputs-Dmu4Z-7-.js";
4
4
  import { V as w, a as U } from "./veil-D4dRxILB.js";
@@ -1,6 +1,6 @@
1
- import { Span as c, Div as l, Legend as b, Fieldset as f, UseParent as x, Input as C } from "@base-framework/atoms";
1
+ import { Span as c, Div as l, Legend as f, Fieldset as x, UseParent as u, Input as C } from "@base-framework/atoms";
2
2
  import { Atom as s, Html as p } from "@base-framework/base";
3
- import { a as u } from "./veil-D4dRxILB.js";
3
+ import { a as d } from "./veil-D4dRxILB.js";
4
4
  import { f as h, e as y, g as k } from "./inputs-Dmu4Z-7-.js";
5
5
  const a = {
6
6
  gray: {
@@ -90,19 +90,19 @@ const a = {
90
90
  ...t,
91
91
  class: `rounded-lg border bg-card text-card-foreground shadow-md min-w-[120px] min-h-[80px] ${r} ${o} ${t.class || ""}`
92
92
  }, e);
93
- }), v = s((t, e) => b({
93
+ }), v = s((t, e) => f({
94
94
  ...t,
95
95
  class: ` font-medium bg-background -mt-4 -mx-1 px-2 py-2 ${t.class || ""}`
96
96
  }, e)), I = s((t, e) => {
97
97
  const r = t.border === "full" ? "border rounded-md" : "border-t";
98
- return f({
98
+ return x({
99
99
  ...t,
100
100
  class: `p-6 ${r} ${t.class || ""}`
101
101
  }, [
102
102
  t.legend && v(t.legend),
103
103
  l({ class: "flex flex-auto flex-col space-y-6" }, e)
104
104
  ]);
105
- }), G = u(
105
+ }), G = d(
106
106
  {
107
107
  /**
108
108
  * This will create the initial state of the RangeSlider.
@@ -135,7 +135,7 @@ const a = {
135
135
  return l({ class: "relative w-full h-4 flex items-center" }, [
136
136
  // Track
137
137
  l({ class: "absolute h-2 w-full rounded-full bg-muted" }),
138
- x(({ state: t }) => [
138
+ u(({ state: t }) => [
139
139
  // Filled Track
140
140
  l({
141
141
  class: "absolute h-2 bg-primary rounded-full",
@@ -182,7 +182,7 @@ const a = {
182
182
  t.options && p.setupSelectOptions(e, t.options);
183
183
  }
184
184
  })), P = (t) => !t || isNaN(t) ? null : t, i = (t, e) => {
185
- const r = t, o = 16, n = 2 * Math.PI * o, d = r / 100 * n, m = `
185
+ const r = t, o = 16, n = 2 * Math.PI * o, m = r / 100 * n, b = `
186
186
  <svg class="w-40 h-40 mx-auto" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
187
187
  <!-- Background Circle -->
188
188
  <circle
@@ -205,7 +205,7 @@ const a = {
205
205
  stroke-width="4"
206
206
  class="stroke-primary"
207
207
  stroke-dasharray="${n}"
208
- stroke-dashoffset="${n - d}"
208
+ stroke-dashoffset="${n - m}"
209
209
  stroke-linecap="round"
210
210
  class="${e}"
211
211
  />
@@ -222,7 +222,7 @@ const a = {
222
222
  `;
223
223
  return l({
224
224
  class: "circle-graph text-inherit",
225
- html: m
225
+ html: b
226
226
  });
227
227
  }, O = s((t) => {
228
228
  const e = t.progress || 0, r = t.class || "", o = i(e, r);
@@ -233,10 +233,10 @@ const a = {
233
233
  (n) => (n = P(n), n ? i(n, r) : o)
234
234
  ]
235
235
  }, [o]);
236
- }), S = () => l({
236
+ }), S = () => u(({ state: t }) => l({
237
237
  class: "absolute h-full rounded-full bg-primary transition-all duration-300",
238
- style: "width: [[progress]]%;"
239
- }), V = u(
238
+ style: ["width: [[progress]]%;", t]
239
+ })), V = d(
240
240
  {
241
241
  /**
242
242
  * This will render the progress bar component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.113",
3
+ "version": "1.0.114",
4
4
  "description": "This is a UI package that adds components and atoms that use Tailwind CSS and a theme based on Shadcn.",
5
5
  "main": "./dist/index.es.js",
6
6
  "scripts": {