@mt-gloss/ui 0.0.13 → 0.0.15

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/catalog.js CHANGED
@@ -1,350 +1,294 @@
1
- import { y as x, N as I, A as B, F as C, J as F, z as D, D as A, E as M, H as v, O as z, Q as W, T as R, aX as _, U as H, aY as L, aZ as k, a_ as E, V as $, W as G, X as O } from "./Expandable-I5P7BFYW.js";
2
- import { b2 as De, av as Ae, ad as Me, Z as ve, aj as ze, bN as We, K as Re, a4 as _e, bl as He, P as Le, B as ke, be as Ee, bd as $e, bt as Ge, b as Oe, C as Xe, L as Ve, o as je, a9 as we, aJ as Ze, ay as Ue, am as qe, k as Je, m as Ye, aB as Ke, a7 as Qe, b4 as ea, a5 as aa, bm as ta, Y as sa, al as oa, aM as ra, b6 as ia, n as na, ai as la, a0 as da, an as ca, a2 as ga, bg as ma, a6 as pa, bF as ua, aP as ba, r as fa, I as ha, g as Ta, as as Sa, M as ya, w as Pa, ao as Na, bc as xa, bL as Ia, ak as Ba, t as Ca, bn as Fa, aO as Da, a$ as Aa, af as Ma, aG as va, ac as za, ah as Wa, aq as Ra, bP as _a, aN as Ha, bO as La, a8 as ka, c as Ea, R as $a, j as Ga, p as Oa, aD as Xa, ae as Va, aa as ja, h as wa, x as Za, b3 as Ua, ab as qa, b8 as Ja, bb as Ya, b9 as Ka, ba as Qa, i as et, b5 as at, bk as tt, S as st, bh as ot, ar as rt, b7 as it, bM as nt, ag as lt, s as dt, bG as ct, l as gt, f as mt, q as pt, _ as ut, a3 as bt, bf as ft, bs as ht, bz as Tt, ax as St, aL as yt, aA as Pt, au as Nt, aI as xt, aF as It, a1 as Bt, bj as Ct } from "./Expandable-I5P7BFYW.js";
3
- import { jsx as g, jsxs as y } from "react/jsx-runtime";
4
- import { C as a, ac as X, S as s, E as u, R as p, e as V, Z as j } from "./UIContext-8dkjkIV1.js";
5
- import { T as e, B as w, a as Z, b as U, f as q, d as J, e as Y, c as K } from "./BaseAsyncButton-BBpPkYng.js";
6
- import { formatDateRange as Dt, resolveEvent as At, resolvePreset as Mt, smartDateFormat as vt } from "@mt-gloss/utils/dateInterpretation";
7
- const Q = {
8
- body: {
9
- fontFamily: e.FontBody,
10
- fontSize: e.TextBase,
11
- fontWeight: e.WeightNormal,
12
- lineHeight: e.LeadingNormal,
13
- color: a.TextPrimary
14
- },
15
- caption: {
16
- fontFamily: e.FontBody,
17
- fontSize: e.TextSm,
18
- fontWeight: e.WeightNormal,
19
- lineHeight: e.LeadingNormal,
20
- color: a.TextSecondary
21
- },
22
- overline: {
23
- fontFamily: e.FontBody,
24
- fontSize: e.TextXs,
25
- fontWeight: e.WeightSemibold,
26
- lineHeight: e.LeadingTight,
27
- letterSpacing: "0.08em",
28
- color: a.TextSecondary
29
- }
30
- }, ee = {
31
- xs: { fontSize: e.TextXs },
32
- sm: { fontSize: e.TextSm },
33
- md: { fontSize: e.TextBase },
34
- lg: { fontSize: e.TextLg },
35
- xl: { fontSize: e.TextXl }
36
- }, ae = function(i) {
37
- const {
38
- variant: o = "body",
39
- size: n = "md",
40
- children: l,
41
- ...r
42
- } = i, t = { ...r };
43
- delete t.className, delete t.style, delete t.definition;
44
- const c = {
45
- ...Q[o],
46
- ...ee[n]
47
- }, m = [
48
- "gloss-preset-text",
49
- `gloss-preset-text--${o}`
50
- ].join(" ");
51
- return /* @__PURE__ */ g(
52
- X,
53
- {
54
- as: t.as,
55
- definition: c,
56
- className: m,
57
- ...t,
58
- children: l
59
- }
60
- );
61
- };
62
- ae.displayName = "PresetText";
63
- const te = {
1
+ import { y as I, N, A as B, F as x, J as F, z as D, D as A, E as M, H as v, O as R, Q as _, T as W, aX as k, U as H, aY as z, aZ as L, a_ as E, V as G, W as $, X as O } from "./Expandable-BXdTP6Nb.js";
2
+ import { b2 as Ne, av as Be, ad as xe, Z as Fe, aj as De, bO as Ae, K as Me, a4 as ve, bl as Re, P as _e, B as We, be as ke, bd as He, bt as ze, b as Le, C as Ee, L as Ge, o as $e, a9 as Oe, aJ as Ve, ay as Xe, am as je, k as we, m as Ze, aB as Ue, a7 as qe, b4 as Je, a5 as Qe, bm as Ye, Y as Ke, al as ea, aM as aa, b6 as sa, n as ta, ai as ra, a0 as oa, an as ia, a2 as na, bg as la, a6 as da, bF as ca, aP as ga, r as ma, I as pa, g as ua, as as ba, M as fa, w as ha, ao as ya, bc as Ta, bL as Sa, ak as Pa, t as Ca, bn as Ia, aO as Na, a$ as Ba, af as xa, aG as Fa, ac as Da, ah as Aa, aq as Ma, bQ as va, aN as Ra, bP as _a, a8 as Wa, c as ka, R as Ha, j as za, p as La, aD as Ea, ae as Ga, aa as $a, h as Oa, x as Va, b3 as Xa, ab as ja, b8 as wa, bb as Za, b9 as Ua, ba as qa, i as Ja, b5 as Qa, bk as Ya, S as Ka, bh as es, ar as as, b7 as ss, bM as ts, ag as rs, bN as os, s as is, bG as ns, l as ls, f as ds, q as cs, _ as gs, a3 as ms, bf as ps, bs as us, bz as bs, ax as fs, aL as hs, aA as ys, au as Ts, aI as Ss, aF as Ps, a1 as Cs, bj as Is } from "./Expandable-BXdTP6Nb.js";
3
+ import { jsx as c, jsxs as S } from "react/jsx-runtime";
4
+ import { C as e, T as a, ae as V, S as s, E as u, R as m, e as X, Z as j } from "./UIContext-C3E-k7HI.js";
5
+ import { B as w, a as Z, e as U, c as q, d as J, b as Q } from "./BaseAsyncButton-nFOdhiBv.js";
6
+ import { formatDateRange as Bs, resolveEvent as xs, resolvePreset as Fs, smartDateFormat as Ds } from "@mt-gloss/utils/dateInterpretation";
7
+ const Y = {
64
8
  page: {
65
- fontFamily: e.FontDisplay,
66
- fontSize: e.Text3xl,
67
- fontWeight: e.WeightBold,
68
- lineHeight: e.LeadingTight,
69
- color: a.TextPrimary
9
+ fontFamily: a.FontDisplay,
10
+ fontSize: a.Text3xl,
11
+ fontWeight: a.WeightBold,
12
+ lineHeight: a.LeadingTight,
13
+ color: e.TextPrimary
70
14
  },
71
15
  section: {
72
- fontFamily: e.FontDisplay,
73
- fontSize: e.Text2xl,
74
- fontWeight: e.WeightSemibold,
75
- lineHeight: e.LeadingTight,
76
- color: a.TextPrimary
16
+ fontFamily: a.FontDisplay,
17
+ fontSize: a.Text2xl,
18
+ fontWeight: a.WeightSemibold,
19
+ lineHeight: a.LeadingTight,
20
+ color: e.TextPrimary
77
21
  },
78
22
  subsection: {
79
- fontFamily: e.FontDisplay,
80
- fontSize: e.TextXl,
81
- fontWeight: e.WeightSemibold,
82
- lineHeight: e.LeadingTight,
83
- color: a.TextPrimary
23
+ fontFamily: a.FontDisplay,
24
+ fontSize: a.TextXl,
25
+ fontWeight: a.WeightSemibold,
26
+ lineHeight: a.LeadingTight,
27
+ color: e.TextPrimary
84
28
  },
85
29
  card: {
86
- fontFamily: e.FontDisplay,
87
- fontSize: e.TextLg,
88
- fontWeight: e.WeightSemibold,
89
- lineHeight: e.LeadingTight,
90
- color: a.TextPrimary
30
+ fontFamily: a.FontDisplay,
31
+ fontSize: a.TextLg,
32
+ fontWeight: a.WeightSemibold,
33
+ lineHeight: a.LeadingTight,
34
+ color: e.TextPrimary
91
35
  }
92
- }, se = function(i) {
36
+ }, K = function(i) {
93
37
  const {
94
- variant: o = "section",
38
+ variant: r = "section",
95
39
  level: n = 2,
96
- children: l,
97
- ...r
98
- } = i, t = { ...r };
40
+ children: d,
41
+ ...o
42
+ } = i, t = { ...o };
99
43
  delete t.className, delete t.style, delete t.definition;
100
- const c = {
101
- ...te[o]
102
- }, m = [
44
+ const g = {
45
+ ...Y[r]
46
+ }, p = [
103
47
  "gloss-preset-title",
104
- `gloss-preset-title--${o}`
48
+ `gloss-preset-title--${r}`
105
49
  ].join(" ");
106
- return /* @__PURE__ */ g(
107
- w,
50
+ return /* @__PURE__ */ c(
51
+ V,
108
52
  {
109
53
  as: t.as,
110
54
  level: n,
111
- definition: c,
112
- className: m,
55
+ definition: g,
56
+ className: p,
113
57
  ...t,
114
- children: l
58
+ children: d
115
59
  }
116
60
  );
117
61
  };
118
- se.displayName = "PresetTitle";
119
- const oe = {
62
+ K.displayName = "PresetTitle";
63
+ const ee = {
120
64
  default: {
121
- fontFamily: e.FontBody,
122
- fontSize: e.TextSm,
123
- fontWeight: e.WeightMedium,
124
- lineHeight: e.LeadingNormal,
125
- color: a.TextPrimary
65
+ fontFamily: a.FontBody,
66
+ fontSize: a.TextSm,
67
+ fontWeight: a.WeightMedium,
68
+ lineHeight: a.LeadingNormal,
69
+ color: e.TextPrimary
126
70
  },
127
71
  required: {
128
- fontFamily: e.FontBody,
129
- fontSize: e.TextSm,
130
- fontWeight: e.WeightMedium,
131
- lineHeight: e.LeadingNormal,
132
- color: a.TextPrimary
72
+ fontFamily: a.FontBody,
73
+ fontSize: a.TextSm,
74
+ fontWeight: a.WeightMedium,
75
+ lineHeight: a.LeadingNormal,
76
+ color: e.TextPrimary
133
77
  },
134
78
  optional: {
135
- fontFamily: e.FontBody,
136
- fontSize: e.TextSm,
137
- fontWeight: e.WeightMedium,
138
- lineHeight: e.LeadingNormal,
139
- color: a.TextPrimary
79
+ fontFamily: a.FontBody,
80
+ fontSize: a.TextSm,
81
+ fontWeight: a.WeightMedium,
82
+ lineHeight: a.LeadingNormal,
83
+ color: e.TextPrimary
140
84
  }
141
- }, re = function(i) {
85
+ }, ae = function(i) {
142
86
  const {
143
- variant: o = "default",
87
+ variant: r = "default",
144
88
  htmlFor: n,
145
- children: l,
146
- ...r
147
- } = i, t = { ...r };
89
+ children: d,
90
+ ...o
91
+ } = i, t = { ...o };
148
92
  delete t.className, delete t.style, delete t.definition;
149
- const c = {
150
- ...oe[o]
151
- }, m = [
93
+ const g = {
94
+ ...ee[r]
95
+ }, p = [
152
96
  "gloss-preset-label",
153
- `gloss-preset-label--${o}`
97
+ `gloss-preset-label--${r}`
154
98
  ].join(" ");
155
- return /* @__PURE__ */ g(
156
- Z,
99
+ return /* @__PURE__ */ c(
100
+ w,
157
101
  {
158
102
  as: t.as,
159
103
  htmlFor: n,
160
- definition: c,
161
- className: m,
104
+ definition: g,
105
+ className: p,
162
106
  ...t,
163
- children: l
107
+ children: d
164
108
  }
165
109
  );
166
110
  };
167
- re.displayName = "PresetLabel";
168
- const ie = {
111
+ ae.displayName = "PresetLabel";
112
+ const se = {
169
113
  default: {
170
- fontFamily: e.FontBody,
171
- fontSize: e.TextBase,
172
- fontWeight: e.WeightMedium,
173
- lineHeight: e.LeadingNormal,
174
- color: a.TextPrimary
114
+ fontFamily: a.FontBody,
115
+ fontSize: a.TextBase,
116
+ fontWeight: a.WeightMedium,
117
+ lineHeight: a.LeadingNormal,
118
+ color: e.TextPrimary
175
119
  },
176
120
  highlight: {
177
- fontFamily: e.FontBody,
178
- fontSize: e.TextBase,
179
- fontWeight: e.WeightBold,
180
- lineHeight: e.LeadingNormal,
181
- color: a.BrandPrimary
121
+ fontFamily: a.FontBody,
122
+ fontSize: a.TextBase,
123
+ fontWeight: a.WeightBold,
124
+ lineHeight: a.LeadingNormal,
125
+ color: e.BrandPrimary
182
126
  },
183
127
  muted: {
184
- fontFamily: e.FontBody,
185
- fontSize: e.TextBase,
186
- fontWeight: e.WeightMedium,
187
- lineHeight: e.LeadingNormal,
188
- color: a.TextTertiary
128
+ fontFamily: a.FontBody,
129
+ fontSize: a.TextBase,
130
+ fontWeight: a.WeightMedium,
131
+ lineHeight: a.LeadingNormal,
132
+ color: e.TextTertiary
189
133
  }
190
- }, ne = function(i) {
134
+ }, te = function(i) {
191
135
  const {
192
- variant: o = "default",
136
+ variant: r = "default",
193
137
  children: n,
194
- ...l
195
- } = i, r = { ...l };
196
- delete r.className, delete r.style, delete r.definition;
138
+ ...d
139
+ } = i, o = { ...d };
140
+ delete o.className, delete o.style, delete o.definition;
197
141
  const t = {
198
- ...ie[o]
199
- }, c = [
142
+ ...se[r]
143
+ }, g = [
200
144
  "gloss-preset-value",
201
- `gloss-preset-value--${o}`
145
+ `gloss-preset-value--${r}`
202
146
  ].join(" ");
203
- return /* @__PURE__ */ g(
204
- U,
147
+ return /* @__PURE__ */ c(
148
+ Z,
205
149
  {
206
- as: r.as,
150
+ as: o.as,
207
151
  definition: t,
208
- className: c,
209
- ...r,
152
+ className: g,
153
+ ...o,
210
154
  children: n
211
155
  }
212
156
  );
213
157
  };
214
- ne.displayName = "PresetValue";
215
- const le = {
158
+ te.displayName = "PresetValue";
159
+ const re = {
216
160
  primary: {
217
- bg: a.BrandPrimary,
218
- color: a.TextInverse,
161
+ bg: e.BrandPrimary,
162
+ color: e.TextInverse,
219
163
  borderColor: "transparent",
220
164
  elevation: u.ButtonDefault
221
165
  },
222
166
  secondary: {
223
- bg: a.BgSurface,
224
- color: a.TextPrimary,
225
- borderColor: a.BorderDefault,
167
+ bg: e.BgSurface,
168
+ color: e.TextPrimary,
169
+ borderColor: e.BorderDefault,
226
170
  elevation: u.ButtonDefault
227
171
  },
228
172
  ghost: {
229
173
  bg: "transparent",
230
- color: a.TextPrimary,
174
+ color: e.TextPrimary,
231
175
  borderColor: "transparent"
232
176
  },
233
177
  outline: {
234
178
  bg: "transparent",
235
- color: a.BrandPrimary,
236
- borderColor: a.BrandPrimary
179
+ color: e.BrandPrimary,
180
+ borderColor: e.BrandPrimary
237
181
  },
238
182
  destructive: {
239
- bg: a.Red600,
240
- color: a.TextInverse,
183
+ bg: e.Red600,
184
+ color: e.TextInverse,
241
185
  borderColor: "transparent",
242
186
  elevation: u.ButtonDefault
243
187
  }
244
- }, de = {
188
+ }, oe = {
245
189
  xs: { padding: s.Xs, paddingX: s.Sm, fontSize: "0.75rem", fontWeight: "500", minHeight: "24px", gap: s.Xs },
246
190
  sm: { padding: s.Xs, paddingX: s.Sm, fontSize: "0.8125rem", fontWeight: "500", minHeight: "30px", gap: s.Xs },
247
191
  md: { padding: s.Sm, paddingX: s.Md, fontSize: "0.875rem", fontWeight: "500", minHeight: "36px", gap: s.Sm },
248
192
  lg: { padding: s.Sm, paddingX: s.Lg, fontSize: "0.9375rem", fontWeight: "500", minHeight: "42px", gap: s.Sm },
249
193
  xl: { padding: s.Md, paddingX: s.Xl, fontSize: "1rem", fontWeight: "500", minHeight: "48px", gap: s.Md }
250
- }, ce = {
251
- radius: p.Md
194
+ }, ie = {
195
+ radius: m.Md
252
196
  };
253
- function ge(d) {
197
+ function ne(l) {
254
198
  const {
255
199
  variant: i = "primary",
256
- size: o = "md",
200
+ size: r = "md",
257
201
  isLoading: n = !1,
258
- disabled: l = !1,
259
- leftIcon: r,
202
+ disabled: d = !1,
203
+ leftIcon: o,
260
204
  rightIcon: t,
261
- children: c,
262
- ...m
263
- } = d, f = { ...m };
205
+ children: g,
206
+ ...p
207
+ } = l, f = { ...p };
264
208
  delete f.className, delete f.style, delete f.definition;
265
209
  const P = {
266
- ...ce,
267
- ...le[i],
268
- ...de[o]
269
- }, N = [
210
+ ...ie,
211
+ ...re[i],
212
+ ...oe[r]
213
+ }, C = [
270
214
  "gloss-preset-async-button",
271
215
  `gloss-preset-async-button--${i}`,
272
- `gloss-preset-async-button--${o}`
216
+ `gloss-preset-async-button--${r}`
273
217
  ].join(" ");
274
- return /* @__PURE__ */ y(
275
- q,
218
+ return /* @__PURE__ */ S(
219
+ U,
276
220
  {
277
221
  as: f.as,
278
222
  definition: P,
279
223
  loading: n,
280
- disabled: l,
281
- className: N,
224
+ disabled: d,
225
+ className: C,
282
226
  ...f,
283
227
  children: [
284
- r && /* @__PURE__ */ g("span", { className: "gloss-preset-async-button__icon gloss-preset-async-button__icon--left", children: r }),
285
- c && /* @__PURE__ */ g("span", { className: "gloss-preset-async-button__label", children: c }),
286
- t && /* @__PURE__ */ g("span", { className: "gloss-preset-async-button__icon gloss-preset-async-button__icon--right", children: t })
228
+ o && /* @__PURE__ */ c("span", { className: "gloss-preset-async-button__icon gloss-preset-async-button__icon--left", children: o }),
229
+ g && /* @__PURE__ */ c("span", { className: "gloss-preset-async-button__label", children: g }),
230
+ t && /* @__PURE__ */ c("span", { className: "gloss-preset-async-button__icon gloss-preset-async-button__icon--right", children: t })
287
231
  ]
288
232
  }
289
233
  );
290
234
  }
291
- ge.displayName = "PresetAsyncButton";
292
- const me = {
235
+ ne.displayName = "PresetAsyncButton";
236
+ const le = {
293
237
  info: {
294
- bg: a.Blue50,
295
- borderColor: a.Blue600,
296
- color: a.TextPrimary,
297
- iconColor: a.Blue600,
238
+ bg: e.Blue50,
239
+ borderColor: e.Blue600,
240
+ color: e.TextPrimary,
241
+ iconColor: e.Blue600,
298
242
  padding: s.Md,
299
- radius: p.Md
243
+ radius: m.Md
300
244
  },
301
245
  success: {
302
- bg: a.Green50,
303
- borderColor: a.Green600,
304
- color: a.TextPrimary,
305
- iconColor: a.Green600,
246
+ bg: e.Green50,
247
+ borderColor: e.Green600,
248
+ color: e.TextPrimary,
249
+ iconColor: e.Green600,
306
250
  padding: s.Md,
307
- radius: p.Md
251
+ radius: m.Md
308
252
  },
309
253
  warning: {
310
- bg: a.Amber100,
311
- borderColor: a.Amber600,
312
- color: a.TextPrimary,
313
- iconColor: a.Amber600,
254
+ bg: e.Amber100,
255
+ borderColor: e.Amber600,
256
+ color: e.TextPrimary,
257
+ iconColor: e.Amber600,
314
258
  padding: s.Md,
315
- radius: p.Md
259
+ radius: m.Md
316
260
  },
317
261
  error: {
318
- bg: a.Red50,
319
- borderColor: a.Red600,
320
- color: a.TextPrimary,
321
- iconColor: a.Red600,
262
+ bg: e.Red50,
263
+ borderColor: e.Red600,
264
+ color: e.TextPrimary,
265
+ iconColor: e.Red600,
322
266
  padding: s.Md,
323
- radius: p.Md
267
+ radius: m.Md
324
268
  }
325
269
  };
326
- function pe(d) {
270
+ function de(l) {
327
271
  const {
328
272
  variant: i = "info",
329
- dismissible: o = !1,
273
+ dismissible: r = !1,
330
274
  onDismiss: n,
331
- children: l,
332
- ...r
333
- } = d, t = { ...r };
275
+ children: d,
276
+ ...o
277
+ } = l, t = { ...o };
334
278
  delete t.className, delete t.style, delete t.definition;
335
- const c = me[i], m = [
279
+ const g = le[i], p = [
336
280
  "gloss-preset-alert",
337
281
  `gloss-preset-alert--${i}`
338
282
  ].join(" ");
339
- return /* @__PURE__ */ y(
340
- J,
283
+ return /* @__PURE__ */ S(
284
+ q,
341
285
  {
342
- definition: c,
343
- className: m,
286
+ definition: g,
287
+ className: p,
344
288
  ...t,
345
289
  children: [
346
- /* @__PURE__ */ g("div", { className: "gloss-preset-alert__content", children: l }),
347
- o && /* @__PURE__ */ g(
290
+ /* @__PURE__ */ c("div", { className: "gloss-preset-alert__content", children: d }),
291
+ r && /* @__PURE__ */ c(
348
292
  "button",
349
293
  {
350
294
  type: "button",
@@ -358,257 +302,257 @@ function pe(d) {
358
302
  }
359
303
  );
360
304
  }
361
- pe.displayName = "PresetAlert";
362
- const ue = {
363
- default: { color: a.BorderDefault, thickness: "1px" },
364
- subtle: { color: a.Gray200, thickness: "1px" },
365
- strong: { color: a.Gray400, thickness: "2px" }
366
- }, be = {
305
+ de.displayName = "PresetAlert";
306
+ const ce = {
307
+ default: { color: e.BorderDefault, thickness: "1px" },
308
+ subtle: { color: e.Gray200, thickness: "1px" },
309
+ strong: { color: e.Gray400, thickness: "2px" }
310
+ }, ge = {
367
311
  none: "0",
368
312
  sm: s.Sm,
369
313
  md: s.Md,
370
314
  lg: s.Lg
371
315
  };
372
- function fe({
373
- variant: d = "default",
316
+ function me({
317
+ variant: l = "default",
374
318
  orientation: i = "horizontal",
375
- spacing: o = "md"
319
+ spacing: r = "md"
376
320
  }) {
377
321
  const n = {
378
- ...ue[d],
322
+ ...ce[l],
379
323
  orientation: i,
380
- spacing: be[o]
324
+ spacing: ge[r]
381
325
  };
382
- return /* @__PURE__ */ g(
383
- V,
326
+ return /* @__PURE__ */ c(
327
+ X,
384
328
  {
385
329
  definition: n,
386
- className: `gloss-preset-divider gloss-preset-divider--${d}`
330
+ className: `gloss-preset-divider gloss-preset-divider--${l}`
387
331
  }
388
332
  );
389
333
  }
390
- fe.displayName = "PresetDivider";
391
- const he = {
334
+ me.displayName = "PresetDivider";
335
+ const pe = {
392
336
  sm: { fontSize: "0.75rem", gap: s.Xs },
393
337
  md: { fontSize: "0.875rem", gap: s.Sm },
394
338
  lg: { fontSize: "1rem", gap: s.Sm }
395
- }, Te = {
396
- color: a.TextSecondary
339
+ }, ue = {
340
+ color: e.TextSecondary
397
341
  };
398
- function Se(d) {
399
- const { separator: i = "/", size: o = "md", children: n } = d, l = {
400
- ...Te,
401
- ...he[o]
402
- }, r = [
342
+ function be(l) {
343
+ const { separator: i = "/", size: r = "md", children: n } = l, d = {
344
+ ...ue,
345
+ ...pe[r]
346
+ }, o = [
403
347
  "gloss-preset-breadcrumbs",
404
- `gloss-preset-breadcrumbs--${o}`
348
+ `gloss-preset-breadcrumbs--${r}`
405
349
  ].join(" ");
406
- return /* @__PURE__ */ g(
407
- Y,
350
+ return /* @__PURE__ */ c(
351
+ J,
408
352
  {
409
- definition: l,
353
+ definition: d,
410
354
  separator: i,
411
- className: r,
355
+ className: o,
412
356
  children: n
413
357
  }
414
358
  );
415
359
  }
416
- Se.displayName = "PresetBreadcrumbs";
417
- const b = x;
360
+ be.displayName = "PresetBreadcrumbs";
361
+ const b = I;
418
362
  b.Header = B;
419
- b.Body = C;
363
+ b.Body = x;
420
364
  b.Footer = F;
421
365
  b.Media = D;
422
366
  b.Title = A;
423
367
  b.Subtitle = M;
424
368
  b.Actions = v;
425
- const h = I;
426
- h.Item = z;
427
- h.Trigger = W;
428
- h.Content = R;
429
- const ye = {
369
+ const h = N;
370
+ h.Item = R;
371
+ h.Trigger = _;
372
+ h.Content = W;
373
+ const fe = {
430
374
  info: {
431
- bg: a.Blue50,
375
+ bg: e.Blue50,
432
376
  shadow: u.Hover,
433
- radius: p.Md,
377
+ radius: m.Md,
434
378
  padding: s.Md
435
379
  },
436
380
  success: {
437
- bg: a.Green50,
381
+ bg: e.Green50,
438
382
  shadow: u.Hover,
439
- radius: p.Md,
383
+ radius: m.Md,
440
384
  padding: s.Md
441
385
  },
442
386
  warning: {
443
- bg: a.Amber100,
387
+ bg: e.Amber100,
444
388
  shadow: u.Hover,
445
- radius: p.Md,
389
+ radius: m.Md,
446
390
  padding: s.Md
447
391
  },
448
392
  error: {
449
- bg: a.Red50,
393
+ bg: e.Red50,
450
394
  shadow: u.Hover,
451
- radius: p.Md,
395
+ radius: m.Md,
452
396
  padding: s.Md
453
397
  }
454
398
  };
455
- function Pe({
456
- open: d,
399
+ function he({
400
+ open: l,
457
401
  onDismiss: i,
458
- variant: o = "info",
402
+ variant: r = "info",
459
403
  position: n = "top-right",
460
- duration: l = 5e3,
461
- children: r
404
+ duration: d = 5e3,
405
+ children: o
462
406
  }) {
463
407
  const t = {
464
- ...ye[o],
408
+ ...fe[r],
465
409
  zIndex: j.Toast,
466
410
  position: n,
467
- duration: l
411
+ duration: d
468
412
  };
469
- return /* @__PURE__ */ g(
470
- K,
413
+ return /* @__PURE__ */ c(
414
+ Q,
471
415
  {
472
416
  definition: t,
473
- open: d,
417
+ open: l,
474
418
  onDismiss: i,
475
- className: `gloss-preset-toast gloss-preset-toast--${o}`,
476
- children: r
419
+ className: `gloss-preset-toast gloss-preset-toast--${r}`,
420
+ children: o
477
421
  }
478
422
  );
479
423
  }
480
- Pe.displayName = "PresetToast";
481
- const T = _;
482
- T.Header = L;
483
- T.Body = k;
484
- T.Actions = E;
485
- const S = H;
486
- S.Group = $;
487
- S.Item = G;
488
- S.Divider = O;
424
+ he.displayName = "PresetToast";
425
+ const y = k;
426
+ y.Header = z;
427
+ y.Body = L;
428
+ y.Actions = E;
429
+ const T = H;
430
+ T.Group = G;
431
+ T.Item = $;
432
+ T.Divider = O;
489
433
  export {
490
434
  h as Accordion,
491
- De as Actionable,
492
- Ae as AddressGroup,
493
- Me as AddressSelect,
494
- pe as Alert,
495
- ge as AsyncButton,
496
- ve as AsyncLoader,
497
- ze as Autocomplete,
498
- We as Avatar,
499
- Re as Badge,
500
- _e as BarChartCard,
501
- He as BarsBg,
502
- Se as Breadcrumbs,
503
- Le as Button,
504
- ke as ButtonGroup,
435
+ Ne as Actionable,
436
+ Be as AddressGroup,
437
+ xe as AddressSelect,
438
+ de as Alert,
439
+ ne as AsyncButton,
440
+ Fe as AsyncLoader,
441
+ De as Autocomplete,
442
+ Ae as Avatar,
443
+ Me as Badge,
444
+ ve as BarChartCard,
445
+ Re as BarsBg,
446
+ be as Breadcrumbs,
447
+ _e as Button,
448
+ We as ButtonGroup,
505
449
  b as Card,
506
- Ee as CardBack,
507
- $e as CardShell,
508
- Ge as ChartControlBar,
509
- Oe as Checkbox,
510
- Xe as CheckboxGroup,
511
- Ve as Chip,
512
- je as ColorPicker,
513
- we as ComparisonCard,
514
- Ze as ContactForm,
515
- Ue as CreditCardForm,
516
- qe as DataTable,
517
- Je as DatePicker,
518
- Ye as DateRangePicker,
519
- Ke as DestructiveModal,
520
- T as Dialog,
521
- Qe as DirectionCard,
522
- ea as Dismissible,
523
- aa as DistributionCard,
524
- fe as Divider,
525
- ta as DonutChart,
526
- sa as Dropdown,
527
- oa as EntityPicker,
528
- ra as EntitySearchPanel,
529
- ia as Expandable,
530
- na as FileUpload,
531
- la as FilterChip,
532
- da as Form,
533
- ca as FormDialog,
534
- ga as FormField,
535
- ma as GutterActions,
536
- pa as HighlightCard,
537
- ua as HybridDatePicker,
538
- ba as ImportWizard,
539
- fa as Input,
540
- ha as InputGroup,
541
- re as Label,
542
- Ta as Link,
543
- Sa as LoginForm,
544
- ya as MaskPresets,
545
- Pa as MaskedInput,
546
- S as Menu,
547
- Na as MergePrompt,
548
- xa as MetricCard,
549
- Ia as MetricCardGrid,
550
- Ba as MultiSelect,
450
+ ke as CardBack,
451
+ He as CardShell,
452
+ ze as ChartControlBar,
453
+ Le as Checkbox,
454
+ Ee as CheckboxGroup,
455
+ Ge as Chip,
456
+ $e as ColorPicker,
457
+ Oe as ComparisonCard,
458
+ Ve as ContactForm,
459
+ Xe as CreditCardForm,
460
+ je as DataTable,
461
+ we as DatePicker,
462
+ Ze as DateRangePicker,
463
+ Ue as DestructiveModal,
464
+ y as Dialog,
465
+ qe as DirectionCard,
466
+ Je as Dismissible,
467
+ Qe as DistributionCard,
468
+ me as Divider,
469
+ Ye as DonutChart,
470
+ Ke as Dropdown,
471
+ ea as EntityPicker,
472
+ aa as EntitySearchPanel,
473
+ sa as Expandable,
474
+ ta as FileUpload,
475
+ ra as FilterChip,
476
+ oa as Form,
477
+ ia as FormDialog,
478
+ na as FormField,
479
+ la as GutterActions,
480
+ da as HighlightCard,
481
+ ca as HybridDatePicker,
482
+ ga as ImportWizard,
483
+ ma as Input,
484
+ pa as InputGroup,
485
+ ae as Label,
486
+ ua as Link,
487
+ ba as LoginForm,
488
+ fa as MaskPresets,
489
+ ha as MaskedInput,
490
+ T as Menu,
491
+ ya as MergePrompt,
492
+ Ta as MetricCard,
493
+ Sa as MetricCardGrid,
494
+ Pa as MultiSelect,
551
495
  Ca as NumberInput,
552
- Fa as ObjectArrow,
553
- Da as OrderFilterBar,
554
- Aa as Panel,
555
- Ma as PasswordInput,
556
- va as PaymentForm,
557
- za as PaymentMethodSelect,
558
- Wa as PhoneInput,
559
- Ra as PinToMetric,
560
- _a as Popover,
561
- Ha as ProfileCard,
562
- La as ProgressBar,
563
- ka as ProgressCard,
564
- Ea as Radio,
565
- $a as RadioGroup,
566
- Ga as RangeSlider,
567
- Oa as Rating,
568
- Xa as RegistrationForm,
569
- Va as SearchInput,
570
- ja as SegmentCard,
571
- wa as SegmentedControl,
572
- Za as Select,
573
- Ua as Selectable,
574
- qa as SimpleMetricCard,
575
- Ja as Skeleton,
576
- Ya as SkeletonCard,
577
- Ka as SkeletonChart,
578
- Qa as SkeletonTable,
579
- et as Slider,
580
- at as Sortable,
581
- tt as SparklineBg,
582
- st as SplitButton,
583
- ot as StackedGroupCard,
584
- rt as Stepper,
585
- it as TabGroup,
586
- nt as TabbedDataView,
587
- lt as TagInput,
588
- ae as Text,
589
- dt as Textarea,
590
- ct as TimeFrame,
591
- gt as TimePicker,
592
- se as Title,
593
- Pe as Toast,
594
- mt as Toggle,
595
- pt as Tooltip,
596
- ut as Transition,
597
- bt as TrendCard,
598
- ft as TrendIndicator,
599
- ht as UnifiedBreakdownTable,
600
- Tt as UnifiedContextMenu,
601
- ne as Value,
602
- St as addressSchema,
603
- yt as contactSchema,
604
- Pt as creditCardSchema,
605
- Dt as formatDateRangeInterpretation,
606
- Nt as loginSchema,
607
- xt as paymentSchema,
608
- It as registrationSchema,
609
- At as resolveEvent,
610
- Mt as resolvePreset,
611
- vt as smartDateFormat,
612
- Bt as useFormContext,
613
- Ct as useSlideOutReveal
496
+ Ia as ObjectArrow,
497
+ Na as OrderFilterBar,
498
+ Ba as Panel,
499
+ xa as PasswordInput,
500
+ Fa as PaymentForm,
501
+ Da as PaymentMethodSelect,
502
+ Aa as PhoneInput,
503
+ Ma as PinToMetric,
504
+ va as Popover,
505
+ Ra as ProfileCard,
506
+ _a as ProgressBar,
507
+ Wa as ProgressCard,
508
+ ka as Radio,
509
+ Ha as RadioGroup,
510
+ za as RangeSlider,
511
+ La as Rating,
512
+ Ea as RegistrationForm,
513
+ Ga as SearchInput,
514
+ $a as SegmentCard,
515
+ Oa as SegmentedControl,
516
+ Va as Select,
517
+ Xa as Selectable,
518
+ ja as SimpleMetricCard,
519
+ wa as Skeleton,
520
+ Za as SkeletonCard,
521
+ Ua as SkeletonChart,
522
+ qa as SkeletonTable,
523
+ Ja as Slider,
524
+ Qa as Sortable,
525
+ Ya as SparklineBg,
526
+ Ka as SplitButton,
527
+ es as StackedGroupCard,
528
+ as as Stepper,
529
+ ss as TabGroup,
530
+ ts as TabbedDataView,
531
+ rs as TagInput,
532
+ os as Text,
533
+ is as Textarea,
534
+ ns as TimeFrame,
535
+ ls as TimePicker,
536
+ K as Title,
537
+ he as Toast,
538
+ ds as Toggle,
539
+ cs as Tooltip,
540
+ gs as Transition,
541
+ ms as TrendCard,
542
+ ps as TrendIndicator,
543
+ us as UnifiedBreakdownTable,
544
+ bs as UnifiedContextMenu,
545
+ te as Value,
546
+ fs as addressSchema,
547
+ hs as contactSchema,
548
+ ys as creditCardSchema,
549
+ Bs as formatDateRangeInterpretation,
550
+ Ts as loginSchema,
551
+ Ss as paymentSchema,
552
+ Ps as registrationSchema,
553
+ xs as resolveEvent,
554
+ Fs as resolvePreset,
555
+ Ds as smartDateFormat,
556
+ Cs as useFormContext,
557
+ Is as useSlideOutReveal
614
558
  };