@imfusion/web-ui 0.6.4-dev.30.g1907865c → 0.6.4-dev.31.gcef47041

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.
Files changed (49) hide show
  1. package/README.md +14 -15
  2. package/dist/{code-Ce8uiPsv.js → code-D2lwxHgd.js} +15 -15
  3. package/dist/components/app-shell/app-shell.d.ts +7 -11
  4. package/dist/components/button/button.d.ts +3 -10
  5. package/dist/components/callout/callout.d.ts +4 -8
  6. package/dist/components/card/card.d.ts +5 -5
  7. package/dist/components/checkbox/checkbox.d.ts +2 -38
  8. package/dist/components/chip/chip.d.ts +1 -1
  9. package/dist/components/code/code.d.ts +1 -1
  10. package/dist/components/collapsible/collapsible.d.ts +3 -33
  11. package/dist/components/copy-button/copy-button.d.ts +1 -1
  12. package/dist/components/drawer/drawer.d.ts +16 -97
  13. package/dist/components/field/field.d.ts +7 -67
  14. package/dist/components/fieldset/fieldset.d.ts +2 -15
  15. package/dist/components/icon/icon.d.ts +1 -1
  16. package/dist/components/input/input.d.ts +2 -8
  17. package/dist/components/logo/logo.d.ts +1 -1
  18. package/dist/components/navigation-menu/subs/flyout-link.d.ts +2 -14
  19. package/dist/components/navigation-menu/subs/link.d.ts +6 -23
  20. package/dist/components/navigation-menu/subs/overlay.d.ts +6 -51
  21. package/dist/components/navigation-menu/subs/shared.d.ts +4 -14
  22. package/dist/components/navigation-menu/subs/structure.d.ts +7 -29
  23. package/dist/components/navigation-menu/subs/trigger.d.ts +6 -13
  24. package/dist/components/popover/popover.d.ts +22 -94
  25. package/dist/components/row/row.d.ts +1 -1
  26. package/dist/components/select/select.d.ts +22 -184
  27. package/dist/components/separator/separator.d.ts +5 -4
  28. package/dist/components/slider/slider.d.ts +7 -77
  29. package/dist/components/spinner/spinner.d.ts +1 -1
  30. package/dist/components/stack/stack.d.ts +1 -1
  31. package/dist/components/switch/switch.d.ts +2 -31
  32. package/dist/components/table/table.d.ts +7 -13
  33. package/dist/components/tabs/tabs.d.ts +13 -43
  34. package/dist/components/toast/toast.d.ts +15 -100
  35. package/dist/components/toggle/toggle.d.ts +3 -20
  36. package/dist/components/toggle-group/toggle-group.d.ts +3 -19
  37. package/dist/components/tooltip/tooltip.d.ts +20 -74
  38. package/dist/components/typo/typo.d.ts +14 -21
  39. package/dist/{icons-Cy1HAosO.js → icons-CaGCCwG-.js} +7 -7
  40. package/dist/icons.js +1 -1
  41. package/dist/index.js +1270 -1286
  42. package/dist/integrations/code-highlight.js +2 -2
  43. package/dist/integrations/image-display-options.js +54 -54
  44. package/dist/{tabs-DIe1Utiy.js → tabs-By5ir2pt.js} +162 -159
  45. package/dist/utils/index.d.ts +1 -0
  46. package/dist/utils/resolve-state-props.d.ts +4 -0
  47. package/package.json +2 -2
  48. package/src/docgen/doc.gen.json +2445 -552
  49. /package/dist/{meta-CySnRuVp.js → meta-j-7HGrWv.js} +0 -0
@@ -7,7 +7,17 @@ import { Switch as a } from "@base-ui/react/switch";
7
7
  import { Toggle as o } from "@base-ui/react/toggle";
8
8
  import { ToggleGroup as s } from "@base-ui/react/toggle-group";
9
9
  import { Tabs as c } from "@base-ui/react/tabs";
