@mindlogic-ai/logician-ui 2.0.0 → 3.0.0-alpha.0
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/dist/components/Accordion/Accordion.d.ts +3 -2
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +2 -2
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mjs +2 -2
- package/dist/components/Accordion/Accordion.mjs.map +1 -1
- package/dist/components/Accordion/AccordionButton.d.ts +6 -4
- package/dist/components/Accordion/AccordionButton.d.ts.map +1 -1
- package/dist/components/Accordion/AccordionButton.js +2 -10
- package/dist/components/Accordion/AccordionButton.js.map +1 -1
- package/dist/components/Accordion/AccordionButton.mjs +4 -12
- package/dist/components/Accordion/AccordionButton.mjs.map +1 -1
- package/dist/components/Accordion/AccordionItem.d.ts +3 -5
- package/dist/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/dist/components/Accordion/AccordionItem.js +2 -8
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mjs +3 -9
- package/dist/components/Accordion/AccordionItem.mjs.map +1 -1
- package/dist/components/Accordion/AccordionPanel.d.ts +19 -0
- package/dist/components/Accordion/AccordionPanel.d.ts.map +1 -0
- package/dist/components/Accordion/AccordionPanel.js +27 -0
- package/dist/components/Accordion/AccordionPanel.js.map +1 -0
- package/dist/components/Accordion/AccordionPanel.mjs +25 -0
- package/dist/components/Accordion/AccordionPanel.mjs.map +1 -0
- package/dist/components/Accordion/index.d.ts +5 -1
- package/dist/components/Accordion/index.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.d.ts +9 -2
- package/dist/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar/Avatar.js +3 -2
- package/dist/components/Avatar/Avatar.js.map +1 -1
- package/dist/components/Avatar/Avatar.mjs +4 -3
- package/dist/components/Avatar/Avatar.mjs.map +1 -1
- package/dist/components/Badge/Badge.d.ts +15 -2
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/Badge.js +15 -2
- package/dist/components/Badge/Badge.js.map +1 -1
- package/dist/components/Badge/Badge.mjs +16 -3
- package/dist/components/Badge/Badge.mjs.map +1 -1
- package/dist/components/Badge/Badge.styles.d.ts +20 -3
- package/dist/components/Badge/Badge.styles.d.ts.map +1 -1
- package/dist/components/Badge/Badge.styles.js +66 -3
- package/dist/components/Badge/Badge.styles.js.map +1 -1
- package/dist/components/Badge/Badge.styles.mjs +66 -4
- package/dist/components/Badge/Badge.styles.mjs.map +1 -1
- package/dist/components/Badge/Badge.types.d.ts +23 -0
- package/dist/components/Badge/Badge.types.d.ts.map +1 -0
- package/dist/components/Badge/index.d.ts +2 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Banner/Banner.d.ts.map +1 -1
- package/dist/components/Banner/Banner.js +1 -1
- package/dist/components/Banner/Banner.js.map +1 -1
- package/dist/components/Banner/Banner.mjs +1 -1
- package/dist/components/Banner/Banner.mjs.map +1 -1
- package/dist/components/Banner/Banner.styles.d.ts +6 -0
- package/dist/components/Banner/Banner.styles.d.ts.map +1 -1
- package/dist/components/Banner/Banner.styles.js +21 -15
- package/dist/components/Banner/Banner.styles.js.map +1 -1
- package/dist/components/Banner/Banner.styles.mjs +21 -15
- package/dist/components/Banner/Banner.styles.mjs.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +10 -3
- package/dist/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.mjs +12 -5
- package/dist/components/Breadcrumb/Breadcrumb.mjs.map +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +7 -2
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.d.ts +2 -2
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js +2 -2
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.mjs +3 -3
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.mjs.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.types.d.ts +1 -2
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.types.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.d.ts +2 -2
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.js +5 -2
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.js.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.mjs +6 -3
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.mjs.map +1 -1
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.types.d.ts +1 -2
- package/dist/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.types.d.ts.map +1 -1
- package/dist/components/Button/Button.d.ts +17 -2
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +30 -6
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.mjs +32 -8
- package/dist/components/Button/Button.mjs.map +1 -1
- package/dist/components/Button/Button.styles.d.ts +45 -3
- package/dist/components/Button/Button.styles.d.ts.map +1 -1
- package/dist/components/Button/Button.styles.js +342 -38
- package/dist/components/Button/Button.styles.js.map +1 -1
- package/dist/components/Button/Button.styles.mjs +339 -38
- package/dist/components/Button/Button.styles.mjs.map +1 -1
- package/dist/components/Button/Button.types.d.ts +55 -2
- package/dist/components/Button/Button.types.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +2 -2
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts +2 -1
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/Card.js +1 -1
- package/dist/components/Card/Card.js.map +1 -1
- package/dist/components/Card/Card.mjs +1 -1
- package/dist/components/Card/Card.mjs.map +1 -1
- package/dist/components/Card/Card.styles.d.ts +6 -3
- package/dist/components/Card/Card.styles.d.ts.map +1 -1
- package/dist/components/Card/Card.styles.js +7 -12
- package/dist/components/Card/Card.styles.js.map +1 -1
- package/dist/components/Card/Card.styles.mjs +7 -12
- package/dist/components/Card/Card.styles.mjs.map +1 -1
- package/dist/components/Card/Card.types.d.ts +2 -2
- package/dist/components/Card/Card.types.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +4 -14
- package/dist/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.mjs +5 -15
- package/dist/components/Checkbox/Checkbox.mjs.map +1 -1
- package/dist/components/Checkbox/Checkbox.types.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +13 -5
- package/dist/components/Chip/Chip.d.ts.map +1 -1
- package/dist/components/Chip/Chip.js +17 -5
- package/dist/components/Chip/Chip.js.map +1 -1
- package/dist/components/Chip/Chip.mjs +18 -6
- package/dist/components/Chip/Chip.mjs.map +1 -1
- package/dist/components/Chip/Chip.styles.d.ts +19 -9
- package/dist/components/Chip/Chip.styles.d.ts.map +1 -1
- package/dist/components/Chip/Chip.styles.js +84 -59
- package/dist/components/Chip/Chip.styles.js.map +1 -1
- package/dist/components/Chip/Chip.styles.mjs +81 -59
- package/dist/components/Chip/Chip.styles.mjs.map +1 -1
- package/dist/components/Chip/Chip.types.d.ts +29 -4
- package/dist/components/Chip/Chip.types.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +2 -2
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Code/Code.types.d.ts +1 -6
- package/dist/components/Code/Code.types.d.ts.map +1 -1
- package/dist/components/Code/_components/CopyButton.d.ts.map +1 -1
- package/dist/components/Code/_components/CopyButton.js +1 -1
- package/dist/components/Code/_components/CopyButton.js.map +1 -1
- package/dist/components/Code/_components/CopyButton.mjs +1 -1
- package/dist/components/Code/_components/CopyButton.mjs.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.d.ts.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.js +28 -8
- package/dist/components/CodeTabs/CodeTabs.js.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.mjs +28 -8
- package/dist/components/CodeTabs/CodeTabs.mjs.map +1 -1
- package/dist/components/CodeTabs/CodeTabs.types.d.ts +1 -1
- package/dist/components/CodeTabs/CodeTabs.types.d.ts.map +1 -1
- package/dist/components/Container/useContainerSize.js +1 -1
- package/dist/components/Container/useContainerSize.js.map +1 -1
- package/dist/components/Container/useContainerSize.mjs +2 -2
- package/dist/components/Container/useContainerSize.mjs.map +1 -1
- package/dist/components/CopyableCode/CopyableCode.d.ts.map +1 -1
- package/dist/components/CopyableCode/CopyableCode.js +1 -2
- package/dist/components/CopyableCode/CopyableCode.js.map +1 -1
- package/dist/components/CopyableCode/CopyableCode.mjs +1 -2
- package/dist/components/CopyableCode/CopyableCode.mjs.map +1 -1
- package/dist/components/DatePicker/RangeDatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/RangeDatePicker.js +24 -27
- package/dist/components/DatePicker/RangeDatePicker.js.map +1 -1
- package/dist/components/DatePicker/RangeDatePicker.mjs +25 -28
- package/dist/components/DatePicker/RangeDatePicker.mjs.map +1 -1
- package/dist/components/DatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker/SingleDatePicker.js +13 -13
- package/dist/components/DatePicker/SingleDatePicker.js.map +1 -1
- package/dist/components/DatePicker/SingleDatePicker.mjs +14 -14
- package/dist/components/DatePicker/SingleDatePicker.mjs.map +1 -1
- package/dist/components/ErrorFallback/ErrorFallback.d.ts.map +1 -1
- package/dist/components/ErrorFallback/ErrorFallback.js +2 -3
- package/dist/components/ErrorFallback/ErrorFallback.js.map +1 -1
- package/dist/components/ErrorFallback/ErrorFallback.mjs +2 -3
- package/dist/components/ErrorFallback/ErrorFallback.mjs.map +1 -1
- package/dist/components/ExpandableText/ExpandableText.d.ts +7 -7
- package/dist/components/ExpandableText/ExpandableText.d.ts.map +1 -1
- package/dist/components/ExpandableText/ExpandableText.js +1 -1
- package/dist/components/ExpandableText/ExpandableText.js.map +1 -1
- package/dist/components/ExpandableText/ExpandableText.mjs +2 -2
- package/dist/components/ExpandableText/ExpandableText.mjs.map +1 -1
- package/dist/components/FileInput/FileInput.d.ts.map +1 -1
- package/dist/components/FileInput/FileInput.js +3 -4
- package/dist/components/FileInput/FileInput.js.map +1 -1
- package/dist/components/FileInput/FileInput.mjs +4 -5
- package/dist/components/FileInput/FileInput.mjs.map +1 -1
- package/dist/components/FileItem/FileItem.d.ts.map +1 -1
- package/dist/components/FileItem/FileItem.js +1 -2
- package/dist/components/FileItem/FileItem.js.map +1 -1
- package/dist/components/FileItem/FileItem.mjs +2 -3
- package/dist/components/FileItem/FileItem.mjs.map +1 -1
- package/dist/components/FileList/FileList.d.ts.map +1 -1
- package/dist/components/FileList/FileList.js +8 -3
- package/dist/components/FileList/FileList.js.map +1 -1
- package/dist/components/FileList/FileList.mjs +9 -4
- package/dist/components/FileList/FileList.mjs.map +1 -1
- package/dist/components/FormControl/FormControl.js +1 -1
- package/dist/components/FormControl/FormControl.js.map +1 -1
- package/dist/components/FormControl/FormControl.mjs +2 -2
- package/dist/components/FormControl/FormControl.mjs.map +1 -1
- package/dist/components/FormControl/FormControl.types.d.ts +2 -2
- package/dist/components/FormControl/FormControl.types.d.ts.map +1 -1
- package/dist/components/FormLabel/FormLabel.d.ts +2 -2
- package/dist/components/FormLabel/FormLabel.d.ts.map +1 -1
- package/dist/components/FormLabel/FormLabel.js +5 -1
- package/dist/components/FormLabel/FormLabel.js.map +1 -1
- package/dist/components/FormLabel/FormLabel.mjs +6 -2
- package/dist/components/FormLabel/FormLabel.mjs.map +1 -1
- package/dist/components/Icon/_utils/createIconGroup.d.ts +2 -2
- package/dist/components/Icon/_utils/createIconGroup.d.ts.map +1 -1
- package/dist/components/Icon/_utils/createIconGroup.js.map +1 -1
- package/dist/components/Icon/_utils/createIconGroup.mjs.map +1 -1
- package/dist/components/IconButton/IconButton.d.ts +15 -1
- package/dist/components/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.js +22 -7
- package/dist/components/IconButton/IconButton.js.map +1 -1
- package/dist/components/IconButton/IconButton.mjs +22 -7
- package/dist/components/IconButton/IconButton.mjs.map +1 -1
- package/dist/components/IconButton/IconButton.styles.d.ts +9 -3
- package/dist/components/IconButton/IconButton.styles.d.ts.map +1 -1
- package/dist/components/IconButton/IconButton.types.d.ts +37 -2
- package/dist/components/IconButton/IconButton.types.d.ts.map +1 -1
- package/dist/components/IconButton/index.d.ts +2 -1
- package/dist/components/IconButton/index.d.ts.map +1 -1
- package/dist/components/InfoSprinkle/InfoSprinkle.d.ts +2 -2
- package/dist/components/InfoSprinkle/InfoSprinkle.d.ts.map +1 -1
- package/dist/components/InfoSprinkle/InfoSprinkle.js +1 -1
- package/dist/components/InfoSprinkle/InfoSprinkle.js.map +1 -1
- package/dist/components/InfoSprinkle/InfoSprinkle.mjs +2 -2
- package/dist/components/InfoSprinkle/InfoSprinkle.mjs.map +1 -1
- package/dist/components/InlineCode/InlineCode.js +1 -1
- package/dist/components/InlineCode/InlineCode.js.map +1 -1
- package/dist/components/InlineCode/InlineCode.mjs +1 -1
- package/dist/components/InlineCode/InlineCode.mjs.map +1 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.js +24 -23
- package/dist/components/Input/Input.js.map +1 -1
- package/dist/components/Input/Input.mjs +26 -25
- package/dist/components/Input/Input.mjs.map +1 -1
- package/dist/components/Input/Input.types.d.ts +5 -3
- package/dist/components/Input/Input.types.d.ts.map +1 -1
- package/dist/components/LineGraph/LineGraph.d.ts.map +1 -1
- package/dist/components/LineGraph/LineGraph.js +4 -5
- package/dist/components/LineGraph/LineGraph.js.map +1 -1
- package/dist/components/LineGraph/LineGraph.mjs +5 -6
- package/dist/components/LineGraph/LineGraph.mjs.map +1 -1
- package/dist/components/Loaders/PageLoader.d.ts.map +1 -1
- package/dist/components/Loaders/PageLoader.js +1 -2
- package/dist/components/Loaders/PageLoader.js.map +1 -1
- package/dist/components/Loaders/PageLoader.mjs +1 -2
- package/dist/components/Loaders/PageLoader.mjs.map +1 -1
- package/dist/components/Loaders/SectionLoader.d.ts.map +1 -1
- package/dist/components/Loaders/SectionLoader.js +1 -2
- package/dist/components/Loaders/SectionLoader.js.map +1 -1
- package/dist/components/Loaders/SectionLoader.mjs +2 -3
- package/dist/components/Loaders/SectionLoader.mjs.map +1 -1
- package/dist/components/LogicianProvider/LogicianProvider.d.ts +3 -7
- package/dist/components/LogicianProvider/LogicianProvider.d.ts.map +1 -1
- package/dist/components/LogicianProvider/LogicianProvider.js +3 -30
- package/dist/components/LogicianProvider/LogicianProvider.js.map +1 -1
- package/dist/components/LogicianProvider/LogicianProvider.mjs +4 -31
- package/dist/components/LogicianProvider/LogicianProvider.mjs.map +1 -1
- package/dist/components/MDXEditor/MDXEditor.d.ts.map +1 -1
- package/dist/components/MDXEditor/MDXEditor.js +113 -50
- package/dist/components/MDXEditor/MDXEditor.js.map +1 -1
- package/dist/components/MDXEditor/MDXEditor.mjs +114 -51
- package/dist/components/MDXEditor/MDXEditor.mjs.map +1 -1
- package/dist/components/Markdown/Markdown.d.ts +1 -1
- package/dist/components/Markdown/Markdown.d.ts.map +1 -1
- package/dist/components/Markdown/Markdown.js +2 -2
- package/dist/components/Markdown/Markdown.js.map +1 -1
- package/dist/components/Markdown/Markdown.mjs +2 -2
- package/dist/components/Markdown/Markdown.mjs.map +1 -1
- package/dist/components/Markdown/Markdown.module.css.js +1 -1
- package/dist/components/Markdown/Markdown.module.css.mjs +1 -1
- package/dist/components/Masonry/Masonry.types.d.ts +2 -2
- package/dist/components/MaxLengthIndicator/MaxLengthIndicator.js +1 -1
- package/dist/components/MaxLengthIndicator/MaxLengthIndicator.js.map +1 -1
- package/dist/components/MaxLengthIndicator/MaxLengthIndicator.mjs +1 -1
- package/dist/components/MaxLengthIndicator/MaxLengthIndicator.mjs.map +1 -1
- package/dist/components/Menu/MenuButton.d.ts +1 -1
- package/dist/components/Menu/MenuButton.d.ts.map +1 -1
- package/dist/components/Menu/MenuButton.js +2 -2
- package/dist/components/Menu/MenuButton.js.map +1 -1
- package/dist/components/Menu/MenuButton.mjs +3 -3
- package/dist/components/Menu/MenuButton.mjs.map +1 -1
- package/dist/components/Menu/MenuButton.types.d.ts +4 -3
- package/dist/components/Menu/MenuButton.types.d.ts.map +1 -1
- package/dist/components/Menu/MenuItem.d.ts +1 -1
- package/dist/components/Menu/MenuItem.d.ts.map +1 -1
- package/dist/components/Menu/MenuItem.js +4 -7
- package/dist/components/Menu/MenuItem.js.map +1 -1
- package/dist/components/Menu/MenuItem.mjs +6 -9
- package/dist/components/Menu/MenuItem.mjs.map +1 -1
- package/dist/components/Menu/MenuItem.types.d.ts +3 -0
- package/dist/components/Menu/MenuItem.types.d.ts.map +1 -1
- package/dist/components/Menu/MenuList.d.ts +4 -2
- package/dist/components/Menu/MenuList.d.ts.map +1 -1
- package/dist/components/Menu/MenuList.js +2 -3
- package/dist/components/Menu/MenuList.js.map +1 -1
- package/dist/components/Menu/MenuList.mjs +3 -4
- package/dist/components/Menu/MenuList.mjs.map +1 -1
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/Modal.js.map +1 -1
- package/dist/components/Modal/Modal.mjs +3 -3
- package/dist/components/Modal/Modal.mjs.map +1 -1
- package/dist/components/Modal/Modal.types.d.ts +2 -2
- package/dist/components/Modal/Modal.types.d.ts.map +1 -1
- package/dist/components/Modal/ModalBody.d.ts +2 -2
- package/dist/components/Modal/ModalBody.d.ts.map +1 -1
- package/dist/components/Modal/ModalBody.js +1 -1
- package/dist/components/Modal/ModalBody.js.map +1 -1
- package/dist/components/Modal/ModalBody.mjs +2 -2
- package/dist/components/Modal/ModalBody.mjs.map +1 -1
- package/dist/components/Modal/ModalCloseButton.d.ts +2 -2
- package/dist/components/Modal/ModalCloseButton.d.ts.map +1 -1
- package/dist/components/Modal/ModalCloseButton.js +1 -1
- package/dist/components/Modal/ModalCloseButton.js.map +1 -1
- package/dist/components/Modal/ModalCloseButton.mjs +2 -2
- package/dist/components/Modal/ModalCloseButton.mjs.map +1 -1
- package/dist/components/Modal/ModalContent/ModalContent.d.ts +1 -1
- package/dist/components/Modal/ModalContent/ModalContent.d.ts.map +1 -1
- package/dist/components/Modal/ModalContent/ModalContent.js +2 -2
- package/dist/components/Modal/ModalContent/ModalContent.js.map +1 -1
- package/dist/components/Modal/ModalContent/ModalContent.mjs +3 -3
- package/dist/components/Modal/ModalContent/ModalContent.mjs.map +1 -1
- package/dist/components/Modal/ModalContent/ModalContent.types.d.ts +3 -2
- package/dist/components/Modal/ModalContent/ModalContent.types.d.ts.map +1 -1
- package/dist/components/Modal/ModalFooter/ModalFooter.d.ts +2 -2
- package/dist/components/Modal/ModalFooter/ModalFooter.d.ts.map +1 -1
- package/dist/components/Modal/ModalFooter/ModalFooter.js +1 -1
- package/dist/components/Modal/ModalFooter/ModalFooter.js.map +1 -1
- package/dist/components/Modal/ModalFooter/ModalFooter.mjs +2 -2
- package/dist/components/Modal/ModalFooter/ModalFooter.mjs.map +1 -1
- package/dist/components/Modal/ModalHeader.d.ts +2 -2
- package/dist/components/Modal/ModalHeader.d.ts.map +1 -1
- package/dist/components/Modal/ModalHeader.js +1 -1
- package/dist/components/Modal/ModalHeader.js.map +1 -1
- package/dist/components/Modal/ModalHeader.mjs +2 -2
- package/dist/components/Modal/ModalHeader.mjs.map +1 -1
- package/dist/components/Modal/ModalOverlay.d.ts +2 -2
- package/dist/components/Modal/ModalOverlay.d.ts.map +1 -1
- package/dist/components/Modal/ModalOverlay.js +1 -1
- package/dist/components/Modal/ModalOverlay.js.map +1 -1
- package/dist/components/Modal/ModalOverlay.mjs +2 -2
- package/dist/components/Modal/ModalOverlay.mjs.map +1 -1
- package/dist/components/MonthPicker/MonthButton/MonthButton.d.ts.map +1 -1
- package/dist/components/MonthPicker/MonthButton/MonthButton.js +18 -14
- package/dist/components/MonthPicker/MonthButton/MonthButton.js.map +1 -1
- package/dist/components/MonthPicker/MonthButton/MonthButton.mjs +18 -14
- package/dist/components/MonthPicker/MonthButton/MonthButton.mjs.map +1 -1
- package/dist/components/MonthPicker/MonthButton/MonthButton.types.d.ts.map +1 -1
- package/dist/components/MonthPicker/MonthPicker.d.ts.map +1 -1
- package/dist/components/MonthPicker/MonthPicker.js +12 -3
- package/dist/components/MonthPicker/MonthPicker.js.map +1 -1
- package/dist/components/MonthPicker/MonthPicker.mjs +13 -4
- package/dist/components/MonthPicker/MonthPicker.mjs.map +1 -1
- package/dist/components/MonthPicker/MonthPicker.types.d.ts +2 -2
- package/dist/components/MonthPicker/MonthPicker.types.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.d.ts.map +1 -1
- package/dist/components/Pagination/Pagination.js +5 -6
- package/dist/components/Pagination/Pagination.js.map +1 -1
- package/dist/components/Pagination/Pagination.mjs +6 -7
- package/dist/components/Pagination/Pagination.mjs.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +17 -6
- package/dist/components/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.mjs +18 -7
- package/dist/components/PasswordInput/PasswordInput.mjs.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.types.d.ts +26 -4
- package/dist/components/PasswordInput/PasswordInput.types.d.ts.map +1 -1
- package/dist/components/PinInput/PinInput.d.ts.map +1 -1
- package/dist/components/PinInput/PinInput.js +8 -7
- package/dist/components/PinInput/PinInput.js.map +1 -1
- package/dist/components/PinInput/PinInput.mjs +9 -8
- package/dist/components/PinInput/PinInput.mjs.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +2 -8
- package/dist/components/ProgressBar/ProgressBar.js.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.mjs +2 -8
- package/dist/components/ProgressBar/ProgressBar.mjs.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.types.d.ts +2 -2
- package/dist/components/ProgressBar/ProgressBar.types.d.ts.map +1 -1
- package/dist/components/RadialProgress/RadialProgress.d.ts.map +1 -1
- package/dist/components/RadialProgress/RadialProgress.js +1 -2
- package/dist/components/RadialProgress/RadialProgress.js.map +1 -1
- package/dist/components/RadialProgress/RadialProgress.mjs +2 -3
- package/dist/components/RadialProgress/RadialProgress.mjs.map +1 -1
- package/dist/components/Radio/Radio.d.ts.map +1 -1
- package/dist/components/Radio/Radio.js +3 -17
- package/dist/components/Radio/Radio.js.map +1 -1
- package/dist/components/Radio/Radio.mjs +5 -19
- package/dist/components/Radio/Radio.mjs.map +1 -1
- package/dist/components/Radio/Radio.types.d.ts +4 -12
- package/dist/components/Radio/Radio.types.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.d.ts +3 -3
- package/dist/components/Radio/RadioGroup.d.ts.map +1 -1
- package/dist/components/Radio/RadioGroup.js +6 -6
- package/dist/components/Radio/RadioGroup.js.map +1 -1
- package/dist/components/Radio/RadioGroup.mjs +7 -7
- package/dist/components/Radio/RadioGroup.mjs.map +1 -1
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.d.ts.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.js +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.js.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.mjs +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.mjs.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.d.ts +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.d.ts.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.js.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.styles.mjs.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +7 -2
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +50 -39
- package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.mjs +52 -41
- package/dist/components/SegmentedControl/SegmentedControl.mjs.map +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.types.d.ts +4 -5
- package/dist/components/SegmentedControl/SegmentedControl.types.d.ts.map +1 -1
- package/dist/components/Select/MenuList/VirtualizedMenuList.d.ts.map +1 -1
- package/dist/components/Select/Select.d.ts +1 -3
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Select.js +89 -95
- package/dist/components/Select/Select.js.map +1 -1
- package/dist/components/Select/Select.mjs +92 -98
- package/dist/components/Select/Select.mjs.map +1 -1
- package/dist/components/Select/Select.styles.d.ts +37 -37
- package/dist/components/Select/Select.styles.d.ts.map +1 -1
- package/dist/components/Select/Select.styles.js +50 -71
- package/dist/components/Select/Select.styles.js.map +1 -1
- package/dist/components/Select/Select.styles.mjs +47 -67
- package/dist/components/Select/Select.styles.mjs.map +1 -1
- package/dist/components/Select/Select.types.d.ts +0 -2
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/Slider/Slider.d.ts +9 -0
- package/dist/components/Slider/Slider.d.ts.map +1 -1
- package/dist/components/Slider/Slider.js +18 -2
- package/dist/components/Slider/Slider.js.map +1 -1
- package/dist/components/Slider/Slider.mjs +19 -3
- package/dist/components/Slider/Slider.mjs.map +1 -1
- package/dist/components/Slider/Slider.types.d.ts +10 -2
- package/dist/components/Slider/Slider.types.d.ts.map +1 -1
- package/dist/components/Slider/SliderControl/SliderControl.d.ts +6 -0
- package/dist/components/Slider/SliderControl/SliderControl.d.ts.map +1 -0
- package/dist/components/Slider/SliderControl/SliderControl.js +14 -0
- package/dist/components/Slider/SliderControl/SliderControl.js.map +1 -0
- package/dist/components/Slider/SliderControl/SliderControl.mjs +12 -0
- package/dist/components/Slider/SliderControl/SliderControl.mjs.map +1 -0
- package/dist/components/Slider/SliderControl/index.d.ts +2 -0
- package/dist/components/Slider/SliderControl/index.d.ts.map +1 -0
- package/dist/components/Slider/SliderFilledTrack/SliderFilledTrack.d.ts.map +1 -1
- package/dist/components/Slider/SliderFilledTrack/SliderFilledTrack.js +3 -1
- package/dist/components/Slider/SliderFilledTrack/SliderFilledTrack.js.map +1 -1
- package/dist/components/Slider/SliderFilledTrack/SliderFilledTrack.mjs +4 -2
- package/dist/components/Slider/SliderFilledTrack/SliderFilledTrack.mjs.map +1 -1
- package/dist/components/Slider/SliderFilledTrack/SliderFilledTrack.types.d.ts +2 -2
- package/dist/components/Slider/SliderFilledTrack/SliderFilledTrack.types.d.ts.map +1 -1
- package/dist/components/Slider/SliderMark/SliderMark.js +1 -1
- package/dist/components/Slider/SliderMark/SliderMark.js.map +1 -1
- package/dist/components/Slider/SliderMark/SliderMark.mjs +2 -2
- package/dist/components/Slider/SliderMark/SliderMark.mjs.map +1 -1
- package/dist/components/Slider/SliderMark/SliderMark.types.d.ts +2 -2
- package/dist/components/Slider/SliderMark/SliderMark.types.d.ts.map +1 -1
- package/dist/components/Slider/SliderThumb/SliderThumb.d.ts +3 -1
- package/dist/components/Slider/SliderThumb/SliderThumb.d.ts.map +1 -1
- package/dist/components/Slider/SliderThumb/SliderThumb.js +6 -2
- package/dist/components/Slider/SliderThumb/SliderThumb.js.map +1 -1
- package/dist/components/Slider/SliderThumb/SliderThumb.mjs +7 -3
- package/dist/components/Slider/SliderThumb/SliderThumb.mjs.map +1 -1
- package/dist/components/Slider/SliderThumb/SliderThumb.types.d.ts +4 -2
- package/dist/components/Slider/SliderThumb/SliderThumb.types.d.ts.map +1 -1
- package/dist/components/Slider/SliderThumbs/SliderThumbs.d.ts +21 -0
- package/dist/components/Slider/SliderThumbs/SliderThumbs.d.ts.map +1 -0
- package/dist/components/Slider/SliderThumbs/SliderThumbs.js +33 -0
- package/dist/components/Slider/SliderThumbs/SliderThumbs.js.map +1 -0
- package/dist/components/Slider/SliderThumbs/SliderThumbs.mjs +31 -0
- package/dist/components/Slider/SliderThumbs/SliderThumbs.mjs.map +1 -0
- package/dist/components/Slider/SliderThumbs/index.d.ts +2 -0
- package/dist/components/Slider/SliderThumbs/index.d.ts.map +1 -0
- package/dist/components/Slider/SliderTrack/SliderTrack.d.ts +4 -1
- package/dist/components/Slider/SliderTrack/SliderTrack.d.ts.map +1 -1
- package/dist/components/Slider/SliderTrack/SliderTrack.js +2 -2
- package/dist/components/Slider/SliderTrack/SliderTrack.js.map +1 -1
- package/dist/components/Slider/SliderTrack/SliderTrack.mjs +3 -3
- package/dist/components/Slider/SliderTrack/SliderTrack.mjs.map +1 -1
- package/dist/components/Slider/SliderTrack/SliderTrack.types.d.ts +2 -2
- package/dist/components/Slider/SliderTrack/SliderTrack.types.d.ts.map +1 -1
- package/dist/components/Slider/index.d.ts +2 -0
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Spinner/Spinner.js.map +1 -1
- package/dist/components/Spinner/Spinner.mjs +1 -1
- package/dist/components/Spinner/Spinner.mjs.map +1 -1
- package/dist/components/Switch/Switch.d.ts +2 -3
- package/dist/components/Switch/Switch.d.ts.map +1 -1
- package/dist/components/Switch/Switch.js +4 -2
- package/dist/components/Switch/Switch.js.map +1 -1
- package/dist/components/Switch/Switch.mjs +5 -3
- package/dist/components/Switch/Switch.mjs.map +1 -1
- package/dist/components/Switch/Switch.types.d.ts +4 -0
- package/dist/components/Switch/Switch.types.d.ts.map +1 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Table/ExpandingTr/ExpandingTr.d.ts.map +1 -1
- package/dist/components/Table/ExpandingTr/ExpandingTr.js +7 -2
- package/dist/components/Table/ExpandingTr/ExpandingTr.js.map +1 -1
- package/dist/components/Table/ExpandingTr/ExpandingTr.mjs +8 -3
- package/dist/components/Table/ExpandingTr/ExpandingTr.mjs.map +1 -1
- package/dist/components/Table/ExpandingTr/ExpandingTr.types.d.ts +0 -1
- package/dist/components/Table/ExpandingTr/ExpandingTr.types.d.ts.map +1 -1
- package/dist/components/Table/Table.d.ts +2 -2
- package/dist/components/Table/Table.d.ts.map +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/Table.js.map +1 -1
- package/dist/components/Table/Table.mjs +1 -1
- package/dist/components/Table/Table.mjs.map +1 -1
- package/dist/components/Table/Table.types.d.ts +3 -3
- package/dist/components/Table/Table.types.d.ts.map +1 -1
- package/dist/components/Table/TableContainer.js +1 -1
- package/dist/components/Table/TableContainer.js.map +1 -1
- package/dist/components/Table/TableContainer.mjs +2 -2
- package/dist/components/Table/TableContainer.mjs.map +1 -1
- package/dist/components/Table/Tbody.d.ts +2 -2
- package/dist/components/Table/Tbody.d.ts.map +1 -1
- package/dist/components/Table/Tbody.js +6 -1
- package/dist/components/Table/Tbody.js.map +1 -1
- package/dist/components/Table/Tbody.mjs +7 -2
- package/dist/components/Table/Tbody.mjs.map +1 -1
- package/dist/components/Table/Td.d.ts.map +1 -1
- package/dist/components/Table/Td.js +15 -9
- package/dist/components/Table/Td.js.map +1 -1
- package/dist/components/Table/Td.mjs +16 -10
- package/dist/components/Table/Td.mjs.map +1 -1
- package/dist/components/Table/Th.d.ts +2 -2
- package/dist/components/Table/Th.d.ts.map +1 -1
- package/dist/components/Table/Th.js +7 -3
- package/dist/components/Table/Th.js.map +1 -1
- package/dist/components/Table/Th.mjs +8 -4
- package/dist/components/Table/Th.mjs.map +1 -1
- package/dist/components/Table/Thead.d.ts +2 -2
- package/dist/components/Table/Thead.d.ts.map +1 -1
- package/dist/components/Table/Thead.js +1 -1
- package/dist/components/Table/Thead.js.map +1 -1
- package/dist/components/Table/Thead.mjs +2 -2
- package/dist/components/Table/Thead.mjs.map +1 -1
- package/dist/components/Table/Tr.d.ts +2 -2
- package/dist/components/Table/Tr.d.ts.map +1 -1
- package/dist/components/Table/Tr.js +1 -1
- package/dist/components/Table/Tr.js.map +1 -1
- package/dist/components/Table/Tr.mjs +2 -2
- package/dist/components/Table/Tr.mjs.map +1 -1
- package/dist/components/Tabs/Tab/Tab.d.ts +1 -1
- package/dist/components/Tabs/Tab/Tab.d.ts.map +1 -1
- package/dist/components/Tabs/Tab/Tab.js +13 -35
- package/dist/components/Tabs/Tab/Tab.js.map +1 -1
- package/dist/components/Tabs/Tab/Tab.mjs +14 -36
- package/dist/components/Tabs/Tab/Tab.mjs.map +1 -1
- package/dist/components/Tabs/Tab/Tab.styles.d.ts +2 -2
- package/dist/components/Tabs/Tab/Tab.styles.d.ts.map +1 -1
- package/dist/components/Tabs/Tab/Tab.styles.js +4 -6
- package/dist/components/Tabs/Tab/Tab.styles.js.map +1 -1
- package/dist/components/Tabs/Tab/Tab.styles.mjs +4 -6
- package/dist/components/Tabs/Tab/Tab.styles.mjs.map +1 -1
- package/dist/components/Tabs/TabList/TabList.d.ts +4 -2
- package/dist/components/Tabs/TabList/TabList.d.ts.map +1 -1
- package/dist/components/Tabs/TabList/TabList.js +8 -3
- package/dist/components/Tabs/TabList/TabList.js.map +1 -1
- package/dist/components/Tabs/TabList/TabList.mjs +9 -4
- package/dist/components/Tabs/TabList/TabList.mjs.map +1 -1
- package/dist/components/Tabs/TabPanel.d.ts +4 -2
- package/dist/components/Tabs/TabPanel.d.ts.map +1 -1
- package/dist/components/Tabs/TabPanel.js +7 -2
- package/dist/components/Tabs/TabPanel.js.map +1 -1
- package/dist/components/Tabs/TabPanel.mjs +8 -3
- package/dist/components/Tabs/TabPanel.mjs.map +1 -1
- package/dist/components/Tabs/TabPanels.d.ts +4 -2
- package/dist/components/Tabs/TabPanels.d.ts.map +1 -1
- package/dist/components/Tabs/TabPanels.js +9 -2
- package/dist/components/Tabs/TabPanels.js.map +1 -1
- package/dist/components/Tabs/TabPanels.mjs +10 -3
- package/dist/components/Tabs/TabPanels.mjs.map +1 -1
- package/dist/components/Tabs/Tabs.js +3 -2
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/Tabs/Tabs.mjs +3 -2
- package/dist/components/Tabs/Tabs.mjs.map +1 -1
- package/dist/components/Tabs/Tabs.types.d.ts +15 -3
- package/dist/components/Tabs/Tabs.types.d.ts.map +1 -1
- package/dist/components/Tabs/TabsContext.d.ts +8 -4
- package/dist/components/Tabs/TabsContext.d.ts.map +1 -1
- package/dist/components/Tabs/TabsContext.js +26 -1
- package/dist/components/Tabs/TabsContext.js.map +1 -1
- package/dist/components/Tabs/TabsContext.mjs +27 -2
- package/dist/components/Tabs/TabsContext.mjs.map +1 -1
- package/dist/components/Tag/Tag.d.ts +19 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -1
- package/dist/components/Tag/Tag.js +22 -2
- package/dist/components/Tag/Tag.js.map +1 -1
- package/dist/components/Tag/Tag.mjs +23 -3
- package/dist/components/Tag/Tag.mjs.map +1 -1
- package/dist/components/Tag/Tag.styles.d.ts +26 -12
- package/dist/components/Tag/Tag.styles.d.ts.map +1 -1
- package/dist/components/Tag/Tag.styles.js +129 -10
- package/dist/components/Tag/Tag.styles.js.map +1 -1
- package/dist/components/Tag/Tag.styles.mjs +126 -10
- package/dist/components/Tag/Tag.styles.mjs.map +1 -1
- package/dist/components/Tag/Tag.types.d.ts +36 -3
- package/dist/components/Tag/Tag.types.d.ts.map +1 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.d.ts +1 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.d.ts.map +1 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.js +1 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.js.map +1 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.mjs +2 -2
- package/dist/components/Tag/TagCloseButton/TagCloseButton.mjs.map +1 -1
- package/dist/components/Tag/TagCloseButton/TagCloseButton.types.d.ts +2 -2
- package/dist/components/Tag/TagCloseButton/TagCloseButton.types.d.ts.map +1 -1
- package/dist/components/Tag/TagLabel/TagLabel.js +1 -1
- package/dist/components/Tag/TagLabel/TagLabel.js.map +1 -1
- package/dist/components/Tag/TagLabel/TagLabel.mjs +2 -2
- package/dist/components/Tag/TagLabel/TagLabel.mjs.map +1 -1
- package/dist/components/Tag/TagLeftIcon/TagLeftIcon.d.ts +3 -0
- package/dist/components/Tag/TagLeftIcon/TagLeftIcon.d.ts.map +1 -1
- package/dist/components/Tag/TagLeftIcon/TagLeftIcon.js +4 -1
- package/dist/components/Tag/TagLeftIcon/TagLeftIcon.js.map +1 -1
- package/dist/components/Tag/TagLeftIcon/TagLeftIcon.mjs +5 -2
- package/dist/components/Tag/TagLeftIcon/TagLeftIcon.mjs.map +1 -1
- package/dist/components/Tag/TagRightIcon/TagRightIcon.d.ts +4 -2
- package/dist/components/Tag/TagRightIcon/TagRightIcon.d.ts.map +1 -1
- package/dist/components/Tag/TagRightIcon/TagRightIcon.js +4 -5
- package/dist/components/Tag/TagRightIcon/TagRightIcon.js.map +1 -1
- package/dist/components/Tag/TagRightIcon/TagRightIcon.mjs +5 -6
- package/dist/components/Tag/TagRightIcon/TagRightIcon.mjs.map +1 -1
- package/dist/components/Tag/index.d.ts +3 -2
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts +2 -2
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.js +14 -3
- package/dist/components/Textarea/Textarea.js.map +1 -1
- package/dist/components/Textarea/Textarea.mjs +16 -5
- package/dist/components/Textarea/Textarea.mjs.map +1 -1
- package/dist/components/Textarea/Textarea.types.d.ts +6 -0
- package/dist/components/Textarea/Textarea.types.d.ts.map +1 -0
- package/dist/components/Textarea/index.d.ts +1 -1
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Toast/Toast.js +1 -2
- package/dist/components/Toast/Toast.js.map +1 -1
- package/dist/components/Toast/Toast.mjs +1 -2
- package/dist/components/Toast/Toast.mjs.map +1 -1
- package/dist/components/Toast/Toast.styles.d.ts +13 -7
- package/dist/components/Toast/Toast.styles.d.ts.map +1 -1
- package/dist/components/Toast/Toast.styles.js +18 -12
- package/dist/components/Toast/Toast.styles.js.map +1 -1
- package/dist/components/Toast/Toast.styles.mjs +18 -12
- package/dist/components/Toast/Toast.styles.mjs.map +1 -1
- package/dist/components/Toast/Toast.types.d.ts +10 -5
- package/dist/components/Toast/Toast.types.d.ts.map +1 -1
- package/dist/components/Toast/useToast.d.ts +5 -11
- package/dist/components/Toast/useToast.d.ts.map +1 -1
- package/dist/components/Toast/useToast.js +28 -18
- package/dist/components/Toast/useToast.js.map +1 -1
- package/dist/components/Toast/useToast.mjs +29 -20
- package/dist/components/Toast/useToast.mjs.map +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip/Tooltip.js +9 -3
- package/dist/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/Tooltip/Tooltip.mjs +12 -6
- package/dist/components/Tooltip/Tooltip.mjs.map +1 -1
- package/dist/components/Tooltip/Tooltip.types.d.ts +15 -2
- package/dist/components/Tooltip/Tooltip.types.d.ts.map +1 -1
- package/dist/components/Typography/H1.d.ts.map +1 -1
- package/dist/components/Typography/H1.js +2 -2
- package/dist/components/Typography/H1.js.map +1 -1
- package/dist/components/Typography/H1.mjs +3 -3
- package/dist/components/Typography/H1.mjs.map +1 -1
- package/dist/components/Typography/H2.d.ts.map +1 -1
- package/dist/components/Typography/H2.js +2 -2
- package/dist/components/Typography/H2.js.map +1 -1
- package/dist/components/Typography/H2.mjs +3 -3
- package/dist/components/Typography/H2.mjs.map +1 -1
- package/dist/components/Typography/H3.d.ts.map +1 -1
- package/dist/components/Typography/H3.js +2 -2
- package/dist/components/Typography/H3.js.map +1 -1
- package/dist/components/Typography/H3.mjs +3 -3
- package/dist/components/Typography/H3.mjs.map +1 -1
- package/dist/components/Typography/H4.d.ts.map +1 -1
- package/dist/components/Typography/H4.js +2 -2
- package/dist/components/Typography/H4.js.map +1 -1
- package/dist/components/Typography/H4.mjs +3 -3
- package/dist/components/Typography/H4.mjs.map +1 -1
- package/dist/components/Typography/H5.d.ts.map +1 -1
- package/dist/components/Typography/H5.js +2 -2
- package/dist/components/Typography/H5.js.map +1 -1
- package/dist/components/Typography/H5.mjs +3 -3
- package/dist/components/Typography/H5.mjs.map +1 -1
- package/dist/components/Typography/Link.d.ts +1 -1
- package/dist/components/Typography/Link.d.ts.map +1 -1
- package/dist/components/Typography/Link.js +8 -18
- package/dist/components/Typography/Link.js.map +1 -1
- package/dist/components/Typography/Link.mjs +9 -19
- package/dist/components/Typography/Link.mjs.map +1 -1
- package/dist/components/Typography/Subtext.d.ts +1 -1
- package/dist/components/Typography/Subtext.d.ts.map +1 -1
- package/dist/components/Typography/Subtext.js +2 -2
- package/dist/components/Typography/Subtext.js.map +1 -1
- package/dist/components/Typography/Subtext.mjs +3 -3
- package/dist/components/Typography/Subtext.mjs.map +1 -1
- package/dist/components/Typography/Subtitle.d.ts +1 -1
- package/dist/components/Typography/Subtitle.d.ts.map +1 -1
- package/dist/components/Typography/Subtitle.js +2 -2
- package/dist/components/Typography/Subtitle.js.map +1 -1
- package/dist/components/Typography/Subtitle.mjs +3 -3
- package/dist/components/Typography/Subtitle.mjs.map +1 -1
- package/dist/components/Typography/Text.d.ts.map +1 -1
- package/dist/components/Typography/Text.js +5 -2
- package/dist/components/Typography/Text.js.map +1 -1
- package/dist/components/Typography/Text.mjs +6 -3
- package/dist/components/Typography/Text.mjs.map +1 -1
- package/dist/index.d.ts +1 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -33
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -16
- package/dist/index.mjs.map +1 -1
- package/dist/primitives.d.ts +22 -0
- package/dist/primitives.d.ts.map +1 -0
- package/dist/theme/colors.d.ts +556 -50
- package/dist/theme/colors.d.ts.map +1 -1
- package/dist/theme/colors.js +312 -50
- package/dist/theme/colors.js.map +1 -1
- package/dist/theme/colors.mjs +312 -50
- package/dist/theme/colors.mjs.map +1 -1
- package/dist/theme/global.d.ts +10 -21
- package/dist/theme/global.d.ts.map +1 -1
- package/dist/theme/global.js +15 -6
- package/dist/theme/global.js.map +1 -1
- package/dist/theme/global.mjs +15 -6
- package/dist/theme/global.mjs.map +1 -1
- package/dist/theme/index.d.ts +12 -155
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.js +119 -42
- package/dist/theme/index.js.map +1 -1
- package/dist/theme/index.mjs +119 -43
- package/dist/theme/index.mjs.map +1 -1
- package/package.json +5 -8
- package/src/components/Accordion/Accordion.stories.tsx +192 -3
- package/src/components/Accordion/Accordion.tsx +17 -9
- package/src/components/Accordion/AccordionButton.tsx +13 -32
- package/src/components/Accordion/AccordionItem.tsx +8 -15
- package/src/components/Accordion/AccordionPanel.tsx +29 -0
- package/src/components/Accordion/index.ts +5 -1
- package/src/components/Avatar/Avatar.tsx +13 -4
- package/src/components/Badge/Badge.stories.tsx +71 -1
- package/src/components/Badge/Badge.styles.ts +76 -3
- package/src/components/Badge/Badge.tsx +18 -6
- package/src/components/Badge/Badge.types.ts +30 -0
- package/src/components/Badge/index.ts +5 -1
- package/src/components/Banner/Banner.stories.tsx +15 -1
- package/src/components/Banner/Banner.styles.ts +21 -15
- package/src/components/Banner/Banner.tsx +1 -7
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +56 -9
- package/src/components/Breadcrumb/Breadcrumb.tsx +34 -8
- package/src/components/Breadcrumb/Breadcrumb.types.ts +11 -2
- package/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.tsx +10 -3
- package/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.types.ts +1 -1
- package/src/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.tsx +12 -6
- package/src/components/Breadcrumb/BreadcrumbLink/BreadcrumbLink.types.ts +1 -1
- package/src/components/Button/Button.stories.tsx +360 -34
- package/src/components/Button/Button.styles.ts +365 -40
- package/src/components/Button/Button.tsx +41 -18
- package/src/components/Button/Button.types.ts +62 -5
- package/src/components/Button/index.tsx +11 -2
- package/src/components/Card/Card.styles.ts +10 -9
- package/src/components/Card/Card.tsx +2 -2
- package/src/components/Card/Card.types.ts +2 -2
- package/src/components/Checkbox/Checkbox.tsx +27 -21
- package/src/components/Checkbox/Checkbox.types.ts +2 -2
- package/src/components/Chip/Chip.stories.tsx +243 -25
- package/src/components/Chip/Chip.styles.ts +92 -64
- package/src/components/Chip/Chip.tsx +24 -15
- package/src/components/Chip/Chip.types.ts +37 -8
- package/src/components/Chip/index.ts +7 -2
- package/src/components/Code/Code.types.ts +2 -11
- package/src/components/Code/_components/CopyButton.tsx +6 -3
- package/src/components/CodeTabs/CodeTabs.tsx +40 -9
- package/src/components/CodeTabs/CodeTabs.types.ts +1 -1
- package/src/components/CopyableCode/CopyableCode.tsx +3 -5
- package/src/components/DatePicker/RangeDatePicker.tsx +42 -32
- package/src/components/DatePicker/SingleDatePicker.tsx +31 -18
- package/src/components/ErrorFallback/ErrorFallback.tsx +21 -19
- package/src/components/ExpandableText/ExpandableText.tsx +9 -6
- package/src/components/FileInput/FileInput.tsx +8 -9
- package/src/components/FileItem/FileItem.tsx +27 -21
- package/src/components/FileList/FileList.tsx +34 -23
- package/src/components/FormControl/FormControl.tsx +2 -2
- package/src/components/FormControl/FormControl.types.ts +2 -2
- package/src/components/FormLabel/FormLabel.tsx +12 -3
- package/src/components/Icon/Icon.stories.tsx +44 -44
- package/src/components/Icon/_utils/createIconGroup.tsx +4 -8
- package/src/components/IconButton/IconButton.stories.tsx +214 -25
- package/src/components/IconButton/IconButton.styles.ts +14 -52
- package/src/components/IconButton/IconButton.tsx +27 -9
- package/src/components/IconButton/IconButton.types.ts +46 -4
- package/src/components/IconButton/index.tsx +11 -1
- package/src/components/InfoSprinkle/InfoSprinkle.tsx +15 -23
- package/src/components/InlineCode/InlineCode.tsx +1 -1
- package/src/components/Input/Input.stories.tsx +206 -8
- package/src/components/Input/Input.tsx +21 -26
- package/src/components/Input/Input.types.ts +5 -4
- package/src/components/LineGraph/LineGraph.tsx +5 -8
- package/src/components/Loaders/PageLoader.tsx +5 -4
- package/src/components/Loaders/SectionLoader.tsx +2 -6
- package/src/components/LogicianProvider/LogicianProvider.stories.tsx +8 -25
- package/src/components/LogicianProvider/LogicianProvider.tsx +6 -52
- package/src/components/MDXEditor/MDXEditor.tsx +118 -51
- package/src/components/Markdown/Markdown.module.css +17 -0
- package/src/components/Markdown/Markdown.tsx +2 -2
- package/src/components/Masonry/Masonry.stories.tsx +7 -7
- package/src/components/Masonry/Masonry.types.ts +2 -2
- package/src/components/MaxLengthIndicator/MaxLengthIndicator.tsx +1 -1
- package/src/components/Menu/Menu.stories.tsx +105 -39
- package/src/components/Menu/MenuButton.tsx +11 -3
- package/src/components/Menu/MenuButton.types.ts +10 -8
- package/src/components/Menu/MenuItem.tsx +13 -12
- package/src/components/Menu/MenuItem.types.ts +3 -0
- package/src/components/Menu/MenuList.tsx +20 -13
- package/src/components/Modal/Modal.stories.tsx +10 -10
- package/src/components/Modal/Modal.tsx +15 -4
- package/src/components/Modal/Modal.types.ts +2 -2
- package/src/components/Modal/ModalBody.tsx +3 -6
- package/src/components/Modal/ModalCloseButton.tsx +3 -6
- package/src/components/Modal/ModalContent/ModalContent.tsx +9 -3
- package/src/components/Modal/ModalContent/ModalContent.types.ts +2 -2
- package/src/components/Modal/ModalFooter/ModalFooter.tsx +3 -6
- package/src/components/Modal/ModalHeader.tsx +3 -6
- package/src/components/Modal/ModalOverlay.tsx +3 -6
- package/src/components/MonthPicker/MonthButton/MonthButton.tsx +38 -22
- package/src/components/MonthPicker/MonthButton/MonthButton.types.ts +4 -5
- package/src/components/MonthPicker/MonthPicker.stories.tsx +12 -12
- package/src/components/MonthPicker/MonthPicker.tsx +97 -83
- package/src/components/MonthPicker/MonthPicker.types.ts +2 -2
- package/src/components/Pagination/Pagination.tsx +17 -12
- package/src/components/PasswordInput/PasswordInput.stories.tsx +42 -0
- package/src/components/PasswordInput/PasswordInput.tsx +50 -24
- package/src/components/PasswordInput/PasswordInput.types.ts +23 -9
- package/src/components/PinInput/PinInput.tsx +9 -11
- package/src/components/ProgressBar/ProgressBar.stories.tsx +6 -6
- package/src/components/ProgressBar/ProgressBar.tsx +15 -13
- package/src/components/ProgressBar/ProgressBar.types.ts +2 -2
- package/src/components/RadialProgress/RadialProgress.tsx +2 -4
- package/src/components/Radio/Radio.stories.tsx +103 -121
- package/src/components/Radio/Radio.tsx +12 -29
- package/src/components/Radio/Radio.types.ts +4 -19
- package/src/components/Radio/RadioGroup.tsx +13 -25
- package/src/components/Radio/index.ts +1 -1
- package/src/components/SeeMoreButton/SeeMoreButton.styles.ts +1 -1
- package/src/components/SeeMoreButton/SeeMoreButton.tsx +3 -6
- package/src/components/SegmentedControl/SegmentedControl.stories.tsx +23 -4
- package/src/components/SegmentedControl/SegmentedControl.tsx +83 -77
- package/src/components/SegmentedControl/SegmentedControl.types.ts +7 -6
- package/src/components/SegmentedProgressBar/SegmentedProgressBar.stories.tsx +21 -21
- package/src/components/Select/MenuList/VirtualizedMenuList.tsx +3 -5
- package/src/components/Select/Select.stories.tsx +33 -30
- package/src/components/Select/Select.styles.ts +54 -77
- package/src/components/Select/Select.tsx +117 -187
- package/src/components/Select/Select.types.ts +0 -2
- package/src/components/Slider/Slider.stories.tsx +142 -51
- package/src/components/Slider/Slider.tsx +42 -3
- package/src/components/Slider/Slider.types.ts +14 -2
- package/src/components/Slider/SliderControl/SliderControl.tsx +21 -0
- package/src/components/Slider/SliderControl/index.ts +1 -0
- package/src/components/Slider/SliderFilledTrack/SliderFilledTrack.tsx +9 -2
- package/src/components/Slider/SliderFilledTrack/SliderFilledTrack.types.ts +2 -2
- package/src/components/Slider/SliderMark/SliderMark.tsx +2 -2
- package/src/components/Slider/SliderMark/SliderMark.types.ts +2 -2
- package/src/components/Slider/SliderThumb/SliderThumb.tsx +16 -7
- package/src/components/Slider/SliderThumb/SliderThumb.types.ts +5 -2
- package/src/components/Slider/SliderThumbs/SliderThumbs.tsx +36 -0
- package/src/components/Slider/SliderThumbs/index.tsx +1 -0
- package/src/components/Slider/SliderTrack/SliderTrack.tsx +11 -4
- package/src/components/Slider/SliderTrack/SliderTrack.types.ts +2 -2
- package/src/components/Slider/index.ts +2 -0
- package/src/components/Spinner/Spinner.tsx +3 -3
- package/src/components/Switch/Switch.stories.tsx +16 -14
- package/src/components/Switch/Switch.tsx +21 -2
- package/src/components/Switch/Switch.types.ts +3 -0
- package/src/components/Switch/index.ts +1 -0
- package/src/components/Table/ExpandingTr/ExpandingTr.tsx +15 -5
- package/src/components/Table/ExpandingTr/ExpandingTr.types.ts +0 -1
- package/src/components/Table/Table.stories.tsx +4 -2
- package/src/components/Table/Table.tsx +3 -6
- package/src/components/Table/Table.types.ts +3 -6
- package/src/components/Table/TableContainer.tsx +4 -4
- package/src/components/Table/Tbody.tsx +14 -3
- package/src/components/Table/Td.tsx +18 -15
- package/src/components/Table/Th.tsx +11 -11
- package/src/components/Table/Thead.tsx +3 -3
- package/src/components/Table/Tr.tsx +3 -3
- package/src/components/Tabs/Tab/Tab.styles.ts +4 -6
- package/src/components/Tabs/Tab/Tab.tsx +32 -47
- package/src/components/Tabs/TabList/TabList.tsx +26 -11
- package/src/components/Tabs/TabPanel.tsx +20 -3
- package/src/components/Tabs/TabPanels.tsx +23 -3
- package/src/components/Tabs/Tabs.tsx +7 -6
- package/src/components/Tabs/Tabs.types.ts +16 -4
- package/src/components/Tabs/TabsContext.tsx +38 -4
- package/src/components/Tag/Tag.stories.tsx +203 -11
- package/src/components/Tag/Tag.styles.ts +148 -9
- package/src/components/Tag/Tag.tsx +31 -5
- package/src/components/Tag/Tag.types.ts +44 -3
- package/src/components/Tag/TagCloseButton/TagCloseButton.tsx +7 -3
- package/src/components/Tag/TagCloseButton/TagCloseButton.types.ts +2 -2
- package/src/components/Tag/TagLabel/TagLabel.tsx +2 -2
- package/src/components/Tag/TagLeftIcon/TagLeftIcon.tsx +5 -2
- package/src/components/Tag/TagRightIcon/TagRightIcon.tsx +5 -9
- package/src/components/Tag/index.ts +8 -2
- package/src/components/Textarea/Textarea.stories.tsx +15 -24
- package/src/components/Textarea/Textarea.tsx +30 -13
- package/src/components/Textarea/Textarea.types.ts +6 -0
- package/src/components/Textarea/index.ts +1 -1
- package/src/components/Toast/Toast.stories.tsx +46 -43
- package/src/components/Toast/Toast.styles.ts +18 -12
- package/src/components/Toast/Toast.tsx +6 -6
- package/src/components/Toast/Toast.types.ts +17 -13
- package/src/components/Toast/useToast.tsx +41 -24
- package/src/components/Tooltip/Tooltip.stories.tsx +195 -17
- package/src/components/Tooltip/Tooltip.tsx +58 -10
- package/src/components/Tooltip/Tooltip.types.ts +32 -2
- package/src/components/Typography/H1.tsx +7 -4
- package/src/components/Typography/H2.tsx +7 -4
- package/src/components/Typography/H3.tsx +7 -4
- package/src/components/Typography/H4.tsx +7 -4
- package/src/components/Typography/H5.tsx +7 -4
- package/src/components/Typography/Link.tsx +13 -27
- package/src/components/Typography/Subtext.tsx +18 -14
- package/src/components/Typography/Subtitle.tsx +20 -15
- package/src/components/Typography/Text.tsx +7 -4
- package/src/index.ts +3 -9
- package/src/primitives.ts +51 -0
- package/src/theme/Palette.stories.tsx +642 -16
- package/src/theme/claude.md +250 -140
- package/src/theme/colors.ts +326 -50
- package/src/theme/global.ts +18 -5
- package/src/theme/index.ts +123 -49
- package/dist/components/Alert/Alert.d.ts +0 -15
- package/dist/components/Alert/Alert.d.ts.map +0 -1
- package/dist/components/Alert/Alert.js +0 -26
- package/dist/components/Alert/Alert.js.map +0 -1
- package/dist/components/Alert/Alert.mjs +0 -24
- package/dist/components/Alert/Alert.mjs.map +0 -1
- package/dist/components/Alert/Alert.styles.d.ts +0 -20
- package/dist/components/Alert/Alert.styles.d.ts.map +0 -1
- package/dist/components/Alert/Alert.styles.js +0 -25
- package/dist/components/Alert/Alert.styles.js.map +0 -1
- package/dist/components/Alert/Alert.styles.mjs +0 -23
- package/dist/components/Alert/Alert.styles.mjs.map +0 -1
- package/dist/components/Alert/Alert.types.d.ts +0 -5
- package/dist/components/Alert/Alert.types.d.ts.map +0 -1
- package/dist/components/Alert/index.d.ts +0 -3
- package/dist/components/Alert/index.d.ts.map +0 -1
- package/dist/components/AutowidthInput/AutowidthInput.d.ts +0 -5
- package/dist/components/AutowidthInput/AutowidthInput.d.ts.map +0 -1
- package/dist/components/AutowidthInput/AutowidthInput.js +0 -30
- package/dist/components/AutowidthInput/AutowidthInput.js.map +0 -1
- package/dist/components/AutowidthInput/AutowidthInput.mjs +0 -28
- package/dist/components/AutowidthInput/AutowidthInput.mjs.map +0 -1
- package/dist/components/AutowidthInput/index.d.ts +0 -2
- package/dist/components/AutowidthInput/index.d.ts.map +0 -1
- package/dist/components/Carousel/Carousel.d.ts +0 -4
- package/dist/components/Carousel/Carousel.d.ts.map +0 -1
- package/dist/components/Carousel/Carousel.js +0 -72
- package/dist/components/Carousel/Carousel.js.map +0 -1
- package/dist/components/Carousel/Carousel.mjs +0 -70
- package/dist/components/Carousel/Carousel.mjs.map +0 -1
- package/dist/components/Carousel/Carousel.types.d.ts +0 -22
- package/dist/components/Carousel/Carousel.types.d.ts.map +0 -1
- package/dist/components/Carousel/index.d.ts +0 -3
- package/dist/components/Carousel/index.d.ts.map +0 -1
- package/dist/components/CarouselModal/CarouselModal.d.ts +0 -3
- package/dist/components/CarouselModal/CarouselModal.d.ts.map +0 -1
- package/dist/components/CarouselModal/CarouselModal.js +0 -43
- package/dist/components/CarouselModal/CarouselModal.js.map +0 -1
- package/dist/components/CarouselModal/CarouselModal.mjs +0 -41
- package/dist/components/CarouselModal/CarouselModal.mjs.map +0 -1
- package/dist/components/CarouselModal/CarouselModal.types.d.ts +0 -12
- package/dist/components/CarouselModal/CarouselModal.types.d.ts.map +0 -1
- package/dist/components/CarouselModal/index.d.ts +0 -3
- package/dist/components/CarouselModal/index.d.ts.map +0 -1
- package/dist/components/ChipButton/Chip.types.d.ts +0 -5
- package/dist/components/ChipButton/Chip.types.d.ts.map +0 -1
- package/dist/components/ChipButton/ChipButton.d.ts +0 -4
- package/dist/components/ChipButton/ChipButton.d.ts.map +0 -1
- package/dist/components/ChipButton/ChipButton.js +0 -14
- package/dist/components/ChipButton/ChipButton.js.map +0 -1
- package/dist/components/ChipButton/ChipButton.mjs +0 -12
- package/dist/components/ChipButton/ChipButton.mjs.map +0 -1
- package/dist/components/ChipButton/index.d.ts +0 -3
- package/dist/components/ChipButton/index.d.ts.map +0 -1
- package/dist/components/CrossPageToasts/CrossPageToasts.d.ts +0 -5
- package/dist/components/CrossPageToasts/CrossPageToasts.d.ts.map +0 -1
- package/dist/components/CrossPageToasts/CrossPageToasts.js +0 -36
- package/dist/components/CrossPageToasts/CrossPageToasts.js.map +0 -1
- package/dist/components/CrossPageToasts/CrossPageToasts.mjs +0 -34
- package/dist/components/CrossPageToasts/CrossPageToasts.mjs.map +0 -1
- package/dist/components/CrossPageToasts/index.d.ts +0 -2
- package/dist/components/CrossPageToasts/index.d.ts.map +0 -1
- package/dist/components/DataField/DataField.d.ts +0 -3
- package/dist/components/DataField/DataField.d.ts.map +0 -1
- package/dist/components/DataField/DataField.js +0 -63
- package/dist/components/DataField/DataField.js.map +0 -1
- package/dist/components/DataField/DataField.mjs +0 -61
- package/dist/components/DataField/DataField.mjs.map +0 -1
- package/dist/components/DataField/DataField.styles.d.ts +0 -28
- package/dist/components/DataField/DataField.styles.d.ts.map +0 -1
- package/dist/components/DataField/DataField.styles.js +0 -37
- package/dist/components/DataField/DataField.styles.js.map +0 -1
- package/dist/components/DataField/DataField.styles.mjs +0 -32
- package/dist/components/DataField/DataField.styles.mjs.map +0 -1
- package/dist/components/DataField/DataField.types.d.ts +0 -14
- package/dist/components/DataField/DataField.types.d.ts.map +0 -1
- package/dist/components/DataField/index.d.ts +0 -3
- package/dist/components/DataField/index.d.ts.map +0 -1
- package/dist/components/GuideCue/GuideCue.d.ts +0 -13
- package/dist/components/GuideCue/GuideCue.d.ts.map +0 -1
- package/dist/components/GuideCue/GuideCue.js +0 -127
- package/dist/components/GuideCue/GuideCue.js.map +0 -1
- package/dist/components/GuideCue/GuideCue.mjs +0 -125
- package/dist/components/GuideCue/GuideCue.mjs.map +0 -1
- package/dist/components/GuideCue/GuideCueContext.d.ts +0 -22
- package/dist/components/GuideCue/GuideCueContext.d.ts.map +0 -1
- package/dist/components/GuideCue/GuideCueContext.js +0 -38
- package/dist/components/GuideCue/GuideCueContext.js.map +0 -1
- package/dist/components/GuideCue/GuideCueContext.mjs +0 -34
- package/dist/components/GuideCue/GuideCueContext.mjs.map +0 -1
- package/dist/components/GuideCue/index.d.ts +0 -3
- package/dist/components/GuideCue/index.d.ts.map +0 -1
- package/dist/components/IconButton/IconButton.styles.js +0 -51
- package/dist/components/IconButton/IconButton.styles.js.map +0 -1
- package/dist/components/IconButton/IconButton.styles.mjs +0 -49
- package/dist/components/IconButton/IconButton.styles.mjs.map +0 -1
- package/dist/components/SegmentedControl/SegmentedControl.styles.d.ts +0 -4
- package/dist/components/SegmentedControl/SegmentedControl.styles.d.ts.map +0 -1
- package/dist/components/SegmentedControl/SegmentedControl.styles.js +0 -28
- package/dist/components/SegmentedControl/SegmentedControl.styles.js.map +0 -1
- package/dist/components/SegmentedControl/SegmentedControl.styles.mjs +0 -26
- package/dist/components/SegmentedControl/SegmentedControl.styles.mjs.map +0 -1
- package/dist/components/Select/MenuList/MenuList.js +0 -59
- package/dist/components/Select/MenuList/MenuList.js.map +0 -1
- package/dist/components/Select/MenuList/MenuList.mjs +0 -57
- package/dist/components/Select/MenuList/MenuList.mjs.map +0 -1
- package/dist/components/Select/MenuList/VirtualizedMenuList.js +0 -109
- package/dist/components/Select/MenuList/VirtualizedMenuList.js.map +0 -1
- package/dist/components/Select/MenuList/VirtualizedMenuList.mjs +0 -107
- package/dist/components/Select/MenuList/VirtualizedMenuList.mjs.map +0 -1
- package/dist/components/Select/MenuList/VirtualizedMenuListContext.js +0 -25
- package/dist/components/Select/MenuList/VirtualizedMenuListContext.js.map +0 -1
- package/dist/components/Select/MenuList/VirtualizedMenuListContext.mjs +0 -22
- package/dist/components/Select/MenuList/VirtualizedMenuListContext.mjs.map +0 -1
- package/dist/components/Select/_utils/resolveStyle.js +0 -18
- package/dist/components/Select/_utils/resolveStyle.js.map +0 -1
- package/dist/components/Select/_utils/resolveStyle.mjs +0 -16
- package/dist/components/Select/_utils/resolveStyle.mjs.map +0 -1
- package/dist/components/Textarea/AutosizeTextarea.d.ts +0 -13
- package/dist/components/Textarea/AutosizeTextarea.d.ts.map +0 -1
- package/dist/components/Textarea/AutosizeTextarea.js +0 -26
- package/dist/components/Textarea/AutosizeTextarea.js.map +0 -1
- package/dist/components/Textarea/AutosizeTextarea.mjs +0 -24
- package/dist/components/Textarea/AutosizeTextarea.mjs.map +0 -1
- package/dist/components/Textarea/adjustHeight.d.ts +0 -2
- package/dist/components/Textarea/adjustHeight.d.ts.map +0 -1
- package/dist/components/UrlInput/UrlInput.d.ts +0 -7
- package/dist/components/UrlInput/UrlInput.d.ts.map +0 -1
- package/dist/components/UrlInput/UrlInput.js +0 -28
- package/dist/components/UrlInput/UrlInput.js.map +0 -1
- package/dist/components/UrlInput/UrlInput.mjs +0 -26
- package/dist/components/UrlInput/UrlInput.mjs.map +0 -1
- package/dist/components/UrlInput/index.d.ts +0 -2
- package/dist/components/UrlInput/index.d.ts.map +0 -1
- package/src/components/Alert/Alert.stories.tsx +0 -38
- package/src/components/Alert/Alert.styles.ts +0 -19
- package/src/components/Alert/Alert.tsx +0 -41
- package/src/components/Alert/Alert.types.ts +0 -5
- package/src/components/Alert/index.ts +0 -2
- package/src/components/AutowidthInput/AutowidthInput.stories.tsx +0 -27
- package/src/components/AutowidthInput/AutowidthInput.tsx +0 -47
- package/src/components/AutowidthInput/index.ts +0 -1
- package/src/components/Carousel/Carousel.stories.tsx +0 -154
- package/src/components/Carousel/Carousel.tsx +0 -160
- package/src/components/Carousel/Carousel.types.ts +0 -22
- package/src/components/Carousel/index.ts +0 -2
- package/src/components/CarouselModal/CarouselModal.stories.tsx +0 -52
- package/src/components/CarouselModal/CarouselModal.tsx +0 -106
- package/src/components/CarouselModal/CarouselModal.types.ts +0 -16
- package/src/components/CarouselModal/index.ts +0 -2
- package/src/components/ChipButton/Chip.types.ts +0 -4
- package/src/components/ChipButton/ChipButton.tsx +0 -25
- package/src/components/ChipButton/index.ts +0 -2
- package/src/components/CrossPageToasts/CrossPageToasts.tsx +0 -33
- package/src/components/CrossPageToasts/index.ts +0 -1
- package/src/components/DataField/DataField.stories.tsx +0 -57
- package/src/components/DataField/DataField.styles.ts +0 -33
- package/src/components/DataField/DataField.tsx +0 -141
- package/src/components/DataField/DataField.types.ts +0 -18
- package/src/components/DataField/index.ts +0 -2
- package/src/components/GuideCue/GuideCue.stories.tsx +0 -64
- package/src/components/GuideCue/GuideCue.tsx +0 -231
- package/src/components/GuideCue/GuideCueContext.tsx +0 -70
- package/src/components/GuideCue/index.ts +0 -2
- package/src/components/SegmentedControl/SegmentedControl.styles.ts +0 -28
- package/src/components/Textarea/AutosizeTextarea.tsx +0 -50
- package/src/components/Textarea/adjustHeight.tsx +0 -9
- package/src/components/UrlInput/UrlInput.stories.tsx +0 -69
- package/src/components/UrlInput/UrlInput.tsx +0 -47
- package/src/components/UrlInput/index.tsx +0 -1
- package/src/types/chakra-theme.d.ts +0 -5
|
@@ -5,7 +5,6 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
5
5
|
var react = require('@chakra-ui/react');
|
|
6
6
|
var useTranslate = require('../../hooks/useTranslate.js');
|
|
7
7
|
var Button = require('../Button/Button.js');
|
|
8
|
-
require('../Button/Button.styles.js');
|
|
9
8
|
var Card = require('../Card/Card.js');
|
|
10
9
|
var Container = require('../Container/Container.js');
|
|
11
10
|
require('react');
|
|
@@ -60,10 +59,10 @@ User Agent: ${errorInfo.userAgent}`;
|
|
|
60
59
|
});
|
|
61
60
|
});
|
|
62
61
|
};
|
|
63
|
-
return (jsxRuntime.jsx(react.Flex, { minH: "100vh", align: "center", justify: "center", p: 8, children: jsxRuntime.jsx(Container.Container, { disableResponsive: true, maxW: "container.sm", children: jsxRuntime.jsx(Card.Card, { p: 12, textAlign: "center", w: "full", bgColor: "white", boxShadow: "2xl", children: jsxRuntime.jsxs(react.VStack, {
|
|
62
|
+
return (jsxRuntime.jsx(react.Flex, { minH: "100vh", align: "center", justify: "center", p: 8, children: jsxRuntime.jsx(Container.Container, { disableResponsive: true, maxW: "container.sm", children: jsxRuntime.jsx(Card.Card, { p: 12, textAlign: "center", w: "full", bgColor: "white", boxShadow: "2xl", children: jsxRuntime.jsxs(react.VStack, { gap: 6, align: "center", w: "full", mx: "auto", children: [jsxRuntime.jsx(react.Box, { position: "relative", p: 4, bg: "danger.lightest", borderRadius: "full", children: jsxRuntime.jsx(index.MdError, { boxSize: "xl", color: "danger.main" }) }), jsxRuntime.jsxs(react.VStack, { gap: 3, align: "center", w: "full", children: [jsxRuntime.jsx(H1.H1, { color: "gray.1200", textStyle: "h2", fontWeight: "bold", children: translate('error_boundary_title') }), jsxRuntime.jsx(Subtitle.Subtitle, { color: "gray.1000", textStyle: "h5", maxW: "md", children: translate('error_boundary_subtitle') })] }), jsxRuntime.jsx(Card.Card, { bg: "danger.lightest", border: "1px solid", borderColor: "danger.lighter", p: 4, w: "full", children: jsxRuntime.jsx(Text.Text, { color: "danger.dark", fontFamily: "mono", wordBreak: "break-word", children: error?.message || translate('error_boundary_default_message') }) }), jsxRuntime.jsxs(Card.Card, { bg: "primary.lightest", borderColor: "primary.lighter", p: 6, w: "full", children: [jsxRuntime.jsx(H4.H4, { color: "primary.dark", mb: 4, textAlign: "center", children: translate('support_information') }), jsxRuntime.jsxs(react.VStack, { gap: 2, align: "stretch", mb: 4, children: [jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('error_id'), ":"] }), jsxRuntime.jsx(Text.Text, { fontFamily: "mono", children: errorInfo.errorId })] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('time'), ":"] }), jsxRuntime.jsx(Subtext.Subtext, { fontFamily: "mono", children: new Date().toLocaleString() })] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('component'), ":"] }), jsxRuntime.jsx(Text.Text, { fontFamily: "mono", children: componentName || translate('unknown') })] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('user_id'), ":"] }), jsxRuntime.jsx(Text.Text, { fontFamily: "mono", children: userId ?? translate('anonymous') })] }), typeof window !== 'undefined' && (jsxRuntime.jsxs(react.Flex, { justify: "space-between", children: [jsxRuntime.jsxs(Text.Text, { color: "primary.main", fontWeight: "semibold", children: [translate('page'), ":"] }), jsxRuntime.jsx(Subtext.Subtext, { fontFamily: "mono", children: window.location.pathname })] }))] }), jsxRuntime.jsxs(react.Flex, { justify: "space-between", align: "flex-end", gap: 4, children: [jsxRuntime.jsx(Text.Text, { textAlign: "left", children: translate('support_help_text') }), jsxRuntime.jsxs(Button.Button, { onClick: copyErrorInfo, size: "sm", minW: "fit-content", variant: "ghost", children: [jsxRuntime.jsx(index.FaRegCopy, { boxSize: "xs" }), " ", translate('copy_error_details')] })] })] }), jsxRuntime.jsxs(react.VStack, { gap: 3, w: "full", align: "center", children: [jsxRuntime.jsxs(Button.Button, { onClick: onErrorReset, size: "lg", variant: "solid", _hover: {
|
|
64
63
|
transform: 'translateY(-1px)',
|
|
65
64
|
boxShadow: 'lg',
|
|
66
|
-
}, w: "full", maxW: "300px", children: translate('try_again') }), jsxRuntime.
|
|
65
|
+
}, w: "full", maxW: "300px", children: [jsxRuntime.jsx(index.HiRefresh, {}), " ", translate('try_again')] }), jsxRuntime.jsxs(Button.Button, { onClick: () => window.location.reload(), size: "sm", variant: "ghost", children: [jsxRuntime.jsx(index.HiRefresh, {}), " ", translate('refresh_page')] })] })] }) }) }) }));
|
|
67
66
|
}
|
|
68
67
|
|
|
69
68
|
exports.ErrorFallback = ErrorFallback;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorFallback.js","sources":["../../../src/components/ErrorFallback/ErrorFallback.tsx"],"sourcesContent":[null],"names":["useTranslate","useToast","_jsx","Flex","Container","Card","_jsxs","VStack","Box","MdError","H1","Subtitle","Text","H4","Subtext","Button","FaRegCopy","HiRefresh"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ErrorFallback.js","sources":["../../../src/components/ErrorFallback/ErrorFallback.tsx"],"sourcesContent":[null],"names":["useTranslate","useToast","_jsx","Flex","Container","Card","_jsxs","VStack","Box","MdError","H1","Subtitle","Text","H4","Subtext","Button","FaRegCopy","HiRefresh"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAYM,SAAU,aAAa,CAAC,EAC5B,KAAK,EACL,OAAO,EACP,SAAS,EACT,aAAa,EACb,MAAM,EACN,YAAY,GACO,EAAA;AACnB,IAAA,MAAM,SAAS,GAAGA,yBAAY,EAAE;AAChC,IAAA,MAAM,SAAS,GAAGC,iBAAQ,EAAE;AAE5B,IAAA,MAAM,SAAS,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AEZb,cAAA,CAACe,eAAS,EAAA,EAAA,CAAG,EAAA,GAAA,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA,EAAA,CAC9B,EAETX,eAAA,CAACS,aAAM,EAAA,EACL,OAAO,EAAE,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,EACvC,IAAI,EAAC,IAAI,EACT,OAAO,EAAC,OAAO,EAAA,QAAA,EAAA,CAEfb,cAAA,CAACe,eAAS,KAAG,EAAA,GAAA,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA,EAAA,CACjC,CAAA,EAAA,CACF,CAAA,EAAA,CACF,EAAA,CACJ,EAAA,CACG,EAAA,CACP;AAEX;;;;"}
|
|
@@ -3,7 +3,6 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
3
3
|
import { Flex, VStack, Box } from '@chakra-ui/react';
|
|
4
4
|
import { useTranslate } from '../../hooks/useTranslate.mjs';
|
|
5
5
|
import { Button } from '../Button/Button.mjs';
|
|
6
|
-
import '../Button/Button.styles.mjs';
|
|
7
6
|
import { Card } from '../Card/Card.mjs';
|
|
8
7
|
import { Container } from '../Container/Container.mjs';
|
|
9
8
|
import 'react';
|
|
@@ -58,10 +57,10 @@ User Agent: ${errorInfo.userAgent}`;
|
|
|
58
57
|
});
|
|
59
58
|
});
|
|
60
59
|
};
|
|
61
|
-
return (jsx(Flex, { minH: "100vh", align: "center", justify: "center", p: 8, children: jsx(Container, { disableResponsive: true, maxW: "container.sm", children: jsx(Card, { p: 12, textAlign: "center", w: "full", bgColor: "white", boxShadow: "2xl", children: jsxs(VStack, {
|
|
60
|
+
return (jsx(Flex, { minH: "100vh", align: "center", justify: "center", p: 8, children: jsx(Container, { disableResponsive: true, maxW: "container.sm", children: jsx(Card, { p: 12, textAlign: "center", w: "full", bgColor: "white", boxShadow: "2xl", children: jsxs(VStack, { gap: 6, align: "center", w: "full", mx: "auto", children: [jsx(Box, { position: "relative", p: 4, bg: "danger.lightest", borderRadius: "full", children: jsx(MdError, { boxSize: "xl", color: "danger.main" }) }), jsxs(VStack, { gap: 3, align: "center", w: "full", children: [jsx(H1, { color: "gray.1200", textStyle: "h2", fontWeight: "bold", children: translate('error_boundary_title') }), jsx(Subtitle, { color: "gray.1000", textStyle: "h5", maxW: "md", children: translate('error_boundary_subtitle') })] }), jsx(Card, { bg: "danger.lightest", border: "1px solid", borderColor: "danger.lighter", p: 4, w: "full", children: jsx(Text, { color: "danger.dark", fontFamily: "mono", wordBreak: "break-word", children: error?.message || translate('error_boundary_default_message') }) }), jsxs(Card, { bg: "primary.lightest", borderColor: "primary.lighter", p: 6, w: "full", children: [jsx(H4, { color: "primary.dark", mb: 4, textAlign: "center", children: translate('support_information') }), jsxs(VStack, { gap: 2, align: "stretch", mb: 4, children: [jsxs(Flex, { justify: "space-between", children: [jsxs(Text, { color: "primary.main", fontWeight: "semibold", children: [translate('error_id'), ":"] }), jsx(Text, { fontFamily: "mono", children: errorInfo.errorId })] }), jsxs(Flex, { justify: "space-between", children: [jsxs(Text, { color: "primary.main", fontWeight: "semibold", children: [translate('time'), ":"] }), jsx(Subtext, { fontFamily: "mono", children: new Date().toLocaleString() })] }), jsxs(Flex, { justify: "space-between", children: [jsxs(Text, { color: "primary.main", fontWeight: "semibold", children: [translate('component'), ":"] }), jsx(Text, { fontFamily: "mono", children: componentName || translate('unknown') })] }), jsxs(Flex, { justify: "space-between", children: [jsxs(Text, { color: "primary.main", fontWeight: "semibold", children: [translate('user_id'), ":"] }), jsx(Text, { fontFamily: "mono", children: userId ?? translate('anonymous') })] }), typeof window !== 'undefined' && (jsxs(Flex, { justify: "space-between", children: [jsxs(Text, { color: "primary.main", fontWeight: "semibold", children: [translate('page'), ":"] }), jsx(Subtext, { fontFamily: "mono", children: window.location.pathname })] }))] }), jsxs(Flex, { justify: "space-between", align: "flex-end", gap: 4, children: [jsx(Text, { textAlign: "left", children: translate('support_help_text') }), jsxs(Button, { onClick: copyErrorInfo, size: "sm", minW: "fit-content", variant: "ghost", children: [jsx(FaRegCopy, { boxSize: "xs" }), " ", translate('copy_error_details')] })] })] }), jsxs(VStack, { gap: 3, w: "full", align: "center", children: [jsxs(Button, { onClick: onErrorReset, size: "lg", variant: "solid", _hover: {
|
|
62
61
|
transform: 'translateY(-1px)',
|
|
63
62
|
boxShadow: 'lg',
|
|
64
|
-
}, w: "full", maxW: "300px", children: translate('try_again') }),
|
|
63
|
+
}, w: "full", maxW: "300px", children: [jsx(HiRefresh, {}), " ", translate('try_again')] }), jsxs(Button, { onClick: () => window.location.reload(), size: "sm", variant: "ghost", children: [jsx(HiRefresh, {}), " ", translate('refresh_page')] })] })] }) }) }) }));
|
|
65
64
|
}
|
|
66
65
|
|
|
67
66
|
export { ErrorFallback };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorFallback.mjs","sources":["../../../src/components/ErrorFallback/ErrorFallback.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ErrorFallback.mjs","sources":["../../../src/components/ErrorFallback/ErrorFallback.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAYM,SAAU,aAAa,CAAC,EAC5B,KAAK,EACL,OAAO,EACP,SAAS,EACT,aAAa,EACb,MAAM,EACN,YAAY,GACO,EAAA;AACnB,IAAA,MAAM,SAAS,GAAG,YAAY,EAAE;AAChC,IAAA,MAAM,SAAS,GAAG,QAAQ,EAAE;AAE5B,IAAA,MAAM,SAAS,GAAG;AAChB,QAAA,OAAO,EACL,OAAO;AACP,YAAA,CAAA,IAAA,EAAO,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA,CAAA,EAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA,CAAE,CAAC,WAAW,EAAE;QAC1F,SAAS,EAAE,SAA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AA,GAAA,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA,EAAA,CACjC,CAAA,EAAA,CACF,CAAA,EAAA,CACF,EAAA,CACJ,EAAA,CACG,EAAA,CACP;AAEX;;;;"}
|
|
@@ -2,13 +2,13 @@ import React from 'react';
|
|
|
2
2
|
import { TypographyProps } from '@/components/Typography';
|
|
3
3
|
declare const TEXT_COMPONENTS: {
|
|
4
4
|
readonly Text: React.ForwardRefExoticComponent<import("@chakra-ui/react").TextProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
5
|
-
readonly Subtitle: React.ForwardRefExoticComponent<import("@chakra-ui/react").TextProps & React.RefAttributes<
|
|
6
|
-
readonly Subtext: React.ForwardRefExoticComponent<import("@chakra-ui/react").TextProps & React.RefAttributes<
|
|
7
|
-
readonly H1: React.ForwardRefExoticComponent<import("
|
|
8
|
-
readonly H2: React.ForwardRefExoticComponent<import("
|
|
9
|
-
readonly H3: React.ForwardRefExoticComponent<import("
|
|
10
|
-
readonly H4: React.ForwardRefExoticComponent<import("
|
|
11
|
-
readonly H5: React.ForwardRefExoticComponent<import("
|
|
5
|
+
readonly Subtitle: React.ForwardRefExoticComponent<import("@chakra-ui/react").TextProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
6
|
+
readonly Subtext: React.ForwardRefExoticComponent<import("@chakra-ui/react").TextProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
7
|
+
readonly H1: React.ForwardRefExoticComponent<import("@chakra-ui/react").HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
8
|
+
readonly H2: React.ForwardRefExoticComponent<import("@chakra-ui/react").HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
9
|
+
readonly H3: React.ForwardRefExoticComponent<import("@chakra-ui/react").HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
10
|
+
readonly H4: React.ForwardRefExoticComponent<import("@chakra-ui/react").HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
11
|
+
readonly H5: React.ForwardRefExoticComponent<import("@chakra-ui/react").HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
12
12
|
};
|
|
13
13
|
export type TextComponentType = keyof typeof TEXT_COMPONENTS;
|
|
14
14
|
export type ExpandableTextProps = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandableText.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableText/ExpandableText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAUL,eAAe,EAChB,MAAM,yBAAyB,CAAC;AAMjC,QAAA,MAAM,eAAe;;;;;;;;;CASX,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,eAAe,CAAC;AAE7D,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC/B,GAAG,eAAe,CAAC;AAEpB,eAAO,MAAM,cAAc,GAAI,6CAK5B,mBAAmB,
|
|
1
|
+
{"version":3,"file":"ExpandableText.d.ts","sourceRoot":"","sources":["../../../src/components/ExpandableText/ExpandableText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAUL,eAAe,EAChB,MAAM,yBAAyB,CAAC;AAMjC,QAAA,MAAM,eAAe;;;;;;;;;CASX,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,eAAe,CAAC;AAE7D,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,iBAAiB,CAAC;CAC/B,GAAG,eAAe,CAAC;AAEpB,eAAO,MAAM,cAAc,GAAI,6CAK5B,mBAAmB,4CAyBrB,CAAC"}
|
|
@@ -29,7 +29,7 @@ const ExpandableText = ({ charLimit = 100, component = 'Text', children, ...rest
|
|
|
29
29
|
const translate = useTranslate.useTranslate();
|
|
30
30
|
const { displayText, isLong, isExpanded, handleToggle } = useExpandableText.useExpandableText(children, charLimit);
|
|
31
31
|
const Component = TEXT_COMPONENTS[component];
|
|
32
|
-
return (jsxRuntime.jsxs(Component, { ...rest, children: [displayText, isLong && (jsxRuntime.
|
|
32
|
+
return (jsxRuntime.jsxs(Component, { ...rest, children: [displayText, isLong && (jsxRuntime.jsx(Link.Link, { as: "button", textDecor: "none", _hover: { color: 'primary.dark' }, onClick: handleToggle, "aria-expanded": isExpanded, children: isExpanded ? translate('see_less') : translate('see_more') }))] }));
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
exports.ExpandableText = ExpandableText;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandableText.js","sources":["../../../src/components/ExpandableText/ExpandableText.tsx"],"sourcesContent":[null],"names":["Text","Subtitle","Subtext","H1","H2","H3","H4","H5","useTranslate","useExpandableText","_jsxs","
|
|
1
|
+
{"version":3,"file":"ExpandableText.js","sources":["../../../src/components/ExpandableText/ExpandableText.tsx"],"sourcesContent":[null],"names":["Text","Subtitle","Subtext","H1","H2","H3","H4","H5","useTranslate","useExpandableText","_jsxs","_jsx","Link"],"mappings":";;;;;;;;;;;;;;;;AAkBA;AACA,MAAM,eAAe,GAAG;UACtBA,SAAI;cACJC,iBAAQ;aACRC,eAAO;QACPC,KAAE;QACFC,KAAE;QACFC,KAAE;QACFC,KAAE;QACFC,KAAE;CACM;MASG,cAAc,GAAG,CAAC,EAC7B,SAAS,GAAG,GAAG,EACf,SAAS,GAAG,MAAM,EAClB,QAAQ,EACR,GAAG,IAAI,EACa,KAAI;AACxB,IAAA,MAAM,SAAS,GAAGC,yBAAY,EAAE;AAChC,IAAA,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAGC,mCAAiB,CACzE,QAAQ,EACR,SAAS,CACV;AAED,IAAA,MAAM,SAAS,GAAG,eAAe,CAAC,SAAS,CAAC;IAE5C,QACEC,eAAA,CAAC,SAAS,EAAA,EAAA,GAAK,IAAI,aAChB,WAAW,EACX,MAAM,KACLC,cAAA,CAACC,SAAI,EAAA,EACH,EAAE,EAAC,QAAQ,EACX,SAAS,EAAC,MAAM,EAChB,MAAM,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EACjC,OAAO,EAAE,YAAY,EAAA,eAAA,EACN,UAAU,EAAA,QAAA,EAExB,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,UAAU,CAAC,EAAA,CACtD,CACR,CAAA,EAAA,CACS;AAEhB;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs,
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { H1 } from '../Typography/H1.mjs';
|
|
4
4
|
import { H2 } from '../Typography/H2.mjs';
|
|
5
5
|
import { H3 } from '../Typography/H3.mjs';
|
|
@@ -27,7 +27,7 @@ const ExpandableText = ({ charLimit = 100, component = 'Text', children, ...rest
|
|
|
27
27
|
const translate = useTranslate();
|
|
28
28
|
const { displayText, isLong, isExpanded, handleToggle } = useExpandableText(children, charLimit);
|
|
29
29
|
const Component = TEXT_COMPONENTS[component];
|
|
30
|
-
return (jsxs(Component, { ...rest, children: [displayText, isLong && (
|
|
30
|
+
return (jsxs(Component, { ...rest, children: [displayText, isLong && (jsx(Link, { as: "button", textDecor: "none", _hover: { color: 'primary.dark' }, onClick: handleToggle, "aria-expanded": isExpanded, children: isExpanded ? translate('see_less') : translate('see_more') }))] }));
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
export { ExpandableText };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandableText.mjs","sources":["../../../src/components/ExpandableText/ExpandableText.tsx"],"sourcesContent":[null],"names":["_jsxs","
|
|
1
|
+
{"version":3,"file":"ExpandableText.mjs","sources":["../../../src/components/ExpandableText/ExpandableText.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;AAkBA;AACA,MAAM,eAAe,GAAG;IACtB,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;CACM;MASG,cAAc,GAAG,CAAC,EAC7B,SAAS,GAAG,GAAG,EACf,SAAS,GAAG,MAAM,EAClB,QAAQ,EACR,GAAG,IAAI,EACa,KAAI;AACxB,IAAA,MAAM,SAAS,GAAG,YAAY,EAAE;AAChC,IAAA,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,iBAAiB,CACzE,QAAQ,EACR,SAAS,CACV;AAED,IAAA,MAAM,SAAS,GAAG,eAAe,CAAC,SAAS,CAAC;IAE5C,QACEA,IAAA,CAAC,SAAS,EAAA,EAAA,GAAK,IAAI,aAChB,WAAW,EACX,MAAM,KACLC,GAAA,CAAC,IAAI,EAAA,EACH,EAAE,EAAC,QAAQ,EACX,SAAS,EAAC,MAAM,EAChB,MAAM,EAAE,EAAE,KAAK,EAAE,cAAc,EAAE,EACjC,OAAO,EAAE,YAAY,EAAA,eAAA,EACN,UAAU,EAAA,QAAA,EAExB,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,UAAU,CAAC,EAAA,CACtD,CACR,CAAA,EAAA,CACS;AAEhB;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/FileInput.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;
|
|
1
|
+
{"version":3,"file":"FileInput.d.ts","sourceRoot":"","sources":["../../../src/components/FileInput/FileInput.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS;;;;;;oDA8FrB,CAAC"}
|
|
@@ -12,18 +12,17 @@ require('../Typography/H3.js');
|
|
|
12
12
|
require('../Typography/H4.js');
|
|
13
13
|
require('../Typography/H5.js');
|
|
14
14
|
require('../Typography/Link.js');
|
|
15
|
-
require('../Typography/Subtext.js');
|
|
15
|
+
var Subtext = require('../Typography/Subtext.js');
|
|
16
16
|
require('../Typography/Subtitle.js');
|
|
17
|
-
|
|
17
|
+
require('../Typography/Text.js');
|
|
18
18
|
var useTranslate = require('../../hooks/useTranslate.js');
|
|
19
19
|
|
|
20
20
|
const FileInput = React.forwardRef(({ fileInputLabel, containerStyle = {}, bgImage, onChange, isLoading, ...rest }, ref) => {
|
|
21
|
-
const theme = react.useTheme();
|
|
22
21
|
const translate = useTranslate.useTranslate();
|
|
23
22
|
const handleChange = (event) => {
|
|
24
23
|
onChange(event.currentTarget.files);
|
|
25
24
|
};
|
|
26
|
-
return (jsxRuntime.jsx(react.Flex, { role: "button", w: "100%", h: "100%", maxH: 32, flexDir: "column", align: "center", justify: "center", border: "1px dashed", borderColor: "gray.
|
|
25
|
+
return (jsxRuntime.jsx(react.Flex, { role: "button", w: "100%", h: "100%", maxH: 32, flexDir: "column", align: "center", justify: "center", border: "1px dashed", borderColor: "gray.300", position: "relative", overflow: "hidden", borderRadius: "md", ...containerStyle, children: jsxRuntime.jsxs("label", { role: "group", style: { width: '100%', height: '100%', cursor: 'pointer' }, children: [bgImage && (jsxRuntime.jsx(react.Box, { position: "absolute", top: "0", left: "0", right: "0", bottom: "0", backgroundImage: bgImage, backgroundSize: "cover", backgroundPosition: "center", filter: "grayscale(50%) brightness(80%)", zIndex: "-1" })), jsxRuntime.jsx(react.Input, { type: "file", hidden: true, ref: ref, onChange: handleChange, ...rest }), jsxRuntime.jsx(react.Flex, { w: "100%", h: "100%", p: 7, flexDir: "column", justify: "center", align: "center", bgColor: "rgba(255, 255, 255, 0.85)", opacity: bgImage ? 0 : 1, transition: "ease-in", _groupHover: { opacity: 1 }, children: isLoading ? (jsxRuntime.jsx(Spinner.Spinner, {})) : (jsxRuntime.jsxs(react.Flex, { w: "100%", flexDir: "column", align: "center", justify: "center", children: [jsxRuntime.jsx(react.Box, { borderRadius: "lg", bgColor: bgImage ? 'transparent' : 'gray.100', p: 3, mb: 1, w: "fit-content", children: jsxRuntime.jsx(index.LuUpload, { color: bgImage ? 'gray.1200' : 'gray.600' }) }), jsxRuntime.jsx(Subtext.Subtext, { color: bgImage ? 'gray.1200' : 'gray.600', children: fileInputLabel || translate('upload_your_file') })] })) })] }) }));
|
|
27
26
|
});
|
|
28
27
|
FileInput.displayName = 'FileInput';
|
|
29
28
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileInput.js","sources":["../../../src/components/FileInput/FileInput.tsx"],"sourcesContent":[null],"names":["forwardRef","
|
|
1
|
+
{"version":3,"file":"FileInput.js","sources":["../../../src/components/FileInput/FileInput.tsx"],"sourcesContent":[null],"names":["forwardRef","useTranslate","_jsx","Flex","_jsxs","Box","Input","Spinner","LuUpload","Subtext"],"mappings":";;;;;;;;;;;;;;;;;;;AAUO,MAAM,SAAS,GAAGA,gBAAU,CACjC,CACE,EACE,cAAc,EACd,cAAc,GAAG,EAAE,EACnB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EACD,GAAG,KACD;AACF,IAAA,MAAM,SAAS,GAAGC,yBAAY,EAAE;AAEhC,IAAA,MAAM,YAAY,GAAyC,CAAC,KAAK,KAAI;AACnE,QAAA,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;AACrC,IAAA,CAAC;AAED,IAAA,QACEC,cAAA,CAACC,UAAI,EAAA,EACH,IAAI,EAAC,QAAQ,EACb,CAAC,EAAC,MAAM,EACR,CAAC,EAAC,MAAM,EACR,IAAI,EAAE,EAAE,EACR,OAAO,EAAC,QAAQ,EAChB,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,QAAQ,EAChB,MAAM,EAAC,YAAY,EACnB,WAAW,EAAC,UAAU,EACtB,QAAQ,EAAC,UAAU,EACnB,QAAQ,EAAC,QAAQ,EACjB,YAAY,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,OAAO,EAAE,OAAO,GAAG,aAAa,GAAG,UAAU,EAC7C,CAAC,EAAE,CAAC,EACJ,EAAE,EAAE,CAAC,EACL,CAAC,EAAC,aAAa,EAAA,QAAA,EAEfH,eAACM,cAAQ,EAAA,EAAC,KAAK,EAAE,OAAO,GAAG,WAAW,GAAG,UAAU,GAAI,EAAA,CACnD,EACNN,cAAA,CAACO,eAAO,IAAC,KAAK,EAAE,OAAO,GAAG,WAAW,GAAG,UAAU,EAAA,QAAA,EAC/C,cAAc,IAAI,SAAS,CAAC,kBAAkB,CAAC,EAAA,CACxC,IACL,CACR,EAAA,CACI,CAAA,EAAA,CACD,EAAA,CACH;AAEX,CAAC;AAGH,SAAS,CAAC,WAAW,GAAG,WAAW;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { Flex, Box, Input } from '@chakra-ui/react';
|
|
5
5
|
import { LuUpload } from '../Icon/index.mjs';
|
|
6
6
|
import { Spinner } from '../Spinner/Spinner.mjs';
|
|
7
7
|
import '../Typography/H1.mjs';
|
|
@@ -10,18 +10,17 @@ import '../Typography/H3.mjs';
|
|
|
10
10
|
import '../Typography/H4.mjs';
|
|
11
11
|
import '../Typography/H5.mjs';
|
|
12
12
|
import '../Typography/Link.mjs';
|
|
13
|
-
import '../Typography/Subtext.mjs';
|
|
13
|
+
import { Subtext } from '../Typography/Subtext.mjs';
|
|
14
14
|
import '../Typography/Subtitle.mjs';
|
|
15
|
-
import
|
|
15
|
+
import '../Typography/Text.mjs';
|
|
16
16
|
import { useTranslate } from '../../hooks/useTranslate.mjs';
|
|
17
17
|
|
|
18
18
|
const FileInput = forwardRef(({ fileInputLabel, containerStyle = {}, bgImage, onChange, isLoading, ...rest }, ref) => {
|
|
19
|
-
const theme = useTheme();
|
|
20
19
|
const translate = useTranslate();
|
|
21
20
|
const handleChange = (event) => {
|
|
22
21
|
onChange(event.currentTarget.files);
|
|
23
22
|
};
|
|
24
|
-
return (jsx(Flex, { role: "button", w: "100%", h: "100%", maxH: 32, flexDir: "column", align: "center", justify: "center", border: "1px dashed", borderColor: "gray.
|
|
23
|
+
return (jsx(Flex, { role: "button", w: "100%", h: "100%", maxH: 32, flexDir: "column", align: "center", justify: "center", border: "1px dashed", borderColor: "gray.300", position: "relative", overflow: "hidden", borderRadius: "md", ...containerStyle, children: jsxs("label", { role: "group", style: { width: '100%', height: '100%', cursor: 'pointer' }, children: [bgImage && (jsx(Box, { position: "absolute", top: "0", left: "0", right: "0", bottom: "0", backgroundImage: bgImage, backgroundSize: "cover", backgroundPosition: "center", filter: "grayscale(50%) brightness(80%)", zIndex: "-1" })), jsx(Input, { type: "file", hidden: true, ref: ref, onChange: handleChange, ...rest }), jsx(Flex, { w: "100%", h: "100%", p: 7, flexDir: "column", justify: "center", align: "center", bgColor: "rgba(255, 255, 255, 0.85)", opacity: bgImage ? 0 : 1, transition: "ease-in", _groupHover: { opacity: 1 }, children: isLoading ? (jsx(Spinner, {})) : (jsxs(Flex, { w: "100%", flexDir: "column", align: "center", justify: "center", children: [jsx(Box, { borderRadius: "lg", bgColor: bgImage ? 'transparent' : 'gray.100', p: 3, mb: 1, w: "fit-content", children: jsx(LuUpload, { color: bgImage ? 'gray.1200' : 'gray.600' }) }), jsx(Subtext, { color: bgImage ? 'gray.1200' : 'gray.600', children: fileInputLabel || translate('upload_your_file') })] })) })] }) }));
|
|
25
24
|
});
|
|
26
25
|
FileInput.displayName = 'FileInput';
|
|
27
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileInput.mjs","sources":["../../../src/components/FileInput/FileInput.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;AAUO,MAAM,SAAS,GAAG,UAAU,CACjC,CACE,EACE,cAAc,EACd,cAAc,GAAG,EAAE,EACnB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EACD,GAAG,KACD;AACF,IAAA,MAAM,
|
|
1
|
+
{"version":3,"file":"FileInput.mjs","sources":["../../../src/components/FileInput/FileInput.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;AAUO,MAAM,SAAS,GAAG,UAAU,CACjC,CACE,EACE,cAAc,EACd,cAAc,GAAG,EAAE,EACnB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EACD,GAAG,KACD;AACF,IAAA,MAAM,SAAS,GAAG,YAAY,EAAE;AAEhC,IAAA,MAAM,YAAY,GAAyC,CAAC,KAAK,KAAI;AACnE,QAAA,QAAQ,CAAC,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC;AACrC,IAAA,CAAC;AAED,IAAA,QACEA,GAAA,CAAC,IAAI,EAAA,EACH,IAAI,EAAC,QAAQ,EACb,CAAC,EAAC,MAAM,EACR,CAAC,EAAC,MAAM,EACR,IAAI,EAAE,EAAE,EACR,OAAO,EAAC,QAAQ,EAChB,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,QAAQ,EAChB,MAAM,EAAC,YAAY,EACnB,WAAW,EAAC,UAAU,EACtB,QAAQ,EAAC,UAAU,EACnB,QAAQ,EAAC,QAAQ,EACjB,YAAY,EAAC,IAAI,EAAA,GACb,cAAc,EAAA,QAAA,EAElBC,IAAA,CAAA,OAAA,EAAA,EACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,EAAA,QAAA,EAAA,CAE1D,OAAO,KACND,GAAA,CAAC,GAAG,EAAA,EACF,QAAQ,EAAC,UAAU,EACnB,GAAG,EAAC,GAAG,EACP,IAAI,EAAC,GAAG,EACR,KAAK,EAAC,GAAG,EACT,MAAM,EAAC,GAAG,EACV,eAAe,EAAE,OAAO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A,CACD,EAAA,CACH;AAEX,CAAC;AAGH,SAAS,CAAC,WAAW,GAAG,WAAW;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["../../../src/components/FileItem/FileItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAgBrE,eAAO,MAAM,QAAQ;iGASlB,aAAa;;
|
|
1
|
+
{"version":3,"file":"FileItem.d.ts","sourceRoot":"","sources":["../../../src/components/FileItem/FileItem.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAgBrE,eAAO,MAAM,QAAQ;iGASlB,aAAa;;CAqGf,CAAC"}
|
|
@@ -21,7 +21,6 @@ var Spinner = require('../Spinner/Spinner.js');
|
|
|
21
21
|
var Tooltip = require('../Tooltip/Tooltip.js');
|
|
22
22
|
|
|
23
23
|
const FileItem = ({ fileName, error, onFileDownload, onFileDelete, progress, fileSize, isDeleting = false, ...rest }) => {
|
|
24
|
-
react.useTheme();
|
|
25
24
|
const errorColor = 'danger.main';
|
|
26
25
|
const isUploadingFile = !error && typeof progress === 'number' && progress >= 0 && progress < 100;
|
|
27
26
|
const isFileUploadComplete = !progress || error || progress === 100;
|
|
@@ -33,7 +32,7 @@ const FileItem = ({ fileName, error, onFileDownload, onFileDelete, progress, fil
|
|
|
33
32
|
left: 0,
|
|
34
33
|
width: '3px',
|
|
35
34
|
backgroundColor: error ? errorColor : 'transparent',
|
|
36
|
-
}, ...rest, children: [jsxRuntime.jsxs(react.Flex, { w: "60%", alignItems: "center", gap: 2, children: [jsxRuntime.jsx(react.Box, { minW: 5, children: jsxRuntime.jsx(index.CiFileOn, { color: error ? errorColor : 'gray.800' }) }), jsxRuntime.jsx(Text.Text, {
|
|
35
|
+
}, ...rest, children: [jsxRuntime.jsxs(react.Flex, { w: "60%", alignItems: "center", gap: 2, children: [jsxRuntime.jsx(react.Box, { minW: 5, children: jsxRuntime.jsx(index.CiFileOn, { color: error ? errorColor : 'gray.800' }) }), jsxRuntime.jsx(Text.Text, { truncate: true, color: error ? errorColor : undefined, children: fileName })] }), jsxRuntime.jsxs(react.Flex, { align: "center", gap: 2, flex: 1, children: [error ? (jsxRuntime.jsx(react.Flex, { w: "100%", justify: "flex-end", align: "center", gap: 2, children: jsxRuntime.jsx(Tooltip.Tooltip, { content: error, placement: "top", children: jsxRuntime.jsx(index.MdError, { color: errorColor }) }) })) : (jsxRuntime.jsx(react.Box, { w: "100%", children: isUploadingFile && (jsxRuntime.jsxs(react.Flex, { align: "center", justify: "flex-end", gap: 2, children: [jsxRuntime.jsxs(Subtext.Subtext, { children: [progress, "%"] }), jsxRuntime.jsx(ProgressBar.ProgressBar, { w: "100%", minW: 3, maxW: 20, value: progress }), jsxRuntime.jsx(Spinner.Spinner, { size: "xs" }), jsxRuntime.jsx(IconButton.IconButton, { "aria-label": 'remove uploading file button', onClick: onFileDelete, size: "2xs", disabled: isDeleting, colorPalette: "neutral", variant: "ghost", children: jsxRuntime.jsx(index.IoClose, { color: "gray.600", boxSize: "md" }) })] })) })), !isUploadingFile && isFileUploadComplete && (jsxRuntime.jsxs(React.Fragment, { children: [fileSize && jsxRuntime.jsx(Subtitle.Subtitle, { mr: 4, children: formatFileSize.formatFileSize(fileSize) }), onFileDownload && !error && (jsxRuntime.jsx(IconButton.IconButton, { "aria-label": 'download uploaded file button', onClick: onFileDownload, size: "2xs", colorPalette: "neutral", variant: "ghost", children: jsxRuntime.jsx(index.LuDownload, { color: "gray.800" }) })), onFileDelete && (jsxRuntime.jsx(IconButton.IconButton, { "aria-label": 'remove uploaded file button', onClick: onFileDelete, size: "2xs", disabled: isDeleting, colorPalette: "neutral", variant: "ghost", children: isDeleting ? (jsxRuntime.jsx(Spinner.Spinner, { size: "xs" })) : (jsxRuntime.jsx(index.FaRegTrashAlt, { boxSize: "sm", color: "gray.800" })) }))] }))] })] }));
|
|
37
36
|
};
|
|
38
37
|
FileItem.displayName = 'FileItem';
|
|
39
38
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileItem.js","sources":["../../../src/components/FileItem/FileItem.tsx"],"sourcesContent":[null],"names":["
|
|
1
|
+
{"version":3,"file":"FileItem.js","sources":["../../../src/components/FileItem/FileItem.tsx"],"sourcesContent":[null],"names":["_jsxs","Flex","_jsx","Box","CiFileOn","Text","Tooltip","MdError","Subtext","ProgressBar","Spinner","IconButton","IoClose","Fragment","Subtitle","formatFileSize","LuDownload","FaRegTrashAlt"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAmBO,MAAM,QAAQ,GAAG,CAAC,EACvB,QAAQ,EACR,KAAK,EACL,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,UAAU,GAAG,KAAK,EAClB,GAAG,IAAI,EACO,KAAI;IAClB,MAAM,UAAU,GAAG,aAAa;AAEhC,IAAA,MAAM,eAAe,GACnB,CAAC,KAAK,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,IAAI,CAAC,IAAI,QAAQ,GAAG,GAAG;IAC3E,MAAM,oBAAoB,GAAG,CAAC,QAAQ,IAAI,KAAK,IAAI,QAAQ,KAAK,GAAG;AAEnE,IAAA,QACEA,eAAA,CAACC,UAAI,IACH,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,EACL,GAAG,EAAE,CAAC,EACN,cAAc,EAAC,eAAe,EAC9B,UAAU,EAAC,QAAQ,EACnB,MAAM,EAAC,WAAW,EAClB,WAAW,EAAC,UAAU,EACtB,CAAC,EAAC,MAAM,EACR,QAAQ,EAAC,UAAU,EACnB,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,IAAI;AACb,YAAA,QAAQ,EAAE,UAAU;AACpB,YAAA,GAAG,EAAE,CAAC;AACN,YAAA,MAAM,EAAE,CAAC;AACT,YAAA,IAAI,EAAE,CAAC;AACP,YAAA,KAAK,EAAE,KAAK;YACZ,eA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AA,EAAC,OAAO,EAAC,IAAI,EAAC,KAAK,EAAC,UAAU,EAAA,CAAG,CAChD,GACU,CACd,CAAA,EAAA,CACQ,CACZ,CAAA,EAAA,CACI,CAAA,EAAA,CACF;AAEX;AAEA,QAAQ,CAAC,WAAW,GAAG,UAAU;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { Fragment } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { Flex, Box } from '@chakra-ui/react';
|
|
5
5
|
import { CiFileOn, MdError, IoClose, LuDownload, FaRegTrashAlt } from '../Icon/index.mjs';
|
|
6
6
|
import { IconButton } from '../IconButton/IconButton.mjs';
|
|
7
7
|
import { ProgressBar } from '../ProgressBar/ProgressBar.mjs';
|
|
@@ -19,7 +19,6 @@ import { Spinner } from '../Spinner/Spinner.mjs';
|
|
|
19
19
|
import { Tooltip } from '../Tooltip/Tooltip.mjs';
|
|
20
20
|
|
|
21
21
|
const FileItem = ({ fileName, error, onFileDownload, onFileDelete, progress, fileSize, isDeleting = false, ...rest }) => {
|
|
22
|
-
useTheme();
|
|
23
22
|
const errorColor = 'danger.main';
|
|
24
23
|
const isUploadingFile = !error && typeof progress === 'number' && progress >= 0 && progress < 100;
|
|
25
24
|
const isFileUploadComplete = !progress || error || progress === 100;
|
|
@@ -31,7 +30,7 @@ const FileItem = ({ fileName, error, onFileDownload, onFileDelete, progress, fil
|
|
|
31
30
|
left: 0,
|
|
32
31
|
width: '3px',
|
|
33
32
|
backgroundColor: error ? errorColor : 'transparent',
|
|
34
|
-
}, ...rest, children: [jsxs(Flex, { w: "60%", alignItems: "center", gap: 2, children: [jsx(Box, { minW: 5, children: jsx(CiFileOn, { color: error ? errorColor : 'gray.800' }) }), jsx(Text, {
|
|
33
|
+
}, ...rest, children: [jsxs(Flex, { w: "60%", alignItems: "center", gap: 2, children: [jsx(Box, { minW: 5, children: jsx(CiFileOn, { color: error ? errorColor : 'gray.800' }) }), jsx(Text, { truncate: true, color: error ? errorColor : undefined, children: fileName })] }), jsxs(Flex, { align: "center", gap: 2, flex: 1, children: [error ? (jsx(Flex, { w: "100%", justify: "flex-end", align: "center", gap: 2, children: jsx(Tooltip, { content: error, placement: "top", children: jsx(MdError, { color: errorColor }) }) })) : (jsx(Box, { w: "100%", children: isUploadingFile && (jsxs(Flex, { align: "center", justify: "flex-end", gap: 2, children: [jsxs(Subtext, { children: [progress, "%"] }), jsx(ProgressBar, { w: "100%", minW: 3, maxW: 20, value: progress }), jsx(Spinner, { size: "xs" }), jsx(IconButton, { "aria-label": 'remove uploading file button', onClick: onFileDelete, size: "2xs", disabled: isDeleting, colorPalette: "neutral", variant: "ghost", children: jsx(IoClose, { color: "gray.600", boxSize: "md" }) })] })) })), !isUploadingFile && isFileUploadComplete && (jsxs(Fragment, { children: [fileSize && jsx(Subtitle, { mr: 4, children: formatFileSize(fileSize) }), onFileDownload && !error && (jsx(IconButton, { "aria-label": 'download uploaded file button', onClick: onFileDownload, size: "2xs", colorPalette: "neutral", variant: "ghost", children: jsx(LuDownload, { color: "gray.800" }) })), onFileDelete && (jsx(IconButton, { "aria-label": 'remove uploaded file button', onClick: onFileDelete, size: "2xs", disabled: isDeleting, colorPalette: "neutral", variant: "ghost", children: isDeleting ? (jsx(Spinner, { size: "xs" })) : (jsx(FaRegTrashAlt, { boxSize: "sm", color: "gray.800" })) }))] }))] })] }));
|
|
35
34
|
};
|
|
36
35
|
FileItem.displayName = 'FileItem';
|
|
37
36
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileItem.mjs","sources":["../../../src/components/FileItem/FileItem.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;AAmBO,MAAM,QAAQ,GAAG,CAAC,EACvB,QAAQ,EACR,KAAK,EACL,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,UAAU,GAAG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ts","sourceRoot":"","sources":["../../../src/components/FileList/FileList.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAKtE,eAAO,MAAM,QAAQ;6DAKlB,cAAc;;
|
|
1
|
+
{"version":3,"file":"FileList.d.ts","sourceRoot":"","sources":["../../../src/components/FileList/FileList.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AAKtE,eAAO,MAAM,QAAQ;6DAKlB,cAAc;;CAuFhB,CAAC"}
|
|
@@ -42,9 +42,14 @@ const FileList = ({ files, onFileDelete, onFileDownload, visibleCount = 3, }) =>
|
|
|
42
42
|
};
|
|
43
43
|
if (files?.length <= 0)
|
|
44
44
|
return null;
|
|
45
|
-
return (jsxRuntime.jsxs(react.
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
return (jsxRuntime.jsxs(react.Box, { w: "100%", border: "1px solid", borderColor: "gray.200", borderRadius: "md", overflow: "hidden", children: [jsxRuntime.jsx(react.List.Root, { children: files?.slice(0, currentVisibleCount).map((file) => (jsxRuntime.jsx(react.List.Item, { listStyle: "none", children: jsxRuntime.jsx(FileItem.FileItem, { fileName: file.name, onFileDelete: onFileDelete ? () => handleFileDelete(file) : undefined, onFileDownload: onFileDownload && file.fileUrl
|
|
46
|
+
? () => onFileDownload?.(file)
|
|
47
|
+
: undefined, border: 0, borderBottom: "1px solid", borderBottomColor: "gray.50", progress: file.progress, error: file.error, fileSize: file.size, isDeleting: deletingFileIds.has(file.id) }) }, file.id))) }), shouldShowLoadMoreButton && (jsxRuntime.jsxs(react.Button, { onClick: handleFileLoadMore, alignSelf: "stretch", w: "100%", variant: "ghost", display: "flex", gap: 1, css: {
|
|
48
|
+
all: 'unset',
|
|
49
|
+
display: 'flex',
|
|
50
|
+
gap: '0.25rem',
|
|
51
|
+
cursor: 'pointer',
|
|
52
|
+
}, children: [jsxRuntime.jsxs(Subtitle.Subtitle, { color: "gray.600", children: [translate('see_more'), " (", visibleCount, "/", files.length, ")"] }), jsxRuntime.jsx(index.IoChevronDownOutline, { color: "gray.600" })] }))] }));
|
|
48
53
|
};
|
|
49
54
|
FileList.displayName = 'FileList';
|
|
50
55
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileList.js","sources":["../../../src/components/FileList/FileList.tsx"],"sourcesContent":[null],"names":["useState","useTranslate","_jsxs","
|
|
1
|
+
{"version":3,"file":"FileList.js","sources":["../../../src/components/FileList/FileList.tsx"],"sourcesContent":[null],"names":["useState","useTranslate","_jsxs","Box","_jsx","List","FileItem","Button","Subtitle","IoChevronDownOutline"],"mappings":";;;;;;;;;;;;;;;;;;;AASO,MAAM,QAAQ,GAAG,CAAC,EACvB,KAAK,EACL,YAAY,EACZ,cAAc,EACd,YAAY,GAAG,CAAC,GACD,KAAI;AACnB,IAAA,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAGA,cAAQ,CAC5D,YAAY,IAAI,CAAC,CAClB;AACD,IAAA,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAGA,cAAQ,CACpD,IAAI,GAAG,EAAE,CACV;AACD,IAAA,MAAM,SAAS,GAAGC,yBAAY,EAAE;IAChC,MAAM,wBAAwB,GAAG,KAAK,IAAI,KAAK,CAAC,MAAM,GAAG,mBAAmB;IAE5E,MAAM,kBAAkB,GAAG,MAAK;QAC9B,sBAAsB,CAAC,CAAC,IAAI,KAAK,IAAI,GAAG,CAAC,CAAC;AAC5C,IAAA,CAAC;AAED,IAAA,MAAM,gBAAgB,GAAG,OAAO,IAAgC,KAAI;QAClE,IAAI,CAAC,YAAY,IAAI,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;YAAE;AAEnD,QAAA,kBAAkB,CAAC,CAAC,IAAI,KAAK,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAExD,QAAA,IAAI;AAC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C,IAlBY,IAAI,CAAC,EAAE,CAmBX,CACb,CAAC,EAAA,CACQ,EACX,wBAAwB,KACvBJ,eAAA,CAACK,YAAM,IACL,OAAO,EAAE,kBAAkB,EAC3B,SAAS,EAAC,SAAS,EACnB,CAAC,EAAC,MAAM,EACR,OAAO,EAAC,OAAO,EACf,OAAO,EAAC,MAAM,EACd,GAAG,EAAE,CAAC,EACN,GAAG,EAAE;AACH,oBAAA,GAAG,EAAE,OAAO;AACZ,oBAAA,OAAO,EAAE,MAAM;AACf,oBAAA,GAAG,EAAE,SAAS;AACd,oBAAA,MAAM,EAAE,SAAS;AAClB,iBAAA,EAAA,QAAA,EAAA,CAEDL,eAAA,CAACM,iBAAQ,EAAA,EAAC,KAAK,EAAC,UAAU,EAAA,QAAA,EAAA,CACvB,SAAS,CAAC,UAAU,CAAC,EAAA,IAAA,EAAI,YAAY,EAAA,GAAA,EAAG,KAAK,CAAC,MAAM,EAAA,GAAA,CAAA,EAAA,CAC5C,EACXJ,cAAA,CAACK,0BAAoB,EAAA,EAAC,KAAK,EAAC,UAAU,EAAA,CAAG,CAAA,EAAA,CAClC,CACV,CAAA,EAAA,CACG;AAEV;AAEA,QAAQ,CAAC,WAAW,GAAG,UAAU;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState } from 'react';
|
|
4
|
-
import { List, Button } from '@chakra-ui/react';
|
|
4
|
+
import { Box, List, Button } from '@chakra-ui/react';
|
|
5
5
|
import { FileItem } from '../FileItem/FileItem.mjs';
|
|
6
6
|
import { IoChevronDownOutline } from '../Icon/index.mjs';
|
|
7
7
|
import '../Typography/H1.mjs';
|
|
@@ -40,9 +40,14 @@ const FileList = ({ files, onFileDelete, onFileDownload, visibleCount = 3, }) =>
|
|
|
40
40
|
};
|
|
41
41
|
if (files?.length <= 0)
|
|
42
42
|
return null;
|
|
43
|
-
return (jsxs(
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
return (jsxs(Box, { w: "100%", border: "1px solid", borderColor: "gray.200", borderRadius: "md", overflow: "hidden", children: [jsx(List.Root, { children: files?.slice(0, currentVisibleCount).map((file) => (jsx(List.Item, { listStyle: "none", children: jsx(FileItem, { fileName: file.name, onFileDelete: onFileDelete ? () => handleFileDelete(file) : undefined, onFileDownload: onFileDownload && file.fileUrl
|
|
44
|
+
? () => onFileDownload?.(file)
|
|
45
|
+
: undefined, border: 0, borderBottom: "1px solid", borderBottomColor: "gray.50", progress: file.progress, error: file.error, fileSize: file.size, isDeleting: deletingFileIds.has(file.id) }) }, file.id))) }), shouldShowLoadMoreButton && (jsxs(Button, { onClick: handleFileLoadMore, alignSelf: "stretch", w: "100%", variant: "ghost", display: "flex", gap: 1, css: {
|
|
46
|
+
all: 'unset',
|
|
47
|
+
display: 'flex',
|
|
48
|
+
gap: '0.25rem',
|
|
49
|
+
cursor: 'pointer',
|
|
50
|
+
}, children: [jsxs(Subtitle, { color: "gray.600", children: [translate('see_more'), " (", visibleCount, "/", files.length, ")"] }), jsx(IoChevronDownOutline, { color: "gray.600" })] }))] }));
|
|
46
51
|
};
|
|
47
52
|
FileList.displayName = 'FileList';
|
|
48
53
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileList.mjs","sources":["../../../src/components/FileList/FileList.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;;;AASO,MAAM,QAAQ,GAAG,CAAC,EACvB,KAAK,EACL,YAAY,EACZ,cAAc,EACd,YAAY,GAAG,CAAC,GACD,KAAI;AACnB,IAAA,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GAAG,QAAQ,CAC5D,YAAY,IAAI,CAAC,CAClB;AACD,IAAA,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CACpD,IAAI,GAAG,EAAE,CACV;AACD,IAAA,MAAM,SAAS,GAAG,YAAY,E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AAA,CAClC,CACV,CAAA,EAAA,CACG;AAEV;AAEA,QAAQ,CAAC,WAAW,GAAG,UAAU;;;;"}
|
|
@@ -6,7 +6,7 @@ var React = require('react');
|
|
|
6
6
|
var react = require('@chakra-ui/react');
|
|
7
7
|
|
|
8
8
|
const FormControl = React.forwardRef(({ ...rest }, ref) => {
|
|
9
|
-
return jsxRuntime.jsx(react.
|
|
9
|
+
return jsxRuntime.jsx(react.Field.Root, { ...rest, ref: ref });
|
|
10
10
|
});
|
|
11
11
|
FormControl.displayName = 'FormControl';
|
|
12
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormControl.js","sources":["../../../src/components/FormControl/FormControl.tsx"],"sourcesContent":[null],"names":["forwardRef","_jsx","
|
|
1
|
+
{"version":3,"file":"FormControl.js","sources":["../../../src/components/FormControl/FormControl.tsx"],"sourcesContent":[null],"names":["forwardRef","_jsx","Field"],"mappings":";;;;;;;AAKO,MAAM,WAAW,GAAGA,gBAAU,CACnC,CAAC,EAAE,GAAG,IAAI,EAAoB,EAAE,GAAkC,KAAI;IACpE,OAAOC,cAAA,CAACC,WAAK,CAAC,IAAI,EAAA,EAAA,GAAK,IAAI,EAAE,GAAG,EAAE,GAAG,EAAA,CAAI;AAC3C,CAAC;AAGH,WAAW,CAAC,WAAW,GAAG,aAAa;;;;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { Field } from '@chakra-ui/react';
|
|
5
5
|
|
|
6
6
|
const FormControl = forwardRef(({ ...rest }, ref) => {
|
|
7
|
-
return jsx(
|
|
7
|
+
return jsx(Field.Root, { ...rest, ref: ref });
|
|
8
8
|
});
|
|
9
9
|
FormControl.displayName = 'FormControl';
|
|
10
10
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormControl.mjs","sources":["../../../src/components/FormControl/FormControl.tsx"],"sourcesContent":[null],"names":["_jsx"
|
|
1
|
+
{"version":3,"file":"FormControl.mjs","sources":["../../../src/components/FormControl/FormControl.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;AAKO,MAAM,WAAW,GAAG,UAAU,CACnC,CAAC,EAAE,GAAG,IAAI,EAAoB,EAAE,GAAkC,KAAI;IACpE,OAAOA,GAAA,CAAC,KAAK,CAAC,IAAI,EAAA,EAAA,GAAK,IAAI,EAAE,GAAG,EAAE,GAAG,EAAA,CAAI;AAC3C,CAAC;AAGH,WAAW,CAAC,WAAW,GAAG,aAAa;;;;"}
|