oddsgate-ds 1.0.11 → 1.0.14
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/.babelrc.json +16 -0
- package/.editorconfig +12 -0
- package/.storybook/main.ts +46 -17
- package/.storybook/preview.ts +10 -8
- package/declaration.d.ts +4 -0
- package/dist/cjs/index.js +17 -2021
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/atoms/Button/Button.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Button/Button.interface.d.ts +28 -0
- package/dist/cjs/types/components/atoms/Button/Button.stories.d.ts +7 -0
- package/dist/cjs/types/components/atoms/Button/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Chip/Chip.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Chip/Chip.interface.d.ts +9 -0
- package/dist/cjs/types/components/atoms/Chip/Chip.stories.d.ts +6 -0
- package/dist/cjs/types/components/atoms/Chip/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/CloseButton/CloseButton.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/CloseButton/CloseButton.interface.d.ts +8 -0
- package/dist/cjs/types/components/atoms/CloseButton/CloseButton.stories.d.ts +6 -0
- package/dist/cjs/types/components/atoms/CloseButton/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/EmptyState/EmptyState.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/EmptyState/EmptyState.interface.d.ts +9 -0
- package/dist/cjs/types/components/atoms/EmptyState/EmptyState.stories.d.ts +6 -0
- package/dist/cjs/types/components/atoms/EmptyState/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Flex/Flex.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Flex/Flex.interface.d.ts +21 -0
- package/dist/cjs/types/components/atoms/Flex/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/FlexGrid/FlexGrid.component.d.ts +5 -0
- package/dist/cjs/types/components/atoms/FlexGrid/FlexGrid.interface.d.ts +46 -0
- package/dist/cjs/types/components/atoms/FlexGrid/FlexGrid.stories.d.ts +7 -0
- package/dist/cjs/types/components/atoms/FlexGrid/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/FormField/CheckRadioField/CheckRadioField.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/FormField/CheckRadioField/CheckRadioField.interface.d.ts +7 -0
- package/dist/cjs/types/components/atoms/FormField/CheckRadioField/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/FormField/FormField.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/FormField/FormField.interface.d.ts +10 -0
- package/dist/cjs/types/components/atoms/FormField/FormField.stories.d.ts +9 -0
- package/dist/cjs/types/components/atoms/FormField/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Heading/Heading.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Heading/Heading.interface.d.ts +19 -0
- package/dist/cjs/types/components/atoms/Heading/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Icon/Icon.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Icon/Icon.interface.d.ts +7 -0
- package/dist/cjs/types/components/atoms/Icon/Icon.stories.d.ts +5 -0
- package/dist/cjs/types/components/atoms/Icon/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/ImageWrapper/ImageWrapper.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/ImageWrapper/ImageWrapper.interface.d.ts +15 -0
- package/dist/cjs/types/components/atoms/ImageWrapper/ImageWrapper.stories.d.ts +5 -0
- package/dist/cjs/types/components/atoms/ImageWrapper/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Loader/Loader.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Loader/Loader.interface.d.ts +9 -0
- package/dist/cjs/types/components/atoms/Loader/Loader.stories.d.ts +6 -0
- package/dist/cjs/types/components/atoms/Loader/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Marquee/Marquee.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Marquee/Marquee.interface.d.ts +7 -0
- package/dist/cjs/types/components/atoms/Marquee/Marquee.stories.d.ts +5 -0
- package/dist/cjs/types/components/atoms/Marquee/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Quote/Quote.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Quote/Quote.interface.d.ts +9 -0
- package/dist/cjs/types/components/atoms/Quote/Quote.stories.d.ts +6 -0
- package/dist/cjs/types/components/atoms/Quote/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/RichText/RichText.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/RichText/RichText.interface.d.ts +10 -0
- package/dist/cjs/types/components/atoms/RichText/RichText.stories.d.ts +7 -0
- package/dist/cjs/types/components/atoms/RichText/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/ScrollingNav/ScrollingNav.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/ScrollingNav/ScrollingNav.interface.d.ts +7 -0
- package/dist/cjs/types/components/atoms/ScrollingNav/ScrollingNav.stories.d.ts +5 -0
- package/dist/cjs/types/components/atoms/ScrollingNav/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Separator/Separator.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Separator/Separator.interface.d.ts +8 -0
- package/dist/cjs/types/components/atoms/Separator/Separator.stories.d.ts +5 -0
- package/dist/cjs/types/components/atoms/Separator/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/SocialLinks/SocialLinks.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/SocialLinks/SocialLinks.interface.d.ts +7 -0
- package/dist/cjs/types/components/atoms/SocialLinks/SocialLinks.stories.d.ts +6 -0
- package/dist/cjs/types/components/atoms/SocialLinks/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Spacer/Spacer.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Spacer/Spacer.interface.d.ts +10 -0
- package/dist/cjs/types/components/atoms/Spacer/Spacer.stories.d.ts +5 -0
- package/dist/cjs/types/components/atoms/Spacer/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/Video/Video.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/Video/Video.interface.d.ts +12 -0
- package/dist/cjs/types/components/atoms/Video/Video.stories.d.ts +5 -0
- package/dist/cjs/types/components/atoms/Video/index.d.ts +1 -0
- package/dist/cjs/types/components/atoms/VideoEmbed/VideoEmbed.component.d.ts +4 -0
- package/dist/cjs/types/components/atoms/VideoEmbed/VideoEmbed.interface.d.ts +12 -0
- package/dist/cjs/types/components/atoms/VideoEmbed/VideoEmbed.stories.d.ts +5 -0
- package/dist/cjs/types/components/atoms/VideoEmbed/index.d.ts +1 -0
- package/dist/cjs/types/components/common/PortalComponent/PortalComponent.d.ts +7 -0
- package/dist/cjs/types/components/common/PortalComponent/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/Accordion/Accordion.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/Accordion/Accordion.interface.d.ts +13 -0
- package/dist/cjs/types/components/molecules/Accordion/Accordion.stories.d.ts +5 -0
- package/dist/cjs/types/components/molecules/Accordion/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/BlogCard/BlogCard.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/BlogCard/BlogCard.interface.d.ts +10 -0
- package/dist/cjs/types/components/molecules/BlogCard/BlogCard.stories.d.ts +5 -0
- package/dist/cjs/types/components/molecules/BlogCard/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/Card/Card.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/Card/Card.interface.d.ts +9 -0
- package/dist/cjs/types/components/molecules/Card/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/Dropdown/Dropdown.component.d.ts +5 -0
- package/dist/cjs/types/components/molecules/Dropdown/Dropdown.interface.d.ts +25 -0
- package/dist/cjs/types/components/molecules/Dropdown/Dropdown.stories.d.ts +5 -0
- package/dist/cjs/types/components/molecules/Dropdown/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/IconBox/IconBox.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/IconBox/IconBox.interface.d.ts +9 -0
- package/dist/cjs/types/components/molecules/IconBox/IconBox.stories.d.ts +5 -0
- package/dist/cjs/types/components/molecules/IconBox/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/IconTitle/IconTitle.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/IconTitle/IconTitle.interface.d.ts +9 -0
- package/dist/cjs/types/components/molecules/IconTitle/IconTitle.stories.d.ts +6 -0
- package/dist/cjs/types/components/molecules/IconTitle/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/Modal/Modal.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/Modal/Modal.interface.d.ts +10 -0
- package/dist/cjs/types/components/molecules/Modal/Modal.stories.d.ts +5 -0
- package/dist/cjs/types/components/molecules/Modal/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/OffCanvas/OffCanvas.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/OffCanvas/OffCanvas.interface.d.ts +11 -0
- package/dist/cjs/types/components/molecules/OffCanvas/OffCanvas.stories.d.ts +5 -0
- package/dist/cjs/types/components/molecules/OffCanvas/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/ProjectCard/ProjectCard.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/ProjectCard/ProjectCard.interface.d.ts +8 -0
- package/dist/cjs/types/components/molecules/ProjectCard/ProjectCard.stories.d.ts +5 -0
- package/dist/cjs/types/components/molecules/ProjectCard/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/ShareModal/ShareModal.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/ShareModal/ShareModal.interface.d.ts +9 -0
- package/dist/cjs/types/components/molecules/ShareModal/ShareModal.stories.d.ts +5 -0
- package/dist/cjs/types/components/molecules/ShareModal/index.d.ts +1 -0
- package/dist/cjs/types/components/molecules/TeamCard/TeamCard.component.d.ts +4 -0
- package/dist/cjs/types/components/molecules/TeamCard/TeamCard.interface.d.ts +7 -0
- package/dist/cjs/types/components/molecules/TeamCard/TeamCard.stories.d.ts +5 -0
- package/dist/cjs/types/components/molecules/TeamCard/index.d.ts +1 -0
- package/dist/cjs/types/components/organisms/Cover/Cover.component.d.ts +4 -0
- package/dist/cjs/types/components/organisms/Cover/Cover.interface.d.ts +13 -0
- package/dist/cjs/types/components/organisms/Cover/Cover.stories.d.ts +6 -0
- package/dist/cjs/types/components/organisms/Cover/index.d.ts +1 -0
- package/dist/cjs/types/components/organisms/Slider/Slider.component.d.ts +4 -0
- package/dist/cjs/types/components/organisms/Slider/Slider.interface.d.ts +16 -0
- package/dist/cjs/types/components/organisms/Slider/Slider.stories.d.ts +5 -0
- package/dist/cjs/types/components/organisms/Slider/Slider.utils.d.ts +6 -0
- package/dist/cjs/types/components/organisms/Slider/index.d.ts +1 -0
- package/dist/cjs/types/helpers/clickOutsideToClose.d.ts +2 -0
- package/dist/cjs/types/helpers/exportCSS.d.ts +4 -0
- package/dist/cjs/types/helpers/getIcons.d.ts +1 -0
- package/dist/cjs/types/helpers/useMediaQuery.d.ts +2 -0
- package/dist/cjs/types/helpers/uuid.d.ts +1 -0
- package/dist/cjs/types/index.d.ts +41 -0
- package/dist/cjs/types/stories/Documentation/Colors.stories.d.ts +4 -0
- package/dist/cjs/types/stories/Documentation/Headings.stories.d.ts +4 -0
- package/dist/cjs/types/stories/Documentation/Icons.stories.d.ts +4 -0
- package/dist/cjs/types/stories/Documentation/JWT.stories.d.ts +4 -0
- package/dist/cjs/types/stories/Documentation/Utilities.stories.d.ts +4 -0
- package/dist/cjs/types/styles/Global.d.ts +3 -0
- package/dist/cjs/types/styles/grid.d.ts +8 -0
- package/dist/cjs/types/styles/reset.d.ts +2 -0
- package/dist/cjs/types/styles/utilities.d.ts +12 -0
- package/dist/cjs/types/styles/variables.d.ts +32 -0
- package/dist/esm/assets/components/quotes.svg +3 -0
- package/dist/esm/index.js +12 -8061
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/atoms/Button/Button.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Button/Button.interface.d.ts +28 -0
- package/dist/esm/types/components/atoms/Button/Button.stories.d.ts +7 -0
- package/dist/esm/types/components/atoms/Button/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Chip/Chip.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Chip/Chip.interface.d.ts +9 -0
- package/dist/esm/types/components/atoms/Chip/Chip.stories.d.ts +6 -0
- package/dist/esm/types/components/atoms/Chip/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/CloseButton/CloseButton.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/CloseButton/CloseButton.interface.d.ts +8 -0
- package/dist/esm/types/components/atoms/CloseButton/CloseButton.stories.d.ts +6 -0
- package/dist/esm/types/components/atoms/CloseButton/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/EmptyState/EmptyState.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/EmptyState/EmptyState.interface.d.ts +9 -0
- package/dist/esm/types/components/atoms/EmptyState/EmptyState.stories.d.ts +6 -0
- package/dist/esm/types/components/atoms/EmptyState/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Flex/Flex.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Flex/Flex.interface.d.ts +21 -0
- package/dist/esm/types/components/atoms/Flex/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/FlexGrid/FlexGrid.component.d.ts +5 -0
- package/dist/esm/types/components/atoms/FlexGrid/FlexGrid.interface.d.ts +46 -0
- package/dist/esm/types/components/atoms/FlexGrid/FlexGrid.stories.d.ts +7 -0
- package/dist/esm/types/components/atoms/FlexGrid/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/FormField/CheckRadioField/CheckRadioField.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/FormField/CheckRadioField/CheckRadioField.interface.d.ts +7 -0
- package/dist/esm/types/components/atoms/FormField/CheckRadioField/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/FormField/FormField.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/FormField/FormField.interface.d.ts +10 -0
- package/dist/esm/types/components/atoms/FormField/FormField.stories.d.ts +9 -0
- package/dist/esm/types/components/atoms/FormField/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Heading/Heading.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Heading/Heading.interface.d.ts +19 -0
- package/dist/esm/types/components/atoms/Heading/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Icon/Icon.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Icon/Icon.interface.d.ts +7 -0
- package/dist/esm/types/components/atoms/Icon/Icon.stories.d.ts +5 -0
- package/dist/esm/types/components/atoms/Icon/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/ImageWrapper/ImageWrapper.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/ImageWrapper/ImageWrapper.interface.d.ts +15 -0
- package/dist/esm/types/components/atoms/ImageWrapper/ImageWrapper.stories.d.ts +5 -0
- package/dist/esm/types/components/atoms/ImageWrapper/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Loader/Loader.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Loader/Loader.interface.d.ts +9 -0
- package/dist/esm/types/components/atoms/Loader/Loader.stories.d.ts +6 -0
- package/dist/esm/types/components/atoms/Loader/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Marquee/Marquee.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Marquee/Marquee.interface.d.ts +7 -0
- package/dist/esm/types/components/atoms/Marquee/Marquee.stories.d.ts +5 -0
- package/dist/esm/types/components/atoms/Marquee/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Quote/Quote.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Quote/Quote.interface.d.ts +9 -0
- package/dist/esm/types/components/atoms/Quote/Quote.stories.d.ts +6 -0
- package/dist/esm/types/components/atoms/Quote/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/RichText/RichText.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/RichText/RichText.interface.d.ts +10 -0
- package/dist/esm/types/components/atoms/RichText/RichText.stories.d.ts +7 -0
- package/dist/esm/types/components/atoms/RichText/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/ScrollingNav/ScrollingNav.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/ScrollingNav/ScrollingNav.interface.d.ts +7 -0
- package/dist/esm/types/components/atoms/ScrollingNav/ScrollingNav.stories.d.ts +5 -0
- package/dist/esm/types/components/atoms/ScrollingNav/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Separator/Separator.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Separator/Separator.interface.d.ts +8 -0
- package/dist/esm/types/components/atoms/Separator/Separator.stories.d.ts +5 -0
- package/dist/esm/types/components/atoms/Separator/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/SocialLinks/SocialLinks.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/SocialLinks/SocialLinks.interface.d.ts +7 -0
- package/dist/esm/types/components/atoms/SocialLinks/SocialLinks.stories.d.ts +6 -0
- package/dist/esm/types/components/atoms/SocialLinks/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Spacer/Spacer.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Spacer/Spacer.interface.d.ts +10 -0
- package/dist/esm/types/components/atoms/Spacer/Spacer.stories.d.ts +5 -0
- package/dist/esm/types/components/atoms/Spacer/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/Video/Video.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/Video/Video.interface.d.ts +12 -0
- package/dist/esm/types/components/atoms/Video/Video.stories.d.ts +5 -0
- package/dist/esm/types/components/atoms/Video/index.d.ts +1 -0
- package/dist/esm/types/components/atoms/VideoEmbed/VideoEmbed.component.d.ts +4 -0
- package/dist/esm/types/components/atoms/VideoEmbed/VideoEmbed.interface.d.ts +12 -0
- package/dist/esm/types/components/atoms/VideoEmbed/VideoEmbed.stories.d.ts +5 -0
- package/dist/esm/types/components/atoms/VideoEmbed/index.d.ts +1 -0
- package/dist/esm/types/components/common/PortalComponent/PortalComponent.d.ts +7 -0
- package/dist/esm/types/components/common/PortalComponent/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/Accordion/Accordion.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/Accordion/Accordion.interface.d.ts +13 -0
- package/dist/esm/types/components/molecules/Accordion/Accordion.stories.d.ts +5 -0
- package/dist/esm/types/components/molecules/Accordion/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/BlogCard/BlogCard.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/BlogCard/BlogCard.interface.d.ts +10 -0
- package/dist/esm/types/components/molecules/BlogCard/BlogCard.stories.d.ts +5 -0
- package/dist/esm/types/components/molecules/BlogCard/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/Card/Card.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/Card/Card.interface.d.ts +9 -0
- package/dist/esm/types/components/molecules/Card/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/Dropdown/Dropdown.component.d.ts +5 -0
- package/dist/esm/types/components/molecules/Dropdown/Dropdown.interface.d.ts +25 -0
- package/dist/esm/types/components/molecules/Dropdown/Dropdown.stories.d.ts +5 -0
- package/dist/esm/types/components/molecules/Dropdown/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/IconBox/IconBox.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/IconBox/IconBox.interface.d.ts +9 -0
- package/dist/esm/types/components/molecules/IconBox/IconBox.stories.d.ts +5 -0
- package/dist/esm/types/components/molecules/IconBox/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/IconTitle/IconTitle.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/IconTitle/IconTitle.interface.d.ts +9 -0
- package/dist/esm/types/components/molecules/IconTitle/IconTitle.stories.d.ts +6 -0
- package/dist/esm/types/components/molecules/IconTitle/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/Modal/Modal.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/Modal/Modal.interface.d.ts +10 -0
- package/dist/esm/types/components/molecules/Modal/Modal.stories.d.ts +5 -0
- package/dist/esm/types/components/molecules/Modal/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/OffCanvas/OffCanvas.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/OffCanvas/OffCanvas.interface.d.ts +11 -0
- package/dist/esm/types/components/molecules/OffCanvas/OffCanvas.stories.d.ts +5 -0
- package/dist/esm/types/components/molecules/OffCanvas/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/ProjectCard/ProjectCard.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/ProjectCard/ProjectCard.interface.d.ts +8 -0
- package/dist/esm/types/components/molecules/ProjectCard/ProjectCard.stories.d.ts +5 -0
- package/dist/esm/types/components/molecules/ProjectCard/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/ShareModal/ShareModal.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/ShareModal/ShareModal.interface.d.ts +9 -0
- package/dist/esm/types/components/molecules/ShareModal/ShareModal.stories.d.ts +5 -0
- package/dist/esm/types/components/molecules/ShareModal/index.d.ts +1 -0
- package/dist/esm/types/components/molecules/TeamCard/TeamCard.component.d.ts +4 -0
- package/dist/esm/types/components/molecules/TeamCard/TeamCard.interface.d.ts +7 -0
- package/dist/esm/types/components/molecules/TeamCard/TeamCard.stories.d.ts +5 -0
- package/dist/esm/types/components/molecules/TeamCard/index.d.ts +1 -0
- package/dist/esm/types/components/organisms/Cover/Cover.component.d.ts +4 -0
- package/dist/esm/types/components/organisms/Cover/Cover.interface.d.ts +13 -0
- package/dist/esm/types/components/organisms/Cover/Cover.stories.d.ts +6 -0
- package/dist/esm/types/components/organisms/Cover/index.d.ts +1 -0
- package/dist/esm/types/components/organisms/Slider/Slider.component.d.ts +4 -0
- package/dist/esm/types/components/organisms/Slider/Slider.interface.d.ts +16 -0
- package/dist/esm/types/components/organisms/Slider/Slider.stories.d.ts +5 -0
- package/dist/esm/types/components/organisms/Slider/Slider.utils.d.ts +6 -0
- package/dist/esm/types/components/organisms/Slider/index.d.ts +1 -0
- package/dist/esm/types/helpers/clickOutsideToClose.d.ts +2 -0
- package/dist/esm/types/helpers/exportCSS.d.ts +4 -0
- package/dist/esm/types/helpers/getIcons.d.ts +1 -0
- package/dist/esm/types/helpers/useMediaQuery.d.ts +2 -0
- package/dist/esm/types/helpers/uuid.d.ts +1 -0
- package/dist/esm/types/index.d.ts +41 -0
- package/dist/esm/types/stories/Documentation/Colors.stories.d.ts +4 -0
- package/dist/esm/types/stories/Documentation/Headings.stories.d.ts +4 -0
- package/dist/esm/types/stories/Documentation/Icons.stories.d.ts +4 -0
- package/dist/esm/types/stories/Documentation/JWT.stories.d.ts +4 -0
- package/dist/esm/types/stories/Documentation/Utilities.stories.d.ts +4 -0
- package/dist/esm/types/styles/Global.d.ts +3 -0
- package/dist/esm/types/styles/grid.d.ts +8 -0
- package/dist/esm/types/styles/reset.d.ts +2 -0
- package/dist/esm/types/styles/utilities.d.ts +12 -0
- package/dist/esm/types/styles/variables.d.ts +32 -0
- package/dist/public/assets/components/quotes.svg +3 -0
- package/docker-compose.yml +11 -0
- package/package.json +70 -50
- package/prettier.config.js +7 -0
- package/rollup.config.js +90 -0
- package/src/components/atoms/Button/Button.theme.ts +3 -3
- package/src/components/atoms/Chip/Chip.stories.tsx +1 -1
- package/src/components/atoms/EmptyState/EmptyState.stories.tsx +1 -1
- package/src/components/atoms/EmptyState/EmptyState.theme.ts +1 -1
- package/src/components/atoms/FormField/CheckRadioField/CheckRadioField.theme.ts +4 -4
- package/src/components/atoms/FormField/FormField.stories.tsx +1 -1
- package/src/components/atoms/FormField/FormField.theme.tsx +2 -2
- package/src/components/atoms/Heading/Heading.component.tsx +3 -2
- package/src/components/atoms/ImageWrapper/ImageWrapper.theme.ts +1 -1
- package/src/components/atoms/Loader/Loader.stories.tsx +1 -1
- package/src/components/atoms/Loader/Loader.theme.ts +2 -2
- package/src/components/atoms/Marquee/Marquee.theme.ts +1 -1
- package/src/components/atoms/Separator/Separator.stories.tsx +8 -8
- package/src/components/atoms/SocialLinks/SocialLinks.theme.ts +2 -2
- package/src/components/atoms/Spacer/Spacer.stories.tsx +8 -8
- package/src/components/molecules/BlogCard/BlogCard.theme.ts +2 -2
- package/src/components/molecules/Dropdown/Dropdown.theme.ts +2 -2
- package/src/components/molecules/IconBox/IconBox.theme.ts +1 -1
- package/src/components/molecules/Modal/Modal.theme.ts +1 -1
- package/src/components/molecules/ProjectCard/ProjectCard.theme.ts +2 -2
- package/src/components/molecules/ShareModal/ShareModal.theme.ts +2 -2
- package/src/helpers/exportCSS.tsx +27 -0
- package/src/styles/Global.ts +1 -1
- package/src/styles/variables.ts +6 -6
- package/tsconfig.json +21 -20
- package/. babelrc +0 -3
- package/.cache/storybook/default/dev-server/a5a8bf6e622aef57065c6498611f40c911543d7d-3920d97c51b8ad2521918fb1205babd22b0ed3d7 +0 -1
- package/.cache/storybook/default/dev-server/a5a8bf6e622aef57065c6498611f40c911543d7d-43fdebe5fc35e4e9fabee9a83c7faea931b05ea0 +0 -1
- package/.cache/storybook/default/dev-server/a5a8bf6e622aef57065c6498611f40c911543d7d-f086b87885981c04ce7a583ff90a49313de83de7 +0 -1
- package/.eslintrc.cjs +0 -14
- package/dist/index.d.ts +0 -512
- package/tsconfig.node.json +0 -11
- package/vite.config.ts +0 -87
- /package/dist/{assets → cjs/assets}/components/quotes.svg +0 -0
- /package/dist/{assets → public/assets}/empty-state.svg +0 -0
- /package/dist/{assets → public/assets}/placeholder.png +0 -0
- /package/dist/{assets → public/assets}/video.mp4 +0 -0
- /package/dist/{fonts → public/fonts}/miewfont/miewfont.eot +0 -0
- /package/dist/{fonts → public/fonts}/miewfont/miewfont.svg +0 -0
- /package/dist/{fonts → public/fonts}/miewfont/miewfont.ttf +0 -0
- /package/dist/{fonts → public/fonts}/miewfont/miewfont.woff +0 -0
package/tsconfig.json
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
|
-
"module": "ESNext",
|
|
3
|
+
"esModuleInterop": true,
|
|
4
|
+
"strict": true,
|
|
7
5
|
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
"
|
|
6
|
+
"jsx": "react",
|
|
7
|
+
"module": "ESNext",
|
|
8
|
+
"declaration": true,
|
|
9
|
+
"declarationDir": "dist/types",
|
|
10
|
+
"noImplicitAny": false,
|
|
11
|
+
"sourceMap": true,
|
|
12
|
+
"outDir": "dist",
|
|
13
|
+
"moduleResolution": "node",
|
|
14
|
+
"emitDeclarationOnly": true,
|
|
15
|
+
"allowSyntheticDefaultImports": true,
|
|
16
|
+
"forceConsistentCasingInFileNames": true,
|
|
12
17
|
"resolveJsonModule": true,
|
|
13
|
-
"
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
"jsx": "react-jsx",
|
|
16
|
-
|
|
17
|
-
/* Linting */
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": false,
|
|
20
|
-
"noUnusedParameters": false,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
|
|
18
|
+
"preserveSymlinks": true,
|
|
23
19
|
"paths": {
|
|
24
20
|
"@/*": ["./src/*"]
|
|
25
21
|
}
|
|
26
22
|
},
|
|
27
|
-
"include": ["
|
|
28
|
-
"
|
|
23
|
+
"include": ["**/*"],
|
|
24
|
+
"exclude": [
|
|
25
|
+
"dist",
|
|
26
|
+
"node_modules",
|
|
27
|
+
"storybook-static",
|
|
28
|
+
"src/**/*.test.tsx",
|
|
29
|
+
]
|
|
29
30
|
}
|
package/. babelrc
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"value":{"id":"FHNYeIfDWnTiqfS24P1KT","lastUsed":1714983288437},"type":"Object","created":"2024-05-06T08:14:48.440Z","ttl":0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"value":1714983160705,"type":"Number","created":"2024-05-06T08:12:40.705Z","ttl":0}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"value":{"scaffolded-empty":{"body":{"eventType":"scaffolded-empty","eventId":"88R_SOHRbq62SeVQCd1Yw","sessionId":"FHNYeIfDWnTiqfS24P1KT","payload":{"packageManager":"npm","projectType":"react-vite-ts","metadataErrorMessage":"No configuration files have been found in your configDir: .storybook.\nStorybook needs a \"main.js\" file, please add it.\n\nYou can pass a --config-dir flag to tell Storybook, where your main.js file is located at).\n\nMore info: https://storybook.js.org/docs/configure\n"},"context":{"inCI":false,"isTTY":true,"platform":"macOS","cliVersion":"8.0.10","anonymousId":"b49ac1d914b7d0126f49e357fdb065f201ad0e89e4f5ebc3ef5698c3ebfe9ba4"}},"timestamp":1714983161040},"init":{"body":{"eventType":"init","eventId":"ocfWYDuHlqPvBNYkLS3fp","sessionId":"FHNYeIfDWnTiqfS24P1KT","metadata":{"generatedAt":1714983231973,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"8.0.10","storybookVersionSpecifier":"^8.0.10","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.0.10"},"@storybook/react":{"version":"8.0.10"},"@storybook/react-vite":{"version":"8.0.10"},"@storybook/test":{"version":"8.0.10"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.0.10"}},"addons":{"@storybook/addon-onboarding":{"version":"8.0.10"},"@storybook/addon-links":{"version":"8.0.10"},"@storybook/addon-essentials":{"version":"8.0.10"},"@chromatic-com/storybook":{"version":"1.3.3"},"@storybook/addon-interactions":{"version":"8.0.10"}}},"payload":{"projectType":"REACT"},"context":{"inCI":false,"isTTY":true,"platform":"macOS","cliVersion":"8.0.10","anonymousId":"b49ac1d914b7d0126f49e357fdb065f201ad0e89e4f5ebc3ef5698c3ebfe9ba4"}},"timestamp":1714983232503},"canceled":{"body":{"eventType":"canceled","eventId":"QBM0zczivIdKpcyAQ22jw","sessionId":"FHNYeIfDWnTiqfS24P1KT","payload":{"eventType":"init"},"context":{"inCI":false,"isTTY":true,"platform":"macOS","cliVersion":"8.0.10"}},"timestamp":1714983288445}},"type":"Object","created":"2024-05-06T08:14:48.446Z","ttl":0}
|
package/.eslintrc.cjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
root: true,
|
|
3
|
-
env: { browser: true, es2020: true },
|
|
4
|
-
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'plugin:storybook/recommended'],
|
|
5
|
-
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
6
|
-
parser: '@typescript-eslint/parser',
|
|
7
|
-
plugins: ['react-refresh'],
|
|
8
|
-
rules: {
|
|
9
|
-
'react-refresh/only-export-components': [
|
|
10
|
-
'warn',
|
|
11
|
-
{ allowConstantExport: true },
|
|
12
|
-
],
|
|
13
|
-
},
|
|
14
|
-
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,512 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
|
-
import * as styled_components from 'styled-components';
|
|
4
|
-
|
|
5
|
-
declare const pxToRem: (size: number) => string;
|
|
6
|
-
declare const fontName = "Noto Sans";
|
|
7
|
-
declare const alternativeFont = "";
|
|
8
|
-
declare const gutter: string;
|
|
9
|
-
declare const desktop_width = "1360";
|
|
10
|
-
declare const tablet_width = "768";
|
|
11
|
-
declare const mobile_width = "375";
|
|
12
|
-
declare const responsiveMedia = "980px";
|
|
13
|
-
declare const mobileMedia = "360px";
|
|
14
|
-
declare const easeOutExpo = "cubic-bezier(.32,.94,.6,1);";
|
|
15
|
-
type IBreakpoints = {
|
|
16
|
-
$xs?: string;
|
|
17
|
-
$sm?: string;
|
|
18
|
-
$md?: string;
|
|
19
|
-
$lg?: string;
|
|
20
|
-
$xl?: string;
|
|
21
|
-
$xxl?: string;
|
|
22
|
-
};
|
|
23
|
-
declare const colors: Record<string, string>;
|
|
24
|
-
declare const spaces: Record<string, string>;
|
|
25
|
-
declare const spacesNegative: Record<string, string>;
|
|
26
|
-
declare const typography: Record<string, Record<string, unknown>>;
|
|
27
|
-
declare const radius: Record<string, string>;
|
|
28
|
-
declare const shadows: Record<string, string>;
|
|
29
|
-
declare const zIndexes: Record<string, string>;
|
|
30
|
-
declare const grid_conf: {
|
|
31
|
-
gridSize: number;
|
|
32
|
-
gutter: number;
|
|
33
|
-
mediaQuery: string;
|
|
34
|
-
container: IBreakpoints;
|
|
35
|
-
breakpoints: IBreakpoints;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
type variables_IBreakpoints = IBreakpoints;
|
|
39
|
-
declare const variables_alternativeFont: typeof alternativeFont;
|
|
40
|
-
declare const variables_colors: typeof colors;
|
|
41
|
-
declare const variables_desktop_width: typeof desktop_width;
|
|
42
|
-
declare const variables_easeOutExpo: typeof easeOutExpo;
|
|
43
|
-
declare const variables_fontName: typeof fontName;
|
|
44
|
-
declare const variables_grid_conf: typeof grid_conf;
|
|
45
|
-
declare const variables_gutter: typeof gutter;
|
|
46
|
-
declare const variables_mobileMedia: typeof mobileMedia;
|
|
47
|
-
declare const variables_mobile_width: typeof mobile_width;
|
|
48
|
-
declare const variables_pxToRem: typeof pxToRem;
|
|
49
|
-
declare const variables_radius: typeof radius;
|
|
50
|
-
declare const variables_responsiveMedia: typeof responsiveMedia;
|
|
51
|
-
declare const variables_shadows: typeof shadows;
|
|
52
|
-
declare const variables_spaces: typeof spaces;
|
|
53
|
-
declare const variables_spacesNegative: typeof spacesNegative;
|
|
54
|
-
declare const variables_tablet_width: typeof tablet_width;
|
|
55
|
-
declare const variables_typography: typeof typography;
|
|
56
|
-
declare const variables_zIndexes: typeof zIndexes;
|
|
57
|
-
declare namespace variables {
|
|
58
|
-
export { type variables_IBreakpoints as IBreakpoints, variables_alternativeFont as alternativeFont, variables_colors as colors, variables_desktop_width as desktop_width, variables_easeOutExpo as easeOutExpo, variables_fontName as fontName, variables_grid_conf as grid_conf, variables_gutter as gutter, variables_mobileMedia as mobileMedia, variables_mobile_width as mobile_width, variables_pxToRem as pxToRem, variables_radius as radius, variables_responsiveMedia as responsiveMedia, variables_shadows as shadows, variables_spaces as spaces, variables_spacesNegative as spacesNegative, variables_tablet_width as tablet_width, variables_typography as typography, variables_zIndexes as zIndexes };
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
type IImageWrapper = {
|
|
62
|
-
aspectRatioHeight?: number;
|
|
63
|
-
anchor?: string;
|
|
64
|
-
$align?: string;
|
|
65
|
-
align?: string;
|
|
66
|
-
caption?: string;
|
|
67
|
-
href?: string;
|
|
68
|
-
linkTarget?: string;
|
|
69
|
-
rel?: string;
|
|
70
|
-
className?: string;
|
|
71
|
-
style?: CSSProperties;
|
|
72
|
-
children?: React.ReactNode;
|
|
73
|
-
asBackground?: boolean;
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
declare const ImageWrapper: ({ aspectRatioHeight, align, caption, href, linkTarget, rel, className, style, children, asBackground }: IImageWrapper) => react_jsx_runtime.JSX.Element;
|
|
77
|
-
|
|
78
|
-
declare enum typographyTags {
|
|
79
|
-
div = "div",
|
|
80
|
-
span = "span",
|
|
81
|
-
p = "p",
|
|
82
|
-
h1 = "h1",
|
|
83
|
-
h2 = "h2",
|
|
84
|
-
h3 = "h3",
|
|
85
|
-
h4 = "h4",
|
|
86
|
-
h5 = "h5",
|
|
87
|
-
h6 = "h6"
|
|
88
|
-
}
|
|
89
|
-
type IHeading = {
|
|
90
|
-
tag?: keyof typeof typographyTags | string;
|
|
91
|
-
size?: string;
|
|
92
|
-
className?: string;
|
|
93
|
-
style?: CSSProperties;
|
|
94
|
-
children?: React.ReactNode;
|
|
95
|
-
};
|
|
96
|
-
|
|
97
|
-
declare const Heading: ({ tag, size, className, ...props }: IHeading) => react_jsx_runtime.JSX.Element;
|
|
98
|
-
|
|
99
|
-
type IRichText = {
|
|
100
|
-
id?: string;
|
|
101
|
-
tag?: keyof typeof typographyTags;
|
|
102
|
-
attributes?: object;
|
|
103
|
-
className?: string;
|
|
104
|
-
style?: CSSProperties;
|
|
105
|
-
children?: any;
|
|
106
|
-
};
|
|
107
|
-
|
|
108
|
-
declare const RichText: ({ id, tag, attributes, className, style, children, ...props }: IRichText) => react_jsx_runtime.JSX.Element;
|
|
109
|
-
|
|
110
|
-
interface IButtonBase {
|
|
111
|
-
id?: string;
|
|
112
|
-
as?: 'button' | 'a';
|
|
113
|
-
type?: string;
|
|
114
|
-
outlined?: boolean;
|
|
115
|
-
leftIcon?: React.ReactElement;
|
|
116
|
-
rightIcon?: React.ReactElement;
|
|
117
|
-
removeLabel?: boolean;
|
|
118
|
-
href?: string;
|
|
119
|
-
ariaLabel?: string;
|
|
120
|
-
rel?: string;
|
|
121
|
-
disabled?: boolean;
|
|
122
|
-
target?: string;
|
|
123
|
-
className?: string;
|
|
124
|
-
style?: CSSProperties;
|
|
125
|
-
children?: React.ReactNode;
|
|
126
|
-
onClick?: (event?: React.MouseEvent<HTMLElement>) => void;
|
|
127
|
-
}
|
|
128
|
-
interface IButton extends IButtonBase {
|
|
129
|
-
variant?: string;
|
|
130
|
-
mode?: string;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
declare const Button: ({ id, as, children, variant, mode, outlined, leftIcon, rightIcon, removeLabel, className, href, ariaLabel, rel, target, disabled, type, ...props }: IButton) => react_jsx_runtime.JSX.Element;
|
|
134
|
-
|
|
135
|
-
type ISpacer = {
|
|
136
|
-
id?: string;
|
|
137
|
-
color?: string;
|
|
138
|
-
height?: keyof typeof spaces | string | number;
|
|
139
|
-
customHeight?: string;
|
|
140
|
-
className?: string;
|
|
141
|
-
style?: CSSProperties;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
declare const Spacer: ({ id, color, customHeight, height, className, ...props }: ISpacer) => react_jsx_runtime.JSX.Element;
|
|
145
|
-
|
|
146
|
-
type ISeparator = {
|
|
147
|
-
color?: string;
|
|
148
|
-
margin?: string;
|
|
149
|
-
height?: string;
|
|
150
|
-
className?: string;
|
|
151
|
-
style?: CSSProperties;
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
declare const Separator: ({ color, margin, height, ...props }: ISeparator) => react_jsx_runtime.JSX.Element;
|
|
155
|
-
|
|
156
|
-
interface IFlexBase {
|
|
157
|
-
className?: string;
|
|
158
|
-
style?: CSSProperties;
|
|
159
|
-
children?: React.ReactNode;
|
|
160
|
-
}
|
|
161
|
-
type flexAlign = 'flex-start' | 'center' | 'flex-end' | 'stretch' | string;
|
|
162
|
-
type flexJustify = 'flex-start' | 'center' | 'flex-end' | 'space-between' | string;
|
|
163
|
-
interface IFlex extends IFlexBase {
|
|
164
|
-
direction?: 'row' | 'column';
|
|
165
|
-
align?: flexAlign;
|
|
166
|
-
justify?: flexJustify;
|
|
167
|
-
wrap?: 'wrap' | 'nowrap';
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
declare const Flex: ({ direction, align, justify, wrap, children, className, ...props }: IFlex) => react_jsx_runtime.JSX.Element;
|
|
171
|
-
|
|
172
|
-
type IIcon = {
|
|
173
|
-
icon?: string;
|
|
174
|
-
className?: string;
|
|
175
|
-
style?: CSSProperties;
|
|
176
|
-
onClick?: () => void;
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
declare const Icon: ({ icon, className, onClick, ...props }: IIcon) => react_jsx_runtime.JSX.Element;
|
|
180
|
-
|
|
181
|
-
interface IChip {
|
|
182
|
-
variant?: string;
|
|
183
|
-
$variant?: string;
|
|
184
|
-
hover?: boolean;
|
|
185
|
-
className?: string;
|
|
186
|
-
style?: CSSProperties;
|
|
187
|
-
children?: React.ReactNode;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
declare const Chip: ({ variant, hover, className, style, children, ...props }: IChip) => react_jsx_runtime.JSX.Element;
|
|
191
|
-
|
|
192
|
-
type IQuote = {
|
|
193
|
-
id?: string;
|
|
194
|
-
value?: string;
|
|
195
|
-
citation?: string;
|
|
196
|
-
className?: string;
|
|
197
|
-
style?: CSSProperties;
|
|
198
|
-
children?: React.ReactNode;
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
declare const Quote: ({ id, value, citation, className, children, ...props }: IQuote) => react_jsx_runtime.JSX.Element;
|
|
202
|
-
|
|
203
|
-
type IVideo = {
|
|
204
|
-
src?: string;
|
|
205
|
-
poster?: string;
|
|
206
|
-
autoplay?: boolean;
|
|
207
|
-
controls?: boolean;
|
|
208
|
-
loop?: boolean;
|
|
209
|
-
muted?: boolean;
|
|
210
|
-
playsInline?: boolean;
|
|
211
|
-
className?: string;
|
|
212
|
-
style?: CSSProperties;
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
declare const Video: ({ src, poster, autoplay, controls, loop, muted, playsInline, className, style, ...props }: IVideo) => react_jsx_runtime.JSX.Element;
|
|
216
|
-
|
|
217
|
-
type IVideoEmbed = {
|
|
218
|
-
embed?: string;
|
|
219
|
-
poster?: string;
|
|
220
|
-
autoplay?: boolean;
|
|
221
|
-
controls?: boolean;
|
|
222
|
-
loop?: boolean;
|
|
223
|
-
muted?: boolean;
|
|
224
|
-
playsInline?: boolean;
|
|
225
|
-
className?: string;
|
|
226
|
-
style?: CSSProperties;
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
declare const VideoEmbed: ({ embed, poster, autoplay, controls, loop, muted, playsInline, className, style, ...props }: IVideoEmbed) => react_jsx_runtime.JSX.Element;
|
|
230
|
-
|
|
231
|
-
interface IRowBase {
|
|
232
|
-
className?: string;
|
|
233
|
-
style?: CSSProperties;
|
|
234
|
-
children?: React.ReactNode;
|
|
235
|
-
}
|
|
236
|
-
interface IRow extends IRowBase {
|
|
237
|
-
fluid?: boolean;
|
|
238
|
-
direction?: 'row' | 'column';
|
|
239
|
-
align?: flexAlign;
|
|
240
|
-
justify?: flexJustify;
|
|
241
|
-
wrap?: 'wrap' | 'nowrap';
|
|
242
|
-
mobileSpace?: boolean;
|
|
243
|
-
}
|
|
244
|
-
type IColumnsSize = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | number;
|
|
245
|
-
interface IColumnBase {
|
|
246
|
-
className?: string;
|
|
247
|
-
style?: CSSProperties;
|
|
248
|
-
children?: React.ReactNode;
|
|
249
|
-
}
|
|
250
|
-
interface IColumn extends IColumnBase {
|
|
251
|
-
align?: flexAlign;
|
|
252
|
-
lg?: IColumnsSize;
|
|
253
|
-
md?: IColumnsSize;
|
|
254
|
-
sm?: IColumnsSize;
|
|
255
|
-
xs?: IColumnsSize;
|
|
256
|
-
mobileOrder?: number;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
declare const Row: ({ fluid, direction, align, justify, wrap, mobileSpace, className, style, children, ...props }: IRow) => react_jsx_runtime.JSX.Element;
|
|
260
|
-
declare const Column: ({ xs, sm, md, lg, align, mobileOrder, children, className, style, ...props }: IColumn) => react_jsx_runtime.JSX.Element;
|
|
261
|
-
|
|
262
|
-
interface IFormField {
|
|
263
|
-
id?: string;
|
|
264
|
-
label?: string;
|
|
265
|
-
leftIcon?: React.ReactNode | React.ReactNode[];
|
|
266
|
-
rightIcon?: React.ReactNode | React.ReactNode[];
|
|
267
|
-
isCheckRadio?: boolean;
|
|
268
|
-
children?: React.ReactNode;
|
|
269
|
-
className?: string;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
declare const FormField: ({ id, label, leftIcon, rightIcon, isCheckRadio, className, children, ...props }: IFormField) => react_jsx_runtime.JSX.Element;
|
|
273
|
-
|
|
274
|
-
type ICheckRadioField = {
|
|
275
|
-
id?: string;
|
|
276
|
-
label?: string;
|
|
277
|
-
className?: string;
|
|
278
|
-
children?: React.ReactNode;
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
declare const CheckRadioField: ({ id, label, className, children, ...props }: ICheckRadioField) => react_jsx_runtime.JSX.Element;
|
|
282
|
-
|
|
283
|
-
interface ILoader {
|
|
284
|
-
variant?: string;
|
|
285
|
-
$variant?: string;
|
|
286
|
-
label?: string;
|
|
287
|
-
className?: string;
|
|
288
|
-
style?: CSSProperties;
|
|
289
|
-
children?: React.ReactNode;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
declare const Loader: ({ variant, label, children, className, style, ...props }: ILoader) => react_jsx_runtime.JSX.Element;
|
|
293
|
-
|
|
294
|
-
interface IEmptyState {
|
|
295
|
-
variant?: string;
|
|
296
|
-
$variant?: string;
|
|
297
|
-
label?: string;
|
|
298
|
-
className?: string;
|
|
299
|
-
style?: CSSProperties;
|
|
300
|
-
children?: React.ReactNode;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
declare const EmptyState: ({ variant, label, children, className, style, ...props }: IEmptyState) => react_jsx_runtime.JSX.Element;
|
|
304
|
-
|
|
305
|
-
type ICloseButton = {
|
|
306
|
-
variant?: string;
|
|
307
|
-
$variant?: string;
|
|
308
|
-
className?: string;
|
|
309
|
-
style?: CSSProperties;
|
|
310
|
-
onClick?: () => void;
|
|
311
|
-
};
|
|
312
|
-
|
|
313
|
-
declare const CloseButton: ({ variant, className, onClick, ...props }: ICloseButton) => react_jsx_runtime.JSX.Element;
|
|
314
|
-
|
|
315
|
-
interface IScrollingNav {
|
|
316
|
-
align?: string;
|
|
317
|
-
className?: string;
|
|
318
|
-
style?: CSSProperties;
|
|
319
|
-
children?: React.ReactNode;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
declare const ScrollingNav: ({ align, children, className, ...props }: IScrollingNav) => react_jsx_runtime.JSX.Element;
|
|
323
|
-
|
|
324
|
-
type IMarquee = {
|
|
325
|
-
text?: string;
|
|
326
|
-
className?: string;
|
|
327
|
-
style?: CSSProperties;
|
|
328
|
-
onClick?: () => void;
|
|
329
|
-
};
|
|
330
|
-
|
|
331
|
-
declare const Marquee: ({ text, className, onClick, ...props }: IMarquee) => react_jsx_runtime.JSX.Element;
|
|
332
|
-
|
|
333
|
-
type PortalComponentProps = {
|
|
334
|
-
wrapperId: string;
|
|
335
|
-
children?: React.ReactNode;
|
|
336
|
-
};
|
|
337
|
-
declare function PortalComponent({ wrapperId, children }: PortalComponentProps): React.ReactPortal | null;
|
|
338
|
-
|
|
339
|
-
interface IAccordion {
|
|
340
|
-
className?: string;
|
|
341
|
-
style?: CSSProperties;
|
|
342
|
-
children?: React.ReactNode;
|
|
343
|
-
}
|
|
344
|
-
interface IAccordionItem {
|
|
345
|
-
active?: boolean;
|
|
346
|
-
title?: string;
|
|
347
|
-
className?: string;
|
|
348
|
-
style?: CSSProperties;
|
|
349
|
-
children?: React.ReactNode;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
declare const Accordion: ({ className, style, children }: IAccordion) => react_jsx_runtime.JSX.Element;
|
|
353
|
-
declare const AccordionItem: ({ title, className, style, children }: IAccordionItem) => react_jsx_runtime.JSX.Element;
|
|
354
|
-
|
|
355
|
-
type IModal = {
|
|
356
|
-
title?: string;
|
|
357
|
-
open?: boolean;
|
|
358
|
-
onClose?: () => void;
|
|
359
|
-
hideCloseIcon?: boolean;
|
|
360
|
-
className?: string;
|
|
361
|
-
style?: CSSProperties;
|
|
362
|
-
children?: React.ReactNode;
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
declare const Modal: ({ title, open, onClose, hideCloseIcon, children, ...props }: IModal) => react_jsx_runtime.JSX.Element | null;
|
|
366
|
-
|
|
367
|
-
interface IOffCanvas {
|
|
368
|
-
isOpen?: boolean;
|
|
369
|
-
$isOpen?: boolean;
|
|
370
|
-
actions?: React.ReactNode;
|
|
371
|
-
title?: React.ReactNode;
|
|
372
|
-
className?: string;
|
|
373
|
-
style?: CSSProperties;
|
|
374
|
-
children?: React.ReactNode;
|
|
375
|
-
onClose?: () => void;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
declare const OffCanvas: ({ isOpen, title, actions, children, className, onClose }: IOffCanvas) => react_jsx_runtime.JSX.Element;
|
|
379
|
-
|
|
380
|
-
type IDropdown = {
|
|
381
|
-
ref?: React.RefObject<HTMLDivElement>;
|
|
382
|
-
title?: React.ReactElement;
|
|
383
|
-
icon?: React.ReactElement;
|
|
384
|
-
className?: string;
|
|
385
|
-
style?: CSSProperties;
|
|
386
|
-
children: React.ReactNode;
|
|
387
|
-
};
|
|
388
|
-
type IDropdownItem = {
|
|
389
|
-
icon?: React.ReactElement;
|
|
390
|
-
disabled?: boolean;
|
|
391
|
-
section?: boolean;
|
|
392
|
-
className?: string;
|
|
393
|
-
style?: CSSProperties;
|
|
394
|
-
children: React.ReactNode;
|
|
395
|
-
onClick?: () => void;
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
declare const Dropdown: ({ children, title, icon, className, style, ...props }: IDropdown) => react_jsx_runtime.JSX.Element;
|
|
399
|
-
|
|
400
|
-
declare const DropdownItem: ({ icon, disabled, section, className, style, children, onClick, ...props }: IDropdownItem) => react_jsx_runtime.JSX.Element;
|
|
401
|
-
|
|
402
|
-
type IShareModal = {
|
|
403
|
-
siteTitle?: string;
|
|
404
|
-
title?: string;
|
|
405
|
-
url?: string;
|
|
406
|
-
label?: string;
|
|
407
|
-
copyText?: string;
|
|
408
|
-
open?: boolean;
|
|
409
|
-
onClose?: () => void;
|
|
410
|
-
};
|
|
411
|
-
|
|
412
|
-
declare const ShareModal: ({ siteTitle, title, label, url, copyText, open, onClose, ...props }: IShareModal) => react_jsx_runtime.JSX.Element;
|
|
413
|
-
|
|
414
|
-
type IIconBox = {
|
|
415
|
-
label?: string;
|
|
416
|
-
icon?: React.ReactElement;
|
|
417
|
-
description?: string;
|
|
418
|
-
className?: string;
|
|
419
|
-
style?: CSSProperties;
|
|
420
|
-
children?: React.ReactNode;
|
|
421
|
-
};
|
|
422
|
-
|
|
423
|
-
declare const IconBox: ({ label, icon, description, className, ...props }: IIconBox) => react_jsx_runtime.JSX.Element;
|
|
424
|
-
|
|
425
|
-
type IIconTitle = {
|
|
426
|
-
label?: string;
|
|
427
|
-
icon?: React.ReactElement;
|
|
428
|
-
imageElement?: React.ReactElement;
|
|
429
|
-
className?: string;
|
|
430
|
-
style?: CSSProperties;
|
|
431
|
-
children?: React.ReactNode;
|
|
432
|
-
};
|
|
433
|
-
|
|
434
|
-
declare const IconTitle: ({ label, icon, imageElement, className, style, children, ...props }: IIconTitle) => react_jsx_runtime.JSX.Element;
|
|
435
|
-
|
|
436
|
-
type ICard = {
|
|
437
|
-
variant?: string;
|
|
438
|
-
imageElement?: React.ReactElement;
|
|
439
|
-
className?: string;
|
|
440
|
-
style?: CSSProperties;
|
|
441
|
-
children?: React.ReactNode;
|
|
442
|
-
onClick?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
443
|
-
};
|
|
444
|
-
|
|
445
|
-
interface IBlogCard extends ICard {
|
|
446
|
-
date?: string;
|
|
447
|
-
category?: string;
|
|
448
|
-
title?: string;
|
|
449
|
-
description?: string | React.ReactElement;
|
|
450
|
-
author?: string;
|
|
451
|
-
linkElement?: React.ReactElement;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
declare const BlogCard: ({ variant, date, category, title, imageElement, linkElement, description, author, ...props }: IBlogCard) => react_jsx_runtime.JSX.Element;
|
|
455
|
-
|
|
456
|
-
interface ITeamCard extends ICard {
|
|
457
|
-
title?: string;
|
|
458
|
-
role?: string;
|
|
459
|
-
description?: string | React.ReactElement;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
declare const TeamCard: ({ title, imageElement, role, description, ...props }: ITeamCard) => react_jsx_runtime.JSX.Element;
|
|
463
|
-
|
|
464
|
-
interface IProjectCard extends ICard {
|
|
465
|
-
category?: string;
|
|
466
|
-
title?: string;
|
|
467
|
-
buttonLabel?: string;
|
|
468
|
-
linkElement?: React.ReactElement;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
declare const ProjectCard: ({ variant, category, title, imageElement, linkElement, buttonLabel, ...props }: IProjectCard) => react_jsx_runtime.JSX.Element;
|
|
472
|
-
|
|
473
|
-
interface ISlider {
|
|
474
|
-
$responsiveCSS?: string;
|
|
475
|
-
arrows?: boolean;
|
|
476
|
-
dots?: boolean;
|
|
477
|
-
slidesToShow?: number;
|
|
478
|
-
slidesToScroll?: number;
|
|
479
|
-
infinite?: boolean;
|
|
480
|
-
autoplay?: boolean;
|
|
481
|
-
spacing?: string;
|
|
482
|
-
mediaQueries?: object;
|
|
483
|
-
onSlide?: () => void;
|
|
484
|
-
className?: string;
|
|
485
|
-
style?: CSSProperties;
|
|
486
|
-
children: React.ReactNode;
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
declare const Slider: ({ arrows, dots, slidesToShow, slidesToScroll, infinite, autoplay, spacing, mediaQueries, className, style, children, onSlide, ...props }: ISlider) => react_jsx_runtime.JSX.Element;
|
|
490
|
-
|
|
491
|
-
type ICover = {
|
|
492
|
-
id?: string;
|
|
493
|
-
anchor?: string;
|
|
494
|
-
minHeight?: string;
|
|
495
|
-
contentPosition?: string;
|
|
496
|
-
imageElement?: React.ReactElement;
|
|
497
|
-
overlayOpacity?: number;
|
|
498
|
-
overlayColor?: string;
|
|
499
|
-
className?: string;
|
|
500
|
-
style?: CSSProperties;
|
|
501
|
-
children?: React.ReactNode;
|
|
502
|
-
};
|
|
503
|
-
|
|
504
|
-
declare const Cover: ({ minHeight, contentPosition, imageElement, overlayOpacity, overlayColor, style, className, children }: ICover) => react_jsx_runtime.JSX.Element;
|
|
505
|
-
|
|
506
|
-
declare const iconsList: string[];
|
|
507
|
-
|
|
508
|
-
declare const GlobalStyles: styled_components.GlobalStyleComponent<{}, styled_components.DefaultTheme>;
|
|
509
|
-
|
|
510
|
-
declare function clickOutSideToClose(ref: React.RefObject<HTMLDivElement>, closeFunction: () => void): void;
|
|
511
|
-
|
|
512
|
-
export { Accordion, AccordionItem, BlogCard, Button, CheckRadioField, Chip, CloseButton, Column, Cover, Dropdown, DropdownItem, EmptyState, Flex, FormField, GlobalStyles, Heading, Icon, IconBox, IconTitle, ImageWrapper, Loader, Marquee, Modal, OffCanvas, PortalComponent, ProjectCard, Quote, RichText, Row, ScrollingNav, Separator, ShareModal, Slider, Spacer, TeamCard, Video, VideoEmbed, clickOutSideToClose, iconsList, variables };
|
package/tsconfig.node.json
DELETED
package/vite.config.ts
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import type { Plugin } from 'vite';
|
|
2
|
-
import { defineConfig } from 'vite'
|
|
3
|
-
import { exec } from 'node:child_process';
|
|
4
|
-
import hypothetical from 'rollup-plugin-hypothetical';
|
|
5
|
-
import path from 'path';
|
|
6
|
-
import { peerDependencies } from './package.json';
|
|
7
|
-
import react from '@vitejs/plugin-react'
|
|
8
|
-
import { transform } from 'esbuild';
|
|
9
|
-
import tsConfigPaths from 'vite-tsconfig-paths';
|
|
10
|
-
|
|
11
|
-
const locales: [] = [
|
|
12
|
-
// path to locale files
|
|
13
|
-
];
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
//Custom plugins
|
|
17
|
-
const dts = (): Plugin => ({
|
|
18
|
-
name: 'dts',
|
|
19
|
-
buildEnd: (error) => {
|
|
20
|
-
if (error) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
exec('tsup src/index.ts --format esm --dts-only', (err) => {
|
|
25
|
-
if (err) {
|
|
26
|
-
throw new Error('Failed to generate declaration files');
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
},
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
const minify = (): Plugin => ({
|
|
33
|
-
name: 'minify',
|
|
34
|
-
renderChunk: {
|
|
35
|
-
order: 'post',
|
|
36
|
-
async handler(code, _, outputOptions) {
|
|
37
|
-
if (outputOptions.format === 'es') {
|
|
38
|
-
return await transform(code, {
|
|
39
|
-
minify: true,
|
|
40
|
-
sourcemap: true,
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return null;
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
// https://vitejs.dev/config/
|
|
51
|
-
export default defineConfig({
|
|
52
|
-
resolve: {
|
|
53
|
-
alias: {
|
|
54
|
-
'@': path.resolve(__dirname, './src'),
|
|
55
|
-
'<package>': 'node_modules/<package>/dist/esm/index.js',
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
build: {
|
|
59
|
-
emptyOutDir: true,
|
|
60
|
-
lib: {
|
|
61
|
-
entry: 'src/index.ts',
|
|
62
|
-
formats: ['cjs', 'es'],
|
|
63
|
-
fileName: (format) => (format === 'cjs' ? 'cjs/index.js' : 'esm/index.js'),
|
|
64
|
-
},
|
|
65
|
-
sourcemap: true,
|
|
66
|
-
rollupOptions: {
|
|
67
|
-
output: {
|
|
68
|
-
inlineDynamicImports: true,
|
|
69
|
-
},
|
|
70
|
-
external: [
|
|
71
|
-
...Object.keys(peerDependencies),
|
|
72
|
-
],
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
plugins: [
|
|
76
|
-
react(),
|
|
77
|
-
// tsConfigPaths(),
|
|
78
|
-
// hypothetical({
|
|
79
|
-
// allowFallthrough: true,
|
|
80
|
-
// files: {
|
|
81
|
-
// ...locales.reduce((acc, file) => ({ ...acc, [file]: 'export default {}' }), {}),
|
|
82
|
-
// },
|
|
83
|
-
// }),
|
|
84
|
-
// minify(),
|
|
85
|
-
dts(),
|
|
86
|
-
],
|
|
87
|
-
})
|
|
File without changes
|