@smart-react-components/ui 2.1.8 → 2.2.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/Alert/AlertIcon.d.ts +1 -1
- package/Alert/AlertIcon.js +3 -6
- package/Alert/AlertIcon.test.d.ts +1 -0
- package/Alert/AlertIcon.test.js +24 -0
- package/Alert/index.js +7 -12
- package/Alert/index.test.d.ts +1 -0
- package/Alert/index.test.js +21 -0
- package/Badge/BadgeIcon.d.ts +1 -1
- package/Badge/BadgeIcon.js +3 -3
- package/Badge/BadgeIcon.test.d.ts +1 -0
- package/Badge/BadgeIcon.test.js +27 -0
- package/Badge/BadgeList.d.ts +1 -1
- package/Badge/BadgeList.js +14 -20
- package/Badge/BadgeList.test.d.ts +1 -0
- package/Badge/BadgeList.test.js +19 -0
- package/Badge/index.js +6 -11
- package/Badge/index.test.d.ts +1 -0
- package/Badge/index.test.js +21 -0
- package/Breadcrumb/BreadcrumbItem.js +6 -5
- package/Breadcrumb/BreadcrumbItem.test.d.ts +1 -0
- package/Breadcrumb/BreadcrumbItem.test.js +27 -0
- package/Breadcrumb/BreadcrumbLink.js +7 -9
- package/Breadcrumb/BreadcrumbLink.test.d.ts +1 -0
- package/Breadcrumb/BreadcrumbLink.test.js +30 -0
- package/Breadcrumb/BreadcrumbList.d.ts +1 -1
- package/Breadcrumb/BreadcrumbList.js +12 -20
- package/Breadcrumb/BreadcrumbList.test.d.ts +1 -0
- package/Breadcrumb/BreadcrumbList.test.js +19 -0
- package/Button/ButtonAddon.js +4 -6
- package/Button/ButtonGroup.js +1 -4
- package/Button/ButtonGroup.test.d.ts +1 -0
- package/Button/ButtonGroup.test.js +19 -0
- package/Button/ButtonLink.js +6 -11
- package/Button/ButtonLink.test.d.ts +1 -0
- package/Button/ButtonLink.test.js +17 -0
- package/Button/ButtonList.d.ts +1 -1
- package/Button/ButtonList.js +31 -29
- package/Button/ButtonList.test.d.ts +1 -0
- package/Button/ButtonList.test.js +19 -0
- package/Button/ButtonLoading.d.ts +1 -1
- package/Button/ButtonLoading.js +8 -6
- package/Button/ButtonLoading.test.d.ts +1 -0
- package/Button/ButtonLoading.test.js +30 -0
- package/Button/ButtonSelect.d.ts +1 -1
- package/Button/ButtonSelect.js +19 -15
- package/Button/ButtonSelect.test.d.ts +1 -0
- package/Button/ButtonSelect.test.js +24 -0
- package/Button/index.js +22 -21
- package/Button/index.test.d.ts +1 -0
- package/Button/index.test.js +24 -0
- package/Checkbox/CheckboxAll.d.ts +1 -1
- package/Checkbox/CheckboxAll.js +8 -15
- package/Checkbox/CheckboxGroup.d.ts +2 -2
- package/Checkbox/CheckboxGroup.js +15 -4
- package/Checkbox/CheckboxGroup.test.d.ts +1 -0
- package/Checkbox/CheckboxGroup.test.js +19 -0
- package/Checkbox/index.d.ts +1 -1
- package/Checkbox/index.js +8 -15
- package/Checkbox/index.test.d.ts +1 -0
- package/Checkbox/index.test.js +62 -0
- package/ColorPicker/index.d.ts +2 -2
- package/ColorPicker/index.js +13 -23
- package/ColorPicker/index.test.d.ts +1 -0
- package/ColorPicker/index.test.js +15 -0
- package/DatePicker/index.js +12 -18
- package/Dropdown/DropdownCategory.d.ts +1 -1
- package/Dropdown/DropdownCategory.js +14 -14
- package/Dropdown/DropdownItem.js +8 -6
- package/Dropdown/DropdownItem.test.d.ts +1 -0
- package/Dropdown/DropdownItem.test.js +74 -0
- package/Dropdown/DropdownList.d.ts +1 -1
- package/Dropdown/DropdownList.js +4 -11
- package/Dropdown/DropdownList.test.d.ts +1 -0
- package/Dropdown/DropdownList.test.js +21 -0
- package/Dropdown/index.js +20 -9
- package/Dropdown/index.test.d.ts +1 -0
- package/Dropdown/index.test.js +24 -0
- package/FixedBox/index.d.ts +1 -1
- package/FixedBox/index.js +1 -1
- package/FixedBox/index.test.d.ts +1 -0
- package/FixedBox/index.test.js +33 -0
- package/Grid/Column.d.ts +19 -1
- package/Grid/Column.test.d.ts +1 -0
- package/Grid/Column.test.js +23 -0
- package/Grid/Container.d.ts +19 -1
- package/Grid/Container.test.d.ts +1 -0
- package/Grid/Container.test.js +19 -0
- package/Grid/Row.d.ts +19 -1
- package/Grid/Row.test.d.ts +1 -0
- package/Grid/Row.test.js +15 -0
- package/Input/InputAddon.js +4 -4
- package/Input/InputAddon.test.d.ts +1 -0
- package/Input/InputAddon.test.js +30 -0
- package/Input/InputColorPicker.js +41 -33
- package/Input/InputColorPicker.test.d.ts +1 -0
- package/Input/InputColorPicker.test.js +18 -0
- package/Input/InputDatePicker.js +25 -24
- package/Input/InputFile.d.ts +1 -1
- package/Input/InputFile.js +16 -25
- package/Input/InputFile.test.d.ts +1 -0
- package/Input/InputFile.test.js +27 -0
- package/Input/InputNumber.d.ts +1 -1
- package/Input/InputNumber.js +41 -21
- package/Input/InputNumber.test.d.ts +1 -0
- package/Input/InputNumber.test.js +15 -0
- package/Input/index.d.ts +1 -1
- package/Input/index.js +38 -21
- package/Input/index.test.d.ts +1 -0
- package/Input/index.test.js +38 -0
- package/Loading/index.js +1 -5
- package/Loading/index.test.d.ts +1 -0
- package/Loading/index.test.js +15 -0
- package/Modal/ModalBody.d.ts +10 -1
- package/Modal/ModalFooter.d.ts +10 -1
- package/Modal/ModalHeader.d.ts +10 -1
- package/Modal/ModalHeader.js +1 -2
- package/Modal/ModalTitle.d.ts +10 -1
- package/Modal/index.js +4 -15
- package/Modal/index.test.d.ts +1 -0
- package/Modal/index.test.js +39 -0
- package/Overlay/index.d.ts +1 -1
- package/Overlay/index.js +20 -16
- package/Overlay/index.test.d.ts +1 -0
- package/Overlay/index.test.js +16 -0
- package/Pagination/PaginationItem.js +5 -4
- package/Pagination/PaginationItem.test.d.ts +1 -0
- package/Pagination/PaginationItem.test.js +27 -0
- package/Pagination/PaginationLink.js +6 -8
- package/Pagination/PaginationLink.test.d.ts +1 -0
- package/Pagination/PaginationLink.test.js +30 -0
- package/Pagination/PaginationList.d.ts +1 -1
- package/Pagination/PaginationList.js +12 -20
- package/Pagination/PaginationList.test.d.ts +1 -0
- package/Pagination/PaginationList.test.js +19 -0
- package/PopUp/Alert.js +3 -12
- package/PopUp/Alert.test.d.ts +1 -0
- package/PopUp/Alert.test.js +23 -0
- package/PopUp/Confirm.js +3 -12
- package/PopUp/Confirm.test.d.ts +1 -0
- package/PopUp/Confirm.test.js +31 -0
- package/PopUp/Prompt.js +3 -12
- package/PopUp/Prompt.test.d.ts +1 -0
- package/PopUp/Prompt.test.js +33 -0
- package/Popover/index.d.ts +1 -1
- package/Popover/index.js +17 -7
- package/Popover/index.test.d.ts +1 -0
- package/Popover/index.test.js +34 -0
- package/ProgressBar/index.js +18 -8
- package/ProgressBar/index.test.d.ts +1 -0
- package/ProgressBar/index.test.js +23 -0
- package/README.md +0 -4
- package/Radio/RadioGroup.d.ts +2 -2
- package/Radio/RadioGroup.js +14 -4
- package/Radio/RadioGroup.test.d.ts +1 -0
- package/Radio/RadioGroup.test.js +19 -0
- package/Radio/index.d.ts +1 -1
- package/Radio/index.js +7 -13
- package/Radio/index.test.d.ts +1 -0
- package/Radio/index.test.js +48 -0
- package/Select/Option.js +14 -11
- package/Select/Option.test.d.ts +1 -0
- package/Select/Option.test.js +72 -0
- package/Select/OptionGroup.d.ts +1 -1
- package/Select/OptionGroup.js +21 -17
- package/Select/SelectBox.js +40 -43
- package/Select/SelectBox.test.d.ts +1 -0
- package/Select/SelectBox.test.js +24 -0
- package/Select/SelectSearchBox.d.ts +1 -1
- package/Select/SelectSearchBox.js +28 -19
- package/Select/index.d.ts +1 -1
- package/Select/index.js +25 -25
- package/Select/index.test.d.ts +1 -0
- package/Select/index.test.js +21 -0
- package/Switch/SwitchGroup.d.ts +1 -1
- package/Switch/SwitchGroup.test.d.ts +1 -0
- package/Switch/SwitchGroup.test.js +19 -0
- package/Switch/index.d.ts +1 -1
- package/Switch/index.js +4 -4
- package/Switch/index.test.d.ts +1 -0
- package/Switch/index.test.js +15 -0
- package/Table/TableContainer.d.ts +1 -1
- package/Table/TableContainer.js +5 -13
- package/Table/Td.d.ts +20 -1
- package/Table/Td.js +3 -1
- package/Table/Th.d.ts +19 -1
- package/Table/Tr.d.ts +10 -1
- package/Table/Tr.js +22 -25
- package/Table/Tr.test.d.ts +1 -0
- package/Table/Tr.test.js +23 -0
- package/Table/index.d.ts +1 -1
- package/Table/index.js +2 -11
- package/Textarea/index.js +10 -11
- package/Textarea/index.test.d.ts +1 -0
- package/Textarea/index.test.js +15 -0
- package/Tooltip/index.d.ts +1 -1
- package/Tooltip/index.test.d.ts +1 -0
- package/Tooltip/index.test.js +33 -0
- package/WaveEffect/index.d.ts +1 -1
- package/WaveEffect/index.test.d.ts +1 -0
- package/WaveEffect/index.test.js +29 -0
- package/components/Alert/AlertContent.d.ts +5 -3
- package/components/Alert/AlertElement.d.ts +23 -1
- package/components/Alert/AlertElement.js +26 -27
- package/components/Alert/AlertElement.test.d.ts +1 -0
- package/components/Alert/AlertElement.test.js +67 -0
- package/components/Alert/AlertIconElement.d.ts +23 -1
- package/components/Alert/AlertIconElement.js +20 -23
- package/components/Alert/AlertIconElement.test.d.ts +1 -0
- package/components/Alert/AlertIconElement.test.js +46 -0
- package/components/Badge/BadgeContent.d.ts +5 -3
- package/components/Badge/BadgeElement.d.ts +23 -1
- package/components/Badge/BadgeElement.js +80 -83
- package/components/Badge/BadgeElement.test.d.ts +1 -0
- package/components/Badge/BadgeElement.test.js +76 -0
- package/components/Badge/BadgeIconElement.d.ts +19 -1
- package/components/Badge/BadgeIconElement.js +46 -49
- package/components/Badge/BadgeIconElement.test.d.ts +1 -0
- package/components/Badge/BadgeIconElement.test.js +43 -0
- package/components/Badge/BadgeListElement.d.ts +23 -1
- package/components/Badge/BadgeListElement.js +1 -1
- package/components/Badge/BadgeListElement.test.d.ts +1 -0
- package/components/Badge/BadgeListElement.test.js +15 -0
- package/components/Breadcrumb/BreadcrumbItemElement.d.ts +10 -1
- package/components/Breadcrumb/BreadcrumbItemElement.js +49 -52
- package/components/Breadcrumb/BreadcrumbItemElement.test.d.ts +1 -0
- package/components/Breadcrumb/BreadcrumbItemElement.test.js +47 -0
- package/components/Breadcrumb/BreadcrumbListElement.d.ts +10 -1
- package/components/Breadcrumb/BreadcrumbListElement.js +8 -11
- package/components/Breadcrumb/BreadcrumbListElement.test.d.ts +1 -0
- package/components/Breadcrumb/BreadcrumbListElement.test.js +32 -0
- package/components/Button/ButtonAddonElement.d.ts +23 -1
- package/components/Button/ButtonAddonElement.js +39 -43
- package/components/Button/ButtonAddonElement.test.d.ts +1 -0
- package/components/Button/ButtonAddonElement.test.js +62 -0
- package/components/Button/ButtonContent.d.ts +5 -3
- package/components/Button/ButtonElement.d.ts +23 -1
- package/components/Button/ButtonElement.js +95 -99
- package/components/Button/ButtonElement.test.d.ts +1 -0
- package/components/Button/ButtonElement.test.js +101 -0
- package/components/Button/ButtonGroupElement.d.ts +26 -1
- package/components/Button/ButtonGroupElement.test.d.ts +1 -0
- package/components/Button/ButtonGroupElement.test.js +32 -0
- package/components/Button/ButtonListElement.d.ts +23 -1
- package/components/Button/ButtonListElement.test.d.ts +1 -0
- package/components/Button/ButtonListElement.test.js +32 -0
- package/components/Button/ButtonLoadingElement.d.ts +10 -1
- package/components/Button/ButtonLoadingElement.test.d.ts +1 -0
- package/components/Button/ButtonLoadingElement.test.js +19 -0
- package/components/Checkbox/CheckboxElement.d.ts +24 -1
- package/components/Checkbox/CheckboxElement.js +22 -33
- package/components/Checkbox/CheckboxElement.test.d.ts +1 -0
- package/components/Checkbox/CheckboxElement.test.js +38 -0
- package/components/ColorPicker/ButtonsSection/index.js +1 -1
- package/components/ColorPicker/ColorPickerElement.d.ts +23 -1
- package/components/ColorPicker/ColorPickerElement.js +4 -7
- package/components/ColorPicker/ConsoleSection/ConsoleSectionElement.d.ts +10 -1
- package/components/ColorPicker/ConsoleSection/ConsoleSectionElement.js +6 -9
- package/components/ColorPicker/ConsoleSection/index.js +10 -11
- package/components/ColorPicker/PaletteSection/PaletteItemElement.d.ts +23 -1
- package/components/ColorPicker/PaletteSection/PaletteItemElement.js +6 -9
- package/components/ColorPicker/PaletteSection/PaletteList.js +11 -11
- package/components/ColorPicker/PaletteSection/PaletteListContainerElement.d.ts +10 -1
- package/components/ColorPicker/PaletteSection/index.js +3 -2
- package/components/ColorPicker/PickerSection/DraggerElement.d.ts +10 -1
- package/components/ColorPicker/PickerSection/DraggerElement.js +6 -9
- package/components/ColorPicker/PickerSection/MajorDraggerElement.d.ts +38 -1
- package/components/ColorPicker/PickerSection/MajorDraggerElement.js +4 -7
- package/components/ColorPicker/PickerSection/MajorPicker.js +11 -11
- package/components/ColorPicker/PickerSection/MajorPickerElement.d.ts +39 -2
- package/components/ColorPicker/PickerSection/MajorPickerElement.js +1 -1
- package/components/ColorPicker/PickerSection/MinorDraggerElement.d.ts +38 -1
- package/components/ColorPicker/PickerSection/MinorPicker.js +7 -7
- package/components/ColorPicker/PickerSection/MinorPickerElement.d.ts +38 -1
- package/components/ColorPicker/PickerSection/OpacityPicker.js +11 -10
- package/components/ColorPicker/PickerSection/OpacityPickerElement.d.ts +39 -2
- package/components/ColorPicker/PickerSection/PickerElement.d.ts +10 -1
- package/components/ColorPicker/PickerSection/index.d.ts +2 -2
- package/components/ColorPicker/PickerSection/index.js +3 -3
- package/components/DatePicker/DatePicker/DatePickerHeader.js +1 -1
- package/components/DatePicker/DatePicker/DatePickerHeaderElement.d.ts +23 -1
- package/components/DatePicker/DatePicker/DatePickerHeaderElement.js +3 -6
- package/components/DatePicker/DatePicker/DatePickerItemElement.d.ts +23 -1
- package/components/DatePicker/DatePicker/DatePickerItemElement.js +14 -17
- package/components/DatePicker/DatePicker/DatePickerListElement.d.ts +10 -1
- package/components/DatePicker/DatePicker/DatePickerWeekItemElement.d.ts +23 -1
- package/components/DatePicker/DatePicker/DatePickerWeekItemElement.js +14 -17
- package/components/DatePicker/DatePicker/DatePickerWeekListElement.d.ts +10 -1
- package/components/DatePicker/DatePicker/MonthPicker.js +1 -1
- package/components/DatePicker/DatePicker/WeekPicker.js +2 -2
- package/components/DatePicker/DatePicker/YearPicker.js +1 -1
- package/components/DatePicker/DatePicker/index.js +5 -5
- package/components/DatePicker/DatePickerElement.d.ts +26 -1
- package/components/DatePicker/DatePickerHeader.js +1 -1
- package/components/DatePicker/DatePickerHeaderElement.d.ts +23 -1
- package/components/DatePicker/DatePickerHeaderElement.js +10 -13
- package/components/DatePicker/TimePicker/TimePickerArrowItem.js +5 -5
- package/components/DatePicker/TimePicker/TimePickerElement.d.ts +23 -1
- package/components/DatePicker/TimePicker/TimePickerElement.js +17 -20
- package/components/DatePicker/TimePicker/index.js +1 -1
- package/components/Dropdown/DropdownItemElement.d.ts +10 -1
- package/components/Dropdown/DropdownItemElement.js +30 -33
- package/components/Dropdown/DropdownItemElement.test.d.ts +1 -0
- package/components/Dropdown/DropdownItemElement.test.js +70 -0
- package/components/Dropdown/DropdownListElement.d.ts +23 -3
- package/components/Dropdown/DropdownListElement.js +11 -14
- package/components/Dropdown/DropdownListElement.test.d.ts +1 -0
- package/components/Dropdown/DropdownListElement.test.js +40 -0
- package/components/FixedBox/FixedBoxElement.d.ts +10 -1
- package/components/FixedBox/FixedBoxElement.test.d.ts +1 -0
- package/components/FixedBox/FixedBoxElement.test.js +23 -0
- package/components/FixedBox/OverlayElement.d.ts +17 -1
- package/components/FixedBox/OverlayElement.test.d.ts +1 -0
- package/components/FixedBox/OverlayElement.test.js +19 -0
- package/components/Form/FormBlockLabel.d.ts +23 -1
- package/components/Form/FormBlockLabel.js +8 -11
- package/components/Form/FormBlockLabel.test.d.ts +1 -0
- package/components/Form/FormBlockLabel.test.js +37 -0
- package/components/Form/FormGroup.d.ts +10 -1
- package/components/Form/FormInlineLabel.d.ts +23 -1
- package/components/Form/FormInlineLabel.js +6 -9
- package/components/Form/FormInlineLabel.test.d.ts +1 -0
- package/components/Form/FormInlineLabel.test.js +44 -0
- package/components/Form/HiddenInput.d.ts +3 -1
- package/components/Input/InputAddonElement.d.ts +23 -1
- package/components/Input/InputAddonElement.js +60 -60
- package/components/Input/InputAddonElement.test.d.ts +1 -0
- package/components/Input/InputAddonElement.test.js +67 -0
- package/components/Input/InputElement.d.ts +23 -1
- package/components/Input/InputElement.js +54 -58
- package/components/Input/InputElement.test.d.ts +1 -0
- package/components/Input/InputElement.test.js +74 -0
- package/components/Input/InputFileTemplate.d.ts +1 -1
- package/components/Input/InputFileTemplate.js +1 -1
- package/components/Input/InputFileTemplate.test.d.ts +1 -0
- package/components/Input/InputFileTemplate.test.js +54 -0
- package/components/Input/InputNumberTemplate.js +2 -2
- package/components/Input/InputNumberTemplate.test.d.ts +1 -0
- package/components/Input/InputNumberTemplate.test.js +43 -0
- package/components/Input/InputNumberTemplateElement.d.ts +23 -1
- package/components/Input/InputPlaceholder.d.ts +24 -1
- package/components/Input/InputPlaceholder.js +3 -1
- package/components/Input/InputWrapper.d.ts +10 -1
- package/components/Input/InputWrapper.js +18 -21
- package/components/Loading/LoadingElement.d.ts +24 -1
- package/components/Loading/LoadingElement.test.d.ts +1 -0
- package/components/Loading/LoadingElement.test.js +15 -0
- package/components/Modal/ModalElement.d.ts +23 -1
- package/components/Modal/ModalElement.test.d.ts +1 -0
- package/components/Modal/ModalElement.test.js +42 -0
- package/components/Modal/OverlayElement.d.ts +17 -1
- package/components/Modal/OverlayElement.test.d.ts +1 -0
- package/components/Modal/OverlayElement.test.js +40 -0
- package/components/Overlay/OverlayElement.d.ts +10 -1
- package/components/Overlay/OverlayElement.test.d.ts +1 -0
- package/components/Overlay/OverlayElement.test.js +27 -0
- package/components/Pagination/PaginationItemElement.d.ts +10 -1
- package/components/Pagination/PaginationItemElement.js +80 -83
- package/components/Pagination/PaginationItemElement.test.d.ts +1 -0
- package/components/Pagination/PaginationItemElement.test.js +51 -0
- package/components/Pagination/PaginationListElement.d.ts +10 -1
- package/components/Pagination/PaginationListElement.test.d.ts +1 -0
- package/components/Pagination/PaginationListElement.test.js +15 -0
- package/components/Popover/PopoverArrow.d.ts +6 -4
- package/components/Popover/PopoverElement.d.ts +29 -5
- package/components/Popover/PopoverElement.js +21 -24
- package/components/Popover/PopoverElement.test.d.ts +1 -0
- package/components/Popover/PopoverElement.test.js +77 -0
- package/components/ProgressBar/ProgressBarElement.d.ts +16 -3
- package/components/ProgressBar/ProgressBarElement.js +19 -22
- package/components/ProgressBar/ProgressBarElement.test.d.ts +1 -0
- package/components/ProgressBar/ProgressBarElement.test.js +75 -0
- package/components/Radio/RadioElement.d.ts +24 -1
- package/components/Radio/RadioElement.js +14 -23
- package/components/Radio/RadioElement.test.d.ts +1 -0
- package/components/Radio/RadioElement.test.js +37 -0
- package/components/Select/SelectElement.d.ts +56 -1
- package/components/Select/SelectElement.js +2 -2
- package/components/Select/SelectElement.test.d.ts +1 -0
- package/components/Select/SelectElement.test.js +32 -0
- package/components/Switch/SwitchElement.d.ts +25 -1
- package/components/Switch/SwitchElement.js +20 -26
- package/components/Switch/SwitchElement.test.d.ts +1 -0
- package/components/Switch/SwitchElement.test.js +37 -0
- package/components/Table/TableContainerElement.d.ts +10 -1
- package/components/Table/TableElement.d.ts +23 -1
- package/components/Table/TableElement.js +60 -63
- package/components/Tooltip/TooltipElement.d.ts +23 -3
- package/components/Tooltip/TooltipElement.js +15 -18
- package/components/Tooltip/TooltipElement.test.d.ts +1 -0
- package/components/Tooltip/TooltipElement.test.js +42 -0
- package/components/WaveEffect/WaveEffectElement.d.ts +10 -1
- package/components/WaveEffect/WaveEffectElement.test.d.ts +1 -0
- package/components/WaveEffect/WaveEffectElement.test.js +25 -0
- package/constants/date-picker.js +4 -4
- package/context/ColorPickerProps.d.ts +0 -1
- package/hooks/useAddons.d.ts +2 -2
- package/hooks/useAddons.js +6 -2
- package/hooks/useAddons.test.d.ts +1 -0
- package/hooks/useAddons.test.js +35 -0
- package/hooks/useFixedBoxMethods.d.ts +0 -1
- package/hooks/useFixedBoxMethods.js +3 -12
- package/hooks/useInputMethods.js +1 -1
- package/hooks/useInputMethods.test.d.ts +1 -0
- package/hooks/useInputMethods.test.js +94 -0
- package/hooks/useSelectBoxHover.d.ts +1 -1
- package/hooks/useSelectBoxItemList.d.ts +1 -1
- package/hooks/useSelectSearch.d.ts +1 -1
- package/icons/Add.d.ts +20 -5
- package/icons/ArrowDown.d.ts +20 -5
- package/icons/ArrowLeft.d.ts +20 -5
- package/icons/ArrowMultipleDown.d.ts +20 -5
- package/icons/ArrowRight.d.ts +20 -5
- package/icons/Cancel.d.ts +20 -5
- package/icons/CaretDown.d.ts +20 -5
- package/icons/CaretUp.d.ts +20 -5
- package/icons/Close.d.ts +20 -5
- package/icons/Date.d.ts +20 -5
- package/icons/Eraser.d.ts +20 -5
- package/icons/Palette.d.ts +20 -5
- package/icons/Save.d.ts +20 -5
- package/icons/Time.d.ts +20 -5
- package/package.json +25 -26
- package/types/button.d.ts +1 -1
- package/types/button.js +1 -1
- package/types/color-picker.d.ts +4 -4
- package/types/color-picker.js +1 -1
- package/types/form.d.ts +1 -1
- package/types/global.d.d.ts +5 -0
- package/types/global.d.js +1 -0
- package/types/index.d.ts +1 -1
- package/types/index.js +4 -4
- package/types/wave-effect.d.ts +1 -1
- package/util/color-picker.d.ts +4 -4
- package/util/color-picker.js +3 -3
- package/util/color-picker.test.d.ts +1 -0
- package/util/color-picker.test.js +38 -0
- package/util/css.test.d.ts +1 -0
- package/util/css.test.js +12 -0
- package/util/dom.test.d.ts +1 -0
- package/util/dom.test.js +8 -0
- package/util/fixed-box.js +12 -7
- package/util/form.test.d.ts +1 -0
- package/util/form.test.js +14 -0
- package/util/popover.js +4 -1
- package/util/props.js +11 -2
- package/util/props.test.d.ts +1 -0
- package/util/props.test.js +30 -0
- package/util/radio.test.d.ts +1 -0
- package/util/radio.test.js +10 -0
- package/util/wave-effect.test.d.ts +1 -0
- package/util/wave-effect.test.js +14 -0
|
@@ -17,9 +17,7 @@ exports.default = (0, styled_components_1.default)(Table_1.default).attrs({
|
|
|
17
17
|
font-size: ${t.$.size.table[v].headFontSize};
|
|
18
18
|
}
|
|
19
19
|
`,
|
|
20
|
-
})(({ theme, hasBorderX, hasBorderY, hasHeadBackground, hasHover, isBlock, isSoft, isStriped, palette, shape, stripedOrientation }) => {
|
|
21
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95;
|
|
22
|
-
return `
|
|
20
|
+
})(({ theme, hasBorderX, hasBorderY, hasHeadBackground, hasHover, isBlock, isSoft, isStriped, palette, shape, stripedOrientation }) => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65; var _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95; return `
|
|
23
21
|
border-collapse: separate;
|
|
24
22
|
border-spacing: 0;
|
|
25
23
|
empty-cells: hide;
|
|
@@ -31,10 +29,10 @@ exports.default = (0, styled_components_1.default)(Table_1.default).attrs({
|
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
${isBlock
|
|
34
|
-
|
|
32
|
+
? `
|
|
35
33
|
width: 100%;
|
|
36
34
|
`
|
|
37
|
-
|
|
35
|
+
: ''}
|
|
38
36
|
|
|
39
37
|
> * > tr > * {
|
|
40
38
|
border: solid 0;
|
|
@@ -42,24 +40,24 @@ exports.default = (0, styled_components_1.default)(Table_1.default).attrs({
|
|
|
42
40
|
fill: currentcolor;
|
|
43
41
|
|
|
44
42
|
${hasBorderX
|
|
45
|
-
|
|
43
|
+
? `
|
|
46
44
|
border-right-width: ${theme.$.length.table.border};
|
|
47
45
|
|
|
48
46
|
&:first-child {
|
|
49
47
|
border-left-width: ${theme.$.length.table.border};
|
|
50
48
|
}
|
|
51
49
|
`
|
|
52
|
-
|
|
50
|
+
: ''}
|
|
53
51
|
|
|
54
52
|
${hasBorderY
|
|
55
|
-
|
|
53
|
+
? `
|
|
56
54
|
border-bottom-width: ${theme.$.length.table.border};
|
|
57
55
|
`
|
|
58
|
-
|
|
56
|
+
: ''}
|
|
59
57
|
}
|
|
60
58
|
|
|
61
59
|
${hasBorderY
|
|
62
|
-
|
|
60
|
+
? `
|
|
63
61
|
> thead > tr > * {
|
|
64
62
|
border-bottom-width: ${theme.$.length.table.headBorder};
|
|
65
63
|
}
|
|
@@ -68,7 +66,7 @@ exports.default = (0, styled_components_1.default)(Table_1.default).attrs({
|
|
|
68
66
|
border-top-width: ${theme.$.length.table.border};
|
|
69
67
|
}
|
|
70
68
|
`
|
|
71
|
-
|
|
69
|
+
: ''}
|
|
72
70
|
|
|
73
71
|
> *:first-child > tr:first-child > * {
|
|
74
72
|
border-top-left-radius: ${theme.$.radius.table[shape]};
|
|
@@ -81,111 +79,110 @@ exports.default = (0, styled_components_1.default)(Table_1.default).attrs({
|
|
|
81
79
|
}
|
|
82
80
|
|
|
83
81
|
${!isSoft
|
|
84
|
-
|
|
82
|
+
? `
|
|
85
83
|
> * > tr > * {
|
|
86
|
-
background: ${(
|
|
87
|
-
border-color: ${(
|
|
88
|
-
color: ${(
|
|
84
|
+
background: ${(_66 = (_b = (_a = theme.$.palette[palette].table) === null || _a === void 0 ? void 0 : _a.odd) === null || _b === void 0 ? void 0 : _b.background) !== null && _66 !== void 0 ? _66 : theme.$.palette[palette].background};
|
|
85
|
+
border-color: ${(_67 = (_d = (_c = theme.$.palette[palette].table) === null || _c === void 0 ? void 0 : _c.odd) === null || _d === void 0 ? void 0 : _d.border) !== null && _67 !== void 0 ? _67 : theme.$.palette[palette].dynamicest};
|
|
86
|
+
color: ${(_68 = (_f = (_e = theme.$.palette[palette].table) === null || _e === void 0 ? void 0 : _e.odd) === null || _f === void 0 ? void 0 : _f.font) !== null && _68 !== void 0 ? _68 : theme.$.palette[palette].font};
|
|
89
87
|
}
|
|
90
88
|
|
|
91
89
|
${hasHeadBackground
|
|
92
|
-
|
|
90
|
+
? `
|
|
93
91
|
> thead > tr > * {
|
|
94
|
-
background: ${(
|
|
95
|
-
border-color: ${(
|
|
96
|
-
color: ${(
|
|
92
|
+
background: ${(_69 = (_h = (_g = theme.$.palette[palette].table) === null || _g === void 0 ? void 0 : _g.even) === null || _h === void 0 ? void 0 : _h.background) !== null && _69 !== void 0 ? _69 : theme.$.palette[palette].dynamic};
|
|
93
|
+
border-color: ${(_70 = (_k = (_j = theme.$.palette[palette].table) === null || _j === void 0 ? void 0 : _j.even) === null || _k === void 0 ? void 0 : _k.border) !== null && _70 !== void 0 ? _70 : theme.$.palette[palette].dynamicest};
|
|
94
|
+
color: ${(_71 = (_m = (_l = theme.$.palette[palette].table) === null || _l === void 0 ? void 0 : _l.even) === null || _m === void 0 ? void 0 : _m.font) !== null && _71 !== void 0 ? _71 : theme.$.palette[palette].font};
|
|
97
95
|
}
|
|
98
96
|
`
|
|
99
|
-
|
|
97
|
+
: ''}
|
|
100
98
|
|
|
101
99
|
${isStriped
|
|
102
|
-
|
|
100
|
+
? `
|
|
103
101
|
> tbody > tr:nth-child(${stripedOrientation}) > * {
|
|
104
|
-
background: ${(
|
|
105
|
-
border-color: ${(
|
|
106
|
-
color: ${(
|
|
102
|
+
background: ${(_72 = (_p = (_o = theme.$.palette[palette].table) === null || _o === void 0 ? void 0 : _o.even) === null || _p === void 0 ? void 0 : _p.background) !== null && _72 !== void 0 ? _72 : theme.$.palette[palette].dynamic};
|
|
103
|
+
border-color: ${(_73 = (_r = (_q = theme.$.palette[palette].table) === null || _q === void 0 ? void 0 : _q.even) === null || _r === void 0 ? void 0 : _r.border) !== null && _73 !== void 0 ? _73 : theme.$.palette[palette].dynamicest};
|
|
104
|
+
color: ${(_74 = (_t = (_s = theme.$.palette[palette].table) === null || _s === void 0 ? void 0 : _s.even) === null || _t === void 0 ? void 0 : _t.font) !== null && _74 !== void 0 ? _74 : theme.$.palette[palette].font};
|
|
107
105
|
}
|
|
108
106
|
`
|
|
109
|
-
|
|
107
|
+
: ''}
|
|
110
108
|
|
|
111
109
|
${hasHover
|
|
112
|
-
|
|
110
|
+
? `
|
|
113
111
|
> tbody > tr {
|
|
114
112
|
> * {
|
|
115
113
|
transition: background 150ms 0s ease-in-out;
|
|
116
114
|
}
|
|
117
115
|
|
|
118
116
|
&:hover > * {
|
|
119
|
-
background: ${(
|
|
120
|
-
border-color: ${(
|
|
121
|
-
color: ${(
|
|
117
|
+
background: ${(_75 = (_w = (_v = (_u = theme.$.palette[palette].table) === null || _u === void 0 ? void 0 : _u.odd) === null || _v === void 0 ? void 0 : _v.hover) === null || _w === void 0 ? void 0 : _w.background) !== null && _75 !== void 0 ? _75 : theme.$.palette[palette].dynamicer};
|
|
118
|
+
border-color: ${(_76 = (_z = (_y = (_x = theme.$.palette[palette].table) === null || _x === void 0 ? void 0 : _x.odd) === null || _y === void 0 ? void 0 : _y.hover) === null || _z === void 0 ? void 0 : _z.border) !== null && _76 !== void 0 ? _76 : theme.$.palette[palette].dynamicest};
|
|
119
|
+
color: ${(_77 = (_2 = (_1 = (_0 = theme.$.palette[palette].table) === null || _0 === void 0 ? void 0 : _0.odd) === null || _1 === void 0 ? void 0 : _1.hover) === null || _2 === void 0 ? void 0 : _2.font) !== null && _77 !== void 0 ? _77 : theme.$.palette[palette].font};
|
|
122
120
|
}
|
|
123
121
|
|
|
124
|
-
${(isStriped && ((
|
|
125
|
-
|
|
122
|
+
${(isStriped && ((_5 = (_4 = (_3 = theme.$.palette[palette].table) === null || _3 === void 0 ? void 0 : _3.even) === null || _4 === void 0 ? void 0 : _4.hover) === null || _5 === void 0 ? void 0 : _5.background))
|
|
123
|
+
? `
|
|
126
124
|
> tbody > tr:nth-child(${stripedOrientation}) > * {
|
|
127
|
-
background: ${(
|
|
128
|
-
border-color: ${(
|
|
129
|
-
color: ${(
|
|
125
|
+
background: ${(_78 = (_8 = (_7 = (_6 = theme.$.palette[palette].table) === null || _6 === void 0 ? void 0 : _6.even) === null || _7 === void 0 ? void 0 : _7.hover) === null || _8 === void 0 ? void 0 : _8.background) !== null && _78 !== void 0 ? _78 : theme.$.palette[palette].dynamicer};
|
|
126
|
+
border-color: ${(_79 = (_11 = (_10 = (_9 = theme.$.palette[palette].table) === null || _9 === void 0 ? void 0 : _9.even) === null || _10 === void 0 ? void 0 : _10.hover) === null || _11 === void 0 ? void 0 : _11.border) !== null && _79 !== void 0 ? _79 : theme.$.palette[palette].dynamicest};
|
|
127
|
+
color: ${(_80 = (_14 = (_13 = (_12 = theme.$.palette[palette].table) === null || _12 === void 0 ? void 0 : _12.even) === null || _13 === void 0 ? void 0 : _13.hover) === null || _14 === void 0 ? void 0 : _14.font) !== null && _80 !== void 0 ? _80 : theme.$.palette[palette].font};
|
|
130
128
|
}
|
|
131
129
|
`
|
|
132
|
-
|
|
130
|
+
: ''}
|
|
133
131
|
}
|
|
134
132
|
`
|
|
135
|
-
|
|
133
|
+
: ''}
|
|
136
134
|
`
|
|
137
|
-
|
|
135
|
+
: `
|
|
138
136
|
> * > tr > * {
|
|
139
|
-
background: ${(
|
|
140
|
-
border-color: ${(
|
|
141
|
-
color: ${(
|
|
137
|
+
background: ${(_81 = (_17 = (_16 = (_15 = theme.$.palette[palette].table) === null || _15 === void 0 ? void 0 : _15.odd) === null || _16 === void 0 ? void 0 : _16.soft) === null || _17 === void 0 ? void 0 : _17.background) !== null && _81 !== void 0 ? _81 : theme.$.palette[palette].softBackground};
|
|
138
|
+
border-color: ${(_82 = (_20 = (_19 = (_18 = theme.$.palette[palette].table) === null || _18 === void 0 ? void 0 : _18.odd) === null || _19 === void 0 ? void 0 : _19.soft) === null || _20 === void 0 ? void 0 : _20.border) !== null && _82 !== void 0 ? _82 : theme.$.palette[palette].softDynamicest};
|
|
139
|
+
color: ${(_83 = (_23 = (_22 = (_21 = theme.$.palette[palette].table) === null || _21 === void 0 ? void 0 : _21.odd) === null || _22 === void 0 ? void 0 : _22.soft) === null || _23 === void 0 ? void 0 : _23.font) !== null && _83 !== void 0 ? _83 : theme.$.palette[palette].softFont};
|
|
142
140
|
}
|
|
143
141
|
|
|
144
142
|
${hasHeadBackground
|
|
145
|
-
|
|
143
|
+
? `
|
|
146
144
|
> thead > tr > * {
|
|
147
|
-
background: ${(
|
|
148
|
-
border-color: ${(
|
|
149
|
-
color: ${(
|
|
145
|
+
background: ${(_84 = (_25 = (_24 = theme.$.palette[palette].table.even) === null || _24 === void 0 ? void 0 : _24.soft) === null || _25 === void 0 ? void 0 : _25.background) !== null && _84 !== void 0 ? _84 : theme.$.palette[palette].softDynamic};
|
|
146
|
+
border-color: ${(_85 = (_27 = (_26 = theme.$.palette[palette].table.even) === null || _26 === void 0 ? void 0 : _26.soft) === null || _27 === void 0 ? void 0 : _27.border) !== null && _85 !== void 0 ? _85 : theme.$.palette[palette].softDynamicest};
|
|
147
|
+
color: ${(_86 = (_29 = (_28 = theme.$.palette[palette].table.even) === null || _28 === void 0 ? void 0 : _28.soft) === null || _29 === void 0 ? void 0 : _29.font) !== null && _86 !== void 0 ? _86 : theme.$.palette[palette].softFont};
|
|
150
148
|
}
|
|
151
149
|
`
|
|
152
|
-
|
|
150
|
+
: ''}
|
|
153
151
|
|
|
154
152
|
${isStriped
|
|
155
|
-
|
|
153
|
+
? `
|
|
156
154
|
> tbody > tr:nth-child(${stripedOrientation}) > * {
|
|
157
|
-
background: ${(
|
|
158
|
-
border-color: ${(
|
|
159
|
-
color: ${(
|
|
155
|
+
background: ${(_87 = (_32 = (_31 = (_30 = theme.$.palette[palette].table) === null || _30 === void 0 ? void 0 : _30.even) === null || _31 === void 0 ? void 0 : _31.soft) === null || _32 === void 0 ? void 0 : _32.background) !== null && _87 !== void 0 ? _87 : theme.$.palette[palette].softDynamic};
|
|
156
|
+
border-color: ${(_88 = (_35 = (_34 = (_33 = theme.$.palette[palette].table) === null || _33 === void 0 ? void 0 : _33.even) === null || _34 === void 0 ? void 0 : _34.soft) === null || _35 === void 0 ? void 0 : _35.border) !== null && _88 !== void 0 ? _88 : theme.$.palette[palette].softDynamicest};
|
|
157
|
+
color: ${(_89 = (_38 = (_37 = (_36 = theme.$.palette[palette].table) === null || _36 === void 0 ? void 0 : _36.even) === null || _37 === void 0 ? void 0 : _37.soft) === null || _38 === void 0 ? void 0 : _38.font) !== null && _89 !== void 0 ? _89 : theme.$.palette[palette].softFont};
|
|
160
158
|
}
|
|
161
159
|
`
|
|
162
|
-
|
|
160
|
+
: ''}
|
|
163
161
|
|
|
164
162
|
${hasHover
|
|
165
|
-
|
|
163
|
+
? `
|
|
166
164
|
> tbody > tr {
|
|
167
165
|
> * {
|
|
168
166
|
transition: background 150ms 0s ease-in-out;
|
|
169
167
|
}
|
|
170
168
|
|
|
171
169
|
&:hover > * {
|
|
172
|
-
background: ${(
|
|
173
|
-
border-color: ${(
|
|
174
|
-
color: ${(
|
|
170
|
+
background: ${(_90 = (_42 = (_41 = (_40 = (_39 = theme.$.palette[palette].table) === null || _39 === void 0 ? void 0 : _39.odd) === null || _40 === void 0 ? void 0 : _40.soft) === null || _41 === void 0 ? void 0 : _41.hover) === null || _42 === void 0 ? void 0 : _42.background) !== null && _90 !== void 0 ? _90 : theme.$.palette[palette].softDynamicer};
|
|
171
|
+
border-color: ${(_91 = (_46 = (_45 = (_44 = (_43 = theme.$.palette[palette].table) === null || _43 === void 0 ? void 0 : _43.odd) === null || _44 === void 0 ? void 0 : _44.soft) === null || _45 === void 0 ? void 0 : _45.hover) === null || _46 === void 0 ? void 0 : _46.border) !== null && _91 !== void 0 ? _91 : theme.$.palette[palette].softDynamicest};
|
|
172
|
+
color: ${(_92 = (_50 = (_49 = (_48 = (_47 = theme.$.palette[palette].table) === null || _47 === void 0 ? void 0 : _47.odd) === null || _48 === void 0 ? void 0 : _48.soft) === null || _49 === void 0 ? void 0 : _49.hover) === null || _50 === void 0 ? void 0 : _50.font) !== null && _92 !== void 0 ? _92 : theme.$.palette[palette].softFont};
|
|
175
173
|
}
|
|
176
174
|
|
|
177
|
-
${(isStriped && ((
|
|
178
|
-
|
|
175
|
+
${(isStriped && ((_53 = (_52 = (_51 = theme.$.palette[palette].table) === null || _51 === void 0 ? void 0 : _51.even) === null || _52 === void 0 ? void 0 : _52.hover) === null || _53 === void 0 ? void 0 : _53.background))
|
|
176
|
+
? `
|
|
179
177
|
> tbody > tr:nth-child(${stripedOrientation}) > * {
|
|
180
|
-
background: ${(
|
|
181
|
-
border-color: ${(
|
|
182
|
-
color: ${(_95 = (
|
|
178
|
+
background: ${(_93 = (_57 = (_56 = (_55 = (_54 = theme.$.palette[palette].table) === null || _54 === void 0 ? void 0 : _54.even) === null || _55 === void 0 ? void 0 : _55.soft) === null || _56 === void 0 ? void 0 : _56.hover) === null || _57 === void 0 ? void 0 : _57.background) !== null && _93 !== void 0 ? _93 : theme.$.palette[palette].softDynamicer};
|
|
179
|
+
border-color: ${(_94 = (_61 = (_60 = (_59 = (_58 = theme.$.palette[palette].table) === null || _58 === void 0 ? void 0 : _58.even) === null || _59 === void 0 ? void 0 : _59.soft) === null || _60 === void 0 ? void 0 : _60.hover) === null || _61 === void 0 ? void 0 : _61.border) !== null && _94 !== void 0 ? _94 : theme.$.palette[palette].softDynamicest};
|
|
180
|
+
color: ${(_95 = (_65 = (_64 = (_63 = (_62 = theme.$.palette[palette].table) === null || _62 === void 0 ? void 0 : _62.even) === null || _63 === void 0 ? void 0 : _63.soft) === null || _64 === void 0 ? void 0 : _64.hover) === null || _65 === void 0 ? void 0 : _65.font) !== null && _95 !== void 0 ? _95 : theme.$.palette[palette].softFont};
|
|
183
181
|
}
|
|
184
182
|
`
|
|
185
|
-
|
|
183
|
+
: ''}
|
|
186
184
|
}
|
|
187
185
|
`
|
|
188
|
-
|
|
186
|
+
: ''}
|
|
189
187
|
`}
|
|
190
|
-
`;
|
|
191
|
-
});
|
|
188
|
+
`; });
|