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
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as j, jsx as a } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as w, useState as p, useCallback as h } from "react";
|
|
4
|
-
import { COMPONENT_NAME as e } from "./constants.js";
|
|
5
|
-
import { ImageWrapperStyled as x, PlaceholderStyled as M, ImageStyled as O, CaptionStyled as P } from "./ImageStyled.js";
|
|
6
|
-
import { Skeleton as T } from "../Skeleton/Skeleton.js";
|
|
7
|
-
import { useTheme as A } from "../../../hooks/useTheme/useTheme.js";
|
|
8
|
-
const F = w((f, g) => {
|
|
9
|
-
const {
|
|
10
|
-
id: u,
|
|
11
|
-
src: C,
|
|
12
|
-
alt: k,
|
|
13
|
-
width: s,
|
|
14
|
-
height: i,
|
|
15
|
-
placeholder: l,
|
|
16
|
-
caption: d,
|
|
17
|
-
onClick: y,
|
|
18
|
-
onLoad: t,
|
|
19
|
-
onError: r,
|
|
20
|
-
objectFit: S,
|
|
21
|
-
fallbackComponent: n,
|
|
22
|
-
styles: b,
|
|
23
|
-
...E
|
|
24
|
-
} = f, {
|
|
25
|
-
theme: o
|
|
26
|
-
} = A(), [c, m] = p(!0), [I, L] = p(!1), N = h(() => {
|
|
27
|
-
m(!1), t == null || t();
|
|
28
|
-
}, [t]), $ = h(() => {
|
|
29
|
-
m(!1), L(!0), r == null || r();
|
|
30
|
-
}, [r]);
|
|
31
|
-
return /* @__PURE__ */ j(x, { "data-testid": `${e}-wrapper`, id: u, width: s, height: i, theme: o, ...E, children: [
|
|
32
|
-
c && l && /* @__PURE__ */ a(M, { "data-testid": `${e}-placeholder`, theme: o, children: /* @__PURE__ */ a(T, { height: "100%", children: l }) }),
|
|
33
|
-
I && n ? n : /* @__PURE__ */ a(O, { "data-testid": e, theme: o, src: C, alt: k, width: s, height: i, objectFit: S, $isLoading: c, onLoad: N, onError: $, onClick: y, styles: b, ref: g }),
|
|
34
|
-
d && /* @__PURE__ */ a(P, { "data-testid": `${e}-caption`, theme: o, children: d })
|
|
35
|
-
] });
|
|
36
|
-
});
|
|
37
|
-
F.displayName = e;
|
|
38
|
-
export {
|
|
39
|
-
F as Image
|
|
40
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CommonCssComponentProps, CommonCssComponentStyledProps } from '../..';
|
|
3
|
-
export interface ImageProps extends CommonCssComponentProps {
|
|
4
|
-
id?: string;
|
|
5
|
-
src?: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
width?: number;
|
|
8
|
-
height?: number;
|
|
9
|
-
caption?: string;
|
|
10
|
-
onClick?: () => void;
|
|
11
|
-
onError?: () => void;
|
|
12
|
-
onLoad?: () => void;
|
|
13
|
-
placeholder?: ReactNode;
|
|
14
|
-
fallbackComponent?: ReactNode;
|
|
15
|
-
objectFit?: 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
|
|
16
|
-
}
|
|
17
|
-
export interface ImageWrapperStyledProps extends Pick<ImageProps, 'width' | 'height' | 'id' | 'className'>, CommonCssComponentStyledProps {
|
|
18
|
-
}
|
|
19
|
-
export interface ImageStyledProps extends Pick<ImageProps, 'objectFit'>, CommonCssComponentStyledProps<HTMLImageElement> {
|
|
20
|
-
$isLoading?: boolean;
|
|
21
|
-
src?: string;
|
|
22
|
-
alt?: string;
|
|
23
|
-
width?: number;
|
|
24
|
-
height?: number;
|
|
25
|
-
}
|
|
26
|
-
export type ImagePlaceholderStyledProps = CommonCssComponentStyledProps;
|
|
27
|
-
export type ImageCaptionStyledProps = CommonCssComponentStyledProps;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ImageWrapperStyledProps, ImageStyledProps, ImagePlaceholderStyledProps, ImageCaptionStyledProps } from './Image.types';
|
|
2
|
-
export declare const ImageWrapperStyled: (props: ImageWrapperStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const ImageStyled: import('react').ForwardRefExoticComponent<Omit<ImageStyledProps, "ref"> & import('react').RefAttributes<HTMLImageElement>>;
|
|
4
|
-
export declare const PlaceholderStyled: (props: ImagePlaceholderStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const CaptionStyled: (props: ImageCaptionStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as a } from "react";
|
|
4
|
-
import { get as c } from "../../../utils/helpers.js";
|
|
5
|
-
const h = (o) => {
|
|
6
|
-
const {
|
|
7
|
-
width: t,
|
|
8
|
-
height: e,
|
|
9
|
-
theme: {
|
|
10
|
-
image: s
|
|
11
|
-
} = {},
|
|
12
|
-
...i
|
|
13
|
-
} = o, p = [c(s, "wrapper", {}), {
|
|
14
|
-
width: `${t ? `${t}px` : "100%"}`,
|
|
15
|
-
height: `${e ? `${e}px` : "100%"}`
|
|
16
|
-
}];
|
|
17
|
-
return /* @__PURE__ */ r("div", { css: p, ...i });
|
|
18
|
-
}, u = a((o, t) => {
|
|
19
|
-
const {
|
|
20
|
-
objectFit: e = "cover",
|
|
21
|
-
$isLoading: s,
|
|
22
|
-
theme: {
|
|
23
|
-
image: i
|
|
24
|
-
} = {},
|
|
25
|
-
styles: p,
|
|
26
|
-
...m
|
|
27
|
-
} = o, n = [c(i, "default", {}), {
|
|
28
|
-
objectFit: e,
|
|
29
|
-
opacity: `${s ? 0 : 1}`
|
|
30
|
-
}, p];
|
|
31
|
-
return /* @__PURE__ */ r("img", { css: n, ...m, ref: t });
|
|
32
|
-
}), y = (o) => {
|
|
33
|
-
const {
|
|
34
|
-
theme: {
|
|
35
|
-
image: t
|
|
36
|
-
} = {},
|
|
37
|
-
...e
|
|
38
|
-
} = o, s = [c(t, "placeholder", {})];
|
|
39
|
-
return /* @__PURE__ */ r("div", { css: s, ...e });
|
|
40
|
-
}, f = (o) => {
|
|
41
|
-
const {
|
|
42
|
-
theme: {
|
|
43
|
-
image: t
|
|
44
|
-
} = {},
|
|
45
|
-
...e
|
|
46
|
-
} = o, s = [c(t, "caption", {})];
|
|
47
|
-
return /* @__PURE__ */ r("figcaption", { css: s, ...e });
|
|
48
|
-
};
|
|
49
|
-
export {
|
|
50
|
-
f as CaptionStyled,
|
|
51
|
-
u as ImageStyled,
|
|
52
|
-
h as ImageWrapperStyled,
|
|
53
|
-
y as PlaceholderStyled
|
|
54
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const COMPONENT_NAME = "Image";
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as T, jsx as s } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as h } from "react";
|
|
4
|
-
import { DEFAULT_VARIANT as u, accessibilityValues as m, COMPONENT_NAME as c, CONTENT_COMPONENT as y } from "./constants.js";
|
|
5
|
-
import { InlineNotificationStyled as E, InlineNotificationMessageStyled as I } from "./InlineNotificationStyled.js";
|
|
6
|
-
import { isChildPrimitive as O } from "../../../utils/common.js";
|
|
7
|
-
import { Icon as A } from "../Icon/Icon.js";
|
|
8
|
-
import { useTheme as C } from "../../../hooks/useTheme/useTheme.js";
|
|
9
|
-
import { get as l } from "../../../utils/helpers.js";
|
|
10
|
-
const M = h((f, N) => {
|
|
11
|
-
const {
|
|
12
|
-
variant: i = u,
|
|
13
|
-
className: d,
|
|
14
|
-
styles: p,
|
|
15
|
-
children: e,
|
|
16
|
-
...v
|
|
17
|
-
} = f, {
|
|
18
|
-
theme: o
|
|
19
|
-
} = C(), t = l(o, ["inlineNotification", i, "icon"], {
|
|
20
|
-
name: ""
|
|
21
|
-
}), r = O(e), {
|
|
22
|
-
ariaLive: a,
|
|
23
|
-
role: n
|
|
24
|
-
} = l(m, i, m.default);
|
|
25
|
-
return /* @__PURE__ */ T(E, { ref: N, "data-testid": c, $variant: i, className: d, styles: p, theme: o, ...a ? {
|
|
26
|
-
"aria-live": a
|
|
27
|
-
} : {}, ...n ? {
|
|
28
|
-
role: n
|
|
29
|
-
} : {}, ...v, children: [
|
|
30
|
-
(t == null ? void 0 : t.name) && /* @__PURE__ */ s(A, { ...t }),
|
|
31
|
-
r && /* @__PURE__ */ s(I, { "data-testid": y, $variant: i, theme: o, children: e }),
|
|
32
|
-
!r && e
|
|
33
|
-
] });
|
|
34
|
-
});
|
|
35
|
-
M.displayName = c;
|
|
36
|
-
export {
|
|
37
|
-
M as InlineNotification
|
|
38
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { CommonCssComponentProps, CommonCssComponentStyledProps } from '../../index.types';
|
|
3
|
-
export type InlineNotificationVariant = 'success' | 'error' | 'warning' | 'info' | 'basic';
|
|
4
|
-
export interface InlineNotificationProps extends CommonCssComponentProps, PropsWithChildren {
|
|
5
|
-
variant?: InlineNotificationVariant;
|
|
6
|
-
}
|
|
7
|
-
export interface InlineNotificationsStyledProps<T = HTMLDivElement> extends CommonCssComponentStyledProps<T>, PropsWithChildren {
|
|
8
|
-
$variant: InlineNotificationVariant;
|
|
9
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { InlineNotificationsStyledProps } from './InlineNotification.types';
|
|
2
|
-
export declare const InlineNotificationStyled: import('react').ForwardRefExoticComponent<Omit<InlineNotificationsStyledProps<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare const InlineNotificationMessageStyled: (props: InlineNotificationsStyledProps<HTMLSpanElement>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as f } from "react";
|
|
4
|
-
import { get as n } from "../../../utils/helpers.js";
|
|
5
|
-
const u = f((s, t) => {
|
|
6
|
-
const {
|
|
7
|
-
theme: {
|
|
8
|
-
inlineNotification: e
|
|
9
|
-
} = {},
|
|
10
|
-
$variant: o,
|
|
11
|
-
styles: i = {},
|
|
12
|
-
...r
|
|
13
|
-
} = s, c = n(e, "default.wrapper", {}), a = n(e, [o, "wrapper"], {});
|
|
14
|
-
return /* @__PURE__ */ l("div", { css: [c, a, i], ...r, ref: t });
|
|
15
|
-
}), S = (s) => {
|
|
16
|
-
const {
|
|
17
|
-
theme: {
|
|
18
|
-
inlineNotification: t
|
|
19
|
-
} = {},
|
|
20
|
-
$variant: e,
|
|
21
|
-
styles: o = {},
|
|
22
|
-
...i
|
|
23
|
-
} = s, r = n(t, "default.content", {}), c = n(t, [e, "content"], {});
|
|
24
|
-
return /* @__PURE__ */ l("span", { css: [r, c, o], ...i });
|
|
25
|
-
};
|
|
26
|
-
export {
|
|
27
|
-
S as InlineNotificationMessageStyled,
|
|
28
|
-
u as InlineNotificationStyled
|
|
29
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const COMPONENT_NAME = "InlineNotification";
|
|
2
|
-
export declare const CONTENT_COMPONENT = "InlineNotificationComponent";
|
|
3
|
-
export type AriaValues = {
|
|
4
|
-
ariaLive: 'assertive' | 'polite';
|
|
5
|
-
role: 'status' | 'alert';
|
|
6
|
-
};
|
|
7
|
-
export declare const defaultAriaValues: AriaValues;
|
|
8
|
-
export declare const errorAriaValues: AriaValues;
|
|
9
|
-
export declare const accessibilityValues: {
|
|
10
|
-
default: AriaValues;
|
|
11
|
-
success: AriaValues;
|
|
12
|
-
info: AriaValues;
|
|
13
|
-
error: AriaValues;
|
|
14
|
-
warning: AriaValues;
|
|
15
|
-
};
|
|
16
|
-
export declare const DEFAULT_VARIANT = "basic";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const t = "InlineNotification", a = "InlineNotificationComponent", i = {
|
|
2
|
-
ariaLive: "polite",
|
|
3
|
-
role: "status"
|
|
4
|
-
}, e = {
|
|
5
|
-
ariaLive: "assertive",
|
|
6
|
-
role: "alert"
|
|
7
|
-
}, o = {
|
|
8
|
-
default: i,
|
|
9
|
-
success: i,
|
|
10
|
-
info: i,
|
|
11
|
-
error: e,
|
|
12
|
-
warning: e
|
|
13
|
-
}, s = "basic";
|
|
14
|
-
export {
|
|
15
|
-
t as COMPONENT_NAME,
|
|
16
|
-
a as CONTENT_COMPONENT,
|
|
17
|
-
s as DEFAULT_VARIANT,
|
|
18
|
-
o as accessibilityValues,
|
|
19
|
-
i as defaultAriaValues,
|
|
20
|
-
e as errorAriaValues
|
|
21
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { InputFieldProps } from './Input.types';
|
|
2
|
-
export declare const Input: import('react').ForwardRefExoticComponent<(InputFieldProps & Partial<Omit<HTMLInputElement, "color" | "prefix" | "disabled" | "tabIndex" | "type" | "hidden" | "width" | "content" | "translate" | "children" | "className" | "role" | "name" | "label" | "styles" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "enterKeyHint" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "title" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "variant" | "placeholder" | "adornmentStart" | "adornmentEnd" | "debounceCallbackTime" | "readOnly" | "required" | "ariaRequired" | "ariaDescribedBy" | "wrapperAs" | "helperText">>) & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as t, jsx as r, Fragment as L } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as P } from "react";
|
|
4
|
-
import { DEFAULT_PROPS as e, COMPONENT_NAME as o, FOCUS_EXCLUDED_LIST as U } from "./constants.js";
|
|
5
|
-
import { useInputHandlers as g } from "./useInputHandlers.js";
|
|
6
|
-
import { InputStyled as j } from "./InputStyled.js";
|
|
7
|
-
import { InputWrapper as c } from "./InputWrapper/InputWrapper.js";
|
|
8
|
-
import { InputHelper as u } from "./InputHelper/InputHelper.js";
|
|
9
|
-
import { InputAdornment as h } from "./InputAdornment/InputAdornment.js";
|
|
10
|
-
import { useTheme as v } from "../../../hooks/useTheme/useTheme.js";
|
|
11
|
-
import { SizeVariant as z } from "../../../types/common.js";
|
|
12
|
-
const B = P((f, b) => {
|
|
13
|
-
const {
|
|
14
|
-
theme: I
|
|
15
|
-
} = v(), {
|
|
16
|
-
wrapperAs: y = "label",
|
|
17
|
-
// Layout props
|
|
18
|
-
width: w,
|
|
19
|
-
className: N = e.className,
|
|
20
|
-
styles: S = e.styles,
|
|
21
|
-
// Input behavior props
|
|
22
|
-
variant: s = e.variant,
|
|
23
|
-
color: i = e.color,
|
|
24
|
-
disabled: _ = e.disabled,
|
|
25
|
-
readOnly: x = e.readOnly,
|
|
26
|
-
// Accessibility props
|
|
27
|
-
ariaRequired: D = e.ariaRequired,
|
|
28
|
-
role: E = e.role,
|
|
29
|
-
tabIndex: O = e.tabIndex,
|
|
30
|
-
ariaDescribedBy: l,
|
|
31
|
-
// Event handling props
|
|
32
|
-
debounceCallbackTime: T,
|
|
33
|
-
onChange: C,
|
|
34
|
-
onKeyDown: M,
|
|
35
|
-
onMouseDown: A,
|
|
36
|
-
onBlur: F,
|
|
37
|
-
// Adornments
|
|
38
|
-
adornmentStart: d,
|
|
39
|
-
adornmentEnd: m,
|
|
40
|
-
// Helper text
|
|
41
|
-
label: a,
|
|
42
|
-
helperText: n,
|
|
43
|
-
...R
|
|
44
|
-
} = f, p = !U.includes(s), $ = !!(a || n), {
|
|
45
|
-
handlers: q,
|
|
46
|
-
isMouseInteraction: H
|
|
47
|
-
} = g({
|
|
48
|
-
onKeyDown: M,
|
|
49
|
-
onBlur: F,
|
|
50
|
-
onMouseDown: A,
|
|
51
|
-
onChange: C,
|
|
52
|
-
debounceCallbackTime: T
|
|
53
|
-
});
|
|
54
|
-
return /* @__PURE__ */ t(c, { as: y, withGap: $, className: N, width: w, styles: S, children: [
|
|
55
|
-
a && /* @__PURE__ */ r(u, { children: a }),
|
|
56
|
-
/* @__PURE__ */ t(c, { width: "100%", children: [
|
|
57
|
-
d && /* @__PURE__ */ r(h, { children: d }),
|
|
58
|
-
/* @__PURE__ */ r(j, { $isMouseInteraction: H && p, $color: i, ref: b, disabled: _, role: E, theme: I, type: s, readOnly: x, tabIndex: O, "aria-required": D, "data-testid": o, ...q, ...l ? {
|
|
59
|
-
"aria-describedby": l
|
|
60
|
-
} : {}, ...R }),
|
|
61
|
-
p && /* @__PURE__ */ t(L, { children: [
|
|
62
|
-
/* @__PURE__ */ r("span", { className: `${o}__border` }),
|
|
63
|
-
/* @__PURE__ */ r("span", { className: `${o}__outline` })
|
|
64
|
-
] }),
|
|
65
|
-
m && /* @__PURE__ */ r(h, { children: m })
|
|
66
|
-
] }),
|
|
67
|
-
n && /* @__PURE__ */ r(u, { color: i, size: z.Sm, children: n })
|
|
68
|
-
] });
|
|
69
|
-
});
|
|
70
|
-
B.displayName = o;
|
|
71
|
-
export {
|
|
72
|
-
B as Input
|
|
73
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent, FocusEvent, MouseEvent, KeyboardEvent, ReactNode, ElementType, PropsWithChildren } from 'react';
|
|
2
|
-
import { EnumOrPrimitive, InputColorVariant, InputRole, InputVariantType, SizeVariant } from '../../../types';
|
|
3
|
-
import { CommonCssComponentProps, CommonCssComponentStyledProps } from '../..';
|
|
4
|
-
export interface BaseInputFieldProps extends CommonCssComponentProps<HTMLInputElement> {
|
|
5
|
-
readOnly?: boolean;
|
|
6
|
-
id?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
variant?: EnumOrPrimitive<InputVariantType>;
|
|
9
|
-
color?: EnumOrPrimitive<InputColorVariant>;
|
|
10
|
-
label?: string;
|
|
11
|
-
value?: string;
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
defaultValue?: string | number;
|
|
14
|
-
onClick?: (event: MouseEvent<HTMLInputElement>) => void;
|
|
15
|
-
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
16
|
-
onKeyDown?: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
17
|
-
onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
18
|
-
onFocus?: (event: FocusEvent<HTMLInputElement>) => void;
|
|
19
|
-
onMouseDown?: (event: MouseEvent<HTMLInputElement>) => void;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
required?: boolean;
|
|
22
|
-
ariaRequired?: boolean;
|
|
23
|
-
ariaDescribedBy?: string;
|
|
24
|
-
role?: EnumOrPrimitive<InputRole>;
|
|
25
|
-
tabIndex?: number;
|
|
26
|
-
debounceCallbackTime?: number;
|
|
27
|
-
}
|
|
28
|
-
export type InputFieldRestHtmlProps = Partial<Omit<HTMLInputElement, keyof InputFieldProps | 'type'>>;
|
|
29
|
-
export interface RadioButtonProps extends Omit<BaseInputFieldProps, 'type'> {
|
|
30
|
-
type: InputVariantType.Radio;
|
|
31
|
-
checked?: boolean;
|
|
32
|
-
defaultChecked?: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface CheckboxFieldProps extends Omit<BaseInputFieldProps, 'type' | 'value'> {
|
|
35
|
-
type: InputVariantType;
|
|
36
|
-
checked?: boolean;
|
|
37
|
-
defaultChecked?: boolean;
|
|
38
|
-
}
|
|
39
|
-
export type InputFieldProps = (BaseInputFieldProps | RadioButtonProps | CheckboxFieldProps) & {
|
|
40
|
-
wrapperAs?: keyof HTMLElementTagNameMap | ElementType;
|
|
41
|
-
width?: string;
|
|
42
|
-
label?: ReactNode;
|
|
43
|
-
helperText?: ReactNode;
|
|
44
|
-
adornmentStart?: ReactNode;
|
|
45
|
-
adornmentEnd?: ReactNode;
|
|
46
|
-
};
|
|
47
|
-
export interface InputAdornmentProps extends CommonCssComponentProps, PropsWithChildren {
|
|
48
|
-
}
|
|
49
|
-
export interface InputWrapperProps extends CommonCssComponentProps<HTMLBaseElement>, PropsWithChildren {
|
|
50
|
-
as?: keyof HTMLElementTagNameMap | ElementType;
|
|
51
|
-
width?: string;
|
|
52
|
-
withGap?: boolean;
|
|
53
|
-
}
|
|
54
|
-
export interface InputHelperProps extends CommonCssComponentProps, PropsWithChildren {
|
|
55
|
-
color?: EnumOrPrimitive<InputColorVariant>;
|
|
56
|
-
size?: EnumOrPrimitive<SizeVariant>;
|
|
57
|
-
}
|
|
58
|
-
export interface InputWrapperPropsStyled extends CommonCssComponentStyledProps<HTMLBaseElement>, PropsWithChildren {
|
|
59
|
-
$as?: keyof HTMLElementTagNameMap | ElementType;
|
|
60
|
-
$width?: string;
|
|
61
|
-
$withGap?: boolean;
|
|
62
|
-
}
|
|
63
|
-
export interface InputHelperPropsStyled extends CommonCssComponentStyledProps, PropsWithChildren {
|
|
64
|
-
$color?: EnumOrPrimitive<InputColorVariant>;
|
|
65
|
-
$size?: EnumOrPrimitive<SizeVariant>;
|
|
66
|
-
}
|
|
67
|
-
export interface InputPropsStyled extends CommonCssComponentStyledProps<HTMLInputElement> {
|
|
68
|
-
$isMouseInteraction: boolean;
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
readOnly?: boolean;
|
|
71
|
-
type?: EnumOrPrimitive<InputVariantType>;
|
|
72
|
-
$variant?: EnumOrPrimitive<InputVariantType>;
|
|
73
|
-
$color?: EnumOrPrimitive<InputColorVariant>;
|
|
74
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as i } from "react";
|
|
4
|
-
import { COMPONENT_NAME as t } from "./constants.js";
|
|
5
|
-
import { InputAdornmentStyled as p } from "./InputAdornmentStyled.js";
|
|
6
|
-
import { useTheme as d } from "../../../../hooks/useTheme/useTheme.js";
|
|
7
|
-
const f = i((r, e) => {
|
|
8
|
-
const {
|
|
9
|
-
theme: o
|
|
10
|
-
} = d(), {
|
|
11
|
-
children: m
|
|
12
|
-
} = r;
|
|
13
|
-
return /* @__PURE__ */ n(p, { ref: e, theme: o, "data-testid": t, children: m });
|
|
14
|
-
});
|
|
15
|
-
f.displayName = t;
|
|
16
|
-
export {
|
|
17
|
-
f as InputAdornment
|
|
18
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { get as s } from "../../../../utils/helpers.js";
|
|
4
|
-
const c = (t) => {
|
|
5
|
-
const {
|
|
6
|
-
theme: {
|
|
7
|
-
input: e
|
|
8
|
-
} = {},
|
|
9
|
-
...n
|
|
10
|
-
} = t, o = [s(e, "adornment.default", {})];
|
|
11
|
-
return /* @__PURE__ */ r("span", { css: o, ...n });
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
c as InputAdornmentStyled
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const COMPONENT_NAME = "InputAdornment";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './InputAdornment';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as a } from "react";
|
|
4
|
-
import { COMPONENT_NAME as r } from "./constants.js";
|
|
5
|
-
import { InputHelperStyled as f } from "./InputHelperStyled.js";
|
|
6
|
-
import { useTheme as s } from "../../../../hooks/useTheme/useTheme.js";
|
|
7
|
-
import { InputColorVariant as l } from "../../../../types/input.js";
|
|
8
|
-
import { SizeVariant as c } from "../../../../types/common.js";
|
|
9
|
-
const d = a((o, t) => {
|
|
10
|
-
const {
|
|
11
|
-
theme: e
|
|
12
|
-
} = s(), {
|
|
13
|
-
children: m,
|
|
14
|
-
size: i = c.Md,
|
|
15
|
-
color: p = l.Primary
|
|
16
|
-
} = o;
|
|
17
|
-
return /* @__PURE__ */ n(f, { $size: i, $color: p, ref: t, theme: e, "data-testid": r, children: m });
|
|
18
|
-
});
|
|
19
|
-
d.displayName = r;
|
|
20
|
-
export {
|
|
21
|
-
d as InputHelper
|
|
22
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { get as t } from "../../../../utils/helpers.js";
|
|
4
|
-
const i = (s) => {
|
|
5
|
-
const {
|
|
6
|
-
theme: {
|
|
7
|
-
input: r
|
|
8
|
-
} = {},
|
|
9
|
-
$color: n,
|
|
10
|
-
$size: e,
|
|
11
|
-
...p
|
|
12
|
-
} = s, o = t(r, "helper", {}), c = [t(o, ["default", e], {}), t(o, [n, e], {})];
|
|
13
|
-
return /* @__PURE__ */ l("span", { css: c, ...p });
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
i as InputHelperStyled
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const COMPONENT_NAME = "InputHelper";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './InputHelper';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as u } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as m } from "react";
|
|
4
|
-
import { get as t } from "../../../utils/helpers.js";
|
|
5
|
-
const d = m((e, n) => {
|
|
6
|
-
const {
|
|
7
|
-
theme: {
|
|
8
|
-
input: r
|
|
9
|
-
} = {},
|
|
10
|
-
$isMouseInteraction: s,
|
|
11
|
-
$color: c,
|
|
12
|
-
...i
|
|
13
|
-
} = e, o = t(r, "input", {}), p = [t(o, "default", {}), t(o, [s ? "mouseInteraction" : "defaultInteraction"], {}), t(o, c, {})];
|
|
14
|
-
return /* @__PURE__ */ u("input", { css: p, ...i, ref: n });
|
|
15
|
-
});
|
|
16
|
-
export {
|
|
17
|
-
d as InputStyled
|
|
18
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as d } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as f } from "react";
|
|
4
|
-
import { COMPONENT_NAME as t } from "./constants.js";
|
|
5
|
-
import { InputWrapperStyled as n } from "./InputWrapperStyled.js";
|
|
6
|
-
import { useTheme as h } from "../../../../hooks/useTheme/useTheme.js";
|
|
7
|
-
const c = f((r, e) => {
|
|
8
|
-
const {
|
|
9
|
-
theme: o
|
|
10
|
-
} = h(), {
|
|
11
|
-
children: p,
|
|
12
|
-
as: i,
|
|
13
|
-
width: m,
|
|
14
|
-
withGap: a,
|
|
15
|
-
...s
|
|
16
|
-
} = r;
|
|
17
|
-
return /* @__PURE__ */ d(n, { $as: i, $width: m, $withGap: a, ref: e, theme: o, "data-testid": t, ...s, children: p });
|
|
18
|
-
});
|
|
19
|
-
c.displayName = t;
|
|
20
|
-
export {
|
|
21
|
-
c as InputWrapper
|
|
22
|
-
};
|