@base-framework/ui 1.0.27 → 1.0.29

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,7 +1,7 @@
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-BfjS2tiN.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-JULShdSj.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-CzHSmZKP.js";
4
- import { V as W, a as w } from "./veil-DSQdR6CM.js";
4
+ import { V as W, a as w } from "./veil-gN57SpXV.js";
5
5
  export {
6
6
  e as Badge,
7
7
  m as Button,
@@ -3,7 +3,7 @@ import { Atom as c, Component as p, Html as L, Dom as Z, base as ee, Data as k,
3
3
  import { P as D, b as te } from "./calendar-CYExSMEO.js";
4
4
  import { B as u, I as x } from "./buttons-CVEwmPAi.js";
5
5
  import { Icons as d } from "./icons.es.js";
6
- import { a as w } from "./veil-DSQdR6CM.js";
6
+ import { a as w } from "./veil-gN57SpXV.js";
7
7
  import { Timer as se, List as oe, DynamicTime as ne } from "@base-framework/organisms";
8
8
  const P = {
9
9
  info: {
package/dist/index.es.js CHANGED
@@ -1,9 +1,9 @@
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-BfjS2tiN.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-JULShdSj.js";
2
2
  import { B as g, I as C, L as T } from "./buttons-CVEwmPAi.js";
3
3
  import { C as D, d as I, D as S, c as b, 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-CzHSmZKP.js";
4
- import { V as w, a as U } from "./veil-DSQdR6CM.js";
4
+ import { V as w, a as U } from "./veil-gN57SpXV.js";
5
5
  import { Icons as R } from "./icons.es.js";
6
- import { A as G, B as V, C as j, z as q, u as z, v as J, w as _, D as K, j as Q, k as X, G as Y, E as Z, s as $, c as aa, a as sa, b as ea, i as oa, g as ta, e as ra, h as na, F as ia, d as la, f as pa, t as ua, M as ma, l as da, N as ga, P as Ca, p as Ta, q as ca, S as Da, n as Ia, o as Sa, T as ba, x as Ba, y as Pa, m as Fa, r as Ma } from "./confirmation-WhNImSlG.js";
6
+ import { A as G, B as V, C as j, z as q, u as z, v as J, w as _, D as K, j as Q, k as X, G as Y, E as Z, s as $, c as aa, a as sa, b as ea, i as oa, g as ta, e as ra, h as na, F as ia, d as la, f as pa, t as ua, M as ma, l as da, N as ga, P as Ca, p as Ta, q as ca, S as Da, n as Ia, o as Sa, T as ba, x as Ba, y as Pa, m as Fa, r as Ma } from "./confirmation-BrFWql_V.js";
7
7
  import { A as Na, b as va, C as fa, D as xa, a as ha, F as ya, M as Wa, P as La, c as Aa, g as Ha, p as wa } from "./calendar-CYExSMEO.js";
8
8
  import { B as Oa, m as Ra, C as Ea, j as Ga, D as Va, l as ja, H as qa, I as za, N as Ja, O as _a, P as Ka, S as Qa, q as Xa, p as Ya, n as Za, o as $a, T as as, k as ss, U as es, W as os, f as ts, h as rs, i as ns, c as is, d as ls, b as ps, e as us, a as ms, g as ds } from "./signature-panel-dqDinVVp.js";
9
9
  import { B as Cs, I as Ts, M as cs, d as Ds, e as Is, g as Ss, N as bs, b as Bs, a as Ps, f as Fs, P as Ms, c as ks, S as Ns, T as vs } from "./mobile-nav-wrapper-BE_hr65B.js";
@@ -1,4 +1,4 @@
1
- import { A as o, B as t, C as e, z as i, u as r, v as n, w as m, D as l, j as S, k as D, G as c, E as u, s as d, c as g, a as p, b as C, i as F, g as T, e as A, h as P, F as f, d as b, f as w, t as B, M as I, l as M, N as x, P as y, p as k, q as v, S as N, n as h, o as E, T as L, x as U, y as j, m as q, r as z } from "./confirmation-WhNImSlG.js";
1
+ import { A as o, B as t, C as e, z as i, u as r, v as n, w as m, D as l, j as S, k as D, G as c, E as u, s as d, c as g, a as p, b as C, i as F, g as T, e as A, h as P, F as f, d as b, f as w, t as B, M as I, l as M, N as x, P as y, p as k, q as v, S as N, n as h, o as E, T as L, x as U, y as j, m as q, r as z } from "./confirmation-BrFWql_V.js";
2
2
  import { A as O, P as R, g as _ } from "./calendar-CYExSMEO.js";
3
3
  export {
4
4
  o as Alert,
@@ -1,6 +1,6 @@
1
1
  import { Span as c, Div as l, Legend as b, Fieldset as f, Input as x } from "@base-framework/atoms";
2
2
  import { Atom as s, Html as C } from "@base-framework/base";
3
- import { a as u } from "./veil-DSQdR6CM.js";
3
+ import { a as u } from "./veil-gN57SpXV.js";
4
4
  import { f as p, e as h, g as y } from "./inputs-CzHSmZKP.js";
5
5
  const a = {
6
6
  gray: {
@@ -6,5 +6,5 @@
6
6
  * @param {object} props
7
7
  * @returns {object}
8
8
  */
9
- export const RangeSlider: any;
9
+ export const RangeSlider: typeof import("@base-framework/base").Component;
10
10
  export default RangeSlider;
@@ -6,4 +6,4 @@
6
6
  * @param {object} props
7
7
  * @returns {object}
8
8
  */
9
- export const ProgressBar: any;
9
+ export const ProgressBar: typeof import("@base-framework/base").Component;
@@ -5,9 +5,8 @@
5
5
  * or it will use the parent's data or context data to set a local context
6
6
  * to act as if it's data scope is the parent component.
7
7
  *
8
- * @param {object} props
9
- * @param {array} children
10
- * @returns {object}
8
+ * @type {typeof Component}
11
9
  */
12
- export const Veil: typeof import("@base-framework/base").Component;
13
- export function VeilJot(props: any): import("node_modules/@base-framework/base/dist/types/modules/component/jot").ComponentConstructor;
10
+ export const Veil: typeof Component;
11
+ export function VeilJot(props: any): typeof Component;
12
+ import { Component } from "@base-framework/base";
@@ -3,9 +3,7 @@
3
3
  *
4
4
  * This will render a Breadcrumb component.
5
5
  *
6
- * @param {object} props
7
- * @param {array} children
8
- * @returns {typeof Component}
6
+ * @type {typeof Component}
9
7
  */
10
8
  export const Breadcrumb: typeof Component;
11
9
  export default Breadcrumb;
@@ -3,10 +3,10 @@
3
3
  *
4
4
  * Renders a row of circular dots, one of which is "active."
5
5
  *
6
- * @param {object} props
7
- * @returns {typeof Component}
6
+ * @type {typeof Component}
8
7
  * @example
9
8
  * new DotsIndicator({ count: 4, activeIndex: 0 })
10
9
  */
11
- export const DotsIndicator: typeof import("@base-framework/base").Component;
10
+ export const DotsIndicator: typeof Component;
12
11
  export default DotsIndicator;
12
+ import { Component } from '@base-framework/base';
@@ -3,8 +3,7 @@
3
3
  *
4
4
  * This will render a combobox component.
5
5
  *
6
- * @param {object} props
7
- * @param {array} children
8
- * @returns {typeof Component}
6
+ * @type {typeof Component}
9
7
  */
10
- export const Combobox: typeof import("@base-framework/base").Component;
8
+ export const Combobox: typeof Component;
9
+ import { Component } from '@base-framework/base';
@@ -3,9 +3,8 @@
3
3
  *
4
4
  * This creates a counter component with an input for count and buttons to increment and decrement.
5
5
  *
6
- * @param {object} props
7
- * @param {array} children
8
- * @returns {typeof Component}
6
+ * @type {typeof Component}
9
7
  */
10
- export const Counter: any;
8
+ export const Counter: typeof Component;
11
9
  export default Counter;
10
+ import { Component } from '@base-framework/base';
@@ -3,9 +3,8 @@
3
3
  *
4
4
  * This will create a date picker component.
5
5
  *
6
- * @param {object} props
7
- * @param {array} children
8
- * @returns {typeof Component}
6
+ * @type {typeof Component}
9
7
  */
10
- export const DatePicker: any;
8
+ export const DatePicker: typeof Component;
11
9
  export default DatePicker;
10
+ import { Component } from '@base-framework/base';
@@ -3,8 +3,8 @@
3
3
  *
4
4
  * This will create a time picker component.
5
5
  *
6
- * @param {object} props
7
- * @returns {typeof Component}
6
+ * @type {typeof Component}
8
7
  */
9
- export const TimePicker: any;
8
+ export const TimePicker: typeof Component;
10
9
  export default TimePicker;
10
+ import { Component } from '@base-framework/base';
@@ -3,8 +3,7 @@
3
3
  *
4
4
  * Handles controlled form fields with accessibility.
5
5
  *
6
- * @param {object} props
7
- * @param {array} children
8
- * @returns {typeof Component}
6
+ * @type {typeof Component}
9
7
  */
10
- export const FormField: any;
8
+ export const FormField: typeof Component;
9
+ import { Component } from "@base-framework/base";
@@ -3,9 +3,8 @@
3
3
  *
4
4
  * This will create a toggle switch component.
5
5
  *
6
- * @param {object} props
7
- * @param {array} children
8
- * @returns {typeof Component}
6
+ * @type {typeof Component}
9
7
  */
10
- export const Toggle: any;
8
+ export const Toggle: typeof Component;
11
9
  export default Toggle;
10
+ import { Component } from '@base-framework/base';
@@ -3,8 +3,8 @@
3
3
  *
4
4
  * This will create a search dropdown.
5
5
  *
6
- * @param {object} props - The properties of the component.
7
- * @returns {typeof Component} - The search dropdown component.
6
+ * @type {typeof Component}
8
7
  */
9
- export const SearchDropdown: typeof import("@base-framework/base").Component;
8
+ export const SearchDropdown: typeof Component;
10
9
  export default SearchDropdown;
10
+ import { Component } from '@base-framework/base';
@@ -0,0 +1,22 @@
1
+ import { Jot as s } from "@base-framework/base";
2
+ const i = s(
3
+ {
4
+ /**
5
+ * This will set the component context.
6
+ *
7
+ * @param {object|null} context
8
+ * @returns {object|null}
9
+ */
10
+ setContext(t) {
11
+ var n, e, r, o;
12
+ if (this.data)
13
+ return null;
14
+ const a = ((n = this == null ? void 0 : this.parent) == null ? void 0 : n.data) ?? ((r = (e = this == null ? void 0 : this.parent) == null ? void 0 : e.context) == null ? void 0 : r.data) ?? ((o = this == null ? void 0 : this.parent) == null ? void 0 : o.state) ?? null;
15
+ return a ? { data: a } : null;
16
+ }
17
+ }
18
+ ), u = (t) => s(t, i);
19
+ export {
20
+ i as V,
21
+ u as a
22
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
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": {
@@ -1,30 +0,0 @@
1
- import { Jot as i } from "@base-framework/base";
2
- const o = i(
3
- {
4
- /**
5
- * This will get the child scope instance of the component.
6
- *
7
- * @returns {object}
8
- */
9
- getChildScope() {
10
- return this.parent ?? this;
11
- },
12
- /**
13
- * This will set the component context.
14
- *
15
- * @param {object|null} context
16
- * @returns {object|null}
17
- */
18
- setContext(t) {
19
- var n, a, r, s;
20
- if (this.data)
21
- return null;
22
- const e = ((n = this == null ? void 0 : this.parent) == null ? void 0 : n.data) ?? ((r = (a = this == null ? void 0 : this.parent) == null ? void 0 : a.context) == null ? void 0 : r.data) ?? ((s = this == null ? void 0 : this.parent) == null ? void 0 : s.state) ?? null;
23
- return e ? { data: e } : null;
24
- }
25
- }
26
- ), h = (t) => i(t, o);
27
- export {
28
- o as V,
29
- h as a
30
- };