@spaced-out/ui-design-system 0.4.11 → 0.4.13-beta.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/.cspell/custom-words.txt +4 -0
- package/.storybook/main.js +3 -3
- package/CHANGELOG.md +14 -0
- package/babel.config.js +1 -1
- package/config.js +4 -3
- package/docs/FORWARDREF_FIX.md +241 -0
- package/gulpfile.js +3 -32
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts +19 -0
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +1 -0
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.js +225 -0
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.tsx +465 -0
- package/lib/components/Accordion/Accordion.d.ts +21 -0
- package/lib/components/Accordion/Accordion.d.ts.map +1 -0
- package/lib/components/Accordion/Accordion.js +3 -1
- package/lib/components/Accordion/Accordion.stories.d.ts +143 -0
- package/lib/components/Accordion/Accordion.stories.d.ts.map +1 -0
- package/lib/components/Accordion/Accordion.stories.js +172 -0
- package/lib/components/Accordion/Accordion.stories.tsx +165 -0
- package/lib/components/Accordion/Accordion.tsx +112 -0
- package/lib/components/Accordion/AccordionGroup.d.ts +17 -0
- package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -0
- package/lib/components/Accordion/AccordionGroup.js +3 -0
- package/lib/components/Accordion/AccordionGroup.stories.d.ts +104 -0
- package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -0
- package/lib/components/Accordion/AccordionGroup.stories.js +202 -0
- package/lib/components/Accordion/AccordionGroup.stories.tsx +215 -0
- package/lib/components/Accordion/AccordionGroup.tsx +77 -0
- package/lib/components/Accordion/index.d.ts +3 -0
- package/lib/components/Accordion/index.d.ts.map +1 -0
- package/lib/components/Accordion/index.ts +2 -0
- package/lib/components/Avatar/Avatar.d.ts +60 -0
- package/lib/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/components/Avatar/Avatar.js +14 -6
- package/lib/components/Avatar/Avatar.stories.d.ts +149 -0
- package/lib/components/Avatar/Avatar.stories.d.ts.map +1 -0
- package/lib/components/Avatar/Avatar.stories.js +174 -0
- package/lib/components/Avatar/Avatar.stories.tsx +152 -0
- package/lib/components/Avatar/Avatar.tsx +272 -0
- package/lib/components/Avatar/index.d.ts +2 -0
- package/lib/components/Avatar/index.d.ts.map +1 -0
- package/lib/components/Avatar/index.ts +1 -0
- package/lib/components/AvatarGroup/AvatarGroup.d.ts +15 -0
- package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -0
- package/lib/components/AvatarGroup/AvatarGroup.js +5 -0
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +101 -0
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -0
- package/lib/components/AvatarGroup/AvatarGroup.stories.js +160 -0
- package/lib/components/AvatarGroup/AvatarGroup.stories.tsx +138 -0
- package/lib/components/AvatarGroup/AvatarGroup.tsx +164 -0
- package/lib/components/AvatarGroup/index.d.ts +2 -0
- package/lib/components/AvatarGroup/index.d.ts.map +1 -0
- package/lib/components/AvatarGroup/index.ts +1 -0
- package/lib/components/Badge/Badge.d.ts +40 -0
- package/lib/components/Badge/Badge.d.ts.map +1 -0
- package/lib/components/Badge/Badge.stories.d.ts +123 -0
- package/lib/components/Badge/Badge.stories.d.ts.map +1 -0
- package/lib/components/Badge/Badge.stories.js +155 -0
- package/lib/components/Badge/Badge.stories.tsx +131 -0
- package/lib/components/Badge/Badge.tsx +149 -0
- package/lib/components/Badge/index.d.ts +2 -0
- package/lib/components/Badge/index.d.ts.map +1 -0
- package/lib/components/Badge/index.ts +1 -0
- package/lib/components/BadgedIcon/BadgedIcon.d.ts +18 -0
- package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -0
- package/lib/components/BadgedIcon/BadgedIcon.js +3 -1
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +111 -0
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +1 -0
- package/lib/components/BadgedIcon/BadgedIcon.stories.js +95 -0
- package/lib/components/BadgedIcon/BadgedIcon.stories.tsx +80 -0
- package/lib/components/BadgedIcon/BadgedIcon.tsx +76 -0
- package/lib/components/BadgedIcon/index.d.ts +2 -0
- package/lib/components/BadgedIcon/index.d.ts.map +1 -0
- package/lib/components/BadgedIcon/index.ts +1 -0
- package/lib/components/Banner/Banner.d.ts +7 -0
- package/lib/components/Banner/Banner.d.ts.map +1 -0
- package/lib/components/Banner/Banner.stories.d.ts +187 -0
- package/lib/components/Banner/Banner.stories.d.ts.map +1 -0
- package/lib/components/Banner/Banner.stories.js +210 -0
- package/lib/components/Banner/Banner.stories.tsx +187 -0
- package/lib/components/Banner/Banner.tsx +55 -0
- package/lib/components/Banner/index.d.ts +2 -0
- package/lib/components/Banner/index.d.ts.map +1 -0
- package/lib/components/Banner/index.ts +1 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +10 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +3 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +98 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.js +122 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.tsx +114 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.tsx +52 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +2 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.ts +1 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +14 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.js +5 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +57 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +180 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.tsx +189 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.tsx +59 -0
- package/lib/components/Breadcrumbs/index.d.ts +3 -0
- package/lib/components/Breadcrumbs/index.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/index.ts +2 -0
- package/lib/components/Button/Button.d.ts +64 -0
- package/lib/components/Button/Button.d.ts.map +1 -0
- package/lib/components/Button/Button.js +26 -8
- package/lib/components/Button/Button.stories.d.ts +245 -0
- package/lib/components/Button/Button.stories.d.ts.map +1 -0
- package/lib/components/Button/Button.stories.js +257 -0
- package/lib/components/Button/Button.stories.tsx +220 -0
- package/lib/components/Button/Button.tsx +285 -0
- package/lib/components/Button/index.d.ts +3 -0
- package/lib/components/Button/index.d.ts.map +1 -0
- package/lib/components/Button/index.ts +8 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +40 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.js +13 -3
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +558 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +1 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.js +669 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.tsx +677 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.tsx +221 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +42 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +6 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +628 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +1 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.js +651 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.tsx +624 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.tsx +167 -0
- package/lib/components/ButtonDropdown/index.d.ts +3 -0
- package/lib/components/ButtonDropdown/index.d.ts.map +1 -0
- package/lib/components/ButtonDropdown/index.ts +2 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +25 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +142 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.js +152 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.tsx +125 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.tsx +76 -0
- package/lib/components/ButtonTabs/ButtonTab/index.d.ts +2 -0
- package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTab/index.ts +1 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +12 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.js +12 -3
- package/lib/components/ButtonTabs/ButtonTabDropdown.tsx +147 -0
- package/lib/components/ButtonTabs/ButtonTabs.d.ts +24 -0
- package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTabs.js +3 -0
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +201 -0
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTabs.stories.js +471 -0
- package/lib/components/ButtonTabs/ButtonTabs.stories.tsx +393 -0
- package/lib/components/ButtonTabs/ButtonTabs.tsx +119 -0
- package/lib/components/ButtonTabs/index.d.ts +3 -0
- package/lib/components/ButtonTabs/index.d.ts.map +1 -0
- package/lib/components/ButtonTabs/index.ts +2 -0
- package/lib/components/Card/Card.d.ts +37 -0
- package/lib/components/Card/Card.d.ts.map +1 -0
- package/lib/components/Card/Card.js +6 -1
- package/lib/components/Card/Card.stories.d.ts +150 -0
- package/lib/components/Card/Card.stories.d.ts.map +1 -0
- package/lib/components/Card/Card.stories.js +236 -0
- package/lib/components/Card/Card.stories.tsx +245 -0
- package/lib/components/Card/Card.tsx +172 -0
- package/lib/components/Card/index.d.ts +2 -0
- package/lib/components/Card/index.d.ts.map +1 -0
- package/lib/components/Card/index.ts +1 -0
- package/lib/components/Charts/ChartTooltip/index.d.ts +3 -0
- package/lib/components/Charts/ChartTooltip/index.d.ts.map +1 -0
- package/lib/components/Charts/ChartTooltip/index.ts +13 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +50 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js +5 -7
- package/lib/components/Charts/ChartWrapper/ChartWrapper.tsx +179 -0
- package/lib/components/Charts/ChartWrapper/index.d.ts +2 -0
- package/lib/components/Charts/ChartWrapper/index.d.ts.map +1 -0
- package/lib/components/Charts/ChartWrapper/index.ts +1 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +23 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.js +12 -7
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +446 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +1 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.js +654 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.tsx +574 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.tsx +125 -0
- package/lib/components/Charts/ColumnChart/index.d.ts +2 -0
- package/lib/components/Charts/ColumnChart/index.d.ts.map +1 -0
- package/lib/components/Charts/ColumnChart/index.ts +1 -0
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +28 -0
- package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -0
- package/lib/components/Charts/DonutChart/DonutChart.js +7 -6
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +226 -0
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +1 -0
- package/lib/components/Charts/DonutChart/DonutChart.stories.js +387 -0
- package/lib/components/Charts/DonutChart/DonutChart.stories.tsx +415 -0
- package/lib/components/Charts/DonutChart/DonutChart.tsx +155 -0
- package/lib/components/Charts/DonutChart/index.d.ts +2 -0
- package/lib/components/Charts/DonutChart/index.d.ts.map +1 -0
- package/lib/components/Charts/DonutChart/index.ts +1 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +25 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.js +6 -7
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +307 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +1 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.js +529 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.tsx +510 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.tsx +110 -0
- package/lib/components/Charts/FunnelChart/index.d.ts +2 -0
- package/lib/components/Charts/FunnelChart/index.d.ts.map +1 -0
- package/lib/components/Charts/FunnelChart/index.ts +1 -0
- package/lib/components/Charts/LineChart/LineChart.d.ts +23 -0
- package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -0
- package/lib/components/Charts/LineChart/LineChart.js +6 -6
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +310 -0
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +1 -0
- package/lib/components/Charts/LineChart/LineChart.stories.js +587 -0
- package/lib/components/Charts/LineChart/LineChart.stories.tsx +590 -0
- package/lib/components/Charts/LineChart/LineChart.tsx +109 -0
- package/lib/components/Charts/LineChart/index.d.ts +2 -0
- package/lib/components/Charts/LineChart/index.d.ts.map +1 -0
- package/lib/components/Charts/LineChart/index.ts +1 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +22 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.js +0 -5
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +149 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +1 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.js +422 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.tsx +467 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.tsx +104 -0
- package/lib/components/Charts/SpiderChart/index.d.ts +2 -0
- package/lib/components/Charts/SpiderChart/index.d.ts.map +1 -0
- package/lib/components/Charts/SpiderChart/index.ts +1 -0
- package/lib/components/Charts/index.d.ts +8 -0
- package/lib/components/Charts/index.d.ts.map +1 -0
- package/lib/components/Charts/index.ts +11 -0
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +101 -0
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +1 -0
- package/lib/components/ChatBubble/ChatAnchor.stories.js +113 -0
- package/lib/components/ChatBubble/ChatAnchor.stories.tsx +95 -0
- package/lib/components/ChatBubble/ChatBubble.d.ts +76 -0
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -0
- package/lib/components/ChatBubble/ChatBubble.js +5 -2
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts +102 -0
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +1 -0
- package/lib/components/ChatBubble/ChatBubble.stories.js +188 -0
- package/lib/components/ChatBubble/ChatBubble.stories.tsx +277 -0
- package/lib/components/ChatBubble/ChatBubble.tsx +232 -0
- package/lib/components/ChatBubble/index.d.ts +2 -0
- package/lib/components/ChatBubble/index.d.ts.map +1 -0
- package/lib/components/ChatBubble/index.ts +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts +29 -0
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/components/Checkbox/Checkbox.js +2 -0
- package/lib/components/Checkbox/Checkbox.stories.d.ts +168 -0
- package/lib/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/lib/components/Checkbox/Checkbox.stories.js +210 -0
- package/lib/components/Checkbox/Checkbox.stories.tsx +180 -0
- package/lib/components/Checkbox/Checkbox.tsx +168 -0
- package/lib/components/Checkbox/CheckboxGroup.d.ts +26 -0
- package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
- package/lib/components/Checkbox/CheckboxGroup.js +8 -0
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +163 -0
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -0
- package/lib/components/Checkbox/CheckboxGroup.stories.js +399 -0
- package/lib/components/Checkbox/CheckboxGroup.stories.tsx +381 -0
- package/lib/components/Checkbox/CheckboxGroup.tsx +119 -0
- package/lib/components/Checkbox/index.d.ts +3 -0
- package/lib/components/Checkbox/index.d.ts.map +1 -0
- package/lib/components/Checkbox/index.ts +2 -0
- package/lib/components/Chip/Chip.d.ts +47 -0
- package/lib/components/Chip/Chip.d.ts.map +1 -0
- package/lib/components/Chip/Chip.js +10 -2
- package/lib/components/Chip/Chip.stories.d.ts +238 -0
- package/lib/components/Chip/Chip.stories.d.ts.map +1 -0
- package/lib/components/Chip/Chip.stories.js +362 -0
- package/lib/components/Chip/Chip.stories.tsx +335 -0
- package/lib/components/Chip/Chip.tsx +204 -0
- package/lib/components/Chip/index.d.ts +3 -0
- package/lib/components/Chip/index.d.ts.map +1 -0
- package/lib/components/Chip/index.ts +2 -0
- package/lib/components/CircularLoader/CircularLoader.d.ts +10 -0
- package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -0
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts +64 -0
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +1 -0
- package/lib/components/CircularLoader/CircularLoader.stories.js +82 -0
- package/lib/components/CircularLoader/CircularLoader.stories.tsx +75 -0
- package/lib/components/CircularLoader/CircularLoader.tsx +51 -0
- package/lib/components/CircularLoader/index.d.ts +2 -0
- package/lib/components/CircularLoader/index.d.ts.map +1 -0
- package/lib/components/CircularLoader/index.ts +1 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +40 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +225 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +1 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.js +298 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.tsx +311 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.tsx +135 -0
- package/lib/components/CollapsibleCard/index.d.ts +2 -0
- package/lib/components/CollapsibleCard/index.d.ts.map +1 -0
- package/lib/components/CollapsibleCard/index.ts +1 -0
- package/lib/components/Combobox/Combobox.d.ts +78 -0
- package/lib/components/Combobox/Combobox.d.ts.map +1 -0
- package/lib/components/Combobox/Combobox.js +16 -3
- package/lib/components/Combobox/Combobox.stories.d.ts +197 -0
- package/lib/components/Combobox/Combobox.stories.d.ts.map +1 -0
- package/lib/components/Combobox/Combobox.stories.js +343 -0
- package/lib/components/Combobox/Combobox.stories.tsx +306 -0
- package/lib/components/Combobox/Combobox.tsx +297 -0
- package/lib/components/Combobox/helper.d.ts +12 -0
- package/lib/components/Combobox/helper.d.ts.map +1 -0
- package/lib/components/Combobox/helper.js +1 -0
- package/lib/components/Combobox/helper.ts +201 -0
- package/lib/components/Combobox/index.d.ts +2 -0
- package/lib/components/Combobox/index.d.ts.map +1 -0
- package/lib/components/Combobox/index.ts +1 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.js +0 -2
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +16 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +1 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.js +50 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.tsx +51 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.ts +16 -0
- package/lib/components/ConditionalWrapper/index.d.ts +2 -0
- package/lib/components/ConditionalWrapper/index.d.ts.map +1 -0
- package/lib/components/ConditionalWrapper/index.ts +1 -0
- package/lib/components/DateRangePicker/Calendar.d.ts +22 -0
- package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -0
- package/lib/components/DateRangePicker/Calendar.js +4 -2
- package/lib/components/DateRangePicker/Calendar.tsx +110 -0
- package/lib/components/DateRangePicker/DateRangePicker.d.ts +22 -0
- package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/lib/components/DateRangePicker/DateRangePicker.js +0 -1
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +184 -0
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -0
- package/lib/components/DateRangePicker/DateRangePicker.stories.js +406 -0
- package/lib/components/DateRangePicker/DateRangePicker.stories.tsx +397 -0
- package/lib/components/DateRangePicker/DateRangePicker.tsx +210 -0
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +33 -0
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -0
- package/lib/components/DateRangePicker/DateRangeWrapper.js +13 -5
- package/lib/components/DateRangePicker/DateRangeWrapper.tsx +386 -0
- package/lib/components/DateRangePicker/Day.d.ts +17 -0
- package/lib/components/DateRangePicker/Day.d.ts.map +1 -0
- package/lib/components/DateRangePicker/Day.js +6 -4
- package/lib/components/DateRangePicker/Day.tsx +74 -0
- package/lib/components/DateRangePicker/index.d.ts +2 -0
- package/lib/components/DateRangePicker/index.d.ts.map +1 -0
- package/lib/components/DateRangePicker/index.ts +1 -0
- package/lib/components/Dialog/Dialog.d.ts +46 -0
- package/lib/components/Dialog/Dialog.d.ts.map +1 -0
- package/lib/components/Dialog/Dialog.stories.d.ts +171 -0
- package/lib/components/Dialog/Dialog.stories.d.ts.map +1 -0
- package/lib/components/Dialog/Dialog.stories.js +260 -0
- package/lib/components/Dialog/Dialog.stories.tsx +254 -0
- package/lib/components/Dialog/Dialog.tsx +222 -0
- package/lib/components/Dialog/index.d.ts +2 -0
- package/lib/components/Dialog/index.d.ts.map +1 -0
- package/lib/components/Dialog/index.ts +1 -0
- package/lib/components/Disclaimer/Disclaimer.d.ts +5 -0
- package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -0
- package/lib/components/Disclaimer/Disclaimer.js +1 -0
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts +156 -0
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +1 -0
- package/lib/components/Disclaimer/Disclaimer.stories.js +174 -0
- package/lib/components/Disclaimer/Disclaimer.stories.tsx +148 -0
- package/lib/components/Disclaimer/Disclaimer.tsx +35 -0
- package/lib/components/Disclaimer/index.d.ts +2 -0
- package/lib/components/Disclaimer/index.d.ts.map +1 -0
- package/lib/components/Disclaimer/index.ts +1 -0
- package/lib/components/Dropdown/Dropdown.d.ts +25 -0
- package/lib/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/lib/components/Dropdown/Dropdown.js +14 -3
- package/lib/components/Dropdown/Dropdown.stories.d.ts +417 -0
- package/lib/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
- package/lib/components/Dropdown/Dropdown.stories.js +729 -0
- package/lib/components/Dropdown/Dropdown.stories.tsx +785 -0
- package/lib/components/Dropdown/Dropdown.tsx +174 -0
- package/lib/components/Dropdown/SimpleDropdown.d.ts +44 -0
- package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -0
- package/lib/components/Dropdown/SimpleDropdown.js +7 -1
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +424 -0
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -0
- package/lib/components/Dropdown/SimpleDropdown.stories.js +569 -0
- package/lib/components/Dropdown/SimpleDropdown.stories.tsx +534 -0
- package/lib/components/Dropdown/SimpleDropdown.tsx +167 -0
- package/lib/components/Dropdown/index.d.ts +3 -0
- package/lib/components/Dropdown/index.d.ts.map +1 -0
- package/lib/components/Dropdown/index.ts +2 -0
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.tsx +108 -0
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.tsx +194 -0
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.tsx +116 -0
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.tsx +133 -0
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.tsx +64 -0
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.tsx +67 -0
- package/lib/components/EmptyState/EmptyImages/index.d.ts +7 -0
- package/lib/components/EmptyState/EmptyImages/index.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/index.ts +6 -0
- package/lib/components/EmptyState/EmptyState.d.ts +20 -0
- package/lib/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyState.stories.d.ts +91 -0
- package/lib/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyState.stories.js +115 -0
- package/lib/components/EmptyState/EmptyState.stories.tsx +104 -0
- package/lib/components/EmptyState/EmptyState.tsx +83 -0
- package/lib/components/EmptyState/index.d.ts +2 -0
- package/lib/components/EmptyState/index.d.ts.map +1 -0
- package/lib/components/EmptyState/index.ts +1 -0
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts +3 -0
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.tsx +85 -0
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts +3 -0
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.tsx +117 -0
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts +3 -0
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.tsx +237 -0
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts +3 -0
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.tsx +73 -0
- package/lib/components/ErrorMessage/ErrorImages/index.d.ts +5 -0
- package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/index.ts +4 -0
- package/lib/components/ErrorMessage/ErrorMessage.d.ts +22 -0
- package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +97 -0
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorMessage.stories.js +125 -0
- package/lib/components/ErrorMessage/ErrorMessage.stories.tsx +112 -0
- package/lib/components/ErrorMessage/ErrorMessage.tsx +87 -0
- package/lib/components/ErrorMessage/index.d.ts +2 -0
- package/lib/components/ErrorMessage/index.d.ts.map +1 -0
- package/lib/components/ErrorMessage/index.ts +1 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +14 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +68 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +1 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.js +91 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.tsx +85 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.tsx +136 -0
- package/lib/components/FileUpload/FileBlock/index.d.ts +2 -0
- package/lib/components/FileUpload/FileBlock/index.d.ts.map +1 -0
- package/lib/components/FileUpload/FileBlock/index.ts +1 -0
- package/lib/components/FileUpload/FileUpload.d.ts +62 -0
- package/lib/components/FileUpload/FileUpload.d.ts.map +1 -0
- package/lib/components/FileUpload/FileUpload.js +6 -1
- package/lib/components/FileUpload/FileUpload.stories.d.ts +340 -0
- package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -0
- package/lib/components/FileUpload/FileUpload.stories.js +952 -0
- package/lib/components/FileUpload/FileUpload.stories.tsx +958 -0
- package/lib/components/FileUpload/FileUpload.tsx +206 -0
- package/lib/components/FileUpload/index.d.ts +3 -0
- package/lib/components/FileUpload/index.d.ts.map +1 -0
- package/lib/components/FileUpload/index.ts +2 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +30 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +11 -3
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.module.css +5 -5
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +300 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.js +390 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.tsx +345 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.tsx +163 -0
- package/lib/components/FilterButtonOverlay/index.d.ts +2 -0
- package/lib/components/FilterButtonOverlay/index.d.ts.map +1 -0
- package/lib/components/FilterButtonOverlay/index.ts +1 -0
- package/lib/components/FocusManager/FocusManager.d.ts +17 -0
- package/lib/components/FocusManager/FocusManager.d.ts.map +1 -0
- package/lib/components/FocusManager/FocusManager.stories.d.ts +103 -0
- package/lib/components/FocusManager/FocusManager.stories.d.ts.map +1 -0
- package/lib/components/FocusManager/FocusManager.stories.js +133 -0
- package/lib/components/FocusManager/FocusManager.stories.tsx +117 -0
- package/lib/components/FocusManager/FocusManager.tsx +59 -0
- package/lib/components/FocusManager/index.d.ts +2 -0
- package/lib/components/FocusManager/index.d.ts.map +1 -0
- package/lib/components/FocusManager/index.ts +1 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +20 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +11 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +175 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.js +427 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.tsx +557 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.tsx +156 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +2 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +1 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.ts +1 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +21 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +128 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +1 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.js +189 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.tsx +173 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.tsx +63 -0
- package/lib/components/FormTitleWrapper/index.d.ts +2 -0
- package/lib/components/FormTitleWrapper/index.d.ts.map +1 -0
- package/lib/components/FormTitleWrapper/index.ts +1 -0
- package/lib/components/Grid/Col.stories.d.ts +66 -0
- package/lib/components/Grid/Col.stories.d.ts.map +1 -0
- package/lib/components/Grid/Col.stories.js +141 -0
- package/lib/components/Grid/Col.stories.tsx +114 -0
- package/lib/components/Grid/Grid.d.ts +20 -0
- package/lib/components/Grid/Grid.d.ts.map +1 -0
- package/lib/components/Grid/Grid.js +8 -0
- package/lib/components/Grid/Grid.tsx +119 -0
- package/lib/components/Grid/GridPatterns.stories.d.ts +18 -0
- package/lib/components/Grid/GridPatterns.stories.d.ts.map +1 -0
- package/lib/components/Grid/GridPatterns.stories.js +392 -0
- package/lib/components/Grid/GridPatterns.stories.tsx +420 -0
- package/lib/components/Grid/Row.stories.d.ts +41 -0
- package/lib/components/Grid/Row.stories.d.ts.map +1 -0
- package/lib/components/Grid/Row.stories.js +172 -0
- package/lib/components/Grid/Row.stories.tsx +135 -0
- package/lib/components/Grid/Tablist.layout.stories.d.ts +20 -0
- package/lib/components/Grid/Tablist.layout.stories.d.ts.map +1 -0
- package/lib/components/Grid/Tablist.layout.stories.js +330 -0
- package/lib/components/Grid/Tablist.layout.stories.tsx +281 -0
- package/lib/components/Grid/index.d.ts +2 -0
- package/lib/components/Grid/index.d.ts.map +1 -0
- package/lib/components/Grid/index.ts +1 -0
- package/lib/components/Icon/ClickableIcon.d.ts +26 -0
- package/lib/components/Icon/ClickableIcon.d.ts.map +1 -0
- package/lib/components/Icon/ClickableIcon.js +4 -2
- package/lib/components/Icon/ClickableIcon.tsx +104 -0
- package/lib/components/Icon/Icon.d.ts +31 -0
- package/lib/components/Icon/Icon.d.ts.map +1 -0
- package/lib/components/Icon/Icon.docs.d.ts +134 -0
- package/lib/components/Icon/Icon.docs.d.ts.map +1 -0
- package/lib/components/Icon/Icon.docs.js +1 -1
- package/lib/components/Icon/Icon.docs.ts +118 -0
- package/lib/components/Icon/Icon.js +3 -1
- package/lib/components/Icon/Icon.stories.d.ts +193 -0
- package/lib/components/Icon/Icon.stories.d.ts.map +1 -0
- package/lib/components/Icon/Icon.stories.js +73 -0
- package/lib/components/Icon/Icon.stories.tsx +79 -0
- package/lib/components/Icon/Icon.tsx +78 -0
- package/lib/components/Icon/SemanticIcon.d.ts +14 -0
- package/lib/components/Icon/SemanticIcon.d.ts.map +1 -0
- package/lib/components/Icon/SemanticIcon.js +3 -1
- package/lib/components/Icon/SemanticIcon.stories.d.ts +190 -0
- package/lib/components/Icon/SemanticIcon.stories.d.ts.map +1 -0
- package/lib/components/Icon/SemanticIcon.stories.js +75 -0
- package/lib/components/Icon/SemanticIcon.stories.tsx +74 -0
- package/lib/components/Icon/SemanticIcon.tsx +49 -0
- package/lib/components/Icon/index.d.ts +4 -0
- package/lib/components/Icon/index.d.ts.map +1 -0
- package/lib/components/Icon/index.ts +3 -0
- package/lib/components/InContextAlert/InContextAlert.d.ts +31 -0
- package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -0
- package/lib/components/InContextAlert/InContextAlert.js +2 -0
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts +164 -0
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -0
- package/lib/components/InContextAlert/InContextAlert.stories.js +184 -0
- package/lib/components/InContextAlert/InContextAlert.stories.tsx +164 -0
- package/lib/components/InContextAlert/InContextAlert.tsx +204 -0
- package/lib/components/InContextAlert/index.d.ts +2 -0
- package/lib/components/InContextAlert/index.d.ts.map +1 -0
- package/lib/components/InContextAlert/index.ts +1 -0
- package/lib/components/InfinitePagination/InfinitePagination.d.ts +26 -0
- package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -0
- package/lib/components/InfinitePagination/InfinitePagination.js +9 -2
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +145 -0
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -0
- package/lib/components/InfinitePagination/InfinitePagination.stories.js +343 -0
- package/lib/components/InfinitePagination/InfinitePagination.stories.tsx +323 -0
- package/lib/components/InfinitePagination/InfinitePagination.tsx +121 -0
- package/lib/components/InfinitePagination/index.d.ts +2 -0
- package/lib/components/InfinitePagination/index.d.ts.map +1 -0
- package/lib/components/InfinitePagination/index.ts +1 -0
- package/lib/components/InlineDropdown/InlineDropdown.d.ts +25 -0
- package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -0
- package/lib/components/InlineDropdown/InlineDropdown.js +12 -3
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +350 -0
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +1 -0
- package/lib/components/InlineDropdown/InlineDropdown.stories.js +397 -0
- package/lib/components/InlineDropdown/InlineDropdown.stories.tsx +415 -0
- package/lib/components/InlineDropdown/InlineDropdown.tsx +175 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +40 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js +7 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +469 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +1 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.js +521 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.tsx +513 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.tsx +165 -0
- package/lib/components/InlineDropdown/index.d.ts +3 -0
- package/lib/components/InlineDropdown/index.d.ts.map +1 -0
- package/lib/components/InlineDropdown/index.ts +2 -0
- package/lib/components/Input/Input.d.ts +76 -0
- package/lib/components/Input/Input.d.ts.map +1 -0
- package/lib/components/Input/Input.js +18 -5
- package/lib/components/Input/Input.stories.d.ts +502 -0
- package/lib/components/Input/Input.stories.d.ts.map +1 -0
- package/lib/components/Input/Input.stories.js +608 -0
- package/lib/components/Input/Input.stories.tsx +590 -0
- package/lib/components/Input/Input.tsx +336 -0
- package/lib/components/Input/NativeColorpicker.stories.d.ts +370 -0
- package/lib/components/Input/NativeColorpicker.stories.d.ts.map +1 -0
- package/lib/components/Input/NativeColorpicker.stories.js +395 -0
- package/lib/components/Input/NativeColorpicker.stories.tsx +337 -0
- package/lib/components/Input/NativeDatepicker.stories.d.ts +388 -0
- package/lib/components/Input/NativeDatepicker.stories.d.ts.map +1 -0
- package/lib/components/Input/NativeDatepicker.stories.js +457 -0
- package/lib/components/Input/NativeDatepicker.stories.tsx +424 -0
- package/lib/components/Input/index.d.ts +2 -0
- package/lib/components/Input/index.d.ts.map +1 -0
- package/lib/components/Input/index.ts +1 -0
- package/lib/components/KPIBox/KPIBox.d.ts +23 -0
- package/lib/components/KPIBox/KPIBox.d.ts.map +1 -0
- package/lib/components/KPIBox/KPIBox.stories.d.ts +132 -0
- package/lib/components/KPIBox/KPIBox.stories.d.ts.map +1 -0
- package/lib/components/KPIBox/KPIBox.stories.js +246 -0
- package/lib/components/KPIBox/KPIBox.stories.tsx +321 -0
- package/lib/components/KPIBox/KPIBox.tsx +94 -0
- package/lib/components/KPIBox/index.d.ts +2 -0
- package/lib/components/KPIBox/index.d.ts.map +1 -0
- package/lib/components/KPIBox/index.ts +1 -0
- package/lib/components/LinearLoader/LinearLoader.d.ts +9 -0
- package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -0
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts +78 -0
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +1 -0
- package/lib/components/LinearLoader/LinearLoader.stories.js +135 -0
- package/lib/components/LinearLoader/LinearLoader.stories.tsx +132 -0
- package/lib/components/LinearLoader/LinearLoader.tsx +48 -0
- package/lib/components/LinearLoader/index.d.ts +2 -0
- package/lib/components/LinearLoader/index.d.ts.map +1 -0
- package/lib/components/LinearLoader/index.ts +1 -0
- package/lib/components/Link/Link.d.ts +93 -0
- package/lib/components/Link/Link.d.ts.map +1 -0
- package/lib/components/Link/Link.js +16 -5
- package/lib/components/Link/Link.stories.d.ts +284 -0
- package/lib/components/Link/Link.stories.d.ts.map +1 -0
- package/lib/components/Link/Link.stories.js +350 -0
- package/lib/components/Link/Link.stories.tsx +302 -0
- package/lib/components/Link/Link.tsx +231 -0
- package/lib/components/Link/index.d.ts +2 -0
- package/lib/components/Link/index.d.ts.map +1 -0
- package/lib/components/Link/index.ts +1 -0
- package/lib/components/Menu/Menu.d.ts +74 -0
- package/lib/components/Menu/Menu.d.ts.map +1 -0
- package/lib/components/Menu/Menu.js +5 -2
- package/lib/components/Menu/Menu.stories.d.ts +526 -0
- package/lib/components/Menu/Menu.stories.d.ts.map +1 -0
- package/lib/components/Menu/Menu.stories.js +1048 -0
- package/lib/components/Menu/Menu.stories.tsx +1046 -0
- package/lib/components/Menu/Menu.tsx +391 -0
- package/lib/components/Menu/MenuOptionButton.d.ts +9 -0
- package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -0
- package/lib/components/Menu/MenuOptionButton.js +6 -1
- package/lib/components/Menu/MenuOptionButton.tsx +206 -0
- package/lib/components/Menu/index.d.ts +3 -0
- package/lib/components/Menu/index.d.ts.map +1 -0
- package/lib/components/Menu/index.ts +2 -0
- package/lib/components/Modal/Modal.d.ts +64 -0
- package/lib/components/Modal/Modal.d.ts.map +1 -0
- package/lib/components/Modal/Modal.js +6 -2
- package/lib/components/Modal/Modal.stories.d.ts +149 -0
- package/lib/components/Modal/Modal.stories.d.ts.map +1 -0
- package/lib/components/Modal/Modal.stories.js +427 -0
- package/lib/components/Modal/Modal.stories.tsx +430 -0
- package/lib/components/Modal/Modal.tsx +379 -0
- package/lib/components/Modal/index.d.ts +3 -0
- package/lib/components/Modal/index.d.ts.map +1 -0
- package/lib/components/Modal/index.ts +8 -0
- package/lib/components/Notification/Notification.d.ts +37 -0
- package/lib/components/Notification/Notification.d.ts.map +1 -0
- package/lib/components/Notification/Notification.js +1 -0
- package/lib/components/Notification/Notification.stories.d.ts +136 -0
- package/lib/components/Notification/Notification.stories.d.ts.map +1 -0
- package/lib/components/Notification/Notification.stories.js +153 -0
- package/lib/components/Notification/Notification.stories.tsx +132 -0
- package/lib/components/Notification/Notification.tsx +140 -0
- package/lib/components/Notification/index.d.ts +2 -0
- package/lib/components/Notification/index.d.ts.map +1 -0
- package/lib/components/Notification/index.ts +1 -0
- package/lib/components/OptionButton/OptionButton.d.ts +33 -0
- package/lib/components/OptionButton/OptionButton.d.ts.map +1 -0
- package/lib/components/OptionButton/OptionButton.stories.d.ts +366 -0
- package/lib/components/OptionButton/OptionButton.stories.d.ts.map +1 -0
- package/lib/components/OptionButton/OptionButton.stories.js +437 -0
- package/lib/components/OptionButton/OptionButton.stories.tsx +397 -0
- package/lib/components/OptionButton/OptionButton.tsx +149 -0
- package/lib/components/OptionButton/SimpleOptionButton.d.ts +47 -0
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -0
- package/lib/components/OptionButton/SimpleOptionButton.js +4 -0
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +502 -0
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +1 -0
- package/lib/components/OptionButton/SimpleOptionButton.stories.js +552 -0
- package/lib/components/OptionButton/SimpleOptionButton.stories.tsx +525 -0
- package/lib/components/OptionButton/SimpleOptionButton.tsx +160 -0
- package/lib/components/OptionButton/index.d.ts +3 -0
- package/lib/components/OptionButton/index.d.ts.map +1 -0
- package/lib/components/OptionButton/index.ts +2 -0
- package/lib/components/PageTitle/PageTitle.d.ts +156 -0
- package/lib/components/PageTitle/PageTitle.d.ts.map +1 -0
- package/lib/components/PageTitle/PageTitle.js +7 -2
- package/lib/components/PageTitle/PageTitle.stories.d.ts +83 -0
- package/lib/components/PageTitle/PageTitle.stories.d.ts.map +1 -0
- package/lib/components/PageTitle/PageTitle.stories.js +221 -0
- package/lib/components/PageTitle/PageTitle.stories.tsx +257 -0
- package/lib/components/PageTitle/PageTitle.tsx +276 -0
- package/lib/components/PageTitle/index.d.ts +2 -0
- package/lib/components/PageTitle/index.d.ts.map +1 -0
- package/lib/components/PageTitle/index.ts +1 -0
- package/lib/components/Pagination/Pagination.d.ts +39 -0
- package/lib/components/Pagination/Pagination.d.ts.map +1 -0
- package/lib/components/Pagination/Pagination.js +3 -1
- package/lib/components/Pagination/Pagination.stories.d.ts +203 -0
- package/lib/components/Pagination/Pagination.stories.d.ts.map +1 -0
- package/lib/components/Pagination/Pagination.stories.js +263 -0
- package/lib/components/Pagination/Pagination.stories.tsx +259 -0
- package/lib/components/Pagination/Pagination.tsx +147 -0
- package/lib/components/Pagination/PaginationItem.d.ts +5 -0
- package/lib/components/Pagination/PaginationItem.d.ts.map +1 -0
- package/lib/components/Pagination/PaginationItem.js +3 -0
- package/lib/components/Pagination/PaginationItem.tsx +118 -0
- package/lib/components/Pagination/index.d.ts +2 -0
- package/lib/components/Pagination/index.d.ts.map +1 -0
- package/lib/components/Pagination/index.ts +1 -0
- package/lib/components/Panel/Panel.d.ts +35 -0
- package/lib/components/Panel/Panel.d.ts.map +1 -0
- package/lib/components/Panel/Panel.stories.d.ts +187 -0
- package/lib/components/Panel/Panel.stories.d.ts.map +1 -0
- package/lib/components/Panel/Panel.stories.js +415 -0
- package/lib/components/Panel/Panel.stories.tsx +452 -0
- package/lib/components/Panel/Panel.tsx +181 -0
- package/lib/components/Panel/index.d.ts +3 -0
- package/lib/components/Panel/index.d.ts.map +1 -0
- package/lib/components/Panel/index.ts +2 -0
- package/lib/components/ProgressDonut/ProgressDonut.d.ts +13 -0
- package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -0
- package/lib/components/ProgressDonut/ProgressDonut.js +1 -0
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +72 -0
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +1 -0
- package/lib/components/ProgressDonut/ProgressDonut.stories.js +96 -0
- package/lib/components/ProgressDonut/ProgressDonut.stories.tsx +97 -0
- package/lib/components/ProgressDonut/ProgressDonut.tsx +111 -0
- package/lib/components/ProgressDonut/index.d.ts +2 -0
- package/lib/components/ProgressDonut/index.d.ts.map +1 -0
- package/lib/components/ProgressDonut/index.ts +1 -0
- package/lib/components/PromptChip/PromptChip.d.ts +38 -0
- package/lib/components/PromptChip/PromptChip.d.ts.map +1 -0
- package/lib/components/PromptChip/PromptChip.js +8 -2
- package/lib/components/PromptChip/PromptChip.stories.d.ts +205 -0
- package/lib/components/PromptChip/PromptChip.stories.d.ts.map +1 -0
- package/lib/components/PromptChip/PromptChip.stories.js +242 -0
- package/lib/components/PromptChip/PromptChip.stories.tsx +202 -0
- package/lib/components/PromptChip/PromptChip.tsx +166 -0
- package/lib/components/PromptChip/index.d.ts +2 -0
- package/lib/components/PromptChip/index.d.ts.map +1 -0
- package/lib/components/PromptChip/index.ts +1 -0
- package/lib/components/PromptInput/PromptInput.d.ts +38 -0
- package/lib/components/PromptInput/PromptInput.d.ts.map +1 -0
- package/lib/components/PromptInput/PromptInput.js +10 -1
- package/lib/components/PromptInput/PromptInput.stories.d.ts +265 -0
- package/lib/components/PromptInput/PromptInput.stories.d.ts.map +1 -0
- package/lib/components/PromptInput/PromptInput.stories.js +390 -0
- package/lib/components/PromptInput/PromptInput.stories.tsx +349 -0
- package/lib/components/PromptInput/PromptInput.tsx +190 -0
- package/lib/components/PromptInput/index.d.ts +2 -0
- package/lib/components/PromptInput/index.d.ts.map +1 -0
- package/lib/components/PromptInput/index.ts +1 -0
- package/lib/components/RadioButton/RadioButton.d.ts +31 -0
- package/lib/components/RadioButton/RadioButton.d.ts.map +1 -0
- package/lib/components/RadioButton/RadioButton.js +1 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts +149 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts.map +1 -0
- package/lib/components/RadioButton/RadioButton.stories.js +180 -0
- package/lib/components/RadioButton/RadioButton.stories.tsx +157 -0
- package/lib/components/RadioButton/RadioButton.tsx +135 -0
- package/lib/components/RadioButton/RadioGroup.d.ts +27 -0
- package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -0
- package/lib/components/RadioButton/RadioGroup.js +2 -0
- package/lib/components/RadioButton/RadioGroup.stories.d.ts +137 -0
- package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -0
- package/lib/components/RadioButton/RadioGroup.stories.js +317 -0
- package/lib/components/RadioButton/RadioGroup.stories.tsx +283 -0
- package/lib/components/RadioButton/RadioGroup.tsx +90 -0
- package/lib/components/RadioButton/index.d.ts +3 -0
- package/lib/components/RadioButton/index.d.ts.map +1 -0
- package/lib/components/RadioButton/index.ts +2 -0
- package/lib/components/RadioTile/RadioTile.d.ts +23 -0
- package/lib/components/RadioTile/RadioTile.d.ts.map +1 -0
- package/lib/components/RadioTile/RadioTile.js +2 -0
- package/lib/components/RadioTile/RadioTile.stories.d.ts +171 -0
- package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -0
- package/lib/components/RadioTile/RadioTile.stories.js +261 -0
- package/lib/components/RadioTile/RadioTile.stories.tsx +276 -0
- package/lib/components/RadioTile/RadioTile.tsx +107 -0
- package/lib/components/RadioTile/index.d.ts +2 -0
- package/lib/components/RadioTile/index.d.ts.map +1 -0
- package/lib/components/RadioTile/index.ts +1 -0
- package/lib/components/RangeSlider/RangeSlider.d.ts +27 -0
- package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -0
- package/lib/components/RangeSlider/RangeSlider.js +3 -0
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts +287 -0
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +1 -0
- package/lib/components/RangeSlider/RangeSlider.stories.js +379 -0
- package/lib/components/RangeSlider/RangeSlider.stories.tsx +342 -0
- package/lib/components/RangeSlider/RangeSlider.tsx +201 -0
- package/lib/components/RangeSlider/index.d.ts +2 -0
- package/lib/components/RangeSlider/index.d.ts.map +1 -0
- package/lib/components/RangeSlider/index.ts +1 -0
- package/lib/components/Rating/Rating.d.ts +32 -0
- package/lib/components/Rating/Rating.d.ts.map +1 -0
- package/lib/components/Rating/Rating.js +7 -3
- package/lib/components/Rating/Rating.stories.d.ts +237 -0
- package/lib/components/Rating/Rating.stories.d.ts.map +1 -0
- package/lib/components/Rating/Rating.stories.js +309 -0
- package/lib/components/Rating/Rating.stories.tsx +257 -0
- package/lib/components/Rating/Rating.tsx +141 -0
- package/lib/components/Rating/index.d.ts +2 -0
- package/lib/components/Rating/index.d.ts.map +1 -0
- package/lib/components/Rating/index.ts +1 -0
- package/lib/components/ScoreBar/ScoreBar.d.ts +28 -0
- package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -0
- package/lib/components/ScoreBar/ScoreBar.js +1 -1
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts +156 -0
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +1 -0
- package/lib/components/ScoreBar/ScoreBar.stories.js +199 -0
- package/lib/components/ScoreBar/ScoreBar.stories.tsx +182 -0
- package/lib/components/ScoreBar/ScoreBar.tsx +133 -0
- package/lib/components/ScoreBar/index.d.ts +2 -0
- package/lib/components/ScoreBar/index.d.ts.map +1 -0
- package/lib/components/ScoreBar/index.ts +1 -0
- package/lib/components/SearchInput/SearchInput.d.ts +15 -0
- package/lib/components/SearchInput/SearchInput.d.ts.map +1 -0
- package/lib/components/SearchInput/SearchInput.stories.d.ts +260 -0
- package/lib/components/SearchInput/SearchInput.stories.d.ts.map +1 -0
- package/lib/components/SearchInput/SearchInput.stories.js +299 -0
- package/lib/components/SearchInput/SearchInput.stories.tsx +260 -0
- package/lib/components/SearchInput/SearchInput.tsx +81 -0
- package/lib/components/SearchInput/index.d.ts +3 -0
- package/lib/components/SearchInput/index.d.ts.map +1 -0
- package/lib/components/SearchInput/index.ts +2 -0
- package/lib/components/Separator/Separator.d.ts +18 -0
- package/lib/components/Separator/Separator.d.ts.map +1 -0
- package/lib/components/Separator/Separator.stories.d.ts +79 -0
- package/lib/components/Separator/Separator.stories.d.ts.map +1 -0
- package/lib/components/Separator/Separator.stories.js +101 -0
- package/lib/components/Separator/Separator.stories.tsx +95 -0
- package/lib/components/Separator/Separator.tsx +57 -0
- package/lib/components/Separator/index.d.ts +2 -0
- package/lib/components/Separator/index.d.ts.map +1 -0
- package/lib/components/Separator/index.ts +1 -0
- package/lib/components/Shimmer/Shimmer.d.ts +57 -0
- package/lib/components/Shimmer/Shimmer.d.ts.map +1 -0
- package/lib/components/Shimmer/Shimmer.js +4 -2
- package/lib/components/Shimmer/Shimmer.stories.d.ts +213 -0
- package/lib/components/Shimmer/Shimmer.stories.d.ts.map +1 -0
- package/lib/components/Shimmer/Shimmer.stories.js +323 -0
- package/lib/components/Shimmer/Shimmer.stories.tsx +317 -0
- package/lib/components/Shimmer/Shimmer.tsx +143 -0
- package/lib/components/Shimmer/index.d.ts +2 -0
- package/lib/components/Shimmer/index.d.ts.map +1 -0
- package/lib/components/Shimmer/index.ts +1 -0
- package/lib/components/SideMenuLink/SideMenuLink.d.ts +211 -0
- package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -0
- package/lib/components/SideMenuLink/SideMenuLink.js +8 -2
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +96 -0
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -0
- package/lib/components/SideMenuLink/SideMenuLink.stories.js +162 -0
- package/lib/components/SideMenuLink/SideMenuLink.stories.tsx +153 -0
- package/lib/components/SideMenuLink/SideMenuLink.tsx +344 -0
- package/lib/components/SideMenuLink/index.d.ts +2 -0
- package/lib/components/SideMenuLink/index.d.ts.map +1 -0
- package/lib/components/SideMenuLink/index.ts +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +25 -0
- package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +92 -0
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.stories.js +145 -0
- package/lib/components/StatusIndicator/StatusIndicator.stories.tsx +130 -0
- package/lib/components/StatusIndicator/StatusIndicator.tsx +62 -0
- package/lib/components/StatusIndicator/index.d.ts +2 -0
- package/lib/components/StatusIndicator/index.d.ts.map +1 -0
- package/lib/components/StatusIndicator/index.ts +1 -0
- package/lib/components/Stepper/Step/Step.d.ts +25 -0
- package/lib/components/Stepper/Step/Step.d.ts.map +1 -0
- package/lib/components/Stepper/Step/Step.js +12 -3
- package/lib/components/Stepper/Step/Step.stories.d.ts +120 -0
- package/lib/components/Stepper/Step/Step.stories.d.ts.map +1 -0
- package/lib/components/Stepper/Step/Step.stories.js +147 -0
- package/lib/components/Stepper/Step/Step.stories.tsx +117 -0
- package/lib/components/Stepper/Step/Step.tsx +125 -0
- package/lib/components/Stepper/Step/StepContent.d.ts +14 -0
- package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -0
- package/lib/components/Stepper/Step/StepContent.tsx +40 -0
- package/lib/components/Stepper/Step/StepLabel.d.ts +14 -0
- package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -0
- package/lib/components/Stepper/Step/StepLabel.tsx +40 -0
- package/lib/components/Stepper/Step/index.d.ts +4 -0
- package/lib/components/Stepper/Step/index.d.ts.map +1 -0
- package/lib/components/Stepper/Step/index.ts +3 -0
- package/lib/components/Stepper/Stepper.d.ts +15 -0
- package/lib/components/Stepper/Stepper.d.ts.map +1 -0
- package/lib/components/Stepper/Stepper.js +4 -0
- package/lib/components/Stepper/Stepper.stories.d.ts +210 -0
- package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -0
- package/lib/components/Stepper/Stepper.stories.js +402 -0
- package/lib/components/Stepper/Stepper.stories.tsx +422 -0
- package/lib/components/Stepper/Stepper.tsx +68 -0
- package/lib/components/Stepper/index.d.ts +3 -0
- package/lib/components/Stepper/index.d.ts.map +1 -0
- package/lib/components/Stepper/index.ts +2 -0
- package/lib/components/StickyBar/StickyBar.d.ts +15 -0
- package/lib/components/StickyBar/StickyBar.d.ts.map +1 -0
- package/lib/components/StickyBar/StickyBar.stories.d.ts +35 -0
- package/lib/components/StickyBar/StickyBar.stories.d.ts.map +1 -0
- package/lib/components/StickyBar/StickyBar.stories.js +141 -0
- package/lib/components/StickyBar/StickyBar.stories.tsx +152 -0
- package/lib/components/StickyBar/StickyBar.tsx +65 -0
- package/lib/components/StickyBar/index.d.ts +2 -0
- package/lib/components/StickyBar/index.d.ts.map +1 -0
- package/lib/components/StickyBar/index.ts +1 -0
- package/lib/components/SubMenu/SubMenu.d.ts +19 -0
- package/lib/components/SubMenu/SubMenu.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenu.stories.d.ts +114 -0
- package/lib/components/SubMenu/SubMenu.stories.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenu.stories.js +373 -0
- package/lib/components/SubMenu/SubMenu.stories.tsx +413 -0
- package/lib/components/SubMenu/SubMenu.tsx +96 -0
- package/lib/components/SubMenu/SubMenuGroup.d.ts +24 -0
- package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenuGroup.js +11 -3
- package/lib/components/SubMenu/SubMenuGroup.tsx +161 -0
- package/lib/components/SubMenu/SubMenuItem.d.ts +42 -0
- package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenuItem.js +14 -4
- package/lib/components/SubMenu/SubMenuItem.tsx +170 -0
- package/lib/components/SubMenu/SubMenuLink.d.ts +14 -0
- package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenuLink.js +6 -2
- package/lib/components/SubMenu/SubMenuLink.tsx +87 -0
- package/lib/components/SubMenu/index.d.ts +5 -0
- package/lib/components/SubMenu/index.d.ts.map +1 -0
- package/lib/components/SubMenu/index.ts +4 -0
- package/lib/components/Table/BasicTable.stories.d.ts +536 -0
- package/lib/components/Table/BasicTable.stories.d.ts.map +1 -0
- package/lib/components/Table/BasicTable.stories.js +552 -0
- package/lib/components/Table/BasicTable.stories.tsx +647 -0
- package/lib/components/Table/BulkActions.stories.d.ts +257 -0
- package/lib/components/Table/BulkActions.stories.d.ts.map +1 -0
- package/lib/components/Table/BulkActions.stories.js +252 -0
- package/lib/components/Table/BulkActions.stories.tsx +267 -0
- package/lib/components/Table/Cell.d.ts +37 -0
- package/lib/components/Table/Cell.d.ts.map +1 -0
- package/lib/components/Table/Cell.js +3 -3
- package/lib/components/Table/Cell.tsx +125 -0
- package/lib/components/Table/DefaultRow.d.ts +39 -0
- package/lib/components/Table/DefaultRow.d.ts.map +1 -0
- package/lib/components/Table/DefaultRow.js +2 -2
- package/lib/components/Table/DefaultRow.tsx +159 -0
- package/lib/components/Table/DefaultTableHeader.d.ts +43 -0
- package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -0
- package/lib/components/Table/DefaultTableHeader.js +9 -2
- package/lib/components/Table/DefaultTableHeader.tsx +244 -0
- package/lib/components/Table/InlineEdit.stories.d.ts +244 -0
- package/lib/components/Table/InlineEdit.stories.d.ts.map +1 -0
- package/lib/components/Table/InlineEdit.stories.js +355 -0
- package/lib/components/Table/InlineEdit.stories.tsx +390 -0
- package/lib/components/Table/StaticTable.d.ts +18 -0
- package/lib/components/Table/StaticTable.d.ts.map +1 -0
- package/lib/components/Table/StaticTable.js +39 -13
- package/lib/components/Table/StaticTable.tsx +230 -0
- package/lib/components/Table/Table.d.ts +56 -0
- package/lib/components/Table/Table.d.ts.map +1 -0
- package/lib/components/Table/Table.docs.d.ts +229 -0
- package/lib/components/Table/Table.docs.d.ts.map +1 -0
- package/lib/components/Table/Table.docs.js +3 -3
- package/lib/components/Table/Table.docs.ts +495 -0
- package/lib/components/Table/Table.js +12 -1
- package/lib/components/Table/Table.tsx +135 -0
- package/lib/components/Table/TableActionBar.d.ts +11 -0
- package/lib/components/Table/TableActionBar.d.ts.map +1 -0
- package/lib/components/Table/TableActionBar.tsx +55 -0
- package/lib/components/Table/TableBottomBar.d.ts +7 -0
- package/lib/components/Table/TableBottomBar.d.ts.map +1 -0
- package/lib/components/Table/TableBottomBar.tsx +25 -0
- package/lib/components/Table/TableTopBar.d.ts +7 -0
- package/lib/components/Table/TableTopBar.d.ts.map +1 -0
- package/lib/components/Table/TableTopBar.tsx +25 -0
- package/lib/components/Table/dummyTableData.d.ts +1946 -0
- package/lib/components/Table/dummyTableData.d.ts.map +1 -0
- package/lib/components/Table/dummyTableData.ts +2189 -0
- package/lib/components/Table/hooks.d.ts +15 -0
- package/lib/components/Table/hooks.d.ts.map +1 -0
- package/lib/components/Table/hooks.js +7 -0
- package/lib/components/Table/hooks.ts +102 -0
- package/lib/components/Table/index.d.ts +9 -0
- package/lib/components/Table/index.d.ts.map +1 -0
- package/lib/components/Table/index.ts +8 -0
- package/lib/components/Tabs/Tab/Tab.d.ts +35 -0
- package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -0
- package/lib/components/Tabs/Tab/Tab.js +5 -1
- package/lib/components/Tabs/Tab/Tab.stories.d.ts +156 -0
- package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +1 -0
- package/lib/components/Tabs/Tab/Tab.stories.js +179 -0
- package/lib/components/Tabs/Tab/Tab.stories.tsx +151 -0
- package/lib/components/Tabs/Tab/Tab.tsx +152 -0
- package/lib/components/Tabs/Tab/index.d.ts +2 -0
- package/lib/components/Tabs/Tab/index.d.ts.map +1 -0
- package/lib/components/Tabs/Tab/index.ts +1 -0
- package/lib/components/Tabs/TabList/TabDropdown.d.ts +24 -0
- package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -0
- package/lib/components/Tabs/TabList/TabDropdown.js +8 -2
- package/lib/components/Tabs/TabList/TabDropdown.tsx +125 -0
- package/lib/components/Tabs/TabList/TabList.d.ts +24 -0
- package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -0
- package/lib/components/Tabs/TabList/TabList.js +17 -3
- package/lib/components/Tabs/TabList/TabList.stories.d.ts +111 -0
- package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +1 -0
- package/lib/components/Tabs/TabList/TabList.stories.js +197 -0
- package/lib/components/Tabs/TabList/TabList.stories.tsx +172 -0
- package/lib/components/Tabs/TabList/TabList.tsx +178 -0
- package/lib/components/Tabs/TabList/index.d.ts +2 -0
- package/lib/components/Tabs/TabList/index.d.ts.map +1 -0
- package/lib/components/Tabs/TabList/index.ts +1 -0
- package/lib/components/Tabs/index.d.ts +3 -0
- package/lib/components/Tabs/index.d.ts.map +1 -0
- package/lib/components/Tabs/index.ts +2 -0
- package/lib/components/Text/HighlightedText.stories.d.ts +120 -0
- package/lib/components/Text/HighlightedText.stories.d.ts.map +1 -0
- package/lib/components/Text/HighlightedText.stories.js +131 -0
- package/lib/components/Text/HighlightedText.stories.tsx +122 -0
- package/lib/components/Text/Text.d.ts +46 -0
- package/lib/components/Text/Text.d.ts.map +1 -0
- package/lib/components/Text/Text.js +1 -0
- package/lib/components/Text/Text.stories.d.ts +271 -0
- package/lib/components/Text/Text.stories.d.ts.map +1 -0
- package/lib/components/Text/Text.stories.js +262 -0
- package/lib/components/Text/Text.stories.tsx +302 -0
- package/lib/components/Text/Text.tsx +882 -0
- package/lib/components/Text/index.d.ts +4 -0
- package/lib/components/Text/index.d.ts.map +1 -0
- package/lib/components/Text/index.ts +30 -0
- package/lib/components/TextTile/TextTile.d.ts +14 -0
- package/lib/components/TextTile/TextTile.d.ts.map +1 -0
- package/lib/components/TextTile/TextTile.stories.d.ts +76 -0
- package/lib/components/TextTile/TextTile.stories.d.ts.map +1 -0
- package/lib/components/TextTile/TextTile.stories.js +100 -0
- package/lib/components/TextTile/TextTile.stories.tsx +89 -0
- package/lib/components/TextTile/TextTile.tsx +51 -0
- package/lib/components/TextTile/index.d.ts +2 -0
- package/lib/components/TextTile/index.d.ts.map +1 -0
- package/lib/components/TextTile/index.ts +1 -0
- package/lib/components/Textarea/Textarea.d.ts +28 -0
- package/lib/components/Textarea/Textarea.d.ts.map +1 -0
- package/lib/components/Textarea/Textarea.js +14 -4
- package/lib/components/Textarea/Textarea.stories.d.ts +264 -0
- package/lib/components/Textarea/Textarea.stories.d.ts.map +1 -0
- package/lib/components/Textarea/Textarea.stories.js +329 -0
- package/lib/components/Textarea/Textarea.stories.tsx +324 -0
- package/lib/components/Textarea/Textarea.tsx +148 -0
- package/lib/components/Textarea/index.d.ts +3 -0
- package/lib/components/Textarea/index.d.ts.map +1 -0
- package/lib/components/Textarea/index.ts +2 -0
- package/lib/components/Timeline/Timeline.d.ts +18 -0
- package/lib/components/Timeline/Timeline.d.ts.map +1 -0
- package/lib/components/Timeline/Timeline.js +8 -1
- package/lib/components/Timeline/Timeline.stories.d.ts +62 -0
- package/lib/components/Timeline/Timeline.stories.d.ts.map +1 -0
- package/lib/components/Timeline/Timeline.stories.js +267 -0
- package/lib/components/Timeline/Timeline.stories.tsx +272 -0
- package/lib/components/Timeline/Timeline.tsx +57 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +28 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +9 -2
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +184 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +1 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.js +245 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.tsx +216 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.tsx +128 -0
- package/lib/components/Timeline/TimelineItem/index.d.ts +2 -0
- package/lib/components/Timeline/TimelineItem/index.d.ts.map +1 -0
- package/lib/components/Timeline/TimelineItem/index.ts +1 -0
- package/lib/components/Timeline/index.d.ts +3 -0
- package/lib/components/Timeline/index.d.ts.map +1 -0
- package/lib/components/Timeline/index.ts +2 -0
- package/lib/components/Toast/Toast.d.ts +46 -0
- package/lib/components/Toast/Toast.d.ts.map +1 -0
- package/lib/components/Toast/Toast.js +10 -1
- package/lib/components/Toast/Toast.stories.d.ts +105 -0
- package/lib/components/Toast/Toast.stories.d.ts.map +1 -0
- package/lib/components/Toast/Toast.stories.js +237 -0
- package/lib/components/Toast/Toast.stories.tsx +274 -0
- package/lib/components/Toast/Toast.tsx +264 -0
- package/lib/components/Toast/ToastContainer.d.ts +3 -0
- package/lib/components/Toast/ToastContainer.d.ts.map +1 -0
- package/lib/components/Toast/ToastContainer.js +2 -5
- package/lib/components/Toast/ToastContainer.tsx +123 -0
- package/lib/components/Toast/ToastManager.d.ts +23 -0
- package/lib/components/Toast/ToastManager.d.ts.map +1 -0
- package/lib/components/Toast/ToastManager.js +1 -0
- package/lib/components/Toast/ToastManager.ts +60 -0
- package/lib/components/Toast/index.d.ts +5 -0
- package/lib/components/Toast/index.d.ts.map +1 -0
- package/lib/components/Toast/index.ts +10 -0
- package/lib/components/Toggle/Toggle.d.ts +30 -0
- package/lib/components/Toggle/Toggle.d.ts.map +1 -0
- package/lib/components/Toggle/Toggle.js +1 -0
- package/lib/components/Toggle/Toggle.stories.d.ts +142 -0
- package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -0
- package/lib/components/Toggle/Toggle.stories.js +207 -0
- package/lib/components/Toggle/Toggle.stories.tsx +175 -0
- package/lib/components/Toggle/Toggle.tsx +121 -0
- package/lib/components/Toggle/index.d.ts +2 -0
- package/lib/components/Toggle/index.d.ts.map +1 -0
- package/lib/components/Toggle/index.ts +1 -0
- package/lib/components/TokenListInput/TokenListInput.d.ts +57 -0
- package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -0
- package/lib/components/TokenListInput/TokenListInput.js +30 -10
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts +379 -0
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +1 -0
- package/lib/components/TokenListInput/TokenListInput.stories.js +877 -0
- package/lib/components/TokenListInput/TokenListInput.stories.tsx +678 -0
- package/lib/components/TokenListInput/TokenListInput.tsx +393 -0
- package/lib/components/TokenListInput/TokenValueChips.d.ts +20 -0
- package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -0
- package/lib/components/TokenListInput/TokenValueChips.js +2 -4
- package/lib/components/TokenListInput/TokenValueChips.tsx +69 -0
- package/lib/components/TokenListInput/index.d.ts +2 -0
- package/lib/components/TokenListInput/index.d.ts.map +1 -0
- package/lib/components/TokenListInput/index.ts +1 -0
- package/lib/components/Tooltip/Tooltip.d.ts +44 -0
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/lib/components/Tooltip/Tooltip.js +6 -3
- package/lib/components/Tooltip/Tooltip.stories.d.ts +172 -0
- package/lib/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/lib/components/Tooltip/Tooltip.stories.js +321 -0
- package/lib/components/Tooltip/Tooltip.stories.tsx +316 -0
- package/lib/components/Tooltip/Tooltip.tsx +188 -0
- package/lib/components/Tooltip/index.d.ts +2 -0
- package/lib/components/Tooltip/index.d.ts.map +1 -0
- package/lib/components/Tooltip/index.ts +1 -0
- package/lib/components/Truncate/Truncate.d.ts +12 -0
- package/lib/components/Truncate/Truncate.d.ts.map +1 -0
- package/lib/components/Truncate/Truncate.js +5 -1
- package/lib/components/Truncate/Truncate.stories.d.ts +94 -0
- package/lib/components/Truncate/Truncate.stories.d.ts.map +1 -0
- package/lib/components/Truncate/Truncate.stories.js +118 -0
- package/lib/components/Truncate/Truncate.stories.tsx +106 -0
- package/lib/components/Truncate/Truncate.tsx +80 -0
- package/lib/components/Truncate/index.d.ts +3 -0
- package/lib/components/Truncate/index.d.ts.map +1 -0
- package/lib/components/Truncate/index.ts +2 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +16 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +6 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +110 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +1 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.js +161 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.tsx +147 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.tsx +109 -0
- package/lib/components/TruncatedTextWithTooltip/index.d.ts +2 -0
- package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +1 -0
- package/lib/components/TruncatedTextWithTooltip/index.ts +1 -0
- package/lib/components/Typeahead/SimpleTypeahead.d.ts +41 -0
- package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -0
- package/lib/components/Typeahead/SimpleTypeahead.js +4 -0
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +396 -0
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +1 -0
- package/lib/components/Typeahead/SimpleTypeahead.stories.js +591 -0
- package/lib/components/Typeahead/SimpleTypeahead.stories.tsx +567 -0
- package/lib/components/Typeahead/SimpleTypeahead.tsx +159 -0
- package/lib/components/Typeahead/Typeahead.d.ts +30 -0
- package/lib/components/Typeahead/Typeahead.d.ts.map +1 -0
- package/lib/components/Typeahead/Typeahead.js +12 -3
- package/lib/components/Typeahead/Typeahead.stories.d.ts +399 -0
- package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -0
- package/lib/components/Typeahead/Typeahead.stories.js +648 -0
- package/lib/components/Typeahead/Typeahead.stories.tsx +552 -0
- package/lib/components/Typeahead/Typeahead.tsx +243 -0
- package/lib/components/Typeahead/index.d.ts +3 -0
- package/lib/components/Typeahead/index.d.ts.map +1 -0
- package/lib/components/Typeahead/index.ts +2 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +36 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +238 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.js +330 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.tsx +263 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.tsx +224 -0
- package/lib/components/WeekdayPicker/index.d.ts +2 -0
- package/lib/components/WeekdayPicker/index.d.ts.map +1 -0
- package/lib/components/WeekdayPicker/index.ts +1 -0
- package/lib/components/index.d.ts +76 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.ts +77 -0
- package/lib/flow-to-typescript-codemod.d.ts +48 -0
- package/lib/hooks/index.d.ts +17 -0
- package/lib/hooks/index.d.ts.map +1 -0
- package/lib/hooks/index.ts +16 -0
- package/lib/hooks/useArbitraryOptionAddition/index.d.ts +2 -0
- package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +1 -0
- package/lib/hooks/useArbitraryOptionAddition/index.ts +1 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +24 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +9 -9
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +18 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.js +171 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.tsx +158 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.ts +127 -0
- package/lib/hooks/useCopyToClipboard/index.d.ts +2 -0
- package/lib/hooks/useCopyToClipboard/index.d.ts.map +1 -0
- package/lib/hooks/useCopyToClipboard/index.ts +1 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +5 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts.map +1 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js +1 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +24 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +1 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.js +107 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.tsx +112 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.ts +29 -0
- package/lib/hooks/useDebounce/index.d.ts +2 -0
- package/lib/hooks/useDebounce/index.d.ts.map +1 -0
- package/lib/hooks/useDebounce/index.ts +1 -0
- package/lib/hooks/useDebounce/useDebounce.d.ts +2 -0
- package/lib/hooks/useDebounce/useDebounce.d.ts.map +1 -0
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts +26 -0
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +1 -0
- package/lib/hooks/useDebounce/useDebounce.stories.js +80 -0
- package/lib/hooks/useDebounce/useDebounce.stories.tsx +82 -0
- package/lib/hooks/useDebounce/useDebounce.ts +15 -0
- package/lib/hooks/useFileUpload/index.d.ts +2 -0
- package/lib/hooks/useFileUpload/index.d.ts.map +1 -0
- package/lib/hooks/useFileUpload/index.ts +1 -0
- package/lib/hooks/useFileUpload/useFileUpload.d.ts +17 -0
- package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -0
- package/lib/hooks/useFileUpload/useFileUpload.js +7 -2
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +16 -0
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +1 -0
- package/lib/hooks/useFileUpload/useFileUpload.stories.js +405 -0
- package/lib/hooks/useFileUpload/useFileUpload.stories.tsx +468 -0
- package/lib/hooks/useFileUpload/useFileUpload.ts +326 -0
- package/lib/hooks/useFilteredOptions/index.d.ts +2 -0
- package/lib/hooks/useFilteredOptions/index.d.ts.map +1 -0
- package/lib/hooks/useFilteredOptions/index.ts +1 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +17 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.js +5 -3
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +18 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +1 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.js +155 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.tsx +142 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.ts +92 -0
- package/lib/hooks/useInfiniteScroll/index.d.ts +2 -0
- package/lib/hooks/useInfiniteScroll/index.d.ts.map +1 -0
- package/lib/hooks/useInfiniteScroll/index.ts +1 -0
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +15 -0
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -0
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.ts +85 -0
- package/lib/hooks/useInputState/index.d.ts +2 -0
- package/lib/hooks/useInputState/index.d.ts.map +1 -0
- package/lib/hooks/useInputState/index.ts +1 -0
- package/lib/hooks/useInputState/useInputState.d.ts +13 -0
- package/lib/hooks/useInputState/useInputState.d.ts.map +1 -0
- package/lib/hooks/useInputState/useInputState.js +3 -1
- package/lib/hooks/useInputState/useInputState.stories.d.ts +16 -0
- package/lib/hooks/useInputState/useInputState.stories.d.ts.map +1 -0
- package/lib/hooks/useInputState/useInputState.stories.js +67 -0
- package/lib/hooks/useInputState/useInputState.stories.tsx +62 -0
- package/lib/hooks/useInputState/useInputState.ts +24 -0
- package/lib/hooks/useLockedBody/index.d.ts +2 -0
- package/lib/hooks/useLockedBody/index.d.ts.map +1 -0
- package/lib/hooks/useLockedBody/index.ts +1 -0
- package/lib/hooks/useLockedBody/useLockedBody.d.ts +4 -0
- package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +1 -0
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +17 -0
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +1 -0
- package/lib/hooks/useLockedBody/useLockedBody.stories.js +69 -0
- package/lib/hooks/useLockedBody/useLockedBody.stories.tsx +71 -0
- package/lib/hooks/useLockedBody/useLockedBody.ts +53 -0
- package/lib/hooks/useModal/index.d.ts +2 -0
- package/lib/hooks/useModal/index.d.ts.map +1 -0
- package/lib/hooks/useModal/index.ts +1 -0
- package/lib/hooks/useModal/useModal.d.ts +11 -0
- package/lib/hooks/useModal/useModal.d.ts.map +1 -0
- package/lib/hooks/useModal/useModal.stories.d.ts +16 -0
- package/lib/hooks/useModal/useModal.stories.d.ts.map +1 -0
- package/lib/hooks/useModal/useModal.stories.js +138 -0
- package/lib/hooks/useModal/useModal.stories.tsx +134 -0
- package/lib/hooks/useModal/useModal.ts +36 -0
- package/lib/hooks/useMountTransition/index.d.ts +3 -0
- package/lib/hooks/useMountTransition/index.d.ts.map +1 -0
- package/lib/hooks/useMountTransition/index.js +2 -0
- package/lib/hooks/useMountTransition/index.ts +25 -0
- package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts +16 -0
- package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts.map +1 -0
- package/lib/hooks/useMountTransition/useMountTransition.stories.js +64 -0
- package/lib/hooks/useMountTransition/useMountTransition.stories.tsx +64 -0
- package/lib/hooks/usePagination/index.d.ts +2 -0
- package/lib/hooks/usePagination/index.d.ts.map +1 -0
- package/lib/hooks/usePagination/index.ts +1 -0
- package/lib/hooks/usePagination/usePagination.d.ts +5 -0
- package/lib/hooks/usePagination/usePagination.d.ts.map +1 -0
- package/lib/hooks/usePagination/usePagination.js +3 -0
- package/lib/hooks/usePagination/usePagination.stories.d.ts +18 -0
- package/lib/hooks/usePagination/usePagination.stories.d.ts.map +1 -0
- package/lib/hooks/usePagination/usePagination.stories.js +77 -0
- package/lib/hooks/usePagination/usePagination.stories.tsx +72 -0
- package/lib/hooks/usePagination/usePagination.ts +151 -0
- package/lib/hooks/useReferenceElementWidth/index.d.ts +2 -0
- package/lib/hooks/useReferenceElementWidth/index.d.ts.map +1 -0
- package/lib/hooks/useReferenceElementWidth/index.ts +1 -0
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts +2 -0
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +1 -0
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.ts +19 -0
- package/lib/hooks/useResizeObserver/index.d.ts +2 -0
- package/lib/hooks/useResizeObserver/index.d.ts.map +1 -0
- package/lib/hooks/useResizeObserver/index.ts +1 -0
- package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +3 -0
- package/lib/hooks/useResizeObserver/useResizeObserver.d.ts.map +1 -0
- package/lib/hooks/useResizeObserver/useResizeObserver.js +3 -0
- package/lib/hooks/useResizeObserver/useResizeObserver.ts +29 -0
- package/lib/hooks/useToastPortal/index.d.ts +2 -0
- package/lib/hooks/useToastPortal/index.d.ts.map +1 -0
- package/lib/hooks/useToastPortal/index.ts +1 -0
- package/lib/hooks/useToastPortal/useToastPortal.d.ts +10 -0
- package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -0
- package/lib/hooks/useToastPortal/useToastPortal.js +3 -3
- package/lib/hooks/useToastPortal/useToastPortal.ts +34 -0
- package/lib/hooks/useToggle/index.d.ts +2 -0
- package/lib/hooks/useToggle/index.d.ts.map +1 -0
- package/lib/hooks/useToggle/index.ts +1 -0
- package/lib/hooks/useToggle/useToggle.d.ts +2 -0
- package/lib/hooks/useToggle/useToggle.d.ts.map +1 -0
- package/lib/hooks/useToggle/useToggle.stories.d.ts +17 -0
- package/lib/hooks/useToggle/useToggle.stories.d.ts.map +1 -0
- package/lib/hooks/useToggle/useToggle.stories.js +68 -0
- package/lib/hooks/useToggle/useToggle.stories.tsx +70 -0
- package/lib/hooks/useToggle/useToggle.ts +13 -0
- package/lib/hooks/useWindowSize/index.d.ts +2 -0
- package/lib/hooks/useWindowSize/index.d.ts.map +1 -0
- package/lib/hooks/useWindowSize/index.ts +1 -0
- package/lib/hooks/useWindowSize/useWindowSize.d.ts +7 -0
- package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +1 -0
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +17 -0
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +1 -0
- package/lib/hooks/useWindowSize/useWindowSize.stories.js +58 -0
- package/lib/hooks/useWindowSize/useWindowSize.stories.tsx +62 -0
- package/lib/hooks/useWindowSize/useWindowSize.ts +39 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.ts +6 -0
- package/lib/stories/Border/Border.stories.d.ts +12 -0
- package/lib/stories/Border/Border.stories.d.ts.map +1 -0
- package/lib/stories/Color/Color.stories.d.ts +13 -0
- package/lib/stories/Color/Color.stories.d.ts.map +1 -0
- package/lib/stories/Elevation/Elevation.stories.d.ts +12 -0
- package/lib/stories/Elevation/Elevation.stories.d.ts.map +1 -0
- package/lib/stories/Introduction/index.d.ts +3 -0
- package/lib/stories/Introduction/index.d.ts.map +1 -0
- package/lib/stories/Motion/Motion.stories.d.ts +12 -0
- package/lib/stories/Motion/Motion.stories.d.ts.map +1 -0
- package/lib/stories/Opacity/Opacity.stories.d.ts +12 -0
- package/lib/stories/Opacity/Opacity.stories.d.ts.map +1 -0
- package/lib/stories/Shadow/Shadow.stories.d.ts +12 -0
- package/lib/stories/Shadow/Shadow.stories.d.ts.map +1 -0
- package/lib/stories/Size/Size.stories.d.ts +12 -0
- package/lib/stories/Size/Size.stories.d.ts.map +1 -0
- package/lib/stories/Space/Space.stories.d.ts +12 -0
- package/lib/stories/Space/Space.stories.d.ts.map +1 -0
- package/lib/stories/Tokens/index.d.ts +3 -0
- package/lib/stories/Tokens/index.d.ts.map +1 -0
- package/lib/styles/index.d.ts +268 -0
- package/lib/styles/index.d.ts.map +1 -0
- package/lib/styles/index.ts +533 -0
- package/lib/styles/variables/_border.d.ts +13 -0
- package/lib/styles/variables/_border.d.ts.map +1 -0
- package/lib/styles/variables/_border.ts +23 -0
- package/lib/styles/variables/_color.d.ts +105 -0
- package/lib/styles/variables/_color.d.ts.map +1 -0
- package/lib/styles/variables/_color.ts +207 -0
- package/lib/styles/variables/_elevation.d.ts +8 -0
- package/lib/styles/variables/_elevation.d.ts.map +1 -0
- package/lib/styles/variables/_elevation.ts +13 -0
- package/lib/styles/variables/_font.d.ts +31 -0
- package/lib/styles/variables/_font.d.ts.map +1 -0
- package/lib/styles/variables/_font.ts +59 -0
- package/lib/styles/variables/_motion.d.ts +7 -0
- package/lib/styles/variables/_motion.d.ts.map +1 -0
- package/lib/styles/variables/_motion.ts +11 -0
- package/lib/styles/variables/_opacity.d.ts +16 -0
- package/lib/styles/variables/_opacity.d.ts.map +1 -0
- package/lib/styles/variables/_opacity.ts +29 -0
- package/lib/styles/variables/_shadow.d.ts +25 -0
- package/lib/styles/variables/_shadow.d.ts.map +1 -0
- package/lib/styles/variables/_shadow.ts +47 -0
- package/lib/styles/variables/_size.d.ts +58 -0
- package/lib/styles/variables/_size.d.ts.map +1 -0
- package/lib/styles/variables/_size.ts +113 -0
- package/lib/styles/variables/_space.d.ts +13 -0
- package/lib/styles/variables/_space.d.ts.map +1 -0
- package/lib/styles/variables/_space.ts +23 -0
- package/lib/types/charts.d.ts +224 -0
- package/lib/types/charts.d.ts.map +1 -0
- package/lib/types/charts.js +5 -1
- package/lib/types/charts.ts +247 -0
- package/lib/types/common.d.ts +10 -0
- package/lib/types/common.d.ts.map +1 -0
- package/lib/types/common.ts +11 -0
- package/lib/types/cssvariables.d.js +3 -0
- package/lib/types/cssvariables.d.ts +8 -0
- package/lib/types/date-range-picker.d.ts +21 -0
- package/lib/types/date-range-picker.d.ts.map +1 -0
- package/lib/types/date-range-picker.js +5 -1
- package/lib/types/date-range-picker.ts +20 -0
- package/lib/types/flow-to-typescript-codemod.d.js +1 -0
- package/lib/types/flow-to-typescript-codemod.d.ts +48 -0
- package/lib/types/global.d.js +1 -0
- package/lib/types/global.d.ts +84 -0
- package/lib/types/index.d.ts +7 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/index.ts +6 -0
- package/lib/types/menu.d.ts +13 -0
- package/lib/types/menu.d.ts.map +1 -0
- package/lib/types/menu.js +5 -1
- package/lib/types/menu.ts +13 -0
- package/lib/types/toast.d.ts +28 -0
- package/lib/types/toast.d.ts.map +1 -0
- package/lib/types/toast.js +0 -2
- package/lib/types/toast.ts +34 -0
- package/lib/types/typography.d.ts +17 -0
- package/lib/types/typography.d.ts.map +1 -0
- package/lib/types/typography.ts +17 -0
- package/lib/utils/array/are-arrays-equal.d.ts +4 -0
- package/lib/utils/array/are-arrays-equal.d.ts.map +1 -0
- package/lib/utils/array/are-arrays-equal.ts +12 -0
- package/lib/utils/array/index.d.ts +2 -0
- package/lib/utils/array/index.d.ts.map +1 -0
- package/lib/utils/array/index.ts +1 -0
- package/lib/utils/charts/charts.d.ts +17 -0
- package/lib/utils/charts/charts.d.ts.map +1 -0
- package/lib/utils/charts/charts.js +4 -0
- package/lib/utils/charts/charts.ts +110 -0
- package/lib/utils/charts/columnChart.d.ts +8 -0
- package/lib/utils/charts/columnChart.d.ts.map +1 -0
- package/lib/utils/charts/columnChart.js +3 -1
- package/lib/utils/charts/columnChart.ts +62 -0
- package/lib/utils/charts/donutChart.d.ts +21 -0
- package/lib/utils/charts/donutChart.d.ts.map +1 -0
- package/lib/utils/charts/donutChart.js +7 -2
- package/lib/utils/charts/donutChart.ts +123 -0
- package/lib/utils/charts/funnelChart.d.ts +10 -0
- package/lib/utils/charts/funnelChart.d.ts.map +1 -0
- package/lib/utils/charts/funnelChart.js +5 -1
- package/lib/utils/charts/funnelChart.ts +97 -0
- package/lib/utils/charts/helpers.d.ts +76 -0
- package/lib/utils/charts/helpers.d.ts.map +1 -0
- package/lib/utils/charts/helpers.ts +65 -0
- package/lib/utils/charts/index.d.ts +8 -0
- package/lib/utils/charts/index.d.ts.map +1 -0
- package/lib/utils/charts/index.ts +7 -0
- package/lib/utils/charts/lineChart.d.ts +7 -0
- package/lib/utils/charts/lineChart.d.ts.map +1 -0
- package/lib/utils/charts/lineChart.js +3 -1
- package/lib/utils/charts/lineChart.ts +51 -0
- package/lib/utils/charts/spiderChart.d.ts +18 -0
- package/lib/utils/charts/spiderChart.d.ts.map +1 -0
- package/lib/utils/charts/spiderChart.ts +57 -0
- package/lib/utils/charts/typography.d.ts +58 -0
- package/lib/utils/charts/typography.d.ts.map +1 -0
- package/lib/utils/charts/typography.ts +52 -0
- package/lib/utils/classify/classify.stories.d.ts +17 -0
- package/lib/utils/classify/classify.stories.d.ts.map +1 -0
- package/lib/utils/classify/classify.stories.js +63 -0
- package/lib/utils/classify/classify.stories.tsx +65 -0
- package/lib/utils/classify/index.d.ts +3 -0
- package/lib/utils/classify/index.d.ts.map +1 -0
- package/lib/utils/classify/index.js +1 -1
- package/lib/utils/classify/index.ts +27 -0
- package/lib/utils/click-away/ClickAway.stories.d.ts +106 -0
- package/lib/utils/click-away/ClickAway.stories.d.ts.map +1 -0
- package/lib/utils/click-away/ClickAway.stories.js +260 -0
- package/lib/utils/click-away/ClickAway.stories.tsx +248 -0
- package/lib/utils/click-away/click-away.d.ts +77 -0
- package/lib/utils/click-away/click-away.d.ts.map +1 -0
- package/lib/utils/click-away/click-away.js +18 -5
- package/lib/utils/click-away/click-away.ts +230 -0
- package/lib/utils/click-away/index.d.ts +2 -0
- package/lib/utils/click-away/index.d.ts.map +1 -0
- package/lib/utils/click-away/index.ts +1 -0
- package/lib/utils/date-range-picker/date-range-picker.d.ts +63 -0
- package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -0
- package/lib/utils/date-range-picker/date-range-picker.js +17 -2
- package/lib/utils/date-range-picker/date-range-picker.ts +430 -0
- package/lib/utils/date-range-picker/index.d.ts +3 -0
- package/lib/utils/date-range-picker/index.d.ts.map +1 -0
- package/lib/utils/date-range-picker/index.ts +2 -0
- package/lib/utils/date-range-picker/timezones.d.ts +258 -0
- package/lib/utils/date-range-picker/timezones.d.ts.map +1 -0
- package/lib/utils/date-range-picker/timezones.js +0 -1
- package/lib/utils/date-range-picker/timezones.ts +263 -0
- package/lib/utils/dom/dom.d.ts +38 -0
- package/lib/utils/dom/dom.d.ts.map +1 -0
- package/lib/utils/dom/dom.js +9 -7
- package/lib/utils/dom/dom.stories.d.ts +15 -0
- package/lib/utils/dom/dom.stories.d.ts.map +1 -0
- package/lib/utils/dom/dom.stories.js +59 -0
- package/lib/utils/dom/dom.stories.tsx +59 -0
- package/lib/utils/dom/dom.ts +247 -0
- package/lib/utils/dom/index.d.ts +2 -0
- package/lib/utils/dom/index.d.ts.map +1 -0
- package/lib/utils/dom/index.ts +1 -0
- package/lib/utils/helpers/helpers.d.ts +4 -0
- package/lib/utils/helpers/helpers.d.ts.map +1 -0
- package/lib/utils/helpers/helpers.stories.d.ts +15 -0
- package/lib/utils/helpers/helpers.stories.d.ts.map +1 -0
- package/lib/utils/helpers/helpers.stories.js +111 -0
- package/lib/utils/helpers/helpers.stories.tsx +124 -0
- package/lib/utils/helpers/helpers.ts +51 -0
- package/lib/utils/helpers/index.d.ts +2 -0
- package/lib/utils/helpers/index.d.ts.map +1 -0
- package/lib/utils/helpers/index.ts +1 -0
- package/lib/utils/index.d.ts +15 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.ts +14 -0
- package/lib/utils/makeClassNameComponent/index.d.ts +2 -0
- package/lib/utils/makeClassNameComponent/index.d.ts.map +1 -0
- package/lib/utils/makeClassNameComponent/index.ts +1 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts +9 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +21 -7
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts +15 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts.map +1 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.js +44 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.tsx +46 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.tsx +60 -0
- package/lib/utils/menu/index.d.ts +2 -0
- package/lib/utils/menu/index.d.ts.map +1 -0
- package/lib/utils/menu/index.ts +1 -0
- package/lib/utils/menu/menu.d.ts +20 -0
- package/lib/utils/menu/menu.d.ts.map +1 -0
- package/lib/utils/menu/menu.js +0 -2
- package/lib/utils/menu/menu.ts +174 -0
- package/lib/utils/merge-refs/index.d.ts +2 -0
- package/lib/utils/merge-refs/index.d.ts.map +1 -0
- package/lib/utils/merge-refs/index.ts +1 -0
- package/lib/utils/merge-refs/merge-refs.d.ts +4 -0
- package/lib/utils/merge-refs/merge-refs.d.ts.map +1 -0
- package/lib/utils/merge-refs/merge-refs.js +1 -0
- package/lib/utils/merge-refs/merge-refs.stories.d.ts +15 -0
- package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +1 -0
- package/lib/utils/merge-refs/merge-refs.stories.js +86 -0
- package/lib/utils/merge-refs/merge-refs.stories.tsx +92 -0
- package/lib/utils/merge-refs/merge-refs.ts +16 -0
- package/lib/utils/rating/index.d.ts +2 -0
- package/lib/utils/rating/index.d.ts.map +1 -0
- package/lib/utils/rating/index.ts +1 -0
- package/lib/utils/rating/rating.d.ts +13 -0
- package/lib/utils/rating/rating.d.ts.map +1 -0
- package/lib/utils/rating/rating.ts +30 -0
- package/lib/utils/score-bar/index.d.ts +2 -0
- package/lib/utils/score-bar/index.d.ts.map +1 -0
- package/lib/utils/score-bar/index.ts +1 -0
- package/lib/utils/score-bar/score-bar.d.ts +10 -0
- package/lib/utils/score-bar/score-bar.d.ts.map +1 -0
- package/lib/utils/score-bar/score-bar.ts +45 -0
- package/lib/utils/string/index.d.ts +2 -0
- package/lib/utils/string/index.d.ts.map +1 -0
- package/lib/utils/string/index.ts +1 -0
- package/lib/utils/string/string.d.ts +6 -0
- package/lib/utils/string/string.d.ts.map +1 -0
- package/lib/utils/string/string.stories.d.ts +15 -0
- package/lib/utils/string/string.stories.d.ts.map +1 -0
- package/lib/utils/string/string.stories.js +63 -0
- package/lib/utils/string/string.stories.tsx +71 -0
- package/lib/utils/string/string.ts +26 -0
- package/lib/utils/token-list-input/token-list-input.d.ts +15 -0
- package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -0
- package/lib/utils/token-list-input/token-list-input.js +0 -2
- package/lib/utils/token-list-input/token-list-input.ts +32 -0
- package/lib/utils/tokens/index.d.ts +2 -0
- package/lib/utils/tokens/index.d.ts.map +1 -0
- package/lib/utils/tokens/index.ts +1 -0
- package/lib/utils/tokens/tokens.d.ts +41 -0
- package/lib/utils/tokens/tokens.d.ts.map +1 -0
- package/lib/utils/tokens/tokens.ts +237 -0
- package/package.json +31 -5
- package/tsconfig.declaration.json +19 -0
- package/tsconfig.declaration.tsbuildinfo +1 -0
- package/tsconfig.json +40 -0
- package/lib/components/Accordion/Accordion.js.flow +0 -116
- package/lib/components/Accordion/AccordionGroup.js.flow +0 -75
- package/lib/components/Accordion/index.js.flow +0 -4
- package/lib/components/Avatar/Avatar.js.flow +0 -269
- package/lib/components/Avatar/index.js.flow +0 -3
- package/lib/components/AvatarGroup/AvatarGroup.js.flow +0 -164
- package/lib/components/AvatarGroup/index.js.flow +0 -3
- package/lib/components/Badge/Badge.js.flow +0 -147
- package/lib/components/Badge/index.js.flow +0 -3
- package/lib/components/BadgedIcon/BadgedIcon.js.flow +0 -73
- package/lib/components/BadgedIcon/index.js.flow +0 -3
- package/lib/components/Banner/Banner.js.flow +0 -60
- package/lib/components/Banner/index.js.flow +0 -3
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js.flow +0 -58
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.js.flow +0 -3
- package/lib/components/Breadcrumbs/Breadcrumbs.js.flow +0 -59
- package/lib/components/Breadcrumbs/index.js.flow +0 -4
- package/lib/components/Button/Button.js.flow +0 -286
- package/lib/components/Button/index.js.flow +0 -16
- package/lib/components/ButtonDropdown/ButtonDropdown.js.flow +0 -226
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js.flow +0 -169
- package/lib/components/ButtonDropdown/index.js.flow +0 -4
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js.flow +0 -82
- package/lib/components/ButtonTabs/ButtonTab/index.js.flow +0 -3
- package/lib/components/ButtonTabs/ButtonTabDropdown.js.flow +0 -150
- package/lib/components/ButtonTabs/ButtonTabs.js.flow +0 -121
- package/lib/components/ButtonTabs/index.js.flow +0 -4
- package/lib/components/Card/Card.js.flow +0 -174
- package/lib/components/Card/index.js.flow +0 -3
- package/lib/components/Charts/ChartTooltip/index.js.flow +0 -15
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js.flow +0 -190
- package/lib/components/Charts/ChartWrapper/index.js.flow +0 -3
- package/lib/components/Charts/ColumnChart/ColumnChart.js.flow +0 -126
- package/lib/components/Charts/ColumnChart/index.js.flow +0 -3
- package/lib/components/Charts/DonutChart/DonutChart.js.flow +0 -158
- package/lib/components/Charts/DonutChart/index.js.flow +0 -3
- package/lib/components/Charts/FunnelChart/FunnelChart.js.flow +0 -115
- package/lib/components/Charts/FunnelChart/index.js.flow +0 -3
- package/lib/components/Charts/LineChart/LineChart.js.flow +0 -113
- package/lib/components/Charts/LineChart/index.js.flow +0 -3
- package/lib/components/Charts/SpiderChart/SpiderChart.js.flow +0 -111
- package/lib/components/Charts/SpiderChart/index.js.flow +0 -3
- package/lib/components/Charts/index.js.flow +0 -9
- package/lib/components/ChatBubble/ChatBubble.js.flow +0 -222
- package/lib/components/ChatBubble/index.js.flow +0 -3
- package/lib/components/Checkbox/Checkbox.js.flow +0 -168
- package/lib/components/Checkbox/CheckboxGroup.js.flow +0 -116
- package/lib/components/Checkbox/index.js.flow +0 -3
- package/lib/components/Chip/Chip.js.flow +0 -199
- package/lib/components/Chip/index.js.flow +0 -4
- package/lib/components/CircularLoader/CircularLoader.js.flow +0 -58
- package/lib/components/CircularLoader/index.js.flow +0 -3
- package/lib/components/CollapsibleCard/CollapsibleCard.js.flow +0 -146
- package/lib/components/CollapsibleCard/index.js.flow +0 -3
- package/lib/components/Combobox/Combobox.js.flow +0 -287
- package/lib/components/Combobox/helper.js.flow +0 -204
- package/lib/components/Combobox/index.js.flow +0 -3
- package/lib/components/ConditionalWrapper/ConditionalWrapper.js.flow +0 -16
- package/lib/components/ConditionalWrapper/index.js.flow +0 -3
- package/lib/components/DateRangePicker/Calendar.js.flow +0 -112
- package/lib/components/DateRangePicker/DateRangePicker.js.flow +0 -214
- package/lib/components/DateRangePicker/DateRangeWrapper.js.flow +0 -384
- package/lib/components/DateRangePicker/Day.js.flow +0 -75
- package/lib/components/DateRangePicker/index.js.flow +0 -3
- package/lib/components/Dialog/Dialog.js.flow +0 -228
- package/lib/components/Dialog/index.js.flow +0 -2
- package/lib/components/Disclaimer/Disclaimer.js.flow +0 -41
- package/lib/components/Disclaimer/index.js.flow +0 -3
- package/lib/components/Dropdown/Dropdown.js.flow +0 -176
- package/lib/components/Dropdown/SimpleDropdown.js.flow +0 -170
- package/lib/components/Dropdown/index.js.flow +0 -4
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.js.flow +0 -112
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.js.flow +0 -198
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.js.flow +0 -120
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.js.flow +0 -137
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.js.flow +0 -68
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.js.flow +0 -71
- package/lib/components/EmptyState/EmptyImages/index.js.flow +0 -8
- package/lib/components/EmptyState/EmptyState.js.flow +0 -91
- package/lib/components/EmptyState/index.js.flow +0 -3
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.js.flow +0 -89
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.js.flow +0 -121
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.js.flow +0 -241
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.js.flow +0 -77
- package/lib/components/ErrorMessage/ErrorImages/index.js.flow +0 -6
- package/lib/components/ErrorMessage/ErrorMessage.js.flow +0 -95
- package/lib/components/ErrorMessage/index.js.flow +0 -3
- package/lib/components/FileUpload/FileBlock/FileBlock.js.flow +0 -139
- package/lib/components/FileUpload/FileBlock/index.js.flow +0 -3
- package/lib/components/FileUpload/FileUpload.js.flow +0 -212
- package/lib/components/FileUpload/index.js.flow +0 -4
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js.flow +0 -166
- package/lib/components/FilterButtonOverlay/index.js.flow +0 -3
- package/lib/components/FocusManager/FocusManager.js.flow +0 -57
- package/lib/components/FocusManager/index.js.flow +0 -3
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js.flow +0 -152
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.js.flow +0 -3
- package/lib/components/FormTitleWrapper/FormTitleWrapper.js.flow +0 -68
- package/lib/components/FormTitleWrapper/index.js.flow +0 -3
- package/lib/components/Grid/Grid.js.flow +0 -110
- package/lib/components/Grid/index.js.flow +0 -3
- package/lib/components/Icon/ClickableIcon.js.flow +0 -111
- package/lib/components/Icon/Icon.docs.js.flow +0 -120
- package/lib/components/Icon/Icon.js.flow +0 -77
- package/lib/components/Icon/SemanticIcon.js.flow +0 -48
- package/lib/components/Icon/index.js.flow +0 -5
- package/lib/components/InContextAlert/InContextAlert.js.flow +0 -208
- package/lib/components/InContextAlert/index.js.flow +0 -3
- package/lib/components/InfinitePagination/InfinitePagination.js.flow +0 -122
- package/lib/components/InfinitePagination/index.js.flow +0 -3
- package/lib/components/InlineDropdown/InlineDropdown.js.flow +0 -181
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js.flow +0 -167
- package/lib/components/InlineDropdown/index.js.flow +0 -4
- package/lib/components/Input/Input.js.flow +0 -325
- package/lib/components/Input/index.js.flow +0 -3
- package/lib/components/KPIBox/KPIBox.js.flow +0 -97
- package/lib/components/KPIBox/index.js.flow +0 -3
- package/lib/components/LinearLoader/LinearLoader.js.flow +0 -49
- package/lib/components/LinearLoader/index.js.flow +0 -3
- package/lib/components/Link/Link.js.flow +0 -231
- package/lib/components/Link/index.js.flow +0 -3
- package/lib/components/Menu/Menu.js.flow +0 -391
- package/lib/components/Menu/MenuOptionButton.js.flow +0 -201
- package/lib/components/Menu/index.js.flow +0 -4
- package/lib/components/Modal/Modal.js.flow +0 -370
- package/lib/components/Modal/index.js.flow +0 -15
- package/lib/components/Notification/Notification.js.flow +0 -149
- package/lib/components/Notification/index.js.flow +0 -3
- package/lib/components/OptionButton/OptionButton.js.flow +0 -153
- package/lib/components/OptionButton/SimpleOptionButton.js.flow +0 -161
- package/lib/components/OptionButton/index.js.flow +0 -4
- package/lib/components/PageTitle/PageTitle.js.flow +0 -267
- package/lib/components/PageTitle/index.js.flow +0 -3
- package/lib/components/Pagination/Pagination.js.flow +0 -158
- package/lib/components/Pagination/PaginationItem.js.flow +0 -120
- package/lib/components/Pagination/index.js.flow +0 -3
- package/lib/components/Panel/Panel.js.flow +0 -181
- package/lib/components/Panel/index.js.flow +0 -10
- package/lib/components/ProgressDonut/ProgressDonut.js.flow +0 -111
- package/lib/components/ProgressDonut/index.js.flow +0 -3
- package/lib/components/PromptChip/PromptChip.js.flow +0 -166
- package/lib/components/PromptChip/index.js.flow +0 -3
- package/lib/components/PromptInput/PromptInput.js.flow +0 -194
- package/lib/components/PromptInput/index.js.flow +0 -3
- package/lib/components/RadioButton/RadioButton.js.flow +0 -134
- package/lib/components/RadioButton/RadioGroup.js.flow +0 -94
- package/lib/components/RadioButton/index.js.flow +0 -3
- package/lib/components/RadioTile/RadioTile.js.flow +0 -110
- package/lib/components/RadioTile/index.js.flow +0 -3
- package/lib/components/RangeSlider/RangeSlider.js.flow +0 -202
- package/lib/components/RangeSlider/index.js.flow +0 -3
- package/lib/components/Rating/Rating.js.flow +0 -134
- package/lib/components/Rating/index.js.flow +0 -3
- package/lib/components/ScoreBar/ScoreBar.js.flow +0 -135
- package/lib/components/ScoreBar/index.js.flow +0 -3
- package/lib/components/SearchInput/SearchInput.js.flow +0 -88
- package/lib/components/SearchInput/index.js.flow +0 -4
- package/lib/components/Separator/Separator.js.flow +0 -60
- package/lib/components/Separator/index.js.flow +0 -3
- package/lib/components/Shimmer/Shimmer.js.flow +0 -141
- package/lib/components/Shimmer/index.js.flow +0 -3
- package/lib/components/SideMenuLink/SideMenuLink.js.flow +0 -344
- package/lib/components/SideMenuLink/index.js.flow +0 -3
- package/lib/components/StatusIndicator/StatusIndicator.js.flow +0 -68
- package/lib/components/StatusIndicator/index.js.flow +0 -3
- package/lib/components/Stepper/Step/Step.js.flow +0 -123
- package/lib/components/Stepper/Step/StepContent.js.flow +0 -40
- package/lib/components/Stepper/Step/StepLabel.js.flow +0 -40
- package/lib/components/Stepper/Step/index.js.flow +0 -5
- package/lib/components/Stepper/Stepper.js.flow +0 -64
- package/lib/components/Stepper/index.js.flow +0 -4
- package/lib/components/StickyBar/StickyBar.js.flow +0 -67
- package/lib/components/StickyBar/index.js.flow +0 -3
- package/lib/components/SubMenu/SubMenu.js.flow +0 -96
- package/lib/components/SubMenu/SubMenuGroup.js.flow +0 -156
- package/lib/components/SubMenu/SubMenuItem.js.flow +0 -170
- package/lib/components/SubMenu/SubMenuLink.js.flow +0 -89
- package/lib/components/SubMenu/index.js.flow +0 -6
- package/lib/components/Table/Cell.js.flow +0 -122
- package/lib/components/Table/DefaultRow.js.flow +0 -152
- package/lib/components/Table/DefaultTableHeader.js.flow +0 -240
- package/lib/components/Table/StaticTable.js.flow +0 -212
- package/lib/components/Table/Table.docs.js.flow +0 -495
- package/lib/components/Table/Table.js.flow +0 -132
- package/lib/components/Table/TableActionBar.js.flow +0 -55
- package/lib/components/Table/TableBottomBar.js.flow +0 -28
- package/lib/components/Table/TableTopBar.js.flow +0 -28
- package/lib/components/Table/dummyTableData.js.flow +0 -2191
- package/lib/components/Table/hooks.js.flow +0 -97
- package/lib/components/Table/index.js.flow +0 -10
- package/lib/components/Tabs/Tab/Tab.js.flow +0 -140
- package/lib/components/Tabs/Tab/index.js.flow +0 -3
- package/lib/components/Tabs/TabList/TabDropdown.js.flow +0 -123
- package/lib/components/Tabs/TabList/TabList.js.flow +0 -161
- package/lib/components/Tabs/TabList/index.js.flow +0 -3
- package/lib/components/Tabs/index.js.flow +0 -4
- package/lib/components/Text/Text.js.flow +0 -1060
- package/lib/components/Text/index.js.flow +0 -32
- package/lib/components/TextTile/TextTile.js.flow +0 -44
- package/lib/components/TextTile/index.js.flow +0 -3
- package/lib/components/Textarea/Textarea.js.flow +0 -139
- package/lib/components/Textarea/index.js.flow +0 -4
- package/lib/components/Timeline/Timeline.js.flow +0 -47
- package/lib/components/Timeline/TimelineItem/TimelineItem.js.flow +0 -127
- package/lib/components/Timeline/TimelineItem/index.js.flow +0 -3
- package/lib/components/Timeline/index.js.flow +0 -4
- package/lib/components/Toast/Toast.js.flow +0 -249
- package/lib/components/Toast/ToastContainer.js.flow +0 -125
- package/lib/components/Toast/ToastManager.js.flow +0 -67
- package/lib/components/Toast/index.js.flow +0 -12
- package/lib/components/Toggle/Toggle.js.flow +0 -113
- package/lib/components/Toggle/index.js.flow +0 -2
- package/lib/components/TokenListInput/TokenListInput.js.flow +0 -389
- package/lib/components/TokenListInput/TokenValueChips.js.flow +0 -69
- package/lib/components/TokenListInput/index.js.flow +0 -3
- package/lib/components/Tooltip/Tooltip.js.flow +0 -206
- package/lib/components/Tooltip/index.js.flow +0 -3
- package/lib/components/Truncate/Truncate.js.flow +0 -86
- package/lib/components/Truncate/index.js.flow +0 -4
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js.flow +0 -104
- package/lib/components/TruncatedTextWithTooltip/index.js.flow +0 -3
- package/lib/components/Typeahead/SimpleTypeahead.js.flow +0 -164
- package/lib/components/Typeahead/Typeahead.js.flow +0 -250
- package/lib/components/Typeahead/index.js.flow +0 -4
- package/lib/components/WeekdayPicker/WeekdayPicker.js.flow +0 -229
- package/lib/components/WeekdayPicker/index.js.flow +0 -3
- package/lib/components/index.js.flow +0 -77
- package/lib/hooks/index.js.flow +0 -18
- package/lib/hooks/useArbitraryOptionAddition/index.js.flow +0 -3
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js.flow +0 -117
- package/lib/hooks/useCopyToClipboard/index.js.flow +0 -3
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js.flow +0 -31
- package/lib/hooks/useDebounce/index.js.flow +0 -3
- package/lib/hooks/useDebounce/useDebounce.js.flow +0 -17
- package/lib/hooks/useFileUpload/index.js.flow +0 -3
- package/lib/hooks/useFileUpload/useFileUpload.js.flow +0 -304
- package/lib/hooks/useFilteredOptions/index.js.flow +0 -3
- package/lib/hooks/useFilteredOptions/useFilteredOptions.js.flow +0 -81
- package/lib/hooks/useInfiniteScroll/index.js.flow +0 -3
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.js.flow +0 -82
- package/lib/hooks/useInputState/index.js.flow +0 -3
- package/lib/hooks/useInputState/useInputState.js.flow +0 -28
- package/lib/hooks/useLockedBody/index.js.flow +0 -3
- package/lib/hooks/useLockedBody/useLockedBody.js.flow +0 -55
- package/lib/hooks/useModal/index.js.flow +0 -3
- package/lib/hooks/useModal/useModal.js.flow +0 -39
- package/lib/hooks/useMountTransition/index.js.flow +0 -27
- package/lib/hooks/usePagination/index.js.flow +0 -3
- package/lib/hooks/usePagination/usePagination.js.flow +0 -155
- package/lib/hooks/useReferenceElementWidth/index.js.flow +0 -3
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js.flow +0 -23
- package/lib/hooks/useResizeObserver/index.js.flow +0 -3
- package/lib/hooks/useResizeObserver/useResizeObserver.js.flow +0 -28
- package/lib/hooks/useToastPortal/index.js.flow +0 -3
- package/lib/hooks/useToastPortal/useToastPortal.js.flow +0 -30
- package/lib/hooks/useToggle/index.js.flow +0 -3
- package/lib/hooks/useToggle/useToggle.js.flow +0 -17
- package/lib/hooks/useWindowSize/index.js.flow +0 -3
- package/lib/hooks/useWindowSize/useWindowSize.js.flow +0 -41
- package/lib/index.js.flow +0 -7
- package/lib/styles/index.js.flow +0 -535
- package/lib/styles/variables/_border.js.flow +0 -25
- package/lib/styles/variables/_color.js.flow +0 -209
- package/lib/styles/variables/_elevation.js.flow +0 -15
- package/lib/styles/variables/_font.js.flow +0 -61
- package/lib/styles/variables/_motion.js.flow +0 -13
- package/lib/styles/variables/_opacity.js.flow +0 -31
- package/lib/styles/variables/_shadow.js.flow +0 -49
- package/lib/styles/variables/_size.js.flow +0 -115
- package/lib/styles/variables/_space.js.flow +0 -25
- package/lib/types/charts.js.flow +0 -263
- package/lib/types/common.js.flow +0 -13
- package/lib/types/date-range-picker.js.flow +0 -17
- package/lib/types/index.js.flow +0 -8
- package/lib/types/menu.js.flow +0 -15
- package/lib/types/toast.js.flow +0 -41
- package/lib/types/typography.js.flow +0 -19
- package/lib/utils/array/are-arrays-equal.js.flow +0 -14
- package/lib/utils/array/index.js.flow +0 -3
- package/lib/utils/charts/charts.js.flow +0 -111
- package/lib/utils/charts/columnChart.js.flow +0 -63
- package/lib/utils/charts/donutChart.js.flow +0 -119
- package/lib/utils/charts/funnelChart.js.flow +0 -102
- package/lib/utils/charts/helpers.js.flow +0 -68
- package/lib/utils/charts/index.js.flow +0 -9
- package/lib/utils/charts/lineChart.js.flow +0 -51
- package/lib/utils/charts/spiderChart.js.flow +0 -59
- package/lib/utils/charts/typography.js.flow +0 -53
- package/lib/utils/classify/index.js.flow +0 -29
- package/lib/utils/click-away/click-away.js.flow +0 -228
- package/lib/utils/click-away/index.js.flow +0 -3
- package/lib/utils/date-range-picker/date-range-picker.js.flow +0 -442
- package/lib/utils/date-range-picker/index.js.flow +0 -4
- package/lib/utils/date-range-picker/timezones.js.flow +0 -269
- package/lib/utils/dom/dom.js.flow +0 -238
- package/lib/utils/dom/index.js.flow +0 -3
- package/lib/utils/helpers/helpers.js.flow +0 -53
- package/lib/utils/helpers/index.js.flow +0 -3
- package/lib/utils/index.js.flow +0 -16
- package/lib/utils/makeClassNameComponent/index.js.flow +0 -3
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js.flow +0 -70
- package/lib/utils/menu/index.js.flow +0 -3
- package/lib/utils/menu/menu.js.flow +0 -193
- package/lib/utils/merge-refs/index.js.flow +0 -3
- package/lib/utils/merge-refs/merge-refs.js.flow +0 -14
- package/lib/utils/rating/index.js.flow +0 -3
- package/lib/utils/rating/rating.js.flow +0 -35
- package/lib/utils/score-bar/index.js.flow +0 -3
- package/lib/utils/score-bar/score-bar.js.flow +0 -58
- package/lib/utils/string/index.js.flow +0 -3
- package/lib/utils/string/string.js.flow +0 -33
- package/lib/utils/token-list-input/token-list-input.js.flow +0 -37
- package/lib/utils/tokens/index.js.flow +0 -3
- package/lib/utils/tokens/tokens.js.flow +0 -244
package/.cspell/custom-words.txt
CHANGED
package/.storybook/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
module.exports = {
|
|
3
|
-
stories: ['../src/**/*.mdx', '../src/**/*.stories.
|
|
3
|
+
stories: ['../src/**/*.mdx', '../src/**/*.stories.tsx'],
|
|
4
4
|
|
|
5
5
|
features: {
|
|
6
6
|
buildStoriesJson: true,
|
|
@@ -40,7 +40,7 @@ module.exports = {
|
|
|
40
40
|
},
|
|
41
41
|
],
|
|
42
42
|
'@babel/preset-react',
|
|
43
|
-
'@babel/preset-
|
|
43
|
+
'@babel/preset-typescript',
|
|
44
44
|
],
|
|
45
45
|
plugins: ['macros'],
|
|
46
46
|
}),
|
|
@@ -76,7 +76,7 @@ module.exports = {
|
|
|
76
76
|
},
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
config.resolve.extensions.push('.
|
|
79
|
+
config.resolve.extensions.push('.ts', '.tsx');
|
|
80
80
|
return config;
|
|
81
81
|
},
|
|
82
82
|
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.4.13-beta.0](https://github.com/spaced-out/ui-design-system/compare/v0.4.12...v0.4.13-beta.0) (2025-08-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **codebase:** migration to typescript ([45d9f71](https://github.com/spaced-out/ui-design-system/commit/45d9f711ad69c09e7ce8e1ea205fe9ac07ee1f5b))
|
|
11
|
+
|
|
12
|
+
### [0.4.12](https://github.com/spaced-out/ui-design-system/compare/v0.4.11...v0.4.12) (2025-07-29)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* [filter-overlay] fluid class overrides small and medium class ([#383](https://github.com/spaced-out/ui-design-system/issues/383)) ([f94c132](https://github.com/spaced-out/ui-design-system/commit/f94c13297c25ff659b343587795919a9a264756c))
|
|
18
|
+
|
|
5
19
|
### [0.4.11](https://github.com/spaced-out/ui-design-system/compare/v0.4.10...v0.4.11) (2025-07-28)
|
|
6
20
|
|
|
7
21
|
|
package/babel.config.js
CHANGED
package/config.js
CHANGED
|
@@ -12,7 +12,8 @@ const customJsFormat = ({dictionary, file}) =>
|
|
|
12
12
|
.map((token, idx) => {
|
|
13
13
|
let str = `export const ${token.name} = '${token.value}';\n`;
|
|
14
14
|
if (!idx) {
|
|
15
|
-
const addStr = `// @flow strict\n\n`;
|
|
15
|
+
//const addStr = `// @flow strict\n\n`;
|
|
16
|
+
const addStr = '';
|
|
16
17
|
str = addStr + str;
|
|
17
18
|
}
|
|
18
19
|
return str;
|
|
@@ -56,7 +57,7 @@ module.exports = {
|
|
|
56
57
|
transformGroup: 'js',
|
|
57
58
|
buildPath: `src/styles/variables/`,
|
|
58
59
|
files: tokens.map((tokenCategory) => ({
|
|
59
|
-
destination: `_${tokenCategory}.
|
|
60
|
+
destination: `_${tokenCategory}.ts`,
|
|
60
61
|
format: `customJsFormat`,
|
|
61
62
|
filter: {
|
|
62
63
|
attributes: {
|
|
@@ -71,7 +72,7 @@ module.exports = {
|
|
|
71
72
|
buildPath: `src/styles/`,
|
|
72
73
|
files: [
|
|
73
74
|
{
|
|
74
|
-
destination: `index.
|
|
75
|
+
destination: `index.ts`,
|
|
75
76
|
format: `customJsFormat`,
|
|
76
77
|
filter: ({attributes}) => !attributes.category.includes('base'),
|
|
77
78
|
},
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
# ForwardRef Type Fix Commands
|
|
2
|
+
|
|
3
|
+
This document explains the yarn commands available for fixing ForwardRef type mismatches in the UI Design System.
|
|
4
|
+
|
|
5
|
+
## 🚀 Quick Start
|
|
6
|
+
|
|
7
|
+
### Fix All ForwardRef Issues (Recommended)
|
|
8
|
+
```bash
|
|
9
|
+
yarn fix:forwardref
|
|
10
|
+
```
|
|
11
|
+
This command automatically finds and fixes all ForwardRef type mismatches across the entire codebase.
|
|
12
|
+
|
|
13
|
+
### Check Type Errors After Fix
|
|
14
|
+
```bash
|
|
15
|
+
yarn fix:forwardref:check
|
|
16
|
+
```
|
|
17
|
+
This runs the TypeScript compiler to check for remaining type errors.
|
|
18
|
+
|
|
19
|
+
## 📋 Available Commands
|
|
20
|
+
|
|
21
|
+
### `yarn fix:forwardref`
|
|
22
|
+
- **Purpose**: Fix all ForwardRef type mismatches automatically
|
|
23
|
+
- **What it does**:
|
|
24
|
+
- Scans all TypeScript/TSX files in the `src` directory
|
|
25
|
+
- Swaps incorrect generic type parameters in `React.forwardRef` calls
|
|
26
|
+
- Changes `React.forwardRef<PropsType, RefType>` to `React.forwardRef<RefType, PropsType>`
|
|
27
|
+
- Reports how many files were fixed
|
|
28
|
+
- **Usage**: `yarn fix:forwardref`
|
|
29
|
+
- **Output**: Lists all fixed files and provides next steps
|
|
30
|
+
|
|
31
|
+
### `yarn fix:forwardref:file <file1> <file2> ...`
|
|
32
|
+
- **Purpose**: Fix ForwardRef issues in specific files
|
|
33
|
+
- **What it does**: Same as above but only for specified files
|
|
34
|
+
- **Usage**: `yarn fix:forwardref:file src/components/Button/Button.tsx src/components/Avatar/Avatar.tsx`
|
|
35
|
+
- **Example**: `yarn fix:forwardref:file src/components/Accordion/Accordion.tsx`
|
|
36
|
+
|
|
37
|
+
### `yarn fix:forwardref:check`
|
|
38
|
+
- **Purpose**: Check for remaining TypeScript errors after fixes
|
|
39
|
+
- **What it does**: Runs `yarn flow` (TypeScript compiler) to check for errors
|
|
40
|
+
- **Usage**: `yarn fix:forwardref:check`
|
|
41
|
+
- **Output**: Shows any remaining type errors that need manual attention
|
|
42
|
+
|
|
43
|
+
### `yarn fix:unused`
|
|
44
|
+
- **Purpose**: Fix unused variable errors in storybook files
|
|
45
|
+
- **What it does**:
|
|
46
|
+
- Scans storybook files for unused variables
|
|
47
|
+
- Prefixes unused parameters with underscore (e.g., `id` → `_id`)
|
|
48
|
+
- Fixes unused state setters and destructured variables
|
|
49
|
+
- **Usage**: `yarn fix:unused`
|
|
50
|
+
- **Output**: Lists all fixed files and provides next steps
|
|
51
|
+
|
|
52
|
+
### `yarn fix:unused:all`
|
|
53
|
+
- **Purpose**: Fix unused variable errors in all TypeScript/TSX files
|
|
54
|
+
- **What it does**: Same as `fix:unused` but scans all files, not just storybooks
|
|
55
|
+
- **Usage**: `yarn fix:unused:all`
|
|
56
|
+
- **Output**: Lists all fixed files and provides next steps
|
|
57
|
+
|
|
58
|
+
### `yarn fix:css`
|
|
59
|
+
- **Purpose**: Fix CSS custom properties type errors
|
|
60
|
+
- **What it does**:
|
|
61
|
+
- Scans TypeScript/TSX files for CSS custom properties in style objects
|
|
62
|
+
- Adds type assertions (`as any`) to CSS custom properties like `'--background-color'`
|
|
63
|
+
- Handles various patterns including template literals and spread operators
|
|
64
|
+
- **Usage**: `yarn fix:css`
|
|
65
|
+
- **Output**: Lists all files that were fixed
|
|
66
|
+
|
|
67
|
+
### `yarn fix:css:all`
|
|
68
|
+
- **Purpose**: Fix CSS custom properties type errors in all files
|
|
69
|
+
- **What it does**: Same as `fix:css` but with more comprehensive pattern matching
|
|
70
|
+
- **Usage**: `yarn fix:css:all`
|
|
71
|
+
- **Output**: Lists all files that were fixed
|
|
72
|
+
|
|
73
|
+
### `yarn fix:css:bracket`
|
|
74
|
+
- **Purpose**: Fix CSS custom properties using bracket notation
|
|
75
|
+
- **What it does**: Converts `'--property'` to `['--property']` to avoid TypeScript property name issues
|
|
76
|
+
- **Usage**: `yarn fix:css:bracket`
|
|
77
|
+
- **Output**: Lists all fixed files and provides next steps
|
|
78
|
+
|
|
79
|
+
### `yarn fix:css:final`
|
|
80
|
+
- **Purpose**: Final fix for CSS custom properties using bracket notation
|
|
81
|
+
- **What it does**: Removes 'as any' assertions and uses bracket notation for CSS custom properties
|
|
82
|
+
- **Usage**: `yarn fix:css:final`
|
|
83
|
+
- **Output**: Lists all fixed files and provides next steps
|
|
84
|
+
|
|
85
|
+
### `yarn fix:css:corrupted`
|
|
86
|
+
- **Purpose**: Fix corrupted CSS custom properties with multiple 'as any' assertions
|
|
87
|
+
- **What it does**: Removes duplicate 'as any' assertions and keeps only one
|
|
88
|
+
- **Usage**: `yarn fix:css:corrupted`
|
|
89
|
+
- **Output**: Lists all fixed files and provides next steps
|
|
90
|
+
|
|
91
|
+
### `yarn fix:all`
|
|
92
|
+
- **Purpose**: Run all automatic fixes in sequence
|
|
93
|
+
- **What it does**:
|
|
94
|
+
1. Fixes ForwardRef type mismatches
|
|
95
|
+
2. Fixes unused variable errors
|
|
96
|
+
3. Fixes CSS custom properties type errors (using bracket notation)
|
|
97
|
+
4. Runs type checking to show remaining errors
|
|
98
|
+
- **Usage**: `yarn fix:all`
|
|
99
|
+
- **Output**: Comprehensive fix report
|
|
100
|
+
|
|
101
|
+
## 🔧 How It Works
|
|
102
|
+
|
|
103
|
+
The fix scripts address the most common ForwardRef type mismatch pattern:
|
|
104
|
+
|
|
105
|
+
**Before (Incorrect):**
|
|
106
|
+
```typescript
|
|
107
|
+
export const Component: Flow.AbstractComponent<ComponentProps, HTMLDivElement> =
|
|
108
|
+
React.forwardRef<ComponentProps, HTMLDivElement>((props, ref) => {
|
|
109
|
+
// component implementation
|
|
110
|
+
});
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**After (Correct):**
|
|
114
|
+
```typescript
|
|
115
|
+
export const Component: Flow.AbstractComponent<ComponentProps, HTMLDivElement> =
|
|
116
|
+
React.forwardRef<HTMLDivElement, ComponentProps>((props, ref) => {
|
|
117
|
+
// component implementation
|
|
118
|
+
});
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## 📊 Error Categories Fixed
|
|
122
|
+
|
|
123
|
+
1. **ForwardRef Type Mismatch** ✅ (FIXED)
|
|
124
|
+
- `Type 'ForwardRefExoticComponent<...>' is not assignable to type 'AbstractComponent<...>'`
|
|
125
|
+
- **Status**: Completely resolved by the fix scripts
|
|
126
|
+
|
|
127
|
+
2. **Ref Assignment Errors** ✅ (FIXED)
|
|
128
|
+
- `Type 'ForwardedRef<ComponentProps>' is not assignable to type 'Ref<HTMLElement>'`
|
|
129
|
+
- **Status**: Completely resolved by the fix scripts
|
|
130
|
+
|
|
131
|
+
## 🎯 Remaining Error Categories
|
|
132
|
+
|
|
133
|
+
After running the ForwardRef fixes, these error categories may still exist:
|
|
134
|
+
|
|
135
|
+
1. **CSS Custom Properties** (~15 errors) ✅ (FIXED)
|
|
136
|
+
- `Object literal may only specify known properties, and '--custom-property' does not exist`
|
|
137
|
+
- **Solution**: Use `yarn fix:css:final` to automatically fix using bracket notation
|
|
138
|
+
|
|
139
|
+
2. **Props Access on ReactNode** (~8 errors)
|
|
140
|
+
- `Property 'props' does not exist on type 'ReactNode'`
|
|
141
|
+
- **Solution**: Add proper type guards for React children
|
|
142
|
+
|
|
143
|
+
3. **Unused Variables** (~10 errors) ✅ (FIXABLE)
|
|
144
|
+
- `'variableName' is declared but its value is never read`
|
|
145
|
+
- **Solution**: Use `yarn fix:unused` to automatically prefix unused variables with underscore
|
|
146
|
+
|
|
147
|
+
4. **Type Assertion/Index Signature** (~8 errors)
|
|
148
|
+
- `Element implicitly has an 'any' type because expression of type 'string' can't be used to index type`
|
|
149
|
+
- **Solution**: Add proper type definitions for object lookups
|
|
150
|
+
|
|
151
|
+
5. **Function Signature Mismatches** (~6 errors)
|
|
152
|
+
- `Type 'function' is not assignable to type 'expectedFunction'`
|
|
153
|
+
- **Solution**: Fix onClick handler signatures
|
|
154
|
+
|
|
155
|
+
## 🛠️ Manual Fixes Required
|
|
156
|
+
|
|
157
|
+
For the remaining errors, manual intervention is needed:
|
|
158
|
+
|
|
159
|
+
### CSS Custom Properties
|
|
160
|
+
Add to your TypeScript declarations:
|
|
161
|
+
```typescript
|
|
162
|
+
declare module 'react' {
|
|
163
|
+
interface CSSProperties {
|
|
164
|
+
[key: `--${string}`]: string | number;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### Props Access on ReactNode
|
|
170
|
+
Add type guards:
|
|
171
|
+
```typescript
|
|
172
|
+
if (React.isValidElement(child)) {
|
|
173
|
+
const childId = child.props.id;
|
|
174
|
+
}
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Index Signatures
|
|
178
|
+
Add proper type definitions:
|
|
179
|
+
```typescript
|
|
180
|
+
const SPACES: { [key: string]: string } = {
|
|
181
|
+
// your space definitions
|
|
182
|
+
};
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
## 📈 Impact
|
|
186
|
+
|
|
187
|
+
**Before Fix:**
|
|
188
|
+
- ~40+ ForwardRef type mismatch errors
|
|
189
|
+
- ~30+ Ref assignment errors
|
|
190
|
+
- Total: ~70+ core component architecture errors
|
|
191
|
+
|
|
192
|
+
**After Fix:**
|
|
193
|
+
- ~0 ForwardRef type mismatch errors ✅
|
|
194
|
+
- ~0 Ref assignment errors ✅
|
|
195
|
+
- Remaining errors are mostly configuration and code quality issues
|
|
196
|
+
|
|
197
|
+
## 🔄 Workflow
|
|
198
|
+
|
|
199
|
+
### Quick Fix (Recommended)
|
|
200
|
+
1. **Run all fixes**: `yarn fix:all`
|
|
201
|
+
2. **Review results**: Check the output for any remaining errors
|
|
202
|
+
3. **Address remaining errors**: Manual fixes for CSS properties, type guards, etc.
|
|
203
|
+
4. **Test components**: Ensure functionality is preserved
|
|
204
|
+
|
|
205
|
+
### Step-by-Step Fix
|
|
206
|
+
1. **Fix ForwardRef issues**: `yarn fix:forwardref`
|
|
207
|
+
2. **Fix unused variables**: `yarn fix:unused`
|
|
208
|
+
3. **Check results**: `yarn fix:forwardref:check`
|
|
209
|
+
4. **Address remaining errors**: Manual fixes for CSS properties, type guards, etc.
|
|
210
|
+
5. **Test components**: Ensure functionality is preserved
|
|
211
|
+
|
|
212
|
+
## 🚨 Important Notes
|
|
213
|
+
|
|
214
|
+
- The scripts are **safe** and only modify ForwardRef type parameters
|
|
215
|
+
- Always run `yarn fix:forwardref:check` after fixes to verify
|
|
216
|
+
- Test components after fixes to ensure functionality is preserved
|
|
217
|
+
- The scripts are **idempotent** - running them multiple times is safe
|
|
218
|
+
|
|
219
|
+
## 📝 Troubleshooting
|
|
220
|
+
|
|
221
|
+
### Script not found
|
|
222
|
+
Make sure you're in the project root directory and the scripts exist in `scripts/`.
|
|
223
|
+
|
|
224
|
+
### Permission denied
|
|
225
|
+
Make the scripts executable:
|
|
226
|
+
```bash
|
|
227
|
+
chmod +x scripts/fix-all-forwardref.js
|
|
228
|
+
chmod +x scripts/fix-forwardref-simple.js
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### No files found
|
|
232
|
+
The script uses `find` command. On Windows, you may need to use Git Bash or WSL.
|
|
233
|
+
|
|
234
|
+
## 🤝 Contributing
|
|
235
|
+
|
|
236
|
+
If you find new ForwardRef patterns that aren't caught by the scripts, please:
|
|
237
|
+
|
|
238
|
+
1. Add the pattern to the regex in the scripts
|
|
239
|
+
2. Test with a few files first
|
|
240
|
+
3. Update this documentation
|
|
241
|
+
4. Submit a pull request
|
package/gulpfile.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
const gulp = require('gulp');
|
|
2
2
|
const babel = require('gulp-babel');
|
|
3
|
-
const rename = require('gulp-rename');
|
|
4
3
|
const replace = require('gulp-replace');
|
|
5
|
-
const {spawnSync} = require('child_process');
|
|
6
4
|
const path = require('path');
|
|
7
5
|
|
|
8
6
|
const babelRc = require('./babel.config');
|
|
@@ -17,7 +15,7 @@ const doNotBuildThese = [
|
|
|
17
15
|
];
|
|
18
16
|
|
|
19
17
|
function getJsStream() {
|
|
20
|
-
return gulp.src('src/**/*.{
|
|
18
|
+
return gulp.src('src/**/*.{ts,tsx}', {
|
|
21
19
|
ignore: doNotBuildThese,
|
|
22
20
|
});
|
|
23
21
|
}
|
|
@@ -25,18 +23,7 @@ function getJsStream() {
|
|
|
25
23
|
function buildCjs() {
|
|
26
24
|
return getJsStream()
|
|
27
25
|
.pipe(babel(babelRc))
|
|
28
|
-
.pipe(replace('.
|
|
29
|
-
.pipe(gulp.dest('lib'));
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
function copyFlow() {
|
|
33
|
-
return getJsStream()
|
|
34
|
-
.pipe(replace('.jsx', '.js'))
|
|
35
|
-
.pipe(
|
|
36
|
-
rename((path) => {
|
|
37
|
-
path.extname = path.extname.replace('jsx', 'js') + '.flow';
|
|
38
|
-
}),
|
|
39
|
-
)
|
|
26
|
+
.pipe(replace('.tsx', '.js'))
|
|
40
27
|
.pipe(gulp.dest('lib'));
|
|
41
28
|
}
|
|
42
29
|
|
|
@@ -48,24 +35,8 @@ function copyOther() {
|
|
|
48
35
|
.pipe(gulp.dest('lib'));
|
|
49
36
|
}
|
|
50
37
|
|
|
51
|
-
|
|
52
|
-
const result = spawnSync('yarn', ['generate'], {
|
|
53
|
-
stdio: 'inherit',
|
|
54
|
-
cwd: path.resolve(__dirname, 'dts-generator'),
|
|
55
|
-
shell: true,
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
if (result.status !== 0) {
|
|
59
|
-
return done(new Error('Failed to generate .d.ts files'));
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
done();
|
|
63
|
-
}
|
|
38
|
+
const coreBuild = gulp.parallel(buildCjs, copyOther);
|
|
64
39
|
|
|
65
|
-
const coreBuild = gulp.parallel(buildCjs, copyFlow, copyOther);
|
|
66
40
|
|
|
67
|
-
// Note(Nishant): To unblock flow to ts migration
|
|
68
|
-
// const fullBuild = gulp.series(coreBuild, generateDts);
|
|
69
41
|
|
|
70
42
|
module.exports.build = coreBuild;
|
|
71
|
-
// module.exports.build = fullBuild;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
tags: string[];
|
|
4
|
+
title: string;
|
|
5
|
+
parameters: {
|
|
6
|
+
docs: {
|
|
7
|
+
subtitle: string;
|
|
8
|
+
description: {
|
|
9
|
+
component: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
storySource: {
|
|
13
|
+
componentPath: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
export declare const _AIPromptFlow: () => React.JSX.Element;
|
|
19
|
+
//# sourceMappingURL=AIPromptFlow.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AIPromptFlow.stories.d.ts","sourceRoot":"","sources":["../../../src/components/AIPromptFlow/AIPromptFlow.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;AAe/B,wBAgBE;AA4JF,eAAO,MAAM,aAAa,yBAgPzB,CAAC"}
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports._AIPromptFlow = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _ChatBubble = require("../ChatBubble");
|
|
9
|
+
var _ChatBubble2 = require("../ChatBubble/ChatBubble.stories");
|
|
10
|
+
var _Disclaimer = require("../Disclaimer");
|
|
11
|
+
var _Panel = require("../Panel");
|
|
12
|
+
var _PromptChip = require("../PromptChip");
|
|
13
|
+
var _PromptInput = require("../PromptInput");
|
|
14
|
+
var _Text = require("../Text");
|
|
15
|
+
var _Text2 = require("../Text/Text");
|
|
16
|
+
var _TextTile = require("../TextTile");
|
|
17
|
+
var _AIPromptFlowStoriesModule = _interopRequireDefault(require("./AIPromptFlow.stories.module.css"));
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
19
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
20
|
+
/* eslint-disable react/no-array-index-key */
|
|
21
|
+
var _default = exports.default = {
|
|
22
|
+
tags: ['!autodocs'],
|
|
23
|
+
title: 'AI Prompt Components/AI Prompt Flow',
|
|
24
|
+
parameters: {
|
|
25
|
+
docs: {
|
|
26
|
+
subtitle: 'AI Prompt Flow example',
|
|
27
|
+
description: {
|
|
28
|
+
component: `
|
|
29
|
+
This example showcases how to use the ai copilot flows in ui. feel free to copy code and respective css to mimic the exact UI
|
|
30
|
+
`
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
storySource: {
|
|
34
|
+
componentPath: '/src/components/Disclaimer/Disclaimer.jsx'
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
const staticResponse = `In today's data-driven world, analytics play a crucial role in decision-making and strategy development. Companies rely on key performance indicators (KPIs) to measure progress and identify areas for improvement. Metrics like conversion rates, churn rates, and user engagement provide valuable insights into business performance. Accurate data collection and analysis empower teams to make informed choices, optimize processes, and allocate resources effectively.
|
|
39
|
+
|
|
40
|
+
For instance, monitoring website traffic helps identify the most visited pages and the sources driving users to the site. A high bounce rate might indicate a need to improve user experience, while a steady increase in session duration reflects growing engagement. Similarly, tracking customer acquisition cost (CAC) against lifetime value (LTV) ensures sustainable growth and profitability.
|
|
41
|
+
|
|
42
|
+
Sales teams use analytics to measure pipeline velocity, close rates, and average deal size. These metrics enable managers to forecast revenue, adjust strategies, and improve overall efficiency. In marketing, tools like funnel analysis highlight where potential leads drop off, helping refine campaigns and improve return on investment (ROI).
|
|
43
|
+
|
|
44
|
+
Employee performance metrics are equally important. Organizations track productivity, satisfaction scores, and retention rates to foster a positive work environment. For instance, a drop in employee engagement often signals underlying issues, such as workload imbalance or lack of recognition.
|
|
45
|
+
|
|
46
|
+
In customer success, analytics focus on net promoter scores (NPS), response times, and resolution rates. High NPS scores indicate satisfied customers likely to promote the brand, while tracking ticket resolution times ensures efficient support processes. By analyzing these trends, businesses can address pain points and improve client relationships.
|
|
47
|
+
|
|
48
|
+
Financial analytics are another critical area. Companies monitor profit margins, operational costs, and revenue growth to ensure financial stability. Metrics such as EBITDA and cash flow provide a clear picture of a company’s health, enabling leadership to plan for future investments or expansions.
|
|
49
|
+
|
|
50
|
+
Data visualization tools make these analytics easier to understand. Dashboards present complex information in simple charts and graphs, allowing teams to identify patterns and anomalies at a glance. Heatmaps, for example, can show user activity on a website, revealing areas that need more attention.
|
|
51
|
+
|
|
52
|
+
A/B testing further enhances decision-making by allowing teams to experiment with different strategies and compare results. Whether testing headlines, product features, or email campaigns, data-driven results provide clarity and eliminate guesswork.
|
|
53
|
+
|
|
54
|
+
Real-time analytics help organizations stay agile and responsive. By monitoring live data, companies can react to sudden changes, such as traffic spikes or unexpected downtime. Alerts and notifications ensure that teams are aware of critical issues and can act promptly.
|
|
55
|
+
|
|
56
|
+
The value of analytics lies not only in the data itself but also in how it’s interpreted and applied. Insights derived from metrics allow businesses to streamline operations, enhance customer satisfaction, and drive growth. With the right tools and a data-driven mindset, organizations can turn raw data into actionable strategies and measurable outcomes.
|
|
57
|
+
|
|
58
|
+
In essence, analytics provide the foundation for smarter decisions, improved performance, and long-term success. Whether it’s understanding user behavior, optimizing workflows, or predicting market trends, leveraging analytics is key to staying competitive in an ever-changing landscape.`;
|
|
59
|
+
const PROMPTS = ['What is the offer acceptance rate?', 'Which source produces the best hires?', 'What is the average time to hire?', 'How many candidates are in the pipeline?', 'What is the average cost per hire?', 'Which department has the highest turnover rate?', 'What percentage of hires are from referrals?', 'How long does it take to fill a position?', 'What is the attrition rate for the past year?', 'Which jobs have the highest application drop-off rate?', 'What is the conversion rate from interview to hire?', 'How many candidates are rejected at each stage?', 'What is the average interview-to-offer ratio?', 'Which recruiters have the best performance metrics?', 'What percentage of candidates reject offers?', 'How satisfied are candidates with the hiring process?', 'What is the diversity ratio in the current workforce?', 'How many hires come from internal promotions?', 'What are the reasons for candidate drop-off?', 'How effective is the onboarding process?', 'What is the current employee engagement score?', 'How many candidates applied last quarter?', 'What percentage of job offers are pending?', 'How many interviews are conducted per position?', 'What is the overall hiring success rate?', 'What percentage of applicants are qualified?', 'How many candidates are awaiting feedback?', 'What is the average time to first interview?', 'Which job roles take the longest to fill?', 'What is the ratio of applicants to hires?', 'Which job boards drive the most applications?', 'What is the average time spent interviewing candidates?', 'How many passive candidates were contacted last month?', 'What percentage of hires are new graduates?', 'Which hiring stages have the highest drop-off?', 'How many candidates withdrew their applications?', 'What percentage of employees passed probation?', 'Which regions have the most successful hires?', 'What is the average number of interview rounds?', 'How many requisitions are still open?', 'Which departments have the lowest attrition?', 'What percentage of candidates complete assessments?', 'What is the satisfaction rate of new hires?', 'How many hires are expected this quarter?', 'What is the median salary for new hires?', 'How many requisitions were filled last month?', 'Which hiring sources are the most cost-effective?', 'How diverse are the recent hires?', 'How many employees left during onboarding?', 'What is the percentage of part-time hires?', 'How many job offers were rescinded?', 'What is the average candidate feedback score?', 'Which teams have the fastest hiring process?', 'What percentage of hires are internal candidates?', 'How many candidates are in the talent pool?', 'What is the average age of new hires?', 'How effective are employee referral programs?', 'What percentage of hires are remote employees?', 'How many candidates are considered overqualified?', 'Which recruiters have the fastest response time?', 'What is the average duration between offer and joining?', 'How satisfied are hiring managers with candidates?', 'Which skills are most common among recent hires?', 'How many candidates failed the technical assessment?', 'What is the drop-off rate during technical rounds?', 'What percentage of hires are contract workers?', 'How many job offers were declined last quarter?', 'What percentage of hires meet performance benchmarks?', 'How many positions remain unfilled after 90 days?', 'What is the hiring trend over the last six months?', 'What percentage of hires come from social media?', 'How effective is the candidate feedback loop?', 'What is the employee referral success rate?', 'How many active job seekers applied this month?', 'What percentage of candidates ask for offer extensions?', 'What is the typical rejection reason from candidates?', 'Which hiring stage causes the most delays?', 'What percentage of new hires recommend the process?', 'How many rehires were made this year?', 'What is the cost of a bad hire?', 'How many positions were closed due to budget cuts?', 'What percentage of hires exceed expectations?', 'How long do candidates stay on average?', 'What is the feedback score for interviewers?', 'Which stages have the most rescheduled interviews?', 'How many candidates received counteroffers?', 'What is the candidate response time for offers?', 'What percentage of candidates report a good experience?', 'How does the hiring rate compare year over year?', 'Which regions have the slowest time to hire?', 'How effective are pre-screening assessments?', 'How often do candidates ghost interviews?', 'What is the most requested role this year?', 'What percentage of new hires are retained after a year?', 'How many rejected candidates reapply later?', 'How many candidates fail during background checks?', 'What percentage of hires are diversity candidates?', 'How successful are hiring campaigns in different regions?', 'What is the satisfaction rate among rejected candidates?', 'How many roles are open for more than 6 months?', 'What percentage of hires move into leadership roles?'];
|
|
60
|
+
const getRandomPrompts = prompts => {
|
|
61
|
+
const count = Math.floor(Math.random() * 3) + 1;
|
|
62
|
+
const shuffled = prompts.sort(() => 0.5 - Math.random());
|
|
63
|
+
return shuffled.slice(0, count);
|
|
64
|
+
};
|
|
65
|
+
const getRandomSentences = function (text) {
|
|
66
|
+
let wordLimit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 50;
|
|
67
|
+
const sentences = text.match(/[^.!?]+[.!?]/g) || [];
|
|
68
|
+
const result = [];
|
|
69
|
+
let totalWords = 0;
|
|
70
|
+
const shuffledSentences = sentences.sort(() => Math.random() - 0.5);
|
|
71
|
+
for (const sentence of shuffledSentences) {
|
|
72
|
+
const wordCount = sentence.trim().split(/\s+/).length;
|
|
73
|
+
if (totalWords + wordCount <= wordLimit || result.length === 0) {
|
|
74
|
+
result.push(sentence.trim());
|
|
75
|
+
totalWords += wordCount;
|
|
76
|
+
} else {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
return result.join(' ');
|
|
81
|
+
};
|
|
82
|
+
const _AIPromptFlow = () => {
|
|
83
|
+
const [value, setValue] = React.useState('');
|
|
84
|
+
const [isLoading, setIsLoading] = React.useState(false);
|
|
85
|
+
const [responses, setResponses] = React.useState([]);
|
|
86
|
+
const [selectedPrompts, setSelectedPrompts] = React.useState(getRandomPrompts(PROMPTS));
|
|
87
|
+
const promptRef = React.useRef(null);
|
|
88
|
+
const loadingRef = React.useRef(null);
|
|
89
|
+
const generateResponse = text => {
|
|
90
|
+
const preparedResponses = [...responses];
|
|
91
|
+
setIsLoading(true);
|
|
92
|
+
setTimeout(() => {
|
|
93
|
+
// @ts-ignore - TS2339 - Property 'scrollIntoView' does not exist on type 'never'.
|
|
94
|
+
loadingRef.current?.scrollIntoView({
|
|
95
|
+
behavior: 'smooth'
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
setValue('');
|
|
99
|
+
const question = text ? text : value;
|
|
100
|
+
|
|
101
|
+
// @ts-ignore - TS2322 - Type 'string' is not assignable to type 'never'.
|
|
102
|
+
preparedResponses.push({
|
|
103
|
+
question,
|
|
104
|
+
answer: ''
|
|
105
|
+
});
|
|
106
|
+
setResponses(preparedResponses);
|
|
107
|
+
setTimeout(() => {
|
|
108
|
+
// @ts-ignore - TS2322 - Type 'string' is not assignable to type 'never'.
|
|
109
|
+
preparedResponses.push({
|
|
110
|
+
question: '',
|
|
111
|
+
answer: getRandomSentences(staticResponse)
|
|
112
|
+
});
|
|
113
|
+
setResponses(preparedResponses);
|
|
114
|
+
setIsLoading(false);
|
|
115
|
+
setSelectedPrompts(getRandomPrompts(PROMPTS));
|
|
116
|
+
// @ts-ignore - TS2339 - Property 'scrollIntoView' does not exist on type 'never'.
|
|
117
|
+
promptRef.current?.scrollIntoView({
|
|
118
|
+
behavior: 'smooth'
|
|
119
|
+
});
|
|
120
|
+
}, 2000);
|
|
121
|
+
};
|
|
122
|
+
return /*#__PURE__*/React.createElement(_Panel.Panel, {
|
|
123
|
+
isOpen: true,
|
|
124
|
+
anchor: "right",
|
|
125
|
+
size: "large"
|
|
126
|
+
}, /*#__PURE__*/React.createElement(_Panel.PanelHeader, null, "Copilot"), /*#__PURE__*/React.createElement(_Disclaimer.Disclaimer, {
|
|
127
|
+
classNames: {
|
|
128
|
+
wrapper: _AIPromptFlowStoriesModule.default.disclaimer
|
|
129
|
+
}
|
|
130
|
+
}, "Always check content generated by AI"), /*#__PURE__*/React.createElement(_Panel.PanelBody, {
|
|
131
|
+
className: _AIPromptFlowStoriesModule.default.panelBody
|
|
132
|
+
}, responses.length === 0 && !isLoading && /*#__PURE__*/React.createElement(_TextTile.TextTile, {
|
|
133
|
+
header: "Copilot",
|
|
134
|
+
description: "Ask anything to accomplish tasks in Sense.",
|
|
135
|
+
classNames: {
|
|
136
|
+
wrapper: _AIPromptFlowStoriesModule.default.copilotTextWrapper
|
|
137
|
+
}
|
|
138
|
+
}), responses.map((response, idx) => /*#__PURE__*/React.createElement("div", {
|
|
139
|
+
key: idx,
|
|
140
|
+
className: _AIPromptFlowStoriesModule.default.conversationAI
|
|
141
|
+
}, !!response.question && /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
|
|
142
|
+
orientation: "left"
|
|
143
|
+
}, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, {
|
|
144
|
+
avatarProps: {
|
|
145
|
+
text: 'Adam Craig Gilchrist'
|
|
146
|
+
},
|
|
147
|
+
isAI: false
|
|
148
|
+
}), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, {
|
|
149
|
+
withBgColor: false
|
|
150
|
+
}, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, response.question)))), !!response.answer && /*#__PURE__*/React.createElement(React.Fragment, null, idx === 1 && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
|
|
151
|
+
orientation: "left"
|
|
152
|
+
}, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, null), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, null, /*#__PURE__*/React.createElement(_Text2.SubTitleSmall, null, "This is our interpretation of you question"), /*#__PURE__*/React.createElement(_Text.BodyMedium, null, getRandomSentences(staticResponse))))), /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
|
|
153
|
+
orientation: "left",
|
|
154
|
+
classNames: {
|
|
155
|
+
wrapper: _AIPromptFlowStoriesModule.default.leftMarginSpace
|
|
156
|
+
}
|
|
157
|
+
}, /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, null, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, response.answer)), /*#__PURE__*/React.createElement(_ChatBubble2.ChatFooterWithIcons, null)))), idx === 3 && /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
|
|
158
|
+
orientation: "left"
|
|
159
|
+
}, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, null), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, {
|
|
160
|
+
classNames: {
|
|
161
|
+
wrapper: _AIPromptFlowStoriesModule.default.longChatContent
|
|
162
|
+
}
|
|
163
|
+
}, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, "In a world where technology and imagination intertwine, the possibilities for innovation are boundless. Every passing day introduces new advancements that reshape the way humanity interacts with the world, creating a seamless blend of convenience, creativity, and connectivity. As artificial intelligence continues to grow in influence, its impact on everyday life becomes more profound, touching areas that range from healthcare to entertainment, from education to environmental conservation. Take, for instance, the story of a small town nestled in the valley of rolling hills. For decades, this town had thrived on traditional farming practices, cultivating crops and raising livestock in harmony with nature. However, the advent of technology introduced challenges that demanded adaptation. Climate change brought unpredictable weather patterns, and global markets introduced competitive pressures that many small farms struggled to meet. Faced with these challenges, the community turned to innovation. The town\u2019s leaders, in collaboration with researchers and technologists, implemented a system of smart farming powered by AI. Sensors embedded in the soil measured moisture levels, nutrient content, and temperature, providing real-time feedback to farmers. Drones equipped with cameras flew over fields, capturing images that AI analyzed to detect signs of pests or disease. Autonomous tractors, guided by satellite data, plowed and planted with precision, minimizing waste and maximizing yield. Over time, these tools not only revived the town\u2019s agricultural economy but also established it as a model for sustainable farming practices worldwide. Beyond agriculture, artificial intelligence also revolutionized healthcare. A few years ago, a young woman named Clara faced an uncertain future. Diagnosed with a rare and aggressive form of cancer, she was told her chances of survival were slim. However, Clara\u2019s doctors employed a cutting-edge AI system to analyze her genetic profile and recommend a personalized treatment plan. This system, trained on data from millions of patients worldwide, identified patterns that human doctors might have missed, suggesting a combination of therapies tailored specifically to Clara\u2019s condition.")), /*#__PURE__*/React.createElement(_ChatBubble2.ChatFooterWithIcons, null))), idx !== 1 && idx !== 3 && /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
|
|
164
|
+
orientation: "left"
|
|
165
|
+
}, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, null), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, null, /*#__PURE__*/React.createElement(_Text.BodyMedium, null, response.answer)))), /*#__PURE__*/React.createElement("div", {
|
|
166
|
+
className: _AIPromptFlowStoriesModule.default.leftMarginSpace
|
|
167
|
+
}, idx === responses.length - 1 &&
|
|
168
|
+
/*#__PURE__*/
|
|
169
|
+
// @ts-ignore - TS2786 - 'PromptSuggestions' cannot be used as a JSX component.
|
|
170
|
+
React.createElement(PromptSuggestions, {
|
|
171
|
+
isLoading: isLoading,
|
|
172
|
+
selectedPrompts: selectedPrompts,
|
|
173
|
+
generateResponse: generateResponse,
|
|
174
|
+
promptRef: promptRef
|
|
175
|
+
}))))), isLoading && /*#__PURE__*/React.createElement(_ChatBubble.ChatBubble, {
|
|
176
|
+
classNames: {
|
|
177
|
+
wrapper: _AIPromptFlowStoriesModule.default.loader
|
|
178
|
+
},
|
|
179
|
+
orientation: "left",
|
|
180
|
+
ref: loadingRef
|
|
181
|
+
}, /*#__PURE__*/React.createElement(_ChatBubble.ChatAnchor, null), /*#__PURE__*/React.createElement(_ChatBubble.ChatContent, null, /*#__PURE__*/React.createElement(_ChatBubble.ChatBody, {
|
|
182
|
+
isLoading: true,
|
|
183
|
+
loadingText: "Generating"
|
|
184
|
+
}))), responses.length === 0 && /*#__PURE__*/React.createElement("div", {
|
|
185
|
+
className: _AIPromptFlowStoriesModule.default.promptContainer
|
|
186
|
+
}, /*#__PURE__*/React.createElement(PromptSuggestions, {
|
|
187
|
+
isLoading: isLoading,
|
|
188
|
+
selectedPrompts: selectedPrompts,
|
|
189
|
+
generateResponse: generateResponse,
|
|
190
|
+
label: "Here are some ideas to get started with Analytics for your product"
|
|
191
|
+
}))), /*#__PURE__*/React.createElement(_Panel.PanelFooter, {
|
|
192
|
+
classNames: {
|
|
193
|
+
actions: _AIPromptFlowStoriesModule.default.actions
|
|
194
|
+
}
|
|
195
|
+
}, /*#__PURE__*/React.createElement(_PromptInput.PromptInput, {
|
|
196
|
+
withPadding: false,
|
|
197
|
+
value: value,
|
|
198
|
+
onInputChange: e => setValue(e.target.value),
|
|
199
|
+
onButtonClick: () => generateResponse(),
|
|
200
|
+
buttonDisabled: value.length === 0
|
|
201
|
+
})));
|
|
202
|
+
};
|
|
203
|
+
exports._AIPromptFlow = _AIPromptFlow;
|
|
204
|
+
const PromptSuggestions = _ref => {
|
|
205
|
+
let {
|
|
206
|
+
isLoading,
|
|
207
|
+
generateResponse,
|
|
208
|
+
selectedPrompts,
|
|
209
|
+
label,
|
|
210
|
+
promptRef
|
|
211
|
+
} = _ref;
|
|
212
|
+
return !isLoading && /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(_Text.FormLabelMedium, null, label), /*#__PURE__*/React.createElement("div", {
|
|
213
|
+
className: _AIPromptFlowStoriesModule.default.promptWrapper
|
|
214
|
+
}, selectedPrompts.map(prompt => /*#__PURE__*/React.createElement(React.Fragment, {
|
|
215
|
+
key: prompt
|
|
216
|
+
}, /*#__PURE__*/React.createElement(_PromptChip.PromptChip, {
|
|
217
|
+
classNames: {
|
|
218
|
+
wrapper: _AIPromptFlowStoriesModule.default.prompt
|
|
219
|
+
},
|
|
220
|
+
onClick: () => generateResponse(prompt)
|
|
221
|
+
// @ts-ignore - TS2769 - No overload matches this call.
|
|
222
|
+
,
|
|
223
|
+
ref: promptRef
|
|
224
|
+
}, prompt)))));
|
|
225
|
+
};
|