@redsift/ds-mcp-server 12.3.1-muiv6-alpha.2
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/README.md +203 -0
- package/consumer-instructions/.cursorrules +80 -0
- package/consumer-instructions/.windsurfrules +80 -0
- package/consumer-instructions/CLAUDE.md +87 -0
- package/consumer-instructions/redsift-design-system.instructions.md +87 -0
- package/data/demos/patterns/crossfiltered-datagrid-page/example.tsx +750 -0
- package/data/demos/patterns/crossfiltered-datagrid-page/with-empty-state.tsx +111 -0
- package/data/demos/patterns/crossfiltered-datagrid-page/with-error.tsx +122 -0
- package/data/demos/patterns/crossfiltered-datagrid-page/with-loading.tsx +88 -0
- package/data/demos/patterns/datagrid-page/example.tsx +521 -0
- package/data/demos/patterns/datagrid-page/with-empty-state.tsx +80 -0
- package/data/demos/patterns/datagrid-page/with-error.tsx +96 -0
- package/data/demos/patterns/datagrid-page/with-loading.tsx +57 -0
- package/data/demos/patterns/drilldown-datagrid-page/example.tsx +715 -0
- package/data/demos/patterns/drilldown-datagrid-page/with-empty-state.tsx +113 -0
- package/data/demos/patterns/drilldown-datagrid-page/with-error.tsx +125 -0
- package/data/demos/patterns/drilldown-datagrid-page/with-loading.tsx +90 -0
- package/data/demos/patterns/server-datagrid-page/example.tsx +757 -0
- package/data/demos/patterns/server-datagrid-page/with-empty-state.tsx +107 -0
- package/data/demos/patterns/server-datagrid-page/with-error.tsx +107 -0
- package/data/demos/patterns/server-datagrid-page/with-loading.tsx +63 -0
- package/data/docs/components/charts/Arc.json +179 -0
- package/data/docs/components/charts/Arcs.json +104 -0
- package/data/docs/components/charts/Axis.json +269 -0
- package/data/docs/components/charts/Bar.json +236 -0
- package/data/docs/components/charts/BarChart.json +852 -0
- package/data/docs/components/charts/BarChartBars.json +18 -0
- package/data/docs/components/charts/BarChartGroupedTooltip.json +9 -0
- package/data/docs/components/charts/BarChartOverlay.json +34 -0
- package/data/docs/components/charts/BarChartSection.json +94 -0
- package/data/docs/components/charts/BaseBarChart.json +852 -0
- package/data/docs/components/charts/ChartContainerTitle.json +574 -0
- package/data/docs/components/charts/DataPoint.json +160 -0
- package/data/docs/components/charts/Dot.json +191 -0
- package/data/docs/components/charts/EmptyBarChart.json +852 -0
- package/data/docs/components/charts/EmptyLineChart.json +753 -0
- package/data/docs/components/charts/EmptyPieChart.json +826 -0
- package/data/docs/components/charts/EmptyScatterPlot.json +802 -0
- package/data/docs/components/charts/Legend.json +510 -0
- package/data/docs/components/charts/LegendItem.json +128 -0
- package/data/docs/components/charts/Line.json +69 -0
- package/data/docs/components/charts/LineChart.json +753 -0
- package/data/docs/components/charts/LoadingBarChart.json +852 -0
- package/data/docs/components/charts/LoadingLineChart.json +753 -0
- package/data/docs/components/charts/LoadingPieChart.json +826 -0
- package/data/docs/components/charts/LoadingScatterPlot.json +802 -0
- package/data/docs/components/charts/PieChart.json +826 -0
- package/data/docs/components/charts/RenderedLineChart.json +753 -0
- package/data/docs/components/charts/RenderedLinearBarChart.json +823 -0
- package/data/docs/components/charts/RenderedOrdinalBarChart.json +852 -0
- package/data/docs/components/charts/RenderedPieChart.json +826 -0
- package/data/docs/components/charts/RenderedScatterPlot.json +802 -0
- package/data/docs/components/charts/ScatterPlot.json +802 -0
- package/data/docs/components/charts/getAxisType.json +9 -0
- package/data/docs/components/charts/getComponentPosition.json +9 -0
- package/data/docs/components/dashboard/ChartEmptyState.json +42 -0
- package/data/docs/components/dashboard/Dashboard.json +26 -0
- package/data/docs/components/dashboard/DataCard.json +300 -0
- package/data/docs/components/dashboard/DataCardBody.json +431 -0
- package/data/docs/components/dashboard/DataCardHeader.json +304 -0
- package/data/docs/components/dashboard/DataCardListbox.json +529 -0
- package/data/docs/components/dashboard/DataRow.json +539 -0
- package/data/docs/components/dashboard/DrilldownItem.json +342 -0
- package/data/docs/components/dashboard/FilterableBarChart.json +83 -0
- package/data/docs/components/dashboard/FilterableDataGrid.json +83 -0
- package/data/docs/components/dashboard/FilterablePieChart.json +83 -0
- package/data/docs/components/dashboard/FilterableScatterPlot.json +83 -0
- package/data/docs/components/dashboard/PdfDocument.json +58 -0
- package/data/docs/components/dashboard/PdfExportButton.json +458 -0
- package/data/docs/components/dashboard/TimeSeriesBarChart.json +172 -0
- package/data/docs/components/dashboard/WithFilters.json +83 -0
- package/data/docs/components/design-system/ActiveDescendantListbox.json +521 -0
- package/data/docs/components/design-system/Alert.json +349 -0
- package/data/docs/components/design-system/AppBar.json +64 -0
- package/data/docs/components/design-system/AppContainer.json +67 -0
- package/data/docs/components/design-system/AppContent.json +566 -0
- package/data/docs/components/design-system/AppSidePanel.json +87 -0
- package/data/docs/components/design-system/Badge.json +293 -0
- package/data/docs/components/design-system/BaseBreadcrumbs.json +298 -0
- package/data/docs/components/design-system/BaseGrid.json +543 -0
- package/data/docs/components/design-system/BaseSkeleton.json +338 -0
- package/data/docs/components/design-system/BreadcrumbItem.json +231 -0
- package/data/docs/components/design-system/Breadcrumbs.json +298 -0
- package/data/docs/components/design-system/Button.json +402 -0
- package/data/docs/components/design-system/ButtonGroup.json +415 -0
- package/data/docs/components/design-system/ButtonLink.json +568 -0
- package/data/docs/components/design-system/Card.json +328 -0
- package/data/docs/components/design-system/CardActions.json +431 -0
- package/data/docs/components/design-system/CardBody.json +431 -0
- package/data/docs/components/design-system/CardHeader.json +428 -0
- package/data/docs/components/design-system/Checkbox.json +426 -0
- package/data/docs/components/design-system/CheckboxGroup.json +382 -0
- package/data/docs/components/design-system/ConditionalWrapper.json +40 -0
- package/data/docs/components/design-system/DetailedCard.json +401 -0
- package/data/docs/components/design-system/DetailedCardCollapsibleSectionItems.json +29 -0
- package/data/docs/components/design-system/DetailedCardHeader.json +37 -0
- package/data/docs/components/design-system/DetailedCardSection.json +90 -0
- package/data/docs/components/design-system/DetailedCardSectionItem.json +109 -0
- package/data/docs/components/design-system/Flexbox.json +523 -0
- package/data/docs/components/design-system/FocusWithinGroup.json +9 -0
- package/data/docs/components/design-system/Grid.json +543 -0
- package/data/docs/components/design-system/GridItem.json +388 -0
- package/data/docs/components/design-system/Heading.json +390 -0
- package/data/docs/components/design-system/Icon.json +325 -0
- package/data/docs/components/design-system/IconButton.json +371 -0
- package/data/docs/components/design-system/IconButtonLink.json +588 -0
- package/data/docs/components/design-system/Item.json +554 -0
- package/data/docs/components/design-system/Link.json +552 -0
- package/data/docs/components/design-system/LinkButton.json +397 -0
- package/data/docs/components/design-system/Listbox.json +529 -0
- package/data/docs/components/design-system/Number.json +773 -0
- package/data/docs/components/design-system/NumberField.json +594 -0
- package/data/docs/components/design-system/Pill.json +378 -0
- package/data/docs/components/design-system/ProgressBar.json +121 -0
- package/data/docs/components/design-system/RadarSvgLinearGradient.json +9 -0
- package/data/docs/components/design-system/Radio.json +415 -0
- package/data/docs/components/design-system/RadioGroup.json +382 -0
- package/data/docs/components/design-system/RenderedListboxItem.json +18 -0
- package/data/docs/components/design-system/RovingTabindexListbox.json +521 -0
- package/data/docs/components/design-system/Shield.json +360 -0
- package/data/docs/components/design-system/SideNavigationMenu.json +144 -0
- package/data/docs/components/design-system/SideNavigationMenuBar.json +89 -0
- package/data/docs/components/design-system/SideNavigationMenuItem.json +319 -0
- package/data/docs/components/design-system/Skeleton.json +338 -0
- package/data/docs/components/design-system/SkeletonCircle.json +338 -0
- package/data/docs/components/design-system/SkeletonText.json +371 -0
- package/data/docs/components/design-system/Spinner.json +291 -0
- package/data/docs/components/design-system/Switch.json +415 -0
- package/data/docs/components/design-system/SwitchGroup.json +382 -0
- package/data/docs/components/design-system/Text.json +418 -0
- package/data/docs/components/design-system/TextArea.json +501 -0
- package/data/docs/components/design-system/TextField.json +539 -0
- package/data/docs/components/design-system/sizeToDimension.json +9 -0
- package/data/docs/components/pickers/BaseCombobox.json +320 -0
- package/data/docs/components/pickers/BaseComboboxContent.json +453 -0
- package/data/docs/components/pickers/BaseMenuButton.json +240 -0
- package/data/docs/components/pickers/BaseMenuButtonContent.json +442 -0
- package/data/docs/components/pickers/BaseSelect.json +258 -0
- package/data/docs/components/pickers/Combobox.json +320 -0
- package/data/docs/components/pickers/ComboboxContent.json +453 -0
- package/data/docs/components/pickers/ComboboxContentFooter.json +431 -0
- package/data/docs/components/pickers/ComboboxContentHeader.json +431 -0
- package/data/docs/components/pickers/ComboboxContentListbox.json +541 -0
- package/data/docs/components/pickers/ComboboxTrigger.json +336 -0
- package/data/docs/components/pickers/Item.json +554 -0
- package/data/docs/components/pickers/MenuButton.json +240 -0
- package/data/docs/components/pickers/MenuButtonContent.json +442 -0
- package/data/docs/components/pickers/MenuButtonContentFooter.json +431 -0
- package/data/docs/components/pickers/MenuButtonContentHeader.json +431 -0
- package/data/docs/components/pickers/MenuButtonContentMenu.json +523 -0
- package/data/docs/components/pickers/MenuButtonTrigger.json +287 -0
- package/data/docs/components/pickers/Select.json +258 -0
- package/data/docs/components/pickers/SelectContent.json +442 -0
- package/data/docs/components/pickers/SelectTrigger.json +298 -0
- package/data/docs/components/popovers/BaseDialog.json +114 -0
- package/data/docs/components/popovers/BaseDialogContent.json +21 -0
- package/data/docs/components/popovers/BasePopover.json +171 -0
- package/data/docs/components/popovers/BaseToggletip.json +184 -0
- package/data/docs/components/popovers/BaseTooltip.json +121 -0
- package/data/docs/components/popovers/Button.json +402 -0
- package/data/docs/components/popovers/ButtonLink.json +568 -0
- package/data/docs/components/popovers/Dialog.json +114 -0
- package/data/docs/components/popovers/DialogContent.json +21 -0
- package/data/docs/components/popovers/DialogContentActions.json +442 -0
- package/data/docs/components/popovers/DialogContentBody.json +442 -0
- package/data/docs/components/popovers/DialogContentHeader.json +76 -0
- package/data/docs/components/popovers/DialogTrigger.json +276 -0
- package/data/docs/components/popovers/IconButton.json +371 -0
- package/data/docs/components/popovers/IconButtonLink.json +588 -0
- package/data/docs/components/popovers/Link.json +552 -0
- package/data/docs/components/popovers/LinkButton.json +397 -0
- package/data/docs/components/popovers/Popover.json +171 -0
- package/data/docs/components/popovers/PopoverContent.json +442 -0
- package/data/docs/components/popovers/PopoverTrigger.json +276 -0
- package/data/docs/components/popovers/Toast.json +145 -0
- package/data/docs/components/popovers/ToastContainer.json +122 -0
- package/data/docs/components/popovers/Toggletip.json +184 -0
- package/data/docs/components/popovers/ToggletipContent.json +402 -0
- package/data/docs/components/popovers/ToggletipTrigger.json +276 -0
- package/data/docs/components/popovers/Tooltip.json +121 -0
- package/data/docs/components/popovers/TooltipContent.json +402 -0
- package/data/docs/components/popovers/TooltipTrigger.json +276 -0
- package/data/docs/components/products/Dialog.json +106 -0
- package/data/docs/components/products/MenuButton.json +232 -0
- package/data/docs/components/products/PulsedRadarImage.json +9 -0
- package/data/docs/components/products/RadarButton.json +402 -0
- package/data/docs/components/products/RadarItem.json +554 -0
- package/data/docs/components/table/ControlledPagination.json +9 -0
- package/data/docs/components/table/DataGrid.json +93 -0
- package/data/docs/components/table/GridToolbarFilterSemanticField.json +69 -0
- package/data/docs/components/table/ServerSideControlledPagination.json +9 -0
- package/data/docs/components/table/StatefulDataGrid.json +117 -0
- package/data/docs/components/table/TextCell.json +118 -0
- package/data/docs/components/table/Toolbar.json +145 -0
- package/data/docs/components/table/ToolbarWrapper.json +9 -0
- package/data/docs/components-index.json +1206 -0
- package/data/docs/components.json +55694 -0
- package/data/docs/llms-full.txt +8012 -0
- package/data/docs/llms.txt +234 -0
- package/data/docs/patterns-catalog.md +359 -0
- package/data/docs/patterns.json +712 -0
- package/data/metadata.json +4 -0
- package/data/patterns/crossfiltered-datagrid-page.mdx +386 -0
- package/data/patterns/datagrid-page.mdx +214 -0
- package/data/patterns/drilldown-datagrid-page.mdx +291 -0
- package/data/patterns/server-datagrid-page.mdx +301 -0
- package/data/tokens/properties/components/dark-components.json +1108 -0
- package/data/tokens/properties/components/light-components.json +1108 -0
- package/data/tokens/properties/core/border-radius.json +3 -0
- package/data/tokens/properties/core/color.json +280 -0
- package/data/tokens/properties/core/layout.json +14 -0
- package/data/tokens/properties/core/typography.json +199 -0
- package/data/tokens/redsift-design-tokens.css +1391 -0
- package/dist/data-store.d.ts +47 -0
- package/dist/data-store.d.ts.map +1 -0
- package/dist/data-store.js +152 -0
- package/dist/data-store.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +50 -0
- package/dist/index.js.map +1 -0
- package/dist/init.d.ts +14 -0
- package/dist/init.d.ts.map +1 -0
- package/dist/init.js +137 -0
- package/dist/init.js.map +1 -0
- package/dist/paths.d.ts +30 -0
- package/dist/paths.d.ts.map +1 -0
- package/dist/paths.js +53 -0
- package/dist/paths.js.map +1 -0
- package/dist/pattern-store.d.ts +41 -0
- package/dist/pattern-store.d.ts.map +1 -0
- package/dist/pattern-store.js +177 -0
- package/dist/pattern-store.js.map +1 -0
- package/dist/prompts.d.ts +14 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +762 -0
- package/dist/prompts.js.map +1 -0
- package/dist/resources.d.ts +14 -0
- package/dist/resources.d.ts.map +1 -0
- package/dist/resources.js +482 -0
- package/dist/resources.js.map +1 -0
- package/dist/scaffold.d.ts +31 -0
- package/dist/scaffold.d.ts.map +1 -0
- package/dist/scaffold.js +239 -0
- package/dist/scaffold.js.map +1 -0
- package/dist/token-store.d.ts +70 -0
- package/dist/token-store.d.ts.map +1 -0
- package/dist/token-store.js +196 -0
- package/dist/token-store.js.map +1 -0
- package/dist/tools.d.ts +15 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/tools.js +491 -0
- package/dist/tools.js.map +1 -0
- package/dist/types.d.ts +108 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +17 -0
- package/dist/types.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,594 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "NumberField",
|
|
3
|
+
"description": "NumberField allows users to enter and adjust numeric values with increment\nand decrement buttons. Supports keyboard navigation and locale-aware formatting.\n\nSupports controlled (`value`) or uncontrolled (`defaultValue`) modes.",
|
|
4
|
+
"package": "@redsift/design-system",
|
|
5
|
+
"filePath": "packages/design-system/src/components/number-field/NumberField.tsx",
|
|
6
|
+
"props": [
|
|
7
|
+
{
|
|
8
|
+
"name": "onFocus",
|
|
9
|
+
"description": "Handler that is called when the element receives focus.",
|
|
10
|
+
"type": "(e: FocusEvent<Element, Element>) => void",
|
|
11
|
+
"required": false,
|
|
12
|
+
"defaultValue": null,
|
|
13
|
+
"category": "props"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "onBlur",
|
|
17
|
+
"description": "Handler that is called when the element loses focus.",
|
|
18
|
+
"type": "(e: FocusEvent<Element, Element>) => void",
|
|
19
|
+
"required": false,
|
|
20
|
+
"defaultValue": null,
|
|
21
|
+
"category": "props"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "onFocusChange",
|
|
25
|
+
"description": "Handler that is called when the element's focus status changes.",
|
|
26
|
+
"type": "(isFocused: boolean) => void",
|
|
27
|
+
"required": false,
|
|
28
|
+
"defaultValue": null,
|
|
29
|
+
"category": "props"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "onKeyDown",
|
|
33
|
+
"description": "Handler that is called when a key is pressed.",
|
|
34
|
+
"type": "(e: KeyboardEvent<HTMLElement>) => void",
|
|
35
|
+
"required": false,
|
|
36
|
+
"defaultValue": null,
|
|
37
|
+
"category": "props"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "onKeyUp",
|
|
41
|
+
"description": "Handler that is called when a key is released.",
|
|
42
|
+
"type": "(e: KeyboardEvent<HTMLElement>) => void",
|
|
43
|
+
"required": false,
|
|
44
|
+
"defaultValue": null,
|
|
45
|
+
"category": "props"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "defaultValue",
|
|
49
|
+
"description": "Default value.\nUsed for uncontrolled version.",
|
|
50
|
+
"type": "number",
|
|
51
|
+
"required": false,
|
|
52
|
+
"defaultValue": null,
|
|
53
|
+
"category": "props"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "onChange",
|
|
57
|
+
"description": "Method to handle component change.",
|
|
58
|
+
"type": "(value?: number | undefined, name?: string | undefined, event?: ChangeEvent<HTMLInputElement> | undefined) => void",
|
|
59
|
+
"required": false,
|
|
60
|
+
"defaultValue": null,
|
|
61
|
+
"category": "props"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "value",
|
|
65
|
+
"description": "Input value.\nUsed for controlled version.",
|
|
66
|
+
"type": "number",
|
|
67
|
+
"required": false,
|
|
68
|
+
"defaultValue": null,
|
|
69
|
+
"category": "props"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "placeholder",
|
|
73
|
+
"description": "Placeholder.",
|
|
74
|
+
"type": "number",
|
|
75
|
+
"required": false,
|
|
76
|
+
"defaultValue": null,
|
|
77
|
+
"category": "props"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "decrementAriaLabel",
|
|
81
|
+
"description": "A custom aria-label for the decrement button. If not provided, the localized string \"Decrement\" is used.",
|
|
82
|
+
"type": "string",
|
|
83
|
+
"required": false,
|
|
84
|
+
"defaultValue": null,
|
|
85
|
+
"category": "props"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "incrementAriaLabel",
|
|
89
|
+
"description": "A custom aria-label for the increment button. If not provided, the localized string \"Increment\" is used.",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"required": false,
|
|
92
|
+
"defaultValue": null,
|
|
93
|
+
"category": "props"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "isWheelDisabled",
|
|
97
|
+
"description": "Enables or disables changing the value with scroll.",
|
|
98
|
+
"type": [
|
|
99
|
+
"false",
|
|
100
|
+
"true"
|
|
101
|
+
],
|
|
102
|
+
"required": false,
|
|
103
|
+
"defaultValue": null,
|
|
104
|
+
"category": "props"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "formatOptions",
|
|
108
|
+
"description": "Formatting options for the value displayed in the number field.\nThis also affects what characters are allowed to be typed by the user.",
|
|
109
|
+
"type": "NumberFormatOptions",
|
|
110
|
+
"required": false,
|
|
111
|
+
"defaultValue": null,
|
|
112
|
+
"category": "props"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "minValue",
|
|
116
|
+
"description": "The smallest value allowed for the input.",
|
|
117
|
+
"type": "number",
|
|
118
|
+
"required": false,
|
|
119
|
+
"defaultValue": null,
|
|
120
|
+
"category": "props"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "maxValue",
|
|
124
|
+
"description": "The largest value allowed for the input.",
|
|
125
|
+
"type": "number",
|
|
126
|
+
"required": false,
|
|
127
|
+
"defaultValue": null,
|
|
128
|
+
"category": "props"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "step",
|
|
132
|
+
"description": "The amount that the input value changes with each increment or decrement \"tick\".",
|
|
133
|
+
"type": "number",
|
|
134
|
+
"required": false,
|
|
135
|
+
"defaultValue": null,
|
|
136
|
+
"category": "props"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "label",
|
|
140
|
+
"description": "Label",
|
|
141
|
+
"type": "string",
|
|
142
|
+
"required": false,
|
|
143
|
+
"defaultValue": null,
|
|
144
|
+
"category": "props"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "color",
|
|
148
|
+
"description": "Color variant.",
|
|
149
|
+
"type": "string",
|
|
150
|
+
"required": false,
|
|
151
|
+
"defaultValue": null,
|
|
152
|
+
"category": "props"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "autoFocus",
|
|
156
|
+
"description": "Whether the component can be autofocused.",
|
|
157
|
+
"type": [
|
|
158
|
+
"false",
|
|
159
|
+
"true"
|
|
160
|
+
],
|
|
161
|
+
"required": false,
|
|
162
|
+
"defaultValue": null,
|
|
163
|
+
"category": "props"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "forceColor",
|
|
167
|
+
"description": "Force color even when not focused.",
|
|
168
|
+
"type": [
|
|
169
|
+
"false",
|
|
170
|
+
"true"
|
|
171
|
+
],
|
|
172
|
+
"required": false,
|
|
173
|
+
"defaultValue": null,
|
|
174
|
+
"category": "props"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "hasClearButton",
|
|
178
|
+
"description": "Whether the clear button is displayed or not.",
|
|
179
|
+
"type": [
|
|
180
|
+
"false",
|
|
181
|
+
"true",
|
|
182
|
+
"Omit<Partial<IconButtonProps>, \"ref\">"
|
|
183
|
+
],
|
|
184
|
+
"required": false,
|
|
185
|
+
"defaultValue": null,
|
|
186
|
+
"category": "props"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "inputProps",
|
|
190
|
+
"description": "Custom props to pass to the input element.",
|
|
191
|
+
"type": "DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>",
|
|
192
|
+
"required": false,
|
|
193
|
+
"defaultValue": null,
|
|
194
|
+
"category": "props"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "inputRef",
|
|
198
|
+
"description": "Custom ref object to pass to the input element.",
|
|
199
|
+
"type": "MutableRefObject<HTMLInputElement>",
|
|
200
|
+
"required": false,
|
|
201
|
+
"defaultValue": null,
|
|
202
|
+
"category": "props"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "isColored",
|
|
206
|
+
"description": "@deprecated Whether the component should use the product colors or shades of grey.",
|
|
207
|
+
"type": [
|
|
208
|
+
"false",
|
|
209
|
+
"true"
|
|
210
|
+
],
|
|
211
|
+
"required": false,
|
|
212
|
+
"defaultValue": null,
|
|
213
|
+
"category": "props"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "isDisabled",
|
|
217
|
+
"description": "Whether the component is disabled or not.",
|
|
218
|
+
"type": [
|
|
219
|
+
"false",
|
|
220
|
+
"true"
|
|
221
|
+
],
|
|
222
|
+
"required": false,
|
|
223
|
+
"defaultValue": null,
|
|
224
|
+
"category": "props"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "isInvalid",
|
|
228
|
+
"description": "Whether the component is invalid or not.",
|
|
229
|
+
"type": [
|
|
230
|
+
"false",
|
|
231
|
+
"true"
|
|
232
|
+
],
|
|
233
|
+
"required": false,
|
|
234
|
+
"defaultValue": null,
|
|
235
|
+
"category": "props"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "isReadOnly",
|
|
239
|
+
"description": "Whether the component is read only or not.",
|
|
240
|
+
"type": [
|
|
241
|
+
"false",
|
|
242
|
+
"true"
|
|
243
|
+
],
|
|
244
|
+
"required": false,
|
|
245
|
+
"defaultValue": null,
|
|
246
|
+
"category": "props"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "isRequired",
|
|
250
|
+
"description": "Whether the component is required or not.",
|
|
251
|
+
"type": [
|
|
252
|
+
"false",
|
|
253
|
+
"true"
|
|
254
|
+
],
|
|
255
|
+
"required": false,
|
|
256
|
+
"defaultValue": null,
|
|
257
|
+
"category": "props"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "leftIcon",
|
|
261
|
+
"description": "Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />\nCan also be a ReactElement.",
|
|
262
|
+
"type": "Omit<IconProps, \"ref\">",
|
|
263
|
+
"required": false,
|
|
264
|
+
"defaultValue": null,
|
|
265
|
+
"category": "props"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "name",
|
|
269
|
+
"description": "Name to pass to the input element.",
|
|
270
|
+
"type": "string",
|
|
271
|
+
"required": false,
|
|
272
|
+
"defaultValue": null,
|
|
273
|
+
"category": "props"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "onClear",
|
|
277
|
+
"description": "Method to handle component clear.",
|
|
278
|
+
"type": "() => void",
|
|
279
|
+
"required": false,
|
|
280
|
+
"defaultValue": null,
|
|
281
|
+
"category": "props"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "theme",
|
|
285
|
+
"description": "Theme.",
|
|
286
|
+
"type": [
|
|
287
|
+
"\"light\"",
|
|
288
|
+
"\"dark\""
|
|
289
|
+
],
|
|
290
|
+
"required": false,
|
|
291
|
+
"defaultValue": null,
|
|
292
|
+
"category": "props"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "type",
|
|
296
|
+
"description": "Input type.",
|
|
297
|
+
"type": "string",
|
|
298
|
+
"required": false,
|
|
299
|
+
"defaultValue": null,
|
|
300
|
+
"category": "props"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "variant",
|
|
304
|
+
"description": "TextField variant.",
|
|
305
|
+
"type": [
|
|
306
|
+
"\"default\"",
|
|
307
|
+
"\"underline\""
|
|
308
|
+
],
|
|
309
|
+
"required": false,
|
|
310
|
+
"defaultValue": "'default'",
|
|
311
|
+
"category": "props"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "highlightNonAscii",
|
|
315
|
+
"description": "Highlight non-ASCII characters in the input. Useful for IDN domain names where\nUnicode lookalike characters can be confusing. Uses an overlay to display\nhighlighted characters while maintaining input functionality.\n\n- `true`: enables both font change and background highlight\n- `{ font?: boolean, background?: boolean | string }`: fine-grained control\n@example // Both font and background (default)\n<TextField highlightNonAscii label=\"Domain\" />\n@example // Background only\n<TextField highlightNonAscii={{ font: false }} label=\"Domain\" />",
|
|
316
|
+
"type": [
|
|
317
|
+
"false",
|
|
318
|
+
"true",
|
|
319
|
+
"HighlightNonAsciiOptions"
|
|
320
|
+
],
|
|
321
|
+
"required": false,
|
|
322
|
+
"defaultValue": null,
|
|
323
|
+
"category": "props"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "flex",
|
|
327
|
+
"description": "When used in a flex layout, specifies how the element will grow or shrink to fit the space available. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex\">MDN</a>.",
|
|
328
|
+
"type": "string",
|
|
329
|
+
"required": false,
|
|
330
|
+
"defaultValue": null,
|
|
331
|
+
"category": "layout"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "flexGrow",
|
|
335
|
+
"description": "When used in a flex layout, specifies how the element will grow to fit the space available. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex-grow\">MDN</a>.",
|
|
336
|
+
"type": "number",
|
|
337
|
+
"required": false,
|
|
338
|
+
"defaultValue": null,
|
|
339
|
+
"category": "layout"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "flexShrink",
|
|
343
|
+
"description": "When used in a flex layout, specifies how the element will shrink to fit the space available. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex-shrink\">MDN</a>.",
|
|
344
|
+
"type": "number",
|
|
345
|
+
"required": false,
|
|
346
|
+
"defaultValue": null,
|
|
347
|
+
"category": "layout"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "flexBasis",
|
|
351
|
+
"description": "When used in a flex layout, specifies the initial main size of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/flex_basis\">MDN</a>.",
|
|
352
|
+
"type": "string",
|
|
353
|
+
"required": false,
|
|
354
|
+
"defaultValue": null,
|
|
355
|
+
"category": "layout"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "alignSelf",
|
|
359
|
+
"description": "Overrides the alignItems property of a flex or grid container. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/align-self\">MDN</a>.",
|
|
360
|
+
"type": [
|
|
361
|
+
"\"center\"",
|
|
362
|
+
"\"auto\"",
|
|
363
|
+
"\"normal\"",
|
|
364
|
+
"\"start\"",
|
|
365
|
+
"\"end\"",
|
|
366
|
+
"\"flex-start\"",
|
|
367
|
+
"\"flex-end\"",
|
|
368
|
+
"\"self-start\"",
|
|
369
|
+
"\"self-end\"",
|
|
370
|
+
"\"baseline\"",
|
|
371
|
+
"\"stretch\""
|
|
372
|
+
],
|
|
373
|
+
"required": false,
|
|
374
|
+
"defaultValue": null,
|
|
375
|
+
"category": "layout"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "justifySelf",
|
|
379
|
+
"description": "Specifies how the element is justified inside a flex or grid container. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self\">MDN</a>.",
|
|
380
|
+
"type": "string",
|
|
381
|
+
"required": false,
|
|
382
|
+
"defaultValue": null,
|
|
383
|
+
"category": "layout"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "order",
|
|
387
|
+
"description": "The layout order for the element within a flex or grid container. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/order\">MDN</a>.",
|
|
388
|
+
"type": "number",
|
|
389
|
+
"required": false,
|
|
390
|
+
"defaultValue": null,
|
|
391
|
+
"category": "layout"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"name": "gridArea",
|
|
395
|
+
"description": "When used in a grid layout, specifies the named grid area that the element should be placed in within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-area\">MDN</a>.",
|
|
396
|
+
"type": "string",
|
|
397
|
+
"required": false,
|
|
398
|
+
"defaultValue": null,
|
|
399
|
+
"category": "layout"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "gridColumn",
|
|
403
|
+
"description": "When used in a grid layout, specifies the column the element should be placed in within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column\">MDN</a>.",
|
|
404
|
+
"type": "string",
|
|
405
|
+
"required": false,
|
|
406
|
+
"defaultValue": null,
|
|
407
|
+
"category": "layout"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "gridRow",
|
|
411
|
+
"description": "When used in a grid layout, specifies the row the element should be placed in within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row\">MDN</a>.",
|
|
412
|
+
"type": "string",
|
|
413
|
+
"required": false,
|
|
414
|
+
"defaultValue": null,
|
|
415
|
+
"category": "layout"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "gridColumnStart",
|
|
419
|
+
"description": "When used in a grid layout, specifies the starting column to span within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-start\">MDN</a>.",
|
|
420
|
+
"type": "string",
|
|
421
|
+
"required": false,
|
|
422
|
+
"defaultValue": null,
|
|
423
|
+
"category": "layout"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "gridColumnEnd",
|
|
427
|
+
"description": "When used in a grid layout, specifies the ending column to span within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-end\">MDN</a>.",
|
|
428
|
+
"type": "string",
|
|
429
|
+
"required": false,
|
|
430
|
+
"defaultValue": null,
|
|
431
|
+
"category": "layout"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "gridRowStart",
|
|
435
|
+
"description": "When used in a grid layout, specifies the starting row to span within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-start\">MDN</a>.",
|
|
436
|
+
"type": "string",
|
|
437
|
+
"required": false,
|
|
438
|
+
"defaultValue": null,
|
|
439
|
+
"category": "layout"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "gridRowEnd",
|
|
443
|
+
"description": "When used in a grid layout, specifies the ending row to span within the grid. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-end\">MDN</a>.",
|
|
444
|
+
"type": "string",
|
|
445
|
+
"required": false,
|
|
446
|
+
"defaultValue": null,
|
|
447
|
+
"category": "layout"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "margin",
|
|
451
|
+
"description": "The margin for all four sides of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin\">MDN</a>.",
|
|
452
|
+
"type": "string",
|
|
453
|
+
"required": false,
|
|
454
|
+
"defaultValue": null,
|
|
455
|
+
"category": "spacing"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "marginBottom",
|
|
459
|
+
"description": "The margin for the bottom side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom\">MDN</a>.",
|
|
460
|
+
"type": "string",
|
|
461
|
+
"required": false,
|
|
462
|
+
"defaultValue": null,
|
|
463
|
+
"category": "spacing"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "marginLeft",
|
|
467
|
+
"description": "The margin for the left side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left\">MDN</a>.",
|
|
468
|
+
"type": "string",
|
|
469
|
+
"required": false,
|
|
470
|
+
"defaultValue": null,
|
|
471
|
+
"category": "spacing"
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "marginRight",
|
|
475
|
+
"description": "The margin for the right side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right\">MDN</a>.",
|
|
476
|
+
"type": "string",
|
|
477
|
+
"required": false,
|
|
478
|
+
"defaultValue": null,
|
|
479
|
+
"category": "spacing"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"name": "marginTop",
|
|
483
|
+
"description": "The margin for the top side of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top\">MDN</a>.",
|
|
484
|
+
"type": "string",
|
|
485
|
+
"required": false,
|
|
486
|
+
"defaultValue": null,
|
|
487
|
+
"category": "spacing"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "height",
|
|
491
|
+
"description": "The height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/height\">MDN</a>.",
|
|
492
|
+
"type": [
|
|
493
|
+
"string",
|
|
494
|
+
"number"
|
|
495
|
+
],
|
|
496
|
+
"required": false,
|
|
497
|
+
"defaultValue": null,
|
|
498
|
+
"category": "sizing"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "maxHeight",
|
|
502
|
+
"description": "The maximum height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/max-height\">MDN</a>.",
|
|
503
|
+
"type": "string",
|
|
504
|
+
"required": false,
|
|
505
|
+
"defaultValue": null,
|
|
506
|
+
"category": "sizing"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "maxWidth",
|
|
510
|
+
"description": "The maximum width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/max-width\">MDN</a>.",
|
|
511
|
+
"type": "string",
|
|
512
|
+
"required": false,
|
|
513
|
+
"defaultValue": null,
|
|
514
|
+
"category": "sizing"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "minHeight",
|
|
518
|
+
"description": "The minimum height of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/min-height\">MDN</a>.",
|
|
519
|
+
"type": "string",
|
|
520
|
+
"required": false,
|
|
521
|
+
"defaultValue": null,
|
|
522
|
+
"category": "sizing"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "minWidth",
|
|
526
|
+
"description": "The minimum width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/min-width\">MDN</a>.",
|
|
527
|
+
"type": "string",
|
|
528
|
+
"required": false,
|
|
529
|
+
"defaultValue": null,
|
|
530
|
+
"category": "sizing"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "width",
|
|
534
|
+
"description": "The width of the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/width\">MDN</a>.",
|
|
535
|
+
"type": [
|
|
536
|
+
"string",
|
|
537
|
+
"number"
|
|
538
|
+
],
|
|
539
|
+
"required": false,
|
|
540
|
+
"defaultValue": null,
|
|
541
|
+
"category": "sizing"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
"name": "position",
|
|
545
|
+
"description": "Specifies how the element is positioned. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/position\">MDN</a>.",
|
|
546
|
+
"type": "string",
|
|
547
|
+
"required": false,
|
|
548
|
+
"defaultValue": null,
|
|
549
|
+
"category": "positioning"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "top",
|
|
553
|
+
"description": "The top position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/top\">MDN</a>.",
|
|
554
|
+
"type": "string",
|
|
555
|
+
"required": false,
|
|
556
|
+
"defaultValue": null,
|
|
557
|
+
"category": "positioning"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"name": "bottom",
|
|
561
|
+
"description": "The bottom position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/bottom\">MDN</a>.",
|
|
562
|
+
"type": "string",
|
|
563
|
+
"required": false,
|
|
564
|
+
"defaultValue": null,
|
|
565
|
+
"category": "positioning"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "left",
|
|
569
|
+
"description": "The left position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/left\">MDN</a>. Consider using start instead for RTL support.",
|
|
570
|
+
"type": "string",
|
|
571
|
+
"required": false,
|
|
572
|
+
"defaultValue": null,
|
|
573
|
+
"category": "positioning"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "right",
|
|
577
|
+
"description": "The right position for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/right\">MDN</a>. Consider using start instead for RTL support.",
|
|
578
|
+
"type": "string",
|
|
579
|
+
"required": false,
|
|
580
|
+
"defaultValue": null,
|
|
581
|
+
"category": "positioning"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "zIndex",
|
|
585
|
+
"description": "The stacking order for the element. See <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/z-index\">MDN</a>.",
|
|
586
|
+
"type": "string",
|
|
587
|
+
"required": false,
|
|
588
|
+
"defaultValue": null,
|
|
589
|
+
"category": "positioning"
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"examples": [],
|
|
593
|
+
"tags": {}
|
|
594
|
+
}
|