@basic-ui/material 1.0.0-alpha.51 → 1.0.0-alpha.54
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 +3 -3
- package/build/cjs/index.js +520 -447
- package/build/cjs/index.js.map +1 -1
- package/build/esm/Alert/Alert.d.ts +5 -6
- package/build/esm/Alert/Alert.js +14 -16
- package/build/esm/Alert/Alert.js.map +1 -1
- package/build/esm/Alert/index.d.ts +1 -1
- package/build/esm/Alert/index.js.map +1 -1
- package/build/esm/AppBar/AppBar.d.ts +9 -9
- package/build/esm/AppBar/AppBar.js +25 -34
- package/build/esm/AppBar/AppBar.js.map +1 -1
- package/build/esm/AppBar/AppBarButton.d.ts +3 -4
- package/build/esm/AppBar/AppBarButton.js +12 -14
- package/build/esm/AppBar/AppBarButton.js.map +1 -1
- package/build/esm/AppBar/context.d.ts +4 -5
- package/build/esm/AppBar/context.js +8 -6
- package/build/esm/AppBar/context.js.map +1 -1
- package/build/esm/AppBar/index.d.ts +3 -3
- package/build/esm/AppBar/index.js.map +1 -1
- package/build/esm/Badge/Badge.d.ts +5 -6
- package/build/esm/Badge/Badge.js +25 -26
- package/build/esm/Badge/Badge.js.map +1 -1
- package/build/esm/Badge/index.d.ts +1 -1
- package/build/esm/Badge/index.js.map +1 -1
- package/build/esm/BaseLine/BaseLine.d.ts +1 -1
- package/build/esm/BaseLine/BaseLine.js +4 -6
- package/build/esm/BaseLine/BaseLine.js.map +1 -1
- package/build/esm/BaseLine/index.d.ts +1 -1
- package/build/esm/BaseLine/index.js.map +1 -1
- package/build/esm/BottomSheet/BottomSheet.d.ts +6 -7
- package/build/esm/BottomSheet/BottomSheet.js +17 -21
- package/build/esm/BottomSheet/BottomSheet.js.map +1 -1
- package/build/esm/BottomSheet/BottomSheetSurface.d.ts +4 -5
- package/build/esm/BottomSheet/BottomSheetSurface.js +14 -14
- package/build/esm/BottomSheet/BottomSheetSurface.js.map +1 -1
- package/build/esm/BottomSheet/index.d.ts +1 -1
- package/build/esm/BottomSheet/index.js.map +1 -1
- package/build/esm/Box/Box.d.ts +23 -23
- package/build/esm/Box/Box.js +26 -26
- package/build/esm/Box/Box.js.map +1 -1
- package/build/esm/Box/index.d.ts +1 -1
- package/build/esm/Box/index.js.map +1 -1
- package/build/esm/Button/BaseButton.d.ts +14 -7
- package/build/esm/Button/BaseButton.js +107 -36
- package/build/esm/Button/BaseButton.js.map +1 -1
- package/build/esm/Button/Button.d.ts +14 -13
- package/build/esm/Button/Button.js +66 -48
- package/build/esm/Button/Button.js.map +1 -1
- package/build/esm/Button/ButtonGroup.d.ts +4 -5
- package/build/esm/Button/ButtonGroup.js +119 -21
- package/build/esm/Button/ButtonGroup.js.map +1 -1
- package/build/esm/Button/FilledButton.d.ts +10 -11
- package/build/esm/Button/FilledButton.js +18 -60
- package/build/esm/Button/FilledButton.js.map +1 -1
- package/build/esm/Button/FloatingActionButton.d.ts +9 -7
- package/build/esm/Button/FloatingActionButton.js +5 -4
- package/build/esm/Button/FloatingActionButton.js.map +1 -1
- package/build/esm/Button/IconButton.d.ts +8 -8
- package/build/esm/Button/IconButton.js +3 -3
- package/build/esm/Button/IconButton.js.map +1 -1
- package/build/esm/Button/IconFilledButton.d.ts +2 -0
- package/build/esm/Button/IconFilledButton.js +3 -0
- package/build/esm/Button/IconFilledButton.js.map +1 -0
- package/build/esm/Button/IconOutlinedButton.d.ts +2 -0
- package/build/esm/Button/IconOutlinedButton.js +3 -0
- package/build/esm/Button/IconOutlinedButton.js.map +1 -0
- package/build/esm/Button/OutlinedButton.d.ts +3 -4
- package/build/esm/Button/OutlinedButton.js +3 -43
- package/build/esm/Button/OutlinedButton.js.map +1 -1
- package/build/esm/Button/SplitButton.d.ts +9 -0
- package/build/esm/Button/SplitButton.js +32 -0
- package/build/esm/Button/SplitButton.js.map +1 -0
- package/build/esm/Button/TransparentButton.d.ts +10 -11
- package/build/esm/Button/TransparentButton.js +11 -54
- package/build/esm/Button/TransparentButton.js.map +1 -1
- package/build/esm/Button/context.d.ts +9 -8
- package/build/esm/Button/context.js +5 -4
- package/build/esm/Button/context.js.map +1 -1
- package/build/esm/Button/index.d.ts +3 -2
- package/build/esm/Button/index.js +1 -0
- package/build/esm/Button/index.js.map +1 -1
- package/build/esm/CheckBox/CheckBox.d.ts +13 -13
- package/build/esm/CheckBox/CheckBox.js +45 -61
- package/build/esm/CheckBox/CheckBox.js.map +1 -1
- package/build/esm/CheckBox/CheckBoxIcon.d.ts +10 -10
- package/build/esm/CheckBox/CheckBoxIcon.js +19 -24
- package/build/esm/CheckBox/CheckBoxIcon.js.map +1 -1
- package/build/esm/CheckBox/CheckPath.d.ts +3 -3
- package/build/esm/CheckBox/CheckPath.js +15 -16
- package/build/esm/CheckBox/CheckPath.js.map +1 -1
- package/build/esm/CheckBox/IndeterminatePath.d.ts +3 -3
- package/build/esm/CheckBox/IndeterminatePath.js +14 -16
- package/build/esm/CheckBox/IndeterminatePath.js.map +1 -1
- package/build/esm/CheckBox/index.d.ts +1 -1
- package/build/esm/CheckBox/index.js.map +1 -1
- package/build/esm/Chip/ButtonChip.d.ts +9 -9
- package/build/esm/Chip/ButtonChip.js +20 -24
- package/build/esm/Chip/ButtonChip.js.map +1 -1
- package/build/esm/Chip/Chip.d.ts +4 -4
- package/build/esm/Chip/Chip.js.map +1 -1
- package/build/esm/Chip/ChipBase.d.ts +10 -10
- package/build/esm/Chip/ChipBase.js +50 -54
- package/build/esm/Chip/ChipBase.js.map +1 -1
- package/build/esm/Chip/ChoiceChip.d.ts +10 -10
- package/build/esm/Chip/ChoiceChip.js +34 -38
- package/build/esm/Chip/ChoiceChip.js.map +1 -1
- package/build/esm/Chip/index.d.ts +2 -2
- package/build/esm/Chip/index.js.map +1 -1
- package/build/esm/Combobox/Combobox.d.ts +23 -23
- package/build/esm/Combobox/Combobox.js +126 -107
- package/build/esm/Combobox/Combobox.js.map +1 -1
- package/build/esm/Combobox/index.d.ts +1 -1
- package/build/esm/Combobox/index.js.map +1 -1
- package/build/esm/Dialog/Dialog.d.ts +19 -20
- package/build/esm/Dialog/Dialog.js +38 -42
- package/build/esm/Dialog/Dialog.js.map +1 -1
- package/build/esm/Dialog/DialogBackdrop.d.ts +6 -7
- package/build/esm/Dialog/DialogBackdrop.js +18 -17
- package/build/esm/Dialog/DialogBackdrop.js.map +1 -1
- package/build/esm/Dialog/DialogContainer.d.ts +3 -4
- package/build/esm/Dialog/DialogContainer.js +12 -12
- package/build/esm/Dialog/DialogContainer.js.map +1 -1
- package/build/esm/Dialog/DialogSurface.d.ts +6 -7
- package/build/esm/Dialog/DialogSurface.js +26 -26
- package/build/esm/Dialog/DialogSurface.js.map +1 -1
- package/build/esm/Dialog/Scrim.d.ts +3 -4
- package/build/esm/Dialog/Scrim.js +12 -12
- package/build/esm/Dialog/Scrim.js.map +1 -1
- package/build/esm/Dialog/index.d.ts +2 -2
- package/build/esm/Dialog/index.js.map +1 -1
- package/build/esm/Dialog/useDialogAnimation.d.ts +57 -824
- package/build/esm/Dialog/useDialogAnimation.js +23 -24
- package/build/esm/Dialog/useDialogAnimation.js.map +1 -1
- package/build/esm/Divider/Divider.d.ts +7 -7
- package/build/esm/Divider/Divider.js +27 -28
- package/build/esm/Divider/Divider.js.map +1 -1
- package/build/esm/Divider/index.d.ts +1 -1
- package/build/esm/Divider/index.js.map +1 -1
- package/build/esm/FloatingLabel/FloatingLabel.d.ts +13 -13
- package/build/esm/FloatingLabel/FloatingLabel.js +27 -33
- package/build/esm/FloatingLabel/FloatingLabel.js.map +1 -1
- package/build/esm/FloatingLabel/index.d.ts +1 -1
- package/build/esm/FloatingLabel/index.js.map +1 -1
- package/build/esm/LineRipple/LineRipple.d.ts +9 -9
- package/build/esm/LineRipple/LineRipple.js +30 -38
- package/build/esm/LineRipple/LineRipple.js.map +1 -1
- package/build/esm/LineRipple/index.d.ts +1 -1
- package/build/esm/LineRipple/index.js.map +1 -1
- package/build/esm/Link/Link.d.ts +9 -9
- package/build/esm/Link/Link.js +15 -17
- package/build/esm/Link/Link.js.map +1 -1
- package/build/esm/Link/index.d.ts +1 -1
- package/build/esm/Link/index.js.map +1 -1
- package/build/esm/List/List.d.ts +8 -8
- package/build/esm/List/List.js +19 -26
- package/build/esm/List/List.js.map +1 -1
- package/build/esm/List/index.d.ts +1 -1
- package/build/esm/List/index.js.map +1 -1
- package/build/esm/ListItem/ListItem.d.ts +14 -14
- package/build/esm/ListItem/ListItem.js +28 -31
- package/build/esm/ListItem/ListItem.js.map +1 -1
- package/build/esm/ListItem/ListItemText.d.ts +7 -7
- package/build/esm/ListItem/ListItemText.js +12 -16
- package/build/esm/ListItem/ListItemText.js.map +1 -1
- package/build/esm/ListItem/index.d.ts +2 -2
- package/build/esm/ListItem/index.js.map +1 -1
- package/build/esm/Menu/Menu.d.ts +18 -18
- package/build/esm/Menu/Menu.js +70 -60
- package/build/esm/Menu/Menu.js.map +1 -1
- package/build/esm/Menu/animation.d.ts +2 -2
- package/build/esm/Menu/animation.js +3 -3
- package/build/esm/Menu/animation.js.map +1 -1
- package/build/esm/Menu/index.d.ts +2 -2
- package/build/esm/Menu/index.js.map +1 -1
- package/build/esm/NavRail/NavRailItem.d.ts +15 -15
- package/build/esm/NavRail/NavRailItem.js +82 -86
- package/build/esm/NavRail/NavRailItem.js.map +1 -1
- package/build/esm/NavRail/icons/test-icons.d.ts +4 -4
- package/build/esm/NavRail/icons/test-icons.js +33 -40
- package/build/esm/NavRail/icons/test-icons.js.map +1 -1
- package/build/esm/NavRail/index.d.ts +1 -1
- package/build/esm/NavRail/index.js.map +1 -1
- package/build/esm/NotchedOutline/NotchedOutline.d.ts +14 -14
- package/build/esm/NotchedOutline/NotchedOutline.js +26 -34
- package/build/esm/NotchedOutline/NotchedOutline.js.map +1 -1
- package/build/esm/NotchedOutline/context.d.ts +5 -6
- package/build/esm/NotchedOutline/context.js +8 -7
- package/build/esm/NotchedOutline/context.js.map +1 -1
- package/build/esm/NotchedOutline/index.d.ts +1 -1
- package/build/esm/NotchedOutline/index.js.map +1 -1
- package/build/esm/NotchedOutline/styledComponents.d.ts +15 -575
- package/build/esm/NotchedOutline/styledComponents.js +65 -64
- package/build/esm/NotchedOutline/styledComponents.js.map +1 -1
- package/build/esm/Paper/Paper.d.ts +11 -11
- package/build/esm/Paper/Paper.js +25 -25
- package/build/esm/Paper/Paper.js.map +1 -1
- package/build/esm/Paper/index.d.ts +1 -1
- package/build/esm/Paper/index.js.map +1 -1
- package/build/esm/Popover/Popover.d.ts +13 -14
- package/build/esm/Popover/Popover.js +33 -39
- package/build/esm/Popover/Popover.js.map +1 -1
- package/build/esm/Popover/PopoverContainer.d.ts +3 -4
- package/build/esm/Popover/PopoverContainer.js +12 -12
- package/build/esm/Popover/PopoverContainer.js.map +1 -1
- package/build/esm/Popover/PopoverSurface.d.ts +4 -5
- package/build/esm/Popover/PopoverSurface.js +15 -15
- package/build/esm/Popover/PopoverSurface.js.map +1 -1
- package/build/esm/Popover/index.d.ts +1 -1
- package/build/esm/Popover/index.js.map +1 -1
- package/build/esm/ProgressSpinner/ProgressSpinner.d.ts +7 -8
- package/build/esm/ProgressSpinner/ProgressSpinner.js +31 -33
- package/build/esm/ProgressSpinner/ProgressSpinner.js.map +1 -1
- package/build/esm/ProgressSpinner/index.d.ts +1 -1
- package/build/esm/ProgressSpinner/index.js.map +1 -1
- package/build/esm/RadioButton/RadioButton.d.ts +3 -4
- package/build/esm/RadioButton/RadioButton.js +29 -32
- package/build/esm/RadioButton/RadioButton.js.map +1 -1
- package/build/esm/RadioButton/RadioButtonIcon.d.ts +6 -6
- package/build/esm/RadioButton/RadioButtonIcon.js +10 -12
- package/build/esm/RadioButton/RadioButtonIcon.js.map +1 -1
- package/build/esm/RadioButton/RadioGroup.d.ts +4 -5
- package/build/esm/RadioButton/RadioGroup.js +9 -11
- package/build/esm/RadioButton/RadioGroup.js.map +1 -1
- package/build/esm/RadioButton/index.d.ts +2 -2
- package/build/esm/RadioButton/index.js.map +1 -1
- package/build/esm/Ripple/Ripple.d.ts +10 -11
- package/build/esm/Ripple/Ripple.js +12 -10
- package/build/esm/Ripple/Ripple.js.map +1 -1
- package/build/esm/Ripple/RippleBox.d.ts +5 -5
- package/build/esm/Ripple/RippleBox.js +32 -29
- package/build/esm/Ripple/RippleBox.js.map +1 -1
- package/build/esm/Ripple/constants.d.ts +7 -7
- package/build/esm/Ripple/constants.js +7 -7
- package/build/esm/Ripple/constants.js.map +1 -1
- package/build/esm/Ripple/index.d.ts +5 -5
- package/build/esm/Ripple/index.js.map +1 -1
- package/build/esm/Ripple/keyframes.d.ts +4 -4
- package/build/esm/Ripple/keyframes.js +7 -7
- package/build/esm/Ripple/keyframes.js.map +1 -1
- package/build/esm/Ripple/useRipple.d.ts +14 -14
- package/build/esm/Ripple/useRipple.js +79 -84
- package/build/esm/Ripple/useRipple.js.map +1 -1
- package/build/esm/Ripple/useRippleHandlers.d.ts +8 -8
- package/build/esm/Ripple/useRippleHandlers.js +21 -30
- package/build/esm/Ripple/useRippleHandlers.js.map +1 -1
- package/build/esm/Ripple/useRippleSurface.d.ts +22 -787
- package/build/esm/Ripple/useRippleSurface.js +87 -88
- package/build/esm/Ripple/useRippleSurface.js.map +1 -1
- package/build/esm/SearchBar/SearchBar.d.ts +15 -15
- package/build/esm/SearchBar/SearchBar.js +48 -63
- package/build/esm/SearchBar/SearchBar.js.map +1 -1
- package/build/esm/SearchBar/index.d.ts +1 -1
- package/build/esm/SearchBar/index.js.map +1 -1
- package/build/esm/Select/CustomContainerExample.d.ts +2 -3
- package/build/esm/Select/CustomContainerExample.js +29 -34
- package/build/esm/Select/CustomContainerExample.js.map +1 -1
- package/build/esm/Select/Select.d.ts +33 -32
- package/build/esm/Select/Select.js +68 -113
- package/build/esm/Select/Select.js.map +1 -1
- package/build/esm/Select/SelectIcon.d.ts +6 -6
- package/build/esm/Select/SelectIcon.js +11 -13
- package/build/esm/Select/SelectIcon.js.map +1 -1
- package/build/esm/Select/context.d.ts +9 -9
- package/build/esm/Select/context.js +10 -8
- package/build/esm/Select/context.js.map +1 -1
- package/build/esm/Select/defaultRender.d.ts +3 -3
- package/build/esm/Select/defaultRender.js +33 -38
- package/build/esm/Select/defaultRender.js.map +1 -1
- package/build/esm/Select/index.d.ts +1 -1
- package/build/esm/Select/index.js.map +1 -1
- package/build/esm/Select/styledComponents.d.ts +15 -15
- package/build/esm/Select/styledComponents.js +20 -23
- package/build/esm/Select/styledComponents.js.map +1 -1
- package/build/esm/SelectItem/SelectItem.d.ts +11 -11
- package/build/esm/SelectItem/SelectItem.js +37 -47
- package/build/esm/SelectItem/SelectItem.js.map +1 -1
- package/build/esm/SelectItem/index.d.ts +1 -1
- package/build/esm/SelectItem/index.js.map +1 -1
- package/build/esm/SelectionControl/SelectionControlLabel.d.ts +7 -7
- package/build/esm/SelectionControl/SelectionControlLabel.js +13 -14
- package/build/esm/SelectionControl/SelectionControlLabel.js.map +1 -1
- package/build/esm/SelectionControl/SelectionControlText.d.ts +8 -8
- package/build/esm/SelectionControl/SelectionControlText.js +20 -20
- package/build/esm/SelectionControl/SelectionControlText.js.map +1 -1
- package/build/esm/SelectionControl/index.d.ts +2 -2
- package/build/esm/SelectionControl/index.js.map +1 -1
- package/build/esm/Skeleton/DelayAppearance.d.ts +13 -13
- package/build/esm/Skeleton/DelayAppearance.js +18 -20
- package/build/esm/Skeleton/DelayAppearance.js.map +1 -1
- package/build/esm/Skeleton/Skeleton.d.ts +9 -9
- package/build/esm/Skeleton/Skeleton.js +18 -19
- package/build/esm/Skeleton/Skeleton.js.map +1 -1
- package/build/esm/Skeleton/animation.d.ts +8 -8
- package/build/esm/Skeleton/animation.js +11 -11
- package/build/esm/Skeleton/animation.js.map +1 -1
- package/build/esm/Skeleton/index.d.ts +2 -2
- package/build/esm/Skeleton/index.js.map +1 -1
- package/build/esm/Slider/Slider.d.ts +17 -17
- package/build/esm/Slider/Slider.js +93 -85
- package/build/esm/Slider/Slider.js.map +1 -1
- package/build/esm/Slider/index.d.ts +1 -1
- package/build/esm/Slider/index.js.map +1 -1
- package/build/esm/Snackbar/Snackbar.d.ts +10 -8
- package/build/esm/Snackbar/Snackbar.js +33 -33
- package/build/esm/Snackbar/Snackbar.js.map +1 -1
- package/build/esm/Snackbar/Stack.d.ts +31 -31
- package/build/esm/Snackbar/Stack.js +74 -106
- package/build/esm/Snackbar/Stack.js.map +1 -1
- package/build/esm/Snackbar/index.d.ts +3 -3
- package/build/esm/Snackbar/index.js.map +1 -1
- package/build/esm/Snackbar/useSnackbarAnimation.d.ts +6 -6
- package/build/esm/Snackbar/useSnackbarAnimation.js +103 -132
- package/build/esm/Snackbar/useSnackbarAnimation.js.map +1 -1
- package/build/esm/Switch/Switch.d.ts +13 -13
- package/build/esm/Switch/Switch.js +59 -56
- package/build/esm/Switch/Switch.js.map +1 -1
- package/build/esm/Switch/index.d.ts +1 -1
- package/build/esm/Switch/index.js.map +1 -1
- package/build/esm/Switch/styledComponents.d.ts +13 -13
- package/build/esm/Switch/styledComponents.js +47 -47
- package/build/esm/Switch/styledComponents.js.map +1 -1
- package/build/esm/Tab/Tab.d.ts +5 -5
- package/build/esm/Tab/Tab.js +47 -55
- package/build/esm/Tab/Tab.js.map +1 -1
- package/build/esm/Tab/TabList.d.ts +9 -10
- package/build/esm/Tab/TabList.js +28 -32
- package/build/esm/Tab/TabList.js.map +1 -1
- package/build/esm/Tab/TabPanel.d.ts +4 -5
- package/build/esm/Tab/TabPanel.js +18 -19
- package/build/esm/Tab/TabPanel.js.map +1 -1
- package/build/esm/Tab/TabPanels.d.ts +4 -4
- package/build/esm/Tab/TabPanels.js.map +1 -1
- package/build/esm/Tab/Tabs.d.ts +4 -4
- package/build/esm/Tab/Tabs.js.map +1 -1
- package/build/esm/Tab/context.d.ts +8 -9
- package/build/esm/Tab/context.js +8 -7
- package/build/esm/Tab/context.js.map +1 -1
- package/build/esm/Tab/index.d.ts +5 -5
- package/build/esm/Tab/index.js.map +1 -1
- package/build/esm/TabIndicator/TabIndicator.d.ts +9 -9
- package/build/esm/TabIndicator/TabIndicator.js +69 -86
- package/build/esm/TabIndicator/TabIndicator.js.map +1 -1
- package/build/esm/TabIndicator/context.d.ts +6 -6
- package/build/esm/TabIndicator/context.js +8 -7
- package/build/esm/TabIndicator/context.js.map +1 -1
- package/build/esm/TabIndicator/index.d.ts +2 -2
- package/build/esm/TabIndicator/index.js.map +1 -1
- package/build/esm/Table/Table.d.ts +3 -4
- package/build/esm/Table/Table.js +13 -14
- package/build/esm/Table/Table.js.map +1 -1
- package/build/esm/Table/TableBody.d.ts +3 -4
- package/build/esm/Table/TableBody.js +9 -11
- package/build/esm/Table/TableBody.js.map +1 -1
- package/build/esm/Table/TableCell.d.ts +3 -4
- package/build/esm/Table/TableCell.js +14 -15
- package/build/esm/Table/TableCell.js.map +1 -1
- package/build/esm/Table/TableHead.d.ts +3 -4
- package/build/esm/Table/TableHead.js +13 -14
- package/build/esm/Table/TableHead.js.map +1 -1
- package/build/esm/Table/TableRow.d.ts +3 -4
- package/build/esm/Table/TableRow.js +13 -14
- package/build/esm/Table/TableRow.js.map +1 -1
- package/build/esm/Table/context.d.ts +2 -3
- package/build/esm/Table/context.js +7 -7
- package/build/esm/Table/context.js.map +1 -1
- package/build/esm/Table/index.d.ts +5 -5
- package/build/esm/Table/index.js.map +1 -1
- package/build/esm/Text/LoremIpsum.d.ts +4 -4
- package/build/esm/Text/LoremIpsum.js +10 -12
- package/build/esm/Text/LoremIpsum.js.map +1 -1
- package/build/esm/Text/Text.d.ts +10 -11
- package/build/esm/Text/Text.js +15 -19
- package/build/esm/Text/Text.js.map +1 -1
- package/build/esm/Text/index.d.ts +1 -1
- package/build/esm/Text/index.js.map +1 -1
- package/build/esm/TextField/FilledContainer.d.ts +18 -18
- package/build/esm/TextField/FilledContainer.js +75 -80
- package/build/esm/TextField/FilledContainer.js.map +1 -1
- package/build/esm/TextField/HelperText.d.ts +10 -10
- package/build/esm/TextField/HelperText.js +19 -26
- package/build/esm/TextField/HelperText.js.map +1 -1
- package/build/esm/TextField/IconContainer.d.ts +5 -5
- package/build/esm/TextField/IconContainer.js +21 -9
- package/build/esm/TextField/IconContainer.js.map +1 -1
- package/build/esm/TextField/Input.d.ts +11 -11
- package/build/esm/TextField/Input.js +39 -40
- package/build/esm/TextField/Input.js.map +1 -1
- package/build/esm/TextField/OutlinedContainer.d.ts +17 -17
- package/build/esm/TextField/OutlinedContainer.js +30 -47
- package/build/esm/TextField/OutlinedContainer.js.map +1 -1
- package/build/esm/TextField/TextField.d.ts +19 -19
- package/build/esm/TextField/TextField.js +50 -77
- package/build/esm/TextField/TextField.js.map +1 -1
- package/build/esm/TextField/consts.d.ts +5 -5
- package/build/esm/TextField/consts.js +5 -5
- package/build/esm/TextField/consts.js.map +1 -1
- package/build/esm/TextField/index.d.ts +4 -4
- package/build/esm/TextField/index.js.map +1 -1
- package/build/esm/ThemeExplorer/BorderSlider.d.ts +7 -7
- package/build/esm/ThemeExplorer/BorderSlider.js +8 -14
- package/build/esm/ThemeExplorer/BorderSlider.js.map +1 -1
- package/build/esm/ThemeExplorer/ColorPicker.d.ts +8 -8
- package/build/esm/ThemeExplorer/ColorPicker.js +19 -24
- package/build/esm/ThemeExplorer/ColorPicker.js.map +1 -1
- package/build/esm/ThemeExplorer/ColorSchemePicker.d.ts +10 -10
- package/build/esm/ThemeExplorer/ColorSchemePicker.js +16 -21
- package/build/esm/ThemeExplorer/ColorSchemePicker.js.map +1 -1
- package/build/esm/ThemeExplorer/FontAutoComplete.d.ts +9 -9
- package/build/esm/ThemeExplorer/FontAutoComplete.js +28 -48
- package/build/esm/ThemeExplorer/FontAutoComplete.js.map +1 -1
- package/build/esm/ThemeExplorer/TextFieldColorPicker.d.ts +8 -9
- package/build/esm/ThemeExplorer/TextFieldColorPicker.js +29 -60
- package/build/esm/ThemeExplorer/TextFieldColorPicker.js.map +1 -1
- package/build/esm/ThemeExplorer/ThemeBuilder.d.ts +11 -11
- package/build/esm/ThemeExplorer/ThemeBuilder.js +155 -184
- package/build/esm/ThemeExplorer/ThemeBuilder.js.map +1 -1
- package/build/esm/ThemeExplorer/ThemeColors.d.ts +4 -5
- package/build/esm/ThemeExplorer/ThemeColors.js +54 -54
- package/build/esm/ThemeExplorer/ThemeColors.js.map +1 -1
- package/build/esm/ThemeExplorer/components.d.ts +31 -31
- package/build/esm/ThemeExplorer/components.js +52 -61
- package/build/esm/ThemeExplorer/components.js.map +1 -1
- package/build/esm/ThemeExplorer/googleFonts.d.ts +1 -1
- package/build/esm/ThemeExplorer/googleFonts.js +1 -1
- package/build/esm/ThemeExplorer/googleFonts.js.map +1 -1
- package/build/esm/ThemeExplorer/index.d.ts +1 -1
- package/build/esm/ThemeExplorer/index.js.map +1 -1
- package/build/esm/ThemeExplorer/makeColorScheme.d.ts +98 -98
- package/build/esm/ThemeExplorer/makeColorScheme.js +0 -1
- package/build/esm/ThemeExplorer/makeColorScheme.js.map +1 -1
- package/build/esm/ThemeExplorer/makeTailwindTheme.d.ts +2 -2
- package/build/esm/ThemeExplorer/makeTailwindTheme.js +20 -20
- package/build/esm/ThemeExplorer/makeTailwindTheme.js.map +1 -1
- package/build/esm/ThemeExplorer/updateGoogleFonts.js +23 -64
- package/build/esm/ThemeExplorer/updateGoogleFonts.js.map +1 -1
- package/build/esm/ThemeExplorer/useDeferredColor.d.ts +3 -3
- package/build/esm/ThemeExplorer/useDeferredColor.js +2 -9
- package/build/esm/ThemeExplorer/useDeferredColor.js.map +1 -1
- package/build/esm/ThemeExplorer/useLocalStorageCachedState.d.ts +1 -1
- package/build/esm/ThemeExplorer/useLocalStorageCachedState.js +2 -10
- package/build/esm/ThemeExplorer/useLocalStorageCachedState.js.map +1 -1
- package/build/esm/Tooltip/Tooltip.d.ts +8 -8
- package/build/esm/Tooltip/Tooltip.js +21 -25
- package/build/esm/Tooltip/Tooltip.js.map +1 -1
- package/build/esm/Tooltip/index.d.ts +1 -1
- package/build/esm/Tooltip/index.js.map +1 -1
- package/build/esm/color.d.ts +8 -8
- package/build/esm/color.js +23 -31
- package/build/esm/color.js.map +1 -1
- package/build/esm/css.d.ts +1 -1
- package/build/esm/css.js.map +1 -1
- package/build/esm/hooks/useAnimation.d.ts +20 -20
- package/build/esm/hooks/useAnimation.js +42 -53
- package/build/esm/hooks/useAnimation.js.map +1 -1
- package/build/esm/index.d.ts +42 -42
- package/build/esm/index.js.map +1 -1
- package/build/esm/motion.d.ts +7 -7
- package/build/esm/motion.js +7 -7
- package/build/esm/motion.js.map +1 -1
- package/build/esm/tailwind/extendColors.d.ts +5 -5
- package/build/esm/tailwind/extendColors.js +17 -29
- package/build/esm/tailwind/extendColors.js.map +1 -1
- package/build/esm/tailwind/index.d.ts +8 -8
- package/build/esm/tailwind/index.js +17 -29
- package/build/esm/tailwind/index.js.map +1 -1
- package/build/esm/theme/index.d.ts +2 -2
- package/build/esm/theme/index.js.map +1 -1
- package/build/esm/theme/theme.d.ts +590 -562
- package/build/esm/theme/theme.js +49 -22
- package/build/esm/theme/theme.js.map +1 -1
- package/build/esm/theme/typography-raleway.d.ts +112 -112
- package/build/esm/theme/typography-raleway.js +1 -1
- package/build/esm/theme/typography-raleway.js.map +1 -1
- package/build/esm/theme/typography-roboto.d.ts +111 -111
- package/build/esm/theme/typography-roboto.js +1 -1
- package/build/esm/theme/typography-roboto.js.map +1 -1
- package/build/esm/theme/useTheme.d.ts +594 -566
- package/build/esm/theme/useTheme.js +1 -3
- package/build/esm/theme/useTheme.js.map +1 -1
- package/build/tsconfig-build.tsbuildinfo +1 -1
- package/package.json +12 -11
- package/src/Alert/index.ts +1 -1
- package/src/AppBar/AppBar.story.tsx +69 -69
- package/src/AppBar/AppBar.tsx +85 -85
- package/src/AppBar/AppBarButton.tsx +25 -25
- package/src/AppBar/context.ts +13 -13
- package/src/AppBar/index.ts +3 -3
- package/src/Badge/Badge.story.tsx +68 -68
- package/src/Badge/Badge.tsx +47 -47
- package/src/Badge/index.ts +1 -1
- package/src/BaseLine/BaseLine.tsx +100 -100
- package/src/BaseLine/index.ts +1 -1
- package/src/BottomSheet/BottomSheet.story.tsx +35 -35
- package/src/BottomSheet/BottomSheet.tsx +39 -39
- package/src/BottomSheet/BottomSheetSurface.tsx +49 -49
- package/src/BottomSheet/index.ts +1 -1
- package/src/Box/Box.tsx +133 -127
- package/src/Box/index.ts +1 -1
- package/src/Button/BaseButton.tsx +123 -18
- package/src/Button/Button.story.tsx +236 -72
- package/src/Button/Button.tsx +44 -15
- package/src/Button/ButtonGroup.story.tsx +263 -101
- package/src/Button/ButtonGroup.tsx +103 -7
- package/src/Button/FilledButton.tsx +2 -43
- package/src/Button/FloatingActionButton.tsx +14 -9
- package/src/Button/IconFilledButton.tsx +3 -0
- package/src/Button/IconOutlinedButton.tsx +3 -0
- package/src/Button/OutlinedButton.tsx +2 -41
- package/src/Button/SpinnerButton.story.tsx +91 -91
- package/src/Button/SplitButton.story.tsx +110 -0
- package/src/Button/SplitButton.tsx +40 -0
- package/src/Button/TransparentButton.tsx +1 -43
- package/src/Button/context.tsx +19 -17
- package/src/Button/index.ts +3 -2
- package/src/CheckBox/CheckBox.story.tsx +155 -155
- package/src/CheckBox/CheckBox.tsx +170 -170
- package/src/CheckBox/CheckBoxIcon.tsx +63 -64
- package/src/CheckBox/CheckPath.tsx +18 -18
- package/src/CheckBox/IndeterminatePath.tsx +16 -16
- package/src/CheckBox/index.ts +1 -1
- package/src/Chip/ButtonChip.tsx +86 -86
- package/src/Chip/Chip.story.tsx +242 -242
- package/src/Chip/Chip.tsx +5 -5
- package/src/Chip/ChipBase.tsx +141 -141
- package/src/Chip/ChoiceChip.tsx +127 -127
- package/src/Chip/index.ts +2 -2
- package/src/Combobox/Combobox.tsx +274 -274
- package/src/Combobox/index.ts +1 -1
- package/src/Dialog/Dialog.story.tsx +53 -53
- package/src/Dialog/Dialog.tsx +73 -73
- package/src/Dialog/DialogBackdrop.tsx +42 -42
- package/src/Dialog/DialogContainer.tsx +31 -31
- package/src/Dialog/DialogSurface.tsx +55 -55
- package/src/Dialog/Scrim.tsx +35 -35
- package/src/Dialog/index.ts +2 -2
- package/src/Dialog/useDialogAnimation.tsx +59 -49
- package/src/Divider/Divider.story.tsx +39 -39
- package/src/Divider/Divider.tsx +48 -48
- package/src/Divider/index.ts +1 -1
- package/src/FloatingLabel/FloatingLabel.story.tsx +55 -55
- package/src/FloatingLabel/FloatingLabel.tsx +77 -77
- package/src/FloatingLabel/index.ts +1 -1
- package/src/LineRipple/LineRipple.story.tsx +43 -43
- package/src/LineRipple/LineRipple.tsx +81 -81
- package/src/LineRipple/index.ts +1 -1
- package/src/Link/Link.story.tsx +14 -14
- package/src/Link/Link.tsx +65 -65
- package/src/Link/index.ts +1 -1
- package/src/List/List.tsx +46 -46
- package/src/List/index.ts +1 -1
- package/src/ListItem/ListItem.story.tsx +43 -43
- package/src/ListItem/ListItem.tsx +104 -104
- package/src/ListItem/ListItemText.tsx +35 -35
- package/src/ListItem/index.ts +2 -2
- package/src/Menu/ContextMenu.story.tsx +34 -34
- package/src/Menu/Menu.story.tsx +54 -54
- package/src/Menu/Menu.tsx +124 -124
- package/src/Menu/animation.ts +16 -16
- package/src/Menu/index.ts +2 -2
- package/src/NavRail/NavRail.story.tsx +146 -146
- package/src/NavRail/NavRailItem.tsx +176 -175
- package/src/NavRail/icons/test-icons.tsx +46 -46
- package/src/NavRail/index.ts +1 -1
- package/src/NotchedOutline/NotchedOutline.story.tsx +99 -99
- package/src/NotchedOutline/NotchedOutline.tsx +80 -80
- package/src/NotchedOutline/context.ts +12 -12
- package/src/NotchedOutline/index.ts +1 -1
- package/src/NotchedOutline/styledComponents.ts +122 -122
- package/src/Paper/Paper.story.tsx +50 -50
- package/src/Paper/Paper.tsx +67 -67
- package/src/Paper/index.ts +1 -1
- package/src/Popover/PopoverSurface.tsx +51 -51
- package/src/Popover/index.ts +1 -1
- package/src/ProgressSpinner/ProgressSpinner.story.tsx +35 -35
- package/src/ProgressSpinner/ProgressSpinner.tsx +119 -119
- package/src/ProgressSpinner/index.ts +1 -1
- package/src/RadioButton/RadioButton.story.tsx +109 -109
- package/src/RadioButton/RadioButton.tsx +112 -112
- package/src/RadioButton/RadioButtonIcon.tsx +44 -44
- package/src/RadioButton/RadioGroup.tsx +26 -27
- package/src/RadioButton/index.ts +2 -2
- package/src/Ripple/Ripple.story.tsx +78 -78
- package/src/Ripple/Ripple.tsx +33 -33
- package/src/Ripple/RippleBox.tsx +52 -52
- package/src/Ripple/constants.ts +15 -15
- package/src/Ripple/index.ts +5 -5
- package/src/Ripple/keyframes.ts +36 -36
- package/src/Ripple/useRipple.ts +209 -209
- package/src/Ripple/useRippleHandlers.ts +54 -54
- package/src/Ripple/useRippleSurface.ts +162 -155
- package/src/SearchBar/SearchBar.tsx +5 -6
- package/src/Select/CustomContainerExample.tsx +59 -59
- package/src/Select/PaymentMethodSelect.story.tsx +320 -316
- package/src/Select/Select.story.tsx +225 -225
- package/src/Select/Select.tsx +284 -283
- package/src/Select/SelectIcon.tsx +43 -43
- package/src/Select/SelectMultiple.story.tsx +214 -215
- package/src/Select/context.ts +22 -22
- package/src/Select/defaultRender.tsx +60 -49
- package/src/Select/index.ts +1 -1
- package/src/Select/styledComponents.tsx +38 -38
- package/src/SelectItem/SelectItem.tsx +92 -92
- package/src/SelectItem/index.ts +1 -1
- package/src/SelectionControl/SelectionControlLabel.tsx +34 -34
- package/src/SelectionControl/SelectionControlText.tsx +37 -37
- package/src/SelectionControl/index.ts +2 -2
- package/src/Skeleton/DelayAppearance.tsx +41 -41
- package/src/Skeleton/Skeleton.story.tsx +57 -57
- package/src/Skeleton/Skeleton.tsx +40 -40
- package/src/Skeleton/animation.ts +54 -54
- package/src/Skeleton/index.ts +2 -2
- package/src/Slider/Slider.story.tsx +36 -36
- package/src/Slider/Slider.tsx +275 -275
- package/src/Slider/index.ts +1 -1
- package/src/Snackbar/Snackbar.story.tsx +99 -99
- package/src/Snackbar/Snackbar.tsx +19 -16
- package/src/Switch/Switch.story.tsx +97 -98
- package/src/Switch/Switch.tsx +170 -170
- package/src/Switch/index.ts +1 -1
- package/src/Switch/styledComponents.tsx +117 -117
- package/src/Tab/Tab.story.tsx +209 -209
- package/src/Tab/Tab.tsx +120 -120
- package/src/Tab/TabList.tsx +61 -61
- package/src/Tab/TabPanel.tsx +31 -31
- package/src/Tab/TabPanels.tsx +5 -5
- package/src/Tab/Tabs.tsx +5 -5
- package/src/Tab/context.ts +17 -17
- package/src/Tab/index.ts +5 -5
- package/src/TabIndicator/TabIndicator.tsx +146 -146
- package/src/TabIndicator/context.ts +13 -13
- package/src/TabIndicator/index.ts +2 -2
- package/src/Table/context.ts +6 -6
- package/src/Text/LoremIpsum.tsx +18 -18
- package/src/Text/Text.story.tsx +79 -75
- package/src/Text/Text.tsx +84 -84
- package/src/Text/index.ts +1 -1
- package/src/TextField/FilledContainer.tsx +173 -173
- package/src/TextField/HelperText.tsx +63 -63
- package/src/TextField/OutlinedContainer.tsx +116 -116
- package/src/TextField/consts.ts +7 -7
- package/src/TextField/index.ts +4 -4
- package/src/ThemeExplorer/BorderSlider.tsx +73 -73
- package/src/ThemeExplorer/ColorPicker.tsx +104 -104
- package/src/ThemeExplorer/ColorSchemePicker.tsx +55 -55
- package/src/ThemeExplorer/FontAutoComplete.tsx +139 -139
- package/src/ThemeExplorer/TextFieldColorPicker.tsx +112 -115
- package/src/ThemeExplorer/ThemeBuilder.story.tsx +8 -8
- package/src/ThemeExplorer/ThemeBuilder.tsx +437 -353
- package/src/ThemeExplorer/ThemeColors.tsx +122 -118
- package/src/ThemeExplorer/components.tsx +195 -195
- package/src/ThemeExplorer/googleFonts.ts +1436 -1436
- package/src/ThemeExplorer/index.ts +1 -1
- package/src/ThemeExplorer/makeColorScheme.tsx +111 -111
- package/src/ThemeExplorer/makeTailwindTheme.ts +44 -44
- package/src/ThemeExplorer/updateGoogleFonts.js +32 -33
- package/src/ThemeExplorer/useDeferredColor.tsx +21 -21
- package/src/ThemeExplorer/useLocalStorageCachedState.ts +18 -18
- package/src/Tooltip/Tooltip.story.tsx +35 -35
- package/src/Tooltip/Tooltip.tsx +67 -67
- package/src/Tooltip/index.ts +1 -1
- package/src/css.ts +2 -2
- package/src/hooks/useAnimation.ts +111 -111
- package/src/motion.ts +7 -7
- package/src/tailwind/extendColors.ts +51 -51
- package/src/tailwind/index.ts +57 -56
- package/src/tailwind/tests/extendColors.test.ts +123 -123
- package/src/theme/index.ts +2 -2
- package/src/theme/theme.ts +36 -8
- package/src/theme/typography-raleway.ts +114 -114
- package/src/theme/typography-roboto.ts +113 -113
- package/src/theme/useTheme.ts +17 -18
- package/tailwind/package.json +5 -5
- package/theme-explorer/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OutlinedButton.js","names":["css","alpha","TransparentButton","OutlinedButton","
|
|
1
|
+
{"version":3,"file":"OutlinedButton.js","names":["css","alpha","TransparentButton","OutlinedButton","_styled","process","env","NODE_ENV","target","label","borderStyle","borderWidth","borderColor","boxShadow","color","cursor"],"sources":["../../../src/Button/OutlinedButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { css } from '@styled-system/css';\n\nimport { alpha } from '../color';\nimport { TransparentButton } from './TransparentButton';\n\nexport const OutlinedButton = styled(TransparentButton)(\n css({\n borderStyle: 'solid',\n borderWidth: '1px',\n borderColor: 'outline',\n boxShadow: 0,\n '&:focus,:&active,:&hover': { boxShadow: 0 },\n '&:focus-visible,&:active': {\n borderColor: 'currentColor',\n },\n '&:disabled': {\n color: alpha('on.surface', 0.38),\n borderColor: alpha('outline', 0.12),\n cursor: 'default',\n },\n })\n);\n"],"mappings":";AACA,SAASA,GAAG,QAAQ,oBAAoB;AAExC,SAASC,KAAK,QAAQ,UAAU;AAChC,SAASC,iBAAiB,QAAQ,qBAAqB;AAEvD,OAAO,MAAMC,cAAc,gBAAGC,OAAA,CAAOF,iBAAiB,EAAAG,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CACrDT,GAAG,CAAC;EACFU,WAAW,EAAE,OAAO;EACpBC,WAAW,EAAE,KAAK;EAClBC,WAAW,EAAE,SAAS;EACtBC,SAAS,EAAE,CAAC;EACZ,0BAA0B,EAAE;IAAEA,SAAS,EAAE;EAAE,CAAC;EAC5C,0BAA0B,EAAE;IAC1BD,WAAW,EAAE;EACf,CAAC;EACD,YAAY,EAAE;IACZE,KAAK,EAAEb,KAAK,CAAC,YAAY,EAAE,IAAI,CAAC;IAChCW,WAAW,EAAEX,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC;IACnCc,MAAM,EAAE;EACV;AACF,CAAC,CAAC,EAAAV,OAAA,CAAAC,GAAA,CAAAC,QAAA,8nCACJ,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { MenuButtonProps as MenuButtonPropsCore } from '@basic-ui/core';
|
|
2
|
+
import { type ButtonProps } from './Button';
|
|
3
|
+
import { type ButtonGroupProps } from './ButtonGroup';
|
|
4
|
+
export type SplitButtonGroupProps = ButtonGroupProps;
|
|
5
|
+
export declare const SplitButtonGroup: import("react").ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export type SplitButtonProps = ButtonProps;
|
|
7
|
+
export declare const SplitButton: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
export type SplitMenuButtonProps = ButtonProps & MenuButtonPropsCore;
|
|
9
|
+
export declare const SplitMenuButton: import("react").ForwardRefExoticComponent<Omit<SplitMenuButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { forwardRef } from 'react';
|
|
2
|
+
import { MenuButton as MenuButtonCore } from '@basic-ui/core';
|
|
3
|
+
import { Button } from './Button';
|
|
4
|
+
import { ButtonGroup } from './ButtonGroup';
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
export const SplitButtonGroup = /*#__PURE__*/forwardRef(function SplitButtonGroup(props, ref) {
|
|
7
|
+
return /*#__PURE__*/_jsx(ButtonGroup, {
|
|
8
|
+
ref: ref,
|
|
9
|
+
variant: "split",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
export const SplitButton = /*#__PURE__*/forwardRef(function SplitButton(props, ref) {
|
|
14
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
15
|
+
ref: ref,
|
|
16
|
+
...props
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
export const SplitMenuButton = /*#__PURE__*/forwardRef(function SplitMenuButton(_ref, ref) {
|
|
20
|
+
let {
|
|
21
|
+
as = 'button',
|
|
22
|
+
...props
|
|
23
|
+
} = _ref;
|
|
24
|
+
return /*#__PURE__*/_jsx(MenuButtonCore, {
|
|
25
|
+
as: Button,
|
|
26
|
+
innerAs: as,
|
|
27
|
+
ref: ref,
|
|
28
|
+
"data-split-menu-button": "",
|
|
29
|
+
...props
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=SplitButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SplitButton.js","names":["forwardRef","MenuButton","MenuButtonCore","Button","ButtonGroup","jsx","_jsx","SplitButtonGroup","props","ref","variant","SplitButton","SplitMenuButton","_ref","as","innerAs"],"sources":["../../../src/Button/SplitButton.tsx"],"sourcesContent":["import { forwardRef } from 'react';\nimport { MenuButton as MenuButtonCore } from '@basic-ui/core';\nimport type { MenuButtonProps as MenuButtonPropsCore } from '@basic-ui/core';\n\nimport { Button, type ButtonProps } from './Button';\nimport { ButtonGroup, type ButtonGroupProps } from './ButtonGroup';\n\nexport type SplitButtonGroupProps = ButtonGroupProps;\n\nexport const SplitButtonGroup = forwardRef<\n HTMLDivElement,\n SplitButtonGroupProps\n>(function SplitButtonGroup(props, ref) {\n return <ButtonGroup ref={ref} variant=\"split\" {...props} />;\n});\n\nexport type SplitButtonProps = ButtonProps;\n\nexport const SplitButton = forwardRef<HTMLButtonElement, SplitButtonProps>(\n function SplitButton(props, ref) {\n return <Button ref={ref} {...props} />;\n }\n);\n\nexport type SplitMenuButtonProps = ButtonProps & MenuButtonPropsCore;\n\nexport const SplitMenuButton = forwardRef<\n HTMLButtonElement,\n SplitMenuButtonProps\n>(function SplitMenuButton({ as = 'button', ...props }, ref) {\n return (\n <MenuButtonCore\n as={Button}\n innerAs={as}\n ref={ref}\n data-split-menu-button=\"\"\n {...props}\n />\n );\n});\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,UAAU,IAAIC,cAAc,QAAQ,gBAAgB;AAG7D,SAASC,MAAM,QAA0B,UAAU;AACnD,SAASC,WAAW,QAA+B,eAAe;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAInE,OAAO,MAAMC,gBAAgB,gBAAGP,UAAU,CAGxC,SAASO,gBAAgBA,CAACC,KAAK,EAAEC,GAAG,EAAE;EACtC,oBAAOH,IAAA,CAACF,WAAW;IAACK,GAAG,EAAEA,GAAI;IAACC,OAAO,EAAC,OAAO;IAAA,GAAKF;EAAK,CAAG,CAAC;AAC7D,CAAC,CAAC;AAIF,OAAO,MAAMG,WAAW,gBAAGX,UAAU,CACnC,SAASW,WAAWA,CAACH,KAAK,EAAEC,GAAG,EAAE;EAC/B,oBAAOH,IAAA,CAACH,MAAM;IAACM,GAAG,EAAEA,GAAI;IAAA,GAAKD;EAAK,CAAG,CAAC;AACxC,CACF,CAAC;AAID,OAAO,MAAMI,eAAe,gBAAGZ,UAAU,CAGvC,SAASY,eAAeA,CAAAC,IAAA,EAA8BJ,GAAG,EAAE;EAAA,IAAlC;IAAEK,EAAE,GAAG,QAAQ;IAAE,GAAGN;EAAM,CAAC,GAAAK,IAAA;EACpD,oBACEP,IAAA,CAACJ,cAAc;IACbY,EAAE,EAAEX,MAAO;IACXY,OAAO,EAAED,EAAG;IACZL,GAAG,EAAEA,GAAI;IACT,0BAAuB,EAAE;IAAA,GACrBD;EAAK,CACV,CAAC;AAEN,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
1
|
+
import type { Theme } from '../theme';
|
|
2
|
+
export declare const TransparentButton: import("@emotion/styled").StyledComponent<Omit<import("./BaseButton").BaseButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement> & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
export declare function getRippleProperties(theme: Theme): {
|
|
6
|
+
hoverOpacity: any;
|
|
7
|
+
focusOpacity: any;
|
|
8
|
+
pressedOpacity: any;
|
|
9
|
+
rippleEnabled: boolean;
|
|
10
|
+
};
|
|
@@ -2,18 +2,19 @@ import _styled from "@emotion/styled/base";
|
|
|
2
2
|
import { get, css } from '@styled-system/css';
|
|
3
3
|
import { BaseButton } from './BaseButton';
|
|
4
4
|
import { alpha } from '../color';
|
|
5
|
-
export
|
|
5
|
+
export const TransparentButton = /*#__PURE__*/_styled(BaseButton, process.env.NODE_ENV === "production" ? {
|
|
6
6
|
target: "e18rm4q20"
|
|
7
7
|
} : {
|
|
8
8
|
target: "e18rm4q20",
|
|
9
9
|
label: "TransparentButton"
|
|
10
|
-
})(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
})(_ref => {
|
|
11
|
+
let {
|
|
12
|
+
theme,
|
|
13
|
+
color = 'primary'
|
|
14
|
+
} = _ref;
|
|
14
15
|
return css({
|
|
15
16
|
backgroundColor: 'transparent',
|
|
16
|
-
color: get(theme,
|
|
17
|
+
color: get(theme, `colors.${String(color)}`) || color,
|
|
17
18
|
'&:disabled': {
|
|
18
19
|
color: alpha('on.surface', 0.38),
|
|
19
20
|
cursor: 'default'
|
|
@@ -22,56 +23,12 @@ export var TransparentButton = /*#__PURE__*/_styled(BaseButton, process.env.NODE
|
|
|
22
23
|
outline: 'none'
|
|
23
24
|
}
|
|
24
25
|
});
|
|
25
|
-
},
|
|
26
|
-
var theme = _ref2.theme,
|
|
27
|
-
_ref2$color = _ref2.color,
|
|
28
|
-
color = _ref2$color === void 0 ? 'primary' : _ref2$color,
|
|
29
|
-
_ref2$isGroupedButton = _ref2.isGroupedButton,
|
|
30
|
-
isGroupedButton = _ref2$isGroupedButton === void 0 ? false : _ref2$isGroupedButton;
|
|
31
|
-
return isGroupedButton && {
|
|
32
|
-
'[data-button-group=""] &': {
|
|
33
|
-
borderColor: get(theme, "colors.".concat(String(color))) || (typeof color === 'string' ? color : undefined),
|
|
34
|
-
':first-of-type': {
|
|
35
|
-
borderTopRightRadius: 0,
|
|
36
|
-
borderBottomRightRadius: 0,
|
|
37
|
-
borderRightStyle: 'solid',
|
|
38
|
-
borderRightWidth: "0.0625rem"
|
|
39
|
-
},
|
|
40
|
-
':not(:first-of-type):not(:last-of-type)': {
|
|
41
|
-
borderRadius: 0
|
|
42
|
-
},
|
|
43
|
-
':last-of-type': {
|
|
44
|
-
borderTopLeftRadius: 0,
|
|
45
|
-
borderBottomLeftRadius: 0,
|
|
46
|
-
borderLeftStyle: 'solid',
|
|
47
|
-
borderLeftWidth: "0.0625rem"
|
|
48
|
-
},
|
|
49
|
-
// Handling the border between enabled/disabled buttons
|
|
50
|
-
':not(:disabled):has(+ :disabled)': {
|
|
51
|
-
borderRightWidth: "0.0625rem",
|
|
52
|
-
borderRightStyle: 'solid'
|
|
53
|
-
},
|
|
54
|
-
':disabled + :not(:disabled)': {
|
|
55
|
-
borderLeftWidth: "0.0625rem",
|
|
56
|
-
borderLeftStyle: 'solid'
|
|
57
|
-
},
|
|
58
|
-
':not(:disabled) + :disabled': {
|
|
59
|
-
borderLeftWidth: "0rem"
|
|
60
|
-
},
|
|
61
|
-
':disabled:has(+ :not(:disabled))': {
|
|
62
|
-
borderRightWidth: "0rem"
|
|
63
|
-
},
|
|
64
|
-
':last-of-type:nth-of-type(2)': {
|
|
65
|
-
borderLeftWidth: "0rem"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9CdXR0b24vVHJhbnNwYXJlbnRCdXR0b24udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFpQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvQnV0dG9uL1RyYW5zcGFyZW50QnV0dG9uLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGdldCwgY3NzIH0gZnJvbSAnQHN0eWxlZC1zeXN0ZW0vY3NzJztcbmltcG9ydCB7IHJlbSB9IGZyb20gJ3BvbGlzaGVkJztcblxuaW1wb3J0IHsgQmFzZUJ1dHRvbiB9IGZyb20gJy4vQmFzZUJ1dHRvbic7XG5pbXBvcnQgdHlwZSB7IFRoZW1lIH0gZnJvbSAnLi4vdGhlbWUnO1xuaW1wb3J0IHsgYWxwaGEgfSBmcm9tICcuLi9jb2xvcic7XG5cbmV4cG9ydCBjb25zdCBUcmFuc3BhcmVudEJ1dHRvbiA9IHN0eWxlZChCYXNlQnV0dG9uKShcbiAgKHsgdGhlbWUsIGNvbG9yID0gJ3ByaW1hcnknIH0pID0+XG4gICAgY3NzKHtcbiAgICAgIGJhY2tncm91bmRDb2xvcjogJ3RyYW5zcGFyZW50JyxcbiAgICAgIGNvbG9yOiBnZXQodGhlbWUsIGBjb2xvcnMuJHtTdHJpbmcoY29sb3IpfWApIHx8IGNvbG9yLFxuICAgICAgJyY6ZGlzYWJsZWQnOiB7XG4gICAgICAgIGNvbG9yOiBhbHBoYS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mVybGF5cy50cmFuc3BhcmVudC5mb2N1cy5vcGFjaXR5YCksXG4gICAgcHJlc3NlZE9wYWNpdHk6IGdldCh0aGVtZSwgYGJ1dHRvbnMub3ZlcmxheXMudHJhbnNwYXJlbnQucHJlc3NlZC5vcGFjaXR5YCksXG4gICAgcmlwcGxlRW5hYmxlZDogZmFsc2UsXG4gIH07XG59XG4iXX0= */");
|
|
26
|
+
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9CdXR0b24vVHJhbnNwYXJlbnRCdXR0b24udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU9pQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvQnV0dG9uL1RyYW5zcGFyZW50QnV0dG9uLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGdldCwgY3NzIH0gZnJvbSAnQHN0eWxlZC1zeXN0ZW0vY3NzJztcblxuaW1wb3J0IHsgQmFzZUJ1dHRvbiB9IGZyb20gJy4vQmFzZUJ1dHRvbic7XG5pbXBvcnQgdHlwZSB7IFRoZW1lIH0gZnJvbSAnLi4vdGhlbWUnO1xuaW1wb3J0IHsgYWxwaGEgfSBmcm9tICcuLi9jb2xvcic7XG5cbmV4cG9ydCBjb25zdCBUcmFuc3BhcmVudEJ1dHRvbiA9IHN0eWxlZChCYXNlQnV0dG9uKShcbiAgKHsgdGhlbWUsIGNvbG9yID0gJ3ByaW1hcnknIH0pID0+XG4gICAgY3NzKHtcbiAgICAgIGJhY2tncm91bmRDb2xvcjogJ3RyYW5zcGFyZW50JyxcbiAgICAgIGNvbG9yOiBnZXQodGhlbWUsIGBjb2xvcnMuJHtTdHJpbmcoY29sb3IpfWApIHx8IGNvbG9yLFxuICAgICAgJyY6ZGlzYWJsZWQnOiB7XG4gICAgICAgIGNvbG9yOiBhbHBoYSgnb24uc3VyZmFjZScsIDAuMzgpLFxuICAgICAgICBjdXJzb3I6ICdkZWZhdWx0JyxcbiAgICAgIH0sXG4gICAgICAnJjpmb2N1cy12aXNpYmxlJzoge1xuICAgICAgICBvdXRsaW5lOiAnbm9uZScsXG4gICAgICB9LFxuICAgIH0pXG4pO1xuXG5leHBvcnQgZnVuY3Rpb24gZ2V0UmlwcGxlUHJvcGVydGllcyh0aGVtZTogVGhlbWUpIHtcbiAgcmV0dXJuIHtcbiAgICBob3Zlck9wYWNpdHk6IGdldCh0aGVtZSwgYGJ1dHRvbnMub3ZlcmxheXMudHJhbnNwYXJlbnQuaG92ZXIub3BhY2l0eWApLFxuICAgIGZvY3VzT3BhY2l0eTogZ2V0KHRoZW1lLCBgYnV0dG9ucy5vdmVybGF5cy50cmFuc3BhcmVudC5mb2N1cy5vcGFjaXR5YCksXG4gICAgcHJlc3NlZE9wYWNpdHk6IGdldCh0aGVtZSwgYGJ1dHRvbnMub3ZlcmxheXMudHJhbnNwYXJlbnQucHJlc3NlZC5vcGFjaXR5YCksXG4gICAgcmlwcGxlRW5hYmxlZDogZmFsc2UsXG4gIH07XG59XG4iXX0= */");
|
|
70
27
|
export function getRippleProperties(theme) {
|
|
71
28
|
return {
|
|
72
|
-
hoverOpacity: get(theme,
|
|
73
|
-
focusOpacity: get(theme,
|
|
74
|
-
pressedOpacity: get(theme,
|
|
29
|
+
hoverOpacity: get(theme, `buttons.overlays.transparent.hover.opacity`),
|
|
30
|
+
focusOpacity: get(theme, `buttons.overlays.transparent.focus.opacity`),
|
|
31
|
+
pressedOpacity: get(theme, `buttons.overlays.transparent.pressed.opacity`),
|
|
75
32
|
rippleEnabled: false
|
|
76
33
|
};
|
|
77
34
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransparentButton.js","names":["get","css","BaseButton","alpha","TransparentButton","
|
|
1
|
+
{"version":3,"file":"TransparentButton.js","names":["get","css","BaseButton","alpha","TransparentButton","_styled","process","env","NODE_ENV","target","label","_ref","theme","color","backgroundColor","String","cursor","outline","getRippleProperties","hoverOpacity","focusOpacity","pressedOpacity","rippleEnabled"],"sources":["../../../src/Button/TransparentButton.tsx"],"sourcesContent":["import styled from '@emotion/styled';\nimport { get, css } from '@styled-system/css';\n\nimport { BaseButton } from './BaseButton';\nimport type { Theme } from '../theme';\nimport { alpha } from '../color';\n\nexport const TransparentButton = styled(BaseButton)(\n ({ theme, color = 'primary' }) =>\n css({\n backgroundColor: 'transparent',\n color: get(theme, `colors.${String(color)}`) || color,\n '&:disabled': {\n color: alpha('on.surface', 0.38),\n cursor: 'default',\n },\n '&:focus-visible': {\n outline: 'none',\n },\n })\n);\n\nexport function getRippleProperties(theme: Theme) {\n return {\n hoverOpacity: get(theme, `buttons.overlays.transparent.hover.opacity`),\n focusOpacity: get(theme, `buttons.overlays.transparent.focus.opacity`),\n pressedOpacity: get(theme, `buttons.overlays.transparent.pressed.opacity`),\n rippleEnabled: false,\n };\n}\n"],"mappings":";AACA,SAASA,GAAG,EAAEC,GAAG,QAAQ,oBAAoB;AAE7C,SAASC,UAAU,QAAQ,cAAc;AAEzC,SAASC,KAAK,QAAQ,UAAU;AAEhC,OAAO,MAAMC,iBAAiB,gBAAGC,OAAA,CAAOH,UAAU,EAAAI,OAAA,CAAAC,GAAA,CAAAC,QAAA;EAAAC,MAAA;AAAA;EAAAA,MAAA;EAAAC,KAAA;AAAA,EAAC,CACjDC,IAAA;EAAA,IAAC;IAAEC,KAAK;IAAEC,KAAK,GAAG;EAAU,CAAC,GAAAF,IAAA;EAAA,OAC3BV,GAAG,CAAC;IACFa,eAAe,EAAE,aAAa;IAC9BD,KAAK,EAAEb,GAAG,CAACY,KAAK,EAAE,UAAUG,MAAM,CAACF,KAAK,CAAC,EAAE,CAAC,IAAIA,KAAK;IACrD,YAAY,EAAE;MACZA,KAAK,EAAEV,KAAK,CAAC,YAAY,EAAE,IAAI,CAAC;MAChCa,MAAM,EAAE;IACV,CAAC;IACD,iBAAiB,EAAE;MACjBC,OAAO,EAAE;IACX;EACF,CAAC,CAAC;AAAA,GAAAX,OAAA,CAAAC,GAAA,CAAAC,QAAA,8hDACN,CAAC;AAED,OAAO,SAASU,mBAAmBA,CAACN,KAAY,EAAE;EAChD,OAAO;IACLO,YAAY,EAAEnB,GAAG,CAACY,KAAK,EAAE,4CAA4C,CAAC;IACtEQ,YAAY,EAAEpB,GAAG,CAACY,KAAK,EAAE,4CAA4C,CAAC;IACtES,cAAc,EAAErB,GAAG,CAACY,KAAK,EAAE,8CAA8C,CAAC;IAC1EU,aAAa,EAAE;EACjB,CAAC;AACH","ignoreList":[]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
direction?: 'row' | 'column';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export declare const
|
|
1
|
+
import type { ButtonVariants } from './Button';
|
|
2
|
+
export type ButtonGroupContextProps = {
|
|
3
|
+
variant?: 'standard' | 'connected' | 'split';
|
|
4
|
+
buttonVariant?: ButtonVariants;
|
|
5
|
+
direction?: 'row' | 'column';
|
|
6
|
+
connected?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const ButtonGroupContext: import("react").Context<ButtonGroupContextProps | null>;
|
|
9
|
+
export declare const useButtonGroupContext: () => ButtonGroupContextProps | null;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { createContext, useContext } from 'react';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
// ButtonGroup Component
|
|
4
|
+
|
|
5
|
+
export const ButtonGroupContext = /*#__PURE__*/createContext(null);
|
|
3
6
|
ButtonGroupContext.displayName = 'ButtonGroupContext';
|
|
4
|
-
export
|
|
5
|
-
return useContext(ButtonGroupContext);
|
|
6
|
-
};
|
|
7
|
+
export const useButtonGroupContext = () => useContext(ButtonGroupContext);
|
|
7
8
|
//# sourceMappingURL=context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","names":["createContext","useContext","ButtonGroupContext","displayName","useButtonGroupContext"],"sources":["../../../src/Button/context.tsx"],"sourcesContent":["import { createContext, useContext } from 'react';\
|
|
1
|
+
{"version":3,"file":"context.js","names":["createContext","useContext","ButtonGroupContext","displayName","useButtonGroupContext"],"sources":["../../../src/Button/context.tsx"],"sourcesContent":["import { createContext, useContext } from 'react';\n\nimport type { ButtonVariants } from './Button';\n\n// ButtonGroup Component\nexport type ButtonGroupContextProps = {\n variant?: 'standard' | 'connected' | 'split';\n buttonVariant?: ButtonVariants;\n direction?: 'row' | 'column';\n connected?: boolean;\n};\n\nexport const ButtonGroupContext = createContext<ButtonGroupContextProps | null>(\n null\n);\nButtonGroupContext.displayName = 'ButtonGroupContext';\n\nexport const useButtonGroupContext = (): ButtonGroupContextProps | null =>\n useContext(ButtonGroupContext);\n"],"mappings":"AAAA,SAASA,aAAa,EAAEC,UAAU,QAAQ,OAAO;;AAIjD;;AAQA,OAAO,MAAMC,kBAAkB,gBAAGF,aAAa,CAC7C,IACF,CAAC;AACDE,kBAAkB,CAACC,WAAW,GAAG,oBAAoB;AAErD,OAAO,MAAMC,qBAAqB,GAAGA,CAAA,KACnCH,UAAU,CAACC,kBAAkB,CAAC","ignoreList":[]}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export * from './Button';
|
|
2
|
-
export * from './ButtonGroup';
|
|
1
|
+
export * from './Button';
|
|
2
|
+
export * from './ButtonGroup';
|
|
3
|
+
export * from './SplitButton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../../src/Button/index.ts"],"sourcesContent":["export * from './Button';\
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../src/Button/index.ts"],"sourcesContent":["export * from './Button';\nexport * from './ButtonGroup';\nexport * from './SplitButton';\n"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,eAAe","ignoreList":[]}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { ElementType, InputHTMLAttributes, ReactElement } from 'react';
|
|
2
|
-
import type { BoxProps } from '../Box';
|
|
3
|
-
export interface CheckBoxProps extends BoxProps<HTMLInputElement, InputHTMLAttributes<HTMLInputElement>> {
|
|
4
|
-
as?: ElementType<any>;
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
indeterminate?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
icon?: ReactElement<{
|
|
9
|
-
checked?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
}>;
|
|
12
|
-
}
|
|
13
|
-
export declare const CheckBox: import("react").ForwardRefExoticComponent<
|
|
1
|
+
import type { ElementType, InputHTMLAttributes, ReactElement } from 'react';
|
|
2
|
+
import type { BoxProps } from '../Box';
|
|
3
|
+
export interface CheckBoxProps extends BoxProps<HTMLInputElement, InputHTMLAttributes<HTMLInputElement>> {
|
|
4
|
+
as?: ElementType<any>;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
indeterminate?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
icon?: ReactElement<{
|
|
9
|
+
checked?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
export declare const CheckBox: import("react").ForwardRefExoticComponent<Omit<CheckBoxProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
-
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
5
|
-
var _excluded = ["as", "disabled", "checked", "indeterminate", "onChange", "icon", "__css"],
|
|
6
|
-
_excluded2 = ["as", "icon", "disabled", "children"];
|
|
7
1
|
import { forwardRef, cloneElement } from 'react';
|
|
8
2
|
import { CheckBox as _CheckBoxCore } from '@basic-ui/core';
|
|
9
3
|
import { RippleBox } from '../Ripple';
|
|
@@ -11,49 +5,35 @@ import { Box } from '../Box';
|
|
|
11
5
|
import { useTheme } from '../theme';
|
|
12
6
|
import { CheckBoxIcon } from './CheckBoxIcon';
|
|
13
7
|
import { SelectionControlLabel, SelectionControlText } from '../SelectionControl';
|
|
14
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
-
|
|
16
|
-
var CheckBoxCore = _CheckBoxCore;
|
|
17
|
-
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
const CheckBoxCore = _CheckBoxCore;
|
|
18
10
|
function getColors(disabled, checked) {
|
|
19
11
|
if (checked && disabled) {
|
|
20
12
|
return ['on.surface', 'transparent', 0.38];
|
|
21
13
|
} else if (checked) {
|
|
22
14
|
return ['primary', 'primary', 1];
|
|
23
15
|
}
|
|
24
|
-
|
|
25
16
|
return ['transparent', 'on.surface', disabled ? 0.38 : 0.54];
|
|
26
17
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
otherProps = _objectWithoutProperties(props, _excluded);
|
|
42
|
-
|
|
43
|
-
var color = checked ? 'primary' : 'on.surface';
|
|
44
|
-
var theme = useTheme();
|
|
45
|
-
|
|
46
|
-
var _getColors = getColors(disabled, checked),
|
|
47
|
-
_getColors2 = _slicedToArray(_getColors, 3),
|
|
48
|
-
backgroundColor = _getColors2[0],
|
|
49
|
-
borderColor = _getColors2[1],
|
|
50
|
-
opacity = _getColors2[2];
|
|
51
|
-
|
|
18
|
+
const CheckBoxInner = /*#__PURE__*/forwardRef(function CheckBoxInner(props, forwardedRef) {
|
|
19
|
+
const {
|
|
20
|
+
as: Comp = 'input',
|
|
21
|
+
disabled,
|
|
22
|
+
checked,
|
|
23
|
+
indeterminate = false,
|
|
24
|
+
onChange,
|
|
25
|
+
icon = /*#__PURE__*/_jsx(CheckBoxIcon, {}),
|
|
26
|
+
__css,
|
|
27
|
+
...otherProps
|
|
28
|
+
} = props;
|
|
29
|
+
const color = checked ? 'primary' : 'on.surface';
|
|
30
|
+
const theme = useTheme();
|
|
31
|
+
const [backgroundColor, borderColor, opacity] = getColors(disabled, checked);
|
|
52
32
|
return /*#__PURE__*/_jsxs(Box, {
|
|
53
33
|
position: "relative",
|
|
54
34
|
display: "inline-block",
|
|
55
35
|
minWidth: "auto",
|
|
56
|
-
children: [/*#__PURE__*/_jsx(RippleBox,
|
|
36
|
+
children: [/*#__PURE__*/_jsx(RippleBox, {
|
|
57
37
|
as: Comp,
|
|
58
38
|
type: "checkbox",
|
|
59
39
|
checked: checked,
|
|
@@ -67,9 +47,9 @@ var CheckBoxInner = /*#__PURE__*/forwardRef(function CheckBoxInner(props, forwar
|
|
|
67
47
|
center: true,
|
|
68
48
|
disabled: disabled,
|
|
69
49
|
"aria-checked": indeterminate ? checked ? 'mixed' : 'false' : checked ? 'true' : 'false',
|
|
70
|
-
"data-indeterminate": indeterminate ? '' : undefined
|
|
71
|
-
|
|
72
|
-
__css:
|
|
50
|
+
"data-indeterminate": indeterminate ? '' : undefined,
|
|
51
|
+
...otherProps,
|
|
52
|
+
__css: {
|
|
73
53
|
top: 0,
|
|
74
54
|
left: 0,
|
|
75
55
|
width: "2.5rem",
|
|
@@ -81,9 +61,10 @@ var CheckBoxInner = /*#__PURE__*/forwardRef(function CheckBoxInner(props, forwar
|
|
|
81
61
|
border: 'none',
|
|
82
62
|
borderRadius: 'full',
|
|
83
63
|
zIndex: 1,
|
|
84
|
-
position: 'absolute'
|
|
85
|
-
|
|
86
|
-
|
|
64
|
+
position: 'absolute',
|
|
65
|
+
...__css
|
|
66
|
+
}
|
|
67
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
87
68
|
__css: {
|
|
88
69
|
position: 'relative',
|
|
89
70
|
top: 0,
|
|
@@ -96,34 +77,37 @@ var CheckBoxInner = /*#__PURE__*/forwardRef(function CheckBoxInner(props, forwar
|
|
|
96
77
|
},
|
|
97
78
|
role: "presentation",
|
|
98
79
|
"aria-hidden": "true",
|
|
99
|
-
children: /*#__PURE__*/cloneElement(icon,
|
|
100
|
-
checked
|
|
101
|
-
indeterminate
|
|
102
|
-
|
|
80
|
+
children: /*#__PURE__*/cloneElement(icon, {
|
|
81
|
+
checked,
|
|
82
|
+
indeterminate,
|
|
83
|
+
['data-checkbox-icon']: '',
|
|
84
|
+
disabled,
|
|
85
|
+
backgroundColor,
|
|
86
|
+
borderColor,
|
|
87
|
+
opacity
|
|
88
|
+
})
|
|
103
89
|
})]
|
|
104
90
|
});
|
|
105
91
|
});
|
|
106
|
-
export
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
var inner = /*#__PURE__*/_jsx(CheckBoxCore, _extends({
|
|
92
|
+
export const CheckBox = /*#__PURE__*/forwardRef(function CheckBox(props, forwardedRef) {
|
|
93
|
+
const {
|
|
94
|
+
as = 'input',
|
|
95
|
+
icon = /*#__PURE__*/_jsx(CheckBoxIcon, {}),
|
|
96
|
+
disabled,
|
|
97
|
+
children,
|
|
98
|
+
...otherProps
|
|
99
|
+
} = props;
|
|
100
|
+
const inner = /*#__PURE__*/_jsx(CheckBoxCore, {
|
|
116
101
|
as: CheckBoxInner,
|
|
117
102
|
innerAs: as,
|
|
118
103
|
ref: forwardedRef,
|
|
119
104
|
icon: icon,
|
|
120
|
-
disabled: disabled
|
|
121
|
-
|
|
122
|
-
|
|
105
|
+
disabled: disabled,
|
|
106
|
+
...otherProps
|
|
107
|
+
});
|
|
123
108
|
if (!children) {
|
|
124
109
|
return inner;
|
|
125
110
|
}
|
|
126
|
-
|
|
127
111
|
return /*#__PURE__*/_jsxs(SelectionControlLabel, {
|
|
128
112
|
children: [inner, /*#__PURE__*/_jsx(SelectionControlText, {
|
|
129
113
|
disabled: disabled,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBox.js","names":["forwardRef","cloneElement","CheckBox","_CheckBoxCore","RippleBox","Box","useTheme","CheckBoxIcon","SelectionControlLabel","SelectionControlText","CheckBoxCore","getColors","disabled","checked","CheckBoxInner","props","forwardedRef","as","Comp","indeterminate","onChange","icon","__css","otherProps","color","theme","backgroundColor","borderColor","opacity","undefined","top","left","width","height","appearance","outline","border","borderRadius","zIndex","
|
|
1
|
+
{"version":3,"file":"CheckBox.js","names":["forwardRef","cloneElement","CheckBox","_CheckBoxCore","RippleBox","Box","useTheme","CheckBoxIcon","SelectionControlLabel","SelectionControlText","jsx","_jsx","jsxs","_jsxs","CheckBoxCore","getColors","disabled","checked","CheckBoxInner","props","forwardedRef","as","Comp","indeterminate","onChange","icon","__css","otherProps","color","theme","backgroundColor","borderColor","opacity","position","display","minWidth","children","type","ref","rippleColor","baseOpacity","hoverOpacity","focusOpacity","center","undefined","top","left","width","height","appearance","outline","border","borderRadius","zIndex","alignItems","justifyContent","role","inner","innerAs"],"sources":["../../../src/CheckBox/CheckBox.tsx"],"sourcesContent":["import type { ElementType, FC, InputHTMLAttributes, ReactElement } from 'react';\nimport { forwardRef, cloneElement } from 'react';\nimport { rem } from 'polished';\nimport { CheckBox as _CheckBoxCore } from '@basic-ui/core';\n\nimport type { RippleBoxProps } from '../Ripple';\nimport { RippleBox } from '../Ripple';\nimport type { BoxProps } from '../Box';\nimport { Box } from '../Box';\nimport { useTheme } from '../theme';\nimport { CheckBoxIcon } from './CheckBoxIcon';\nimport {\n SelectionControlLabel,\n SelectionControlText,\n} from '../SelectionControl';\n\nexport interface CheckBoxProps\n extends BoxProps<HTMLInputElement, InputHTMLAttributes<HTMLInputElement>> {\n as?: ElementType<any>;\n checked?: boolean;\n indeterminate?: boolean;\n disabled?: boolean;\n icon?: ReactElement<{ checked?: boolean; disabled?: boolean }>;\n}\n\nconst CheckBoxCore: FC<\n CheckBoxProps & {\n innerAs?: ElementType<any>;\n }\n> = _CheckBoxCore as any;\n\nfunction getColors(disabled?: boolean, checked?: boolean) {\n if (checked && disabled) {\n return ['on.surface', 'transparent', 0.38];\n } else if (checked) {\n return ['primary', 'primary', 1];\n }\n return ['transparent', 'on.surface', disabled ? 0.38 : 0.54];\n}\n\nconst CheckBoxInner = forwardRef<HTMLInputElement, CheckBoxProps>(\n function CheckBoxInner(props, forwardedRef) {\n const {\n as: Comp = 'input',\n disabled,\n checked,\n indeterminate = false,\n onChange,\n icon = <CheckBoxIcon />,\n __css,\n ...otherProps\n } = props;\n const color = checked ? 'primary' : 'on.surface';\n const theme = useTheme();\n const [backgroundColor, borderColor, opacity] = getColors(\n disabled,\n checked\n );\n\n return (\n <Box position=\"relative\" display=\"inline-block\" minWidth=\"auto\">\n <RippleBox<\n RippleBoxProps<\n HTMLInputElement,\n InputHTMLAttributes<HTMLInputElement>\n >\n >\n as={Comp}\n type=\"checkbox\"\n checked={checked}\n onChange={onChange}\n theme={theme}\n ref={forwardedRef}\n rippleColor={color}\n baseOpacity={0}\n hoverOpacity={checked ? 0.16 : 0.12}\n focusOpacity={checked ? 0.24 : 0.16}\n center={true}\n disabled={disabled}\n aria-checked={\n indeterminate\n ? checked\n ? 'mixed'\n : 'false'\n : checked\n ? 'true'\n : 'false'\n }\n data-indeterminate={indeterminate ? '' : undefined}\n {...otherProps}\n __css={{\n top: 0,\n left: 0,\n width: rem(40),\n height: rem(40),\n appearance: 'none',\n ':focus': {\n outline: 'none',\n },\n border: 'none',\n borderRadius: 'full',\n zIndex: 1,\n position: 'absolute',\n ...__css,\n }}\n />\n <Box\n __css={{\n position: 'relative',\n top: 0,\n left: 0,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: rem(40),\n width: rem(40),\n }}\n role=\"presentation\"\n aria-hidden=\"true\"\n >\n {cloneElement(icon, {\n checked,\n indeterminate,\n ['data-checkbox-icon']: '',\n disabled,\n backgroundColor,\n borderColor,\n opacity,\n })}\n </Box>\n </Box>\n );\n }\n);\n\nexport const CheckBox = forwardRef<HTMLInputElement, CheckBoxProps>(\n function CheckBox(props, forwardedRef) {\n const {\n as = 'input',\n icon = <CheckBoxIcon />,\n disabled,\n children,\n ...otherProps\n } = props;\n\n const inner = (\n <CheckBoxCore\n as={CheckBoxInner}\n innerAs={as}\n ref={forwardedRef}\n icon={icon}\n disabled={disabled}\n {...otherProps}\n />\n );\n\n if (!children) {\n return inner;\n }\n\n return (\n <SelectionControlLabel>\n {inner}\n <SelectionControlText disabled={disabled}>\n {children}\n </SelectionControlText>\n </SelectionControlLabel>\n );\n }\n);\n"],"mappings":"AACA,SAASA,UAAU,EAAEC,YAAY,QAAQ,OAAO;AAEhD,SAASC,QAAQ,IAAIC,aAAa,QAAQ,gBAAgB;AAG1D,SAASC,SAAS,QAAQ,WAAW;AAErC,SAASC,GAAG,QAAQ,QAAQ;AAC5B,SAASC,QAAQ,QAAQ,UAAU;AACnC,SAASC,YAAY,QAAQ,gBAAgB;AAC7C,SACEC,qBAAqB,EACrBC,oBAAoB,QACf,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAW7B,MAAMC,YAIL,GAAGX,aAAoB;AAExB,SAASY,SAASA,CAACC,QAAkB,EAAEC,OAAiB,EAAE;EACxD,IAAIA,OAAO,IAAID,QAAQ,EAAE;IACvB,OAAO,CAAC,YAAY,EAAE,aAAa,EAAE,IAAI,CAAC;EAC5C,CAAC,MAAM,IAAIC,OAAO,EAAE;IAClB,OAAO,CAAC,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;EAClC;EACA,OAAO,CAAC,aAAa,EAAE,YAAY,EAAED,QAAQ,GAAG,IAAI,GAAG,IAAI,CAAC;AAC9D;AAE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