@imfusion/web-ui 0.8.1-dev.5.gee230289 → 0.8.1-dev.50.g91c115bb
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 +159 -0
- package/README.md +28 -18
- package/THIRD_PARTY_NOTICES.md +34 -0
- package/dist/{code-D2lwxHgd.js → code-GwkswukD.js} +5 -5
- package/dist/codegen/gen-icons.d.ts +29 -4
- package/dist/codegen/sharpen-icon.d.ts +11 -0
- package/dist/components/app-shell/app-shell.d.ts +55 -30
- package/dist/components/button/button.d.ts +5 -4
- package/dist/components/card/card.d.ts +15 -1
- package/dist/components/field/field.d.ts +5 -2
- package/dist/components/icon-button/icon-button.d.ts +19 -0
- package/dist/components/icon-button/icon-button.meta.d.ts +2 -0
- package/dist/components/icon-button/index.d.ts +2 -0
- package/dist/components/logo/logo.d.ts +1 -1
- package/dist/components/meter/index.d.ts +2 -0
- package/dist/components/meter/meter.d.ts +33 -0
- package/dist/components/meter/meter.meta.d.ts +2 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/skeleton/skeleton.d.ts +47 -0
- package/dist/components/skeleton/skeleton.meta.d.ts +2 -0
- package/dist/components/slider/slider.d.ts +11 -1
- package/dist/components/table/table.d.ts +9 -0
- package/dist/components/typo/typo.d.ts +20 -11
- package/dist/icons/catalog.gen.d.ts +3797 -0
- package/dist/icons/create-icon.d.ts +3 -0
- package/dist/icons/icon-config-context.d.ts +3 -0
- package/dist/icons/icon-config.d.ts +2 -2
- package/dist/icons/icons.gen.d.ts +1736 -1672
- package/dist/icons-DUxZcuf9.js +36339 -0
- package/dist/icons.js +2 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2059 -1613
- package/dist/integrations/code-highlight.js +6 -4
- package/dist/integrations/frame-selection/frame-selection-view.d.ts +24 -0
- package/dist/integrations/frame-selection/frame-selection.d.ts +21 -0
- package/dist/integrations/frame-selection/frame-selection.meta.d.ts +2 -0
- package/dist/integrations/frame-selection/index.d.ts +2 -0
- package/dist/integrations/frame-selection.js +121 -0
- package/dist/integrations/image-display-options.js +71 -70
- package/dist/llms/evals/runner/config.d.ts +1 -0
- package/dist/llms/gen-tokens.d.ts +1 -1
- package/dist/{paths-Oi0v8x-w.js → paths-B5Ht3ETc.js} +2 -2
- package/dist/separator-lzz4A3x_.js +26 -0
- package/dist/slider-Cqpreglu.js +116 -0
- package/dist/style.css +1 -1
- package/dist/tabs-Dsfp8Ogj.js +295 -0
- package/dist/utils/status-glyphs.d.ts +4 -0
- package/dist/vite.js +2 -2
- package/dist/web-ui-cli.js +1 -1
- package/docs/user-guide/AgentTooling.mdx +8 -3
- package/package.json +37 -38
- package/src/docgen/doc.gen.json +754 -12
- package/src/llms/icon-catalog.gen.json +5533 -1671
- package/src/llms/llms.gen.txt +24 -2
- package/src/llms/skills/imf-web-ui/SKILL.md +2 -0
- package/src/llms/skills/imf-web-ui-audit/SKILL.md +18 -4
- package/src/llms/skills/imf-web-ui-components/SKILL.md +3 -1
- package/src/llms/skills/imf-web-ui-conventions/templates/AUDIT_CHECKLIST.md +4 -2
- package/src/llms/skills/imf-web-ui-conventions/topics/authentication.md +2 -1
- package/src/llms/skills/imf-web-ui-conventions/topics/data.md +5 -3
- package/src/llms/skills/imf-web-ui-conventions/topics/git.md +2 -3
- package/src/llms/skills/imf-web-ui-conventions/topics/npm-project.md +3 -4
- package/src/llms/skills/imf-web-ui-conventions/topics/styling.md +4 -2
- package/src/llms/skills/imf-web-ui-conventions/topics/tooling.md +66 -28
- package/src/llms/skills/imf-web-ui-conventions/topics/typescript.md +14 -0
- package/src/llms/skills/imf-web-ui-setup/SKILL.md +2 -0
- package/src/llms/skills/imf-web-ui-update/SKILL.md +42 -7
- package/src/llms/skills/imf-web-ui-user-profile/SKILL.md +95 -0
- package/src/llms/skills/imf-web-ui-ux/SKILL.md +2 -0
- package/src/llms/tokens.gen.json +3 -3
- package/dist/icons-CaGCCwG-.js +0 -78
- package/dist/tabs-BS6rqrrA.js +0 -398
- /package/dist/{meta-j-7HGrWv.js → meta-V_KyLeGn.js} +0 -0
- /package/dist/{chunk-DmhlhrBa.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
package/src/docgen/doc.gen.json
CHANGED
|
@@ -89,20 +89,118 @@
|
|
|
89
89
|
"app-shell": {
|
|
90
90
|
"root": {
|
|
91
91
|
"name": "AppShell.Root",
|
|
92
|
-
"description": "
|
|
93
|
-
"props": [
|
|
92
|
+
"description": "",
|
|
93
|
+
"props": [
|
|
94
|
+
{
|
|
95
|
+
"name": "ref",
|
|
96
|
+
"required": false,
|
|
97
|
+
"type": "Ref<HTMLDivElement>",
|
|
98
|
+
"defaultValue": null,
|
|
99
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
94
102
|
},
|
|
95
103
|
"subComponents": [
|
|
96
104
|
{
|
|
97
105
|
"name": "AppShell.Aside",
|
|
98
|
-
"description": "",
|
|
106
|
+
"description": "Below `lg` the aside opens as a drawer: from the bottom on phones, from the inline end on tablets.",
|
|
99
107
|
"props": [
|
|
108
|
+
{
|
|
109
|
+
"name": "onOpenChange",
|
|
110
|
+
"required": false,
|
|
111
|
+
"type": "(open: boolean) => void",
|
|
112
|
+
"defaultValue": null,
|
|
113
|
+
"description": "Called when the drawer asks to open or close: scrim, swipe, or Escape."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "onWidthChange",
|
|
117
|
+
"required": false,
|
|
118
|
+
"type": "(width: number) => void",
|
|
119
|
+
"defaultValue": null,
|
|
120
|
+
"description": "Called with the new width in px when a drag ends, on each arrow-key step, and on reset."
|
|
121
|
+
},
|
|
100
122
|
{
|
|
101
123
|
"name": "open",
|
|
102
124
|
"required": false,
|
|
103
125
|
"type": "boolean",
|
|
104
126
|
"defaultValue": null,
|
|
105
|
-
"description": "Whether the
|
|
127
|
+
"description": "Whether the drawer is open below the breakpoint. Ignored while the section is docked."
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "resizable",
|
|
131
|
+
"required": false,
|
|
132
|
+
"type": "boolean",
|
|
133
|
+
"defaultValue": "true",
|
|
134
|
+
"description": "Adds a drag handle on the inline-start edge from the `lg` breakpoint up. Double-click or Home restores the default width."
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "resizeLabel",
|
|
138
|
+
"required": false,
|
|
139
|
+
"type": "string",
|
|
140
|
+
"defaultValue": "Resize panel",
|
|
141
|
+
"description": "Accessible name of the drag handle."
|
|
142
|
+
}
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "AppShell.Burger",
|
|
147
|
+
"description": "AppShell.Burger — the header's menu toggle: three sheared bands that cross when `opened`. Takes its color from the\nsurface and hides from `md` up, where the navbar is docked.",
|
|
148
|
+
"props": [
|
|
149
|
+
{
|
|
150
|
+
"name": "className",
|
|
151
|
+
"required": false,
|
|
152
|
+
"type": "string | ((state: ButtonState) => string)",
|
|
153
|
+
"defaultValue": null,
|
|
154
|
+
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component's state."
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "focusableWhenDisabled",
|
|
158
|
+
"required": false,
|
|
159
|
+
"type": "boolean",
|
|
160
|
+
"defaultValue": "false",
|
|
161
|
+
"description": "Whether the button should be focusable when disabled."
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "label",
|
|
165
|
+
"required": false,
|
|
166
|
+
"type": "string",
|
|
167
|
+
"defaultValue": null,
|
|
168
|
+
"description": "Accessible name. Defaults to \"Open navigation\" or \"Close navigation\" from `opened`."
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "nativeButton",
|
|
172
|
+
"required": false,
|
|
173
|
+
"type": "boolean",
|
|
174
|
+
"defaultValue": "true",
|
|
175
|
+
"description": "Whether the component renders a native `<button>` element when replacing it\nvia the `render` prop.\nSet to `false` if the rendered element is not a button (for example, `<div>`)."
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "opened",
|
|
179
|
+
"required": false,
|
|
180
|
+
"type": "boolean",
|
|
181
|
+
"defaultValue": "false",
|
|
182
|
+
"description": "Whether the navigation it controls is open; draws the cross and sets `aria-expanded`."
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "ref",
|
|
186
|
+
"required": false,
|
|
187
|
+
"type": "Ref<HTMLDivElement>",
|
|
188
|
+
"defaultValue": null,
|
|
189
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "render",
|
|
193
|
+
"required": false,
|
|
194
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, ButtonState>",
|
|
195
|
+
"defaultValue": null,
|
|
196
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "style",
|
|
200
|
+
"required": false,
|
|
201
|
+
"type": "| CSSProperties\n| ((state: ButtonState) => CSSProperties)",
|
|
202
|
+
"defaultValue": null,
|
|
203
|
+
"description": "Style applied to the element, or a function that\nreturns a style object based on the component's state."
|
|
106
204
|
}
|
|
107
205
|
]
|
|
108
206
|
},
|
|
@@ -123,14 +221,62 @@
|
|
|
123
221
|
},
|
|
124
222
|
{
|
|
125
223
|
"name": "AppShell.Navbar",
|
|
126
|
-
"description": "",
|
|
224
|
+
"description": "`variant=\"branded\"` paints the primary color; children opt into on-color themselves. Below `md` the navbar opens as a\ndrawer from the inline end.",
|
|
127
225
|
"props": [
|
|
226
|
+
{
|
|
227
|
+
"name": "onOpenChange",
|
|
228
|
+
"required": false,
|
|
229
|
+
"type": "(open: boolean) => void",
|
|
230
|
+
"defaultValue": null,
|
|
231
|
+
"description": "Called when the drawer asks to open or close: scrim, swipe, or Escape."
|
|
232
|
+
},
|
|
128
233
|
{
|
|
129
234
|
"name": "open",
|
|
130
235
|
"required": false,
|
|
131
236
|
"type": "boolean",
|
|
132
237
|
"defaultValue": null,
|
|
133
|
-
"description": "Whether the
|
|
238
|
+
"description": "Whether the drawer is open below the breakpoint. Ignored while the section is docked."
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "variant",
|
|
242
|
+
"required": false,
|
|
243
|
+
"type": "\"default\" | \"branded\" | null",
|
|
244
|
+
"defaultValue": "default",
|
|
245
|
+
"description": ""
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "AppShell.NavItem",
|
|
251
|
+
"description": "AppShell.NavItem — a navbar link: icon, mono label, and an optional description. Takes its color from the navbar;\n`aria-current=\"page\"` marks the current page. Pass a router link through `render`.",
|
|
252
|
+
"props": [
|
|
253
|
+
{
|
|
254
|
+
"name": "description",
|
|
255
|
+
"required": false,
|
|
256
|
+
"type": "ReactNode",
|
|
257
|
+
"defaultValue": null,
|
|
258
|
+
"description": "One line under the label saying what is behind the link."
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "icon",
|
|
262
|
+
"required": false,
|
|
263
|
+
"type": "ReactNode",
|
|
264
|
+
"defaultValue": null,
|
|
265
|
+
"description": "Leading icon, decorative."
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "ref",
|
|
269
|
+
"required": false,
|
|
270
|
+
"type": "Ref<HTMLDivElement>",
|
|
271
|
+
"defaultValue": null,
|
|
272
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "render",
|
|
276
|
+
"required": false,
|
|
277
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, {}>",
|
|
278
|
+
"defaultValue": null,
|
|
279
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
134
280
|
}
|
|
135
281
|
]
|
|
136
282
|
},
|
|
@@ -314,7 +460,7 @@
|
|
|
314
460
|
"required": false,
|
|
315
461
|
"type": "ReactNode",
|
|
316
462
|
"defaultValue": null,
|
|
317
|
-
"description": "Trailing slot
|
|
463
|
+
"description": "Trailing slot, typically an icon."
|
|
318
464
|
},
|
|
319
465
|
{
|
|
320
466
|
"name": "focusableWhenDisabled",
|
|
@@ -323,6 +469,13 @@
|
|
|
323
469
|
"defaultValue": "false",
|
|
324
470
|
"description": "Whether the button should be focusable when disabled."
|
|
325
471
|
},
|
|
472
|
+
{
|
|
473
|
+
"name": "justify",
|
|
474
|
+
"required": false,
|
|
475
|
+
"type": "\"center\" | \"spread\" | null",
|
|
476
|
+
"defaultValue": "center",
|
|
477
|
+
"description": ""
|
|
478
|
+
},
|
|
326
479
|
{
|
|
327
480
|
"name": "nativeButton",
|
|
328
481
|
"required": false,
|
|
@@ -363,7 +516,7 @@
|
|
|
363
516
|
"required": false,
|
|
364
517
|
"type": "ReactNode",
|
|
365
518
|
"defaultValue": null,
|
|
366
|
-
"description": "Leading slot
|
|
519
|
+
"description": "Leading slot, typically an icon."
|
|
367
520
|
},
|
|
368
521
|
{
|
|
369
522
|
"name": "style",
|
|
@@ -499,6 +652,19 @@
|
|
|
499
652
|
"description": "Width divided by height, or \"auto\" to use the image's intrinsic ratio."
|
|
500
653
|
}
|
|
501
654
|
]
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "Card.Status",
|
|
658
|
+
"description": "Card.Status — a tinted slot that marks the card's status with the variant's glyph. Pass\nchildren to replace the glyph. Like `Card.Image`, place it first among the slots: a column\nbeside the body in a horizontal card, a band above it in a vertical one. Decorative\n(`aria-hidden`); the card's text carries the status.",
|
|
659
|
+
"props": [
|
|
660
|
+
{
|
|
661
|
+
"name": "variant",
|
|
662
|
+
"required": false,
|
|
663
|
+
"type": "| \"info\"\n| \"positive\"\n| \"warning\"\n| \"negative\"\n| null",
|
|
664
|
+
"defaultValue": "info",
|
|
665
|
+
"description": ""
|
|
666
|
+
}
|
|
667
|
+
]
|
|
502
668
|
}
|
|
503
669
|
]
|
|
504
670
|
},
|
|
@@ -1050,7 +1216,7 @@
|
|
|
1050
1216
|
"required": false,
|
|
1051
1217
|
"type": "ReactNode",
|
|
1052
1218
|
"defaultValue": null,
|
|
1053
|
-
"description": "Trailing slot
|
|
1219
|
+
"description": "Trailing slot, typically an icon."
|
|
1054
1220
|
},
|
|
1055
1221
|
{
|
|
1056
1222
|
"name": "focusableWhenDisabled",
|
|
@@ -1059,6 +1225,13 @@
|
|
|
1059
1225
|
"defaultValue": "false",
|
|
1060
1226
|
"description": "Whether the button should be focusable when disabled."
|
|
1061
1227
|
},
|
|
1228
|
+
{
|
|
1229
|
+
"name": "justify",
|
|
1230
|
+
"required": false,
|
|
1231
|
+
"type": "\"center\" | \"spread\" | null",
|
|
1232
|
+
"defaultValue": null,
|
|
1233
|
+
"description": ""
|
|
1234
|
+
},
|
|
1062
1235
|
{
|
|
1063
1236
|
"name": "label",
|
|
1064
1237
|
"required": false,
|
|
@@ -1106,7 +1279,7 @@
|
|
|
1106
1279
|
"required": false,
|
|
1107
1280
|
"type": "ReactNode",
|
|
1108
1281
|
"defaultValue": null,
|
|
1109
|
-
"description": "Leading slot
|
|
1282
|
+
"description": "Leading slot, typically an icon."
|
|
1110
1283
|
},
|
|
1111
1284
|
{
|
|
1112
1285
|
"name": "style",
|
|
@@ -1963,7 +2136,7 @@
|
|
|
1963
2136
|
},
|
|
1964
2137
|
{
|
|
1965
2138
|
"name": "Field.Error",
|
|
1966
|
-
"description": "Field.Error — an inline validation message shown when its match condition fails.",
|
|
2139
|
+
"description": "Field.Error — an inline validation message shown when its match condition fails.\nIt announces itself with `role=\"alert\"`; pass another `role` to quiet it.",
|
|
1967
2140
|
"props": [
|
|
1968
2141
|
{
|
|
1969
2142
|
"name": "className",
|
|
@@ -2208,6 +2381,113 @@
|
|
|
2208
2381
|
},
|
|
2209
2382
|
"subComponents": []
|
|
2210
2383
|
},
|
|
2384
|
+
"icon-button": {
|
|
2385
|
+
"root": {
|
|
2386
|
+
"name": "IconButton",
|
|
2387
|
+
"description": "IconButton — a square Button that shows a single Icon. Composes Button, so every Button variant and native attribute\npasses through.",
|
|
2388
|
+
"props": [
|
|
2389
|
+
{
|
|
2390
|
+
"name": "chamfer",
|
|
2391
|
+
"required": false,
|
|
2392
|
+
"type": "boolean | null",
|
|
2393
|
+
"defaultValue": null,
|
|
2394
|
+
"description": ""
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "className",
|
|
2398
|
+
"required": false,
|
|
2399
|
+
"type": "string | ((state: ButtonState) => string)",
|
|
2400
|
+
"defaultValue": null,
|
|
2401
|
+
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component's state."
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"name": "context",
|
|
2405
|
+
"required": false,
|
|
2406
|
+
"type": "\"default\" | \"oncolor\" | null",
|
|
2407
|
+
"defaultValue": null,
|
|
2408
|
+
"description": ""
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
"name": "focusableWhenDisabled",
|
|
2412
|
+
"required": false,
|
|
2413
|
+
"type": "boolean",
|
|
2414
|
+
"defaultValue": "false",
|
|
2415
|
+
"description": "Whether the button should be focusable when disabled."
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
"name": "glyph",
|
|
2419
|
+
"required": true,
|
|
2420
|
+
"type": "IconComponent",
|
|
2421
|
+
"defaultValue": null,
|
|
2422
|
+
"description": "Icon component imported from `@imfusion/web-ui/icons`."
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"name": "iconProps",
|
|
2426
|
+
"required": false,
|
|
2427
|
+
"type": "Omit<Omit<Omit<SVGProps<SVGSVGElement>, \"ref\"> & RefAttributes<SVGSVGElement>, \"color\"> & VariantProps<(props?: (ConfigVariants<...> & ClassProp)) => string> & { ...; }, \"glyph\">",
|
|
2428
|
+
"defaultValue": null,
|
|
2429
|
+
"description": "Props for the inner Icon, such as `strokeWidth` or a `size` override."
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
"name": "label",
|
|
2433
|
+
"required": true,
|
|
2434
|
+
"type": "string",
|
|
2435
|
+
"defaultValue": null,
|
|
2436
|
+
"description": "Accessible name; the button renders no visible text."
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
"name": "nativeButton",
|
|
2440
|
+
"required": false,
|
|
2441
|
+
"type": "boolean",
|
|
2442
|
+
"defaultValue": "true",
|
|
2443
|
+
"description": "Whether the component renders a native `<button>` element when replacing it\nvia the `render` prop.\nSet to `false` if the rendered element is not a button (for example, `<div>`)."
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"name": "radius",
|
|
2447
|
+
"required": false,
|
|
2448
|
+
"type": "\"sm\" | \"md\" | \"lg\" | \"none\" | \"round\" | null",
|
|
2449
|
+
"defaultValue": null,
|
|
2450
|
+
"description": ""
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
"name": "ref",
|
|
2454
|
+
"required": false,
|
|
2455
|
+
"type": "Ref<HTMLElement>",
|
|
2456
|
+
"defaultValue": null,
|
|
2457
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"name": "render",
|
|
2461
|
+
"required": false,
|
|
2462
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, ButtonState>",
|
|
2463
|
+
"defaultValue": null,
|
|
2464
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
"name": "size",
|
|
2468
|
+
"required": false,
|
|
2469
|
+
"type": "\"sm\" | \"md\" | \"lg\" | \"hero\" | null",
|
|
2470
|
+
"defaultValue": "md",
|
|
2471
|
+
"description": ""
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"name": "style",
|
|
2475
|
+
"required": false,
|
|
2476
|
+
"type": "| CSSProperties\n| ((state: ButtonState) => CSSProperties)",
|
|
2477
|
+
"defaultValue": null,
|
|
2478
|
+
"description": "Style applied to the element, or a function that\nreturns a style object based on the component's state."
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
"name": "variant",
|
|
2482
|
+
"required": false,
|
|
2483
|
+
"type": "| \"primary\"\n| \"secondary\"\n| \"positive\"\n| \"negative\"\n| \"outline\"\n| \"ghost\"\n| null",
|
|
2484
|
+
"defaultValue": null,
|
|
2485
|
+
"description": ""
|
|
2486
|
+
}
|
|
2487
|
+
]
|
|
2488
|
+
},
|
|
2489
|
+
"subComponents": []
|
|
2490
|
+
},
|
|
2211
2491
|
"input": {
|
|
2212
2492
|
"root": {
|
|
2213
2493
|
"name": "Input",
|
|
@@ -2331,6 +2611,229 @@
|
|
|
2331
2611
|
},
|
|
2332
2612
|
"subComponents": []
|
|
2333
2613
|
},
|
|
2614
|
+
"meter": {
|
|
2615
|
+
"root": {
|
|
2616
|
+
"name": "Meter.Root",
|
|
2617
|
+
"description": "Meter.Root — read-only measurement of a value within a known range.\n\nWithout a visible `Meter.Label`, name the meter with `aria-label`.",
|
|
2618
|
+
"props": [
|
|
2619
|
+
{
|
|
2620
|
+
"name": "aria-valuetext",
|
|
2621
|
+
"required": false,
|
|
2622
|
+
"type": "string",
|
|
2623
|
+
"defaultValue": null,
|
|
2624
|
+
"description": "A string value that provides a user-friendly name for `aria-valuenow`, the current value of the meter."
|
|
2625
|
+
},
|
|
2626
|
+
{
|
|
2627
|
+
"name": "className",
|
|
2628
|
+
"required": false,
|
|
2629
|
+
"type": "string | ((state: MeterRootState) => string)",
|
|
2630
|
+
"defaultValue": null,
|
|
2631
|
+
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component's state."
|
|
2632
|
+
},
|
|
2633
|
+
{
|
|
2634
|
+
"name": "format",
|
|
2635
|
+
"required": false,
|
|
2636
|
+
"type": "NumberFormatOptions",
|
|
2637
|
+
"defaultValue": null,
|
|
2638
|
+
"description": "Options to format the value."
|
|
2639
|
+
},
|
|
2640
|
+
{
|
|
2641
|
+
"name": "getAriaValueText",
|
|
2642
|
+
"required": false,
|
|
2643
|
+
"type": "(formattedValue: string, value: number) => string",
|
|
2644
|
+
"defaultValue": null,
|
|
2645
|
+
"description": "A function that returns a string value that provides a human-readable text alternative for `aria-valuenow`, the current value of the meter."
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"name": "locale",
|
|
2649
|
+
"required": false,
|
|
2650
|
+
"type": "LocalesArgument",
|
|
2651
|
+
"defaultValue": null,
|
|
2652
|
+
"description": "The locale used by `Intl.NumberFormat` when formatting the value.\nDefaults to the user's runtime locale."
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"name": "max",
|
|
2656
|
+
"required": false,
|
|
2657
|
+
"type": "number",
|
|
2658
|
+
"defaultValue": "100",
|
|
2659
|
+
"description": "The maximum value"
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
"name": "min",
|
|
2663
|
+
"required": false,
|
|
2664
|
+
"type": "number",
|
|
2665
|
+
"defaultValue": "0",
|
|
2666
|
+
"description": "The minimum value"
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
"name": "ref",
|
|
2670
|
+
"required": false,
|
|
2671
|
+
"type": "Ref<HTMLDivElement>",
|
|
2672
|
+
"defaultValue": null,
|
|
2673
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"name": "render",
|
|
2677
|
+
"required": false,
|
|
2678
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, MeterRootState>",
|
|
2679
|
+
"defaultValue": null,
|
|
2680
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
2681
|
+
},
|
|
2682
|
+
{
|
|
2683
|
+
"name": "style",
|
|
2684
|
+
"required": false,
|
|
2685
|
+
"type": "| CSSProperties\n| ((state: MeterRootState) => CSSProperties)",
|
|
2686
|
+
"defaultValue": null,
|
|
2687
|
+
"description": "Style applied to the element, or a function that\nreturns a style object based on the component's state."
|
|
2688
|
+
},
|
|
2689
|
+
{
|
|
2690
|
+
"name": "value",
|
|
2691
|
+
"required": true,
|
|
2692
|
+
"type": "number",
|
|
2693
|
+
"defaultValue": null,
|
|
2694
|
+
"description": "The current value."
|
|
2695
|
+
}
|
|
2696
|
+
]
|
|
2697
|
+
},
|
|
2698
|
+
"subComponents": [
|
|
2699
|
+
{
|
|
2700
|
+
"name": "Meter.Indicator",
|
|
2701
|
+
"description": "Meter.Indicator — filled portion of the track up to the value.",
|
|
2702
|
+
"props": [
|
|
2703
|
+
{
|
|
2704
|
+
"name": "className",
|
|
2705
|
+
"required": false,
|
|
2706
|
+
"type": "string | ((state: MeterIndicatorState) => string)",
|
|
2707
|
+
"defaultValue": null,
|
|
2708
|
+
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component's state."
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"name": "ref",
|
|
2712
|
+
"required": false,
|
|
2713
|
+
"type": "Ref<HTMLDivElement>",
|
|
2714
|
+
"defaultValue": null,
|
|
2715
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
2716
|
+
},
|
|
2717
|
+
{
|
|
2718
|
+
"name": "render",
|
|
2719
|
+
"required": false,
|
|
2720
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, MeterIndicatorState>",
|
|
2721
|
+
"defaultValue": null,
|
|
2722
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
2723
|
+
},
|
|
2724
|
+
{
|
|
2725
|
+
"name": "style",
|
|
2726
|
+
"required": false,
|
|
2727
|
+
"type": "| CSSProperties\n| ((state: MeterIndicatorState) => CSSProperties)",
|
|
2728
|
+
"defaultValue": null,
|
|
2729
|
+
"description": "Style applied to the element, or a function that\nreturns a style object based on the component's state."
|
|
2730
|
+
}
|
|
2731
|
+
]
|
|
2732
|
+
},
|
|
2733
|
+
{
|
|
2734
|
+
"name": "Meter.Label",
|
|
2735
|
+
"description": "Meter.Label — accessible label for the meter.",
|
|
2736
|
+
"props": [
|
|
2737
|
+
{
|
|
2738
|
+
"name": "className",
|
|
2739
|
+
"required": false,
|
|
2740
|
+
"type": "string | ((state: MeterLabelState) => string)",
|
|
2741
|
+
"defaultValue": null,
|
|
2742
|
+
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component's state."
|
|
2743
|
+
},
|
|
2744
|
+
{
|
|
2745
|
+
"name": "ref",
|
|
2746
|
+
"required": false,
|
|
2747
|
+
"type": "Ref<HTMLDivElement>",
|
|
2748
|
+
"defaultValue": null,
|
|
2749
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
2750
|
+
},
|
|
2751
|
+
{
|
|
2752
|
+
"name": "render",
|
|
2753
|
+
"required": false,
|
|
2754
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, MeterLabelState>",
|
|
2755
|
+
"defaultValue": null,
|
|
2756
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"name": "style",
|
|
2760
|
+
"required": false,
|
|
2761
|
+
"type": "| CSSProperties\n| ((state: MeterLabelState) => CSSProperties)",
|
|
2762
|
+
"defaultValue": null,
|
|
2763
|
+
"description": "Style applied to the element, or a function that\nreturns a style object based on the component's state."
|
|
2764
|
+
}
|
|
2765
|
+
]
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
"name": "Meter.Track",
|
|
2769
|
+
"description": "Meter.Track — the full range.",
|
|
2770
|
+
"props": [
|
|
2771
|
+
{
|
|
2772
|
+
"name": "className",
|
|
2773
|
+
"required": false,
|
|
2774
|
+
"type": "string | ((state: MeterTrackState) => string)",
|
|
2775
|
+
"defaultValue": null,
|
|
2776
|
+
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component's state."
|
|
2777
|
+
},
|
|
2778
|
+
{
|
|
2779
|
+
"name": "ref",
|
|
2780
|
+
"required": false,
|
|
2781
|
+
"type": "Ref<HTMLDivElement>",
|
|
2782
|
+
"defaultValue": null,
|
|
2783
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"name": "render",
|
|
2787
|
+
"required": false,
|
|
2788
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, MeterTrackState>",
|
|
2789
|
+
"defaultValue": null,
|
|
2790
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
"name": "style",
|
|
2794
|
+
"required": false,
|
|
2795
|
+
"type": "| CSSProperties\n| ((state: MeterTrackState) => CSSProperties)",
|
|
2796
|
+
"defaultValue": null,
|
|
2797
|
+
"description": "Style applied to the element, or a function that\nreturns a style object based on the component's state."
|
|
2798
|
+
}
|
|
2799
|
+
]
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
"name": "Meter.Value",
|
|
2803
|
+
"description": "Meter.Value — formatted readout of the current value.",
|
|
2804
|
+
"props": [
|
|
2805
|
+
{
|
|
2806
|
+
"name": "className",
|
|
2807
|
+
"required": false,
|
|
2808
|
+
"type": "string | ((state: MeterValueState) => string)",
|
|
2809
|
+
"defaultValue": null,
|
|
2810
|
+
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component's state."
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"name": "ref",
|
|
2814
|
+
"required": false,
|
|
2815
|
+
"type": "Ref<HTMLDivElement>",
|
|
2816
|
+
"defaultValue": null,
|
|
2817
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"name": "render",
|
|
2821
|
+
"required": false,
|
|
2822
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, MeterValueState>",
|
|
2823
|
+
"defaultValue": null,
|
|
2824
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
2825
|
+
},
|
|
2826
|
+
{
|
|
2827
|
+
"name": "style",
|
|
2828
|
+
"required": false,
|
|
2829
|
+
"type": "| CSSProperties\n| ((state: MeterValueState) => CSSProperties)",
|
|
2830
|
+
"defaultValue": null,
|
|
2831
|
+
"description": "Style applied to the element, or a function that\nreturns a style object based on the component's state."
|
|
2832
|
+
}
|
|
2833
|
+
]
|
|
2834
|
+
}
|
|
2835
|
+
]
|
|
2836
|
+
},
|
|
2334
2837
|
"navigation-menu": {
|
|
2335
2838
|
"root": {
|
|
2336
2839
|
"name": "NavigationMenu.Root",
|
|
@@ -5553,10 +6056,95 @@
|
|
|
5553
6056
|
},
|
|
5554
6057
|
"subComponents": []
|
|
5555
6058
|
},
|
|
6059
|
+
"skeleton": {
|
|
6060
|
+
"root": {
|
|
6061
|
+
"name": "Skeleton.Root",
|
|
6062
|
+
"description": "Skeleton.Root — marks a region as loading. The view inside renders for real; bones stand in for the data. Sets\n`aria-busy` and announces `label` once, however many bones it holds.",
|
|
6063
|
+
"props": [
|
|
6064
|
+
{
|
|
6065
|
+
"name": "animation",
|
|
6066
|
+
"required": false,
|
|
6067
|
+
"type": "\"none\" | \"shimmer\"",
|
|
6068
|
+
"defaultValue": "shimmer",
|
|
6069
|
+
"description": "`none` holds every bone inside still."
|
|
6070
|
+
},
|
|
6071
|
+
{
|
|
6072
|
+
"name": "label",
|
|
6073
|
+
"required": true,
|
|
6074
|
+
"type": "string",
|
|
6075
|
+
"defaultValue": null,
|
|
6076
|
+
"description": "Announced once through a visually hidden status. Pass `\"\"` when something else already speaks for the region."
|
|
6077
|
+
},
|
|
6078
|
+
{
|
|
6079
|
+
"name": "ref",
|
|
6080
|
+
"required": false,
|
|
6081
|
+
"type": "Ref<HTMLDivElement>",
|
|
6082
|
+
"defaultValue": null,
|
|
6083
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
6084
|
+
},
|
|
6085
|
+
{
|
|
6086
|
+
"name": "render",
|
|
6087
|
+
"required": false,
|
|
6088
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, {}>",
|
|
6089
|
+
"defaultValue": null,
|
|
6090
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
6091
|
+
}
|
|
6092
|
+
]
|
|
6093
|
+
},
|
|
6094
|
+
"subComponents": [
|
|
6095
|
+
{
|
|
6096
|
+
"name": "Skeleton.Block",
|
|
6097
|
+
"description": "Skeleton.Block — a sized placeholder for a shaped element such as a meter, chip, or avatar.",
|
|
6098
|
+
"props": [
|
|
6099
|
+
{
|
|
6100
|
+
"name": "height",
|
|
6101
|
+
"required": false,
|
|
6102
|
+
"type": "Height<string | number>",
|
|
6103
|
+
"defaultValue": null,
|
|
6104
|
+
"description": "Height of the block."
|
|
6105
|
+
},
|
|
6106
|
+
{
|
|
6107
|
+
"name": "shape",
|
|
6108
|
+
"required": false,
|
|
6109
|
+
"type": "\"circle\" | \"rect\"",
|
|
6110
|
+
"defaultValue": "rect",
|
|
6111
|
+
"description": "`circle` takes its size from `width`, for avatars."
|
|
6112
|
+
},
|
|
6113
|
+
{
|
|
6114
|
+
"name": "width",
|
|
6115
|
+
"required": false,
|
|
6116
|
+
"type": "Width<string | number>",
|
|
6117
|
+
"defaultValue": "100%",
|
|
6118
|
+
"description": "Width of the block, capped at the container width. A circle uses it for both sides."
|
|
6119
|
+
}
|
|
6120
|
+
]
|
|
6121
|
+
},
|
|
6122
|
+
{
|
|
6123
|
+
"name": "Skeleton.Text",
|
|
6124
|
+
"description": "Skeleton.Text — a text bar exactly one line of the parent's font tall. Place it inside the real Typo element so the\nrow keeps the loaded row's height.",
|
|
6125
|
+
"props": [
|
|
6126
|
+
{
|
|
6127
|
+
"name": "lines",
|
|
6128
|
+
"required": false,
|
|
6129
|
+
"type": "number",
|
|
6130
|
+
"defaultValue": "1",
|
|
6131
|
+
"description": "Number of stacked lines. The last of several is 60% wide."
|
|
6132
|
+
},
|
|
6133
|
+
{
|
|
6134
|
+
"name": "width",
|
|
6135
|
+
"required": false,
|
|
6136
|
+
"type": "Width<string | number>",
|
|
6137
|
+
"defaultValue": "100%",
|
|
6138
|
+
"description": "Width of the bar, capped at the container width."
|
|
6139
|
+
}
|
|
6140
|
+
]
|
|
6141
|
+
}
|
|
6142
|
+
]
|
|
6143
|
+
},
|
|
5556
6144
|
"slider": {
|
|
5557
6145
|
"root": {
|
|
5558
6146
|
"name": "Slider.Root",
|
|
5559
|
-
"description": "Slider.Root — value selector along a continuous or stepped track.",
|
|
6147
|
+
"description": "Slider.Root — value selector along a continuous or stepped track.\n\n`variant=\"position\"` draws a scrollbar-like trough and bar thumb for picking one position\nbetween `min` and `max`, such as a slice or frame; `onValueChange` reports the position.",
|
|
5560
6148
|
"props": [
|
|
5561
6149
|
{
|
|
5562
6150
|
"name": "className",
|
|
@@ -5704,6 +6292,13 @@
|
|
|
5704
6292
|
"type": "number | readonly number[]",
|
|
5705
6293
|
"defaultValue": null,
|
|
5706
6294
|
"description": "The value of the slider.\nFor ranged sliders, provide an array with two values."
|
|
6295
|
+
},
|
|
6296
|
+
{
|
|
6297
|
+
"name": "variant",
|
|
6298
|
+
"required": false,
|
|
6299
|
+
"type": "\"default\" | \"position\" | null",
|
|
6300
|
+
"defaultValue": "default",
|
|
6301
|
+
"description": ""
|
|
5707
6302
|
}
|
|
5708
6303
|
]
|
|
5709
6304
|
},
|
|
@@ -6244,6 +6839,26 @@
|
|
|
6244
6839
|
"description": "Table.Row — a `<tr>` in header or body.",
|
|
6245
6840
|
"props": []
|
|
6246
6841
|
},
|
|
6842
|
+
{
|
|
6843
|
+
"name": "Table.RowLink",
|
|
6844
|
+
"description": "Table.RowLink — an `<a>` that stands in for its whole row, such as a link to the row's detail page. Reads as row text,\nnot as a separate link, and wraps anywhere so long values like emails stay inside a narrow table.",
|
|
6845
|
+
"props": [
|
|
6846
|
+
{
|
|
6847
|
+
"name": "ref",
|
|
6848
|
+
"required": false,
|
|
6849
|
+
"type": "Ref<HTMLAnchorElement>",
|
|
6850
|
+
"defaultValue": null,
|
|
6851
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
6852
|
+
},
|
|
6853
|
+
{
|
|
6854
|
+
"name": "render",
|
|
6855
|
+
"required": false,
|
|
6856
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, {}>",
|
|
6857
|
+
"defaultValue": null,
|
|
6858
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
6859
|
+
}
|
|
6860
|
+
]
|
|
6861
|
+
},
|
|
6247
6862
|
{
|
|
6248
6863
|
"name": "Table.SortableHeaderCell",
|
|
6249
6864
|
"description": "Table.SortableHeaderCell — a header cell whose label is a sort toggle,\npre-composing HeaderCell + HeaderButton so `aria-sort` and the direction\nindicator aren't re-derived per consumer. Omit `onToggle` for a plain cell.",
|
|
@@ -7787,6 +8402,13 @@
|
|
|
7787
8402
|
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
7788
8403
|
"defaultValue": "support",
|
|
7789
8404
|
"description": ""
|
|
8405
|
+
},
|
|
8406
|
+
{
|
|
8407
|
+
"name": "weight",
|
|
8408
|
+
"required": false,
|
|
8409
|
+
"type": "\"strong\" | \"regular\" | \"medium\"",
|
|
8410
|
+
"defaultValue": null,
|
|
8411
|
+
"description": "Font weight. Omit to keep the member's default; `medium` firms up short body text on cards."
|
|
7790
8412
|
}
|
|
7791
8413
|
]
|
|
7792
8414
|
},
|
|
@@ -7814,6 +8436,40 @@
|
|
|
7814
8436
|
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
7815
8437
|
"defaultValue": "main",
|
|
7816
8438
|
"description": ""
|
|
8439
|
+
},
|
|
8440
|
+
{
|
|
8441
|
+
"name": "weight",
|
|
8442
|
+
"required": false,
|
|
8443
|
+
"type": "\"strong\" | \"regular\" | \"medium\"",
|
|
8444
|
+
"defaultValue": null,
|
|
8445
|
+
"description": "Font weight. Omit to keep the member's default; `medium` firms up short body text on cards."
|
|
8446
|
+
}
|
|
8447
|
+
]
|
|
8448
|
+
},
|
|
8449
|
+
{
|
|
8450
|
+
"name": "Typo.Eyebrow",
|
|
8451
|
+
"description": "Typo.Eyebrow — short uppercase label above a heading. Also called a kicker or overline.",
|
|
8452
|
+
"props": [
|
|
8453
|
+
{
|
|
8454
|
+
"name": "ref",
|
|
8455
|
+
"required": false,
|
|
8456
|
+
"type": "Ref<HTMLHeadingElement>",
|
|
8457
|
+
"defaultValue": null,
|
|
8458
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}"
|
|
8459
|
+
},
|
|
8460
|
+
{
|
|
8461
|
+
"name": "render",
|
|
8462
|
+
"required": false,
|
|
8463
|
+
"type": "| ReactElement<\n unknown,\n string | JSXElementConstructor<any>\n >\n| ComponentRenderFn<HTMLProps, {}>",
|
|
8464
|
+
"defaultValue": null,
|
|
8465
|
+
"description": "Allows you to replace the component's HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
|
|
8466
|
+
},
|
|
8467
|
+
{
|
|
8468
|
+
"name": "variant",
|
|
8469
|
+
"required": false,
|
|
8470
|
+
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
8471
|
+
"defaultValue": "support",
|
|
8472
|
+
"description": ""
|
|
7817
8473
|
}
|
|
7818
8474
|
]
|
|
7819
8475
|
},
|
|
@@ -7997,6 +8653,13 @@
|
|
|
7997
8653
|
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
7998
8654
|
"defaultValue": "oncolor",
|
|
7999
8655
|
"description": ""
|
|
8656
|
+
},
|
|
8657
|
+
{
|
|
8658
|
+
"name": "weight",
|
|
8659
|
+
"required": false,
|
|
8660
|
+
"type": "\"strong\" | \"regular\" | \"medium\"",
|
|
8661
|
+
"defaultValue": null,
|
|
8662
|
+
"description": "Font weight. Omit to keep the member's default; `medium` firms up short body text on cards."
|
|
8000
8663
|
}
|
|
8001
8664
|
]
|
|
8002
8665
|
},
|
|
@@ -8058,6 +8721,13 @@
|
|
|
8058
8721
|
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
8059
8722
|
"defaultValue": "main",
|
|
8060
8723
|
"description": ""
|
|
8724
|
+
},
|
|
8725
|
+
{
|
|
8726
|
+
"name": "weight",
|
|
8727
|
+
"required": false,
|
|
8728
|
+
"type": "\"strong\" | \"regular\" | \"medium\"",
|
|
8729
|
+
"defaultValue": null,
|
|
8730
|
+
"description": "Font weight. Omit to keep the member's default; `medium` firms up short body text on cards."
|
|
8061
8731
|
}
|
|
8062
8732
|
]
|
|
8063
8733
|
},
|
|
@@ -8092,6 +8762,13 @@
|
|
|
8092
8762
|
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
8093
8763
|
"defaultValue": "primary",
|
|
8094
8764
|
"description": ""
|
|
8765
|
+
},
|
|
8766
|
+
{
|
|
8767
|
+
"name": "weight",
|
|
8768
|
+
"required": false,
|
|
8769
|
+
"type": "\"strong\" | \"regular\" | \"medium\"",
|
|
8770
|
+
"defaultValue": null,
|
|
8771
|
+
"description": "Font weight. Omit to keep the member's default; `medium` firms up short body text on cards."
|
|
8095
8772
|
}
|
|
8096
8773
|
]
|
|
8097
8774
|
},
|
|
@@ -8119,6 +8796,13 @@
|
|
|
8119
8796
|
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
8120
8797
|
"defaultValue": "main",
|
|
8121
8798
|
"description": ""
|
|
8799
|
+
},
|
|
8800
|
+
{
|
|
8801
|
+
"name": "weight",
|
|
8802
|
+
"required": false,
|
|
8803
|
+
"type": "\"strong\" | \"regular\" | \"medium\"",
|
|
8804
|
+
"defaultValue": null,
|
|
8805
|
+
"description": "Font weight. Omit to keep the member's default; `medium` firms up short body text on cards."
|
|
8122
8806
|
}
|
|
8123
8807
|
]
|
|
8124
8808
|
},
|
|
@@ -8146,6 +8830,13 @@
|
|
|
8146
8830
|
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
8147
8831
|
"defaultValue": "main",
|
|
8148
8832
|
"description": ""
|
|
8833
|
+
},
|
|
8834
|
+
{
|
|
8835
|
+
"name": "weight",
|
|
8836
|
+
"required": false,
|
|
8837
|
+
"type": "\"strong\" | \"regular\" | \"medium\"",
|
|
8838
|
+
"defaultValue": null,
|
|
8839
|
+
"description": "Font weight. Omit to keep the member's default; `medium` firms up short body text on cards."
|
|
8149
8840
|
}
|
|
8150
8841
|
]
|
|
8151
8842
|
},
|
|
@@ -8173,6 +8864,13 @@
|
|
|
8173
8864
|
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
8174
8865
|
"defaultValue": "minor",
|
|
8175
8866
|
"description": ""
|
|
8867
|
+
},
|
|
8868
|
+
{
|
|
8869
|
+
"name": "weight",
|
|
8870
|
+
"required": false,
|
|
8871
|
+
"type": "\"strong\" | \"regular\" | \"medium\"",
|
|
8872
|
+
"defaultValue": null,
|
|
8873
|
+
"description": "Font weight. Omit to keep the member's default; `medium` firms up short body text on cards."
|
|
8176
8874
|
}
|
|
8177
8875
|
]
|
|
8178
8876
|
},
|
|
@@ -8200,6 +8898,13 @@
|
|
|
8200
8898
|
"type": "| \"main\"\n| \"support\"\n| \"minor\"\n| \"brand\"\n| \"primary\"\n| \"negative\"\n| \"positive\"\n| \"warning\"\n| \"info\"\n| \"oncolor\"\n| \"accent-1\"\n| \"accent-2\"\n| \"accent-3\"\n| null",
|
|
8201
8899
|
"defaultValue": "main",
|
|
8202
8900
|
"description": ""
|
|
8901
|
+
},
|
|
8902
|
+
{
|
|
8903
|
+
"name": "weight",
|
|
8904
|
+
"required": false,
|
|
8905
|
+
"type": "\"strong\" | \"regular\" | \"medium\"",
|
|
8906
|
+
"defaultValue": null,
|
|
8907
|
+
"description": "Font weight. Omit to keep the member's default; `medium` firms up short body text on cards."
|
|
8203
8908
|
}
|
|
8204
8909
|
]
|
|
8205
8910
|
}
|
|
@@ -8309,6 +9014,43 @@
|
|
|
8309
9014
|
}
|
|
8310
9015
|
]
|
|
8311
9016
|
},
|
|
9017
|
+
"frame-selection": {
|
|
9018
|
+
"root": {
|
|
9019
|
+
"name": "FrameSelection",
|
|
9020
|
+
"description": "FrameSelection - a position slider bound to the focused frame of the multi-frame image sets in `data`.\nEvery matching image set follows the slider, and a `{focus} | {count}` readout sits beside it.\nRenders nothing when `data` holds no multi-frame image set.\n\nMust render inside an `ImFusionProvider`.",
|
|
9021
|
+
"props": [
|
|
9022
|
+
{
|
|
9023
|
+
"name": "data",
|
|
9024
|
+
"required": true,
|
|
9025
|
+
"type": "HandleArray<Data>",
|
|
9026
|
+
"defaultValue": null,
|
|
9027
|
+
"description": "Datasets to scan, for example from `useVisibleData()`. Non-image data, single-frame image sets, and image sets whose\nframe count differs from the first multi-frame set are ignored."
|
|
9028
|
+
},
|
|
9029
|
+
{
|
|
9030
|
+
"name": "disabled",
|
|
9031
|
+
"required": false,
|
|
9032
|
+
"type": "boolean",
|
|
9033
|
+
"defaultValue": "false",
|
|
9034
|
+
"description": "Whether the slider ignores user interaction."
|
|
9035
|
+
},
|
|
9036
|
+
{
|
|
9037
|
+
"name": "label",
|
|
9038
|
+
"required": false,
|
|
9039
|
+
"type": "string",
|
|
9040
|
+
"defaultValue": "Frame",
|
|
9041
|
+
"description": "Accessible name of the slider thumb."
|
|
9042
|
+
},
|
|
9043
|
+
{
|
|
9044
|
+
"name": "orientation",
|
|
9045
|
+
"required": false,
|
|
9046
|
+
"type": "\"horizontal\" | \"vertical\"",
|
|
9047
|
+
"defaultValue": "horizontal",
|
|
9048
|
+
"description": "Direction of the slider; the vertical layout stacks the readout under it."
|
|
9049
|
+
}
|
|
9050
|
+
]
|
|
9051
|
+
},
|
|
9052
|
+
"subComponents": []
|
|
9053
|
+
},
|
|
8312
9054
|
"image-display-options": {
|
|
8313
9055
|
"root": {
|
|
8314
9056
|
"name": "ImageDisplayOptions",
|