@base-framework/ui 1.2.10 → 1.2.13

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,47 +1,49 @@
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
- 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-XjAp5NjV.js";
4
- import { S as A } from "./skeleton-BlY3opxG.js";
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, c as l, d as c, T as d } from "./tooltip-Dh_RmJ7u.js";
2
+ import { B as T, C as g, a as B, I as C, L as f, M as S, T as x, U as b, i as F, b as M } from "./buttons-DthWscX3.js";
3
+ import { C as P, a as R, D as U, b as h, E as k, F as D, H, I as V, c as E, M as G, N, P as W, R as Z, T as v, d as w, e as J, U as j, V as q, f as y, W as z } from "./image-XjAp5NjV.js";
4
+ import { S as K } from "./skeleton-BlY3opxG.js";
5
5
  export {
6
6
  e as Badge,
7
- d as Button,
7
+ T as Button,
8
8
  t as Card,
9
- S as Checkbox,
9
+ P as Checkbox,
10
10
  g as CircleButton,
11
11
  o as CircleGraph,
12
- m as CircleToggleButton,
13
- L as ColorInput,
14
- P as DateInput,
15
- R as DateTimeInput,
16
- U as EmailInput,
12
+ B as CircleToggleButton,
13
+ R as ColorInput,
14
+ U as DateInput,
15
+ h as DateTimeInput,
16
+ k as EmailInput,
17
17
  n as Fieldset,
18
- h as FileInput,
18
+ D as FileInput,
19
19
  r as FormGroup,
20
- k as HiddenInput,
21
- T as Icon,
22
- D as Image,
23
- H as Input,
20
+ H as HiddenInput,
21
+ C as Icon,
22
+ V as Image,
23
+ E as Input,
24
24
  i as Legend,
25
- B as LoadingButton,
26
- C as MaterialIcon,
27
- V as MonthInput,
28
- E as NumberInput,
29
- G as PasswordInput,
25
+ f as LoadingButton,
26
+ S as MaterialIcon,
27
+ G as MonthInput,
28
+ N as NumberInput,
29
+ W as PasswordInput,
30
30
  p as ProgressBar,
31
- N as Radio,
31
+ Z as Radio,
32
32
  u as RangeSlider,
33
- I as Select,
34
- A as Skeleton,
35
- W as TelInput,
36
- v as Textarea,
37
- w as TimeInput,
33
+ I as SafeZoneBottom,
34
+ l as SafeZoneTop,
35
+ c as Select,
36
+ K as Skeleton,
37
+ v as TelInput,
38
+ w as Textarea,
39
+ J as TimeInput,
38
40
  x as ToggleButton,
39
- l as Tooltip,
41
+ d as Tooltip,
40
42
  b as UniversalIcon,
41
- J as UrlInput,
42
- j as Veil,
43
- q as VeilJot,
44
- y as WeekInput,
45
- f as isHeroicon,
46
- F as isMaterialIcon
43
+ j as UrlInput,
44
+ q as Veil,
45
+ y as VeilJot,
46
+ z as WeekInput,
47
+ F as isHeroicon,
48
+ M as isMaterialIcon
47
49
  };
