@coinbase/cds-mcp-server 8.66.2 → 9.0.0-rc.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/CHANGELOG.md +8 -0
- package/mcp-docs/mobile/components/AccordionItem.txt +4 -4
- package/mcp-docs/mobile/components/Alert.txt +2 -1
- package/mcp-docs/mobile/components/AreaChart.txt +40 -40
- package/mcp-docs/mobile/components/Avatar.txt +33 -33
- package/mcp-docs/mobile/components/AvatarButton.txt +35 -35
- package/mcp-docs/mobile/components/Banner.txt +55 -40
- package/mcp-docs/mobile/components/BarChart.txt +40 -40
- package/mcp-docs/mobile/components/Box.txt +34 -34
- package/mcp-docs/mobile/components/BrowserBar.txt +35 -35
- package/mcp-docs/mobile/components/Button.txt +52 -42
- package/mcp-docs/mobile/components/Calendar.txt +34 -34
- package/mcp-docs/mobile/components/Carousel.txt +48 -58
- package/mcp-docs/mobile/components/CartesianChart.txt +40 -40
- package/mcp-docs/mobile/components/CellMedia.txt +1 -1
- package/mcp-docs/mobile/components/Checkbox.txt +3 -3
- package/mcp-docs/mobile/components/CheckboxCell.txt +37 -37
- package/mcp-docs/mobile/components/CheckboxGroup.txt +4 -4
- package/mcp-docs/mobile/components/Chip.txt +39 -39
- package/mcp-docs/mobile/components/Coachmark.txt +39 -39
- package/mcp-docs/mobile/components/Collapsible.txt +2 -2
- package/mcp-docs/mobile/components/Combobox.txt +10 -10
- package/mcp-docs/mobile/components/ContainedAssetCard.txt +7 -7
- package/mcp-docs/mobile/components/ContentCard.txt +37 -37
- package/mcp-docs/mobile/components/ContentCardBody.txt +42 -42
- package/mcp-docs/mobile/components/ContentCardFooter.txt +34 -34
- package/mcp-docs/mobile/components/ContentCardHeader.txt +41 -41
- package/mcp-docs/mobile/components/ContentCell.txt +49 -49
- package/mcp-docs/mobile/components/ControlGroup.txt +36 -36
- package/mcp-docs/mobile/components/DataCard.txt +47 -47
- package/mcp-docs/mobile/components/DateInput.txt +25 -22
- package/mcp-docs/mobile/components/DatePicker.txt +25 -22
- package/mcp-docs/mobile/components/Divider.txt +33 -33
- package/mcp-docs/mobile/components/DotCount.txt +4 -2
- package/mcp-docs/mobile/components/DotStatusColor.txt +1 -1
- package/mcp-docs/mobile/components/DotSymbol.txt +6 -6
- package/mcp-docs/mobile/components/Fallback.txt +32 -32
- package/mcp-docs/mobile/components/FloatingAssetCard.txt +4 -4
- package/mcp-docs/mobile/components/HStack.txt +34 -34
- package/mcp-docs/mobile/components/HeroSquare.txt +1 -1
- package/mcp-docs/mobile/components/Icon.txt +3 -3
- package/mcp-docs/mobile/components/IconButton.txt +38 -58
- package/mcp-docs/mobile/components/InputChip.txt +39 -39
- package/mcp-docs/mobile/components/Interactable.txt +34 -34
- package/mcp-docs/mobile/components/Legend.txt +43 -41
- package/mcp-docs/mobile/components/LineChart.txt +40 -40
- package/mcp-docs/mobile/components/Link.txt +41 -38
- package/mcp-docs/mobile/components/ListCell.txt +52 -52
- package/mcp-docs/mobile/components/Lottie.txt +34 -34
- package/mcp-docs/mobile/components/LottieStatusAnimation.txt +2 -2
- package/mcp-docs/mobile/components/MediaCard.txt +41 -41
- package/mcp-docs/mobile/components/MediaChip.txt +39 -39
- package/mcp-docs/mobile/components/MessagingCard.txt +42 -42
- package/mcp-docs/mobile/components/Modal.txt +6 -2
- package/mcp-docs/mobile/components/ModalBody.txt +8 -8
- package/mcp-docs/mobile/components/ModalFooter.txt +33 -33
- package/mcp-docs/mobile/components/ModalHeader.txt +34 -34
- package/mcp-docs/mobile/components/MultiContentModule.txt +40 -40
- package/mcp-docs/mobile/components/NavigationTitle.txt +38 -36
- package/mcp-docs/mobile/components/NavigationTitleSelect.txt +38 -36
- package/mcp-docs/mobile/components/NudgeCard.txt +6 -6
- package/mcp-docs/mobile/components/Numpad.txt +37 -37
- package/mcp-docs/mobile/components/Overlay.txt +33 -33
- package/mcp-docs/mobile/components/PageFooter.txt +36 -30
- package/mcp-docs/mobile/components/PageHeader.txt +38 -32
- package/mcp-docs/mobile/components/PercentageBarChart.txt +40 -40
- package/mcp-docs/mobile/components/PeriodSelector.txt +39 -39
- package/mcp-docs/mobile/components/Pictogram.txt +1 -1
- package/mcp-docs/mobile/components/Point.txt +2 -2
- package/mcp-docs/mobile/components/PortalProvider.txt +2 -2
- package/mcp-docs/mobile/components/Pressable.txt +36 -36
- package/mcp-docs/mobile/components/ProgressBar.txt +2 -2
- package/mcp-docs/mobile/components/ProgressBarWithFixedLabels.txt +1 -1
- package/mcp-docs/mobile/components/ProgressBarWithFloatLabel.txt +1 -1
- package/mcp-docs/mobile/components/ProgressCircle.txt +3 -3
- package/mcp-docs/mobile/components/Radio.txt +3 -3
- package/mcp-docs/mobile/components/RadioCell.txt +37 -37
- package/mcp-docs/mobile/components/RadioGroup.txt +3 -3
- package/mcp-docs/mobile/components/ReferenceLine.txt +1 -1
- package/mcp-docs/mobile/components/RemoteImage.txt +6 -6
- package/mcp-docs/mobile/components/RemoteImageGroup.txt +1 -1
- package/mcp-docs/mobile/components/RollingNumber.txt +41 -39
- package/mcp-docs/mobile/components/Scrubber.txt +2 -2
- package/mcp-docs/mobile/components/SearchInput.txt +25 -22
- package/mcp-docs/mobile/components/SectionHeader.txt +7 -7
- package/mcp-docs/mobile/components/SegmentedTabs.txt +34 -34
- package/mcp-docs/mobile/components/Select.txt +3 -3
- package/mcp-docs/mobile/components/SelectAlpha.txt +10 -10
- package/mcp-docs/mobile/components/SelectChip.txt +42 -40
- package/mcp-docs/mobile/components/SelectChipAlpha.txt +11 -11
- package/mcp-docs/mobile/components/SelectOption.txt +10 -10
- package/mcp-docs/mobile/components/SlideButton.txt +40 -40
- package/mcp-docs/mobile/components/Spacer.txt +7 -7
- package/mcp-docs/mobile/components/Sparkline.txt +3 -3
- package/mcp-docs/mobile/components/SparklineGradient.txt +3 -3
- package/mcp-docs/mobile/components/SparklineInteractive.txt +6 -6
- package/mcp-docs/mobile/components/SparklineInteractiveHeader.txt +5 -5
- package/mcp-docs/mobile/components/Spinner.txt +2 -2
- package/mcp-docs/mobile/components/SpotIcon.txt +1 -1
- package/mcp-docs/mobile/components/SpotRectangle.txt +1 -1
- package/mcp-docs/mobile/components/SpotSquare.txt +1 -1
- package/mcp-docs/mobile/components/Stepper.txt +37 -36
- package/mcp-docs/mobile/components/Switch.txt +13 -3
- package/mcp-docs/mobile/components/TabIndicator.txt +1 -1
- package/mcp-docs/mobile/components/TabLabel.txt +39 -37
- package/mcp-docs/mobile/components/TabNavigation.txt +34 -34
- package/mcp-docs/mobile/components/TabbedChips.txt +34 -34
- package/mcp-docs/mobile/components/TabbedChipsAlpha.txt +34 -34
- package/mcp-docs/mobile/components/Tabs.txt +34 -34
- package/mcp-docs/mobile/components/Tag.txt +41 -41
- package/mcp-docs/mobile/components/Text.txt +51 -58
- package/mcp-docs/mobile/components/TextInput.txt +25 -22
- package/mcp-docs/mobile/components/ThemeProvider.txt +3 -1
- package/mcp-docs/mobile/components/Toast.txt +34 -34
- package/mcp-docs/mobile/components/Tooltip.txt +2 -2
- package/mcp-docs/mobile/components/TopNavBar.txt +9 -9
- package/mcp-docs/mobile/components/Tray.txt +5 -3
- package/mcp-docs/mobile/components/UpsellCard.txt +15 -14
- package/mcp-docs/mobile/components/VStack.txt +34 -34
- package/mcp-docs/mobile/components/XAxis.txt +1 -1
- package/mcp-docs/mobile/components/YAxis.txt +1 -1
- package/mcp-docs/mobile/getting-started/installation.txt +9 -3
- package/mcp-docs/mobile/hooks/useMergeRefs.txt +5 -5
- package/mcp-docs/mobile/routes.txt +1 -1
- package/mcp-docs/web/components/AccordionItem.txt +4 -4
- package/mcp-docs/web/components/Alert.txt +3 -2
- package/mcp-docs/web/components/AreaChart.txt +63 -63
- package/mcp-docs/web/components/Avatar.txt +49 -49
- package/mcp-docs/web/components/AvatarButton.txt +54 -324
- package/mcp-docs/web/components/Banner.txt +71 -55
- package/mcp-docs/web/components/BarChart.txt +58 -58
- package/mcp-docs/web/components/Box.txt +49 -312
- package/mcp-docs/web/components/Button.txt +62 -324
- package/mcp-docs/web/components/Calendar.txt +49 -49
- package/mcp-docs/web/components/Carousel.txt +65 -72
- package/mcp-docs/web/components/CartesianChart.txt +63 -63
- package/mcp-docs/web/components/CellMedia.txt +1 -1
- package/mcp-docs/web/components/Checkbox.txt +9 -7
- package/mcp-docs/web/components/CheckboxCell.txt +52 -52
- package/mcp-docs/web/components/CheckboxGroup.txt +3 -3
- package/mcp-docs/web/components/Chip.txt +51 -51
- package/mcp-docs/web/components/Coachmark.txt +55 -55
- package/mcp-docs/web/components/Collapsible.txt +2 -2
- package/mcp-docs/web/components/Combobox.txt +8 -8
- package/mcp-docs/web/components/ContainedAssetCard.txt +60 -55
- package/mcp-docs/web/components/ContentCard.txt +54 -317
- package/mcp-docs/web/components/ContentCardBody.txt +57 -318
- package/mcp-docs/web/components/ContentCardFooter.txt +49 -312
- package/mcp-docs/web/components/ContentCardHeader.txt +56 -318
- package/mcp-docs/web/components/ContentCell.txt +63 -322
- package/mcp-docs/web/components/ControlGroup.txt +50 -50
- package/mcp-docs/web/components/DataCard.txt +60 -60
- package/mcp-docs/web/components/DateInput.txt +54 -54
- package/mcp-docs/web/components/DatePicker.txt +54 -54
- package/mcp-docs/web/components/Divider.txt +49 -49
- package/mcp-docs/web/components/DotCount.txt +3 -1
- package/mcp-docs/web/components/DotStatusColor.txt +1 -1
- package/mcp-docs/web/components/DotSymbol.txt +6 -6
- package/mcp-docs/web/components/Dropdown.txt +3 -3
- package/mcp-docs/web/components/Fallback.txt +49 -312
- package/mcp-docs/web/components/FloatingAssetCard.txt +53 -53
- package/mcp-docs/web/components/FullscreenAlert.txt +1 -1
- package/mcp-docs/web/components/FullscreenModal.txt +5 -4
- package/mcp-docs/web/components/FullscreenModalLayout.txt +3 -2
- package/mcp-docs/web/components/Grid.txt +51 -314
- package/mcp-docs/web/components/GridColumn.txt +48 -311
- package/mcp-docs/web/components/HStack.txt +49 -312
- package/mcp-docs/web/components/HeroSquare.txt +1 -1
- package/mcp-docs/web/components/Icon.txt +51 -51
- package/mcp-docs/web/components/IconButton.txt +51 -341
- package/mcp-docs/web/components/InputChip.txt +51 -51
- package/mcp-docs/web/components/Interactable.txt +48 -319
- package/mcp-docs/web/components/Legend.txt +62 -62
- package/mcp-docs/web/components/LineChart.txt +63 -63
- package/mcp-docs/web/components/Link.txt +48 -318
- package/mcp-docs/web/components/ListCell.txt +66 -325
- package/mcp-docs/web/components/Lottie.txt +49 -49
- package/mcp-docs/web/components/LottieStatusAnimation.txt +2 -2
- package/mcp-docs/web/components/MediaCard.txt +53 -53
- package/mcp-docs/web/components/MediaChip.txt +51 -51
- package/mcp-docs/web/components/MessagingCard.txt +54 -54
- package/mcp-docs/web/components/Modal.txt +51 -50
- package/mcp-docs/web/components/ModalBody.txt +49 -49
- package/mcp-docs/web/components/ModalFooter.txt +49 -49
- package/mcp-docs/web/components/ModalHeader.txt +50 -50
- package/mcp-docs/web/components/MultiContentModule.txt +55 -316
- package/mcp-docs/web/components/NavigationBar.txt +53 -53
- package/mcp-docs/web/components/NavigationTitle.txt +103 -0
- package/mcp-docs/web/components/NavigationTitleSelect.txt +48 -48
- package/mcp-docs/web/components/NudgeCard.txt +53 -53
- package/mcp-docs/web/components/Overlay.txt +49 -49
- package/mcp-docs/web/components/PageFooter.txt +54 -48
- package/mcp-docs/web/components/PageHeader.txt +58 -52
- package/mcp-docs/web/components/Pagination.txt +49 -49
- package/mcp-docs/web/components/PercentageBarChart.txt +58 -58
- package/mcp-docs/web/components/PeriodSelector.txt +62 -62
- package/mcp-docs/web/components/Pictogram.txt +1 -1
- package/mcp-docs/web/components/Point.txt +5 -14
- package/mcp-docs/web/components/PopoverPanel.txt +1 -1
- package/mcp-docs/web/components/PortalProvider.txt +2 -2
- package/mcp-docs/web/components/Pressable.txt +48 -319
- package/mcp-docs/web/components/ProgressBar.txt +1 -1
- package/mcp-docs/web/components/ProgressCircle.txt +2 -2
- package/mcp-docs/web/components/Radio.txt +9 -7
- package/mcp-docs/web/components/RadioCell.txt +52 -52
- package/mcp-docs/web/components/RadioGroup.txt +3 -3
- package/mcp-docs/web/components/ReferenceLine.txt +2 -2
- package/mcp-docs/web/components/RemoteImage.txt +48 -48
- package/mcp-docs/web/components/RemoteImageGroup.txt +3 -3
- package/mcp-docs/web/components/RollingNumber.txt +51 -313
- package/mcp-docs/web/components/Scrubber.txt +2 -2
- package/mcp-docs/web/components/SearchInput.txt +56 -56
- package/mcp-docs/web/components/SectionHeader.txt +55 -55
- package/mcp-docs/web/components/SegmentedControl.txt +1 -1
- package/mcp-docs/web/components/SegmentedTabs.txt +49 -49
- package/mcp-docs/web/components/Select.txt +3 -3
- package/mcp-docs/web/components/SelectAlpha.txt +8 -8
- package/mcp-docs/web/components/SelectChip.txt +55 -55
- package/mcp-docs/web/components/SelectChipAlpha.txt +8 -8
- package/mcp-docs/web/components/SelectOption.txt +56 -56
- package/mcp-docs/web/components/Sidebar.txt +66 -56
- package/mcp-docs/web/components/SidebarItem.txt +10 -111
- package/mcp-docs/web/components/SidebarMoreMenu.txt +2 -2
- package/mcp-docs/web/components/Spacer.txt +55 -318
- package/mcp-docs/web/components/Sparkline.txt +3 -3
- package/mcp-docs/web/components/SparklineGradient.txt +3 -3
- package/mcp-docs/web/components/SparklineInteractive.txt +4 -4
- package/mcp-docs/web/components/SparklineInteractiveHeader.txt +4 -4
- package/mcp-docs/web/components/Spinner.txt +49 -49
- package/mcp-docs/web/components/SpotIcon.txt +1 -1
- package/mcp-docs/web/components/SpotRectangle.txt +1 -1
- package/mcp-docs/web/components/SpotSquare.txt +1 -1
- package/mcp-docs/web/components/Stepper.txt +53 -53
- package/mcp-docs/web/components/Switch.txt +21 -7
- package/mcp-docs/web/components/TabIndicator.txt +1 -1
- package/mcp-docs/web/components/TabLabel.txt +50 -50
- package/mcp-docs/web/components/TabNavigation.txt +48 -48
- package/mcp-docs/web/components/TabbedChips.txt +49 -49
- package/mcp-docs/web/components/TabbedChipsAlpha.txt +49 -49
- package/mcp-docs/web/components/Table.txt +4 -4
- package/mcp-docs/web/components/TableCaption.txt +1 -1
- package/mcp-docs/web/components/TableCell.txt +2 -2
- package/mcp-docs/web/components/TableRow.txt +1 -1
- package/mcp-docs/web/components/Tabs.txt +49 -49
- package/mcp-docs/web/components/Tag.txt +52 -52
- package/mcp-docs/web/components/Text.txt +49 -312
- package/mcp-docs/web/components/TextInput.txt +56 -56
- package/mcp-docs/web/components/ThemeProvider.txt +24 -4
- package/mcp-docs/web/components/TileButton.txt +48 -318
- package/mcp-docs/web/components/Toast.txt +51 -51
- package/mcp-docs/web/components/Tooltip.txt +3 -3
- package/mcp-docs/web/components/Tray.txt +2 -2
- package/mcp-docs/web/components/UpsellCard.txt +15 -14
- package/mcp-docs/web/components/VStack.txt +49 -312
- package/mcp-docs/web/components/XAxis.txt +1 -1
- package/mcp-docs/web/components/YAxis.txt +1 -1
- package/mcp-docs/web/getting-started/installation.txt +13 -5
- package/mcp-docs/web/hooks/useMergeRefs.txt +5 -5
- package/mcp-docs/web/routes.txt +1 -1
- package/package.json +1 -1
|
@@ -361,12 +361,12 @@ function AccessibilityExample() {
|
|
|
361
361
|
| --- | --- | --- | --- | --- |
|
|
362
362
|
| `Component` | `symbol \| object \| style \| title \| div \| a \| abbr \| address \| area \| article \| aside \| audio \| b \| base \| bdi \| bdo \| big \| blockquote \| body \| br \| button \| canvas \| caption \| center \| cite \| code \| col \| colgroup \| data \| datalist \| dd \| del \| details \| dfn \| dialog \| dl \| dt \| em \| embed \| fieldset \| figcaption \| figure \| footer \| form \| h1 \| h2 \| h3 \| h4 \| h5 \| h6 \| head \| header \| hgroup \| hr \| html \| i \| iframe \| img \| input \| ins \| kbd \| keygen \| label \| legend \| li \| link \| main \| map \| mark \| menu \| menuitem \| meta \| meter \| nav \| noindex \| noscript \| ol \| optgroup \| option \| output \| p \| param \| picture \| pre \| progress \| q \| rp \| rt \| ruby \| s \| samp \| search \| slot \| script \| section \| select \| small \| source \| span \| strong \| sub \| summary \| sup \| table \| template \| tbody \| td \| textarea \| tfoot \| th \| thead \| time \| tr \| track \| u \| ul \| var \| video \| wbr \| webview \| svg \| animate \| animateMotion \| animateTransform \| circle \| clipPath \| defs \| desc \| ellipse \| feBlend \| feColorMatrix \| feComponentTransfer \| feComposite \| feConvolveMatrix \| feDiffuseLighting \| feDisplacementMap \| feDistantLight \| feDropShadow \| feFlood \| feFuncA \| feFuncB \| feFuncG \| feFuncR \| feGaussianBlur \| feImage \| feMerge \| feMergeNode \| feMorphology \| feOffset \| fePointLight \| feSpecularLighting \| feSpotLight \| feTile \| feTurbulence \| filter \| foreignObject \| g \| image \| line \| linearGradient \| marker \| mask \| metadata \| mpath \| path \| pattern \| polygon \| polyline \| radialGradient \| rect \| set \| stop \| switch \| text \| textPath \| tspan \| use \| view \| ComponentClass<CustomSidebarItemProps, any> \| FunctionComponent<CustomSidebarItemProps>` | No | `-` | Optional presentational component to render for the SidebarItem. By default, the SidebarItem will render as a row with an Icon and Headline Text element The component must implement the CustomSidebarItemProps props interface |
|
|
363
363
|
| `active` | `boolean` | No | `false` | Use the active prop to identify the current page |
|
|
364
|
-
| `borderRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000
|
|
364
|
+
| `borderRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000 \| ResponsiveValue<BorderRadius \| undefined>` | No | `-` | - |
|
|
365
365
|
| `disablePortal` | `boolean` | No | `-` | Does not render the Dropdown inside of a portal (react-dom createPortal). Portal is automatically disabled for SSR |
|
|
366
366
|
| `onBlur` | `(() => void)` | No | `-` | Callback that fires when Dropdown or trigger are blurred |
|
|
367
367
|
| `onChange` | `Dispatch<SetStateAction<string>> \| ((newValue: string) => void)` | No | `-` | Callback that is fired whenever an option is selected |
|
|
368
368
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
369
|
-
| `tooltipContent` | `null \| string \| number \| false \| true \| ReactElement<
|
|
369
|
+
| `tooltipContent` | `null \| string \| number \| bigint \| false \| true \| ReactElement<unknown, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal \| Promise<AwaitedReactNode>` | No | `-` | Label or content to display when Sidebar is collapsed and sidebar more menu is hovered |
|
|
370
370
|
| `triggerTitle` | `string` | No | `More` | Title of the menu trigger. Use this prop to localize the trigger title. |
|
|
371
371
|
| `value` | `string` | No | `-` | Default selected value, or preselected value |
|
|
372
372
|
|
|
@@ -70,82 +70,23 @@ import { Spacer } from '@coinbase/cds-web/layout/Spacer'
|
|
|
70
70
|
|
|
71
71
|
| Prop | Type | Required | Default | Description |
|
|
72
72
|
| --- | --- | --- | --- | --- |
|
|
73
|
-
| `about` | `string \| undefined` | No | `-` | - |
|
|
74
|
-
| `accessKey` | `string \| undefined` | No | `-` | - |
|
|
75
73
|
| `alignContent` | `ResponsiveProp<center \| normal \| start \| end \| flex-start \| flex-end \| stretch \| baseline \| first baseline \| last baseline \| space-between \| space-around \| space-evenly>` | No | `-` | - |
|
|
76
74
|
| `alignItems` | `ResponsiveProp<center \| normal \| start \| end \| flex-start \| flex-end \| self-start \| self-end \| stretch \| baseline \| first baseline \| last baseline>` | No | `-` | - |
|
|
77
75
|
| `alignSelf` | `ResponsiveProp<center \| normal \| auto \| start \| end \| flex-start \| flex-end \| self-start \| self-end \| stretch \| baseline \| first baseline \| last baseline>` | No | `-` | - |
|
|
78
|
-
| `
|
|
79
|
-
| `
|
|
80
|
-
| `
|
|
81
|
-
| `
|
|
82
|
-
| `
|
|
83
|
-
| `
|
|
84
|
-
| `
|
|
85
|
-
| `
|
|
86
|
-
| `
|
|
87
|
-
| `
|
|
88
|
-
| `
|
|
89
|
-
| `
|
|
90
|
-
| `
|
|
91
|
-
| `
|
|
92
|
-
| `aria-description` | `string \| undefined` | No | `-` | Defines a string value that describes or annotates the current element. |
|
|
93
|
-
| `aria-details` | `string \| undefined` | No | `-` | Identifies the element that provides a detailed, extended description for the object. |
|
|
94
|
-
| `aria-disabled` | `Booleanish \| undefined` | No | `-` | Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. |
|
|
95
|
-
| `aria-dropeffect` | `link \| none \| copy \| execute \| move \| popup \| undefined` | No | `-` | Indicates what functions can be performed when a dragged object is released on the drop target. |
|
|
96
|
-
| `aria-errormessage` | `string \| undefined` | No | `-` | Identifies the element that provides an error message for the object. |
|
|
97
|
-
| `aria-expanded` | `Booleanish \| undefined` | No | `-` | Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. |
|
|
98
|
-
| `aria-flowto` | `string \| undefined` | No | `-` | Identifies the next element (or elements) in an alternate reading order of content which, at the users discretion, allows assistive technology to override the general default of reading in document source order. |
|
|
99
|
-
| `aria-grabbed` | `Booleanish \| undefined` | No | `-` | Indicates an elements grabbed state in a drag-and-drop operation. |
|
|
100
|
-
| `aria-haspopup` | `boolean \| grid \| dialog \| menu \| true \| false \| listbox \| tree \| undefined` | No | `-` | Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. |
|
|
101
|
-
| `aria-hidden` | `Booleanish \| undefined` | No | `-` | Indicates whether the element is exposed to an accessibility API. |
|
|
102
|
-
| `aria-invalid` | `boolean \| true \| false \| grammar \| spelling \| undefined` | No | `-` | Indicates the entered value does not conform to the format expected by the application. |
|
|
103
|
-
| `aria-keyshortcuts` | `string \| undefined` | No | `-` | Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. |
|
|
104
|
-
| `aria-label` | `string \| undefined` | No | `-` | Defines a string value that labels the current element. |
|
|
105
|
-
| `aria-labelledby` | `string \| undefined` | No | `-` | Identifies the element (or elements) that labels the current element. |
|
|
106
|
-
| `aria-level` | `number \| undefined` | No | `-` | Defines the hierarchical level of an element within a structure. |
|
|
107
|
-
| `aria-live` | `off \| assertive \| polite \| undefined` | No | `-` | Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. |
|
|
108
|
-
| `aria-modal` | `Booleanish \| undefined` | No | `-` | Indicates whether an element is modal when displayed. |
|
|
109
|
-
| `aria-multiline` | `Booleanish \| undefined` | No | `-` | Indicates whether a text box accepts multiple lines of input or only a single line. |
|
|
110
|
-
| `aria-multiselectable` | `Booleanish \| undefined` | No | `-` | Indicates that the user may select more than one item from the current selectable descendants. |
|
|
111
|
-
| `aria-orientation` | `horizontal \| vertical \| undefined` | No | `-` | Indicates whether the elements orientation is horizontal, vertical, or unknown/ambiguous. |
|
|
112
|
-
| `aria-owns` | `string \| undefined` | No | `-` | Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. |
|
|
113
|
-
| `aria-placeholder` | `string \| undefined` | No | `-` | Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format. |
|
|
114
|
-
| `aria-posinset` | `number \| undefined` | No | `-` | Defines an elements number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. |
|
|
115
|
-
| `aria-pressed` | `boolean \| true \| false \| mixed \| undefined` | No | `-` | Indicates the current pressed state of toggle buttons. |
|
|
116
|
-
| `aria-readonly` | `Booleanish \| undefined` | No | `-` | Indicates that the element is not editable, but is otherwise operable. |
|
|
117
|
-
| `aria-relevant` | `text \| all \| additions \| additions removals \| additions text \| removals \| removals additions \| removals text \| text additions \| text removals \| undefined` | No | `-` | Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. |
|
|
118
|
-
| `aria-required` | `Booleanish \| undefined` | No | `-` | Indicates that user input is required on the element before a form may be submitted. |
|
|
119
|
-
| `aria-roledescription` | `string \| undefined` | No | `-` | Defines a human-readable, author-localized description for the role of an element. |
|
|
120
|
-
| `aria-rowcount` | `number \| undefined` | No | `-` | Defines the total number of rows in a table, grid, or treegrid. |
|
|
121
|
-
| `aria-rowindex` | `number \| undefined` | No | `-` | Defines an elements row index or position with respect to the total number of rows within a table, grid, or treegrid. |
|
|
122
|
-
| `aria-rowindextext` | `string \| undefined` | No | `-` | Defines a human readable text alternative of aria-rowindex. |
|
|
123
|
-
| `aria-rowspan` | `number \| undefined` | No | `-` | Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. |
|
|
124
|
-
| `aria-selected` | `Booleanish \| undefined` | No | `-` | Indicates the current selected state of various widgets. |
|
|
125
|
-
| `aria-setsize` | `number \| undefined` | No | `-` | Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. |
|
|
126
|
-
| `aria-sort` | `none \| ascending \| descending \| other \| undefined` | No | `-` | Indicates if items in a table or grid are sorted in ascending or descending order. |
|
|
127
|
-
| `aria-valuemax` | `number \| undefined` | No | `-` | Defines the maximum allowed value for a range widget. |
|
|
128
|
-
| `aria-valuemin` | `number \| undefined` | No | `-` | Defines the minimum allowed value for a range widget. |
|
|
129
|
-
| `aria-valuenow` | `number \| undefined` | No | `-` | Defines the current value for a range widget. |
|
|
130
|
-
| `aria-valuetext` | `string \| undefined` | No | `-` | Defines the human readable text alternative of aria-valuenow for a range widget. |
|
|
131
|
-
| `as` | `symbol \| object \| style \| div \| a \| abbr \| address \| area \| article \| aside \| audio \| b \| base \| bdi \| bdo \| big \| blockquote \| body \| br \| button \| canvas \| caption \| center \| cite \| code \| col \| colgroup \| data \| datalist \| dd \| del \| details \| dfn \| dialog \| dl \| dt \| em \| embed \| fieldset \| figcaption \| figure \| footer \| form \| h1 \| h2 \| h3 \| h4 \| h5 \| h6 \| head \| header \| hgroup \| hr \| html \| i \| iframe \| img \| input \| ins \| kbd \| keygen \| label \| legend \| li \| link \| main \| map \| mark \| menu \| menuitem \| meta \| meter \| nav \| noindex \| noscript \| ol \| optgroup \| option \| output \| p \| param \| picture \| pre \| progress \| q \| rp \| rt \| ruby \| s \| samp \| search \| slot \| script \| section \| select \| small \| source \| span \| strong \| sub \| summary \| sup \| table \| template \| tbody \| td \| textarea \| tfoot \| th \| thead \| time \| title \| tr \| track \| u \| ul \| var \| video \| wbr \| webview \| svg \| animate \| animateMotion \| animateTransform \| circle \| clipPath \| defs \| desc \| ellipse \| feBlend \| feColorMatrix \| feComponentTransfer \| feComposite \| feConvolveMatrix \| feDiffuseLighting \| feDisplacementMap \| feDistantLight \| feDropShadow \| feFlood \| feFuncA \| feFuncB \| feFuncG \| feFuncR \| feGaussianBlur \| feImage \| feMerge \| feMergeNode \| feMorphology \| feOffset \| fePointLight \| feSpecularLighting \| feSpotLight \| feTile \| feTurbulence \| filter \| foreignObject \| g \| image \| line \| linearGradient \| marker \| mask \| metadata \| mpath \| path \| pattern \| polygon \| polyline \| radialGradient \| rect \| set \| stop \| switch \| text \| textPath \| tspan \| use \| view \| ComponentClass<any, any> \| FunctionComponent<any>` | No | `span` | The underlying element or component the polymorphic component will render. Changing as also changes the inherited native props (e.g. href for as=a) and the expected ref type. |
|
|
132
|
-
| `aspectRatio` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
133
|
-
| `autoCapitalize` | `(string & {}) \| none \| off \| on \| sentences \| words \| characters \| undefined` | No | `-` | - |
|
|
134
|
-
| `autoCorrect` | `string \| undefined` | No | `-` | - |
|
|
135
|
-
| `autoFocus` | `boolean \| undefined` | No | `-` | - |
|
|
136
|
-
| `autoSave` | `string \| undefined` | No | `-` | - |
|
|
137
|
-
| `background` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | - |
|
|
138
|
-
| `borderBottomLeftRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
139
|
-
| `borderBottomRightRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
140
|
-
| `borderBottomWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - |
|
|
141
|
-
| `borderColor` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | - |
|
|
142
|
-
| `borderEndWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - |
|
|
143
|
-
| `borderRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
144
|
-
| `borderStartWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - |
|
|
145
|
-
| `borderTopLeftRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
146
|
-
| `borderTopRightRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
147
|
-
| `borderTopWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - |
|
|
148
|
-
| `borderWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - |
|
|
76
|
+
| `as` | `symbol \| object \| style \| ComponentClass<any, any> \| FunctionComponent<any> \| title \| div \| a \| abbr \| address \| area \| article \| aside \| audio \| b \| base \| bdi \| bdo \| big \| blockquote \| body \| br \| button \| canvas \| caption \| center \| cite \| code \| col \| colgroup \| data \| datalist \| dd \| del \| details \| dfn \| dialog \| dl \| dt \| em \| embed \| fieldset \| figcaption \| figure \| footer \| form \| h1 \| h2 \| h3 \| h4 \| h5 \| h6 \| head \| header \| hgroup \| hr \| html \| i \| iframe \| img \| input \| ins \| kbd \| keygen \| label \| legend \| li \| link \| main \| map \| mark \| menu \| menuitem \| meta \| meter \| nav \| noindex \| noscript \| ol \| optgroup \| option \| output \| p \| param \| picture \| pre \| progress \| q \| rp \| rt \| ruby \| s \| samp \| search \| slot \| script \| section \| select \| small \| source \| span \| strong \| sub \| summary \| sup \| table \| template \| tbody \| td \| textarea \| tfoot \| th \| thead \| time \| tr \| track \| u \| ul \| var \| video \| wbr \| webview \| svg \| animate \| animateMotion \| animateTransform \| circle \| clipPath \| defs \| desc \| ellipse \| feBlend \| feColorMatrix \| feComponentTransfer \| feComposite \| feConvolveMatrix \| feDiffuseLighting \| feDisplacementMap \| feDistantLight \| feDropShadow \| feFlood \| feFuncA \| feFuncB \| feFuncG \| feFuncR \| feGaussianBlur \| feImage \| feMerge \| feMergeNode \| feMorphology \| feOffset \| fePointLight \| feSpecularLighting \| feSpotLight \| feTile \| feTurbulence \| filter \| foreignObject \| g \| image \| line \| linearGradient \| marker \| mask \| metadata \| mpath \| path \| pattern \| polygon \| polyline \| radialGradient \| rect \| set \| stop \| switch \| text \| textPath \| tspan \| use \| view` | No | `-` | The underlying element or component the polymorphic component will render. Changing as also changes the inherited native props (e.g. href for as=a) and the expected ref type. |
|
|
77
|
+
| `aspectRatio` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto \| ResponsiveValue<AspectRatio \| undefined>` | No | `-` | - |
|
|
78
|
+
| `background` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent \| ResponsiveValue<Color \| undefined>` | No | `-` | - |
|
|
79
|
+
| `borderBottomLeftRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000 \| ResponsiveValue<BorderRadius \| undefined>` | No | `-` | - |
|
|
80
|
+
| `borderBottomRightRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000 \| ResponsiveValue<BorderRadius \| undefined>` | No | `-` | - |
|
|
81
|
+
| `borderBottomWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| ResponsiveValue<BorderWidth \| undefined>` | No | `-` | - |
|
|
82
|
+
| `borderColor` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent \| ResponsiveValue<Color \| undefined>` | No | `-` | - |
|
|
83
|
+
| `borderEndWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| ResponsiveValue<BorderWidth \| undefined>` | No | `-` | - |
|
|
84
|
+
| `borderRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000 \| ResponsiveValue<BorderRadius \| undefined>` | No | `-` | - |
|
|
85
|
+
| `borderStartWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| ResponsiveValue<BorderWidth \| undefined>` | No | `-` | - |
|
|
86
|
+
| `borderTopLeftRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000 \| ResponsiveValue<BorderRadius \| undefined>` | No | `-` | - |
|
|
87
|
+
| `borderTopRightRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000 \| ResponsiveValue<BorderRadius \| undefined>` | No | `-` | - |
|
|
88
|
+
| `borderTopWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| ResponsiveValue<BorderWidth \| undefined>` | No | `-` | - |
|
|
89
|
+
| `borderWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| ResponsiveValue<BorderWidth \| undefined>` | No | `-` | - |
|
|
149
90
|
| `bordered` | `boolean` | No | `-` | Add a border around all sides of the box. |
|
|
150
91
|
| `borderedBottom` | `boolean` | No | `-` | Add a border to the bottom side of the box. |
|
|
151
92
|
| `borderedEnd` | `boolean` | No | `-` | Add a border to the trailing side of the box. |
|
|
@@ -154,285 +95,81 @@ import { Spacer } from '@coinbase/cds-web/layout/Spacer'
|
|
|
154
95
|
| `borderedTop` | `boolean` | No | `-` | Add a border to the top side of the box. |
|
|
155
96
|
| `borderedVertical` | `boolean` | No | `-` | Add a border to the top and bottom sides of the box. |
|
|
156
97
|
| `bottom` | `ResponsiveProp<Bottom<string \| number>>` | No | `-` | - |
|
|
157
|
-
| `
|
|
158
|
-
| `
|
|
159
|
-
| `color` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | - |
|
|
160
|
-
| `columnGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
161
|
-
| `content` | `string \| undefined` | No | `-` | - |
|
|
162
|
-
| `contentEditable` | `inherit \| Booleanish \| plaintext-only \| undefined` | No | `-` | - |
|
|
163
|
-
| `contextMenu` | `string \| undefined` | No | `-` | - |
|
|
98
|
+
| `color` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent \| ResponsiveValue<Color \| undefined>` | No | `-` | - |
|
|
99
|
+
| `columnGap` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
164
100
|
| `dangerouslySetBackground` | `string` | No | `-` | - |
|
|
165
|
-
| `dangerouslySetInnerHTML` | `{ __html: string \| TrustedHTML; } \| undefined` | No | `-` | - |
|
|
166
|
-
| `datatype` | `string \| undefined` | No | `-` | - |
|
|
167
|
-
| `defaultChecked` | `boolean \| undefined` | No | `-` | - |
|
|
168
|
-
| `defaultValue` | `string \| number \| readonly string[] \| undefined` | No | `-` | - |
|
|
169
|
-
| `dir` | `string \| undefined` | No | `-` | - |
|
|
170
101
|
| `display` | `ResponsiveProp<grid \| revert \| none \| block \| inline \| inline-block \| flex \| inline-flex \| inline-grid \| contents \| flow-root \| list-item>` | No | `-` | - |
|
|
171
|
-
| `
|
|
172
|
-
| `elevation` | `0 \| 1 \| 2` | No | `-` | - |
|
|
173
|
-
| `enterKeyHint` | `search \| enter \| done \| go \| next \| previous \| send \| undefined` | No | `-` | - |
|
|
102
|
+
| `elevation` | `0 \| 1 \| 2 \| ResponsiveValue<Elevation \| undefined>` | No | `-` | - |
|
|
174
103
|
| `flexBasis` | `ResponsiveProp<FlexBasis<string \| number>>` | No | `-` | - |
|
|
175
104
|
| `flexDirection` | `ResponsiveProp<column \| row \| row-reverse \| column-reverse>` | No | `-` | - |
|
|
176
|
-
| `flexGrow` |
|
|
177
|
-
| `flexShrink` |
|
|
105
|
+
| `flexGrow` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| ResponsiveValue<FlexGrow \| undefined>` | No | `-` | - |
|
|
106
|
+
| `flexShrink` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| ResponsiveValue<FlexShrink \| undefined>` | No | `-` | - |
|
|
178
107
|
| `flexWrap` | `ResponsiveProp<nowrap \| wrap \| wrap-reverse>` | No | `-` | - |
|
|
179
108
|
| `font` | `ResponsiveProp<FontFamily \| inherit>` | No | `-` | - |
|
|
180
109
|
| `fontFamily` | `ResponsiveProp<FontFamily \| inherit>` | No | `-` | - |
|
|
181
110
|
| `fontSize` | `ResponsiveProp<FontSize \| inherit>` | No | `-` | - |
|
|
182
111
|
| `fontWeight` | `ResponsiveProp<FontWeight \| inherit>` | No | `-` | - |
|
|
183
|
-
| `gap` | `0 \| 1 \|
|
|
184
|
-
| `grid` |
|
|
185
|
-
| `gridArea` |
|
|
112
|
+
| `gap` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
113
|
+
| `grid` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| none \| ResponsiveValue<Grid \| undefined>` | No | `-` | - |
|
|
114
|
+
| `gridArea` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto \| ResponsiveValue<GridArea \| undefined>` | No | `-` | - |
|
|
186
115
|
| `gridAutoColumns` | `ResponsiveProp<GridAutoColumns<string \| number>>` | No | `-` | - |
|
|
187
|
-
| `gridAutoFlow` |
|
|
116
|
+
| `gridAutoFlow` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| column \| dense \| row \| ResponsiveValue<GridAutoFlow \| undefined>` | No | `-` | - |
|
|
188
117
|
| `gridAutoRows` | `ResponsiveProp<GridAutoRows<string \| number>>` | No | `-` | - |
|
|
189
|
-
| `gridColumn` |
|
|
190
|
-
| `gridColumnEnd` |
|
|
191
|
-
| `gridColumnStart` |
|
|
192
|
-
| `gridRow` |
|
|
193
|
-
| `gridRowEnd` |
|
|
194
|
-
| `gridRowStart` |
|
|
195
|
-
| `gridTemplate` |
|
|
196
|
-
| `gridTemplateAreas` |
|
|
118
|
+
| `gridColumn` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto \| ResponsiveValue<GridColumn \| undefined>` | No | `-` | - |
|
|
119
|
+
| `gridColumnEnd` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto \| ResponsiveValue<GridColumnEnd \| undefined>` | No | `-` | - |
|
|
120
|
+
| `gridColumnStart` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto \| ResponsiveValue<GridColumnStart \| undefined>` | No | `-` | - |
|
|
121
|
+
| `gridRow` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto \| ResponsiveValue<GridRow \| undefined>` | No | `-` | - |
|
|
122
|
+
| `gridRowEnd` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto \| ResponsiveValue<GridRowEnd \| undefined>` | No | `-` | - |
|
|
123
|
+
| `gridRowStart` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto \| ResponsiveValue<GridRowStart \| undefined>` | No | `-` | - |
|
|
124
|
+
| `gridTemplate` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| none \| ResponsiveValue<GridTemplate \| undefined>` | No | `-` | - |
|
|
125
|
+
| `gridTemplateAreas` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| none \| ResponsiveValue<GridTemplateAreas \| undefined>` | No | `-` | - |
|
|
197
126
|
| `gridTemplateColumns` | `ResponsiveProp<GridTemplateColumns<string \| number>>` | No | `-` | - |
|
|
198
127
|
| `gridTemplateRows` | `ResponsiveProp<GridTemplateRows<string \| number>>` | No | `-` | - |
|
|
199
128
|
| `height` | `ResponsiveProp<Height<string \| number>>` | No | `-` | - |
|
|
200
|
-
| `
|
|
201
|
-
| `horizontal` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | Space in the horizontal direction |
|
|
202
|
-
| `id` | `string \| undefined` | No | `-` | - |
|
|
203
|
-
| `inlist` | `any` | No | `-` | - |
|
|
204
|
-
| `inputMode` | `search \| text \| none \| tel \| url \| email \| numeric \| decimal \| undefined` | No | `-` | Hints at the type of data that might be entered by the user while editing the element or its contents |
|
|
205
|
-
| `is` | `string \| undefined` | No | `-` | Specify that a standard HTML element should behave like a defined custom built-in element |
|
|
206
|
-
| `itemID` | `string \| undefined` | No | `-` | - |
|
|
207
|
-
| `itemProp` | `string \| undefined` | No | `-` | - |
|
|
208
|
-
| `itemRef` | `string \| undefined` | No | `-` | - |
|
|
209
|
-
| `itemScope` | `boolean \| undefined` | No | `-` | - |
|
|
210
|
-
| `itemType` | `string \| undefined` | No | `-` | - |
|
|
129
|
+
| `horizontal` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | Space in the horizontal direction |
|
|
211
130
|
| `justifyContent` | `ResponsiveProp<left \| right \| center \| normal \| start \| end \| flex-start \| flex-end \| stretch \| space-between \| space-around \| space-evenly>` | No | `-` | - |
|
|
212
|
-
| `key` | `Key \| null \| undefined` | No | `-` | - |
|
|
213
|
-
| `lang` | `string \| undefined` | No | `-` | - |
|
|
214
131
|
| `left` | `ResponsiveProp<Left<string \| number>>` | No | `-` | - |
|
|
215
132
|
| `lineHeight` | `ResponsiveProp<LineHeight \| inherit>` | No | `-` | - |
|
|
216
|
-
| `margin` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1
|
|
217
|
-
| `marginBottom` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1
|
|
218
|
-
| `marginEnd` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1
|
|
219
|
-
| `marginStart` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1
|
|
220
|
-
| `marginTop` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1
|
|
221
|
-
| `marginX` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1
|
|
222
|
-
| `marginY` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1
|
|
133
|
+
| `margin` | `ResponsiveProp<0 \| -1 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
134
|
+
| `marginBottom` | `ResponsiveProp<0 \| -1 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
135
|
+
| `marginEnd` | `ResponsiveProp<0 \| -1 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
136
|
+
| `marginStart` | `ResponsiveProp<0 \| -1 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
137
|
+
| `marginTop` | `ResponsiveProp<0 \| -1 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
138
|
+
| `marginX` | `ResponsiveProp<0 \| -1 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
139
|
+
| `marginY` | `ResponsiveProp<0 \| -1 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
223
140
|
| `maxHeight` | `ResponsiveProp<MaxHeight<string \| number>>` | No | `-` | - |
|
|
224
|
-
| `maxHorizontal` | `0 \| 1 \| 2 \|
|
|
225
|
-
| `maxVertical` | `0 \| 1 \| 2 \|
|
|
141
|
+
| `maxHorizontal` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | Max space in the horizontal direction |
|
|
142
|
+
| `maxVertical` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | Max space in the vertical direction |
|
|
226
143
|
| `maxWidth` | `ResponsiveProp<MaxWidth<string \| number>>` | No | `-` | - |
|
|
227
144
|
| `minHeight` | `ResponsiveProp<MinHeight<string \| number>>` | No | `-` | - |
|
|
228
|
-
| `minHorizontal` | `0 \| 1 \| 2 \|
|
|
229
|
-
| `minVertical` | `0 \| 1 \| 2 \|
|
|
145
|
+
| `minHorizontal` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | Min space in the horizontal direction |
|
|
146
|
+
| `minVertical` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | Min space in the vertical direction |
|
|
230
147
|
| `minWidth` | `ResponsiveProp<MinWidth<string \| number>>` | No | `-` | - |
|
|
231
|
-
| `
|
|
232
|
-
| `onAbort` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
233
|
-
| `onAbortCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
234
|
-
| `onAnimationEnd` | `AnimationEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
235
|
-
| `onAnimationEndCapture` | `AnimationEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
236
|
-
| `onAnimationIteration` | `AnimationEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
237
|
-
| `onAnimationIterationCapture` | `AnimationEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
238
|
-
| `onAnimationStart` | `AnimationEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
239
|
-
| `onAnimationStartCapture` | `AnimationEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
240
|
-
| `onAuxClick` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
241
|
-
| `onAuxClickCapture` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
242
|
-
| `onBeforeInput` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
243
|
-
| `onBeforeInputCapture` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
244
|
-
| `onBlur` | `FocusEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
245
|
-
| `onBlurCapture` | `FocusEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
246
|
-
| `onCanPlay` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
247
|
-
| `onCanPlayCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
248
|
-
| `onCanPlayThrough` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
249
|
-
| `onCanPlayThroughCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
250
|
-
| `onChange` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
251
|
-
| `onChangeCapture` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
252
|
-
| `onClick` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
253
|
-
| `onClickCapture` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
254
|
-
| `onCompositionEnd` | `CompositionEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
255
|
-
| `onCompositionEndCapture` | `CompositionEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
256
|
-
| `onCompositionStart` | `CompositionEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
257
|
-
| `onCompositionStartCapture` | `CompositionEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
258
|
-
| `onCompositionUpdate` | `CompositionEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
259
|
-
| `onCompositionUpdateCapture` | `CompositionEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
260
|
-
| `onContextMenu` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
261
|
-
| `onContextMenuCapture` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
262
|
-
| `onCopy` | `ClipboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
263
|
-
| `onCopyCapture` | `ClipboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
264
|
-
| `onCut` | `ClipboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
265
|
-
| `onCutCapture` | `ClipboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
266
|
-
| `onDoubleClick` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
267
|
-
| `onDoubleClickCapture` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
268
|
-
| `onDrag` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
269
|
-
| `onDragCapture` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
270
|
-
| `onDragEnd` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
271
|
-
| `onDragEndCapture` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
272
|
-
| `onDragEnter` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
273
|
-
| `onDragEnterCapture` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
274
|
-
| `onDragExit` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
275
|
-
| `onDragExitCapture` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
276
|
-
| `onDragLeave` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
277
|
-
| `onDragLeaveCapture` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
278
|
-
| `onDragOver` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
279
|
-
| `onDragOverCapture` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
280
|
-
| `onDragStart` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
281
|
-
| `onDragStartCapture` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
282
|
-
| `onDrop` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
283
|
-
| `onDropCapture` | `DragEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
284
|
-
| `onDurationChange` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
285
|
-
| `onDurationChangeCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
286
|
-
| `onEmptied` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
287
|
-
| `onEmptiedCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
288
|
-
| `onEncrypted` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
289
|
-
| `onEncryptedCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
290
|
-
| `onEnded` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
291
|
-
| `onEndedCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
292
|
-
| `onError` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
293
|
-
| `onErrorCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
294
|
-
| `onFocus` | `FocusEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
295
|
-
| `onFocusCapture` | `FocusEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
296
|
-
| `onGotPointerCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
297
|
-
| `onGotPointerCaptureCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
298
|
-
| `onInput` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
299
|
-
| `onInputCapture` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
300
|
-
| `onInvalid` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
301
|
-
| `onInvalidCapture` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
302
|
-
| `onKeyDown` | `KeyboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
303
|
-
| `onKeyDownCapture` | `KeyboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
304
|
-
| `onKeyPress` | `KeyboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
305
|
-
| `onKeyPressCapture` | `KeyboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
306
|
-
| `onKeyUp` | `KeyboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
307
|
-
| `onKeyUpCapture` | `KeyboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
308
|
-
| `onLoad` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
309
|
-
| `onLoadCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
310
|
-
| `onLoadStart` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
311
|
-
| `onLoadStartCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
312
|
-
| `onLoadedData` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
313
|
-
| `onLoadedDataCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
314
|
-
| `onLoadedMetadata` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
315
|
-
| `onLoadedMetadataCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
316
|
-
| `onLostPointerCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
317
|
-
| `onLostPointerCaptureCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
318
|
-
| `onMouseDown` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
319
|
-
| `onMouseDownCapture` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
320
|
-
| `onMouseEnter` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
321
|
-
| `onMouseLeave` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
322
|
-
| `onMouseMove` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
323
|
-
| `onMouseMoveCapture` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
324
|
-
| `onMouseOut` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
325
|
-
| `onMouseOutCapture` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
326
|
-
| `onMouseOver` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
327
|
-
| `onMouseOverCapture` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
328
|
-
| `onMouseUp` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
329
|
-
| `onMouseUpCapture` | `MouseEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
330
|
-
| `onPaste` | `ClipboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
331
|
-
| `onPasteCapture` | `ClipboardEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
332
|
-
| `onPause` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
333
|
-
| `onPauseCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
334
|
-
| `onPlay` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
335
|
-
| `onPlayCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
336
|
-
| `onPlaying` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
337
|
-
| `onPlayingCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
338
|
-
| `onPointerCancel` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
339
|
-
| `onPointerCancelCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
340
|
-
| `onPointerDown` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
341
|
-
| `onPointerDownCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
342
|
-
| `onPointerEnter` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
343
|
-
| `onPointerLeave` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
344
|
-
| `onPointerMove` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
345
|
-
| `onPointerMoveCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
346
|
-
| `onPointerOut` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
347
|
-
| `onPointerOutCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
348
|
-
| `onPointerOver` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
349
|
-
| `onPointerOverCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
350
|
-
| `onPointerUp` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
351
|
-
| `onPointerUpCapture` | `PointerEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
352
|
-
| `onProgress` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
353
|
-
| `onProgressCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
354
|
-
| `onRateChange` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
355
|
-
| `onRateChangeCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
356
|
-
| `onReset` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
357
|
-
| `onResetCapture` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
358
|
-
| `onResize` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
359
|
-
| `onResizeCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
360
|
-
| `onScroll` | `UIEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
361
|
-
| `onScrollCapture` | `UIEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
362
|
-
| `onSeeked` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
363
|
-
| `onSeekedCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
364
|
-
| `onSeeking` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
365
|
-
| `onSeekingCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
366
|
-
| `onSelect` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
367
|
-
| `onSelectCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
368
|
-
| `onStalled` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
369
|
-
| `onStalledCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
370
|
-
| `onSubmit` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
371
|
-
| `onSubmitCapture` | `FormEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
372
|
-
| `onSuspend` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
373
|
-
| `onSuspendCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
374
|
-
| `onTimeUpdate` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
375
|
-
| `onTimeUpdateCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
376
|
-
| `onTouchCancel` | `TouchEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
377
|
-
| `onTouchCancelCapture` | `TouchEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
378
|
-
| `onTouchEnd` | `TouchEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
379
|
-
| `onTouchEndCapture` | `TouchEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
380
|
-
| `onTouchMove` | `TouchEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
381
|
-
| `onTouchMoveCapture` | `TouchEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
382
|
-
| `onTouchStart` | `TouchEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
383
|
-
| `onTouchStartCapture` | `TouchEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
384
|
-
| `onTransitionEnd` | `TransitionEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
385
|
-
| `onTransitionEndCapture` | `TransitionEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
386
|
-
| `onVolumeChange` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
387
|
-
| `onVolumeChangeCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
388
|
-
| `onWaiting` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
389
|
-
| `onWaitingCapture` | `ReactEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
390
|
-
| `onWheel` | `WheelEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
391
|
-
| `onWheelCapture` | `WheelEventHandler<HTMLSpanElement> \| undefined` | No | `-` | - |
|
|
392
|
-
| `opacity` | `inherit \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
148
|
+
| `opacity` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| ResponsiveValue<Opacity \| undefined>` | No | `-` | - |
|
|
393
149
|
| `overflow` | `ResponsiveProp<hidden \| auto \| visible \| clip \| scroll>` | No | `-` | - |
|
|
394
|
-
| `padding` | `0 \| 1 \|
|
|
395
|
-
| `paddingBottom` | `0 \| 1 \|
|
|
396
|
-
| `paddingEnd` | `0 \| 1 \|
|
|
397
|
-
| `paddingStart` | `0 \| 1 \|
|
|
398
|
-
| `paddingTop` | `0 \| 1 \|
|
|
399
|
-
| `paddingX` | `0 \| 1 \|
|
|
400
|
-
| `paddingY` | `0 \| 1 \|
|
|
150
|
+
| `padding` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
151
|
+
| `paddingBottom` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
152
|
+
| `paddingEnd` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
153
|
+
| `paddingStart` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
154
|
+
| `paddingTop` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
155
|
+
| `paddingX` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
156
|
+
| `paddingY` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
401
157
|
| `pin` | `top \| bottom \| left \| right \| all` | No | `-` | Direction in which to absolutely pin the box. |
|
|
402
158
|
| `position` | `ResponsiveProp<fixed \| static \| relative \| absolute \| sticky>` | No | `-` | - |
|
|
403
|
-
| `prefix` | `string \| undefined` | No | `-` | - |
|
|
404
|
-
| `property` | `string \| undefined` | No | `-` | - |
|
|
405
|
-
| `radioGroup` | `string \| undefined` | No | `-` | - |
|
|
406
159
|
| `ref` | `any` | No | `-` | - |
|
|
407
|
-
| `rel` | `string \| undefined` | No | `-` | - |
|
|
408
|
-
| `resource` | `string \| undefined` | No | `-` | - |
|
|
409
|
-
| `results` | `number \| undefined` | No | `-` | - |
|
|
410
|
-
| `rev` | `string \| undefined` | No | `-` | - |
|
|
411
160
|
| `right` | `ResponsiveProp<Right<string \| number>>` | No | `-` | - |
|
|
412
|
-
| `
|
|
413
|
-
| `rowGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
414
|
-
| `security` | `string \| undefined` | No | `-` | - |
|
|
415
|
-
| `slot` | `string \| undefined` | No | `-` | - |
|
|
416
|
-
| `spellCheck` | `Booleanish \| undefined` | No | `-` | - |
|
|
161
|
+
| `rowGap` | `0 \| 1 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9 \| ResponsiveValue<Space \| undefined>` | No | `-` | - |
|
|
417
162
|
| `style` | `CSSProperties` | No | `-` | - |
|
|
418
|
-
| `suppressContentEditableWarning` | `boolean \| undefined` | No | `-` | - |
|
|
419
|
-
| `suppressHydrationWarning` | `boolean \| undefined` | No | `-` | - |
|
|
420
|
-
| `tabIndex` | `number \| undefined` | No | `-` | - |
|
|
421
163
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
422
164
|
| `textAlign` | `ResponsiveProp<center \| start \| end \| justify>` | No | `-` | - |
|
|
423
165
|
| `textDecoration` | `ResponsiveProp<none \| underline \| overline \| line-through \| underline overline \| underline double>` | No | `-` | - |
|
|
424
166
|
| `textTransform` | `ResponsiveProp<capitalize \| lowercase \| none \| uppercase>` | No | `-` | - |
|
|
425
|
-
| `title` | `string \| undefined` | No | `-` | - |
|
|
426
167
|
| `top` | `ResponsiveProp<Top<string \| number>>` | No | `-` | - |
|
|
427
|
-
| `transform` |
|
|
428
|
-
| `translate` | `yes \| no \| undefined` | No | `-` | - |
|
|
429
|
-
| `typeof` | `string \| undefined` | No | `-` | - |
|
|
430
|
-
| `unselectable` | `off \| on \| undefined` | No | `-` | - |
|
|
168
|
+
| `transform` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| none \| ResponsiveValue<Transform \| undefined>` | No | `-` | - |
|
|
431
169
|
| `userSelect` | `ResponsiveProp<text \| none \| auto \| all>` | No | `-` | - |
|
|
432
|
-
| `vertical` | `0 \| 1 \| 2 \|
|
|
170
|
+
| `vertical` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | Space in the vertical direction |
|
|
433
171
|
| `visibility` | `ResponsiveProp<hidden \| visible>` | No | `-` | - |
|
|
434
|
-
| `vocab` | `string \| undefined` | No | `-` | - |
|
|
435
172
|
| `width` | `ResponsiveProp<Width<string \| number>>` | No | `-` | - |
|
|
436
|
-
| `zIndex` |
|
|
173
|
+
| `zIndex` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto \| ResponsiveValue<ZIndex \| undefined>` | No | `-` | - |
|
|
437
174
|
|
|
438
175
|
|
|
@@ -7,7 +7,7 @@ A small line chart component for displaying data trends.
|
|
|
7
7
|
## Import
|
|
8
8
|
|
|
9
9
|
```tsx
|
|
10
|
-
import { Sparkline } from '@coinbase/cds-web
|
|
10
|
+
import { Sparkline } from '@coinbase/cds-web/visualizations/sparkline'
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Examples
|
|
@@ -60,7 +60,7 @@ function Example() {
|
|
|
60
60
|
return (
|
|
61
61
|
<VStack gap={2}>
|
|
62
62
|
{assetColors.map((background) => (
|
|
63
|
-
<VStack key={background}
|
|
63
|
+
<VStack key={background} style={{ backgroundColor: background }}>
|
|
64
64
|
<Sparkline {...dimensions} path={path} background={background} color="auto" />
|
|
65
65
|
</VStack>
|
|
66
66
|
))}
|
|
@@ -118,7 +118,7 @@ function Example() {
|
|
|
118
118
|
| `fillType` | `dotted \| gradient \| gradientDotted` | No | `'dotted'` | Type of fill to use for the area |
|
|
119
119
|
| `key` | `Key \| null` | No | `-` | - |
|
|
120
120
|
| `path` | `string` | No | `-` | Svg path as string. CDS offers a useSparklinePath which is useful to generate this string. This is accessible via import { useSparklinePath } from @coinbase/cds-common/visualizations/useSparklinePath;. Alternatively, you can use product tailored tooling to generate the SVG path. This component only requires a valid path string is provided. |
|
|
121
|
-
| `ref` | `(
|
|
121
|
+
| `ref` | `null \| RefObject<HTMLButtonElement \| null> \| (instance: HTMLButtonElement \| null) => void \| (() => VoidOrUndefinedOnly)` | No | `-` | Allows getting a ref to the component instance. Once the component unmounts, React will set ref.current to null (or call the ref with null if you passed a callback ref). |
|
|
122
122
|
| `strokeType` | `solid \| gradient` | No | `'solid'` | Type of stroke to use for the line |
|
|
123
123
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
124
124
|
| `yAxisScalingFactor` | `number` | No | `-` | Scales the sparkline to show more or less variance. Use a number less than 1 for less variance and a number greater than 1 for more variance. If you use a number greater than 1 it may clip the boundaries of the sparkline. |
|
|
@@ -7,7 +7,7 @@ A small line chart component with gradient fill below the line.
|
|
|
7
7
|
## Import
|
|
8
8
|
|
|
9
9
|
```tsx
|
|
10
|
-
import { SparklineGradient } from '@coinbase/cds-web
|
|
10
|
+
import { SparklineGradient } from '@coinbase/cds-web/visualizations/sparkline'
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Examples
|
|
@@ -39,7 +39,7 @@ function Example() {
|
|
|
39
39
|
return (
|
|
40
40
|
<VStack gap={2}>
|
|
41
41
|
{assetColors.map((background) => (
|
|
42
|
-
<VStack key={background}
|
|
42
|
+
<VStack key={background} style={{ backgroundColor: background }}>
|
|
43
43
|
<SparklineGradient {...dimensions} path={path} background={background} color="auto" />
|
|
44
44
|
</VStack>
|
|
45
45
|
))}
|
|
@@ -102,7 +102,7 @@ function Example() {
|
|
|
102
102
|
| `fillType` | `dotted \| gradient \| gradientDotted` | No | `'dotted'` | Type of fill to use for the area |
|
|
103
103
|
| `key` | `Key \| null` | No | `-` | - |
|
|
104
104
|
| `path` | `string` | No | `-` | Svg path as string. CDS offers a useSparklinePath which is useful to generate this string. This is accessible via import { useSparklinePath } from @coinbase/cds-common/visualizations/useSparklinePath;. Alternatively, you can use product tailored tooling to generate the SVG path. This component only requires a valid path string is provided. |
|
|
105
|
-
| `ref` | `(
|
|
105
|
+
| `ref` | `null \| RefObject<HTMLButtonElement \| null> \| (instance: HTMLButtonElement \| null) => void \| (() => VoidOrUndefinedOnly)` | No | `-` | Allows getting a ref to the component instance. Once the component unmounts, React will set ref.current to null (or call the ref with null if you passed a callback ref). |
|
|
106
106
|
| `strokeType` | `solid \| gradient` | No | `'solid'` | Type of stroke to use for the line |
|
|
107
107
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
108
108
|
| `yAxisScalingFactor` | `number` | No | `-` | Scales the sparkline to show more or less variance. Use a number less than 1 for less variance and a number greater than 1 for more variance. If you use a number greater than 1 it may clip the boundaries of the sparkline. |
|
|
@@ -7,7 +7,7 @@ The SparklineInteractive is used to display a Sparkline that has multiple time p
|
|
|
7
7
|
## Import
|
|
8
8
|
|
|
9
9
|
```tsx
|
|
10
|
-
import { SparklineInteractive } from '@coinbase/cds-web
|
|
10
|
+
import { SparklineInteractive } from '@coinbase/cds-web/visualizations/sparkline'
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Examples
|
|
@@ -477,13 +477,13 @@ You can also provide custom styles, such as to remove any horizontal padding fro
|
|
|
477
477
|
| `compact` | `boolean` | No | `false` | Show the chart in compact height |
|
|
478
478
|
| `data` | `Record<Period, ChartData>` | No | `-` | Chart data bucketed by Period. Period is a string key |
|
|
479
479
|
| `disableScrubbing` | `boolean` | No | `false` | Disables the scrub user interaction from the chart |
|
|
480
|
-
| `fallback` | `null \| string \| number \| false \| true \| ReactElement<
|
|
480
|
+
| `fallback` | `null \| string \| number \| bigint \| false \| true \| ReactElement<unknown, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal \| Promise<AwaitedReactNode>` | No | `-` | Fallback shown in the chart when data is not available. This is usually a loading state. |
|
|
481
481
|
| `fallbackType` | `positive \| negative` | No | `-` | If you use the default fallback then this specifies if the fallback line is decreasing or increasing |
|
|
482
482
|
| `fill` | `boolean` | No | `true` | Adds an area fill to the Sparkline |
|
|
483
483
|
| `fillType` | `dotted \| gradient` | No | `'gradient'` | Type of fill to use for the area |
|
|
484
484
|
| `formatHoverDate` | `((date: Date, period: Period) => string)` | No | `-` | Formats the date above the chart as you scrub. Omit this if you dont want to show the date as the user scrubs |
|
|
485
485
|
| `formatHoverPrice` | `((price: number) => string)` | No | `-` | Formats the price above the chart as you scrub. Omit this if you dont want to show the price as the user scrubs |
|
|
486
|
-
| `headerNode` | `null \| string \| number \| false \| true \| ReactElement<
|
|
486
|
+
| `headerNode` | `null \| string \| number \| bigint \| false \| true \| ReactElement<unknown, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal \| Promise<AwaitedReactNode>` | No | `-` | Adds a header node above the chart. It will be placed next to the period selector on web. |
|
|
487
487
|
| `headerTestID` | `string` | No | `-` | Test ID for the header |
|
|
488
488
|
| `hidePeriodSelector` | `boolean` | No | `false` | Hides the period selector at the bottom of the chart |
|
|
489
489
|
| `hoverData` | `Record<Period, ChartTimeseries[]>` | No | `-` | Optional data to show on hover/scrub instead of the original sparkline. This allows multiple timeseries lines. Period => timeseries list |
|
|
@@ -494,7 +494,7 @@ You can also provide custom styles, such as to remove any horizontal padding fro
|
|
|
494
494
|
| `periodSelectorPlacement` | `above \| below` | No | `-` | Optional placement prop that position the period selector component above or below the chart |
|
|
495
495
|
| `style` | `CSSProperties` | No | `-` | Custom styles for the root element. |
|
|
496
496
|
| `styles` | `{ header?: CSSProperties; root?: CSSProperties \| undefined; } \| undefined` | No | `-` | Custom styles for the component. |
|
|
497
|
-
| `timePeriodGutter` | `0 \| 1 \| 2 \|
|
|
497
|
+
| `timePeriodGutter` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | Optional gutter to add to the Period selector. This is useful if you choose to use the full screen width for the chart |
|
|
498
498
|
| `yAxisScalingFactor` | `number` | No | `-` | Scales the sparkline to show more or less variance. Use a number less than 1 for less variance and a number greater than 1 for more variance. If you use a number greater than 1 it may clip the boundaries of the sparkline. |
|
|
499
499
|
|
|
500
500
|
|