gd-design-library 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +97 -0
- package/ai/README.md +137 -0
- package/ai/schemas/components/Row.d.ts +21 -1
- package/index.d.ts +0 -1
- package/index.js +170 -181
- package/llms.txt +309 -0
- package/package.json +19 -1
- package/CHANGELOG.md +0 -177
- package/ai/codegen.js +0 -51
- package/ai/prompts.js +0 -23
- package/ai/schemas/components/Accordion.js +0 -37
- package/ai/schemas/components/Avatar.js +0 -67
- package/ai/schemas/components/Breadcrumbs.js +0 -51
- package/ai/schemas/components/Button.js +0 -92
- package/ai/schemas/components/Card.js +0 -74
- package/ai/schemas/components/Carousel.js +0 -108
- package/ai/schemas/components/ChatBubble.js +0 -34
- package/ai/schemas/components/ChatContainer.js +0 -48
- package/ai/schemas/components/Column.js +0 -69
- package/ai/schemas/components/ContentCarousel.js +0 -72
- package/ai/schemas/components/Counter.js +0 -37
- package/ai/schemas/components/DragAndDropFiles.js +0 -50
- package/ai/schemas/components/FlexContainer.js +0 -133
- package/ai/schemas/components/Form.js +0 -36
- package/ai/schemas/components/Icon.js +0 -41
- package/ai/schemas/components/Image.js +0 -55
- package/ai/schemas/components/InlineNotification.js +0 -23
- package/ai/schemas/components/Input.js +0 -142
- package/ai/schemas/components/InputFile.js +0 -55
- package/ai/schemas/components/Label.js +0 -43
- package/ai/schemas/components/Link.js +0 -58
- package/ai/schemas/components/List.js +0 -35
- package/ai/schemas/components/Loader.js +0 -55
- package/ai/schemas/components/Modal.js +0 -51
- package/ai/schemas/components/Portal.js +0 -49
- package/ai/schemas/components/Price.js +0 -25
- package/ai/schemas/components/ProgressBar.js +0 -53
- package/ai/schemas/components/RadioGroup.js +0 -80
- package/ai/schemas/components/Rating.js +0 -64
- package/ai/schemas/components/Row.js +0 -61
- package/ai/schemas/components/Scroll.js +0 -35
- package/ai/schemas/components/Search.js +0 -72
- package/ai/schemas/components/Select.js +0 -84
- package/ai/schemas/components/Separator.js +0 -62
- package/ai/schemas/components/Skeleton.js +0 -48
- package/ai/schemas/components/Slider.js +0 -42
- package/ai/schemas/components/Snackbar.js +0 -57
- package/ai/schemas/components/SnackbarManager.js +0 -13
- package/ai/schemas/components/Stepper.js +0 -38
- package/ai/schemas/components/Switch.js +0 -64
- package/ai/schemas/components/Tabs.js +0 -37
- package/ai/schemas/components/Textarea.js +0 -88
- package/ai/schemas/components/Toggle.js +0 -41
- package/ai/schemas/components/Tooltip.js +0 -61
- package/ai/schemas/components/Typography.js +0 -56
- package/ai/schemas/components/Wrapper.js +0 -46
- package/ai/schemas/components.js +0 -56
- package/ai/schemas/hooks/useTheme.js +0 -48
- package/components/core/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/components/core/Breadcrumbs/Breadcrumbs.js +0 -34
- package/components/core/Breadcrumbs/Breadcrumbs.types.d.ts +0 -14
- package/components/core/Breadcrumbs/BreadcrumbsStyled.d.ts +0 -6
- package/components/core/Breadcrumbs/BreadcrumbsStyled.js +0 -58
- package/components/core/Breadcrumbs/constants.d.ts +0 -1
- package/components/core/Breadcrumbs/constants.js +0 -4
- package/components/core/Breadcrumbs/index.d.ts +0 -2
- package/components/core/Button/Button.d.ts +0 -2
- package/components/core/Button/Button.js +0 -43
- package/components/core/Button/Button.types.d.ts +0 -26
- package/components/core/Button/ButtonStyled.d.ts +0 -5
- package/components/core/Button/ButtonStyled.js +0 -53
- package/components/core/Button/constants.d.ts +0 -1
- package/components/core/Button/constants.js +0 -4
- package/components/core/Button/index.d.ts +0 -2
- package/components/core/Dropdown/Dropdown.d.ts +0 -3
- package/components/core/Dropdown/Dropdown.js +0 -38
- package/components/core/Dropdown/Dropdown.types.d.ts +0 -8
- package/components/core/Dropdown/DropdownStyled.d.ts +0 -2
- package/components/core/Dropdown/DropdownStyled.js +0 -17
- package/components/core/Dropdown/constants.d.ts +0 -1
- package/components/core/Dropdown/constants.js +0 -4
- package/components/core/Dropdown/hooks/index.d.ts +0 -1
- package/components/core/Dropdown/hooks/useDropdown.d.ts +0 -3
- package/components/core/Dropdown/hooks/useDropdown.js +0 -12
- package/components/core/Dropdown/index.d.ts +0 -3
- package/components/core/DropdownItem/DropdownItem.d.ts +0 -2
- package/components/core/DropdownItem/DropdownItem.js +0 -45
- package/components/core/DropdownItem/DropdownItem.types.d.ts +0 -9
- package/components/core/DropdownItem/DropdownItemStyled.d.ts +0 -2
- package/components/core/DropdownItem/DropdownItemStyled.js +0 -17
- package/components/core/DropdownItem/constants.d.ts +0 -1
- package/components/core/DropdownItem/constants.js +0 -4
- package/components/core/DropdownItem/index.d.ts +0 -2
- package/components/core/Form/Form.d.ts +0 -2
- package/components/core/Form/Form.js +0 -48
- package/components/core/Form/Form.types.d.ts +0 -29
- package/components/core/Form/FormStyled.d.ts +0 -2
- package/components/core/Form/FormStyled.js +0 -16
- package/components/core/Form/constants.d.ts +0 -1
- package/components/core/Form/constants.js +0 -4
- package/components/core/Form/index.d.ts +0 -2
- package/components/core/Form/utils.d.ts +0 -3
- package/components/core/Form/utils.js +0 -34
- package/components/core/Icon/Icon.d.ts +0 -4
- package/components/core/Icon/Icon.js +0 -40
- package/components/core/Icon/Icon.types.d.ts +0 -11
- package/components/core/Icon/constants.d.ts +0 -317
- package/components/core/Icon/constants.js +0 -102
- package/components/core/Icon/index.d.ts +0 -2
- package/components/core/Icon/utils.d.ts +0 -3
- package/components/core/Image/Image.d.ts +0 -2
- package/components/core/Image/Image.js +0 -40
- package/components/core/Image/Image.types.d.ts +0 -27
- package/components/core/Image/ImageStyled.d.ts +0 -5
- package/components/core/Image/ImageStyled.js +0 -54
- package/components/core/Image/constants.d.ts +0 -1
- package/components/core/Image/constants.js +0 -4
- package/components/core/Image/index.d.ts +0 -2
- package/components/core/InlineNotification/InlineNotification.d.ts +0 -2
- package/components/core/InlineNotification/InlineNotification.js +0 -38
- package/components/core/InlineNotification/InlineNotification.types.d.ts +0 -9
- package/components/core/InlineNotification/InlineNotificationStyled.d.ts +0 -3
- package/components/core/InlineNotification/InlineNotificationStyled.js +0 -29
- package/components/core/InlineNotification/constants.d.ts +0 -16
- package/components/core/InlineNotification/constants.js +0 -21
- package/components/core/InlineNotification/index.d.ts +0 -2
- package/components/core/Input/Input.d.ts +0 -2
- package/components/core/Input/Input.js +0 -73
- package/components/core/Input/Input.types.d.ts +0 -74
- package/components/core/Input/InputAdornment/InputAdornment.d.ts +0 -2
- package/components/core/Input/InputAdornment/InputAdornment.js +0 -18
- package/components/core/Input/InputAdornment/InputAdornmentStyled.d.ts +0 -2
- package/components/core/Input/InputAdornment/InputAdornmentStyled.js +0 -15
- package/components/core/Input/InputAdornment/constants.d.ts +0 -1
- package/components/core/Input/InputAdornment/constants.js +0 -4
- package/components/core/Input/InputAdornment/index.d.ts +0 -1
- package/components/core/Input/InputHelper/InputHelper.d.ts +0 -2
- package/components/core/Input/InputHelper/InputHelper.js +0 -22
- package/components/core/Input/InputHelper/InputHelperStyled.d.ts +0 -2
- package/components/core/Input/InputHelper/InputHelperStyled.js +0 -17
- package/components/core/Input/InputHelper/constants.d.ts +0 -1
- package/components/core/Input/InputHelper/constants.js +0 -4
- package/components/core/Input/InputHelper/index.d.ts +0 -1
- package/components/core/Input/InputStyled.d.ts +0 -2
- package/components/core/Input/InputStyled.js +0 -18
- package/components/core/Input/InputWrapper/InputWrapper.d.ts +0 -2
- package/components/core/Input/InputWrapper/InputWrapper.js +0 -22
- package/components/core/Input/InputWrapper/InputWrapperStyled.d.ts +0 -2
- package/components/core/Input/InputWrapper/InputWrapperStyled.js +0 -21
- package/components/core/Input/InputWrapper/constants.d.ts +0 -1
- package/components/core/Input/InputWrapper/constants.js +0 -4
- package/components/core/Input/InputWrapper/index.d.ts +0 -1
- package/components/core/Input/constants.d.ts +0 -14
- package/components/core/Input/constants.js +0 -18
- package/components/core/Input/index.d.ts +0 -2
- package/components/core/Input/useInputHandlers.d.ts +0 -17
- package/components/core/Input/useInputHandlers.js +0 -31
- package/components/core/InputFile/InputFile.d.ts +0 -34
- package/components/core/InputFile/InputFile.js +0 -40
- package/components/core/InputFile/InputFile.types.d.ts +0 -18
- package/components/core/InputFile/InputFileStyled.d.ts +0 -3
- package/components/core/InputFile/InputFileStyled.js +0 -27
- package/components/core/InputFile/constants.d.ts +0 -3
- package/components/core/InputFile/constants.js +0 -6
- package/components/core/InputFile/index.d.ts +0 -2
- package/components/core/Label/Label.d.ts +0 -2
- package/components/core/Label/Label.js +0 -28
- package/components/core/Label/Label.types.d.ts +0 -10
- package/components/core/Label/LabelStyled.d.ts +0 -2
- package/components/core/Label/LabelStyled.js +0 -21
- package/components/core/Label/constants.d.ts +0 -1
- package/components/core/Label/constants.js +0 -4
- package/components/core/Label/index.d.ts +0 -2
- package/components/core/Link/Link.d.ts +0 -2
- package/components/core/Link/Link.js +0 -43
- package/components/core/Link/Link.types.d.ts +0 -21
- package/components/core/Link/LinkStyled.d.ts +0 -2
- package/components/core/Link/LinkStyled.js +0 -22
- package/components/core/Link/constants.d.ts +0 -1
- package/components/core/Link/constants.js +0 -4
- package/components/core/Link/index.d.ts +0 -2
- package/components/core/List/List.d.ts +0 -3
- package/components/core/List/List.js +0 -45
- package/components/core/List/List.types.d.ts +0 -10
- package/components/core/List/ListStyled.d.ts +0 -3
- package/components/core/List/ListStyled.js +0 -31
- package/components/core/List/constants.d.ts +0 -1
- package/components/core/List/constants.js +0 -4
- package/components/core/List/index.d.ts +0 -2
- package/components/core/Loader/Loader.d.ts +0 -2
- package/components/core/Loader/Loader.js +0 -29
- package/components/core/Loader/Loader.types.d.ts +0 -18
- package/components/core/Loader/LoaderStyled.d.ts +0 -2
- package/components/core/Loader/LoaderStyled.js +0 -41
- package/components/core/Loader/constants.d.ts +0 -2
- package/components/core/Loader/constants.js +0 -6
- package/components/core/Loader/index.d.ts +0 -2
- package/components/core/Loader/utils.d.ts +0 -11
- package/components/core/Loader/utils.js +0 -37
- package/components/core/Menu/Menu.d.ts +0 -2
- package/components/core/Menu/Menu.js +0 -106
- package/components/core/Menu/Menu.types.d.ts +0 -15
- package/components/core/Menu/MenuStyled.d.ts +0 -3
- package/components/core/Menu/MenuStyled.js +0 -31
- package/components/core/Menu/constants.d.ts +0 -10
- package/components/core/Menu/constants.js +0 -24
- package/components/core/Menu/index.d.ts +0 -2
- package/components/core/Modal/Modal.d.ts +0 -2
- package/components/core/Modal/Modal.js +0 -47
- package/components/core/Modal/Modal.types.d.ts +0 -18
- package/components/core/Modal/ModalStyled.d.ts +0 -8
- package/components/core/Modal/ModalStyled.js +0 -76
- package/components/core/Modal/constants.d.ts +0 -1
- package/components/core/Modal/constants.js +0 -4
- package/components/core/Modal/index.d.ts +0 -2
- package/components/core/Portal/Portal.d.ts +0 -2
- package/components/core/Portal/Portal.js +0 -26
- package/components/core/Portal/Portal.types.d.ts +0 -10
- package/components/core/Portal/constants.d.ts +0 -1
- package/components/core/Portal/index.d.ts +0 -2
- package/components/core/Scroll/Scroll.d.ts +0 -19
- package/components/core/Scroll/Scroll.js +0 -40
- package/components/core/Scroll/Scroll.types.d.ts +0 -19
- package/components/core/Scroll/ScrollBar.d.ts +0 -2
- package/components/core/Scroll/ScrollBar.js +0 -68
- package/components/core/Scroll/ScrollStyled.d.ts +0 -6
- package/components/core/Scroll/ScrollStyled.js +0 -56
- package/components/core/Scroll/constants.d.ts +0 -3
- package/components/core/Scroll/constants.js +0 -6
- package/components/core/Scroll/index.d.ts +0 -2
- package/components/core/Scroll/utils.d.ts +0 -5
- package/components/core/Scroll/utils.js +0 -41
- package/components/core/Select/Select.d.ts +0 -2
- package/components/core/Select/Select.js +0 -192
- package/components/core/Select/Select.types.d.ts +0 -69
- package/components/core/Select/SelectStyled.d.ts +0 -8
- package/components/core/Select/SelectStyled.js +0 -67
- package/components/core/Select/constants.d.ts +0 -2
- package/components/core/Select/constants.js +0 -5
- package/components/core/Select/hooks/index.d.ts +0 -1
- package/components/core/Select/hooks/useSelectContext.d.ts +0 -3
- package/components/core/Select/hooks/useSelectContext.js +0 -12
- package/components/core/Select/index.d.ts +0 -3
- package/components/core/Separator/Separator.d.ts +0 -2
- package/components/core/Separator/Separator.js +0 -36
- package/components/core/Separator/Separator.types.d.ts +0 -31
- package/components/core/Separator/SeparatorStyled.d.ts +0 -4
- package/components/core/Separator/SeparatorStyled.js +0 -61
- package/components/core/Separator/constants.d.ts +0 -1
- package/components/core/Separator/constants.js +0 -4
- package/components/core/Separator/index.d.ts +0 -2
- package/components/core/Skeleton/Skeleton.d.ts +0 -2
- package/components/core/Skeleton/Skeleton.js +0 -24
- package/components/core/Skeleton/Skeleton.types.d.ts +0 -17
- package/components/core/Skeleton/SkeletonStyled.d.ts +0 -2
- package/components/core/Skeleton/SkeletonStyled.js +0 -28
- package/components/core/Skeleton/constants.d.ts +0 -2
- package/components/core/Skeleton/constants.js +0 -6
- package/components/core/Skeleton/index.d.ts +0 -2
- package/components/core/Slider/Slider.d.ts +0 -20
- package/components/core/Slider/Slider.js +0 -35
- package/components/core/Slider/Slider.types.d.ts +0 -17
- package/components/core/Slider/SliderStyled.d.ts +0 -2
- package/components/core/Slider/SliderStyled.js +0 -20
- package/components/core/Slider/constants.d.ts +0 -3
- package/components/core/Slider/constants.js +0 -6
- package/components/core/Slider/index.d.ts +0 -3
- package/components/core/Snackbar/Snackbar.d.ts +0 -2
- package/components/core/Snackbar/Snackbar.js +0 -48
- package/components/core/Snackbar/Snackbar.types.d.ts +0 -36
- package/components/core/Snackbar/SnackbarManager.d.ts +0 -3
- package/components/core/Snackbar/SnackbarManager.js +0 -48
- package/components/core/Snackbar/SnackbarStyled.d.ts +0 -12
- package/components/core/Snackbar/SnackbarStyled.js +0 -107
- package/components/core/Snackbar/constants.d.ts +0 -8
- package/components/core/Snackbar/constants.js +0 -10
- package/components/core/Snackbar/index.d.ts +0 -4
- package/components/core/Switch/Switch.d.ts +0 -2
- package/components/core/Switch/Switch.js +0 -46
- package/components/core/Switch/Switch.types.d.ts +0 -21
- package/components/core/Switch/SwitchStyled.d.ts +0 -6
- package/components/core/Switch/SwitchStyled.js +0 -56
- package/components/core/Switch/constants.d.ts +0 -1
- package/components/core/Switch/constants.js +0 -4
- package/components/core/Switch/index.d.ts +0 -2
- package/components/core/Textarea/Textarea.d.ts +0 -2
- package/components/core/Textarea/Textarea.js +0 -35
- package/components/core/Textarea/Textarea.types.d.ts +0 -42
- package/components/core/Textarea/Textarea.types.js +0 -6
- package/components/core/Textarea/TextareaStyled.d.ts +0 -2
- package/components/core/Textarea/TextareaStyled.js +0 -27
- package/components/core/Textarea/constants.d.ts +0 -1
- package/components/core/Textarea/constants.js +0 -4
- package/components/core/Textarea/hooks/index.d.ts +0 -2
- package/components/core/Textarea/hooks/useDynamicHeightAdjustment.d.ts +0 -2
- package/components/core/Textarea/hooks/useDynamicHeightAdjustment.js +0 -8
- package/components/core/Textarea/hooks/useResizeObserver.d.ts +0 -2
- package/components/core/Textarea/hooks/useResizeObserver.js +0 -24
- package/components/core/Textarea/index.d.ts +0 -2
- package/components/core/Toggle/Toggle.d.ts +0 -2
- package/components/core/Toggle/Toggle.js +0 -37
- package/components/core/Toggle/Toggle.types.d.ts +0 -17
- package/components/core/Toggle/ToggleStyled.d.ts +0 -2
- package/components/core/Toggle/ToggleStyled.js +0 -18
- package/components/core/Toggle/constants.d.ts +0 -1
- package/components/core/Toggle/constants.js +0 -4
- package/components/core/Toggle/index.d.ts +0 -2
- package/components/core/Tooltip/Tooltip.d.ts +0 -3
- package/components/core/Tooltip/Tooltip.js +0 -52
- package/components/core/Tooltip/Tooltip.types.d.ts +0 -22
- package/components/core/Tooltip/Tooltip.types.js +0 -4
- package/components/core/Tooltip/TooltipStyled.d.ts +0 -3
- package/components/core/Tooltip/TooltipStyled.js +0 -24
- package/components/core/Tooltip/constants.d.ts +0 -3
- package/components/core/Tooltip/constants.js +0 -6
- package/components/core/Tooltip/index.d.ts +0 -2
- package/components/core/Tooltip/utils.d.ts +0 -22
- package/components/core/Tooltip/utils.js +0 -78
- package/components/core/Typography/Typography.d.ts +0 -2
- package/components/core/Typography/Typography.js +0 -26
- package/components/core/Typography/Typography.types.d.ts +0 -20
- package/components/core/Typography/TypographyStyled.d.ts +0 -2
- package/components/core/Typography/TypographyStyled.js +0 -32
- package/components/core/Typography/constants.d.ts +0 -1
- package/components/core/Typography/constants.js +0 -4
- package/components/core/Typography/index.d.ts +0 -2
- package/components/core/Wrapper/Wrapper.d.ts +0 -3
- package/components/core/Wrapper/Wrapper.js +0 -21
- package/components/core/Wrapper/Wrapper.types.d.ts +0 -11
- package/components/core/Wrapper/WrapperStyled.d.ts +0 -2
- package/components/core/Wrapper/WrapperStyled.js +0 -24
- package/components/core/Wrapper/constants.d.ts +0 -1
- package/components/core/Wrapper/constants.js +0 -4
- package/components/core/Wrapper/index.d.ts +0 -2
- package/components/core/index.d.ts +0 -30
- package/components/core/types/events.types.d.ts +0 -7
- package/components/core/types/index.types.d.ts +0 -2
- package/components/core/types/roles.types.d.ts +0 -4
- package/components/core/types/roles.types.js +0 -4
- package/components/domainSpecific/Accordion/Accordion.d.ts +0 -2
- package/components/domainSpecific/Accordion/Accordion.js +0 -35
- package/components/domainSpecific/Accordion/Accordion.types.d.ts +0 -24
- package/components/domainSpecific/Accordion/AccordionContent/AccordionContent.d.ts +0 -2
- package/components/domainSpecific/Accordion/AccordionContent/AccordionContent.js +0 -21
- package/components/domainSpecific/Accordion/AccordionContent/index.d.ts +0 -1
- package/components/domainSpecific/Accordion/AccordionHeader/AccordionHeader.d.ts +0 -2
- package/components/domainSpecific/Accordion/AccordionHeader/AccordionHeader.js +0 -29
- package/components/domainSpecific/Accordion/AccordionHeader/index.d.ts +0 -1
- package/components/domainSpecific/Accordion/AccordionItem/AccordionItem.d.ts +0 -2
- package/components/domainSpecific/Accordion/AccordionItem/AccordionItem.js +0 -26
- package/components/domainSpecific/Accordion/AccordionItem/index.d.ts +0 -1
- package/components/domainSpecific/Accordion/AccordionStyled.d.ts +0 -5
- package/components/domainSpecific/Accordion/AccordionStyled.js +0 -39
- package/components/domainSpecific/Accordion/constants.d.ts +0 -5
- package/components/domainSpecific/Accordion/constants.js +0 -7
- package/components/domainSpecific/Accordion/hooks/index.d.ts +0 -1
- package/components/domainSpecific/Accordion/hooks/useAccordion.d.ts +0 -3
- package/components/domainSpecific/Accordion/hooks/useAccordion.js +0 -12
- package/components/domainSpecific/Accordion/index.d.ts +0 -4
- package/components/domainSpecific/Avatar/Avatar.d.ts +0 -4
- package/components/domainSpecific/Avatar/Avatar.js +0 -44
- package/components/domainSpecific/Avatar/Avatar.types.d.ts +0 -27
- package/components/domainSpecific/Avatar/AvatarStyled.d.ts +0 -6
- package/components/domainSpecific/Avatar/AvatarStyled.js +0 -63
- package/components/domainSpecific/Avatar/constants.d.ts +0 -3
- package/components/domainSpecific/Avatar/constants.js +0 -6
- package/components/domainSpecific/Avatar/index.d.ts +0 -2
- package/components/domainSpecific/Card/Card.d.ts +0 -20
- package/components/domainSpecific/Card/Card.js +0 -47
- package/components/domainSpecific/Card/Card.types.d.ts +0 -51
- package/components/domainSpecific/Card/CardButton/CardButton.d.ts +0 -4
- package/components/domainSpecific/Card/CardButton/CardButton.js +0 -25
- package/components/domainSpecific/Card/CardButton/CardButtonStyled.d.ts +0 -2
- package/components/domainSpecific/Card/CardButton/CardButtonStyled.js +0 -18
- package/components/domainSpecific/Card/CardButton/constants.d.ts +0 -1
- package/components/domainSpecific/Card/CardButton/constants.js +0 -4
- package/components/domainSpecific/Card/CardButton/index.d.ts +0 -1
- package/components/domainSpecific/Card/CardCounter/CardCounter.d.ts +0 -4
- package/components/domainSpecific/Card/CardCounter/CardCounter.js +0 -26
- package/components/domainSpecific/Card/CardCounter/CardCounterStyled.d.ts +0 -2
- package/components/domainSpecific/Card/CardCounter/CardCounterStyled.js +0 -17
- package/components/domainSpecific/Card/CardCounter/constants.d.ts +0 -1
- package/components/domainSpecific/Card/CardCounter/constants.js +0 -4
- package/components/domainSpecific/Card/CardCounter/index.d.ts +0 -1
- package/components/domainSpecific/Card/CardDescription/CardDescription.d.ts +0 -2
- package/components/domainSpecific/Card/CardDescription/CardDescription.js +0 -24
- package/components/domainSpecific/Card/CardDescription/CardDescriptionStyled.d.ts +0 -2
- package/components/domainSpecific/Card/CardDescription/CardDescriptionStyled.js +0 -24
- package/components/domainSpecific/Card/CardDescription/constants.d.ts +0 -6
- package/components/domainSpecific/Card/CardDescription/constants.js +0 -10
- package/components/domainSpecific/Card/CardDescription/index.d.ts +0 -1
- package/components/domainSpecific/Card/CardImage/CardImage.d.ts +0 -2
- package/components/domainSpecific/Card/CardImage/CardImage.js +0 -26
- package/components/domainSpecific/Card/CardImage/CardImageStyled.d.ts +0 -2
- package/components/domainSpecific/Card/CardImage/CardImageStyled.js +0 -18
- package/components/domainSpecific/Card/CardImage/constants.d.ts +0 -1
- package/components/domainSpecific/Card/CardImage/constants.js +0 -4
- package/components/domainSpecific/Card/CardImage/index.d.ts +0 -1
- package/components/domainSpecific/Card/CardPrice/CardPrice.d.ts +0 -2
- package/components/domainSpecific/Card/CardPrice/CardPrice.js +0 -22
- package/components/domainSpecific/Card/CardPrice/CardPriceStyled.d.ts +0 -2
- package/components/domainSpecific/Card/CardPrice/CardPriceStyled.js +0 -18
- package/components/domainSpecific/Card/CardPrice/constants.d.ts +0 -1
- package/components/domainSpecific/Card/CardPrice/constants.js +0 -4
- package/components/domainSpecific/Card/CardPrice/index.d.ts +0 -1
- package/components/domainSpecific/Card/CardRating/CardRating.d.ts +0 -2
- package/components/domainSpecific/Card/CardRating/CardRating.js +0 -30
- package/components/domainSpecific/Card/CardRating/CardRatingStyled.d.ts +0 -2
- package/components/domainSpecific/Card/CardRating/CardRatingStyled.js +0 -18
- package/components/domainSpecific/Card/CardRating/constants.d.ts +0 -3
- package/components/domainSpecific/Card/CardRating/constants.js +0 -6
- package/components/domainSpecific/Card/CardRating/index.d.ts +0 -1
- package/components/domainSpecific/Card/CardTitle/CardTitle.d.ts +0 -4
- package/components/domainSpecific/Card/CardTitle/CardTitle.js +0 -25
- package/components/domainSpecific/Card/CardTitle/CardTitleStyled.d.ts +0 -2
- package/components/domainSpecific/Card/CardTitle/CardTitleStyled.js +0 -24
- package/components/domainSpecific/Card/CardTitle/constants.d.ts +0 -6
- package/components/domainSpecific/Card/CardTitle/constants.js +0 -10
- package/components/domainSpecific/Card/CardTitle/index.d.ts +0 -1
- package/components/domainSpecific/Card/CartStyled.d.ts +0 -2
- package/components/domainSpecific/Card/CartStyled.js +0 -26
- package/components/domainSpecific/Card/constants.d.ts +0 -1
- package/components/domainSpecific/Card/constants.js +0 -4
- package/components/domainSpecific/Card/index.d.ts +0 -2
- package/components/domainSpecific/Carousel/Carousel.d.ts +0 -12
- package/components/domainSpecific/Carousel/Carousel.js +0 -137
- package/components/domainSpecific/Carousel/Carousel.types.d.ts +0 -35
- package/components/domainSpecific/Carousel/CarouselStyled.d.ts +0 -15
- package/components/domainSpecific/Carousel/CarouselStyled.js +0 -143
- package/components/domainSpecific/Carousel/constants.d.ts +0 -1
- package/components/domainSpecific/Carousel/constants.js +0 -4
- package/components/domainSpecific/Carousel/index.d.ts +0 -2
- package/components/domainSpecific/ChatBubble/ChatBubble.d.ts +0 -2
- package/components/domainSpecific/ChatBubble/ChatBubble.js +0 -26
- package/components/domainSpecific/ChatBubble/ChatBubble.types.d.ts +0 -16
- package/components/domainSpecific/ChatBubble/ChatBubbleStyled.d.ts +0 -4
- package/components/domainSpecific/ChatBubble/ChatBubbleStyled.js +0 -43
- package/components/domainSpecific/ChatBubble/constants.d.ts +0 -1
- package/components/domainSpecific/ChatBubble/constants.js +0 -4
- package/components/domainSpecific/ChatBubble/index.d.ts +0 -2
- package/components/domainSpecific/ContentCarousel/ContentCarousel.d.ts +0 -2
- package/components/domainSpecific/ContentCarousel/ContentCarousel.js +0 -68
- package/components/domainSpecific/ContentCarousel/ContentCarousel.types.d.ts +0 -16
- package/components/domainSpecific/ContentCarousel/ContentCarouselStyled.d.ts +0 -5
- package/components/domainSpecific/ContentCarousel/ContentCarouselStyled.js +0 -32
- package/components/domainSpecific/ContentCarousel/constants.d.ts +0 -1
- package/components/domainSpecific/ContentCarousel/constants.js +0 -4
- package/components/domainSpecific/ContentCarousel/index.d.ts +0 -2
- package/components/domainSpecific/Counter/Counter.d.ts +0 -2
- package/components/domainSpecific/Counter/Counter.js +0 -55
- package/components/domainSpecific/Counter/Counter.types.d.ts +0 -15
- package/components/domainSpecific/Counter/CounterStyled.d.ts +0 -3
- package/components/domainSpecific/Counter/CounterStyled.js +0 -26
- package/components/domainSpecific/Counter/constants.d.ts +0 -5
- package/components/domainSpecific/Counter/constants.js +0 -8
- package/components/domainSpecific/Counter/index.d.ts +0 -2
- package/components/domainSpecific/DragAndDropFiles/DragAndDropFiles.d.ts +0 -4
- package/components/domainSpecific/DragAndDropFiles/DragAndDropFiles.js +0 -48
- package/components/domainSpecific/DragAndDropFiles/DragAndDropFiles.types.d.ts +0 -21
- package/components/domainSpecific/DragAndDropFiles/DragAndDropFilesStyled.d.ts +0 -2
- package/components/domainSpecific/DragAndDropFiles/DragAndDropFilesStyled.js +0 -16
- package/components/domainSpecific/DragAndDropFiles/constants.d.ts +0 -1
- package/components/domainSpecific/DragAndDropFiles/constants.js +0 -4
- package/components/domainSpecific/DragAndDropFiles/hooks/useDragAndDrop/index.d.ts +0 -1
- package/components/domainSpecific/DragAndDropFiles/hooks/useDragAndDrop/useDragAndDrop.d.ts +0 -19
- package/components/domainSpecific/DragAndDropFiles/hooks/useDragAndDrop/useDragAndDrop.js +0 -49
- package/components/domainSpecific/DragAndDropFiles/index.d.ts +0 -2
- package/components/domainSpecific/Header/Header.d.ts +0 -2
- package/components/domainSpecific/Header/Header.js +0 -88
- package/components/domainSpecific/Header/Header.types.d.ts +0 -31
- package/components/domainSpecific/Header/HeaderStyled.d.ts +0 -14
- package/components/domainSpecific/Header/HeaderStyled.js +0 -136
- package/components/domainSpecific/Header/constants.d.ts +0 -1
- package/components/domainSpecific/Header/constants.js +0 -4
- package/components/domainSpecific/Header/index.d.ts +0 -1
- package/components/domainSpecific/Price/Price.d.ts +0 -4
- package/components/domainSpecific/Price/Price.js +0 -23
- package/components/domainSpecific/Price/Price.types.d.ts +0 -10
- package/components/domainSpecific/Price/PriceStyled.d.ts +0 -4
- package/components/domainSpecific/Price/PriceStyled.js +0 -42
- package/components/domainSpecific/Price/constants.d.ts +0 -1
- package/components/domainSpecific/Price/constants.js +0 -4
- package/components/domainSpecific/Price/index.d.ts +0 -2
- package/components/domainSpecific/ProgressBar/ProgressBar.d.ts +0 -4
- package/components/domainSpecific/ProgressBar/ProgressBar.js +0 -29
- package/components/domainSpecific/ProgressBar/ProgressBar.types.d.ts +0 -36
- package/components/domainSpecific/ProgressBar/ProgressBarStyled.d.ts +0 -6
- package/components/domainSpecific/ProgressBar/ProgressBarStyled.js +0 -70
- package/components/domainSpecific/ProgressBar/constants.d.ts +0 -4
- package/components/domainSpecific/ProgressBar/constants.js +0 -7
- package/components/domainSpecific/ProgressBar/index.d.ts +0 -2
- package/components/domainSpecific/RadioGroup/RadioGroup.d.ts +0 -4
- package/components/domainSpecific/RadioGroup/RadioGroup.js +0 -54
- package/components/domainSpecific/RadioGroup/RadioGroup.types.d.ts +0 -74
- package/components/domainSpecific/RadioGroup/RadioGroup.types.js +0 -4
- package/components/domainSpecific/RadioGroup/RadioGroupItem/RadioGroupItem.d.ts +0 -5
- package/components/domainSpecific/RadioGroup/RadioGroupItem/RadioGroupItem.js +0 -37
- package/components/domainSpecific/RadioGroup/RadioGroupItem/index.d.ts +0 -1
- package/components/domainSpecific/RadioGroup/RadioGroupStyled.d.ts +0 -6
- package/components/domainSpecific/RadioGroup/RadioGroupStyled.js +0 -130
- package/components/domainSpecific/RadioGroup/constants.d.ts +0 -2
- package/components/domainSpecific/RadioGroup/constants.js +0 -5
- package/components/domainSpecific/RadioGroup/index.d.ts +0 -2
- package/components/domainSpecific/Rating/Rating.d.ts +0 -2
- package/components/domainSpecific/Rating/Rating.js +0 -63
- package/components/domainSpecific/Rating/Rating.types.d.ts +0 -20
- package/components/domainSpecific/Rating/RatingStyled.d.ts +0 -5
- package/components/domainSpecific/Rating/RatingStyled.js +0 -61
- package/components/domainSpecific/Rating/constants.d.ts +0 -6
- package/components/domainSpecific/Rating/constants.js +0 -9
- package/components/domainSpecific/Rating/index.d.ts +0 -2
- package/components/domainSpecific/Search/Search.d.ts +0 -3
- package/components/domainSpecific/Search/Search.js +0 -39
- package/components/domainSpecific/Search/Search.types.d.ts +0 -30
- package/components/domainSpecific/Search/SearchStyled.d.ts +0 -5
- package/components/domainSpecific/Search/SearchStyled.js +0 -16
- package/components/domainSpecific/Search/constants.d.ts +0 -4
- package/components/domainSpecific/Search/constants.js +0 -7
- package/components/domainSpecific/Search/index.d.ts +0 -2
- package/components/domainSpecific/SearchModal/SearchInput/SearchInput.d.ts +0 -5
- package/components/domainSpecific/SearchModal/SearchInput/SearchInput.js +0 -26
- package/components/domainSpecific/SearchModal/SearchInput/SearchInputStyled.d.ts +0 -4
- package/components/domainSpecific/SearchModal/SearchInput/SearchInputStyled.js +0 -25
- package/components/domainSpecific/SearchModal/SearchInput/constants.d.ts +0 -3
- package/components/domainSpecific/SearchModal/SearchInput/constants.js +0 -6
- package/components/domainSpecific/SearchModal/SearchInput/index.d.ts +0 -1
- package/components/domainSpecific/SearchModal/SearchItems/SearchItems.d.ts +0 -5
- package/components/domainSpecific/SearchModal/SearchItems/SearchItems.js +0 -48
- package/components/domainSpecific/SearchModal/SearchItems/SearchItemsStyled.d.ts +0 -10
- package/components/domainSpecific/SearchModal/SearchItems/SearchItemsStyled.js +0 -82
- package/components/domainSpecific/SearchModal/SearchItems/constants.d.ts +0 -7
- package/components/domainSpecific/SearchModal/SearchItems/constants.js +0 -10
- package/components/domainSpecific/SearchModal/SearchItems/index.d.ts +0 -1
- package/components/domainSpecific/SearchModal/SearchItems/utils.d.ts +0 -2
- package/components/domainSpecific/SearchModal/SearchItems/utils.js +0 -7
- package/components/domainSpecific/SearchModal/SearchLoader/SearchLoader.d.ts +0 -5
- package/components/domainSpecific/SearchModal/SearchLoader/SearchLoader.js +0 -20
- package/components/domainSpecific/SearchModal/SearchLoader/SearchLoaderStyled.d.ts +0 -3
- package/components/domainSpecific/SearchModal/SearchLoader/SearchLoaderStyled.js +0 -14
- package/components/domainSpecific/SearchModal/SearchLoader/constants.d.ts +0 -1
- package/components/domainSpecific/SearchModal/SearchLoader/constants.js +0 -4
- package/components/domainSpecific/SearchModal/SearchLoader/index.d.ts +0 -1
- package/components/domainSpecific/SearchModal/SearchModal.d.ts +0 -4
- package/components/domainSpecific/SearchModal/SearchModal.js +0 -39
- package/components/domainSpecific/SearchModal/SearchModal.types.d.ts +0 -48
- package/components/domainSpecific/SearchModal/SearchModalStyled.d.ts +0 -3
- package/components/domainSpecific/SearchModal/SearchModalStyled.js +0 -29
- package/components/domainSpecific/SearchModal/constants.d.ts +0 -5
- package/components/domainSpecific/SearchModal/constants.js +0 -8
- package/components/domainSpecific/SearchModal/index.d.ts +0 -2
- package/components/domainSpecific/Stepper/Stepper.d.ts +0 -2
- package/components/domainSpecific/Stepper/Stepper.js +0 -42
- package/components/domainSpecific/Stepper/Stepper.types.d.ts +0 -31
- package/components/domainSpecific/Stepper/StepperStyled.d.ts +0 -6
- package/components/domainSpecific/Stepper/StepperStyled.js +0 -58
- package/components/domainSpecific/Stepper/constants.d.ts +0 -1
- package/components/domainSpecific/Stepper/constants.js +0 -4
- package/components/domainSpecific/Stepper/index.d.ts +0 -2
- package/components/domainSpecific/Stepper/utils.d.ts +0 -2
- package/components/domainSpecific/Stepper/utils.js +0 -37
- package/components/domainSpecific/Tabs/Tabs.d.ts +0 -2
- package/components/domainSpecific/Tabs/Tabs.js +0 -40
- package/components/domainSpecific/Tabs/Tabs.types.d.ts +0 -26
- package/components/domainSpecific/Tabs/TabsStyled.d.ts +0 -8
- package/components/domainSpecific/Tabs/TabsStyled.js +0 -79
- package/components/domainSpecific/Tabs/constants.d.ts +0 -6
- package/components/domainSpecific/Tabs/constants.js +0 -6
- package/components/domainSpecific/Tabs/index.d.ts +0 -2
- package/components/domainSpecific/index.d.ts +0 -17
- package/components/index.d.ts +0 -6
- package/components/index.types.d.ts +0 -115
- package/components/index.types.js +0 -4
- package/components/layout/ChatContainer/ChatContainer.d.ts +0 -2
- package/components/layout/ChatContainer/ChatContainer.js +0 -57
- package/components/layout/ChatContainer/ChatContainer.types.d.ts +0 -25
- package/components/layout/ChatContainer/ChatContainerStyled.d.ts +0 -9
- package/components/layout/ChatContainer/ChatContainerStyled.js +0 -74
- package/components/layout/ChatContainer/constants.d.ts +0 -1
- package/components/layout/ChatContainer/constants.js +0 -4
- package/components/layout/ChatContainer/index.d.ts +0 -2
- package/components/layout/Column/Column.d.ts +0 -2
- package/components/layout/Column/Column.js +0 -26
- package/components/layout/Column/Column.types.d.ts +0 -6
- package/components/layout/Column/ColumnStyled.d.ts +0 -2
- package/components/layout/Column/ColumnStyled.js +0 -36
- package/components/layout/Column/constants.d.ts +0 -1
- package/components/layout/Column/constants.js +0 -4
- package/components/layout/Column/index.d.ts +0 -2
- package/components/layout/FlexContainer/FlexContainer.d.ts +0 -2
- package/components/layout/FlexContainer/FlexContainer.js +0 -22
- package/components/layout/FlexContainer/FlexContainer.types.d.ts +0 -6
- package/components/layout/FlexContainer/FlexContainerStyled.d.ts +0 -2
- package/components/layout/FlexContainer/FlexContainerStyled.js +0 -21
- package/components/layout/FlexContainer/constants.d.ts +0 -1
- package/components/layout/FlexContainer/constants.js +0 -4
- package/components/layout/FlexContainer/index.d.ts +0 -2
- package/components/layout/FlexContainer/utils.d.ts +0 -2
- package/components/layout/Row/Row.d.ts +0 -3
- package/components/layout/Row/Row.js +0 -26
- package/components/layout/Row/Row.types.d.ts +0 -6
- package/components/layout/Row/RowStyled.d.ts +0 -2
- package/components/layout/Row/RowStyled.js +0 -36
- package/components/layout/Row/constants.d.ts +0 -1
- package/components/layout/Row/constants.js +0 -4
- package/components/layout/Row/index.d.ts +0 -2
- package/components/layout/index.d.ts +0 -4
- package/components/templates/SkeletonSearch/SkeletonSearch.d.ts +0 -2
- package/components/templates/SkeletonSearch/SkeletonSearch.js +0 -30
- package/components/templates/SkeletonSearch/SkeletonSearch.types.d.ts +0 -6
- package/components/templates/SkeletonSearch/SkeletonSearchStyled.d.ts +0 -11
- package/components/templates/SkeletonSearch/SkeletonSearchStyled.js +0 -97
- package/components/templates/SkeletonSearch/constants.d.ts +0 -2
- package/components/templates/SkeletonSearch/constants.js +0 -5
- package/components/templates/SkeletonSearch/index.d.ts +0 -2
- package/components/templates/index.d.ts +0 -1
- package/components/widget/DragAndDrop/DragAndDrop.d.ts +0 -4
- package/components/widget/DragAndDrop/DragAndDrop.js +0 -74
- package/components/widget/DragAndDrop/DragAndDrop.types.d.ts +0 -35
- package/components/widget/DragAndDrop/DragAndDropStyled.d.ts +0 -6
- package/components/widget/DragAndDrop/DragAndDropStyled.js +0 -61
- package/components/widget/DragAndDrop/constants.d.ts +0 -1
- package/components/widget/DragAndDrop/constants.js +0 -4
- package/components/widget/DragAndDrop/index.d.ts +0 -2
- package/components/widget/DragAndDrop/utils/index.d.ts +0 -1
- package/components/widget/DragAndDrop/utils/validators.d.ts +0 -5
- package/components/widget/DragAndDrop/utils/validators.js +0 -17
- package/components/widget/index.d.ts +0 -1
- package/constants/index.d.ts +0 -3
- package/constants/keyboard.d.ts +0 -8
- package/constants/keyboard.js +0 -11
- package/constants/positioning.d.ts +0 -9
- package/constants/positioning.js +0 -11
- package/constants/timers.d.ts +0 -2
- package/constants/timers.js +0 -5
- package/hooks/index.d.ts +0 -6
- package/hooks/useAutoFocus/index.d.ts +0 -1
- package/hooks/useAutoFocus/useAutoFocus.d.ts +0 -2
- package/hooks/useAutoFocus/useAutoFocus.js +0 -11
- package/hooks/useCarousel/index.d.ts +0 -1
- package/hooks/useCarousel/useCarousel.d.ts +0 -23
- package/hooks/useCarousel/useCarousel.js +0 -61
- package/hooks/useClickOutside/index.d.ts +0 -1
- package/hooks/useClickOutside/useClickOutside.d.ts +0 -1
- package/hooks/useClickOutside/useClickOutside.js +0 -15
- package/hooks/useKeyControls/index.d.ts +0 -1
- package/hooks/useKeyControls/useKeyControls.d.ts +0 -2
- package/hooks/useKeyControls/useKeyControls.js +0 -19
- package/hooks/useMediaQuery/index.d.ts +0 -1
- package/hooks/useMediaQuery/useMediaQuery.d.ts +0 -1
- package/hooks/useMediaQuery/useMediaQuery.js +0 -14
- package/hooks/useTheme/index.d.ts +0 -4
- package/hooks/useTheme/useTheme.d.ts +0 -4
- package/hooks/useTheme/useTheme.js +0 -48
- package/hooks/useTheme/useTheme.types.d.ts +0 -14
- package/hooks/useTheme/utils.d.ts +0 -2
- package/hooks/useTheme/utils.js +0 -10
- package/stories/Introduction/ThemeJsonPreview.d.ts +0 -4
- package/stories/components/TokenViewer/TokenViewer.d.ts +0 -2
- package/stories/components/TokenViewer/TokenViewer.types.d.ts +0 -12
- package/stories/components/TokenViewer/TokenViewerStyled.d.ts +0 -11
- package/stories/components/TokenViewer/index.d.ts +0 -1
- package/tokens/accordion.d.ts +0 -62
- package/tokens/accordion.js +0 -72
- package/tokens/animations.d.ts +0 -60
- package/tokens/animations.js +0 -63
- package/tokens/avatar.d.ts +0 -120
- package/tokens/avatar.js +0 -153
- package/tokens/borders.d.ts +0 -9
- package/tokens/borders.js +0 -17
- package/tokens/breadcrumbs.d.ts +0 -30
- package/tokens/breadcrumbs.js +0 -37
- package/tokens/breakpoints.d.ts +0 -8
- package/tokens/breakpoints.js +0 -12
- package/tokens/button.d.ts +0 -155
- package/tokens/button.js +0 -200
- package/tokens/card.d.ts +0 -175
- package/tokens/card.js +0 -187
- package/tokens/carousel.d.ts +0 -197
- package/tokens/carousel.js +0 -208
- package/tokens/chat.d.ts +0 -128
- package/tokens/chat.js +0 -126
- package/tokens/chatbubble.d.ts +0 -48
- package/tokens/chatbubble.js +0 -75
- package/tokens/colors.d.ts +0 -154
- package/tokens/colors.js +0 -157
- package/tokens/column.d.ts +0 -6
- package/tokens/column.js +0 -9
- package/tokens/constants.d.ts +0 -2
- package/tokens/constants.js +0 -4
- package/tokens/counter.d.ts +0 -38
- package/tokens/counter.js +0 -45
- package/tokens/cursors.d.ts +0 -17
- package/tokens/cursors.js +0 -20
- package/tokens/defaultTheme.d.ts +0 -3791
- package/tokens/defaultTheme.js +0 -123
- package/tokens/display.d.ts +0 -16
- package/tokens/display.js +0 -19
- package/tokens/draganddrop.d.ts +0 -61
- package/tokens/draganddrop.js +0 -87
- package/tokens/draganddropfiles.d.ts +0 -3
- package/tokens/draganddropfiles.js +0 -6
- package/tokens/flexContainer.d.ts +0 -9
- package/tokens/flexContainer.js +0 -13
- package/tokens/font.d.ts +0 -47
- package/tokens/font.js +0 -52
- package/tokens/form.d.ts +0 -3
- package/tokens/form.js +0 -6
- package/tokens/header.d.ts +0 -107
- package/tokens/header.js +0 -123
- package/tokens/icon.d.ts +0 -28
- package/tokens/icon.js +0 -32
- package/tokens/image.d.ts +0 -31
- package/tokens/image.js +0 -40
- package/tokens/index.d.ts +0 -3390
- package/tokens/index.js +0 -145
- package/tokens/inlineNotification.d.ts +0 -62
- package/tokens/inlineNotification.js +0 -75
- package/tokens/input.d.ts +0 -212
- package/tokens/input.js +0 -191
- package/tokens/inputfile.d.ts +0 -14
- package/tokens/inputfile.js +0 -18
- package/tokens/label.d.ts +0 -6
- package/tokens/label.js +0 -10
- package/tokens/link.d.ts +0 -80
- package/tokens/link.js +0 -66
- package/tokens/list.d.ts +0 -89
- package/tokens/list.js +0 -87
- package/tokens/loader.d.ts +0 -135
- package/tokens/loader.js +0 -143
- package/tokens/menu.d.ts +0 -15
- package/tokens/menu.js +0 -19
- package/tokens/modal.d.ts +0 -89
- package/tokens/modal.js +0 -112
- package/tokens/price.d.ts +0 -23
- package/tokens/price.js +0 -32
- package/tokens/progressbar.d.ts +0 -51
- package/tokens/progressbar.js +0 -60
- package/tokens/radiogroup.d.ts +0 -80
- package/tokens/radiogroup.js +0 -110
- package/tokens/radius.d.ts +0 -10
- package/tokens/radius.js +0 -14
- package/tokens/rating.d.ts +0 -65
- package/tokens/rating.js +0 -73
- package/tokens/reset.d.ts +0 -1
- package/tokens/reset.js +0 -4
- package/tokens/row.d.ts +0 -5
- package/tokens/row.js +0 -8
- package/tokens/scroll.d.ts +0 -91
- package/tokens/scroll.js +0 -99
- package/tokens/search.d.ts +0 -39
- package/tokens/search.js +0 -45
- package/tokens/searchModal.d.ts +0 -155
- package/tokens/searchModal.js +0 -159
- package/tokens/select.d.ts +0 -93
- package/tokens/select.js +0 -108
- package/tokens/separator.d.ts +0 -56
- package/tokens/separator.js +0 -63
- package/tokens/shadow.d.ts +0 -20
- package/tokens/shadow.js +0 -25
- package/tokens/skeleton.d.ts +0 -68
- package/tokens/skeleton.js +0 -77
- package/tokens/slider.d.ts +0 -58
- package/tokens/slider.js +0 -45
- package/tokens/snackbar.d.ts +0 -157
- package/tokens/snackbar.js +0 -177
- package/tokens/spacing.d.ts +0 -9
- package/tokens/spacing.js +0 -13
- package/tokens/stepper.d.ts +0 -132
- package/tokens/stepper.js +0 -147
- package/tokens/switch.d.ts +0 -67
- package/tokens/switch.js +0 -75
- package/tokens/tabs.d.ts +0 -88
- package/tokens/tabs.js +0 -110
- package/tokens/textarea.d.ts +0 -44
- package/tokens/textarea.js +0 -47
- package/tokens/toggle.d.ts +0 -9
- package/tokens/toggle.js +0 -19
- package/tokens/tooltip.d.ts +0 -61
- package/tokens/tooltip.js +0 -68
- package/tokens/types/index.types.d.ts +0 -14
- package/tokens/types/index.types.js +0 -4
- package/tokens/typography.d.ts +0 -127
- package/tokens/typography.js +0 -134
- package/tokens/utils.d.ts +0 -47
- package/tokens/utils.js +0 -88
- package/tokens/values.d.ts +0 -65
- package/tokens/values.js +0 -76
- package/tokens/wrapper.d.ts +0 -29
- package/tokens/wrapper.js +0 -34
- package/types/accesability.d.ts +0 -5
- package/types/accesability.js +0 -4
- package/types/button.d.ts +0 -28
- package/types/button.js +0 -7
- package/types/card.d.ts +0 -8
- package/types/card.js +0 -5
- package/types/carousel.d.ts +0 -12
- package/types/carousel.js +0 -6
- package/types/chat.d.ts +0 -5
- package/types/chat.js +0 -4
- package/types/common.d.ts +0 -12
- package/types/common.js +0 -5
- package/types/cursors.d.ts +0 -14
- package/types/cursors.js +0 -4
- package/types/index.d.ts +0 -21
- package/types/input.d.ts +0 -30
- package/types/input.js +0 -6
- package/types/keys.d.ts +0 -8
- package/types/label.d.ts +0 -4
- package/types/label.js +0 -4
- package/types/layout.d.ts +0 -8
- package/types/layout.js +0 -4
- package/types/link.d.ts +0 -18
- package/types/link.js +0 -5
- package/types/list.d.ts +0 -6
- package/types/list.js +0 -4
- package/types/misc.d.ts +0 -17
- package/types/separator.d.ts +0 -10
- package/types/separator.js +0 -5
- package/types/skeleton.d.ts +0 -5
- package/types/skeleton.js +0 -4
- package/types/snackbar.d.ts +0 -14
- package/types/snackbar.js +0 -5
- package/types/stepper.d.ts +0 -9
- package/types/stepper.js +0 -5
- package/types/styles.d.ts +0 -3
- package/types/typography.d.ts +0 -45
- package/types/typography.js +0 -6
- package/types/wrapper.d.ts +0 -5
- package/types/wrapper.js +0 -4
- package/utils/animationFrame.d.ts +0 -15
- package/utils/animationFrame.js +0 -17
- package/utils/common.d.ts +0 -2
- package/utils/common.js +0 -4
- package/utils/date.d.ts +0 -9
- package/utils/date.js +0 -11
- package/utils/focus.d.ts +0 -32
- package/utils/focus.js +0 -54
- package/utils/getCharCount.d.ts +0 -3
- package/utils/helpers.d.ts +0 -13
- package/utils/helpers.js +0 -49
- package/utils/index.d.ts +0 -10
- package/utils/layout.d.ts +0 -6
- package/utils/layout.js +0 -32
- package/utils/math.d.ts +0 -6
- package/utils/math.js +0 -11
- package/utils/setInRange.d.ts +0 -5
- package/utils/setInRange.js +0 -11
- package/utils/uniqueKeys.d.ts +0 -1
- package/utils/uniqueKeys.js +0 -4
package/tokens/index.js
DELETED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { separator as r } from "./separator.js";
|
|
2
|
-
import { draganddrop as o } from "./draganddrop.js";
|
|
3
|
-
import { avatar as m } from "./avatar.js";
|
|
4
|
-
import { chatbubble as t } from "./chatbubble.js";
|
|
5
|
-
import { radiogroup as i } from "./radiogroup.js";
|
|
6
|
-
import { draganddropfiles as p } from "./draganddropfiles.js";
|
|
7
|
-
import { inputfile as f } from "./inputfile.js";
|
|
8
|
-
import { searchModal as a } from "./searchModal.js";
|
|
9
|
-
import { carousel as e } from "./carousel.js";
|
|
10
|
-
import { progressbar as s } from "./progressbar.js";
|
|
11
|
-
import { card as n } from "./card.js";
|
|
12
|
-
import { counter as l } from "./counter.js";
|
|
13
|
-
import { font as c } from "./font.js";
|
|
14
|
-
import { colors as d } from "./colors.js";
|
|
15
|
-
import { breakpoints as b } from "./breakpoints.js";
|
|
16
|
-
import { spacing as u } from "./spacing.js";
|
|
17
|
-
import { radius as g } from "./radius.js";
|
|
18
|
-
import { typography as h } from "./typography.js";
|
|
19
|
-
import { borders as k } from "./borders.js";
|
|
20
|
-
import { button as T } from "./button.js";
|
|
21
|
-
import { input as w } from "./input.js";
|
|
22
|
-
import { label as x } from "./label.js";
|
|
23
|
-
import { textarea as A } from "./textarea.js";
|
|
24
|
-
import { link as y } from "./link.js";
|
|
25
|
-
import { form as D } from "./form.js";
|
|
26
|
-
import { wrapper as _ } from "./wrapper.js";
|
|
27
|
-
import { loader as v } from "./loader.js";
|
|
28
|
-
import { switchToggle as B } from "./toggle.js";
|
|
29
|
-
import { skeleton as C } from "./skeleton.js";
|
|
30
|
-
import { animations as E } from "./animations.js";
|
|
31
|
-
import { snackbar as F } from "./snackbar.js";
|
|
32
|
-
import { DEFAULT_SNACKBAR_WIDTH as jr } from "./snackbar.js";
|
|
33
|
-
import { list as H } from "./list.js";
|
|
34
|
-
import { select as I } from "./select.js";
|
|
35
|
-
import { search as K } from "./search.js";
|
|
36
|
-
import { breadcrumbs as L } from "./breadcrumbs.js";
|
|
37
|
-
import { icon as M } from "./icon.js";
|
|
38
|
-
import { reset as N } from "./reset.js";
|
|
39
|
-
import { tabs as R } from "./tabs.js";
|
|
40
|
-
import { stepper as S } from "./stepper.js";
|
|
41
|
-
import { rating as U } from "./rating.js";
|
|
42
|
-
import { header as W } from "./header.js";
|
|
43
|
-
import { switchToken as j } from "./switch.js";
|
|
44
|
-
import { chat as q } from "./chat.js";
|
|
45
|
-
import { slider as z } from "./slider.js";
|
|
46
|
-
import { menu as G } from "./menu.js";
|
|
47
|
-
import { scroll as J } from "./scroll.js";
|
|
48
|
-
const Sr = {
|
|
49
|
-
breakpoints: b,
|
|
50
|
-
separator: r,
|
|
51
|
-
draganddrop: o,
|
|
52
|
-
avatar: m,
|
|
53
|
-
chatbubble: t,
|
|
54
|
-
radiogroup: i,
|
|
55
|
-
draganddropfiles: p,
|
|
56
|
-
inputfile: f,
|
|
57
|
-
carousel: e,
|
|
58
|
-
searchModal: a,
|
|
59
|
-
progressbar: s,
|
|
60
|
-
card: n,
|
|
61
|
-
counter: l,
|
|
62
|
-
font: c,
|
|
63
|
-
colors: d,
|
|
64
|
-
spacing: u,
|
|
65
|
-
borders: k,
|
|
66
|
-
scroll: J,
|
|
67
|
-
radius: g,
|
|
68
|
-
button: T,
|
|
69
|
-
input: w,
|
|
70
|
-
label: x,
|
|
71
|
-
link: y,
|
|
72
|
-
form: D,
|
|
73
|
-
typography: h,
|
|
74
|
-
textarea: A,
|
|
75
|
-
wrapper: _,
|
|
76
|
-
loader: v,
|
|
77
|
-
switchToggle: B,
|
|
78
|
-
skeleton: C,
|
|
79
|
-
animations: E,
|
|
80
|
-
snackbar: F,
|
|
81
|
-
list: H,
|
|
82
|
-
select: I,
|
|
83
|
-
search: K,
|
|
84
|
-
breadcrumbs: L,
|
|
85
|
-
icon: M,
|
|
86
|
-
reset: N,
|
|
87
|
-
tabs: R,
|
|
88
|
-
stepper: S,
|
|
89
|
-
rating: U,
|
|
90
|
-
header: W,
|
|
91
|
-
switchToken: j,
|
|
92
|
-
chat: q,
|
|
93
|
-
slider: z,
|
|
94
|
-
menu: G
|
|
95
|
-
};
|
|
96
|
-
export {
|
|
97
|
-
jr as DEFAULT_SNACKBAR_WIDTH,
|
|
98
|
-
E as animations,
|
|
99
|
-
m as avatar,
|
|
100
|
-
k as borders,
|
|
101
|
-
L as breadcrumbs,
|
|
102
|
-
b as breakpoints,
|
|
103
|
-
T as button,
|
|
104
|
-
n as card,
|
|
105
|
-
e as carousel,
|
|
106
|
-
q as chat,
|
|
107
|
-
t as chatbubble,
|
|
108
|
-
d as colors,
|
|
109
|
-
l as counter,
|
|
110
|
-
Sr as defaultTokens,
|
|
111
|
-
o as draganddrop,
|
|
112
|
-
p as draganddropfiles,
|
|
113
|
-
c as font,
|
|
114
|
-
D as form,
|
|
115
|
-
W as header,
|
|
116
|
-
M as icon,
|
|
117
|
-
w as input,
|
|
118
|
-
f as inputfile,
|
|
119
|
-
x as label,
|
|
120
|
-
y as link,
|
|
121
|
-
H as list,
|
|
122
|
-
v as loader,
|
|
123
|
-
G as menu,
|
|
124
|
-
s as progressbar,
|
|
125
|
-
i as radiogroup,
|
|
126
|
-
g as radius,
|
|
127
|
-
U as rating,
|
|
128
|
-
N as reset,
|
|
129
|
-
J as scroll,
|
|
130
|
-
K as search,
|
|
131
|
-
a as searchModal,
|
|
132
|
-
I as select,
|
|
133
|
-
r as separator,
|
|
134
|
-
C as skeleton,
|
|
135
|
-
z as slider,
|
|
136
|
-
F as snackbar,
|
|
137
|
-
u as spacing,
|
|
138
|
-
S as stepper,
|
|
139
|
-
B as switchToggle,
|
|
140
|
-
j as switchToken,
|
|
141
|
-
R as tabs,
|
|
142
|
-
A as textarea,
|
|
143
|
-
h as typography,
|
|
144
|
-
_ as wrapper
|
|
145
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export declare const inlineNotification: {
|
|
2
|
-
default: {
|
|
3
|
-
wrapper: {
|
|
4
|
-
display: string;
|
|
5
|
-
alignItems: string;
|
|
6
|
-
gap: string;
|
|
7
|
-
width: string;
|
|
8
|
-
};
|
|
9
|
-
content: {
|
|
10
|
-
flex: number;
|
|
11
|
-
fontFamily: string;
|
|
12
|
-
fontWeight: number;
|
|
13
|
-
fontSize: string;
|
|
14
|
-
lineHeight: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
success: {
|
|
18
|
-
wrapper: {};
|
|
19
|
-
content: {};
|
|
20
|
-
icon: {
|
|
21
|
-
name: string;
|
|
22
|
-
fill: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
warning: {
|
|
26
|
-
wrapper: {};
|
|
27
|
-
content: {};
|
|
28
|
-
icon: {
|
|
29
|
-
name: string;
|
|
30
|
-
fill: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
error: {
|
|
34
|
-
wrapper: {};
|
|
35
|
-
content: {};
|
|
36
|
-
icon: {
|
|
37
|
-
name: string;
|
|
38
|
-
fill: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
info: {
|
|
42
|
-
wrapper: {};
|
|
43
|
-
content: {};
|
|
44
|
-
icon: {
|
|
45
|
-
name: string;
|
|
46
|
-
fill: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
basic: {
|
|
50
|
-
wrapper: {
|
|
51
|
-
border: string;
|
|
52
|
-
boxShadow: string;
|
|
53
|
-
padding: string;
|
|
54
|
-
};
|
|
55
|
-
content: {
|
|
56
|
-
fontWeight: number;
|
|
57
|
-
};
|
|
58
|
-
icon: {
|
|
59
|
-
name: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { spacing as i } from "./spacing.js";
|
|
2
|
-
import { shadows as e } from "./shadow.js";
|
|
3
|
-
import { borders as r } from "./borders.js";
|
|
4
|
-
import { values as t } from "./values.js";
|
|
5
|
-
import { colors as n } from "./colors.js";
|
|
6
|
-
import { flexAlignItems as a, display as l } from "./display.js";
|
|
7
|
-
import { font as o } from "./font.js";
|
|
8
|
-
const w = {
|
|
9
|
-
default: {
|
|
10
|
-
wrapper: {
|
|
11
|
-
display: l.inlineFlex,
|
|
12
|
-
alignItems: a.center,
|
|
13
|
-
gap: i.xs,
|
|
14
|
-
width: "max-content"
|
|
15
|
-
},
|
|
16
|
-
content: {
|
|
17
|
-
flex: 1,
|
|
18
|
-
fontFamily: o.family,
|
|
19
|
-
fontWeight: o.weight.medium,
|
|
20
|
-
fontSize: o.size.small,
|
|
21
|
-
lineHeight: o.line.height.small
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
success: {
|
|
25
|
-
wrapper: {},
|
|
26
|
-
content: {},
|
|
27
|
-
icon: {
|
|
28
|
-
name: "success",
|
|
29
|
-
fill: n.icon.success
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
warning: {
|
|
33
|
-
wrapper: {},
|
|
34
|
-
content: {},
|
|
35
|
-
icon: {
|
|
36
|
-
name: "warning",
|
|
37
|
-
fill: n.icon.warning
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
error: {
|
|
41
|
-
wrapper: {},
|
|
42
|
-
content: {},
|
|
43
|
-
icon: {
|
|
44
|
-
name: "error",
|
|
45
|
-
fill: n.icon.error
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
info: {
|
|
49
|
-
wrapper: {},
|
|
50
|
-
content: {},
|
|
51
|
-
icon: {
|
|
52
|
-
name: "info",
|
|
53
|
-
fill: n.icon.info
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
basic: {
|
|
57
|
-
wrapper: {
|
|
58
|
-
border: r.generic({
|
|
59
|
-
width: t.borderThin,
|
|
60
|
-
color: n.border.default
|
|
61
|
-
}),
|
|
62
|
-
boxShadow: e.inlineNotification.default,
|
|
63
|
-
padding: `${i.sm} ${i.md} ${i.sm} ${i.md}`
|
|
64
|
-
},
|
|
65
|
-
content: {
|
|
66
|
-
fontWeight: o.weight.normal
|
|
67
|
-
},
|
|
68
|
-
icon: {
|
|
69
|
-
name: ""
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
export {
|
|
74
|
-
w as inlineNotification
|
|
75
|
-
};
|
package/tokens/input.d.ts
DELETED
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import { FlexDirection } from '../types';
|
|
2
|
-
export declare const input: {
|
|
3
|
-
wrapper: {
|
|
4
|
-
default: {
|
|
5
|
-
boxSizing: string;
|
|
6
|
-
display: string;
|
|
7
|
-
alignSelf: string;
|
|
8
|
-
alignItems: string;
|
|
9
|
-
borderRadius: number;
|
|
10
|
-
position: string;
|
|
11
|
-
};
|
|
12
|
-
withGap: {
|
|
13
|
-
flexDirection: FlexDirection;
|
|
14
|
-
alignItems: string;
|
|
15
|
-
gap: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
input: {
|
|
19
|
-
default: {
|
|
20
|
-
borderRadius: number;
|
|
21
|
-
padding: string;
|
|
22
|
-
outline: string;
|
|
23
|
-
position: string;
|
|
24
|
-
cursor: string;
|
|
25
|
-
border: number;
|
|
26
|
-
backgroundColor: string;
|
|
27
|
-
'&::placeholder': {
|
|
28
|
-
color: string;
|
|
29
|
-
};
|
|
30
|
-
'&:not([type="radio"], [type="checkbox"], [type="range"])': {
|
|
31
|
-
height: string;
|
|
32
|
-
width: string;
|
|
33
|
-
zIndex: number;
|
|
34
|
-
};
|
|
35
|
-
'&[type="number"]': {
|
|
36
|
-
appearance: string;
|
|
37
|
-
'&::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {
|
|
38
|
-
appearance: string;
|
|
39
|
-
margin: number;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
'&[readonly], &:disabled': {
|
|
43
|
-
color: string;
|
|
44
|
-
cursor: string;
|
|
45
|
-
};
|
|
46
|
-
'&[type="checkbox"]': {
|
|
47
|
-
cursor: string;
|
|
48
|
-
appearance: string;
|
|
49
|
-
height: string;
|
|
50
|
-
width: string;
|
|
51
|
-
backgroundColor: string;
|
|
52
|
-
border: string;
|
|
53
|
-
backgroundImage: string;
|
|
54
|
-
'&:focus-visible': {
|
|
55
|
-
position: string;
|
|
56
|
-
'&::after': {
|
|
57
|
-
content: string;
|
|
58
|
-
position: string;
|
|
59
|
-
top: `${number}px` | `${number}rem` | `${number}%` | `${number}em`;
|
|
60
|
-
right: `${number}px` | `${number}rem` | `${number}%` | `${number}em`;
|
|
61
|
-
bottom: `${number}px` | `${number}rem` | `${number}%` | `${number}em`;
|
|
62
|
-
left: `${number}px` | `${number}rem` | `${number}%` | `${number}em`;
|
|
63
|
-
border: string;
|
|
64
|
-
borderRadius: `${number}px` | `${number}rem` | `${number}%` | `${number}em` | undefined;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
'&[type="checkbox"]:not(:checked)': {
|
|
69
|
-
'&[readonly], &:disabled': {
|
|
70
|
-
opacity: number;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
'&[type="checkbox"]:checked': {
|
|
74
|
-
backgroundRepeat: string;
|
|
75
|
-
backgroundPosition: string;
|
|
76
|
-
backgroundSize: string;
|
|
77
|
-
backgroundColor: string;
|
|
78
|
-
border: string;
|
|
79
|
-
backgroundImage: string;
|
|
80
|
-
'&[readonly], &:disabled': {
|
|
81
|
-
backgroundImage: string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
'&[type="radio"]': {
|
|
85
|
-
cursor: string;
|
|
86
|
-
appearance: string;
|
|
87
|
-
height: string;
|
|
88
|
-
width: string;
|
|
89
|
-
border: string;
|
|
90
|
-
backgroundImage: string;
|
|
91
|
-
'&:focus-visible': {
|
|
92
|
-
position: string;
|
|
93
|
-
'&::after': {
|
|
94
|
-
content: string;
|
|
95
|
-
position: string;
|
|
96
|
-
top: `${number}px` | `${number}rem` | `${number}%` | `${number}em`;
|
|
97
|
-
right: `${number}px` | `${number}rem` | `${number}%` | `${number}em`;
|
|
98
|
-
bottom: `${number}px` | `${number}rem` | `${number}%` | `${number}em`;
|
|
99
|
-
left: `${number}px` | `${number}rem` | `${number}%` | `${number}em`;
|
|
100
|
-
border: string;
|
|
101
|
-
borderRadius: `${number}px` | `${number}rem` | `${number}%` | `${number}em` | undefined;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
'&[readonly], &:disabled': {
|
|
105
|
-
opacity: number;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
'&[type="radio"]:checked': {
|
|
109
|
-
backgroundImage: string;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
defaultInteraction: {
|
|
113
|
-
"&:focus-visible ~ .Input__outline": {
|
|
114
|
-
position: string;
|
|
115
|
-
top: number;
|
|
116
|
-
left: number;
|
|
117
|
-
bottom: number;
|
|
118
|
-
width: string;
|
|
119
|
-
outline: string;
|
|
120
|
-
outlineOffset: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
mouseInteraction: {};
|
|
124
|
-
primary: {
|
|
125
|
-
"& + .Input__border": {
|
|
126
|
-
position: string;
|
|
127
|
-
top: number;
|
|
128
|
-
left: number;
|
|
129
|
-
width: string;
|
|
130
|
-
height: string;
|
|
131
|
-
border: string;
|
|
132
|
-
};
|
|
133
|
-
};
|
|
134
|
-
success: {
|
|
135
|
-
"& + .Input__border": {
|
|
136
|
-
position: string;
|
|
137
|
-
top: number;
|
|
138
|
-
left: number;
|
|
139
|
-
width: string;
|
|
140
|
-
height: string;
|
|
141
|
-
border: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
warning: {
|
|
145
|
-
"& + .Input__border": {
|
|
146
|
-
position: string;
|
|
147
|
-
top: number;
|
|
148
|
-
left: number;
|
|
149
|
-
width: string;
|
|
150
|
-
height: string;
|
|
151
|
-
border: string;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
error: {
|
|
155
|
-
"& + .Input__border": {
|
|
156
|
-
position: string;
|
|
157
|
-
top: number;
|
|
158
|
-
left: number;
|
|
159
|
-
width: string;
|
|
160
|
-
height: string;
|
|
161
|
-
border: string;
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
helper: {
|
|
166
|
-
default: {
|
|
167
|
-
sm: {
|
|
168
|
-
fontSize: string;
|
|
169
|
-
fontWeight: number;
|
|
170
|
-
lineHeight: string;
|
|
171
|
-
};
|
|
172
|
-
md: {
|
|
173
|
-
fontSize: string;
|
|
174
|
-
fontWeight: number;
|
|
175
|
-
lineHeight: string;
|
|
176
|
-
color: string;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
primary: {
|
|
180
|
-
sm: {
|
|
181
|
-
color: string;
|
|
182
|
-
};
|
|
183
|
-
md: {};
|
|
184
|
-
};
|
|
185
|
-
success: {
|
|
186
|
-
sm: {
|
|
187
|
-
color: string;
|
|
188
|
-
};
|
|
189
|
-
md: {};
|
|
190
|
-
};
|
|
191
|
-
warning: {
|
|
192
|
-
sm: {
|
|
193
|
-
color: string;
|
|
194
|
-
};
|
|
195
|
-
md: {};
|
|
196
|
-
};
|
|
197
|
-
error: {
|
|
198
|
-
sm: {
|
|
199
|
-
color: string;
|
|
200
|
-
};
|
|
201
|
-
md: {};
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
adornment: {
|
|
205
|
-
default: {
|
|
206
|
-
display: string;
|
|
207
|
-
alignItems: string;
|
|
208
|
-
position: string;
|
|
209
|
-
zIndex: number;
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
};
|
package/tokens/input.js
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
import u from "../assets/svg/checkbox_border.svg.js";
|
|
2
|
-
import b from "../assets/svg/checkbox_bg_checked.svg.js";
|
|
3
|
-
import g from "../assets/svg/checkbox_disabled_bg_checked.svg.js";
|
|
4
|
-
import f from "../assets/svg/radio_bg.svg.js";
|
|
5
|
-
import x from "../assets/svg/radio_bg_checked.svg.js";
|
|
6
|
-
import { borders as t } from "./borders.js";
|
|
7
|
-
import { typography as a } from "./typography.js";
|
|
8
|
-
import { flexAlignItems as d, display as h } from "./display.js";
|
|
9
|
-
import { spacing as p } from "./spacing.js";
|
|
10
|
-
import { colors as e } from "./colors.js";
|
|
11
|
-
import { cursors as i } from "./cursors.js";
|
|
12
|
-
import { values as y } from "./values.js";
|
|
13
|
-
import { getImgSrc as r, getFocusStyles as c } from "./utils.js";
|
|
14
|
-
import { InputColorVariant as o } from "../types/input.js";
|
|
15
|
-
import { Z_INDEX as s } from "../constants/positioning.js";
|
|
16
|
-
import { FlexDirection as k } from "../types/layout.js";
|
|
17
|
-
import { TypographyVariant as l } from "../types/typography.js";
|
|
18
|
-
const n = (m) => ({
|
|
19
|
-
position: "absolute",
|
|
20
|
-
top: 0,
|
|
21
|
-
left: 0,
|
|
22
|
-
width: "100%",
|
|
23
|
-
height: "100%",
|
|
24
|
-
border: t.generic({
|
|
25
|
-
width: y.borderThin,
|
|
26
|
-
color: m
|
|
27
|
-
})
|
|
28
|
-
}), G = {
|
|
29
|
-
wrapper: {
|
|
30
|
-
default: {
|
|
31
|
-
boxSizing: "border-box",
|
|
32
|
-
display: "inline-flex",
|
|
33
|
-
alignSelf: "stretch",
|
|
34
|
-
alignItems: "center",
|
|
35
|
-
borderRadius: t.none,
|
|
36
|
-
position: "relative"
|
|
37
|
-
},
|
|
38
|
-
withGap: {
|
|
39
|
-
flexDirection: k.Column,
|
|
40
|
-
alignItems: d.start,
|
|
41
|
-
gap: p.xs
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
input: {
|
|
45
|
-
default: {
|
|
46
|
-
borderRadius: t.none,
|
|
47
|
-
padding: p.sm,
|
|
48
|
-
outline: "none",
|
|
49
|
-
position: "relative",
|
|
50
|
-
cursor: i.text,
|
|
51
|
-
border: t.none,
|
|
52
|
-
backgroundColor: "transparent",
|
|
53
|
-
"&::placeholder": {
|
|
54
|
-
color: e.text.disabled
|
|
55
|
-
},
|
|
56
|
-
'&:not([type="radio"], [type="checkbox"], [type="range"])': {
|
|
57
|
-
height: "40px",
|
|
58
|
-
width: "100%",
|
|
59
|
-
zIndex: s.FIRST
|
|
60
|
-
},
|
|
61
|
-
'&[type="number"]': {
|
|
62
|
-
appearance: "textfield",
|
|
63
|
-
"&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
|
|
64
|
-
appearance: "none",
|
|
65
|
-
margin: 0
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"&[readonly], &:disabled": {
|
|
69
|
-
color: e.text.disabled,
|
|
70
|
-
cursor: i.default
|
|
71
|
-
},
|
|
72
|
-
// CHECKBOX
|
|
73
|
-
'&[type="checkbox"]': {
|
|
74
|
-
cursor: i.pointer,
|
|
75
|
-
appearance: "none",
|
|
76
|
-
height: "18px",
|
|
77
|
-
width: "18px",
|
|
78
|
-
backgroundColor: "transparent",
|
|
79
|
-
border: "none",
|
|
80
|
-
backgroundImage: r(u),
|
|
81
|
-
"&:focus-visible": c({
|
|
82
|
-
inset: "-4px",
|
|
83
|
-
borderRadius: "3px"
|
|
84
|
-
})
|
|
85
|
-
},
|
|
86
|
-
'&[type="checkbox"]:not(:checked)': {
|
|
87
|
-
"&[readonly], &:disabled": {
|
|
88
|
-
opacity: 0.5
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
'&[type="checkbox"]:checked': {
|
|
92
|
-
backgroundRepeat: "no-repeat",
|
|
93
|
-
backgroundPosition: "center",
|
|
94
|
-
backgroundSize: "18px",
|
|
95
|
-
backgroundColor: e.neutral.white,
|
|
96
|
-
border: "none",
|
|
97
|
-
backgroundImage: r(b),
|
|
98
|
-
"&[readonly], &:disabled": {
|
|
99
|
-
backgroundImage: r(g)
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
// RADIO
|
|
103
|
-
'&[type="radio"]': {
|
|
104
|
-
cursor: i.pointer,
|
|
105
|
-
appearance: "none",
|
|
106
|
-
height: "20px",
|
|
107
|
-
width: "20px",
|
|
108
|
-
border: "none",
|
|
109
|
-
backgroundImage: r(f),
|
|
110
|
-
"&:focus-visible": c({
|
|
111
|
-
inset: "-4px",
|
|
112
|
-
borderRadius: "50%"
|
|
113
|
-
}),
|
|
114
|
-
"&[readonly], &:disabled": {
|
|
115
|
-
opacity: 0.5
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
'&[type="radio"]:checked': {
|
|
119
|
-
backgroundImage: r(x)
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
defaultInteraction: {
|
|
123
|
-
"&:focus-visible ~ .Input__outline": {
|
|
124
|
-
position: "absolute",
|
|
125
|
-
top: 0,
|
|
126
|
-
left: 0,
|
|
127
|
-
bottom: 0,
|
|
128
|
-
width: "100%",
|
|
129
|
-
outline: t.focus,
|
|
130
|
-
outlineOffset: "3px"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
mouseInteraction: {},
|
|
134
|
-
[o.Primary]: {
|
|
135
|
-
"& + .Input__border": n(e.border.default)
|
|
136
|
-
},
|
|
137
|
-
[o.Success]: {
|
|
138
|
-
"& + .Input__border": n(e.border.success)
|
|
139
|
-
},
|
|
140
|
-
[o.Warning]: {
|
|
141
|
-
"& + .Input__border": n(e.primary.default)
|
|
142
|
-
},
|
|
143
|
-
[o.Error]: {
|
|
144
|
-
"& + .Input__border": n(e.border.error)
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
helper: {
|
|
148
|
-
default: {
|
|
149
|
-
sm: a[l.Caption],
|
|
150
|
-
md: {
|
|
151
|
-
color: e.text.disabled,
|
|
152
|
-
...a[l.Body2]
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
[o.Primary]: {
|
|
156
|
-
sm: {
|
|
157
|
-
color: e.text.caption
|
|
158
|
-
},
|
|
159
|
-
md: {}
|
|
160
|
-
},
|
|
161
|
-
[o.Success]: {
|
|
162
|
-
sm: {
|
|
163
|
-
color: e.text.success
|
|
164
|
-
},
|
|
165
|
-
md: {}
|
|
166
|
-
},
|
|
167
|
-
[o.Warning]: {
|
|
168
|
-
sm: {
|
|
169
|
-
color: e.text.caption
|
|
170
|
-
},
|
|
171
|
-
md: {}
|
|
172
|
-
},
|
|
173
|
-
[o.Error]: {
|
|
174
|
-
sm: {
|
|
175
|
-
color: e.text.error
|
|
176
|
-
},
|
|
177
|
-
md: {}
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
adornment: {
|
|
181
|
-
default: {
|
|
182
|
-
display: h.flex,
|
|
183
|
-
alignItems: d.center,
|
|
184
|
-
position: "relative",
|
|
185
|
-
zIndex: s.FIRST
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
export {
|
|
190
|
-
G as input
|
|
191
|
-
};
|
package/tokens/inputfile.d.ts
DELETED