@@ -3,7 +3,7 @@ import { Div as n, H5 as et, P as b, Li as q, Span as a, Ul as V, Button as p, I
3
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-CwOm1Qs5.js";
6
+ import { C as ft, b as pt } from "./tooltip-Dh_RmJ7u.js";
7
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";
package/dist/index.es.js CHANGED
@@ -1,189 +1,191 @@
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
- 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-XjAp5NjV.js";
4
- import { S as q } from "./skeleton-BlY3opxG.js";
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-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
- 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
- import { S as es } from "./sidebar-menu-DLGBb0-I.js";
11
- import { B as os, F as ts, M as rs, P as ns } from "./full-page-CgVI1G7F.js";
12
- import { B as ls, C as ps, F as ms, a as us, S as ds } from "./sidebar-menu-page-DFRJL944.js";
13
- import { A as cs, F as Ts, M as Cs, T as Is, a as bs } from "./aside-template-B9V-0xle.js";
14
- import { B as Bs } from "./bside-template-oLChzjxQ.js";
15
- import { F as Fs, c as Ps } from "./format-DE4rFWuD.js";
16
- import { I as fs } from "./image-scaler-1G-JzJVG.js";
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, c as d, d as u, T as g } from "./tooltip-Dh_RmJ7u.js";
2
+ import { B as T, C, a as S, I, L as b, M as B, T as D, U as F, i as P, b as M } from "./buttons-DthWscX3.js";
3
+ import { C as k, a as x, D as v, b as N, E as U, F as h, H as y, I as L, c as W, M as H, N as R, P as w, R as A, T as G, d as O, e as E, U as j, V, f as J, W as Z } from "./image-XjAp5NjV.js";
4
+ import { S as z } from "./skeleton-BlY3opxG.js";
5
+ import { Icons as Q, MaterialSymbols as _ } from "./icons.es.js";
6
+ import { A as Y, B as $, C as aa, a as ea, b as sa, c as oa, d as ta, D as ra, e as na, f as ia, g as la, h as pa, i as ma, j as da, k as ua, l as ga, m as ca, n as Ta, o as Ca, E as Sa, F as Ia, p as ba, q as Ba, r as Da, s as Fa, t as Pa, u as Ma, v as fa, w as ka, x as xa, I as va, L as Na, M as Ua, y as ha, N as ya, z as La, P as Wa, S as Ha, G as Ra, H as wa, J as Aa, K as Ga, T as Oa, O as Ea, Q as ja, R as Va, U as Ja } from "./empty-state-CCu91UpF.js";
7
+ import { A as qa, B as za, C as Ka, a as Qa, b as _a, D as Xa, c as Ya, d as $a, e as ae, f as ee, g as se, F as oe, H as te, M as re, O as ne, P as ie, R as le, S as pe, h as me, i as de, j as ue, T as ge, U as ce, k as Te, l as Ce, m as Se, p as Ie } from "./simple-search-input-DKWA4zYs.js";
8
+ import { B as Be, I as De, N as Fe, P as Pe, S as Me, T as fe, a as ke, b as xe, U as ve, c as Ne, d as Ue, e as he, W as ye, f as Le, g as We, h as He, i as Re, j as we, k as Ae, l as Ge, m as Oe, n as Ee } from "./signature-panel-BKj_0kwR.js";
9
+ import { B as Ve, I as Je, M as Ze, a as qe, b as ze, N as Ke, c as Qe, d as _e, e as Xe, f as Ye, P as $e, S as as, T as es } from "./mobile-nav-wrapper-9VRCW4oA.js";
10
+ import { S as os } from "./sidebar-menu-DLGBb0-I.js";
11
+ import { B as rs, F as ns, M as is, P as ls } from "./full-page-CgVI1G7F.js";
12
+ import { B as ms, C as ds, F as us, a as gs, S as cs } from "./sidebar-menu-page-DFRJL944.js";
13
+ import { A as Cs, F as Ss, M as Is, T as bs, a as Bs } from "./aside-template-B9V-0xle.js";
14
+ import { B as Fs } from "./bside-template-oLChzjxQ.js";
15
+ import { F as Ms, c as fs } from "./format-DE4rFWuD.js";
16
+ import { I as xs } from "./image-scaler-1G-JzJVG.js";
17
17
  export {
18
- X as Alert,
19
- cs as AsideTemplate,
20
- Ja as Avatar,
21
- qa as BackButton,
22
- Ee as Backdrop,
18
+ Y as Alert,
19
+ Cs as AsideTemplate,
20
+ qa as Avatar,
21
+ za as BackButton,
22
+ Ve as Backdrop,
23
23
  s as Badge,
24
- os as BasicPage,
25
- ls as BlankPage,
26
- Y as Breadcrumb,
27
- Bs as BsideTemplate,
28
- g as Button,
29
- be as ButtonTab,
30
- za as Calendar,
31
- Ka as CalendarCells,
24
+ rs as BasicPage,
25
+ ms as BlankPage,
26
+ $ as Breadcrumb,
27
+ Fs as BsideTemplate,
28
+ T as Button,
29
+ Be as ButtonTab,
30
+ Ka as Calendar,
31
+ Qa as CalendarCells,
32
32
  o as Card,
33
- ps as CenterPage,
34
- M as Checkbox,
35
- Qa as CheckboxCol,
36
- c as CircleButton,
33
+ ds as CenterPage,
34
+ k as Checkbox,
35
+ _a as CheckboxCol,
36
+ C as CircleButton,
37
37
  t as CircleGraph,
38
- T as CircleToggleButton,
39
- f as ColorInput,
40
- Z as ColumnRow,
41
- $ as Combobox,
42
- aa as Confirmation,
43
- ea as CountDisplay,
44
- sa as Counter,
45
- _a as DataTable,
46
- Xa as DataTableBody,
47
- k as DateInput,
48
- oa as DatePicker,
49
- ta as DateRangePicker,
50
- x as DateTimeInput,
51
- Ya as DayCell,
52
- Za as DayHeader,
53
- ra as DelayComponent,
54
- na as DetailBody,
55
- ia as DetailSection,
56
- la as Dialog,
57
- pa as DialogContainer,
58
- $a as DockableOverlay,
59
- ma as DotsIndicator,
60
- ua as Drawer,
61
- da as Dropdown,
62
- ga as DropdownItem,
63
- ca as DropdownMenu,
64
- ae as DynamicDataTable,
65
- v as EmailInput,
66
- Ta as EmptyState,
38
+ S as CircleToggleButton,
39
+ x as ColorInput,
40
+ aa as ColumnRow,
41
+ ea as Combobox,
42
+ sa as Confirmation,
43
+ oa as CountDisplay,
44
+ ta as Counter,
45
+ Xa as DataTable,
46
+ Ya as DataTableBody,
47
+ v as DateInput,
48
+ ra as DatePicker,
49
+ na as DateRangePicker,
50
+ N as DateTimeInput,
51
+ $a as DayCell,
52
+ ae as DayHeader,
53
+ ia as DelayComponent,
54
+ la as DetailBody,
55
+ pa as DetailSection,
56
+ ma as Dialog,
57
+ da as DialogContainer,
58
+ ee as DockableOverlay,
59
+ ua as DotsIndicator,
60
+ ga as Drawer,
61
+ ca as Dropdown,
62
+ Ta as DropdownItem,
63
+ Ca as DropdownMenu,
64
+ se as DynamicDataTable,
65
+ U as EmailInput,
66
+ Sa as EmptyState,
67
67
  r as Fieldset,
68
- N as FileInput,
69
- Ca as Form,
70
- Ia as FormCard,
71
- ba as FormCardContent,
72
- Sa as FormCardGroup,
73
- Ba as FormControl,
74
- Da as FormDescription,
75
- Fa as FormField,
68
+ h as FileInput,
69
+ Ia as Form,
70
+ ba as FormCard,
71
+ Ba as FormCardContent,
72
+ Da as FormCardGroup,
73
+ Fa as FormControl,
74
+ Pa as FormDescription,
75
+ Ma as FormField,
76
76
  n as FormGroup,
77
- Pa as FormItem,
78
- Ma as FormLabel,
79
- fa as FormMessage,
80
- Fs as Format,
81
- ee as FormatDate,
82
- ms as FullContainPage,
83
- ts as FullPage,
84
- Ts as FullTemplate,
85
- us as FullscreenPage,
86
- se as HeaderCol,
87
- U as HiddenInput,
88
- C as Icon,
89
- K as Icons,
90
- h as Image,
91
- fs as ImageScaler,
92
- ka as ImageUploader,
93
- je as InlineNavigation,
94
- Se as InlineOverlay,
95
- y as Input,
77
+ fa as FormItem,
78
+ ka as FormLabel,
79
+ xa as FormMessage,
80
+ Ms as Format,
81
+ oe as FormatDate,
82
+ us as FullContainPage,
83
+ ns as FullPage,
84
+ Ss as FullTemplate,
85
+ gs as FullscreenPage,
86
+ te as HeaderCol,
87
+ y as HiddenInput,
88
+ I as Icon,
89
+ Q as Icons,
90
+ L as Image,
91
+ xs as ImageScaler,
92
+ va as ImageUploader,
93
+ Je as InlineNavigation,
94
+ De as InlineOverlay,
95
+ W as Input,
96
96
  i as Legend,
97
- I as LoadingButton,
98
- xa as LogoUploader,
99
- Cs as MainColumn,
100
- Ve as MainLink,
101
- rs as MainSection,
102
- b as MaterialIcon,
103
- Q as MaterialSymbols,
104
- va as MinusButton,
105
- Je as MobileNavButton,
106
- qe as MobileNavWrapper,
107
- Na as Modal,
108
- oe as MonthCalendar,
109
- L as MonthInput,
110
- ze as NavButton,
111
- Ke as NavButtonLink,
112
- Qe as Navigation,
113
- _e as NavigationGroup,
114
- Be as NavigationMenu,
115
- Xe as NavigationPopover,
116
- Ua as Notification,
117
- ha as NotificationContainer,
118
- W as NumberInput,
119
- te as Overlay,
120
- ns as Page,
121
- De as Panel,
122
- H as PasswordInput,
123
- ya as PlusButton,
124
- re as PopOver,
125
- Ye as PopupHeader,
97
+ b as LoadingButton,
98
+ Na as LogoUploader,
99
+ Is as MainColumn,
100
+ Ze as MainLink,
101
+ is as MainSection,
102
+ B as MaterialIcon,
103
+ _ as MaterialSymbols,
104
+ Ua as MinusButton,
105
+ qe as MobileNavButton,
106
+ ze as MobileNavWrapper,
107
+ ha as Modal,
108
+ re as MonthCalendar,
109
+ H as MonthInput,
110
+ Ke as NavButton,
111
+ Qe as NavButtonLink,
112
+ _e as Navigation,
113
+ Xe as NavigationGroup,
114
+ Fe as NavigationMenu,
115
+ Ye as NavigationPopover,
116
+ ya as Notification,
117
+ La as NotificationContainer,
118
+ R as NumberInput,
119
+ ne as Overlay,
120
+ ls as Page,
121
+ Pe as Panel,
122
+ w as PasswordInput,
123
+ Wa as PlusButton,
124
+ ie as PopOver,
125
+ $e as PopupHeader,
126
126
  l as ProgressBar,
127
- R as Radio,
128
- ne as RangeCalendar,
127
+ A as Radio,
128
+ le as RangeCalendar,
129
129
  p as RangeSlider,
130
- La as STATUSES,
131
- Wa as STATUS_CLASS,
132
- ie as ScrollableDataTable,
133
- le as SearchDropdown,
134
- pe as SearchInput,
135
- m as Select,
136
- es as SidebarMenu,
137
- ds as SidebarMenuPage,
138
- Fe as SignaturePanel,
139
- me as SimpleSearchInput,
140
- q as Skeleton,
141
- Ha as SplitRow,
142
- Ra as StaticStatusIndicator,
143
- wa as StatusIndicator,
144
- Ze as SubNavigation,
145
- Pe as Tab,
146
- Me as TabGroup,
147
- fe as TabNavigation,
148
- ue as TableHeader,
149
- w as TelInput,
150
- Is as Template,
151
- A as Textarea,
152
- Aa as ThemeToggle,
153
- Ga as TimeFrame,
154
- G as TimeInput,
155
- Oa as TimePicker,
156
- $e as TitleHeader,
157
- Ea as Toggle,
158
- S as ToggleButton,
159
- u as Tooltip,
160
- bs as TopBar,
161
- ke as UnderlinedButtonTab,
162
- xe as UnderlinedTab,
163
- ve as UnderlinedTabGroup,
164
- Ne as UnderlinedTabNavigation,
165
- B as UniversalIcon,
166
- O as UrlInput,
167
- de as UserList,
168
- ge as UserListItem,
169
- E as Veil,
170
- j as VeilJot,
171
- Ue as WeekCalendar,
172
- he as WeekCell,
173
- ye as WeekCells,
174
- Le as WeekHeader,
175
- V as WeekInput,
176
- ce as addTime,
177
- We as calculateWeekNumber,
178
- Ps as createWatcherCallback,
179
- He as generateWeeks,
180
- Re as getDateFromWeek,
181
- we as getMonthDays,
182
- Ae as getNextMonthDays,
183
- Te as getPosition,
184
- Ge as getPreviousMonthDays,
185
- ja as getStatusClass,
186
- D as isHeroicon,
187
- F as isMaterialIcon,
188
- Ce as pad
130
+ Ha as STATUSES,
131
+ Ra as STATUS_CLASS,
132
+ m as SafeZoneBottom,
133
+ d as SafeZoneTop,
134
+ pe as ScrollableDataTable,
135
+ me as SearchDropdown,
136
+ de as SearchInput,
137
+ u as Select,
138
+ os as SidebarMenu,
139
+ cs as SidebarMenuPage,
140
+ Me as SignaturePanel,
141
+ ue as SimpleSearchInput,
142
+ z as Skeleton,
143
+ wa as SplitRow,
144
+ Aa as StaticStatusIndicator,
145
+ Ga as StatusIndicator,
146
+ as as SubNavigation,
147
+ fe as Tab,
148
+ ke as TabGroup,
149
+ xe as TabNavigation,
150
+ ge as TableHeader,
151
+ G as TelInput,
152
+ bs as Template,
153
+ O as Textarea,
154
+ Oa as ThemeToggle,
155
+ Ea as TimeFrame,
156
+ E as TimeInput,
157
+ ja as TimePicker,
158
+ es as TitleHeader,
159
+ Va as Toggle,
160
+ D as ToggleButton,
161
+ g as Tooltip,
162
+ Bs as TopBar,
163
+ ve as UnderlinedButtonTab,
164
+ Ne as UnderlinedTab,
165
+ Ue as UnderlinedTabGroup,
166
+ he as UnderlinedTabNavigation,
167
+ F as UniversalIcon,
168
+ j as UrlInput,
169
+ ce as UserList,
170
+ Te as UserListItem,
171
+ V as Veil,
172
+ J as VeilJot,
173
+ ye as WeekCalendar,
174
+ Le as WeekCell,
175
+ We as WeekCells,
176
+ He as WeekHeader,
177
+ Z as WeekInput,
178
+ Ce as addTime,
179
+ Re as calculateWeekNumber,
180
+ fs as createWatcherCallback,
181
+ we as generateWeeks,
182
+ Ae as getDateFromWeek,
183
+ Ge as getMonthDays,
184
+ Oe as getNextMonthDays,
185
+ Se as getPosition,
186
+ Ee as getPreviousMonthDays,
187
+ Ja as getStatusClass,
188
+ P as isHeroicon,
189
+ M as isMaterialIcon,
190
+ Ie as pad
189
191
  };
