@base-framework/ui 1.2.7 → 1.2.9
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 +2 -2
- package/dist/{empty-state-h7KNXNy2.js → empty-state-DLpHv8MG.js} +3 -3
- package/dist/{image-T4fJLqgd.js → image-XjAp5NjV.js} +4 -1
- package/dist/index.es.js +5 -5
- package/dist/molecules.es.js +2 -2
- package/dist/organisms.es.js +2 -2
- package/dist/{signature-panel-Dwnm79Sg.js → signature-panel-BKj_0kwR.js} +2 -2
- package/dist/{simple-search-input-gDRD6pEN.js → simple-search-input-DKWA4zYs.js} +1 -1
- package/dist/{tooltip-vxHsNvfy.js → tooltip-CwOm1Qs5.js} +1 -1
- package/dist/types/components/atoms/form/inputs/range-slider.d.ts +1 -1
- package/dist/types/components/atoms/progress/progress-bar.d.ts +1 -1
- package/dist/types/components/atoms/veil.d.ts +5 -3
- package/dist/types/components/molecules/counters/counter.d.ts +1 -1
- package/dist/types/components/molecules/date-time/date-picker.d.ts +1 -1
- package/dist/types/components/molecules/date-time/date-range-picker.d.ts +1 -1
- package/dist/types/components/molecules/date-time/time-picker.d.ts +1 -1
- package/dist/types/components/molecules/form/form-field.d.ts +1 -1
- package/dist/types/components/molecules/toggle/toggle.d.ts +3 -1
- package/package.json +26 -29
package/dist/atoms.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as e, C as t, a as o, F as n, b as r, L as i, P as p, R as u, S as I, T as l } from "./tooltip-
|
|
1
|
+
import { B as e, C as t, a as o, F as n, b as r, L as i, P as p, R as u, S as I, T as l } from "./tooltip-CwOm1Qs5.js";
|
|
2
2
|
import { B as d, C as g, a as m, I as T, L as B, M as C, T as x, U as b, i as f, b as F } from "./buttons-DthWscX3.js";
|
|
3
|
-
import { C as S, a as L, D as P, b as R, E as U, F as h, H as k, I as D, c as H, M as V, N as E, P as G, R as N, T as W, d as v, e as w, U as J, V as j, f as q, W as y } from "./image-
|
|
3
|
+
import { C as S, a as L, D as P, b as R, E as U, F as h, H as k, I as D, c as H, M as V, N as E, P as G, R as N, T as W, d as v, e as w, U as J, V as j, f as q, W as y } from "./image-XjAp5NjV.js";
|
|
4
4
|
import { S as A } from "./skeleton-BlY3opxG.js";
|
|
5
5
|
export {
|
|
6
6
|
e as Badge,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Atom as c, Component as y, Html as A, Dom as Z, base as tt, Data as k, Builder as H, Jot as w, Events as g, DateTime as M } from "@base-framework/base";
|
|
2
2
|
import { Div as n, H5 as et, P as b, Li as q, Span as a, Ul as V, Button as p, I as T, OnState as I, Label as P, H2 as v, Form as st, Header as B, Footer as L, A as G, H3 as ot, Checkbox as nt, Input as f, Img as W, Nav as it, UseParent as _, OnStateOpen as O, Time as rt, Dialog as lt } from "@base-framework/atoms";
|
|
3
|
-
import { P as S, C as at, R as ct } from "./simple-search-input-
|
|
3
|
+
import { P as S, C as at, R as ct } from "./simple-search-input-DKWA4zYs.js";
|
|
4
4
|
import { U as m, B as h, I as dt } from "./buttons-DthWscX3.js";
|
|
5
5
|
import { Timer as ut, List as ht, DynamicTime as mt } from "@base-framework/organisms";
|
|
6
|
-
import { C as ft, b as pt } from "./tooltip-
|
|
7
|
-
import { f as C } from "./image-
|
|
6
|
+
import { C as ft, b as pt } from "./tooltip-CwOm1Qs5.js";
|
|
7
|
+
import { f as C } from "./image-XjAp5NjV.js";
|
|
8
8
|
import { Icons as u } from "./icons.es.js";
|
|
9
9
|
import { F as z } from "./format-DE4rFWuD.js";
|
|
10
10
|
import "./mobile-nav-wrapper-9VRCW4oA.js";
|
|
@@ -215,7 +215,10 @@ class L extends I {
|
|
|
215
215
|
return t ? { data: t } : null;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
const Z = (e) =>
|
|
218
|
+
const Z = (e) => (
|
|
219
|
+
/** @type {VeilComponentConstructor} */
|
|
220
|
+
b(e, L)
|
|
221
|
+
), _ = s(({ src: e, alt: a, class: t, checkPath: d = !0 }) => !e || (t = t || "", d && e.indexOf(".") === -1 && e.indexOf("[[") === -1) ? null : y({
|
|
219
222
|
class: `absolute w-full h-full object-cover fadeIn ${t}`,
|
|
220
223
|
src: e,
|
|
221
224
|
alt: a,
|
package/dist/index.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { B as s, C as o, a as t, F as r, b as n, L as i, P as l, R as p, S as m, T as u } from "./tooltip-
|
|
1
|
+
import { B as s, C as o, a as t, F as r, b as n, L as i, P as l, R as p, S as m, T as u } from "./tooltip-CwOm1Qs5.js";
|
|
2
2
|
import { B as g, C as c, a as T, I as C, L as I, M as b, T as S, U as B, i as D, b as F } from "./buttons-DthWscX3.js";
|
|
3
|
-
import { C as M, a as f, D as k, b as x, E as v, F as N, H as U, I as h, c as y, M as L, N as W, P as H, R, T as w, d as A, e as G, U as O, V as E, f as j, W as V } from "./image-
|
|
3
|
+
import { C as M, a as f, D as k, b as x, E as v, F as N, H as U, I as h, c as y, M as L, N as W, P as H, R, T as w, d as A, e as G, U as O, V as E, f as j, W as V } from "./image-XjAp5NjV.js";
|
|
4
4
|
import { S as q } from "./skeleton-BlY3opxG.js";
|
|
5
5
|
import { Icons as K, MaterialSymbols as Q } from "./icons.es.js";
|
|
6
|
-
import { A as X, B as Y, C as Z, a as $, b as aa, c as ea, d as sa, D as oa, e as ta, f as ra, g as na, h as ia, i as la, j as pa, k as ma, l as ua, m as da, n as ga, o as ca, E as Ta, F as Ca, p as Ia, q as ba, r as Sa, s as Ba, t as Da, u as Fa, v as Pa, w as Ma, x as fa, I as ka, L as xa, M as va, y as Na, N as Ua, z as ha, P as ya, S as La, G as Wa, H as Ha, J as Ra, K as wa, T as Aa, O as Ga, Q as Oa, R as Ea, U as ja } from "./empty-state-
|
|
7
|
-
import { A as Ja, B as qa, C as za, a as Ka, b as Qa, D as _a, c as Xa, d as Ya, e as Za, f as $a, g as ae, F as ee, H as se, M as oe, O as te, P as re, R as ne, S as ie, h as le, i as pe, j as me, T as ue, U as de, k as ge, l as ce, m as Te, p as Ce } from "./simple-search-input-
|
|
8
|
-
import { B as be, I as Se, N as Be, P as De, S as Fe, T as Pe, a as Me, b as fe, U as ke, c as xe, d as ve, e as Ne, W as Ue, f as he, g as ye, h as Le, i as We, j as He, k as Re, l as we, m as Ae, n as Ge } from "./signature-panel-
|
|
6
|
+
import { A as X, B as Y, C as Z, a as $, b as aa, c as ea, d as sa, D as oa, e as ta, f as ra, g as na, h as ia, i as la, j as pa, k as ma, l as ua, m as da, n as ga, o as ca, E as Ta, F as Ca, p as Ia, q as ba, r as Sa, s as Ba, t as Da, u as Fa, v as Pa, w as Ma, x as fa, I as ka, L as xa, M as va, y as Na, N as Ua, z as ha, P as ya, S as La, G as Wa, H as Ha, J as Ra, K as wa, T as Aa, O as Ga, Q as Oa, R as Ea, U as ja } from "./empty-state-DLpHv8MG.js";
|
|
7
|
+
import { A as Ja, B as qa, C as za, a as Ka, b as Qa, D as _a, c as Xa, d as Ya, e as Za, f as $a, g as ae, F as ee, H as se, M as oe, O as te, P as re, R as ne, S as ie, h as le, i as pe, j as me, T as ue, U as de, k as ge, l as ce, m as Te, p as Ce } from "./simple-search-input-DKWA4zYs.js";
|
|
8
|
+
import { B as be, I as Se, N as Be, P as De, S as Fe, T as Pe, a as Me, b as fe, U as ke, c as xe, d as ve, e as Ne, W as Ue, f as he, g as ye, h as Le, i as We, j as He, k as Re, l as we, m as Ae, n as Ge } from "./signature-panel-BKj_0kwR.js";
|
|
9
9
|
import { B as Ee, I as je, M as Ve, a as Je, b as qe, N as ze, c as Ke, d as Qe, e as _e, f as Xe, P as Ye, S as Ze, T as $e } from "./mobile-nav-wrapper-9VRCW4oA.js";
|
|
10
10
|
import { S as es } from "./sidebar-menu-DLGBb0-I.js";
|
|
11
11
|
import { B as os, F as ts, M as rs, P as ns } from "./full-page-CgVI1G7F.js";
|
package/dist/molecules.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as s, B as t, C as r, a as e, b as i, c as n, d as m, D as l, e as d, f as C, g as p, h as D, i as S, j as u, k as c, l as g, m as F, n as T, o as P, E as w, F as A, p as I, q as f, r as b, s as y, t as B, u as M, v as U, w as k, x, I as L, L as R, M as v, y as E, N, z as h, P as G, S as O, G as j, H as q, J as z, K as H, T as J, O as K, Q, R as _, U as V } from "./empty-state-
|
|
2
|
-
import { A as X, P as Y, m as Z } from "./simple-search-input-
|
|
1
|
+
import { A as s, B as t, C as r, a as e, b as i, c as n, d as m, D as l, e as d, f as C, g as p, h as D, i as S, j as u, k as c, l as g, m as F, n as T, o as P, E as w, F as A, p as I, q as f, r as b, s as y, t as B, u as M, v as U, w as k, x, I as L, L as R, M as v, y as E, N, z as h, P as G, S as O, G as j, H as q, J as z, K as H, T as J, O as K, Q, R as _, U as V } from "./empty-state-DLpHv8MG.js";
|
|
2
|
+
import { A as X, P as Y, m as Z } from "./simple-search-input-DKWA4zYs.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Alert,
|
|
5
5
|
X as Avatar,
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as s, C as n, a as t, b as r, D as o, c as l, d as i, e as d, f as b, g as p, F as u, H as T, M as g, O as v, R as N, S as k, h as D, i as c, j as C, T as m, U as B, k as S, l as M, p as h } from "./simple-search-input-
|
|
2
|
-
import { B as W, I as U, N as f, P as H, S as I, T as P, a as x, b as L, U as O, c as F, d as G, e as j, W as R, f as w, g as q, h as z, i as A, j as E, k as J, l as K, m as Q, n as V } from "./signature-panel-
|
|
1
|
+
import { B as s, C as n, a as t, b as r, D as o, c as l, d as i, e as d, f as b, g as p, F as u, H as T, M as g, O as v, R as N, S as k, h as D, i as c, j as C, T as m, U as B, k as S, l as M, p as h } from "./simple-search-input-DKWA4zYs.js";
|
|
2
|
+
import { B as W, I as U, N as f, P as H, S as I, T as P, a as x, b as L, U as O, c as F, d as G, e as j, W as R, f as w, g as q, h as z, i as A, j as E, k as J, l as K, m as Q, n as V } from "./signature-panel-BKj_0kwR.js";
|
|
3
3
|
import { B as Y, I as Z, M as _, a as $, b as aa, N as ea, c as sa, d as na, e as ta, f as ra, P as oa, S as la, T as ia } from "./mobile-nav-wrapper-9VRCW4oA.js";
|
|
4
4
|
import { S as ba } from "./sidebar-menu-DLGBb0-I.js";
|
|
5
5
|
export {
|
|
@@ -2,8 +2,8 @@ import { Div as l, Button as b, On as j, Span as T, Nav as f, Ul as p, Section a
|
|
|
2
2
|
import { Component as k, Data as I, DateTime as U, router as v, NavLink as S, base as L, Dom as B } from "@base-framework/base";
|
|
3
3
|
import { B as C } from "./buttons-DthWscX3.js";
|
|
4
4
|
import { Icons as D } from "./icons.es.js";
|
|
5
|
-
import { O as A } from "./simple-search-input-
|
|
6
|
-
import { V as u, H as F } from "./image-
|
|
5
|
+
import { O as A } from "./simple-search-input-DKWA4zYs.js";
|
|
6
|
+
import { V as u, H as F } from "./image-XjAp5NjV.js";
|
|
7
7
|
import { IntervalTimer as O } from "@base-framework/organisms";
|
|
8
8
|
class Pt extends k {
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@ import { Component as R, Data as P, Atom as m, DateTime as H, DataTracker as _,
|
|
|
3
3
|
import { B as y, U as q } from "./buttons-DthWscX3.js";
|
|
4
4
|
import { Icons as S } from "./icons.es.js";
|
|
5
5
|
import { TableBody as ct, DataTableBody as dt, ScrollableTableBody as ht, List as ut } from "@base-framework/organisms";
|
|
6
|
-
import { I as ft, C as mt, c as gt } from "./image-
|
|
6
|
+
import { I as ft, C as mt, c as gt } from "./image-XjAp5NjV.js";
|
|
7
7
|
const yt = (t, e) => {
|
|
8
8
|
const s = t ? t.getBoundingClientRect() : { top: 0, bottom: 0, left: 0 }, a = e.getBoundingClientRect(), n = 10, o = globalThis.scrollX, c = globalThis.scrollY;
|
|
9
9
|
let l = s.left + o, u = s.bottom + c;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Span as d, Div as n, Legend as h, Fieldset as p, H4 as y, P as k, UseParent as b, Input as w } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as s, Html as $ } from "@base-framework/base";
|
|
3
3
|
import { U as v } from "./buttons-DthWscX3.js";
|
|
4
|
-
import { f as m, g as P, h as S, i as E } from "./image-
|
|
4
|
+
import { f as m, g as P, h as S, i as E } from "./image-XjAp5NjV.js";
|
|
5
5
|
const g = {
|
|
6
6
|
gray: {
|
|
7
7
|
backgroundColor: "bg-gray-50",
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {new (...args: any[]) => Component} VeilComponentConstructor
|
|
3
|
+
*/
|
|
1
4
|
/**
|
|
2
5
|
* Veil Component
|
|
3
6
|
*
|
|
@@ -17,7 +20,6 @@ export class Veil extends Component {
|
|
|
17
20
|
*/
|
|
18
21
|
setContext(context: object | null): object | null;
|
|
19
22
|
}
|
|
20
|
-
export function VeilJot(props: any):
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
+
export function VeilJot(props: any): VeilComponentConstructor;
|
|
24
|
+
export type VeilComponentConstructor = new (...args: any[]) => Component;
|
|
23
25
|
import { Component } from "@base-framework/base";
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
* Toggle
|
|
3
3
|
*
|
|
4
4
|
* This will create a toggle switch component.
|
|
5
|
+
*
|
|
6
|
+
* @returns {new (...args: any[]) => import('@base-framework/base').Component}
|
|
5
7
|
*/
|
|
6
|
-
export const Toggle:
|
|
8
|
+
export const Toggle: import("../../atoms/veil.js").VeilComponentConstructor;
|
|
7
9
|
export default Toggle;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@base-framework/ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
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": {
|
|
@@ -26,19 +26,24 @@
|
|
|
26
26
|
"url": "https://github.com/chrisdurfee/ui/issues"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
+
"@base-framework/atoms": "^1.0.41",
|
|
30
|
+
"@base-framework/base": "^3.0.295",
|
|
31
|
+
"@base-framework/organisms": "^1.0.69",
|
|
29
32
|
"esbuild": "^0.25.0",
|
|
30
33
|
"tailwindcss": "^4.1.12"
|
|
31
34
|
},
|
|
32
35
|
"dependencies": {
|
|
33
|
-
"@base-framework/atoms": "^1.0.41",
|
|
34
|
-
"@base-framework/base": "^3.0.295",
|
|
35
|
-
"@base-framework/organisms": "^1.0.69",
|
|
36
36
|
"@tailwindcss/vite": "^4.1.12",
|
|
37
37
|
"d3": "^7.9.0",
|
|
38
38
|
"typescript": "^5.7.3",
|
|
39
39
|
"vite": "^7.1.0"
|
|
40
40
|
},
|
|
41
|
-
"
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@base-framework/atoms": "^1.0.41",
|
|
43
|
+
"@base-framework/base": "^3.0.295",
|
|
44
|
+
"@base-framework/organisms": "^1.0.69"
|
|
45
|
+
},
|
|
46
|
+
"types": "./dist/types/ui.d.ts",
|
|
42
47
|
"files": [
|
|
43
48
|
"package.json",
|
|
44
49
|
"readme.md",
|
|
@@ -48,44 +53,36 @@
|
|
|
48
53
|
"exports": {
|
|
49
54
|
"./package.json": "./package.json",
|
|
50
55
|
".": {
|
|
51
|
-
"types": "./dist/types
|
|
52
|
-
"import": "./dist/index.es.js"
|
|
53
|
-
"require": "./dist/index.cjs"
|
|
56
|
+
"types": "./dist/types/ui.d.ts",
|
|
57
|
+
"import": "./dist/index.es.js"
|
|
54
58
|
},
|
|
55
59
|
"./atoms": {
|
|
56
|
-
"types": "./dist/types/atoms
|
|
57
|
-
"import": "./dist/atoms.es.js"
|
|
58
|
-
"require": "./dist/atoms.cjs"
|
|
60
|
+
"types": "./dist/types/components/atoms/atoms.d.ts",
|
|
61
|
+
"import": "./dist/atoms.es.js"
|
|
59
62
|
},
|
|
60
63
|
"./icons": {
|
|
61
|
-
"types": "./dist/types/icons
|
|
62
|
-
"import": "./dist/icons.es.js"
|
|
63
|
-
"require": "./dist/icons.cjs"
|
|
64
|
+
"types": "./dist/types/components/icons/icons.d.ts",
|
|
65
|
+
"import": "./dist/icons.es.js"
|
|
64
66
|
},
|
|
65
67
|
"./molecules": {
|
|
66
|
-
"types": "./dist/types/molecules
|
|
67
|
-
"import": "./dist/molecules.es.js"
|
|
68
|
-
"require": "./dist/molecules.cjs"
|
|
68
|
+
"types": "./dist/types/components/molecules/molecules.d.ts",
|
|
69
|
+
"import": "./dist/molecules.es.js"
|
|
69
70
|
},
|
|
70
71
|
"./organisms": {
|
|
71
|
-
"types": "./dist/types/organisms
|
|
72
|
-
"import": "./dist/organisms.es.js"
|
|
73
|
-
"require": "./dist/organisms.cjs"
|
|
72
|
+
"types": "./dist/types/components/organisms/organisms.d.ts",
|
|
73
|
+
"import": "./dist/organisms.es.js"
|
|
74
74
|
},
|
|
75
75
|
"./utils": {
|
|
76
|
-
"types": "./dist/types/utils
|
|
77
|
-
"import": "./dist/utils.es.js"
|
|
78
|
-
"require": "./dist/utils.cjs"
|
|
76
|
+
"types": "./dist/types/utils/utils.d.ts",
|
|
77
|
+
"import": "./dist/utils.es.js"
|
|
79
78
|
},
|
|
80
79
|
"./pages": {
|
|
81
|
-
"types": "./dist/types/pages
|
|
82
|
-
"import": "./dist/pages.es.js"
|
|
83
|
-
"require": "./dist/pages.cjs"
|
|
80
|
+
"types": "./dist/types/components/pages/pages.d.ts",
|
|
81
|
+
"import": "./dist/pages.es.js"
|
|
84
82
|
},
|
|
85
83
|
"./templates": {
|
|
86
|
-
"types": "./dist/types/templates
|
|
87
|
-
"import": "./dist/templates.es.js"
|
|
88
|
-
"require": "./dist/templates.cjs"
|
|
84
|
+
"types": "./dist/types/components/pages/templates/templates.d.ts",
|
|
85
|
+
"import": "./dist/templates.es.js"
|
|
89
86
|
},
|
|
90
87
|
"./copilot.md": "./copilot.md"
|
|
91
88
|
},
|