10
- var l = {
10
+ //#region src/utils/resolve-state-props.ts
11
+ function l(e, t) {
12
+ return e instanceof Function ? e(t) : e;
13
+ }
14
+ function u(e, t) {
15
+ return l(e, t);
16
+ }
17
+ function d(e, t) {
18
+ return l(e, t);
19
+ }
20
+ var f = {
11
21
  control: "imf-ui-slider-module-control",
12
22
  indicator: "imf-ui-slider-module-indicator",
13
23
  label: "imf-ui-slider-module-label",
@@ -15,21 +25,21 @@ var l = {
15
25
  thumb: "imf-ui-slider-module-thumb",
16
26
  track: "imf-ui-slider-module-track",
17
27
  value: "imf-ui-slider-module-value"
18
- }, u = /* @__PURE__ */ e({
19
- Control: () => x,
20
- Indicator: () => C,
21
- Label: () => y,
22
- Root: () => v,
23
- Thumb: () => w,
24
- Track: () => S,
25
- Value: () => b
26
- }), d = t(l.root), f = t(l.label), p = t(l.value), m = t(l.control), h = t(l.track), g = t(l.indicator), _ = t(l.thumb);
27
- function v({ value: e, defaultValue: t, onValueChange: r, onValueCommitted: a, min: o = 0, max: s = 100, step: c = 1, largeStep: l = 10, minStepsBetweenValues: u = 0, disabled: f = !1, orientation: p = "horizontal", name: m, form: h, locale: g, thumbAlignment: _ = "edge", thumbCollisionBehavior: v = "push", format: y, className: b, ...x }) {
28
+ }, p = /* @__PURE__ */ e({
29
+ Control: () => C,
30
+ Indicator: () => T,
31
+ Label: () => x,
32
+ Root: () => b,
33
+ Thumb: () => E,
34
+ Track: () => w,
35
+ Value: () => S
36
+ }), ee = t(f.root), m = t(f.label), h = t(f.value), g = t(f.control), _ = t(f.track), v = t(f.indicator), y = t(f.thumb);
37
+ function b({ value: e, defaultValue: t, onValueChange: r, onValueCommitted: a, min: o = 0, max: s = 100, step: c = 1, largeStep: l = 10, minStepsBetweenValues: d = 0, disabled: f = !1, orientation: p = "horizontal", name: m, form: h, locale: g, thumbAlignment: _ = "edge", thumbCollisionBehavior: v = "push", format: y, ...b }) {
28
38
  return /* @__PURE__ */ n(i.Root, {
29
- ...x,
39
+ ...b,
30
40
  "data-imf-ui-component": "Slider.Root",
31
41
  "data-orientation": p,
32
- className: (e) => d({ className: typeof b == "function" ? b(e) : b }),
42
+ className: (e) => ee({ className: u(b.className, e) }),
33
43
  value: e,
34
44
  defaultValue: t,
35
45
  onValueChange: r,
@@ -38,7 +48,7 @@ function v({ value: e, defaultValue: t, onValueChange: r, onValueCommitted: a, m
38
48
  max: s,
39
49
  step: c,
40
50
  largeStep: l,
41
- minStepsBetweenValues: u,
51
+ minStepsBetweenValues: d,
42
52
  disabled: f,
43
53
  orientation: p,
44
54
  name: m,
@@ -46,124 +56,119 @@ function v({ value: e, defaultValue: t, onValueChange: r, onValueCommitted: a, m
46
56
  locale: g,
47
57
  thumbAlignment: _,
48
58
  thumbCollisionBehavior: v,
49
- format: y,
50
- children: x.children
59
+ format: y
51
60
  });
52
61
  }
53
- v.displayName = "Slider.Root";
54
- function y({ className: e, ...t }) {
62
+ b.displayName = "Slider.Root";
63
+ function x(e) {
55
64
  return /* @__PURE__ */ n(i.Label, {
56
- ...t,
65
+ ...e,
57
66
  "data-imf-ui-component": "Slider.Label",
58
- className: (t) => f({ className: typeof e == "function" ? e(t) : e }),
59
- children: t.children
67
+ className: (t) => m({ className: u(e.className, t) })
60
68
  });
61
69
  }
62
- y.displayName = "Slider.Label";
63
- function b({ className: e, children: t, ...r }) {
70
+ x.displayName = "Slider.Label";
71
+ function S({ children: e, ...t }) {
64
72
  return /* @__PURE__ */ n(i.Value, {
65
- ...r,
73
+ ...t,
66
74
  "data-imf-ui-component": "Slider.Value",
67
- className: (t) => p({ className: typeof e == "function" ? e(t) : e }),
68
- children: t
75
+ className: (e) => h({ className: u(t.className, e) }),
76
+ children: e
69
77
  });
70
78
  }
71
- b.displayName = "Slider.Value";
72
- function x({ className: e, ...t }) {
79
+ S.displayName = "Slider.Value";
80
+ function C(e) {
73
81
  return /* @__PURE__ */ n(i.Control, {
74
- ...t,
82
+ ...e,
75
83
  "data-imf-ui-component": "Slider.Control",
76
- className: (t) => m({ className: typeof e == "function" ? e(t) : e }),
77
- children: t.children
84
+ className: (t) => g({ className: u(e.className, t) })
78
85
  });
79
86
  }
80
- x.displayName = "Slider.Control";
81
- function S({ className: e, ...t }) {
87
+ C.displayName = "Slider.Control";
88
+ function w(e) {
82
89
  return /* @__PURE__ */ n(i.Track, {
83
- ...t,
90
+ ...e,
84
91
  "data-imf-ui-component": "Slider.Track",
85
- className: (t) => h({ className: typeof e == "function" ? e(t) : e }),
86
- children: t.children
92
+ className: (t) => _({ className: u(e.className, t) })
87
93
  });
88
94
  }
89
- S.displayName = "Slider.Track";
90
- function C({ className: e, ...t }) {
95
+ w.displayName = "Slider.Track";
96
+ function T(e) {
91
97
  return /* @__PURE__ */ n(i.Indicator, {
92
- ...t,
98
+ ...e,
93
99
  "data-imf-ui-component": "Slider.Indicator",
94
- className: (t) => g({ className: typeof e == "function" ? e(t) : e })
100
+ className: (t) => v({ className: u(e.className, t) })
95
101
  });
96
102
  }
97
- C.displayName = "Slider.Indicator";
98
- function w({ index: e, className: t, ...r }) {
103
+ T.displayName = "Slider.Indicator";
104
+ function E({ index: e, ...t }) {
99
105
  return /* @__PURE__ */ n(i.Thumb, {
100
- ...r,
106
+ ...t,
101
107
  "data-imf-ui-component": "Slider.Thumb",
102
- className: (e) => _({ className: typeof t == "function" ? t(e) : t }),
108
+ className: (e) => y({ className: u(t.className, e) }),
103
109
  index: e
104
110
  });
105
111
  }
106
- w.displayName = "Slider.Thumb";
107
- var T = {
112
+ E.displayName = "Slider.Thumb";
113
+ var D = {
108
114
  root: "imf-ui-switch-module-root",
109
115
  thumb: "imf-ui-switch-module-thumb"
110
- }, E = /* @__PURE__ */ e({
111
- Root: () => O,
112
- Thumb: () => k
113
- }), D = t(T.root), ee = t(T.thumb);
114
- function O({ className: e, ...t }) {
116
+ }, te = /* @__PURE__ */ e({
117
+ Root: () => A,
118
+ Thumb: () => j
119
+ }), O = t(D.root), k = t(D.thumb);
120
+ function A(e) {
115
121
  return /* @__PURE__ */ n(a.Root, {
116
- ...t,
122
+ ...e,
117
123
  "data-imf-ui-component": "Switch.Root",
118
- className: (t) => D({ className: typeof e == "function" ? e(t) : e }),
119
- children: t.children
124
+ className: (t) => O({ className: u(e.className, t) })
120
125
  });
121
126
  }
122
- O.displayName = "Switch.Root";
123
- function k({ className: e, ...t }) {
127
+ A.displayName = "Switch.Root";
128
+ function j(e) {
124
129
  return /* @__PURE__ */ n(a.Thumb, {
125
- ...t,
130
+ ...e,
126
131
  "data-imf-ui-component": "Switch.Thumb",
127
- className: (t) => ee({ className: typeof e == "function" ? e(t) : e })
132
+ className: (t) => k({ className: u(e.className, t) })
128
133
  });
129
134
  }
130
- k.displayName = "Switch.Thumb";
135
+ j.displayName = "Switch.Thumb";
131
136
  //#endregion
132
137
  //#region src/components/toggle/toggle.tsx
133
- var A = t({ root: "imf-ui-toggle-module-root" }.root), j = 2;
134
- function M(e) {
138
+ var M = t({ root: "imf-ui-toggle-module-root" }.root), N = 2;
139
+ function P(e) {
135
140
  let t = 0;
136
141
  return r.forEach(e, (e) => {
137
- typeof e == "string" || typeof e == "number" ? t += String(e).trim().length : e != null && typeof e != "boolean" && (t += j);
142
+ typeof e == "string" || typeof e == "number" ? t += String(e).trim().length : e != null && typeof e != "boolean" && (t += N);
138
143
  }), t;
139
144
  }
140
- function N({ className: e, style: t, children: r, ...i }) {
141
- let a = {
142
- "--glyph-count": M(r),
143
- "--max-glyphs": j
145
+ function F({ style: e, children: t, ...r }) {
146
+ let i = {
147
+ "--glyph-count": P(t),
148
+ "--max-glyphs": N
144
149
  };
145
150
  return /* @__PURE__ */ n(o, {
146
- ...i,
151
+ ...r,
147
152
  "data-imf-ui-component": "Toggle",
148
- style: (e) => ({
149
- ...a,
150
- ...typeof t == "function" ? t(e) : t
153
+ style: (t) => ({
154
+ ...i,
155
+ ...d(e, t)
151
156
  }),
152
- className: (t) => A({ className: typeof e == "function" ? e(t) : e }),
153
- children: r
157
+ className: (e) => M({ className: u(r.className, e) }),
158
+ children: t
154
159
  });
155
160
  }
156
161
  //#endregion
157
162
  //#region src/components/toggle-group/toggle-group.tsx
158
- var te = t({ root: "imf-ui-toggle-group-module-root" }.root);
159
- function ne({ className: e, ...t }) {
163
+ var I = t({ root: "imf-ui-toggle-group-module-root" }.root);
164
+ function L(e) {
160
165
  return /* @__PURE__ */ n(s, {
161
- ...t,
166
+ ...e,
162
167
  "data-imf-ui-component": "ToggleGroup",
163
- className: (t) => te({ className: typeof e == "function" ? e(t) : e })
168
+ className: (t) => I({ className: u(e.className, t) })
164
169
  });
165
170
  }
166
- var P = {
171
+ var R = {
167
172
  alignCenter: "imf-ui-row-module-alignCenter",
168
173
  alignEnd: "imf-ui-row-module-alignEnd",
169
174
  alignStart: "imf-ui-row-module-alignStart",
@@ -186,53 +191,52 @@ var P = {
186
191
  justifyStart: "imf-ui-row-module-justifyStart",
187
192
  root: "imf-ui-row-module-root",
188
193
  wrap: "imf-ui-row-module-wrap"
189
- }, F = t(P.root, { variants: {
194
+ }, z = t(R.root, { variants: {
190
195
  gap: {
191
- 1: P.gap1,
192
- 2: P.gap2,
193
- 3: P.gap3,
194
- 4: P.gap4,
195
- 5: P.gap5,
196
- 6: P.gap6,
197
- 7: P.gap7,
198
- 8: P.gap8,
199
- 9: P.gap9,
200
- 10: P.gap10
196
+ 1: R.gap1,
197
+ 2: R.gap2,
198
+ 3: R.gap3,
199
+ 4: R.gap4,
200
+ 5: R.gap5,
201
+ 6: R.gap6,
202
+ 7: R.gap7,
203
+ 8: R.gap8,
204
+ 9: R.gap9,
205
+ 10: R.gap10
201
206
  },
202
207
  align: {
203
- start: P.alignStart,
204
- center: P.alignCenter,
205
- end: P.alignEnd,
206
- stretch: P.alignStretch
208
+ start: R.alignStart,
209
+ center: R.alignCenter,
210
+ end: R.alignEnd,
211
+ stretch: R.alignStretch
207
212
  },
208
213
  justify: {
209
- start: P.justifyStart,
210
- center: P.justifyCenter,
211
- end: P.justifyEnd,
212
- between: P.justifyBetween,
213
- around: P.justifyAround,
214
- evenly: P.justifyEvenly
214
+ start: R.justifyStart,
215
+ center: R.justifyCenter,
216
+ end: R.justifyEnd,
217
+ between: R.justifyBetween,
218
+ around: R.justifyAround,
219
+ evenly: R.justifyEvenly
215
220
  },
216
221
  wrap: {
217
- true: P.wrap,
222
+ true: R.wrap,
218
223
  false: null
219
224
  }
220
225
  } });
221
- function I({ gap: e = "2", align: t = "stretch", justify: r = "start", wrap: i = !1, className: a, ...o }) {
226
+ function B({ gap: e = "2", align: t = "stretch", justify: r = "start", wrap: i = !1, ...a }) {
222
227
  return /* @__PURE__ */ n("div", {
223
- ...o,
228
+ ...a,
224
229
  "data-imf-ui-component": "Row",
225
- className: F({
230
+ className: z({
226
231
  gap: e,
227
232
  align: t,
228
233
  justify: r,
229
234
  wrap: i,
230
- className: a
231
- }),
232
- children: o.children
235
+ className: a.className
236
+ })
233
237
  });
234
238
  }
235
- var L = {
239
+ var V = {
236
240
  alignCenter: "imf-ui-stack-module-alignCenter",
237
241
  alignEnd: "imf-ui-stack-module-alignEnd",
238
242
  alignStart: "imf-ui-stack-module-alignStart",
@@ -255,49 +259,48 @@ var L = {
255
259
  justifyEvenly: "imf-ui-stack-module-justifyEvenly",
256
260
  justifyStart: "imf-ui-stack-module-justifyStart",
257
261
  root: "imf-ui-stack-module-root"
258
- }, R = t(L.root, { variants: {
262
+ }, H = t(V.root, { variants: {
259
263
  gap: {
260
- 0: L.gap0,
261
- 1: L.gap1,
262
- 2: L.gap2,
263
- 3: L.gap3,
264
- 4: L.gap4,
265
- 5: L.gap5,
266
- 6: L.gap6,
267
- 7: L.gap7,
268
- 8: L.gap8,
269
- 9: L.gap9,
270
- 10: L.gap10
264
+ 0: V.gap0,
265
+ 1: V.gap1,
266
+ 2: V.gap2,
267
+ 3: V.gap3,
268
+ 4: V.gap4,
269
+ 5: V.gap5,
270
+ 6: V.gap6,
271
+ 7: V.gap7,
272
+ 8: V.gap8,
273
+ 9: V.gap9,
274
+ 10: V.gap10
271
275
  },
272
276
  align: {
273
- start: L.alignStart,
274
- center: L.alignCenter,
275
- end: L.alignEnd,
276
- stretch: L.alignStretch
277
+ start: V.alignStart,
278
+ center: V.alignCenter,
279
+ end: V.alignEnd,
280
+ stretch: V.alignStretch
277
281
  },
278
282
  justify: {
279
- start: L.justifyStart,
280
- center: L.justifyCenter,
281
- end: L.justifyEnd,
282
- between: L.justifyBetween,
283
- around: L.justifyAround,
284
- evenly: L.justifyEvenly
283
+ start: V.justifyStart,
284
+ center: V.justifyCenter,
285
+ end: V.justifyEnd,
286
+ between: V.justifyBetween,
287
+ around: V.justifyAround,
288
+ evenly: V.justifyEvenly
285
289
  }
286
290
  } });
287
- function z({ gap: e = "4", align: t = "stretch", justify: r = "start", className: i, ...a }) {
291
+ function U({ gap: e = "4", align: t = "stretch", justify: r = "start", ...i }) {
288
292
  return /* @__PURE__ */ n("div", {
289
- ...a,
293
+ ...i,
290
294
  "data-imf-ui-component": "Stack",
291
- className: R({
295
+ className: H({
292
296
  gap: e,
293
297
  align: t,
294
298
  justify: r,
295
- className: i
296
- }),
297
- children: a.children
299
+ className: i.className
300
+ })
298
301
  });
299
302
  }
300
- var B = {
303
+ var W = {
301
304
  indicator: "imf-ui-tabs-module-indicator",
302
305
  list: "imf-ui-tabs-module-list",
303
306
  listFill: "imf-ui-tabs-module-listFill",
@@ -305,67 +308,67 @@ var B = {
305
308
  panelViewport: "imf-ui-tabs-module-panelViewport",
306
309
  root: "imf-ui-tabs-module-root",
307
310
  tab: "imf-ui-tabs-module-tab"
308
- }, V = /* @__PURE__ */ e({
311
+ }, G = /* @__PURE__ */ e({
309
312
  Indicator: () => Z,
310
313
  List: () => Y,
311
314
  Panel: () => $,
312
315
  PanelViewport: () => Q,
313
316
  Root: () => J,
314
317
  Tab: () => X
315
- }), H = t(B.list, { variants: { fill: {
316
- true: B.listFill,
318
+ }), K = t(W.list, { variants: { fill: {
319
+ true: W.listFill,
317
320
  false: null
318
- } } }), U = t(B.root), W = t(B.tab), G = t(B.indicator), K = t(B.panelViewport), q = t(B.panel);
319
- function J({ className: e, ...t }) {
321
+ } } }), q = t(W.root), ne = t(W.tab), re = t(W.indicator), ie = t(W.panelViewport), ae = t(W.panel);
322
+ function J(e) {
320
323
  return /* @__PURE__ */ n(c.Root, {
321
- ...t,
324
+ ...e,
322
325
  "data-imf-ui-component": "Tabs.Root",
323
- className: (t) => U({ className: typeof e == "function" ? e(t) : e })
326
+ className: (t) => q({ className: u(e.className, t) })
324
327
  });
325
328
  }
326
329
  J.displayName = "Tabs.Root";
327
- function Y({ fill: e = !1, className: t, ...r }) {
330
+ function Y({ fill: e = !1, ...t }) {
328
331
  return /* @__PURE__ */ n(c.List, {
329
- ...r,
332
+ ...t,
330
333
  "data-imf-ui-component": "Tabs.List",
331
- className: (n) => H({
334
+ className: (n) => K({
332
335
  fill: e,
333
- className: typeof t == "function" ? t(n) : t
336
+ className: u(t.className, n)
334
337
  })
335
338
  });
336
339
  }
337
340
  Y.displayName = "Tabs.List";
338
- function X({ className: e, ...t }) {
341
+ function X(e) {
339
342
  return /* @__PURE__ */ n(c.Tab, {
340
- ...t,
343
+ ...e,
341
344
  "data-imf-ui-component": "Tabs.Tab",
342
- className: (t) => W({ className: typeof e == "function" ? e(t) : e })
345
+ className: (t) => ne({ className: u(e.className, t) })
343
346
  });
344
347
  }
345
348
  X.displayName = "Tabs.Tab";
346
- function Z({ className: e, ...t }) {
349
+ function Z(e) {
347
350
  return /* @__PURE__ */ n(c.Indicator, {
348
- ...t,
351
+ ...e,
349
352
  "data-imf-ui-component": "Tabs.Indicator",
350
- className: (t) => G({ className: typeof e == "function" ? e(t) : e })
353
+ className: (t) => re({ className: u(e.className, t) })
351
354
  });
352
355
  }
353
356
  Z.displayName = "Tabs.Indicator";
354
- function Q({ className: e, ...t }) {
357
+ function Q(e) {
355
358
  return /* @__PURE__ */ n("div", {
356
- ...t,
359
+ ...e,
357
360
  "data-imf-ui-component": "Tabs.PanelViewport",
358
- className: K({ className: e })
361
+ className: ie({ className: e.className })
359
362
  });
360
363
  }
361
364
  Q.displayName = "Tabs.PanelViewport";
362
- function $({ className: e, ...t }) {
365
+ function $(e) {
363
366
  return /* @__PURE__ */ n(c.Panel, {
364
- ...t,
367
+ ...e,
365
368
  "data-imf-ui-component": "Tabs.Panel",
366
- className: (t) => q({ className: typeof e == "function" ? e(t) : e })
369
+ className: (t) => ae({ className: u(e.className, t) })
367
370
  });
368
371
  }
369
372
  $.displayName = "Tabs.Panel";
370
373
  //#endregion
371
- export { u as S, y as _, J as a, S as b, z as c, N as d, O as f, C as g, x as h, Q as i, I as l, E as m, Y as n, X as o, k as p, $ as r, V as s, Z as t, ne as u, v, b as x, w as y };
374
+ export { u as C, p as S, x as _, J as a, w as b, U as c, F as d, A as f, T as g, C as h, Q as i, B as l, te as m, Y as n, X as o, j as p, $ as r, G as s, Z as t, L as u, b as v, S as x, E as y };
@@ -0,0 +1 @@
1
+ export { resolveClassName, resolveStyle } from './resolve-state-props';
@@ -0,0 +1,4 @@
1
+ /** Resolves a Base UI `className` against the part's state. */
2
+ export declare function resolveClassName<State>(className: string | ((state: State) => string | undefined) | undefined, state: State): string | undefined;
3
+ /** Resolves a Base UI `style` against the part's state. */
4
+ export declare function resolveStyle<State>(style: React.CSSProperties | ((state: State) => React.CSSProperties | undefined) | undefined, state: State): React.CSSProperties | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imfusion/web-ui",
3
- "version": "0.6.4-dev.30.g1907865c",
3
+ "version": "0.6.4-dev.31.gcef47041",
4
4
  "description": "The official Web UI component library for ImFusion web apps",
5
5
  "author": "ImFusion GmbH",
6
6
  "homepage": "https://imfusion.com",
@@ -63,7 +63,7 @@
63
63
  "build": "npm run codegen && rm -rf dist && vite build && npm run codegen:docgen && npm run codegen:llms && npm run codegen:tokens",
64
64
  "build:storybook": "npm run codegen:storybook && storybook build",
65
65
  "ci:status": "teamcity run list --job WebSDK_WebUI_BuildTest --limit 3 --json=id,number,status,state,branchName,buildType.name,triggered.type,triggered.user.name,startDate,finishDate,webUrl | tsx scripts/ci-status.ts",
66
- "storybook": "npm run codegen:storybook && storybook dev -p 6006 --no-open",
66
+ "storybook": "npm run codegen:storybook && storybook dev -p 6006 --no-open --ci",
67
67
  "storybook:free-ports": "tsx scripts/free-storybook-ports.ts",
68
68
  "codegen": "tsx src/codegen/run.ts",
69
69
  "codegen:watch": "tsx watch src/codegen/run.ts",