@@ -1,4 +1,4 @@
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";
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-CCu91UpF.js";
2
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,
@@ -1,8 +1,8 @@
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
- import { Atom as s, Html as $ } from "@base-framework/base";
1
+ import { Span as m, Div as s, Legend as h, Fieldset as p, H4 as y, P as k, UseParent as x, Input as w } from "@base-framework/atoms";
2
+ import { Atom as n, 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-XjAp5NjV.js";
5
- const g = {
4
+ import { f as C, g as P, h as S, i as B } from "./image-XjAp5NjV.js";
5
+ const d = {
6
6
  gray: {
7
7
  backgroundColor: "bg-gray-50",
8
8
  textColor: "text-gray-600",
@@ -83,27 +83,27 @@ const g = {
83
83
  textColor: "text-foreground",
84
84
  ringColor: "ring-white/10"
85
85
  }
86
- }, B = (r) => g[r] || g.gray, F = (r, e = {}) => {
87
- const t = B(r), o = e.backgroundColor ?? t.backgroundColor, l = e.textColor ?? t.textColor, a = e.ringColor ?? t.ringColor;
86
+ }, N = (r) => d[r] || d.gray, E = (r, e = {}) => {
87
+ const t = N(r), o = e.backgroundColor ?? t.backgroundColor, l = e.textColor ?? t.textColor, a = e.ringColor ?? t.ringColor;
88
88
  return `inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors ${o} ${l} ${a}`;
89
- }, U = s((r, e) => {
90
- const { type: t, icon: o, size: l = "xs", backgroundColor: a, textColor: i, ringColor: f, ...x } = r, C = F(t, { backgroundColor: a, textColor: i, ringColor: f });
91
- return d({ ...x, class: C }, [
89
+ }, O = n((r, e) => {
90
+ const { type: t, icon: o, size: l = "xs", backgroundColor: a, textColor: i, ringColor: c, ...g } = r, u = E(t, { backgroundColor: a, textColor: i, ringColor: c });
91
+ return m({ ...g, class: u }, [
92
92
  o ? v({ size: l, class: "mr-1" }, o) : null,
93
93
  ...e || []
94
94
  ]);
95
- }), V = s((r, e) => {
95
+ }), U = n((r, e) => {
96
96
  const t = r.margin ?? "my-5 mx-5", o = r.padding ?? "p-4", l = r.border ?? "border-border";
97
- return r.hover && (r.class += " hover:shadow-lg hover:bg-muted/50"), n({
97
+ return r.hover && (r.class += " hover:shadow-lg hover:bg-muted/50"), s({
98
98
  ...r,
99
99
  // @ts-ignore
100
100
  class: `rounded-lg ${l} bg-card text-card-foreground shadow-md min-w-[120px] min-h-[80px] ${t} ${o} ${r.class || ""}`
101
101
  }, e);
102
- }), N = s((r, e) => h({
102
+ }), F = n((r, e) => h({
103
103
  ...r,
104
104
  // @ts-ignore
105
105
  class: ` font-medium -mt-4 -mx-1 px-2 py-2 ${r.class || ""}`
106
- }, e)), _ = s((r, e) => {
106
+ }, e)), V = n((r, e) => {
107
107
  const t = r.border === "full" ? "border rounded-md" : "border-t";
108
108
  return p({
109
109
  ...r,
@@ -111,18 +111,18 @@ const g = {
111
111
  class: `p-6 ${t} ${r.class || ""}`
112
112
  }, [
113
113
  // @ts-ignore
114
- r.legend && N(r.legend),
115
- n({ class: "flex flex-auto flex-col gap-y-6" }, e)
114
+ r.legend && F(r.legend),
115
+ s({ class: "flex flex-auto flex-col gap-y-6" }, e)
116
116
  ]);
117
- }), z = s((r, e) => {
117
+ }), _ = n((r, e) => {
118
118
  const t = r.border === !0 ? "border-t" : "";
119
- return n({
119
+ return s({
120
120
  ...r,
121
121
  // @ts-ignore
122
122
  class: `grid grid-cols-1 gap-y-4 sm:grid-cols-[1fr_2fr] sm:gap-x-6 pt-8 ${t} ${r.class || ""}`
123
123
  }, [
124
124
  // @ts-ignore
125
- r.label && n({
125
+ r.label && s({
126
126
  // @ts-ignore
127
127
  ...r.labelProps,
128
128
  // @ts-ignore
@@ -134,9 +134,9 @@ const g = {
134
134
  r.description && k({ class: "text-sm text-muted-foreground" }, r.description)
135
135
  ]),
136
136
  // Controls container: grows to fill remaining space, spacing between items
137
- n({ class: "flex flex-col gap-y-4" }, e)
137
+ s({ class: "flex flex-col gap-y-4" }, e)
138
138
  ]);
139
- }), D = m(
139
+ }), j = C(
140
140
  {
141
141
  /**
142
142
  * This will create the initial state of the RangeSlider.
@@ -166,17 +166,17 @@ const g = {
166
166
  * @returns {object}
167
167
  */
168
168
  render() {
169
- return n({ class: "relative w-full h-4 flex items-center" }, [
169
+ return s({ class: "relative w-full h-4 flex items-center" }, [
170
170
  // Track
171
- n({ class: "absolute h-2 w-full rounded-full bg-muted" }),
172
- b(({ state: r }) => [
171
+ s({ class: "absolute h-2 w-full rounded-full bg-muted" }),
172
+ x(({ state: r }) => [
173
173
  // Filled Track
174
- n({
174
+ s({
175
175
  class: "absolute h-2 bg-primary rounded-full",
176
176
  style: ["width: [[filledPercentage]]%", r]
177
177
  }),
178
178
  // Thumb
179
- n({
179
+ s({
180
180
  class: `
181
181
  absolute block h-5 w-5 rounded-full border-2 border-primary bg-background
182
182
  ring-offset-background transition-colors focus-visible:outline-none
@@ -208,15 +208,15 @@ const g = {
208
208
  ]);
209
209
  }
210
210
  }
211
- ), H = s((r) => ({
211
+ ), D = n((r) => ({
212
212
  tag: "select",
213
213
  onCreated(e) {
214
214
  r.options && $.setupSelectOptions(e, r.options);
215
215
  },
216
216
  ...r,
217
217
  // @ts-ignore
218
- class: `${E} ${r.class || ""}`.trim()
219
- })), A = (r) => !r || isNaN(r) ? null : r, c = (r, e) => {
218
+ class: `${B} ${r.class || ""}`.trim()
219
+ })), I = (r) => !r || isNaN(r) ? null : r, b = (r, e) => {
220
220
  const t = r, o = 16, l = 2 * Math.PI * o, a = t / 100 * l, i = `
221
221
  <svg class="w-40 h-40 mx-auto" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
222
222
  <!-- Background Circle -->
@@ -255,24 +255,24 @@ const g = {
255
255
  </text>
256
256
  </svg>
257
257
  `;
258
- return n({
258
+ return s({
259
259
  class: "circle-graph text-inherit",
260
260
  html: i
261
261
  });
262
- }, M = s((r) => {
263
- const e = r.progress || 0, t = r.class || "", o = c(e, t);
264
- return n({
262
+ }, H = n((r) => {
263
+ const e = r.progress || 0, t = r.class || "", o = b(e, t);
264
+ return s({
265
265
  class: "circle-graph-wrap",
266
266
  onSet: [
267
267
  // @ts-ignore
268
268
  r.prop,
269
- (l) => (l = A(l), l ? c(l, t) : o)
269
+ (l) => (l = I(l), l ? b(l, t) : o)
270
270
  ]
271
271
  }, [o]);
272
- }), T = () => b(({ state: r }) => n({
272
+ }), T = () => x(({ state: r }) => s({
273
273
  class: "absolute h-full rounded-full bg-primary transition-all duration-300",
274
274
  style: ["width: [[progress]]%;", r]
275
- })), J = m(
275
+ })), M = C(
276
276
  {
277
277
  /**
278
278
  * This will render the progress bar component.
@@ -280,7 +280,7 @@ const g = {
280
280
  * @returns {object}
281
281
  */
282
282
  render() {
283
- return n({ class: "relative w-full h-4 rounded-full bg-muted" }, [
283
+ return s({ class: "relative w-full h-4 rounded-full bg-muted" }, [
284
284
  T()
285
285
  ]);
286
286
  },
@@ -324,7 +324,49 @@ const g = {
324
324
  r < 0 && (r = 0), r > 100 && (r = 100), this.state.progress = r;
325
325
  }
326
326
  }
327
- ), u = {
327
+ ), Z = n((r = {}) => {
328
+ const {
329
+ class: e = "",
330
+ background: t = !0,
331
+ blur: o = !0,
332
+ backgroundClass: l = "bg-background/95",
333
+ blurClass: a = "backdrop-blur",
334
+ zIndexClass: i = "z-9999",
335
+ style: c = ""
336
+ } = r, g = [
337
+ "sticky bottom-0 left-0 right-0 w-full",
338
+ i,
339
+ t ? l : "",
340
+ o ? a : "",
341
+ e
342
+ ].filter(Boolean).join(" "), u = `height: env(safe-area-inset-bottom, 0px);${c ? ` ${c}` : ""}`;
343
+ return s({
344
+ class: g,
345
+ style: u,
346
+ "aria-hidden": "true"
347
+ });
348
+ }), J = n((r = {}) => {
349
+ const {
350
+ class: e = "",
351
+ background: t = !0,
352
+ blur: o = !0,
353
+ backgroundClass: l = "bg-background/95",
354
+ blurClass: a = "backdrop-blur",
355
+ zIndexClass: i = "z-9999",
356
+ style: c = ""
357
+ } = r, g = [
358
+ "sticky top-0 left-0 right-0 w-full",
359
+ i,
360
+ t ? l : "",
361
+ o ? a : "",
362
+ e
363
+ ].filter(Boolean).join(" "), u = `height: env(safe-area-inset-top, 0px);${c ? ` ${c}` : ""}`;
364
+ return s({
365
+ class: g,
366
+ style: u,
367
+ "aria-hidden": "true"
368
+ });
369
+ }), f = {
328
370
  top: "bottom-full left-1/2 transform -translate-x-1/2 mb-2",
329
371
  "top-right": "bottom-full left-full transform -translate-x-1 mb-2",
330
372
  "top-left": "bottom-full right-full transform translate-x-1 mb-2",
@@ -333,12 +375,12 @@ const g = {
333
375
  "bottom-left": "top-full right-full transform translate-x-1 mt-2",
334
376
  left: "top-1/2 right-full transform -translate-y-1/2 mr-2",
335
377
  right: "top-1/2 left-full transform -translate-y-1/2 ml-2"
336
- }, I = (r) => u[String(r)] || u.top, Y = s(({ position: r = "top", content: e }, t) => {
337
- const o = I(r);
338
- return Array.isArray(t) === !1 && (t = [t]), n({ class: "relative group inline-block" }, [
378
+ }, A = (r) => f[String(r)] || f.top, Y = n(({ position: r = "top", content: e }, t) => {
379
+ const o = A(r);
380
+ return Array.isArray(t) === !1 && (t = [t]), s({ class: "relative group inline-block" }, [
339
381
  ...t,
340
382
  // Tooltip box
341
- d({
383
+ m({
342
384
  class: `
343
385
  absolute z-20 px-2 py-1 border text-sm bg-background rounded shadow-md opacity-0 whitespace-nowrap
344
386
  group-hover:opacity-100 transition-opacity duration-200 ${o} pointer-events-none
@@ -347,14 +389,16 @@ const g = {
347
389
  ]);
348
390
  });
349
391
  export {
350
- U as B,
351
- V as C,
352
- _ as F,
353
- N as L,
354
- J as P,
355
- D as R,
356
- H as S,
392
+ O as B,
393
+ U as C,
394
+ V as F,
395
+ F as L,
396
+ M as P,
397
+ j as R,
398
+ Z as S,
357
399
  Y as T,
358
- M as a,
359
- z as b
400
+ H as a,
401
+ _ as b,
402
+ J as c,
403
+ D as d
360
404
  };
@@ -13,6 +13,8 @@ export * from "./image.js";
13
13
  export * from "./material-icon.js";
14
14
  export * from "./progress/circle-graph.js";
15
15
  export * from "./progress/progress-bar.js";
16
+ export * from "./safe-zone-bottom.js";
17
+ export * from "./safe-zone-top.js";
16
18
  export * from "./skeleton.js";
17
19
  export * from "./tooltip.js";
18
20
  export * from "./universal-icon.js";
@@ -0,0 +1,24 @@
1
+ /**
2
+ * SafeZoneBottom
3
+ *
4
+ * A fixed overlay atom that fills the bottom safe area inset on mobile devices
5
+ * (e.g. iOS home indicator area).
6
+ *
7
+ * Usage:
8
+ * SafeZoneBottom()
9
+ *
10
+ * Then offset sticky/fixed footers with `pb-[env(safe-area-inset-bottom)]`
11
+ * or use the companion CSS variable `--safe-area-inset-bottom`.
12
+ *
13
+ * @param {object} [props]
14
+ * @param {string} [props.class]
15
+ * @param {boolean} [props.background=true]
16
+ * @param {boolean} [props.blur=true]
17
+ * @param {string} [props.backgroundClass='bg-background/95']
18
+ * @param {string} [props.blurClass='backdrop-blur']
19
+ * @param {string} [props.zIndexClass='z-9999']
20
+ * @param {string} [props.style]
21
+ * @returns {object}
22
+ */
23
+ export const SafeZoneBottom: (...args: any[]) => object;
24
+ export default SafeZoneBottom;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * SafeZoneTop
3
+ *
4
+ * A fixed overlay atom that fills the top safe area inset on mobile devices
5
+ * (e.g. iOS notch / Dynamic Island).
6
+ *
7
+ * Usage:
8
+ * SafeZoneTop()
9
+ *
10
+ * Then offset sticky/fixed headers with `pt-[env(safe-area-inset-top)]`
11
+ * or use the companion CSS variable `--safe-area-inset-top`.
12
+ *
13
+ * @param {object} [props]
14
+ * @param {string} [props.class]
15
+ * @param {boolean} [props.background=true]
16
+ * @param {boolean} [props.blur=true]
17
+ * @param {string} [props.backgroundClass='bg-background/95']
18
+ * @param {string} [props.blurClass='backdrop-blur']
19
+ * @param {string} [props.zIndexClass='z-9999']
20
+ * @param {string} [props.style]
21
+ * @returns {object}
22
+ */
23
+ export const SafeZoneTop: (...args: any[]) => object;
24
+ export default SafeZoneTop;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.2.10",
3
+ "version": "1.2.13",
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": {