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,67 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "Avatar",
|
|
3
|
-
import: "import { Avatar } from 'gd-design-library'",
|
|
4
|
-
description: "User avatar component for displaying profile pictures, initials, or icons with support for badges, fallback content, and various size options. Ideal for user profiles, comment sections, and navigation headers.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "src",
|
|
7
|
-
type: "string",
|
|
8
|
-
description: "The URL of the image to display in the avatar. If no src is provided or the image fails to load, the fallback content will be rendered"
|
|
9
|
-
}, {
|
|
10
|
-
name: "alt",
|
|
11
|
-
type: "string",
|
|
12
|
-
description: "Alternative text for the avatar image, important for accessibility. This will be used as the aria-label for the avatar",
|
|
13
|
-
default: ""
|
|
14
|
-
}, {
|
|
15
|
-
name: "sizeVariant",
|
|
16
|
-
type: "SizeVariant",
|
|
17
|
-
description: "Defines the predefined size of the avatar",
|
|
18
|
-
default: "md",
|
|
19
|
-
enum: ["xs", "sm", "md", "lg", "xl", "xxl"]
|
|
20
|
-
}, {
|
|
21
|
-
name: "withBadge",
|
|
22
|
-
type: "boolean",
|
|
23
|
-
description: "If true, a small badge will be displayed at the top-right corner of the avatar, often indicating online status or notifications",
|
|
24
|
-
default: !1
|
|
25
|
-
}, {
|
|
26
|
-
name: "badgeColor",
|
|
27
|
-
type: "string",
|
|
28
|
-
description: "The color of the badge when withBadge is true. Accepts CSS color values (e.g., hex, named colors). Also supports theme colors (e.g. primary.default)",
|
|
29
|
-
default: "#34A853"
|
|
30
|
-
}, {
|
|
31
|
-
name: "backgroundColor",
|
|
32
|
-
type: "string",
|
|
33
|
-
description: "The background color of the avatar when no image is loaded, or when the image fails. Also used for the fallback content container. Accepts CSS color values (e.g., hex, named colors) and supports theme colors (e.g. primary.default)"
|
|
34
|
-
}, {
|
|
35
|
-
name: "fallbackComponent",
|
|
36
|
-
type: "ReactNode",
|
|
37
|
-
description: "Content to display when src is not provided or the image fails to load. Can be a string, number, or any ReactNode (e.g., an icon, initials, or a custom component)"
|
|
38
|
-
}, {
|
|
39
|
-
name: "onClick",
|
|
40
|
-
type: "() => void",
|
|
41
|
-
description: "Callback function triggered when the avatar is clicked"
|
|
42
|
-
}, {
|
|
43
|
-
name: "id",
|
|
44
|
-
type: "string",
|
|
45
|
-
description: "A unique identifier for the avatar element"
|
|
46
|
-
}, {
|
|
47
|
-
name: "className",
|
|
48
|
-
type: "string",
|
|
49
|
-
description: "Additional CSS class names to apply to the avatar component"
|
|
50
|
-
}, {
|
|
51
|
-
name: "placeholder",
|
|
52
|
-
type: "string",
|
|
53
|
-
description: "Passed to the internal Image component"
|
|
54
|
-
}, {
|
|
55
|
-
name: "styles",
|
|
56
|
-
type: "CSSObject",
|
|
57
|
-
description: "Custom CSS-in-JS styles to apply to the top-level container of the Avatar",
|
|
58
|
-
default: {}
|
|
59
|
-
}],
|
|
60
|
-
examples: ['<Avatar src="/user-photo.jpg" alt="John Doe" sizeVariant="lg" />', '<Avatar fallbackComponent="JD" backgroundColor="#6366F1" sizeVariant="md" onClick={handleProfileClick} />', '<Avatar src={userImage} alt={userName} withBadge badgeColor="#34A853" sizeVariant="sm" />', '<Avatar fallbackComponent={<Icon name="user" />} backgroundColor="primary.default" sizeVariant="xl" />', '<Avatar src="/avatar.png" alt="User" withBadge={isOnline} badgeColor={isOnline ? "#34A853" : "#EA4335"} />']
|
|
61
|
-
}, a = ["Use meaningful alt text or aria-labels for accessibility when using avatars as buttons.", "Show withBadge to indicate online status; customize badgeColor for different states.", "Provide fallbackComponent with initials or an icon when images fail to load.", "Use size variants consistently across lists, headers, and cards for uniformity.", "Use Avatar with src prop for user profile pictures ensuring proper alt text for accessibility.", 'Apply Avatar sizeVariant="xs" or "sm" for compact UI elements like comment threads or user lists.', 'Set Avatar sizeVariant="lg" or "xl" for profile pages and user detail views.', "Use Avatar fallbackComponent with user initials when profile image is unavailable.", 'Apply Avatar withBadge={true} and badgeColor="#34A853" to indicate online status.', "Combine Avatar with Typography for user name display in consistent layouts.", "Use Avatar backgroundColor with theme colors for consistent fallback appearance.", 'Apply Avatar fallbackComponent with Icon name="user" for anonymous or guest users.', "Set Avatar onClick handler for navigating to user profiles or opening user menus.", "Use Avatar in ChatContainer headers or message lists for conversation participants.", "Apply Avatar with consistent sizeVariant across similar UI contexts for visual harmony.", "Combine multiple Avatar components with negative margins for overlapping group avatars.", "Use Avatar withBadge and different badgeColor values for various status indicators (online, away, busy).", "Apply Avatar in Card components for user cards or team member displays.", "Set Avatar with Tooltip showing user name or role on hover for additional context.", "Use Avatar fallbackComponent with first letters of first and last name for professional appearance.", "Apply Avatar in navigation headers with dropdown menus for user account access.", "Combine Avatar with Badge component nearby for notification counts or user levels.", 'Use Avatar sizeVariant="md" as default for most UI contexts for optimal visibility.', "Apply Avatar with border styles via className for highlighted or selected users.", "Set Avatar with loading skeleton while user data is being fetched.", "Use Avatar in Select options with renderOption for user selection dropdowns.", "Apply Avatar placeholder prop for loading state text while image loads.", "Combine Avatar with presence indicators using withBadge for real-time collaboration.", "Use Avatar with consistent aspect ratio (1:1) maintained across all size variants.", "Apply Avatar in List items for user directories or contact lists.", "Set Avatar with error handling to gracefully show fallback when image fails.", "Use Avatar backgroundColor with user-specific colors for unique identification.", "Apply Avatar with responsive sizeVariant adjusting based on viewport size.", "Combine Avatar with user role badges or verification checkmarks for status display.", 'Use Avatar in comment sections with sizeVariant="sm" for space-efficient layouts.', "Apply Avatar with animation classes for smooth entrance effects in user lists.", "Set Avatar with high-contrast backgroundColor for better visibility of fallback content.", "Use Avatar in Table rows for user management interfaces or team rosters.", "Apply Avatar with consistent margins/padding for aligned layouts in forms.", "Combine Avatar with FlexContainer for user info cards with proper spacing.", "Use Avatar fallbackComponent with generated avatars or identicons for unique visuals.", "Apply Avatar in search results with user name and role information.", "Set Avatar with keyboard navigation support when onClick is provided.", "Use Avatar with lazy loading for performance in user-heavy interfaces.", "Apply Avatar withBadge={false} for static displays where status is not relevant.", "Combine Avatar with hover effects via styles or className for interactive feedback.", "Use Avatar in dropdown headers showing current logged-in user information.", "Apply Avatar with data attributes for analytics tracking of profile interactions.", "Set Avatar with proper ARIA labels for screen reader accessibility.", "Use Avatar in testimonials or review sections with customer photos.", "Apply Avatar with CDN image URLs for optimized delivery and caching.", "Combine Avatar with Modal for full-size profile photo viewing on click.", "Use Avatar consistently in all user-related UI elements for familiar user experience."], t = {
|
|
62
|
-
component: e,
|
|
63
|
-
compositionTips: a
|
|
64
|
-
};
|
|
65
|
-
export {
|
|
66
|
-
t as default
|
|
67
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "Breadcrumbs",
|
|
3
|
-
import: "import { Breadcrumbs } from 'gd-design-library'",
|
|
4
|
-
description: "Navigation component that displays the current page location within a hierarchical structure, providing users with a trail of links to navigate back to parent pages.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "items",
|
|
7
|
-
type: "Array<{label: string, href?: string, onClick?: () => void}>",
|
|
8
|
-
description: "Array of breadcrumb items to be displayed",
|
|
9
|
-
required: !0,
|
|
10
|
-
default: []
|
|
11
|
-
}, {
|
|
12
|
-
name: "separator",
|
|
13
|
-
type: "string | ReactNode",
|
|
14
|
-
description: "Custom separator between breadcrumb items",
|
|
15
|
-
default: "/"
|
|
16
|
-
}, {
|
|
17
|
-
name: "itemStart",
|
|
18
|
-
type: "ReactNode",
|
|
19
|
-
description: "Custom component to be displayed before the first item"
|
|
20
|
-
}, {
|
|
21
|
-
name: "itemEnd",
|
|
22
|
-
type: "ReactNode",
|
|
23
|
-
description: "Custom component to be displayed after the last item"
|
|
24
|
-
}, {
|
|
25
|
-
name: "separatorAfterLastItem",
|
|
26
|
-
type: "boolean",
|
|
27
|
-
description: "Controls whether to show separator after the last item",
|
|
28
|
-
default: !1
|
|
29
|
-
}, {
|
|
30
|
-
name: "bordered",
|
|
31
|
-
type: "boolean",
|
|
32
|
-
description: "Adds border styling to the breadcrumbs",
|
|
33
|
-
default: !1
|
|
34
|
-
}, {
|
|
35
|
-
name: "className",
|
|
36
|
-
type: "string",
|
|
37
|
-
description: "Additional CSS class name"
|
|
38
|
-
}, {
|
|
39
|
-
name: "ariaLabel",
|
|
40
|
-
type: "string",
|
|
41
|
-
description: "Accessibility label for the breadcrumbs navigation",
|
|
42
|
-
default: "breadcrumb"
|
|
43
|
-
}],
|
|
44
|
-
examples: ['<Breadcrumbs items={[{label: "Home", href: "/"}, {label: "Products", href: "/products"}, {label: "Detail"}]} />', '<Breadcrumbs items={breadcrumbItems} separator={<Icon name="chevron-right" />} bordered />', '<Breadcrumbs items={paths} itemStart={<Icon name="home" />} ariaLabel="Page navigation" />']
|
|
45
|
-
}, t = ["Use Breadcrumbs at the top of content pages to show hierarchical navigation path.", "Set Breadcrumbs items with href for all parent pages and no href for current page.", "Apply Breadcrumbs separator with Icon component for visual separators like chevron-right.", "Use Breadcrumbs itemStart with home icon for clear navigation starting point.", "Set Breadcrumbs bordered={true} to visually separate from page content.", "Apply Breadcrumbs with consistent positioning across all pages for user orientation.", "Use Breadcrumbs items onClick instead of href for client-side routing in SPAs.", 'Combine Breadcrumbs with Typography variant="caption" for items in compact layouts.', "Apply Breadcrumbs ariaLabel with descriptive text for screen reader context.", "Use Breadcrumbs at the top of content pages to show hierarchical navigation path.", "Set Breadcrumbs items with href for all parent pages and no href for current page.", "Apply Breadcrumbs separator with Icon component for visual separators like chevron-right.", "Use Breadcrumbs itemStart with home icon for clear navigation starting point.", "Set Breadcrumbs bordered={true} to visually separate from page content.", "Apply Breadcrumbs with consistent positioning across all pages for user orientation.", "Use Breadcrumbs items onClick instead of href for client-side routing in SPAs.", 'Combine Breadcrumbs with Typography variant="caption" for items in compact layouts.', "Set Breadcrumbs separatorAfterLastItem={false} (default) for clean ending.", "Apply Breadcrumbs ariaLabel with descriptive text for screen reader context.", "Use Breadcrumbs itemEnd with status icons or badges for additional context.", "Keep Breadcrumbs items concise with truncation for long labels in deep hierarchies.", "Apply Breadcrumbs className for consistent styling across the application.", "Use Breadcrumbs with responsive design hiding middle items on mobile with ellipsis.", "Set Breadcrumbs items dynamically based on route parameters and page hierarchy.", "Apply Breadcrumbs with Link component styling for consistent link appearance.", 'Use Breadcrumbs separator=">" for simple text separators without icons.', "Combine Breadcrumbs with page title Typography for complete page context.", "Apply Breadcrumbs with schema.org structured data for SEO benefits.", "Use Breadcrumbs items with conditional rendering based on user permissions.", "Set Breadcrumbs with max-width and overflow for very long paths.", "Apply Breadcrumbs consistently below header and above main content.", "Use Breadcrumbs with tooltip on truncated items to show full path.", "Combine Breadcrumbs with router hooks to automatically generate items.", "Apply Breadcrumbs with keyboard navigation support for accessibility.", "Use Breadcrumbs items with icons for visual category identification.", "Set Breadcrumbs with appropriate font size using Typography for readability.", "Apply Breadcrumbs with home link as first item for consistent navigation.", "Use Breadcrumbs separator with custom spacing for better visual rhythm.", "Combine Breadcrumbs with loading state while fetching dynamic path data.", "Apply Breadcrumbs with proper contrast ratios for accessibility compliance.", "Use Breadcrumbs items array built from URL path segments for automation.", "Set Breadcrumbs with sticky positioning for long scrolling pages.", "Apply Breadcrumbs with breadcrumb microdata for search engine rich snippets.", "Use Breadcrumbs with last item as plain text (no href) to indicate current page.", "Combine Breadcrumbs with animation for smooth transitions between pages.", "Apply Breadcrumbs with consistent separator style throughout the application.", "Use Breadcrumbs with collapsible middle items for mobile-friendly navigation.", "Set Breadcrumbs items with proper capitalization for professional appearance.", "Apply Breadcrumbs with hover states on clickable items for better UX."], r = {
|
|
46
|
-
component: e,
|
|
47
|
-
compositionTips: t
|
|
48
|
-
};
|
|
49
|
-
export {
|
|
50
|
-
r as default
|
|
51
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
const t = {
|
|
2
|
-
name: "Button",
|
|
3
|
-
import: "import { Button } from 'gd-design-library'",
|
|
4
|
-
description: "Interactive button component with multiple style variants, colors, and icon support for triggering actions.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "type",
|
|
7
|
-
type: "ButtonTypes",
|
|
8
|
-
description: "HTML button type attribute (submit, button, reset)",
|
|
9
|
-
default: "ButtonTypes.Button",
|
|
10
|
-
enum: ["submit", "button", "reset"]
|
|
11
|
-
}, {
|
|
12
|
-
name: "color",
|
|
13
|
-
type: "ButtonColorVariant",
|
|
14
|
-
description: "Color variant of the button",
|
|
15
|
-
default: "ButtonColorVariant.Primary",
|
|
16
|
-
enum: ["primary", "secondary", "success", "warning", "error", "info"]
|
|
17
|
-
}, {
|
|
18
|
-
name: "variant",
|
|
19
|
-
type: "ButtonVariant",
|
|
20
|
-
description: "Visual style variant of the button",
|
|
21
|
-
default: "ButtonVariant.Contained",
|
|
22
|
-
enum: ["contained", "outlined", "text"]
|
|
23
|
-
}, {
|
|
24
|
-
name: "role",
|
|
25
|
-
type: "ButtonRole",
|
|
26
|
-
description: "ARIA role for the button element",
|
|
27
|
-
default: "ButtonRole.Button",
|
|
28
|
-
enum: ["button", "link", "menuitem", "tab"]
|
|
29
|
-
}, {
|
|
30
|
-
name: "ariaLabel",
|
|
31
|
-
type: "ButtonAriaLabel",
|
|
32
|
-
description: "Accessibility label for screen readers",
|
|
33
|
-
default: "ButtonAriaLabel.Button"
|
|
34
|
-
}, {
|
|
35
|
-
name: "onClick",
|
|
36
|
-
type: "(event: MouseEvent<HTMLButtonElement>) => void",
|
|
37
|
-
description: "Click event handler triggered when button is clicked"
|
|
38
|
-
}, {
|
|
39
|
-
name: "disabled",
|
|
40
|
-
type: "boolean",
|
|
41
|
-
description: "Disables the button preventing interaction",
|
|
42
|
-
default: !1
|
|
43
|
-
}, {
|
|
44
|
-
name: "isIcon",
|
|
45
|
-
type: "boolean",
|
|
46
|
-
description: "Renders button in icon-only mode with equal width and height",
|
|
47
|
-
default: !1
|
|
48
|
-
}, {
|
|
49
|
-
name: "iconStart",
|
|
50
|
-
type: "ReactNode",
|
|
51
|
-
description: "Icon element to display at the start of the button content"
|
|
52
|
-
}, {
|
|
53
|
-
name: "iconEnd",
|
|
54
|
-
type: "ReactNode",
|
|
55
|
-
description: "Icon element to display at the end of the button content"
|
|
56
|
-
}, {
|
|
57
|
-
name: "children",
|
|
58
|
-
type: "ReactNode",
|
|
59
|
-
description: "Button content, typically text or elements",
|
|
60
|
-
required: !0
|
|
61
|
-
}, {
|
|
62
|
-
name: "styles",
|
|
63
|
-
type: "BoxCssComponentProps<HTMLButtonElement>",
|
|
64
|
-
description: "Custom styles object for the button",
|
|
65
|
-
default: {}
|
|
66
|
-
}, {
|
|
67
|
-
name: "className",
|
|
68
|
-
type: "string | string[]",
|
|
69
|
-
description: "Custom CSS class names to apply to the button"
|
|
70
|
-
}, {
|
|
71
|
-
name: "fullWidth",
|
|
72
|
-
type: "boolean",
|
|
73
|
-
description: "Makes button take full width of its container",
|
|
74
|
-
default: !1
|
|
75
|
-
}, {
|
|
76
|
-
name: "tabIndex",
|
|
77
|
-
type: "number",
|
|
78
|
-
description: "Tab index for keyboard navigation order",
|
|
79
|
-
default: 0
|
|
80
|
-
}, {
|
|
81
|
-
name: "ariaPressed",
|
|
82
|
-
type: "boolean",
|
|
83
|
-
description: "Indicates the pressed state for toggle buttons"
|
|
84
|
-
}],
|
|
85
|
-
examples: ['<Button variant="contained" color="primary" onClick={handleSubmit}>Submit</Button>', '<Button variant="outlined" iconStart={<Icon name="add" />}>Add Item</Button>', '<Button variant="text" color="error" onClick={handleCancel}>Cancel</Button>', '<Button isIcon aria-label="Settings"><Icon name="settings" /></Button>', '<Button type="submit" fullWidth disabled={isSubmitting}>Save Changes</Button>']
|
|
86
|
-
}, n = ['Use Button variant="contained" for primary actions and variant="outlined" for secondary actions.', "Apply Button fullWidth in forms on mobile views for better touch targets.", "Set Button disabled={true} during Input validation or async form submission.", "Use Button iconStart with Input adornmentEnd for inline actions like password visibility toggle.", 'Apply Button color="error" for destructive actions paired with confirmation Input fields.', 'Use Button variant="text" for tertiary actions like "Cancel" or "Skip" in forms.', "Group Input fields with Button using FlexContainer for inline form layouts.", 'Set Button type="submit" for forms and type="button" for non-submitting actions.', "Use Button isIcon for compact icon-only actions within Input adornmentEnd.", "Apply consistent Button color variants matching Input validation states (error, success).", "Use Button with loading state indicator when processing Input form data.", "Pair Input required fields with Button disabled until all validations pass.", "Apply Button ariaPressed for toggle buttons controlling Input field visibility or state.", "Use Button iconEnd for dropdown indicators in custom Input select implementations.", "Set Button tabIndex to control focus flow from Input fields to action buttons.", 'Apply Button variant="outlined" for reset actions clearing Input field values.', "Use multiple Button components with different variants for primary/secondary form actions.", "Combine Input onChange validation with Button disabled state for real-time form validation.", "Apply Button fullWidth={false} with specific width for consistent form button sizing.", 'Use Button role="link" styled as button for navigation after Input form completion.', "Set Button ariaLabel for icon-only buttons used with Input fields for accessibility.", "Apply Button styles prop to match custom Input field styling in themed forms.", "Use Button with preventDefault in onClick when handling Input form submission manually."], e = {
|
|
87
|
-
component: t,
|
|
88
|
-
compositionTips: n
|
|
89
|
-
};
|
|
90
|
-
export {
|
|
91
|
-
e as default
|
|
92
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "Card",
|
|
3
|
-
import: "import { Card } from 'gd-design-library'",
|
|
4
|
-
description: "Container component for grouping related content with optional border and highlight styling. Supports vertical and horizontal layouts.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "variant",
|
|
7
|
-
type: "CardVariant",
|
|
8
|
-
description: "Layout variant of the card - vertical stacks content, horizontal arranges side-by-side",
|
|
9
|
-
default: "vertical",
|
|
10
|
-
enum: ["vertical", "horizontal"]
|
|
11
|
-
}, {
|
|
12
|
-
name: "isBordered",
|
|
13
|
-
type: "boolean",
|
|
14
|
-
description: "Adds border styling to visually separate the card from surrounding content",
|
|
15
|
-
default: !1
|
|
16
|
-
}, {
|
|
17
|
-
name: "gutter",
|
|
18
|
-
type: "string",
|
|
19
|
-
description: "Space between child elements inside the card",
|
|
20
|
-
default: "0"
|
|
21
|
-
}, {
|
|
22
|
-
name: "tabIndex",
|
|
23
|
-
type: "number",
|
|
24
|
-
description: "Tab index for keyboard navigation when card is interactive"
|
|
25
|
-
}, {
|
|
26
|
-
name: "isHighlighted",
|
|
27
|
-
type: "boolean",
|
|
28
|
-
description: "Applies highlight styling to draw attention or indicate selection",
|
|
29
|
-
default: !1
|
|
30
|
-
}, {
|
|
31
|
-
name: "width",
|
|
32
|
-
type: "string",
|
|
33
|
-
description: "Fixed width of the card",
|
|
34
|
-
default: "auto"
|
|
35
|
-
}, {
|
|
36
|
-
name: "height",
|
|
37
|
-
type: "string",
|
|
38
|
-
description: "Fixed height of the card",
|
|
39
|
-
default: "auto"
|
|
40
|
-
}, {
|
|
41
|
-
name: "maxWidth",
|
|
42
|
-
type: "string",
|
|
43
|
-
description: "Maximum width constraint for responsive card sizing",
|
|
44
|
-
default: "none"
|
|
45
|
-
}, {
|
|
46
|
-
name: "maxHeight",
|
|
47
|
-
type: "string",
|
|
48
|
-
description: "Maximum height constraint to limit card expansion",
|
|
49
|
-
default: "none"
|
|
50
|
-
}, {
|
|
51
|
-
name: "overflow",
|
|
52
|
-
type: "string",
|
|
53
|
-
description: "Controls how content overflow is handled (visible, hidden, scroll, auto)",
|
|
54
|
-
default: "visible",
|
|
55
|
-
enum: ["visible", "hidden", "scroll", "auto"]
|
|
56
|
-
}, {
|
|
57
|
-
name: "padding",
|
|
58
|
-
type: "string",
|
|
59
|
-
description: "Internal padding around card content",
|
|
60
|
-
default: "0"
|
|
61
|
-
}, {
|
|
62
|
-
name: "children",
|
|
63
|
-
type: "ReactNode",
|
|
64
|
-
description: "Content elements to be rendered inside the card",
|
|
65
|
-
required: !0
|
|
66
|
-
}],
|
|
67
|
-
examples: ['<Card variant="vertical" isBordered padding="20px" gutter="16px">{formFields}</Card>', '<Card variant="horizontal" isHighlighted maxWidth="600px"><Image /><Content /></Card>', '<Card isBordered overflow="auto" maxHeight="400px">{longContent}</Card>']
|
|
68
|
-
}, t = ['Use Card with padding="16px" or "20px" for comfortable content spacing in forms and content groups.', "Apply Card isBordered={true} to visually separate different content sections on a page.", 'Set Card variant="horizontal" for media cards with image on one side and content on the other.', 'Use Card variant="vertical" (default) for form containers and stacked content layouts.', 'Apply Card gutter="16px" to maintain consistent spacing between child elements.', "Use Card isHighlighted={true} to indicate active, selected, or important content sections.", 'Set Card maxWidth="600px" or similar to maintain readable content width on large screens.', 'Apply Card overflow="auto" with maxHeight for scrollable content areas within fixed layouts.', "Combine Card with Column inside for vertical content organization with proper spacing.", "Use Card padding consistently across similar content types for visual coherence.", 'Apply Card width="100%" with maxWidth for responsive cards that adapt to container.', "Set Card tabIndex={0} when card is clickable or interactive for keyboard accessibility.", "Use nested Cards with different isBordered states for hierarchical content organization.", "Apply Card with consistent padding values across the app for unified content presentation.", "Combine Card isHighlighted with hover states for interactive card selection patterns.", 'Use Card overflow="hidden" to clip content and maintain clean edges with images.', 'Set Card height with overflow="scroll" for fixed-height scrollable content panels.', 'Apply Card variant="horizontal" with FlexContainer children for complex layouts.', "Use Card as container for related Input fields in multi-step forms.", "Combine multiple Cards with consistent gutter in Column for card list layouts.", "Apply Card isBordered={false} for subtle content grouping without visual boundaries.", "Use Card with elevation/shadow styles in styles prop for depth and hierarchy.", "Set Card minHeight to maintain consistent card sizes in grid layouts.", "Apply Card with background color in styles for themed content sections.", "Wrap form content into Card and vertical stack (Column) with comfortable gap (12-20px)."], i = {
|
|
69
|
-
component: e,
|
|
70
|
-
compositionTips: t
|
|
71
|
-
};
|
|
72
|
-
export {
|
|
73
|
-
i as default
|
|
74
|
-
};
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "Carousel",
|
|
3
|
-
import: "import { Carousel } from 'gd-design-library'",
|
|
4
|
-
description: "Container component for displaying a series of content in a scrollable format with navigation controls. Supports horizontal and vertical layouts with touch/swipe, keyboard navigation, and customizable slide dimensions.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "layout",
|
|
7
|
-
type: "LayoutType",
|
|
8
|
-
description: "Determines the scroll direction of the carousel (horizontal or vertical)",
|
|
9
|
-
default: "LayoutType.Horizontal",
|
|
10
|
-
enum: ["Horizontal", "Vertical"]
|
|
11
|
-
}, {
|
|
12
|
-
name: "showArrows",
|
|
13
|
-
type: "boolean",
|
|
14
|
-
description: "Controls the visibility of navigation arrow buttons for previous/next slide",
|
|
15
|
-
default: !0
|
|
16
|
-
}, {
|
|
17
|
-
name: "showDots",
|
|
18
|
-
type: "boolean",
|
|
19
|
-
description: "Controls the visibility of dot indicators for slide position and direct navigation",
|
|
20
|
-
default: !1
|
|
21
|
-
}, {
|
|
22
|
-
name: "width",
|
|
23
|
-
type: "string",
|
|
24
|
-
description: "Width of the carousel container",
|
|
25
|
-
default: "100%"
|
|
26
|
-
}, {
|
|
27
|
-
name: "height",
|
|
28
|
-
type: "string",
|
|
29
|
-
description: "Height of the carousel container",
|
|
30
|
-
default: "auto"
|
|
31
|
-
}, {
|
|
32
|
-
name: "slideWidth",
|
|
33
|
-
type: "string",
|
|
34
|
-
description: "Width of individual slides within the carousel",
|
|
35
|
-
default: "100%"
|
|
36
|
-
}, {
|
|
37
|
-
name: "slideHeight",
|
|
38
|
-
type: "string",
|
|
39
|
-
description: "Height of individual slides within the carousel",
|
|
40
|
-
default: "auto"
|
|
41
|
-
}, {
|
|
42
|
-
name: "gap",
|
|
43
|
-
type: "string",
|
|
44
|
-
description: "Space between carousel slides",
|
|
45
|
-
default: "0"
|
|
46
|
-
}, {
|
|
47
|
-
name: "padding",
|
|
48
|
-
type: "string",
|
|
49
|
-
description: "Internal padding of the carousel container",
|
|
50
|
-
default: "0"
|
|
51
|
-
}, {
|
|
52
|
-
name: "margin",
|
|
53
|
-
type: "string",
|
|
54
|
-
description: "External margin around the carousel container",
|
|
55
|
-
default: "0"
|
|
56
|
-
}, {
|
|
57
|
-
name: "overflow",
|
|
58
|
-
type: "string",
|
|
59
|
-
description: "Controls how slide content overflow is handled",
|
|
60
|
-
default: "hidden",
|
|
61
|
-
enum: ["visible", "hidden", "scroll", "auto"]
|
|
62
|
-
}, {
|
|
63
|
-
name: "autoPlay",
|
|
64
|
-
type: "boolean",
|
|
65
|
-
description: "Enables automatic slide progression",
|
|
66
|
-
default: !1
|
|
67
|
-
}, {
|
|
68
|
-
name: "autoPlayInterval",
|
|
69
|
-
type: "number",
|
|
70
|
-
description: "Time in milliseconds between automatic slide transitions",
|
|
71
|
-
default: 3e3
|
|
72
|
-
}, {
|
|
73
|
-
name: "loop",
|
|
74
|
-
type: "boolean",
|
|
75
|
-
description: "Enables infinite loop scrolling from last to first slide",
|
|
76
|
-
default: !1
|
|
77
|
-
}, {
|
|
78
|
-
name: "children",
|
|
79
|
-
type: "ReactNode[]",
|
|
80
|
-
description: "Array of content to be displayed as carousel slides, typically Carousel.Slide components",
|
|
81
|
-
required: !0
|
|
82
|
-
}, {
|
|
83
|
-
name: "onSlideChange",
|
|
84
|
-
type: "(index: number) => void",
|
|
85
|
-
description: "Callback fired when the active slide changes"
|
|
86
|
-
}, {
|
|
87
|
-
name: "defaultSlide",
|
|
88
|
-
type: "number",
|
|
89
|
-
description: "Index of the initially active slide",
|
|
90
|
-
default: 0
|
|
91
|
-
}, {
|
|
92
|
-
name: "className",
|
|
93
|
-
type: "string",
|
|
94
|
-
description: "Additional CSS classes to apply to the carousel container"
|
|
95
|
-
}, {
|
|
96
|
-
name: "styles",
|
|
97
|
-
type: "CSSProperties",
|
|
98
|
-
description: "Custom inline styles for the carousel container",
|
|
99
|
-
default: {}
|
|
100
|
-
}],
|
|
101
|
-
examples: ['<Carousel showDots={true}><Carousel.Slide><Image src="/slide1.jpg" /></Carousel.Slide><Carousel.Slide><Image src="/slide2.jpg" /></Carousel.Slide></Carousel>', '<Carousel layout="Vertical" height="400px" autoPlay autoPlayInterval={5000}>{slides}</Carousel>', "<Carousel showArrows={false} showDots={true} loop={true}>{productImages.map(img => <Carousel.Slide key={img.id}><Carousel.Image src={img.url} /></Carousel.Slide>)}</Carousel>", '<Carousel slideWidth="300px" gap="20px" overflow="visible">{cards}</Carousel>']
|
|
102
|
-
}, o = ["Use showDots for quick navigation on mobile; showArrows for desktop-sized carousels.", "Set explicit slideWidth/slideHeight when mixing different content sizes.", "Enable loop for galleries; disable for step-based content walkthroughs.", "Use onSlideChange for analytics or syncing external state.", "Use Carousel with showDots={true} for mobile interfaces where arrow buttons might be too small for touch targets.", 'Apply Carousel layout="Horizontal" (default) for image galleries and product showcases.', 'Set Carousel layout="Vertical" for testimonials or feature lists that benefit from vertical scrolling.', "Use Carousel.Slide wrapper for each slide to ensure proper slide behavior and styling.", "Apply Carousel.Image for optimized image slides with proper aspect ratio handling.", "Combine Carousel with autoPlay and autoPlayInterval for hero banners and promotional content.", "Use Carousel loop={true} for continuous browsing experience in image galleries.", "Set Carousel slideWidth less than 100% to show multiple slides simultaneously for product carousels.", "Apply Carousel gap prop to create visual separation between slides in multi-item carousels.", "Use Carousel showArrows={false} on mobile to rely on touch gestures for navigation.", "Combine Carousel with Card components inside slides for structured content presentation.", "Apply Carousel height with fixed value to prevent layout shifts during slide transitions.", "Use Carousel onSlideChange to update external UI elements like slide counters or descriptions.", "Set Carousel defaultSlide to start from a specific slide based on user context or preferences.", 'Apply Carousel with overflow="visible" and negative margins for edge-bleeding slide effects.', "Use Carousel with responsive slideWidth values for adaptive layouts across screen sizes.", "Combine Carousel with lazy loading for performance optimization with many image slides.", "Apply Carousel padding to create space around the visible slide area for peek effects.", "Use Carousel with keyboard navigation support for accessibility compliance.", "Set Carousel with touch and swipe gestures enabled by default for mobile usability.", "Apply Carousel inside Modal for image lightbox and gallery viewing experiences.", "Use Carousel with thumbnail navigation below main carousel for image galleries.", "Combine Carousel with video content using proper pause/play on slide change.", "Apply Carousel with consistent aspect ratios across slides to prevent jarring transitions.", "Use Carousel showDots with custom dot styling for brand-aligned indicators.", "Set Carousel with aria-labels for screen reader navigation announcements.", "Apply Carousel with fade transitions instead of slide for smoother visual effects.", "Use Carousel in hero sections with full-width layout and background images.", "Combine Carousel with progressive loading for better perceived performance.", "Apply Carousel with pause on hover for autoPlay to improve user control.", "Use Carousel with dynamic children array for data-driven slide generation.", "Set Carousel with responsive showArrows hiding arrows on small screens.", "Apply Carousel with infinite scroll pattern using loop and dynamic content loading.", "Use Carousel for step-by-step tutorials with navigation controls for user pacing.", "Combine Carousel with form steps for multi-step form wizards.", "Apply Carousel with synchronized controls for multiple related carousels.", 'Use Carousel slideHeight="auto" for content-driven height with variable slide content.', "Set Carousel with preload strategies for adjacent slides to ensure smooth transitions.", "Apply Carousel with custom navigation using external buttons via ref methods.", "Use Carousel for comparison views with side-by-side product features.", "Combine Carousel with zoom functionality for detailed product image inspection.", 'Apply Carousel with slide counters showing "1 of 5" style position indicators.', "Use Carousel in testimonial sections with automatic rotation for social proof.", "Set Carousel with reduced motion preferences for accessibility considerations.", "Apply Carousel with analytics tracking on slide views and interactions.", "Use Carousel for date/time pickers with vertical or horizontal scrolling.", "Combine Carousel with filters to dynamically update displayed slides.", "Apply Carousel with skeleton loaders while slide content is being fetched.", "Use Carousel for onboarding flows with clear progression through steps.", "Set Carousel with custom slide animations for branded experiences."], i = {
|
|
103
|
-
component: e,
|
|
104
|
-
compositionTips: o
|
|
105
|
-
};
|
|
106
|
-
export {
|
|
107
|
-
i as default
|
|
108
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "ChatBubble",
|
|
3
|
-
import: "import { ChatBubble } from 'gd-design-library'",
|
|
4
|
-
description: "Chat message bubble component for displaying conversation messages with distinct styling for questions and answers, optional action buttons, and status indicators for message states.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "variant",
|
|
7
|
-
type: "ChatBubbleVariant",
|
|
8
|
-
description: "Determines the visual style and behavior of the chat bubble",
|
|
9
|
-
default: "question",
|
|
10
|
-
enum: ["question", "answer"]
|
|
11
|
-
}, {
|
|
12
|
-
name: "children",
|
|
13
|
-
type: "ReactNode",
|
|
14
|
-
description: "Content to be displayed within the chat bubble",
|
|
15
|
-
required: !0
|
|
16
|
-
}, {
|
|
17
|
-
name: "actions",
|
|
18
|
-
type: "ReactNode[]",
|
|
19
|
-
description: "Array of action buttons to be displayed below the message",
|
|
20
|
-
default: []
|
|
21
|
-
}, {
|
|
22
|
-
name: "status",
|
|
23
|
-
type: "ChatBubbleStatus",
|
|
24
|
-
description: "Indicates the current state of the message",
|
|
25
|
-
enum: ["pending", "fulfilled", "undefined"]
|
|
26
|
-
}],
|
|
27
|
-
examples: ['<ChatBubble variant="question">How can I help you today?</ChatBubble>', '<ChatBubble variant="answer" status="pending">Typing response...</ChatBubble>', '<ChatBubble variant="answer" status="fulfilled" actions={[<Button variant="text">Copy</Button>, <Button variant="text">Share</Button>]}>Here is the answer to your question.</ChatBubble>', '<ChatBubble variant="question" actions={[<Button variant="text" size="sm">Edit</Button>]}>What is the weather like?</ChatBubble>']
|
|
28
|
-
}, t = ['Use ChatBubble variant="question" for user messages and variant="answer" for AI/agent responses in chat interfaces.', 'Apply ChatBubble status="pending" with loading indicator or typing animation while generating responses.', 'Set ChatBubble status="fulfilled" when message is fully loaded and ready for interaction.', "Use ChatBubble actions prop with copy, share, or feedback buttons for message interactions.", "Apply ChatBubble within ChatContainer children wrapped in Column for proper message spacing.", "Combine ChatBubble with Avatar component to show sender identity in multi-user chats.", 'Use ChatBubble with timestamp using Typography variant="caption" for message metadata.', "Apply ChatBubble variant styling consistently to distinguish between sender and receiver messages.", "Set ChatBubble actions with icon-only Button components for compact action bars.", "Use ChatBubble with conditional rendering of actions based on message type or user permissions.", "Apply ChatBubble with markdown or rich text rendering in children for formatted messages.", "Combine multiple ChatBubble components with Separator for date or session breaks.", 'Use ChatBubble status="pending" with Skeleton or dots loader for realistic typing indicators.', "Apply ChatBubble with error state styling when message fails to send or load.", "Set ChatBubble with max-width constraints for better readability on wide screens.", 'Use ChatBubble variant="question" aligned to right and variant="answer" to left for visual flow.', "Apply ChatBubble with smooth scroll-to-bottom behavior when new messages appear.", "Combine ChatBubble with InlineNotification for system messages or alerts within chat.", "Use ChatBubble actions with tooltips for action button descriptions on hover.", "Apply ChatBubble with code syntax highlighting when displaying code snippets in messages.", "Set ChatBubble with responsive padding and font sizes for mobile chat interfaces.", "Use ChatBubble with message editing capability by replacing children content on edit action.", "Apply ChatBubble with message threading support using indentation or visual connectors.", "Combine ChatBubble with file attachments using Card or Image components within children.", "Use ChatBubble variant colors from theme for consistent brand appearance.", "Apply ChatBubble with keyboard navigation support for accessible message interactions.", "Set ChatBubble with auto-retry mechanism for failed messages with status tracking.", "Use ChatBubble with real-time status updates via WebSocket for live chat experiences.", "Apply ChatBubble with message reactions using emoji buttons in actions array.", "Combine ChatBubble with voice message playback controls when displaying audio messages.", "Use ChatBubble with link preview cards when URLs are detected in message content.", "Apply ChatBubble with message grouping for consecutive messages from same sender.", "Set ChatBubble with delivery receipts using status indicators below messages.", "Use ChatBubble with translation actions for multi-language chat support.", "Apply ChatBubble with context menu on right-click for additional message options.", "Combine ChatBubble with typing indicators showing multiple users typing simultaneously.", "Use ChatBubble with message search highlighting for finding specific content.", 'Apply ChatBubble with collapsible long messages using "Show more" buttons.', "Set ChatBubble with consistent border-radius matching overall app design language.", 'Use ChatBubble variant="answer" with streaming text effect for AI responses.', "Apply ChatBubble with message pinning capability for important messages.", "Combine ChatBubble with user mentions using @ symbols with autocomplete.", "Use ChatBubble with message forwarding actions to share across conversations.", "Apply ChatBubble with read receipts showing user avatars who have read the message.", "Set ChatBubble with animated entrance effects for smooth message appearance.", "Use ChatBubble with quick reply suggestions as clickable chips below messages.", "Apply ChatBubble with message encryption indicators for secure conversations.", "Combine ChatBubble with location sharing displaying maps within message content.", "Use ChatBubble with message scheduling showing future send times."], a = {
|
|
29
|
-
component: e,
|
|
30
|
-
compositionTips: t
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
a as default
|
|
34
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "ChatContainer",
|
|
3
|
-
import: "import { ChatContainer } from 'gd-design-library'",
|
|
4
|
-
description: "Container component for chat interfaces with sidebar support and responsive layout variants.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "ref",
|
|
7
|
-
type: "RefObject<ChatContainerRef>",
|
|
8
|
-
description: "Forwarded ref that provides access to container methods: isOpen, open(), close(), and toggle()"
|
|
9
|
-
}, {
|
|
10
|
-
name: "variant",
|
|
11
|
-
type: "ChatLayoutVariant",
|
|
12
|
-
description: 'Layout variant: "auto" adapts based on screen size, "desktop" maintains sidebar, "drawer" shows sidebar as overlay',
|
|
13
|
-
default: "auto",
|
|
14
|
-
enum: ["auto", "desktop", "drawer"]
|
|
15
|
-
}, {
|
|
16
|
-
name: "isOpen",
|
|
17
|
-
type: "boolean",
|
|
18
|
-
description: "Controls the visibility of the sidebar",
|
|
19
|
-
default: !0
|
|
20
|
-
}, {
|
|
21
|
-
name: "onToggleSidebar",
|
|
22
|
-
type: "(isOpen: boolean) => void",
|
|
23
|
-
description: "Callback fired when sidebar is toggled, receives new isOpen state"
|
|
24
|
-
}, {
|
|
25
|
-
name: "headerContent",
|
|
26
|
-
type: "ReactNode",
|
|
27
|
-
description: "Content to be rendered in the main header area"
|
|
28
|
-
}, {
|
|
29
|
-
name: "sidebarHeaderContent",
|
|
30
|
-
type: "ReactNode",
|
|
31
|
-
description: "Content to be rendered in the sidebar header"
|
|
32
|
-
}, {
|
|
33
|
-
name: "sidebarContent",
|
|
34
|
-
type: "ReactNode",
|
|
35
|
-
description: "Content to be rendered in the sidebar main area"
|
|
36
|
-
}, {
|
|
37
|
-
name: "children",
|
|
38
|
-
type: "ReactNode",
|
|
39
|
-
description: "Main chat content, typically a series of chat bubbles"
|
|
40
|
-
}],
|
|
41
|
-
examples: ['<ChatContainer variant="auto" isOpen={true} onToggleSidebar={handleToggle} headerContent={<Header />} sidebarContent={<ConversationList />}>{chatMessages}</ChatContainer>']
|
|
42
|
-
}, t = ["Use ChatContainer as the root layout component for chat interfaces with sidebar navigation.", 'Set ChatContainer variant="auto" for responsive behavior that adapts between desktop and mobile layouts.', 'Use ChatContainer variant="desktop" to always show sidebar alongside chat content on larger screens.', 'Apply ChatContainer variant="drawer" for overlay sidebar behavior regardless of screen size.', "Control ChatContainer sidebar visibility with isOpen prop and onToggleSidebar callback for state management.", "Place navigation controls in ChatContainer headerContent for consistent header across all views.", "Use ChatContainer sidebarHeaderContent for search bars or filters above conversation list.", "Put conversation list or channel navigation in ChatContainer sidebarContent prop.", "Wrap chat messages and input controls as ChatContainer children for the main chat area.", "Access ChatContainer imperative methods via ref for programmatic open(), close(), and toggle() control.", "Combine ChatContainer with FlexContainer or Column inside children for structured message layout.", "Use ChatContainer ref.isOpen to check current sidebar state before performing actions.", "Implement ChatContainer onToggleSidebar to sync sidebar state with application state management.", 'Consider ChatContainer variant="drawer" on tablets for better touch interaction with swipe gestures.', "Place user profile or settings in ChatContainer sidebarHeaderContent for quick access.", "Use ChatContainer with nested Card components in sidebarContent for organized conversation groups.", "Apply ChatContainer ref methods in keyboard shortcuts for power user sidebar control.", "Combine ChatContainer with Select in headerContent for channel or contact switching.", "Structure ChatContainer children with Column for vertical message flow with proper spacing.", 'Use ChatContainer sidebarContent with overflow="auto" child for scrollable conversation lists.'], a = {
|
|
43
|
-
component: e,
|
|
44
|
-
compositionTips: t
|
|
45
|
-
};
|
|
46
|
-
export {
|
|
47
|
-
a as default
|
|
48
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
name: "Column",
|
|
3
|
-
import: "import { Column } from 'gd-design-library'",
|
|
4
|
-
description: "Vertical stack with spacing utilities.",
|
|
5
|
-
props: [{
|
|
6
|
-
name: "align",
|
|
7
|
-
type: "string",
|
|
8
|
-
description: "Vertical alignment of items within the column",
|
|
9
|
-
default: "stretch",
|
|
10
|
-
enum: ["start", "center", "end", "stretch"]
|
|
11
|
-
}, {
|
|
12
|
-
name: "justify",
|
|
13
|
-
type: "string",
|
|
14
|
-
description: "Horizontal distribution of items",
|
|
15
|
-
default: "start",
|
|
16
|
-
enum: ["start", "center", "end", "space-between", "space-around"]
|
|
17
|
-
}, {
|
|
18
|
-
name: "gutter",
|
|
19
|
-
type: "number",
|
|
20
|
-
description: "Space between items in pixels",
|
|
21
|
-
default: 16
|
|
22
|
-
}, {
|
|
23
|
-
name: "isWrap",
|
|
24
|
-
type: "boolean",
|
|
25
|
-
description: "Enable content wrapping",
|
|
26
|
-
default: !0
|
|
27
|
-
}, {
|
|
28
|
-
name: "flex",
|
|
29
|
-
type: "string",
|
|
30
|
-
description: "CSS flex property value",
|
|
31
|
-
default: "1 1 auto"
|
|
32
|
-
}, {
|
|
33
|
-
name: "minWidth",
|
|
34
|
-
type: "string",
|
|
35
|
-
description: "Minimum width of the column"
|
|
36
|
-
}, {
|
|
37
|
-
name: "isReversed",
|
|
38
|
-
type: "boolean",
|
|
39
|
-
description: "Reverse the order of items",
|
|
40
|
-
default: !1
|
|
41
|
-
}, {
|
|
42
|
-
name: "width",
|
|
43
|
-
type: "string",
|
|
44
|
-
description: "Width of the column"
|
|
45
|
-
}, {
|
|
46
|
-
name: "height",
|
|
47
|
-
type: "string",
|
|
48
|
-
description: "Height of the column"
|
|
49
|
-
}, {
|
|
50
|
-
name: "padding",
|
|
51
|
-
type: "string",
|
|
52
|
-
description: "Padding around the column content"
|
|
53
|
-
}, {
|
|
54
|
-
name: "margin",
|
|
55
|
-
type: "string",
|
|
56
|
-
description: "Margin around the column"
|
|
57
|
-
}, {
|
|
58
|
-
name: "styles",
|
|
59
|
-
type: "CSSProperties",
|
|
60
|
-
description: "Custom CSS styles"
|
|
61
|
-
}],
|
|
62
|
-
examples: ['<Column gutter={16} align="center" justify="start">...</Column>']
|
|
63
|
-
}, t = ["Set Column gutter prop for consistent vertical spacing between child elements (default 16px).", 'Use Column align="center" to center content vertically within each row of the column.', 'Apply Column justify="space-between" to distribute items evenly with space between them.', "Set Column isReversed={true} to reverse the visual order of items without changing DOM structure.", 'Use Column with fixed height and justify="center" to vertically center content in a container.', "Combine Column isWrap={false} with overflow styles for non-wrapping scrollable content.", 'Apply Column flex="1 1 auto" to make it fill available space in a flex parent container.', "Use nested Columns with different gutter values for hierarchical content organization.", "Set Column minWidth to prevent content from becoming too narrow on small screens.", 'Use Column align="stretch" (default) to make all children take full width of the container.', "Apply Column padding for internal spacing without affecting the gutter between items.", "Combine Column with Card component for well-organized form layouts with proper spacing.", 'Use Column justify="end" to push content to the bottom of a fixed-height container.', 'Set Column width="100%" with maxWidth for responsive full-width layouts with constraints.'], n = {
|
|
64
|
-
component: e,
|
|
65
|
-
compositionTips: t
|
|
66
|
-
};
|
|
67
|
-
export {
|
|
68
|
-
n as default
|
|
69
|
-
};
|