@czi-sds/components 15.3.0 → 15.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.d.ts +132 -80
- package/dist/index.cjs.js +926 -734
- package/dist/index.esm.d.ts +132 -80
- package/dist/index.esm.js +928 -737
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/src/common/helpers/scrollStop.d.ts +0 -8
- package/dist/src/common/helpers/scrollStop.js +0 -54
- package/dist/src/common/storybookConstants.d.ts +0 -3
- package/dist/src/common/storybookConstants.js +0 -2
- package/dist/src/common/utils.d.ts +0 -2
- package/dist/src/common/utils.js +0 -9
- package/dist/src/common/warnings.d.ts +0 -10
- package/dist/src/common/warnings.js +0 -60
- package/dist/src/common/warnings.test.d.ts +0 -1
- package/dist/src/common/warnings.test.js +0 -19
- package/dist/src/core/Accordion/Accordion.namespace-test.d.ts +0 -1
- package/dist/src/core/Accordion/Accordion.namespace-test.js +0 -18
- package/dist/src/core/Accordion/__snapshots__/index.test.js.snap +0 -64
- package/dist/src/core/Accordion/components/AccordionDetails/index.d.ts +0 -3
- package/dist/src/core/Accordion/components/AccordionDetails/index.js +0 -9
- package/dist/src/core/Accordion/components/AccordionDetails/style.d.ts +0 -2
- package/dist/src/core/Accordion/components/AccordionDetails/style.js +0 -16
- package/dist/src/core/Accordion/components/AccordionHeader/index.d.ts +0 -7
- package/dist/src/core/Accordion/components/AccordionHeader/index.js +0 -13
- package/dist/src/core/Accordion/components/AccordionHeader/style.d.ts +0 -27
- package/dist/src/core/Accordion/components/AccordionHeader/style.js +0 -21
- package/dist/src/core/Accordion/index.d.ts +0 -12
- package/dist/src/core/Accordion/index.js +0 -38
- package/dist/src/core/Accordion/index.stories.d.ts +0 -28
- package/dist/src/core/Accordion/index.stories.js +0 -82
- package/dist/src/core/Accordion/index.test.d.ts +0 -1
- package/dist/src/core/Accordion/index.test.js +0 -58
- package/dist/src/core/Accordion/style.d.ts +0 -30
- package/dist/src/core/Accordion/style.js +0 -28
- package/dist/src/core/Alert/index.d.ts +0 -7
- package/dist/src/core/Alert/index.js +0 -22
- package/dist/src/core/Alert/index.stories.d.ts +0 -19
- package/dist/src/core/Alert/index.stories.js +0 -70
- package/dist/src/core/Alert/style.d.ts +0 -1
- package/dist/src/core/Alert/style.js +0 -23
- package/dist/src/core/Banner/Banner.namespace-test.d.ts +0 -1
- package/dist/src/core/Banner/Banner.namespace-test.js +0 -18
- package/dist/src/core/Banner/banner.test.d.ts +0 -1
- package/dist/src/core/Banner/banner.test.js +0 -126
- package/dist/src/core/Banner/index.d.ts +0 -11
- package/dist/src/core/Banner/index.js +0 -47
- package/dist/src/core/Banner/index.stories.d.ts +0 -46
- package/dist/src/core/Banner/index.stories.js +0 -106
- package/dist/src/core/Banner/style.d.ts +0 -13
- package/dist/src/core/Banner/style.js +0 -55
- package/dist/src/core/Button/Button.namespace-test.d.ts +0 -1
- package/dist/src/core/Button/Button.namespace-test.js +0 -18
- package/dist/src/core/Button/index.d.ts +0 -18
- package/dist/src/core/Button/index.js +0 -54
- package/dist/src/core/Button/index.stories.d.ts +0 -72
- package/dist/src/core/Button/index.stories.js +0 -215
- package/dist/src/core/Button/index.test.d.ts +0 -1
- package/dist/src/core/Button/index.test.js +0 -40
- package/dist/src/core/Button/style.d.ts +0 -180
- package/dist/src/core/Button/style.js +0 -59
- package/dist/src/core/ButtonDropdown/ButtonDropdown.namespace-test.d.ts +0 -1
- package/dist/src/core/ButtonDropdown/ButtonDropdown.namespace-test.js +0 -18
- package/dist/src/core/ButtonDropdown/index.d.ts +0 -18
- package/dist/src/core/ButtonDropdown/index.js +0 -30
- package/dist/src/core/ButtonDropdown/index.stories.d.ts +0 -35
- package/dist/src/core/ButtonDropdown/index.stories.js +0 -79
- package/dist/src/core/ButtonDropdown/index.test.d.ts +0 -1
- package/dist/src/core/ButtonDropdown/index.test.js +0 -41
- package/dist/src/core/ButtonIcon/ButtonIcon.namespace-test.d.ts +0 -1
- package/dist/src/core/ButtonIcon/ButtonIcon.namespace-test.js +0 -18
- package/dist/src/core/ButtonIcon/index.d.ts +0 -15
- package/dist/src/core/ButtonIcon/index.js +0 -34
- package/dist/src/core/ButtonIcon/index.stories.d.ts +0 -39
- package/dist/src/core/ButtonIcon/index.stories.js +0 -239
- package/dist/src/core/ButtonIcon/index.test.d.ts +0 -1
- package/dist/src/core/ButtonIcon/index.test.js +0 -41
- package/dist/src/core/ButtonIcon/style.d.ts +0 -41
- package/dist/src/core/ButtonIcon/style.js +0 -68
- package/dist/src/core/Callout/Callout.namespace-test.d.ts +0 -1
- package/dist/src/core/Callout/Callout.namespace-test.js +0 -18
- package/dist/src/core/Callout/components/CalloutTitle/index.d.ts +0 -3
- package/dist/src/core/Callout/components/CalloutTitle/index.js +0 -9
- package/dist/src/core/Callout/components/CalloutTitle/style.d.ts +0 -1
- package/dist/src/core/Callout/components/CalloutTitle/style.js +0 -16
- package/dist/src/core/Callout/index.d.ts +0 -18
- package/dist/src/core/Callout/index.js +0 -89
- package/dist/src/core/Callout/index.stories.d.ts +0 -14
- package/dist/src/core/Callout/index.stories.js +0 -80
- package/dist/src/core/Callout/style.d.ts +0 -7
- package/dist/src/core/Callout/style.js +0 -31
- package/dist/src/core/CellBasic/CellBasic.namespace-test.d.ts +0 -1
- package/dist/src/core/CellBasic/CellBasic.namespace-test.js +0 -7
- package/dist/src/core/CellBasic/index.d.ts +0 -21
- package/dist/src/core/CellBasic/index.js +0 -32
- package/dist/src/core/CellBasic/index.stories.d.ts +0 -33
- package/dist/src/core/CellBasic/index.stories.js +0 -143
- package/dist/src/core/CellBasic/index.test.d.ts +0 -1
- package/dist/src/core/CellBasic/index.test.js +0 -124
- package/dist/src/core/CellBasic/style.d.ts +0 -18
- package/dist/src/core/CellBasic/style.js +0 -86
- package/dist/src/core/CellComponent/CellComponent.namespace-test.d.ts +0 -1
- package/dist/src/core/CellComponent/CellComponent.namespace-test.js +0 -7
- package/dist/src/core/CellComponent/index.d.ts +0 -8
- package/dist/src/core/CellComponent/index.js +0 -21
- package/dist/src/core/CellComponent/index.stories.d.ts +0 -21
- package/dist/src/core/CellComponent/index.stories.js +0 -92
- package/dist/src/core/CellComponent/index.test.d.ts +0 -1
- package/dist/src/core/CellComponent/index.test.js +0 -110
- package/dist/src/core/CellComponent/style.d.ts +0 -9
- package/dist/src/core/CellComponent/style.js +0 -32
- package/dist/src/core/CellHeader/CellHeader.namespace-test.d.ts +0 -1
- package/dist/src/core/CellHeader/CellHeader.namespace-test.js +0 -8
- package/dist/src/core/CellHeader/index.d.ts +0 -20
- package/dist/src/core/CellHeader/index.js +0 -47
- package/dist/src/core/CellHeader/index.stories.d.ts +0 -26
- package/dist/src/core/CellHeader/index.stories.js +0 -128
- package/dist/src/core/CellHeader/index.test.d.ts +0 -1
- package/dist/src/core/CellHeader/index.test.js +0 -112
- package/dist/src/core/CellHeader/style.d.ts +0 -9
- package/dist/src/core/CellHeader/style.js +0 -50
- package/dist/src/core/Chip/index.d.ts +0 -9
- package/dist/src/core/Chip/index.js +0 -29
- package/dist/src/core/Chip/index.stories.d.ts +0 -58
- package/dist/src/core/Chip/index.stories.js +0 -90
- package/dist/src/core/Chip/style.d.ts +0 -26
- package/dist/src/core/Chip/style.js +0 -95
- package/dist/src/core/ComplexFilter/ComplexFilter.namespace-test.d.ts +0 -1
- package/dist/src/core/ComplexFilter/ComplexFilter.namespace-test.js +0 -20
- package/dist/src/core/ComplexFilter/components/Chips/index.d.ts +0 -8
- package/dist/src/core/ComplexFilter/components/Chips/index.js +0 -21
- package/dist/src/core/ComplexFilter/index.d.ts +0 -23
- package/dist/src/core/ComplexFilter/index.js +0 -119
- package/dist/src/core/ComplexFilter/index.stories.d.ts +0 -33
- package/dist/src/core/ComplexFilter/index.stories.js +0 -126
- package/dist/src/core/ComplexFilter/index.test.d.ts +0 -1
- package/dist/src/core/ComplexFilter/index.test.js +0 -51
- package/dist/src/core/ComplexFilter/style.d.ts +0 -3
- package/dist/src/core/ComplexFilter/style.js +0 -15
- package/dist/src/core/Dialog/Dialog.namespace-test.d.ts +0 -1
- package/dist/src/core/Dialog/Dialog.namespace-test.js +0 -8
- package/dist/src/core/Dialog/__snapshots__/index.test.js.snap +0 -382
- package/dist/src/core/Dialog/components/common.d.ts +0 -6
- package/dist/src/core/Dialog/components/common.js +0 -5
- package/dist/src/core/Dialog/index.d.ts +0 -18
- package/dist/src/core/Dialog/index.js +0 -50
- package/dist/src/core/Dialog/index.stories.d.ts +0 -46
- package/dist/src/core/Dialog/index.stories.js +0 -147
- package/dist/src/core/Dialog/index.test.d.ts +0 -1
- package/dist/src/core/Dialog/index.test.js +0 -62
- package/dist/src/core/DialogActions/index.d.ts +0 -9
- package/dist/src/core/DialogActions/index.js +0 -23
- package/dist/src/core/DialogActions/style.d.ts +0 -5
- package/dist/src/core/DialogActions/style.js +0 -20
- package/dist/src/core/DialogContent/index.d.ts +0 -5
- package/dist/src/core/DialogContent/index.js +0 -23
- package/dist/src/core/DialogContent/style.d.ts +0 -1
- package/dist/src/core/DialogContent/style.js +0 -11
- package/dist/src/core/DialogPaper/index.d.ts +0 -8
- package/dist/src/core/DialogPaper/index.js +0 -27
- package/dist/src/core/DialogPaper/style.d.ts +0 -16
- package/dist/src/core/DialogPaper/style.js +0 -44
- package/dist/src/core/DialogTitle/components/CloseButton/index.d.ts +0 -5
- package/dist/src/core/DialogTitle/components/CloseButton/index.js +0 -31
- package/dist/src/core/DialogTitle/components/CloseButton/style.d.ts +0 -2
- package/dist/src/core/DialogTitle/components/CloseButton/style.js +0 -18
- package/dist/src/core/DialogTitle/index.d.ts +0 -14
- package/dist/src/core/DialogTitle/index.js +0 -42
- package/dist/src/core/DialogTitle/style.d.ts +0 -46
- package/dist/src/core/DialogTitle/style.js +0 -20
- package/dist/src/core/Dropdown/Dropdown.namespace-test.d.ts +0 -1
- package/dist/src/core/Dropdown/Dropdown.namespace-test.js +0 -20
- package/dist/src/core/Dropdown/index.d.ts +0 -31
- package/dist/src/core/Dropdown/index.js +0 -160
- package/dist/src/core/Dropdown/index.stories.d.ts +0 -68
- package/dist/src/core/Dropdown/index.stories.js +0 -215
- package/dist/src/core/Dropdown/index.test.d.ts +0 -1
- package/dist/src/core/Dropdown/index.test.js +0 -229
- package/dist/src/core/Dropdown/style.d.ts +0 -5
- package/dist/src/core/Dropdown/style.js +0 -19
- package/dist/src/core/DropdownMenu/DropdownMenu.namespace-test.d.ts +0 -1
- package/dist/src/core/DropdownMenu/DropdownMenu.namespace-test.js +0 -20
- package/dist/src/core/DropdownMenu/GITHUB_LABELS.d.ts +0 -2
- package/dist/src/core/DropdownMenu/GITHUB_LABELS.js +0 -83
- package/dist/src/core/DropdownMenu/index.d.ts +0 -42
- package/dist/src/core/DropdownMenu/index.js +0 -83
- package/dist/src/core/DropdownMenu/index.stories.d.ts +0 -55
- package/dist/src/core/DropdownMenu/index.stories.js +0 -438
- package/dist/src/core/DropdownMenu/index.test.d.ts +0 -1
- package/dist/src/core/DropdownMenu/index.test.js +0 -51
- package/dist/src/core/DropdownMenu/style.d.ts +0 -40
- package/dist/src/core/DropdownMenu/style.js +0 -85
- package/dist/src/core/Icon/Icon.namespace-test.d.ts +0 -1
- package/dist/src/core/Icon/Icon.namespace-test.js +0 -7
- package/dist/src/core/Icon/index.d.ts +0 -14
- package/dist/src/core/Icon/index.js +0 -25
- package/dist/src/core/Icon/index.stories.d.ts +0 -34
- package/dist/src/core/Icon/index.stories.js +0 -171
- package/dist/src/core/Icon/map.d.ts +0 -98
- package/dist/src/core/Icon/map.js +0 -476
- package/dist/src/core/Icon/style.d.ts +0 -36
- package/dist/src/core/Icon/style.js +0 -42
- package/dist/src/core/InputCheckbox/InputCheckbox.namespace-test.d.ts +0 -1
- package/dist/src/core/InputCheckbox/InputCheckbox.namespace-test.js +0 -9
- package/dist/src/core/InputCheckbox/index.d.ts +0 -13
- package/dist/src/core/InputCheckbox/index.js +0 -55
- package/dist/src/core/InputCheckbox/index.stories.d.ts +0 -35
- package/dist/src/core/InputCheckbox/index.stories.js +0 -119
- package/dist/src/core/InputCheckbox/index.test.d.ts +0 -1
- package/dist/src/core/InputCheckbox/index.test.js +0 -62
- package/dist/src/core/InputCheckbox/styles.d.ts +0 -6
- package/dist/src/core/InputCheckbox/styles.js +0 -24
- package/dist/src/core/InputDropdown/InputDropdown.namespace-test.d.ts +0 -1
- package/dist/src/core/InputDropdown/InputDropdown.namespace-test.js +0 -8
- package/dist/src/core/InputDropdown/index.d.ts +0 -8
- package/dist/src/core/InputDropdown/index.js +0 -83
- package/dist/src/core/InputDropdown/index.stories.d.ts +0 -59
- package/dist/src/core/InputDropdown/index.stories.js +0 -264
- package/dist/src/core/InputDropdown/index.test.d.ts +0 -1
- package/dist/src/core/InputDropdown/index.test.js +0 -58
- package/dist/src/core/InputDropdown/style.d.ts +0 -38
- package/dist/src/core/InputDropdown/style.js +0 -130
- package/dist/src/core/InputRadio/InputRadio.namespace-test.d.ts +0 -1
- package/dist/src/core/InputRadio/InputRadio.namespace-test.js +0 -8
- package/dist/src/core/InputRadio/index.d.ts +0 -14
- package/dist/src/core/InputRadio/index.js +0 -40
- package/dist/src/core/InputRadio/index.stories.d.ts +0 -32
- package/dist/src/core/InputRadio/index.stories.js +0 -64
- package/dist/src/core/InputRadio/index.test.d.ts +0 -1
- package/dist/src/core/InputRadio/index.test.js +0 -92
- package/dist/src/core/InputRadio/style.d.ts +0 -6
- package/dist/src/core/InputRadio/style.js +0 -24
- package/dist/src/core/InputSearch/InputSearch.namespace-test.d.ts +0 -1
- package/dist/src/core/InputSearch/InputSearch.namespace-test.js +0 -8
- package/dist/src/core/InputSearch/index.d.ts +0 -16
- package/dist/src/core/InputSearch/index.js +0 -75
- package/dist/src/core/InputSearch/index.stories.d.ts +0 -35
- package/dist/src/core/InputSearch/index.stories.js +0 -104
- package/dist/src/core/InputSearch/index.test.d.ts +0 -1
- package/dist/src/core/InputSearch/index.test.js +0 -70
- package/dist/src/core/InputSearch/style.d.ts +0 -12
- package/dist/src/core/InputSearch/style.js +0 -47
- package/dist/src/core/InputSlider/InputSlider.namespace-test.d.ts +0 -1
- package/dist/src/core/InputSlider/InputSlider.namespace-test.js +0 -7
- package/dist/src/core/InputSlider/__snapshots__/index.test.js.snap +0 -124
- package/dist/src/core/InputSlider/index.d.ts +0 -8
- package/dist/src/core/InputSlider/index.js +0 -23
- package/dist/src/core/InputSlider/index.stories.d.ts +0 -43
- package/dist/src/core/InputSlider/index.stories.js +0 -160
- package/dist/src/core/InputSlider/index.test.d.ts +0 -1
- package/dist/src/core/InputSlider/index.test.js +0 -52
- package/dist/src/core/InputSlider/style.d.ts +0 -76
- package/dist/src/core/InputSlider/style.js +0 -34
- package/dist/src/core/InputText/InputText.namespace-test.d.ts +0 -1
- package/dist/src/core/InputText/InputText.namespace-test.js +0 -7
- package/dist/src/core/InputText/__snapshots__/index.test.js.snap +0 -10
- package/dist/src/core/InputText/index.d.ts +0 -14
- package/dist/src/core/InputText/index.js +0 -52
- package/dist/src/core/InputText/index.stories.d.ts +0 -29
- package/dist/src/core/InputText/index.stories.js +0 -100
- package/dist/src/core/InputText/index.test.d.ts +0 -1
- package/dist/src/core/InputText/index.test.js +0 -67
- package/dist/src/core/InputText/style.d.ts +0 -13
- package/dist/src/core/InputText/style.js +0 -45
- package/dist/src/core/InputToggle/InputToggle.namespace-test.d.ts +0 -1
- package/dist/src/core/InputToggle/InputToggle.namespace-test.js +0 -7
- package/dist/src/core/InputToggle/__snapshots__/index.test.js.snap +0 -26
- package/dist/src/core/InputToggle/index.d.ts +0 -7
- package/dist/src/core/InputToggle/index.js +0 -42
- package/dist/src/core/InputToggle/index.stories.d.ts +0 -20
- package/dist/src/core/InputToggle/index.stories.js +0 -63
- package/dist/src/core/InputToggle/index.test.d.ts +0 -1
- package/dist/src/core/InputToggle/index.test.js +0 -52
- package/dist/src/core/InputToggle/style.d.ts +0 -9
- package/dist/src/core/InputToggle/style.js +0 -38
- package/dist/src/core/Link/Link.namespace-test.d.ts +0 -1
- package/dist/src/core/Link/Link.namespace-test.js +0 -7
- package/dist/src/core/Link/index.d.ts +0 -8
- package/dist/src/core/Link/index.js +0 -28
- package/dist/src/core/Link/index.stories.d.ts +0 -27
- package/dist/src/core/Link/index.stories.js +0 -99
- package/dist/src/core/Link/style.d.ts +0 -9
- package/dist/src/core/Link/style.js +0 -30
- package/dist/src/core/List/List.namespace-test.d.ts +0 -1
- package/dist/src/core/List/List.namespace-test.js +0 -7
- package/dist/src/core/List/index.d.ts +0 -8
- package/dist/src/core/List/index.js +0 -23
- package/dist/src/core/List/index.stories.d.ts +0 -4
- package/dist/src/core/List/index.stories.js +0 -30
- package/dist/src/core/List/style.d.ts +0 -17
- package/dist/src/core/List/style.js +0 -33
- package/dist/src/core/ListItem/ListItem.namespace-test.d.ts +0 -1
- package/dist/src/core/ListItem/ListItem.namespace-test.js +0 -7
- package/dist/src/core/ListItem/index.d.ts +0 -9
- package/dist/src/core/ListItem/index.js +0 -24
- package/dist/src/core/ListItem/style.d.ts +0 -26
- package/dist/src/core/ListItem/style.js +0 -56
- package/dist/src/core/ListSubheader/ListSubheader.namespace-test.d.ts +0 -1
- package/dist/src/core/ListSubheader/ListSubheader.namespace-test.js +0 -7
- package/dist/src/core/ListSubheader/index.d.ts +0 -7
- package/dist/src/core/ListSubheader/index.js +0 -22
- package/dist/src/core/ListSubheader/style.d.ts +0 -12
- package/dist/src/core/ListSubheader/style.js +0 -16
- package/dist/src/core/LoadingIndicator/LoadingIndicator.namespace-test.d.ts +0 -1
- package/dist/src/core/LoadingIndicator/LoadingIndicator.namespace-test.js +0 -7
- package/dist/src/core/LoadingIndicator/index.d.ts +0 -4
- package/dist/src/core/LoadingIndicator/index.js +0 -13
- package/dist/src/core/LoadingIndicator/index.stories.d.ts +0 -24
- package/dist/src/core/LoadingIndicator/index.stories.js +0 -77
- package/dist/src/core/LoadingIndicator/index.test.d.ts +0 -1
- package/dist/src/core/LoadingIndicator/index.test.js +0 -41
- package/dist/src/core/LoadingIndicator/style.d.ts +0 -7
- package/dist/src/core/LoadingIndicator/style.js +0 -36
- package/dist/src/core/Menu/Menu.namespace-test.d.ts +0 -1
- package/dist/src/core/Menu/Menu.namespace-test.js +0 -8
- package/dist/src/core/Menu/index.d.ts +0 -7
- package/dist/src/core/Menu/index.js +0 -30
- package/dist/src/core/Menu/index.stories.d.ts +0 -17
- package/dist/src/core/Menu/index.stories.js +0 -55
- package/dist/src/core/Menu/style.d.ts +0 -1
- package/dist/src/core/Menu/style.js +0 -15
- package/dist/src/core/MenuItem/MenuItem.namespace-test.d.ts +0 -1
- package/dist/src/core/MenuItem/MenuItem.namespace-test.js +0 -8
- package/dist/src/core/MenuItem/index.d.ts +0 -21
- package/dist/src/core/MenuItem/index.js +0 -42
- package/dist/src/core/MenuItem/index.stories.d.ts +0 -35
- package/dist/src/core/MenuItem/index.stories.js +0 -188
- package/dist/src/core/MenuItem/index.test.d.ts +0 -1
- package/dist/src/core/MenuItem/index.test.js +0 -41
- package/dist/src/core/MenuItem/style.d.ts +0 -65
- package/dist/src/core/MenuItem/style.js +0 -58
- package/dist/src/core/MenuSelect/index.d.ts +0 -19
- package/dist/src/core/MenuSelect/index.js +0 -70
- package/dist/src/core/MenuSelect/index.stories.d.ts +0 -34
- package/dist/src/core/MenuSelect/index.stories.js +0 -154
- package/dist/src/core/MenuSelect/style.d.ts +0 -12
- package/dist/src/core/MenuSelect/style.js +0 -45
- package/dist/src/core/NavigationJumpTo/NavigationJumpTo.namespace-test.d.ts +0 -1
- package/dist/src/core/NavigationJumpTo/NavigationJumpTo.namespace-test.js +0 -13
- package/dist/src/core/NavigationJumpTo/__snapshots__/index.test.js.snap +0 -319
- package/dist/src/core/NavigationJumpTo/index.d.ts +0 -13
- package/dist/src/core/NavigationJumpTo/index.js +0 -122
- package/dist/src/core/NavigationJumpTo/index.stories.d.ts +0 -56
- package/dist/src/core/NavigationJumpTo/index.stories.js +0 -218
- package/dist/src/core/NavigationJumpTo/index.test.d.ts +0 -1
- package/dist/src/core/NavigationJumpTo/index.test.js +0 -87
- package/dist/src/core/NavigationJumpTo/style.d.ts +0 -106
- package/dist/src/core/NavigationJumpTo/style.js +0 -27
- package/dist/src/core/NavigationJumpTo/useIntersection.d.ts +0 -19
- package/dist/src/core/NavigationJumpTo/useIntersection.js +0 -67
- package/dist/src/core/Notification/Notification.namespace-test.d.ts +0 -1
- package/dist/src/core/Notification/Notification.namespace-test.js +0 -8
- package/dist/src/core/Notification/index.d.ts +0 -17
- package/dist/src/core/Notification/index.js +0 -70
- package/dist/src/core/Notification/index.stories.d.ts +0 -43
- package/dist/src/core/Notification/index.stories.js +0 -186
- package/dist/src/core/Notification/index.test.d.ts +0 -1
- package/dist/src/core/Notification/index.test.js +0 -115
- package/dist/src/core/Notification/style.d.ts +0 -1
- package/dist/src/core/Notification/style.js +0 -26
- package/dist/src/core/Pagination/Pagination.namespace-test.d.ts +0 -1
- package/dist/src/core/Pagination/Pagination.namespace-test.js +0 -8
- package/dist/src/core/Pagination/components/PageListDropdown/index.d.ts +0 -7
- package/dist/src/core/Pagination/components/PageListDropdown/index.js +0 -27
- package/dist/src/core/Pagination/components/PageListDropdown/style.d.ts +0 -1
- package/dist/src/core/Pagination/components/PageListDropdown/style.js +0 -14
- package/dist/src/core/Pagination/index.d.ts +0 -15
- package/dist/src/core/Pagination/index.js +0 -47
- package/dist/src/core/Pagination/index.stories.d.ts +0 -21
- package/dist/src/core/Pagination/index.stories.js +0 -99
- package/dist/src/core/Pagination/index.test.d.ts +0 -1
- package/dist/src/core/Pagination/index.test.js +0 -128
- package/dist/src/core/Pagination/style.d.ts +0 -13
- package/dist/src/core/Pagination/style.js +0 -62
- package/dist/src/core/Pagination/usePagination.d.ts +0 -9
- package/dist/src/core/Pagination/usePagination.js +0 -69
- package/dist/src/core/SegmentedControl/SegmentedControl.namespace-test.d.ts +0 -1
- package/dist/src/core/SegmentedControl/SegmentedControl.namespace-test.js +0 -12
- package/dist/src/core/SegmentedControl/index.d.ts +0 -15
- package/dist/src/core/SegmentedControl/index.js +0 -38
- package/dist/src/core/SegmentedControl/index.stories.d.ts +0 -49
- package/dist/src/core/SegmentedControl/index.stories.js +0 -128
- package/dist/src/core/SegmentedControl/index.test.d.ts +0 -1
- package/dist/src/core/SegmentedControl/index.test.js +0 -41
- package/dist/src/core/SegmentedControl/style.d.ts +0 -2
- package/dist/src/core/SegmentedControl/style.js +0 -23
- package/dist/src/core/Table/Table.namespace-test.d.ts +0 -1
- package/dist/src/core/Table/Table.namespace-test.js +0 -7
- package/dist/src/core/Table/components/common.d.ts +0 -6
- package/dist/src/core/Table/components/common.js +0 -5
- package/dist/src/core/Table/index.d.ts +0 -7
- package/dist/src/core/Table/index.js +0 -21
- package/dist/src/core/Table/index.stories.d.ts +0 -18
- package/dist/src/core/Table/index.stories.js +0 -64
- package/dist/src/core/Table/index.test.d.ts +0 -1
- package/dist/src/core/Table/index.test.js +0 -89
- package/dist/src/core/Table/style.d.ts +0 -2
- package/dist/src/core/Table/style.js +0 -10
- package/dist/src/core/TableHeader/TableHeader.namespace-test.d.ts +0 -1
- package/dist/src/core/TableHeader/TableHeader.namespace-test.js +0 -7
- package/dist/src/core/TableHeader/index.d.ts +0 -6
- package/dist/src/core/TableHeader/index.js +0 -25
- package/dist/src/core/TableHeader/index.stories.d.ts +0 -12
- package/dist/src/core/TableHeader/index.stories.js +0 -38
- package/dist/src/core/TableHeader/index.test.d.ts +0 -1
- package/dist/src/core/TableHeader/index.test.js +0 -41
- package/dist/src/core/TableHeader/style.d.ts +0 -2
- package/dist/src/core/TableHeader/style.js +0 -14
- package/dist/src/core/TableRow/TableRow.namespace-test.d.ts +0 -1
- package/dist/src/core/TableRow/TableRow.namespace-test.js +0 -7
- package/dist/src/core/TableRow/__snapshots__/index.test.js.snap +0 -100
- package/dist/src/core/TableRow/index.d.ts +0 -13
- package/dist/src/core/TableRow/index.js +0 -28
- package/dist/src/core/TableRow/index.stories.d.ts +0 -24
- package/dist/src/core/TableRow/index.stories.js +0 -77
- package/dist/src/core/TableRow/index.test.d.ts +0 -1
- package/dist/src/core/TableRow/index.test.js +0 -92
- package/dist/src/core/TableRow/style.d.ts +0 -10
- package/dist/src/core/TableRow/style.js +0 -34
- package/dist/src/core/Tabs/Tabs.namespace-test.d.ts +0 -1
- package/dist/src/core/Tabs/Tabs.namespace-test.js +0 -8
- package/dist/src/core/Tabs/__snapshots__/index.test.js.snap +0 -46
- package/dist/src/core/Tabs/components/LabelWithCount/index.d.ts +0 -7
- package/dist/src/core/Tabs/components/LabelWithCount/index.js +0 -11
- package/dist/src/core/Tabs/components/LabelWithCount/style.d.ts +0 -10
- package/dist/src/core/Tabs/components/LabelWithCount/style.js +0 -43
- package/dist/src/core/Tabs/components/common.d.ts +0 -5
- package/dist/src/core/Tabs/components/common.js +0 -5
- package/dist/src/core/Tabs/index.d.ts +0 -13
- package/dist/src/core/Tabs/index.js +0 -89
- package/dist/src/core/Tabs/index.stories.d.ts +0 -38
- package/dist/src/core/Tabs/index.stories.js +0 -154
- package/dist/src/core/Tabs/index.test.d.ts +0 -1
- package/dist/src/core/Tabs/index.test.js +0 -48
- package/dist/src/core/Tabs/style.d.ts +0 -115
- package/dist/src/core/Tabs/style.js +0 -53
- package/dist/src/core/Tag/Tag.namespace-test.d.ts +0 -1
- package/dist/src/core/Tag/Tag.namespace-test.js +0 -7
- package/dist/src/core/Tag/index.d.ts +0 -17
- package/dist/src/core/Tag/index.js +0 -27
- package/dist/src/core/Tag/index.stories.d.ts +0 -98
- package/dist/src/core/Tag/index.stories.js +0 -238
- package/dist/src/core/Tag/index.test.d.ts +0 -1
- package/dist/src/core/Tag/index.test.js +0 -40
- package/dist/src/core/Tag/index.testUtils.d.ts +0 -8
- package/dist/src/core/Tag/index.testUtils.js +0 -108
- package/dist/src/core/Tag/style.d.ts +0 -29
- package/dist/src/core/Tag/style.js +0 -100
- package/dist/src/core/TagFilter/TagFilter.namespace-test.d.ts +0 -1
- package/dist/src/core/TagFilter/TagFilter.namespace-test.js +0 -8
- package/dist/src/core/TagFilter/__snapshots__/index.test.js.snap +0 -46
- package/dist/src/core/TagFilter/index.d.ts +0 -12
- package/dist/src/core/TagFilter/index.js +0 -23
- package/dist/src/core/TagFilter/index.stories.d.ts +0 -44
- package/dist/src/core/TagFilter/index.stories.js +0 -121
- package/dist/src/core/TagFilter/index.test.d.ts +0 -1
- package/dist/src/core/TagFilter/index.test.js +0 -40
- package/dist/src/core/TagFilter/style.d.ts +0 -7
- package/dist/src/core/TagFilter/style.js +0 -19
- package/dist/src/core/Tooltip/Tooltip.namespace-test.d.ts +0 -1
- package/dist/src/core/Tooltip/Tooltip.namespace-test.js +0 -7
- package/dist/src/core/Tooltip/index.d.ts +0 -14
- package/dist/src/core/Tooltip/index.js +0 -87
- package/dist/src/core/Tooltip/index.stories.d.ts +0 -48
- package/dist/src/core/Tooltip/index.stories.js +0 -257
- package/dist/src/core/Tooltip/index.test.d.ts +0 -1
- package/dist/src/core/Tooltip/index.test.js +0 -102
- package/dist/src/core/Tooltip/style.d.ts +0 -23
- package/dist/src/core/Tooltip/style.js +0 -47
- package/dist/src/core/TooltipCondensed/TooltipCondensed.namespace-test.d.ts +0 -1
- package/dist/src/core/TooltipCondensed/TooltipCondensed.namespace-test.js +0 -7
- package/dist/src/core/TooltipCondensed/index.d.ts +0 -13
- package/dist/src/core/TooltipCondensed/index.js +0 -43
- package/dist/src/core/TooltipCondensed/index.stories.d.ts +0 -27
- package/dist/src/core/TooltipCondensed/index.stories.js +0 -72
- package/dist/src/core/TooltipCondensed/index.test.d.ts +0 -1
- package/dist/src/core/TooltipCondensed/index.test.js +0 -85
- package/dist/src/core/TooltipCondensed/style.d.ts +0 -6
- package/dist/src/core/TooltipCondensed/style.js +0 -22
- package/dist/src/core/TooltipTable/TooltipTable.namespace-test.d.ts +0 -1
- package/dist/src/core/TooltipTable/TooltipTable.namespace-test.js +0 -23
- package/dist/src/core/TooltipTable/__snapshots__/index.test.js.snap +0 -272
- package/dist/src/core/TooltipTable/index.d.ts +0 -8
- package/dist/src/core/TooltipTable/index.js +0 -35
- package/dist/src/core/TooltipTable/index.stories.d.ts +0 -32
- package/dist/src/core/TooltipTable/index.stories.js +0 -128
- package/dist/src/core/TooltipTable/index.test.d.ts +0 -1
- package/dist/src/core/TooltipTable/index.test.js +0 -109
- package/dist/src/core/TooltipTable/style.d.ts +0 -25
- package/dist/src/core/TooltipTable/style.js +0 -46
- package/dist/src/core/styles/common/constants/black.d.ts +0 -3
- package/dist/src/core/styles/common/constants/black.js +0 -7
- package/dist/src/core/styles/common/constants/boxShadows.d.ts +0 -5
- package/dist/src/core/styles/common/constants/boxShadows.js +0 -9
- package/dist/src/core/styles/common/constants/fontWeights.d.ts +0 -7
- package/dist/src/core/styles/common/constants/fontWeights.js +0 -11
- package/dist/src/core/styles/common/constants/gray.d.ts +0 -8
- package/dist/src/core/styles/common/constants/gray.js +0 -12
- package/dist/src/core/styles/common/constants/spaces.d.ts +0 -11
- package/dist/src/core/styles/common/constants/spaces.js +0 -15
- package/dist/src/core/styles/common/constants/white.d.ts +0 -3
- package/dist/src/core/styles/common/constants/white.js +0 -7
- package/dist/src/core/styles/common/defaultTheme.d.ts +0 -129
- package/dist/src/core/styles/common/defaultTheme.js +0 -414
- package/dist/src/core/styles/common/mixins/fonts.d.ts +0 -27
- package/dist/src/core/styles/common/mixins/fonts.js +0 -60
- package/dist/src/core/styles/common/selectors/theme.d.ts +0 -15
- package/dist/src/core/styles/common/selectors/theme.js +0 -63
- package/dist/src/core/styles/index.d.ts +0 -3
- package/dist/src/core/styles/index.js +0 -19
- package/dist/src/index.d.ts +0 -100
- package/dist/src/index.js +0 -170
- package/dist/tsconfig-namespace-check.tsbuildinfo +0 -1
|
@@ -1,414 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultTheme = exports.makeThemeOptions = exports.defaultAppTheme = void 0;
|
|
4
|
-
var material_1 = require("@mui/material");
|
|
5
|
-
var styles_1 = require("@mui/material/styles");
|
|
6
|
-
var createThemeAdaptor = styles_1.createTheme;
|
|
7
|
-
var common = material_1.colors.common;
|
|
8
|
-
var FontWeight;
|
|
9
|
-
(function (FontWeight) {
|
|
10
|
-
FontWeight[FontWeight["bold"] = 700] = "bold";
|
|
11
|
-
FontWeight[FontWeight["light"] = 300] = "light";
|
|
12
|
-
FontWeight[FontWeight["medium"] = 800] = "medium";
|
|
13
|
-
FontWeight[FontWeight["regular"] = 400] = "regular";
|
|
14
|
-
FontWeight[FontWeight["semibold"] = 600] = "semibold";
|
|
15
|
-
})(FontWeight || (FontWeight = {}));
|
|
16
|
-
var defaultThemeColors = {
|
|
17
|
-
beta: {
|
|
18
|
-
"100": "#F4F0F9",
|
|
19
|
-
"200": "#F0EBF6",
|
|
20
|
-
"400": "#7A41CE",
|
|
21
|
-
"500": "#703CBE",
|
|
22
|
-
"600": "#693BAC",
|
|
23
|
-
},
|
|
24
|
-
error: {
|
|
25
|
-
"100": "#FEF2F2",
|
|
26
|
-
"200": "#FBE8E8",
|
|
27
|
-
"400": "#DC132C",
|
|
28
|
-
"500": "#C61128",
|
|
29
|
-
"600": "#B70016",
|
|
30
|
-
},
|
|
31
|
-
gray: {
|
|
32
|
-
"100": "#F8F8F8",
|
|
33
|
-
"200": "#EAEAEA",
|
|
34
|
-
"300": "#CCCCCC",
|
|
35
|
-
"400": "#999999",
|
|
36
|
-
"500": "#767676",
|
|
37
|
-
"600": "#545454",
|
|
38
|
-
},
|
|
39
|
-
info: {
|
|
40
|
-
"100": "#EFF2FC",
|
|
41
|
-
"200": "#EBEFFC",
|
|
42
|
-
"400": "#3867FA",
|
|
43
|
-
"500": "#2B52CD",
|
|
44
|
-
"600": "#223F9C",
|
|
45
|
-
},
|
|
46
|
-
primary: {
|
|
47
|
-
"100": "#F8F9FE",
|
|
48
|
-
"200": "#EFF2FC",
|
|
49
|
-
"300": "#A9BDFC",
|
|
50
|
-
"400": "#3867FA",
|
|
51
|
-
"500": "#2B52CD",
|
|
52
|
-
"600": "#223F9C",
|
|
53
|
-
},
|
|
54
|
-
secondary: {
|
|
55
|
-
"400": "#9BC74E",
|
|
56
|
-
},
|
|
57
|
-
success: {
|
|
58
|
-
"100": "#ECF5F0",
|
|
59
|
-
"200": "#E6F7ED",
|
|
60
|
-
"400": "#3CB371",
|
|
61
|
-
"500": "#349A61",
|
|
62
|
-
"600": "#1C7F48",
|
|
63
|
-
},
|
|
64
|
-
warning: {
|
|
65
|
-
"100": "#FCF6EC",
|
|
66
|
-
"200": "#FFF3E1",
|
|
67
|
-
"400": "#F5A623",
|
|
68
|
-
"500": "#D8921F",
|
|
69
|
-
"600": "#946314",
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
exports.defaultAppTheme = {
|
|
73
|
-
colors: defaultThemeColors,
|
|
74
|
-
corners: {
|
|
75
|
-
l: 20,
|
|
76
|
-
m: 4,
|
|
77
|
-
none: 0,
|
|
78
|
-
s: 2,
|
|
79
|
-
},
|
|
80
|
-
fontWeights: {
|
|
81
|
-
bold: 700,
|
|
82
|
-
light: 300,
|
|
83
|
-
medium: 800,
|
|
84
|
-
regular: 400,
|
|
85
|
-
semibold: 600,
|
|
86
|
-
},
|
|
87
|
-
iconSizes: {
|
|
88
|
-
input: { height: 16, width: 16 },
|
|
89
|
-
l: { height: 22, width: 22 },
|
|
90
|
-
s: { height: 14, width: 14 },
|
|
91
|
-
xl: { height: 32, width: 32 },
|
|
92
|
-
xs: { height: 10, width: 10 },
|
|
93
|
-
},
|
|
94
|
-
shadows: {
|
|
95
|
-
l: "0 2px 12px 0 rgba(0,0,0, 0.3)",
|
|
96
|
-
m: "0 2px 4px 0 rgba(0,0,0, 0.15), 0 2px 10px 0 rgba(0,0,0, 0.15)",
|
|
97
|
-
none: "none",
|
|
98
|
-
s: "0 2px 4px 0 rgba(0,0,0, 0.25)",
|
|
99
|
-
},
|
|
100
|
-
spacing: {
|
|
101
|
-
default: 10,
|
|
102
|
-
l: 14,
|
|
103
|
-
m: 10,
|
|
104
|
-
s: 8,
|
|
105
|
-
xl: 22,
|
|
106
|
-
xs: 6,
|
|
107
|
-
xxl: 38,
|
|
108
|
-
xxs: 4,
|
|
109
|
-
xxxs: 2,
|
|
110
|
-
},
|
|
111
|
-
typography: {
|
|
112
|
-
fontFamily: "Open Sans",
|
|
113
|
-
styles: {
|
|
114
|
-
body: {
|
|
115
|
-
button: {
|
|
116
|
-
fontSize: 13,
|
|
117
|
-
fontWeight: FontWeight.semibold,
|
|
118
|
-
letterSpacing: "0.3px",
|
|
119
|
-
lineHeight: "20px",
|
|
120
|
-
textTransform: "none",
|
|
121
|
-
},
|
|
122
|
-
l: {
|
|
123
|
-
fontSize: 18,
|
|
124
|
-
fontWeight: FontWeight.regular,
|
|
125
|
-
letterSpacing: "0.3px",
|
|
126
|
-
lineHeight: "28px",
|
|
127
|
-
},
|
|
128
|
-
m: {
|
|
129
|
-
fontSize: 16,
|
|
130
|
-
fontWeight: FontWeight.regular,
|
|
131
|
-
letterSpacing: "0.3px",
|
|
132
|
-
lineHeight: "26px",
|
|
133
|
-
},
|
|
134
|
-
s: {
|
|
135
|
-
fontSize: 14,
|
|
136
|
-
fontWeight: FontWeight.regular,
|
|
137
|
-
letterSpacing: "0.3px",
|
|
138
|
-
lineHeight: "24px",
|
|
139
|
-
},
|
|
140
|
-
xs: {
|
|
141
|
-
fontSize: 13,
|
|
142
|
-
fontWeight: FontWeight.regular,
|
|
143
|
-
letterSpacing: "0.3px",
|
|
144
|
-
lineHeight: "20px",
|
|
145
|
-
},
|
|
146
|
-
xxs: {
|
|
147
|
-
fontSize: 12,
|
|
148
|
-
fontWeight: FontWeight.regular,
|
|
149
|
-
letterSpacing: "0.3px",
|
|
150
|
-
lineHeight: "18px",
|
|
151
|
-
},
|
|
152
|
-
xxxs: {
|
|
153
|
-
fontSize: 11,
|
|
154
|
-
fontWeight: FontWeight.regular,
|
|
155
|
-
letterSpacing: "0.3px",
|
|
156
|
-
lineHeight: "16px",
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
caps: {
|
|
160
|
-
xxs: {
|
|
161
|
-
fontSize: 12,
|
|
162
|
-
fontWeight: FontWeight.semibold,
|
|
163
|
-
letterSpacing: "1.0px",
|
|
164
|
-
lineHeight: "18px",
|
|
165
|
-
textTransform: "uppercase",
|
|
166
|
-
},
|
|
167
|
-
xxxs: {
|
|
168
|
-
fontSize: 11,
|
|
169
|
-
fontWeight: FontWeight.semibold,
|
|
170
|
-
letterSpacing: "1.0px",
|
|
171
|
-
lineHeight: "16px",
|
|
172
|
-
textTransform: "uppercase",
|
|
173
|
-
},
|
|
174
|
-
xxxxs: {
|
|
175
|
-
fontSize: 10,
|
|
176
|
-
fontWeight: FontWeight.semibold,
|
|
177
|
-
letterSpacing: "1.0px",
|
|
178
|
-
lineHeight: "14px",
|
|
179
|
-
textTransform: "uppercase",
|
|
180
|
-
},
|
|
181
|
-
},
|
|
182
|
-
header: {
|
|
183
|
-
l: {
|
|
184
|
-
fontSize: 18,
|
|
185
|
-
fontWeight: FontWeight.semibold,
|
|
186
|
-
letterSpacing: "0.3px",
|
|
187
|
-
lineHeight: "24px",
|
|
188
|
-
},
|
|
189
|
-
m: {
|
|
190
|
-
fontSize: 16,
|
|
191
|
-
fontWeight: FontWeight.semibold,
|
|
192
|
-
letterSpacing: "0.3px",
|
|
193
|
-
lineHeight: "22px",
|
|
194
|
-
},
|
|
195
|
-
s: {
|
|
196
|
-
fontSize: 14,
|
|
197
|
-
fontWeight: FontWeight.semibold,
|
|
198
|
-
letterSpacing: "0.3px",
|
|
199
|
-
lineHeight: "20px",
|
|
200
|
-
},
|
|
201
|
-
xl: {
|
|
202
|
-
fontSize: 22,
|
|
203
|
-
fontWeight: FontWeight.semibold,
|
|
204
|
-
letterSpacing: "0.3px",
|
|
205
|
-
lineHeight: "30px",
|
|
206
|
-
},
|
|
207
|
-
xs: {
|
|
208
|
-
fontSize: 13,
|
|
209
|
-
fontWeight: FontWeight.semibold,
|
|
210
|
-
letterSpacing: "0.3px",
|
|
211
|
-
lineHeight: "18px",
|
|
212
|
-
},
|
|
213
|
-
xxl: {
|
|
214
|
-
fontSize: 26,
|
|
215
|
-
fontWeight: FontWeight.semibold,
|
|
216
|
-
letterSpacing: "0.3px",
|
|
217
|
-
lineHeight: "34px",
|
|
218
|
-
},
|
|
219
|
-
xxs: {
|
|
220
|
-
fontSize: 12,
|
|
221
|
-
fontWeight: FontWeight.semibold,
|
|
222
|
-
letterSpacing: "0.3px",
|
|
223
|
-
lineHeight: "18px",
|
|
224
|
-
},
|
|
225
|
-
xxxs: {
|
|
226
|
-
fontSize: 11,
|
|
227
|
-
fontWeight: FontWeight.semibold,
|
|
228
|
-
letterSpacing: "0.3px",
|
|
229
|
-
lineHeight: "16px",
|
|
230
|
-
},
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
|
-
},
|
|
234
|
-
};
|
|
235
|
-
// (mlila) whenever our theme uses colors, we need to make sure we allow consuming
|
|
236
|
-
// applications to override those colors using their own custom theme.
|
|
237
|
-
// By defining borders using defaultAppTheme.colors instead of defaultThemeColors,
|
|
238
|
-
// we allow other apps to specify their colors once, and have them apply
|
|
239
|
-
// throughtout the application, such as in borders, etc without having to manually
|
|
240
|
-
// override every theme property that makes use of colors.
|
|
241
|
-
exports.defaultAppTheme.borders = {
|
|
242
|
-
error: {
|
|
243
|
-
"400": "1px solid ".concat(exports.defaultAppTheme.colors.error[400]),
|
|
244
|
-
},
|
|
245
|
-
gray: {
|
|
246
|
-
"100": "1px solid ".concat(exports.defaultAppTheme.colors.gray[100]),
|
|
247
|
-
"200": "1px solid ".concat(exports.defaultAppTheme.colors.gray[200]),
|
|
248
|
-
"300": "1px solid ".concat(exports.defaultAppTheme.colors.gray[300]),
|
|
249
|
-
"400": "1px solid ".concat(exports.defaultAppTheme.colors.gray[400]),
|
|
250
|
-
"500": "1px solid ".concat(exports.defaultAppTheme.colors.gray[500]),
|
|
251
|
-
dashed: "2px dashed ".concat(exports.defaultAppTheme.colors.gray[400]),
|
|
252
|
-
},
|
|
253
|
-
link: {
|
|
254
|
-
dashed: "1px dashed",
|
|
255
|
-
solid: "1px solid",
|
|
256
|
-
},
|
|
257
|
-
primary: {
|
|
258
|
-
"300": "1px solid ".concat(exports.defaultAppTheme.colors.primary[300]),
|
|
259
|
-
"400": "1px solid ".concat(exports.defaultAppTheme.colors.primary[400]),
|
|
260
|
-
"500": "1px solid ".concat(exports.defaultAppTheme.colors.primary[500]),
|
|
261
|
-
"600": "1px solid".concat(exports.defaultAppTheme.colors.primary[600]),
|
|
262
|
-
dashed: "2px dashed ".concat(exports.defaultAppTheme.colors.primary[400]),
|
|
263
|
-
},
|
|
264
|
-
success: {
|
|
265
|
-
"400": "1px solid ".concat(exports.defaultAppTheme.colors.success[400]),
|
|
266
|
-
},
|
|
267
|
-
warning: {
|
|
268
|
-
"400": "1px solid ".concat(exports.defaultAppTheme.colors.warning[400]),
|
|
269
|
-
},
|
|
270
|
-
};
|
|
271
|
-
function makeThemeOptions(appTheme) {
|
|
272
|
-
return {
|
|
273
|
-
app: appTheme,
|
|
274
|
-
components: {
|
|
275
|
-
MuiButtonBase: {
|
|
276
|
-
defaultProps: {
|
|
277
|
-
disableRipple: true,
|
|
278
|
-
},
|
|
279
|
-
},
|
|
280
|
-
MuiLink: {
|
|
281
|
-
defaultProps: {
|
|
282
|
-
underline: "hover",
|
|
283
|
-
},
|
|
284
|
-
},
|
|
285
|
-
MuiTab: {
|
|
286
|
-
defaultProps: {
|
|
287
|
-
disableRipple: true,
|
|
288
|
-
},
|
|
289
|
-
},
|
|
290
|
-
},
|
|
291
|
-
palette: {
|
|
292
|
-
divider: appTheme.colors.gray[200],
|
|
293
|
-
error: {
|
|
294
|
-
dark: appTheme.colors.error[600],
|
|
295
|
-
light: appTheme.colors.error[200],
|
|
296
|
-
main: appTheme.colors.error[400],
|
|
297
|
-
},
|
|
298
|
-
grey: {
|
|
299
|
-
"100": appTheme.colors.gray[100],
|
|
300
|
-
"200": appTheme.colors.gray[200],
|
|
301
|
-
"300": appTheme.colors.gray[300],
|
|
302
|
-
"400": appTheme.colors.gray[400],
|
|
303
|
-
"500": appTheme.colors.gray[500],
|
|
304
|
-
"600": appTheme.colors.gray[600],
|
|
305
|
-
},
|
|
306
|
-
info: {
|
|
307
|
-
dark: appTheme.colors.info[600],
|
|
308
|
-
light: appTheme.colors.info[200],
|
|
309
|
-
main: appTheme.colors.info[400],
|
|
310
|
-
},
|
|
311
|
-
mode: "light",
|
|
312
|
-
primary: {
|
|
313
|
-
dark: appTheme.colors.primary[600],
|
|
314
|
-
light: appTheme.colors.primary[300],
|
|
315
|
-
main: appTheme.colors.primary[400],
|
|
316
|
-
},
|
|
317
|
-
secondary: {
|
|
318
|
-
main: appTheme.colors.secondary[400],
|
|
319
|
-
},
|
|
320
|
-
success: {
|
|
321
|
-
dark: appTheme.colors.success[600],
|
|
322
|
-
light: appTheme.colors.success[200],
|
|
323
|
-
main: appTheme.colors.success[400],
|
|
324
|
-
},
|
|
325
|
-
text: {
|
|
326
|
-
disabled: appTheme.colors.gray[300],
|
|
327
|
-
primary: common.black,
|
|
328
|
-
secondary: appTheme.colors.gray[500],
|
|
329
|
-
},
|
|
330
|
-
warning: {
|
|
331
|
-
dark: appTheme.colors.warning[600],
|
|
332
|
-
light: appTheme.colors.warning[200],
|
|
333
|
-
main: appTheme.colors.warning[400],
|
|
334
|
-
},
|
|
335
|
-
},
|
|
336
|
-
shadows: [
|
|
337
|
-
appTheme.shadows.none,
|
|
338
|
-
appTheme.shadows.s,
|
|
339
|
-
appTheme.shadows.s,
|
|
340
|
-
appTheme.shadows.s,
|
|
341
|
-
appTheme.shadows.s,
|
|
342
|
-
appTheme.shadows.s,
|
|
343
|
-
appTheme.shadows.s,
|
|
344
|
-
appTheme.shadows.s,
|
|
345
|
-
appTheme.shadows.s,
|
|
346
|
-
appTheme.shadows.m,
|
|
347
|
-
appTheme.shadows.m,
|
|
348
|
-
appTheme.shadows.m,
|
|
349
|
-
appTheme.shadows.m,
|
|
350
|
-
appTheme.shadows.m,
|
|
351
|
-
appTheme.shadows.m,
|
|
352
|
-
appTheme.shadows.m,
|
|
353
|
-
appTheme.shadows.m,
|
|
354
|
-
appTheme.shadows.l,
|
|
355
|
-
appTheme.shadows.l,
|
|
356
|
-
appTheme.shadows.l,
|
|
357
|
-
appTheme.shadows.l,
|
|
358
|
-
appTheme.shadows.l,
|
|
359
|
-
appTheme.shadows.l,
|
|
360
|
-
appTheme.shadows.l,
|
|
361
|
-
appTheme.shadows.l,
|
|
362
|
-
],
|
|
363
|
-
shape: {
|
|
364
|
-
borderRadius: appTheme.corners.m,
|
|
365
|
-
},
|
|
366
|
-
spacing: [
|
|
367
|
-
appTheme.spacing.default,
|
|
368
|
-
appTheme.spacing.xxxs,
|
|
369
|
-
appTheme.spacing.xxs,
|
|
370
|
-
appTheme.spacing.xs,
|
|
371
|
-
appTheme.spacing.s,
|
|
372
|
-
appTheme.spacing.m,
|
|
373
|
-
appTheme.spacing.l,
|
|
374
|
-
appTheme.spacing.xl,
|
|
375
|
-
appTheme.spacing.xxl,
|
|
376
|
-
],
|
|
377
|
-
transitions: {
|
|
378
|
-
duration: {
|
|
379
|
-
complex: 200,
|
|
380
|
-
enteringScreen: 20,
|
|
381
|
-
leavingScreen: 10,
|
|
382
|
-
short: 150,
|
|
383
|
-
shorter: 100,
|
|
384
|
-
shortest: 50,
|
|
385
|
-
standard: 200,
|
|
386
|
-
},
|
|
387
|
-
easing: {
|
|
388
|
-
easeIn: "cubic-bezier(0, 0, 0.2, 1)",
|
|
389
|
-
easeInOut: "cubic-bezier(0, 0, 0.2, 1)",
|
|
390
|
-
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
391
|
-
sharp: "cubic-bezier(0, 0.2, 0.6, 1)",
|
|
392
|
-
},
|
|
393
|
-
},
|
|
394
|
-
typography: {
|
|
395
|
-
body1: appTheme.typography.styles.body.xs,
|
|
396
|
-
body2: appTheme.typography.styles.body.xxs,
|
|
397
|
-
button: appTheme.typography.styles.body.button,
|
|
398
|
-
caption: appTheme.typography.styles.body.xxxs,
|
|
399
|
-
fontFamily: "".concat(appTheme.typography.fontFamily, ", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Helvetica, Arial, sans-serif"),
|
|
400
|
-
h1: appTheme.typography.styles.header.xxl,
|
|
401
|
-
h2: appTheme.typography.styles.header.xl,
|
|
402
|
-
h3: appTheme.typography.styles.header.l,
|
|
403
|
-
h4: appTheme.typography.styles.header.m,
|
|
404
|
-
h5: appTheme.typography.styles.header.s,
|
|
405
|
-
h6: appTheme.typography.styles.header.xs,
|
|
406
|
-
overline: appTheme.typography.styles.caps.xxxs,
|
|
407
|
-
subtitle1: appTheme.typography.styles.body.xs,
|
|
408
|
-
subtitle2: appTheme.typography.styles.header.xxs,
|
|
409
|
-
},
|
|
410
|
-
};
|
|
411
|
-
}
|
|
412
|
-
exports.makeThemeOptions = makeThemeOptions;
|
|
413
|
-
var defaultThemeOptions = makeThemeOptions(exports.defaultAppTheme);
|
|
414
|
-
exports.defaultTheme = createThemeAdaptor(defaultThemeOptions);
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { SerializedStyles } from "@emotion/react";
|
|
2
|
-
import { Typography } from "../defaultTheme";
|
|
3
|
-
import { CommonThemeProps } from "../selectors/theme";
|
|
4
|
-
type FontBodySize = keyof Typography["styles"]["body"];
|
|
5
|
-
export declare const fontBody: (fontSize: FontBodySize) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
6
|
-
export declare const fontBodyL: (props: CommonThemeProps) => SerializedStyles | null;
|
|
7
|
-
export declare const fontBodyM: (props: CommonThemeProps) => SerializedStyles | null;
|
|
8
|
-
export declare const fontBodyS: (props: CommonThemeProps) => SerializedStyles | null;
|
|
9
|
-
export declare const fontBodyXs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
10
|
-
export declare const fontBodyXxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
11
|
-
export declare const fontBodyXxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
12
|
-
type FontCapsSize = keyof Typography["styles"]["caps"];
|
|
13
|
-
export declare const fontCaps: (fontSize: FontCapsSize) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
14
|
-
export declare const fontCapsXxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
15
|
-
export declare const fontCapsXxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
16
|
-
export declare const fontCapsXxxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
17
|
-
type FontHeaderSize = keyof Typography["styles"]["header"];
|
|
18
|
-
export declare const fontHeader: (fontSize: FontHeaderSize) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
19
|
-
export declare const fontHeaderXxl: (props: CommonThemeProps) => SerializedStyles | null;
|
|
20
|
-
export declare const fontHeaderXl: (props: CommonThemeProps) => SerializedStyles | null;
|
|
21
|
-
export declare const fontHeaderL: (props: CommonThemeProps) => SerializedStyles | null;
|
|
22
|
-
export declare const fontHeaderM: (props: CommonThemeProps) => SerializedStyles | null;
|
|
23
|
-
export declare const fontHeaderS: (props: CommonThemeProps) => SerializedStyles | null;
|
|
24
|
-
export declare const fontHeaderXs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
25
|
-
export declare const fontHeaderXxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
26
|
-
export declare const fontHeaderXxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
27
|
-
export {};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
-
return cooked;
|
|
5
|
-
};
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.fontHeaderXxxs = exports.fontHeaderXxs = exports.fontHeaderXs = exports.fontHeaderS = exports.fontHeaderM = exports.fontHeaderL = exports.fontHeaderXl = exports.fontHeaderXxl = exports.fontHeader = exports.fontCapsXxxxs = exports.fontCapsXxxs = exports.fontCapsXxs = exports.fontCaps = exports.fontBodyXxxs = exports.fontBodyXxs = exports.fontBodyXs = exports.fontBodyS = exports.fontBodyM = exports.fontBodyL = exports.fontBody = void 0;
|
|
8
|
-
var react_1 = require("@emotion/react");
|
|
9
|
-
var theme_1 = require("../selectors/theme");
|
|
10
|
-
var fontBody = function (fontSize) {
|
|
11
|
-
return function (props) {
|
|
12
|
-
var typography = (0, theme_1.getTypography)(props);
|
|
13
|
-
if (!typography)
|
|
14
|
-
return null;
|
|
15
|
-
var body = typography.styles.body;
|
|
16
|
-
return themeToCss(body[fontSize]);
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
exports.fontBody = fontBody;
|
|
20
|
-
exports.fontBodyL = (0, exports.fontBody)("l");
|
|
21
|
-
exports.fontBodyM = (0, exports.fontBody)("m");
|
|
22
|
-
exports.fontBodyS = (0, exports.fontBody)("s");
|
|
23
|
-
exports.fontBodyXs = (0, exports.fontBody)("xs");
|
|
24
|
-
exports.fontBodyXxs = (0, exports.fontBody)("xxs");
|
|
25
|
-
exports.fontBodyXxxs = (0, exports.fontBody)("xxxs");
|
|
26
|
-
var fontCaps = function (fontSize) {
|
|
27
|
-
return function (props) {
|
|
28
|
-
var typography = (0, theme_1.getTypography)(props);
|
|
29
|
-
if (!typography)
|
|
30
|
-
return null;
|
|
31
|
-
var caps = typography.styles.caps;
|
|
32
|
-
return (0, react_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n text-transform: uppercase;\n "], ["\n ", "\n text-transform: uppercase;\n "])), themeToCss(caps[fontSize]));
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
exports.fontCaps = fontCaps;
|
|
36
|
-
exports.fontCapsXxs = (0, exports.fontCaps)("xxs");
|
|
37
|
-
exports.fontCapsXxxs = (0, exports.fontCaps)("xxxs");
|
|
38
|
-
exports.fontCapsXxxxs = (0, exports.fontCaps)("xxxxs");
|
|
39
|
-
var fontHeader = function (fontSize) {
|
|
40
|
-
return function (props) {
|
|
41
|
-
var typography = (0, theme_1.getTypography)(props);
|
|
42
|
-
if (!typography)
|
|
43
|
-
return null;
|
|
44
|
-
var header = typography.styles.header;
|
|
45
|
-
return themeToCss(header[fontSize]);
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
exports.fontHeader = fontHeader;
|
|
49
|
-
exports.fontHeaderXxl = (0, exports.fontHeader)("xxl");
|
|
50
|
-
exports.fontHeaderXl = (0, exports.fontHeader)("xl");
|
|
51
|
-
exports.fontHeaderL = (0, exports.fontHeader)("l");
|
|
52
|
-
exports.fontHeaderM = (0, exports.fontHeader)("m");
|
|
53
|
-
exports.fontHeaderS = (0, exports.fontHeader)("s");
|
|
54
|
-
exports.fontHeaderXs = (0, exports.fontHeader)("xs");
|
|
55
|
-
exports.fontHeaderXxs = (0, exports.fontHeader)("xxs");
|
|
56
|
-
exports.fontHeaderXxxs = (0, exports.fontHeader)("xxxs");
|
|
57
|
-
function themeToCss(fontTheme) {
|
|
58
|
-
return (0, react_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", "px;\n line-height: ", ";\n letter-spacing: ", ";\n font-weight: ", ";\n text-transform: ", ";\n "], ["\n font-size: ", "px;\n line-height: ", ";\n letter-spacing: ", ";\n font-weight: ", ";\n text-transform: ", ";\n "])), fontTheme.fontSize, fontTheme.lineHeight, fontTheme.letterSpacing, fontTheme.fontWeight, fontTheme.textTransform);
|
|
59
|
-
}
|
|
60
|
-
var templateObject_1, templateObject_2;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PaletteOptions } from "@mui/material/styles";
|
|
2
|
-
import { Borders, Colors, Corners, FontWeights, IconSizes, SDSTheme, Shadows, Spaces, Spacings, Typography } from "../defaultTheme";
|
|
3
|
-
export interface CommonThemeProps {
|
|
4
|
-
theme?: SDSTheme;
|
|
5
|
-
}
|
|
6
|
-
export declare const getSpaces: ({ theme }: CommonThemeProps) => Spaces | null;
|
|
7
|
-
export declare const getSpacings: ({ theme }: CommonThemeProps) => Spacings | null;
|
|
8
|
-
export declare const getTypography: ({ theme, }: CommonThemeProps) => Typography | null;
|
|
9
|
-
export declare const getPalette: ({ theme }: CommonThemeProps) => PaletteOptions;
|
|
10
|
-
export declare const getColors: ({ theme }: CommonThemeProps) => Colors | null;
|
|
11
|
-
export declare const getShadows: ({ theme }: CommonThemeProps) => Shadows | null;
|
|
12
|
-
export declare const getCorners: ({ theme }: CommonThemeProps) => Corners | null;
|
|
13
|
-
export declare const getFontWeights: ({ theme, }: CommonThemeProps) => FontWeights | null;
|
|
14
|
-
export declare const getIconSizes: ({ theme }: CommonThemeProps) => IconSizes | null;
|
|
15
|
-
export declare const getBorders: ({ theme }: CommonThemeProps) => Borders | null;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getBorders = exports.getIconSizes = exports.getFontWeights = exports.getCorners = exports.getShadows = exports.getColors = exports.getPalette = exports.getTypography = exports.getSpacings = exports.getSpaces = void 0;
|
|
4
|
-
var getSpaces = function (_a) {
|
|
5
|
-
var _b;
|
|
6
|
-
var theme = _a.theme;
|
|
7
|
-
return ((_b = theme === null || theme === void 0 ? void 0 : theme.app) === null || _b === void 0 ? void 0 : _b.spacing) || null;
|
|
8
|
-
};
|
|
9
|
-
exports.getSpaces = getSpaces;
|
|
10
|
-
var getSpacings = function (_a) {
|
|
11
|
-
var _b;
|
|
12
|
-
var theme = _a.theme;
|
|
13
|
-
console.warn("getSpacings() is deprecated and may be removed in a future release. Please use getSpaces()");
|
|
14
|
-
return ((_b = theme === null || theme === void 0 ? void 0 : theme.app) === null || _b === void 0 ? void 0 : _b.spacing) || null;
|
|
15
|
-
};
|
|
16
|
-
exports.getSpacings = getSpacings;
|
|
17
|
-
var getTypography = function (_a) {
|
|
18
|
-
var _b;
|
|
19
|
-
var theme = _a.theme;
|
|
20
|
-
return ((_b = theme === null || theme === void 0 ? void 0 : theme.app) === null || _b === void 0 ? void 0 : _b.typography) || null;
|
|
21
|
-
};
|
|
22
|
-
exports.getTypography = getTypography;
|
|
23
|
-
var getPalette = function (_a) {
|
|
24
|
-
var theme = _a.theme;
|
|
25
|
-
return theme === null || theme === void 0 ? void 0 : theme.palette;
|
|
26
|
-
};
|
|
27
|
-
exports.getPalette = getPalette;
|
|
28
|
-
var getColors = function (_a) {
|
|
29
|
-
var _b;
|
|
30
|
-
var theme = _a.theme;
|
|
31
|
-
return ((_b = theme === null || theme === void 0 ? void 0 : theme.app) === null || _b === void 0 ? void 0 : _b.colors) || null;
|
|
32
|
-
};
|
|
33
|
-
exports.getColors = getColors;
|
|
34
|
-
var getShadows = function (_a) {
|
|
35
|
-
var _b;
|
|
36
|
-
var theme = _a.theme;
|
|
37
|
-
return ((_b = theme === null || theme === void 0 ? void 0 : theme.app) === null || _b === void 0 ? void 0 : _b.shadows) || null;
|
|
38
|
-
};
|
|
39
|
-
exports.getShadows = getShadows;
|
|
40
|
-
var getCorners = function (_a) {
|
|
41
|
-
var _b;
|
|
42
|
-
var theme = _a.theme;
|
|
43
|
-
return ((_b = theme === null || theme === void 0 ? void 0 : theme.app) === null || _b === void 0 ? void 0 : _b.corners) || null;
|
|
44
|
-
};
|
|
45
|
-
exports.getCorners = getCorners;
|
|
46
|
-
var getFontWeights = function (_a) {
|
|
47
|
-
var _b;
|
|
48
|
-
var theme = _a.theme;
|
|
49
|
-
return ((_b = theme === null || theme === void 0 ? void 0 : theme.app) === null || _b === void 0 ? void 0 : _b.fontWeights) || null;
|
|
50
|
-
};
|
|
51
|
-
exports.getFontWeights = getFontWeights;
|
|
52
|
-
var getIconSizes = function (_a) {
|
|
53
|
-
var _b;
|
|
54
|
-
var theme = _a.theme;
|
|
55
|
-
return ((_b = theme === null || theme === void 0 ? void 0 : theme.app) === null || _b === void 0 ? void 0 : _b.iconSizes) || null;
|
|
56
|
-
};
|
|
57
|
-
exports.getIconSizes = getIconSizes;
|
|
58
|
-
var getBorders = function (_a) {
|
|
59
|
-
var _b;
|
|
60
|
-
var theme = _a.theme;
|
|
61
|
-
return ((_b = theme === null || theme === void 0 ? void 0 : theme.app) === null || _b === void 0 ? void 0 : _b.borders) || null;
|
|
62
|
-
};
|
|
63
|
-
exports.getBorders = getBorders;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./common/defaultTheme"), exports);
|
|
18
|
-
__exportStar(require("./common/mixins/fonts"), exports);
|
|
19
|
-
__exportStar(require("./common/selectors/theme"), exports);
|