@primereact/mcp 11.1.0 → 11.2.0
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/data/llms/headless/components/accordion/api.json +9 -9
- package/data/llms/headless/components/animateonscroll/api.json +2 -2
- package/data/llms/headless/components/autocomplete/api.json +33 -33
- package/data/llms/headless/components/avatar/api.json +1 -1
- package/data/llms/headless/components/carousel/api.json +15 -15
- package/data/llms/headless/components/checkbox/api.json +18 -18
- package/data/llms/headless/components/collapsible/api.json +14 -14
- package/data/llms/headless/components/compare/api.json +3 -3
- package/data/llms/headless/components/contextmenu/api.json +2 -2
- package/data/llms/headless/components/datatable/api.json +19 -19
- package/data/llms/headless/components/dataview/api.json +3 -3
- package/data/llms/headless/components/datepicker/api.json +43 -43
- package/data/llms/headless/components/dialog/api.json +19 -19
- package/data/llms/headless/components/divider/api.json +3 -3
- package/data/llms/headless/components/drawer/api.json +13 -13
- package/data/llms/headless/components/fieldset/api.json +9 -9
- package/data/llms/headless/components/fileupload/api.json +5 -5
- package/data/llms/headless/components/focustrap/api.json +4 -4
- package/data/llms/headless/components/gallery/api.json +23 -23
- package/data/llms/headless/components/inplace/api.json +3 -3
- package/data/llms/headless/components/inputcolor/api.json +6 -6
- package/data/llms/headless/components/inputcolor.md +0 -1
- package/data/llms/headless/components/inputnumber/api.json +8 -8
- package/data/llms/headless/components/inputotp/api.json +7 -7
- package/data/llms/headless/components/inputpassword/api.json +4 -4
- package/data/llms/headless/components/inputpassword.md +3 -3
- package/data/llms/headless/components/inputtags/api.json +8 -8
- package/data/llms/headless/components/inputtext/api.json +1 -1
- package/data/llms/headless/components/knob/api.json +18 -18
- package/data/llms/headless/components/listbox/api.json +27 -27
- package/data/llms/headless/components/menu/api.json +10 -10
- package/data/llms/headless/components/message/api.json +1 -1
- package/data/llms/headless/components/metergroup/api.json +3 -3
- package/data/llms/headless/components/motion/api.json +1 -1
- package/data/llms/headless/components/navigationmenu/api.json +5 -5
- package/data/llms/headless/components/orderlist/api.json +5 -5
- package/data/llms/headless/components/organizationchart/api.json +6 -6
- package/data/llms/headless/components/paginator/api.json +5 -5
- package/data/llms/headless/components/panel/api.json +9 -9
- package/data/llms/headless/components/picklist/api.json +5 -5
- package/data/llms/headless/components/popover/api.json +16 -16
- package/data/llms/headless/components/positioner/api.json +7 -7
- package/data/llms/headless/components/progressbar/api.json +3 -3
- package/data/llms/headless/components/progressspinner/api.json +3 -3
- package/data/llms/headless/components/radiobutton/api.json +16 -16
- package/data/llms/headless/components/rating/api.json +5 -5
- package/data/llms/headless/components/scrollarea/api.json +6 -6
- package/data/llms/headless/components/select/api.json +34 -34
- package/data/llms/headless/components/sidebar/api.json +60 -60
- package/data/llms/headless/components/sidebar.md +4 -2
- package/data/llms/headless/components/slider/api.json +3 -3
- package/data/llms/headless/components/speeddial/api.json +4 -4
- package/data/llms/headless/components/splitter/api.json +5 -5
- package/data/llms/headless/components/stepper/api.json +13 -13
- package/data/llms/headless/components/styleclass/api.json +1 -1
- package/data/llms/headless/components/tabs/api.json +17 -17
- package/data/llms/headless/components/terminal/api.json +1 -1
- package/data/llms/headless/components/toast/api.json +4 -4
- package/data/llms/headless/components/togglebutton/api.json +27 -3
- package/data/llms/headless/components/toggleswitch/api.json +3 -3
- package/data/llms/headless/components/tooltip/api.json +17 -17
- package/data/llms/headless/components/tree/api.json +20 -20
- package/data/llms/headless/components/tree.md +1 -0
- package/data/llms/headless/components/treetable/api.json +19 -19
- package/data/llms/hooks/use-filter.md +2 -2
- package/data/llms/hooks/use-tree-filter.md +3 -1
- package/data/llms/llms-full.txt +485 -229
- package/data/llms/primitive/components/accordion/api.json +39 -39
- package/data/llms/primitive/components/animateonscroll/api.json +5 -5
- package/data/llms/primitive/components/autocomplete/api.json +105 -105
- package/data/llms/primitive/components/avatar/api.json +14 -14
- package/data/llms/primitive/components/badge/api.json +6 -6
- package/data/llms/primitive/components/breadcrumb/api.json +27 -27
- package/data/llms/primitive/components/button/api.json +8 -8
- package/data/llms/primitive/components/buttongroup/api.json +3 -3
- package/data/llms/primitive/components/card/api.json +24 -24
- package/data/llms/primitive/components/carousel/api.json +28 -28
- package/data/llms/primitive/components/checkbox/api.json +14 -14
- package/data/llms/primitive/components/checkboxgroup/api.json +5 -5
- package/data/llms/primitive/components/chip/api.json +19 -19
- package/data/llms/primitive/components/collapsible/api.json +18 -18
- package/data/llms/primitive/components/compare/api.json +18 -18
- package/data/llms/primitive/components/contextmenu/api.json +150 -1141
- package/data/llms/primitive/components/datatable/api.json +215 -164
- package/data/llms/primitive/components/dataview/api.json +17 -17
- package/data/llms/primitive/components/datepicker/api.json +230 -230
- package/data/llms/primitive/components/dialog/api.json +63 -63
- package/data/llms/primitive/components/divider/api.json +3 -3
- package/data/llms/primitive/components/drawer/api.json +47 -47
- package/data/llms/primitive/components/fieldset/api.json +31 -31
- package/data/llms/primitive/components/fileupload/api.json +53 -53
- package/data/llms/primitive/components/floatlabel/api.json +3 -3
- package/data/llms/primitive/components/focustrap/api.json +7 -7
- package/data/llms/primitive/components/gallery/api.json +91 -91
- package/data/llms/primitive/components/iconfield/api.json +7 -7
- package/data/llms/primitive/components/iftalabel/api.json +3 -3
- package/data/llms/primitive/components/inplace/api.json +18 -18
- package/data/llms/primitive/components/inputcolor/api.json +51 -51
- package/data/llms/primitive/components/inputnumber/api.json +10 -10
- package/data/llms/primitive/components/inputotp/api.json +12 -12
- package/data/llms/primitive/components/inputpassword/api.json +7 -7
- package/data/llms/primitive/components/inputtags/api.json +6 -6
- package/data/llms/primitive/components/inputtext/api.json +4 -4
- package/data/llms/primitive/components/knob/api.json +19 -19
- package/data/llms/primitive/components/label/api.json +3 -3
- package/data/llms/primitive/components/listbox/api.json +57 -57
- package/data/llms/primitive/components/menu/api.json +87 -279
- package/data/llms/primitive/components/message/api.json +22 -22
- package/data/llms/primitive/components/metergroup/api.json +27 -27
- package/data/llms/primitive/components/navigationmenu/api.json +8 -8
- package/data/llms/primitive/components/paginator/api.json +43 -43
- package/data/llms/primitive/components/panel/api.json +34 -34
- package/data/llms/primitive/components/popover/api.json +67 -67
- package/data/llms/primitive/components/portal/api.json +4 -4
- package/data/llms/primitive/components/progressbar/api.json +22 -22
- package/data/llms/primitive/components/progressspinner/api.json +18 -18
- package/data/llms/primitive/components/radiobutton/api.json +16 -16
- package/data/llms/primitive/components/rating/api.json +20 -20
- package/data/llms/primitive/components/scrollarea/api.json +23 -23
- package/data/llms/primitive/components/select/api.json +95 -95
- package/data/llms/primitive/components/sidebar/api.json +88 -88
- package/data/llms/primitive/components/sidebar.md +2 -1
- package/data/llms/primitive/components/skeleton/api.json +3 -3
- package/data/llms/primitive/components/slider/api.json +22 -22
- package/data/llms/primitive/components/speeddial/api.json +22 -22
- package/data/llms/primitive/components/splitter/api.json +18 -18
- package/data/llms/primitive/components/stepper/api.json +64 -64
- package/data/llms/primitive/components/tabs/api.json +51 -51
- package/data/llms/primitive/components/tag/api.json +3 -3
- package/data/llms/primitive/components/terminal/api.json +44 -44
- package/data/llms/primitive/components/textarea/api.json +4 -4
- package/data/llms/primitive/components/timeline/api.json +27 -27
- package/data/llms/primitive/components/toast/api.json +48 -48
- package/data/llms/primitive/components/togglebutton/api.json +10 -10
- package/data/llms/primitive/components/togglebuttongroup/api.json +5 -5
- package/data/llms/primitive/components/toggleswitch/api.json +12 -12
- package/data/llms/primitive/components/toolbar/api.json +15 -15
- package/data/llms/primitive/components/tooltip/api.json +52 -52
- package/data/llms/primitive/components/tree/api.json +73 -73
- package/data/llms/primitive/components/visuallyhidden/api.json +3 -3
- package/data/llms/primitive/guides/migration/updating-to-v11.md +2 -2
- package/data/llms/styled/add-ons/designer/ci.md +7 -7
- package/data/llms/styled/add-ons/uikit/guide/v3.md +1 -0
- package/data/llms/styled/components/button/api.json +8 -8
- package/data/llms/styled/components/carousel.md +65 -0
- package/data/llms/styled/components/datatable.md +94 -84
- package/data/llms/styled/components/floatlabel/api.json +3 -3
- package/data/llms/styled/components/fluid/api.json +3 -3
- package/data/llms/styled/components/iconfield/api.json +7 -7
- package/data/llms/styled/components/iftalabel/api.json +3 -3
- package/data/llms/styled/components/inputcolor.md +3 -0
- package/data/llms/styled/components/inputgroup/api.json +7 -7
- package/data/llms/styled/components/label/api.json +3 -3
- package/data/llms/styled/components/organizationchart/api.json +33 -33
- package/data/llms/styled/components/rating/api.json +11 -11
- package/data/llms/styled/components/select.md +6 -0
- package/data/llms/styled/components/sidebar.md +12 -8
- package/data/llms/styled/components/tree.md +5 -0
- package/data/llms/styled/components/treetable.md +171 -62
- package/data/llms/styled/guides/configuration.md +25 -0
- package/data/llms/styled/guides/migration/updating-to-v11.md +2 -2
- package/data/llms/styled/guides/theming/tailwind.md +25 -0
- package/data/llms/tailwind/components/button/api.json +8 -8
- package/data/llms/tailwind/components/datatable.md +33 -42
- package/data/llms/tailwind/components/inputgroup.md +0 -1
- package/data/llms/tailwind/components/select.md +3 -0
- package/data/llms/tailwind/components/sidebar.md +16 -11
- package/data/manifest.json +773 -778
- package/data/mcp-data.json +5 -29
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/package.json +9 -8
- package/data/llms/headless/guides/misc/locale.md +0 -280
- package/data/llms/primitive/guides/misc/locale.md +0 -280
- package/data/llms/styled/guides/installation/configuration.md +0 -135
- package/data/llms/styled/guides/misc/locale.md +0 -280
- package/data/llms/tailwind/guides/misc/locale.md +0 -280
- package/data/llms/tailwind/guides/theming/guide.md +0 -179
|
@@ -8,9 +8,10 @@ An unstyled layout component for building application navigation with collapsibl
|
|
|
8
8
|
'use client';
|
|
9
9
|
import { Bell, Calendar, ChartBar, CreditCard, EllipsisV, Folder, Home, Inbox, Search, ShoppingCart, Star, Users } from '@primeicons/react';
|
|
10
10
|
import { Sidebar } from 'primereact/sidebar';
|
|
11
|
+
import type { IconProps } from '@primeicons/react/core';
|
|
11
12
|
|
|
12
13
|
type NavItem = {
|
|
13
|
-
icon: React.FC<
|
|
14
|
+
icon: React.FC<IconProps>;
|
|
14
15
|
label: string;
|
|
15
16
|
isActive?: boolean;
|
|
16
17
|
badge?: string;
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "style",
|
|
40
|
-
"type": "CSSProperties | ((instance?: SkeletonInstance) => CSSProperties)",
|
|
40
|
+
"type": "CSSProperties | ((instance?: SkeletonInstance) => undefined | CSSProperties)",
|
|
41
41
|
"default": "",
|
|
42
42
|
"description": "The style to apply to the component."
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "className",
|
|
46
|
-
"type": "string | ((instance?: SkeletonInstance) => string)",
|
|
46
|
+
"type": "string | ((instance?: SkeletonInstance) => undefined | string)",
|
|
47
47
|
"default": "",
|
|
48
48
|
"description": "The class name to apply to the component."
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": "as",
|
|
52
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
52
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
53
53
|
"default": "",
|
|
54
54
|
"description": "The component type to render."
|
|
55
55
|
},
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "style",
|
|
40
|
-
"type": "CSSProperties | ((instance?: SliderHandleInstance) => CSSProperties)",
|
|
40
|
+
"type": "CSSProperties | ((instance?: SliderHandleInstance) => undefined | CSSProperties)",
|
|
41
41
|
"default": "",
|
|
42
42
|
"description": "The style to apply to the component."
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "className",
|
|
46
|
-
"type": "string | ((instance?: SliderHandleInstance) => string)",
|
|
46
|
+
"type": "string | ((instance?: SliderHandleInstance) => undefined | string)",
|
|
47
47
|
"default": "",
|
|
48
48
|
"description": "The class name to apply to the component."
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": "as",
|
|
52
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
52
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
53
53
|
"default": "",
|
|
54
54
|
"description": "The component type to render."
|
|
55
55
|
},
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"props": [
|
|
219
219
|
{
|
|
220
220
|
"name": "id",
|
|
221
|
-
"type": "string",
|
|
221
|
+
"type": "undefined | string",
|
|
222
222
|
"default": "",
|
|
223
223
|
"description": "Id of the input element."
|
|
224
224
|
},
|
|
@@ -230,13 +230,13 @@
|
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
232
|
"name": "className",
|
|
233
|
-
"type": "string",
|
|
233
|
+
"type": "undefined | string",
|
|
234
234
|
"default": "",
|
|
235
235
|
"description": "Class name of the input element."
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
"name": "name",
|
|
239
|
-
"type": "string",
|
|
239
|
+
"type": "undefined | string",
|
|
240
240
|
"default": "",
|
|
241
241
|
"description": "Name of the input element."
|
|
242
242
|
},
|
|
@@ -260,13 +260,13 @@
|
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
"name": "aria-labelledby",
|
|
263
|
-
"type": "string",
|
|
263
|
+
"type": "undefined | string",
|
|
264
264
|
"default": "",
|
|
265
265
|
"description": "ARIA labelledby for the input."
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
"name": "aria-label",
|
|
269
|
-
"type": "string",
|
|
269
|
+
"type": "undefined | string",
|
|
270
270
|
"default": "",
|
|
271
271
|
"description": "ARIA label for the input."
|
|
272
272
|
},
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
"props": [
|
|
292
292
|
{
|
|
293
293
|
"name": "slider",
|
|
294
|
-
"type": "SliderRootInstance",
|
|
294
|
+
"type": "undefined | null | SliderRootInstance",
|
|
295
295
|
"default": "",
|
|
296
296
|
"description": "The Slider component instance."
|
|
297
297
|
},
|
|
@@ -362,19 +362,19 @@
|
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
364
|
"name": "style",
|
|
365
|
-
"type": "CSSProperties | ((instance?: SliderRangeInstance) => CSSProperties)",
|
|
365
|
+
"type": "CSSProperties | ((instance?: SliderRangeInstance) => undefined | CSSProperties)",
|
|
366
366
|
"default": "",
|
|
367
367
|
"description": "The style to apply to the component."
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
370
|
"name": "className",
|
|
371
|
-
"type": "string | ((instance?: SliderRangeInstance) => string)",
|
|
371
|
+
"type": "string | ((instance?: SliderRangeInstance) => undefined | string)",
|
|
372
372
|
"default": "",
|
|
373
373
|
"description": "The class name to apply to the component."
|
|
374
374
|
},
|
|
375
375
|
{
|
|
376
376
|
"name": "as",
|
|
377
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
377
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
378
378
|
"default": "",
|
|
379
379
|
"description": "The component type to render."
|
|
380
380
|
},
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
"props": [
|
|
473
473
|
{
|
|
474
474
|
"name": "slider",
|
|
475
|
-
"type": "SliderRootInstance",
|
|
475
|
+
"type": "undefined | null | SliderRootInstance",
|
|
476
476
|
"default": "",
|
|
477
477
|
"description": "The Slider component instance."
|
|
478
478
|
},
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
},
|
|
544
544
|
{
|
|
545
545
|
"name": "value",
|
|
546
|
-
"type": "number | number[]",
|
|
546
|
+
"type": "undefined | number | number[]",
|
|
547
547
|
"default": "",
|
|
548
548
|
"description": "The pressed state of the ToggleButton."
|
|
549
549
|
}
|
|
@@ -569,19 +569,19 @@
|
|
|
569
569
|
},
|
|
570
570
|
{
|
|
571
571
|
"name": "style",
|
|
572
|
-
"type": "CSSProperties | ((instance?: SliderRootInstance) => CSSProperties)",
|
|
572
|
+
"type": "CSSProperties | ((instance?: SliderRootInstance) => undefined | CSSProperties)",
|
|
573
573
|
"default": "",
|
|
574
574
|
"description": "The style to apply to the component."
|
|
575
575
|
},
|
|
576
576
|
{
|
|
577
577
|
"name": "className",
|
|
578
|
-
"type": "string | ((instance?: SliderRootInstance) => string)",
|
|
578
|
+
"type": "string | ((instance?: SliderRootInstance) => undefined | string)",
|
|
579
579
|
"default": "",
|
|
580
580
|
"description": "The class name to apply to the component."
|
|
581
581
|
},
|
|
582
582
|
{
|
|
583
583
|
"name": "as",
|
|
584
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
584
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
585
585
|
"default": "",
|
|
586
586
|
"description": "The component type to render."
|
|
587
587
|
},
|
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
},
|
|
790
790
|
{
|
|
791
791
|
"name": "setRootRef",
|
|
792
|
-
"type": "(node: HTMLDivElement) => void",
|
|
792
|
+
"type": "(node: null | HTMLDivElement) => void",
|
|
793
793
|
"default": "",
|
|
794
794
|
"description": "Sets the root element ref."
|
|
795
795
|
},
|
|
@@ -926,19 +926,19 @@
|
|
|
926
926
|
},
|
|
927
927
|
{
|
|
928
928
|
"name": "style",
|
|
929
|
-
"type": "CSSProperties | ((instance?: SliderTrackInstance) => CSSProperties)",
|
|
929
|
+
"type": "CSSProperties | ((instance?: SliderTrackInstance) => undefined | CSSProperties)",
|
|
930
930
|
"default": "",
|
|
931
931
|
"description": "The style to apply to the component."
|
|
932
932
|
},
|
|
933
933
|
{
|
|
934
934
|
"name": "className",
|
|
935
|
-
"type": "string | ((instance?: SliderTrackInstance) => string)",
|
|
935
|
+
"type": "string | ((instance?: SliderTrackInstance) => undefined | string)",
|
|
936
936
|
"default": "",
|
|
937
937
|
"description": "The class name to apply to the component."
|
|
938
938
|
},
|
|
939
939
|
{
|
|
940
940
|
"name": "as",
|
|
941
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
941
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
942
942
|
"default": "",
|
|
943
943
|
"description": "The component type to render."
|
|
944
944
|
},
|
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
"props": [
|
|
1037
1037
|
{
|
|
1038
1038
|
"name": "slider",
|
|
1039
|
-
"type": "SliderRootInstance",
|
|
1039
|
+
"type": "undefined | null | SliderRootInstance",
|
|
1040
1040
|
"default": "",
|
|
1041
1041
|
"description": "The Slider component instance."
|
|
1042
1042
|
},
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "style",
|
|
40
|
-
"type": "CSSProperties | ((instance?: SpeedDialActionInstance) => CSSProperties)",
|
|
40
|
+
"type": "CSSProperties | ((instance?: SpeedDialActionInstance) => undefined | CSSProperties)",
|
|
41
41
|
"default": "",
|
|
42
42
|
"description": "The style to apply to the component."
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "className",
|
|
46
|
-
"type": "string | ((instance?: SpeedDialActionInstance) => string)",
|
|
46
|
+
"type": "string | ((instance?: SpeedDialActionInstance) => undefined | string)",
|
|
47
47
|
"default": "",
|
|
48
48
|
"description": "The class name to apply to the component."
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": "as",
|
|
52
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
52
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
53
53
|
"default": "",
|
|
54
54
|
"description": "The component type to render."
|
|
55
55
|
},
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"props": [
|
|
159
159
|
{
|
|
160
160
|
"name": "speeddial",
|
|
161
|
-
"type": "SpeedDialRootInstance",
|
|
161
|
+
"type": "undefined | null | SpeedDialRootInstance",
|
|
162
162
|
"default": "",
|
|
163
163
|
"description": "Instance of the SpeedDial component."
|
|
164
164
|
}
|
|
@@ -217,19 +217,19 @@
|
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
219
|
"name": "style",
|
|
220
|
-
"type": "CSSProperties | ((instance?: SpeedDialItemInstance) => CSSProperties)",
|
|
220
|
+
"type": "CSSProperties | ((instance?: SpeedDialItemInstance) => undefined | CSSProperties)",
|
|
221
221
|
"default": "",
|
|
222
222
|
"description": "The style to apply to the component."
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
"name": "className",
|
|
226
|
-
"type": "string | ((instance?: SpeedDialItemInstance) => string)",
|
|
226
|
+
"type": "string | ((instance?: SpeedDialItemInstance) => undefined | string)",
|
|
227
227
|
"default": "",
|
|
228
228
|
"description": "The class name to apply to the component."
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
231
|
"name": "as",
|
|
232
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
232
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
233
233
|
"default": "",
|
|
234
234
|
"description": "The component type to render."
|
|
235
235
|
},
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
"props": [
|
|
315
315
|
{
|
|
316
316
|
"name": "speeddial",
|
|
317
|
-
"type": "SpeedDialRootInstance",
|
|
317
|
+
"type": "undefined | null | SpeedDialRootInstance",
|
|
318
318
|
"default": "",
|
|
319
319
|
"description": "Instance of the SpeedDial component."
|
|
320
320
|
}
|
|
@@ -373,19 +373,19 @@
|
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
375
|
"name": "style",
|
|
376
|
-
"type": "CSSProperties | ((instance?: SpeedDialListInstance) => CSSProperties)",
|
|
376
|
+
"type": "CSSProperties | ((instance?: SpeedDialListInstance) => undefined | CSSProperties)",
|
|
377
377
|
"default": "",
|
|
378
378
|
"description": "The style to apply to the component."
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
381
|
"name": "className",
|
|
382
|
-
"type": "string | ((instance?: SpeedDialListInstance) => string)",
|
|
382
|
+
"type": "string | ((instance?: SpeedDialListInstance) => undefined | string)",
|
|
383
383
|
"default": "",
|
|
384
384
|
"description": "The class name to apply to the component."
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
387
|
"name": "as",
|
|
388
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
388
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
389
389
|
"default": "",
|
|
390
390
|
"description": "The component type to render."
|
|
391
391
|
},
|
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
"props": [
|
|
471
471
|
{
|
|
472
472
|
"name": "speeddial",
|
|
473
|
-
"type": "SpeedDialRootInstance",
|
|
473
|
+
"type": "undefined | null | SpeedDialRootInstance",
|
|
474
474
|
"default": "",
|
|
475
475
|
"description": "Instance of the SpeedDial component."
|
|
476
476
|
}
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
"props": [
|
|
541
541
|
{
|
|
542
542
|
"name": "value",
|
|
543
|
-
"type": "boolean",
|
|
543
|
+
"type": "undefined | boolean",
|
|
544
544
|
"default": "",
|
|
545
545
|
"description": "The value of the speeddial."
|
|
546
546
|
}
|
|
@@ -566,19 +566,19 @@
|
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
568
|
"name": "style",
|
|
569
|
-
"type": "CSSProperties | ((instance?: SpeedDialRootInstance) => CSSProperties)",
|
|
569
|
+
"type": "CSSProperties | ((instance?: SpeedDialRootInstance) => undefined | CSSProperties)",
|
|
570
570
|
"default": "",
|
|
571
571
|
"description": "The style to apply to the component."
|
|
572
572
|
},
|
|
573
573
|
{
|
|
574
574
|
"name": "className",
|
|
575
|
-
"type": "string | ((instance?: SpeedDialRootInstance) => string)",
|
|
575
|
+
"type": "string | ((instance?: SpeedDialRootInstance) => undefined | string)",
|
|
576
576
|
"default": "",
|
|
577
577
|
"description": "The class name to apply to the component."
|
|
578
578
|
},
|
|
579
579
|
{
|
|
580
580
|
"name": "as",
|
|
581
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
581
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
582
582
|
"default": "",
|
|
583
583
|
"description": "The component type to render."
|
|
584
584
|
},
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
"props": [
|
|
713
713
|
{
|
|
714
714
|
"name": "visible",
|
|
715
|
-
"type": "boolean",
|
|
715
|
+
"type": "undefined | boolean",
|
|
716
716
|
"default": "",
|
|
717
717
|
"description": "Visible state of the component."
|
|
718
718
|
},
|
|
@@ -738,7 +738,7 @@
|
|
|
738
738
|
},
|
|
739
739
|
{
|
|
740
740
|
"name": "listRef",
|
|
741
|
-
"type": "RefObject<HTMLUListElement>",
|
|
741
|
+
"type": "RefObject<null | HTMLUListElement>",
|
|
742
742
|
"default": "",
|
|
743
743
|
"description": "Reference to the currently list element."
|
|
744
744
|
},
|
|
@@ -869,19 +869,19 @@
|
|
|
869
869
|
},
|
|
870
870
|
{
|
|
871
871
|
"name": "style",
|
|
872
|
-
"type": "CSSProperties | ((instance?: SpeedDialTriggerInstance) => CSSProperties)",
|
|
872
|
+
"type": "CSSProperties | ((instance?: SpeedDialTriggerInstance) => undefined | CSSProperties)",
|
|
873
873
|
"default": "",
|
|
874
874
|
"description": "The style to apply to the component."
|
|
875
875
|
},
|
|
876
876
|
{
|
|
877
877
|
"name": "className",
|
|
878
|
-
"type": "string | ((instance?: SpeedDialTriggerInstance) => string)",
|
|
878
|
+
"type": "string | ((instance?: SpeedDialTriggerInstance) => undefined | string)",
|
|
879
879
|
"default": "",
|
|
880
880
|
"description": "The class name to apply to the component."
|
|
881
881
|
},
|
|
882
882
|
{
|
|
883
883
|
"name": "as",
|
|
884
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
884
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
885
885
|
"default": "",
|
|
886
886
|
"description": "The component type to render."
|
|
887
887
|
},
|
|
@@ -978,7 +978,7 @@
|
|
|
978
978
|
"props": [
|
|
979
979
|
{
|
|
980
980
|
"name": "speeddial",
|
|
981
|
-
"type": "SpeedDialRootInstance",
|
|
981
|
+
"type": "undefined | null | SpeedDialRootInstance",
|
|
982
982
|
"default": "",
|
|
983
983
|
"description": "Instance of the SpeedDial component."
|
|
984
984
|
}
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "style",
|
|
40
|
-
"type": "CSSProperties | ((instance?: SplitterGutterInstance) => CSSProperties)",
|
|
40
|
+
"type": "CSSProperties | ((instance?: SplitterGutterInstance) => undefined | CSSProperties)",
|
|
41
41
|
"default": "",
|
|
42
42
|
"description": "The style to apply to the component."
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "className",
|
|
46
|
-
"type": "string | ((instance?: SplitterGutterInstance) => string)",
|
|
46
|
+
"type": "string | ((instance?: SplitterGutterInstance) => undefined | string)",
|
|
47
47
|
"default": "",
|
|
48
48
|
"description": "The class name to apply to the component."
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": "as",
|
|
52
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
52
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
53
53
|
"default": "",
|
|
54
54
|
"description": "The component type to render."
|
|
55
55
|
},
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"props": [
|
|
141
141
|
{
|
|
142
142
|
"name": "splitter",
|
|
143
|
-
"type": "SplitterRootInstance",
|
|
143
|
+
"type": "undefined | null | SplitterRootInstance",
|
|
144
144
|
"default": "",
|
|
145
145
|
"description": "The Splitter component instance."
|
|
146
146
|
}
|
|
@@ -199,19 +199,19 @@
|
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
"name": "style",
|
|
202
|
-
"type": "CSSProperties | ((instance?: SplitterHandleInstance) => CSSProperties)",
|
|
202
|
+
"type": "CSSProperties | ((instance?: SplitterHandleInstance) => undefined | CSSProperties)",
|
|
203
203
|
"default": "",
|
|
204
204
|
"description": "The style to apply to the component."
|
|
205
205
|
},
|
|
206
206
|
{
|
|
207
207
|
"name": "className",
|
|
208
|
-
"type": "string | ((instance?: SplitterHandleInstance) => string)",
|
|
208
|
+
"type": "string | ((instance?: SplitterHandleInstance) => undefined | string)",
|
|
209
209
|
"default": "",
|
|
210
210
|
"description": "The class name to apply to the component."
|
|
211
211
|
},
|
|
212
212
|
{
|
|
213
213
|
"name": "as",
|
|
214
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
214
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
215
215
|
"default": "",
|
|
216
216
|
"description": "The component type to render."
|
|
217
217
|
},
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
"props": [
|
|
297
297
|
{
|
|
298
298
|
"name": "splitter",
|
|
299
|
-
"type": "SplitterRootInstance",
|
|
299
|
+
"type": "undefined | null | SplitterRootInstance",
|
|
300
300
|
"default": "",
|
|
301
301
|
"description": "The Splitter component instance."
|
|
302
302
|
}
|
|
@@ -355,19 +355,19 @@
|
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
357
|
"name": "style",
|
|
358
|
-
"type": "CSSProperties | ((instance?: SplitterPanelInstance) => CSSProperties)",
|
|
358
|
+
"type": "CSSProperties | ((instance?: SplitterPanelInstance) => undefined | CSSProperties)",
|
|
359
359
|
"default": "",
|
|
360
360
|
"description": "The style to apply to the component."
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
"name": "className",
|
|
364
|
-
"type": "string | ((instance?: SplitterPanelInstance) => string)",
|
|
364
|
+
"type": "string | ((instance?: SplitterPanelInstance) => undefined | string)",
|
|
365
365
|
"default": "",
|
|
366
366
|
"description": "The class name to apply to the component."
|
|
367
367
|
},
|
|
368
368
|
{
|
|
369
369
|
"name": "as",
|
|
370
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
370
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
371
371
|
"default": "",
|
|
372
372
|
"description": "The component type to render."
|
|
373
373
|
},
|
|
@@ -476,7 +476,7 @@
|
|
|
476
476
|
"props": [
|
|
477
477
|
{
|
|
478
478
|
"name": "splitter",
|
|
479
|
-
"type": "SplitterRootInstance",
|
|
479
|
+
"type": "undefined | null | SplitterRootInstance",
|
|
480
480
|
"default": "",
|
|
481
481
|
"description": "The Splitter component instance."
|
|
482
482
|
}
|
|
@@ -621,19 +621,19 @@
|
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
623
|
"name": "style",
|
|
624
|
-
"type": "CSSProperties | ((instance?: SplitterRootInstance) => CSSProperties)",
|
|
624
|
+
"type": "CSSProperties | ((instance?: SplitterRootInstance) => undefined | CSSProperties)",
|
|
625
625
|
"default": "",
|
|
626
626
|
"description": "The style to apply to the component."
|
|
627
627
|
},
|
|
628
628
|
{
|
|
629
629
|
"name": "className",
|
|
630
|
-
"type": "string | ((instance?: SplitterRootInstance) => string)",
|
|
630
|
+
"type": "string | ((instance?: SplitterRootInstance) => undefined | string)",
|
|
631
631
|
"default": "",
|
|
632
632
|
"description": "The class name to apply to the component."
|
|
633
633
|
},
|
|
634
634
|
{
|
|
635
635
|
"name": "as",
|
|
636
|
-
"type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
636
|
+
"type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
|
|
637
637
|
"default": "",
|
|
638
638
|
"description": "The component type to render."
|
|
639
639
|
},
|
|
@@ -793,13 +793,13 @@
|
|
|
793
793
|
},
|
|
794
794
|
{
|
|
795
795
|
"name": "registerPanel",
|
|
796
|
-
"type": "(index: number, panelProps: UseSplitterRegisterPanelProps) => number",
|
|
796
|
+
"type": "(index: null | number, panelProps: UseSplitterRegisterPanelProps) => number",
|
|
797
797
|
"default": "",
|
|
798
798
|
"description": "Registers a new panel or updates an existing one."
|
|
799
799
|
},
|
|
800
800
|
{
|
|
801
801
|
"name": "panelCounter",
|
|
802
|
-
"type": "RefObject<number>",
|
|
802
|
+
"type": "RefObject<null | number>",
|
|
803
803
|
"default": "",
|
|
804
804
|
"description": "Counter tracking the number of registered panels."
|
|
805
805
|
},
|
|
@@ -811,7 +811,7 @@
|
|
|
811
811
|
},
|
|
812
812
|
{
|
|
813
813
|
"name": "panelSizes",
|
|
814
|
-
"type": "number[]",
|
|
814
|
+
"type": "undefined | number[]",
|
|
815
815
|
"default": "",
|
|
816
816
|
"description": "Array storing the current size of each panel as percentages."
|
|
817
817
|
},
|