@loadsmart/loadsmart-ui 7.6.0 → 8.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -1
- package/dist/DragDropFile.context-oKnUu6d3.js +33 -0
- package/dist/{DragDropFile.context-D-EBrXnw.js.map → DragDropFile.context-oKnUu6d3.js.map} +1 -1
- package/dist/components/Banner/Banner.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Calendar/Pickers/PickerButton.d.ts +4 -2
- package/dist/components/Card/Card.d.ts +4 -4
- package/dist/components/Card/CardTitle.d.ts +2 -2
- package/dist/components/DatePicker/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker/useDatePicker.d.ts +8 -9
- package/dist/components/DatePicker/useDateRangePicker.d.ts +13 -14
- package/dist/components/Dialog/Dialog.d.ts +3 -5
- package/dist/components/DragDropFile/styles.d.ts +7 -7
- package/dist/components/Dropdown/Dropdown.d.ts +3 -3
- package/dist/components/Dropdown/DropdownMenu.d.ts +3 -3
- package/dist/components/Layout/Stack.d.ts +2 -2
- package/dist/components/Loaders/LoadingBar.d.ts +2 -2
- package/dist/components/Loaders/index.d.ts +3 -3
- package/dist/components/Modal/Modal.d.ts +1 -3
- package/dist/components/SideNavigation/Logo/Logo.d.ts +7 -2
- package/dist/components/SideNavigation/Menu/Menu.d.ts +7 -2
- package/dist/components/SideNavigation/Menu/MenuLink.d.ts +6 -1
- package/dist/components/SideNavigation/SideNavigation.d.ts +14 -4
- package/dist/components/Steps/StepsStep.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +2 -1
- package/dist/components/TablePagination/TablePagination.styles.d.ts +5 -4
- package/dist/components/TablePagination/TablePaginationActions.d.ts +2 -5
- package/dist/components/Text/Text.d.ts +1 -1
- package/dist/components/TextField/TextField.d.ts +6 -2
- package/dist/components/ToggleGroup/Toggle.d.ts +2 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +2 -1
- package/dist/components/TopNavigation/Logo/Logo.d.ts +7 -2
- package/dist/components/TopNavigation/Menu/Menu.d.ts +2 -2
- package/dist/components/TopNavigation/Menu/MenuItemDropdown.d.ts +4 -4
- package/dist/components/TopNavigation/OpenSideNavButton/OpenSideNavButton.d.ts +2 -1
- package/dist/components/TopNavigation/TopNavigation.d.ts +8 -3
- package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +2 -1
- package/dist/index.js +9100 -253
- package/dist/index.js.map +1 -1
- package/dist/miranda-compatibility.theme-kYNEZ7mW.js +2528 -0
- package/dist/{miranda-compatibility.theme-ChPV-BBw.js.map → miranda-compatibility.theme-kYNEZ7mW.js.map} +1 -1
- package/dist/prop-K2Z3EsyG.js +81 -0
- package/dist/{prop-BwhJNJHO.js.map → prop-K2Z3EsyG.js.map} +1 -1
- package/dist/testing/index.js +282 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/tests/renderer.d.ts +1 -1
- package/dist/theming/index.js +22 -1
- package/dist/theming/index.js.map +1 -1
- package/dist/toArray-Dxb1kUxx.js +14 -0
- package/dist/{toArray-BW3gx_gH.js.map → toArray-Dxb1kUxx.js.map} +1 -1
- package/dist/tools/index.js +6 -1
- package/dist/tools/index.js.map +1 -1
- package/dist/utils/toolset/flatten.d.ts +1 -1
- package/dist/utils/toolset/get.d.ts +1 -1
- package/dist/utils/toolset/isEmpty.d.ts +1 -1
- package/dist/utils/toolset/omit.d.ts +1 -1
- package/dist/utils/toolset/range.d.ts +1 -1
- package/package.json +46 -79
- package/dist/DragDropFile.context-D-EBrXnw.js +0 -2
- package/dist/DragDropFile.context-jVTIKfj5.mjs +0 -29
- package/dist/DragDropFile.context-jVTIKfj5.mjs.map +0 -1
- package/dist/index.mjs +0 -8046
- package/dist/index.mjs.map +0 -1
- package/dist/miranda-compatibility.theme-ChPV-BBw.js +0 -2
- package/dist/miranda-compatibility.theme-DQDHkWzC.mjs +0 -2469
- package/dist/miranda-compatibility.theme-DQDHkWzC.mjs.map +0 -1
- package/dist/prop-5m3D4883.mjs +0 -54
- package/dist/prop-5m3D4883.mjs.map +0 -1
- package/dist/prop-BwhJNJHO.js +0 -2
- package/dist/testing/index.mjs +0 -228
- package/dist/testing/index.mjs.map +0 -1
- package/dist/theming/index.mjs +0 -20
- package/dist/theming/index.mjs.map +0 -1
- package/dist/toArray-BW3gx_gH.js +0 -2
- package/dist/toArray-DqgeO2ua.mjs +0 -8
- package/dist/toArray-DqgeO2ua.mjs.map +0 -1
- package/dist/tools/index.mjs +0 -7
- package/dist/tools/index.mjs.map +0 -1
- package/src/@types/@loadsmart/utilsFunction.d.ts +0 -5
- package/src/@types/@loadsmart/utilsObject.d.ts +0 -5
- package/src/@types/svg.d.ts +0 -4
- package/src/addons/Theme/register.js +0 -590
- package/src/common/BackButton/BackButton.tsx +0 -18
- package/src/common/BackButton/index.ts +0 -2
- package/src/common/CloseButton/CloseButton.tsx +0 -55
- package/src/common/CloseButton/index.ts +0 -2
- package/src/common/SelectionWrapper.tsx +0 -130
- package/src/components/Accordion/Accordion.context.tsx +0 -36
- package/src/components/Accordion/Accordion.stories.tsx +0 -186
- package/src/components/Accordion/Accordion.test.tsx +0 -209
- package/src/components/Accordion/Accordion.tsx +0 -233
- package/src/components/Accordion/index.ts +0 -2
- package/src/components/Banner/Banner.stories.tsx +0 -213
- package/src/components/Banner/Banner.test.tsx +0 -118
- package/src/components/Banner/Banner.tsx +0 -418
- package/src/components/Banner/index.tsx +0 -2
- package/src/components/Breadcrumbs/Breadbrumbs.test.tsx +0 -125
- package/src/components/Breadcrumbs/Breadcrumb.tsx +0 -92
- package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +0 -21
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +0 -54
- package/src/components/Breadcrumbs/index.ts +0 -4
- package/src/components/Button/Button.stories.tsx +0 -174
- package/src/components/Button/Button.test.tsx +0 -57
- package/src/components/Button/Button.tsx +0 -576
- package/src/components/Button/index.tsx +0 -2
- package/src/components/Calendar/Calendar.helpers.ts +0 -15
- package/src/components/Calendar/Calendar.stories.tsx +0 -168
- package/src/components/Calendar/Calendar.test.tsx +0 -316
- package/src/components/Calendar/Calendar.tsx +0 -130
- package/src/components/Calendar/Calendar.types.ts +0 -68
- package/src/components/Calendar/Date.helper.test.ts +0 -847
- package/src/components/Calendar/Date.helper.ts +0 -461
- package/src/components/Calendar/DateFormat.helper.test.ts +0 -171
- package/src/components/Calendar/DateFormat.helper.ts +0 -195
- package/src/components/Calendar/Month.helper.test.ts +0 -187
- package/src/components/Calendar/Month.helper.ts +0 -172
- package/src/components/Calendar/PickerModeToggle.tsx +0 -61
- package/src/components/Calendar/Pickers/DayPicker.test.tsx +0 -85
- package/src/components/Calendar/Pickers/DayPicker.tsx +0 -127
- package/src/components/Calendar/Pickers/MonthPicker.test.tsx +0 -77
- package/src/components/Calendar/Pickers/MonthPicker.tsx +0 -51
- package/src/components/Calendar/Pickers/PickerButton.tsx +0 -119
- package/src/components/Calendar/Pickers/YearPicker.test.tsx +0 -75
- package/src/components/Calendar/Pickers/YearPicker.tsx +0 -52
- package/src/components/Calendar/index.ts +0 -10
- package/src/components/Calendar/useCalendar.ts +0 -190
- package/src/components/Calendar/usePickerMode.ts +0 -48
- package/src/components/Card/Card.stories.tsx +0 -117
- package/src/components/Card/Card.test.tsx +0 -139
- package/src/components/Card/Card.tsx +0 -106
- package/src/components/Card/CardTitle.tsx +0 -43
- package/src/components/Card/index.ts +0 -2
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -79
- package/src/components/Checkbox/Checkbox.test.tsx +0 -66
- package/src/components/Checkbox/Checkbox.tsx +0 -170
- package/src/components/Checkbox/index.ts +0 -2
- package/src/components/DatePicker/DatePicker.stories.tsx +0 -113
- package/src/components/DatePicker/DatePicker.test.tsx +0 -174
- package/src/components/DatePicker/DatePicker.tsx +0 -140
- package/src/components/DatePicker/DatePicker.types.ts +0 -30
- package/src/components/DatePicker/DateRangePicker.stories.tsx +0 -128
- package/src/components/DatePicker/DateRangePicker.test.tsx +0 -267
- package/src/components/DatePicker/DateRangePicker.tsx +0 -110
- package/src/components/DatePicker/index.ts +0 -3
- package/src/components/DatePicker/useDatePicker.ts +0 -201
- package/src/components/DatePicker/useDateRangePicker.ts +0 -224
- package/src/components/Dialog/Dialog.stories.tsx +0 -227
- package/src/components/Dialog/Dialog.test.tsx +0 -74
- package/src/components/Dialog/Dialog.tsx +0 -139
- package/src/components/Dialog/index.tsx +0 -4
- package/src/components/Dialog/useDialog.tsx +0 -59
- package/src/components/DragDropFile/DragDropFile.context.tsx +0 -39
- package/src/components/DragDropFile/DragDropFile.stories.tsx +0 -183
- package/src/components/DragDropFile/DragDropFile.tsx +0 -11
- package/src/components/DragDropFile/components/DropZone.test.tsx +0 -108
- package/src/components/DragDropFile/components/DropZone.tsx +0 -145
- package/src/components/DragDropFile/components/FileItem.tsx +0 -117
- package/src/components/DragDropFile/components/FileList.test.tsx +0 -119
- package/src/components/DragDropFile/components/FileList.tsx +0 -47
- package/src/components/DragDropFile/components/Wrapper.tsx +0 -22
- package/src/components/DragDropFile/index.ts +0 -9
- package/src/components/DragDropFile/mocks.ts +0 -23
- package/src/components/DragDropFile/styles.tsx +0 -81
- package/src/components/DragDropFile/types.ts +0 -85
- package/src/components/Drawer/Drawer.stories.tsx +0 -83
- package/src/components/Drawer/Drawer.test.tsx +0 -90
- package/src/components/Drawer/Drawer.tsx +0 -225
- package/src/components/Drawer/index.ts +0 -4
- package/src/components/Dropdown/Dropdown.context.ts +0 -13
- package/src/components/Dropdown/Dropdown.fixtures.ts +0 -15
- package/src/components/Dropdown/Dropdown.stories.tsx +0 -259
- package/src/components/Dropdown/Dropdown.test.tsx +0 -173
- package/src/components/Dropdown/Dropdown.tsx +0 -141
- package/src/components/Dropdown/Dropdown.types.ts +0 -59
- package/src/components/Dropdown/DropdownMenu.tsx +0 -263
- package/src/components/Dropdown/DropdownTrigger.tsx +0 -368
- package/src/components/Dropdown/index.ts +0 -15
- package/src/components/Dropdown/useDropdown.test.ts +0 -96
- package/src/components/Dropdown/useDropdown.ts +0 -65
- package/src/components/EmptyState/EmptyState.mocks.tsx +0 -60
- package/src/components/EmptyState/EmptyState.stories.tsx +0 -239
- package/src/components/EmptyState/EmptyState.test.tsx +0 -101
- package/src/components/EmptyState/EmptyState.tsx +0 -22
- package/src/components/EmptyState/EmptyState.types.ts +0 -59
- package/src/components/EmptyState/EmptyStateWithIcon.tsx +0 -42
- package/src/components/EmptyState/EmptyStateWithIllustration.tsx +0 -72
- package/src/components/EmptyState/Illustration.tsx +0 -29
- package/src/components/EmptyState/index.ts +0 -4
- package/src/components/ErrorMessage/ErrorMessage.stories.tsx +0 -26
- package/src/components/ErrorMessage/ErrorMessage.test.tsx +0 -24
- package/src/components/ErrorMessage/ErrorMessage.tsx +0 -19
- package/src/components/ErrorMessage/index.ts +0 -2
- package/src/components/HighlightMatch/HighlightMatch.stories.tsx +0 -24
- package/src/components/HighlightMatch/HighlightMatch.test.tsx +0 -37
- package/src/components/HighlightMatch/HighlightMatch.tsx +0 -29
- package/src/components/HighlightMatch/index.ts +0 -2
- package/src/components/Icon/Icon.tsx +0 -55
- package/src/components/Icon/assets/back.svg +0 -4
- package/src/components/Icon/assets/burger-menu.svg +0 -3
- package/src/components/Icon/assets/calendar.svg +0 -5
- package/src/components/Icon/assets/caret-down.svg +0 -4
- package/src/components/Icon/assets/caret-left.svg +0 -4
- package/src/components/Icon/assets/caret-right-last.svg +0 -4
- package/src/components/Icon/assets/caret-right.svg +0 -4
- package/src/components/Icon/assets/check.svg +0 -4
- package/src/components/Icon/assets/chevron-down.svg +0 -3
- package/src/components/Icon/assets/circle.svg +0 -3
- package/src/components/Icon/assets/close.svg +0 -4
- package/src/components/Icon/assets/dots-horizontal.svg +0 -1
- package/src/components/Icon/assets/information.svg +0 -4
- package/src/components/Icon/assets/minus.svg +0 -4
- package/src/components/Icon/assets/plus.svg +0 -4
- package/src/components/Icon/assets/refresh.svg +0 -3
- package/src/components/Icon/assets/sort-asc.svg +0 -7
- package/src/components/Icon/assets/sort-desc.svg +0 -7
- package/src/components/Icon/assets/sort.svg +0 -7
- package/src/components/Icon/assets/upload.svg +0 -3
- package/src/components/Icon/assets/warning.svg +0 -4
- package/src/components/Icon/index.ts +0 -2
- package/src/components/IconFactory/IconFactory.fixtures.tsx +0 -31
- package/src/components/IconFactory/IconFactory.stories.tsx +0 -120
- package/src/components/IconFactory/IconFactory.test.tsx +0 -36
- package/src/components/IconFactory/IconFactory.tsx +0 -75
- package/src/components/IconFactory/index.ts +0 -2
- package/src/components/Label/Label.stories.tsx +0 -47
- package/src/components/Label/Label.test.tsx +0 -80
- package/src/components/Label/Label.tsx +0 -120
- package/src/components/Label/index.ts +0 -2
- package/src/components/Layout/Box.tsx +0 -98
- package/src/components/Layout/Grid.tsx +0 -42
- package/src/components/Layout/Group.tsx +0 -55
- package/src/components/Layout/Layout.stories.tsx +0 -412
- package/src/components/Layout/Layout.tsx +0 -19
- package/src/components/Layout/Layout.types.ts +0 -9
- package/src/components/Layout/Layout.utils.ts +0 -20
- package/src/components/Layout/Sidebar.tsx +0 -75
- package/src/components/Layout/Stack.tsx +0 -63
- package/src/components/Layout/Switcher.tsx +0 -48
- package/src/components/Layout/index.tsx +0 -8
- package/src/components/Link/Link.stories.tsx +0 -22
- package/src/components/Link/Link.test.tsx +0 -79
- package/src/components/Link/Link.tsx +0 -114
- package/src/components/Link/index.ts +0 -3
- package/src/components/Link/useSafeLink.ts +0 -49
- package/src/components/Loaders/LoadingBar.stories.tsx +0 -36
- package/src/components/Loaders/LoadingBar.test.tsx +0 -35
- package/src/components/Loaders/LoadingBar.tsx +0 -65
- package/src/components/Loaders/LoadingDots.stories.tsx +0 -69
- package/src/components/Loaders/LoadingDots.test.tsx +0 -22
- package/src/components/Loaders/LoadingDots.tsx +0 -68
- package/src/components/Loaders/Spinner.stories.tsx +0 -24
- package/src/components/Loaders/Spinner.test.tsx +0 -35
- package/src/components/Loaders/Spinner.tsx +0 -68
- package/src/components/Loaders/index.tsx +0 -3
- package/src/components/Modal/Modal.stories.tsx +0 -121
- package/src/components/Modal/Modal.test.tsx +0 -46
- package/src/components/Modal/Modal.tsx +0 -163
- package/src/components/Modal/index.tsx +0 -2
- package/src/components/Pagination/Pagination.constants.ts +0 -7
- package/src/components/Pagination/Pagination.helper.ts +0 -88
- package/src/components/Pagination/Pagination.stories.tsx +0 -29
- package/src/components/Pagination/Pagination.test.tsx +0 -102
- package/src/components/Pagination/Pagination.tsx +0 -34
- package/src/components/Pagination/Pagination.types.ts +0 -55
- package/src/components/Pagination/PaginationItem.tsx +0 -74
- package/src/components/Pagination/index.ts +0 -2
- package/src/components/Pagination/usePagination.test.ts +0 -188
- package/src/components/Pagination/usePagination.ts +0 -87
- package/src/components/Popover/Popover.stories.tsx +0 -50
- package/src/components/Popover/Popover.test.tsx +0 -22
- package/src/components/Popover/Popover.tsx +0 -110
- package/src/components/Popover/Popover.types.ts +0 -39
- package/src/components/Popover/index.ts +0 -11
- package/src/components/ProgressBar/ProgressBar.stories.tsx +0 -47
- package/src/components/ProgressBar/ProgressBar.test.tsx +0 -40
- package/src/components/ProgressBar/ProgressBar.tsx +0 -89
- package/src/components/ProgressBar/index.tsx +0 -2
- package/src/components/Radio/Radio.stories.tsx +0 -75
- package/src/components/Radio/Radio.test.tsx +0 -66
- package/src/components/Radio/Radio.tsx +0 -153
- package/src/components/Radio/index.ts +0 -2
- package/src/components/Section/Section.test.tsx +0 -35
- package/src/components/Section/Section.tsx +0 -66
- package/src/components/Section/Sections.stories.tsx +0 -56
- package/src/components/Section/index.ts +0 -2
- package/src/components/Select/Select.constants.ts +0 -12
- package/src/components/Select/Select.context.ts +0 -11
- package/src/components/Select/Select.fixtures.ts +0 -167
- package/src/components/Select/Select.stories.tsx +0 -780
- package/src/components/Select/Select.test.tsx +0 -1109
- package/src/components/Select/Select.tsx +0 -271
- package/src/components/Select/Select.types.ts +0 -148
- package/src/components/Select/SelectCreatableOption.tsx +0 -20
- package/src/components/Select/SelectEmpty.test.tsx +0 -15
- package/src/components/Select/SelectEmpty.tsx +0 -29
- package/src/components/Select/SelectOption.test.tsx +0 -78
- package/src/components/Select/SelectOption.tsx +0 -79
- package/src/components/Select/SelectTrigger.tsx +0 -83
- package/src/components/Select/components.tsx +0 -14
- package/src/components/Select/index.ts +0 -12
- package/src/components/Select/useSelect.helpers.test.ts +0 -184
- package/src/components/Select/useSelect.helpers.ts +0 -63
- package/src/components/Select/useSelect.test.ts +0 -207
- package/src/components/Select/useSelect.ts +0 -540
- package/src/components/Select/useSelectExternal.ts +0 -26
- package/src/components/SideNavigation/Logo/Logo.test.tsx +0 -19
- package/src/components/SideNavigation/Logo/Logo.tsx +0 -26
- package/src/components/SideNavigation/Logo/index.ts +0 -1
- package/src/components/SideNavigation/Menu/Menu.test.tsx +0 -65
- package/src/components/SideNavigation/Menu/Menu.tsx +0 -53
- package/src/components/SideNavigation/Menu/MenuBaseItem.tsx +0 -64
- package/src/components/SideNavigation/Menu/MenuExpandable.tsx +0 -107
- package/src/components/SideNavigation/Menu/MenuLink.tsx +0 -37
- package/src/components/SideNavigation/Menu/index.ts +0 -1
- package/src/components/SideNavigation/Separator/Separator.test.tsx +0 -14
- package/src/components/SideNavigation/Separator/Separator.tsx +0 -20
- package/src/components/SideNavigation/Separator/index.ts +0 -1
- package/src/components/SideNavigation/SideNavigation.stories.tsx +0 -69
- package/src/components/SideNavigation/SideNavigation.test.tsx +0 -21
- package/src/components/SideNavigation/SideNavigation.tsx +0 -47
- package/src/components/SideNavigation/index.ts +0 -5
- package/src/components/SideNavigation/useSideNavigation.ts +0 -36
- package/src/components/Steps/ProgressSteps/ProgressStep.tsx +0 -163
- package/src/components/Steps/ProgressSteps/ProgressSteps.tsx +0 -37
- package/src/components/Steps/ProgressSteps/index.ts +0 -1
- package/src/components/Steps/Steps.fixtures.ts +0 -11
- package/src/components/Steps/Steps.helpers.ts +0 -11
- package/src/components/Steps/Steps.stories.tsx +0 -65
- package/src/components/Steps/Steps.test.tsx +0 -78
- package/src/components/Steps/Steps.tsx +0 -53
- package/src/components/Steps/Steps.types.ts +0 -5
- package/src/components/Steps/StepsContext.ts +0 -5
- package/src/components/Steps/StepsStep.tsx +0 -58
- package/src/components/Steps/index.ts +0 -6
- package/src/components/Steps/useStep.test.tsx +0 -217
- package/src/components/Steps/useSteps.ts +0 -131
- package/src/components/Switch/Switch.stories.tsx +0 -65
- package/src/components/Switch/Switch.test.tsx +0 -60
- package/src/components/Switch/Switch.tsx +0 -209
- package/src/components/Switch/index.ts +0 -2
- package/src/components/Table/Selection.tsx +0 -202
- package/src/components/Table/Table.fixtures.ts +0 -101
- package/src/components/Table/Table.stories.tsx +0 -568
- package/src/components/Table/Table.test.tsx +0 -310
- package/src/components/Table/Table.tsx +0 -523
- package/src/components/Table/Table.types.ts +0 -93
- package/src/components/Table/TableSortHandle.tsx +0 -31
- package/src/components/Table/index.tsx +0 -2
- package/src/components/Table/useSortBy.test.ts +0 -96
- package/src/components/Table/useSortBy.ts +0 -92
- package/src/components/Table/useSortBy.types.ts +0 -21
- package/src/components/TablePagination/RowsPerPage.tsx +0 -81
- package/src/components/TablePagination/TablePagination.stories.tsx +0 -42
- package/src/components/TablePagination/TablePagination.styles.ts +0 -13
- package/src/components/TablePagination/TablePagination.test.tsx +0 -111
- package/src/components/TablePagination/TablePagination.tsx +0 -49
- package/src/components/TablePagination/TablePagination.types.ts +0 -69
- package/src/components/TablePagination/TablePaginationActions.tsx +0 -144
- package/src/components/TablePagination/index.ts +0 -2
- package/src/components/Tabs/Tabs.stories.tsx +0 -78
- package/src/components/Tabs/Tabs.test.tsx +0 -103
- package/src/components/Tabs/Tabs.tsx +0 -287
- package/src/components/Tabs/Tabs.types.ts +0 -7
- package/src/components/Tabs/TabsContext.ts +0 -10
- package/src/components/Tabs/index.ts +0 -2
- package/src/components/Tag/Tag.stories.tsx +0 -112
- package/src/components/Tag/Tag.test.tsx +0 -19
- package/src/components/Tag/Tag.tsx +0 -393
- package/src/components/Tag/index.ts +0 -2
- package/src/components/Text/Text.stories.tsx +0 -59
- package/src/components/Text/Text.test.tsx +0 -48
- package/src/components/Text/Text.tsx +0 -14
- package/src/components/Text/index.ts +0 -2
- package/src/components/TextField/TextField.stories.tsx +0 -90
- package/src/components/TextField/TextField.test.tsx +0 -36
- package/src/components/TextField/TextField.tsx +0 -244
- package/src/components/TextField/index.ts +0 -6
- package/src/components/TextField/useTextField.tsx +0 -26
- package/src/components/Textarea/Textarea.stories.tsx +0 -101
- package/src/components/Textarea/Textarea.test.tsx +0 -14
- package/src/components/Textarea/Textarea.tsx +0 -230
- package/src/components/Textarea/index.ts +0 -2
- package/src/components/Toast/Toast.stories.tsx +0 -50
- package/src/components/Toast/Toast.test.tsx +0 -24
- package/src/components/Toast/Toast.tsx +0 -141
- package/src/components/Toast/icons/close.svg +0 -3
- package/src/components/Toast/icons/danger.svg +0 -4
- package/src/components/Toast/icons/neutral.svg +0 -4
- package/src/components/Toast/icons/success.svg +0 -3
- package/src/components/Toast/icons/warning.svg +0 -4
- package/src/components/Toast/index.tsx +0 -2
- package/src/components/ToggleGroup/Toggle.test.tsx +0 -76
- package/src/components/ToggleGroup/Toggle.tsx +0 -158
- package/src/components/ToggleGroup/ToggleGroup.constants.ts +0 -16
- package/src/components/ToggleGroup/ToggleGroup.stories.tsx +0 -145
- package/src/components/ToggleGroup/ToggleGroup.test.tsx +0 -237
- package/src/components/ToggleGroup/ToggleGroup.tsx +0 -165
- package/src/components/ToggleGroup/ToggleGroup.types.ts +0 -35
- package/src/components/ToggleGroup/ToggleGroupContext.ts +0 -13
- package/src/components/ToggleGroup/index.ts +0 -3
- package/src/components/Tooltip/Tooltip.stories.tsx +0 -82
- package/src/components/Tooltip/Tooltip.test.tsx +0 -49
- package/src/components/Tooltip/Tooltip.tsx +0 -185
- package/src/components/Tooltip/index.ts +0 -2
- package/src/components/TopNavigation/Logo/Logo.test.tsx +0 -21
- package/src/components/TopNavigation/Logo/Logo.tsx +0 -20
- package/src/components/TopNavigation/Logo/index.ts +0 -1
- package/src/components/TopNavigation/Menu/Menu.test.tsx +0 -125
- package/src/components/TopNavigation/Menu/Menu.tsx +0 -62
- package/src/components/TopNavigation/Menu/MenuItemDropdown.tsx +0 -118
- package/src/components/TopNavigation/Menu/MenuItemIcon.tsx +0 -50
- package/src/components/TopNavigation/Menu/index.ts +0 -1
- package/src/components/TopNavigation/OpenSideNavButton/OpenSideNavButton.tsx +0 -28
- package/src/components/TopNavigation/OpenSideNavButton/index.ts +0 -1
- package/src/components/TopNavigation/TopNavigation.stories.tsx +0 -42
- package/src/components/TopNavigation/TopNavigation.tsx +0 -47
- package/src/components/TopNavigation/index.ts +0 -2
- package/src/components/VisuallyHidden/VisuallyHidden.mdx +0 -26
- package/src/components/VisuallyHidden/VisuallyHidden.stories.tsx +0 -32
- package/src/components/VisuallyHidden/VisuallyHidden.test.tsx +0 -18
- package/src/components/VisuallyHidden/VisuallyHidden.tsx +0 -6
- package/src/components/VisuallyHidden/index.ts +0 -1
- package/src/docs/tools/DatePickerEvent.stories.mdx +0 -108
- package/src/docs/tools/DragDropFileEvent.stories.mdx +0 -75
- package/src/docs/tools/conditional.stories.mdx +0 -251
- package/src/docs/tools/selectEvent.stories.mdx +0 -121
- package/src/hooks/useClickOutside/index.ts +0 -1
- package/src/hooks/useClickOutside/useClickOutside.test.tsx +0 -116
- package/src/hooks/useClickOutside/useClickOutside.ts +0 -65
- package/src/hooks/useDidMount/index.ts +0 -1
- package/src/hooks/useDidMount/useDidMount.test.tsx +0 -38
- package/src/hooks/useDidMount/useDidMount.ts +0 -20
- package/src/hooks/useFingerprint/index.ts +0 -1
- package/src/hooks/useFingerprint/useFingerprint.test.ts +0 -76
- package/src/hooks/useFingerprint/useFingerprint.ts +0 -94
- package/src/hooks/useFocusTrap/index.ts +0 -2
- package/src/hooks/useFocusTrap/useFocusTrap.stories.tsx +0 -87
- package/src/hooks/useFocusTrap/useFocusTrap.test.tsx +0 -129
- package/src/hooks/useFocusTrap/useFocusTrap.ts +0 -187
- package/src/hooks/useFocusWithin/index.ts +0 -2
- package/src/hooks/useFocusWithin/useFocusWithin.test.tsx +0 -71
- package/src/hooks/useFocusWithin/useFocusWithin.ts +0 -62
- package/src/hooks/useHeightExpansionToggler/index.ts +0 -2
- package/src/hooks/useHeightExpansionToggler/useHeightExpansionToggler.test.tsx +0 -85
- package/src/hooks/useHeightExpansionToggler/useHeightExpansionToggler.ts +0 -54
- package/src/hooks/useID/index.ts +0 -1
- package/src/hooks/useID/useID.ts +0 -18
- package/src/hooks/useSelectable/SelectableStrategy.test.ts +0 -424
- package/src/hooks/useSelectable/SelectableStrategy.ts +0 -143
- package/src/hooks/useSelectable/index.ts +0 -8
- package/src/hooks/useSelectable/useSelectable.test.ts +0 -221
- package/src/hooks/useSelectable/useSelectable.ts +0 -156
- package/src/hooks/useSelectable/useSelectable.types.ts +0 -45
- package/src/hooks/useWindowResize/index.ts +0 -1
- package/src/hooks/useWindowResize/useWindowResize.ts +0 -27
- package/src/index.ts +0 -188
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/assets/colors.svg +0 -1
- package/src/stories/assets/comments.svg +0 -1
- package/src/stories/assets/direction.svg +0 -1
- package/src/stories/assets/flow.svg +0 -1
- package/src/stories/assets/plugin.svg +0 -1
- package/src/stories/assets/repo.svg +0 -1
- package/src/stories/assets/stackalt.svg +0 -1
- package/src/stories/introduction.stories.mdx +0 -57
- package/src/stories/startPage.stories.mdx +0 -95
- package/src/styles/activatable.tsx +0 -30
- package/src/styles/disableable.tsx +0 -45
- package/src/styles/ellipsizable.tsx +0 -14
- package/src/styles/focusable.tsx +0 -32
- package/src/styles/font.test.ts +0 -31
- package/src/styles/font.tsx +0 -40
- package/src/styles/hidden.tsx +0 -29
- package/src/styles/hoverable.tsx +0 -30
- package/src/styles/transition.tsx +0 -25
- package/src/styles/typography.test.ts +0 -93
- package/src/styles/typography.ts +0 -190
- package/src/testing/DatePickerEvent/DatePickerEvent.ts +0 -117
- package/src/testing/DatePickerEvent/DateRangePickerEvent.ts +0 -83
- package/src/testing/DatePickerEvent/index.ts +0 -2
- package/src/testing/DragDropFileEvent/DragDropFileEvent.ts +0 -56
- package/src/testing/DragDropFileEvent/index.ts +0 -1
- package/src/testing/SelectEvent/SelectEvent.test.tsx +0 -192
- package/src/testing/SelectEvent/SelectEvent.ts +0 -264
- package/src/testing/SelectEvent/index.ts +0 -1
- package/src/testing/getInterpolatedStyles/getInterpolatedStyles.ts +0 -25
- package/src/testing/getInterpolatedStyles/index.ts +0 -1
- package/src/testing/index.ts +0 -6
- package/src/testing/renderWithDragDropFileProvider/index.ts +0 -1
- package/src/testing/renderWithDragDropFileProvider/renderWithDragDropFileProvider.tsx +0 -28
- package/src/tests/generator.ts +0 -127
- package/src/tests/renderer.tsx +0 -39
- package/src/theming/index.ts +0 -42
- package/src/theming/themes/alice.theme.ts +0 -1022
- package/src/theming/themes/index.ts +0 -3
- package/src/theming/themes/loadsmart.theme.ts +0 -1019
- package/src/theming/themes/miranda-compatibility.theme.ts +0 -972
- package/src/theming/theming.helpers.ts +0 -95
- package/src/tools/conditional.test.ts +0 -166
- package/src/tools/conditional.ts +0 -127
- package/src/tools/index.ts +0 -2
- package/src/tools/prop.test.ts +0 -52
- package/src/tools/prop.ts +0 -36
- package/src/utils/toolset/awaitTo.ts +0 -24
- package/src/utils/toolset/flatten.ts +0 -3
- package/src/utils/toolset/formatBytes.test.ts +0 -45
- package/src/utils/toolset/formatBytes.ts +0 -18
- package/src/utils/toolset/get.ts +0 -2
- package/src/utils/toolset/getID.test.ts +0 -57
- package/src/utils/toolset/getID.ts +0 -93
- package/src/utils/toolset/getOrdinalSuffix.test.ts +0 -27
- package/src/utils/toolset/getOrdinalSuffix.ts +0 -15
- package/src/utils/toolset/highlightMatch.test.tsx +0 -32
- package/src/utils/toolset/highlightMatch.tsx +0 -32
- package/src/utils/toolset/interleave.test.ts +0 -40
- package/src/utils/toolset/interleave.ts +0 -23
- package/src/utils/toolset/isEmpty.ts +0 -2
- package/src/utils/toolset/isThenable.test.ts +0 -40
- package/src/utils/toolset/isThenable.ts +0 -14
- package/src/utils/toolset/keyboard.ts +0 -50
- package/src/utils/toolset/omit.ts +0 -2
- package/src/utils/toolset/pluralize.ts +0 -16
- package/src/utils/toolset/range.ts +0 -2
- package/src/utils/toolset/rem.ts +0 -7
- package/src/utils/toolset/styledCompounds.ts +0 -22
- package/src/utils/toolset/toArray.ts +0 -16
- package/src/utils/types/ColorScheme.ts +0 -3
- package/src/utils/types/EventLike.ts +0 -11
- package/src/utils/types/InterpolatedStyle.ts +0 -3
- package/src/utils/types/Status.ts +0 -8
|
@@ -1,1019 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
generateBorderGetters,
|
|
3
|
-
generateColorGetter,
|
|
4
|
-
generateFontGetters,
|
|
5
|
-
generateShadowGetter,
|
|
6
|
-
generateSpacingGetter,
|
|
7
|
-
generateHeightGetter,
|
|
8
|
-
} from '../../theming/theming.helpers'
|
|
9
|
-
import rem from '../../utils/toolset/rem'
|
|
10
|
-
|
|
11
|
-
export const COLORS = {
|
|
12
|
-
'color-primary': '#33CC60',
|
|
13
|
-
'color-accent': '#0CA933',
|
|
14
|
-
|
|
15
|
-
'color-neutral-darkest': '#0A0A0B',
|
|
16
|
-
'color-neutral-darker': '#313336',
|
|
17
|
-
'color-neutral-dark': '#575C61',
|
|
18
|
-
'color-neutral': '#929AA1',
|
|
19
|
-
'color-neutral-light': '#CACCCF',
|
|
20
|
-
'color-neutral-lighter': '#E9EBEC',
|
|
21
|
-
'color-neutral-lightest': '#FCFCFC',
|
|
22
|
-
'color-neutral-white': '#FFFFFF',
|
|
23
|
-
|
|
24
|
-
'color-success-dark': '#2A5C85',
|
|
25
|
-
'color-success': '#55B0FB',
|
|
26
|
-
'color-success-light': '#C0E1F5',
|
|
27
|
-
|
|
28
|
-
'color-transparent': 'transparent',
|
|
29
|
-
|
|
30
|
-
'color-warning-dark': '#955800',
|
|
31
|
-
'color-warning': '#FFCE4F',
|
|
32
|
-
'color-warning-light': '#FFF5D6',
|
|
33
|
-
|
|
34
|
-
'color-danger-dark': '#8F002B',
|
|
35
|
-
'color-danger': '#E80045',
|
|
36
|
-
'color-danger-light': '#FFD6E2',
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export const OPACITIES = {
|
|
40
|
-
'opacity-0': 0,
|
|
41
|
-
'opacity-20': 0.2,
|
|
42
|
-
'opacity-40': 0.4,
|
|
43
|
-
'opacity-60': 0.6,
|
|
44
|
-
'opacity-100': 1,
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export const SPACINGS = {
|
|
48
|
-
'space-none': 0,
|
|
49
|
-
'space-2xs': rem('2px'),
|
|
50
|
-
'space-xs': rem('4px'),
|
|
51
|
-
'space-s': rem('8px'),
|
|
52
|
-
'space-m': rem('16px'),
|
|
53
|
-
'space-l': rem('24px'),
|
|
54
|
-
'space-xl': rem('32px'),
|
|
55
|
-
'space-2xl': rem('40px'),
|
|
56
|
-
'space-3xl': rem('48px'),
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export const FONT_FAMILIES = {
|
|
60
|
-
'font-family-default': "'Sharp Sans', Manrope, sans-serif",
|
|
61
|
-
'font-family-monospace': 'Roboto Mono, monospace',
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export const FONT_SIZES = {
|
|
65
|
-
'font-size-6': rem('10px'),
|
|
66
|
-
'font-size-5': rem('12px'),
|
|
67
|
-
'font-size-4': rem('14px'),
|
|
68
|
-
'font-size-3': rem('16px'),
|
|
69
|
-
'font-size-2': rem('20px'),
|
|
70
|
-
'font-size-1': rem('26px'),
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export const FONT_WEIGHTS = {
|
|
74
|
-
'font-weight-regular': 400,
|
|
75
|
-
'font-weight-medium': 500,
|
|
76
|
-
'font-weight-bold': 700,
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
const FONT_HEIGHTS = {
|
|
80
|
-
'font-height-1': '100%',
|
|
81
|
-
'font-height-2': '125%',
|
|
82
|
-
'font-height-3': '140%',
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export const SHADOWS = {
|
|
86
|
-
'shadow-none': 'none',
|
|
87
|
-
'shadow-modal': '0px 2px 6px 0px rgba(10, 10, 11, 0.4)',
|
|
88
|
-
'shadow-droplist': '0px 2px 3px 0px rgba(10, 10, 11, 0.4)',
|
|
89
|
-
'shadow-glow-primary': '0px 0px 4px 0px rgba(51, 204, 96, 1)',
|
|
90
|
-
'shadow-glow-warning': '0px 0px 4px 0px rgba(255, 206, 79, 1.0)',
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export const BORDER_RADIUSES = {
|
|
94
|
-
'border-radius-none': 0,
|
|
95
|
-
'border-radius-s': rem('4px'),
|
|
96
|
-
'border-radius-m': rem('8px'),
|
|
97
|
-
'border-radius-l': rem('16px'),
|
|
98
|
-
'border-radius-circle': '50%',
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export const BORDER_WIDTHS = {
|
|
102
|
-
'border-width-none': 0,
|
|
103
|
-
'border-width-thin': '1px',
|
|
104
|
-
'border-width-medium': '2px',
|
|
105
|
-
'border-width-bold': '4px',
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
const Z_INDEXES = {
|
|
109
|
-
'z-index-none': 0,
|
|
110
|
-
'z-index-default': 1,
|
|
111
|
-
'z-index-droplist': 10,
|
|
112
|
-
'z-index-tooltip': 15,
|
|
113
|
-
'z-index-overlay': 20,
|
|
114
|
-
'z-index-modal': 30,
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
const TEXT_ALIGNMENT = {
|
|
118
|
-
left: 'left',
|
|
119
|
-
center: 'center',
|
|
120
|
-
right: 'right',
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export const HEIGHTS = {
|
|
124
|
-
'height-small': rem('24px'),
|
|
125
|
-
'height-default': rem('36px'),
|
|
126
|
-
'height-large': rem('48px'),
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
const color = generateColorGetter(COLORS)
|
|
130
|
-
const shadow = generateShadowGetter(SHADOWS)
|
|
131
|
-
const spacing = generateSpacingGetter(SPACINGS)
|
|
132
|
-
const font = generateFontGetters({
|
|
133
|
-
families: FONT_FAMILIES,
|
|
134
|
-
heights: FONT_HEIGHTS,
|
|
135
|
-
sizes: FONT_SIZES,
|
|
136
|
-
weights: FONT_WEIGHTS,
|
|
137
|
-
})
|
|
138
|
-
const border = generateBorderGetters({
|
|
139
|
-
radiuses: BORDER_RADIUSES,
|
|
140
|
-
widths: BORDER_WIDTHS,
|
|
141
|
-
})
|
|
142
|
-
|
|
143
|
-
const height = generateHeightGetter(HEIGHTS)
|
|
144
|
-
|
|
145
|
-
const loadsmart = {
|
|
146
|
-
...BORDER_RADIUSES,
|
|
147
|
-
...BORDER_WIDTHS,
|
|
148
|
-
...COLORS,
|
|
149
|
-
...FONT_FAMILIES,
|
|
150
|
-
...FONT_SIZES,
|
|
151
|
-
...FONT_WEIGHTS,
|
|
152
|
-
...FONT_HEIGHTS,
|
|
153
|
-
...OPACITIES,
|
|
154
|
-
...SHADOWS,
|
|
155
|
-
...SPACINGS,
|
|
156
|
-
...Z_INDEXES,
|
|
157
|
-
...TEXT_ALIGNMENT,
|
|
158
|
-
...HEIGHTS,
|
|
159
|
-
|
|
160
|
-
// button
|
|
161
|
-
'button-border-radius': border.radius('s'),
|
|
162
|
-
'button-border-width': border.width('thin'),
|
|
163
|
-
'button-font-weight': font.weight('bold'),
|
|
164
|
-
'button-font-height': font.height('1'),
|
|
165
|
-
'button-small-font-size': font.size('5'),
|
|
166
|
-
'button-small-height': height('small'),
|
|
167
|
-
'button-small-padding-x': spacing('s'),
|
|
168
|
-
'button-small-padding-y': rem('6px'),
|
|
169
|
-
'button-font-size': font.size('3'),
|
|
170
|
-
'button-height': height('default'),
|
|
171
|
-
'button-width': 'auto',
|
|
172
|
-
'button-padding-y': rem('10px'),
|
|
173
|
-
'button-padding-x': spacing('m'),
|
|
174
|
-
'button-spacing-x': spacing('s'),
|
|
175
|
-
'button-large-font-size': font.size('3'),
|
|
176
|
-
'button-large-height': height('large'),
|
|
177
|
-
'button-large-padding-x': spacing('m'),
|
|
178
|
-
'button-large-padding-y': rem('14px'),
|
|
179
|
-
'button-outline-offset': '0',
|
|
180
|
-
|
|
181
|
-
// button primary
|
|
182
|
-
'button-primary-background': color('primary'),
|
|
183
|
-
'button-primary-background--hover': color('accent'),
|
|
184
|
-
'button-primary-background--focus': color('primary'),
|
|
185
|
-
'button-primary-background--active': color('accent'),
|
|
186
|
-
'button-primary-background--disabled': color('primary'),
|
|
187
|
-
|
|
188
|
-
'button-primary-border-color': color('primary'),
|
|
189
|
-
'button-primary-border-color--hover': color('accent'),
|
|
190
|
-
'button-primary-border-color--focus': color('accent'),
|
|
191
|
-
'button-primary-border-color--active': color('accent'),
|
|
192
|
-
'button-primary-border-color--disabled': color('primary'),
|
|
193
|
-
|
|
194
|
-
'button-primary-color': color('neutral-white'),
|
|
195
|
-
'button-primary-color--hover': color('neutral-white'),
|
|
196
|
-
'button-primary-color--focus': color('neutral-white'),
|
|
197
|
-
'button-primary-color--active': color('neutral-white'),
|
|
198
|
-
'button-primary-color--disabled': color('neutral-white'),
|
|
199
|
-
|
|
200
|
-
'button-primary-outline': 'none',
|
|
201
|
-
'button-primary-box-shadow': shadow('glow-primary'),
|
|
202
|
-
|
|
203
|
-
// button secondary
|
|
204
|
-
'button-secondary-background': color('transparent'),
|
|
205
|
-
'button-secondary-background--hover': color('neutral', 0.2),
|
|
206
|
-
'button-secondary-background--focus': color('transparent'),
|
|
207
|
-
'button-secondary-background--active': color('transparent'),
|
|
208
|
-
'button-secondary-background--disabled': color('transparent'),
|
|
209
|
-
|
|
210
|
-
'button-secondary-border-color': color('neutral-darker'),
|
|
211
|
-
'button-secondary-border-color--hover': color('accent'),
|
|
212
|
-
'button-secondary-border-color--focus': color('accent'),
|
|
213
|
-
'button-secondary-border-color--active': color('accent', 0.6),
|
|
214
|
-
'button-secondary-border-color--disabled': color('neutral-darker'),
|
|
215
|
-
|
|
216
|
-
'button-secondary-color': color('neutral-darker'),
|
|
217
|
-
'button-secondary-color--hover': color('accent'),
|
|
218
|
-
'button-secondary-color--focus': color('primary'),
|
|
219
|
-
'button-secondary-color--active': color('accent', 0.6),
|
|
220
|
-
'button-secondary-color--disabled': color('neutral-darker'),
|
|
221
|
-
|
|
222
|
-
'button-secondary-outline': 'none',
|
|
223
|
-
'button-secondary-box-shadow': shadow('glow-primary'),
|
|
224
|
-
|
|
225
|
-
// button secondary dark
|
|
226
|
-
'button-secondary-dark-background': color('transparent'),
|
|
227
|
-
'button-secondary-dark-background--hover': color('neutral', 0.2),
|
|
228
|
-
'button-secondary-dark-background--focus': color('transparent'),
|
|
229
|
-
'button-secondary-dark-background--active': color('neutral', 0.4),
|
|
230
|
-
'button-secondary-dark-background--disabled': color('transparent'),
|
|
231
|
-
|
|
232
|
-
'button-secondary-dark-border-color': color('neutral-light'),
|
|
233
|
-
'button-secondary-dark-border-color--hover': color('accent'),
|
|
234
|
-
'button-secondary-dark-border-color--focus': color('neutral-light'),
|
|
235
|
-
'button-secondary-dark-border-color--active': color('accent', 0.6),
|
|
236
|
-
'button-secondary-dark-border-color--disabled': color('neutral-light'),
|
|
237
|
-
|
|
238
|
-
'button-secondary-dark-color': color('neutral-light'),
|
|
239
|
-
'button-secondary-dark-color--hover': color('accent'),
|
|
240
|
-
'button-secondary-dark-color--focus': color('neutral-light'),
|
|
241
|
-
'button-secondary-dark-color--active': color('accent', 0.6),
|
|
242
|
-
'button-secondary-dark-color--disabled': color('neutral-light'),
|
|
243
|
-
|
|
244
|
-
// button tertiary
|
|
245
|
-
'button-tertiary-background': color('transparent'),
|
|
246
|
-
'button-tertiary-background--hover': color('neutral', 0.2),
|
|
247
|
-
'button-tertiary-background--focus': color('neutral', 0.2),
|
|
248
|
-
'button-tertiary-background--active': color('transparent'),
|
|
249
|
-
'button-tertiary-background--disabled': color('transparent'),
|
|
250
|
-
|
|
251
|
-
'button-tertiary-border-color': color('transparent'),
|
|
252
|
-
'button-tertiary-border-color--hover': color('transparent'),
|
|
253
|
-
'button-tertiary-border-color--focus': color('transparent'),
|
|
254
|
-
'button-tertiary-border-color--active': color('accent', 0.6),
|
|
255
|
-
'button-tertiary-border-color--disabled': color('transparent'),
|
|
256
|
-
|
|
257
|
-
'button-tertiary-color': color('neutral-darker'),
|
|
258
|
-
'button-tertiary-color--hover': color('accent'),
|
|
259
|
-
'button-tertiary-color--focus': color('primary'),
|
|
260
|
-
'button-tertiary-color--active': color('accent', 0.6),
|
|
261
|
-
'button-tertiary-color--disabled': color('neutral-darker'),
|
|
262
|
-
|
|
263
|
-
'button-tertiary-outline': 'none',
|
|
264
|
-
'button-tertiary-box-shadow': 'none',
|
|
265
|
-
|
|
266
|
-
// button warning
|
|
267
|
-
'button-warning-background': color('transparent'),
|
|
268
|
-
'button-warning-background--hover': color('warning', 0.2),
|
|
269
|
-
'button-warning-background--focus': color('transparent'),
|
|
270
|
-
'button-warning-background--active': color('transparent'),
|
|
271
|
-
'button-warning-background--disabled': color('transparent'),
|
|
272
|
-
|
|
273
|
-
'button-warning-border-color': color('warning-dark'),
|
|
274
|
-
'button-warning-border-color--hover': color('warning'),
|
|
275
|
-
'button-warning-border-color--focus': color('warning-dark'),
|
|
276
|
-
'button-warning-border-color--active': color('warning'),
|
|
277
|
-
'button-warning-border-color--disabled': color('warning-dark'),
|
|
278
|
-
|
|
279
|
-
'button-warning-color': color('warning-dark'),
|
|
280
|
-
'button-warning-color--hover': color('warning'),
|
|
281
|
-
'button-warning-color--focus': color('warning-dark'),
|
|
282
|
-
'button-warning-color--active': color('warning'),
|
|
283
|
-
'button-warning-color--disabled': color('warning-dark'),
|
|
284
|
-
|
|
285
|
-
'button-warning-outline': 'none',
|
|
286
|
-
'button-warning-box-shadow': shadow('glow-warning'),
|
|
287
|
-
|
|
288
|
-
// button icon
|
|
289
|
-
'button-icon-border-radius': border.radius('circle'),
|
|
290
|
-
'button-icon-small-width': height('small'),
|
|
291
|
-
'button-icon-width': height('default'),
|
|
292
|
-
'button-icon-large-width': height('large'),
|
|
293
|
-
|
|
294
|
-
'button-icon-background': color('neutral-lighter'),
|
|
295
|
-
'button-icon-background--hover': color('neutral-lighter'),
|
|
296
|
-
'button-icon-background--focus': color('neutral-lighter'),
|
|
297
|
-
'button-icon-background--active': color('neutral-light'),
|
|
298
|
-
'button-icon-background--disabled': color('neutral-lighter'),
|
|
299
|
-
|
|
300
|
-
'button-icon-border-color': color('neutral-lighter'),
|
|
301
|
-
'button-icon-border-color--hover': color('neutral-lighter'),
|
|
302
|
-
'button-icon-border-color--focus': color('neutral-lighter'),
|
|
303
|
-
'button-icon-border-color--active': color('neutral-light'),
|
|
304
|
-
'button-icon-border-color--disabled': color('neutral-lighter'),
|
|
305
|
-
|
|
306
|
-
'button-icon-color': color('neutral-darkest'),
|
|
307
|
-
'button-icon-color--hover': color('accent'),
|
|
308
|
-
'button-icon-color--focus': color('neutral-darkest'),
|
|
309
|
-
'button-icon-color--active': color('neutral-darkest'),
|
|
310
|
-
'button-icon-color--disabled': color('neutral-darkest'),
|
|
311
|
-
|
|
312
|
-
'button-icon-box-shadow': shadow('glow-primary'),
|
|
313
|
-
'button-icon-outline': 'none',
|
|
314
|
-
|
|
315
|
-
// tag
|
|
316
|
-
'tag-border-radius': rem('30px'),
|
|
317
|
-
'tag-border-width': border.width('thin'),
|
|
318
|
-
'tag-font-height': font.height('1'),
|
|
319
|
-
'tag-spacing': `0 ${spacing('s')}`,
|
|
320
|
-
'tag-removable-spacing': `0 ${spacing('xs')} 0 ${spacing('s')}`,
|
|
321
|
-
'tag-width': 'auto',
|
|
322
|
-
'tag-box-shadow': shadow('glow-primary'),
|
|
323
|
-
'tag-outline-offset': '0',
|
|
324
|
-
|
|
325
|
-
'tag-remove-button-background': color('neutral-white'),
|
|
326
|
-
'tag-remove-button-border-radius': rem('24px'),
|
|
327
|
-
'tag-icon-spacing': spacing('xs'),
|
|
328
|
-
|
|
329
|
-
// tag small
|
|
330
|
-
'tag-small-font-size': font.size('6'),
|
|
331
|
-
'tag-small-font-weight': font.weight('bold'),
|
|
332
|
-
'tag-small-height': rem('16px'),
|
|
333
|
-
'tag-small-transform': 'uppercase',
|
|
334
|
-
'tag-small-leading-display': 'none',
|
|
335
|
-
'tag-small-remove-button-size': rem('0'),
|
|
336
|
-
'tag-small-remove-button-icon-size': rem('0'),
|
|
337
|
-
'tag-small-spacing': `0 ${spacing('s')}`,
|
|
338
|
-
'tag-small-removable-spacing': `0 ${spacing('s')}`,
|
|
339
|
-
|
|
340
|
-
// tag medium
|
|
341
|
-
'tag-font-size': font.size('5'),
|
|
342
|
-
'tag-font-weight': font.weight('bold'),
|
|
343
|
-
'tag-height': rem('24px'),
|
|
344
|
-
'tag-transform': 'none',
|
|
345
|
-
'tag-leading-display': 'inline-flex',
|
|
346
|
-
'tag-remove-button-size': rem('16px'),
|
|
347
|
-
'tag-remove-button-icon-size': rem('10px'),
|
|
348
|
-
|
|
349
|
-
// tag large
|
|
350
|
-
'tag-large-font-size': font.size('4'),
|
|
351
|
-
'tag-large-font-weight': font.weight('bold'),
|
|
352
|
-
'tag-large-height': rem('32px'),
|
|
353
|
-
'tag-large-transform': 'none',
|
|
354
|
-
'tag-large-leading-display': 'inline-flex',
|
|
355
|
-
'tag-large-remove-button-size': rem('24px'),
|
|
356
|
-
'tag-large-remove-button-icon-size': rem('12px'),
|
|
357
|
-
'tag-large-spacing': `0 ${spacing('s')}`,
|
|
358
|
-
|
|
359
|
-
// tag default
|
|
360
|
-
'tag-default-background': color('neutral-light'),
|
|
361
|
-
'tag-default-background--hover': color('accent', 0.4),
|
|
362
|
-
'tag-default-background--focus': color('neutral-dark', 0.2),
|
|
363
|
-
|
|
364
|
-
'tag-default-color': color('neutral-darkest'),
|
|
365
|
-
'tag-default-color--hover': color('neutral-darkest'),
|
|
366
|
-
'tag-default-color--focus': color('neutral-dark'),
|
|
367
|
-
|
|
368
|
-
'tag-default-border-color': 'transparent',
|
|
369
|
-
'tag-default-border-color--hover': 'transparent',
|
|
370
|
-
'tag-default-border-color--focus': 'transparent',
|
|
371
|
-
|
|
372
|
-
'tag-default-outline': 'none',
|
|
373
|
-
|
|
374
|
-
// tag outline
|
|
375
|
-
'tag-outlined-background': color('transparent'),
|
|
376
|
-
'tag-outlined-background--hover': color('accent', 0.4),
|
|
377
|
-
'tag-outlined-background--focus': color('neutral-white'),
|
|
378
|
-
|
|
379
|
-
'tag-outlined-color': color('neutral-darkest'),
|
|
380
|
-
'tag-outlined-color--hover': color('neutral-darkest'),
|
|
381
|
-
'tag-outlined-color--focus': color('neutral-darker'),
|
|
382
|
-
|
|
383
|
-
'tag-outlined-border-color': color('neutral-darkest'),
|
|
384
|
-
'tag-outlined-border-color--hover': color('neutral-darkest'),
|
|
385
|
-
'tag-outlined-border-color--focus': color('neutral-darker'),
|
|
386
|
-
|
|
387
|
-
'tag-outline-outline': 'none',
|
|
388
|
-
|
|
389
|
-
// tag accent
|
|
390
|
-
'tag-accent-background': color('accent', 0.2),
|
|
391
|
-
'tag-accent-background--hover': color('accent', 0.4),
|
|
392
|
-
'tag-accent-background--focus': color('accent', 0.2),
|
|
393
|
-
|
|
394
|
-
'tag-accent-color': color('accent'),
|
|
395
|
-
'tag-accent-color--hover': color('accent'),
|
|
396
|
-
'tag-accent-color--focus': color('accent'),
|
|
397
|
-
|
|
398
|
-
'tag-accent-border-color': 'transparent',
|
|
399
|
-
'tag-accent-border-color--hover': 'transparent',
|
|
400
|
-
'tag-accent-border-color--focus': 'transparent',
|
|
401
|
-
|
|
402
|
-
'tag-accent-outline': 'none',
|
|
403
|
-
|
|
404
|
-
// tag success
|
|
405
|
-
'tag-success-background': color('success-light'),
|
|
406
|
-
'tag-success-background--hover': color('success-light'),
|
|
407
|
-
'tag-success-background--focus': color('success-light'),
|
|
408
|
-
|
|
409
|
-
'tag-success-color': color('success-dark'),
|
|
410
|
-
'tag-success-color--hover': color('success-dark'),
|
|
411
|
-
'tag-success-color--focus': color('success-dark'),
|
|
412
|
-
|
|
413
|
-
'tag-success-border-color': color('success-light'),
|
|
414
|
-
'tag-success-border-color--hover': color('success-light'),
|
|
415
|
-
'tag-success-border-color--focus': color('success-light'),
|
|
416
|
-
|
|
417
|
-
'tag-success-outline': 'none',
|
|
418
|
-
|
|
419
|
-
// tag warning
|
|
420
|
-
'tag-warning-background': color('warning-light'),
|
|
421
|
-
'tag-warning-background--hover': color('warning-light'),
|
|
422
|
-
'tag-warning-background--focus': color('warning-light'),
|
|
423
|
-
|
|
424
|
-
'tag-warning-color': color('warning-dark'),
|
|
425
|
-
'tag-warning-color--hover': color('warning-dark'),
|
|
426
|
-
'tag-warning-color--focus': color('warning-dark'),
|
|
427
|
-
|
|
428
|
-
'tag-warning-border-color': color('warning-light'),
|
|
429
|
-
'tag-warning-border-color--hover': color('warning-light'),
|
|
430
|
-
'tag-warning-border-color--focus': color('warning-light'),
|
|
431
|
-
|
|
432
|
-
'tag-warning-outline': 'none',
|
|
433
|
-
|
|
434
|
-
// tag danger
|
|
435
|
-
'tag-danger-background': color('danger-light'),
|
|
436
|
-
'tag-danger-background--hover': color('danger-light'),
|
|
437
|
-
'tag-danger-background--focus': color('danger-light'),
|
|
438
|
-
|
|
439
|
-
'tag-danger-color': color('danger-dark'),
|
|
440
|
-
'tag-danger-color--hover': color('danger-dark'),
|
|
441
|
-
'tag-danger-color--focus': color('danger-dark'),
|
|
442
|
-
|
|
443
|
-
'tag-danger-border-color': color('danger-light'),
|
|
444
|
-
'tag-danger-border-color--hover': color('danger-light'),
|
|
445
|
-
'tag-danger-border-color--focus': color('danger-light'),
|
|
446
|
-
|
|
447
|
-
'tag-danger-outline': 'none',
|
|
448
|
-
|
|
449
|
-
// checkbox
|
|
450
|
-
'checkbox-color': color('neutral-darker'),
|
|
451
|
-
'checkbox-font-weight': font.weight('medium'),
|
|
452
|
-
'checkbox-font-size': font.size('4'),
|
|
453
|
-
|
|
454
|
-
'checkbox-selector-border-radius': border.radius('s'),
|
|
455
|
-
'checkbox-selector-size': rem('16px'),
|
|
456
|
-
'checkbox-selector-box-shadow': shadow('glow-primary'),
|
|
457
|
-
'checkbox-selector-outline': 'none',
|
|
458
|
-
'checkbox-selector-outline-offset': '0',
|
|
459
|
-
|
|
460
|
-
'checkbox-small-font-size': font.size('5'),
|
|
461
|
-
|
|
462
|
-
'checkbox-selector-icon-color': color('neutral-white'),
|
|
463
|
-
|
|
464
|
-
'checkbox-selector-background': color('neutral-white'),
|
|
465
|
-
'checkbox-selector-background--hover': color('neutral-white'),
|
|
466
|
-
'checkbox-selector-background--focus': color('neutral-white'),
|
|
467
|
-
'checkbox-selector-background--disabled': color('neutral-light'),
|
|
468
|
-
|
|
469
|
-
'checkbox-selector-checked-background': color('primary'),
|
|
470
|
-
'checkbox-selector-checked-background--hover': color('accent'),
|
|
471
|
-
'checkbox-selector-checked-background--focus': color('primary'),
|
|
472
|
-
'checkbox-selector-checked-background--disabled': color('primary'),
|
|
473
|
-
|
|
474
|
-
'checkbox-selector-border-color': color('neutral-darker'),
|
|
475
|
-
'checkbox-selector-border-color--hover': color('accent'),
|
|
476
|
-
'checkbox-selector-border-color--focus': color('accent'),
|
|
477
|
-
'checkbox-selector-border-color--disabled': color('neutral-darker'),
|
|
478
|
-
|
|
479
|
-
'checkbox-selector-checked-border-color': color('primary'),
|
|
480
|
-
'checkbox-selector-checked-border-color--hover': color('accent'),
|
|
481
|
-
'checkbox-selector-checked-border-color--focus': color('accent'),
|
|
482
|
-
'checkbox-selector-checked-border-color--disabled': color('neutral-darkest'),
|
|
483
|
-
|
|
484
|
-
// checkbox dark
|
|
485
|
-
'checkbox-dark-color': color('neutral-lighter'),
|
|
486
|
-
|
|
487
|
-
'checkbox-dark-selector-background': color('neutral-darker'),
|
|
488
|
-
'checkbox-dark-selector-background--hover': color('neutral-darker'),
|
|
489
|
-
'checkbox-dark-selector-background--focus': color('neutral-darker'),
|
|
490
|
-
'checkbox-dark-selector-background--disabled': color('neutral-neutral'),
|
|
491
|
-
|
|
492
|
-
'checkbox-dark-selector-border-color': color('neutral-lighter'),
|
|
493
|
-
'checkbox-dark-selector-border-color--hover': color('accent'),
|
|
494
|
-
'checkbox-dark-selector-border-color--focus': color('accent'),
|
|
495
|
-
'checkbox-dark-selector-border-color--disabled': color('neutral-lighter'),
|
|
496
|
-
|
|
497
|
-
// radio
|
|
498
|
-
'radio-color': color('accent'),
|
|
499
|
-
'radio-font-weight': font.weight('medium'),
|
|
500
|
-
'radio-font-size': font.size('4'),
|
|
501
|
-
|
|
502
|
-
'radio-selector-border-radius': border.radius('circle'),
|
|
503
|
-
'radio-selector-size': rem('24px'),
|
|
504
|
-
'radio-selector-box-shadow': shadow('glow-primary'),
|
|
505
|
-
|
|
506
|
-
'radio-small-font-size': font.size('5'),
|
|
507
|
-
'radio-small-selector-size': rem('16px'),
|
|
508
|
-
|
|
509
|
-
'radio-selector-background': color('neutral-white'),
|
|
510
|
-
'radio-selector-background--hover': color('neutral-white'),
|
|
511
|
-
'radio-selector-background--focus': color('neutral-white'),
|
|
512
|
-
'radio-selector-background--disabled': color('neutral-light'),
|
|
513
|
-
|
|
514
|
-
'radio-selector-border-color': color('neutral-darker'),
|
|
515
|
-
'radio-selector-border-color--hover': color('accent'),
|
|
516
|
-
'radio-selector-border-color--focus': color('accent'),
|
|
517
|
-
'radio-selector-border-color--disabled': color('neutral-darker'),
|
|
518
|
-
|
|
519
|
-
'radio-selector-border-color--checked': color('accent'),
|
|
520
|
-
|
|
521
|
-
// radio dark
|
|
522
|
-
'radio-dark-color': color('neutral-lighter'),
|
|
523
|
-
|
|
524
|
-
'radio-dark-selector-background': color('neutral-darker'),
|
|
525
|
-
'radio-dark-selector-background--hover': color('neutral-darker'),
|
|
526
|
-
'radio-dark-selector-background--focus': color('neutral-darker'),
|
|
527
|
-
'radio-dark-selector-background--disabled': color('neutral-neutral'),
|
|
528
|
-
|
|
529
|
-
'radio-dark-selector-border-color': color('neutral-lighter'),
|
|
530
|
-
'radio-dark-selector-border-color--hover': color('accent'),
|
|
531
|
-
'radio-dark-selector-border-color--focus': color('accent'),
|
|
532
|
-
'radio-dark-selector-border-color--disabled': color('neutral-lighter'),
|
|
533
|
-
|
|
534
|
-
// tooltip
|
|
535
|
-
'tooltip-arrow-height': rem('12px'),
|
|
536
|
-
'tooltip-arrow-width': rem('20px'),
|
|
537
|
-
'tooltip-background': color('neutral-darker'),
|
|
538
|
-
'tooltip-border-radius': rem('8px'),
|
|
539
|
-
'tooltip-color': color('neutral-white'),
|
|
540
|
-
'tooltip-dark-outline': color('neutral', 0.4),
|
|
541
|
-
'tooltip-font-size': font.size('4'),
|
|
542
|
-
'tooltip-font-height': font.height('3'),
|
|
543
|
-
'tooltip-max-width': rem('240px'),
|
|
544
|
-
'tooltip-min-width': rem('80px'),
|
|
545
|
-
'tooltip-outline': color('neutral-darkest'),
|
|
546
|
-
'tooltip-padding-x': spacing('m'),
|
|
547
|
-
'tooltip-padding-y': spacing('s'),
|
|
548
|
-
'tooltip-margin': spacing('s'),
|
|
549
|
-
'tooltip-shadow': shadow('droplist'),
|
|
550
|
-
|
|
551
|
-
// modal
|
|
552
|
-
'modal-small-max-width': rem('344px'),
|
|
553
|
-
'modal-max-width': rem('484px'),
|
|
554
|
-
'modal-large-max-width': rem('688px'),
|
|
555
|
-
'modal-overlay-background': color('neutral-darkest', 0.4),
|
|
556
|
-
|
|
557
|
-
// dialog
|
|
558
|
-
'dialog-header-color': color('neutral-darkest'),
|
|
559
|
-
'dialog-header-border-color': color('neutral-light'),
|
|
560
|
-
'dialog-body-font-color': color('color-neutral-darker'),
|
|
561
|
-
|
|
562
|
-
// text-field
|
|
563
|
-
'text-field-border-radius': border.radius('s'),
|
|
564
|
-
'text-field-color': color('neutral-darker'),
|
|
565
|
-
'text-field-font-size': font.size('4'),
|
|
566
|
-
'text-field-font-weight': font.weight('medium'),
|
|
567
|
-
'text-field-font-height': font.height('3'),
|
|
568
|
-
'text-field-height': height('default'),
|
|
569
|
-
'text-field-padding-x': spacing('s'),
|
|
570
|
-
'text-field-padding-y': spacing('s'),
|
|
571
|
-
|
|
572
|
-
'text-field-box-shadow': shadow('glow-primary'),
|
|
573
|
-
'text-field-outline': 'none',
|
|
574
|
-
'text-field-outline-offset': '0',
|
|
575
|
-
|
|
576
|
-
'text-field-small-height': height('small'),
|
|
577
|
-
'text-field-small-padding-x': spacing('s'),
|
|
578
|
-
'text-field-small-padding-y': spacing('xs'),
|
|
579
|
-
'text-field-small-font-size': font.size('5'),
|
|
580
|
-
|
|
581
|
-
'text-field-large-height': height('large'),
|
|
582
|
-
'text-field-large-padding-x': spacing('s'),
|
|
583
|
-
'text-field-large-padding-y': rem('12px'),
|
|
584
|
-
'text-field-large-font-size': font.size('4'),
|
|
585
|
-
|
|
586
|
-
'text-field-background': color('neutral-white'),
|
|
587
|
-
'text-field-background--hover': color('neutral-white'),
|
|
588
|
-
'text-field-background--focus': color('neutral-white'),
|
|
589
|
-
'text-field-background--disabled': color('neutral-light'),
|
|
590
|
-
|
|
591
|
-
'text-field-border-color': color('neutral-darker'),
|
|
592
|
-
'text-field-border-color--hover': color('accent'),
|
|
593
|
-
'text-field-border-color--focus': color('accent'),
|
|
594
|
-
'text-field-border-color--disabled': color('neutral-darker'),
|
|
595
|
-
|
|
596
|
-
// text-field dark
|
|
597
|
-
'text-field-dark-color': color('neutral-lighter'),
|
|
598
|
-
|
|
599
|
-
'text-field-dark-background': color('neutral-darker'),
|
|
600
|
-
'text-field-dark-border-color': color('neutral-lighter'),
|
|
601
|
-
'text-field-dark-border-color--hover': color('accent'),
|
|
602
|
-
'text-field-dark-border-color--focus': color('accent'),
|
|
603
|
-
'text-field-dark-border-color--disabled': color('neutral-lighter'),
|
|
604
|
-
|
|
605
|
-
'text-field-success-border-color': color('accent'),
|
|
606
|
-
'text-field-danger-border-color': color('danger'),
|
|
607
|
-
|
|
608
|
-
'text-field-dark-box-shadow': color('neutral', 0.4),
|
|
609
|
-
|
|
610
|
-
// textarea
|
|
611
|
-
'textarea-border-radius': border.radius('s'),
|
|
612
|
-
'textarea-color': color('neutral-darker'),
|
|
613
|
-
'textarea-font-size': font.size('4'),
|
|
614
|
-
'textarea-font-weight': font.weight('medium'),
|
|
615
|
-
'textarea-font-height': font.height('3'),
|
|
616
|
-
'textarea-min-height': rem('64px'),
|
|
617
|
-
'textarea-padding-x': spacing('s'),
|
|
618
|
-
'textarea-padding-y': spacing('s'),
|
|
619
|
-
|
|
620
|
-
'textarea-box-shadow': shadow('glow-primary'),
|
|
621
|
-
'textarea-outline': 'none',
|
|
622
|
-
'textarea-outline-offset': '0',
|
|
623
|
-
|
|
624
|
-
'textarea-small-padding-x': spacing('s'),
|
|
625
|
-
'textarea-small-padding-y': spacing('xs'),
|
|
626
|
-
'textarea-small-font-size': font.size('5'),
|
|
627
|
-
|
|
628
|
-
'textarea-large-height': rem('45px'),
|
|
629
|
-
'textarea-large-padding-x': spacing('s'),
|
|
630
|
-
'textarea-large-padding-y': rem('12px'),
|
|
631
|
-
'textarea-large-font-size': font.size('4'),
|
|
632
|
-
|
|
633
|
-
'textarea-background': color('neutral-white'),
|
|
634
|
-
'textarea-background--hover': color('neutral-white'),
|
|
635
|
-
'textarea-background--focus': color('neutral-white'),
|
|
636
|
-
'textarea-background--disabled': color('neutral-light'),
|
|
637
|
-
|
|
638
|
-
'textarea-border-color': color('neutral-darker'),
|
|
639
|
-
'textarea-border-color--hover': color('accent'),
|
|
640
|
-
'textarea-border-color--focus': color('accent'),
|
|
641
|
-
'textarea-border-color--disabled': color('neutral-darker'),
|
|
642
|
-
|
|
643
|
-
// textarea dark
|
|
644
|
-
'textarea-dark-color': color('neutral-lighter'),
|
|
645
|
-
|
|
646
|
-
'textarea-dark-background': color('neutral-darker'),
|
|
647
|
-
'textarea-dark-border-color': color('neutral-lighter'),
|
|
648
|
-
'textarea-dark-border-color--hover': color('accent'),
|
|
649
|
-
'textarea-dark-border-color--focus': color('accent'),
|
|
650
|
-
'textarea-dark-border-color--disabled': color('neutral-lighter'),
|
|
651
|
-
|
|
652
|
-
'textarea-success-border-color': color('accent'),
|
|
653
|
-
'textarea-danger-border-color': color('danger'),
|
|
654
|
-
|
|
655
|
-
'textarea-dark-box-shadow': color('neutral', 0.4),
|
|
656
|
-
|
|
657
|
-
// link
|
|
658
|
-
'link-font-size': font.size('3'),
|
|
659
|
-
'link-font-height': font.height('2'),
|
|
660
|
-
'link-color': color('accent'),
|
|
661
|
-
|
|
662
|
-
'link-font-weight': font.weight('medium'),
|
|
663
|
-
'link-font-weight--hover': font.weight('bold'),
|
|
664
|
-
|
|
665
|
-
'link-box-shadow': shadow('glow-primary'),
|
|
666
|
-
'link-outline': 'none',
|
|
667
|
-
'link-outline-offset': '0',
|
|
668
|
-
|
|
669
|
-
// breadcrumbs
|
|
670
|
-
'breadcrumbs-font-size': font.size('2'),
|
|
671
|
-
'breadcrumbs-font-height': font.height('2'),
|
|
672
|
-
'breadcrumbs-font-weight': font.weight('medium'),
|
|
673
|
-
'breadcrumbs-font-weight--active': font.weight('bold'),
|
|
674
|
-
'breadcrumbs-spacing-x': rem('36px'),
|
|
675
|
-
|
|
676
|
-
//banner
|
|
677
|
-
'banner-font-size': font.size('4'),
|
|
678
|
-
'banner-font-height': font.height('3'),
|
|
679
|
-
'banner-default-height': rem('40px'),
|
|
680
|
-
'banner-min-width': rem('320px'),
|
|
681
|
-
'banner-description-color': color('neutral-darker'),
|
|
682
|
-
'banner-title-font-weight': font.weight('bold'),
|
|
683
|
-
'banner-border-radius': border.radius('m'),
|
|
684
|
-
'banner-border-width': border.width('thin'),
|
|
685
|
-
'banner-close-button-color': color('neutral-darker'),
|
|
686
|
-
'banner-icon-width': rem('24px'),
|
|
687
|
-
'banner-icon-height': rem('24px'),
|
|
688
|
-
'banner-icon-margin-right': rem('10px'),
|
|
689
|
-
'banner-default-padding-x': spacing('m'),
|
|
690
|
-
'banner-default-padding-y': spacing('s'),
|
|
691
|
-
'banner-large-padding': spacing('m'),
|
|
692
|
-
'banner-default-icon-alignment': 'center',
|
|
693
|
-
'banner-large-icon-alignment': 'start',
|
|
694
|
-
'banner-default-close-top': spacing('s'),
|
|
695
|
-
'banner-default-close-right': spacing('s'),
|
|
696
|
-
'banner-large-close-top': rem('12px'),
|
|
697
|
-
'banner-large-close-right': rem('12px'),
|
|
698
|
-
|
|
699
|
-
//banner success
|
|
700
|
-
'banner-title-color-success': color('success-dark'),
|
|
701
|
-
'banner-border-color-success': color('success'),
|
|
702
|
-
'banner-background-success': color('success-light'),
|
|
703
|
-
|
|
704
|
-
//banner danger
|
|
705
|
-
'banner-title-color-danger': color('danger-dark'),
|
|
706
|
-
'banner-border-color-danger': color('danger'),
|
|
707
|
-
'banner-background-danger': color('danger-light'),
|
|
708
|
-
|
|
709
|
-
//banner warning
|
|
710
|
-
'banner-title-color-warning': color('warning-dark'),
|
|
711
|
-
'banner-border-color-warning': color('warning'),
|
|
712
|
-
'banner-background-warning': color('warning-light'),
|
|
713
|
-
|
|
714
|
-
//banner neutral
|
|
715
|
-
'banner-title-color-neutral': color('neutral-darker'),
|
|
716
|
-
'banner-border-color-neutral': color('neutral'),
|
|
717
|
-
'banner-background-neutral': color('neutral-light'),
|
|
718
|
-
|
|
719
|
-
//banner action
|
|
720
|
-
'banner-button-background-success': color('success-dark'),
|
|
721
|
-
'banner-button-background-neutral': color('neutral-dark'),
|
|
722
|
-
'banner-button-background-danger': color('danger-dark'),
|
|
723
|
-
'banner-button-background-warning': color('warning-dark'),
|
|
724
|
-
'banner-button-background-secondary': color('transparent'),
|
|
725
|
-
'banner-button-text-color': color('neutral-white'),
|
|
726
|
-
'banner-secondary-button-margin-left': spacing('s'),
|
|
727
|
-
|
|
728
|
-
// progressbar
|
|
729
|
-
'progressbar-height': rem('5px'),
|
|
730
|
-
'progressbar-background': color('transparent'),
|
|
731
|
-
'progressbar-line': color('darker'),
|
|
732
|
-
// neutral
|
|
733
|
-
'progressbar-neutral-fill': color('neutral-light'),
|
|
734
|
-
// success
|
|
735
|
-
'progressbar-success-fill': color('success-light'),
|
|
736
|
-
// danger
|
|
737
|
-
'progressbar-danger-fill': color('danger-light'),
|
|
738
|
-
// warning
|
|
739
|
-
'progressbar-warning-fill': color('warning-light'),
|
|
740
|
-
|
|
741
|
-
// toast
|
|
742
|
-
'toast-padding-x': spacing('m'),
|
|
743
|
-
'toast-padding-y': spacing('m'),
|
|
744
|
-
'toast-border-radius': border.radius('s'),
|
|
745
|
-
'toast-font-color': color('neutral-white'),
|
|
746
|
-
'toast-font-size': font.size('4'),
|
|
747
|
-
'toast-font-weight': font.weight('bold'),
|
|
748
|
-
'toast-font-height': font.height('3'),
|
|
749
|
-
'toast-close-x': spacing('xs'),
|
|
750
|
-
'toast-close-y': spacing('xs'),
|
|
751
|
-
'toast-shadow': shadow('modal'),
|
|
752
|
-
'toast-width': rem('320px'),
|
|
753
|
-
// neutral
|
|
754
|
-
'toast-neutral-background': color('neutral-dark'),
|
|
755
|
-
// success
|
|
756
|
-
'toast-success-background': color('success'),
|
|
757
|
-
// danger
|
|
758
|
-
'toast-danger-background': color('danger'),
|
|
759
|
-
// warning
|
|
760
|
-
'toast-warning-background': color('warning'),
|
|
761
|
-
|
|
762
|
-
// Label
|
|
763
|
-
'label-font-size': font.size('4'),
|
|
764
|
-
'label-font-weight': font.weight('medium'),
|
|
765
|
-
'label-font-height': font.height('3'),
|
|
766
|
-
'label-font-color': color('darker'),
|
|
767
|
-
|
|
768
|
-
// Label required
|
|
769
|
-
'label-required-color': color('danger'),
|
|
770
|
-
|
|
771
|
-
// Label tooltip
|
|
772
|
-
'label-tooltip-margin-left': spacing('xs'),
|
|
773
|
-
|
|
774
|
-
'label-tooltip-font-weight': font.weight('bold'),
|
|
775
|
-
'label-tooltip-font-size': font.size('5'),
|
|
776
|
-
'label-tooltip-font-color': color('darker'),
|
|
777
|
-
|
|
778
|
-
'label-tooltip-background-color': color('neutral'),
|
|
779
|
-
|
|
780
|
-
// Label dark
|
|
781
|
-
'label-dark-font-color': color('neutral-white'),
|
|
782
|
-
|
|
783
|
-
// Label tooltip dark
|
|
784
|
-
'label-tooltip-dark-font-color': color('neutral-white'),
|
|
785
|
-
|
|
786
|
-
'label-tooltip-dark-background-color': color('neutral'),
|
|
787
|
-
|
|
788
|
-
// Switch
|
|
789
|
-
'switch-width': rem('52px'),
|
|
790
|
-
'switch-height': rem('22px'),
|
|
791
|
-
'switch-border-radius': rem('22px'),
|
|
792
|
-
|
|
793
|
-
'switch-box-shadow': shadow('glow-primary'),
|
|
794
|
-
'switch-outline': 'none',
|
|
795
|
-
'switch-outline-offset': '0',
|
|
796
|
-
|
|
797
|
-
// Switch Large
|
|
798
|
-
'switch-large-width': rem('70px'),
|
|
799
|
-
'switch-large-height': rem('32px'),
|
|
800
|
-
'switch-large-border-radius': rem('32px'),
|
|
801
|
-
|
|
802
|
-
// Switch Icon
|
|
803
|
-
'switch-icon-height': rem('16px'),
|
|
804
|
-
'switch-icon-width': rem('16px'),
|
|
805
|
-
'switch-icon-color': color('neutral-white'),
|
|
806
|
-
|
|
807
|
-
// Switch Icon Large
|
|
808
|
-
'switch-large-icon-height': rem('20px'),
|
|
809
|
-
'switch-large-icon-width': rem('20px'),
|
|
810
|
-
|
|
811
|
-
// Switch Icon Active
|
|
812
|
-
'switch-icon-active-x': rem('8px'),
|
|
813
|
-
'switch-icon-active-y': rem('3px'),
|
|
814
|
-
|
|
815
|
-
// Switch Large Icon Active
|
|
816
|
-
'switch-large-icon-active-x': rem('8px'),
|
|
817
|
-
'switch-large-icon-active-y': rem('6px'),
|
|
818
|
-
|
|
819
|
-
// Switch Icon Inactive
|
|
820
|
-
'switch-icon-inactive-x': rem('28px'),
|
|
821
|
-
'switch-icon-inactive-y': rem('3px'),
|
|
822
|
-
|
|
823
|
-
// Switch Large Icon Inactive
|
|
824
|
-
'switch-large-icon-inactive-x': rem('42px'),
|
|
825
|
-
'switch-large-icon-inactive-y': rem('6px'),
|
|
826
|
-
|
|
827
|
-
// Switch Inactive
|
|
828
|
-
'switch-inactive-background-color': color('neutral'),
|
|
829
|
-
'switch-inactive-background-color--hover': color('neutral-dark', 0.4),
|
|
830
|
-
|
|
831
|
-
// Switch Active
|
|
832
|
-
'switch-active-background-color': color('accent'),
|
|
833
|
-
'switch-active-background-color--hover': color('accent', 0.6),
|
|
834
|
-
|
|
835
|
-
// Switch Slider
|
|
836
|
-
'switch-slider-x': rem('3px'),
|
|
837
|
-
'switch-slider-active-x': rem('33px'),
|
|
838
|
-
'switch-slider-y': rem('3px'),
|
|
839
|
-
'switch-slider-active-y': rem('3px'),
|
|
840
|
-
'switch-slider-size': rem('16px'),
|
|
841
|
-
'switch-slider-background-color': color('neutral-white'),
|
|
842
|
-
'switch-slider-border-radius': border.radius('circle'),
|
|
843
|
-
|
|
844
|
-
// Switch Slider Large
|
|
845
|
-
'switch-slider-large-x': rem('2px'),
|
|
846
|
-
'switch-slider-large-active-x': rem('40px'),
|
|
847
|
-
'switch-slider-large-y': rem('2px'),
|
|
848
|
-
'switch-slider-large-active-y': rem('2px'),
|
|
849
|
-
'switch-slider-large-size': rem('28px'),
|
|
850
|
-
|
|
851
|
-
// steps
|
|
852
|
-
'steps-step-padding-y': spacing('xl'),
|
|
853
|
-
'steps-step-padding-x': spacing('xl'),
|
|
854
|
-
'steps-color': color('neutral-darker'),
|
|
855
|
-
'steps-progress-padding-y': spacing('xl'),
|
|
856
|
-
'steps-progress-padding-x': spacing('xl'),
|
|
857
|
-
'steps-spacing-y': spacing('3xl'),
|
|
858
|
-
'steps-indicator-size': rem('24px'),
|
|
859
|
-
'steps-conector-height': '1px',
|
|
860
|
-
'steps-conector-height--complete': '3px',
|
|
861
|
-
'steps-conector-top': '12px', // Math.round((steps-indicator-size - steps-conector-height) / 2)
|
|
862
|
-
'steps-conector-top--complete': '11px', // Math.round((steps-indicator-size - steps-conector-height--complete) / 2)
|
|
863
|
-
|
|
864
|
-
'steps-progress-step-background-color': color('neutral'),
|
|
865
|
-
'steps-progress-step-background-color--complete': color('accent'),
|
|
866
|
-
|
|
867
|
-
// card
|
|
868
|
-
'card-background': color('neutral-white'),
|
|
869
|
-
'card-border-color': color('neutral-light'),
|
|
870
|
-
'card-border-radius': border.radius('s'),
|
|
871
|
-
'card-color': color('neutral-darker'),
|
|
872
|
-
'card-flag-background-danger': color('danger'),
|
|
873
|
-
'card-flag-background-neutral': color('neutral-light'),
|
|
874
|
-
'card-flag-background-success': color('success'),
|
|
875
|
-
'card-flag-background-warning': color('warning'),
|
|
876
|
-
'card-flag-width': rem('4px'),
|
|
877
|
-
'card-font-height': font.height('3'),
|
|
878
|
-
'card-padding-x': spacing('m'),
|
|
879
|
-
'card-padding-y': spacing('m'),
|
|
880
|
-
'card-separator-background': color('neutral-lighter'),
|
|
881
|
-
'card-subtitle-font-size': font.size('4'),
|
|
882
|
-
'card-subtitle-font-weight': font.weight('medium'),
|
|
883
|
-
'card-title-font-height': font.height('2'),
|
|
884
|
-
'card-title-font-size': font.size('3'),
|
|
885
|
-
'card-title-font-weight': font.weight('bold'),
|
|
886
|
-
|
|
887
|
-
// dropdown
|
|
888
|
-
'dropdown-background': color('neutral-white'),
|
|
889
|
-
'dropdown-border-color': color('neutral-light'),
|
|
890
|
-
'dropdown-border-radius': border.radius('s'),
|
|
891
|
-
'dropdown-shadow': shadow('droplist'),
|
|
892
|
-
|
|
893
|
-
// popover
|
|
894
|
-
'popover-background': color('neutral-white'),
|
|
895
|
-
'popover-border-color': color('neutral-light'),
|
|
896
|
-
'popover-border-radius': border.radius('s'),
|
|
897
|
-
'popover-shadow': shadow('droplist'),
|
|
898
|
-
|
|
899
|
-
// Side Navigation
|
|
900
|
-
'side-navigation-collapsing-breakpoint': rem('1280px'),
|
|
901
|
-
'side-navigation-width': rem('200px'),
|
|
902
|
-
'side-navigation-width-large': rem('300px'),
|
|
903
|
-
'side-navigation-padding-bottom': spacing('l'),
|
|
904
|
-
'side-navigation-background-color': color('neutral-darker'),
|
|
905
|
-
'side-navigation-component-margin-top': spacing('l'),
|
|
906
|
-
'side-navigation-logo-padding-x': spacing('l'),
|
|
907
|
-
'side-navigation-separator-color': color('neutral-dark'),
|
|
908
|
-
|
|
909
|
-
'side-navigation-menu-title-font-weight': font.weight('bold'),
|
|
910
|
-
'side-navigation-menu-title-font-size': font.size('5'),
|
|
911
|
-
'side-navigation-menu-title-line-height': font.height('3'),
|
|
912
|
-
|
|
913
|
-
'side-navigation-menu-link-color--hover': color('primary'),
|
|
914
|
-
'side-navigation-menu-link-background-color--active': color('neutral-darkest', 0.2),
|
|
915
|
-
'side-navigation-menu-link-box-shadow-color--active': color('primary'),
|
|
916
|
-
|
|
917
|
-
'side-navigation-menu-item-color--focus': color('primary'),
|
|
918
|
-
|
|
919
|
-
// Table
|
|
920
|
-
'table-row-default-color': color('neutral-white'),
|
|
921
|
-
'table-row-variant-color': color('neutral-light', 0.2),
|
|
922
|
-
'table-row-selected-color': color('accent', 0.2),
|
|
923
|
-
|
|
924
|
-
// Top Navigation
|
|
925
|
-
'top-navigation-height': rem('60px'),
|
|
926
|
-
'top-navigation-background-color': color('neutral-white'),
|
|
927
|
-
'top-navigation-border-color': color('neutral-lighter'),
|
|
928
|
-
'top-navigation-dropdown-separator-color': color('neutral-lighter'),
|
|
929
|
-
'top-navigation-dropdown-trigger-color': color('neutral'),
|
|
930
|
-
'top-navigation-dropdown-subitem-color': color('neutral-dark'),
|
|
931
|
-
'top-navigation-item-icon-color': color('neutral-dark'),
|
|
932
|
-
'top-navigation-item-color': color('neutral-darkest'),
|
|
933
|
-
'top-navigation-item-color--hover': color('primary'),
|
|
934
|
-
|
|
935
|
-
// Select
|
|
936
|
-
'select-trigger-height': '100%',
|
|
937
|
-
'select-trigger-border-color': color('neutral-lighter'),
|
|
938
|
-
'select-selected-option-check-color': color('accent'),
|
|
939
|
-
'select-selected-option-background-color': color('accent', 0.2),
|
|
940
|
-
|
|
941
|
-
// Toggle & Toggle Group
|
|
942
|
-
'toggle-text-transform': 'uppercase',
|
|
943
|
-
'toggle-box-shadow': shadow('glow-primary'),
|
|
944
|
-
'toggle-outline': 'none',
|
|
945
|
-
'toggle-outline-offset': '0',
|
|
946
|
-
'toggle-background-color': color('transparent'),
|
|
947
|
-
'toggle-background-color--hover': color('transparent'),
|
|
948
|
-
'toggle-background-color--focus': color('transparent'),
|
|
949
|
-
'toggle-background-color--active': color('transparent'),
|
|
950
|
-
'toggle-background-color--disabled': color('transparent'),
|
|
951
|
-
'toggle-checked-background-color': color('neutral-darkest'),
|
|
952
|
-
'toggle-checked-background-color--hover': color('neutral-dark'),
|
|
953
|
-
'toggle-checked-background-color--focus': color('neutral-darker'),
|
|
954
|
-
'toggle-checked-background-color--active': color('neutral'),
|
|
955
|
-
'toggle-checked-background-color--disabled': color('neutral-darkest'),
|
|
956
|
-
'toggle-color': color('neutral-darker'),
|
|
957
|
-
'toggle-color--hover': color('neutral-dark'),
|
|
958
|
-
'toggle-color--focus': color('neutral-darker'),
|
|
959
|
-
'toggle-color--active': color('neutral'),
|
|
960
|
-
'toggle-color--disabled': color('neutral-darker'),
|
|
961
|
-
'toggle-checked-color': color('neutral-white'),
|
|
962
|
-
'toggle-checked-color--hover': color('neutral-white'),
|
|
963
|
-
'toggle-checked-color--focus': color('neutral-white'),
|
|
964
|
-
'toggle-checked-color--active': color('neutral-white'),
|
|
965
|
-
'toggle-checked-color--disabled': color('neutral-lightest'),
|
|
966
|
-
|
|
967
|
-
'toggle-single-border-color': color('transparent'),
|
|
968
|
-
'toggle-single-border-color--hover': color('transparent'),
|
|
969
|
-
'toggle-single-border-color--focus': color('neutral-darker'),
|
|
970
|
-
'toggle-single-border-color--active': color('neutral'),
|
|
971
|
-
'toggle-single-border-color--disabled': color('transparent'),
|
|
972
|
-
'toggle-single-checked-border-color': color('neutral-darkest'),
|
|
973
|
-
'toggle-single-checked-border-color--disabled': color('neutral-darkest'),
|
|
974
|
-
'toggle-single-font-size': font.size('4'),
|
|
975
|
-
'toggle-single-small-font-size': '10px',
|
|
976
|
-
'toggle-single-height': '28px',
|
|
977
|
-
'toggle-single-small-height': '16px',
|
|
978
|
-
|
|
979
|
-
'toggle-multiple-border-color': color('neutral-darkest'),
|
|
980
|
-
'toggle-multiple-border-color--hover': color('neutral-dark'),
|
|
981
|
-
'toggle-multiple-border-color--focus': color('neutral-darker'),
|
|
982
|
-
'toggle-multiple-border-color--active': color('neutral'),
|
|
983
|
-
'toggle-multiple-border-color--disabled': color('neutral-darkest'),
|
|
984
|
-
'toggle-multiple-checked-border-color': color('neutral-darkest'),
|
|
985
|
-
'toggle-multiple-checked-border-color--disabled': color('neutral-darkest'),
|
|
986
|
-
'toggle-multiple-font-size': font.size('4'),
|
|
987
|
-
'toggle-multiple-small-font-size': font.size('5'),
|
|
988
|
-
'toggle-multiple-height': '36px',
|
|
989
|
-
'toggle-multiple-small-height': '24px',
|
|
990
|
-
|
|
991
|
-
'toggle-group-border-color--disabled': color('neutral-darkest', 0.4),
|
|
992
|
-
|
|
993
|
-
'toggle-group-multiple-border-width': 'initial',
|
|
994
|
-
'toggle-group-multiple-border-style': 'none',
|
|
995
|
-
'toggle-group-multiple-border-color': 'initial',
|
|
996
|
-
'toggle-group-multiple-border-radius': 'initial',
|
|
997
|
-
'toggle-group-multiple-padding': 0,
|
|
998
|
-
|
|
999
|
-
'toggle-group-single-border-width': '1px',
|
|
1000
|
-
'toggle-group-single-border-style': 'solid',
|
|
1001
|
-
'toggle-group-single-border-color': color('neutral-darker'),
|
|
1002
|
-
'toggle-group-single-border-radius': border.radius('s'),
|
|
1003
|
-
'toggle-group-single-padding': '3px',
|
|
1004
|
-
|
|
1005
|
-
// dropdown
|
|
1006
|
-
'dropdown-trigger-border-color': color('primary'),
|
|
1007
|
-
'dropdown-trigger-dark-border-color': color('neutral-light'),
|
|
1008
|
-
'dropdown-trigger-outlined-border-color': color('transparent'),
|
|
1009
|
-
'dropdown-trigger-expanded-color': color('accent'),
|
|
1010
|
-
'dropdown-trigger-height': height('default'),
|
|
1011
|
-
'dropdown-trigger-small-height': height('small'),
|
|
1012
|
-
'dropdown-trigger-large-height': height('large'),
|
|
1013
|
-
|
|
1014
|
-
'dropdown-trigger-box-shadow': shadow('glow-primary'),
|
|
1015
|
-
'dropdown-trigger-outline': 'none',
|
|
1016
|
-
'dropdown-trigger-outline-offset': '0',
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
export default loadsmart
|