blend-native 0.0.1-beta.0 → 0.0.1-beta.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 +6 -1
- package/lib/commonjs/adapters/cssStringAdapter.js +104 -26
- package/lib/commonjs/adapters/cssStringAdapter.js.map +1 -1
- package/lib/commonjs/adapters/surfaceStyle.js +4 -3
- package/lib/commonjs/adapters/surfaceStyle.js.map +1 -1
- package/lib/commonjs/components/Accordion/Accordion.js +78 -0
- package/lib/commonjs/components/Accordion/Accordion.js.map +1 -0
- package/lib/commonjs/components/Accordion/AccordionItem.js +185 -0
- package/lib/commonjs/components/Accordion/AccordionItem.js.map +1 -0
- package/lib/commonjs/components/Accordion/accordion.context.js +17 -0
- package/lib/commonjs/components/Accordion/accordion.context.js.map +1 -0
- package/lib/commonjs/components/Accordion/accordion.types.js +6 -0
- package/lib/commonjs/components/Accordion/accordion.types.js.map +1 -0
- package/lib/commonjs/components/Accordion/index.js +21 -0
- package/lib/commonjs/components/Accordion/index.js.map +1 -0
- package/lib/commonjs/components/Avatar/Avatar.js +132 -0
- package/lib/commonjs/components/Avatar/Avatar.js.map +1 -0
- package/lib/commonjs/components/Avatar/avatar.types.js +6 -0
- package/lib/commonjs/components/Avatar/avatar.types.js.map +1 -0
- package/lib/commonjs/components/Avatar/avatar.utils.js +68 -0
- package/lib/commonjs/components/Avatar/avatar.utils.js.map +1 -0
- package/lib/commonjs/components/Avatar/index.js +33 -0
- package/lib/commonjs/components/Avatar/index.js.map +1 -0
- package/lib/commonjs/components/Badge/Badge.js +144 -0
- package/lib/commonjs/components/Badge/Badge.js.map +1 -0
- package/lib/commonjs/components/Badge/badge.types.js +6 -0
- package/lib/commonjs/components/Badge/badge.types.js.map +1 -0
- package/lib/commonjs/components/Badge/badge.utils.js +130 -0
- package/lib/commonjs/components/Badge/badge.utils.js.map +1 -0
- package/lib/commonjs/components/Badge/index.js +14 -0
- package/lib/commonjs/components/Badge/index.js.map +1 -0
- package/lib/commonjs/components/Breadcrumb/Breadcrumb.js +211 -0
- package/lib/commonjs/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/lib/commonjs/components/Breadcrumb/breadcrumb.types.js +6 -0
- package/lib/commonjs/components/Breadcrumb/breadcrumb.types.js.map +1 -0
- package/lib/commonjs/components/Breadcrumb/breadcrumb.utils.js +110 -0
- package/lib/commonjs/components/Breadcrumb/breadcrumb.utils.js.map +1 -0
- package/lib/commonjs/components/Breadcrumb/index.js +39 -0
- package/lib/commonjs/components/Breadcrumb/index.js.map +1 -0
- package/lib/commonjs/components/Button/Button.js +1 -4
- package/lib/commonjs/components/Button/Button.js.map +1 -1
- package/lib/commonjs/components/Button/ButtonGroup.js +37 -0
- package/lib/commonjs/components/Button/ButtonGroup.js.map +1 -0
- package/lib/commonjs/components/Button/IconButton.js +54 -0
- package/lib/commonjs/components/Button/IconButton.js.map +1 -0
- package/lib/commonjs/components/Button/LinkButton.js +31 -0
- package/lib/commonjs/components/Button/LinkButton.js.map +1 -0
- package/lib/commonjs/components/Button/index.js +21 -0
- package/lib/commonjs/components/Button/index.js.map +1 -1
- package/lib/commonjs/components/Card/Card.js +215 -0
- package/lib/commonjs/components/Card/Card.js.map +1 -0
- package/lib/commonjs/components/Card/card.types.js +6 -0
- package/lib/commonjs/components/Card/card.types.js.map +1 -0
- package/lib/commonjs/components/Card/index.js +14 -0
- package/lib/commonjs/components/Card/index.js.map +1 -0
- package/lib/commonjs/components/Chart/Chart.js +545 -0
- package/lib/commonjs/components/Chart/Chart.js.map +1 -0
- package/lib/commonjs/components/Chart/ChartContainer.js +36 -0
- package/lib/commonjs/components/Chart/ChartContainer.js.map +1 -0
- package/lib/commonjs/components/Chart/ChartHeader.js +41 -0
- package/lib/commonjs/components/Chart/ChartHeader.js.map +1 -0
- package/lib/commonjs/components/Chart/ChartLegend.js +105 -0
- package/lib/commonjs/components/Chart/ChartLegend.js.map +1 -0
- package/lib/commonjs/components/Chart/ChartNoData.js +53 -0
- package/lib/commonjs/components/Chart/ChartNoData.js.map +1 -0
- package/lib/commonjs/components/Chart/ChartSkeleton.js +38 -0
- package/lib/commonjs/components/Chart/ChartSkeleton.js.map +1 -0
- package/lib/commonjs/components/Chart/chart.types.js +77 -0
- package/lib/commonjs/components/Chart/chart.types.js.map +1 -0
- package/lib/commonjs/components/Chart/index.js +49 -0
- package/lib/commonjs/components/Chart/index.js.map +1 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js +132 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/commonjs/components/Checkbox/checkbox.types.js +6 -0
- package/lib/commonjs/components/Checkbox/checkbox.types.js.map +1 -0
- package/lib/commonjs/components/Checkbox/index.js +14 -0
- package/lib/commonjs/components/Checkbox/index.js.map +1 -0
- package/lib/commonjs/components/KeyValuePair/KeyValuePair.js +90 -0
- package/lib/commonjs/components/KeyValuePair/KeyValuePair.js.map +1 -0
- package/lib/commonjs/components/KeyValuePair/index.js +14 -0
- package/lib/commonjs/components/KeyValuePair/index.js.map +1 -0
- package/lib/commonjs/components/KeyValuePair/keyValuePair.types.js +6 -0
- package/lib/commonjs/components/KeyValuePair/keyValuePair.types.js.map +1 -0
- package/lib/commonjs/components/Menu/Menu.js +175 -0
- package/lib/commonjs/components/Menu/Menu.js.map +1 -0
- package/lib/commonjs/components/Menu/index.js +14 -0
- package/lib/commonjs/components/Menu/index.js.map +1 -0
- package/lib/commonjs/components/Menu/menu.types.js +6 -0
- package/lib/commonjs/components/Menu/menu.types.js.map +1 -0
- package/lib/commonjs/components/Menu/menu.utils.js +160 -0
- package/lib/commonjs/components/Menu/menu.utils.js.map +1 -0
- package/lib/commonjs/components/Modal/Modal.js +210 -0
- package/lib/commonjs/components/Modal/Modal.js.map +1 -0
- package/lib/commonjs/components/Modal/ModalFooter.js +64 -0
- package/lib/commonjs/components/Modal/ModalFooter.js.map +1 -0
- package/lib/commonjs/components/Modal/ModalHeader.js +85 -0
- package/lib/commonjs/components/Modal/ModalHeader.js.map +1 -0
- package/lib/commonjs/components/Modal/index.js +14 -0
- package/lib/commonjs/components/Modal/index.js.map +1 -0
- package/lib/commonjs/components/Modal/modal.types.js +6 -0
- package/lib/commonjs/components/Modal/modal.types.js.map +1 -0
- package/lib/commonjs/components/MultiSelect/MultiSelect.js +249 -0
- package/lib/commonjs/components/MultiSelect/MultiSelect.js.map +1 -0
- package/lib/commonjs/components/MultiSelect/MultiSelectMenuActions.js +51 -0
- package/lib/commonjs/components/MultiSelect/MultiSelectMenuActions.js.map +1 -0
- package/lib/commonjs/components/MultiSelect/MultiSelectMenuHeader.js +113 -0
- package/lib/commonjs/components/MultiSelect/MultiSelectMenuHeader.js.map +1 -0
- package/lib/commonjs/components/MultiSelect/MultiSelectTrigger.js +195 -0
- package/lib/commonjs/components/MultiSelect/MultiSelectTrigger.js.map +1 -0
- package/lib/commonjs/components/MultiSelect/index.js +14 -0
- package/lib/commonjs/components/MultiSelect/index.js.map +1 -0
- package/lib/commonjs/components/MultiSelect/multiSelect.types.js +6 -0
- package/lib/commonjs/components/MultiSelect/multiSelect.types.js.map +1 -0
- package/lib/commonjs/components/MultiSelect/multiSelect.utils.js +270 -0
- package/lib/commonjs/components/MultiSelect/multiSelect.utils.js.map +1 -0
- package/lib/commonjs/components/NumberInput/NumberInput.js +216 -0
- package/lib/commonjs/components/NumberInput/NumberInput.js.map +1 -0
- package/lib/commonjs/components/NumberInput/index.js +69 -0
- package/lib/commonjs/components/NumberInput/index.js.map +1 -0
- package/lib/commonjs/components/NumberInput/numberInput.types.js +6 -0
- package/lib/commonjs/components/NumberInput/numberInput.types.js.map +1 -0
- package/lib/commonjs/components/NumberInput/numberInput.utils.js +90 -0
- package/lib/commonjs/components/NumberInput/numberInput.utils.js.map +1 -0
- package/lib/commonjs/components/OTPInput/OTPInput.js +153 -0
- package/lib/commonjs/components/OTPInput/OTPInput.js.map +1 -0
- package/lib/commonjs/components/OTPInput/index.js +39 -0
- package/lib/commonjs/components/OTPInput/index.js.map +1 -0
- package/lib/commonjs/components/OTPInput/otpInput.types.js +6 -0
- package/lib/commonjs/components/OTPInput/otpInput.types.js.map +1 -0
- package/lib/commonjs/components/OTPInput/otpInput.utils.js +61 -0
- package/lib/commonjs/components/OTPInput/otpInput.utils.js.map +1 -0
- package/lib/commonjs/components/OutageChart/OutageChart.js +277 -0
- package/lib/commonjs/components/OutageChart/OutageChart.js.map +1 -0
- package/lib/commonjs/components/OutageChart/index.js +14 -0
- package/lib/commonjs/components/OutageChart/index.js.map +1 -0
- package/lib/commonjs/components/OutageChart/outageChart.types.js +6 -0
- package/lib/commonjs/components/OutageChart/outageChart.types.js.map +1 -0
- package/lib/commonjs/components/OutageChart/outageChart.utils.js +124 -0
- package/lib/commonjs/components/OutageChart/outageChart.utils.js.map +1 -0
- package/lib/commonjs/components/Popover/Popover.js +138 -0
- package/lib/commonjs/components/Popover/Popover.js.map +1 -0
- package/lib/commonjs/components/Popover/PopoverFooter.js +51 -0
- package/lib/commonjs/components/Popover/PopoverFooter.js.map +1 -0
- package/lib/commonjs/components/Popover/PopoverHeader.js +70 -0
- package/lib/commonjs/components/Popover/PopoverHeader.js.map +1 -0
- package/lib/commonjs/components/Popover/index.js +14 -0
- package/lib/commonjs/components/Popover/index.js.map +1 -0
- package/lib/commonjs/components/Popover/popover.types.js +6 -0
- package/lib/commonjs/components/Popover/popover.types.js.map +1 -0
- package/lib/commonjs/components/ProgressBar/ProgressBar.js +249 -0
- package/lib/commonjs/components/ProgressBar/ProgressBar.js.map +1 -0
- package/lib/commonjs/components/ProgressBar/index.js +63 -0
- package/lib/commonjs/components/ProgressBar/index.js.map +1 -0
- package/lib/commonjs/components/ProgressBar/progressBar.types.js +6 -0
- package/lib/commonjs/components/ProgressBar/progressBar.types.js.map +1 -0
- package/lib/commonjs/components/ProgressBar/progressBar.utils.js +108 -0
- package/lib/commonjs/components/ProgressBar/progressBar.utils.js.map +1 -0
- package/lib/commonjs/components/Radio/Radio.js +122 -0
- package/lib/commonjs/components/Radio/Radio.js.map +1 -0
- package/lib/commonjs/components/Radio/index.js +14 -0
- package/lib/commonjs/components/Radio/index.js.map +1 -0
- package/lib/commonjs/components/Radio/radio.types.js +6 -0
- package/lib/commonjs/components/Radio/radio.types.js.map +1 -0
- package/lib/commonjs/components/SankeyChart/SankeyChart.js +222 -0
- package/lib/commonjs/components/SankeyChart/SankeyChart.js.map +1 -0
- package/lib/commonjs/components/SankeyChart/index.js +14 -0
- package/lib/commonjs/components/SankeyChart/index.js.map +1 -0
- package/lib/commonjs/components/SankeyChart/sankeyChart.types.js +6 -0
- package/lib/commonjs/components/SankeyChart/sankeyChart.types.js.map +1 -0
- package/lib/commonjs/components/SankeyChart/sankeyChart.utils.js +235 -0
- package/lib/commonjs/components/SankeyChart/sankeyChart.utils.js.map +1 -0
- package/lib/commonjs/components/SearchInput/SearchInput.js +127 -0
- package/lib/commonjs/components/SearchInput/SearchInput.js.map +1 -0
- package/lib/commonjs/components/SearchInput/index.js +14 -0
- package/lib/commonjs/components/SearchInput/index.js.map +1 -0
- package/lib/commonjs/components/SearchInput/searchInput.types.js +6 -0
- package/lib/commonjs/components/SearchInput/searchInput.types.js.map +1 -0
- package/lib/commonjs/components/SingleSelect/SingleSelect.js +207 -0
- package/lib/commonjs/components/SingleSelect/SingleSelect.js.map +1 -0
- package/lib/commonjs/components/SingleSelect/SingleSelectTrigger.js +142 -0
- package/lib/commonjs/components/SingleSelect/SingleSelectTrigger.js.map +1 -0
- package/lib/commonjs/components/SingleSelect/index.js +14 -0
- package/lib/commonjs/components/SingleSelect/index.js.map +1 -0
- package/lib/commonjs/components/SingleSelect/singleSelect.types.js +6 -0
- package/lib/commonjs/components/SingleSelect/singleSelect.types.js.map +1 -0
- package/lib/commonjs/components/SingleSelect/singleSelect.utils.js +133 -0
- package/lib/commonjs/components/SingleSelect/singleSelect.utils.js.map +1 -0
- package/lib/commonjs/components/Snackbar/SnackbarToast.js +114 -0
- package/lib/commonjs/components/Snackbar/SnackbarToast.js.map +1 -0
- package/lib/commonjs/components/Snackbar/index.js +39 -0
- package/lib/commonjs/components/Snackbar/index.js.map +1 -0
- package/lib/commonjs/components/Snackbar/snackbar.js +34 -0
- package/lib/commonjs/components/Snackbar/snackbar.js.map +1 -0
- package/lib/commonjs/components/Snackbar/snackbar.types.js +6 -0
- package/lib/commonjs/components/Snackbar/snackbar.types.js.map +1 -0
- package/lib/commonjs/components/Snackbar/snackbar.utils.js +31 -0
- package/lib/commonjs/components/Snackbar/snackbar.utils.js.map +1 -0
- package/lib/commonjs/components/Sparkline/Sparkline.js +167 -0
- package/lib/commonjs/components/Sparkline/Sparkline.js.map +1 -0
- package/lib/commonjs/components/Sparkline/index.js +14 -0
- package/lib/commonjs/components/Sparkline/index.js.map +1 -0
- package/lib/commonjs/components/Sparkline/sparkline.types.js +6 -0
- package/lib/commonjs/components/Sparkline/sparkline.types.js.map +1 -0
- package/lib/commonjs/components/Spinner/Spinner.js +108 -0
- package/lib/commonjs/components/Spinner/Spinner.js.map +1 -0
- package/lib/commonjs/components/Spinner/index.js +39 -0
- package/lib/commonjs/components/Spinner/index.js.map +1 -0
- package/lib/commonjs/components/Spinner/spinner.types.js +6 -0
- package/lib/commonjs/components/Spinner/spinner.types.js.map +1 -0
- package/lib/commonjs/components/Spinner/spinner.utils.js +37 -0
- package/lib/commonjs/components/Spinner/spinner.utils.js.map +1 -0
- package/lib/commonjs/components/StatCard/StatCard.js +334 -0
- package/lib/commonjs/components/StatCard/StatCard.js.map +1 -0
- package/lib/commonjs/components/StatCard/index.js +21 -0
- package/lib/commonjs/components/StatCard/index.js.map +1 -0
- package/lib/commonjs/components/StatCard/statcard.types.js +6 -0
- package/lib/commonjs/components/StatCard/statcard.types.js.map +1 -0
- package/lib/commonjs/components/StatCard/statcard.utils.js +32 -0
- package/lib/commonjs/components/StatCard/statcard.utils.js.map +1 -0
- package/lib/commonjs/components/Switch/Switch.js +124 -0
- package/lib/commonjs/components/Switch/Switch.js.map +1 -0
- package/lib/commonjs/components/Switch/index.js +14 -0
- package/lib/commonjs/components/Switch/index.js.map +1 -0
- package/lib/commonjs/components/Switch/switch.types.js +6 -0
- package/lib/commonjs/components/Switch/switch.types.js.map +1 -0
- package/lib/commonjs/components/Tabs/Tabs.js +69 -0
- package/lib/commonjs/components/Tabs/Tabs.js.map +1 -0
- package/lib/commonjs/components/Tabs/TabsContent.js +29 -0
- package/lib/commonjs/components/Tabs/TabsContent.js.map +1 -0
- package/lib/commonjs/components/Tabs/TabsList.js +142 -0
- package/lib/commonjs/components/Tabs/TabsList.js.map +1 -0
- package/lib/commonjs/components/Tabs/TabsTrigger.js +94 -0
- package/lib/commonjs/components/Tabs/TabsTrigger.js.map +1 -0
- package/lib/commonjs/components/Tabs/index.js +35 -0
- package/lib/commonjs/components/Tabs/index.js.map +1 -0
- package/lib/commonjs/components/Tabs/tabs.context.js +17 -0
- package/lib/commonjs/components/Tabs/tabs.context.js.map +1 -0
- package/lib/commonjs/components/Tabs/tabs.types.js +6 -0
- package/lib/commonjs/components/Tabs/tabs.types.js.map +1 -0
- package/lib/commonjs/components/Tag/Tag.js +2 -8
- package/lib/commonjs/components/Tag/Tag.js.map +1 -1
- package/lib/commonjs/components/Tag/TagGroup.js +34 -0
- package/lib/commonjs/components/Tag/TagGroup.js.map +1 -0
- package/lib/commonjs/components/Tag/index.js +7 -0
- package/lib/commonjs/components/Tag/index.js.map +1 -1
- package/lib/commonjs/components/TextArea/TextArea.js +127 -0
- package/lib/commonjs/components/TextArea/TextArea.js.map +1 -0
- package/lib/commonjs/components/TextArea/index.js +14 -0
- package/lib/commonjs/components/TextArea/index.js.map +1 -0
- package/lib/commonjs/components/TextArea/textArea.types.js +6 -0
- package/lib/commonjs/components/TextArea/textArea.types.js.map +1 -0
- package/lib/commonjs/components/TextInput/TextInput.js +7 -2
- package/lib/commonjs/components/TextInput/TextInput.js.map +1 -1
- package/lib/commonjs/components/Tooltip/Tooltip.js +107 -0
- package/lib/commonjs/components/Tooltip/Tooltip.js.map +1 -0
- package/lib/commonjs/components/Tooltip/index.js +14 -0
- package/lib/commonjs/components/Tooltip/index.js.map +1 -0
- package/lib/commonjs/components/Tooltip/tooltip.types.js +6 -0
- package/lib/commonjs/components/Tooltip/tooltip.types.js.map +1 -0
- package/lib/commonjs/components/Upload/Upload.js +114 -0
- package/lib/commonjs/components/Upload/Upload.js.map +1 -0
- package/lib/commonjs/components/Upload/UploadContainer.js +308 -0
- package/lib/commonjs/components/Upload/UploadContainer.js.map +1 -0
- package/lib/commonjs/components/Upload/index.js +21 -0
- package/lib/commonjs/components/Upload/index.js.map +1 -0
- package/lib/commonjs/components/Upload/upload.types.js +6 -0
- package/lib/commonjs/components/Upload/upload.types.js.map +1 -0
- package/lib/commonjs/components/Upload/upload.utils.js +172 -0
- package/lib/commonjs/components/Upload/upload.utils.js.map +1 -0
- package/lib/commonjs/components/shared/GroupView.js +62 -0
- package/lib/commonjs/components/shared/GroupView.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/DropdownContent.js +123 -0
- package/lib/commonjs/components/shared/dropdown/DropdownContent.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/DropdownItem.js +137 -0
- package/lib/commonjs/components/shared/dropdown/DropdownItem.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/DropdownList.js +136 -0
- package/lib/commonjs/components/shared/dropdown/DropdownList.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/DropdownSearch.js +54 -0
- package/lib/commonjs/components/shared/dropdown/DropdownSearch.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/DropdownSeparator.js +33 -0
- package/lib/commonjs/components/shared/dropdown/DropdownSeparator.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/dropdown.types.js +6 -0
- package/lib/commonjs/components/shared/dropdown/dropdown.types.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/dropdownFilter.js +51 -0
- package/lib/commonjs/components/shared/dropdown/dropdownFilter.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/dropdownFlatten.js +44 -0
- package/lib/commonjs/components/shared/dropdown/dropdownFlatten.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/index.js +68 -0
- package/lib/commonjs/components/shared/dropdown/index.js.map +1 -0
- package/lib/commonjs/components/shared/dropdown/useDropdown.js +53 -0
- package/lib/commonjs/components/shared/dropdown/useDropdown.js.map +1 -0
- package/lib/commonjs/components/shared/group.js +23 -0
- package/lib/commonjs/components/shared/group.js.map +1 -1
- package/lib/commonjs/components/shared/select/SelectOptionList.js +200 -0
- package/lib/commonjs/components/shared/select/SelectOptionList.js.map +1 -0
- package/lib/commonjs/components/shared/select/SelectTrigger.js +155 -0
- package/lib/commonjs/components/shared/select/SelectTrigger.js.map +1 -0
- package/lib/commonjs/components/shared/selector/SelectorContent.js +76 -0
- package/lib/commonjs/components/shared/selector/SelectorContent.js.map +1 -0
- package/lib/commonjs/hooks/useControllableState.js +28 -0
- package/lib/commonjs/hooks/useControllableState.js.map +1 -0
- package/lib/commonjs/index.js +563 -11
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/overlay/anchored/AnchoredOverlay.js +216 -0
- package/lib/commonjs/overlay/anchored/AnchoredOverlay.js.map +1 -0
- package/lib/commonjs/overlay/portal.js +66 -19
- package/lib/commonjs/overlay/portal.js.map +1 -1
- package/lib/commonjs/overlay/positioning.js +88 -0
- package/lib/commonjs/overlay/positioning.js.map +1 -1
- package/lib/commonjs/overlay/sheet/BottomSheet.js +77 -10
- package/lib/commonjs/overlay/sheet/BottomSheet.js.map +1 -1
- package/lib/commonjs/overlay/sheet/SheetScrollable.js +60 -0
- package/lib/commonjs/overlay/sheet/SheetScrollable.js.map +1 -0
- package/lib/commonjs/overlay/sheet/sheetGestureContext.js +17 -0
- package/lib/commonjs/overlay/sheet/sheetGestureContext.js.map +1 -0
- package/lib/commonjs/overlay/sheet/sheetMath.js +50 -4
- package/lib/commonjs/overlay/sheet/sheetMath.js.map +1 -1
- package/lib/commonjs/overlay/toast/ToastOutlet.js +92 -22
- package/lib/commonjs/overlay/toast/ToastOutlet.js.map +1 -1
- package/lib/commonjs/overlay/useAnchoredPosition.js +82 -18
- package/lib/commonjs/overlay/useAnchoredPosition.js.map +1 -1
- package/lib/commonjs/overlay/useKeyboardHeight.js +41 -0
- package/lib/commonjs/overlay/useKeyboardHeight.js.map +1 -0
- package/lib/commonjs/primitives/Block.js.map +1 -1
- package/lib/commonjs/primitives/Pressable.js +13 -38
- package/lib/commonjs/primitives/Pressable.js.map +1 -1
- package/lib/commonjs/primitives/PrimitiveInput.js.map +1 -1
- package/lib/commonjs/primitives/Text.js.map +1 -1
- package/lib/commonjs/theme/nativeTokenRegistry.js +27 -1
- package/lib/commonjs/theme/nativeTokenRegistry.js.map +1 -1
- package/lib/module/adapters/cssStringAdapter.js +104 -26
- package/lib/module/adapters/cssStringAdapter.js.map +1 -1
- package/lib/module/adapters/surfaceStyle.js +4 -3
- package/lib/module/adapters/surfaceStyle.js.map +1 -1
- package/lib/module/components/Accordion/Accordion.js +73 -0
- package/lib/module/components/Accordion/Accordion.js.map +1 -0
- package/lib/module/components/Accordion/AccordionItem.js +179 -0
- package/lib/module/components/Accordion/AccordionItem.js.map +1 -0
- package/lib/module/components/Accordion/accordion.context.js +12 -0
- package/lib/module/components/Accordion/accordion.context.js.map +1 -0
- package/lib/module/components/Accordion/accordion.types.js +4 -0
- package/lib/module/components/Accordion/accordion.types.js.map +1 -0
- package/lib/module/components/Accordion/index.js +5 -0
- package/lib/module/components/Accordion/index.js.map +1 -0
- package/lib/module/components/Avatar/Avatar.js +129 -0
- package/lib/module/components/Avatar/Avatar.js.map +1 -0
- package/lib/module/components/Avatar/avatar.types.js +4 -0
- package/lib/module/components/Avatar/avatar.types.js.map +1 -0
- package/lib/module/components/Avatar/avatar.utils.js +63 -0
- package/lib/module/components/Avatar/avatar.utils.js.map +1 -0
- package/lib/module/components/Avatar/index.js +5 -0
- package/lib/module/components/Avatar/index.js.map +1 -0
- package/lib/module/components/Badge/Badge.js +139 -0
- package/lib/module/components/Badge/Badge.js.map +1 -0
- package/lib/module/components/Badge/badge.types.js +4 -0
- package/lib/module/components/Badge/badge.types.js.map +1 -0
- package/lib/module/components/Badge/badge.utils.js +124 -0
- package/lib/module/components/Badge/badge.utils.js.map +1 -0
- package/lib/module/components/Badge/index.js +4 -0
- package/lib/module/components/Badge/index.js.map +1 -0
- package/lib/module/components/Breadcrumb/Breadcrumb.js +206 -0
- package/lib/module/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/lib/module/components/Breadcrumb/breadcrumb.types.js +4 -0
- package/lib/module/components/Breadcrumb/breadcrumb.types.js.map +1 -0
- package/lib/module/components/Breadcrumb/breadcrumb.utils.js +103 -0
- package/lib/module/components/Breadcrumb/breadcrumb.utils.js.map +1 -0
- package/lib/module/components/Breadcrumb/index.js +5 -0
- package/lib/module/components/Breadcrumb/index.js.map +1 -0
- package/lib/module/components/Button/Button.js +1 -4
- package/lib/module/components/Button/Button.js.map +1 -1
- package/lib/module/components/Button/ButtonGroup.js +32 -0
- package/lib/module/components/Button/ButtonGroup.js.map +1 -0
- package/lib/module/components/Button/IconButton.js +49 -0
- package/lib/module/components/Button/IconButton.js.map +1 -0
- package/lib/module/components/Button/LinkButton.js +26 -0
- package/lib/module/components/Button/LinkButton.js.map +1 -0
- package/lib/module/components/Button/index.js +3 -0
- package/lib/module/components/Button/index.js.map +1 -1
- package/lib/module/components/Card/Card.js +210 -0
- package/lib/module/components/Card/Card.js.map +1 -0
- package/lib/module/components/Card/card.types.js +4 -0
- package/lib/module/components/Card/card.types.js.map +1 -0
- package/lib/module/components/Card/index.js +4 -0
- package/lib/module/components/Card/index.js.map +1 -0
- package/lib/module/components/Chart/Chart.js +540 -0
- package/lib/module/components/Chart/Chart.js.map +1 -0
- package/lib/module/components/Chart/ChartContainer.js +31 -0
- package/lib/module/components/Chart/ChartContainer.js.map +1 -0
- package/lib/module/components/Chart/ChartHeader.js +37 -0
- package/lib/module/components/Chart/ChartHeader.js.map +1 -0
- package/lib/module/components/Chart/ChartLegend.js +100 -0
- package/lib/module/components/Chart/ChartLegend.js.map +1 -0
- package/lib/module/components/Chart/ChartNoData.js +48 -0
- package/lib/module/components/Chart/ChartNoData.js.map +1 -0
- package/lib/module/components/Chart/ChartSkeleton.js +34 -0
- package/lib/module/components/Chart/ChartSkeleton.js.map +1 -0
- package/lib/module/components/Chart/chart.types.js +71 -0
- package/lib/module/components/Chart/chart.types.js.map +1 -0
- package/lib/module/components/Chart/index.js +9 -0
- package/lib/module/components/Chart/index.js.map +1 -0
- package/lib/module/components/Checkbox/Checkbox.js +126 -0
- package/lib/module/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/module/components/Checkbox/checkbox.types.js +4 -0
- package/lib/module/components/Checkbox/checkbox.types.js.map +1 -0
- package/lib/module/components/Checkbox/index.js +4 -0
- package/lib/module/components/Checkbox/index.js.map +1 -0
- package/lib/module/components/KeyValuePair/KeyValuePair.js +85 -0
- package/lib/module/components/KeyValuePair/KeyValuePair.js.map +1 -0
- package/lib/module/components/KeyValuePair/index.js +4 -0
- package/lib/module/components/KeyValuePair/index.js.map +1 -0
- package/lib/module/components/KeyValuePair/keyValuePair.types.js +4 -0
- package/lib/module/components/KeyValuePair/keyValuePair.types.js.map +1 -0
- package/lib/module/components/Menu/Menu.js +170 -0
- package/lib/module/components/Menu/Menu.js.map +1 -0
- package/lib/module/components/Menu/index.js +4 -0
- package/lib/module/components/Menu/index.js.map +1 -0
- package/lib/module/components/Menu/menu.types.js +4 -0
- package/lib/module/components/Menu/menu.types.js.map +1 -0
- package/lib/module/components/Menu/menu.utils.js +151 -0
- package/lib/module/components/Menu/menu.utils.js.map +1 -0
- package/lib/module/components/Modal/Modal.js +204 -0
- package/lib/module/components/Modal/Modal.js.map +1 -0
- package/lib/module/components/Modal/ModalFooter.js +59 -0
- package/lib/module/components/Modal/ModalFooter.js.map +1 -0
- package/lib/module/components/Modal/ModalHeader.js +80 -0
- package/lib/module/components/Modal/ModalHeader.js.map +1 -0
- package/lib/module/components/Modal/index.js +4 -0
- package/lib/module/components/Modal/index.js.map +1 -0
- package/lib/module/components/Modal/modal.types.js +4 -0
- package/lib/module/components/Modal/modal.types.js.map +1 -0
- package/lib/module/components/MultiSelect/MultiSelect.js +244 -0
- package/lib/module/components/MultiSelect/MultiSelect.js.map +1 -0
- package/lib/module/components/MultiSelect/MultiSelectMenuActions.js +47 -0
- package/lib/module/components/MultiSelect/MultiSelectMenuActions.js.map +1 -0
- package/lib/module/components/MultiSelect/MultiSelectMenuHeader.js +109 -0
- package/lib/module/components/MultiSelect/MultiSelectMenuHeader.js.map +1 -0
- package/lib/module/components/MultiSelect/MultiSelectTrigger.js +190 -0
- package/lib/module/components/MultiSelect/MultiSelectTrigger.js.map +1 -0
- package/lib/module/components/MultiSelect/index.js +4 -0
- package/lib/module/components/MultiSelect/index.js.map +1 -0
- package/lib/module/components/MultiSelect/multiSelect.types.js +4 -0
- package/lib/module/components/MultiSelect/multiSelect.types.js.map +1 -0
- package/lib/module/components/MultiSelect/multiSelect.utils.js +231 -0
- package/lib/module/components/MultiSelect/multiSelect.utils.js.map +1 -0
- package/lib/module/components/NumberInput/NumberInput.js +213 -0
- package/lib/module/components/NumberInput/NumberInput.js.map +1 -0
- package/lib/module/components/NumberInput/index.js +5 -0
- package/lib/module/components/NumberInput/index.js.map +1 -0
- package/lib/module/components/NumberInput/numberInput.types.js +4 -0
- package/lib/module/components/NumberInput/numberInput.types.js.map +1 -0
- package/lib/module/components/NumberInput/numberInput.utils.js +78 -0
- package/lib/module/components/NumberInput/numberInput.utils.js.map +1 -0
- package/lib/module/components/OTPInput/OTPInput.js +150 -0
- package/lib/module/components/OTPInput/OTPInput.js.map +1 -0
- package/lib/module/components/OTPInput/index.js +5 -0
- package/lib/module/components/OTPInput/index.js.map +1 -0
- package/lib/module/components/OTPInput/otpInput.types.js +4 -0
- package/lib/module/components/OTPInput/otpInput.types.js.map +1 -0
- package/lib/module/components/OTPInput/otpInput.utils.js +54 -0
- package/lib/module/components/OTPInput/otpInput.utils.js.map +1 -0
- package/lib/module/components/OutageChart/OutageChart.js +275 -0
- package/lib/module/components/OutageChart/OutageChart.js.map +1 -0
- package/lib/module/components/OutageChart/index.js +4 -0
- package/lib/module/components/OutageChart/index.js.map +1 -0
- package/lib/module/components/OutageChart/outageChart.types.js +4 -0
- package/lib/module/components/OutageChart/outageChart.types.js.map +1 -0
- package/lib/module/components/OutageChart/outageChart.utils.js +117 -0
- package/lib/module/components/OutageChart/outageChart.utils.js.map +1 -0
- package/lib/module/components/Popover/Popover.js +133 -0
- package/lib/module/components/Popover/Popover.js.map +1 -0
- package/lib/module/components/Popover/PopoverFooter.js +46 -0
- package/lib/module/components/Popover/PopoverFooter.js.map +1 -0
- package/lib/module/components/Popover/PopoverHeader.js +65 -0
- package/lib/module/components/Popover/PopoverHeader.js.map +1 -0
- package/lib/module/components/Popover/index.js +4 -0
- package/lib/module/components/Popover/index.js.map +1 -0
- package/lib/module/components/Popover/popover.types.js +4 -0
- package/lib/module/components/Popover/popover.types.js.map +1 -0
- package/lib/module/components/ProgressBar/ProgressBar.js +243 -0
- package/lib/module/components/ProgressBar/ProgressBar.js.map +1 -0
- package/lib/module/components/ProgressBar/index.js +5 -0
- package/lib/module/components/ProgressBar/index.js.map +1 -0
- package/lib/module/components/ProgressBar/progressBar.types.js +4 -0
- package/lib/module/components/ProgressBar/progressBar.types.js.map +1 -0
- package/lib/module/components/ProgressBar/progressBar.utils.js +98 -0
- package/lib/module/components/ProgressBar/progressBar.utils.js.map +1 -0
- package/lib/module/components/Radio/Radio.js +116 -0
- package/lib/module/components/Radio/Radio.js.map +1 -0
- package/lib/module/components/Radio/index.js +4 -0
- package/lib/module/components/Radio/index.js.map +1 -0
- package/lib/module/components/Radio/radio.types.js +4 -0
- package/lib/module/components/Radio/radio.types.js.map +1 -0
- package/lib/module/components/SankeyChart/SankeyChart.js +219 -0
- package/lib/module/components/SankeyChart/SankeyChart.js.map +1 -0
- package/lib/module/components/SankeyChart/index.js +4 -0
- package/lib/module/components/SankeyChart/index.js.map +1 -0
- package/lib/module/components/SankeyChart/sankeyChart.types.js +4 -0
- package/lib/module/components/SankeyChart/sankeyChart.types.js.map +1 -0
- package/lib/module/components/SankeyChart/sankeyChart.utils.js +227 -0
- package/lib/module/components/SankeyChart/sankeyChart.utils.js.map +1 -0
- package/lib/module/components/SearchInput/SearchInput.js +122 -0
- package/lib/module/components/SearchInput/SearchInput.js.map +1 -0
- package/lib/module/components/SearchInput/index.js +4 -0
- package/lib/module/components/SearchInput/index.js.map +1 -0
- package/lib/module/components/SearchInput/searchInput.types.js +4 -0
- package/lib/module/components/SearchInput/searchInput.types.js.map +1 -0
- package/lib/module/components/SingleSelect/SingleSelect.js +202 -0
- package/lib/module/components/SingleSelect/SingleSelect.js.map +1 -0
- package/lib/module/components/SingleSelect/SingleSelectTrigger.js +137 -0
- package/lib/module/components/SingleSelect/SingleSelectTrigger.js.map +1 -0
- package/lib/module/components/SingleSelect/index.js +4 -0
- package/lib/module/components/SingleSelect/index.js.map +1 -0
- package/lib/module/components/SingleSelect/singleSelect.types.js +4 -0
- package/lib/module/components/SingleSelect/singleSelect.types.js.map +1 -0
- package/lib/module/components/SingleSelect/singleSelect.utils.js +123 -0
- package/lib/module/components/SingleSelect/singleSelect.utils.js.map +1 -0
- package/lib/module/components/Snackbar/SnackbarToast.js +109 -0
- package/lib/module/components/Snackbar/SnackbarToast.js.map +1 -0
- package/lib/module/components/Snackbar/index.js +6 -0
- package/lib/module/components/Snackbar/index.js.map +1 -0
- package/lib/module/components/Snackbar/snackbar.js +29 -0
- package/lib/module/components/Snackbar/snackbar.js.map +1 -0
- package/lib/module/components/Snackbar/snackbar.types.js +4 -0
- package/lib/module/components/Snackbar/snackbar.types.js.map +1 -0
- package/lib/module/components/Snackbar/snackbar.utils.js +26 -0
- package/lib/module/components/Snackbar/snackbar.utils.js.map +1 -0
- package/lib/module/components/Sparkline/Sparkline.js +163 -0
- package/lib/module/components/Sparkline/Sparkline.js.map +1 -0
- package/lib/module/components/Sparkline/index.js +4 -0
- package/lib/module/components/Sparkline/index.js.map +1 -0
- package/lib/module/components/Sparkline/sparkline.types.js +4 -0
- package/lib/module/components/Sparkline/sparkline.types.js.map +1 -0
- package/lib/module/components/Spinner/Spinner.js +105 -0
- package/lib/module/components/Spinner/Spinner.js.map +1 -0
- package/lib/module/components/Spinner/index.js +5 -0
- package/lib/module/components/Spinner/index.js.map +1 -0
- package/lib/module/components/Spinner/spinner.types.js +4 -0
- package/lib/module/components/Spinner/spinner.types.js.map +1 -0
- package/lib/module/components/Spinner/spinner.utils.js +32 -0
- package/lib/module/components/Spinner/spinner.utils.js.map +1 -0
- package/lib/module/components/StatCard/StatCard.js +333 -0
- package/lib/module/components/StatCard/StatCard.js.map +1 -0
- package/lib/module/components/StatCard/index.js +5 -0
- package/lib/module/components/StatCard/index.js.map +1 -0
- package/lib/module/components/StatCard/statcard.types.js +4 -0
- package/lib/module/components/StatCard/statcard.types.js.map +1 -0
- package/lib/module/components/StatCard/statcard.utils.js +27 -0
- package/lib/module/components/StatCard/statcard.utils.js.map +1 -0
- package/lib/module/components/Switch/Switch.js +118 -0
- package/lib/module/components/Switch/Switch.js.map +1 -0
- package/lib/module/components/Switch/index.js +4 -0
- package/lib/module/components/Switch/index.js.map +1 -0
- package/lib/module/components/Switch/switch.types.js +4 -0
- package/lib/module/components/Switch/switch.types.js.map +1 -0
- package/lib/module/components/Tabs/Tabs.js +65 -0
- package/lib/module/components/Tabs/Tabs.js.map +1 -0
- package/lib/module/components/Tabs/TabsContent.js +25 -0
- package/lib/module/components/Tabs/TabsContent.js.map +1 -0
- package/lib/module/components/Tabs/TabsList.js +137 -0
- package/lib/module/components/Tabs/TabsList.js.map +1 -0
- package/lib/module/components/Tabs/TabsTrigger.js +89 -0
- package/lib/module/components/Tabs/TabsTrigger.js.map +1 -0
- package/lib/module/components/Tabs/index.js +7 -0
- package/lib/module/components/Tabs/index.js.map +1 -0
- package/lib/module/components/Tabs/tabs.context.js +12 -0
- package/lib/module/components/Tabs/tabs.context.js.map +1 -0
- package/lib/module/components/Tabs/tabs.types.js +4 -0
- package/lib/module/components/Tabs/tabs.types.js.map +1 -0
- package/lib/module/components/Tag/Tag.js +2 -8
- package/lib/module/components/Tag/Tag.js.map +1 -1
- package/lib/module/components/Tag/TagGroup.js +29 -0
- package/lib/module/components/Tag/TagGroup.js.map +1 -0
- package/lib/module/components/Tag/index.js +1 -0
- package/lib/module/components/Tag/index.js.map +1 -1
- package/lib/module/components/TextArea/TextArea.js +122 -0
- package/lib/module/components/TextArea/TextArea.js.map +1 -0
- package/lib/module/components/TextArea/index.js +4 -0
- package/lib/module/components/TextArea/index.js.map +1 -0
- package/lib/module/components/TextArea/textArea.types.js +4 -0
- package/lib/module/components/TextArea/textArea.types.js.map +1 -0
- package/lib/module/components/TextInput/TextInput.js +7 -2
- package/lib/module/components/TextInput/TextInput.js.map +1 -1
- package/lib/module/components/Tooltip/Tooltip.js +101 -0
- package/lib/module/components/Tooltip/Tooltip.js.map +1 -0
- package/lib/module/components/Tooltip/index.js +4 -0
- package/lib/module/components/Tooltip/index.js.map +1 -0
- package/lib/module/components/Tooltip/tooltip.types.js +4 -0
- package/lib/module/components/Tooltip/tooltip.types.js.map +1 -0
- package/lib/module/components/Upload/Upload.js +110 -0
- package/lib/module/components/Upload/Upload.js.map +1 -0
- package/lib/module/components/Upload/UploadContainer.js +305 -0
- package/lib/module/components/Upload/UploadContainer.js.map +1 -0
- package/lib/module/components/Upload/index.js +5 -0
- package/lib/module/components/Upload/index.js.map +1 -0
- package/lib/module/components/Upload/upload.types.js +4 -0
- package/lib/module/components/Upload/upload.types.js.map +1 -0
- package/lib/module/components/Upload/upload.utils.js +159 -0
- package/lib/module/components/Upload/upload.utils.js.map +1 -0
- package/lib/module/components/shared/GroupView.js +60 -0
- package/lib/module/components/shared/GroupView.js.map +1 -0
- package/lib/module/components/shared/dropdown/DropdownContent.js +118 -0
- package/lib/module/components/shared/dropdown/DropdownContent.js.map +1 -0
- package/lib/module/components/shared/dropdown/DropdownItem.js +133 -0
- package/lib/module/components/shared/dropdown/DropdownItem.js.map +1 -0
- package/lib/module/components/shared/dropdown/DropdownList.js +132 -0
- package/lib/module/components/shared/dropdown/DropdownList.js.map +1 -0
- package/lib/module/components/shared/dropdown/DropdownSearch.js +50 -0
- package/lib/module/components/shared/dropdown/DropdownSearch.js.map +1 -0
- package/lib/module/components/shared/dropdown/DropdownSeparator.js +29 -0
- package/lib/module/components/shared/dropdown/DropdownSeparator.js.map +1 -0
- package/lib/module/components/shared/dropdown/dropdown.types.js +4 -0
- package/lib/module/components/shared/dropdown/dropdown.types.js.map +1 -0
- package/lib/module/components/shared/dropdown/dropdownFilter.js +46 -0
- package/lib/module/components/shared/dropdown/dropdownFilter.js.map +1 -0
- package/lib/module/components/shared/dropdown/dropdownFlatten.js +40 -0
- package/lib/module/components/shared/dropdown/dropdownFlatten.js.map +1 -0
- package/lib/module/components/shared/dropdown/index.js +11 -0
- package/lib/module/components/shared/dropdown/index.js.map +1 -0
- package/lib/module/components/shared/dropdown/useDropdown.js +49 -0
- package/lib/module/components/shared/dropdown/useDropdown.js.map +1 -0
- package/lib/module/components/shared/group.js +22 -0
- package/lib/module/components/shared/group.js.map +1 -1
- package/lib/module/components/shared/select/SelectOptionList.js +193 -0
- package/lib/module/components/shared/select/SelectOptionList.js.map +1 -0
- package/lib/module/components/shared/select/SelectTrigger.js +149 -0
- package/lib/module/components/shared/select/SelectTrigger.js.map +1 -0
- package/lib/module/components/shared/selector/SelectorContent.js +71 -0
- package/lib/module/components/shared/selector/SelectorContent.js.map +1 -0
- package/lib/module/hooks/useControllableState.js +25 -0
- package/lib/module/hooks/useControllableState.js.map +1 -0
- package/lib/module/index.js +53 -3
- package/lib/module/index.js.map +1 -1
- package/lib/module/overlay/anchored/AnchoredOverlay.js +211 -0
- package/lib/module/overlay/anchored/AnchoredOverlay.js.map +1 -0
- package/lib/module/overlay/portal.js +66 -19
- package/lib/module/overlay/portal.js.map +1 -1
- package/lib/module/overlay/positioning.js +86 -0
- package/lib/module/overlay/positioning.js.map +1 -1
- package/lib/module/overlay/sheet/BottomSheet.js +80 -13
- package/lib/module/overlay/sheet/BottomSheet.js.map +1 -1
- package/lib/module/overlay/sheet/SheetScrollable.js +56 -0
- package/lib/module/overlay/sheet/SheetScrollable.js.map +1 -0
- package/lib/module/overlay/sheet/sheetGestureContext.js +14 -0
- package/lib/module/overlay/sheet/sheetGestureContext.js.map +1 -0
- package/lib/module/overlay/sheet/sheetMath.js +46 -3
- package/lib/module/overlay/sheet/sheetMath.js.map +1 -1
- package/lib/module/overlay/toast/ToastOutlet.js +94 -24
- package/lib/module/overlay/toast/ToastOutlet.js.map +1 -1
- package/lib/module/overlay/useAnchoredPosition.js +84 -20
- package/lib/module/overlay/useAnchoredPosition.js.map +1 -1
- package/lib/module/overlay/useKeyboardHeight.js +37 -0
- package/lib/module/overlay/useKeyboardHeight.js.map +1 -0
- package/lib/module/primitives/Block.js.map +1 -1
- package/lib/module/primitives/Pressable.js +13 -38
- package/lib/module/primitives/Pressable.js.map +1 -1
- package/lib/module/primitives/PrimitiveInput.js.map +1 -1
- package/lib/module/primitives/Separator.js.map +1 -1
- package/lib/module/primitives/Slot.js.map +1 -1
- package/lib/module/primitives/Text.js.map +1 -1
- package/lib/module/theme/nativeTokenRegistry.js +28 -2
- package/lib/module/theme/nativeTokenRegistry.js.map +1 -1
- package/lib/typescript/commonjs/adapters/cssStringAdapter.d.ts +10 -6
- package/lib/typescript/commonjs/adapters/cssStringAdapter.d.ts.map +1 -1
- package/lib/typescript/commonjs/adapters/optionalGradient.d.ts +2 -2
- package/lib/typescript/commonjs/adapters/optionalGradient.d.ts.map +1 -1
- package/lib/typescript/commonjs/adapters/surfaceStyle.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts +17 -0
- package/lib/typescript/commonjs/components/Accordion/Accordion.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Accordion/AccordionItem.d.ts +18 -0
- package/lib/typescript/commonjs/components/Accordion/AccordionItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Accordion/accordion.context.d.ts +9 -0
- package/lib/typescript/commonjs/components/Accordion/accordion.context.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Accordion/accordion.types.d.ts +26 -0
- package/lib/typescript/commonjs/components/Accordion/accordion.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Accordion/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/Accordion/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Alert/Alert.d.ts +12 -2
- package/lib/typescript/commonjs/components/Alert/Alert.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/Alert/alert.types.d.ts +9 -11
- package/lib/typescript/commonjs/components/Alert/alert.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts +14 -0
- package/lib/typescript/commonjs/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Avatar/avatar.types.d.ts +52 -0
- package/lib/typescript/commonjs/components/Avatar/avatar.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Avatar/avatar.utils.d.ts +22 -0
- package/lib/typescript/commonjs/components/Avatar/avatar.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Avatar/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/Avatar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts +16 -0
- package/lib/typescript/commonjs/components/Badge/Badge.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Badge/badge.types.d.ts +49 -0
- package/lib/typescript/commonjs/components/Badge/badge.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Badge/badge.utils.d.ts +48 -0
- package/lib/typescript/commonjs/components/Badge/badge.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Badge/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Badge/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Breadcrumb/Breadcrumb.d.ts +15 -0
- package/lib/typescript/commonjs/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Breadcrumb/breadcrumb.types.d.ts +63 -0
- package/lib/typescript/commonjs/components/Breadcrumb/breadcrumb.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Breadcrumb/breadcrumb.utils.d.ts +47 -0
- package/lib/typescript/commonjs/components/Breadcrumb/breadcrumb.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Breadcrumb/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/Breadcrumb/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Button/Button.d.ts +1 -1
- package/lib/typescript/commonjs/components/Button/ButtonGroup.d.ts +29 -0
- package/lib/typescript/commonjs/components/Button/ButtonGroup.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Button/IconButton.d.ts +7 -0
- package/lib/typescript/commonjs/components/Button/IconButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Button/LinkButton.d.ts +16 -0
- package/lib/typescript/commonjs/components/Button/LinkButton.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Button/button.types.d.ts +37 -2
- package/lib/typescript/commonjs/components/Button/button.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/Button/index.d.ts +5 -1
- package/lib/typescript/commonjs/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/Card/Card.d.ts +12 -0
- package/lib/typescript/commonjs/components/Card/Card.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Card/card.types.d.ts +60 -0
- package/lib/typescript/commonjs/components/Card/card.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Card/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Card/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Chart/Chart.d.ts +13 -0
- package/lib/typescript/commonjs/components/Chart/Chart.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Chart/ChartContainer.d.ts +8 -0
- package/lib/typescript/commonjs/components/Chart/ChartContainer.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Chart/ChartHeader.d.ts +8 -0
- package/lib/typescript/commonjs/components/Chart/ChartHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Chart/ChartLegend.d.ts +12 -0
- package/lib/typescript/commonjs/components/Chart/ChartLegend.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Chart/ChartNoData.d.ts +10 -0
- package/lib/typescript/commonjs/components/Chart/ChartNoData.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Chart/ChartSkeleton.d.ts +7 -0
- package/lib/typescript/commonjs/components/Chart/ChartSkeleton.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Chart/chart.types.d.ts +127 -0
- package/lib/typescript/commonjs/components/Chart/chart.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Chart/index.d.ts +8 -0
- package/lib/typescript/commonjs/components/Chart/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts +19 -0
- package/lib/typescript/commonjs/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Checkbox/checkbox.types.d.ts +26 -0
- package/lib/typescript/commonjs/components/Checkbox/checkbox.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Checkbox/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/KeyValuePair/KeyValuePair.d.ts +12 -0
- package/lib/typescript/commonjs/components/KeyValuePair/KeyValuePair.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/KeyValuePair/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/KeyValuePair/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/KeyValuePair/keyValuePair.types.d.ts +37 -0
- package/lib/typescript/commonjs/components/KeyValuePair/keyValuePair.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Menu/Menu.d.ts +6 -0
- package/lib/typescript/commonjs/components/Menu/Menu.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Menu/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/Menu/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Menu/menu.types.d.ts +46 -0
- package/lib/typescript/commonjs/components/Menu/menu.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Menu/menu.utils.d.ts +39 -0
- package/lib/typescript/commonjs/components/Menu/menu.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts +7 -0
- package/lib/typescript/commonjs/components/Modal/Modal.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Modal/ModalFooter.d.ts +12 -0
- package/lib/typescript/commonjs/components/Modal/ModalFooter.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Modal/ModalHeader.d.ts +20 -0
- package/lib/typescript/commonjs/components/Modal/ModalHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Modal/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Modal/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Modal/modal.types.d.ts +55 -0
- package/lib/typescript/commonjs/components/Modal/modal.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/MultiSelect/MultiSelect.d.ts +6 -0
- package/lib/typescript/commonjs/components/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/MultiSelect/MultiSelectMenuActions.d.ts +18 -0
- package/lib/typescript/commonjs/components/MultiSelect/MultiSelectMenuActions.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/MultiSelect/MultiSelectMenuHeader.d.ts +24 -0
- package/lib/typescript/commonjs/components/MultiSelect/MultiSelectMenuHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/MultiSelect/MultiSelectTrigger.d.ts +30 -0
- package/lib/typescript/commonjs/components/MultiSelect/MultiSelectTrigger.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/MultiSelect/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/MultiSelect/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/MultiSelect/multiSelect.types.d.ts +64 -0
- package/lib/typescript/commonjs/components/MultiSelect/multiSelect.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/MultiSelect/multiSelect.utils.d.ts +61 -0
- package/lib/typescript/commonjs/components/MultiSelect/multiSelect.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts +25 -0
- package/lib/typescript/commonjs/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/NumberInput/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/NumberInput/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/NumberInput/numberInput.types.d.ts +32 -0
- package/lib/typescript/commonjs/components/NumberInput/numberInput.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/NumberInput/numberInput.utils.d.ts +25 -0
- package/lib/typescript/commonjs/components/NumberInput/numberInput.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts +19 -0
- package/lib/typescript/commonjs/components/OTPInput/OTPInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/OTPInput/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/OTPInput/otpInput.types.d.ts +19 -0
- package/lib/typescript/commonjs/components/OTPInput/otpInput.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/OTPInput/otpInput.utils.d.ts +23 -0
- package/lib/typescript/commonjs/components/OTPInput/otpInput.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/OutageChart/OutageChart.d.ts +13 -0
- package/lib/typescript/commonjs/components/OutageChart/OutageChart.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/OutageChart/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/OutageChart/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/OutageChart/outageChart.types.d.ts +71 -0
- package/lib/typescript/commonjs/components/OutageChart/outageChart.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/OutageChart/outageChart.utils.d.ts +31 -0
- package/lib/typescript/commonjs/components/OutageChart/outageChart.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Popover/Popover.d.ts +16 -0
- package/lib/typescript/commonjs/components/Popover/Popover.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Popover/PopoverFooter.d.ts +13 -0
- package/lib/typescript/commonjs/components/Popover/PopoverFooter.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Popover/PopoverHeader.d.ts +18 -0
- package/lib/typescript/commonjs/components/Popover/PopoverHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Popover/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Popover/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Popover/popover.types.d.ts +55 -0
- package/lib/typescript/commonjs/components/Popover/popover.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts +4 -0
- package/lib/typescript/commonjs/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/ProgressBar/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/ProgressBar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/ProgressBar/progressBar.types.d.ts +28 -0
- package/lib/typescript/commonjs/components/ProgressBar/progressBar.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/ProgressBar/progressBar.utils.d.ts +54 -0
- package/lib/typescript/commonjs/components/ProgressBar/progressBar.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts +19 -0
- package/lib/typescript/commonjs/components/Radio/Radio.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Radio/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Radio/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Radio/radio.types.d.ts +23 -0
- package/lib/typescript/commonjs/components/Radio/radio.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SankeyChart/SankeyChart.d.ts +16 -0
- package/lib/typescript/commonjs/components/SankeyChart/SankeyChart.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SankeyChart/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SankeyChart/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SankeyChart/sankeyChart.types.d.ts +86 -0
- package/lib/typescript/commonjs/components/SankeyChart/sankeyChart.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SankeyChart/sankeyChart.utils.d.ts +42 -0
- package/lib/typescript/commonjs/components/SankeyChart/sankeyChart.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SearchInput/SearchInput.d.ts +22 -0
- package/lib/typescript/commonjs/components/SearchInput/SearchInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SearchInput/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/SearchInput/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SearchInput/searchInput.types.d.ts +25 -0
- package/lib/typescript/commonjs/components/SearchInput/searchInput.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SingleSelect/SingleSelect.d.ts +6 -0
- package/lib/typescript/commonjs/components/SingleSelect/SingleSelect.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SingleSelect/SingleSelectTrigger.d.ts +27 -0
- package/lib/typescript/commonjs/components/SingleSelect/SingleSelectTrigger.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SingleSelect/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/SingleSelect/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SingleSelect/singleSelect.types.d.ts +45 -0
- package/lib/typescript/commonjs/components/SingleSelect/singleSelect.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/SingleSelect/singleSelect.utils.d.ts +30 -0
- package/lib/typescript/commonjs/components/SingleSelect/singleSelect.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Skeleton/skeleton.types.d.ts +2 -2
- package/lib/typescript/commonjs/components/Skeleton/skeleton.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/Snackbar/SnackbarToast.d.ts +14 -0
- package/lib/typescript/commonjs/components/Snackbar/SnackbarToast.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Snackbar/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Snackbar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Snackbar/snackbar.d.ts +10 -0
- package/lib/typescript/commonjs/components/Snackbar/snackbar.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Snackbar/snackbar.types.d.ts +41 -0
- package/lib/typescript/commonjs/components/Snackbar/snackbar.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Snackbar/snackbar.utils.d.ts +4 -0
- package/lib/typescript/commonjs/components/Snackbar/snackbar.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts +4 -0
- package/lib/typescript/commonjs/components/Sparkline/Sparkline.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Sparkline/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Sparkline/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Sparkline/sparkline.types.d.ts +27 -0
- package/lib/typescript/commonjs/components/Sparkline/sparkline.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +4 -0
- package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Spinner/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/Spinner/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Spinner/spinner.types.d.ts +27 -0
- package/lib/typescript/commonjs/components/Spinner/spinner.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Spinner/spinner.utils.d.ts +24 -0
- package/lib/typescript/commonjs/components/Spinner/spinner.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/StatCard/StatCard.d.ts +12 -0
- package/lib/typescript/commonjs/components/StatCard/StatCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/StatCard/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/StatCard/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/StatCard/statcard.types.d.ts +68 -0
- package/lib/typescript/commonjs/components/StatCard/statcard.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/StatCard/statcard.utils.d.ts +13 -0
- package/lib/typescript/commonjs/components/StatCard/statcard.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts +19 -0
- package/lib/typescript/commonjs/components/Switch/Switch.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Switch/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Switch/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Switch/switch.types.d.ts +18 -0
- package/lib/typescript/commonjs/components/Switch/switch.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts +18 -0
- package/lib/typescript/commonjs/components/Tabs/Tabs.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tabs/TabsContent.d.ts +6 -0
- package/lib/typescript/commonjs/components/Tabs/TabsContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tabs/TabsList.d.ts +14 -0
- package/lib/typescript/commonjs/components/Tabs/TabsList.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tabs/TabsTrigger.d.ts +10 -0
- package/lib/typescript/commonjs/components/Tabs/TabsTrigger.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tabs/index.d.ts +6 -0
- package/lib/typescript/commonjs/components/Tabs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tabs/tabs.context.d.ts +23 -0
- package/lib/typescript/commonjs/components/Tabs/tabs.context.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tabs/tabs.types.d.ts +43 -0
- package/lib/typescript/commonjs/components/Tabs/tabs.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tag/Tag.d.ts +10 -2
- package/lib/typescript/commonjs/components/Tag/Tag.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/Tag/TagGroup.d.ts +26 -0
- package/lib/typescript/commonjs/components/Tag/TagGroup.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tag/index.d.ts +2 -0
- package/lib/typescript/commonjs/components/Tag/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/Tag/tag.types.d.ts +12 -13
- package/lib/typescript/commonjs/components/Tag/tag.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/TextArea/TextArea.d.ts +21 -0
- package/lib/typescript/commonjs/components/TextArea/TextArea.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/TextArea/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/TextArea/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/TextArea/textArea.types.d.ts +28 -0
- package/lib/typescript/commonjs/components/TextArea/textArea.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/TextInput/TextInput.d.ts +5 -10
- package/lib/typescript/commonjs/components/TextInput/TextInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/TextInput/textInput.types.d.ts +22 -17
- package/lib/typescript/commonjs/components/TextInput/textInput.types.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts +7 -0
- package/lib/typescript/commonjs/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/Tooltip/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Tooltip/tooltip.types.d.ts +27 -0
- package/lib/typescript/commonjs/components/Tooltip/tooltip.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Upload/Upload.d.ts +23 -0
- package/lib/typescript/commonjs/components/Upload/Upload.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Upload/UploadContainer.d.ts +40 -0
- package/lib/typescript/commonjs/components/Upload/UploadContainer.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Upload/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/Upload/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Upload/upload.types.d.ts +43 -0
- package/lib/typescript/commonjs/components/Upload/upload.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/Upload/upload.utils.d.ts +71 -0
- package/lib/typescript/commonjs/components/Upload/upload.utils.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/GroupView.d.ts +15 -0
- package/lib/typescript/commonjs/components/shared/GroupView.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownContent.d.ts +28 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownItem.d.ts +25 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownItem.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownList.d.ts +30 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownList.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownSearch.d.ts +17 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownSearch.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownSeparator.d.ts +14 -0
- package/lib/typescript/commonjs/components/shared/dropdown/DropdownSeparator.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/dropdown.types.d.ts +100 -0
- package/lib/typescript/commonjs/components/shared/dropdown/dropdown.types.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/dropdownFilter.d.ts +25 -0
- package/lib/typescript/commonjs/components/shared/dropdown/dropdownFilter.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/dropdownFlatten.d.ts +14 -0
- package/lib/typescript/commonjs/components/shared/dropdown/dropdownFlatten.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/index.d.ts +16 -0
- package/lib/typescript/commonjs/components/shared/dropdown/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/dropdown/useDropdown.d.ts +29 -0
- package/lib/typescript/commonjs/components/shared/dropdown/useDropdown.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/field/FieldFooter.d.ts +2 -2
- package/lib/typescript/commonjs/components/shared/field/FieldFooter.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/shared/field/FieldLabels.d.ts +2 -2
- package/lib/typescript/commonjs/components/shared/field/FieldLabels.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/shared/group.d.ts +16 -0
- package/lib/typescript/commonjs/components/shared/group.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/shared/select/SelectOptionList.d.ts +98 -0
- package/lib/typescript/commonjs/components/shared/select/SelectOptionList.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/select/SelectTrigger.d.ts +91 -0
- package/lib/typescript/commonjs/components/shared/select/SelectTrigger.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/shared/selector/SelectorContent.d.ts +43 -0
- package/lib/typescript/commonjs/components/shared/selector/SelectorContent.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useControllableState.d.ts +10 -0
- package/lib/typescript/commonjs/hooks/useControllableState.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +74 -3
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/anchored/AnchoredOverlay.d.ts +60 -0
- package/lib/typescript/commonjs/overlay/anchored/AnchoredOverlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/overlay/portal.d.ts +12 -1
- package/lib/typescript/commonjs/overlay/portal.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/positioning.d.ts +48 -0
- package/lib/typescript/commonjs/overlay/positioning.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/sheet/BottomSheet.d.ts +15 -3
- package/lib/typescript/commonjs/overlay/sheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/sheet/SheetScrollable.d.ts +39 -0
- package/lib/typescript/commonjs/overlay/sheet/SheetScrollable.d.ts.map +1 -0
- package/lib/typescript/commonjs/overlay/sheet/sheetGestureContext.d.ts +15 -0
- package/lib/typescript/commonjs/overlay/sheet/sheetGestureContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/overlay/sheet/sheetMath.d.ts +29 -2
- package/lib/typescript/commonjs/overlay/sheet/sheetMath.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/toast/ToastOutlet.d.ts +9 -7
- package/lib/typescript/commonjs/overlay/toast/ToastOutlet.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/useAnchoredPosition.d.ts +35 -8
- package/lib/typescript/commonjs/overlay/useAnchoredPosition.d.ts.map +1 -1
- package/lib/typescript/commonjs/overlay/useKeyboardHeight.d.ts +15 -0
- package/lib/typescript/commonjs/overlay/useKeyboardHeight.d.ts.map +1 -0
- package/lib/typescript/commonjs/primitives/Block.d.ts +3 -3
- package/lib/typescript/commonjs/primitives/Block.d.ts.map +1 -1
- package/lib/typescript/commonjs/primitives/Pressable.d.ts +3 -3
- package/lib/typescript/commonjs/primitives/Pressable.d.ts.map +1 -1
- package/lib/typescript/commonjs/primitives/PrimitiveInput.d.ts +3 -3
- package/lib/typescript/commonjs/primitives/PrimitiveInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/primitives/Separator.d.ts +2 -2
- package/lib/typescript/commonjs/primitives/Separator.d.ts.map +1 -1
- package/lib/typescript/commonjs/primitives/Slot.d.ts +2 -2
- package/lib/typescript/commonjs/primitives/Slot.d.ts.map +1 -1
- package/lib/typescript/commonjs/primitives/Text.d.ts +2 -2
- package/lib/typescript/commonjs/primitives/Text.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/nativeTokenRegistry.d.ts +26 -0
- package/lib/typescript/commonjs/theme/nativeTokenRegistry.d.ts.map +1 -1
- package/lib/typescript/module/adapters/cssStringAdapter.d.ts +10 -6
- package/lib/typescript/module/adapters/cssStringAdapter.d.ts.map +1 -1
- package/lib/typescript/module/adapters/optionalGradient.d.ts +2 -2
- package/lib/typescript/module/adapters/optionalGradient.d.ts.map +1 -1
- package/lib/typescript/module/adapters/surfaceStyle.d.ts.map +1 -1
- package/lib/typescript/module/components/Accordion/Accordion.d.ts +17 -0
- package/lib/typescript/module/components/Accordion/Accordion.d.ts.map +1 -0
- package/lib/typescript/module/components/Accordion/AccordionItem.d.ts +18 -0
- package/lib/typescript/module/components/Accordion/AccordionItem.d.ts.map +1 -0
- package/lib/typescript/module/components/Accordion/accordion.context.d.ts +9 -0
- package/lib/typescript/module/components/Accordion/accordion.context.d.ts.map +1 -0
- package/lib/typescript/module/components/Accordion/accordion.types.d.ts +26 -0
- package/lib/typescript/module/components/Accordion/accordion.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Accordion/index.d.ts +4 -0
- package/lib/typescript/module/components/Accordion/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Alert/Alert.d.ts +12 -2
- package/lib/typescript/module/components/Alert/Alert.d.ts.map +1 -1
- package/lib/typescript/module/components/Alert/alert.types.d.ts +9 -11
- package/lib/typescript/module/components/Alert/alert.types.d.ts.map +1 -1
- package/lib/typescript/module/components/Avatar/Avatar.d.ts +14 -0
- package/lib/typescript/module/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/module/components/Avatar/avatar.types.d.ts +52 -0
- package/lib/typescript/module/components/Avatar/avatar.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Avatar/avatar.utils.d.ts +22 -0
- package/lib/typescript/module/components/Avatar/avatar.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/Avatar/index.d.ts +4 -0
- package/lib/typescript/module/components/Avatar/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Badge/Badge.d.ts +16 -0
- package/lib/typescript/module/components/Badge/Badge.d.ts.map +1 -0
- package/lib/typescript/module/components/Badge/badge.types.d.ts +49 -0
- package/lib/typescript/module/components/Badge/badge.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Badge/badge.utils.d.ts +48 -0
- package/lib/typescript/module/components/Badge/badge.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/Badge/index.d.ts +3 -0
- package/lib/typescript/module/components/Badge/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Breadcrumb/Breadcrumb.d.ts +15 -0
- package/lib/typescript/module/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/lib/typescript/module/components/Breadcrumb/breadcrumb.types.d.ts +63 -0
- package/lib/typescript/module/components/Breadcrumb/breadcrumb.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Breadcrumb/breadcrumb.utils.d.ts +47 -0
- package/lib/typescript/module/components/Breadcrumb/breadcrumb.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/Breadcrumb/index.d.ts +4 -0
- package/lib/typescript/module/components/Breadcrumb/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Button/Button.d.ts +1 -1
- package/lib/typescript/module/components/Button/ButtonGroup.d.ts +29 -0
- package/lib/typescript/module/components/Button/ButtonGroup.d.ts.map +1 -0
- package/lib/typescript/module/components/Button/IconButton.d.ts +7 -0
- package/lib/typescript/module/components/Button/IconButton.d.ts.map +1 -0
- package/lib/typescript/module/components/Button/LinkButton.d.ts +16 -0
- package/lib/typescript/module/components/Button/LinkButton.d.ts.map +1 -0
- package/lib/typescript/module/components/Button/button.types.d.ts +37 -2
- package/lib/typescript/module/components/Button/button.types.d.ts.map +1 -1
- package/lib/typescript/module/components/Button/index.d.ts +5 -1
- package/lib/typescript/module/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/module/components/Card/Card.d.ts +12 -0
- package/lib/typescript/module/components/Card/Card.d.ts.map +1 -0
- package/lib/typescript/module/components/Card/card.types.d.ts +60 -0
- package/lib/typescript/module/components/Card/card.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Card/index.d.ts +3 -0
- package/lib/typescript/module/components/Card/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Chart/Chart.d.ts +13 -0
- package/lib/typescript/module/components/Chart/Chart.d.ts.map +1 -0
- package/lib/typescript/module/components/Chart/ChartContainer.d.ts +8 -0
- package/lib/typescript/module/components/Chart/ChartContainer.d.ts.map +1 -0
- package/lib/typescript/module/components/Chart/ChartHeader.d.ts +8 -0
- package/lib/typescript/module/components/Chart/ChartHeader.d.ts.map +1 -0
- package/lib/typescript/module/components/Chart/ChartLegend.d.ts +12 -0
- package/lib/typescript/module/components/Chart/ChartLegend.d.ts.map +1 -0
- package/lib/typescript/module/components/Chart/ChartNoData.d.ts +10 -0
- package/lib/typescript/module/components/Chart/ChartNoData.d.ts.map +1 -0
- package/lib/typescript/module/components/Chart/ChartSkeleton.d.ts +7 -0
- package/lib/typescript/module/components/Chart/ChartSkeleton.d.ts.map +1 -0
- package/lib/typescript/module/components/Chart/chart.types.d.ts +127 -0
- package/lib/typescript/module/components/Chart/chart.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Chart/index.d.ts +8 -0
- package/lib/typescript/module/components/Chart/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts +19 -0
- package/lib/typescript/module/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/typescript/module/components/Checkbox/checkbox.types.d.ts +26 -0
- package/lib/typescript/module/components/Checkbox/checkbox.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Checkbox/index.d.ts +3 -0
- package/lib/typescript/module/components/Checkbox/index.d.ts.map +1 -0
- package/lib/typescript/module/components/KeyValuePair/KeyValuePair.d.ts +12 -0
- package/lib/typescript/module/components/KeyValuePair/KeyValuePair.d.ts.map +1 -0
- package/lib/typescript/module/components/KeyValuePair/index.d.ts +3 -0
- package/lib/typescript/module/components/KeyValuePair/index.d.ts.map +1 -0
- package/lib/typescript/module/components/KeyValuePair/keyValuePair.types.d.ts +37 -0
- package/lib/typescript/module/components/KeyValuePair/keyValuePair.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Menu/Menu.d.ts +6 -0
- package/lib/typescript/module/components/Menu/Menu.d.ts.map +1 -0
- package/lib/typescript/module/components/Menu/index.d.ts +4 -0
- package/lib/typescript/module/components/Menu/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Menu/menu.types.d.ts +46 -0
- package/lib/typescript/module/components/Menu/menu.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Menu/menu.utils.d.ts +39 -0
- package/lib/typescript/module/components/Menu/menu.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/Modal/Modal.d.ts +7 -0
- package/lib/typescript/module/components/Modal/Modal.d.ts.map +1 -0
- package/lib/typescript/module/components/Modal/ModalFooter.d.ts +12 -0
- package/lib/typescript/module/components/Modal/ModalFooter.d.ts.map +1 -0
- package/lib/typescript/module/components/Modal/ModalHeader.d.ts +20 -0
- package/lib/typescript/module/components/Modal/ModalHeader.d.ts.map +1 -0
- package/lib/typescript/module/components/Modal/index.d.ts +3 -0
- package/lib/typescript/module/components/Modal/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Modal/modal.types.d.ts +55 -0
- package/lib/typescript/module/components/Modal/modal.types.d.ts.map +1 -0
- package/lib/typescript/module/components/MultiSelect/MultiSelect.d.ts +6 -0
- package/lib/typescript/module/components/MultiSelect/MultiSelect.d.ts.map +1 -0
- package/lib/typescript/module/components/MultiSelect/MultiSelectMenuActions.d.ts +18 -0
- package/lib/typescript/module/components/MultiSelect/MultiSelectMenuActions.d.ts.map +1 -0
- package/lib/typescript/module/components/MultiSelect/MultiSelectMenuHeader.d.ts +24 -0
- package/lib/typescript/module/components/MultiSelect/MultiSelectMenuHeader.d.ts.map +1 -0
- package/lib/typescript/module/components/MultiSelect/MultiSelectTrigger.d.ts +30 -0
- package/lib/typescript/module/components/MultiSelect/MultiSelectTrigger.d.ts.map +1 -0
- package/lib/typescript/module/components/MultiSelect/index.d.ts +4 -0
- package/lib/typescript/module/components/MultiSelect/index.d.ts.map +1 -0
- package/lib/typescript/module/components/MultiSelect/multiSelect.types.d.ts +64 -0
- package/lib/typescript/module/components/MultiSelect/multiSelect.types.d.ts.map +1 -0
- package/lib/typescript/module/components/MultiSelect/multiSelect.utils.d.ts +61 -0
- package/lib/typescript/module/components/MultiSelect/multiSelect.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts +25 -0
- package/lib/typescript/module/components/NumberInput/NumberInput.d.ts.map +1 -0
- package/lib/typescript/module/components/NumberInput/index.d.ts +4 -0
- package/lib/typescript/module/components/NumberInput/index.d.ts.map +1 -0
- package/lib/typescript/module/components/NumberInput/numberInput.types.d.ts +32 -0
- package/lib/typescript/module/components/NumberInput/numberInput.types.d.ts.map +1 -0
- package/lib/typescript/module/components/NumberInput/numberInput.utils.d.ts +25 -0
- package/lib/typescript/module/components/NumberInput/numberInput.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts +19 -0
- package/lib/typescript/module/components/OTPInput/OTPInput.d.ts.map +1 -0
- package/lib/typescript/module/components/OTPInput/index.d.ts +4 -0
- package/lib/typescript/module/components/OTPInput/index.d.ts.map +1 -0
- package/lib/typescript/module/components/OTPInput/otpInput.types.d.ts +19 -0
- package/lib/typescript/module/components/OTPInput/otpInput.types.d.ts.map +1 -0
- package/lib/typescript/module/components/OTPInput/otpInput.utils.d.ts +23 -0
- package/lib/typescript/module/components/OTPInput/otpInput.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/OutageChart/OutageChart.d.ts +13 -0
- package/lib/typescript/module/components/OutageChart/OutageChart.d.ts.map +1 -0
- package/lib/typescript/module/components/OutageChart/index.d.ts +3 -0
- package/lib/typescript/module/components/OutageChart/index.d.ts.map +1 -0
- package/lib/typescript/module/components/OutageChart/outageChart.types.d.ts +71 -0
- package/lib/typescript/module/components/OutageChart/outageChart.types.d.ts.map +1 -0
- package/lib/typescript/module/components/OutageChart/outageChart.utils.d.ts +31 -0
- package/lib/typescript/module/components/OutageChart/outageChart.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/Popover/Popover.d.ts +16 -0
- package/lib/typescript/module/components/Popover/Popover.d.ts.map +1 -0
- package/lib/typescript/module/components/Popover/PopoverFooter.d.ts +13 -0
- package/lib/typescript/module/components/Popover/PopoverFooter.d.ts.map +1 -0
- package/lib/typescript/module/components/Popover/PopoverHeader.d.ts +18 -0
- package/lib/typescript/module/components/Popover/PopoverHeader.d.ts.map +1 -0
- package/lib/typescript/module/components/Popover/index.d.ts +3 -0
- package/lib/typescript/module/components/Popover/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Popover/popover.types.d.ts +55 -0
- package/lib/typescript/module/components/Popover/popover.types.d.ts.map +1 -0
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts +4 -0
- package/lib/typescript/module/components/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/module/components/ProgressBar/index.d.ts +5 -0
- package/lib/typescript/module/components/ProgressBar/index.d.ts.map +1 -0
- package/lib/typescript/module/components/ProgressBar/progressBar.types.d.ts +28 -0
- package/lib/typescript/module/components/ProgressBar/progressBar.types.d.ts.map +1 -0
- package/lib/typescript/module/components/ProgressBar/progressBar.utils.d.ts +54 -0
- package/lib/typescript/module/components/ProgressBar/progressBar.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/Radio/Radio.d.ts +19 -0
- package/lib/typescript/module/components/Radio/Radio.d.ts.map +1 -0
- package/lib/typescript/module/components/Radio/index.d.ts +3 -0
- package/lib/typescript/module/components/Radio/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Radio/radio.types.d.ts +23 -0
- package/lib/typescript/module/components/Radio/radio.types.d.ts.map +1 -0
- package/lib/typescript/module/components/SankeyChart/SankeyChart.d.ts +16 -0
- package/lib/typescript/module/components/SankeyChart/SankeyChart.d.ts.map +1 -0
- package/lib/typescript/module/components/SankeyChart/index.d.ts +3 -0
- package/lib/typescript/module/components/SankeyChart/index.d.ts.map +1 -0
- package/lib/typescript/module/components/SankeyChart/sankeyChart.types.d.ts +86 -0
- package/lib/typescript/module/components/SankeyChart/sankeyChart.types.d.ts.map +1 -0
- package/lib/typescript/module/components/SankeyChart/sankeyChart.utils.d.ts +42 -0
- package/lib/typescript/module/components/SankeyChart/sankeyChart.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/SearchInput/SearchInput.d.ts +22 -0
- package/lib/typescript/module/components/SearchInput/SearchInput.d.ts.map +1 -0
- package/lib/typescript/module/components/SearchInput/index.d.ts +3 -0
- package/lib/typescript/module/components/SearchInput/index.d.ts.map +1 -0
- package/lib/typescript/module/components/SearchInput/searchInput.types.d.ts +25 -0
- package/lib/typescript/module/components/SearchInput/searchInput.types.d.ts.map +1 -0
- package/lib/typescript/module/components/SingleSelect/SingleSelect.d.ts +6 -0
- package/lib/typescript/module/components/SingleSelect/SingleSelect.d.ts.map +1 -0
- package/lib/typescript/module/components/SingleSelect/SingleSelectTrigger.d.ts +27 -0
- package/lib/typescript/module/components/SingleSelect/SingleSelectTrigger.d.ts.map +1 -0
- package/lib/typescript/module/components/SingleSelect/index.d.ts +4 -0
- package/lib/typescript/module/components/SingleSelect/index.d.ts.map +1 -0
- package/lib/typescript/module/components/SingleSelect/singleSelect.types.d.ts +45 -0
- package/lib/typescript/module/components/SingleSelect/singleSelect.types.d.ts.map +1 -0
- package/lib/typescript/module/components/SingleSelect/singleSelect.utils.d.ts +30 -0
- package/lib/typescript/module/components/SingleSelect/singleSelect.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/Skeleton/skeleton.types.d.ts +2 -2
- package/lib/typescript/module/components/Skeleton/skeleton.types.d.ts.map +1 -1
- package/lib/typescript/module/components/Snackbar/SnackbarToast.d.ts +14 -0
- package/lib/typescript/module/components/Snackbar/SnackbarToast.d.ts.map +1 -0
- package/lib/typescript/module/components/Snackbar/index.d.ts +5 -0
- package/lib/typescript/module/components/Snackbar/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Snackbar/snackbar.d.ts +10 -0
- package/lib/typescript/module/components/Snackbar/snackbar.d.ts.map +1 -0
- package/lib/typescript/module/components/Snackbar/snackbar.types.d.ts +41 -0
- package/lib/typescript/module/components/Snackbar/snackbar.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Snackbar/snackbar.utils.d.ts +4 -0
- package/lib/typescript/module/components/Snackbar/snackbar.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/Sparkline/Sparkline.d.ts +4 -0
- package/lib/typescript/module/components/Sparkline/Sparkline.d.ts.map +1 -0
- package/lib/typescript/module/components/Sparkline/index.d.ts +3 -0
- package/lib/typescript/module/components/Sparkline/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Sparkline/sparkline.types.d.ts +27 -0
- package/lib/typescript/module/components/Sparkline/sparkline.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Spinner/Spinner.d.ts +4 -0
- package/lib/typescript/module/components/Spinner/Spinner.d.ts.map +1 -0
- package/lib/typescript/module/components/Spinner/index.d.ts +5 -0
- package/lib/typescript/module/components/Spinner/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Spinner/spinner.types.d.ts +27 -0
- package/lib/typescript/module/components/Spinner/spinner.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Spinner/spinner.utils.d.ts +24 -0
- package/lib/typescript/module/components/Spinner/spinner.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/StatCard/StatCard.d.ts +12 -0
- package/lib/typescript/module/components/StatCard/StatCard.d.ts.map +1 -0
- package/lib/typescript/module/components/StatCard/index.d.ts +4 -0
- package/lib/typescript/module/components/StatCard/index.d.ts.map +1 -0
- package/lib/typescript/module/components/StatCard/statcard.types.d.ts +68 -0
- package/lib/typescript/module/components/StatCard/statcard.types.d.ts.map +1 -0
- package/lib/typescript/module/components/StatCard/statcard.utils.d.ts +13 -0
- package/lib/typescript/module/components/StatCard/statcard.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts +19 -0
- package/lib/typescript/module/components/Switch/Switch.d.ts.map +1 -0
- package/lib/typescript/module/components/Switch/index.d.ts +3 -0
- package/lib/typescript/module/components/Switch/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Switch/switch.types.d.ts +18 -0
- package/lib/typescript/module/components/Switch/switch.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Tabs/Tabs.d.ts +18 -0
- package/lib/typescript/module/components/Tabs/Tabs.d.ts.map +1 -0
- package/lib/typescript/module/components/Tabs/TabsContent.d.ts +6 -0
- package/lib/typescript/module/components/Tabs/TabsContent.d.ts.map +1 -0
- package/lib/typescript/module/components/Tabs/TabsList.d.ts +14 -0
- package/lib/typescript/module/components/Tabs/TabsList.d.ts.map +1 -0
- package/lib/typescript/module/components/Tabs/TabsTrigger.d.ts +10 -0
- package/lib/typescript/module/components/Tabs/TabsTrigger.d.ts.map +1 -0
- package/lib/typescript/module/components/Tabs/index.d.ts +6 -0
- package/lib/typescript/module/components/Tabs/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Tabs/tabs.context.d.ts +23 -0
- package/lib/typescript/module/components/Tabs/tabs.context.d.ts.map +1 -0
- package/lib/typescript/module/components/Tabs/tabs.types.d.ts +43 -0
- package/lib/typescript/module/components/Tabs/tabs.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Tag/Tag.d.ts +10 -2
- package/lib/typescript/module/components/Tag/Tag.d.ts.map +1 -1
- package/lib/typescript/module/components/Tag/TagGroup.d.ts +26 -0
- package/lib/typescript/module/components/Tag/TagGroup.d.ts.map +1 -0
- package/lib/typescript/module/components/Tag/index.d.ts +2 -0
- package/lib/typescript/module/components/Tag/index.d.ts.map +1 -1
- package/lib/typescript/module/components/Tag/tag.types.d.ts +12 -13
- package/lib/typescript/module/components/Tag/tag.types.d.ts.map +1 -1
- package/lib/typescript/module/components/TextArea/TextArea.d.ts +21 -0
- package/lib/typescript/module/components/TextArea/TextArea.d.ts.map +1 -0
- package/lib/typescript/module/components/TextArea/index.d.ts +3 -0
- package/lib/typescript/module/components/TextArea/index.d.ts.map +1 -0
- package/lib/typescript/module/components/TextArea/textArea.types.d.ts +28 -0
- package/lib/typescript/module/components/TextArea/textArea.types.d.ts.map +1 -0
- package/lib/typescript/module/components/TextInput/TextInput.d.ts +5 -10
- package/lib/typescript/module/components/TextInput/TextInput.d.ts.map +1 -1
- package/lib/typescript/module/components/TextInput/textInput.types.d.ts +22 -17
- package/lib/typescript/module/components/TextInput/textInput.types.d.ts.map +1 -1
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts +7 -0
- package/lib/typescript/module/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/lib/typescript/module/components/Tooltip/index.d.ts +3 -0
- package/lib/typescript/module/components/Tooltip/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Tooltip/tooltip.types.d.ts +27 -0
- package/lib/typescript/module/components/Tooltip/tooltip.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Upload/Upload.d.ts +23 -0
- package/lib/typescript/module/components/Upload/Upload.d.ts.map +1 -0
- package/lib/typescript/module/components/Upload/UploadContainer.d.ts +40 -0
- package/lib/typescript/module/components/Upload/UploadContainer.d.ts.map +1 -0
- package/lib/typescript/module/components/Upload/index.d.ts +4 -0
- package/lib/typescript/module/components/Upload/index.d.ts.map +1 -0
- package/lib/typescript/module/components/Upload/upload.types.d.ts +43 -0
- package/lib/typescript/module/components/Upload/upload.types.d.ts.map +1 -0
- package/lib/typescript/module/components/Upload/upload.utils.d.ts +71 -0
- package/lib/typescript/module/components/Upload/upload.utils.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/GroupView.d.ts +15 -0
- package/lib/typescript/module/components/shared/GroupView.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownContent.d.ts +28 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownContent.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownItem.d.ts +25 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownItem.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownList.d.ts +30 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownList.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownSearch.d.ts +17 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownSearch.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownSeparator.d.ts +14 -0
- package/lib/typescript/module/components/shared/dropdown/DropdownSeparator.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/dropdown.types.d.ts +100 -0
- package/lib/typescript/module/components/shared/dropdown/dropdown.types.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/dropdownFilter.d.ts +25 -0
- package/lib/typescript/module/components/shared/dropdown/dropdownFilter.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/dropdownFlatten.d.ts +14 -0
- package/lib/typescript/module/components/shared/dropdown/dropdownFlatten.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/index.d.ts +16 -0
- package/lib/typescript/module/components/shared/dropdown/index.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/dropdown/useDropdown.d.ts +29 -0
- package/lib/typescript/module/components/shared/dropdown/useDropdown.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/field/FieldFooter.d.ts +2 -2
- package/lib/typescript/module/components/shared/field/FieldFooter.d.ts.map +1 -1
- package/lib/typescript/module/components/shared/field/FieldLabels.d.ts +2 -2
- package/lib/typescript/module/components/shared/field/FieldLabels.d.ts.map +1 -1
- package/lib/typescript/module/components/shared/group.d.ts +16 -0
- package/lib/typescript/module/components/shared/group.d.ts.map +1 -1
- package/lib/typescript/module/components/shared/select/SelectOptionList.d.ts +98 -0
- package/lib/typescript/module/components/shared/select/SelectOptionList.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/select/SelectTrigger.d.ts +91 -0
- package/lib/typescript/module/components/shared/select/SelectTrigger.d.ts.map +1 -0
- package/lib/typescript/module/components/shared/selector/SelectorContent.d.ts +43 -0
- package/lib/typescript/module/components/shared/selector/SelectorContent.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useControllableState.d.ts +10 -0
- package/lib/typescript/module/hooks/useControllableState.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +74 -3
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/overlay/anchored/AnchoredOverlay.d.ts +60 -0
- package/lib/typescript/module/overlay/anchored/AnchoredOverlay.d.ts.map +1 -0
- package/lib/typescript/module/overlay/portal.d.ts +12 -1
- package/lib/typescript/module/overlay/portal.d.ts.map +1 -1
- package/lib/typescript/module/overlay/positioning.d.ts +48 -0
- package/lib/typescript/module/overlay/positioning.d.ts.map +1 -1
- package/lib/typescript/module/overlay/sheet/BottomSheet.d.ts +15 -3
- package/lib/typescript/module/overlay/sheet/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/overlay/sheet/SheetScrollable.d.ts +39 -0
- package/lib/typescript/module/overlay/sheet/SheetScrollable.d.ts.map +1 -0
- package/lib/typescript/module/overlay/sheet/sheetGestureContext.d.ts +15 -0
- package/lib/typescript/module/overlay/sheet/sheetGestureContext.d.ts.map +1 -0
- package/lib/typescript/module/overlay/sheet/sheetMath.d.ts +29 -2
- package/lib/typescript/module/overlay/sheet/sheetMath.d.ts.map +1 -1
- package/lib/typescript/module/overlay/toast/ToastOutlet.d.ts +9 -7
- package/lib/typescript/module/overlay/toast/ToastOutlet.d.ts.map +1 -1
- package/lib/typescript/module/overlay/useAnchoredPosition.d.ts +35 -8
- package/lib/typescript/module/overlay/useAnchoredPosition.d.ts.map +1 -1
- package/lib/typescript/module/overlay/useKeyboardHeight.d.ts +15 -0
- package/lib/typescript/module/overlay/useKeyboardHeight.d.ts.map +1 -0
- package/lib/typescript/module/primitives/Block.d.ts +3 -3
- package/lib/typescript/module/primitives/Block.d.ts.map +1 -1
- package/lib/typescript/module/primitives/Pressable.d.ts +3 -3
- package/lib/typescript/module/primitives/Pressable.d.ts.map +1 -1
- package/lib/typescript/module/primitives/PrimitiveInput.d.ts +3 -3
- package/lib/typescript/module/primitives/PrimitiveInput.d.ts.map +1 -1
- package/lib/typescript/module/primitives/Separator.d.ts +2 -2
- package/lib/typescript/module/primitives/Separator.d.ts.map +1 -1
- package/lib/typescript/module/primitives/Slot.d.ts +2 -2
- package/lib/typescript/module/primitives/Slot.d.ts.map +1 -1
- package/lib/typescript/module/primitives/Text.d.ts +2 -2
- package/lib/typescript/module/primitives/Text.d.ts.map +1 -1
- package/lib/typescript/module/theme/nativeTokenRegistry.d.ts +26 -0
- package/lib/typescript/module/theme/nativeTokenRegistry.d.ts.map +1 -1
- package/package.json +6 -3
- package/src/adapters/cssStringAdapter.ts +120 -35
- package/src/adapters/optionalGradient.ts +2 -2
- package/src/adapters/surfaceStyle.ts +4 -3
- package/src/components/Accordion/Accordion.tsx +114 -0
- package/src/components/Accordion/AccordionItem.tsx +264 -0
- package/src/components/Accordion/accordion.context.ts +22 -0
- package/src/components/Accordion/accordion.types.ts +30 -0
- package/src/components/Accordion/index.ts +6 -0
- package/src/components/Alert/alert.types.ts +9 -12
- package/src/components/Avatar/Avatar.tsx +225 -0
- package/src/components/Avatar/avatar.types.ts +56 -0
- package/src/components/Avatar/avatar.utils.ts +70 -0
- package/src/components/Avatar/index.ts +7 -0
- package/src/components/Badge/Badge.tsx +183 -0
- package/src/components/Badge/badge.types.ts +54 -0
- package/src/components/Badge/badge.utils.ts +178 -0
- package/src/components/Badge/index.ts +2 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +310 -0
- package/src/components/Breadcrumb/breadcrumb.types.ts +64 -0
- package/src/components/Breadcrumb/breadcrumb.utils.ts +117 -0
- package/src/components/Breadcrumb/index.ts +11 -0
- package/src/components/Button/Button.tsx +1 -1
- package/src/components/Button/ButtonGroup.tsx +51 -0
- package/src/components/Button/IconButton.tsx +59 -0
- package/src/components/Button/LinkButton.tsx +25 -0
- package/src/components/Button/button.types.ts +45 -1
- package/src/components/Button/index.ts +9 -1
- package/src/components/Card/Card.tsx +292 -0
- package/src/components/Card/card.types.ts +62 -0
- package/src/components/Card/index.ts +2 -0
- package/src/components/Chart/Chart.tsx +630 -0
- package/src/components/Chart/ChartContainer.tsx +35 -0
- package/src/components/Chart/ChartHeader.tsx +55 -0
- package/src/components/Chart/ChartLegend.tsx +158 -0
- package/src/components/Chart/ChartNoData.tsx +52 -0
- package/src/components/Chart/ChartSkeleton.tsx +20 -0
- package/src/components/Chart/chart.types.ts +192 -0
- package/src/components/Chart/index.ts +20 -0
- package/src/components/Checkbox/Checkbox.tsx +182 -0
- package/src/components/Checkbox/checkbox.types.ts +26 -0
- package/src/components/Checkbox/index.ts +2 -0
- package/src/components/KeyValuePair/KeyValuePair.tsx +121 -0
- package/src/components/KeyValuePair/index.ts +6 -0
- package/src/components/KeyValuePair/keyValuePair.types.ts +39 -0
- package/src/components/Menu/Menu.tsx +228 -0
- package/src/components/Menu/index.ts +10 -0
- package/src/components/Menu/menu.types.ts +60 -0
- package/src/components/Menu/menu.utils.ts +211 -0
- package/src/components/Modal/Modal.tsx +292 -0
- package/src/components/Modal/ModalFooter.tsx +90 -0
- package/src/components/Modal/ModalHeader.tsx +119 -0
- package/src/components/Modal/index.ts +2 -0
- package/src/components/Modal/modal.types.ts +59 -0
- package/src/components/MultiSelect/MultiSelect.tsx +376 -0
- package/src/components/MultiSelect/MultiSelectMenuActions.tsx +65 -0
- package/src/components/MultiSelect/MultiSelectMenuHeader.tsx +156 -0
- package/src/components/MultiSelect/MultiSelectTrigger.tsx +303 -0
- package/src/components/MultiSelect/index.ts +15 -0
- package/src/components/MultiSelect/multiSelect.types.ts +96 -0
- package/src/components/MultiSelect/multiSelect.utils.ts +335 -0
- package/src/components/NumberInput/NumberInput.tsx +323 -0
- package/src/components/NumberInput/index.ts +13 -0
- package/src/components/NumberInput/numberInput.types.ts +39 -0
- package/src/components/NumberInput/numberInput.utils.ts +98 -0
- package/src/components/OTPInput/OTPInput.tsx +222 -0
- package/src/components/OTPInput/index.ts +8 -0
- package/src/components/OTPInput/otpInput.types.ts +22 -0
- package/src/components/OTPInput/otpInput.utils.ts +63 -0
- package/src/components/OutageChart/OutageChart.tsx +351 -0
- package/src/components/OutageChart/index.ts +7 -0
- package/src/components/OutageChart/outageChart.types.ts +67 -0
- package/src/components/OutageChart/outageChart.utils.ts +128 -0
- package/src/components/Popover/Popover.tsx +178 -0
- package/src/components/Popover/PopoverFooter.tsx +68 -0
- package/src/components/Popover/PopoverHeader.tsx +102 -0
- package/src/components/Popover/index.ts +2 -0
- package/src/components/Popover/popover.types.ts +56 -0
- package/src/components/ProgressBar/ProgressBar.tsx +333 -0
- package/src/components/ProgressBar/index.ts +13 -0
- package/src/components/ProgressBar/progressBar.types.ts +32 -0
- package/src/components/ProgressBar/progressBar.utils.ts +136 -0
- package/src/components/Radio/Radio.tsx +149 -0
- package/src/components/Radio/index.ts +2 -0
- package/src/components/Radio/radio.types.ts +23 -0
- package/src/components/SankeyChart/SankeyChart.tsx +303 -0
- package/src/components/SankeyChart/index.ts +6 -0
- package/src/components/SankeyChart/sankeyChart.types.ts +81 -0
- package/src/components/SankeyChart/sankeyChart.utils.ts +287 -0
- package/src/components/SearchInput/SearchInput.tsx +170 -0
- package/src/components/SearchInput/index.ts +2 -0
- package/src/components/SearchInput/searchInput.types.ts +38 -0
- package/src/components/SingleSelect/SingleSelect.tsx +278 -0
- package/src/components/SingleSelect/SingleSelectTrigger.tsx +222 -0
- package/src/components/SingleSelect/index.ts +13 -0
- package/src/components/SingleSelect/singleSelect.types.ts +68 -0
- package/src/components/SingleSelect/singleSelect.utils.ts +175 -0
- package/src/components/Skeleton/skeleton.types.ts +2 -2
- package/src/components/Snackbar/SnackbarToast.tsx +158 -0
- package/src/components/Snackbar/index.ts +7 -0
- package/src/components/Snackbar/snackbar.tsx +26 -0
- package/src/components/Snackbar/snackbar.types.ts +42 -0
- package/src/components/Snackbar/snackbar.utils.ts +31 -0
- package/src/components/Sparkline/Sparkline.tsx +175 -0
- package/src/components/Sparkline/index.ts +6 -0
- package/src/components/Sparkline/sparkline.types.ts +29 -0
- package/src/components/Spinner/Spinner.tsx +132 -0
- package/src/components/Spinner/index.ts +9 -0
- package/src/components/Spinner/spinner.types.ts +30 -0
- package/src/components/Spinner/spinner.utils.ts +51 -0
- package/src/components/StatCard/StatCard.tsx +438 -0
- package/src/components/StatCard/index.ts +7 -0
- package/src/components/StatCard/statcard.types.ts +75 -0
- package/src/components/StatCard/statcard.utils.ts +36 -0
- package/src/components/Switch/Switch.tsx +147 -0
- package/src/components/Switch/index.ts +2 -0
- package/src/components/Switch/switch.types.ts +18 -0
- package/src/components/Tabs/Tabs.tsx +98 -0
- package/src/components/Tabs/TabsContent.tsx +22 -0
- package/src/components/Tabs/TabsList.tsx +188 -0
- package/src/components/Tabs/TabsTrigger.tsx +98 -0
- package/src/components/Tabs/index.ts +10 -0
- package/src/components/Tabs/tabs.context.ts +31 -0
- package/src/components/Tabs/tabs.types.ts +46 -0
- package/src/components/Tag/Tag.tsx +2 -2
- package/src/components/Tag/TagGroup.tsx +44 -0
- package/src/components/Tag/index.ts +2 -0
- package/src/components/Tag/tag.types.ts +15 -18
- package/src/components/TextArea/TextArea.tsx +149 -0
- package/src/components/TextArea/index.ts +2 -0
- package/src/components/TextArea/textArea.types.ts +46 -0
- package/src/components/TextInput/TextInput.tsx +11 -2
- package/src/components/TextInput/textInput.types.ts +32 -18
- package/src/components/Tooltip/Tooltip.tsx +140 -0
- package/src/components/Tooltip/index.ts +2 -0
- package/src/components/Tooltip/tooltip.types.ts +30 -0
- package/src/components/Upload/Upload.tsx +135 -0
- package/src/components/Upload/UploadContainer.tsx +445 -0
- package/src/components/Upload/index.ts +3 -0
- package/src/components/Upload/upload.types.ts +47 -0
- package/src/components/Upload/upload.utils.ts +229 -0
- package/src/components/shared/GroupView.tsx +86 -0
- package/src/components/shared/dropdown/DropdownContent.tsx +156 -0
- package/src/components/shared/dropdown/DropdownItem.tsx +176 -0
- package/src/components/shared/dropdown/DropdownList.tsx +211 -0
- package/src/components/shared/dropdown/DropdownSearch.tsx +60 -0
- package/src/components/shared/dropdown/DropdownSeparator.tsx +38 -0
- package/src/components/shared/dropdown/dropdown.types.ts +109 -0
- package/src/components/shared/dropdown/dropdownFilter.ts +60 -0
- package/src/components/shared/dropdown/dropdownFlatten.ts +49 -0
- package/src/components/shared/dropdown/index.ts +25 -0
- package/src/components/shared/dropdown/useDropdown.ts +76 -0
- package/src/components/shared/field/FieldFooter.tsx +2 -2
- package/src/components/shared/field/FieldLabels.tsx +2 -2
- package/src/components/shared/group.ts +25 -0
- package/src/components/shared/select/SelectOptionList.tsx +313 -0
- package/src/components/shared/select/SelectTrigger.tsx +276 -0
- package/src/components/shared/selector/SelectorContent.tsx +120 -0
- package/src/hooks/useControllableState.ts +32 -0
- package/src/index.ts +200 -4
- package/src/overlay/anchored/AnchoredOverlay.tsx +286 -0
- package/src/overlay/portal.tsx +100 -29
- package/src/overlay/positioning.ts +113 -0
- package/src/overlay/sheet/BottomSheet.tsx +125 -11
- package/src/overlay/sheet/SheetScrollable.tsx +69 -0
- package/src/overlay/sheet/sheetGestureContext.ts +17 -0
- package/src/overlay/sheet/sheetMath.ts +59 -3
- package/src/overlay/toast/ToastOutlet.tsx +140 -21
- package/src/overlay/useAnchoredPosition.ts +102 -22
- package/src/overlay/useKeyboardHeight.ts +36 -0
- package/src/primitives/Block.tsx +2 -1
- package/src/primitives/Pressable.tsx +15 -37
- package/src/primitives/PrimitiveInput.tsx +2 -1
- package/src/primitives/Separator.tsx +2 -2
- package/src/primitives/Slot.tsx +2 -2
- package/src/primitives/Text.tsx +2 -1
- package/src/theme/nativeTokenRegistry.ts +52 -0
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
import { type LayoutChangeEvent, type View } from 'react-native';
|
|
2
|
-
import { type Alignment, type AnchoredPosition, type Placement } from './positioning.js';
|
|
2
|
+
import { type Alignment, type AnchoredPosition, type Placement, type Rect } from './positioning.js';
|
|
3
3
|
/**
|
|
4
4
|
* Measurement plumbing for `computeAnchoredPosition`.
|
|
5
5
|
*
|
|
6
6
|
* Wires the three inputs the pure engine needs: the anchor's window rect
|
|
7
|
-
* (`measureInWindow
|
|
8
|
-
* size
|
|
7
|
+
* (`measureInWindow`), the floating content's size (its `onLayout`), and
|
|
8
|
+
* the window size — reduced by the soft keyboard's height so content flips
|
|
9
|
+
* and clamps above it.
|
|
10
|
+
*
|
|
11
|
+
* Re-measure philosophy: the overlay components render a touch-capturing
|
|
12
|
+
* backdrop while open, so nothing can scroll under an open overlay — the
|
|
13
|
+
* anchor only moves on rotation or when the keyboard changes the window.
|
|
14
|
+
* The anchor is measured when `open` flips true and re-measured on
|
|
15
|
+
* window-dimension or keyboard changes while open; `remeasure()` covers
|
|
16
|
+
* anything exotic. There is no RN ResizeObserver, and polling would burn
|
|
17
|
+
* battery for a case the backdrop already prevents.
|
|
9
18
|
*
|
|
10
19
|
* ```tsx
|
|
11
|
-
* const { anchorRef,
|
|
12
|
-
* useAnchoredPosition({ placement: 'bottom' })
|
|
20
|
+
* const { anchorRef, onContentLayout, position, arrow } =
|
|
21
|
+
* useAnchoredPosition({ open, placement: 'bottom', arrowSize: 6 })
|
|
13
22
|
*
|
|
14
|
-
* <Pressable ref={anchorRef} onPress={
|
|
23
|
+
* <Pressable ref={anchorRef} onPress={open} />
|
|
15
24
|
* <Portal>
|
|
16
25
|
* <View
|
|
17
26
|
* onLayout={onContentLayout}
|
|
@@ -25,16 +34,34 @@ import { type Alignment, type AnchoredPosition, type Placement } from './positio
|
|
|
25
34
|
*
|
|
26
35
|
* `position` is `null` until both measurements land — render the content
|
|
27
36
|
* transparent (not unmounted, or `onLayout` never fires) until then.
|
|
37
|
+
* `arrow` is `null` unless `arrowSize` is set; it is the arrow's center in
|
|
38
|
+
* content-local coordinates (`computeArrowPosition`).
|
|
28
39
|
*/
|
|
29
|
-
export declare function useAnchoredPosition(options
|
|
40
|
+
export declare function useAnchoredPosition(options: {
|
|
41
|
+
/** Whether the overlay is presented — measurement follows this. */
|
|
42
|
+
open: boolean;
|
|
30
43
|
placement?: Placement;
|
|
31
44
|
alignment?: Alignment;
|
|
32
45
|
offset?: number;
|
|
33
46
|
viewportPadding?: number;
|
|
47
|
+
/** Edge length of the arrow square; enables the `arrow` result. */
|
|
48
|
+
arrowSize?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Arrow-led cross axis (the tooltip contract): the tip sits at the
|
|
51
|
+
* `alignment` spot on the content and the content moves so the tip
|
|
52
|
+
* lands on the anchor's center. Requires `arrowSize`.
|
|
53
|
+
*/
|
|
54
|
+
arrowAligned?: boolean;
|
|
34
55
|
}): {
|
|
35
56
|
anchorRef: import("react").RefObject<View | null>;
|
|
36
|
-
measureAnchor: () => void;
|
|
37
57
|
onContentLayout: (event: LayoutChangeEvent) => void;
|
|
38
58
|
position: AnchoredPosition | null;
|
|
59
|
+
arrow: {
|
|
60
|
+
x: number;
|
|
61
|
+
y: number;
|
|
62
|
+
} | null;
|
|
63
|
+
/** The anchor's window rect — for anchor-width-matched dropdowns. */
|
|
64
|
+
anchorRect: Rect | null;
|
|
65
|
+
remeasure: () => void;
|
|
39
66
|
};
|
|
40
67
|
//# sourceMappingURL=useAnchoredPosition.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAnchoredPosition.d.ts","sourceRoot":"","sources":["../../../../src/overlay/useAnchoredPosition.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACZ,MAAM,cAAc,CAAA;AACrB,OAAO,
|
|
1
|
+
{"version":3,"file":"useAnchoredPosition.d.ts","sourceRoot":"","sources":["../../../../src/overlay/useAnchoredPosition.ts"],"names":[],"mappings":"AACA,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,IAAI,EACZ,MAAM,cAAc,CAAA;AACrB,OAAO,EAIH,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,IAAI,EAEZ,MAAM,kBAAe,CAAA;AAGtB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE;IACzC,mEAAmE;IACnE,IAAI,EAAE,OAAO,CAAA;IACb,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;CACzB;;6BAkC+C,iBAAiB;;;WAW7C,MAAM;WAAK,MAAM;;IAoD7B,qEAAqE;;;EAI5E"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The soft keyboard's current height in window points — dependency-free
|
|
3
|
+
* keyboard tracking for overlays.
|
|
4
|
+
*
|
|
5
|
+
* iOS fires `keyboardWillShow/Hide` ahead of the frame change, so an
|
|
6
|
+
* animation started from this state tracks the keyboard closely; Android
|
|
7
|
+
* only has the `Did` events. Height comes from `endCoordinates`, so an iOS
|
|
8
|
+
* keyboard that changes height (emoji pane, autocomplete bar) updates too.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useKeyboardHeight(): {
|
|
11
|
+
height: number;
|
|
12
|
+
visible: boolean;
|
|
13
|
+
};
|
|
14
|
+
export default useKeyboardHeight;
|
|
15
|
+
//# sourceMappingURL=useKeyboardHeight.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKeyboardHeight.d.ts","sourceRoot":"","sources":["../../../../src/overlay/useKeyboardHeight.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,IAAI;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAqBxE;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { View, type ViewProps, type ViewStyle } from 'react-native';
|
|
2
|
+
import { View, type ViewProps, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
import { type SurfaceStyleProps } from '../adapters/surfaceStyle.js';
|
|
4
4
|
/**
|
|
5
5
|
* Native `Block` — a `View` driven by token-shaped style props.
|
|
@@ -21,7 +21,7 @@ import { type SurfaceStyleProps } from '../adapters/surfaceStyle.js';
|
|
|
21
21
|
export type BlockProps = SurfaceStyleProps & {
|
|
22
22
|
children?: React.ReactNode;
|
|
23
23
|
/** Escape hatch for RN styles the token props do not cover. */
|
|
24
|
-
style?: ViewStyle
|
|
24
|
+
style?: StyleProp<ViewStyle>;
|
|
25
25
|
} & Omit<ViewProps, 'style'>;
|
|
26
26
|
/**
|
|
27
27
|
* Memoised because primitives sit at the leaves of every component tree: a
|
|
@@ -31,7 +31,7 @@ export type BlockProps = SurfaceStyleProps & {
|
|
|
31
31
|
export declare const Block: React.NamedExoticComponent<SurfaceStyleProps & {
|
|
32
32
|
children?: React.ReactNode;
|
|
33
33
|
/** Escape hatch for RN styles the token props do not cover. */
|
|
34
|
-
style?: ViewStyle
|
|
34
|
+
style?: StyleProp<ViewStyle>;
|
|
35
35
|
} & Omit<ViewProps, "style"> & React.RefAttributes<View>>;
|
|
36
36
|
export default Block;
|
|
37
37
|
//# sourceMappingURL=Block.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAC/C,OAAO,EACH,IAAI,EAIJ,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAA;AACrB,OAAO,EAEH,KAAK,iBAAiB,EACzB,MAAM,6BAA0B,CAAA;AAEjC;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,MAAM,UAAU,GAAG,iBAAiB,GAAG;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,+DAA+D;IAC/D,KAAK,CAAC,EAAE,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Block.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAC/C,OAAO,EACH,IAAI,EAIJ,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAA;AACrB,OAAO,EAEH,KAAK,iBAAiB,EACzB,MAAM,6BAA0B,CAAA;AAEjC;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,MAAM,UAAU,GAAG,iBAAiB,GAAG;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,+DAA+D;IAC/D,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC/B,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;AA4E5B;;;;GAIG;AACH,eAAO,MAAM,KAAK;eApFH,KAAK,CAAC,SAAS;IAC1B,+DAA+D;YACvD,SAAS,CAAC,SAAS,CAAC;yDAkFI,CAAA;AAWpC,eAAe,KAAK,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { View, type GestureResponderEvent, type PressableProps, type ViewStyle } from 'react-native';
|
|
2
|
+
import { View, type GestureResponderEvent, type PressableProps, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
import { type SurfaceStyleProps } from '../adapters/surfaceStyle.js';
|
|
4
4
|
import { MIN_TOUCH_TARGET } from './touchTarget.js';
|
|
5
5
|
export { MIN_TOUCH_TARGET };
|
|
@@ -81,7 +81,7 @@ export type PrimitivePressableProps = SurfaceStyleProps & {
|
|
|
81
81
|
*/
|
|
82
82
|
minTouchTarget?: number;
|
|
83
83
|
onPress?: (event: GestureResponderEvent) => void;
|
|
84
|
-
style?: ViewStyle
|
|
84
|
+
style?: StyleProp<ViewStyle>;
|
|
85
85
|
} & Omit<PressableProps, 'style' | 'onPress' | 'disabled' | 'children'>;
|
|
86
86
|
/** Memoised — see the note on `Block`. */
|
|
87
87
|
export declare const Pressable: React.NamedExoticComponent<SurfaceStyleProps & {
|
|
@@ -129,7 +129,7 @@ export declare const Pressable: React.NamedExoticComponent<SurfaceStyleProps & {
|
|
|
129
129
|
*/
|
|
130
130
|
minTouchTarget?: number;
|
|
131
131
|
onPress?: (event: GestureResponderEvent) => void;
|
|
132
|
-
style?: ViewStyle
|
|
132
|
+
style?: StyleProp<ViewStyle>;
|
|
133
133
|
} & Omit<PressableProps, "children" | "style" | "onPress" | "disabled"> & React.RefAttributes<View>>;
|
|
134
134
|
export default Pressable;
|
|
135
135
|
//# sourceMappingURL=Pressable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAA;AAC/E,OAAO,EAGH,IAAI,EAEJ,KAAK,qBAAqB,EAE1B,KAAK,cAAc,EAEnB,KAAK,SAAS,EACjB,MAAM,cAAc,CAAA;AAMrB,OAAO,EAEH,KAAK,iBAAiB,EACzB,MAAM,6BAA0B,CAAA;AAKjC,OAAO,EACH,gBAAgB,EAInB,MAAM,kBAAe,CAAA;AAItB,OAAO,EAAE,gBAAgB,EAAE,CAAA;AAE3B;;;;;;;;;;;;;GAaG;AAEH;;;;;;GAMG;AAEH;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG;IACtD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;IACvC,+DAA+D;IAC/D,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAA;IAChD,KAAK,CAAC,EAAE,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"Pressable.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Pressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAA;AAC/E,OAAO,EAGH,IAAI,EAEJ,KAAK,qBAAqB,EAE1B,KAAK,cAAc,EAEnB,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAA;AAMrB,OAAO,EAEH,KAAK,iBAAiB,EACzB,MAAM,6BAA0B,CAAA;AAKjC,OAAO,EACH,gBAAgB,EAInB,MAAM,kBAAe,CAAA;AAItB,OAAO,EAAE,gBAAgB,EAAE,CAAA;AAE3B;;;;;;;;;;;;;GAaG;AAEH;;;;;;GAMG;AAEH;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG;IACtD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,8CAA8C;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;IACvC,+DAA+D;IAC/D,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAA;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC/B,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC,CAAA;AA6XvE,0CAA0C;AAC1C,eAAO,MAAM,SAAS;eA7aP,KAAK,CAAC,SAAS;IAC1B,4CAA4C;uBACzB,MAAM;IACzB,8CAA8C;yBACzB,MAAM;mBACZ,MAAM;qBACJ,MAAM;sBACL,MAAM;eAEb,OAAO;IAClB;;;;OAIG;cACO,OAAO;kBACH,MAAM;iBACP,MAAM,GAAG,OAAO,GAAG,OAAO;IACvC,+DAA+D;gCACnC,MAAM;IAClC,wDAAwD;mBACzC,MAAM;IACrB;;;;;;OAMG;kBACW,MAAM;IACpB;;;OAGG;uBACgB,OAAO;IAC1B;;;;;;;OAOG;qBACc,MAAM;cAEb,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI;YACxC,SAAS,CAAC,SAAS,CAAC;oGA+XY,CAAA;AAG5C,eAAe,SAAS,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextInput as RNTextInput, type TextInputProps as RNTextInputProps, type TextStyle } from 'react-native';
|
|
1
|
+
import { TextInput as RNTextInput, type TextInputProps as RNTextInputProps, type StyleProp, type TextStyle } from 'react-native';
|
|
2
2
|
/**
|
|
3
3
|
* Native `PrimitiveInput` — a bare RN `TextInput` driven by token-shaped
|
|
4
4
|
* text props, the input counterpart of `Text`.
|
|
@@ -22,7 +22,7 @@ export type PrimitiveInputProps = {
|
|
|
22
22
|
lineHeight?: string | number;
|
|
23
23
|
/** Placeholder colour for the current state. */
|
|
24
24
|
placeholderColor?: string;
|
|
25
|
-
style?: TextStyle
|
|
25
|
+
style?: StyleProp<TextStyle>;
|
|
26
26
|
} & Omit<RNTextInputProps, 'style' | 'placeholderTextColor'>;
|
|
27
27
|
/** Memoised — see the note on `Block`. */
|
|
28
28
|
export declare const PrimitiveInput: import("react").NamedExoticComponent<{
|
|
@@ -36,7 +36,7 @@ export declare const PrimitiveInput: import("react").NamedExoticComponent<{
|
|
|
36
36
|
lineHeight?: string | number;
|
|
37
37
|
/** Placeholder colour for the current state. */
|
|
38
38
|
placeholderColor?: string;
|
|
39
|
-
style?: TextStyle
|
|
39
|
+
style?: StyleProp<TextStyle>;
|
|
40
40
|
} & Omit<RNTextInputProps, "style" | "placeholderTextColor"> & import("react").RefAttributes<RNTextInput>>;
|
|
41
41
|
export default PrimitiveInput;
|
|
42
42
|
//# sourceMappingURL=PrimitiveInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrimitiveInput.d.ts","sourceRoot":"","sources":["../../../../src/primitives/PrimitiveInput.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,SAAS,IAAI,WAAW,EAExB,KAAK,cAAc,IAAI,gBAAgB,EACvC,KAAK,SAAS,EACjB,MAAM,cAAc,CAAA;AAKrB;;;;;;;;;;;GAWG;AAEH,MAAM,MAAM,mBAAmB,GAAG;IAC9B,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"PrimitiveInput.d.ts","sourceRoot":"","sources":["../../../../src/primitives/PrimitiveInput.tsx"],"names":[],"mappings":"AACA,OAAO,EACH,SAAS,IAAI,WAAW,EAExB,KAAK,cAAc,IAAI,gBAAgB,EACvC,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAA;AAKrB;;;;;;;;;;;GAWG;AAEH,MAAM,MAAM,mBAAmB,GAAG;IAC9B,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC/B,GAAG,IAAI,CAAC,gBAAgB,EAAE,OAAO,GAAG,sBAAsB,CAAC,CAAA;AAoC5D,0CAA0C;AAC1C,eAAO,MAAM,cAAc;IAhDvB,4CAA4C;eACjC,MAAM,GAAG,MAAM;IAC1B,2DAA2D;iBAC9C,MAAM,GAAG,MAAM;IAC5B,yCAAyC;YACjC,MAAM;IACd,iDAAiD;iBACpC,MAAM,GAAG,MAAM;IAC5B,gDAAgD;uBAC7B,MAAM;YACjB,SAAS,CAAC,SAAS,CAAC;0GAsCsB,CAAA;AAatD,eAAe,cAAc,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ViewStyle } from 'react-native';
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
2
|
/**
|
|
3
3
|
* Decorative divider.
|
|
4
4
|
*
|
|
@@ -17,7 +17,7 @@ export type SeparatorProps = {
|
|
|
17
17
|
/** Thickness across the line. Token string or number. */
|
|
18
18
|
thickness?: string | number;
|
|
19
19
|
color?: string;
|
|
20
|
-
style?: ViewStyle
|
|
20
|
+
style?: StyleProp<ViewStyle>;
|
|
21
21
|
testID?: string;
|
|
22
22
|
};
|
|
23
23
|
export declare function Separator({ orientation, length, thickness, color, style, testID, }: SeparatorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAI/
|
|
1
|
+
{"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAI/E;;;;;;;;;GASG;AAEH,MAAM,MAAM,cAAc,GAAG;IACzB,qEAAqE;IACrE,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,CAAA;IACvC,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAMD,wBAAgB,SAAS,CAAC,EACtB,WAAwB,EACxB,MAAuB,EACvB,SAA6B,EAC7B,KAAqB,EACrB,KAAK,EACL,MAAM,GACT,EAAE,cAAc,2CAsBhB;yBA7Be,SAAS;;;AAiCzB,eAAe,SAAS,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type ViewStyle } from 'react-native';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
import { tintSlot } from './tintSlot.js';
|
|
4
4
|
export { tintSlot };
|
|
5
5
|
/**
|
|
@@ -38,7 +38,7 @@ export type SlotProps = {
|
|
|
38
38
|
* renders a text label, matching web's `aria-hidden`.
|
|
39
39
|
*/
|
|
40
40
|
hidden?: boolean;
|
|
41
|
-
style?: ViewStyle
|
|
41
|
+
style?: StyleProp<ViewStyle>;
|
|
42
42
|
testID?: string;
|
|
43
43
|
};
|
|
44
44
|
declare function SlotImpl({ children, color, maxHeight, hidden, style, testID, }: SlotProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slot.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Slot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAA;AACnC,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAE/
|
|
1
|
+
{"version":3,"file":"Slot.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Slot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAA;AACnC,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAE/E,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAY,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,CAAA;AAEnB;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,MAAM,SAAS,GAAG;IACpB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,iBAAS,QAAQ,CAAC,EACd,QAAQ,EACR,KAAK,EACL,SAAS,EACT,MAAc,EACd,KAAK,EACL,MAAM,GACT,EAAE,SAAS,kDAuBX;AAED,0CAA0C;AAC1C,eAAO,MAAM,IAAI,4CAAiB,CAAA;AAYlC,eAAe,IAAI,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type TextProps as RNTextProps, type TextStyle } from 'react-native';
|
|
2
|
+
import { type TextProps as RNTextProps, type StyleProp, type TextStyle } from 'react-native';
|
|
3
3
|
import type { NativeFontRole } from '../theme/fonts.js';
|
|
4
4
|
/**
|
|
5
5
|
* Native `Text` — renders a RN `Text` from token-driven style props.
|
|
@@ -41,7 +41,7 @@ export type BlendTextProps = {
|
|
|
41
41
|
/** Flex display — web `Text` is sometimes `inline`; on RN Text is always inline. */
|
|
42
42
|
as?: string;
|
|
43
43
|
} & Omit<RNTextProps, 'style'> & {
|
|
44
|
-
style?: TextStyle
|
|
44
|
+
style?: StyleProp<TextStyle>;
|
|
45
45
|
};
|
|
46
46
|
declare function TextImpl({ children, fontSize, fontWeight, color, lineHeight, textAlign, fontFamily, fontRole, style, ...rest }: BlendTextProps): import("react/jsx-runtime").JSX.Element;
|
|
47
47
|
/** Memoised — see the note on `Block`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAC/C,OAAO,EAGH,KAAK,SAAS,IAAI,WAAW,EAC7B,KAAK,SAAS,EACjB,MAAM,cAAc,CAAA;AAIrB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAA;IACnD;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,gEAAgE;IAChE,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,oFAAoF;IACpF,EAAE,CAAC,EAAE,MAAM,CAAA;CACd,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG;IACzB,KAAK,CAAC,EAAE,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/primitives/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAA;AAC/C,OAAO,EAGH,KAAK,SAAS,IAAI,WAAW,EAC7B,KAAK,SAAS,EACd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAA;AAIrB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;GAiBG;AAEH,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAA;IACnD;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,cAAc,CAAA;IACzB,gEAAgE;IAChE,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,oFAAoF;IACpF,EAAE,CAAC,EAAE,MAAM,CAAA;CACd,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,GAAG;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC/B,CAAA;AAEL,iBAAS,QAAQ,CAAC,EACd,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,KAAK,EACL,UAAU,EACV,SAAS,EACT,UAAU,EACV,QAAiB,EACjB,KAAK,EACL,GAAG,IAAI,EACV,EAAE,cAAc,2CAoBhB;AAED,0CAA0C;AAC1C,eAAO,MAAM,IAAI,4CAAiB,CAAA;AAOlC,eAAe,IAAI,CAAA"}
|
|
@@ -14,11 +14,37 @@ import { FOUNDATION_THEME, Theme, type BreakpointType } from '@juspay/blend-desi
|
|
|
14
14
|
* entry, so registering one pulls in no UI code.
|
|
15
15
|
*/
|
|
16
16
|
export declare const NATIVE_TOKEN_REGISTRY: {
|
|
17
|
+
readonly ACCORDIONV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveAccordionV2Tokens;
|
|
17
18
|
readonly ALERTV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveAlertV2Tokens;
|
|
19
|
+
readonly AVATARV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveAvatarV2Tokens;
|
|
20
|
+
readonly BADGE: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveBadgeTokens;
|
|
18
21
|
readonly BUTTONV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveButtonV2Tokens;
|
|
22
|
+
readonly BREADCRUMBV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveBreadcrumbV2Tokens;
|
|
23
|
+
readonly CARDV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveCardV2Tokens;
|
|
24
|
+
readonly CHARTSV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveChartV2Tokens;
|
|
25
|
+
readonly CHECKBOXV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveCheckboxV2Tokens;
|
|
26
|
+
readonly KEYVALUEPAIRV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveKeyValuePairV2Tokens;
|
|
27
|
+
readonly MENUV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveMenuV2TokensType;
|
|
28
|
+
readonly MODALV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("node_modules/@juspay/blend-design-system/dist/components/ModalV2/modalV2.tokens.types").ResponsiveModalV2Tokens;
|
|
29
|
+
readonly MULTI_SELECT_V2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveMultiSelectV2Tokens;
|
|
30
|
+
readonly NUMBER_INPUT_V2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveNumberInputV2Tokens;
|
|
31
|
+
readonly OTP_INPUTV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveOTPInputV2Tokens;
|
|
32
|
+
readonly POPOVERV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("node_modules/@juspay/blend-design-system/dist/components/PopoverV2/popoverV2.tokens.types").ResponsivePopoverV2Tokens;
|
|
33
|
+
readonly PROGRESS_BARV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveProgressBarV2Tokens;
|
|
34
|
+
readonly RADIOV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveRadioV2Tokens;
|
|
35
|
+
readonly SEARCH_INPUT_V2: (foundationTokens: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveSearchInputV2Tokens;
|
|
36
|
+
readonly SINGLE_SELECT_V2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveSingleSelectV2Tokens;
|
|
19
37
|
readonly SKELETON: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveSkeletonTokens;
|
|
38
|
+
readonly SNACKBARV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveSnackbarV2Tokens;
|
|
39
|
+
readonly SPINNER: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveSpinnerTokens;
|
|
40
|
+
readonly STATCARDV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveStatCardV2Tokens;
|
|
41
|
+
readonly SWITCHV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveSwitchV2Tokens;
|
|
42
|
+
readonly TABSV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveTabsV2Tokens;
|
|
20
43
|
readonly TAGV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveTagV2Tokens;
|
|
44
|
+
readonly TEXT_AREA_V2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveTextAreaV2Tokens;
|
|
21
45
|
readonly TEXT_INPUTV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveTextInputV2Tokens;
|
|
46
|
+
readonly UPLOADV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("@juspay/blend-design-system/node").ResponsiveUploadV2Tokens;
|
|
47
|
+
readonly TOOLTIPV2: (foundationToken: import("@juspay/blend-design-system/node").FoundationTokenType, theme?: Theme | string) => import("node_modules/@juspay/blend-design-system/dist/components/TooltipV2/tooltipV2.tokens.types").ResponsiveTooltipV2Tokens;
|
|
22
48
|
};
|
|
23
49
|
/** Every component slot native can resolve. Derived, never hand-written. */
|
|
24
50
|
export type NativeTokenSlot = keyof typeof NATIVE_TOKEN_REGISTRY;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nativeTokenRegistry.d.ts","sourceRoot":"","sources":["../../../../src/theme/nativeTokenRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAChB,KAAK,
|
|
1
|
+
{"version":3,"file":"nativeTokenRegistry.d.ts","sourceRoot":"","sources":["../../../../src/theme/nativeTokenRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,gBAAgB,EAChB,KAAK,EAgCL,KAAK,cAAc,EACtB,MAAM,kCAAkC,CAAA;AAEzC;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCxB,CAAA;AAEV,4EAA4E;AAC5E,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,qBAAqB,CAAA;AAEhE;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAC1B,UAAU,EAAE,OAAO,gBAAgB,EACnC,KAAK,CAAC,EAAE,KAAK,GAAG,MAAM,KACrB,MAAM,CAAC,MAAM,cAAc,EAAE,CAAC,CAAC,CAAA;AAEpC,kEAAkE;AAClE,MAAM,MAAM,6BAA6B,GAAG,OAAO,CAC/C,MAAM,CAAC,eAAe,EAAE,OAAO,CAAC,CACnC,CAAA;AAED,eAAO,MAAM,kBAAkB,EAE1B,eAAe,EAAE,CAAA;AAEtB,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAEzE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blend-native",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.2",
|
|
4
4
|
"description": "React Native components for Blend Design System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|
|
@@ -40,13 +40,15 @@
|
|
|
40
40
|
"typecheck": "tsc --noEmit"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@juspay/blend-design-system": ">=0.0.38-beta.
|
|
43
|
+
"@juspay/blend-design-system": ">=0.0.38-beta.3",
|
|
44
44
|
"expo-linear-gradient": ">=15.0.0",
|
|
45
45
|
"lucide-react-native": ">=1.0.0",
|
|
46
46
|
"react": ">=18.2.0",
|
|
47
47
|
"react-native": ">=0.74.0",
|
|
48
48
|
"react-native-svg": ">=12.0.0",
|
|
49
|
-
"
|
|
49
|
+
"victory-native": ">=36.9.0",
|
|
50
|
+
"react-native-reanimated": ">=4.0.0",
|
|
51
|
+
"react-native-worklets": ">=0.8.0",
|
|
50
52
|
"react-native-gesture-handler": ">=2.20.0",
|
|
51
53
|
"react-native-safe-area-context": ">=4.10.0"
|
|
52
54
|
},
|
|
@@ -78,6 +80,7 @@
|
|
|
78
80
|
"react-native-builder-bob": "^0.43.0",
|
|
79
81
|
"react-native-gesture-handler": "2.31.1",
|
|
80
82
|
"react-native-reanimated": "4.3.1",
|
|
83
|
+
"victory-native": "^36.9.2",
|
|
81
84
|
"react-native-safe-area-context": "5.7.0",
|
|
82
85
|
"react-native-svg": "15.15.5",
|
|
83
86
|
"react-native-worklets": "0.8.3",
|
|
@@ -25,7 +25,8 @@ import type { ViewStyle } from 'react-native'
|
|
|
25
25
|
* Here the `.` inside the optional group is mandatory, so each digit run has
|
|
26
26
|
* exactly one valid division and matching stays linear.
|
|
27
27
|
*/
|
|
28
|
-
const
|
|
28
|
+
const UNSIGNED_NUMBER = String.raw`(?:\d+(?:\.\d+)?|\.\d+)`
|
|
29
|
+
const NUMBER = `-?${UNSIGNED_NUMBER}`
|
|
29
30
|
|
|
30
31
|
/** `"6px"`, `"1.5px"`, `"0"` — a length, with the unit optional. */
|
|
31
32
|
const DIMENSION_RE = new RegExp(`^(${NUMBER})(?:px)?$`)
|
|
@@ -33,6 +34,20 @@ const DIMENSION_RE = new RegExp(`^(${NUMBER})(?:px)?$`)
|
|
|
33
34
|
/** `"50%"`, `"33.5%"`, `"-5%"` — a percentage. */
|
|
34
35
|
const PERCENT_RE = new RegExp(`^(${NUMBER})%$`)
|
|
35
36
|
|
|
37
|
+
/** `"1px solid #E1E4EA"` — width, style, color. Width cannot be negative. */
|
|
38
|
+
const BORDER_RE = new RegExp(
|
|
39
|
+
String.raw`^(${UNSIGNED_NUMBER})px\s+(solid|dashed|dotted)\s+(.+)$`
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
/** Every signed decimal in a string — for box-shadow's number run. */
|
|
43
|
+
const NUMBER_G = new RegExp(NUMBER, 'g')
|
|
44
|
+
|
|
45
|
+
/** `rgba(5, 5, 6, 0.07)` — channels, with the alpha optional. */
|
|
46
|
+
const RGBA_RE = new RegExp(
|
|
47
|
+
String.raw`rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(${UNSIGNED_NUMBER}))?\s*\)`,
|
|
48
|
+
'i'
|
|
49
|
+
)
|
|
50
|
+
|
|
36
51
|
/**
|
|
37
52
|
* Result of parsing a background token.
|
|
38
53
|
*
|
|
@@ -150,30 +165,35 @@ export function parseDuration(
|
|
|
150
165
|
|
|
151
166
|
/**
|
|
152
167
|
* Parse a CSS `border` shorthand (`"1px solid #E1E4EA"`) into RN border props.
|
|
153
|
-
* Returns `{ borderWidth, borderColor }`
|
|
154
|
-
*
|
|
168
|
+
* Returns `{ borderWidth, borderColor, borderStyle }`. `borderStyle` is always
|
|
169
|
+
* emitted on a match (`'solid'` is RN's default, so existing tokens render
|
|
170
|
+
* identically); `'dashed'` / `'dotted'` reach RN's `borderStyle` directly.
|
|
155
171
|
*
|
|
156
|
-
* `parseBorder("1.5px solid #1A56DB") → { borderWidth: 1.5, borderColor: "#1A56DB" }`
|
|
172
|
+
* `parseBorder("1.5px solid #1A56DB") → { borderWidth: 1.5, borderColor: "#1A56DB", borderStyle: "solid" }`
|
|
173
|
+
* `parseBorder("1.5px dashed #1A56DB") → { borderWidth: 1.5, borderColor: "#1A56DB", borderStyle: "dashed" }`
|
|
157
174
|
* `parseBorder("none") → {}`
|
|
158
175
|
*/
|
|
159
176
|
export function parseBorder(
|
|
160
177
|
value: string | undefined
|
|
161
|
-
): Partial<Pick<ViewStyle, 'borderWidth' | 'borderColor'>> {
|
|
178
|
+
): Partial<Pick<ViewStyle, 'borderWidth' | 'borderColor' | 'borderStyle'>> {
|
|
162
179
|
if (!value || value === 'none' || value === 'transparent') {
|
|
163
180
|
return {}
|
|
164
181
|
}
|
|
165
182
|
// Match: <width> <style> <color>
|
|
166
183
|
// width: "1px" / "1.5px"
|
|
167
|
-
// style: "solid" / "dashed" / "dotted"
|
|
184
|
+
// style: "solid" / "dashed" / "dotted"
|
|
168
185
|
// color: hex / rgb / rgba / named
|
|
169
|
-
const match = value
|
|
170
|
-
.trim()
|
|
171
|
-
.match(/^(\d*\.?\d+)px\s+(?:solid|dashed|dotted)\s+(.+)$/)
|
|
186
|
+
const match = value.trim().match(BORDER_RE)
|
|
172
187
|
if (!match) return {}
|
|
173
188
|
const width = parseFloat(match[1])
|
|
174
|
-
const
|
|
189
|
+
const borderStyle = match[2] as NonNullable<ViewStyle['borderStyle']>
|
|
190
|
+
// Strip `!important` — web token factories emit it on some borders;
|
|
191
|
+
// RN has no CSS specificity, so it's meaningless here and makes the
|
|
192
|
+
// color string invalid if left in. Whitespace around it is handled by
|
|
193
|
+
// `.trim()` so the regex itself stays linear (no `\s*` quantifiers).
|
|
194
|
+
const color = match[3].replace(/!important$/i, '').trim()
|
|
175
195
|
if (Number.isNaN(width) || !color) return {}
|
|
176
|
-
return { borderWidth: width, borderColor: color }
|
|
196
|
+
return { borderWidth: width, borderColor: color, borderStyle }
|
|
177
197
|
}
|
|
178
198
|
|
|
179
199
|
/**
|
|
@@ -201,8 +221,10 @@ export function parseBorderRadius(
|
|
|
201
221
|
const trimmed = value.trim()
|
|
202
222
|
if (trimmed === '' || trimmed === 'none') return undefined
|
|
203
223
|
|
|
204
|
-
|
|
205
|
-
|
|
224
|
+
// Each corner must be a plain length — `parseFloat` would silently turn
|
|
225
|
+
// `"50%"` into `50` and `"12abc"` into `12`, both wrong on RN.
|
|
226
|
+
const parts = trimmed.split(/\s+/).map((p) => parseDimension(p))
|
|
227
|
+
if (parts.some((p) => p === undefined)) return undefined
|
|
206
228
|
|
|
207
229
|
if (parts.length === 1) return parts[0]
|
|
208
230
|
if (parts.length === 4) {
|
|
@@ -262,8 +284,7 @@ export function parseBoxShadow(
|
|
|
262
284
|
const numericPart = outer
|
|
263
285
|
.replace(/#[0-9a-fA-F]{3,8}|rgba?\([^)]*\)/gi, ' ')
|
|
264
286
|
.replace(/\binset\b/gi, ' ')
|
|
265
|
-
const nums =
|
|
266
|
-
numericPart.match(/-?\d*\.?\d+/g)?.map((t) => parseFloat(t)) ?? []
|
|
287
|
+
const nums = numericPart.match(NUMBER_G)?.map((t) => parseFloat(t)) ?? []
|
|
267
288
|
|
|
268
289
|
const [offsetX = 0, offsetY = 0, blur = 0, spread = 0] = nums
|
|
269
290
|
|
|
@@ -275,9 +296,7 @@ export function parseBoxShadow(
|
|
|
275
296
|
// alpha separately for shadowOpacity (iOS multiplies them).
|
|
276
297
|
let resolvedColor = shadowColor
|
|
277
298
|
let resolvedOpacity = 1
|
|
278
|
-
const rgbaMatch = shadowColor.match(
|
|
279
|
-
/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+))?\s*\)/i
|
|
280
|
-
)
|
|
299
|
+
const rgbaMatch = shadowColor.match(RGBA_RE)
|
|
281
300
|
if (rgbaMatch) {
|
|
282
301
|
const [, r, g, b, a] = rgbaMatch
|
|
283
302
|
resolvedColor = `rgb(${r}, ${g}, ${b})`
|
|
@@ -298,21 +317,79 @@ export function parseBoxShadow(
|
|
|
298
317
|
}
|
|
299
318
|
}
|
|
300
319
|
|
|
320
|
+
/** `linear-gradient(<angle>deg, <stops>)` — the only gradient form Blend tokens use. */
|
|
321
|
+
const LINEAR_GRADIENT_RE = new RegExp(
|
|
322
|
+
String.raw`linear-gradient\(\s*(${NUMBER})deg\s*,\s*(.+)\s*\)`,
|
|
323
|
+
'i'
|
|
324
|
+
)
|
|
325
|
+
|
|
326
|
+
/** The first color inside an unsupported gradient — its degrade target. */
|
|
327
|
+
const FIRST_COLOR_RE = /#[0-9a-fA-F]{3,8}|rgba?\([^)]*\)|hsla?\([^)]*\)/i
|
|
328
|
+
|
|
329
|
+
/** CSS-wide keywords that look like named colors but mean nothing to RN. */
|
|
330
|
+
const NON_COLOR_KEYWORDS = new Set([
|
|
331
|
+
'inherit',
|
|
332
|
+
'initial',
|
|
333
|
+
'unset',
|
|
334
|
+
'revert',
|
|
335
|
+
'currentcolor',
|
|
336
|
+
])
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Resolve gradient stop positions the way CSS does: a stop without a position
|
|
340
|
+
* gets one — first stop 0, last stop 1, interior stops spread evenly between
|
|
341
|
+
* their nearest positioned neighbours — and no stop may sit before an earlier
|
|
342
|
+
* one (out-of-order positions are raised to the running maximum).
|
|
343
|
+
*/
|
|
344
|
+
function resolveStopLocations(locations: (number | null)[]): number[] {
|
|
345
|
+
const out = locations.slice()
|
|
346
|
+
if (out[0] === null) out[0] = 0
|
|
347
|
+
if (out[out.length - 1] === null) out[out.length - 1] = 1
|
|
348
|
+
|
|
349
|
+
// Out-of-order specified positions clamp up to the running maximum.
|
|
350
|
+
let runningMax = 0
|
|
351
|
+
for (let i = 0; i < out.length; i++) {
|
|
352
|
+
const loc = out[i]
|
|
353
|
+
if (loc === null) continue
|
|
354
|
+
out[i] = Math.max(loc, runningMax)
|
|
355
|
+
runningMax = out[i] as number
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// Interpolate each run of unspecified positions between its neighbours.
|
|
359
|
+
let i = 0
|
|
360
|
+
while (i < out.length) {
|
|
361
|
+
if (out[i] !== null) {
|
|
362
|
+
i++
|
|
363
|
+
continue
|
|
364
|
+
}
|
|
365
|
+
let j = i
|
|
366
|
+
while (out[j] === null) j++
|
|
367
|
+
const prev = out[i - 1] as number
|
|
368
|
+
const next = out[j] as number
|
|
369
|
+
const runLength = j - i
|
|
370
|
+
for (let k = 0; k < runLength; k++) {
|
|
371
|
+
out[i + k] = prev + ((k + 1) * (next - prev)) / (runLength + 1)
|
|
372
|
+
}
|
|
373
|
+
i = j
|
|
374
|
+
}
|
|
375
|
+
return out as number[]
|
|
376
|
+
}
|
|
377
|
+
|
|
301
378
|
/**
|
|
302
379
|
* Parse a CSS `background` value into a `ParsedBackground`.
|
|
303
380
|
*
|
|
304
381
|
* - `"linear-gradient(180deg, #1A56DB -5%, #2563EB 107.5%)"` → gradient descriptor
|
|
305
|
-
* (percentage
|
|
382
|
+
* (percentage stops outside [0,1] are clamped — known limitation)
|
|
306
383
|
* - `"#FFFFFF"` / `"rgb(255,255,255)"` → flat color
|
|
307
|
-
* -
|
|
384
|
+
* - unsupported gradient syntax (`to top`, radial, conic) → flat first stop,
|
|
385
|
+
* never the raw string as a "color"
|
|
386
|
+
* - `"none"` / `"transparent"` / anything unrecognised → null
|
|
308
387
|
*/
|
|
309
388
|
export function parseBackground(value: string | undefined): ParsedBackground {
|
|
310
389
|
if (!value || value === 'none' || value === 'transparent') return null
|
|
311
390
|
|
|
312
391
|
// Gradient?
|
|
313
|
-
const gradientMatch = value.match(
|
|
314
|
-
/linear-gradient\(\s*(\d+)deg\s*,\s*(.+)\s*\)/i
|
|
315
|
-
)
|
|
392
|
+
const gradientMatch = value.match(LINEAR_GRADIENT_RE)
|
|
316
393
|
if (gradientMatch) {
|
|
317
394
|
const angle = parseFloat(gradientMatch[1])
|
|
318
395
|
const stopsStr = gradientMatch[2]
|
|
@@ -327,7 +404,7 @@ export function parseBackground(value: string | undefined): ParsedBackground {
|
|
|
327
404
|
.map((s) => s.trim())
|
|
328
405
|
.filter(Boolean)
|
|
329
406
|
const colors: string[] = []
|
|
330
|
-
const locations: number[] = []
|
|
407
|
+
const locations: (number | null)[] = []
|
|
331
408
|
for (const stop of stopStrs) {
|
|
332
409
|
// "color" or "color position%"
|
|
333
410
|
const parts = stop.split(/\s+/)
|
|
@@ -336,7 +413,7 @@ export function parseBackground(value: string | undefined): ParsedBackground {
|
|
|
336
413
|
const pct = parseFloat(parts[1]) / 100
|
|
337
414
|
locations.push(Math.min(1, Math.max(0, pct)))
|
|
338
415
|
} else {
|
|
339
|
-
locations.push(
|
|
416
|
+
locations.push(null)
|
|
340
417
|
}
|
|
341
418
|
}
|
|
342
419
|
|
|
@@ -345,13 +422,6 @@ export function parseBackground(value: string | undefined): ParsedBackground {
|
|
|
345
422
|
return colors[0] ? { type: 'flat', color: colors[0] } : null
|
|
346
423
|
}
|
|
347
424
|
|
|
348
|
-
// If locations weren't specified, distribute evenly.
|
|
349
|
-
const allZero = locations.every((l) => l === 0)
|
|
350
|
-
let resolvedLocations = locations
|
|
351
|
-
if (allZero) {
|
|
352
|
-
resolvedLocations = colors.map((_, i) => i / (colors.length - 1))
|
|
353
|
-
}
|
|
354
|
-
|
|
355
425
|
// Convert CSS angle (0deg = bottom→top) to RN {start, end} coords.
|
|
356
426
|
// RN's LinearGradient uses normalized [0,1] coordinates on the bounding box.
|
|
357
427
|
// 0deg → start={x:0.5,y:1} end={x:0.5,y:0}
|
|
@@ -370,14 +440,29 @@ export function parseBackground(value: string | undefined): ParsedBackground {
|
|
|
370
440
|
return {
|
|
371
441
|
type: 'gradient',
|
|
372
442
|
colors,
|
|
373
|
-
locations:
|
|
443
|
+
locations: resolveStopLocations(locations),
|
|
374
444
|
start,
|
|
375
445
|
end,
|
|
376
446
|
}
|
|
377
447
|
}
|
|
378
448
|
|
|
379
|
-
//
|
|
380
|
-
|
|
449
|
+
// Any other gradient form (`to top`, non-numeric angles, radial, conic):
|
|
450
|
+
// degrade to the first color stop rather than handing RN a gradient
|
|
451
|
+
// string as a "color" — an invalid color renders as a hard error.
|
|
452
|
+
if (/gradient\(/i.test(value)) {
|
|
453
|
+
const firstColor = value.match(FIRST_COLOR_RE)
|
|
454
|
+
return firstColor ? { type: 'flat', color: firstColor[0] } : null
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
// Solid color — a whole-string hex / rgb / rgba / hsl / named color.
|
|
458
|
+
// Anything trailing after the color (or a bare keyword like `inherit`)
|
|
459
|
+
// is not expressible as an RN color and returns null instead.
|
|
460
|
+
if (
|
|
461
|
+
/^#[0-9a-fA-F]{3,8}$/.test(value) ||
|
|
462
|
+
/^(?:rgba?|hsla?)\(/i.test(value) ||
|
|
463
|
+
(/^[a-z]+$/i.test(value) &&
|
|
464
|
+
!NON_COLOR_KEYWORDS.has(value.toLowerCase()))
|
|
465
|
+
) {
|
|
381
466
|
return { type: 'flat', color: value }
|
|
382
467
|
}
|
|
383
468
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type React from 'react'
|
|
2
|
-
import type { ViewStyle } from 'react-native'
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native'
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Optional `expo-linear-gradient` probe, shared by every surface that can
|
|
@@ -22,7 +22,7 @@ export type GradientComponent = React.ComponentType<{
|
|
|
22
22
|
locations?: readonly number[]
|
|
23
23
|
start?: { x: number; y: number }
|
|
24
24
|
end?: { x: number; y: number }
|
|
25
|
-
style?: ViewStyle
|
|
25
|
+
style?: StyleProp<ViewStyle>
|
|
26
26
|
}>
|
|
27
27
|
|
|
28
28
|
type GradientModule = { LinearGradient: GradientComponent }
|