@epam/uui 5.5.0 → 5.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/styles/buttonLayout.scss +67 -67
- package/assets/styles/controlLayout.scss +28 -28
- package/assets/styles/dnd.scss +9 -9
- package/assets/styles/effects.scss +7 -7
- package/assets/styles/icons.scss +19 -19
- package/assets/styles/index.scss +8 -8
- package/assets/styles/inputs.scss +74 -74
- package/assets/styles/text-size.scss +42 -42
- package/assets/styles/typography.scss +174 -174
- package/build/assets/styles/buttonLayout.scss +67 -0
- package/build/assets/styles/controlLayout.scss +28 -0
- package/build/assets/styles/dnd.scss +9 -0
- package/build/assets/styles/effects.scss +7 -0
- package/build/assets/styles/icons.scss +19 -0
- package/build/assets/styles/index.scss +8 -0
- package/build/assets/styles/inputs.scss +74 -0
- package/build/assets/styles/text-size.scss +42 -0
- package/build/assets/styles/typography.scss +174 -0
- package/build/components/tables/DataTableHeaderCell.d.ts +21 -0
- package/build/components/tables/DataTableHeaderCell.d.ts.map +1 -0
- package/build/index.esm.js +4740 -0
- package/build/index.esm.js.map +1 -0
- package/build/index.js +4905 -0
- package/build/index.js.map +1 -0
- package/build/package.json +37 -0
- package/build/readme.md +5 -0
- package/build/stats.html +4838 -0
- package/build/styles.css +11145 -0
- package/build/styles.css.map +1 -0
- package/components/buttons/Button.module.scss +157 -0
- package/components/buttons/Button.tsx +53 -0
- package/components/buttons/IconButton.module.scss +44 -0
- package/components/buttons/IconButton.tsx +23 -0
- package/components/buttons/LinkButton.module.scss +85 -0
- package/components/buttons/LinkButton.tsx +48 -0
- package/components/buttons/TabButton.module.scss +94 -0
- package/components/buttons/TabButton.tsx +50 -0
- package/components/buttons/VerticalTabButton.module.scss +7 -0
- package/components/buttons/VerticalTabButton.tsx +12 -0
- package/components/buttons/__tests__/Button.test.tsx +34 -0
- package/components/buttons/__tests__/IconButton.test.tsx +16 -0
- package/components/buttons/__tests__/LinkButton.test.tsx +16 -0
- package/components/buttons/__tests__/TabButton.test.tsx +16 -0
- package/components/buttons/__tests__/VerticalTabButton.test.tsx +16 -0
- package/components/buttons/__tests__/__snapshots__/Button.test.tsx.snap +60 -0
- package/components/buttons/__tests__/__snapshots__/IconButton.test.tsx.snap +34 -0
- package/components/buttons/__tests__/__snapshots__/LinkButton.test.tsx.snap +47 -0
- package/components/buttons/__tests__/__snapshots__/TabButton.test.tsx.snap +31 -0
- package/components/buttons/__tests__/__snapshots__/VerticalTabButton.test.tsx.snap +31 -0
- package/components/buttons/helper.ts +22 -0
- package/components/buttons/index.ts +5 -0
- package/components/datePickers/Calendar.module.scss +143 -0
- package/components/datePickers/Calendar.tsx +10 -0
- package/components/datePickers/CalendarPresets.module.scss +30 -0
- package/components/datePickers/CalendarPresets.tsx +9 -0
- package/components/datePickers/DatePicker.tsx +79 -0
- package/components/datePickers/DatePickerBody.module.scss +107 -0
- package/components/datePickers/DatePickerBody.tsx +78 -0
- package/components/datePickers/DatePickerHeader.module.scss +15 -0
- package/components/datePickers/DatePickerHeader.tsx +126 -0
- package/components/datePickers/RangeDatePicker.module.scss +101 -0
- package/components/datePickers/RangeDatePicker.tsx +120 -0
- package/components/datePickers/RangeDatePickerBody.module.scss +128 -0
- package/components/datePickers/RangeDatePickerBody.tsx +263 -0
- package/components/datePickers/__tests__/Calendar.test.tsx +11 -0
- package/components/datePickers/__tests__/CalendarPresets.test.tsx +11 -0
- package/components/datePickers/__tests__/DatePicker.test.tsx +153 -0
- package/components/datePickers/__tests__/DatePickerBody.test.tsx +64 -0
- package/components/datePickers/__tests__/DatePickerHeader.test.tsx +195 -0
- package/components/datePickers/__tests__/RangeDatePicker.test.tsx +323 -0
- package/components/datePickers/__tests__/RangeDatePickerBody.test.tsx +284 -0
- package/components/datePickers/__tests__/__snapshots__/Calendar.test.tsx.snap +524 -0
- package/components/datePickers/__tests__/__snapshots__/CalendarPresets.test.tsx.snap +61 -0
- package/components/datePickers/__tests__/__snapshots__/DatePicker.test.tsx.snap +59 -0
- package/components/datePickers/__tests__/__snapshots__/DatePickerBody.test.tsx.snap +619 -0
- package/components/datePickers/__tests__/__snapshots__/RangeDatePicker.test.tsx.snap +119 -0
- package/components/datePickers/__tests__/__snapshots__/RangeDatePickerBody.test.tsx.snap +1231 -0
- package/components/datePickers/index.ts +5 -0
- package/components/dnd/DropMarker.module.scss +62 -0
- package/components/dnd/DropMarker.tsx +28 -0
- package/components/dnd/__tests__/DropMarker.test.tsx +31 -0
- package/components/dnd/__tests__/__snapshots__/DropMarker.test.tsx.snap +7 -0
- package/components/dnd/index.tsx +1 -0
- package/components/fileUpload/DropSpot.module.scss +47 -0
- package/components/fileUpload/DropSpot.tsx +68 -0
- package/components/fileUpload/FileCard.module.scss +88 -0
- package/components/fileUpload/FileCard.tsx +147 -0
- package/components/fileUpload/SvgCircleProgress.module.scss +8 -0
- package/components/fileUpload/SvgCircleProgress.tsx +41 -0
- package/components/fileUpload/__tests__/DropSpot.test.tsx +15 -0
- package/components/fileUpload/__tests__/FileCard.test.tsx +57 -0
- package/components/fileUpload/__tests__/SvgCircleProgress.test.tsx +10 -0
- package/components/fileUpload/__tests__/__snapshots__/DropSpot.test.tsx.snap +130 -0
- package/components/fileUpload/__tests__/__snapshots__/FileCard.test.tsx.snap +266 -0
- package/components/fileUpload/__tests__/__snapshots__/SvgCircleProgress.test.tsx.snap +26 -0
- package/components/fileUpload/index.ts +3 -0
- package/components/filters/FilterDatePickerBody.tsx +58 -0
- package/components/filters/FilterItemBody.tsx +23 -0
- package/components/filters/FilterNumericBody.module.scss +4 -0
- package/components/filters/FilterNumericBody.tsx +131 -0
- package/components/filters/FilterPanelItemToggler.module.scss +140 -0
- package/components/filters/FilterPanelItemToggler.tsx +91 -0
- package/components/filters/FilterPickerBody.tsx +75 -0
- package/components/filters/FilterRangeDatePickerBody.module.scss +92 -0
- package/components/filters/FilterRangeDatePickerBody.tsx +85 -0
- package/components/filters/FiltersPanel.tsx +218 -0
- package/components/filters/FiltersPanelItem.module.scss +22 -0
- package/components/filters/FiltersPanelItem.tsx +269 -0
- package/components/filters/PresetPanel/Preset.module.scss +25 -0
- package/components/filters/PresetPanel/Preset.tsx +61 -0
- package/components/filters/PresetPanel/PresetActionsDropdown.module.scss +23 -0
- package/components/filters/PresetPanel/PresetActionsDropdown.tsx +138 -0
- package/components/filters/PresetPanel/PresetInput.module.scss +55 -0
- package/components/filters/PresetPanel/PresetInput.tsx +54 -0
- package/components/filters/PresetPanel/PresetsPanel.module.scss +34 -0
- package/components/filters/PresetPanel/PresetsPanel.tsx +112 -0
- package/components/filters/PresetPanel/__tests__/Preset.test.tsx +44 -0
- package/components/filters/PresetPanel/__tests__/PresetActionsDropdown.test.tsx +28 -0
- package/components/filters/PresetPanel/__tests__/PresetInput.test.tsx +10 -0
- package/components/filters/PresetPanel/__tests__/__snapshots__/Preset.test.tsx.snap +101 -0
- package/components/filters/PresetPanel/__tests__/__snapshots__/PresetActionsDropdown.test.tsx.snap +19 -0
- package/components/filters/PresetPanel/__tests__/__snapshots__/PresetInput.test.tsx.snap +38 -0
- package/components/filters/PresetPanel/__tests__/__snapshots__/presetsPanel.test.tsx.snap +101 -0
- package/components/filters/PresetPanel/__tests__/presetsPanel.test.tsx +381 -0
- package/components/filters/PresetPanel/constants.ts +4 -0
- package/components/filters/PresetPanel/index.ts +1 -0
- package/components/filters/__tests__/__snapshots__/filtersPanel.test.tsx.snap +295 -0
- package/components/filters/__tests__/filtersPanel.test.tsx +375 -0
- package/components/filters/constants.ts +4 -0
- package/components/filters/defaultPredicates.ts +11 -0
- package/components/filters/index.ts +4 -0
- package/components/forms/Form.tsx +39 -0
- package/components/forms/index.tsx +2 -0
- package/components/forms/useForm.tsx +39 -0
- package/components/index.ts +14 -0
- package/components/inputs/Checkbox.module.scss +162 -0
- package/components/inputs/Checkbox.tsx +43 -0
- package/components/inputs/InputAddon.module.scss +11 -0
- package/components/inputs/InputAddon.tsx +11 -0
- package/components/inputs/MultiSwitch.tsx +54 -0
- package/components/inputs/NumericInput.module.scss +97 -0
- package/components/inputs/NumericInput.tsx +53 -0
- package/components/inputs/RadioInput.module.scss +200 -0
- package/components/inputs/RadioInput.tsx +30 -0
- package/components/inputs/Slider.module.scss +130 -0
- package/components/inputs/Slider.tsx +11 -0
- package/components/inputs/Switch.module.scss +172 -0
- package/components/inputs/Switch.tsx +22 -0
- package/components/inputs/TextArea.module.scss +210 -0
- package/components/inputs/TextArea.tsx +47 -0
- package/components/inputs/TextInput.module.scss +199 -0
- package/components/inputs/TextInput.tsx +60 -0
- package/components/inputs/TimePicker.module.scss +68 -0
- package/components/inputs/TimePicker.tsx +79 -0
- package/components/inputs/TimePickerBody.tsx +10 -0
- package/components/inputs/__tests__/Checkbox.test.tsx +15 -0
- package/components/inputs/__tests__/InputAddon.test.tsx +12 -0
- package/components/inputs/__tests__/MultiSwitch.test.tsx +16 -0
- package/components/inputs/__tests__/NumericInput.test.tsx +19 -0
- package/components/inputs/__tests__/RadioInput.test.tsx +15 -0
- package/components/inputs/__tests__/Slider.test.tsx +22 -0
- package/components/inputs/__tests__/Switch.test.tsx +15 -0
- package/components/inputs/__tests__/TextArea.test.tsx +15 -0
- package/components/inputs/__tests__/TextInput.test.tsx +20 -0
- package/components/inputs/__tests__/TimePicker.test.tsx +19 -0
- package/components/inputs/__tests__/TimePickerBody.test.tsx +38 -0
- package/components/inputs/__tests__/__snapshots__/Checkbox.test.tsx.snap +37 -0
- package/components/inputs/__tests__/__snapshots__/InputAddon.test.tsx.snap +9 -0
- package/components/inputs/__tests__/__snapshots__/MultiSwitch.test.tsx.snap +37 -0
- package/components/inputs/__tests__/__snapshots__/NumericInput.test.tsx.snap +95 -0
- package/components/inputs/__tests__/__snapshots__/RadioInput.test.tsx.snap +40 -0
- package/components/inputs/__tests__/__snapshots__/Slider.test.tsx.snap +157 -0
- package/components/inputs/__tests__/__snapshots__/Switch.test.tsx.snap +48 -0
- package/components/inputs/__tests__/__snapshots__/TextArea.test.tsx.snap +38 -0
- package/components/inputs/__tests__/__snapshots__/TextInput.test.tsx.snap +55 -0
- package/components/inputs/__tests__/__snapshots__/TimePicker.test.tsx +19 -0
- package/components/inputs/__tests__/__snapshots__/TimePicker.test.tsx.snap +45 -0
- package/components/inputs/__tests__/__snapshots__/TimePickerBody.test.tsx +38 -0
- package/components/inputs/__tests__/__snapshots__/TimePickerBody.test.tsx.snap +327 -0
- package/components/inputs/__tests__/__snapshots__/__snapshots__/TimePicker.test.tsx.snap +45 -0
- package/components/inputs/__tests__/__snapshots__/__snapshots__/TimePickerBody.test.tsx.snap +327 -0
- package/components/inputs/index.ts +10 -0
- package/components/layout/Accordion.module.scss +180 -0
- package/components/layout/Accordion.tsx +35 -0
- package/components/layout/Blocker.module.scss +30 -0
- package/components/layout/Blocker.tsx +11 -0
- package/components/layout/CheckboxGroup.module.scss +21 -0
- package/components/layout/CheckboxGroup.tsx +74 -0
- package/components/layout/ControlGroup.module.scss +15 -0
- package/components/layout/ControlGroup.tsx +5 -0
- package/components/layout/FlexItems/FlexCell.module.scss +5 -0
- package/components/layout/FlexItems/FlexCell.tsx +11 -0
- package/components/layout/FlexItems/FlexRow.module.scss +122 -0
- package/components/layout/FlexItems/FlexRow.tsx +63 -0
- package/components/layout/FlexItems/Panel.module.scss +34 -0
- package/components/layout/FlexItems/Panel.tsx +29 -0
- package/components/layout/FlexItems/__tests__/FlexCell.test.tsx +15 -0
- package/components/layout/FlexItems/__tests__/FlexRow.test.tsx +17 -0
- package/components/layout/FlexItems/__tests__/FlexSpacer.test.tsx +10 -0
- package/components/layout/FlexItems/__tests__/Panel.test.tsx +15 -0
- package/components/layout/FlexItems/__tests__/__snapshots__/FlexCell.test.tsx.snap +34 -0
- package/components/layout/FlexItems/__tests__/__snapshots__/FlexRow.test.tsx.snap +26 -0
- package/components/layout/FlexItems/__tests__/__snapshots__/FlexSpacer.test.tsx.snap +7 -0
- package/components/layout/FlexItems/__tests__/__snapshots__/Panel.test.tsx.snap +14 -0
- package/components/layout/FlexItems/index.ts +4 -0
- package/components/layout/LabeledInput.module.scss +139 -0
- package/components/layout/LabeledInput.tsx +22 -0
- package/components/layout/RadioGroup.module.scss +21 -0
- package/components/layout/RadioGroup.tsx +68 -0
- package/components/layout/ScrollBars.module.scss +56 -0
- package/components/layout/ScrollBars.tsx +11 -0
- package/components/layout/VirtualList.module.scss +10 -0
- package/components/layout/VirtualList.tsx +126 -0
- package/components/layout/__tests__/Accordion.test.tsx +16 -0
- package/components/layout/__tests__/Blocker.test.tsx +10 -0
- package/components/layout/__tests__/CheckboxGroup.test.tsx +33 -0
- package/components/layout/__tests__/ControlGroup.test.tsx +18 -0
- package/components/layout/__tests__/LabeledInput.test.tsx +26 -0
- package/components/layout/__tests__/RadioGroup.test.tsx +33 -0
- package/components/layout/__tests__/ScrollBars.test.tsx +17 -0
- package/components/layout/__tests__/VirtualList.test.tsx +10 -0
- package/components/layout/__tests__/__snapshots__/Accordion.test.tsx.snap +65 -0
- package/components/layout/__tests__/__snapshots__/Blocker.test.tsx.snap +36 -0
- package/components/layout/__tests__/__snapshots__/CheckboxGroup.test.tsx.snap +99 -0
- package/components/layout/__tests__/__snapshots__/ControlGroup.test.tsx.snap +33 -0
- package/components/layout/__tests__/__snapshots__/LabeledInput.test.tsx.snap +89 -0
- package/components/layout/__tests__/__snapshots__/RadioGroup.test.tsx.snap +95 -0
- package/components/layout/__tests__/__snapshots__/ScrollBars.test.tsx.snap +68 -0
- package/components/layout/__tests__/__snapshots__/VirtualList.test.tsx.snap +90 -0
- package/components/layout/index.ts +10 -0
- package/components/navigation/Anchor.module.scss +7 -0
- package/components/navigation/Anchor.tsx +5 -0
- package/components/navigation/MainMenu/Burger/Burger.module.scss +81 -0
- package/components/navigation/MainMenu/Burger/Burger.tsx +18 -0
- package/components/navigation/MainMenu/Burger/BurgerButton.module.scss +69 -0
- package/components/navigation/MainMenu/Burger/BurgerButton.tsx +28 -0
- package/components/navigation/MainMenu/Burger/BurgerGroupHeader.module.scss +31 -0
- package/components/navigation/MainMenu/Burger/BurgerGroupHeader.tsx +19 -0
- package/components/navigation/MainMenu/Burger/BurgerSearch.module.scss +51 -0
- package/components/navigation/MainMenu/Burger/BurgerSearch.tsx +23 -0
- package/components/navigation/MainMenu/Burger/__tests__/Burger.test.tsx +13 -0
- package/components/navigation/MainMenu/Burger/__tests__/BurgerButton.test.tsx +18 -0
- package/components/navigation/MainMenu/Burger/__tests__/BurgerGroupHeader.test.tsx +10 -0
- package/components/navigation/MainMenu/Burger/__tests__/BurgerSearch.test.tsx +20 -0
- package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/Burger.test.tsx.snap +21 -0
- package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/BurgerButton.test.tsx.snap +46 -0
- package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/BurgerGroupHeader.test.tsx.snap +16 -0
- package/components/navigation/MainMenu/Burger/__tests__/__snapshots__/BurgerSearch.test.tsx.snap +55 -0
- package/components/navigation/MainMenu/Burger/index.ts +4 -0
- package/components/navigation/MainMenu/GlobalMenu.module.scss +32 -0
- package/components/navigation/MainMenu/GlobalMenu.tsx +15 -0
- package/components/navigation/MainMenu/MainMenu.module.scss +53 -0
- package/components/navigation/MainMenu/MainMenu.tsx +22 -0
- package/components/navigation/MainMenu/MainMenuAvatar.module.scss +41 -0
- package/components/navigation/MainMenu/MainMenuAvatar.tsx +31 -0
- package/components/navigation/MainMenu/MainMenuButton.module.scss +60 -0
- package/components/navigation/MainMenu/MainMenuButton.tsx +17 -0
- package/components/navigation/MainMenu/MainMenuDropdown.module.scss +44 -0
- package/components/navigation/MainMenu/MainMenuDropdown.tsx +47 -0
- package/components/navigation/MainMenu/MainMenuIcon.module.scss +25 -0
- package/components/navigation/MainMenu/MainMenuIcon.tsx +17 -0
- package/components/navigation/MainMenu/MainMenuSearch.module.scss +51 -0
- package/components/navigation/MainMenu/MainMenuSearch.tsx +27 -0
- package/components/navigation/MainMenu/__tests__/GlobalMenu.test.tsx +10 -0
- package/components/navigation/MainMenu/__tests__/MainMenu.test.tsx +45 -0
- package/components/navigation/MainMenu/__tests__/MainMenuAvatar.test.tsx +27 -0
- package/components/navigation/MainMenu/__tests__/MainMenuButton.test.tsx +30 -0
- package/components/navigation/MainMenu/__tests__/MainMenuDropdown.test.tsx +24 -0
- package/components/navigation/MainMenu/__tests__/MainMenuIcon.test.tsx +18 -0
- package/components/navigation/MainMenu/__tests__/MainMenuSearch.test.tsx +28 -0
- package/components/navigation/MainMenu/__tests__/__snapshots__/GlobalMenu.test.tsx.snap +17 -0
- package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenu.test.tsx.snap +103 -0
- package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuAvatar.test.tsx.snap +39 -0
- package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuButton.test.tsx.snap +37 -0
- package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuDropdown.test.tsx.snap +46 -0
- package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuIcon.test.tsx.snap +39 -0
- package/components/navigation/MainMenu/__tests__/__snapshots__/MainMenuSearch.test.tsx.snap +55 -0
- package/components/navigation/MainMenu/index.ts +8 -0
- package/components/navigation/__tests__/Anchor.test.tsx +21 -0
- package/components/navigation/__tests__/__snapshots__/Anchor.test.tsx.snap +29 -0
- package/components/navigation/index.ts +2 -0
- package/components/overlays/Alert.module.scss +77 -0
- package/components/overlays/Alert.tsx +89 -0
- package/components/overlays/ConfirmationModal.tsx +41 -0
- package/components/overlays/Dropdown.tsx +4 -0
- package/components/overlays/DropdownContainer.module.scss +93 -0
- package/components/overlays/DropdownContainer.tsx +27 -0
- package/components/overlays/DropdownMenu.module.scss +181 -0
- package/components/overlays/DropdownMenu.tsx +262 -0
- package/components/overlays/Modals.module.scss +63 -0
- package/components/overlays/Modals.tsx +92 -0
- package/components/overlays/NotificationCard.module.scss +76 -0
- package/components/overlays/NotificationCard.tsx +103 -0
- package/components/overlays/Tooltip.module.scss +90 -0
- package/components/overlays/Tooltip.tsx +24 -0
- package/components/overlays/__tests__/Alert.test.tsx +57 -0
- package/components/overlays/__tests__/ConfirmationModal.test.tsx +29 -0
- package/components/overlays/__tests__/Dropdown.test.tsx +16 -0
- package/components/overlays/__tests__/DropdownContainer.test.tsx +28 -0
- package/components/overlays/__tests__/DropdownMenu.test.tsx +26 -0
- package/components/overlays/__tests__/Modals.test.tsx +35 -0
- package/components/overlays/__tests__/NotificationCard.test.tsx +52 -0
- package/components/overlays/__tests__/Tooltip.test.tsx +20 -0
- package/components/overlays/__tests__/__snapshots__/Alert.test.tsx.snap +183 -0
- package/components/overlays/__tests__/__snapshots__/ConfirmationModal.test.tsx.snap +351 -0
- package/components/overlays/__tests__/__snapshots__/Dropdown.test.tsx.snap +51 -0
- package/components/overlays/__tests__/__snapshots__/DropdownContainer.test.tsx.snap +45 -0
- package/components/overlays/__tests__/__snapshots__/DropdownMenu.test.tsx.snap +90 -0
- package/components/overlays/__tests__/__snapshots__/Modals.test.tsx.snap +134 -0
- package/components/overlays/__tests__/__snapshots__/NotificationCard.test.tsx.snap +284 -0
- package/components/overlays/__tests__/__snapshots__/Tooltip.test.tsx.snap +5 -0
- package/components/overlays/index.ts +8 -0
- package/components/pickers/DataPickerBody.module.scss +54 -0
- package/components/pickers/DataPickerBody.tsx +69 -0
- package/components/pickers/DataPickerCell.module.scss +93 -0
- package/components/pickers/DataPickerCell.tsx +95 -0
- package/components/pickers/DataPickerFooter.tsx +85 -0
- package/components/pickers/DataPickerHeader.module.scss +19 -0
- package/components/pickers/DataPickerHeader.tsx +24 -0
- package/components/pickers/DataPickerRow.module.scss +11 -0
- package/components/pickers/DataPickerRow.tsx +38 -0
- package/components/pickers/MobileDropdownWrapper.module.scss +20 -0
- package/components/pickers/MobileDropdownWrapper.tsx +40 -0
- package/components/pickers/PickerInput.module.scss +39 -0
- package/components/pickers/PickerInput.tsx +197 -0
- package/components/pickers/PickerItem.module.scss +32 -0
- package/components/pickers/PickerItem.tsx +66 -0
- package/components/pickers/PickerList.tsx +83 -0
- package/components/pickers/PickerListItem.module.scss +3 -0
- package/components/pickers/PickerListItem.tsx +55 -0
- package/components/pickers/PickerModal.module.scss +27 -0
- package/components/pickers/PickerModal.tsx +167 -0
- package/components/pickers/PickerToggler.module.scss +249 -0
- package/components/pickers/PickerToggler.tsx +88 -0
- package/components/pickers/__tests__/DataPickerBody.test.tsx +58 -0
- package/components/pickers/__tests__/DataPickerRow.test.tsx +39 -0
- package/components/pickers/__tests__/PickerInput.test.tsx +1073 -0
- package/components/pickers/__tests__/PickerList.test.tsx +597 -0
- package/components/pickers/__tests__/PickerModal.test.tsx +521 -0
- package/components/pickers/__tests__/PickerToggler.test.tsx +40 -0
- package/components/pickers/__tests__/__snapshots__/DataPickerBody.test.tsx.snap +201 -0
- package/components/pickers/__tests__/__snapshots__/DataPickerRow.test.tsx.snap +100 -0
- package/components/pickers/__tests__/__snapshots__/PickerInput.test.tsx.snap +705 -0
- package/components/pickers/__tests__/__snapshots__/PickerList.test.tsx.snap +980 -0
- package/components/pickers/__tests__/__snapshots__/PickerModal.test.tsx.snap +2062 -0
- package/components/pickers/__tests__/__snapshots__/PickerToggler.test.tsx.snap +81 -0
- package/components/pickers/__tests__/highlight.test.tsx +37 -0
- package/components/pickers/__tests__/mocks.ts +87 -0
- package/components/pickers/helpers.ts +4 -0
- package/components/pickers/highlight.tsx +93 -0
- package/components/pickers/index.ts +12 -0
- package/components/pickers/types.ts +7 -0
- package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.tsx +46 -0
- package/components/tables/ColumnHeaderDropdown/SortingPanel.module.scss +14 -0
- package/components/tables/ColumnHeaderDropdown/SortingPanel.tsx +27 -0
- package/components/tables/ColumnHeaderDropdown/index.ts +1 -0
- package/components/tables/DataRowsContainer/DataRowsContainer.module.scss +21 -0
- package/components/tables/DataRowsContainer/DataRowsContainer.tsx +27 -0
- package/components/tables/DataRowsContainer/DataRowsGroups.tsx +86 -0
- package/components/tables/DataRowsContainer/index.tsx +1 -0
- package/components/tables/DataRowsContainer/utils.ts +15 -0
- package/components/tables/DataTable.module.scss +54 -0
- package/components/tables/DataTable.tsx +172 -0
- package/components/tables/DataTableCell.module.scss +65 -0
- package/components/tables/DataTableCell.tsx +51 -0
- package/components/tables/DataTableHeaderCell.module.scss +161 -0
- package/components/tables/DataTableHeaderCell.tsx +151 -0
- package/components/tables/DataTableHeaderRow.module.scss +23 -0
- package/components/tables/DataTableHeaderRow.tsx +19 -0
- package/components/tables/DataTableRow.module.scss +58 -0
- package/components/tables/DataTableRow.tsx +31 -0
- package/components/tables/__tests__/ColumnHeaderDropdown.test.tsx +25 -0
- package/components/tables/__tests__/DataTable.test.tsx +23 -0
- package/components/tables/__tests__/DataTableCell.test.tsx +66 -0
- package/components/tables/__tests__/DataTableHeaderCell.test.tsx +21 -0
- package/components/tables/__tests__/DataTableHeaderRow.test.tsx +28 -0
- package/components/tables/__tests__/DataTableRow.test.tsx +30 -0
- package/components/tables/__tests__/__snapshots__/ColumnHeaderDropdown.test.tsx.snap +138 -0
- package/components/tables/__tests__/__snapshots__/DataTable.test.tsx.snap +122 -0
- package/components/tables/__tests__/__snapshots__/DataTableCell.test.tsx.snap +45 -0
- package/components/tables/__tests__/__snapshots__/DataTableHeaderCell.test.tsx.snap +34 -0
- package/components/tables/__tests__/__snapshots__/DataTableHeaderRow.test.tsx.snap +51 -0
- package/components/tables/__tests__/__snapshots__/DataTableRow.test.tsx.snap +54 -0
- package/components/tables/columnsConfigurationModal/ColumnRow.module.scss +45 -0
- package/components/tables/columnsConfigurationModal/ColumnRow.tsx +66 -0
- package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.module.scss +55 -0
- package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.tsx +153 -0
- package/components/tables/columnsConfigurationModal/PinIconButton.tsx +55 -0
- package/components/tables/columnsConfigurationModal/__tests__/ColumnsConfigurationModal.test.tsx +72 -0
- package/components/tables/columnsConfigurationModal/__tests__/__snapshots__/ColumnsConfigurationModal.test.tsx.snap +877 -0
- package/components/tables/columnsConfigurationModal/index.ts +1 -0
- package/components/tables/index.ts +9 -0
- package/components/tables/types.ts +33 -0
- package/components/tables/variables.scss +25 -0
- package/components/types.ts +34 -0
- package/components/typography/RichTextView.tsx +17 -0
- package/components/typography/Text.module.scss +54 -0
- package/components/typography/Text.tsx +59 -0
- package/components/typography/TextPlaceholder.module.scss +46 -0
- package/components/typography/TextPlaceholder.tsx +38 -0
- package/components/typography/__tests__/RichTextView.test.tsx +27 -0
- package/components/typography/__tests__/Text.test.tsx +21 -0
- package/components/typography/__tests__/TextPlaceholder.test.tsx +23 -0
- package/components/typography/__tests__/__snapshots__/RichTextView.test.tsx.snap +21 -0
- package/components/typography/__tests__/__snapshots__/Text.test.tsx.snap +18 -0
- package/components/typography/__tests__/__snapshots__/TextPlaceholder.test.tsx.snap +65 -0
- package/components/typography/index.ts +3 -0
- package/components/widgets/AvatarStack.module.scss +36 -0
- package/components/widgets/AvatarStack.tsx +5 -0
- package/components/widgets/Badge.module.scss +334 -0
- package/components/widgets/Badge.tsx +97 -0
- package/components/widgets/CountIndicator.module.scss +52 -0
- package/components/widgets/CountIndicator.tsx +38 -0
- package/components/widgets/DataRowAddons.module.scss +57 -0
- package/components/widgets/DataRowAddons.tsx +66 -0
- package/components/widgets/IndeterminateBar.module.scss +42 -0
- package/components/widgets/IndeterminateBar.tsx +16 -0
- package/components/widgets/IndicatorBar.module.scss +3 -0
- package/components/widgets/IndicatorBar.tsx +20 -0
- package/components/widgets/Paginator.module.scss +66 -0
- package/components/widgets/Paginator.tsx +64 -0
- package/components/widgets/ProgressBar.module.scss +52 -0
- package/components/widgets/ProgressBar.tsx +33 -0
- package/components/widgets/Spinner.module.scss +38 -0
- package/components/widgets/Spinner.tsx +11 -0
- package/components/widgets/StatusIndicator.module.scss +72 -0
- package/components/widgets/StatusIndicator.tsx +50 -0
- package/components/widgets/Tag.module.scss +142 -0
- package/components/widgets/Tag.tsx +73 -0
- package/components/widgets/__tests__/AvatarStack.test.tsx +19 -0
- package/components/widgets/__tests__/Badge.test.tsx +30 -0
- package/components/widgets/__tests__/IndeterminateBar.test.tsx +15 -0
- package/components/widgets/__tests__/IndicatorBar.test.tsx +15 -0
- package/components/widgets/__tests__/Paginator.test.tsx +19 -0
- package/components/widgets/__tests__/ProgressBar.test.tsx +25 -0
- package/components/widgets/__tests__/Spinner.test.tsx +10 -0
- package/components/widgets/__tests__/StatusIndicator.test.tsx +17 -0
- package/components/widgets/__tests__/Tag.test.tsx +18 -0
- package/components/widgets/__tests__/__snapshots__/AvatarStack.test.tsx.snap +55 -0
- package/components/widgets/__tests__/__snapshots__/Badge.test.tsx.snap +48 -0
- package/components/widgets/__tests__/__snapshots__/IndeterminateBar.test.tsx.snap +21 -0
- package/components/widgets/__tests__/__snapshots__/IndicatorBar.test.tsx.snap +30 -0
- package/components/widgets/__tests__/__snapshots__/Paginator.test.tsx.snap +127 -0
- package/components/widgets/__tests__/__snapshots__/ProgressBar.test.tsx.snap +107 -0
- package/components/widgets/__tests__/__snapshots__/Spinner.test.tsx.snap +21 -0
- package/components/widgets/__tests__/__snapshots__/StatusIndicator.test.tsx.snap +31 -0
- package/components/widgets/__tests__/__snapshots__/Tag.test.tsx.snap +48 -0
- package/components/widgets/index.ts +12 -0
- package/globals.d.ts +12 -0
- package/helpers/index.ts +2 -0
- package/helpers/text-layout.module.scss +81 -0
- package/helpers/textLayout.tsx +35 -0
- package/helpers/useColumnsWithFilters.tsx +34 -0
- package/i18n.ts +105 -0
- package/icons/accept-12.svg +1 -0
- package/icons/accept-18.svg +1 -0
- package/icons/accept-24.svg +1 -0
- package/icons/action-settings-12.svg +1 -0
- package/icons/action-settings-18.svg +1 -0
- package/icons/action-settings-24.svg +1 -0
- package/icons/btn-cross-12.svg +1 -0
- package/icons/btn-cross-18.svg +1 -0
- package/icons/btn-cross-24.svg +1 -0
- package/icons/burger-close.svg +3 -0
- package/icons/burger.svg +3 -0
- package/icons/calendar-12.svg +1 -0
- package/icons/calendar-18.svg +1 -0
- package/icons/calendar-24.svg +1 -0
- package/icons/check-12.svg +3 -0
- package/icons/check-18.svg +3 -0
- package/icons/checkbox-checked.svg +21 -0
- package/icons/checkbox-partial.svg +21 -0
- package/icons/checkbox_tick.svg +44 -0
- package/icons/chevron-down-24.svg +1 -0
- package/icons/chevron-up-24.svg +1 -0
- package/icons/content-edit-12.svg +1 -0
- package/icons/content-edit-18.svg +1 -0
- package/icons/content-edit-24.svg +1 -0
- package/icons/empty-table.svg +58 -0
- package/icons/fileUpload/file-file-24.svg +1 -0
- package/icons/fileUpload/file-file_chart-24.svg +1 -0
- package/icons/fileUpload/file-file_eml-24.svg +1 -0
- package/icons/fileUpload/file-file_excel-24.svg +1 -0
- package/icons/fileUpload/file-file_image-24.svg +1 -0
- package/icons/fileUpload/file-file_pdf-24.svg +1 -0
- package/icons/fileUpload/file-file_table-24.svg +1 -0
- package/icons/fileUpload/file-file_text-24.svg +1 -0
- package/icons/fileUpload/file-file_video-24.svg +1 -0
- package/icons/fileUpload/file-file_word-24.svg +1 -0
- package/icons/fileUpload/shape.svg +2 -0
- package/icons/filter.svg +11 -0
- package/icons/folding-arrow-12.svg +1 -0
- package/icons/folding-arrow-18.svg +1 -0
- package/icons/folding-arrow-24.svg +1 -0
- package/icons/global_menu.svg +9 -0
- package/icons/help-fill-10.svg +3 -0
- package/icons/help-fill-16.svg +3 -0
- package/icons/icons.tsx +116 -0
- package/icons/info-12.svg +3 -0
- package/icons/info-18.svg +1 -0
- package/icons/info-24.svg +1 -0
- package/icons/logo-arrow.svg +4 -0
- package/icons/menu_input_cancel.svg +84 -0
- package/icons/modal-close-cross.svg +22 -0
- package/icons/navigation-close-24.svg +1 -0
- package/icons/navigation-more_vert-12.svg +1 -0
- package/icons/navigation-more_vert-18.svg +1 -0
- package/icons/navigation-more_vert-24.svg +1 -0
- package/icons/notification-check_circle-fill-24.svg +1 -0
- package/icons/notification-done-12.svg +1 -0
- package/icons/notification-done-18.svg +1 -0
- package/icons/notification-done-24.svg +1 -0
- package/icons/notification-error-fill-10.svg +1 -0
- package/icons/notification-error-fill-24.svg +1 -0
- package/icons/notification-help-fill-24.svg +1 -0
- package/icons/notification-warning-fill-24.svg +1 -0
- package/icons/partly-select-12.svg +3 -0
- package/icons/partly-select-18.svg +3 -0
- package/icons/radio-point.svg +3 -0
- package/icons/search-12.svg +1 -0
- package/icons/search-18.svg +1 -0
- package/icons/search-24.svg +1 -0
- package/icons/search-with-background.svg +4 -0
- package/icons/settings-18.svg +1 -0
- package/icons/slider-rating/active_mark_blue_icon.svg +23 -0
- package/icons/slider-rating/active_mark_green_icon.svg +23 -0
- package/icons/slider-rating/active_mark_red_icon.svg +23 -0
- package/icons/slider-rating/active_mark_violet_icon.svg +23 -0
- package/icons/slider-rating/active_mark_yellow_icon.svg +23 -0
- package/icons/slider-rating/line_blue_icon.svg +31 -0
- package/icons/slider-rating/line_gray_icon.svg +20 -0
- package/icons/slider-rating/line_red_icon.svg +42 -0
- package/icons/slider-rating/line_violet_icon.svg +33 -0
- package/icons/slider-rating/line_yellow_icon.svg +34 -0
- package/icons/slider-rating/na_active_icon.svg +13 -0
- package/icons/slider-rating/na_icon.svg +13 -0
- package/icons/snackbar/cross.svg +1 -0
- package/icons/snackbar/info.svg +1 -0
- package/icons/snackbar/success.svg +1 -0
- package/icons/snackbar/warning.svg +1 -0
- package/icons/sort.svg +5 -0
- package/icons/sort_asc-12.svg +1 -0
- package/icons/sort_desc-12.svg +1 -0
- package/icons/star-empty.svg +3 -0
- package/icons/star-filled.svg +3 -0
- package/icons/tick-12.svg +1 -0
- package/icons/tick-24.svg +1 -0
- package/icons/triangle.svg +10 -0
- package/index.tsx +5 -0
- package/package.json +7 -7
- package/readme.md +4 -4
- package/themeTodo.md +21 -0
- package/tsconfig.json +12 -0
- package/components/tables/DataTableHeaderCell.d.ts +0 -21
- package/components/tables/DataTableHeaderCell.d.ts.map +0 -1
- package/index.esm.js +0 -4739
- package/index.esm.js.map +0 -1
- package/index.js +0 -4904
- package/index.js.map +0 -1
- package/stats.html +0 -4838
- package/styles.css +0 -11145
- package/styles.css.map +0 -1
- /package/{components → build/components}/buttons/Button.d.ts +0 -0
- /package/{components → build/components}/buttons/Button.d.ts.map +0 -0
- /package/{components → build/components}/buttons/IconButton.d.ts +0 -0
- /package/{components → build/components}/buttons/IconButton.d.ts.map +0 -0
- /package/{components → build/components}/buttons/LinkButton.d.ts +0 -0
- /package/{components → build/components}/buttons/LinkButton.d.ts.map +0 -0
- /package/{components → build/components}/buttons/TabButton.d.ts +0 -0
- /package/{components → build/components}/buttons/TabButton.d.ts.map +0 -0
- /package/{components → build/components}/buttons/VerticalTabButton.d.ts +0 -0
- /package/{components → build/components}/buttons/VerticalTabButton.d.ts.map +0 -0
- /package/{components → build/components}/buttons/helper.d.ts +0 -0
- /package/{components → build/components}/buttons/helper.d.ts.map +0 -0
- /package/{components → build/components}/buttons/index.d.ts +0 -0
- /package/{components → build/components}/buttons/index.d.ts.map +0 -0
- /package/{components → build/components}/datePickers/Calendar.d.ts +0 -0
- /package/{components → build/components}/datePickers/Calendar.d.ts.map +0 -0
- /package/{components → build/components}/datePickers/CalendarPresets.d.ts +0 -0
- /package/{components → build/components}/datePickers/CalendarPresets.d.ts.map +0 -0
- /package/{components → build/components}/datePickers/DatePicker.d.ts +0 -0
- /package/{components → build/components}/datePickers/DatePicker.d.ts.map +0 -0
- /package/{components → build/components}/datePickers/DatePickerBody.d.ts +0 -0
- /package/{components → build/components}/datePickers/DatePickerBody.d.ts.map +0 -0
- /package/{components → build/components}/datePickers/DatePickerHeader.d.ts +0 -0
- /package/{components → build/components}/datePickers/DatePickerHeader.d.ts.map +0 -0
- /package/{components → build/components}/datePickers/RangeDatePicker.d.ts +0 -0
- /package/{components → build/components}/datePickers/RangeDatePicker.d.ts.map +0 -0
- /package/{components → build/components}/datePickers/RangeDatePickerBody.d.ts +0 -0
- /package/{components → build/components}/datePickers/RangeDatePickerBody.d.ts.map +0 -0
- /package/{components → build/components}/datePickers/index.d.ts +0 -0
- /package/{components → build/components}/datePickers/index.d.ts.map +0 -0
- /package/{components → build/components}/dnd/DropMarker.d.ts +0 -0
- /package/{components → build/components}/dnd/DropMarker.d.ts.map +0 -0
- /package/{components → build/components}/dnd/index.d.ts +0 -0
- /package/{components → build/components}/dnd/index.d.ts.map +0 -0
- /package/{components → build/components}/fileUpload/DropSpot.d.ts +0 -0
- /package/{components → build/components}/fileUpload/DropSpot.d.ts.map +0 -0
- /package/{components → build/components}/fileUpload/FileCard.d.ts +0 -0
- /package/{components → build/components}/fileUpload/FileCard.d.ts.map +0 -0
- /package/{components → build/components}/fileUpload/SvgCircleProgress.d.ts +0 -0
- /package/{components → build/components}/fileUpload/SvgCircleProgress.d.ts.map +0 -0
- /package/{components → build/components}/fileUpload/index.d.ts +0 -0
- /package/{components → build/components}/fileUpload/index.d.ts.map +0 -0
- /package/{components → build/components}/filters/FilterDatePickerBody.d.ts +0 -0
- /package/{components → build/components}/filters/FilterDatePickerBody.d.ts.map +0 -0
- /package/{components → build/components}/filters/FilterItemBody.d.ts +0 -0
- /package/{components → build/components}/filters/FilterItemBody.d.ts.map +0 -0
- /package/{components → build/components}/filters/FilterNumericBody.d.ts +0 -0
- /package/{components → build/components}/filters/FilterNumericBody.d.ts.map +0 -0
- /package/{components → build/components}/filters/FilterPanelItemToggler.d.ts +0 -0
- /package/{components → build/components}/filters/FilterPanelItemToggler.d.ts.map +0 -0
- /package/{components → build/components}/filters/FilterPickerBody.d.ts +0 -0
- /package/{components → build/components}/filters/FilterPickerBody.d.ts.map +0 -0
- /package/{components → build/components}/filters/FilterRangeDatePickerBody.d.ts +0 -0
- /package/{components → build/components}/filters/FilterRangeDatePickerBody.d.ts.map +0 -0
- /package/{components → build/components}/filters/FiltersPanel.d.ts +0 -0
- /package/{components → build/components}/filters/FiltersPanel.d.ts.map +0 -0
- /package/{components → build/components}/filters/FiltersPanelItem.d.ts +0 -0
- /package/{components → build/components}/filters/FiltersPanelItem.d.ts.map +0 -0
- /package/{components → build/components}/filters/PresetPanel/Preset.d.ts +0 -0
- /package/{components → build/components}/filters/PresetPanel/Preset.d.ts.map +0 -0
- /package/{components → build/components}/filters/PresetPanel/PresetActionsDropdown.d.ts +0 -0
- /package/{components → build/components}/filters/PresetPanel/PresetActionsDropdown.d.ts.map +0 -0
- /package/{components → build/components}/filters/PresetPanel/PresetInput.d.ts +0 -0
- /package/{components → build/components}/filters/PresetPanel/PresetInput.d.ts.map +0 -0
- /package/{components → build/components}/filters/PresetPanel/PresetsPanel.d.ts +0 -0
- /package/{components → build/components}/filters/PresetPanel/PresetsPanel.d.ts.map +0 -0
- /package/{components → build/components}/filters/PresetPanel/constants.d.ts +0 -0
- /package/{components → build/components}/filters/PresetPanel/constants.d.ts.map +0 -0
- /package/{components → build/components}/filters/PresetPanel/index.d.ts +0 -0
- /package/{components → build/components}/filters/PresetPanel/index.d.ts.map +0 -0
- /package/{components → build/components}/filters/constants.d.ts +0 -0
- /package/{components → build/components}/filters/constants.d.ts.map +0 -0
- /package/{components → build/components}/filters/defaultPredicates.d.ts +0 -0
- /package/{components → build/components}/filters/defaultPredicates.d.ts.map +0 -0
- /package/{components → build/components}/filters/index.d.ts +0 -0
- /package/{components → build/components}/filters/index.d.ts.map +0 -0
- /package/{components → build/components}/forms/Form.d.ts +0 -0
- /package/{components → build/components}/forms/Form.d.ts.map +0 -0
- /package/{components → build/components}/forms/index.d.ts +0 -0
- /package/{components → build/components}/forms/index.d.ts.map +0 -0
- /package/{components → build/components}/forms/useForm.d.ts +0 -0
- /package/{components → build/components}/forms/useForm.d.ts.map +0 -0
- /package/{components → build/components}/index.d.ts +0 -0
- /package/{components → build/components}/index.d.ts.map +0 -0
- /package/{components → build/components}/inputs/Checkbox.d.ts +0 -0
- /package/{components → build/components}/inputs/Checkbox.d.ts.map +0 -0
- /package/{components → build/components}/inputs/InputAddon.d.ts +0 -0
- /package/{components → build/components}/inputs/InputAddon.d.ts.map +0 -0
- /package/{components → build/components}/inputs/MultiSwitch.d.ts +0 -0
- /package/{components → build/components}/inputs/MultiSwitch.d.ts.map +0 -0
- /package/{components → build/components}/inputs/NumericInput.d.ts +0 -0
- /package/{components → build/components}/inputs/NumericInput.d.ts.map +0 -0
- /package/{components → build/components}/inputs/RadioInput.d.ts +0 -0
- /package/{components → build/components}/inputs/RadioInput.d.ts.map +0 -0
- /package/{components → build/components}/inputs/Slider.d.ts +0 -0
- /package/{components → build/components}/inputs/Slider.d.ts.map +0 -0
- /package/{components → build/components}/inputs/Switch.d.ts +0 -0
- /package/{components → build/components}/inputs/Switch.d.ts.map +0 -0
- /package/{components → build/components}/inputs/TextArea.d.ts +0 -0
- /package/{components → build/components}/inputs/TextArea.d.ts.map +0 -0
- /package/{components → build/components}/inputs/TextInput.d.ts +0 -0
- /package/{components → build/components}/inputs/TextInput.d.ts.map +0 -0
- /package/{components → build/components}/inputs/TimePicker.d.ts +0 -0
- /package/{components → build/components}/inputs/TimePicker.d.ts.map +0 -0
- /package/{components → build/components}/inputs/TimePickerBody.d.ts +0 -0
- /package/{components → build/components}/inputs/TimePickerBody.d.ts.map +0 -0
- /package/{components → build/components}/inputs/index.d.ts +0 -0
- /package/{components → build/components}/inputs/index.d.ts.map +0 -0
- /package/{components → build/components}/layout/Accordion.d.ts +0 -0
- /package/{components → build/components}/layout/Accordion.d.ts.map +0 -0
- /package/{components → build/components}/layout/Blocker.d.ts +0 -0
- /package/{components → build/components}/layout/Blocker.d.ts.map +0 -0
- /package/{components → build/components}/layout/CheckboxGroup.d.ts +0 -0
- /package/{components → build/components}/layout/CheckboxGroup.d.ts.map +0 -0
- /package/{components → build/components}/layout/ControlGroup.d.ts +0 -0
- /package/{components → build/components}/layout/ControlGroup.d.ts.map +0 -0
- /package/{components → build/components}/layout/FlexItems/FlexCell.d.ts +0 -0
- /package/{components → build/components}/layout/FlexItems/FlexCell.d.ts.map +0 -0
- /package/{components → build/components}/layout/FlexItems/FlexRow.d.ts +0 -0
- /package/{components → build/components}/layout/FlexItems/FlexRow.d.ts.map +0 -0
- /package/{components → build/components}/layout/FlexItems/Panel.d.ts +0 -0
- /package/{components → build/components}/layout/FlexItems/Panel.d.ts.map +0 -0
- /package/{components → build/components}/layout/FlexItems/index.d.ts +0 -0
- /package/{components → build/components}/layout/FlexItems/index.d.ts.map +0 -0
- /package/{components → build/components}/layout/LabeledInput.d.ts +0 -0
- /package/{components → build/components}/layout/LabeledInput.d.ts.map +0 -0
- /package/{components → build/components}/layout/RadioGroup.d.ts +0 -0
- /package/{components → build/components}/layout/RadioGroup.d.ts.map +0 -0
- /package/{components → build/components}/layout/ScrollBars.d.ts +0 -0
- /package/{components → build/components}/layout/ScrollBars.d.ts.map +0 -0
- /package/{components → build/components}/layout/VirtualList.d.ts +0 -0
- /package/{components → build/components}/layout/VirtualList.d.ts.map +0 -0
- /package/{components → build/components}/layout/index.d.ts +0 -0
- /package/{components → build/components}/layout/index.d.ts.map +0 -0
- /package/{components → build/components}/navigation/Anchor.d.ts +0 -0
- /package/{components → build/components}/navigation/Anchor.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/Burger.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/Burger.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/BurgerButton.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/BurgerButton.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/BurgerSearch.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/BurgerSearch.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/index.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/Burger/index.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/GlobalMenu.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/GlobalMenu.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenu.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenu.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuAvatar.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuAvatar.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuButton.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuButton.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuDropdown.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuDropdown.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuIcon.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuIcon.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuSearch.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/MainMenuSearch.d.ts.map +0 -0
- /package/{components → build/components}/navigation/MainMenu/index.d.ts +0 -0
- /package/{components → build/components}/navigation/MainMenu/index.d.ts.map +0 -0
- /package/{components → build/components}/navigation/index.d.ts +0 -0
- /package/{components → build/components}/navigation/index.d.ts.map +0 -0
- /package/{components → build/components}/overlays/Alert.d.ts +0 -0
- /package/{components → build/components}/overlays/Alert.d.ts.map +0 -0
- /package/{components → build/components}/overlays/ConfirmationModal.d.ts +0 -0
- /package/{components → build/components}/overlays/ConfirmationModal.d.ts.map +0 -0
- /package/{components → build/components}/overlays/Dropdown.d.ts +0 -0
- /package/{components → build/components}/overlays/Dropdown.d.ts.map +0 -0
- /package/{components → build/components}/overlays/DropdownContainer.d.ts +0 -0
- /package/{components → build/components}/overlays/DropdownContainer.d.ts.map +0 -0
- /package/{components → build/components}/overlays/DropdownMenu.d.ts +0 -0
- /package/{components → build/components}/overlays/DropdownMenu.d.ts.map +0 -0
- /package/{components → build/components}/overlays/Modals.d.ts +0 -0
- /package/{components → build/components}/overlays/Modals.d.ts.map +0 -0
- /package/{components → build/components}/overlays/NotificationCard.d.ts +0 -0
- /package/{components → build/components}/overlays/NotificationCard.d.ts.map +0 -0
- /package/{components → build/components}/overlays/Tooltip.d.ts +0 -0
- /package/{components → build/components}/overlays/Tooltip.d.ts.map +0 -0
- /package/{components → build/components}/overlays/index.d.ts +0 -0
- /package/{components → build/components}/overlays/index.d.ts.map +0 -0
- /package/{components → build/components}/pickers/DataPickerBody.d.ts +0 -0
- /package/{components → build/components}/pickers/DataPickerBody.d.ts.map +0 -0
- /package/{components → build/components}/pickers/DataPickerCell.d.ts +0 -0
- /package/{components → build/components}/pickers/DataPickerCell.d.ts.map +0 -0
- /package/{components → build/components}/pickers/DataPickerFooter.d.ts +0 -0
- /package/{components → build/components}/pickers/DataPickerFooter.d.ts.map +0 -0
- /package/{components → build/components}/pickers/DataPickerHeader.d.ts +0 -0
- /package/{components → build/components}/pickers/DataPickerHeader.d.ts.map +0 -0
- /package/{components → build/components}/pickers/DataPickerRow.d.ts +0 -0
- /package/{components → build/components}/pickers/DataPickerRow.d.ts.map +0 -0
- /package/{components → build/components}/pickers/MobileDropdownWrapper.d.ts +0 -0
- /package/{components → build/components}/pickers/MobileDropdownWrapper.d.ts.map +0 -0
- /package/{components → build/components}/pickers/PickerInput.d.ts +0 -0
- /package/{components → build/components}/pickers/PickerInput.d.ts.map +0 -0
- /package/{components → build/components}/pickers/PickerItem.d.ts +0 -0
- /package/{components → build/components}/pickers/PickerItem.d.ts.map +0 -0
- /package/{components → build/components}/pickers/PickerList.d.ts +0 -0
- /package/{components → build/components}/pickers/PickerList.d.ts.map +0 -0
- /package/{components → build/components}/pickers/PickerListItem.d.ts +0 -0
- /package/{components → build/components}/pickers/PickerListItem.d.ts.map +0 -0
- /package/{components → build/components}/pickers/PickerModal.d.ts +0 -0
- /package/{components → build/components}/pickers/PickerModal.d.ts.map +0 -0
- /package/{components → build/components}/pickers/PickerToggler.d.ts +0 -0
- /package/{components → build/components}/pickers/PickerToggler.d.ts.map +0 -0
- /package/{components → build/components}/pickers/helpers.d.ts +0 -0
- /package/{components → build/components}/pickers/helpers.d.ts.map +0 -0
- /package/{components → build/components}/pickers/highlight.d.ts +0 -0
- /package/{components → build/components}/pickers/highlight.d.ts.map +0 -0
- /package/{components → build/components}/pickers/index.d.ts +0 -0
- /package/{components → build/components}/pickers/index.d.ts.map +0 -0
- /package/{components → build/components}/pickers/types.d.ts +0 -0
- /package/{components → build/components}/pickers/types.d.ts.map +0 -0
- /package/{components → build/components}/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts +0 -0
- /package/{components → build/components}/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts.map +0 -0
- /package/{components → build/components}/tables/ColumnHeaderDropdown/SortingPanel.d.ts +0 -0
- /package/{components → build/components}/tables/ColumnHeaderDropdown/SortingPanel.d.ts.map +0 -0
- /package/{components → build/components}/tables/ColumnHeaderDropdown/index.d.ts +0 -0
- /package/{components → build/components}/tables/ColumnHeaderDropdown/index.d.ts.map +0 -0
- /package/{components → build/components}/tables/DataRowsContainer/DataRowsContainer.d.ts +0 -0
- /package/{components → build/components}/tables/DataRowsContainer/DataRowsContainer.d.ts.map +0 -0
- /package/{components → build/components}/tables/DataRowsContainer/DataRowsGroups.d.ts +0 -0
- /package/{components → build/components}/tables/DataRowsContainer/DataRowsGroups.d.ts.map +0 -0
- /package/{components → build/components}/tables/DataRowsContainer/index.d.ts +0 -0
- /package/{components → build/components}/tables/DataRowsContainer/index.d.ts.map +0 -0
- /package/{components → build/components}/tables/DataRowsContainer/utils.d.ts +0 -0
- /package/{components → build/components}/tables/DataRowsContainer/utils.d.ts.map +0 -0
- /package/{components → build/components}/tables/DataTable.d.ts +0 -0
- /package/{components → build/components}/tables/DataTable.d.ts.map +0 -0
- /package/{components → build/components}/tables/DataTableCell.d.ts +0 -0
- /package/{components → build/components}/tables/DataTableCell.d.ts.map +0 -0
- /package/{components → build/components}/tables/DataTableHeaderRow.d.ts +0 -0
- /package/{components → build/components}/tables/DataTableHeaderRow.d.ts.map +0 -0
- /package/{components → build/components}/tables/DataTableRow.d.ts +0 -0
- /package/{components → build/components}/tables/DataTableRow.d.ts.map +0 -0
- /package/{components → build/components}/tables/columnsConfigurationModal/ColumnRow.d.ts +0 -0
- /package/{components → build/components}/tables/columnsConfigurationModal/ColumnRow.d.ts.map +0 -0
- /package/{components → build/components}/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts +0 -0
- /package/{components → build/components}/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts.map +0 -0
- /package/{components → build/components}/tables/columnsConfigurationModal/PinIconButton.d.ts +0 -0
- /package/{components → build/components}/tables/columnsConfigurationModal/PinIconButton.d.ts.map +0 -0
- /package/{components → build/components}/tables/columnsConfigurationModal/index.d.ts +0 -0
- /package/{components → build/components}/tables/columnsConfigurationModal/index.d.ts.map +0 -0
- /package/{components → build/components}/tables/index.d.ts +0 -0
- /package/{components → build/components}/tables/index.d.ts.map +0 -0
- /package/{components → build/components}/tables/types.d.ts +0 -0
- /package/{components → build/components}/tables/types.d.ts.map +0 -0
- /package/{components → build/components}/types.d.ts +0 -0
- /package/{components → build/components}/types.d.ts.map +0 -0
- /package/{components → build/components}/typography/RichTextView.d.ts +0 -0
- /package/{components → build/components}/typography/RichTextView.d.ts.map +0 -0
- /package/{components → build/components}/typography/Text.d.ts +0 -0
- /package/{components → build/components}/typography/Text.d.ts.map +0 -0
- /package/{components → build/components}/typography/TextPlaceholder.d.ts +0 -0
- /package/{components → build/components}/typography/TextPlaceholder.d.ts.map +0 -0
- /package/{components → build/components}/typography/index.d.ts +0 -0
- /package/{components → build/components}/typography/index.d.ts.map +0 -0
- /package/{components → build/components}/widgets/AvatarStack.d.ts +0 -0
- /package/{components → build/components}/widgets/AvatarStack.d.ts.map +0 -0
- /package/{components → build/components}/widgets/Badge.d.ts +0 -0
- /package/{components → build/components}/widgets/Badge.d.ts.map +0 -0
- /package/{components → build/components}/widgets/CountIndicator.d.ts +0 -0
- /package/{components → build/components}/widgets/CountIndicator.d.ts.map +0 -0
- /package/{components → build/components}/widgets/DataRowAddons.d.ts +0 -0
- /package/{components → build/components}/widgets/DataRowAddons.d.ts.map +0 -0
- /package/{components → build/components}/widgets/IndeterminateBar.d.ts +0 -0
- /package/{components → build/components}/widgets/IndeterminateBar.d.ts.map +0 -0
- /package/{components → build/components}/widgets/IndicatorBar.d.ts +0 -0
- /package/{components → build/components}/widgets/IndicatorBar.d.ts.map +0 -0
- /package/{components → build/components}/widgets/Paginator.d.ts +0 -0
- /package/{components → build/components}/widgets/Paginator.d.ts.map +0 -0
- /package/{components → build/components}/widgets/ProgressBar.d.ts +0 -0
- /package/{components → build/components}/widgets/ProgressBar.d.ts.map +0 -0
- /package/{components → build/components}/widgets/Spinner.d.ts +0 -0
- /package/{components → build/components}/widgets/Spinner.d.ts.map +0 -0
- /package/{components → build/components}/widgets/StatusIndicator.d.ts +0 -0
- /package/{components → build/components}/widgets/StatusIndicator.d.ts.map +0 -0
- /package/{components → build/components}/widgets/Tag.d.ts +0 -0
- /package/{components → build/components}/widgets/Tag.d.ts.map +0 -0
- /package/{components → build/components}/widgets/index.d.ts +0 -0
- /package/{components → build/components}/widgets/index.d.ts.map +0 -0
- /package/{helpers → build/helpers}/index.d.ts +0 -0
- /package/{helpers → build/helpers}/index.d.ts.map +0 -0
- /package/{helpers → build/helpers}/textLayout.d.ts +0 -0
- /package/{helpers → build/helpers}/textLayout.d.ts.map +0 -0
- /package/{helpers → build/helpers}/useColumnsWithFilters.d.ts +0 -0
- /package/{helpers → build/helpers}/useColumnsWithFilters.d.ts.map +0 -0
- /package/{i18n.d.ts → build/i18n.d.ts} +0 -0
- /package/{i18n.d.ts.map → build/i18n.d.ts.map} +0 -0
- /package/{icons → build/icons}/icons.d.ts +0 -0
- /package/{icons → build/icons}/icons.d.ts.map +0 -0
- /package/{index.d.ts → build/index.d.ts} +0 -0
- /package/{index.d.ts.map → build/index.d.ts.map} +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`Button should render with maximum props 1`] = `
|
|
4
|
+
<button
|
|
5
|
+
aria-disabled={false}
|
|
6
|
+
aria-expanded={true}
|
|
7
|
+
aria-haspopup={true}
|
|
8
|
+
className="container uui-button-box uui-enabled -clickable root uui-button uui-fill-outline uui-color-accent uui-size-36"
|
|
9
|
+
data-my_attr="value"
|
|
10
|
+
id="123"
|
|
11
|
+
onClick={[Function]}
|
|
12
|
+
tabIndex={0}
|
|
13
|
+
type="button"
|
|
14
|
+
>
|
|
15
|
+
<div
|
|
16
|
+
className="uui-caption"
|
|
17
|
+
>
|
|
18
|
+
Click me
|
|
19
|
+
</div>
|
|
20
|
+
<div
|
|
21
|
+
className="root uui-count_indicator size-24 uui-color-white"
|
|
22
|
+
>
|
|
23
|
+
10
|
|
24
|
+
</div>
|
|
25
|
+
<div
|
|
26
|
+
className="container uui-icon uui-enabled"
|
|
27
|
+
style={Object {}}
|
|
28
|
+
>
|
|
29
|
+
<svg
|
|
30
|
+
className=""
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
<div
|
|
34
|
+
className="container uui-icon uui-enabled"
|
|
35
|
+
style={Object {}}
|
|
36
|
+
>
|
|
37
|
+
<svg
|
|
38
|
+
className="flipY"
|
|
39
|
+
/>
|
|
40
|
+
</div>
|
|
41
|
+
<div
|
|
42
|
+
className="container uui-icon uui-enabled -clickable -clickable"
|
|
43
|
+
onClick={[Function]}
|
|
44
|
+
style={Object {}}
|
|
45
|
+
>
|
|
46
|
+
<svg
|
|
47
|
+
className=""
|
|
48
|
+
/>
|
|
49
|
+
</div>
|
|
50
|
+
</button>
|
|
51
|
+
`;
|
|
52
|
+
|
|
53
|
+
exports[`Button should render with minimum props 1`] = `
|
|
54
|
+
<button
|
|
55
|
+
className="container uui-button-box uui-enabled root uui-button uui-fill-solid uui-color-primary uui-size-36"
|
|
56
|
+
onClick={[Function]}
|
|
57
|
+
tabIndex={-1}
|
|
58
|
+
type="button"
|
|
59
|
+
/>
|
|
60
|
+
`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`IconButton should be rendered correctly 1`] = `
|
|
4
|
+
<button
|
|
5
|
+
className="container uui-button-box uui-enabled uui-icon_button uui-color-neutral root"
|
|
6
|
+
onClick={[Function]}
|
|
7
|
+
tabIndex={-1}
|
|
8
|
+
type="button"
|
|
9
|
+
>
|
|
10
|
+
<div
|
|
11
|
+
className="container uui-icon uui-enabled"
|
|
12
|
+
style={Object {}}
|
|
13
|
+
/>
|
|
14
|
+
</button>
|
|
15
|
+
`;
|
|
16
|
+
|
|
17
|
+
exports[`IconButton should be rendered correctly with props 1`] = `
|
|
18
|
+
<button
|
|
19
|
+
aria-disabled={false}
|
|
20
|
+
className="container uui-button-box uui-enabled -clickable uui-icon_button uui-color-info root"
|
|
21
|
+
onClick={[Function]}
|
|
22
|
+
tabIndex={0}
|
|
23
|
+
type="button"
|
|
24
|
+
>
|
|
25
|
+
<div
|
|
26
|
+
className="container uui-icon uui-enabled"
|
|
27
|
+
style={Object {}}
|
|
28
|
+
>
|
|
29
|
+
<svg
|
|
30
|
+
className=""
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
</button>
|
|
34
|
+
`;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`LinkButton should be rendered correctly 1`] = `
|
|
4
|
+
<button
|
|
5
|
+
className="container uui-button-box uui-enabled uui-link_button root uui-size-36 uui-no-left-icon uui-no-right-icon uui-color-primary"
|
|
6
|
+
onClick={[Function]}
|
|
7
|
+
tabIndex={-1}
|
|
8
|
+
type="button"
|
|
9
|
+
/>
|
|
10
|
+
`;
|
|
11
|
+
|
|
12
|
+
exports[`LinkButton should be rendered correctly with props 1`] = `
|
|
13
|
+
<button
|
|
14
|
+
aria-disabled={false}
|
|
15
|
+
aria-haspopup={true}
|
|
16
|
+
className="container uui-button-box uui-enabled -clickable uui-link_button root uui-size-30 uui-has-left-icon uui-has-right-icon uui-color-primary"
|
|
17
|
+
onClick={[Function]}
|
|
18
|
+
tabIndex={0}
|
|
19
|
+
type="button"
|
|
20
|
+
>
|
|
21
|
+
<div
|
|
22
|
+
className="container uui-icon uui-enabled"
|
|
23
|
+
style={Object {}}
|
|
24
|
+
>
|
|
25
|
+
<svg
|
|
26
|
+
className=""
|
|
27
|
+
/>
|
|
28
|
+
</div>
|
|
29
|
+
<div
|
|
30
|
+
className="container uui-icon uui-enabled"
|
|
31
|
+
style={Object {}}
|
|
32
|
+
>
|
|
33
|
+
<svg
|
|
34
|
+
className=""
|
|
35
|
+
/>
|
|
36
|
+
</div>
|
|
37
|
+
<div
|
|
38
|
+
className="container uui-icon uui-enabled -clickable -clickable"
|
|
39
|
+
onClick={[Function]}
|
|
40
|
+
style={Object {}}
|
|
41
|
+
>
|
|
42
|
+
<svg
|
|
43
|
+
className=""
|
|
44
|
+
/>
|
|
45
|
+
</div>
|
|
46
|
+
</button>
|
|
47
|
+
`;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`TabButton should be rendered correctly 1`] = `
|
|
4
|
+
<button
|
|
5
|
+
className="container uui-button-box uui-enabled root uui-tab-button size-48 uui-no-left-icon uui-no-right-icon"
|
|
6
|
+
onClick={[Function]}
|
|
7
|
+
role="tab"
|
|
8
|
+
tabIndex={-1}
|
|
9
|
+
type="button"
|
|
10
|
+
/>
|
|
11
|
+
`;
|
|
12
|
+
|
|
13
|
+
exports[`TabButton should be rendered correctly with props 1`] = `
|
|
14
|
+
<button
|
|
15
|
+
aria-disabled={false}
|
|
16
|
+
className="container uui-button-box uui-enabled -clickable root uui-tab-button size-48 withNotify uui-has-left-icon uui-no-right-icon"
|
|
17
|
+
onClick={[Function]}
|
|
18
|
+
role="tab"
|
|
19
|
+
tabIndex={0}
|
|
20
|
+
type="button"
|
|
21
|
+
>
|
|
22
|
+
<div
|
|
23
|
+
className="container uui-icon uui-enabled"
|
|
24
|
+
style={Object {}}
|
|
25
|
+
>
|
|
26
|
+
<svg
|
|
27
|
+
className=""
|
|
28
|
+
/>
|
|
29
|
+
</div>
|
|
30
|
+
</button>
|
|
31
|
+
`;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`VerticalTabButton should be rendered correctly 1`] = `
|
|
4
|
+
<button
|
|
5
|
+
className="container uui-button-box uui-enabled root uui-tab-button size-48 uui-no-left-icon uui-no-right-icon root"
|
|
6
|
+
onClick={[Function]}
|
|
7
|
+
role="tab"
|
|
8
|
+
tabIndex={-1}
|
|
9
|
+
type="button"
|
|
10
|
+
/>
|
|
11
|
+
`;
|
|
12
|
+
|
|
13
|
+
exports[`VerticalTabButton should be rendered correctly with props 1`] = `
|
|
14
|
+
<button
|
|
15
|
+
aria-disabled={false}
|
|
16
|
+
className="container uui-button-box uui-enabled -clickable root uui-tab-button size-48 withNotify uui-has-left-icon uui-no-right-icon root"
|
|
17
|
+
onClick={[Function]}
|
|
18
|
+
role="tab"
|
|
19
|
+
tabIndex={0}
|
|
20
|
+
type="button"
|
|
21
|
+
>
|
|
22
|
+
<div
|
|
23
|
+
className="container uui-icon uui-enabled"
|
|
24
|
+
style={Object {}}
|
|
25
|
+
>
|
|
26
|
+
<svg
|
|
27
|
+
className=""
|
|
28
|
+
/>
|
|
29
|
+
</div>
|
|
30
|
+
</button>
|
|
31
|
+
`;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ButtonProps } from '@epam/uui-components';
|
|
2
|
+
|
|
3
|
+
export function getIconClass(props: ButtonProps) {
|
|
4
|
+
const classList = {
|
|
5
|
+
'has-left-icon': false,
|
|
6
|
+
'has-right-icon': false,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
if (props.onClear) {
|
|
10
|
+
classList['has-right-icon'] = true;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
if (props.isDropdown) {
|
|
14
|
+
classList[props.dropdownIconPosition === 'left' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
if (props.icon) {
|
|
18
|
+
classList[props.iconPosition !== 'right' ? 'has-left-icon' : 'has-right-icon'] = true;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return [classList['has-left-icon'] ? 'uui-has-left-icon' : 'uui-no-left-icon', classList['has-right-icon'] ? 'uui-has-right-icon' : 'uui-no-right-icon'];
|
|
22
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
@use '../../assets/styles/index' as *;
|
|
2
|
+
|
|
3
|
+
.root {
|
|
4
|
+
--uui-calendar-selected_range-hover: var(--uui-primary-60);
|
|
5
|
+
--uui-calendar-selected_range: var(--uui-primary-50);
|
|
6
|
+
--uui-calendar-weekday-caption: var(--uui-text-tertiary);
|
|
7
|
+
--uui-calendar-holiday-caption: var(--uui-text-tertiary);
|
|
8
|
+
--uui-calendar-day-text: var(--uui-control-text);
|
|
9
|
+
--uui-calendar-day-text-disabled: var(--uui-text-disabled);
|
|
10
|
+
--uui-calendar-selected_day-text: var(--uui-neutral-0);
|
|
11
|
+
--uui-calendar-selected_day-hover: var(--uui-control-bg);
|
|
12
|
+
|
|
13
|
+
--uui-calendar-font: var(--uui-font);
|
|
14
|
+
--uui-calendar-font-weight: 400;
|
|
15
|
+
--uui-calendar-weekday-font: var(--uui-font);
|
|
16
|
+
--uui-calendar-weekday-font-weight: 400;
|
|
17
|
+
--uui-calendar-selected_day-font: var(--uui-font);
|
|
18
|
+
--uui-calendar-selected_day-font-weight: 600;
|
|
19
|
+
|
|
20
|
+
:global(.uui-calendar-content) {
|
|
21
|
+
font-family: var(--uui-calendar-font);
|
|
22
|
+
font-weight: var(--uui-calendar-font-weight, normal);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:global(.uui-calendar-weekday) {
|
|
26
|
+
font-family: var(--uui-calendar-weekday-font);
|
|
27
|
+
font-weight: var(--uui-calendar-weekday-font-weight, normal);
|
|
28
|
+
color: var(--uui-calendar-weekday-caption);
|
|
29
|
+
width: 34px;
|
|
30
|
+
font-size: 12px;
|
|
31
|
+
line-height: 24px;
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:global(.uui-calendar-day-cell) {
|
|
36
|
+
color: var(--uui-calendar-day-text);
|
|
37
|
+
text-align: center;
|
|
38
|
+
padding: 0;
|
|
39
|
+
height: 36px;
|
|
40
|
+
width: 36px;
|
|
41
|
+
display: flex;
|
|
42
|
+
position: relative;
|
|
43
|
+
|
|
44
|
+
&:focus {
|
|
45
|
+
outline: none;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:global(.uui-calendar-day-wrapper) {
|
|
50
|
+
height: 30px;
|
|
51
|
+
width: 30px;
|
|
52
|
+
font-size: 14px;
|
|
53
|
+
line-height: 30px;
|
|
54
|
+
margin: auto;
|
|
55
|
+
cursor: default;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:global(.uui-calendar-day) {
|
|
59
|
+
border-radius: 50%;
|
|
60
|
+
height: 36px;
|
|
61
|
+
width: 36px;
|
|
62
|
+
position: absolute;
|
|
63
|
+
left: 0;
|
|
64
|
+
top: 0;
|
|
65
|
+
line-height: 34px;
|
|
66
|
+
border: 1px solid transparent;
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:global(.uui-calendar-clickable-day) {
|
|
71
|
+
&:hover {
|
|
72
|
+
&:not(:global(.uui-calendar-filtered-day)) {
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
|
|
75
|
+
:global(.uui-calendar-day) {
|
|
76
|
+
border: 1px solid var(--uui-calendar-selected_range);
|
|
77
|
+
background-color: var(--uui-calendar-selected_day-hover);
|
|
78
|
+
z-index: 1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&:global(.uui-calendar-selected-day) {
|
|
82
|
+
:global(.uui-calendar-day) {
|
|
83
|
+
border: 1px solid var(--uui-calendar-selected_range-hover);
|
|
84
|
+
background-color: var(--uui-calendar-selected_range-hover);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
:global(.uui-calendar-current-day) {
|
|
92
|
+
&:global(.uui-calendar-day-wrapper) {
|
|
93
|
+
color: var(--uui-calendar-selected_range);
|
|
94
|
+
font-family: var(--uui-calendar-selected_day-font);
|
|
95
|
+
font-weight: var(--uui-calendar-selected_day-font-weight, normal);
|
|
96
|
+
|
|
97
|
+
:global(.uui-calendar-day)::after {
|
|
98
|
+
position: absolute;
|
|
99
|
+
content: '';
|
|
100
|
+
height: 4px;
|
|
101
|
+
width: 4px;
|
|
102
|
+
border-radius: 50%;
|
|
103
|
+
background-color: var(--uui-calendar-selected_range);
|
|
104
|
+
bottom: 3px;
|
|
105
|
+
left: calc(50% - 2px);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
:global(.uui-calendar-selected-day) {
|
|
111
|
+
&:global(.uui-calendar-day-wrapper) {
|
|
112
|
+
:global(.uui-calendar-day) {
|
|
113
|
+
background-color: var(--uui-calendar-selected_range);
|
|
114
|
+
color: var(--uui-calendar-selected_day-text);
|
|
115
|
+
|
|
116
|
+
&::after {
|
|
117
|
+
background-color: var(--uui-calendar-selected_day);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:global(.uui-calendar-clickable-day) {
|
|
123
|
+
&:hover {
|
|
124
|
+
cursor: pointer;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
:global(.uui-calendar-day-holiday) {
|
|
130
|
+
color: var(--uui-calendar-holiday-caption);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
:global(.uui-calendar-filtered-day) {
|
|
134
|
+
&:global(.uui-calendar-day-wrapper) {
|
|
135
|
+
color: var(--uui-calendar-day-text-disabled);
|
|
136
|
+
|
|
137
|
+
&:hover {
|
|
138
|
+
cursor: default;
|
|
139
|
+
background-color: transparent;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import css from './Calendar.module.scss';
|
|
2
|
+
import { Calendar as uuiCalendar, CalendarProps } from '@epam/uui-components';
|
|
3
|
+
import { withMods } from '@epam/uui-core';
|
|
4
|
+
import { Dayjs } from 'dayjs';
|
|
5
|
+
|
|
6
|
+
export function applyDateSelectionMods() {
|
|
7
|
+
return [css.root];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Calendar = withMods<CalendarProps<Dayjs>>(uuiCalendar, applyDateSelectionMods);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@use '../../assets/styles/index' as *;
|
|
2
|
+
|
|
3
|
+
.root {
|
|
4
|
+
&:global(.uui-presets-container) {
|
|
5
|
+
padding: 24px 24px 12px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:global(.uui-presets-header) {
|
|
9
|
+
font-family: var(--uui-font);
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
line-height: 24px;
|
|
13
|
+
padding-bottom: 12px;
|
|
14
|
+
color: var(--uui-text-primary);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:global(.uui-presets-item) {
|
|
18
|
+
font-family: var(--uui-font);
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
font-size: 12px;
|
|
21
|
+
line-height: 18px;
|
|
22
|
+
color: var(--uui-link);
|
|
23
|
+
padding-bottom: 6px;
|
|
24
|
+
|
|
25
|
+
&:hover {
|
|
26
|
+
color: var(--uui-link-hover);
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import css from './CalendarPresets.module.scss';
|
|
2
|
+
import { CalendarPresets as uuiCalendarPresets, CalendarPresetsProps } from '@epam/uui-components'; // TODO: rework presets to use LinkButton
|
|
3
|
+
import { withMods } from '@epam/uui-core';
|
|
4
|
+
|
|
5
|
+
export function applyCalendarPresetsMods() {
|
|
6
|
+
return [css.root];
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const CalendarPresets = withMods<CalendarPresetsProps>(uuiCalendarPresets, applyCalendarPresetsMods, () => ({}));
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { cx, DatePickerCoreProps, IDropdownToggler, uuiMod, DropdownBodyProps, devLogger, withMods } from '@epam/uui-core';
|
|
3
|
+
import { BaseDatePicker } from '@epam/uui-components';
|
|
4
|
+
import { EditMode, SizeMod, IHasEditMode } from '../types';
|
|
5
|
+
import { TextInput } from '../inputs';
|
|
6
|
+
import { DatePickerBody } from './DatePickerBody';
|
|
7
|
+
import { systemIcons } from '../../icons/icons';
|
|
8
|
+
import { DropdownContainer } from '../overlays';
|
|
9
|
+
|
|
10
|
+
const defaultMode = EditMode.FORM;
|
|
11
|
+
|
|
12
|
+
/** Represents the properties of the DatePicker component. */
|
|
13
|
+
export interface DatePickerProps extends DatePickerCoreProps, SizeMod, IHasEditMode {
|
|
14
|
+
/**
|
|
15
|
+
* HTML ID attribute for the toggler input
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
class DatePickerComponent extends BaseDatePicker<DatePickerProps> {
|
|
21
|
+
renderInput = (props: IDropdownToggler & { cx: any }) => {
|
|
22
|
+
if (__DEV__) {
|
|
23
|
+
if (this.props.size === '48') {
|
|
24
|
+
devLogger.warnAboutDeprecatedPropValue<DatePickerProps, 'size'>({
|
|
25
|
+
component: 'DatePicker',
|
|
26
|
+
propName: 'size',
|
|
27
|
+
propValue: this.props.size,
|
|
28
|
+
propValueUseInstead: '42',
|
|
29
|
+
condition: () => ['48'].indexOf(this.props.size) !== -1,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return (
|
|
34
|
+
<TextInput
|
|
35
|
+
{ ...props }
|
|
36
|
+
onClick={ null }
|
|
37
|
+
isDropdown={ false }
|
|
38
|
+
cx={ cx(this.props.inputCx, this.state.isOpen && uuiMod.focus) }
|
|
39
|
+
icon={ this.props.mode !== EditMode.CELL && systemIcons[this.props.size || '36'].calendar }
|
|
40
|
+
iconPosition={ this.props.iconPosition || 'left' }
|
|
41
|
+
placeholder={ this.props.placeholder ? this.props.placeholder : this.getFormat() }
|
|
42
|
+
size={ this.props.size || '36' }
|
|
43
|
+
value={ this.state.inputValue }
|
|
44
|
+
onValueChange={ this.handleInputChange }
|
|
45
|
+
onCancel={ this.props.disableClear || !this.state.inputValue ? undefined : this.handleCancel }
|
|
46
|
+
isInvalid={ this.props.isInvalid }
|
|
47
|
+
isDisabled={ this.props.isDisabled }
|
|
48
|
+
isReadonly={ this.props.isReadonly }
|
|
49
|
+
tabIndex={ this.props.isReadonly || this.props.isDisabled ? -1 : 0 }
|
|
50
|
+
onFocus={ this.handleFocus }
|
|
51
|
+
onBlur={ this.handleBlur }
|
|
52
|
+
mode={ this.props.mode || defaultMode }
|
|
53
|
+
rawProps={ this.props.rawProps?.input }
|
|
54
|
+
id={ this.props.id }
|
|
55
|
+
/>
|
|
56
|
+
);
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
renderBody(props: DropdownBodyProps) {
|
|
60
|
+
return (
|
|
61
|
+
<DropdownContainer { ...props } focusLock={ false }>
|
|
62
|
+
<DatePickerBody
|
|
63
|
+
cx={ cx(this.props.bodyCx) }
|
|
64
|
+
filter={ this.props.filter }
|
|
65
|
+
value={ this.getValue() }
|
|
66
|
+
setSelectedDate={ this.setSelectedDate }
|
|
67
|
+
setDisplayedDateAndView={ this.setDisplayedDateAndView }
|
|
68
|
+
changeIsOpen={ this.onToggle }
|
|
69
|
+
renderDay={ this.props.renderDay }
|
|
70
|
+
isHoliday={ this.props.isHoliday }
|
|
71
|
+
rawProps={ this.props.rawProps?.body }
|
|
72
|
+
/>
|
|
73
|
+
{this.props.renderFooter?.()}
|
|
74
|
+
</DropdownContainer>
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export const DatePicker = withMods(DatePickerComponent);
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
@use '../../assets/styles/index.scss' as *;
|
|
2
|
+
|
|
3
|
+
.root {
|
|
4
|
+
--uui-dtp_body-title-bg: var(--uui-control-bg);
|
|
5
|
+
--uui-dtp_body-item-bg-selected: var(--uui-primary-50);
|
|
6
|
+
--uui-dtp_body-item-border-hover: var(--uui-primary-50);
|
|
7
|
+
--uui-dtp_body-text: var(--uui-control-text);
|
|
8
|
+
--uui-dtp_body-text-selected: var(--uui-neutral-0);
|
|
9
|
+
|
|
10
|
+
--uui-dtp_body-content-font: var(--uui-font);
|
|
11
|
+
--uui-dtp_body-content-font-weight: 400;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:global(.uui-datepickerBody-wrapper) {
|
|
15
|
+
min-height: 300px;
|
|
16
|
+
padding: 0 18px 12px;
|
|
17
|
+
|
|
18
|
+
// DatePickerBase style
|
|
19
|
+
:global(.uui-datepicker-container) {
|
|
20
|
+
background-color: var(--uui-dtp_body-title-bg);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Header styles
|
|
24
|
+
:global(.uui-datepickerheader-header) {
|
|
25
|
+
padding-top: 18px;
|
|
26
|
+
padding-bottom: 6px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Month and Year selection styles
|
|
30
|
+
:global(.uui-monthselection-content), :global(.uui-yearselection-content) {
|
|
31
|
+
font-family: var(--uui-dtp_body-content-font);
|
|
32
|
+
font-weight: var(--uui-dtp_body-content-font-weight, normal);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:global(.uui-monthselection-month-container) {
|
|
36
|
+
margin: 0 0 12px;
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
|
|
40
|
+
& > * {
|
|
41
|
+
display: flex;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:global(.uui-yearselection-year-container) {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
margin: 0 0 12px;
|
|
49
|
+
|
|
50
|
+
& > * {
|
|
51
|
+
display: flex;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:global(.uui-yearselection-year-row) {
|
|
56
|
+
display: flex;
|
|
57
|
+
justify-content: space-between;
|
|
58
|
+
width: 252px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:global(.uui-monthselection-month) {
|
|
62
|
+
width: 72px;
|
|
63
|
+
height: 36px;
|
|
64
|
+
border-radius: 20px;
|
|
65
|
+
margin: 6px;
|
|
66
|
+
color: var(--uui-dtp_body-text);
|
|
67
|
+
|
|
68
|
+
&:hover {
|
|
69
|
+
width: 70px;
|
|
70
|
+
height: 34px;
|
|
71
|
+
border: 1px solid var(--uui-dtp_body-item-border-hover);
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:global(.uui-yearselection-year) {
|
|
77
|
+
width: 63px;
|
|
78
|
+
height: 36px;
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
align-items: center;
|
|
82
|
+
border-radius: 20px;
|
|
83
|
+
margin: 6px 0;
|
|
84
|
+
color: var(--uui-dtp_body-text);
|
|
85
|
+
|
|
86
|
+
&:hover {
|
|
87
|
+
width: 61px;
|
|
88
|
+
height: 34px;
|
|
89
|
+
border: 1px solid var(--uui-dtp_body-item-border-hover);
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
:global(.uui-monthselection-current-month) {
|
|
95
|
+
&:global(.uui-monthselection-month) {
|
|
96
|
+
background-color: var(--uui-dtp_body-item-bg-selected);
|
|
97
|
+
color: var(--uui-dtp_body-text-selected);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:global(.uui-yearselection-current-year) {
|
|
102
|
+
&:global(.uui-yearselection-year) {
|
|
103
|
+
background-color: var(--uui-dtp_body-item-bg-selected);
|
|
104
|
+
color: var(--uui-dtp_body-text-selected);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|