@equinor/eds-core-react 0.14.2 → 0.15.0-dev.20211118
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/core-react.cjs.js +7574 -17437
- package/dist/esm/components/Accordion/Accordion.js +28 -0
- package/dist/esm/components/Accordion/Accordion.tokens.js +112 -0
- package/dist/esm/components/Accordion/AccordionHeader.js +137 -0
- package/dist/esm/components/Accordion/AccordionHeaderTitle.js +30 -0
- package/dist/esm/components/Accordion/AccordionItem.js +47 -0
- package/dist/esm/components/Accordion/AccordionPanel.js +40 -0
- package/dist/esm/components/Accordion/index.js +17 -0
- package/dist/esm/components/Avatar/Avatar.js +40 -0
- package/dist/esm/components/Avatar/Avatar.tokens.js +13 -0
- package/dist/esm/components/Banner/Banner.js +51 -0
- package/dist/esm/components/Banner/Banner.tokens.js +86 -0
- package/dist/esm/components/Banner/BannerActions.js +36 -0
- package/dist/esm/components/Banner/BannerIcon.js +41 -0
- package/dist/esm/components/Banner/BannerMessage.js +25 -0
- package/dist/esm/components/Banner/index.js +14 -0
- package/dist/esm/components/Breadcrumbs/Breadcrumb.js +49 -0
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +98 -0
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.tokens.js +39 -0
- package/dist/esm/components/Breadcrumbs/index.js +8 -0
- package/dist/esm/components/Button/Button.js +106 -0
- package/dist/esm/components/Button/InnerFullWidth.js +26 -0
- package/dist/esm/components/Button/tokens/button.js +127 -0
- package/dist/esm/components/Button/tokens/contained.js +86 -0
- package/dist/esm/components/Button/tokens/ghost.js +84 -0
- package/dist/esm/components/Button/tokens/icon.js +123 -0
- package/dist/esm/components/Button/tokens/index.js +27 -0
- package/dist/esm/components/Button/tokens/outlined.js +111 -0
- package/dist/esm/components/Card/Card.js +40 -0
- package/dist/esm/components/Card/Card.tokens.js +54 -0
- package/dist/esm/components/Card/CardActions.js +32 -0
- package/dist/esm/components/Card/CardHeader.js +25 -0
- package/dist/esm/components/Card/CardHeaderTitle.js +21 -0
- package/dist/esm/components/Card/CardMedia.js +30 -0
- package/dist/esm/components/Card/index.js +17 -0
- package/dist/esm/components/Checkbox/Checkbox.js +44 -0
- package/dist/esm/components/Checkbox/Checkbox.tokens.js +91 -0
- package/dist/esm/components/Checkbox/Input.js +115 -0
- package/dist/esm/components/Chip/Chip.js +126 -0
- package/dist/esm/components/Chip/Chip.tokens.js +148 -0
- package/dist/esm/components/Chip/Icon.js +31 -0
- package/dist/esm/components/Dialog/Actions.js +24 -0
- package/dist/esm/components/Dialog/CustomContent.js +40 -0
- package/dist/esm/components/Dialog/Dialog.js +31 -0
- package/dist/esm/components/Dialog/Dialog.tokens.js +73 -0
- package/dist/esm/components/Dialog/Title.js +35 -0
- package/dist/esm/components/Dialog/index.js +14 -0
- package/dist/esm/components/Divider/Divider.js +32 -0
- package/dist/esm/components/Divider/Divider.tokens.js +59 -0
- package/dist/esm/components/EdsProvider/eds.context.js +35 -0
- package/dist/esm/components/Icon/Icon.js +102 -0
- package/dist/esm/components/Icon/index.js +7 -0
- package/dist/esm/components/Icon/library.js +19 -0
- package/dist/esm/components/Input/Input.js +58 -0
- package/dist/esm/components/Input/Input.tokens.js +172 -0
- package/dist/esm/components/Label/Label.js +41 -0
- package/dist/esm/components/Label/Label.tokens.js +30 -0
- package/dist/esm/components/List/List.js +30 -0
- package/dist/esm/components/List/List.tokens.js +12 -0
- package/dist/esm/components/List/ListItem.js +14 -0
- package/dist/esm/components/List/index.js +8 -0
- package/dist/esm/components/Menu/Menu.context.js +43 -0
- package/dist/esm/components/Menu/Menu.js +110 -0
- package/dist/esm/components/Menu/Menu.tokens.js +132 -0
- package/dist/esm/components/Menu/MenuItem.js +90 -0
- package/dist/esm/components/Menu/MenuList.js +96 -0
- package/dist/esm/components/Menu/MenuSection.js +36 -0
- package/dist/esm/components/Menu/index.js +11 -0
- package/dist/esm/components/Pagination/Pagination.js +159 -0
- package/dist/esm/components/Pagination/Pagination.tokens.js +40 -0
- package/dist/esm/components/Pagination/PaginationItem.js +30 -0
- package/dist/esm/components/Pagination/paginationControl.js +46 -0
- package/dist/esm/components/Paper/Paper.js +24 -0
- package/dist/esm/components/Paper/Paper.tokens.js +19 -0
- package/dist/esm/components/Popover/Popover.js +96 -0
- package/dist/esm/components/Popover/Popover.tokens.js +73 -0
- package/dist/esm/components/Popover/PopoverContent.js +21 -0
- package/dist/esm/components/Popover/PopoverTitle.js +31 -0
- package/dist/esm/components/Popover/index.js +11 -0
- package/dist/esm/components/Progress/Circular/CircularProgress.js +94 -0
- package/dist/esm/components/Progress/Circular/CircularProgress.tokens.js +42 -0
- package/dist/esm/components/Progress/Dots/DotProgress.js +55 -0
- package/dist/esm/components/Progress/Dots/DotProgress.tokens.js +30 -0
- package/dist/esm/components/Progress/Linear/LinearProgress.js +50 -0
- package/dist/esm/components/Progress/Linear/LinearProgress.tokens.js +24 -0
- package/dist/esm/components/Progress/Star/StarProgress.js +62 -0
- package/dist/esm/components/Progress/Star/StarProgress.tokens.js +16 -0
- package/dist/esm/components/Progress/index.js +17 -0
- package/dist/esm/components/Radio/Radio.js +128 -0
- package/dist/esm/components/Radio/Radio.tokens.js +91 -0
- package/dist/esm/components/Scrim/Scrim.js +62 -0
- package/dist/esm/components/Scrim/Scrim.tokens.js +18 -0
- package/dist/esm/components/Search/Search.js +180 -0
- package/dist/esm/components/Search/Search.tokens.js +96 -0
- package/dist/esm/components/Select/MultiSelect/MultiSelect.js +202 -0
- package/dist/esm/components/Select/NativeSelect/NativeSelect.js +66 -0
- package/dist/esm/components/Select/NativeSelect/NativeSelect.tokens.js +66 -0
- package/dist/esm/components/Select/Select.tokens.js +98 -0
- package/dist/esm/components/Select/SingleSelect/SingleSelect.js +145 -0
- package/dist/esm/components/Select/commonStyles.js +54 -0
- package/dist/esm/components/SideSheet/SideSheet.js +60 -0
- package/dist/esm/components/SideSheet/SideSheet.tokens.js +45 -0
- package/dist/esm/components/Slider/MinMax.js +26 -0
- package/dist/esm/components/Slider/Output.js +32 -0
- package/dist/esm/components/Slider/Slider.js +243 -0
- package/dist/esm/components/Slider/Slider.tokens.js +136 -0
- package/dist/esm/components/Slider/SliderInput.js +60 -0
- package/dist/esm/components/Snackbar/Snackbar.js +63 -0
- package/dist/esm/components/Snackbar/Snackbar.tokens.js +74 -0
- package/dist/esm/components/Snackbar/SnackbarAction.js +22 -0
- package/dist/esm/components/Snackbar/index.js +7 -0
- package/dist/esm/components/Switch/Switch.js +67 -0
- package/dist/esm/components/Switch/Switch.styles.js +34 -0
- package/dist/esm/components/Switch/Switch.tokens.js +168 -0
- package/dist/esm/components/Switch/SwitchDefault.js +61 -0
- package/dist/esm/components/Switch/SwitchSmall.js +59 -0
- package/dist/esm/components/Table/Body.js +25 -0
- package/dist/esm/components/Table/Caption.js +19 -0
- package/dist/esm/components/Table/Cell.js +33 -0
- package/dist/esm/components/Table/DataCell/DataCell.js +49 -0
- package/dist/esm/components/Table/DataCell/DataCell.tokens.js +151 -0
- package/dist/esm/components/Table/Head/Head.js +29 -0
- package/dist/esm/components/Table/Head/Head.tokens.js +30 -0
- package/dist/esm/components/Table/HeaderCell/HeaderCell.js +67 -0
- package/dist/esm/components/Table/HeaderCell/HeaderCell.tokens.js +118 -0
- package/dist/esm/components/Table/Inner.context.js +8 -0
- package/dist/esm/components/Table/Row/Row.js +34 -0
- package/dist/esm/components/Table/Row/Row.tokens.js +26 -0
- package/dist/esm/components/Table/Table.js +20 -0
- package/dist/esm/components/Table/index.js +20 -0
- package/dist/esm/components/TableOfContents/LinkItem.js +23 -0
- package/dist/esm/components/TableOfContents/TableOfContents.js +43 -0
- package/dist/esm/components/TableOfContents/TableOfContents.tokens.js +103 -0
- package/dist/esm/components/TableOfContents/index.js +8 -0
- package/dist/esm/components/Tabs/Tab.js +44 -0
- package/dist/esm/components/Tabs/TabList.js +90 -0
- package/dist/esm/components/Tabs/TabPanel.js +29 -0
- package/dist/esm/components/Tabs/TabPanels.js +25 -0
- package/dist/esm/components/Tabs/Tabs.context.js +13 -0
- package/dist/esm/components/Tabs/Tabs.js +59 -0
- package/dist/esm/components/Tabs/Tabs.tokens.js +127 -0
- package/dist/esm/components/Tabs/index.js +17 -0
- package/dist/esm/components/TextField/Field.js +145 -0
- package/dist/esm/components/TextField/HelperText/HelperText.js +83 -0
- package/dist/esm/components/TextField/HelperText/HelperText.token.js +49 -0
- package/dist/esm/components/TextField/Icon/Icon.js +62 -0
- package/dist/esm/components/TextField/Icon/Icon.tokens.js +46 -0
- package/dist/esm/components/TextField/TextField.context.js +37 -0
- package/dist/esm/components/TextField/TextField.js +83 -0
- package/dist/esm/components/TextField/TextField.tokens.js +124 -0
- package/dist/esm/components/Textarea/Textarea.js +92 -0
- package/dist/esm/components/Tooltip/Tooltip.js +119 -0
- package/dist/esm/components/Tooltip/Tooltip.tokens.js +63 -0
- package/dist/esm/components/TopBar/Actions.js +20 -0
- package/dist/esm/components/TopBar/CustomContent.js +20 -0
- package/dist/esm/components/TopBar/Header.js +20 -0
- package/dist/esm/components/TopBar/TopBar.js +29 -0
- package/dist/esm/components/TopBar/TopBar.tokens.js +32 -0
- package/dist/esm/components/TopBar/index.js +14 -0
- package/dist/esm/components/Typography/Typography.js +93 -0
- package/dist/esm/components/Typography/Typography.tokens.js +61 -0
- package/dist/esm/hooks/useAutoResize.js +39 -0
- package/dist/esm/hooks/useCombinedRefs.js +14 -0
- package/dist/esm/hooks/useGlobalKeyPress.js +34 -0
- package/dist/esm/hooks/useHideBodyScroll.js +12 -0
- package/dist/esm/hooks/useId.js +14 -0
- package/dist/esm/hooks/useMountedRef.js +12 -0
- package/dist/esm/hooks/useOutsideClick.js +18 -0
- package/dist/esm/hooks/usePopper.js +31 -0
- package/dist/esm/hooks/useToken.js +16 -0
- package/dist/esm/index.js +40 -0
- package/dist/esm/utils/joinHandlers.js +10 -0
- package/dist/esm/utils/setReactInputValue.js +18 -0
- package/dist/esm/utils/templates/borders.js +35 -0
- package/dist/esm/utils/templates/common.js +19 -0
- package/dist/esm/utils/templates/focus.js +36 -0
- package/dist/esm/utils/templates/index.js +59 -0
- package/dist/types/components/Accordion/Accordion.d.ts +4 -4
- package/dist/types/components/Accordion/Accordion.tokens.d.ts +10 -10
- package/dist/types/components/Accordion/Accordion.types.d.ts +6 -6
- package/dist/types/components/Accordion/AccordionHeader.d.ts +35 -35
- package/dist/types/components/Accordion/AccordionHeaderTitle.d.ts +14 -14
- package/dist/types/components/Accordion/AccordionItem.d.ts +19 -19
- package/dist/types/components/Accordion/AccordionPanel.d.ts +18 -18
- package/dist/types/components/Accordion/index.d.ts +15 -15
- package/dist/types/components/Avatar/Avatar.d.ts +23 -23
- package/dist/types/components/Avatar/Avatar.tokens.d.ts +10 -10
- package/dist/types/components/Avatar/index.d.ts +1 -1
- package/dist/types/components/Banner/Banner.d.ts +7 -7
- package/dist/types/components/Banner/Banner.tokens.d.ts +9 -9
- package/dist/types/components/Banner/BannerActions.d.ts +11 -11
- package/dist/types/components/Banner/BannerIcon.d.ts +15 -15
- package/dist/types/components/Banner/BannerMessage.d.ts +10 -10
- package/dist/types/components/Banner/index.d.ts +12 -12
- package/dist/types/components/Breadcrumbs/Breadcrumb.d.ts +11 -11
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +11 -11
- package/dist/types/components/Breadcrumbs/Breadcrumbs.tokens.d.ts +2 -2
- package/dist/types/components/Breadcrumbs/index.d.ts +8 -8
- package/dist/types/components/Button/Button.d.ts +43 -43
- package/dist/types/components/Button/Button.types.d.ts +12 -12
- package/dist/types/components/Button/InnerFullWidth.d.ts +2 -2
- package/dist/types/components/Button/index.d.ts +1 -1
- package/dist/types/components/Button/tokens/button.d.ts +2 -2
- package/dist/types/components/Button/tokens/contained.d.ts +4 -4
- package/dist/types/components/Button/tokens/ghost.d.ts +4 -4
- package/dist/types/components/Button/tokens/icon.d.ts +4 -4
- package/dist/types/components/Button/tokens/index.d.ts +8 -8
- package/dist/types/components/Button/tokens/outlined.d.ts +4 -4
- package/dist/types/components/Card/Card.d.ts +9 -9
- package/dist/types/components/Card/Card.tokens.d.ts +6 -6
- package/dist/types/components/Card/CardActions.d.ts +13 -13
- package/dist/types/components/Card/CardHeader.d.ts +3 -3
- package/dist/types/components/Card/CardHeaderTitle.d.ts +3 -3
- package/dist/types/components/Card/CardMedia.d.ts +9 -9
- package/dist/types/components/Card/index.d.ts +14 -14
- package/dist/types/components/Checkbox/Checkbox.d.ts +15 -15
- package/dist/types/components/Checkbox/Checkbox.tokens.d.ts +4 -4
- package/dist/types/components/Checkbox/Input.d.ts +12 -12
- package/dist/types/components/Checkbox/index.d.ts +1 -1
- package/dist/types/components/Chip/Chip.d.ts +17 -17
- package/dist/types/components/Chip/Chip.tokens.d.ts +8 -8
- package/dist/types/components/Chip/Icon.d.ts +6 -6
- package/dist/types/components/Chip/index.d.ts +1 -1
- package/dist/types/components/Combobox/Combobox.d.ts +55 -55
- package/dist/types/components/Combobox/Combobox.tokens.d.ts +3 -3
- package/dist/types/components/Combobox/index.d.ts +1 -1
- package/dist/types/components/Dialog/Actions.d.ts +3 -3
- package/dist/types/components/Dialog/CustomContent.d.ts +9 -9
- package/dist/types/components/Dialog/Dialog.d.ts +3 -3
- package/dist/types/components/Dialog/Dialog.tokens.d.ts +4 -4
- package/dist/types/components/Dialog/Title.d.ts +3 -3
- package/dist/types/components/Dialog/index.d.ts +12 -12
- package/dist/types/components/Divider/Divider.d.ts +17 -17
- package/dist/types/components/Divider/Divider.tokens.d.ts +12 -12
- package/dist/types/components/Divider/index.d.ts +1 -1
- package/dist/types/components/EdsProvider/eds.context.d.ts +15 -15
- package/dist/types/components/EdsProvider/index.d.ts +1 -1
- package/dist/types/components/Icon/Icon.d.ts +20 -20
- package/dist/types/components/Icon/Icon.types.d.ts +11 -11
- package/dist/types/components/Icon/index.d.ts +5 -5
- package/dist/types/components/Icon/library.d.ts +8 -8
- package/dist/types/components/Input/Input.d.ts +26 -26
- package/dist/types/components/Input/Input.tokens.d.ts +12 -12
- package/dist/types/components/Input/index.d.ts +1 -1
- package/dist/types/components/Label/Label.d.ts +11 -11
- package/dist/types/components/Label/Label.tokens.d.ts +4 -4
- package/dist/types/components/Label/index.d.ts +1 -1
- package/dist/types/components/List/List.d.ts +14 -14
- package/dist/types/components/List/List.tokens.d.ts +4 -4
- package/dist/types/components/List/ListItem.d.ts +4 -4
- package/dist/types/components/List/index.d.ts +8 -8
- package/dist/types/components/Menu/Menu.context.d.ts +15 -15
- package/dist/types/components/Menu/Menu.d.ts +27 -27
- package/dist/types/components/Menu/Menu.tokens.d.ts +4 -4
- package/dist/types/components/Menu/Menu.types.d.ts +1 -1
- package/dist/types/components/Menu/MenuItem.d.ts +21 -21
- package/dist/types/components/Menu/MenuList.d.ts +8 -8
- package/dist/types/components/Menu/MenuSection.d.ts +11 -11
- package/dist/types/components/Menu/index.d.ts +10 -10
- package/dist/types/components/Pagination/Pagination.d.ts +25 -25
- package/dist/types/components/Pagination/Pagination.tokens.d.ts +2 -2
- package/dist/types/components/Pagination/PaginationItem.d.ts +8 -8
- package/dist/types/components/Pagination/index.d.ts +1 -1
- package/dist/types/components/Pagination/paginationControl.d.ts +1 -1
- package/dist/types/components/Paper/Paper.d.ts +8 -8
- package/dist/types/components/Paper/Paper.tokens.d.ts +12 -12
- package/dist/types/components/Paper/index.d.ts +1 -1
- package/dist/types/components/Popover/Popover.d.ts +22 -22
- package/dist/types/components/Popover/Popover.tokens.d.ts +4 -4
- package/dist/types/components/Popover/PopoverContent.d.ts +3 -3
- package/dist/types/components/Popover/PopoverTitle.d.ts +3 -3
- package/dist/types/components/Popover/index.d.ts +10 -10
- package/dist/types/components/Progress/Circular/CircularProgress.d.ts +16 -16
- package/dist/types/components/Progress/Circular/CircularProgress.tokens.d.ts +8 -8
- package/dist/types/components/Progress/Dots/DotProgress.d.ts +11 -11
- package/dist/types/components/Progress/Dots/DotProgress.tokens.d.ts +5 -5
- package/dist/types/components/Progress/Linear/LinearProgress.d.ts +18 -18
- package/dist/types/components/Progress/Linear/LinearProgress.tokens.d.ts +7 -7
- package/dist/types/components/Progress/Star/StarProgress.d.ts +14 -14
- package/dist/types/components/Progress/Star/StarProgress.tokens.d.ts +2 -2
- package/dist/types/components/Progress/index.d.ts +15 -15
- package/dist/types/components/Radio/Radio.d.ts +10 -10
- package/dist/types/components/Radio/Radio.tokens.d.ts +4 -4
- package/dist/types/components/Radio/index.d.ts +1 -1
- package/dist/types/components/Scrim/Scrim.d.ts +15 -15
- package/dist/types/components/Scrim/Scrim.tokens.d.ts +2 -2
- package/dist/types/components/Scrim/index.d.ts +1 -1
- package/dist/types/components/Search/Search.d.ts +3 -3
- package/dist/types/components/Search/Search.tokens.d.ts +4 -4
- package/dist/types/components/Search/index.d.ts +1 -1
- package/dist/types/components/Select/MultiSelect/MultiSelect.d.ts +48 -48
- package/dist/types/components/Select/MultiSelect/index.d.ts +1 -1
- package/dist/types/components/Select/NativeSelect/NativeSelect.d.ts +29 -29
- package/dist/types/components/Select/NativeSelect/NativeSelect.tokens.d.ts +4 -4
- package/dist/types/components/Select/NativeSelect/index.d.ts +1 -1
- package/dist/types/components/Select/Select.tokens.d.ts +3 -3
- package/dist/types/components/Select/SingleSelect/SingleSelect.d.ts +48 -48
- package/dist/types/components/Select/SingleSelect/index.d.ts +1 -1
- package/dist/types/components/Select/commonStyles.d.ts +32 -32
- package/dist/types/components/Select/index.d.ts +3 -3
- package/dist/types/components/SideSheet/SideSheet.d.ts +21 -21
- package/dist/types/components/SideSheet/SideSheet.tokens.d.ts +10 -10
- package/dist/types/components/SideSheet/index.d.ts +1 -1
- package/dist/types/components/Slider/MinMax.d.ts +5 -5
- package/dist/types/components/Slider/Output.d.ts +9 -9
- package/dist/types/components/Slider/Slider.d.ts +49 -49
- package/dist/types/components/Slider/Slider.tokens.d.ts +4 -4
- package/dist/types/components/Slider/SliderInput.d.ts +21 -21
- package/dist/types/components/Slider/index.d.ts +1 -1
- package/dist/types/components/Snackbar/Snackbar.d.ts +21 -21
- package/dist/types/components/Snackbar/Snackbar.tokens.d.ts +4 -4
- package/dist/types/components/Snackbar/SnackbarAction.d.ts +5 -5
- package/dist/types/components/Snackbar/index.d.ts +8 -8
- package/dist/types/components/Switch/Switch.d.ts +12 -12
- package/dist/types/components/Switch/Switch.styles.d.ts +5 -5
- package/dist/types/components/Switch/Switch.tokens.d.ts +3 -3
- package/dist/types/components/Switch/SwitchDefault.d.ts +6 -6
- package/dist/types/components/Switch/SwitchSmall.d.ts +6 -6
- package/dist/types/components/Switch/index.d.ts +1 -1
- package/dist/types/components/Table/Body.d.ts +3 -3
- package/dist/types/components/Table/Caption.d.ts +4 -4
- package/dist/types/components/Table/Cell.d.ts +11 -11
- package/dist/types/components/Table/DataCell/DataCell.d.ts +8 -8
- package/dist/types/components/Table/DataCell/DataCell.tokens.d.ts +15 -15
- package/dist/types/components/Table/DataCell/index.d.ts +1 -1
- package/dist/types/components/Table/Head/Head.d.ts +9 -9
- package/dist/types/components/Table/Head/Head.tokens.d.ts +2 -2
- package/dist/types/components/Table/Head/index.d.ts +1 -1
- package/dist/types/components/Table/HeaderCell/HeaderCell.d.ts +5 -5
- package/dist/types/components/Table/HeaderCell/HeaderCell.tokens.d.ts +3 -3
- package/dist/types/components/Table/HeaderCell/index.d.ts +1 -1
- package/dist/types/components/Table/Inner.context.d.ts +7 -7
- package/dist/types/components/Table/Row/Row.d.ts +9 -9
- package/dist/types/components/Table/Row/Row.tokens.d.ts +2 -2
- package/dist/types/components/Table/Row/index.d.ts +1 -1
- package/dist/types/components/Table/Table.d.ts +3 -3
- package/dist/types/components/Table/Table.types.d.ts +2 -2
- package/dist/types/components/Table/index.d.ts +16 -16
- package/dist/types/components/TableOfContents/LinkItem.d.ts +3 -3
- package/dist/types/components/TableOfContents/TableOfContents.d.ts +14 -14
- package/dist/types/components/TableOfContents/TableOfContents.tokens.d.ts +4 -4
- package/dist/types/components/TableOfContents/index.d.ts +8 -8
- package/dist/types/components/Tabs/Tab.d.ts +13 -13
- package/dist/types/components/Tabs/TabList.d.ts +11 -11
- package/dist/types/components/Tabs/TabPanel.d.ts +10 -10
- package/dist/types/components/Tabs/TabPanels.d.ts +4 -4
- package/dist/types/components/Tabs/Tabs.context.d.ts +13 -13
- package/dist/types/components/Tabs/Tabs.d.ts +19 -19
- package/dist/types/components/Tabs/Tabs.tokens.d.ts +2 -2
- package/dist/types/components/Tabs/Tabs.types.d.ts +1 -1
- package/dist/types/components/Tabs/index.d.ts +14 -14
- package/dist/types/components/TextField/Field.d.ts +34 -34
- package/dist/types/components/TextField/HelperText/HelperText.d.ts +14 -14
- package/dist/types/components/TextField/HelperText/HelperText.token.d.ts +15 -15
- package/dist/types/components/TextField/HelperText/index.d.ts +1 -1
- package/dist/types/components/TextField/Icon/Icon.d.ts +13 -13
- package/dist/types/components/TextField/Icon/Icon.tokens.d.ts +14 -14
- package/dist/types/components/TextField/Icon/index.d.ts +1 -1
- package/dist/types/components/TextField/TextField.context.d.ts +17 -17
- package/dist/types/components/TextField/TextField.d.ts +37 -37
- package/dist/types/components/TextField/TextField.tokens.d.ts +10 -10
- package/dist/types/components/TextField/index.d.ts +1 -1
- package/dist/types/components/TextField/types.d.ts +6 -6
- package/dist/types/components/Textarea/Textarea.d.ts +30 -30
- package/dist/types/components/Textarea/index.d.ts +1 -1
- package/dist/types/components/Tooltip/Tooltip.d.ts +22 -22
- package/dist/types/components/Tooltip/Tooltip.tokens.d.ts +4 -4
- package/dist/types/components/Tooltip/index.d.ts +1 -1
- package/dist/types/components/TopBar/Actions.d.ts +3 -3
- package/dist/types/components/TopBar/CustomContent.d.ts +3 -3
- package/dist/types/components/TopBar/Header.d.ts +3 -3
- package/dist/types/components/TopBar/TopBar.d.ts +3 -3
- package/dist/types/components/TopBar/TopBar.tokens.d.ts +4 -4
- package/dist/types/components/TopBar/index.d.ts +12 -12
- package/dist/types/components/Typography/Typography.d.ts +15 -15
- package/dist/types/components/Typography/Typography.tokens.d.ts +453 -453
- package/dist/types/components/Typography/index.d.ts +1 -1
- package/dist/types/hooks/index.d.ts +9 -9
- package/dist/types/hooks/useAutoResize.d.ts +1 -1
- package/dist/types/hooks/useCombinedRefs.d.ts +3 -3
- package/dist/types/hooks/useGlobalKeyPress.d.ts +10 -10
- package/dist/types/hooks/useHideBodyScroll.d.ts +1 -1
- package/dist/types/hooks/useId.d.ts +1 -1
- package/dist/types/hooks/useMountedRef.d.ts +1 -1
- package/dist/types/hooks/useOutsideClick.d.ts +1 -1
- package/dist/types/hooks/usePopper.d.ts +12 -12
- package/dist/types/hooks/useToken.d.ts +7 -7
- package/dist/types/index.d.ts +34 -35
- package/dist/types/utils/index.d.ts +4 -4
- package/dist/types/utils/joinHandlers.d.ts +3 -3
- package/dist/types/utils/setReactInputValue.d.ts +7 -7
- package/dist/types/utils/templates/borders.d.ts +2 -2
- package/dist/types/utils/templates/common.d.ts +9 -9
- package/dist/types/utils/templates/focus.d.ts +3 -2
- package/dist/types/utils/templates/index.d.ts +7 -7
- package/package.json +17 -24
- package/dist/core-react.esm.js +0 -18687
- package/dist/core-react.umd.js +0 -18759
- package/src/index.ts +0 -37
|
@@ -1,453 +1,453 @@
|
|
|
1
|
-
import { ComponentToken } from '@equinor/eds-tokens';
|
|
2
|
-
import type { TypographyTokens } from '@equinor/eds-tokens';
|
|
3
|
-
declare const typography: {
|
|
4
|
-
heading: {
|
|
5
|
-
h1_bold: {
|
|
6
|
-
color: string;
|
|
7
|
-
fontFamily: string;
|
|
8
|
-
fontSize: string;
|
|
9
|
-
fontWeight: number;
|
|
10
|
-
lineHeight: string;
|
|
11
|
-
textAlign: string;
|
|
12
|
-
};
|
|
13
|
-
h1: {
|
|
14
|
-
color: string;
|
|
15
|
-
fontFamily: string;
|
|
16
|
-
fontSize: string;
|
|
17
|
-
fontWeight: number;
|
|
18
|
-
lineHeight: string;
|
|
19
|
-
textAlign: string;
|
|
20
|
-
};
|
|
21
|
-
h2: {
|
|
22
|
-
color: string;
|
|
23
|
-
fontFamily: string;
|
|
24
|
-
fontSize: string;
|
|
25
|
-
fontWeight: number;
|
|
26
|
-
lineHeight: string;
|
|
27
|
-
textAlign: string;
|
|
28
|
-
};
|
|
29
|
-
h3: {
|
|
30
|
-
color: string;
|
|
31
|
-
fontFamily: string;
|
|
32
|
-
fontSize: string;
|
|
33
|
-
fontWeight: number;
|
|
34
|
-
lineHeight: string;
|
|
35
|
-
textAlign: string;
|
|
36
|
-
};
|
|
37
|
-
h4: {
|
|
38
|
-
color: string;
|
|
39
|
-
fontFamily: string;
|
|
40
|
-
fontSize: string;
|
|
41
|
-
fontWeight: number;
|
|
42
|
-
lineHeight: string;
|
|
43
|
-
textAlign: string;
|
|
44
|
-
};
|
|
45
|
-
h5: {
|
|
46
|
-
color: string;
|
|
47
|
-
fontFamily: string;
|
|
48
|
-
fontSize: string;
|
|
49
|
-
fontWeight: number;
|
|
50
|
-
letterSpacing: string;
|
|
51
|
-
lineHeight: string;
|
|
52
|
-
textAlign: string;
|
|
53
|
-
};
|
|
54
|
-
h6: {
|
|
55
|
-
color: string;
|
|
56
|
-
fontFamily: string;
|
|
57
|
-
fontSize: string;
|
|
58
|
-
fontWeight: number;
|
|
59
|
-
letterSpacing: string;
|
|
60
|
-
lineHeight: string;
|
|
61
|
-
textAlign: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
navigation: {
|
|
65
|
-
menu_title: {
|
|
66
|
-
color: string;
|
|
67
|
-
fontFamily: string;
|
|
68
|
-
fontSize: string;
|
|
69
|
-
fontWeight: number;
|
|
70
|
-
letterSpacing: string;
|
|
71
|
-
lineHeight: string;
|
|
72
|
-
textAlign: string;
|
|
73
|
-
};
|
|
74
|
-
menu_tabs: {
|
|
75
|
-
color: string;
|
|
76
|
-
fontFamily: string;
|
|
77
|
-
fontSize: string;
|
|
78
|
-
fontWeight: number;
|
|
79
|
-
letterSpacing: string;
|
|
80
|
-
lineHeight: string;
|
|
81
|
-
textAlign: string;
|
|
82
|
-
};
|
|
83
|
-
label: {
|
|
84
|
-
color: string;
|
|
85
|
-
fontFamily: string;
|
|
86
|
-
fontSize: string;
|
|
87
|
-
fontWeight: number;
|
|
88
|
-
lineHeight: string;
|
|
89
|
-
textAlign: string;
|
|
90
|
-
};
|
|
91
|
-
drawer_active: {
|
|
92
|
-
color: string;
|
|
93
|
-
fontFamily: string;
|
|
94
|
-
fontSize: string;
|
|
95
|
-
fontWeight: number;
|
|
96
|
-
letterSpacing: string;
|
|
97
|
-
lineHeight: string;
|
|
98
|
-
textAlign: string;
|
|
99
|
-
};
|
|
100
|
-
drawer_inactive: {
|
|
101
|
-
color: string;
|
|
102
|
-
fontFamily: string;
|
|
103
|
-
fontSize: string;
|
|
104
|
-
fontWeight: number;
|
|
105
|
-
letterSpacing: string;
|
|
106
|
-
lineHeight: string;
|
|
107
|
-
textAlign: string;
|
|
108
|
-
};
|
|
109
|
-
button: {
|
|
110
|
-
color: string;
|
|
111
|
-
fontFamily: string;
|
|
112
|
-
fontSize: string;
|
|
113
|
-
fontWeight: number;
|
|
114
|
-
lineHeight: string;
|
|
115
|
-
textAlign: string;
|
|
116
|
-
};
|
|
117
|
-
breadcrumb: {
|
|
118
|
-
color: string;
|
|
119
|
-
fontFamily: string;
|
|
120
|
-
fontSize: string;
|
|
121
|
-
fontWeight: number;
|
|
122
|
-
lineHeight: string;
|
|
123
|
-
textAlign: string;
|
|
124
|
-
};
|
|
125
|
-
breadcrumb_hover: {
|
|
126
|
-
color: string;
|
|
127
|
-
fontFamily: string;
|
|
128
|
-
fontSize: string;
|
|
129
|
-
fontWeight: number;
|
|
130
|
-
lineHeight: string;
|
|
131
|
-
textDecoration: string;
|
|
132
|
-
textAlign: string;
|
|
133
|
-
};
|
|
134
|
-
menu_title_hover: {
|
|
135
|
-
color: string;
|
|
136
|
-
fontFamily: string;
|
|
137
|
-
fontSize: string;
|
|
138
|
-
fontWeight: number;
|
|
139
|
-
letterSpacing: string;
|
|
140
|
-
lineHeight: string;
|
|
141
|
-
textAlign: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
input: {
|
|
145
|
-
label: {
|
|
146
|
-
color: string;
|
|
147
|
-
fontFamily: string;
|
|
148
|
-
fontSize: string;
|
|
149
|
-
fontWeight: number;
|
|
150
|
-
lineHeight: string;
|
|
151
|
-
textAlign: string;
|
|
152
|
-
};
|
|
153
|
-
text: {
|
|
154
|
-
color: string;
|
|
155
|
-
fontFamily: string;
|
|
156
|
-
fontSize: string;
|
|
157
|
-
fontWeight: number;
|
|
158
|
-
letterSpacing: string;
|
|
159
|
-
lineHeight: string;
|
|
160
|
-
textAlign: string;
|
|
161
|
-
};
|
|
162
|
-
text_monospaced: {
|
|
163
|
-
fontFeature: string;
|
|
164
|
-
color: string;
|
|
165
|
-
fontFamily: string;
|
|
166
|
-
fontSize: string;
|
|
167
|
-
fontWeight: number;
|
|
168
|
-
letterSpacing: string;
|
|
169
|
-
lineHeight: string;
|
|
170
|
-
textAlign: string;
|
|
171
|
-
};
|
|
172
|
-
helper: {
|
|
173
|
-
color: string;
|
|
174
|
-
fontFamily: string;
|
|
175
|
-
fontSize: string;
|
|
176
|
-
fontWeight: number;
|
|
177
|
-
letterSpacing: string;
|
|
178
|
-
lineHeight: string;
|
|
179
|
-
textAlign: string;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
paragraph: {
|
|
183
|
-
body_short_italic: {
|
|
184
|
-
color: string;
|
|
185
|
-
fontFamily: string;
|
|
186
|
-
fontSize: string;
|
|
187
|
-
fontWeight: number;
|
|
188
|
-
lineHeight: string;
|
|
189
|
-
fontStyle: string;
|
|
190
|
-
textAlign: string;
|
|
191
|
-
};
|
|
192
|
-
caption: {
|
|
193
|
-
color: string;
|
|
194
|
-
fontFamily: string;
|
|
195
|
-
fontSize: string;
|
|
196
|
-
fontWeight: number;
|
|
197
|
-
lineHeight: string;
|
|
198
|
-
textAlign: string;
|
|
199
|
-
};
|
|
200
|
-
meta: {
|
|
201
|
-
color: string;
|
|
202
|
-
fontFamily: string;
|
|
203
|
-
fontSize: string;
|
|
204
|
-
fontWeight: number;
|
|
205
|
-
lineHeight: string;
|
|
206
|
-
textAlign: string;
|
|
207
|
-
};
|
|
208
|
-
body_short: {
|
|
209
|
-
color: string;
|
|
210
|
-
fontFamily: string;
|
|
211
|
-
fontSize: string;
|
|
212
|
-
fontWeight: number;
|
|
213
|
-
lineHeight: string;
|
|
214
|
-
textAlign: string;
|
|
215
|
-
};
|
|
216
|
-
body_short_bold_italic: {
|
|
217
|
-
color: string;
|
|
218
|
-
fontFamily: string;
|
|
219
|
-
fontSize: string;
|
|
220
|
-
fontWeight: number;
|
|
221
|
-
lineHeight: string;
|
|
222
|
-
fontStyle: string;
|
|
223
|
-
textAlign: string;
|
|
224
|
-
};
|
|
225
|
-
body_short_bold: {
|
|
226
|
-
color: string;
|
|
227
|
-
fontFamily: string;
|
|
228
|
-
fontSize: string;
|
|
229
|
-
fontWeight: number;
|
|
230
|
-
lineHeight: string;
|
|
231
|
-
textAlign: string;
|
|
232
|
-
};
|
|
233
|
-
body_short_link: {
|
|
234
|
-
color: string;
|
|
235
|
-
fontFamily: string;
|
|
236
|
-
fontSize: string;
|
|
237
|
-
fontWeight: number;
|
|
238
|
-
lineHeight: string;
|
|
239
|
-
textDecoration: string;
|
|
240
|
-
textAlign: string;
|
|
241
|
-
};
|
|
242
|
-
overline: {
|
|
243
|
-
color: string;
|
|
244
|
-
fontFamily: string;
|
|
245
|
-
fontSize: string;
|
|
246
|
-
fontWeight: number;
|
|
247
|
-
letterSpacing: string;
|
|
248
|
-
lineHeight: string;
|
|
249
|
-
textTransform: string;
|
|
250
|
-
textAlign: string;
|
|
251
|
-
};
|
|
252
|
-
ingress: {
|
|
253
|
-
color: string;
|
|
254
|
-
fontFamily: string;
|
|
255
|
-
fontSize: string;
|
|
256
|
-
fontWeight: number;
|
|
257
|
-
lineHeight: string;
|
|
258
|
-
textAlign: string;
|
|
259
|
-
};
|
|
260
|
-
body_long: {
|
|
261
|
-
color: string;
|
|
262
|
-
fontFamily: string;
|
|
263
|
-
fontSize: string;
|
|
264
|
-
fontWeight: number;
|
|
265
|
-
lineHeight: string;
|
|
266
|
-
textAlign: string;
|
|
267
|
-
};
|
|
268
|
-
body_long_link: {
|
|
269
|
-
color: string;
|
|
270
|
-
fontFamily: string;
|
|
271
|
-
fontSize: string;
|
|
272
|
-
fontWeight: number;
|
|
273
|
-
lineHeight: string;
|
|
274
|
-
textDecoration: string;
|
|
275
|
-
textAlign: string;
|
|
276
|
-
};
|
|
277
|
-
body_long_italic: {
|
|
278
|
-
color: string;
|
|
279
|
-
fontFamily: string;
|
|
280
|
-
fontSize: string;
|
|
281
|
-
fontWeight: number;
|
|
282
|
-
lineHeight: string;
|
|
283
|
-
fontStyle: string;
|
|
284
|
-
textAlign: string;
|
|
285
|
-
};
|
|
286
|
-
body_long_bold: {
|
|
287
|
-
color: string;
|
|
288
|
-
fontFamily: string;
|
|
289
|
-
fontSize: string;
|
|
290
|
-
fontWeight: number;
|
|
291
|
-
lineHeight: string;
|
|
292
|
-
textAlign: string;
|
|
293
|
-
};
|
|
294
|
-
body_long_bold_italic: {
|
|
295
|
-
color: string;
|
|
296
|
-
fontFamily: string;
|
|
297
|
-
fontSize: string;
|
|
298
|
-
fontWeight: number;
|
|
299
|
-
lineHeight: string;
|
|
300
|
-
fontStyle: string;
|
|
301
|
-
textAlign: string;
|
|
302
|
-
};
|
|
303
|
-
};
|
|
304
|
-
table: {
|
|
305
|
-
cell_header: {
|
|
306
|
-
color: string;
|
|
307
|
-
fontFamily: string;
|
|
308
|
-
fontSize: string;
|
|
309
|
-
fontWeight: number;
|
|
310
|
-
lineHeight: string;
|
|
311
|
-
textAlign: string;
|
|
312
|
-
};
|
|
313
|
-
cell_text: {
|
|
314
|
-
color: string;
|
|
315
|
-
fontFamily: string;
|
|
316
|
-
fontSize: string;
|
|
317
|
-
fontWeight: number;
|
|
318
|
-
lineHeight: string;
|
|
319
|
-
textAlign: string;
|
|
320
|
-
};
|
|
321
|
-
cell_text_bold: {
|
|
322
|
-
color: string;
|
|
323
|
-
fontFamily: string;
|
|
324
|
-
fontSize: string;
|
|
325
|
-
fontWeight: number;
|
|
326
|
-
lineHeight: string;
|
|
327
|
-
textAlign: string;
|
|
328
|
-
};
|
|
329
|
-
cell_text_link: {
|
|
330
|
-
color: string;
|
|
331
|
-
fontFamily: string;
|
|
332
|
-
fontSize: string;
|
|
333
|
-
fontWeight: number;
|
|
334
|
-
lineHeight: string;
|
|
335
|
-
textDecoration: string;
|
|
336
|
-
textAlign: string;
|
|
337
|
-
};
|
|
338
|
-
cell_numeric_monospaced: {
|
|
339
|
-
fontFeature: string;
|
|
340
|
-
color: string;
|
|
341
|
-
fontFamily: string;
|
|
342
|
-
fontSize: string;
|
|
343
|
-
fontWeight: number;
|
|
344
|
-
lineHeight: string;
|
|
345
|
-
textAlign: string;
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
_modes: {
|
|
349
|
-
compact: {
|
|
350
|
-
table: {
|
|
351
|
-
cell_header: {
|
|
352
|
-
color: string;
|
|
353
|
-
fontFamily: string;
|
|
354
|
-
fontSize: string;
|
|
355
|
-
fontWeight: number;
|
|
356
|
-
lineHeight: string;
|
|
357
|
-
textAlign: string;
|
|
358
|
-
};
|
|
359
|
-
cell_text: {
|
|
360
|
-
color: string;
|
|
361
|
-
fontFamily: string;
|
|
362
|
-
fontSize: string;
|
|
363
|
-
fontWeight: number;
|
|
364
|
-
lineHeight: string;
|
|
365
|
-
textAlign: string;
|
|
366
|
-
};
|
|
367
|
-
cell_text_bold: {
|
|
368
|
-
color: string;
|
|
369
|
-
fontFamily: string;
|
|
370
|
-
fontSize: string;
|
|
371
|
-
fontWeight: number;
|
|
372
|
-
lineHeight: string;
|
|
373
|
-
textAlign: string;
|
|
374
|
-
};
|
|
375
|
-
cell_text_link: {
|
|
376
|
-
color: string;
|
|
377
|
-
fontFamily: string;
|
|
378
|
-
fontSize: string;
|
|
379
|
-
fontWeight: number;
|
|
380
|
-
lineHeight: string;
|
|
381
|
-
textDecoration: string;
|
|
382
|
-
textAlign: string;
|
|
383
|
-
};
|
|
384
|
-
cell_numeric_monospaced: {
|
|
385
|
-
fontFeature: string;
|
|
386
|
-
color: string;
|
|
387
|
-
fontFamily: string;
|
|
388
|
-
fontSize: string;
|
|
389
|
-
fontWeight: number;
|
|
390
|
-
lineHeight: string;
|
|
391
|
-
textAlign: string;
|
|
392
|
-
};
|
|
393
|
-
};
|
|
394
|
-
};
|
|
395
|
-
};
|
|
396
|
-
ui: {
|
|
397
|
-
tooltip: {
|
|
398
|
-
color: string;
|
|
399
|
-
fontFamily: string;
|
|
400
|
-
fontSize: string;
|
|
401
|
-
fontWeight: number;
|
|
402
|
-
lineHeight: string;
|
|
403
|
-
textAlign: string;
|
|
404
|
-
};
|
|
405
|
-
snackbar: {
|
|
406
|
-
color: string;
|
|
407
|
-
fontFamily: string;
|
|
408
|
-
fontSize: string;
|
|
409
|
-
fontWeight: number;
|
|
410
|
-
lineHeight: string;
|
|
411
|
-
textAlign: string;
|
|
412
|
-
};
|
|
413
|
-
accordion_header: {
|
|
414
|
-
color: string;
|
|
415
|
-
fontFamily: string;
|
|
416
|
-
fontSize: string;
|
|
417
|
-
fontWeight: number;
|
|
418
|
-
lineHeight: string;
|
|
419
|
-
textAlign: string;
|
|
420
|
-
};
|
|
421
|
-
chip__badge: {
|
|
422
|
-
color: string;
|
|
423
|
-
fontFamily: string;
|
|
424
|
-
fontSize: string;
|
|
425
|
-
fontWeight: number;
|
|
426
|
-
lineHeight: string;
|
|
427
|
-
textAlign: string;
|
|
428
|
-
};
|
|
429
|
-
chart: {
|
|
430
|
-
color: string;
|
|
431
|
-
fontFamily: string;
|
|
432
|
-
fontSize: string;
|
|
433
|
-
fontWeight: number;
|
|
434
|
-
lineHeight: string;
|
|
435
|
-
textAlign: string;
|
|
436
|
-
};
|
|
437
|
-
};
|
|
438
|
-
};
|
|
439
|
-
declare const colors: {
|
|
440
|
-
primary: string;
|
|
441
|
-
secondary: string;
|
|
442
|
-
danger: string;
|
|
443
|
-
warning: string;
|
|
444
|
-
success: string;
|
|
445
|
-
disabled: string;
|
|
446
|
-
};
|
|
447
|
-
export declare type QuickTypographyVariants = TypographyTokens['heading'] | TypographyTokens['paragraph'];
|
|
448
|
-
declare const quickVariants: QuickTypographyVariants;
|
|
449
|
-
declare type TypographyVariants = keyof TypographyTokens['heading'] | keyof TypographyTokens['paragraph'] | keyof TypographyTokens['navigation'] | keyof TypographyTokens['input'] | keyof TypographyTokens['ui'] | keyof TypographyTokens['table'];
|
|
450
|
-
declare type ColorVariants = 'primary' | 'secondary' | 'danger' | 'warning' | 'success' | 'disabled';
|
|
451
|
-
declare type TypographyGroups = keyof typeof typography;
|
|
452
|
-
declare const link: ComponentToken;
|
|
453
|
-
export { typography, colors, quickVariants, TypographyVariants, ColorVariants, TypographyGroups, link, };
|
|
1
|
+
import { ComponentToken } from '@equinor/eds-tokens';
|
|
2
|
+
import type { TypographyTokens } from '@equinor/eds-tokens';
|
|
3
|
+
declare const typography: {
|
|
4
|
+
heading: {
|
|
5
|
+
h1_bold: {
|
|
6
|
+
color: string;
|
|
7
|
+
fontFamily: string;
|
|
8
|
+
fontSize: string;
|
|
9
|
+
fontWeight: number;
|
|
10
|
+
lineHeight: string;
|
|
11
|
+
textAlign: string;
|
|
12
|
+
};
|
|
13
|
+
h1: {
|
|
14
|
+
color: string;
|
|
15
|
+
fontFamily: string;
|
|
16
|
+
fontSize: string;
|
|
17
|
+
fontWeight: number;
|
|
18
|
+
lineHeight: string;
|
|
19
|
+
textAlign: string;
|
|
20
|
+
};
|
|
21
|
+
h2: {
|
|
22
|
+
color: string;
|
|
23
|
+
fontFamily: string;
|
|
24
|
+
fontSize: string;
|
|
25
|
+
fontWeight: number;
|
|
26
|
+
lineHeight: string;
|
|
27
|
+
textAlign: string;
|
|
28
|
+
};
|
|
29
|
+
h3: {
|
|
30
|
+
color: string;
|
|
31
|
+
fontFamily: string;
|
|
32
|
+
fontSize: string;
|
|
33
|
+
fontWeight: number;
|
|
34
|
+
lineHeight: string;
|
|
35
|
+
textAlign: string;
|
|
36
|
+
};
|
|
37
|
+
h4: {
|
|
38
|
+
color: string;
|
|
39
|
+
fontFamily: string;
|
|
40
|
+
fontSize: string;
|
|
41
|
+
fontWeight: number;
|
|
42
|
+
lineHeight: string;
|
|
43
|
+
textAlign: string;
|
|
44
|
+
};
|
|
45
|
+
h5: {
|
|
46
|
+
color: string;
|
|
47
|
+
fontFamily: string;
|
|
48
|
+
fontSize: string;
|
|
49
|
+
fontWeight: number;
|
|
50
|
+
letterSpacing: string;
|
|
51
|
+
lineHeight: string;
|
|
52
|
+
textAlign: string;
|
|
53
|
+
};
|
|
54
|
+
h6: {
|
|
55
|
+
color: string;
|
|
56
|
+
fontFamily: string;
|
|
57
|
+
fontSize: string;
|
|
58
|
+
fontWeight: number;
|
|
59
|
+
letterSpacing: string;
|
|
60
|
+
lineHeight: string;
|
|
61
|
+
textAlign: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
navigation: {
|
|
65
|
+
menu_title: {
|
|
66
|
+
color: string;
|
|
67
|
+
fontFamily: string;
|
|
68
|
+
fontSize: string;
|
|
69
|
+
fontWeight: number;
|
|
70
|
+
letterSpacing: string;
|
|
71
|
+
lineHeight: string;
|
|
72
|
+
textAlign: string;
|
|
73
|
+
};
|
|
74
|
+
menu_tabs: {
|
|
75
|
+
color: string;
|
|
76
|
+
fontFamily: string;
|
|
77
|
+
fontSize: string;
|
|
78
|
+
fontWeight: number;
|
|
79
|
+
letterSpacing: string;
|
|
80
|
+
lineHeight: string;
|
|
81
|
+
textAlign: string;
|
|
82
|
+
};
|
|
83
|
+
label: {
|
|
84
|
+
color: string;
|
|
85
|
+
fontFamily: string;
|
|
86
|
+
fontSize: string;
|
|
87
|
+
fontWeight: number;
|
|
88
|
+
lineHeight: string;
|
|
89
|
+
textAlign: string;
|
|
90
|
+
};
|
|
91
|
+
drawer_active: {
|
|
92
|
+
color: string;
|
|
93
|
+
fontFamily: string;
|
|
94
|
+
fontSize: string;
|
|
95
|
+
fontWeight: number;
|
|
96
|
+
letterSpacing: string;
|
|
97
|
+
lineHeight: string;
|
|
98
|
+
textAlign: string;
|
|
99
|
+
};
|
|
100
|
+
drawer_inactive: {
|
|
101
|
+
color: string;
|
|
102
|
+
fontFamily: string;
|
|
103
|
+
fontSize: string;
|
|
104
|
+
fontWeight: number;
|
|
105
|
+
letterSpacing: string;
|
|
106
|
+
lineHeight: string;
|
|
107
|
+
textAlign: string;
|
|
108
|
+
};
|
|
109
|
+
button: {
|
|
110
|
+
color: string;
|
|
111
|
+
fontFamily: string;
|
|
112
|
+
fontSize: string;
|
|
113
|
+
fontWeight: number;
|
|
114
|
+
lineHeight: string;
|
|
115
|
+
textAlign: string;
|
|
116
|
+
};
|
|
117
|
+
breadcrumb: {
|
|
118
|
+
color: string;
|
|
119
|
+
fontFamily: string;
|
|
120
|
+
fontSize: string;
|
|
121
|
+
fontWeight: number;
|
|
122
|
+
lineHeight: string;
|
|
123
|
+
textAlign: string;
|
|
124
|
+
};
|
|
125
|
+
breadcrumb_hover: {
|
|
126
|
+
color: string;
|
|
127
|
+
fontFamily: string;
|
|
128
|
+
fontSize: string;
|
|
129
|
+
fontWeight: number;
|
|
130
|
+
lineHeight: string;
|
|
131
|
+
textDecoration: string;
|
|
132
|
+
textAlign: string;
|
|
133
|
+
};
|
|
134
|
+
menu_title_hover: {
|
|
135
|
+
color: string;
|
|
136
|
+
fontFamily: string;
|
|
137
|
+
fontSize: string;
|
|
138
|
+
fontWeight: number;
|
|
139
|
+
letterSpacing: string;
|
|
140
|
+
lineHeight: string;
|
|
141
|
+
textAlign: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
input: {
|
|
145
|
+
label: {
|
|
146
|
+
color: string;
|
|
147
|
+
fontFamily: string;
|
|
148
|
+
fontSize: string;
|
|
149
|
+
fontWeight: number;
|
|
150
|
+
lineHeight: string;
|
|
151
|
+
textAlign: string;
|
|
152
|
+
};
|
|
153
|
+
text: {
|
|
154
|
+
color: string;
|
|
155
|
+
fontFamily: string;
|
|
156
|
+
fontSize: string;
|
|
157
|
+
fontWeight: number;
|
|
158
|
+
letterSpacing: string;
|
|
159
|
+
lineHeight: string;
|
|
160
|
+
textAlign: string;
|
|
161
|
+
};
|
|
162
|
+
text_monospaced: {
|
|
163
|
+
fontFeature: string;
|
|
164
|
+
color: string;
|
|
165
|
+
fontFamily: string;
|
|
166
|
+
fontSize: string;
|
|
167
|
+
fontWeight: number;
|
|
168
|
+
letterSpacing: string;
|
|
169
|
+
lineHeight: string;
|
|
170
|
+
textAlign: string;
|
|
171
|
+
};
|
|
172
|
+
helper: {
|
|
173
|
+
color: string;
|
|
174
|
+
fontFamily: string;
|
|
175
|
+
fontSize: string;
|
|
176
|
+
fontWeight: number;
|
|
177
|
+
letterSpacing: string;
|
|
178
|
+
lineHeight: string;
|
|
179
|
+
textAlign: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
paragraph: {
|
|
183
|
+
body_short_italic: {
|
|
184
|
+
color: string;
|
|
185
|
+
fontFamily: string;
|
|
186
|
+
fontSize: string;
|
|
187
|
+
fontWeight: number;
|
|
188
|
+
lineHeight: string;
|
|
189
|
+
fontStyle: string;
|
|
190
|
+
textAlign: string;
|
|
191
|
+
};
|
|
192
|
+
caption: {
|
|
193
|
+
color: string;
|
|
194
|
+
fontFamily: string;
|
|
195
|
+
fontSize: string;
|
|
196
|
+
fontWeight: number;
|
|
197
|
+
lineHeight: string;
|
|
198
|
+
textAlign: string;
|
|
199
|
+
};
|
|
200
|
+
meta: {
|
|
201
|
+
color: string;
|
|
202
|
+
fontFamily: string;
|
|
203
|
+
fontSize: string;
|
|
204
|
+
fontWeight: number;
|
|
205
|
+
lineHeight: string;
|
|
206
|
+
textAlign: string;
|
|
207
|
+
};
|
|
208
|
+
body_short: {
|
|
209
|
+
color: string;
|
|
210
|
+
fontFamily: string;
|
|
211
|
+
fontSize: string;
|
|
212
|
+
fontWeight: number;
|
|
213
|
+
lineHeight: string;
|
|
214
|
+
textAlign: string;
|
|
215
|
+
};
|
|
216
|
+
body_short_bold_italic: {
|
|
217
|
+
color: string;
|
|
218
|
+
fontFamily: string;
|
|
219
|
+
fontSize: string;
|
|
220
|
+
fontWeight: number;
|
|
221
|
+
lineHeight: string;
|
|
222
|
+
fontStyle: string;
|
|
223
|
+
textAlign: string;
|
|
224
|
+
};
|
|
225
|
+
body_short_bold: {
|
|
226
|
+
color: string;
|
|
227
|
+
fontFamily: string;
|
|
228
|
+
fontSize: string;
|
|
229
|
+
fontWeight: number;
|
|
230
|
+
lineHeight: string;
|
|
231
|
+
textAlign: string;
|
|
232
|
+
};
|
|
233
|
+
body_short_link: {
|
|
234
|
+
color: string;
|
|
235
|
+
fontFamily: string;
|
|
236
|
+
fontSize: string;
|
|
237
|
+
fontWeight: number;
|
|
238
|
+
lineHeight: string;
|
|
239
|
+
textDecoration: string;
|
|
240
|
+
textAlign: string;
|
|
241
|
+
};
|
|
242
|
+
overline: {
|
|
243
|
+
color: string;
|
|
244
|
+
fontFamily: string;
|
|
245
|
+
fontSize: string;
|
|
246
|
+
fontWeight: number;
|
|
247
|
+
letterSpacing: string;
|
|
248
|
+
lineHeight: string;
|
|
249
|
+
textTransform: string;
|
|
250
|
+
textAlign: string;
|
|
251
|
+
};
|
|
252
|
+
ingress: {
|
|
253
|
+
color: string;
|
|
254
|
+
fontFamily: string;
|
|
255
|
+
fontSize: string;
|
|
256
|
+
fontWeight: number;
|
|
257
|
+
lineHeight: string;
|
|
258
|
+
textAlign: string;
|
|
259
|
+
};
|
|
260
|
+
body_long: {
|
|
261
|
+
color: string;
|
|
262
|
+
fontFamily: string;
|
|
263
|
+
fontSize: string;
|
|
264
|
+
fontWeight: number;
|
|
265
|
+
lineHeight: string;
|
|
266
|
+
textAlign: string;
|
|
267
|
+
};
|
|
268
|
+
body_long_link: {
|
|
269
|
+
color: string;
|
|
270
|
+
fontFamily: string;
|
|
271
|
+
fontSize: string;
|
|
272
|
+
fontWeight: number;
|
|
273
|
+
lineHeight: string;
|
|
274
|
+
textDecoration: string;
|
|
275
|
+
textAlign: string;
|
|
276
|
+
};
|
|
277
|
+
body_long_italic: {
|
|
278
|
+
color: string;
|
|
279
|
+
fontFamily: string;
|
|
280
|
+
fontSize: string;
|
|
281
|
+
fontWeight: number;
|
|
282
|
+
lineHeight: string;
|
|
283
|
+
fontStyle: string;
|
|
284
|
+
textAlign: string;
|
|
285
|
+
};
|
|
286
|
+
body_long_bold: {
|
|
287
|
+
color: string;
|
|
288
|
+
fontFamily: string;
|
|
289
|
+
fontSize: string;
|
|
290
|
+
fontWeight: number;
|
|
291
|
+
lineHeight: string;
|
|
292
|
+
textAlign: string;
|
|
293
|
+
};
|
|
294
|
+
body_long_bold_italic: {
|
|
295
|
+
color: string;
|
|
296
|
+
fontFamily: string;
|
|
297
|
+
fontSize: string;
|
|
298
|
+
fontWeight: number;
|
|
299
|
+
lineHeight: string;
|
|
300
|
+
fontStyle: string;
|
|
301
|
+
textAlign: string;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
table: {
|
|
305
|
+
cell_header: {
|
|
306
|
+
color: string;
|
|
307
|
+
fontFamily: string;
|
|
308
|
+
fontSize: string;
|
|
309
|
+
fontWeight: number;
|
|
310
|
+
lineHeight: string;
|
|
311
|
+
textAlign: string;
|
|
312
|
+
};
|
|
313
|
+
cell_text: {
|
|
314
|
+
color: string;
|
|
315
|
+
fontFamily: string;
|
|
316
|
+
fontSize: string;
|
|
317
|
+
fontWeight: number;
|
|
318
|
+
lineHeight: string;
|
|
319
|
+
textAlign: string;
|
|
320
|
+
};
|
|
321
|
+
cell_text_bold: {
|
|
322
|
+
color: string;
|
|
323
|
+
fontFamily: string;
|
|
324
|
+
fontSize: string;
|
|
325
|
+
fontWeight: number;
|
|
326
|
+
lineHeight: string;
|
|
327
|
+
textAlign: string;
|
|
328
|
+
};
|
|
329
|
+
cell_text_link: {
|
|
330
|
+
color: string;
|
|
331
|
+
fontFamily: string;
|
|
332
|
+
fontSize: string;
|
|
333
|
+
fontWeight: number;
|
|
334
|
+
lineHeight: string;
|
|
335
|
+
textDecoration: string;
|
|
336
|
+
textAlign: string;
|
|
337
|
+
};
|
|
338
|
+
cell_numeric_monospaced: {
|
|
339
|
+
fontFeature: string;
|
|
340
|
+
color: string;
|
|
341
|
+
fontFamily: string;
|
|
342
|
+
fontSize: string;
|
|
343
|
+
fontWeight: number;
|
|
344
|
+
lineHeight: string;
|
|
345
|
+
textAlign: string;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
_modes: {
|
|
349
|
+
compact: {
|
|
350
|
+
table: {
|
|
351
|
+
cell_header: {
|
|
352
|
+
color: string;
|
|
353
|
+
fontFamily: string;
|
|
354
|
+
fontSize: string;
|
|
355
|
+
fontWeight: number;
|
|
356
|
+
lineHeight: string;
|
|
357
|
+
textAlign: string;
|
|
358
|
+
};
|
|
359
|
+
cell_text: {
|
|
360
|
+
color: string;
|
|
361
|
+
fontFamily: string;
|
|
362
|
+
fontSize: string;
|
|
363
|
+
fontWeight: number;
|
|
364
|
+
lineHeight: string;
|
|
365
|
+
textAlign: string;
|
|
366
|
+
};
|
|
367
|
+
cell_text_bold: {
|
|
368
|
+
color: string;
|
|
369
|
+
fontFamily: string;
|
|
370
|
+
fontSize: string;
|
|
371
|
+
fontWeight: number;
|
|
372
|
+
lineHeight: string;
|
|
373
|
+
textAlign: string;
|
|
374
|
+
};
|
|
375
|
+
cell_text_link: {
|
|
376
|
+
color: string;
|
|
377
|
+
fontFamily: string;
|
|
378
|
+
fontSize: string;
|
|
379
|
+
fontWeight: number;
|
|
380
|
+
lineHeight: string;
|
|
381
|
+
textDecoration: string;
|
|
382
|
+
textAlign: string;
|
|
383
|
+
};
|
|
384
|
+
cell_numeric_monospaced: {
|
|
385
|
+
fontFeature: string;
|
|
386
|
+
color: string;
|
|
387
|
+
fontFamily: string;
|
|
388
|
+
fontSize: string;
|
|
389
|
+
fontWeight: number;
|
|
390
|
+
lineHeight: string;
|
|
391
|
+
textAlign: string;
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
ui: {
|
|
397
|
+
tooltip: {
|
|
398
|
+
color: string;
|
|
399
|
+
fontFamily: string;
|
|
400
|
+
fontSize: string;
|
|
401
|
+
fontWeight: number;
|
|
402
|
+
lineHeight: string;
|
|
403
|
+
textAlign: string;
|
|
404
|
+
};
|
|
405
|
+
snackbar: {
|
|
406
|
+
color: string;
|
|
407
|
+
fontFamily: string;
|
|
408
|
+
fontSize: string;
|
|
409
|
+
fontWeight: number;
|
|
410
|
+
lineHeight: string;
|
|
411
|
+
textAlign: string;
|
|
412
|
+
};
|
|
413
|
+
accordion_header: {
|
|
414
|
+
color: string;
|
|
415
|
+
fontFamily: string;
|
|
416
|
+
fontSize: string;
|
|
417
|
+
fontWeight: number;
|
|
418
|
+
lineHeight: string;
|
|
419
|
+
textAlign: string;
|
|
420
|
+
};
|
|
421
|
+
chip__badge: {
|
|
422
|
+
color: string;
|
|
423
|
+
fontFamily: string;
|
|
424
|
+
fontSize: string;
|
|
425
|
+
fontWeight: number;
|
|
426
|
+
lineHeight: string;
|
|
427
|
+
textAlign: string;
|
|
428
|
+
};
|
|
429
|
+
chart: {
|
|
430
|
+
color: string;
|
|
431
|
+
fontFamily: string;
|
|
432
|
+
fontSize: string;
|
|
433
|
+
fontWeight: number;
|
|
434
|
+
lineHeight: string;
|
|
435
|
+
textAlign: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
declare const colors: {
|
|
440
|
+
primary: string;
|
|
441
|
+
secondary: string;
|
|
442
|
+
danger: string;
|
|
443
|
+
warning: string;
|
|
444
|
+
success: string;
|
|
445
|
+
disabled: string;
|
|
446
|
+
};
|
|
447
|
+
export declare type QuickTypographyVariants = TypographyTokens['heading'] | TypographyTokens['paragraph'];
|
|
448
|
+
declare const quickVariants: QuickTypographyVariants;
|
|
449
|
+
declare type TypographyVariants = keyof TypographyTokens['heading'] | keyof TypographyTokens['paragraph'] | keyof TypographyTokens['navigation'] | keyof TypographyTokens['input'] | keyof TypographyTokens['ui'] | keyof TypographyTokens['table'];
|
|
450
|
+
declare type ColorVariants = 'primary' | 'secondary' | 'danger' | 'warning' | 'success' | 'disabled';
|
|
451
|
+
declare type TypographyGroups = keyof typeof typography;
|
|
452
|
+
declare const link: ComponentToken;
|
|
453
|
+
export { typography, colors, quickVariants, TypographyVariants, ColorVariants, TypographyGroups, link, };
|