@knitui/components 0.14.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/commonjs/Accordion/Accordion.js +78 -96
- package/lib/commonjs/Accordion/Accordion.js.map +1 -1
- package/lib/commonjs/ActionIcon/ActionIcon.js +128 -62
- package/lib/commonjs/ActionIcon/ActionIcon.js.map +1 -1
- package/lib/commonjs/Affix/Affix.js +17 -21
- package/lib/commonjs/Affix/Affix.js.map +1 -1
- package/lib/commonjs/Alert/Alert.js +54 -54
- package/lib/commonjs/Alert/Alert.js.map +1 -1
- package/lib/commonjs/Anchor/Anchor.js +12 -15
- package/lib/commonjs/Anchor/Anchor.js.map +1 -1
- package/lib/commonjs/AngleSlider/AngleSlider.js +65 -37
- package/lib/commonjs/AngleSlider/AngleSlider.js.map +1 -1
- package/lib/commonjs/AspectRatio/AspectRatio.js +12 -15
- package/lib/commonjs/AspectRatio/AspectRatio.js.map +1 -1
- package/lib/commonjs/Autocomplete/Autocomplete.js +7 -3
- package/lib/commonjs/Autocomplete/Autocomplete.js.map +1 -1
- package/lib/commonjs/Avatar/Avatar.js +28 -25
- package/lib/commonjs/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/BackgroundImage/BackgroundImage.js +15 -6
- package/lib/commonjs/BackgroundImage/BackgroundImage.js.map +1 -1
- package/lib/commonjs/Badge/Badge.js +60 -49
- package/lib/commonjs/Badge/Badge.js.map +1 -1
- package/lib/commonjs/Blockquote/Blockquote.js +80 -79
- package/lib/commonjs/Blockquote/Blockquote.js.map +1 -1
- package/lib/commonjs/Box/Box.js +2 -2
- package/lib/commonjs/Box/Box.js.map +1 -1
- package/lib/commonjs/Breadcrumbs/Breadcrumbs.js +9 -9
- package/lib/commonjs/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/lib/commonjs/Burger/Burger.js +31 -20
- package/lib/commonjs/Burger/Burger.js.map +1 -1
- package/lib/commonjs/Button/Button.js +105 -63
- package/lib/commonjs/Button/Button.js.map +1 -1
- package/lib/commonjs/Card/Card.js +49 -37
- package/lib/commonjs/Card/Card.js.map +1 -1
- package/lib/commonjs/Center/Center.js +2 -2
- package/lib/commonjs/Center/Center.js.map +1 -1
- package/lib/commonjs/Checkbox/CheckIcon.js +5 -4
- package/lib/commonjs/Checkbox/CheckIcon.js.map +1 -1
- package/lib/commonjs/Checkbox/Checkbox.js +98 -68
- package/lib/commonjs/Checkbox/Checkbox.js.map +1 -1
- package/lib/commonjs/Chip/Chip.js +34 -67
- package/lib/commonjs/Chip/Chip.js.map +1 -1
- package/lib/commonjs/CloseButton/CloseButton.js +12 -5
- package/lib/commonjs/CloseButton/CloseButton.js.map +1 -1
- package/lib/commonjs/Code/Code.js +14 -10
- package/lib/commonjs/Code/Code.js.map +1 -1
- package/lib/commonjs/Collapse/Collapse.js +10 -4
- package/lib/commonjs/Collapse/Collapse.js.map +1 -1
- package/lib/commonjs/ColorInput/ColorInput.js +25 -20
- package/lib/commonjs/ColorInput/ColorInput.js.map +1 -1
- package/lib/commonjs/ColorPicker/ColorPicker.js +95 -83
- package/lib/commonjs/ColorPicker/ColorPicker.js.map +1 -1
- package/lib/commonjs/ColorSwatch/ColorSwatch.js +12 -14
- package/lib/commonjs/ColorSwatch/ColorSwatch.js.map +1 -1
- package/lib/commonjs/Combobox/Combobox.js +194 -187
- package/lib/commonjs/Combobox/Combobox.js.map +1 -1
- package/lib/commonjs/Combobox/OptionsDropdown.js +12 -6
- package/lib/commonjs/Combobox/OptionsDropdown.js.map +1 -1
- package/lib/commonjs/Combobox/index.js +6 -0
- package/lib/commonjs/Combobox/index.js.map +1 -1
- package/lib/commonjs/Container/Container.js +12 -19
- package/lib/commonjs/Container/Container.js.map +1 -1
- package/lib/commonjs/Dialog/Dialog.js +15 -14
- package/lib/commonjs/Dialog/Dialog.js.map +1 -1
- package/lib/commonjs/Drawer/Drawer.js +51 -32
- package/lib/commonjs/Drawer/Drawer.js.map +1 -1
- package/lib/commonjs/Fieldset/Fieldset.js +26 -18
- package/lib/commonjs/Fieldset/Fieldset.js.map +1 -1
- package/lib/commonjs/FileButton/FileButton.js +5 -3
- package/lib/commonjs/FileButton/FileButton.js.map +1 -1
- package/lib/commonjs/Flex/Flex.js +24 -27
- package/lib/commonjs/Flex/Flex.js.map +1 -1
- package/lib/commonjs/FocusTrap/FocusTrap.js +4 -3
- package/lib/commonjs/FocusTrap/FocusTrap.js.map +1 -1
- package/lib/commonjs/Grid/Grid.js +21 -18
- package/lib/commonjs/Grid/Grid.js.map +1 -1
- package/lib/commonjs/Group/Group.js +3 -3
- package/lib/commonjs/Group/Group.js.map +1 -1
- package/lib/commonjs/Highlight/Highlight.js +2 -1
- package/lib/commonjs/Highlight/Highlight.js.map +1 -1
- package/lib/commonjs/HoverCard/HoverCard.js +6 -23
- package/lib/commonjs/HoverCard/HoverCard.js.map +1 -1
- package/lib/commonjs/Image/Image.native.js +1 -1
- package/lib/commonjs/Image/createImage.js +88 -56
- package/lib/commonjs/Image/createImage.js.map +1 -1
- package/lib/commonjs/Indicator/Indicator.js +36 -29
- package/lib/commonjs/Indicator/Indicator.js.map +1 -1
- package/lib/commonjs/Input/Input.js +87 -119
- package/lib/commonjs/Input/Input.js.map +1 -1
- package/lib/commonjs/Input/Input.native.js +54 -35
- package/lib/commonjs/Input/Input.native.js.map +1 -1
- package/lib/commonjs/Input/shared.js +148 -225
- package/lib/commonjs/Input/shared.js.map +1 -1
- package/lib/commonjs/InputBase/InputBase.js +2 -1
- package/lib/commonjs/InputBase/InputBase.js.map +1 -1
- package/lib/commonjs/Kbd/Kbd.js +12 -18
- package/lib/commonjs/Kbd/Kbd.js.map +1 -1
- package/lib/commonjs/KeyboardAvoidingView/KeyboardAvoidingView.native.js +2 -2
- package/lib/commonjs/KeyboardAvoidingView/KeyboardAvoidingView.native.js.map +1 -1
- package/lib/commonjs/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js +1 -1
- package/lib/commonjs/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js.map +1 -1
- package/lib/commonjs/List/List.js +10 -10
- package/lib/commonjs/List/List.js.map +1 -1
- package/lib/commonjs/Loader/Loader.js +31 -37
- package/lib/commonjs/Loader/Loader.js.map +1 -1
- package/lib/commonjs/LoadingOverlay/LoadingOverlay.js +2 -1
- package/lib/commonjs/LoadingOverlay/LoadingOverlay.js.map +1 -1
- package/lib/commonjs/Mark/Mark.js +12 -15
- package/lib/commonjs/Mark/Mark.js.map +1 -1
- package/lib/commonjs/Marquee/Marquee.js +66 -48
- package/lib/commonjs/Marquee/Marquee.js.map +1 -1
- package/lib/commonjs/MaskInput/MaskInput.js +2 -1
- package/lib/commonjs/MaskInput/MaskInput.js.map +1 -1
- package/lib/commonjs/Menu/Menu.js +84 -48
- package/lib/commonjs/Menu/Menu.js.map +1 -1
- package/lib/commonjs/Modal/Modal.js +34 -30
- package/lib/commonjs/Modal/Modal.js.map +1 -1
- package/lib/commonjs/Modal/drag/DragDismissHost.js +4 -1
- package/lib/commonjs/Modal/drag/DragDismissHost.js.map +1 -1
- package/lib/commonjs/Modal/drag/DragDismissHost.web.js +10 -6
- package/lib/commonjs/Modal/drag/DragDismissHost.web.js.map +1 -1
- package/lib/commonjs/Modal/drag/DragDismissOverlay.js +4 -1
- package/lib/commonjs/Modal/drag/DragDismissOverlay.js.map +1 -1
- package/lib/commonjs/Modal/drag/DragDismissOverlay.web.js +6 -8
- package/lib/commonjs/Modal/drag/DragDismissOverlay.web.js.map +1 -1
- package/lib/commonjs/Modal/drag/index.js.map +1 -1
- package/lib/commonjs/Modal/drag/useDragDismiss.js +83 -67
- package/lib/commonjs/Modal/drag/useDragDismiss.js.map +1 -1
- package/lib/commonjs/Modal/modal-base-inner.js +1 -1
- package/lib/commonjs/Modal/modal-base-inner.js.map +1 -1
- package/lib/commonjs/Modal/modal-base-inner.native.js +3 -2
- package/lib/commonjs/Modal/modal-base-inner.native.js.map +1 -1
- package/lib/commonjs/Modal/modal-base.js +24 -11
- package/lib/commonjs/Modal/modal-base.js.map +1 -1
- package/lib/commonjs/MultiSelect/MultiSelect.js +6 -2
- package/lib/commonjs/MultiSelect/MultiSelect.js.map +1 -1
- package/lib/commonjs/NativeSelect/NativeSelect.js +25 -30
- package/lib/commonjs/NativeSelect/NativeSelect.js.map +1 -1
- package/lib/commonjs/NavLink/NavLink.js +63 -58
- package/lib/commonjs/NavLink/NavLink.js.map +1 -1
- package/lib/commonjs/Notification/Notification.js +28 -28
- package/lib/commonjs/Notification/Notification.js.map +1 -1
- package/lib/commonjs/NumberFormatter/NumberFormatter.js +2 -2
- package/lib/commonjs/NumberFormatter/NumberFormatter.js.map +1 -1
- package/lib/commonjs/NumberInput/NumberInput.js +46 -43
- package/lib/commonjs/NumberInput/NumberInput.js.map +1 -1
- package/lib/commonjs/Overlay/Overlay.js +18 -11
- package/lib/commonjs/Overlay/Overlay.js.map +1 -1
- package/lib/commonjs/Pagination/Pagination.js +125 -120
- package/lib/commonjs/Pagination/Pagination.js.map +1 -1
- package/lib/commonjs/Paper/Paper.js +7 -8
- package/lib/commonjs/Paper/Paper.js.map +1 -1
- package/lib/commonjs/Paragraph/Paragraph.js +7 -10
- package/lib/commonjs/Paragraph/Paragraph.js.map +1 -1
- package/lib/commonjs/PasswordInput/PasswordInput.js +3 -3
- package/lib/commonjs/PasswordInput/PasswordInput.js.map +1 -1
- package/lib/commonjs/Pill/Pill.js +40 -34
- package/lib/commonjs/Pill/Pill.js.map +1 -1
- package/lib/commonjs/PillsInput/PillsInput.js +58 -31
- package/lib/commonjs/PillsInput/PillsInput.js.map +1 -1
- package/lib/commonjs/PinInput/PinInput.js +26 -20
- package/lib/commonjs/PinInput/PinInput.js.map +1 -1
- package/lib/commonjs/Popover/Popover.native.js +6 -2
- package/lib/commonjs/Popover/Popover.native.js.map +1 -1
- package/lib/commonjs/Popover/Popover.shared.js +34 -23
- package/lib/commonjs/Popover/Popover.shared.js.map +1 -1
- package/lib/commonjs/Portal/OverlayHost.js.map +1 -1
- package/lib/commonjs/Portal/OverlayPortal.js +33 -0
- package/lib/commonjs/Portal/OverlayPortal.js.map +1 -0
- package/lib/commonjs/Portal/index.js +7 -0
- package/lib/commonjs/Portal/index.js.map +1 -1
- package/lib/commonjs/Progress/Progress.js +37 -26
- package/lib/commonjs/Progress/Progress.js.map +1 -1
- package/lib/commonjs/Radio/Radio.js +81 -93
- package/lib/commonjs/Radio/Radio.js.map +1 -1
- package/lib/commonjs/Radio/RadioIcon.js +4 -6
- package/lib/commonjs/Radio/RadioIcon.js.map +1 -1
- package/lib/commonjs/Rating/Rating.js +48 -38
- package/lib/commonjs/Rating/Rating.js.map +1 -1
- package/lib/commonjs/RollingNumber/RollingNumber.js +48 -24
- package/lib/commonjs/RollingNumber/RollingNumber.js.map +1 -1
- package/lib/commonjs/ScrollArea/ScrollArea.js +40 -37
- package/lib/commonjs/ScrollArea/ScrollArea.js.map +1 -1
- package/lib/commonjs/ScrollArea/ScrollArea.native.js +46 -41
- package/lib/commonjs/ScrollArea/ScrollArea.native.js.map +1 -1
- package/lib/commonjs/SegmentedControl/SegmentedControl.js +106 -55
- package/lib/commonjs/SegmentedControl/SegmentedControl.js.map +1 -1
- package/lib/commonjs/Select/Select.js +7 -3
- package/lib/commonjs/Select/Select.js.map +1 -1
- package/lib/commonjs/Separator/Separator.js +47 -39
- package/lib/commonjs/Separator/Separator.js.map +1 -1
- package/lib/commonjs/SimpleGrid/SimpleGrid.js +12 -14
- package/lib/commonjs/SimpleGrid/SimpleGrid.js.map +1 -1
- package/lib/commonjs/Skeleton/Skeleton.js +39 -24
- package/lib/commonjs/Skeleton/Skeleton.js.map +1 -1
- package/lib/commonjs/Slider/Slider.js +308 -257
- package/lib/commonjs/Slider/Slider.js.map +1 -1
- package/lib/commonjs/Spacer/Spacer.js +15 -29
- package/lib/commonjs/Spacer/Spacer.js.map +1 -1
- package/lib/commonjs/Spoiler/Spoiler.js +16 -16
- package/lib/commonjs/Spoiler/Spoiler.js.map +1 -1
- package/lib/commonjs/Stack/Stack.js +3 -3
- package/lib/commonjs/Stack/Stack.js.map +1 -1
- package/lib/commonjs/Stepper/Stepper.js +96 -71
- package/lib/commonjs/Stepper/Stepper.js.map +1 -1
- package/lib/commonjs/Switch/Switch.js +71 -67
- package/lib/commonjs/Switch/Switch.js.map +1 -1
- package/lib/commonjs/Table/Table.js +96 -82
- package/lib/commonjs/Table/Table.js.map +1 -1
- package/lib/commonjs/TableOfContents/TableOfContents.js +94 -95
- package/lib/commonjs/TableOfContents/TableOfContents.js.map +1 -1
- package/lib/commonjs/Tabs/Tabs.js +71 -73
- package/lib/commonjs/Tabs/Tabs.js.map +1 -1
- package/lib/commonjs/TagsInput/TagsInput.js +19 -3
- package/lib/commonjs/TagsInput/TagsInput.js.map +1 -1
- package/lib/commonjs/Text/Text.js +29 -14
- package/lib/commonjs/Text/Text.js.map +1 -1
- package/lib/commonjs/TextInput/TextInput.js +2 -1
- package/lib/commonjs/TextInput/TextInput.js.map +1 -1
- package/lib/commonjs/Textarea/Textarea.js +1 -1
- package/lib/commonjs/Textarea/Textarea.js.map +1 -1
- package/lib/commonjs/ThemeIcon/ThemeIcon.js +10 -6
- package/lib/commonjs/ThemeIcon/ThemeIcon.js.map +1 -1
- package/lib/commonjs/Title/Title.js +49 -32
- package/lib/commonjs/Title/Title.js.map +1 -1
- package/lib/commonjs/Tooltip/Tooltip.js +44 -28
- package/lib/commonjs/Tooltip/Tooltip.js.map +1 -1
- package/lib/commonjs/Transition/Transition.native.js +11 -10
- package/lib/commonjs/Transition/Transition.native.js.map +1 -1
- package/lib/commonjs/Transition/use-overlay-transition.native.js +2 -5
- package/lib/commonjs/Transition/use-overlay-transition.native.js.map +1 -1
- package/lib/commonjs/Tree/Tree.js +30 -34
- package/lib/commonjs/Tree/Tree.js.map +1 -1
- package/lib/commonjs/TreeSelect/TreeSelect.js +50 -26
- package/lib/commonjs/TreeSelect/TreeSelect.js.map +1 -1
- package/lib/commonjs/Typography/Typography.js +5 -7
- package/lib/commonjs/Typography/Typography.js.map +1 -1
- package/lib/commonjs/UnstyledButton/UnstyledButton.js +4 -4
- package/lib/commonjs/UnstyledButton/UnstyledButton.js.map +1 -1
- package/lib/commonjs/VirtualList/VirtualList.js +23 -7
- package/lib/commonjs/VirtualList/VirtualList.js.map +1 -1
- package/lib/commonjs/VisuallyHidden/VisuallyHidden.js +7 -10
- package/lib/commonjs/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/lib/commonjs/control-system.js +7 -0
- package/lib/commonjs/control-system.js.map +1 -1
- package/lib/commonjs/index.js +12 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/internal/ControlIconProvider.js +1 -1
- package/lib/commonjs/internal/ControlIconProvider.js.map +1 -1
- package/lib/commonjs/internal/InlineControl.js +24 -29
- package/lib/commonjs/internal/InlineControl.js.map +1 -1
- package/lib/commonjs/internal/collapse-box.js +12 -10
- package/lib/commonjs/internal/collapse-box.js.map +1 -1
- package/lib/commonjs/internal/control-icon-size.js +5 -8
- package/lib/commonjs/internal/control-icon-size.js.map +1 -1
- package/lib/commonjs/internal/control-metrics.js +51 -51
- package/lib/commonjs/internal/control-metrics.js.map +1 -1
- package/lib/commonjs/internal/floating-arrow.js +43 -29
- package/lib/commonjs/internal/floating-arrow.js.map +1 -1
- package/lib/commonjs/internal/focus-ring.js +99 -0
- package/lib/commonjs/internal/focus-ring.js.map +1 -0
- package/lib/commonjs/internal/gradient-shared.js +18 -8
- package/lib/commonjs/internal/gradient-shared.js.map +1 -1
- package/lib/commonjs/internal/gradient.js +6 -0
- package/lib/commonjs/internal/gradient.js.map +1 -1
- package/lib/commonjs/internal/gradient.native.js +7 -1
- package/lib/commonjs/internal/gradient.native.js.map +1 -1
- package/lib/commonjs/internal/motion.js +247 -359
- package/lib/commonjs/internal/motion.js.map +1 -1
- package/lib/commonjs/internal/resolve-theme-color.js +10 -10
- package/lib/commonjs/internal/resolve-theme-color.js.map +1 -1
- package/lib/commonjs/internal/style-props.js +510 -464
- package/lib/commonjs/internal/style-props.js.map +1 -1
- package/lib/commonjs/internal/theme-color-web.js +44 -26
- package/lib/commonjs/internal/theme-color-web.js.map +1 -1
- package/lib/commonjs/internal/use-icon-color.js +1 -1
- package/lib/commonjs/internal/use-icon-color.native.js +1 -1
- package/lib/commonjs/internal/use-looping-animation.native.js +1 -1
- package/lib/commonjs/internal/use-looping-animation.native.js.map +1 -1
- package/lib/commonjs/internal/use-slot-text-wrapper.js +1 -1
- package/lib/commonjs/internal/variant-colors.js +163 -229
- package/lib/commonjs/internal/variant-colors.js.map +1 -1
- package/lib/module/Accordion/Accordion.js +80 -98
- package/lib/module/Accordion/Accordion.js.map +1 -1
- package/lib/module/ActionIcon/ActionIcon.js +130 -64
- package/lib/module/ActionIcon/ActionIcon.js.map +1 -1
- package/lib/module/Affix/Affix.js +19 -23
- package/lib/module/Affix/Affix.js.map +1 -1
- package/lib/module/Alert/Alert.js +56 -56
- package/lib/module/Alert/Alert.js.map +1 -1
- package/lib/module/Anchor/Anchor.js +13 -16
- package/lib/module/Anchor/Anchor.js.map +1 -1
- package/lib/module/AngleSlider/AngleSlider.js +66 -38
- package/lib/module/AngleSlider/AngleSlider.js.map +1 -1
- package/lib/module/AspectRatio/AspectRatio.js +10 -14
- package/lib/module/AspectRatio/AspectRatio.js.map +1 -1
- package/lib/module/Autocomplete/Autocomplete.js +8 -4
- package/lib/module/Autocomplete/Autocomplete.js.map +1 -1
- package/lib/module/Avatar/Avatar.js +31 -28
- package/lib/module/Avatar/Avatar.js.map +1 -1
- package/lib/module/BackgroundImage/BackgroundImage.js +16 -7
- package/lib/module/BackgroundImage/BackgroundImage.js.map +1 -1
- package/lib/module/Badge/Badge.js +63 -52
- package/lib/module/Badge/Badge.js.map +1 -1
- package/lib/module/Blockquote/Blockquote.js +82 -81
- package/lib/module/Blockquote/Blockquote.js.map +1 -1
- package/lib/module/Box/Box.js +2 -2
- package/lib/module/Box/Box.js.map +1 -1
- package/lib/module/Breadcrumbs/Breadcrumbs.js +10 -10
- package/lib/module/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/lib/module/Burger/Burger.js +32 -21
- package/lib/module/Burger/Burger.js.map +1 -1
- package/lib/module/Button/Button.js +107 -65
- package/lib/module/Button/Button.js.map +1 -1
- package/lib/module/Card/Card.js +51 -39
- package/lib/module/Card/Card.js.map +1 -1
- package/lib/module/Center/Center.js +3 -3
- package/lib/module/Center/Center.js.map +1 -1
- package/lib/module/Checkbox/CheckIcon.js +5 -4
- package/lib/module/Checkbox/CheckIcon.js.map +1 -1
- package/lib/module/Checkbox/Checkbox.js +100 -70
- package/lib/module/Checkbox/Checkbox.js.map +1 -1
- package/lib/module/Chip/Chip.js +35 -68
- package/lib/module/Chip/Chip.js.map +1 -1
- package/lib/module/CloseButton/CloseButton.js +14 -7
- package/lib/module/CloseButton/CloseButton.js.map +1 -1
- package/lib/module/Code/Code.js +15 -11
- package/lib/module/Code/Code.js.map +1 -1
- package/lib/module/Collapse/Collapse.js +11 -5
- package/lib/module/Collapse/Collapse.js.map +1 -1
- package/lib/module/ColorInput/ColorInput.js +26 -21
- package/lib/module/ColorInput/ColorInput.js.map +1 -1
- package/lib/module/ColorPicker/ColorPicker.js +96 -84
- package/lib/module/ColorPicker/ColorPicker.js.map +1 -1
- package/lib/module/ColorSwatch/ColorSwatch.js +13 -15
- package/lib/module/ColorSwatch/ColorSwatch.js.map +1 -1
- package/lib/module/Combobox/Combobox.js +194 -188
- package/lib/module/Combobox/Combobox.js.map +1 -1
- package/lib/module/Combobox/OptionsDropdown.js +13 -7
- package/lib/module/Combobox/OptionsDropdown.js.map +1 -1
- package/lib/module/Combobox/index.js +1 -1
- package/lib/module/Combobox/index.js.map +1 -1
- package/lib/module/Container/Container.js +12 -19
- package/lib/module/Container/Container.js.map +1 -1
- package/lib/module/Dialog/Dialog.js +16 -15
- package/lib/module/Dialog/Dialog.js.map +1 -1
- package/lib/module/Drawer/Drawer.js +53 -34
- package/lib/module/Drawer/Drawer.js.map +1 -1
- package/lib/module/Fieldset/Fieldset.js +27 -19
- package/lib/module/Fieldset/Fieldset.js.map +1 -1
- package/lib/module/FileButton/FileButton.js +5 -3
- package/lib/module/FileButton/FileButton.js.map +1 -1
- package/lib/module/Flex/Flex.js +24 -28
- package/lib/module/Flex/Flex.js.map +1 -1
- package/lib/module/FocusTrap/FocusTrap.js +4 -3
- package/lib/module/FocusTrap/FocusTrap.js.map +1 -1
- package/lib/module/Grid/Grid.js +22 -19
- package/lib/module/Grid/Grid.js.map +1 -1
- package/lib/module/Group/Group.js +4 -4
- package/lib/module/Group/Group.js.map +1 -1
- package/lib/module/Highlight/Highlight.js +2 -1
- package/lib/module/Highlight/Highlight.js.map +1 -1
- package/lib/module/HoverCard/HoverCard.js +8 -25
- package/lib/module/HoverCard/HoverCard.js.map +1 -1
- package/lib/module/Image/Image.native.js +1 -1
- package/lib/module/Image/createImage.js +88 -56
- package/lib/module/Image/createImage.js.map +1 -1
- package/lib/module/Indicator/Indicator.js +37 -30
- package/lib/module/Indicator/Indicator.js.map +1 -1
- package/lib/module/Input/Input.js +89 -121
- package/lib/module/Input/Input.js.map +1 -1
- package/lib/module/Input/Input.native.js +56 -37
- package/lib/module/Input/Input.native.js.map +1 -1
- package/lib/module/Input/shared.js +148 -225
- package/lib/module/Input/shared.js.map +1 -1
- package/lib/module/InputBase/InputBase.js +2 -1
- package/lib/module/InputBase/InputBase.js.map +1 -1
- package/lib/module/Kbd/Kbd.js +12 -18
- package/lib/module/Kbd/Kbd.js.map +1 -1
- package/lib/module/KeyboardAvoidingView/KeyboardAvoidingView.native.js +2 -2
- package/lib/module/KeyboardAvoidingView/KeyboardAvoidingView.native.js.map +1 -1
- package/lib/module/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js +1 -1
- package/lib/module/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js.map +1 -1
- package/lib/module/List/List.js +11 -11
- package/lib/module/List/List.js.map +1 -1
- package/lib/module/Loader/Loader.js +33 -39
- package/lib/module/Loader/Loader.js.map +1 -1
- package/lib/module/LoadingOverlay/LoadingOverlay.js +2 -1
- package/lib/module/LoadingOverlay/LoadingOverlay.js.map +1 -1
- package/lib/module/Mark/Mark.js +11 -15
- package/lib/module/Mark/Mark.js.map +1 -1
- package/lib/module/Marquee/Marquee.js +66 -48
- package/lib/module/Marquee/Marquee.js.map +1 -1
- package/lib/module/MaskInput/MaskInput.js +2 -1
- package/lib/module/MaskInput/MaskInput.js.map +1 -1
- package/lib/module/Menu/Menu.js +86 -50
- package/lib/module/Menu/Menu.js.map +1 -1
- package/lib/module/Modal/Modal.js +35 -31
- package/lib/module/Modal/Modal.js.map +1 -1
- package/lib/module/Modal/drag/DragDismissHost.js +4 -1
- package/lib/module/Modal/drag/DragDismissHost.js.map +1 -1
- package/lib/module/Modal/drag/DragDismissHost.web.js +10 -6
- package/lib/module/Modal/drag/DragDismissHost.web.js.map +1 -1
- package/lib/module/Modal/drag/DragDismissOverlay.js +4 -1
- package/lib/module/Modal/drag/DragDismissOverlay.js.map +1 -1
- package/lib/module/Modal/drag/DragDismissOverlay.web.js +6 -8
- package/lib/module/Modal/drag/DragDismissOverlay.web.js.map +1 -1
- package/lib/module/Modal/drag/index.js +1 -1
- package/lib/module/Modal/drag/index.js.map +1 -1
- package/lib/module/Modal/drag/useDragDismiss.js +84 -68
- package/lib/module/Modal/drag/useDragDismiss.js.map +1 -1
- package/lib/module/Modal/modal-base-inner.js +1 -1
- package/lib/module/Modal/modal-base-inner.js.map +1 -1
- package/lib/module/Modal/modal-base-inner.native.js +3 -2
- package/lib/module/Modal/modal-base-inner.native.js.map +1 -1
- package/lib/module/Modal/modal-base.js +25 -12
- package/lib/module/Modal/modal-base.js.map +1 -1
- package/lib/module/MultiSelect/MultiSelect.js +7 -3
- package/lib/module/MultiSelect/MultiSelect.js.map +1 -1
- package/lib/module/NativeSelect/NativeSelect.js +26 -31
- package/lib/module/NativeSelect/NativeSelect.js.map +1 -1
- package/lib/module/NavLink/NavLink.js +64 -59
- package/lib/module/NavLink/NavLink.js.map +1 -1
- package/lib/module/Notification/Notification.js +29 -29
- package/lib/module/Notification/Notification.js.map +1 -1
- package/lib/module/NumberFormatter/NumberFormatter.js +3 -3
- package/lib/module/NumberFormatter/NumberFormatter.js.map +1 -1
- package/lib/module/NumberInput/NumberInput.js +49 -46
- package/lib/module/NumberInput/NumberInput.js.map +1 -1
- package/lib/module/Overlay/Overlay.js +19 -12
- package/lib/module/Overlay/Overlay.js.map +1 -1
- package/lib/module/Pagination/Pagination.js +127 -122
- package/lib/module/Pagination/Pagination.js.map +1 -1
- package/lib/module/Paper/Paper.js +8 -9
- package/lib/module/Paper/Paper.js.map +1 -1
- package/lib/module/Paragraph/Paragraph.js +6 -10
- package/lib/module/Paragraph/Paragraph.js.map +1 -1
- package/lib/module/PasswordInput/PasswordInput.js +4 -4
- package/lib/module/PasswordInput/PasswordInput.js.map +1 -1
- package/lib/module/Pill/Pill.js +42 -36
- package/lib/module/Pill/Pill.js.map +1 -1
- package/lib/module/PillsInput/PillsInput.js +59 -32
- package/lib/module/PillsInput/PillsInput.js.map +1 -1
- package/lib/module/PinInput/PinInput.js +27 -21
- package/lib/module/PinInput/PinInput.js.map +1 -1
- package/lib/module/Popover/Popover.native.js +6 -2
- package/lib/module/Popover/Popover.native.js.map +1 -1
- package/lib/module/Popover/Popover.shared.js +36 -25
- package/lib/module/Popover/Popover.shared.js.map +1 -1
- package/lib/module/Portal/OverlayHost.js.map +1 -1
- package/lib/module/Portal/OverlayPortal.js +28 -0
- package/lib/module/Portal/OverlayPortal.js.map +1 -0
- package/lib/module/Portal/index.js +4 -0
- package/lib/module/Portal/index.js.map +1 -1
- package/lib/module/Progress/Progress.js +39 -28
- package/lib/module/Progress/Progress.js.map +1 -1
- package/lib/module/Radio/Radio.js +83 -95
- package/lib/module/Radio/Radio.js.map +1 -1
- package/lib/module/Radio/RadioIcon.js +4 -6
- package/lib/module/Radio/RadioIcon.js.map +1 -1
- package/lib/module/Rating/Rating.js +50 -40
- package/lib/module/Rating/Rating.js.map +1 -1
- package/lib/module/RollingNumber/RollingNumber.js +49 -25
- package/lib/module/RollingNumber/RollingNumber.js.map +1 -1
- package/lib/module/ScrollArea/ScrollArea.js +41 -38
- package/lib/module/ScrollArea/ScrollArea.js.map +1 -1
- package/lib/module/ScrollArea/ScrollArea.native.js +48 -43
- package/lib/module/ScrollArea/ScrollArea.native.js.map +1 -1
- package/lib/module/SegmentedControl/SegmentedControl.js +108 -57
- package/lib/module/SegmentedControl/SegmentedControl.js.map +1 -1
- package/lib/module/Select/Select.js +8 -4
- package/lib/module/Select/Select.js.map +1 -1
- package/lib/module/Separator/Separator.js +49 -41
- package/lib/module/Separator/Separator.js.map +1 -1
- package/lib/module/SimpleGrid/SimpleGrid.js +14 -16
- package/lib/module/SimpleGrid/SimpleGrid.js.map +1 -1
- package/lib/module/Skeleton/Skeleton.js +40 -25
- package/lib/module/Skeleton/Skeleton.js.map +1 -1
- package/lib/module/Slider/Slider.js +309 -258
- package/lib/module/Slider/Slider.js.map +1 -1
- package/lib/module/Spacer/Spacer.js +16 -29
- package/lib/module/Spacer/Spacer.js.map +1 -1
- package/lib/module/Spoiler/Spoiler.js +17 -17
- package/lib/module/Spoiler/Spoiler.js.map +1 -1
- package/lib/module/Stack/Stack.js +3 -3
- package/lib/module/Stack/Stack.js.map +1 -1
- package/lib/module/Stepper/Stepper.js +97 -72
- package/lib/module/Stepper/Stepper.js.map +1 -1
- package/lib/module/Switch/Switch.js +73 -69
- package/lib/module/Switch/Switch.js.map +1 -1
- package/lib/module/Table/Table.js +99 -85
- package/lib/module/Table/Table.js.map +1 -1
- package/lib/module/TableOfContents/TableOfContents.js +96 -97
- package/lib/module/TableOfContents/TableOfContents.js.map +1 -1
- package/lib/module/Tabs/Tabs.js +72 -74
- package/lib/module/Tabs/Tabs.js.map +1 -1
- package/lib/module/TagsInput/TagsInput.js +21 -5
- package/lib/module/TagsInput/TagsInput.js.map +1 -1
- package/lib/module/Text/Text.js +29 -14
- package/lib/module/Text/Text.js.map +1 -1
- package/lib/module/TextInput/TextInput.js +2 -1
- package/lib/module/TextInput/TextInput.js.map +1 -1
- package/lib/module/Textarea/Textarea.js +2 -2
- package/lib/module/Textarea/Textarea.js.map +1 -1
- package/lib/module/ThemeIcon/ThemeIcon.js +12 -8
- package/lib/module/ThemeIcon/ThemeIcon.js.map +1 -1
- package/lib/module/Title/Title.js +51 -34
- package/lib/module/Title/Title.js.map +1 -1
- package/lib/module/Tooltip/Tooltip.js +46 -30
- package/lib/module/Tooltip/Tooltip.js.map +1 -1
- package/lib/module/Transition/Transition.native.js +12 -11
- package/lib/module/Transition/Transition.native.js.map +1 -1
- package/lib/module/Transition/use-overlay-transition.native.js +3 -6
- package/lib/module/Transition/use-overlay-transition.native.js.map +1 -1
- package/lib/module/Tree/Tree.js +31 -35
- package/lib/module/Tree/Tree.js.map +1 -1
- package/lib/module/TreeSelect/TreeSelect.js +52 -28
- package/lib/module/TreeSelect/TreeSelect.js.map +1 -1
- package/lib/module/Typography/Typography.js +5 -7
- package/lib/module/Typography/Typography.js.map +1 -1
- package/lib/module/UnstyledButton/UnstyledButton.js +5 -5
- package/lib/module/UnstyledButton/UnstyledButton.js.map +1 -1
- package/lib/module/VirtualList/VirtualList.js +23 -7
- package/lib/module/VirtualList/VirtualList.js.map +1 -1
- package/lib/module/VisuallyHidden/VisuallyHidden.js +6 -10
- package/lib/module/VisuallyHidden/VisuallyHidden.js.map +1 -1
- package/lib/module/control-system.js +5 -0
- package/lib/module/control-system.js.map +1 -1
- package/lib/module/index.js +9 -5
- package/lib/module/index.js.map +1 -1
- package/lib/module/internal/ControlIconProvider.js +1 -1
- package/lib/module/internal/ControlIconProvider.js.map +1 -1
- package/lib/module/internal/InlineControl.js +25 -30
- package/lib/module/internal/InlineControl.js.map +1 -1
- package/lib/module/internal/collapse-box.js +13 -11
- package/lib/module/internal/collapse-box.js.map +1 -1
- package/lib/module/internal/control-icon-size.js +5 -8
- package/lib/module/internal/control-icon-size.js.map +1 -1
- package/lib/module/internal/control-metrics.js +52 -52
- package/lib/module/internal/control-metrics.js.map +1 -1
- package/lib/module/internal/floating-arrow.js +44 -30
- package/lib/module/internal/floating-arrow.js.map +1 -1
- package/lib/module/internal/focus-ring.js +95 -0
- package/lib/module/internal/focus-ring.js.map +1 -0
- package/lib/module/internal/gradient-shared.js +16 -7
- package/lib/module/internal/gradient-shared.js.map +1 -1
- package/lib/module/internal/gradient.js +2 -0
- package/lib/module/internal/gradient.js.map +1 -1
- package/lib/module/internal/gradient.native.js +3 -1
- package/lib/module/internal/gradient.native.js.map +1 -1
- package/lib/module/internal/motion.js +245 -359
- package/lib/module/internal/motion.js.map +1 -1
- package/lib/module/internal/resolve-theme-color.js +10 -10
- package/lib/module/internal/resolve-theme-color.js.map +1 -1
- package/lib/module/internal/style-props.js +471 -459
- package/lib/module/internal/style-props.js.map +1 -1
- package/lib/module/internal/theme-color-web.js +45 -27
- package/lib/module/internal/theme-color-web.js.map +1 -1
- package/lib/module/internal/use-icon-color.js +1 -1
- package/lib/module/internal/use-icon-color.native.js +1 -1
- package/lib/module/internal/use-looping-animation.native.js +1 -1
- package/lib/module/internal/use-looping-animation.native.js.map +1 -1
- package/lib/module/internal/use-slot-text-wrapper.js +1 -1
- package/lib/module/internal/variant-colors.js +150 -228
- package/lib/module/internal/variant-colors.js.map +1 -1
- package/lib/typescript/Accordion/Accordion.d.ts +120 -74
- package/lib/typescript/Accordion/Accordion.d.ts.map +1 -1
- package/lib/typescript/ActionIcon/ActionIcon.d.ts +236 -94
- package/lib/typescript/ActionIcon/ActionIcon.d.ts.map +1 -1
- package/lib/typescript/Affix/Affix.d.ts +12 -7
- package/lib/typescript/Affix/Affix.d.ts.map +1 -1
- package/lib/typescript/Alert/Alert.d.ts +228 -68
- package/lib/typescript/Alert/Alert.d.ts.map +1 -1
- package/lib/typescript/Anchor/Anchor.d.ts +33 -24
- package/lib/typescript/Anchor/Anchor.d.ts.map +1 -1
- package/lib/typescript/AngleSlider/AngleSlider.d.ts +224 -66
- package/lib/typescript/AngleSlider/AngleSlider.d.ts.map +1 -1
- package/lib/typescript/AspectRatio/AspectRatio.d.ts +34 -14
- package/lib/typescript/AspectRatio/AspectRatio.d.ts.map +1 -1
- package/lib/typescript/Autocomplete/Autocomplete.d.ts +30 -42
- package/lib/typescript/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/lib/typescript/Avatar/Avatar.d.ts +174 -198
- package/lib/typescript/Avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/BackgroundImage/BackgroundImage.d.ts +15 -10
- package/lib/typescript/BackgroundImage/BackgroundImage.d.ts.map +1 -1
- package/lib/typescript/Badge/Badge.d.ts +138 -62
- package/lib/typescript/Badge/Badge.d.ts.map +1 -1
- package/lib/typescript/Blockquote/Blockquote.d.ts +148 -50
- package/lib/typescript/Blockquote/Blockquote.d.ts.map +1 -1
- package/lib/typescript/Box/Box.d.ts +11 -3
- package/lib/typescript/Box/Box.d.ts.map +1 -1
- package/lib/typescript/Breadcrumbs/Breadcrumbs.d.ts +115 -35
- package/lib/typescript/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/lib/typescript/Burger/Burger.d.ts +124 -41
- package/lib/typescript/Burger/Burger.d.ts.map +1 -1
- package/lib/typescript/Button/Button.d.ts +236 -107
- package/lib/typescript/Button/Button.d.ts.map +1 -1
- package/lib/typescript/Card/Card.d.ts +79 -47
- package/lib/typescript/Card/Card.d.ts.map +1 -1
- package/lib/typescript/Center/Center.d.ts +13 -9
- package/lib/typescript/Center/Center.d.ts.map +1 -1
- package/lib/typescript/Checkbox/CheckIcon.d.ts +7 -3
- package/lib/typescript/Checkbox/CheckIcon.d.ts.map +1 -1
- package/lib/typescript/Checkbox/Checkbox.d.ts +79 -60
- package/lib/typescript/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/typescript/Chip/Chip.d.ts +140 -57
- package/lib/typescript/Chip/Chip.d.ts.map +1 -1
- package/lib/typescript/CloseButton/CloseButton.d.ts +85 -50
- package/lib/typescript/CloseButton/CloseButton.d.ts.map +1 -1
- package/lib/typescript/Code/Code.d.ts +31 -23
- package/lib/typescript/Code/Code.d.ts.map +1 -1
- package/lib/typescript/Collapse/Collapse.d.ts +44 -20
- package/lib/typescript/Collapse/Collapse.d.ts.map +1 -1
- package/lib/typescript/ColorInput/ColorInput.d.ts +15 -5
- package/lib/typescript/ColorInput/ColorInput.d.ts.map +1 -1
- package/lib/typescript/ColorPicker/ColorPicker.d.ts +72 -16
- package/lib/typescript/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/lib/typescript/ColorSwatch/ColorSwatch.d.ts +59 -38
- package/lib/typescript/ColorSwatch/ColorSwatch.d.ts.map +1 -1
- package/lib/typescript/Combobox/Combobox.d.ts +183 -100
- package/lib/typescript/Combobox/Combobox.d.ts.map +1 -1
- package/lib/typescript/Combobox/OptionsDropdown.d.ts +6 -0
- package/lib/typescript/Combobox/OptionsDropdown.d.ts.map +1 -1
- package/lib/typescript/Combobox/index.d.ts +66 -86
- package/lib/typescript/Combobox/index.d.ts.map +1 -1
- package/lib/typescript/Container/Container.d.ts +3 -41
- package/lib/typescript/Container/Container.d.ts.map +1 -1
- package/lib/typescript/Dialog/Dialog.d.ts +79 -76
- package/lib/typescript/Dialog/Dialog.d.ts.map +1 -1
- package/lib/typescript/Drawer/Drawer.d.ts +115 -40
- package/lib/typescript/Drawer/Drawer.d.ts.map +1 -1
- package/lib/typescript/Fieldset/Fieldset.d.ts +91 -46
- package/lib/typescript/Fieldset/Fieldset.d.ts.map +1 -1
- package/lib/typescript/FileButton/FileButton.d.ts.map +1 -1
- package/lib/typescript/FileInput/FileInput.d.ts +1 -1
- package/lib/typescript/FileInput/FileInput.d.ts.map +1 -1
- package/lib/typescript/Flex/Flex.d.ts +28 -26
- package/lib/typescript/Flex/Flex.d.ts.map +1 -1
- package/lib/typescript/FocusTrap/FocusTrap.d.ts.map +1 -1
- package/lib/typescript/Grid/Grid.d.ts +56 -48
- package/lib/typescript/Grid/Grid.d.ts.map +1 -1
- package/lib/typescript/Group/Group.d.ts +21 -16
- package/lib/typescript/Group/Group.d.ts.map +1 -1
- package/lib/typescript/Highlight/Highlight.d.ts +1 -15
- package/lib/typescript/Highlight/Highlight.d.ts.map +1 -1
- package/lib/typescript/HoverCard/HoverCard.d.ts +9 -9
- package/lib/typescript/HoverCard/HoverCard.d.ts.map +1 -1
- package/lib/typescript/Image/Image.d.ts +53 -121
- package/lib/typescript/Image/Image.d.ts.map +1 -1
- package/lib/typescript/Image/Image.native.d.ts +54 -122
- package/lib/typescript/Image/Image.native.d.ts.map +1 -1
- package/lib/typescript/Image/createImage.d.ts +56 -364
- package/lib/typescript/Image/createImage.d.ts.map +1 -1
- package/lib/typescript/Image/types.d.ts +4 -1
- package/lib/typescript/Image/types.d.ts.map +1 -1
- package/lib/typescript/Indicator/Indicator.d.ts +122 -43
- package/lib/typescript/Indicator/Indicator.d.ts.map +1 -1
- package/lib/typescript/Input/Input.d.ts +131 -328
- package/lib/typescript/Input/Input.d.ts.map +1 -1
- package/lib/typescript/Input/Input.native.d.ts +150 -472
- package/lib/typescript/Input/Input.native.d.ts.map +1 -1
- package/lib/typescript/Input/shared.d.ts +290 -490
- package/lib/typescript/Input/shared.d.ts.map +1 -1
- package/lib/typescript/Input/types.d.ts +14 -1
- package/lib/typescript/Input/types.d.ts.map +1 -1
- package/lib/typescript/InputBase/InputBase.d.ts +1 -52
- package/lib/typescript/InputBase/InputBase.d.ts.map +1 -1
- package/lib/typescript/Kbd/Kbd.d.ts +21 -65
- package/lib/typescript/Kbd/Kbd.d.ts.map +1 -1
- package/lib/typescript/KeyboardAvoidingView/KeyboardAvoidingView.d.ts +2 -6
- package/lib/typescript/KeyboardAvoidingView/KeyboardAvoidingView.d.ts.map +1 -1
- package/lib/typescript/KeyboardAvoidingView/KeyboardAvoidingView.native.d.ts +7 -3
- package/lib/typescript/KeyboardAvoidingView/KeyboardAvoidingView.native.d.ts.map +1 -1
- package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts +2 -6
- package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.d.ts.map +1 -1
- package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.native.d.ts +13 -15
- package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.native.d.ts.map +1 -1
- package/lib/typescript/List/List.d.ts +165 -63
- package/lib/typescript/List/List.d.ts.map +1 -1
- package/lib/typescript/Loader/Loader.d.ts +58 -28
- package/lib/typescript/Loader/Loader.d.ts.map +1 -1
- package/lib/typescript/LoadingOverlay/LoadingOverlay.d.ts +1 -9
- package/lib/typescript/LoadingOverlay/LoadingOverlay.d.ts.map +1 -1
- package/lib/typescript/Mark/Mark.d.ts +21 -65
- package/lib/typescript/Mark/Mark.d.ts.map +1 -1
- package/lib/typescript/Marquee/Marquee.d.ts +127 -44
- package/lib/typescript/Marquee/Marquee.d.ts.map +1 -1
- package/lib/typescript/MaskInput/MaskInput.d.ts +1 -51
- package/lib/typescript/MaskInput/MaskInput.d.ts.map +1 -1
- package/lib/typescript/Menu/Menu.d.ts +93 -105
- package/lib/typescript/Menu/Menu.d.ts.map +1 -1
- package/lib/typescript/Modal/Modal.d.ts +166 -91
- package/lib/typescript/Modal/Modal.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/DragDismissHost.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/DragDismissHost.web.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/DragDismissOverlay.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/DragDismissOverlay.web.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/index.d.ts +2 -2
- package/lib/typescript/Modal/drag/index.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/types.d.ts +14 -2
- package/lib/typescript/Modal/drag/types.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/useDragDismiss.d.ts +2 -2
- package/lib/typescript/Modal/drag/useDragDismiss.d.ts.map +1 -1
- package/lib/typescript/Modal/modal-base-inner.d.ts +6 -2
- package/lib/typescript/Modal/modal-base-inner.d.ts.map +1 -1
- package/lib/typescript/Modal/modal-base-inner.native.d.ts +7 -3
- package/lib/typescript/Modal/modal-base-inner.native.d.ts.map +1 -1
- package/lib/typescript/Modal/modal-base.d.ts +2 -2
- package/lib/typescript/Modal/modal-base.d.ts.map +1 -1
- package/lib/typescript/MultiSelect/MultiSelect.d.ts +30 -50
- package/lib/typescript/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/lib/typescript/NativeSelect/NativeSelect.d.ts.map +1 -1
- package/lib/typescript/NativeSelect/NativeSelect.native.d.ts +1 -1
- package/lib/typescript/NativeSelect/NativeSelect.native.d.ts.map +1 -1
- package/lib/typescript/NavLink/NavLink.d.ts +245 -72
- package/lib/typescript/NavLink/NavLink.d.ts.map +1 -1
- package/lib/typescript/Notification/Notification.d.ts +230 -69
- package/lib/typescript/Notification/Notification.d.ts.map +1 -1
- package/lib/typescript/NumberFormatter/NumberFormatter.d.ts +24 -19
- package/lib/typescript/NumberFormatter/NumberFormatter.d.ts.map +1 -1
- package/lib/typescript/NumberInput/NumberInput.d.ts +91 -150
- package/lib/typescript/NumberInput/NumberInput.d.ts.map +1 -1
- package/lib/typescript/Overlay/Overlay.d.ts +17 -12
- package/lib/typescript/Overlay/Overlay.d.ts.map +1 -1
- package/lib/typescript/Pagination/Pagination.d.ts +43 -65
- package/lib/typescript/Pagination/Pagination.d.ts.map +1 -1
- package/lib/typescript/Paper/Paper.d.ts +19 -7
- package/lib/typescript/Paper/Paper.d.ts.map +1 -1
- package/lib/typescript/Paragraph/Paragraph.d.ts +23 -19
- package/lib/typescript/Paragraph/Paragraph.d.ts.map +1 -1
- package/lib/typescript/PasswordInput/PasswordInput.d.ts +110 -207
- package/lib/typescript/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/lib/typescript/Pill/Pill.d.ts +133 -95
- package/lib/typescript/Pill/Pill.d.ts.map +1 -1
- package/lib/typescript/PillsInput/PillsInput.d.ts +2 -2
- package/lib/typescript/PillsInput/PillsInput.d.ts.map +1 -1
- package/lib/typescript/PinInput/PinInput.d.ts +148 -297
- package/lib/typescript/PinInput/PinInput.d.ts.map +1 -1
- package/lib/typescript/Popover/Popover.native.d.ts.map +1 -1
- package/lib/typescript/Popover/Popover.shared.d.ts +15 -11
- package/lib/typescript/Popover/Popover.shared.d.ts.map +1 -1
- package/lib/typescript/Portal/OverlayHost.d.ts +2 -2
- package/lib/typescript/Portal/OverlayHost.d.ts.map +1 -1
- package/lib/typescript/Portal/OverlayPortal.d.ts +19 -0
- package/lib/typescript/Portal/OverlayPortal.d.ts.map +1 -0
- package/lib/typescript/Portal/index.d.ts +4 -0
- package/lib/typescript/Portal/index.d.ts.map +1 -1
- package/lib/typescript/Progress/Progress.d.ts +114 -65
- package/lib/typescript/Progress/Progress.d.ts.map +1 -1
- package/lib/typescript/Radio/Radio.d.ts +69 -80
- package/lib/typescript/Radio/Radio.d.ts.map +1 -1
- package/lib/typescript/Radio/RadioIcon.d.ts +5 -0
- package/lib/typescript/Radio/RadioIcon.d.ts.map +1 -1
- package/lib/typescript/Rating/Rating.d.ts +94 -44
- package/lib/typescript/Rating/Rating.d.ts.map +1 -1
- package/lib/typescript/RollingNumber/RollingNumber.d.ts +112 -32
- package/lib/typescript/RollingNumber/RollingNumber.d.ts.map +1 -1
- package/lib/typescript/ScrollArea/ScrollArea.d.ts +50 -10
- package/lib/typescript/ScrollArea/ScrollArea.d.ts.map +1 -1
- package/lib/typescript/ScrollArea/ScrollArea.native.d.ts +40 -8
- package/lib/typescript/ScrollArea/ScrollArea.native.d.ts.map +1 -1
- package/lib/typescript/ScrollArea/ScrollArea.shared.d.ts +2 -2
- package/lib/typescript/SegmentedControl/SegmentedControl.d.ts +148 -56
- package/lib/typescript/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/lib/typescript/Select/Select.d.ts +31 -51
- package/lib/typescript/Select/Select.d.ts.map +1 -1
- package/lib/typescript/Separator/Separator.d.ts +124 -61
- package/lib/typescript/Separator/Separator.d.ts.map +1 -1
- package/lib/typescript/SimpleGrid/SimpleGrid.d.ts +15 -13
- package/lib/typescript/SimpleGrid/SimpleGrid.d.ts.map +1 -1
- package/lib/typescript/Skeleton/Skeleton.d.ts +18 -14
- package/lib/typescript/Skeleton/Skeleton.d.ts.map +1 -1
- package/lib/typescript/Slider/Slider.d.ts +425 -129
- package/lib/typescript/Slider/Slider.d.ts.map +1 -1
- package/lib/typescript/Spacer/Spacer.d.ts +10 -17
- package/lib/typescript/Spacer/Spacer.d.ts.map +1 -1
- package/lib/typescript/Spoiler/Spoiler.d.ts +88 -28
- package/lib/typescript/Spoiler/Spoiler.d.ts.map +1 -1
- package/lib/typescript/Stack/Stack.d.ts +17 -5
- package/lib/typescript/Stack/Stack.d.ts.map +1 -1
- package/lib/typescript/Stepper/Stepper.d.ts +433 -101
- package/lib/typescript/Stepper/Stepper.d.ts.map +1 -1
- package/lib/typescript/Switch/Switch.d.ts +157 -69
- package/lib/typescript/Switch/Switch.d.ts.map +1 -1
- package/lib/typescript/Table/Table.d.ts +151 -201
- package/lib/typescript/Table/Table.d.ts.map +1 -1
- package/lib/typescript/TableOfContents/TableOfContents.d.ts +116 -46
- package/lib/typescript/TableOfContents/TableOfContents.d.ts.map +1 -1
- package/lib/typescript/Tabs/Tabs.d.ts +138 -88
- package/lib/typescript/Tabs/Tabs.d.ts.map +1 -1
- package/lib/typescript/TagsInput/TagsInput.d.ts +30 -42
- package/lib/typescript/TagsInput/TagsInput.d.ts.map +1 -1
- package/lib/typescript/Text/Text.d.ts +22 -4
- package/lib/typescript/Text/Text.d.ts.map +1 -1
- package/lib/typescript/TextInput/TextInput.d.ts +1 -51
- package/lib/typescript/TextInput/TextInput.d.ts.map +1 -1
- package/lib/typescript/Textarea/Textarea.d.ts +1 -51
- package/lib/typescript/Textarea/Textarea.d.ts.map +1 -1
- package/lib/typescript/ThemeIcon/ThemeIcon.d.ts +52 -39
- package/lib/typescript/ThemeIcon/ThemeIcon.d.ts.map +1 -1
- package/lib/typescript/Title/Title.d.ts +40 -25
- package/lib/typescript/Title/Title.d.ts.map +1 -1
- package/lib/typescript/Tooltip/Tooltip.d.ts +97 -41
- package/lib/typescript/Tooltip/Tooltip.d.ts.map +1 -1
- package/lib/typescript/Transition/Transition.native.d.ts.map +1 -1
- package/lib/typescript/Transition/use-overlay-transition.d.ts +1 -2
- package/lib/typescript/Transition/use-overlay-transition.d.ts.map +1 -1
- package/lib/typescript/Transition/use-overlay-transition.native.d.ts +3 -4
- package/lib/typescript/Transition/use-overlay-transition.native.d.ts.map +1 -1
- package/lib/typescript/Tree/Tree.d.ts +180 -50
- package/lib/typescript/Tree/Tree.d.ts.map +1 -1
- package/lib/typescript/TreeSelect/TreeSelect.d.ts +141 -182
- package/lib/typescript/TreeSelect/TreeSelect.d.ts.map +1 -1
- package/lib/typescript/Typography/Typography.d.ts +13 -7
- package/lib/typescript/Typography/Typography.d.ts.map +1 -1
- package/lib/typescript/UnstyledButton/UnstyledButton.d.ts +27 -20
- package/lib/typescript/UnstyledButton/UnstyledButton.d.ts.map +1 -1
- package/lib/typescript/VirtualList/VirtualList.d.ts.map +1 -1
- package/lib/typescript/VirtualList/VirtualList.shared.d.ts +1 -1
- package/lib/typescript/VirtualList/VirtualList.shared.d.ts.map +1 -1
- package/lib/typescript/VisuallyHidden/VisuallyHidden.d.ts +23 -19
- package/lib/typescript/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
- package/lib/typescript/control-system.d.ts +3 -0
- package/lib/typescript/control-system.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +3 -2
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/internal/InlineControl.d.ts +80 -22
- package/lib/typescript/internal/InlineControl.d.ts.map +1 -1
- package/lib/typescript/internal/collapse-box.d.ts +3 -3
- package/lib/typescript/internal/collapse-box.d.ts.map +1 -1
- package/lib/typescript/internal/collapse-box.shared.d.ts +1 -1
- package/lib/typescript/internal/control-icon-size.d.ts +4 -3
- package/lib/typescript/internal/control-icon-size.d.ts.map +1 -1
- package/lib/typescript/internal/control-metrics.d.ts +50 -50
- package/lib/typescript/internal/floating-arrow.d.ts +6 -7
- package/lib/typescript/internal/floating-arrow.d.ts.map +1 -1
- package/lib/typescript/internal/focus-ring.d.ts +94 -0
- package/lib/typescript/internal/focus-ring.d.ts.map +1 -0
- package/lib/typescript/internal/gradient-shared.d.ts +9 -8
- package/lib/typescript/internal/gradient-shared.d.ts.map +1 -1
- package/lib/typescript/internal/gradient.d.ts +1 -0
- package/lib/typescript/internal/gradient.d.ts.map +1 -1
- package/lib/typescript/internal/gradient.native.d.ts +1 -0
- package/lib/typescript/internal/gradient.native.d.ts.map +1 -1
- package/lib/typescript/internal/motion.d.ts +77 -67
- package/lib/typescript/internal/motion.d.ts.map +1 -1
- package/lib/typescript/internal/resolve-theme-color.d.ts +9 -8
- package/lib/typescript/internal/resolve-theme-color.d.ts.map +1 -1
- package/lib/typescript/internal/style-props.d.ts +490 -664
- package/lib/typescript/internal/style-props.d.ts.map +1 -1
- package/lib/typescript/internal/theme-color-web.d.ts.map +1 -1
- package/lib/typescript/internal/use-icon-color.d.ts +1 -1
- package/lib/typescript/internal/use-icon-color.native.d.ts +1 -1
- package/lib/typescript/internal/use-looping-animation.d.ts +10 -2
- package/lib/typescript/internal/use-looping-animation.d.ts.map +1 -1
- package/lib/typescript/internal/use-looping-animation.native.d.ts +2 -2
- package/lib/typescript/internal/use-looping-animation.native.d.ts.map +1 -1
- package/lib/typescript/internal/variant-colors.d.ts +191 -199
- package/lib/typescript/internal/variant-colors.d.ts.map +1 -1
- package/package.json +14 -13
- package/src/Accordion/Accordion.tsx +55 -47
- package/src/ActionIcon/ActionIcon.tsx +116 -59
- package/src/Affix/Affix.tsx +16 -27
- package/src/Alert/Alert.tsx +57 -44
- package/src/Anchor/Anchor.tsx +13 -12
- package/src/AngleSlider/AngleSlider.tsx +87 -63
- package/src/AspectRatio/AspectRatio.tsx +9 -12
- package/src/Autocomplete/Autocomplete.tsx +7 -2
- package/src/Avatar/Avatar.tsx +44 -36
- package/src/BackgroundImage/BackgroundImage.tsx +9 -6
- package/src/Badge/Badge.tsx +55 -30
- package/src/Blockquote/Blockquote.tsx +55 -45
- package/src/Box/Box.tsx +2 -2
- package/src/Breadcrumbs/Breadcrumbs.tsx +13 -11
- package/src/Burger/Burger.tsx +33 -24
- package/src/Button/Button.tsx +106 -80
- package/src/Card/Card.tsx +52 -44
- package/src/Center/Center.tsx +3 -3
- package/src/Checkbox/CheckIcon.tsx +8 -5
- package/src/Checkbox/Checkbox.tsx +97 -62
- package/src/Chip/Chip.tsx +50 -45
- package/src/CloseButton/CloseButton.tsx +32 -13
- package/src/Code/Code.tsx +15 -11
- package/src/Collapse/Collapse.tsx +11 -6
- package/src/ColorInput/ColorInput.tsx +30 -24
- package/src/ColorPicker/ColorPicker.tsx +78 -79
- package/src/ColorSwatch/ColorSwatch.tsx +11 -14
- package/src/Combobox/Combobox.tsx +174 -153
- package/src/Combobox/OptionsDropdown.tsx +15 -2
- package/src/Combobox/index.ts +1 -0
- package/src/Container/Container.tsx +11 -15
- package/src/Dialog/Dialog.tsx +26 -16
- package/src/Drawer/Drawer.tsx +51 -33
- package/src/Fieldset/Fieldset.tsx +25 -17
- package/src/FileButton/FileButton.tsx +4 -1
- package/src/Flex/Flex.tsx +24 -21
- package/src/FocusTrap/FocusTrap.tsx +4 -3
- package/src/Grid/Grid.tsx +24 -27
- package/src/Group/Group.tsx +4 -4
- package/src/Highlight/Highlight.tsx +2 -2
- package/src/HoverCard/HoverCard.tsx +17 -32
- package/src/Image/Image.native.tsx +1 -1
- package/src/Image/createImage.tsx +96 -63
- package/src/Image/types.ts +5 -1
- package/src/Indicator/Indicator.tsx +41 -32
- package/src/Input/Input.native.tsx +536 -501
- package/src/Input/Input.tsx +110 -156
- package/src/Input/shared.tsx +198 -291
- package/src/Input/types.ts +15 -0
- package/src/InputBase/InputBase.tsx +3 -1
- package/src/Kbd/Kbd.tsx +13 -15
- package/src/KeyboardAvoidingView/KeyboardAvoidingView.native.tsx +2 -2
- package/src/KeyboardAwareScrollView/KeyboardAwareScrollView.native.tsx +34 -33
- package/src/List/List.tsx +17 -11
- package/src/Loader/Loader.tsx +33 -37
- package/src/LoadingOverlay/LoadingOverlay.tsx +3 -2
- package/src/Mark/Mark.tsx +12 -12
- package/src/Marquee/Marquee.tsx +58 -46
- package/src/MaskInput/MaskInput.tsx +2 -1
- package/src/Menu/Menu.tsx +110 -45
- package/src/Modal/Modal.tsx +38 -31
- package/src/Modal/drag/DragDismissHost.tsx +10 -5
- package/src/Modal/drag/DragDismissHost.web.tsx +2 -1
- package/src/Modal/drag/DragDismissOverlay.tsx +9 -5
- package/src/Modal/drag/DragDismissOverlay.web.tsx +6 -1
- package/src/Modal/drag/index.ts +7 -2
- package/src/Modal/drag/types.ts +15 -3
- package/src/Modal/drag/useDragDismiss.ts +29 -21
- package/src/Modal/modal-base-inner.native.tsx +3 -2
- package/src/Modal/modal-base-inner.tsx +1 -1
- package/src/Modal/modal-base.tsx +14 -12
- package/src/MultiSelect/MultiSelect.tsx +6 -1
- package/src/NativeSelect/NativeSelect.tsx +21 -32
- package/src/NavLink/NavLink.tsx +54 -47
- package/src/Notification/Notification.tsx +31 -30
- package/src/NumberFormatter/NumberFormatter.tsx +4 -3
- package/src/NumberInput/NumberInput.tsx +52 -42
- package/src/Overlay/Overlay.tsx +18 -14
- package/src/Pagination/Pagination.tsx +142 -123
- package/src/Paper/Paper.tsx +8 -9
- package/src/Paragraph/Paragraph.tsx +7 -7
- package/src/PasswordInput/PasswordInput.tsx +67 -67
- package/src/Pill/Pill.tsx +44 -32
- package/src/PillsInput/PillsInput.tsx +60 -31
- package/src/PinInput/PinInput.tsx +31 -23
- package/src/Popover/Popover.native.tsx +3 -4
- package/src/Popover/Popover.shared.tsx +32 -27
- package/src/Portal/OverlayHost.tsx +4 -4
- package/src/Portal/OverlayPortal.tsx +26 -0
- package/src/Portal/index.ts +4 -0
- package/src/Progress/Progress.tsx +77 -64
- package/src/Radio/Radio.tsx +128 -122
- package/src/Radio/RadioIcon.tsx +4 -10
- package/src/Rating/Rating.tsx +63 -42
- package/src/RollingNumber/RollingNumber.tsx +60 -28
- package/src/ScrollArea/ScrollArea.native.tsx +66 -59
- package/src/ScrollArea/ScrollArea.shared.ts +2 -2
- package/src/ScrollArea/ScrollArea.tsx +35 -33
- package/src/SegmentedControl/SegmentedControl.tsx +98 -53
- package/src/Select/Select.tsx +7 -2
- package/src/Separator/Separator.tsx +43 -36
- package/src/SimpleGrid/SimpleGrid.tsx +23 -24
- package/src/Skeleton/Skeleton.tsx +35 -16
- package/src/Slider/Slider.tsx +303 -227
- package/src/Spacer/Spacer.tsx +17 -41
- package/src/Spoiler/Spoiler.tsx +19 -13
- package/src/Stack/Stack.tsx +3 -3
- package/src/Stepper/Stepper.tsx +89 -73
- package/src/Switch/Switch.tsx +87 -73
- package/src/Table/Table.tsx +100 -77
- package/src/TableOfContents/TableOfContents.tsx +80 -74
- package/src/Tabs/Tabs.tsx +78 -66
- package/src/TagsInput/TagsInput.tsx +35 -4
- package/src/Text/Text.tsx +25 -10
- package/src/TextInput/TextInput.tsx +3 -1
- package/src/Textarea/Textarea.tsx +2 -2
- package/src/ThemeIcon/ThemeIcon.tsx +38 -23
- package/src/Title/Title.tsx +48 -23
- package/src/Tooltip/Tooltip.tsx +53 -32
- package/src/Transition/Transition.native.tsx +16 -19
- package/src/Transition/use-overlay-transition.native.ts +6 -12
- package/src/Transition/use-overlay-transition.ts +2 -2
- package/src/Tree/Tree.tsx +39 -44
- package/src/TreeSelect/TreeSelect.tsx +49 -24
- package/src/Typography/Typography.tsx +5 -7
- package/src/UnstyledButton/UnstyledButton.tsx +6 -5
- package/src/VirtualList/VirtualList.shared.ts +1 -1
- package/src/VirtualList/VirtualList.tsx +18 -6
- package/src/VisuallyHidden/VisuallyHidden.tsx +7 -9
- package/src/control-system.ts +5 -0
- package/src/index.ts +32 -12
- package/src/internal/ControlIconProvider.tsx +1 -1
- package/src/internal/InlineControl.tsx +23 -27
- package/src/internal/collapse-box.shared.ts +1 -1
- package/src/internal/collapse-box.tsx +15 -11
- package/src/internal/control-icon-size.ts +5 -8
- package/src/internal/control-metrics.ts +52 -52
- package/src/internal/floating-arrow.tsx +48 -40
- package/src/internal/focus-ring.ts +92 -0
- package/src/internal/gradient-shared.ts +23 -10
- package/src/internal/gradient.native.tsx +2 -1
- package/src/internal/gradient.tsx +1 -0
- package/src/internal/motion.ts +204 -244
- package/src/internal/resolve-theme-color.ts +10 -10
- package/src/internal/style-props.ts +545 -390
- package/src/internal/theme-color-web.ts +47 -27
- package/src/internal/use-icon-color.native.ts +1 -1
- package/src/internal/use-icon-color.ts +1 -1
- package/src/internal/use-looping-animation.native.tsx +2 -2
- package/src/internal/use-slot-text-wrapper.tsx +1 -1
- package/src/internal/variant-colors.ts +187 -151
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* and radius is defined exactly once. Re-tune a column here and Button, Input,
|
|
7
7
|
* Badge, Avatar, Progress, and Slider all move together.
|
|
8
8
|
*
|
|
9
|
-
* Every value is a TOKEN
|
|
9
|
+
* Every value is a bare TOKEN NAME (`"md"`), which resolves per-property: `md` is
|
|
10
10
|
* `size.md` (40) on `height`, `space.md` (16) on `paddingHorizontal`/`gap`,
|
|
11
11
|
* `font.md` (18) on `fontSize`, `radius.md` (8) on `borderRadius`. See
|
|
12
12
|
* `core/config/scales.ts` for the raw numbers and `docs/sizing/README.md` for the
|
|
@@ -24,70 +24,70 @@
|
|
|
24
24
|
* (Resolved from `core/config/scales.ts`; this table had drifted from it.)
|
|
25
25
|
*
|
|
26
26
|
* `fontSize` is intentionally CLAMPED at the bottom two steps (xxs/xs borrow the
|
|
27
|
-
* 12px
|
|
28
|
-
* dominated by text. `md` takes
|
|
27
|
+
* 12px `xxs` font instead of their same-key font) so tiny controls aren't
|
|
28
|
+
* dominated by text. `md` takes `sm` (16), not its same-key 18: 18px put the
|
|
29
29
|
* default 40px control's label at heading size — larger than the body text
|
|
30
30
|
* around it — and left no 16 step between `sm` (14) and `lg` (20). `borderRadius` is
|
|
31
|
-
* CAPPED at
|
|
31
|
+
* CAPPED at `lg` (16) so large controls stay rectangles, not accidental pills.
|
|
32
32
|
* `paddingHorizontalPill` is the standard padding bumped one space step — the one
|
|
33
33
|
* sanctioned divergence, used by the pill family (Badge/Chip/Pill).
|
|
34
34
|
*/
|
|
35
35
|
export declare const controlMetrics: {
|
|
36
36
|
readonly xxs: {
|
|
37
|
-
readonly height: "
|
|
38
|
-
readonly fontSize: "
|
|
39
|
-
readonly paddingHorizontal: "
|
|
40
|
-
readonly paddingHorizontalPill: "
|
|
41
|
-
readonly gap: "
|
|
42
|
-
readonly borderRadius: "
|
|
37
|
+
readonly height: "xxs";
|
|
38
|
+
readonly fontSize: "xxs";
|
|
39
|
+
readonly paddingHorizontal: "xxs";
|
|
40
|
+
readonly paddingHorizontalPill: "xs";
|
|
41
|
+
readonly gap: "xxs";
|
|
42
|
+
readonly borderRadius: "xs";
|
|
43
43
|
};
|
|
44
44
|
readonly xs: {
|
|
45
|
-
readonly height: "
|
|
46
|
-
readonly fontSize: "
|
|
47
|
-
readonly paddingHorizontal: "
|
|
48
|
-
readonly paddingHorizontalPill: "
|
|
49
|
-
readonly gap: "
|
|
50
|
-
readonly borderRadius: "
|
|
45
|
+
readonly height: "xs";
|
|
46
|
+
readonly fontSize: "xxs";
|
|
47
|
+
readonly paddingHorizontal: "xs";
|
|
48
|
+
readonly paddingHorizontalPill: "sm";
|
|
49
|
+
readonly gap: "xxs";
|
|
50
|
+
readonly borderRadius: "xs";
|
|
51
51
|
};
|
|
52
52
|
readonly sm: {
|
|
53
|
-
readonly height: "
|
|
54
|
-
readonly fontSize: "
|
|
55
|
-
readonly paddingHorizontal: "
|
|
56
|
-
readonly paddingHorizontalPill: "
|
|
57
|
-
readonly gap: "
|
|
58
|
-
readonly borderRadius: "
|
|
53
|
+
readonly height: "sm";
|
|
54
|
+
readonly fontSize: "xs";
|
|
55
|
+
readonly paddingHorizontal: "sm";
|
|
56
|
+
readonly paddingHorizontalPill: "md";
|
|
57
|
+
readonly gap: "xs";
|
|
58
|
+
readonly borderRadius: "sm";
|
|
59
59
|
};
|
|
60
60
|
readonly md: {
|
|
61
|
-
readonly height: "
|
|
62
|
-
readonly fontSize: "
|
|
63
|
-
readonly paddingHorizontal: "
|
|
64
|
-
readonly paddingHorizontalPill: "
|
|
65
|
-
readonly gap: "
|
|
66
|
-
readonly borderRadius: "
|
|
61
|
+
readonly height: "md";
|
|
62
|
+
readonly fontSize: "sm";
|
|
63
|
+
readonly paddingHorizontal: "md";
|
|
64
|
+
readonly paddingHorizontalPill: "lg";
|
|
65
|
+
readonly gap: "xs";
|
|
66
|
+
readonly borderRadius: "sm";
|
|
67
67
|
};
|
|
68
68
|
readonly lg: {
|
|
69
|
-
readonly height: "
|
|
70
|
-
readonly fontSize: "
|
|
71
|
-
readonly paddingHorizontal: "
|
|
72
|
-
readonly paddingHorizontalPill: "
|
|
73
|
-
readonly gap: "
|
|
74
|
-
readonly borderRadius: "
|
|
69
|
+
readonly height: "lg";
|
|
70
|
+
readonly fontSize: "lg";
|
|
71
|
+
readonly paddingHorizontal: "lg";
|
|
72
|
+
readonly paddingHorizontalPill: "xl";
|
|
73
|
+
readonly gap: "sm";
|
|
74
|
+
readonly borderRadius: "md";
|
|
75
75
|
};
|
|
76
76
|
readonly xl: {
|
|
77
|
-
readonly height: "
|
|
78
|
-
readonly fontSize: "
|
|
79
|
-
readonly paddingHorizontal: "
|
|
80
|
-
readonly paddingHorizontalPill: "
|
|
81
|
-
readonly gap: "
|
|
82
|
-
readonly borderRadius: "
|
|
77
|
+
readonly height: "xl";
|
|
78
|
+
readonly fontSize: "xl";
|
|
79
|
+
readonly paddingHorizontal: "xl";
|
|
80
|
+
readonly paddingHorizontalPill: "xl";
|
|
81
|
+
readonly gap: "sm";
|
|
82
|
+
readonly borderRadius: "md";
|
|
83
83
|
};
|
|
84
84
|
readonly xxl: {
|
|
85
|
-
readonly height: "
|
|
86
|
-
readonly fontSize: "
|
|
87
|
-
readonly paddingHorizontal: "
|
|
88
|
-
readonly paddingHorizontalPill: "
|
|
89
|
-
readonly gap: "
|
|
90
|
-
readonly borderRadius: "
|
|
85
|
+
readonly height: "xxl";
|
|
86
|
+
readonly fontSize: "xxl";
|
|
87
|
+
readonly paddingHorizontal: "xxl";
|
|
88
|
+
readonly paddingHorizontalPill: "xxl";
|
|
89
|
+
readonly gap: "md";
|
|
90
|
+
readonly borderRadius: "lg";
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
/** The size keys this system spans, in ascending order. */
|
|
@@ -97,10 +97,10 @@ export type SizeKey = (typeof SIZE_KEYS)[number];
|
|
|
97
97
|
export declare const DEFAULT_SIZE: "md";
|
|
98
98
|
/**
|
|
99
99
|
* Resolve a size key (`"md"`) to its raw pixel HEIGHT, or pass a number through,
|
|
100
|
-
* via
|
|
101
|
-
* `
|
|
102
|
-
*
|
|
103
|
-
*
|
|
100
|
+
* via the active config's `size` tokens (`md` → 40). RENDER-TIME only: the config
|
|
101
|
+
* exists once `createTamagui` has run, so never call this while building a styled
|
|
102
|
+
* variant (module load) — use the bare token names there, which resolve at the
|
|
103
|
+
* style layer. An unknown key resolves to `0`.
|
|
104
104
|
*/
|
|
105
105
|
export declare const resolveSizePx: (size: SizeKey | number) => number;
|
|
106
106
|
//# sourceMappingURL=control-metrics.d.ts.map
|
|
@@ -6,11 +6,10 @@ import { type Placement } from "../floating";
|
|
|
6
6
|
export type ArrowPosition = "center" | "side";
|
|
7
7
|
/**
|
|
8
8
|
* Resolve a dropdown `radius` prop to pixels, for the arrow's corner keepout.
|
|
9
|
-
* Mirrors `radiusVariant
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* frame's `$sm` radius). Only ever called at render, so the config is always present.
|
|
9
|
+
* Mirrors `radiusVariant`: a radius token (`"md"`) resolves through the active
|
|
10
|
+
* config, a number passes through, and anything unrecognized (`undefined`, or an
|
|
11
|
+
* arbitrary CSS value like `"10px"` the arrow math can't use) falls back to
|
|
12
|
+
* `fallback` (itself a token, defaulting to the dropdown frame's `sm` radius). Only ever called at render, so the config is always present.
|
|
14
13
|
*/
|
|
15
14
|
export declare function resolveRadiusPx(radius: RadiusTokens | string | number | undefined, fallback?: RadiusTokens | number): number;
|
|
16
15
|
export interface FloatingArrowProps {
|
|
@@ -24,9 +23,9 @@ export interface FloatingArrowProps {
|
|
|
24
23
|
position: ArrowPosition;
|
|
25
24
|
/** Corner radius applied to the arrow's outward corner. */
|
|
26
25
|
radius: number;
|
|
27
|
-
/** Arrow fill — match the dropdown surface (e.g. `"
|
|
26
|
+
/** Arrow fill — match the dropdown surface (e.g. `"background"`). */
|
|
28
27
|
background: BoxProps["backgroundColor"];
|
|
29
|
-
/** Outward-edge border color — match the dropdown border. @default "
|
|
28
|
+
/** Outward-edge border color — match the dropdown border. @default "borderColor" */
|
|
30
29
|
borderColor?: BoxProps["borderColor"];
|
|
31
30
|
/** Border width; pass `0` for a borderless (solid) arrow. @default 1 */
|
|
32
31
|
borderWidth?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floating-arrow.d.ts","sourceRoot":"","sources":["../../../src/internal/floating-arrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,
|
|
1
|
+
{"version":3,"file":"floating-arrow.d.ts","sourceRoot":"","sources":["../../../src/internal/floating-arrow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,YAAY,EAAgB,MAAM,cAAc,CAAC;AAE/D,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,oDAAoD;AACpD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,MAAM,CAAC;AAY9C;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,EAClD,QAAQ,GAAE,YAAY,GAAG,MAAa,GACrC,MAAM,CAMR;AAyHD,MAAM,WAAW,kBAAkB;IACjC,+DAA+D;IAC/D,SAAS,EAAE,SAAS,CAAC;IACrB,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,uFAAuF;IACvF,MAAM,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,QAAQ,EAAE,aAAa,CAAC;IACxB,2DAA2D;IAC3D,MAAM,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,UAAU,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACxC,oFAAoF;IACpF,WAAW,CAAC,EAAE,QAAQ,CAAC,aAAa,CAAC,CAAC;IACtC,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,MAAM,EACN,UAAU,EACV,WAA2B,EAC3B,WAAe,EACf,MAAM,EACN,MAAM,GACP,EAAE,kBAAkB,qBAwBpB"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE canonical keyboard-focus ring — the single source of truth for the
|
|
3
|
+
* focus-visible outline shared by every interactive control (Button, ActionIcon,
|
|
4
|
+
* Chip, Radio, Switch, Tabs, Menu items, Pagination, …).
|
|
5
|
+
*
|
|
6
|
+
* v3: the ring is CONFIGURATION, not a style table. Its three values are names
|
|
7
|
+
* owned by `@knitui/core` (`config/focus-ring.ts`, docs/v3/conventions.md §6):
|
|
8
|
+
*
|
|
9
|
+
* - `focusRingColor` a theme key in every theme (= that theme's `color8`), so an
|
|
10
|
+
* accent sub-theme (`theme="blue"`) recolours the ring;
|
|
11
|
+
* - `focusRingWidth` a config variable (2 → `2px` on web);
|
|
12
|
+
* - `focusRingOffset` a config variable (0).
|
|
13
|
+
*
|
|
14
|
+
* Re-theme the ring for a subtree with `<ThemeUpdate focusRingColor="red9"
|
|
15
|
+
* focusRingWidth={3}>` (web: CSS variables, no re-render). The clauses below name
|
|
16
|
+
* the variables, so that override reaches every control with no prop drilling.
|
|
17
|
+
*
|
|
18
|
+
* ─────────────────────────────────────────────────────────────────────────────
|
|
19
|
+
* THE FOCUS CONTRACT (two layers — both required, kept honest by the
|
|
20
|
+
* `focus-ring` guardrail test in `src/__tests__/`):
|
|
21
|
+
*
|
|
22
|
+
* Layer 1 — the VISUAL ring (this): spread `...focusRingStyle` onto a frame's
|
|
23
|
+
* styled base (or `{...FOCUS_RING}` onto a JSX element). It renders a
|
|
24
|
+
* `:focus-visible` outline on web; on native it only shows where the
|
|
25
|
+
* platform reports keyboard focus (touch has no focus ring; AT focus
|
|
26
|
+
* flows through accessibility, see Layer 2).
|
|
27
|
+
*
|
|
28
|
+
* Layer 2 — FOCUSABILITY: a styled `Box` renders a `<div>`, which the browser
|
|
29
|
+
* will NOT tab to, so Layer 1's `:focus-visible` never fires unless the
|
|
30
|
+
* SAME frame is also made focusable. Pick ONE by the control's
|
|
31
|
+
* semantics (both are cross-platform-safe):
|
|
32
|
+
* • `WEB_BUTTON_PROPS` / `webButton()` (internal/style-props) — the
|
|
33
|
+
* control IS a button: a real, natively-focusable `<button>` on
|
|
34
|
+
* web; a no-op on native (interaction flows through `onPress`).
|
|
35
|
+
* • `useKeyboardActions()` (@knitui/hooks) — a box with a non-button
|
|
36
|
+
* role (link/treeitem/checkbox/…): web adds `tabIndex`+`onKeyDown`.
|
|
37
|
+
* • a roving `tabIndex` literal — composite widgets (Tabs/Menu).
|
|
38
|
+
*
|
|
39
|
+
* INVARIANT: never spread the ring onto a frame you don't also make focusable —
|
|
40
|
+
* that produces a DEAD ring (the bug this contract exists to stop).
|
|
41
|
+
*
|
|
42
|
+
* TEXT FIELDS are the deliberate exception: they express focus as a `borderColor`
|
|
43
|
+
* swap (`focusRingColor`, see Input's `focused` variant in `Input/shared.tsx`)
|
|
44
|
+
* because a border renders cross-platform, unlike the outline.
|
|
45
|
+
* ─────────────────────────────────────────────────────────────────────────────
|
|
46
|
+
*/
|
|
47
|
+
/**
|
|
48
|
+
* The ring as v3 flat clause props. One static object, valid BOTH as a `styled()`
|
|
49
|
+
* base fragment (`styled(Box, { ...focusRingStyle })`) and as JSX props
|
|
50
|
+
* (`<Frame {...FOCUS_RING} />`). Clause strings type-check on every outline prop
|
|
51
|
+
* (the 3.0.18 typing caveat in conventions §6 only bites bare variable names), so
|
|
52
|
+
* width and offset name their config variables too and follow `<ThemeUpdate>`.
|
|
53
|
+
*/
|
|
54
|
+
export declare const FOCUS_RING: {
|
|
55
|
+
readonly outlineColor: "focus-visible:focusRingColor";
|
|
56
|
+
readonly outlineWidth: "focus-visible:focusRingWidth";
|
|
57
|
+
readonly outlineStyle: "focus-visible:solid";
|
|
58
|
+
readonly outlineOffset: "focus-visible:focusRingOffset";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* The same ring, under the name ~20 frames spread into their `styled()` base
|
|
62
|
+
* (`...focusRingStyle`). v2 wrapped `FOCUS_RING` in a `focusVisibleStyle` block;
|
|
63
|
+
* in v3 the condition lives in each value, so the two are the same object.
|
|
64
|
+
*/
|
|
65
|
+
export declare const focusRingStyle: {
|
|
66
|
+
readonly outlineColor: "focus-visible:focusRingColor";
|
|
67
|
+
readonly outlineWidth: "focus-visible:focusRingWidth";
|
|
68
|
+
readonly outlineStyle: "focus-visible:solid";
|
|
69
|
+
readonly outlineOffset: "focus-visible:focusRingOffset";
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* The ring under `:focus-within` instead of `:focus-visible` — for a wrapper whose
|
|
73
|
+
* focusable element is a descendant it cannot style (e.g. a group around a native
|
|
74
|
+
* input). Layer 2 still applies to that descendant.
|
|
75
|
+
*/
|
|
76
|
+
export declare const FOCUS_WITHIN_RING: {
|
|
77
|
+
readonly outlineColor: "focus-within:focusRingColor";
|
|
78
|
+
readonly outlineWidth: "focus-within:focusRingWidth";
|
|
79
|
+
readonly outlineStyle: "focus-within:solid";
|
|
80
|
+
readonly outlineOffset: "focus-within:focusRingOffset";
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* {@link FOCUS_RING} for a frame that ALSO resets the resting outline (no UA
|
|
84
|
+
* outline outside keyboard focus). v3 has one value per property, so a base
|
|
85
|
+
* `outlineWidth: 0` next to `...focusRingStyle` is a duplicate key, not a merge —
|
|
86
|
+
* spread this instead of writing both.
|
|
87
|
+
*/
|
|
88
|
+
export declare const focusRingResetStyle: {
|
|
89
|
+
readonly outlineColor: "transparent focus-visible:focusRingColor";
|
|
90
|
+
readonly outlineWidth: "0px focus-visible:focusRingWidth";
|
|
91
|
+
readonly outlineStyle: "none focus-visible:solid";
|
|
92
|
+
readonly outlineOffset: "focus-visible:focusRingOffset";
|
|
93
|
+
};
|
|
94
|
+
//# sourceMappingURL=focus-ring.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"focus-ring.d.ts","sourceRoot":"","sources":["../../../src/internal/focus-ring.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;CAAa,CAAC;AAEzC;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;CAKtB,CAAC"}
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
* (a linear-gradient has no cross-platform Tamagui style value), so it lives here
|
|
10
10
|
* as a per-instance `gradient` prop painted at render: web sets a CSS
|
|
11
11
|
* `backgroundImage`, native paints a `react-native-svg` layer. See
|
|
12
|
-
* `variant-colors.ts` for the matching transparent fill +
|
|
12
|
+
* `variant-colors.ts` for the matching transparent fill + `white` foreground.
|
|
13
13
|
*/
|
|
14
14
|
import type * as React from "react";
|
|
15
15
|
import type { useTheme } from "@knitui/core";
|
|
16
16
|
/** A single gradient color stop. `offset` is a 0–100 percentage along the line. */
|
|
17
17
|
export interface GradientStop {
|
|
18
|
-
/** Stop color — a
|
|
18
|
+
/** Stop color — a theme colour name (`color9`, theme-aware) or any concrete CSS color. */
|
|
19
19
|
color: string;
|
|
20
20
|
/** Position along the gradient line, 0–100 (%). Defaults to even spacing. */
|
|
21
21
|
offset?: number;
|
|
@@ -28,13 +28,13 @@ export interface GradientStop {
|
|
|
28
28
|
* - the multi-`stops` form `{ stops: [{ color, offset }], deg }` for three or
|
|
29
29
|
* more color steps.
|
|
30
30
|
*
|
|
31
|
-
* When `stops` is present it wins over `from`/`to`. Colors accept
|
|
32
|
-
* ramp
|
|
31
|
+
* When `stops` is present it wins over `from`/`to`. Colors accept `colorN`
|
|
32
|
+
* ramp names (so `theme="red"` recolors the gradient) or any concrete CSS color.
|
|
33
33
|
*/
|
|
34
34
|
export interface GradientValue {
|
|
35
|
-
/** Start color (two-color shorthand). @default "
|
|
35
|
+
/** Start color (two-color shorthand). @default "color5" */
|
|
36
36
|
from?: string;
|
|
37
|
-
/** End color (two-color shorthand). @default "
|
|
37
|
+
/** End color (two-color shorthand). @default "color9" */
|
|
38
38
|
to?: string;
|
|
39
39
|
/** Three-or-more color steps. Takes precedence over `from`/`to` when set. */
|
|
40
40
|
stops?: GradientStop[];
|
|
@@ -55,6 +55,7 @@ export interface GradientResult {
|
|
|
55
55
|
};
|
|
56
56
|
layer: React.ReactNode;
|
|
57
57
|
}
|
|
58
|
+
export declare const gradientForVariant: (variant: unknown, gradient: GradientValue | undefined) => GradientValue | undefined;
|
|
58
59
|
/** The resolved angle, defaulting to Mantine's 45°. */
|
|
59
60
|
export declare const gradientDeg: (gradient: GradientValue) => number;
|
|
60
61
|
/**
|
|
@@ -66,7 +67,7 @@ export declare const normalizeStops: (gradient: GradientValue) => Required<Gradi
|
|
|
66
67
|
type Theme = ReturnType<typeof useTheme>;
|
|
67
68
|
/**
|
|
68
69
|
* Build the web `linear-gradient(...)` string. Each stop color is mapped to its
|
|
69
|
-
* CSS custom property by {@link themeColorToCssVar}, so a
|
|
70
|
+
* CSS custom property by {@link themeColorToCssVar}, so a `colorN` theme name becomes
|
|
70
71
|
* `var(--colorN)` and the gradient still tracks the active theme via CSS
|
|
71
72
|
* variables — WITHOUT reading the theme object, which is why the web
|
|
72
73
|
* `useGradient` needs no `useTheme()` (see `theme-color-web.ts`). Web-only; the
|
|
@@ -89,7 +90,7 @@ export declare const degToSvgCoords: (deg: number) => {
|
|
|
89
90
|
};
|
|
90
91
|
/**
|
|
91
92
|
* Resolve a `gradient` value's stops to concrete colors for `react-native-svg`
|
|
92
|
-
* (which can't paint
|
|
93
|
+
* (which can't paint theme names). Shared by the native `useGradient`.
|
|
93
94
|
*/
|
|
94
95
|
export declare const resolveStops: (theme: Theme, gradient: GradientValue) => Required<GradientStop>[];
|
|
95
96
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gradient-shared.d.ts","sourceRoot":"","sources":["../../../src/internal/gradient-shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAK7C,mFAAmF;AACnF,MAAM,WAAW,YAAY;IAC3B,
|
|
1
|
+
{"version":3,"file":"gradient-shared.d.ts","sourceRoot":"","sources":["../../../src/internal/gradient-shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAK7C,mFAAmF;AACnF,MAAM,WAAW,YAAY;IAC3B,0FAA0F;IAC1F,KAAK,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,aAAa;IAC5B,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,6EAA6E;IAC7E,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;IACvB,kFAAkF;IAClF,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;;;;GAMG;AACH,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE;QAAE,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,QAAQ,CAAA;KAAE,CAAC;IAC9D,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAcD,eAAO,MAAM,kBAAkB,GAC7B,SAAS,OAAO,EAChB,UAAU,aAAa,GAAG,SAAS,KAClC,aAAa,GAAG,SACkD,CAAC;AAEtE,uDAAuD;AACvD,eAAO,MAAM,WAAW,GAAI,UAAU,aAAa,KAAG,MAAqC,CAAC;AAE5F;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,aAAa,KAAG,QAAQ,CAAC,YAAY,CAAC,EAa9E,CAAC;AAEF,KAAK,KAAK,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEzC;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,GAAI,UAAU,aAAa,KAAG,MAKvD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,KAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAU5F,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,EAAE,UAAU,aAAa,KAAG,QAAQ,CAAC,YAAY,CAAC,EAItF,CAAC"}
|
|
@@ -18,5 +18,6 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import type { GradientResult, GradientValue } from "./gradient-shared";
|
|
20
20
|
export type { GradientStop, GradientValue } from "./gradient-shared";
|
|
21
|
+
export { gradientForVariant } from "./gradient-shared";
|
|
21
22
|
export declare const useGradient: (gradient: GradientValue | undefined) => GradientResult;
|
|
22
23
|
//# sourceMappingURL=gradient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gradient.d.ts","sourceRoot":"","sources":["../../../src/internal/gradient.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGvE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"gradient.d.ts","sourceRoot":"","sources":["../../../src/internal/gradient.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGvE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAYvD,eAAO,MAAM,WAAW,GAAI,UAAU,aAAa,GAAG,SAAS,KAAG,cAGjE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GradientResult, GradientValue } from "./gradient-shared";
|
|
2
2
|
export type { GradientStop, GradientValue } from "./gradient-shared";
|
|
3
|
+
export { gradientForVariant } from "./gradient-shared";
|
|
3
4
|
export declare const useGradient: (gradient: GradientValue | undefined) => GradientResult;
|
|
4
5
|
//# sourceMappingURL=gradient.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gradient.native.d.ts","sourceRoot":"","sources":["../../../src/internal/gradient.native.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGvE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"gradient.native.d.ts","sourceRoot":"","sources":["../../../src/internal/gradient.native.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGvE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAyCvD,eAAO,MAAM,WAAW,GAAI,UAAU,aAAa,GAAG,SAAS,KAAG,cAGjE,CAAC"}
|
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The animation ERGONOMICS layer — the easy, configurable, preset-driven surface
|
|
3
3
|
* that sits on top of the primitive motion tokens in `@knitui/core` (`DURATIONS`,
|
|
4
|
-
* `
|
|
4
|
+
* `MOTION_PRESETS`) and the Tamagui v3 `transition` prop.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* 1. {@link SCALES} / {@link DISTANCES} — the shared transform magnitudes (press
|
|
9
|
-
* dip, enter offsets) so no component hardcodes `0.97` / `8` / `30` again.
|
|
6
|
+
* 1. {@link SCALES} / {@link DISTANCES} / {@link ANGLES} — the shared transform
|
|
7
|
+
* magnitudes (press dip, enter offsets).
|
|
10
8
|
* 2. {@link motionPresets} + {@link useMotionPreset} — NAMED enter/exit recipes
|
|
11
|
-
* (`"pop"`, `"fade-up"`, …) that resolve to
|
|
12
|
-
* animated frame: `{ transition,
|
|
13
|
-
*
|
|
14
|
-
* whole integration. Reduced motion is honoured here, ONCE, for every consumer.
|
|
9
|
+
* (`"pop"`, `"fade-up"`, …) that resolve to v3 props you spread onto any
|
|
10
|
+
* animated frame: `{ transition, opacity: "enter:0 exit:0", y: "enter:30px
|
|
11
|
+
* exit:30px" }`. Reduced motion is honoured here, ONCE, for every consumer.
|
|
15
12
|
* 3. {@link usePressScale} / {@link useReducedTransition} — the reduced-motion-aware
|
|
16
13
|
* press-dip and in-place-transition helpers.
|
|
17
14
|
* 4. {@link MotionConfig} / {@link useMotionConfig} — an app- (or subtree-) wide
|
|
18
|
-
*
|
|
19
|
-
* `disabled` off-switch, so the whole system is tunable from one provider.
|
|
15
|
+
* `durationScale` speed knob and `disabled` off-switch the hooks read.
|
|
20
16
|
*
|
|
21
17
|
* Everything uses Tamagui's cross-platform shorthand transforms (`scale`, `x`,
|
|
22
|
-
* `y`, `rotate`)
|
|
23
|
-
*
|
|
24
|
-
* `Transition/transitions.ts` presets still carry.
|
|
18
|
+
* `y`, `rotate`) as v3 `enter:` / `exit:` clauses, so a preset renders the SAME
|
|
19
|
+
* on web and native. Exit clauses only play under `AnimatePresence`.
|
|
25
20
|
*/
|
|
26
21
|
import * as React from "react";
|
|
27
22
|
import { type TransitionName, type TransitionValue } from "./style-props";
|
|
@@ -49,14 +44,14 @@ export declare const DISTANCES: {
|
|
|
49
44
|
readonly enter: 16;
|
|
50
45
|
/** Fade-slide travel. */
|
|
51
46
|
readonly fade: 30;
|
|
52
|
-
/** Pronounced slide — drawer-style edge motion
|
|
53
|
-
* `enterStyle`/`exitStyle` for a full-bleed off-screen slide). */
|
|
47
|
+
/** Pronounced slide — drawer-style edge motion. */
|
|
54
48
|
readonly slide: 100;
|
|
55
49
|
};
|
|
56
50
|
/**
|
|
57
51
|
* A cross-platform animated style snapshot — Tamagui shorthand transform props
|
|
58
|
-
* plus opacity
|
|
59
|
-
* `
|
|
52
|
+
* plus opacity, as plain numbers / angle strings. A recipe's `enter` is the
|
|
53
|
+
* "from" state animated to rest; `exit` the "to" state on unmount (with
|
|
54
|
+
* `AnimatePresence`). Lengths (`x`, `y`) are px.
|
|
60
55
|
*/
|
|
61
56
|
export interface MotionStyle {
|
|
62
57
|
opacity?: number;
|
|
@@ -69,24 +64,42 @@ export interface MotionStyle {
|
|
|
69
64
|
skewX?: string;
|
|
70
65
|
skewY?: string;
|
|
71
66
|
}
|
|
67
|
+
/** The animated properties a {@link MotionStyle} can name. */
|
|
68
|
+
export type MotionProp = keyof MotionStyle;
|
|
72
69
|
/** A named or inline animation recipe. */
|
|
73
70
|
export interface MotionPreset {
|
|
74
|
-
/** Driver
|
|
71
|
+
/** Driver preset picking easing + duration. @default "fast" */
|
|
75
72
|
transition?: TransitionName;
|
|
76
73
|
/** The "from" state on enter — animates to the frame's resting style. */
|
|
77
|
-
|
|
74
|
+
enter?: MotionStyle;
|
|
78
75
|
/** The "to" state on exit — only animates when wrapped in `AnimatePresence`. */
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
|
|
76
|
+
exit?: MotionStyle;
|
|
77
|
+
/**
|
|
78
|
+
* Scope the transition to the changing properties (perf + keeps `top`/`left`
|
|
79
|
+
* instant): `["transform", "opacity"]` or `"transform, opacity"`.
|
|
80
|
+
*/
|
|
81
|
+
properties?: readonly string[] | string;
|
|
82
82
|
}
|
|
83
83
|
export type MotionPresetName = "fade" | "fade-up" | "fade-down" | "fade-left" | "fade-right" | "pop" | "pop-up" | "pop-down" | "scale" | "scale-y" | "scale-x" | "zoom" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "rotate-left" | "rotate-right" | "skew-up" | "skew-down";
|
|
84
84
|
/**
|
|
85
|
-
* The built-in enter/exit recipes. Each pairs a driver `transition`
|
|
86
|
-
* symmetric `
|
|
85
|
+
* The built-in enter/exit recipes. Each pairs a driver `transition` preset with a
|
|
86
|
+
* symmetric `enter`/`exit` snapshot and a `properties` scope. Values come from
|
|
87
87
|
* {@link SCALES}/{@link DISTANCES}, so retuning the feel is a one-line change.
|
|
88
88
|
*/
|
|
89
89
|
export declare const motionPresets: Record<MotionPresetName, MotionPreset>;
|
|
90
|
+
/** A v3 flat clause program (`"enter:0 exit:0"`). */
|
|
91
|
+
export type ClauseString = `${string}:${string}`;
|
|
92
|
+
/** The mount/unmount clauses a recipe compiles to — one flat value per property. */
|
|
93
|
+
export type MotionClauseProps = {
|
|
94
|
+
[K in MotionProp]?: ClauseString;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Compile a recipe's `enter` / `exit` snapshots to v3 clause props:
|
|
98
|
+
* `{ enter: { opacity: 0, y: 30 }, exit: { opacity: 0 } }` →
|
|
99
|
+
* `{ opacity: "enter:0 exit:0", y: "enter:30px" }`. Cached per recipe object, so
|
|
100
|
+
* the built-in (and any module-level) recipes compile once.
|
|
101
|
+
*/
|
|
102
|
+
export declare function compileMotion(recipe: MotionPreset): MotionClauseProps;
|
|
90
103
|
/** Resolved global motion config — what {@link useMotionConfig} returns. */
|
|
91
104
|
export interface MotionConfigValue {
|
|
92
105
|
/** Force-disable ALL motion in scope (like reduced motion). @default false */
|
|
@@ -117,17 +130,24 @@ export interface MotionConfigProps {
|
|
|
117
130
|
export declare function MotionConfig({ disabled, durationScale, children }: MotionConfigProps): React.FunctionComponentElement<React.ProviderProps<MotionConfigValue>>;
|
|
118
131
|
/** Read the resolved global motion config (defaults when no provider is mounted). */
|
|
119
132
|
export declare function useMotionConfig(): MotionConfigValue;
|
|
120
|
-
/**
|
|
121
|
-
|
|
122
|
-
|
|
133
|
+
/**
|
|
134
|
+
* Apply the global motion config to a resolved transition: `null` when disabled;
|
|
135
|
+
* otherwise scale the duration by `durationScale` — a preset name becomes
|
|
136
|
+
* `{ preset, duration }` with its base ms read from core's `MOTION_PRESETS` (the
|
|
137
|
+
* one motion table). A `null` value, a unit scale, or a spring preset (`bouncy` —
|
|
138
|
+
* no scalable duration) pass through unchanged.
|
|
139
|
+
*/
|
|
140
|
+
export declare function applyMotionConfig(value: TransitionValue, config: MotionConfigValue): TransitionValue;
|
|
141
|
+
/**
|
|
142
|
+
* The spreadable props {@link useMotionPreset} returns: the `transition` plus the
|
|
143
|
+
* recipe's mount/unmount clauses (`opacity: "enter:0 exit:0"`, …). Spread it LAST
|
|
144
|
+
* among the animated properties it names — a later `opacity`/`y` prop replaces the
|
|
145
|
+
* clause program (v3 has one value per property).
|
|
146
|
+
*/
|
|
147
|
+
export type ResolvedMotion = MotionClauseProps & {
|
|
148
|
+
/** Preset / object (or `null` to disable). */
|
|
123
149
|
transition: TransitionValue;
|
|
124
|
-
|
|
125
|
-
enterStyle?: MotionStyle;
|
|
126
|
-
/** "To" state on exit — spread onto the frame's `exitStyle` (needs AnimatePresence). */
|
|
127
|
-
exitStyle?: MotionStyle;
|
|
128
|
-
/** Driver scope — spread onto the frame's `animateOnly`. */
|
|
129
|
-
animateOnly?: string[];
|
|
130
|
-
}
|
|
150
|
+
};
|
|
131
151
|
export interface UseMotionPresetOptions {
|
|
132
152
|
/** Override the preset's driver key (easing + base duration). */
|
|
133
153
|
transition?: TransitionName;
|
|
@@ -138,65 +158,55 @@ export interface UseMotionPresetOptions {
|
|
|
138
158
|
}
|
|
139
159
|
/**
|
|
140
160
|
* Resolve a preset (by name, an inline {@link MotionPreset}, or `false`/`null` to
|
|
141
|
-
* disable) into
|
|
161
|
+
* disable) into v3 props to spread onto an animated frame. Honours the user's
|
|
142
162
|
* reduced-motion preference centrally: under reduced motion (or when disabled) it
|
|
143
|
-
* returns {@link INERT} — `transition: null` and no enter/exit
|
|
144
|
-
* frame appears instantly with no per-component guard.
|
|
163
|
+
* returns {@link INERT} — `transition: null` and no enter/exit clauses — so the
|
|
164
|
+
* frame appears instantly with no per-component guard. Memoised: the same inputs
|
|
165
|
+
* return the same object.
|
|
145
166
|
*
|
|
146
167
|
* ```tsx
|
|
147
168
|
* function Dialog({ animation = "fade-up", ...props }) {
|
|
148
169
|
* const motion = useMotionPreset(animation);
|
|
149
|
-
* return <Frame {...
|
|
170
|
+
* return <Frame {...props} {...motion} />; // configurable + reduced-motion safe
|
|
150
171
|
* }
|
|
151
172
|
* ```
|
|
152
173
|
*/
|
|
153
174
|
export declare function useMotionPreset(preset: MotionPresetName | MotionPreset | false | null | undefined, options?: UseMotionPresetOptions): ResolvedMotion;
|
|
154
175
|
/** The spreadable props {@link usePressScale} returns. */
|
|
155
176
|
export interface PressScaleResult {
|
|
156
|
-
/** Easing
|
|
177
|
+
/** Easing for the dip (`null` under reduced motion). */
|
|
157
178
|
transition: TransitionValue;
|
|
158
|
-
/** Neutralises the base `
|
|
159
|
-
|
|
160
|
-
scale: number;
|
|
161
|
-
};
|
|
179
|
+
/** Neutralises the base `scale: "press:0.97"` dip under reduced motion; absent otherwise. */
|
|
180
|
+
scale?: "press:1";
|
|
162
181
|
}
|
|
163
182
|
/**
|
|
164
183
|
* Reduced-motion-aware press feedback for interactive controls (Button,
|
|
165
|
-
* ActionIcon, Chip, …). Pair with the static `pressScaleStyle`
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
* dip-free press when the user prefers reduced motion.
|
|
184
|
+
* ActionIcon, Chip, …). Pair with the static `pressScaleStyle` in the component's
|
|
185
|
+
* `styled()` base (the `scale: "press:0.97"` dip); THIS supplies the easing at
|
|
186
|
+
* render — collapsing to an instant, dip-free press under reduced motion.
|
|
169
187
|
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* <Frame {...pressScaleStyle-in-base-config} {...usePressScale()} />
|
|
174
|
-
* ```
|
|
175
|
-
*
|
|
176
|
-
* Normal: `{ transition: "fast" }` — identical to before. Reduced: `{ transition:
|
|
177
|
-
* null, pressStyle: { scale: 1 } }` — the `scale: 1` overrides only the dip key,
|
|
178
|
-
* leaving any variant `pressStyle` colour intact.
|
|
188
|
+
* Normal: `{ transition: "fast" }`. Reduced: `{ transition: null, scale:
|
|
189
|
+
* "press:1" }` — a call-site `press:` clause outranks the base one for that slot
|
|
190
|
+
* only, so the frame's resting `scale` and any variant press COLOUR stay intact.
|
|
179
191
|
*/
|
|
180
192
|
export declare function usePressScale(options?: {
|
|
181
193
|
transition?: TransitionName;
|
|
182
194
|
}): PressScaleResult;
|
|
183
195
|
/**
|
|
184
196
|
* Reduced-motion-aware transition for IN-PLACE state changes — chevron rotation,
|
|
185
|
-
* thumb/indicator slide, scrollbar fade, color toggles
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
* Replaces the hand-written `transitionProps(reduced ? null : value)` idiom:
|
|
197
|
+
* thumb/indicator slide, scrollbar fade, color toggles. Pass the value you'd hand
|
|
198
|
+
* to the `transition` prop (a preset name, a `{ duration, easing }` object from
|
|
199
|
+
* `timedTransition`, or `null`), plus optional `properties` to scope it. Under
|
|
200
|
+
* reduced motion it returns `{ transition: null }`. Memoised on the VALUE (not
|
|
201
|
+
* its identity), so an inline object argument still yields a stable result —
|
|
202
|
+
* which also lets `scopeTransition(result, …)` hit its cache.
|
|
193
203
|
*
|
|
194
204
|
* ```tsx
|
|
195
205
|
* const fade = useReducedTransition("fast");
|
|
196
|
-
* <Thumb {...fade}
|
|
206
|
+
* <Thumb {...scopeTransition(fade, ["opacity"])} opacity={visible ? 1 : 0} />
|
|
197
207
|
* ```
|
|
198
208
|
*/
|
|
199
|
-
export declare function useReducedTransition(value: TransitionValue): {
|
|
209
|
+
export declare function useReducedTransition(value: TransitionValue, properties?: readonly string[] | string): {
|
|
200
210
|
transition: TransitionValue;
|
|
201
211
|
};
|
|
202
212
|
//# sourceMappingURL=motion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/internal/motion.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/internal/motion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAIL,KAAK,cAAc,EAEnB,KAAK,eAAe,EACrB,MAAM,eAAe,CAAC;AAMvB,qEAAqE;AACrE,eAAO,MAAM,MAAM;IACjB,6EAA6E;;IAE7E,mEAAmE;;IAEnE,qEAAqE;;CAE7D,CAAC;AAEX,oEAAoE;AACpE,eAAO,MAAM,MAAM;IACjB,yCAAyC;;IAEzC,mCAAmC;;CAE3B,CAAC;AAEX,yCAAyC;AACzC,eAAO,MAAM,SAAS;IACpB,+CAA+C;;IAE/C,mCAAmC;;IAEnC,yBAAyB;;IAEzB,mDAAmD;;CAE3C,CAAC;AAMX;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,8DAA8D;AAC9D,MAAM,MAAM,UAAU,GAAG,MAAM,WAAW,CAAC;AAE3C,0CAA0C;AAC1C,MAAM,WAAW,YAAY;IAC3B,+DAA+D;IAC/D,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,yEAAyE;IACzE,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,gFAAgF;IAChF,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAAC;CACzC;AAED,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN,SAAS,GACT,WAAW,GACX,WAAW,GACX,YAAY,GACZ,KAAK,GACL,QAAQ,GACR,UAAU,GACV,OAAO,GACP,SAAS,GACT,SAAS,GACT,MAAM,GACN,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,aAAa,GACb,cAAc,GACd,SAAS,GACT,WAAW,CAAC;AAYhB;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,gBAAgB,EAAE,YAAY,CA6BhE,CAAC;AAMF,qDAAqD;AACrD,MAAM,MAAM,YAAY,GAAG,GAAG,MAAM,IAAI,MAAM,EAAE,CAAC;AAEjD,oFAAoF;AACpF,MAAM,MAAM,iBAAiB,GAAG;KAAG,CAAC,IAAI,UAAU,CAAC,CAAC,EAAE,YAAY;CAAE,CAAC;AAUrE;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,YAAY,GAAG,iBAAiB,CAkBrE;AAMD,4EAA4E;AAC5E,MAAM,WAAW,iBAAiB;IAChC,8EAA8E;IAC9E,QAAQ,EAAE,OAAO,CAAC;IAClB,oGAAoG;IACpG,aAAa,EAAE,MAAM,CAAC;CACvB;AAMD,MAAM,WAAW,iBAAiB;IAChC,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kFAAkF;IAClF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,iBAAiB,0EAUpF;AAED,qFAAqF;AACrF,wBAAgB,eAAe,IAAI,iBAAiB,CAEnD;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,iBAAiB,GACxB,eAAe,CAOjB;AAYD;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAAG;IAC/C,8CAA8C;IAC9C,UAAU,EAAE,eAAe,CAAC;CAC7B,CAAC;AAEF,MAAM,WAAW,sBAAsB;IACrC,iEAAiE;IACjE,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAKD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,gBAAgB,GAAG,YAAY,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,EAClE,OAAO,GAAE,sBAA2B,GACnC,cAAc,CAkBhB;AAMD,0DAA0D;AAC1D,MAAM,WAAW,gBAAgB;IAC/B,wDAAwD;IACxD,UAAU,EAAE,eAAe,CAAC;IAC5B,6FAA6F;IAC7F,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAID;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,OAAO,GAAE;IAAE,UAAU,CAAC,EAAE,cAAc,CAAA;CAAO,GAAG,gBAAgB,CAS7F;AAMD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,eAAe,EACtB,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GACtC;IAAE,UAAU,EAAE,eAAe,CAAA;CAAE,CAmBjC"}
|