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,46 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "Wrapper",
|
|
3
|
-
import: "import { Wrapper } from 'gd-design-library'",
|
|
4
|
-
description: "Flexible container component that provides semantic HTML element wrapping with customizable layout variants and styling. Useful for creating layout contexts, semantic sections, and responsive containers.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "as",
|
|
7
|
-
type: "keyof HTMLElementTagNameMap | ElementType",
|
|
8
|
-
description: 'Overrides the default wrapper HTML element used for rendering (e.g., "div", "section", "article")'
|
|
9
|
-
}, {
|
|
10
|
-
name: "variant",
|
|
11
|
-
type: "WrapperVariant",
|
|
12
|
-
description: "Determines the semantic HTML element and associated styles for different layout contexts",
|
|
13
|
-
default: "WrapperVariant.Inline",
|
|
14
|
-
enum: ["inline", "block", "flex", "absolute", "fixed", "fullPage"]
|
|
15
|
-
}, {
|
|
16
|
-
name: "children",
|
|
17
|
-
type: "ReactNode",
|
|
18
|
-
description: "Content to be rendered inside the wrapper. Can be text, components, or other elements"
|
|
19
|
-
}, {
|
|
20
|
-
name: "className",
|
|
21
|
-
type: "string",
|
|
22
|
-
description: "Additional CSS class names to be applied to the wrapper element"
|
|
23
|
-
}, {
|
|
24
|
-
name: "styles",
|
|
25
|
-
type: "CSSProperties",
|
|
26
|
-
description: "Custom CSS styles object to override or extend default wrapper styling",
|
|
27
|
-
default: {}
|
|
28
|
-
}, {
|
|
29
|
-
name: "display",
|
|
30
|
-
type: "string",
|
|
31
|
-
description: "CSS display property to control the layout behavior of the wrapper",
|
|
32
|
-
enum: ["block", "flex", "inline", "inline-flex", "grid"]
|
|
33
|
-
}, {
|
|
34
|
-
name: "position",
|
|
35
|
-
type: "string",
|
|
36
|
-
description: "CSS position property to control the positioning context of the wrapper",
|
|
37
|
-
enum: ["static", "relative", "absolute", "fixed", "sticky"]
|
|
38
|
-
}],
|
|
39
|
-
examples: ['<Wrapper variant="block" as="section">Main content section</Wrapper>', '<Wrapper variant="flex" display="flex" styles={{gap: "16px"}}>{children}</Wrapper>', '<Wrapper variant="fullPage" position="fixed">{overlayContent}</Wrapper>', '<Wrapper as="article" className="content-wrapper">{articleContent}</Wrapper>']
|
|
40
|
-
}, r = ["Use Wrapper to provide semantic containers around groups of elements.", "Pick variant by layout need: block for sections, flex for inline layouts, fullPage for overlays.", "Prefer styles for one-off overrides; use className for reusable patterns.", "Use as to preserve semantic HTML (section, article, nav) where appropriate.", 'Use Wrapper variant="inline" (default) for inline content that flows with text.', 'Apply Wrapper variant="block" for block-level containers that stack vertically.', 'Set Wrapper variant="flex" with display="flex" for flexbox layout contexts.', 'Use Wrapper variant="absolute" or "fixed" for overlay content and modals.', 'Apply Wrapper variant="fullPage" for full-screen overlays or page wrappers.', 'Use Wrapper as="section" for semantic HTML5 section containers.', 'Apply Wrapper as="article" for self-contained content like blog posts or cards.', 'Set Wrapper as="nav" for navigation containers with semantic meaning.', 'Use Wrapper as="aside" for sidebar or complementary content areas.', 'Apply Wrapper as="header" or "footer" for page or section headers/footers.', 'Combine Wrapper with position="relative" as positioning context for absolute children.', 'Use Wrapper display="grid" for CSS Grid layout containers.', 'Apply Wrapper display="inline-flex" for inline flexbox containers.', 'Set Wrapper position="sticky" for elements that stick during scroll.', "Use Wrapper with className for reusable wrapper patterns across the app.", "Apply Wrapper styles for one-off custom styling without creating CSS classes.", 'Combine Wrapper variant="flex" with FlexContainer for enhanced flex layouts.', 'Use Wrapper as="main" for the main content area of the page.', "Apply Wrapper with consistent variants for similar layout contexts.", "Set Wrapper display property to override default variant display behavior.", 'Use Wrapper position="absolute" with Portal for positioned overlays.', "Apply Wrapper as custom component for specialized wrapper behaviors.", "Combine Wrapper with responsive styles for adaptive layouts.", 'Use Wrapper variant="block" as default container for most content.', "Apply Wrapper with aria-label for accessible section identification.", 'Set Wrapper as="form" when wrapping form elements without Form component.', "Use Wrapper with data attributes for analytics or testing hooks.", 'Apply Wrapper variant="fullPage" with z-index for modal backdrops.', "Combine Wrapper with conditional rendering for dynamic layout changes.", "Use Wrapper as semantic HTML element for better document structure.", 'Apply Wrapper position="fixed" for floating UI elements.', "Set Wrapper with overflow styles for scrollable containers.", 'Use Wrapper as="li" when creating custom list item containers.', "Apply Wrapper with margin and padding for spacing control.", "Combine Wrapper with media queries in styles for responsive design.", "Use Wrapper variant based on content semantic meaning and layout needs.", 'Apply Wrapper as="blockquote" for quotation containers.', "Set Wrapper with width and height constraints for sized containers.", 'Use Wrapper display="none" conditionally for hidden content.', "Apply Wrapper with transform styles for animated or transformed content.", "Combine Wrapper with theme-aware styling for dark/light mode support.", "Use Wrapper as wrapper for third-party components needing container.", "Apply Wrapper with consistent patterns for similar UI sections.", "Set Wrapper position for creating stacking contexts when needed.", 'Use Wrapper as="fieldset" for grouping related form fields.', 'Apply Wrapper with flexbox properties when variant="flex".', 'Combine Wrapper with Grid properties when display="grid".', "Use Wrapper for creating layout primitives in component libraries.", "Apply Wrapper with semantic HTML for SEO and accessibility benefits."], t = {
|
|
41
|
-
component: e,
|
|
42
|
-
compositionTips: r
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
t as default
|
|
46
|
-
};
|
package/ai/schemas/components.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import i from "./components/FlexContainer.js";
|
|
2
|
-
import p from "./components/Column.js";
|
|
3
|
-
import m from "./components/Row.js";
|
|
4
|
-
import n from "./components/Search.js";
|
|
5
|
-
import t from "./components/Select.js";
|
|
6
|
-
import r from "./components/ChatContainer.js";
|
|
7
|
-
import s from "./components/ChatBubble.js";
|
|
8
|
-
import e from "./components/Typography.js";
|
|
9
|
-
import c from "./components/Input.js";
|
|
10
|
-
import a from "./components/Button.js";
|
|
11
|
-
import T from "./components/Link.js";
|
|
12
|
-
import f from "./components/Card.js";
|
|
13
|
-
import l from "./components/Icon.js";
|
|
14
|
-
import u from "./components/Image.js";
|
|
15
|
-
import d from "./components/Breadcrumbs.js";
|
|
16
|
-
import C from "./components/InlineNotification.js";
|
|
17
|
-
import b from "./components/InputFile.js";
|
|
18
|
-
import S from "./components/Form.js";
|
|
19
|
-
import g from "./components/Label.js";
|
|
20
|
-
import h from "./components/List.js";
|
|
21
|
-
import P from "./components/Loader.js";
|
|
22
|
-
import y from "./components/Modal.js";
|
|
23
|
-
import I from "./components/Portal.js";
|
|
24
|
-
import k from "./components/Scroll.js";
|
|
25
|
-
import v from "./components/Separator.js";
|
|
26
|
-
import F from "./components/Skeleton.js";
|
|
27
|
-
import x from "./components/Slider.js";
|
|
28
|
-
import B from "./components/Snackbar.js";
|
|
29
|
-
import L from "./components/SnackbarManager.js";
|
|
30
|
-
import w from "./components/Switch.js";
|
|
31
|
-
import A from "./components/Toggle.js";
|
|
32
|
-
import D from "./components/Textarea.js";
|
|
33
|
-
import R from "./components/Tooltip.js";
|
|
34
|
-
import G from "./components/Wrapper.js";
|
|
35
|
-
import M from "./components/Accordion.js";
|
|
36
|
-
import K from "./components/Avatar.js";
|
|
37
|
-
import N from "./components/Carousel.js";
|
|
38
|
-
import U from "./components/ContentCarousel.js";
|
|
39
|
-
import W from "./components/Counter.js";
|
|
40
|
-
import j from "./components/Tabs.js";
|
|
41
|
-
import q from "./components/Stepper.js";
|
|
42
|
-
import z from "./components/Price.js";
|
|
43
|
-
import E from "./components/ProgressBar.js";
|
|
44
|
-
import H from "./components/Rating.js";
|
|
45
|
-
import J from "./components/DragAndDropFiles.js";
|
|
46
|
-
import O from "./components/RadioGroup.js";
|
|
47
|
-
import o from "./hooks/useTheme.js";
|
|
48
|
-
const qo = {
|
|
49
|
-
version: "1.0.0",
|
|
50
|
-
components: [o.provider, o.hook, i.component, p.component, m.component, n.component, t.component, r.component, s.component, e.component, c.component, a.component, T.component, f.component, l.component, u.component, d.component, C.component, b.component, S.component, g.component, h.component, P.component, y.component, I.component, k.component, v.component, F.component, x.component, B.component, L.component, w.component, A.component, D.component, R.component, G.component, M.component, K.component, N.component, U.component, W.component, j.component, q.component, z.component, E.component, H.component, J.component, O.component],
|
|
51
|
-
compositionTips: [...o.compositionTips, ...o.themeProviderCompositionTips, ...i.compositionTips, ...p.compositionTips, ...m.compositionTips, ...n.compositionTips, ...t.compositionTips, ...r.compositionTips, ...s.compositionTips, ...e.compositionTips, ...c.compositionTips, ...a.compositionTips, ...T.compositionTips, ...f.compositionTips, ...l.compositionTips, ...u.compositionTips, ...d.compositionTips, ...C.compositionTips, ...b.compositionTips, ...S.compositionTips, ...g.compositionTips, ...h.compositionTips, ...P.compositionTips, ...y.compositionTips, ...I.compositionTips, ...k.compositionTips, ...v.compositionTips, ...F.compositionTips, ...x.compositionTips, ...B.compositionTips, ...L.compositionTips, ...w.compositionTips, ...A.compositionTips, ...D.compositionTips, ...R.compositionTips, ...G.compositionTips, ...M.compositionTips, ...K.compositionTips, ...N.compositionTips, ...U.compositionTips, ...W.compositionTips, ...j.compositionTips, ...q.compositionTips, ...z.compositionTips, ...E.compositionTips, ...H.compositionTips, ...J.compositionTips, ...O.compositionTips]
|
|
52
|
-
}, zo = ["Prefer gd-design-library components for layout and controls.", "Use FlexContainer/Column for spacing rather than manual CSS, unless necessary.", "Keep accessibility: label inputs using label or Input label prop, set aria attributes if needed.", "Do not inline ThemeProvider inside leaf components; wrap at app root."];
|
|
53
|
-
export {
|
|
54
|
-
qo as aiComponentsSchema,
|
|
55
|
-
zo as aiPromptGuidelines
|
|
56
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "ThemeProvider",
|
|
3
|
-
import: "import { ThemeProvider } from 'gd-design-library'",
|
|
4
|
-
description: "Context provider component that enables theme support throughout the application, allowing child components to access theme values via useTheme hook.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "children",
|
|
7
|
-
type: "React.ReactNode",
|
|
8
|
-
description: "Child components that will have access to the theme context",
|
|
9
|
-
required: !0
|
|
10
|
-
}, {
|
|
11
|
-
name: "initialTheme",
|
|
12
|
-
type: "Theme",
|
|
13
|
-
description: "Initial theme object to apply when component mounts"
|
|
14
|
-
}, {
|
|
15
|
-
name: "isDefault",
|
|
16
|
-
type: "boolean",
|
|
17
|
-
description: "Whether to use the default theme instead of initialTheme",
|
|
18
|
-
default: !1
|
|
19
|
-
}],
|
|
20
|
-
examples: ["<ThemeProvider isDefault>{children}</ThemeProvider>", "<ThemeProvider initialTheme={customTheme}>{children}</ThemeProvider>"]
|
|
21
|
-
}, t = {
|
|
22
|
-
name: "useTheme",
|
|
23
|
-
import: "import { useTheme } from 'gd-design-library'",
|
|
24
|
-
description: "Hook for accessing and managing application themes dynamically with support for switching between themes and adding new themes at runtime.",
|
|
25
|
-
props: [{
|
|
26
|
-
name: "theme",
|
|
27
|
-
type: "Theme",
|
|
28
|
-
description: "Current active theme object containing all theme tokens and configuration",
|
|
29
|
-
required: !0
|
|
30
|
-
}, {
|
|
31
|
-
name: "setTheme",
|
|
32
|
-
type: "(name: string) => void",
|
|
33
|
-
description: "Function to switch to an existing theme by its name"
|
|
34
|
-
}, {
|
|
35
|
-
name: "addTheme",
|
|
36
|
-
type: "(name: string, config: Theme) => void",
|
|
37
|
-
description: "Function to add a new theme dynamically at runtime"
|
|
38
|
-
}],
|
|
39
|
-
examples: ["const { theme, setTheme, addTheme } = useTheme();", "const { theme } = useTheme(); // Access current theme values", 'const { setTheme } = useTheme(); setTheme("dark"); // Switch to dark theme', 'const { addTheme } = useTheme(); addTheme("custom", customThemeConfig); // Add custom theme']
|
|
40
|
-
}, o = ["Use useTheme hook inside ThemeProvider context to access theme values.", "Call setTheme to switch between pre-registered themes like light and dark.", "Use addTheme to register custom themes dynamically at runtime.", "Store theme preference in localStorage and apply on app initialization.", "Access theme.colors for consistent color values across components.", "Use theme.typography for font sizes, weights, and line heights.", "Apply theme.spacing for consistent margins and paddings.", "Access theme.breakpoints for responsive design decisions.", "Use theme.shadows for consistent elevation and depth effects.", "Apply theme.borderRadius for consistent corner rounding.", "Access theme.transitions for consistent animation durations.", "Use theme.zIndex for consistent layering of overlapping elements.", "Apply theme colors to Icon components for theme-aware icons.", "Access theme.palette for primary, secondary, and semantic colors.", "Use theme.opacity values for consistent transparency effects.", "Apply theme.fontFamily for consistent typography across the app.", "Access theme.status colors for success, warning, error, and info states.", "Use theme.background colors for surface and paper components.", "Apply theme.text colors for primary, secondary, and disabled text.", "Access theme.action colors for hover, selected, and disabled states.", "Use setTheme with user preferences from profile settings.", "Apply addTheme to load themes from external configuration files.", "Combine useTheme with CSS custom properties for performance.", "Use theme.mixins for reusable style combinations.", "Apply theme.shape for consistent component shapes and borders.", "Access theme.duration for consistent animation and transition timings.", "Use setTheme based on system preferences with prefers-color-scheme.", "Apply theme values to Canvas or WebGL for theme-aware graphics.", "Store multiple theme presets and switch between them with setTheme.", "Use theme.components for component-specific theme overrides.", "Apply theme values to email templates for consistent branding.", "Access theme.gradients for consistent gradient definitions.", "Use addTheme to create seasonal or event-specific themes.", "Apply theme.backdrop for consistent overlay backgrounds.", "Combine useTheme with React.memo for performance optimization.", "Use theme values in print stylesheets for consistent printed output.", "Apply theme.scrollbar styles for custom scrollbar theming.", "Access theme.input styles for consistent form field styling.", "Use setTheme in theme switcher components or settings panels.", "Apply addTheme with theme builder tools for user customization.", "Access theme.divider color for consistent separator styling.", "Use theme.contrast ratios for WCAG accessibility compliance.", "Apply theme.focus styles for consistent keyboard navigation indicators.", "Access theme.disabled opacity for consistent disabled state styling.", "Use addTheme to import themes from design system packages.", "Apply setTheme with keyboard shortcuts for quick theme switching.", "Store theme name in URL params for shareable theme preferences.", "Use theme values with styled-components or emotion for dynamic styling.", "Apply addTheme validation to ensure theme structure consistency.", "Access theme tokens in global styles for consistent base styling.", "Use setTheme with animations for smooth theme transitions.", "Apply theme configuration to third-party component libraries.", "Combine useTheme with context providers for nested theme scoping.", "Use addTheme to merge partial theme overrides with base themes."], s = ["Wrap ThemeProvider at the root of your application to enable theming.", "Use isDefault prop to quickly apply the default theme configuration.", "Pass initialTheme prop to start with a custom theme object.", "Initialize ThemeProvider with brand-specific theme configurations.", "Nest ThemeProvider components to create theme scopes for specific sections.", "Combine ThemeProvider with React.Suspense for lazy-loaded themes.", "Use ThemeProvider with CSS custom properties for better performance.", "Pass dynamic initialTheme based on user profile or preferences.", "Initialize ThemeProvider with themes from external configuration.", "Use ThemeProvider with feature flags for A/B testing themes.", "Combine multiple ThemeProviders for micro-frontend architectures.", "Apply ThemeProvider to Storybook stories for theme testing.", "Use ThemeProvider with server-side rendering for consistent theming.", "Initialize ThemeProvider with seasonal or event-based themes.", "Use ThemeProvider with React Context DevTools for debugging.", "Combine ThemeProvider with ErrorBoundary for theme fallbacks.", "Apply conditional themes based on user roles or permissions.", "Use ThemeProvider with React.memo to prevent unnecessary re-renders.", "Initialize themes from design tokens or style dictionary.", "Apply ThemeProvider to email template previews for consistency.", "Use ThemeProvider with portal components for themed modals.", "Combine ThemeProvider with internationalization for locale themes.", "Apply theme inheritance with nested ThemeProvider components.", "Use ThemeProvider with CSS-in-JS libraries like emotion or styled-components.", "Initialize ThemeProvider with themes from CMS or database.", "Apply ThemeProvider to print preview for themed printing.", "Use ThemeProvider with animation libraries for themed transitions.", "Combine ThemeProvider with accessibility tools for contrast checking.", "Apply different themes for authenticated vs public areas.", "Use ThemeProvider with web components for cross-framework theming.", "Initialize themes based on time of day or user location.", "Apply ThemeProvider to canvas or WebGL contexts for themed graphics.", "Use ThemeProvider with form libraries for themed form controls.", "Combine ThemeProvider with testing libraries for theme assertions.", "Apply brand-specific themes with multi-tenant applications.", "Use ThemeProvider with build tools to tree-shake unused themes.", "Initialize themes from environment variables for deployment flexibility.", "Apply ThemeProvider to iframe content for consistent embedding.", "Use ThemeProvider with browser extensions for theme customization.", "Combine ThemeProvider with analytics to track theme usage.", "Apply responsive themes based on device capabilities.", "Use ThemeProvider with service workers for offline theme caching.", "Initialize themes from user-generated content or themes marketplace.", "Apply ThemeProvider to documentation sites for themed code examples.", "Use ThemeProvider with performance monitoring for theme impact analysis.", "Combine ThemeProvider with feature toggles for gradual theme rollout.", "Apply experimental themes with ThemeProvider for user testing.", "Use isDefault when no custom theme is needed for faster initialization.", "Pass initialTheme from localStorage for persistent theme preferences.", "Combine isDefault with feature detection for fallback theming.", "Apply initialTheme validation to ensure theme structure consistency."], i = {
|
|
41
|
-
hook: t,
|
|
42
|
-
provider: e,
|
|
43
|
-
compositionTips: o,
|
|
44
|
-
themeProviderCompositionTips: s
|
|
45
|
-
};
|
|
46
|
-
export {
|
|
47
|
-
i as default
|
|
48
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as o, jsx as r } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as h, Fragment as S } from "react";
|
|
4
|
-
import { COMPONENT_NAME as e } from "./constants.js";
|
|
5
|
-
import { BreadcrumbsStyled as $, ItemStartStyled as y, BreadcrumbItemStyled as E, SeparatorStyled as I, ItemEndStyled as N } from "./BreadcrumbsStyled.js";
|
|
6
|
-
import { useTheme as B } from "../../../hooks/useTheme/useTheme.js";
|
|
7
|
-
const g = h((n, c) => {
|
|
8
|
-
const {
|
|
9
|
-
separator: a,
|
|
10
|
-
itemStart: d,
|
|
11
|
-
itemEnd: m,
|
|
12
|
-
separatorAfterLastItem: p = !1,
|
|
13
|
-
items: i = [],
|
|
14
|
-
bordered: f,
|
|
15
|
-
ariaLabel: l = "breadcrumb",
|
|
16
|
-
...u
|
|
17
|
-
} = n, {
|
|
18
|
-
theme: t
|
|
19
|
-
} = B();
|
|
20
|
-
return /* @__PURE__ */ o($, { ref: c, $bordered: f, theme: t, "data-testid": e, ...l ? {
|
|
21
|
-
"aria-label": l
|
|
22
|
-
} : {}, ...u, children: [
|
|
23
|
-
d ? /* @__PURE__ */ r(y, { theme: t, "data-testid": `${e}-item-start`, children: d }) : null,
|
|
24
|
-
i.map((b, s) => /* @__PURE__ */ o(S, { children: [
|
|
25
|
-
/* @__PURE__ */ r(E, { theme: t, "data-testid": `${e}-item`, children: b }),
|
|
26
|
-
a && (p || s < i.length - 1) ? /* @__PURE__ */ r(I, { theme: t, "data-testid": `${e}-separator`, children: a }) : null
|
|
27
|
-
] }, `${e}-${s}`)),
|
|
28
|
-
m ? /* @__PURE__ */ r(N, { theme: t, "data-testid": `${e}-item-end`, children: m }) : null
|
|
29
|
-
] });
|
|
30
|
-
});
|
|
31
|
-
g.displayName = e;
|
|
32
|
-
export {
|
|
33
|
-
g as Breadcrumbs
|
|
34
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CommonCssComponentProps, CommonCssComponentStyledProps } from '../..';
|
|
3
|
-
export interface BreadcrumbsProps extends CommonCssComponentProps {
|
|
4
|
-
separator?: ReactNode;
|
|
5
|
-
itemStart?: ReactNode;
|
|
6
|
-
itemEnd?: ReactNode;
|
|
7
|
-
separatorAfterLastItem?: boolean;
|
|
8
|
-
bordered?: boolean;
|
|
9
|
-
items?: (never | ReactNode)[];
|
|
10
|
-
ariaLabel?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface BreadcrumbsStyledProps extends CommonCssComponentStyledProps {
|
|
13
|
-
$bordered?: boolean;
|
|
14
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BreadcrumbsStyledProps } from './Breadcrumbs.types';
|
|
2
|
-
export declare const BreadcrumbsStyled: import('react').ForwardRefExoticComponent<Omit<BreadcrumbsStyledProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
|
-
export declare const BreadcrumbItemStyled: (props: BreadcrumbsStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const SeparatorStyled: (props: BreadcrumbsStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const ItemStartStyled: (props: BreadcrumbsStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const ItemEndStyled: (props: BreadcrumbsStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as l } from "react";
|
|
4
|
-
import { get as c } from "../../../utils/helpers.js";
|
|
5
|
-
const b = l((e, s) => {
|
|
6
|
-
const {
|
|
7
|
-
theme: {
|
|
8
|
-
breadcrumbs: t
|
|
9
|
-
} = {},
|
|
10
|
-
$bordered: r = !1,
|
|
11
|
-
styles: o = {},
|
|
12
|
-
...m
|
|
13
|
-
} = e, d = [c(t, "default", {}), r ? c(t, "bordered", {}) : {}, o];
|
|
14
|
-
return /* @__PURE__ */ n("div", { css: d, ...m, ref: s });
|
|
15
|
-
}), i = (e) => {
|
|
16
|
-
const {
|
|
17
|
-
theme: {
|
|
18
|
-
breadcrumbs: s
|
|
19
|
-
} = {},
|
|
20
|
-
styles: t = {},
|
|
21
|
-
...r
|
|
22
|
-
} = e, o = [c(s, "item", {}), t];
|
|
23
|
-
return /* @__PURE__ */ n("div", { css: o, ...r });
|
|
24
|
-
}, u = (e) => {
|
|
25
|
-
const {
|
|
26
|
-
theme: {
|
|
27
|
-
breadcrumbs: s
|
|
28
|
-
} = {},
|
|
29
|
-
styles: t = {},
|
|
30
|
-
...r
|
|
31
|
-
} = e, o = [c(s, "separator", {}), t];
|
|
32
|
-
return /* @__PURE__ */ n("div", { css: o, ...r });
|
|
33
|
-
}, S = (e) => {
|
|
34
|
-
const {
|
|
35
|
-
theme: {
|
|
36
|
-
breadcrumbs: s
|
|
37
|
-
} = {},
|
|
38
|
-
styles: t = {},
|
|
39
|
-
...r
|
|
40
|
-
} = e, o = [c(s, "item.itemStart", {}), t];
|
|
41
|
-
return /* @__PURE__ */ n("div", { css: o, ...r });
|
|
42
|
-
}, f = (e) => {
|
|
43
|
-
const {
|
|
44
|
-
theme: {
|
|
45
|
-
breadcrumbs: s
|
|
46
|
-
} = {},
|
|
47
|
-
styles: t = {},
|
|
48
|
-
...r
|
|
49
|
-
} = e, o = [c(s, "item.itemEnd", {}), t];
|
|
50
|
-
return /* @__PURE__ */ n("div", { css: o, ...r });
|
|
51
|
-
};
|
|
52
|
-
export {
|
|
53
|
-
i as BreadcrumbItemStyled,
|
|
54
|
-
b as BreadcrumbsStyled,
|
|
55
|
-
f as ItemEndStyled,
|
|
56
|
-
S as ItemStartStyled,
|
|
57
|
-
u as SeparatorStyled
|
|
58
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const COMPONENT_NAME = "Breadcrumbs";
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsxs as $, jsx as e } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as x } from "react";
|
|
4
|
-
import { convertToInlineBoxStyles as b } from "../../../tokens/utils.js";
|
|
5
|
-
import { COMPONENT_NAME as t } from "./constants.js";
|
|
6
|
-
import { ButtonStyled as C, StartIconStyled as T, ContentStyled as E, EndIconStyled as N } from "./ButtonStyled.js";
|
|
7
|
-
import { useTheme as v } from "../../../hooks/useTheme/useTheme.js";
|
|
8
|
-
import { ButtonColorVariant as P, ButtonVariant as j, ButtonTypes as M, ButtonRole as O } from "../../../types/button.js";
|
|
9
|
-
import { TabIndex as R } from "../../../types/accesability.js";
|
|
10
|
-
const V = x((s, c) => {
|
|
11
|
-
const {
|
|
12
|
-
theme: o
|
|
13
|
-
} = v(), {
|
|
14
|
-
color: m = P.Primary,
|
|
15
|
-
variant: u = j.Contained,
|
|
16
|
-
children: n,
|
|
17
|
-
iconStart: r = null,
|
|
18
|
-
iconEnd: a = null,
|
|
19
|
-
type: f = M.Button,
|
|
20
|
-
disabled: p = !1,
|
|
21
|
-
isIcon: y = !1,
|
|
22
|
-
ariaLabel: l,
|
|
23
|
-
ariaPressed: i,
|
|
24
|
-
role: B = O.Button,
|
|
25
|
-
fullWidth: h = !1,
|
|
26
|
-
tabIndex: I = R.Default,
|
|
27
|
-
onClick: S,
|
|
28
|
-
...d
|
|
29
|
-
} = s;
|
|
30
|
-
return /* @__PURE__ */ $(C, { ref: c, $variant: u, $color: m, $isIcon: y, $fullWidth: h, disabled: p, onClick: S, type: f, role: B, theme: o, tabIndex: I, "data-testid": t, ...b(d), ...l ? {
|
|
31
|
-
"aria-label": l
|
|
32
|
-
} : {}, ...i ? {
|
|
33
|
-
"aria-pressed": i
|
|
34
|
-
} : {}, ...d, children: [
|
|
35
|
-
r ? /* @__PURE__ */ e(T, { theme: o, "data-testid": `${t}-icon-start`, children: r }) : null,
|
|
36
|
-
n ? /* @__PURE__ */ e(E, { theme: o, "data-testid": `${t}-content`, children: n }) : null,
|
|
37
|
-
a ? /* @__PURE__ */ e(N, { theme: o, "data-testid": `${t}-icon-end`, children: a }) : null
|
|
38
|
-
] });
|
|
39
|
-
});
|
|
40
|
-
V.displayName = t;
|
|
41
|
-
export {
|
|
42
|
-
V as Button
|
|
43
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren, MouseEvent, ReactNode } from 'react';
|
|
2
|
-
import { ButtonAriaLabel, ButtonColorVariant, ButtonRole, ButtonTypes, ButtonVariant, EnumOrPrimitive } from '../../../types';
|
|
3
|
-
import { BoxCssComponentProps, BoxCssComponentStyledProps } from '../..';
|
|
4
|
-
export interface ButtonProps extends BoxCssComponentProps<HTMLButtonElement>, PropsWithChildren {
|
|
5
|
-
variant?: EnumOrPrimitive<ButtonVariant>;
|
|
6
|
-
color?: EnumOrPrimitive<ButtonColorVariant>;
|
|
7
|
-
iconStart?: ReactNode;
|
|
8
|
-
iconEnd?: ReactNode;
|
|
9
|
-
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
10
|
-
type?: ButtonTypes | `${ButtonTypes}`;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
isIcon?: boolean;
|
|
14
|
-
ariaLabel?: ButtonAriaLabel | `${ButtonAriaLabel}`;
|
|
15
|
-
ariaPressed?: boolean;
|
|
16
|
-
role?: ButtonRole | `${ButtonRole}`;
|
|
17
|
-
tabIndex?: number;
|
|
18
|
-
}
|
|
19
|
-
export interface ButtonStyledProps extends BoxCssComponentStyledProps<HTMLButtonElement>, PropsWithChildren {
|
|
20
|
-
$variant?: EnumOrPrimitive<ButtonVariant>;
|
|
21
|
-
$color?: EnumOrPrimitive<ButtonColorVariant>;
|
|
22
|
-
$isIcon?: boolean;
|
|
23
|
-
$fullWidth?: boolean;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
type?: ButtonTypes | `${ButtonTypes}`;
|
|
26
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ButtonStyledProps } from './Button.types';
|
|
2
|
-
export declare const ButtonStyled: import('react').ForwardRefExoticComponent<Omit<ButtonStyledProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
3
|
-
export declare const ContentStyled: (props: ButtonStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const StartIconStyled: (props: ButtonStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const EndIconStyled: (props: ButtonStyledProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as f } from "react";
|
|
4
|
-
import { getBoxStyles as y } from "../../../tokens/utils.js";
|
|
5
|
-
import { ButtonVariant as S, ButtonColorVariant as b } from "../../../types/button.js";
|
|
6
|
-
import { get as o } from "../../../utils/helpers.js";
|
|
7
|
-
const $ = f((n, e) => {
|
|
8
|
-
const {
|
|
9
|
-
theme: {
|
|
10
|
-
button: t
|
|
11
|
-
} = {},
|
|
12
|
-
$isIcon: s,
|
|
13
|
-
$fullWidth: c,
|
|
14
|
-
$variant: l = S.Contained,
|
|
15
|
-
$color: a = b.Primary,
|
|
16
|
-
styles: m = {},
|
|
17
|
-
...u
|
|
18
|
-
} = n, {
|
|
19
|
-
boxStyles: p,
|
|
20
|
-
restProps: d
|
|
21
|
-
} = y(u), i = [o(t, "default", {}), o(t, [l, a], {}), p, s ? o(t, "icon", {}) : {}, c ? o(t, "fullWidth", {}) : {}, m];
|
|
22
|
-
return /* @__PURE__ */ r("button", { css: i, ...d, ref: e });
|
|
23
|
-
}), g = (n) => {
|
|
24
|
-
const {
|
|
25
|
-
theme: {
|
|
26
|
-
button: e
|
|
27
|
-
} = {},
|
|
28
|
-
...t
|
|
29
|
-
} = n, s = o(e, "content", {});
|
|
30
|
-
return /* @__PURE__ */ r("span", { css: o(s, "default", {}), className: "gd-button__content", ...t });
|
|
31
|
-
}, C = (n) => {
|
|
32
|
-
const {
|
|
33
|
-
theme: {
|
|
34
|
-
button: e
|
|
35
|
-
} = {},
|
|
36
|
-
...t
|
|
37
|
-
} = n, s = o(e, "startIcon", {});
|
|
38
|
-
return /* @__PURE__ */ r("span", { css: o(s, "default", {}), ...t });
|
|
39
|
-
}, N = (n) => {
|
|
40
|
-
const {
|
|
41
|
-
theme: {
|
|
42
|
-
button: e
|
|
43
|
-
} = {},
|
|
44
|
-
...t
|
|
45
|
-
} = n, s = o(e, "endIcon", {});
|
|
46
|
-
return /* @__PURE__ */ r("span", { css: o(s, "default", {}), ...t });
|
|
47
|
-
};
|
|
48
|
-
export {
|
|
49
|
-
$ as ButtonStyled,
|
|
50
|
-
g as ContentStyled,
|
|
51
|
-
N as EndIconStyled,
|
|
52
|
-
C as StartIconStyled
|
|
53
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const COMPONENT_NAME = "Button";
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as u } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as y } from "react";
|
|
4
|
-
import { KEYBOARD_KEYS as s } from "../../../constants/keyboard.js";
|
|
5
|
-
import { getClosestFocusable as D } from "../../../utils/focus.js";
|
|
6
|
-
import { DropdownStyled as E } from "./DropdownStyled.js";
|
|
7
|
-
import { COMPONENT_NAME as c } from "./constants.js";
|
|
8
|
-
import { useTheme as R } from "../../../hooks/useTheme/useTheme.js";
|
|
9
|
-
const w = y((l, p) => {
|
|
10
|
-
const {
|
|
11
|
-
children: d,
|
|
12
|
-
...f
|
|
13
|
-
} = l, {
|
|
14
|
-
theme: a
|
|
15
|
-
} = R();
|
|
16
|
-
return /* @__PURE__ */ u(E, { ref: p, theme: a, "data-testid": c, onKeyDown: (o) => {
|
|
17
|
-
var m;
|
|
18
|
-
if (![s.ARROW_DOWN, s.ARROW_UP].includes(o.key))
|
|
19
|
-
return;
|
|
20
|
-
o.preventDefault();
|
|
21
|
-
const e = o.currentTarget, i = o.key === s.ARROW_UP, t = (m = e.ownerDocument) == null ? void 0 : m.activeElement;
|
|
22
|
-
if (t && e.contains(t)) {
|
|
23
|
-
const r = document.createElement("div");
|
|
24
|
-
e.insertBefore(r, i ? t : t.nextSibling);
|
|
25
|
-
const n = D({
|
|
26
|
-
initial: r,
|
|
27
|
-
previous: i,
|
|
28
|
-
root: e,
|
|
29
|
-
keyboard: !0
|
|
30
|
-
});
|
|
31
|
-
e.removeChild(r), n == null || n.focus();
|
|
32
|
-
}
|
|
33
|
-
}, ...f, children: d });
|
|
34
|
-
});
|
|
35
|
-
w.displayName = c;
|
|
36
|
-
export {
|
|
37
|
-
w as Dropdown
|
|
38
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { CommonCssComponentProps, CommonCssComponentStyledProps } from '../../index.types';
|
|
3
|
-
import { OnSelectProps } from '../types/events.types';
|
|
4
|
-
export type DropdownProps = PropsWithChildren<CommonCssComponentProps>;
|
|
5
|
-
export type DropdownStyledProps = PropsWithChildren<CommonCssComponentStyledProps>;
|
|
6
|
-
export interface DropdownContextType {
|
|
7
|
-
onSelect?: (props: OnSelectProps) => void;
|
|
8
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as p } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as c } from "react";
|
|
4
|
-
import { get as d } from "../../../utils/helpers.js";
|
|
5
|
-
const l = c((o, t) => {
|
|
6
|
-
const {
|
|
7
|
-
theme: {
|
|
8
|
-
select: e
|
|
9
|
-
} = {},
|
|
10
|
-
styles: r = {},
|
|
11
|
-
...s
|
|
12
|
-
} = o, m = [d(e, "dropdown", {}), r];
|
|
13
|
-
return /* @__PURE__ */ p("div", { css: m, ...s, ref: t });
|
|
14
|
-
});
|
|
15
|
-
export {
|
|
16
|
-
l as DropdownStyled
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const COMPONENT_NAME = "Dropdown";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useDropdown';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { createContext as t, useContext as e } from "react";
|
|
3
|
-
const n = t(void 0), s = () => {
|
|
4
|
-
const o = e(n);
|
|
5
|
-
if (!o)
|
|
6
|
-
throw new Error("useDropdownContext must be used within a Dropdown component or children");
|
|
7
|
-
return o;
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
n as DropdownContext,
|
|
11
|
-
s as useDropdownContext
|
|
12
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as E } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import { forwardRef as x, useMemo as I, useCallback as u } from "react";
|
|
4
|
-
import { KEYBOARD_KEYS as O } from "../../../constants/keyboard.js";
|
|
5
|
-
import { COMPONENT_NAME as D } from "./constants.js";
|
|
6
|
-
import { DropdownItemStyled as v } from "./DropdownItemStyled.js";
|
|
7
|
-
import { useSelectContext as K } from "../Select/hooks/useSelectContext.js";
|
|
8
|
-
import { useTheme as T } from "../../../hooks/useTheme/useTheme.js";
|
|
9
|
-
import { TabIndex as p } from "../../../types/accesability.js";
|
|
10
|
-
const k = x((S, N) => {
|
|
11
|
-
const {
|
|
12
|
-
children: y,
|
|
13
|
-
value: n,
|
|
14
|
-
onSelect: i,
|
|
15
|
-
className: o,
|
|
16
|
-
disabled: e,
|
|
17
|
-
name: d,
|
|
18
|
-
...b
|
|
19
|
-
} = S, {
|
|
20
|
-
theme: h
|
|
21
|
-
} = T(), {
|
|
22
|
-
onSelect: s,
|
|
23
|
-
value: l,
|
|
24
|
-
itemIdentifier: m
|
|
25
|
-
} = K(), r = {
|
|
26
|
-
name: d,
|
|
27
|
-
value: n
|
|
28
|
-
}, c = JSON.stringify(r), f = l !== void 0 && m ? m(l, r) : o == null ? void 0 : o.includes("active"), w = I(() => `${o || ""} ${f ? "active" : ""}`, [o, f]), a = u((t) => {
|
|
29
|
-
if (!e)
|
|
30
|
-
return i ? i({
|
|
31
|
-
event: t,
|
|
32
|
-
data: r
|
|
33
|
-
}) : s && s({
|
|
34
|
-
event: t,
|
|
35
|
-
data: r
|
|
36
|
-
}), n;
|
|
37
|
-
}, [i, s, c, JSON.stringify(n), e]), C = u((t) => {
|
|
38
|
-
e || t.key === O.ENTER && (t.preventDefault(), a(t));
|
|
39
|
-
}, [a, e, c]);
|
|
40
|
-
return /* @__PURE__ */ E(v, { ref: N, theme: h, $disabled: e, tabIndex: e ? p.Disabled : p.Default, "data-testid": D, className: w, onClick: a, onKeyDown: C, ...b, children: y || d });
|
|
41
|
-
});
|
|
42
|
-
k.displayName = D;
|
|
43
|
-
export {
|
|
44
|
-
k as DropdownItem
|
|
45
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SelectProps, CommonCssComponentStyledProps } from '../..';
|
|
2
|
-
export interface DropdownItemProps<T> extends Partial<Pick<SelectProps<T>, 'styles' | 'onSelect' | 'children' | 'className'>> {
|
|
3
|
-
name?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
value?: unknown;
|
|
6
|
-
}
|
|
7
|
-
export interface DropdownItemStyledProps extends CommonCssComponentStyledProps {
|
|
8
|
-
$disabled?: boolean;
|
|
9
|
-
}
|