@imfusion/web-ui 0.11.1-dev.73.g65836a33 → 0.11.1-dev.74.g7422f7b2
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/CHANGELOG.md +11 -0
- package/dist/index.js +2407 -2660
- package/dist/integrations/frame-selection.js +3 -4
- package/dist/integrations/image-display-options/image-display-options-view.d.ts +8 -2
- package/dist/integrations/image-display-options/image-display-options-view.utils.d.ts +7 -3
- package/dist/integrations/image-display-options/image-display-options.d.ts +5 -1
- package/dist/integrations/image-display-options.js +267 -153
- package/dist/integrations/view-tools.js +1 -2
- package/dist/{icon-button-kVghav2z.js → row-CaeE5pqs.js} +133 -2
- package/dist/separator-BxUMVvFE.js +137 -0
- package/dist/style.css +1 -1
- package/dist/tabs-Bl3YlG5t.js +429 -0
- package/package.json +1 -1
- package/src/docgen/doc.gen.json +7 -0
- package/src/llms/llms.gen.txt +1 -1
- package/dist/row-CImu8yXV.js +0 -136
- package/dist/separator-BV2TR8U0.js +0 -34
- package/dist/slider-CpIZMAFl.js +0 -107
- package/dist/tabs-BqgyMmo6.js +0 -173
|
@@ -166,6 +166,137 @@ var v = {
|
|
|
166
166
|
description: "Square button that shows a single icon and no visible text, with its accessible name from `label`. Also called an icon-only or toolbar button. Use Button with `startIcon` or `endIcon` when a text label is visible.",
|
|
167
167
|
origin: "native",
|
|
168
168
|
internalDependencies: ["Button", "Icon"]
|
|
169
|
-
}
|
|
169
|
+
}, y = {
|
|
170
|
+
alignCenter: "imf-ui-stack-module-alignCenter",
|
|
171
|
+
alignEnd: "imf-ui-stack-module-alignEnd",
|
|
172
|
+
alignStart: "imf-ui-stack-module-alignStart",
|
|
173
|
+
alignStretch: "imf-ui-stack-module-alignStretch",
|
|
174
|
+
gap0: "imf-ui-stack-module-gap0",
|
|
175
|
+
gap1: "imf-ui-stack-module-gap1",
|
|
176
|
+
gap10: "imf-ui-stack-module-gap10",
|
|
177
|
+
gap2: "imf-ui-stack-module-gap2",
|
|
178
|
+
gap3: "imf-ui-stack-module-gap3",
|
|
179
|
+
gap4: "imf-ui-stack-module-gap4",
|
|
180
|
+
gap5: "imf-ui-stack-module-gap5",
|
|
181
|
+
gap6: "imf-ui-stack-module-gap6",
|
|
182
|
+
gap7: "imf-ui-stack-module-gap7",
|
|
183
|
+
gap8: "imf-ui-stack-module-gap8",
|
|
184
|
+
gap9: "imf-ui-stack-module-gap9",
|
|
185
|
+
justifyAround: "imf-ui-stack-module-justifyAround",
|
|
186
|
+
justifyBetween: "imf-ui-stack-module-justifyBetween",
|
|
187
|
+
justifyCenter: "imf-ui-stack-module-justifyCenter",
|
|
188
|
+
justifyEnd: "imf-ui-stack-module-justifyEnd",
|
|
189
|
+
justifyEvenly: "imf-ui-stack-module-justifyEvenly",
|
|
190
|
+
justifyStart: "imf-ui-stack-module-justifyStart",
|
|
191
|
+
root: "imf-ui-stack-module-root"
|
|
192
|
+
}, b = o(y.root, { variants: {
|
|
193
|
+
gap: {
|
|
194
|
+
0: y.gap0,
|
|
195
|
+
1: y.gap1,
|
|
196
|
+
2: y.gap2,
|
|
197
|
+
3: y.gap3,
|
|
198
|
+
4: y.gap4,
|
|
199
|
+
5: y.gap5,
|
|
200
|
+
6: y.gap6,
|
|
201
|
+
7: y.gap7,
|
|
202
|
+
8: y.gap8,
|
|
203
|
+
9: y.gap9,
|
|
204
|
+
10: y.gap10
|
|
205
|
+
},
|
|
206
|
+
align: {
|
|
207
|
+
start: y.alignStart,
|
|
208
|
+
center: y.alignCenter,
|
|
209
|
+
end: y.alignEnd,
|
|
210
|
+
stretch: y.alignStretch
|
|
211
|
+
},
|
|
212
|
+
justify: {
|
|
213
|
+
start: y.justifyStart,
|
|
214
|
+
center: y.justifyCenter,
|
|
215
|
+
end: y.justifyEnd,
|
|
216
|
+
between: y.justifyBetween,
|
|
217
|
+
around: y.justifyAround,
|
|
218
|
+
evenly: y.justifyEvenly
|
|
219
|
+
}
|
|
220
|
+
} });
|
|
221
|
+
function x({ gap: e = "4", align: t = "stretch", justify: n = "start", ...r }) {
|
|
222
|
+
return /* @__PURE__ */ s("div", {
|
|
223
|
+
...r,
|
|
224
|
+
"data-imf-ui-component": "Stack",
|
|
225
|
+
className: b({
|
|
226
|
+
gap: e,
|
|
227
|
+
align: t,
|
|
228
|
+
justify: n,
|
|
229
|
+
className: r.className
|
|
230
|
+
})
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
var S = {
|
|
234
|
+
alignCenter: "imf-ui-row-module-alignCenter",
|
|
235
|
+
alignEnd: "imf-ui-row-module-alignEnd",
|
|
236
|
+
alignStart: "imf-ui-row-module-alignStart",
|
|
237
|
+
alignStretch: "imf-ui-row-module-alignStretch",
|
|
238
|
+
gap1: "imf-ui-row-module-gap1",
|
|
239
|
+
gap10: "imf-ui-row-module-gap10",
|
|
240
|
+
gap2: "imf-ui-row-module-gap2",
|
|
241
|
+
gap3: "imf-ui-row-module-gap3",
|
|
242
|
+
gap4: "imf-ui-row-module-gap4",
|
|
243
|
+
gap5: "imf-ui-row-module-gap5",
|
|
244
|
+
gap6: "imf-ui-row-module-gap6",
|
|
245
|
+
gap7: "imf-ui-row-module-gap7",
|
|
246
|
+
gap8: "imf-ui-row-module-gap8",
|
|
247
|
+
gap9: "imf-ui-row-module-gap9",
|
|
248
|
+
justifyAround: "imf-ui-row-module-justifyAround",
|
|
249
|
+
justifyBetween: "imf-ui-row-module-justifyBetween",
|
|
250
|
+
justifyCenter: "imf-ui-row-module-justifyCenter",
|
|
251
|
+
justifyEnd: "imf-ui-row-module-justifyEnd",
|
|
252
|
+
justifyEvenly: "imf-ui-row-module-justifyEvenly",
|
|
253
|
+
justifyStart: "imf-ui-row-module-justifyStart",
|
|
254
|
+
root: "imf-ui-row-module-root",
|
|
255
|
+
wrap: "imf-ui-row-module-wrap"
|
|
256
|
+
}, C = o(S.root, { variants: {
|
|
257
|
+
gap: {
|
|
258
|
+
1: S.gap1,
|
|
259
|
+
2: S.gap2,
|
|
260
|
+
3: S.gap3,
|
|
261
|
+
4: S.gap4,
|
|
262
|
+
5: S.gap5,
|
|
263
|
+
6: S.gap6,
|
|
264
|
+
7: S.gap7,
|
|
265
|
+
8: S.gap8,
|
|
266
|
+
9: S.gap9,
|
|
267
|
+
10: S.gap10
|
|
268
|
+
},
|
|
269
|
+
align: {
|
|
270
|
+
start: S.alignStart,
|
|
271
|
+
center: S.alignCenter,
|
|
272
|
+
end: S.alignEnd,
|
|
273
|
+
stretch: S.alignStretch
|
|
274
|
+
},
|
|
275
|
+
justify: {
|
|
276
|
+
start: S.justifyStart,
|
|
277
|
+
center: S.justifyCenter,
|
|
278
|
+
end: S.justifyEnd,
|
|
279
|
+
between: S.justifyBetween,
|
|
280
|
+
around: S.justifyAround,
|
|
281
|
+
evenly: S.justifyEvenly
|
|
282
|
+
},
|
|
283
|
+
wrap: {
|
|
284
|
+
true: S.wrap,
|
|
285
|
+
false: null
|
|
286
|
+
}
|
|
287
|
+
} });
|
|
288
|
+
function w({ gap: e = "2", align: t = "stretch", justify: n = "start", wrap: r = !1, ...i }) {
|
|
289
|
+
return /* @__PURE__ */ s("div", {
|
|
290
|
+
...i,
|
|
291
|
+
"data-imf-ui-component": "Row",
|
|
292
|
+
className: C({
|
|
293
|
+
gap: e,
|
|
294
|
+
align: t,
|
|
295
|
+
justify: n,
|
|
296
|
+
wrap: r,
|
|
297
|
+
className: i.className
|
|
298
|
+
})
|
|
299
|
+
});
|
|
300
|
+
}
|
|
170
301
|
//#endregion
|
|
171
|
-
export {
|
|
302
|
+
export { f as a, _ as i, x as n, d as o, v as r, w as t };
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
+
import { a as t } from "./utils-J6vbjIt1.js";
|
|
3
|
+
import { cva as n } from "class-variance-authority";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import { Separator as i } from "@base-ui/react/separator";
|
|
6
|
+
import { Slider as a } from "@base-ui/react/slider";
|
|
7
|
+
var o = {
|
|
8
|
+
control: "imf-ui-slider-module-control",
|
|
9
|
+
indicator: "imf-ui-slider-module-indicator",
|
|
10
|
+
label: "imf-ui-slider-module-label",
|
|
11
|
+
root: "imf-ui-slider-module-root",
|
|
12
|
+
thumb: "imf-ui-slider-module-thumb",
|
|
13
|
+
track: "imf-ui-slider-module-track",
|
|
14
|
+
value: "imf-ui-slider-module-value",
|
|
15
|
+
variantPosition: "imf-ui-slider-module-variantPosition"
|
|
16
|
+
}, s = /* @__PURE__ */ e({
|
|
17
|
+
Control: () => v,
|
|
18
|
+
Indicator: () => b,
|
|
19
|
+
Label: () => g,
|
|
20
|
+
Root: () => h,
|
|
21
|
+
Thumb: () => x,
|
|
22
|
+
Track: () => y,
|
|
23
|
+
Value: () => _
|
|
24
|
+
}), c = n(o.root, { variants: { variant: {
|
|
25
|
+
default: null,
|
|
26
|
+
position: o.variantPosition
|
|
27
|
+
} } }), l = n(o.label), u = n(o.value), d = n(o.control), f = n(o.track), p = n(o.indicator), m = n(o.thumb);
|
|
28
|
+
function h({ variant: e = "default", value: n, defaultValue: i, onValueChange: o, onValueCommitted: s, min: l = 0, max: u = 100, step: d = 1, largeStep: f = 10, minStepsBetweenValues: p = 0, disabled: m = !1, orientation: h = "horizontal", name: g, form: _, locale: v, thumbAlignment: y = "edge", thumbCollisionBehavior: b = "push", format: x, ...S }) {
|
|
29
|
+
return /* @__PURE__ */ r(a.Root, {
|
|
30
|
+
...S,
|
|
31
|
+
"data-imf-ui-component": "Slider.Root",
|
|
32
|
+
"data-orientation": h,
|
|
33
|
+
className: (n) => c({
|
|
34
|
+
variant: e,
|
|
35
|
+
className: t(S.className, n)
|
|
36
|
+
}),
|
|
37
|
+
value: n,
|
|
38
|
+
defaultValue: i,
|
|
39
|
+
onValueChange: o,
|
|
40
|
+
onValueCommitted: s,
|
|
41
|
+
min: l,
|
|
42
|
+
max: u,
|
|
43
|
+
step: d,
|
|
44
|
+
largeStep: f,
|
|
45
|
+
minStepsBetweenValues: p,
|
|
46
|
+
disabled: m,
|
|
47
|
+
orientation: h,
|
|
48
|
+
name: g,
|
|
49
|
+
form: _,
|
|
50
|
+
locale: v,
|
|
51
|
+
thumbAlignment: y,
|
|
52
|
+
thumbCollisionBehavior: b,
|
|
53
|
+
format: x
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
h.displayName = "Slider.Root";
|
|
57
|
+
function g(e) {
|
|
58
|
+
return /* @__PURE__ */ r(a.Label, {
|
|
59
|
+
...e,
|
|
60
|
+
"data-imf-ui-component": "Slider.Label",
|
|
61
|
+
className: (n) => l({ className: t(e.className, n) })
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
g.displayName = "Slider.Label";
|
|
65
|
+
function _({ children: e, ...n }) {
|
|
66
|
+
return /* @__PURE__ */ r(a.Value, {
|
|
67
|
+
...n,
|
|
68
|
+
"data-imf-ui-component": "Slider.Value",
|
|
69
|
+
className: (e) => u({ className: t(n.className, e) }),
|
|
70
|
+
children: e
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
_.displayName = "Slider.Value";
|
|
74
|
+
function v(e) {
|
|
75
|
+
return /* @__PURE__ */ r(a.Control, {
|
|
76
|
+
...e,
|
|
77
|
+
"data-imf-ui-component": "Slider.Control",
|
|
78
|
+
className: (n) => d({ className: t(e.className, n) })
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
v.displayName = "Slider.Control";
|
|
82
|
+
function y(e) {
|
|
83
|
+
return /* @__PURE__ */ r(a.Track, {
|
|
84
|
+
...e,
|
|
85
|
+
"data-imf-ui-component": "Slider.Track",
|
|
86
|
+
className: (n) => f({ className: t(e.className, n) })
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
y.displayName = "Slider.Track";
|
|
90
|
+
function b(e) {
|
|
91
|
+
return /* @__PURE__ */ r(a.Indicator, {
|
|
92
|
+
...e,
|
|
93
|
+
"data-imf-ui-component": "Slider.Indicator",
|
|
94
|
+
className: (n) => p({ className: t(e.className, n) })
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
b.displayName = "Slider.Indicator";
|
|
98
|
+
function x({ index: e, ...n }) {
|
|
99
|
+
return /* @__PURE__ */ r(a.Thumb, {
|
|
100
|
+
...n,
|
|
101
|
+
"data-imf-ui-component": "Slider.Thumb",
|
|
102
|
+
className: (e) => m({ className: t(n.className, e) }),
|
|
103
|
+
index: e
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
x.displayName = "Slider.Thumb";
|
|
107
|
+
var S = {
|
|
108
|
+
root: "imf-ui-separator-module-root",
|
|
109
|
+
toneMinor: "imf-ui-separator-module-toneMinor",
|
|
110
|
+
variantDashed: "imf-ui-separator-module-variantDashed",
|
|
111
|
+
variantDotted: "imf-ui-separator-module-variantDotted",
|
|
112
|
+
variantSolid: "imf-ui-separator-module-variantSolid"
|
|
113
|
+
}, C = n(S.root, { variants: {
|
|
114
|
+
variant: {
|
|
115
|
+
solid: S.variantSolid,
|
|
116
|
+
dashed: S.variantDashed,
|
|
117
|
+
dotted: S.variantDotted
|
|
118
|
+
},
|
|
119
|
+
tone: {
|
|
120
|
+
primary: null,
|
|
121
|
+
minor: S.toneMinor
|
|
122
|
+
}
|
|
123
|
+
} });
|
|
124
|
+
function w({ orientation: e = "horizontal", variant: t = "solid", tone: n = "primary", ...a }) {
|
|
125
|
+
return /* @__PURE__ */ r(i, {
|
|
126
|
+
...a,
|
|
127
|
+
orientation: e,
|
|
128
|
+
"data-imf-ui-component": "Separator",
|
|
129
|
+
className: C({
|
|
130
|
+
variant: t,
|
|
131
|
+
tone: n,
|
|
132
|
+
className: a.className
|
|
133
|
+
})
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
//#endregion
|
|
137
|
+
export { h as a, _ as c, g as i, s as l, v as n, x as o, b as r, y as s, w as t };
|