sdaia-ui 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +89 -0
- package/dist/PlayVideoIcon-BM-4pwUd.d.cts +7 -0
- package/dist/PlayVideoIcon-BM-4pwUd.d.ts +7 -0
- package/dist/dga-icons.cjs +14 -0
- package/dist/dga-icons.cjs.map +1 -0
- package/dist/dga-icons.d.cts +1 -0
- package/dist/dga-icons.d.ts +1 -0
- package/dist/dga-icons.js +3 -0
- package/dist/dga-icons.js.map +1 -0
- package/dist/icons.cjs +4014 -0
- package/dist/icons.cjs.map +1 -0
- package/dist/icons.d.cts +756 -0
- package/dist/icons.d.ts +756 -0
- package/dist/icons.js +3871 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.cjs +43620 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +9407 -0
- package/dist/index.d.ts +9407 -0
- package/dist/index.js +43411 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +242 -0
- package/package.json +65 -0
- package/src/components/Accordion/Accordion.tsx +207 -0
- package/src/components/Accordion/Accordion.types.ts +36 -0
- package/src/components/Accordion/Accordion.variants.ts +283 -0
- package/src/components/Accordion/index.ts +9 -0
- package/src/components/ActionBar/ActionBar.tsx +192 -0
- package/src/components/ActionBar/ActionBar.types.ts +67 -0
- package/src/components/ActionBar/ActionBar.variants.ts +95 -0
- package/src/components/ActionBar/index.ts +8 -0
- package/src/components/Activity/Activity.tsx +52 -0
- package/src/components/Activity/Activity.types.ts +19 -0
- package/src/components/Activity/Activity.variants.ts +15 -0
- package/src/components/Activity/index.ts +2 -0
- package/src/components/ActivityItem/ActivityItem.tsx +298 -0
- package/src/components/ActivityItem/ActivityItem.types.ts +76 -0
- package/src/components/ActivityItem/ActivityItem.variants.ts +117 -0
- package/src/components/ActivityItem/index.ts +8 -0
- package/src/components/Alert/Alert.tsx +183 -0
- package/src/components/Alert/Alert.types.ts +34 -0
- package/src/components/Alert/Alert.variants.ts +168 -0
- package/src/components/Alert/index.ts +2 -0
- package/src/components/AreaChart/AreaChart.tsx +454 -0
- package/src/components/AreaChart/AreaChart.types.ts +117 -0
- package/src/components/AreaChart/AreaChart.variants.ts +202 -0
- package/src/components/AreaChart/index.ts +2 -0
- package/src/components/AspectRatio/AspectRatio.tsx +36 -0
- package/src/components/AspectRatio/AspectRatio.types.ts +33 -0
- package/src/components/AspectRatio/AspectRatio.variants.ts +42 -0
- package/src/components/AspectRatio/index.ts +2 -0
- package/src/components/AudioPlayer/AudioPlayer.tsx +294 -0
- package/src/components/AudioPlayer/AudioPlayer.types.ts +64 -0
- package/src/components/AudioPlayer/AudioPlayer.variants.ts +225 -0
- package/src/components/AudioPlayer/index.ts +2 -0
- package/src/components/Autocomplete/Autocomplete.tsx +353 -0
- package/src/components/Autocomplete/Autocomplete.types.ts +93 -0
- package/src/components/Autocomplete/Autocomplete.variants.ts +149 -0
- package/src/components/Autocomplete/index.ts +6 -0
- package/src/components/Avatar/Avatar.tsx +168 -0
- package/src/components/Avatar/Avatar.types.ts +36 -0
- package/src/components/Avatar/Avatar.variants.ts +102 -0
- package/src/components/Avatar/index.ts +7 -0
- package/src/components/AvatarGroup/AvatarGroup.tsx +87 -0
- package/src/components/AvatarGroup/AvatarGroup.types.ts +44 -0
- package/src/components/AvatarGroup/AvatarGroup.variants.ts +17 -0
- package/src/components/AvatarGroup/index.ts +6 -0
- package/src/components/Badge/Badge.tsx +74 -0
- package/src/components/Badge/Badge.types.ts +31 -0
- package/src/components/Badge/Badge.variants.ts +83 -0
- package/src/components/Badge/index.ts +2 -0
- package/src/components/Bar/Bar.tsx +57 -0
- package/src/components/Bar/Bar.types.ts +18 -0
- package/src/components/Bar/Bar.variants.ts +20 -0
- package/src/components/Bar/index.ts +2 -0
- package/src/components/BarChart/BarChart.tsx +179 -0
- package/src/components/BarChart/BarChart.types.ts +72 -0
- package/src/components/BarChart/BarChart.variants.ts +134 -0
- package/src/components/BarChart/index.ts +2 -0
- package/src/components/BarGroup/BarGroup.tsx +119 -0
- package/src/components/BarGroup/BarGroup.types.ts +50 -0
- package/src/components/BarGroup/BarGroup.variants.ts +76 -0
- package/src/components/BarGroup/index.ts +2 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +137 -0
- package/src/components/Breadcrumb/Breadcrumb.types.ts +21 -0
- package/src/components/Breadcrumb/BreadcrumbItem.tsx +267 -0
- package/src/components/Breadcrumb/BreadcrumbItem.types.ts +66 -0
- package/src/components/Breadcrumb/BreadcrumbItem.variants.ts +102 -0
- package/src/components/Breadcrumb/index.ts +12 -0
- package/src/components/Button/Button.tsx +100 -0
- package/src/components/Button/Button.types.ts +44 -0
- package/src/components/Button/Button.variants.ts +183 -0
- package/src/components/Button/index.ts +2 -0
- package/src/components/ButtonClose/ButtonClose.tsx +57 -0
- package/src/components/ButtonClose/ButtonClose.types.ts +18 -0
- package/src/components/ButtonClose/ButtonClose.variants.ts +72 -0
- package/src/components/ButtonClose/index.ts +2 -0
- package/src/components/ButtonGroup/ButtonGroup.tsx +127 -0
- package/src/components/ButtonGroup/ButtonGroup.types.ts +51 -0
- package/src/components/ButtonGroup/ButtonGroup.variants.ts +65 -0
- package/src/components/ButtonGroup/index.ts +2 -0
- package/src/components/ButtonMenu/ButtonMenu.tsx +73 -0
- package/src/components/ButtonMenu/ButtonMenu.types.ts +43 -0
- package/src/components/ButtonMenu/ButtonMenu.variants.ts +18 -0
- package/src/components/ButtonMenu/index.ts +2 -0
- package/src/components/ButtonSplit/ButtonSplit.tsx +344 -0
- package/src/components/ButtonSplit/ButtonSplit.types.ts +95 -0
- package/src/components/ButtonSplit/ButtonSplit.variants.ts +165 -0
- package/src/components/ButtonSplit/index.ts +7 -0
- package/src/components/ButtonsWithSdaiaTouch/ButtonHoverPattern.tsx +69 -0
- package/src/components/ButtonsWithSdaiaTouch/ButtonsWithSdaiaTouch.tsx +130 -0
- package/src/components/ButtonsWithSdaiaTouch/ButtonsWithSdaiaTouch.types.ts +4 -0
- package/src/components/ButtonsWithSdaiaTouch/ButtonsWithSdaiaTouch.variants.ts +19 -0
- package/src/components/ButtonsWithSdaiaTouch/index.ts +6 -0
- package/src/components/CLAUDE.md +212 -0
- package/src/components/CalendarHeader/CalendarHeader.tsx +224 -0
- package/src/components/CalendarHeader/CalendarHeader.types.ts +51 -0
- package/src/components/CalendarHeader/CalendarHeader.variants.ts +65 -0
- package/src/components/CalendarHeader/index.ts +2 -0
- package/src/components/Card/Card.tsx +76 -0
- package/src/components/Card/Card.types.ts +11 -0
- package/src/components/Card/Card.variants.ts +30 -0
- package/src/components/Card/index.ts +2 -0
- package/src/components/CardContent/CardContent.tsx +178 -0
- package/src/components/CardContent/CardContent.types.ts +70 -0
- package/src/components/CardContent/CardContent.variants.ts +90 -0
- package/src/components/CardContent/index.ts +6 -0
- package/src/components/CardFooter/CardFooter.tsx +196 -0
- package/src/components/CardFooter/CardFooter.types.ts +59 -0
- package/src/components/CardFooter/CardFooter.variants.ts +127 -0
- package/src/components/CardFooter/index.ts +8 -0
- package/src/components/CardHeader/CardHeader.tsx +150 -0
- package/src/components/CardHeader/CardHeader.types.ts +42 -0
- package/src/components/CardHeader/CardHeader.variants.ts +72 -0
- package/src/components/CardHeader/index.ts +5 -0
- package/src/components/CardLeadingItem/CardLeadingItem.tsx +166 -0
- package/src/components/CardLeadingItem/CardLeadingItem.types.ts +75 -0
- package/src/components/CardLeadingItem/CardLeadingItem.variants.ts +66 -0
- package/src/components/CardLeadingItem/index.ts +6 -0
- package/src/components/CardMedia/CardMedia.tsx +324 -0
- package/src/components/CardMedia/CardMedia.types.ts +114 -0
- package/src/components/CardMedia/CardMedia.variants.ts +139 -0
- package/src/components/CardMedia/index.ts +2 -0
- package/src/components/Carousel/Carousel.tsx +182 -0
- package/src/components/Carousel/Carousel.types.ts +38 -0
- package/src/components/Carousel/Carousel.variants.ts +17 -0
- package/src/components/Carousel/index.ts +2 -0
- package/src/components/CarouselArrow/CarouselArrow.tsx +66 -0
- package/src/components/CarouselArrow/CarouselArrow.types.ts +26 -0
- package/src/components/CarouselArrow/CarouselArrow.variants.ts +83 -0
- package/src/components/CarouselArrow/index.ts +7 -0
- package/src/components/CarouselControlsGroup/CarouselControlsGroup.tsx +81 -0
- package/src/components/CarouselControlsGroup/CarouselControlsGroup.types.ts +24 -0
- package/src/components/CarouselControlsGroup/CarouselControlsGroup.variants.ts +60 -0
- package/src/components/CarouselControlsGroup/index.ts +6 -0
- package/src/components/CarouselImage/CarouselImage.tsx +253 -0
- package/src/components/CarouselImage/CarouselImage.types.ts +72 -0
- package/src/components/CarouselImage/CarouselImage.variants.ts +43 -0
- package/src/components/CarouselImage/index.ts +6 -0
- package/src/components/Chart/Chart.tsx +3 -0
- package/src/components/Chart/Chart.types.ts +2 -0
- package/src/components/Chart/Chart.variants.ts +2 -0
- package/src/components/Chart/index.ts +2 -0
- package/src/components/ChartBadge/ChartBadge.tsx +62 -0
- package/src/components/ChartBadge/ChartBadge.types.ts +27 -0
- package/src/components/ChartBadge/ChartBadge.variants.ts +62 -0
- package/src/components/ChartBadge/index.ts +2 -0
- package/src/components/Checkbox/Checkbox.tsx +243 -0
- package/src/components/Checkbox/Checkbox.types.ts +20 -0
- package/src/components/Checkbox/index.ts +2 -0
- package/src/components/CheckboxLabel/CheckboxLabel.tsx +148 -0
- package/src/components/CheckboxLabel/CheckboxLabel.types.ts +55 -0
- package/src/components/CheckboxLabel/CheckboxLabel.variants.ts +35 -0
- package/src/components/CheckboxLabel/index.ts +2 -0
- package/src/components/Chip/Chip.tsx +245 -0
- package/src/components/Chip/Chip.types.ts +83 -0
- package/src/components/Chip/Chip.variants.ts +143 -0
- package/src/components/Chip/index.ts +2 -0
- package/src/components/CircularItem/CircularItem.tsx +133 -0
- package/src/components/CircularItem/CircularItem.types.ts +45 -0
- package/src/components/CircularItem/CircularItem.variants.ts +128 -0
- package/src/components/CircularItem/index.ts +7 -0
- package/src/components/CodeSnippet/CodeSnippet.tsx +421 -0
- package/src/components/CodeSnippet/CodeSnippet.types.ts +99 -0
- package/src/components/CodeSnippet/CodeSnippet.variants.ts +76 -0
- package/src/components/CodeSnippet/index.ts +9 -0
- package/src/components/ColumnChart/ColumnChart.tsx +943 -0
- package/src/components/ColumnChart/ColumnChart.types.ts +98 -0
- package/src/components/ColumnChart/ColumnChart.variants.ts +117 -0
- package/src/components/ColumnChart/index.ts +9 -0
- package/src/components/ComplexComposition/ComplexComposition.tsx +82 -0
- package/src/components/ComplexComposition/ComplexComposition.types.ts +3 -0
- package/src/components/ComplexComposition/ComplexComposition.variants.ts +14 -0
- package/src/components/ComplexComposition/index.ts +2 -0
- package/src/components/ContentSwitcher/ContentSwitcher.tsx +104 -0
- package/src/components/ContentSwitcher/ContentSwitcher.types.ts +28 -0
- package/src/components/ContentSwitcher/ContentSwitcher.variants.ts +70 -0
- package/src/components/ContentSwitcher/index.ts +6 -0
- package/src/components/ContentSwitcherItem/ContentSwitcherItem.tsx +56 -0
- package/src/components/ContentSwitcherItem/ContentSwitcherItem.types.ts +14 -0
- package/src/components/ContentSwitcherItem/ContentSwitcherItem.variants.ts +65 -0
- package/src/components/ContentSwitcherItem/index.ts +6 -0
- package/src/components/ContextMenu/ContextMenu.tsx +101 -0
- package/src/components/ContextMenu/ContextMenu.types.ts +64 -0
- package/src/components/ContextMenu/ContextMenu.variants.ts +36 -0
- package/src/components/ContextMenu/index.ts +7 -0
- package/src/components/ContextMenuDropdown/ContextMenuDropdown.tsx +370 -0
- package/src/components/ContextMenuDropdown/ContextMenuDropdown.types.ts +89 -0
- package/src/components/ContextMenuDropdown/ContextMenuDropdown.variants.ts +88 -0
- package/src/components/ContextMenuDropdown/index.ts +5 -0
- package/src/components/DateCell/DateCell.tsx +181 -0
- package/src/components/DateCell/DateCell.types.ts +53 -0
- package/src/components/DateCell/DateCell.variants.ts +217 -0
- package/src/components/DateCell/index.ts +2 -0
- package/src/components/DatePicker/DatePicker.tsx +923 -0
- package/src/components/DatePicker/DatePicker.types.ts +102 -0
- package/src/components/DatePicker/DatePicker.variants.ts +274 -0
- package/src/components/DatePicker/index.ts +9 -0
- package/src/components/DateTab/DateTab.tsx +91 -0
- package/src/components/DateTab/DateTab.types.ts +9 -0
- package/src/components/DateTab/DateTab.variants.ts +98 -0
- package/src/components/DateTab/index.ts +2 -0
- package/src/components/DgaIcon/DgaIcon.tsx +68 -0
- package/src/components/DgaIcon/DgaIcon.types.ts +57 -0
- package/src/components/DgaIcon/DgaIcon.variants.ts +41 -0
- package/src/components/DgaIcon/DgaIconByName.tsx +76 -0
- package/src/components/DgaIcon/generated/icon-names.ts +4388 -0
- package/src/components/DgaIcon/index.ts +12 -0
- package/src/components/DgaIcon/lib/decodeDataUrl.ts +46 -0
- package/src/components/DigitalStamp/DigitalStamp.tsx +236 -0
- package/src/components/DigitalStamp/DigitalStamp.types.ts +38 -0
- package/src/components/DigitalStamp/DigitalStamp.variants.ts +185 -0
- package/src/components/DigitalStamp/index.ts +2 -0
- package/src/components/Divider/Divider.tsx +83 -0
- package/src/components/Divider/Divider.types.ts +49 -0
- package/src/components/Divider/Divider.variants.ts +55 -0
- package/src/components/Divider/index.ts +8 -0
- package/src/components/DonutChart/DonutChart.tsx +251 -0
- package/src/components/DonutChart/DonutChart.types.ts +97 -0
- package/src/components/DonutChart/DonutChart.variants.ts +203 -0
- package/src/components/DonutChart/index.ts +7 -0
- package/src/components/DonutChartPanel/DonutChartPanel.tsx +778 -0
- package/src/components/DonutChartPanel/DonutChartPanel.types.ts +143 -0
- package/src/components/DonutChartPanel/DonutChartPanel.variants.ts +154 -0
- package/src/components/DonutChartPanel/index.ts +9 -0
- package/src/components/DraggableItem/DraggableItem.tsx +228 -0
- package/src/components/DraggableItem/DraggableItem.types.ts +72 -0
- package/src/components/DraggableItem/DraggableItem.variants.ts +149 -0
- package/src/components/DraggableItem/index.ts +3 -0
- package/src/components/DraggableList/DraggableList.tsx +20 -0
- package/src/components/DraggableList/DraggableList.types.ts +16 -0
- package/src/components/DraggableList/DraggableList.variants.ts +13 -0
- package/src/components/DraggableList/index.ts +3 -0
- package/src/components/Dropdown/Dropdown.tsx +331 -0
- package/src/components/Dropdown/Dropdown.types.ts +108 -0
- package/src/components/Dropdown/Dropdown.variants.ts +73 -0
- package/src/components/Dropdown/index.ts +9 -0
- package/src/components/DropdownListHeader/DropdownListHeader.tsx +79 -0
- package/src/components/DropdownListHeader/DropdownListHeader.types.ts +24 -0
- package/src/components/DropdownListHeader/DropdownListHeader.variants.ts +65 -0
- package/src/components/DropdownListHeader/index.ts +2 -0
- package/src/components/EmptyState/EmptyState.tsx +221 -0
- package/src/components/EmptyState/EmptyState.types.ts +48 -0
- package/src/components/EmptyState/EmptyState.variants.ts +122 -0
- package/src/components/EmptyState/index.ts +3 -0
- package/src/components/Extension/Extension.tsx +240 -0
- package/src/components/Extension/Extension.types.ts +40 -0
- package/src/components/Extension/Extension.variants.ts +27 -0
- package/src/components/Extension/index.ts +6 -0
- package/src/components/Feedback/Feedback.tsx +55 -0
- package/src/components/Feedback/Feedback.types.ts +15 -0
- package/src/components/Feedback/Feedback.variants.ts +9 -0
- package/src/components/Feedback/index.ts +2 -0
- package/src/components/FeedbackOverview/FeedbackOverview.tsx +70 -0
- package/src/components/FeedbackOverview/FeedbackOverview.types.ts +11 -0
- package/src/components/FeedbackOverview/FeedbackOverview.variants.ts +17 -0
- package/src/components/FeedbackOverview/index.ts +2 -0
- package/src/components/FeedbackReaction/FeedbackReaction.tsx +81 -0
- package/src/components/FeedbackReaction/FeedbackReaction.types.ts +14 -0
- package/src/components/FeedbackReaction/FeedbackReaction.variants.ts +39 -0
- package/src/components/FeedbackReaction/index.ts +2 -0
- package/src/components/FileUploadBase/FileUploadBase.tsx +104 -0
- package/src/components/FileUploadBase/FileUploadBase.types.ts +48 -0
- package/src/components/FileUploadBase/FileUploadBase.variants.ts +51 -0
- package/src/components/FileUploadBase/index.ts +2 -0
- package/src/components/FileUploadItemBase/FileUploadItemBase.tsx +197 -0
- package/src/components/FileUploadItemBase/FileUploadItemBase.types.ts +58 -0
- package/src/components/FileUploadItemBase/FileUploadItemBase.variants.ts +67 -0
- package/src/components/FileUploadItemBase/index.ts +6 -0
- package/src/components/FileUploader/FileUploader.tsx +164 -0
- package/src/components/FileUploader/FileUploader.types.ts +46 -0
- package/src/components/FileUploader/FileUploader.variants.ts +9 -0
- package/src/components/FileUploader/index.ts +2 -0
- package/src/components/Filtration/Filtration.tsx +260 -0
- package/src/components/Filtration/Filtration.types.ts +95 -0
- package/src/components/Filtration/Filtration.variants.ts +70 -0
- package/src/components/Filtration/index.ts +6 -0
- package/src/components/FiltrationItem/FiltrationItem.tsx +200 -0
- package/src/components/FiltrationItem/FiltrationItem.types.ts +57 -0
- package/src/components/FiltrationItem/FiltrationItem.variants.ts +81 -0
- package/src/components/FiltrationItem/index.ts +2 -0
- package/src/components/FiltrationList/FiltrationList.tsx +611 -0
- package/src/components/FiltrationList/FiltrationList.types.ts +191 -0
- package/src/components/FiltrationList/FiltrationList.variants.ts +283 -0
- package/src/components/FiltrationList/index.ts +16 -0
- package/src/components/FloatingButton/FloatingButton.tsx +89 -0
- package/src/components/FloatingButton/FloatingButton.types.ts +29 -0
- package/src/components/FloatingButton/FloatingButton.variants.ts +79 -0
- package/src/components/FloatingButton/index.ts +6 -0
- package/src/components/Footer/Footer.tsx +353 -0
- package/src/components/Footer/Footer.types.ts +142 -0
- package/src/components/Footer/Footer.variants.ts +137 -0
- package/src/components/Footer/index.ts +11 -0
- package/src/components/FooterItem/FooterItem.tsx +211 -0
- package/src/components/FooterItem/FooterItem.types.ts +45 -0
- package/src/components/FooterItem/FooterItem.variants.ts +139 -0
- package/src/components/FooterItem/index.ts +2 -0
- package/src/components/FooterLinkList/FooterLinkList.tsx +140 -0
- package/src/components/FooterLinkList/FooterLinkList.types.ts +46 -0
- package/src/components/FooterLinkList/FooterLinkList.variants.ts +64 -0
- package/src/components/FooterLinkList/index.ts +2 -0
- package/src/components/GraphBase/GraphBase.tsx +598 -0
- package/src/components/GraphBase/GraphBase.types.ts +101 -0
- package/src/components/GraphBase/GraphBase.variants.ts +126 -0
- package/src/components/GraphBase/index.ts +7 -0
- package/src/components/HeaderItem/HeaderItem.tsx +206 -0
- package/src/components/HeaderItem/HeaderItem.types.ts +73 -0
- package/src/components/HeaderItem/HeaderItem.variants.ts +139 -0
- package/src/components/HeaderItem/index.ts +2 -0
- package/src/components/HelpIcon/HelpIcon.tsx +173 -0
- package/src/components/HelpIcon/HelpIcon.types.ts +54 -0
- package/src/components/HelpIcon/HelpIcon.variants.ts +79 -0
- package/src/components/HelpIcon/index.ts +2 -0
- package/src/components/HorizontalTabs/HorizontalTabs.tsx +87 -0
- package/src/components/HorizontalTabs/HorizontalTabs.types.ts +41 -0
- package/src/components/HorizontalTabs/HorizontalTabs.variants.ts +54 -0
- package/src/components/HorizontalTabs/index.ts +6 -0
- package/src/components/IllustrationInstance/IllustrationInstance.tsx +46 -0
- package/src/components/IllustrationInstance/IllustrationInstance.types.ts +25 -0
- package/src/components/IllustrationInstance/IllustrationInstance.variants.ts +19 -0
- package/src/components/IllustrationInstance/index.ts +3 -0
- package/src/components/ImagePreview/ImagePreview.tsx +170 -0
- package/src/components/ImagePreview/ImagePreview.types.ts +54 -0
- package/src/components/ImagePreview/ImagePreview.variants.ts +39 -0
- package/src/components/ImagePreview/index.ts +2 -0
- package/src/components/Input/Input.tsx +113 -0
- package/src/components/Input/Input.types.ts +22 -0
- package/src/components/Input/index.ts +2 -0
- package/src/components/InputPrefixSuffix/InputPrefixSuffix.tsx +91 -0
- package/src/components/InputPrefixSuffix/InputPrefixSuffix.types.ts +81 -0
- package/src/components/InputPrefixSuffix/InputPrefixSuffix.variants.ts +128 -0
- package/src/components/InputPrefixSuffix/index.ts +8 -0
- package/src/components/InputsActions/InputsActions.tsx +53 -0
- package/src/components/InputsActions/InputsActions.types.ts +13 -0
- package/src/components/InputsActions/InputsActions.variants.ts +18 -0
- package/src/components/InputsActions/index.ts +2 -0
- package/src/components/InstanceColumn/InstanceColumn.tsx +43 -0
- package/src/components/InstanceColumn/InstanceColumn.types.ts +18 -0
- package/src/components/InstanceColumn/InstanceColumn.variants.ts +11 -0
- package/src/components/InstanceColumn/index.ts +2 -0
- package/src/components/InstanceItem/InstanceItem.tsx +33 -0
- package/src/components/InstanceItem/InstanceItem.types.ts +11 -0
- package/src/components/InstanceItem/InstanceItem.variants.ts +31 -0
- package/src/components/InstanceItem/index.ts +2 -0
- package/src/components/InstanceRows/InstanceRows.tsx +41 -0
- package/src/components/InstanceRows/InstanceRows.types.ts +17 -0
- package/src/components/InstanceRows/InstanceRows.variants.ts +10 -0
- package/src/components/InstanceRows/index.ts +2 -0
- package/src/components/InstanceSlot/InstanceSlot.tsx +25 -0
- package/src/components/InstanceSlot/InstanceSlot.types.ts +10 -0
- package/src/components/InstanceSlot/InstanceSlot.variants.ts +2 -0
- package/src/components/InstanceSlot/index.ts +2 -0
- package/src/components/LineChart/LineChart.tsx +592 -0
- package/src/components/LineChart/LineChart.types.ts +78 -0
- package/src/components/LineChart/LineChart.variants.ts +324 -0
- package/src/components/LineChart/index.ts +7 -0
- package/src/components/Link/Link.tsx +81 -0
- package/src/components/Link/Link.types.ts +23 -0
- package/src/components/Link/Link.variants.ts +69 -0
- package/src/components/Link/index.ts +2 -0
- package/src/components/List/List.tsx +260 -0
- package/src/components/List/List.types.ts +70 -0
- package/src/components/List/List.variants.ts +94 -0
- package/src/components/List/index.ts +5 -0
- package/src/components/ListGroup/ListGroup.tsx +37 -0
- package/src/components/ListGroup/ListGroup.types.ts +14 -0
- package/src/components/ListGroup/ListGroup.variants.ts +17 -0
- package/src/components/ListGroup/index.ts +3 -0
- package/src/components/LoadingIndicator/LoadingIndicator.tsx +208 -0
- package/src/components/LoadingIndicator/LoadingIndicator.types.ts +51 -0
- package/src/components/LoadingIndicator/LoadingIndicator.variants.ts +108 -0
- package/src/components/LoadingIndicator/index.ts +7 -0
- package/src/components/MediaGallery/MediaGallery.tsx +600 -0
- package/src/components/MediaGallery/MediaGallery.types.ts +124 -0
- package/src/components/MediaGallery/MediaGallery.variants.ts +116 -0
- package/src/components/MediaGallery/index.ts +2 -0
- package/src/components/MediaGrids/MediaGrids.tsx +48 -0
- package/src/components/MediaGrids/MediaGrids.types.ts +14 -0
- package/src/components/MediaGrids/MediaGrids.variants.ts +16 -0
- package/src/components/MediaGrids/index.ts +2 -0
- package/src/components/MediaViewer/MediaViewer.tsx +345 -0
- package/src/components/MediaViewer/MediaViewer.types.ts +59 -0
- package/src/components/MediaViewer/MediaViewer.variants.ts +168 -0
- package/src/components/MediaViewer/index.ts +2 -0
- package/src/components/Menu/Menu.tsx +109 -0
- package/src/components/Menu/Menu.types.ts +37 -0
- package/src/components/Menu/Menu.variants.ts +29 -0
- package/src/components/Menu/index.ts +2 -0
- package/src/components/MenuButtonItem/MenuButtonItem.tsx +280 -0
- package/src/components/MenuButtonItem/MenuButtonItem.types.ts +91 -0
- package/src/components/MenuButtonItem/MenuButtonItem.variants.ts +223 -0
- package/src/components/MenuButtonItem/index.ts +8 -0
- package/src/components/MenuItem/MenuItem.tsx +211 -0
- package/src/components/MenuItem/MenuItem.types.ts +40 -0
- package/src/components/MenuItem/MenuItem.variants.ts +48 -0
- package/src/components/MenuItem/index.ts +2 -0
- package/src/components/MenuItemGroup/MenuItemGroup.tsx +91 -0
- package/src/components/MenuItemGroup/MenuItemGroup.types.ts +82 -0
- package/src/components/MenuItemGroup/MenuItemGroup.variants.ts +33 -0
- package/src/components/MenuItemGroup/index.ts +2 -0
- package/src/components/MenuList/MenuList.tsx +44 -0
- package/src/components/MenuList/MenuList.types.ts +28 -0
- package/src/components/MenuList/MenuList.variants.ts +2 -0
- package/src/components/MenuList/index.ts +2 -0
- package/src/components/Metric/Metric.tsx +584 -0
- package/src/components/Metric/Metric.types.ts +77 -0
- package/src/components/Metric/Metric.variants.ts +175 -0
- package/src/components/Metric/index.ts +8 -0
- package/src/components/Modal/Modal.tsx +139 -0
- package/src/components/Modal/Modal.types.ts +55 -0
- package/src/components/Modal/index.ts +2 -0
- package/src/components/ModalActions/ModalActions.tsx +176 -0
- package/src/components/ModalActions/ModalActions.types.ts +31 -0
- package/src/components/ModalActions/index.ts +2 -0
- package/src/components/ModalHeader/ModalHeader.tsx +207 -0
- package/src/components/ModalHeader/ModalHeader.types.ts +24 -0
- package/src/components/ModalHeader/index.ts +2 -0
- package/src/components/NavBar/NavBar.tsx +326 -0
- package/src/components/NavBar/NavBar.types.ts +78 -0
- package/src/components/NavBar/NavBar.variants.ts +139 -0
- package/src/components/NavBar/index.ts +2 -0
- package/src/components/NavHeader/NavHeader.tsx +292 -0
- package/src/components/NavHeader/NavHeader.types.ts +145 -0
- package/src/components/NavHeader/NavHeader.variants.ts +178 -0
- package/src/components/NavHeader/index.ts +2 -0
- package/src/components/NavHeaderActions/NavHeaderActions.tsx +161 -0
- package/src/components/NavHeaderActions/NavHeaderActions.types.ts +61 -0
- package/src/components/NavHeaderActions/NavHeaderActions.variants.ts +58 -0
- package/src/components/NavHeaderActions/index.ts +2 -0
- package/src/components/NavHeaderDropdownItem/NavHeaderDropdownItem.tsx +243 -0
- package/src/components/NavHeaderDropdownItem/NavHeaderDropdownItem.types.ts +76 -0
- package/src/components/NavHeaderDropdownItem/NavHeaderDropdownItem.variants.ts +133 -0
- package/src/components/NavHeaderDropdownItem/index.ts +5 -0
- package/src/components/NavHeaderDropdownItemList/NavHeaderDropdownItemList.tsx +64 -0
- package/src/components/NavHeaderDropdownItemList/NavHeaderDropdownItemList.types.ts +55 -0
- package/src/components/NavHeaderDropdownItemList/NavHeaderDropdownItemList.variants.ts +47 -0
- package/src/components/NavHeaderDropdownItemList/index.ts +5 -0
- package/src/components/NavHeaderMenuButton/NavHeaderMenuButton.tsx +52 -0
- package/src/components/NavHeaderMenuButton/NavHeaderMenuButton.types.ts +17 -0
- package/src/components/NavHeaderMenuButton/NavHeaderMenuButton.variants.ts +73 -0
- package/src/components/NavHeaderMenuButton/index.ts +2 -0
- package/src/components/NavHeaderMenuCard/NavHeaderMenuCard.tsx +126 -0
- package/src/components/NavHeaderMenuCard/NavHeaderMenuCard.types.ts +74 -0
- package/src/components/NavHeaderMenuCard/NavHeaderMenuCard.variants.ts +169 -0
- package/src/components/NavHeaderMenuCard/index.ts +6 -0
- package/src/components/NavHeaderMenuItem/NavHeaderMenuItem.tsx +164 -0
- package/src/components/NavHeaderMenuItem/NavHeaderMenuItem.types.ts +64 -0
- package/src/components/NavHeaderMenuItem/NavHeaderMenuItem.variants.ts +175 -0
- package/src/components/NavHeaderMenuItem/index.ts +2 -0
- package/src/components/NavItem/NavItem.tsx +210 -0
- package/src/components/NavItem/NavItem.types.ts +71 -0
- package/src/components/NavItem/NavItem.variants.ts +61 -0
- package/src/components/NavItem/index.ts +2 -0
- package/src/components/NavLabel/NavLabel.tsx +84 -0
- package/src/components/NavLabel/NavLabel.types.ts +55 -0
- package/src/components/NavLabel/NavLabel.variants.ts +68 -0
- package/src/components/NavLabel/index.ts +2 -0
- package/src/components/NavLogoPlaceholder/NavLogoPlaceholder.tsx +101 -0
- package/src/components/NavLogoPlaceholder/NavLogoPlaceholder.types.ts +27 -0
- package/src/components/NavLogoPlaceholder/NavLogoPlaceholder.variants.ts +42 -0
- package/src/components/NavLogoPlaceholder/index.ts +6 -0
- package/src/components/NotificationBanner/NotificationBanner.tsx +256 -0
- package/src/components/NotificationBanner/NotificationBanner.types.ts +77 -0
- package/src/components/NotificationBanner/NotificationBanner.variants.ts +109 -0
- package/src/components/NotificationBanner/index.ts +7 -0
- package/src/components/NotificationPopup/NotificationPopup.tsx +147 -0
- package/src/components/NotificationPopup/NotificationPopup.types.ts +51 -0
- package/src/components/NotificationPopup/NotificationPopup.variants.ts +145 -0
- package/src/components/NotificationPopup/index.ts +5 -0
- package/src/components/Notifications/Notifications.tsx +209 -0
- package/src/components/Notifications/Notifications.types.ts +68 -0
- package/src/components/Notifications/Notifications.variants.ts +89 -0
- package/src/components/Notifications/index.ts +2 -0
- package/src/components/Number/Number.tsx +497 -0
- package/src/components/Number/Number.types.ts +58 -0
- package/src/components/Number/Number.variants.ts +94 -0
- package/src/components/Number/index.ts +2 -0
- package/src/components/NumberInput/NumberInput.tsx +265 -0
- package/src/components/NumberInput/NumberInput.types.ts +110 -0
- package/src/components/NumberInput/NumberInput.variants.ts +205 -0
- package/src/components/NumberInput/index.ts +6 -0
- package/src/components/Pagination/Pagination.tsx +393 -0
- package/src/components/Pagination/Pagination.types.ts +26 -0
- package/src/components/Pagination/Pagination.variants.ts +88 -0
- package/src/components/Pagination/index.ts +3 -0
- package/src/components/PaginationButtonGroup/PaginationButtonGroup.tsx +132 -0
- package/src/components/PaginationButtonGroup/PaginationButtonGroup.types.ts +20 -0
- package/src/components/PaginationButtonGroup/PaginationButtonGroup.variants.ts +45 -0
- package/src/components/PaginationButtonGroup/index.ts +8 -0
- package/src/components/PaginationCells/PaginationCells.tsx +105 -0
- package/src/components/PaginationCells/PaginationCells.types.ts +31 -0
- package/src/components/PaginationCells/PaginationCells.variants.ts +96 -0
- package/src/components/PaginationCells/index.ts +9 -0
- package/src/components/PdfViewer/PdfViewer.tsx +265 -0
- package/src/components/PdfViewer/PdfViewer.types.ts +79 -0
- package/src/components/PdfViewer/PdfViewer.variants.ts +105 -0
- package/src/components/PdfViewer/index.ts +3 -0
- package/src/components/PieChartPanel/PieChartPanel.tsx +889 -0
- package/src/components/PieChartPanel/PieChartPanel.types.ts +130 -0
- package/src/components/PieChartPanel/PieChartPanel.variants.ts +156 -0
- package/src/components/PieChartPanel/index.ts +8 -0
- package/src/components/Popover/Popover.tsx +398 -0
- package/src/components/Popover/Popover.types.ts +155 -0
- package/src/components/Popover/Popover.variants.ts +147 -0
- package/src/components/Popover/index.ts +7 -0
- package/src/components/ProgressBar/ProgressBar.tsx +241 -0
- package/src/components/ProgressBar/ProgressBar.types.ts +22 -0
- package/src/components/ProgressBar/ProgressBar.variants.ts +54 -0
- package/src/components/ProgressBar/index.ts +2 -0
- package/src/components/ProgressCircle/ProgressCircle.tsx +369 -0
- package/src/components/ProgressCircle/ProgressCircle.types.ts +26 -0
- package/src/components/ProgressCircle/ProgressCircle.variants.ts +88 -0
- package/src/components/ProgressCircle/index.ts +7 -0
- package/src/components/Quote/Quote.tsx +210 -0
- package/src/components/Quote/Quote.types.ts +73 -0
- package/src/components/Quote/Quote.variants.ts +106 -0
- package/src/components/Quote/index.ts +2 -0
- package/src/components/RadialStepper/RadialStepper.tsx +166 -0
- package/src/components/RadialStepper/RadialStepper.types.ts +77 -0
- package/src/components/RadialStepper/RadialStepper.variants.ts +122 -0
- package/src/components/RadialStepper/index.ts +7 -0
- package/src/components/RadioButton/RadioButton.tsx +237 -0
- package/src/components/RadioButton/RadioButton.types.ts +18 -0
- package/src/components/RadioButton/index.ts +2 -0
- package/src/components/RadioLabel/RadioLabel.tsx +157 -0
- package/src/components/RadioLabel/RadioLabel.types.ts +53 -0
- package/src/components/RadioLabel/RadioLabel.variants.ts +36 -0
- package/src/components/RadioLabel/index.ts +2 -0
- package/src/components/RangeSlider/RangeSlider.tsx +389 -0
- package/src/components/RangeSlider/RangeSlider.types.ts +38 -0
- package/src/components/RangeSlider/RangeSlider.variants.ts +27 -0
- package/src/components/RangeSlider/index.ts +2 -0
- package/src/components/Rating/Rating.tsx +246 -0
- package/src/components/Rating/Rating.types.ts +37 -0
- package/src/components/Rating/Rating.variants.ts +52 -0
- package/src/components/Rating/index.ts +8 -0
- package/src/components/RatingOverview/RatingOverview.tsx +170 -0
- package/src/components/RatingOverview/RatingOverview.types.ts +37 -0
- package/src/components/RatingOverview/RatingOverview.variants.ts +50 -0
- package/src/components/RatingOverview/index.ts +2 -0
- package/src/components/RatingStar/RatingStar.tsx +76 -0
- package/src/components/RatingStar/RatingStar.types.ts +18 -0
- package/src/components/RatingStar/RatingStar.variants.ts +34 -0
- package/src/components/RatingStar/index.ts +7 -0
- package/src/components/RichTextEditor/RichTextEditor.tsx +1341 -0
- package/src/components/RichTextEditor/RichTextEditor.types.ts +127 -0
- package/src/components/RichTextEditor/RichTextEditor.variants.ts +231 -0
- package/src/components/RichTextEditor/index.ts +6 -0
- package/src/components/ScatterChart/ScatterChart.tsx +164 -0
- package/src/components/ScatterChart/ScatterChart.types.ts +42 -0
- package/src/components/ScatterChart/ScatterChart.variants.ts +162 -0
- package/src/components/ScatterChart/index.ts +2 -0
- package/src/components/SdaiaLogoAnimation/BGSVG.tsx +216 -0
- package/src/components/SdaiaLogoAnimation/SdaiaLogoAnimation.tsx +120 -0
- package/src/components/SdaiaLogoAnimation/SdaiaLogoAnimation.types.ts +13 -0
- package/src/components/SdaiaLogoAnimation/SdaiaLogoAnimation.variants.ts +22 -0
- package/src/components/SdaiaLogoAnimation/index.ts +2 -0
- package/src/components/SdaiaTouch2dAnimation/SdaiaTouch2dAnimation.tsx +55 -0
- package/src/components/SdaiaTouch2dAnimation/SdaiaTouch2dAnimation.types.ts +12 -0
- package/src/components/SdaiaTouch2dAnimation/SdaiaTouch2dAnimation.variants.ts +28 -0
- package/src/components/SdaiaTouch2dAnimation/Star.tsx +82 -0
- package/src/components/SdaiaTouch2dAnimation/StarShape.tsx +78 -0
- package/src/components/SdaiaTouch2dAnimation/index.ts +6 -0
- package/src/components/SecondNavHeader/SecondNavHeader.tsx +80 -0
- package/src/components/SecondNavHeader/SecondNavHeader.types.ts +41 -0
- package/src/components/SecondNavHeader/SecondNavHeader.variants.ts +42 -0
- package/src/components/SecondNavHeader/index.ts +2 -0
- package/src/components/Select/Select.tsx +351 -0
- package/src/components/Select/Select.types.ts +102 -0
- package/src/components/Select/Select.variants.ts +111 -0
- package/src/components/Select/index.ts +2 -0
- package/src/components/SelectMenuItem/SelectMenuItem.tsx +132 -0
- package/src/components/SelectMenuItem/SelectMenuItem.types.ts +47 -0
- package/src/components/SelectMenuItem/SelectMenuItem.variants.ts +56 -0
- package/src/components/SelectMenuItem/index.ts +2 -0
- package/src/components/SeriesLabel/SeriesLabel.tsx +76 -0
- package/src/components/SeriesLabel/SeriesLabel.types.ts +27 -0
- package/src/components/SeriesLabel/SeriesLabel.variants.ts +84 -0
- package/src/components/SeriesLabel/index.ts +2 -0
- package/src/components/Signature/Signature.tsx +905 -0
- package/src/components/Signature/Signature.types.ts +68 -0
- package/src/components/Signature/Signature.variants.ts +115 -0
- package/src/components/Signature/index.ts +2 -0
- package/src/components/Skeleton/Skeleton.tsx +21 -0
- package/src/components/Skeleton/Skeleton.types.ts +15 -0
- package/src/components/Skeleton/Skeleton.variants.ts +14 -0
- package/src/components/Skeleton/index.ts +2 -0
- package/src/components/SkeletonAvatar/SkeletonAvatar.tsx +21 -0
- package/src/components/SkeletonAvatar/SkeletonAvatar.types.ts +15 -0
- package/src/components/SkeletonAvatar/SkeletonAvatar.variants.ts +14 -0
- package/src/components/SkeletonAvatar/index.ts +2 -0
- package/src/components/SlideoutMenu/SlideoutMenu.tsx +225 -0
- package/src/components/SlideoutMenu/SlideoutMenu.types.ts +39 -0
- package/src/components/SlideoutMenu/SlideoutMenuDivider.tsx +10 -0
- package/src/components/SlideoutMenu/SlideoutMenuSection.tsx +39 -0
- package/src/components/SlideoutMenu/index.ts +5 -0
- package/src/components/SlideoutMenuFooter/SlideoutMenuFooter.tsx +96 -0
- package/src/components/SlideoutMenuFooter/SlideoutMenuFooter.types.ts +28 -0
- package/src/components/SlideoutMenuFooter/SlideoutMenuFooter.variants.ts +49 -0
- package/src/components/SlideoutMenuFooter/index.ts +6 -0
- package/src/components/SlideoutMenuHeader/SlideoutMenuHeader.tsx +83 -0
- package/src/components/SlideoutMenuHeader/SlideoutMenuHeader.types.ts +19 -0
- package/src/components/SlideoutMenuHeader/SlideoutMenuHeader.variants.ts +78 -0
- package/src/components/SlideoutMenuHeader/index.ts +2 -0
- package/src/components/Slider/Slider.tsx +259 -0
- package/src/components/Slider/Slider.types.ts +22 -0
- package/src/components/Slider/Slider.variants.ts +23 -0
- package/src/components/Slider/index.ts +2 -0
- package/src/components/Sparkline/Sparkline.tsx +130 -0
- package/src/components/Sparkline/Sparkline.types.ts +36 -0
- package/src/components/Sparkline/Sparkline.variants.ts +118 -0
- package/src/components/Sparkline/index.ts +2 -0
- package/src/components/StatusDot/StatusDot.tsx +82 -0
- package/src/components/StatusDot/StatusDot.types.ts +35 -0
- package/src/components/StatusDot/StatusDot.variants.ts +66 -0
- package/src/components/StatusDot/index.ts +8 -0
- package/src/components/StructuredList/StructuredList.tsx +79 -0
- package/src/components/StructuredList/StructuredList.types.ts +27 -0
- package/src/components/StructuredList/index.ts +2 -0
- package/src/components/StructuredListGroup/StructuredListGroup.tsx +76 -0
- package/src/components/StructuredListGroup/StructuredListGroup.types.ts +27 -0
- package/src/components/StructuredListGroup/StructuredListGroup.variants.ts +14 -0
- package/src/components/StructuredListGroup/index.ts +5 -0
- package/src/components/StructuredListHeader/StructuredListHeader.tsx +98 -0
- package/src/components/StructuredListHeader/StructuredListHeader.types.ts +26 -0
- package/src/components/StructuredListHeader/StructuredListHeader.variants.ts +24 -0
- package/src/components/StructuredListHeader/index.ts +5 -0
- package/src/components/StructuredListRow/StructuredListRow.tsx +144 -0
- package/src/components/StructuredListRow/StructuredListRow.types.ts +37 -0
- package/src/components/StructuredListRow/StructuredListRow.variants.ts +53 -0
- package/src/components/StructuredListRow/index.ts +6 -0
- package/src/components/SubHeaderItem/SubHeaderItem.tsx +37 -0
- package/src/components/SubHeaderItem/SubHeaderItem.types.ts +20 -0
- package/src/components/SubHeaderItem/SubHeaderItem.variants.ts +23 -0
- package/src/components/SubHeaderItem/index.ts +2 -0
- package/src/components/Switch/Switch.tsx +138 -0
- package/src/components/Switch/Switch.types.ts +18 -0
- package/src/components/Switch/Switch.variants.ts +49 -0
- package/src/components/Switch/index.ts +2 -0
- package/src/components/SwitchLabel/SwitchLabel.tsx +114 -0
- package/src/components/SwitchLabel/SwitchLabel.types.ts +27 -0
- package/src/components/SwitchLabel/SwitchLabel.variants.ts +28 -0
- package/src/components/SwitchLabel/index.ts +2 -0
- package/src/components/Tab/Tab.tsx +92 -0
- package/src/components/Tab/Tab.types.ts +34 -0
- package/src/components/Tab/Tab.variants.ts +79 -0
- package/src/components/Tab/index.ts +2 -0
- package/src/components/Table/Table.tsx +353 -0
- package/src/components/Table/Table.types.ts +80 -0
- package/src/components/Table/Table.variants.ts +110 -0
- package/src/components/Table/index.ts +10 -0
- package/src/components/TableOfContent/TableOfContent.tsx +33 -0
- package/src/components/TableOfContent/TableOfContent.types.ts +15 -0
- package/src/components/TableOfContent/TableOfContent.variants.ts +27 -0
- package/src/components/TableOfContent/index.ts +2 -0
- package/src/components/TableOfContentItem/TableOfContentItem.tsx +85 -0
- package/src/components/TableOfContentItem/TableOfContentItem.types.ts +23 -0
- package/src/components/TableOfContentItem/TableOfContentItem.variants.ts +109 -0
- package/src/components/TableOfContentItem/index.ts +2 -0
- package/src/components/TableOfContentList/TableOfContentList.tsx +60 -0
- package/src/components/TableOfContentList/TableOfContentList.types.ts +39 -0
- package/src/components/TableOfContentList/TableOfContentList.variants.ts +6 -0
- package/src/components/TableOfContentList/index.ts +2 -0
- package/src/components/Tabs/Tabs.tsx +80 -0
- package/src/components/Tabs/Tabs.types.ts +36 -0
- package/src/components/Tabs/Tabs.variants.ts +23 -0
- package/src/components/Tabs/index.ts +2 -0
- package/src/components/Tag/Tag.tsx +114 -0
- package/src/components/Tag/Tag.types.ts +32 -0
- package/src/components/Tag/Tag.variants.ts +57 -0
- package/src/components/Tag/index.ts +2 -0
- package/src/components/TagCount/TagCount.tsx +45 -0
- package/src/components/TagCount/TagCount.types.ts +21 -0
- package/src/components/TagCount/TagCount.variants.ts +26 -0
- package/src/components/TagCount/index.ts +7 -0
- package/src/components/TextArea/TextArea.tsx +130 -0
- package/src/components/TextArea/TextArea.types.ts +20 -0
- package/src/components/TextArea/index.ts +2 -0
- package/src/components/TextInput/TextInput.tsx +568 -0
- package/src/components/TextInput/TextInput.types.ts +87 -0
- package/src/components/TextInput/TextInput.variants.ts +89 -0
- package/src/components/TextInput/TextInputTag.tsx +43 -0
- package/src/components/TextInput/TextInputTag.types.ts +14 -0
- package/src/components/TextInput/index.ts +4 -0
- package/src/components/Tooltip/Tooltip.tsx +229 -0
- package/src/components/Tooltip/Tooltip.types.ts +48 -0
- package/src/components/Tooltip/Tooltip.variants.ts +141 -0
- package/src/components/Tooltip/index.ts +10 -0
- package/src/components/TreeView/TreeView.tsx +130 -0
- package/src/components/TreeView/TreeView.types.ts +42 -0
- package/src/components/TreeView/TreeView.variants.ts +6 -0
- package/src/components/TreeView/index.ts +3 -0
- package/src/components/TreeViewItem/TreeViewItem.tsx +108 -0
- package/src/components/TreeViewItem/TreeViewItem.types.ts +34 -0
- package/src/components/TreeViewItem/TreeViewItem.variants.ts +40 -0
- package/src/components/TreeViewItem/index.ts +3 -0
- package/src/components/VerticalTabs/VerticalTabs.tsx +84 -0
- package/src/components/VerticalTabs/VerticalTabs.types.ts +37 -0
- package/src/components/VerticalTabs/VerticalTabs.variants.ts +43 -0
- package/src/components/VerticalTabs/index.ts +6 -0
- package/src/components/VideoPlayer/VideoPlayer.tsx +470 -0
- package/src/components/VideoPlayer/VideoPlayer.types.ts +59 -0
- package/src/components/VideoPlayer/VideoPlayer.variants.ts +134 -0
- package/src/components/VideoPlayer/index.ts +2 -0
- package/src/components/XAxis/XAxis.tsx +67 -0
- package/src/components/XAxis/XAxis.types.ts +30 -0
- package/src/components/XAxis/XAxis.variants.ts +77 -0
- package/src/components/XAxis/index.ts +2 -0
- package/src/components/YAxis/YAxis.tsx +78 -0
- package/src/components/YAxis/YAxis.types.ts +41 -0
- package/src/components/YAxis/YAxis.variants.ts +94 -0
- package/src/components/YAxis/index.ts +2 -0
- package/src/dga-icons.ts +18 -0
- package/src/hooks/usePresence.ts +73 -0
- package/src/icons/AIIcon.tsx +34 -0
- package/src/icons/AaIcon.tsx +34 -0
- package/src/icons/AlertCircle02Icon.tsx +28 -0
- package/src/icons/AlertCircleIcon.tsx +29 -0
- package/src/icons/AlertCircleSVG.tsx +19 -0
- package/src/icons/AlertCircleWarningIcon.tsx +37 -0
- package/src/icons/AlertTriangleIcon.tsx +27 -0
- package/src/icons/AlignCenterIcon.tsx +31 -0
- package/src/icons/AlignLeftIcon.tsx +31 -0
- package/src/icons/AlignRightIcon.tsx +31 -0
- package/src/icons/ArrowDownIcon.tsx +27 -0
- package/src/icons/ArrowDownLeft01Icon.tsx +32 -0
- package/src/icons/ArrowDownSVG.tsx +16 -0
- package/src/icons/ArrowIcon.tsx +38 -0
- package/src/icons/ArrowLeft01Icon.tsx +23 -0
- package/src/icons/ArrowLeft02SVG.tsx +19 -0
- package/src/icons/ArrowLeftIcon.tsx +28 -0
- package/src/icons/ArrowRight01Icon.tsx +23 -0
- package/src/icons/ArrowRight01SVG.tsx +16 -0
- package/src/icons/ArrowRightIcon.tsx +28 -0
- package/src/icons/ArrowUpIcon.tsx +27 -0
- package/src/icons/ArrowUpRight01Icon.tsx +31 -0
- package/src/icons/ArrowUpSVG.tsx +16 -0
- package/src/icons/AtIcon.tsx +33 -0
- package/src/icons/BeakBottom.tsx +13 -0
- package/src/icons/BeakDown.tsx +29 -0
- package/src/icons/BeakLeft.tsx +13 -0
- package/src/icons/BeakRight.tsx +11 -0
- package/src/icons/BeakTop.tsx +13 -0
- package/src/icons/BeakUp.tsx +23 -0
- package/src/icons/BellCircleIcon.tsx +33 -0
- package/src/icons/BellIcon.tsx +27 -0
- package/src/icons/BoldIcon.tsx +33 -0
- package/src/icons/CalendarIcon.tsx +35 -0
- package/src/icons/ChartsIcon.tsx +25 -0
- package/src/icons/CheckCircleIcon.tsx +29 -0
- package/src/icons/ChevronDownIcon.tsx +30 -0
- package/src/icons/ChevronDownSmIcon.tsx +34 -0
- package/src/icons/ChevronLeftIcon.tsx +20 -0
- package/src/icons/ChevronRightIcon.tsx +36 -0
- package/src/icons/ClearIcon.tsx +34 -0
- package/src/icons/ClockIcon.tsx +34 -0
- package/src/icons/CloseIcon.tsx +29 -0
- package/src/icons/CloudUploadIcon.tsx +21 -0
- package/src/icons/CodeSnippetChevronDownIcon.tsx +25 -0
- package/src/icons/CodeSnippetCopyIcon.tsx +24 -0
- package/src/icons/CodeSnippetStarIcon.tsx +25 -0
- package/src/icons/ColorSquareIcon.tsx +42 -0
- package/src/icons/ComponentsIcon.tsx +25 -0
- package/src/icons/DGALogoSVG.tsx +133 -0
- package/src/icons/DeleteIcon.tsx +24 -0
- package/src/icons/DownloadIcon.tsx +29 -0
- package/src/icons/DragHandleVerticalIcon.tsx +23 -0
- package/src/icons/FeedbackEmojiDislikeIcon.tsx +20 -0
- package/src/icons/FeedbackEmojiLikeIcon.tsx +20 -0
- package/src/icons/FeedbackEmojiNeutralIcon.tsx +20 -0
- package/src/icons/FeedbackThumbDislikeFilledIcon.tsx +26 -0
- package/src/icons/FeedbackThumbDislikeIcon.tsx +20 -0
- package/src/icons/FeedbackThumbLikeFilledIcon.tsx +20 -0
- package/src/icons/FeedbackThumbLikeIcon.tsx +20 -0
- package/src/icons/FileUploadItemCloseIcon.tsx +30 -0
- package/src/icons/FileUploadItemEmptyFileIcon.tsx +27 -0
- package/src/icons/FileUploadItemPdfIcon.tsx +52 -0
- package/src/icons/FilterFunnelIcon.tsx +34 -0
- package/src/icons/FilterIcon.tsx +31 -0
- package/src/icons/FitIcon.tsx +22 -0
- package/src/icons/FolderFilledIcon.tsx +25 -0
- package/src/icons/FolderIcon.tsx +28 -0
- package/src/icons/FoundationsIcon.tsx +25 -0
- package/src/icons/FullscreenExitIcon.tsx +71 -0
- package/src/icons/FullscreenIcon.tsx +70 -0
- package/src/icons/GoBackward10Icon.tsx +27 -0
- package/src/icons/GoForward10Icon.tsx +27 -0
- package/src/icons/GridSquaresIcon.tsx +40 -0
- package/src/icons/HamburgerIcon.tsx +28 -0
- package/src/icons/HelpCircleIcon.tsx +28 -0
- package/src/icons/HomeIcon.tsx +22 -0
- package/src/icons/HomeSVG.tsx +32 -0
- package/src/icons/IconFactory.ts +157 -0
- package/src/icons/Image01SVG.tsx +18 -0
- package/src/icons/ImageIcon.tsx +31 -0
- package/src/icons/InfoCircleIcon.tsx +31 -0
- package/src/icons/InfoCircleSVG.tsx +20 -0
- package/src/icons/InfoIcon.tsx +27 -0
- package/src/icons/ItalicIcon.tsx +31 -0
- package/src/icons/LearnMoreArrowIcon.tsx +22 -0
- package/src/icons/LinkCircleSVG.tsx +58 -0
- package/src/icons/LinkIcon.tsx +33 -0
- package/src/icons/ListLinesIcon.tsx +40 -0
- package/src/icons/LockCircleSVG.tsx +60 -0
- package/src/icons/LockIcon.tsx +36 -0
- package/src/icons/Logout02Icon.tsx +19 -0
- package/src/icons/MicrophoneIcon.tsx +20 -0
- package/src/icons/MinusIcon.tsx +40 -0
- package/src/icons/MoreHorizontalIcon.tsx +24 -0
- package/src/icons/MoreVerticalIcon.tsx +40 -0
- package/src/icons/NextIcon.tsx +44 -0
- package/src/icons/PDFSvg.tsx +39 -0
- package/src/icons/PatternsIcon.tsx +21 -0
- package/src/icons/PauseIcon.tsx +30 -0
- package/src/icons/PencilIcon.tsx +36 -0
- package/src/icons/PlayButtonCardIcon.tsx +41 -0
- package/src/icons/PlayCenterIcon.tsx +45 -0
- package/src/icons/PlayIcon.tsx +27 -0
- package/src/icons/PlayIconSolid.tsx +33 -0
- package/src/icons/PlayIconStroke.tsx +22 -0
- package/src/icons/PlayIconTwotone.tsx +36 -0
- package/src/icons/PlayVideoIcon.tsx +31 -0
- package/src/icons/PlusCircleIcon.tsx +41 -0
- package/src/icons/PlusIcon.tsx +43 -0
- package/src/icons/PreviousIcon.tsx +44 -0
- package/src/icons/PrintIcon.tsx +25 -0
- package/src/icons/QuestionMarkGrayBgIcon.tsx +52 -0
- package/src/icons/QuestionMarkIcon.tsx +47 -0
- package/src/icons/RedoIcon.tsx +41 -0
- package/src/icons/SaudiFlagSVG.tsx +31 -0
- package/src/icons/SdaiaNavLogo.tsx +345 -0
- package/src/icons/SearchIcon.tsx +34 -0
- package/src/icons/SettingsIcon.tsx +25 -0
- package/src/icons/ShareIcon.tsx +26 -0
- package/src/icons/SidebarCollapseIcon.tsx +25 -0
- package/src/icons/SmileIcon.tsx +34 -0
- package/src/icons/SortIcon.tsx +20 -0
- package/src/icons/StarIcon.tsx +38 -0
- package/src/icons/StatusBadgeIcon.tsx +19 -0
- package/src/icons/TextTIcon.tsx +33 -0
- package/src/icons/Tick02Icon.tsx +32 -0
- package/src/icons/TickIcon.tsx +33 -0
- package/src/icons/TrashIcon.tsx +44 -0
- package/src/icons/UnderlineIcon.tsx +31 -0
- package/src/icons/UndoIcon.tsx +31 -0
- package/src/icons/UploadArrowIcon.tsx +40 -0
- package/src/icons/UserIcon.tsx +21 -0
- package/src/icons/VolumeHighIcon.tsx +27 -0
- package/src/icons/VolumeMuteIcon.tsx +53 -0
- package/src/icons/XCircleIcon.tsx +32 -0
- package/src/icons/XIcon.tsx +27 -0
- package/src/icons/XIconSVG.tsx +16 -0
- package/src/icons/XSmallIcon.tsx +29 -0
- package/src/icons/XSvg.tsx +18 -0
- package/src/icons/ZoomInIcon.tsx +25 -0
- package/src/icons/index.ts +5 -0
- package/src/index.ts +699 -0
- package/src/lib/cn.ts +42 -0
- package/src/styles/motion.css +120 -0
- package/src/styles.css +242 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* ─────────────────────────────────────────────────────────────────
|
|
2
|
+
icons.tsx — AudioPlayer icon set
|
|
3
|
+
All paths retrieved directly from Figma asset exports.
|
|
4
|
+
fill="currentColor" enables dark-mode & hover state via CSS.
|
|
5
|
+
Icon names match Figma component names exactly.
|
|
6
|
+
──────────────────────────────────────────────────────────────────── */
|
|
7
|
+
|
|
8
|
+
/** go-backward-10-sec — viewBox 0 0 17.915 17.917 */
|
|
9
|
+
|
|
10
|
+
export function PauseIcon() {
|
|
11
|
+
return (
|
|
12
|
+
<svg
|
|
13
|
+
width="100%"
|
|
14
|
+
height="100%"
|
|
15
|
+
viewBox="0 0 29.166 29.166"
|
|
16
|
+
fill="none"
|
|
17
|
+
aria-hidden="true"
|
|
18
|
+
>
|
|
19
|
+
<path
|
|
20
|
+
fill="currentColor"
|
|
21
|
+
d="M6.33203 3.07745e-06C7.4399 -5.60591e-05 8.3947 -0.000193995 9.15918 0.102542C9.97846 0.212691 10.7643 0.460784 11.4014 1.09766C12.0384 1.73472 12.2873 2.52048 12.3975 3.33985C12.5002 4.10433 12.5001 5.05906 12.5 6.167V22.999C12.5001 24.107 12.5002 25.0617 12.3975 25.8262C12.2873 26.6456 12.0384 27.4313 11.4014 28.0684C10.7643 28.7052 9.97846 28.9533 9.15918 29.0635C8.39468 29.1662 7.43995 29.1661 6.33203 29.166H6.16797C5.05986 29.1661 4.10442 29.1663 3.33985 29.0635C2.52073 28.9533 1.73556 28.7051 1.09864 28.0684C0.461579 27.4313 0.212712 26.6455 0.102542 25.8262C-0.000240402 25.0617 -5.60799e-05 24.107 3.05966e-06 22.999V6.167C-5.60795e-05 5.05906 -0.0002399 4.10433 0.102542 3.33985C0.212713 2.52049 0.461583 1.73471 1.09864 1.09766C1.73556 0.460951 2.52073 0.212707 3.33985 0.102542C4.1044 -0.000249636 5.0599 -5.60698e-05 6.16797 3.07745e-06H6.33203ZM22.999 3.07745e-06C24.107 -5.60622e-05 25.0617 -0.000240443 25.8262 0.102542C26.6455 0.212713 27.4313 0.460616 28.0684 1.09766C28.7054 1.7347 28.9533 2.5205 29.0635 3.33985C29.1663 4.10433 29.1661 5.05906 29.166 6.167V22.999C29.1661 24.107 29.1663 25.0617 29.0635 25.8262C28.9533 26.6455 28.7054 27.4313 28.0684 28.0684C27.4313 28.7054 26.6455 28.9533 25.8262 29.0635C25.0617 29.1663 24.107 29.1661 22.999 29.166H22.834C21.726 29.1661 20.7714 29.1662 20.0068 29.0635C19.1875 28.9533 18.4017 28.7053 17.7647 28.0684C17.1276 27.4313 16.8787 26.6456 16.7686 25.8262C16.6658 25.0617 16.666 24.107 16.666 22.999V6.167C16.666 5.05906 16.6658 4.10433 16.7686 3.33985C16.8787 2.52046 17.1276 1.73473 17.7647 1.09766C18.4017 0.460701 19.1875 0.212698 20.0068 0.102542C20.7714 -0.000223322 21.726 -5.60647e-05 22.834 3.07745e-06H22.999Z"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* play — same viewBox as PauseIcon for visual parity.
|
|
29
|
+
* Figma only shows the pause state; play triangle crafted to match proportions.
|
|
30
|
+
*/
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Pencil / compose icon — 24×24 viewport, stroke-based.
|
|
5
|
+
*
|
|
6
|
+
* Renders at the parent's size (width/height 100%) and inherits
|
|
7
|
+
* color via `stroke="currentColor"` so it responds to `text-*` tokens.
|
|
8
|
+
*/
|
|
9
|
+
export function PencilIcon(props: SVGProps<SVGSVGElement>) {
|
|
10
|
+
return (
|
|
11
|
+
<svg
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
width="100%"
|
|
14
|
+
height="100%"
|
|
15
|
+
viewBox="0 0 24 24"
|
|
16
|
+
fill="none"
|
|
17
|
+
aria-hidden="true"
|
|
18
|
+
{...props}
|
|
19
|
+
>
|
|
20
|
+
<path
|
|
21
|
+
d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"
|
|
22
|
+
stroke="currentColor"
|
|
23
|
+
strokeWidth="1.5"
|
|
24
|
+
strokeLinecap="round"
|
|
25
|
+
strokeLinejoin="round"
|
|
26
|
+
/>
|
|
27
|
+
<path
|
|
28
|
+
d="M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5Z"
|
|
29
|
+
stroke="currentColor"
|
|
30
|
+
strokeWidth="1.5"
|
|
31
|
+
strokeLinecap="round"
|
|
32
|
+
strokeLinejoin="round"
|
|
33
|
+
/>
|
|
34
|
+
</svg>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* PlayButtonCardIcon — 24 × 24 two-tone play glyph used by the `CardMedia`
|
|
5
|
+
* video overlay.
|
|
6
|
+
*
|
|
7
|
+
* The icon ships with its own baked-in colors (matches the Figma asset):
|
|
8
|
+
* - Backdrop path (40 % opacity) → `icon-default` (#161616)
|
|
9
|
+
* - Foreground stroke path → `icon-neutral` (#384250)
|
|
10
|
+
*
|
|
11
|
+
* It's kept separate from the existing `PlayCenterIcon` / `PlayIcon` glyphs
|
|
12
|
+
* so the VideoPlayer family stays untouched. Width/height default to 100 %
|
|
13
|
+
* so the parent `size-icon-*` wrapper drives the rendered size.
|
|
14
|
+
*/
|
|
15
|
+
export function PlayButtonCardIcon(props: SVGProps<SVGSVGElement>) {
|
|
16
|
+
return (
|
|
17
|
+
<svg
|
|
18
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
19
|
+
width="100%"
|
|
20
|
+
height="100%"
|
|
21
|
+
viewBox="0 0 24 24"
|
|
22
|
+
fill="none"
|
|
23
|
+
aria-hidden="true"
|
|
24
|
+
{...props}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
opacity="0.4"
|
|
28
|
+
fillRule="evenodd"
|
|
29
|
+
clipRule="evenodd"
|
|
30
|
+
d="M13.852 6.28676L13.9405 6.33706C15.5735 7.26475 16.8567 7.99375 17.7709 8.66154C18.6913 9.33392 19.3721 10.0367 19.6159 10.9632C19.7947 11.6427 19.7947 12.3574 19.6159 13.0369C19.3721 13.9634 18.6913 14.6662 17.7709 15.3386C16.8567 16.0064 15.5735 16.7354 13.9406 17.663L13.852 17.7134C12.2746 18.6095 11.033 19.3149 10.0232 19.7444C9.0053 20.1774 8.07729 20.3968 7.17536 20.1412C6.51252 19.9534 5.90941 19.5969 5.42356 19.1067C4.76419 18.4414 4.49951 17.522 4.37429 16.4154C4.24998 15.317 4.24999 13.879 4.25 12.0502V11.95C4.24999 10.1211 4.24998 8.68315 4.37429 7.5847C4.49951 6.47816 4.76419 5.55867 5.42356 4.89341C5.90941 4.40323 6.51252 4.04672 7.17536 3.8589C8.07729 3.60331 9.0053 3.82275 10.0232 4.25571C11.033 4.68522 12.2746 5.3906 13.852 6.28676ZM9.43611 5.63604C8.51385 5.24377 7.98374 5.18888 7.58431 5.30207C7.17108 5.41917 6.79377 5.64179 6.48892 5.94935C6.19206 6.24887 5.97861 6.74743 5.86477 7.75337C5.75115 8.75741 5.75 10.1102 5.75 12.0001C5.75 13.8899 5.75115 15.2427 5.86477 16.2467C5.97861 17.2527 6.19206 17.7513 6.48892 18.0508C6.79377 18.3583 7.17108 18.581 7.58431 18.6981C7.98374 18.8112 8.51385 18.7564 9.43611 18.3641C10.3571 17.9724 11.524 17.3108 13.1553 16.384C14.8421 15.4257 16.0497 14.7383 16.8861 14.1273C17.7244 13.5149 18.0557 13.0717 18.1653 12.6552C18.2782 12.2259 18.2782 11.7742 18.1653 11.345C18.0557 10.9285 17.7244 10.4852 16.8861 9.8728C16.0497 9.26183 14.8421 8.57445 13.1553 7.6161C11.524 6.68934 10.3571 6.02776 9.43611 5.63604Z"
|
|
31
|
+
fill="#161616"
|
|
32
|
+
/>
|
|
33
|
+
<path
|
|
34
|
+
fillRule="evenodd"
|
|
35
|
+
clipRule="evenodd"
|
|
36
|
+
d="M13.852 6.28676L13.9405 6.33706C15.5735 7.26475 16.8567 7.99375 17.7709 8.66154C18.6913 9.33392 19.3721 10.0367 19.6159 10.9632C19.7053 11.303 19.75 11.6516 19.75 12.0001C19.75 12.4143 19.4142 12.7501 19 12.7501C18.5858 12.7501 18.25 12.4143 18.25 12.0001C18.25 11.7798 18.2217 11.5595 18.1653 11.345C18.0557 10.9285 17.7244 10.4852 16.8861 9.8728C16.0497 9.26183 14.8421 8.57445 13.1553 7.6161C11.524 6.68934 10.3571 6.02776 9.43611 5.63604C8.51385 5.24377 7.98374 5.18888 7.58431 5.30207C7.17108 5.41917 6.79377 5.64179 6.48892 5.94935C6.19206 6.24887 5.97861 6.74743 5.86477 7.75337C5.75115 8.75741 5.75 10.1102 5.75 12.0001C5.75 12.4143 5.41421 12.7501 5 12.7501C4.58579 12.7501 4.25 12.4143 4.25 12.0001L4.25 11.95C4.24999 10.1211 4.24998 8.68315 4.37429 7.5847C4.49951 6.47816 4.76419 5.55867 5.42356 4.89341C5.90941 4.40323 6.51252 4.04672 7.17536 3.8589C8.07729 3.60331 9.0053 3.82275 10.0232 4.25571C11.033 4.68522 12.2746 5.3906 13.852 6.28676Z"
|
|
37
|
+
fill="#384250"
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/* ─────────────────────────────────────────────────────────────────
|
|
4
|
+
VideoPlayer/icons.tsx
|
|
5
|
+
Exact SVG paths provided directly from Figma by the designer.
|
|
6
|
+
|
|
7
|
+
Rules (per Component Build Guide §2b):
|
|
8
|
+
- width="100%" height="100%" — size controlled by wrapping span
|
|
9
|
+
- fill="currentColor" on all paths — inherits text colour from
|
|
10
|
+
parent so dark-mode, disabled states, and hover work automatically.
|
|
11
|
+
Figma exports use fill="#F3F4F6" (near-white); we convert to
|
|
12
|
+
currentColor so the component CSS colour token drives the shade.
|
|
13
|
+
──────────────────────────────────────────────────────────────────── */
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Large centre play button shown in the Default (paused) state.
|
|
17
|
+
* Figma: 48×48 px. Used in a 48×48 wrapper.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
export function PlayCenterIcon(props: SVGProps<SVGSVGElement>) {
|
|
21
|
+
return (
|
|
22
|
+
<svg
|
|
23
|
+
width="100%"
|
|
24
|
+
height="100%"
|
|
25
|
+
viewBox="0 0 48 48"
|
|
26
|
+
fill="none"
|
|
27
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
28
|
+
aria-hidden="true"
|
|
29
|
+
{...props}
|
|
30
|
+
>
|
|
31
|
+
<path
|
|
32
|
+
d="M27.8811 12.6741C31.1469 14.5295 33.7134 15.9875 35.5417 17.3231C37.3827 18.6678 38.7441 20.0734 39.2318 21.9264C39.5894 23.2854 39.5894 24.7149 39.2318 26.0738C38.7441 27.9268 37.3827 29.3324 35.5417 30.6772C33.7134 32.0127 31.147 33.4707 27.8812 35.3261L27.8812 35.3261C24.7264 37.1184 22.0661 38.6298 20.0464 39.4888C18.0106 40.3547 16.1546 40.7936 14.3507 40.2825C13.025 39.9068 11.8188 39.1938 10.8471 38.2134C9.52838 36.8829 8.99902 35.0439 8.74858 32.8308C8.49996 30.634 8.49998 27.7581 8.5 24.1003V24.1003V23.8999V23.8999C8.49998 20.2422 8.49996 17.3663 8.74858 15.1694C8.99902 12.9563 9.52838 11.1173 10.8471 9.78683C11.8188 8.80646 13.025 8.09345 14.3507 7.71779C16.1546 7.20662 18.0106 7.64551 20.0464 8.51142C22.0661 9.37044 24.7263 10.8818 27.8811 12.6741Z"
|
|
33
|
+
fill="currentColor"
|
|
34
|
+
/>
|
|
35
|
+
</svg>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Pause icon (two rounded vertical bars) used in the controls bar.
|
|
41
|
+
* Figma: provided in a 96×40 combined transport row. Only the two
|
|
42
|
+
* bar paths (middle section, x ≈ 33–63 in the 96-unit space) are
|
|
43
|
+
* extracted here; translated by -27.995 to centre them in a 40×40 viewBox.
|
|
44
|
+
* Used at 40×40 px.
|
|
45
|
+
*/
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* ─────────────────────────────────────────────────────────────────
|
|
2
|
+
icons.tsx — AudioPlayer icon set
|
|
3
|
+
All paths retrieved directly from Figma asset exports.
|
|
4
|
+
fill="currentColor" enables dark-mode & hover state via CSS.
|
|
5
|
+
Icon names match Figma component names exactly.
|
|
6
|
+
──────────────────────────────────────────────────────────────────── */
|
|
7
|
+
|
|
8
|
+
/** go-backward-10-sec — viewBox 0 0 17.915 17.917 */
|
|
9
|
+
|
|
10
|
+
export function PlayIcon() {
|
|
11
|
+
return (
|
|
12
|
+
<svg
|
|
13
|
+
width="100%"
|
|
14
|
+
height="100%"
|
|
15
|
+
viewBox="0 0 29.166 29.166"
|
|
16
|
+
fill="none"
|
|
17
|
+
aria-hidden="true"
|
|
18
|
+
>
|
|
19
|
+
<path
|
|
20
|
+
fill="currentColor"
|
|
21
|
+
d="M5 3.5C5 2.119 6.508 1.294 7.686 2.022L25.769 13.021C26.899 13.719 26.899 15.447 25.769 16.145L7.686 27.144C6.508 27.872 5 27.047 5 25.666V3.5Z"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** go-forward-10-sec — viewBox 0 0 17.917 17.918 */
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function PlayIconSolid(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
viewBox="0 0 16 16"
|
|
8
|
+
fill="none"
|
|
9
|
+
width="100%"
|
|
10
|
+
height="100%"
|
|
11
|
+
aria-hidden="true"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fillRule="evenodd"
|
|
16
|
+
clipRule="evenodd"
|
|
17
|
+
d="M9.23464 4.19117L9.29367 4.22471C10.3823 4.84316 11.2378 5.32917 11.8472 5.77436C12.4609 6.22261 12.9147 6.69113 13.0772 7.30881C13.1964 7.76179 13.1964 8.23829 13.0772 8.69127C12.9147 9.30895 12.4609 9.77747 11.8472 10.2257C11.2378 10.6709 10.3823 11.1569 9.2937 11.7754L9.23465 11.8089C8.18305 12.4063 7.35533 12.8766 6.68213 13.1629C6.00351 13.4516 5.38484 13.5979 4.78355 13.4275C4.34166 13.3023 3.93959 13.0646 3.61569 12.7378C3.1761 12.2943 2.99965 11.6813 2.91617 10.9436C2.8333 10.2113 2.83331 9.25269 2.83331 8.03344V7.96665C2.83331 6.74739 2.8333 5.78877 2.91617 5.05647C2.99965 4.31877 3.1761 3.70578 3.61569 3.26228C3.93959 2.93549 4.34166 2.69782 4.78355 2.5726C5.38484 2.40221 6.00351 2.5485 6.68213 2.83714C7.35533 3.12348 8.18305 3.59373 9.23464 4.19117ZM6.29072 3.75736C5.67588 3.49585 5.32247 3.45926 5.05619 3.53471C4.7807 3.61278 4.52916 3.76119 4.32593 3.96623C4.12802 4.16591 3.98572 4.49828 3.90983 5.16892C3.83408 5.83828 3.83331 6.74013 3.83331 8.00004C3.83331 9.25995 3.83408 10.1618 3.90983 10.8312C3.98572 11.5018 4.12802 11.8342 4.32593 12.0338C4.52916 12.2389 4.7807 12.3873 5.05619 12.4654C5.32247 12.5408 5.67588 12.5042 6.29072 12.2427C6.9047 11.9816 7.68265 11.5405 8.77016 10.9227C9.89474 10.2838 10.6998 9.82553 11.2574 9.41822C11.8163 9.00995 12.0371 8.71445 12.1102 8.43677C12.1855 8.15061 12.1855 7.84947 12.1102 7.56331C12.0371 7.28563 11.8163 6.99014 11.2574 6.58186C10.6998 6.17456 9.89474 5.7163 8.77016 5.0774C7.68265 4.45956 6.9047 4.01851 6.29072 3.75736Z"
|
|
18
|
+
fill="currentColor"
|
|
19
|
+
/>
|
|
20
|
+
<path
|
|
21
|
+
fillRule="evenodd"
|
|
22
|
+
clipRule="evenodd"
|
|
23
|
+
d="M9.23464 4.19117L9.29367 4.22471C10.3823 4.84316 11.2378 5.32917 11.8472 5.77436C12.4609 6.22261 12.9147 6.69113 13.0772 7.30881C13.1369 7.53533 13.1666 7.76771 13.1666 8.00004C13.1666 8.27618 12.9428 8.50004 12.6666 8.50004C12.3905 8.50004 12.1666 8.27618 12.1666 8.00004C12.1666 7.85318 12.1478 7.70636 12.1102 7.56331C12.0371 7.28563 11.8163 6.99014 11.2574 6.58186C10.6998 6.17456 9.89474 5.7163 8.77016 5.0774C7.68265 4.45956 6.9047 4.01851 6.29072 3.75736C5.67588 3.49585 5.32247 3.45926 5.05619 3.53471C4.7807 3.61278 4.52916 3.76119 4.32593 3.96623C4.12802 4.16591 3.98572 4.49828 3.90983 5.16892C3.83408 5.83828 3.83331 6.74013 3.83331 8.00004C3.83331 8.27618 3.60946 8.50004 3.33331 8.50004C3.05717 8.50004 2.83331 8.27618 2.83331 8.00004L2.83331 7.96665C2.83331 6.74739 2.8333 5.78877 2.91617 5.05647C2.99965 4.31877 3.1761 3.70578 3.61569 3.26228C3.93959 2.93549 4.34166 2.69782 4.78355 2.5726C5.38484 2.40221 6.00351 2.5485 6.68213 2.83714C7.35533 3.12348 8.18305 3.59373 9.23464 4.19117Z"
|
|
24
|
+
fill="currentColor"
|
|
25
|
+
/>
|
|
26
|
+
</svg>
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Play icon — Outline / ring only (Path 1 at full opacity, no Path 2).
|
|
32
|
+
* Used as the trailing icon where a lighter weight appearance is needed.
|
|
33
|
+
*/
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function PlayIconStroke(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
viewBox="0 0 16 16"
|
|
8
|
+
fill="none"
|
|
9
|
+
width="100%"
|
|
10
|
+
height="100%"
|
|
11
|
+
aria-hidden="true"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fillRule="evenodd"
|
|
16
|
+
clipRule="evenodd"
|
|
17
|
+
d="M9.23464 4.19117L9.29367 4.22471C10.3823 4.84316 11.2378 5.32917 11.8472 5.77436C12.4609 6.22261 12.9147 6.69113 13.0772 7.30881C13.1964 7.76179 13.1964 8.23829 13.0772 8.69127C12.9147 9.30895 12.4609 9.77747 11.8472 10.2257C11.2378 10.6709 10.3823 11.1569 9.2937 11.7754L9.23465 11.8089C8.18305 12.4063 7.35533 12.8766 6.68213 13.1629C6.00351 13.4516 5.38484 13.5979 4.78355 13.4275C4.34166 13.3023 3.93959 13.0646 3.61569 12.7378C3.1761 12.2943 2.99965 11.6813 2.91617 10.9436C2.8333 10.2113 2.83331 9.25269 2.83331 8.03344V7.96665C2.83331 6.74739 2.8333 5.78877 2.91617 5.05647C2.99965 4.31877 3.1761 3.70578 3.61569 3.26228C3.93959 2.93549 4.34166 2.69782 4.78355 2.5726C5.38484 2.40221 6.00351 2.5485 6.68213 2.83714C7.35533 3.12348 8.18305 3.59373 9.23464 4.19117ZM6.29072 3.75736C5.67588 3.49585 5.32247 3.45926 5.05619 3.53471C4.7807 3.61278 4.52916 3.76119 4.32593 3.96623C4.12802 4.16591 3.98572 4.49828 3.90983 5.16892C3.83408 5.83828 3.83331 6.74013 3.83331 8.00004C3.83331 9.25995 3.83408 10.1618 3.90983 10.8312C3.98572 11.5018 4.12802 11.8342 4.32593 12.0338C4.52916 12.2389 4.7807 12.3873 5.05619 12.4654C5.32247 12.5408 5.67588 12.5042 6.29072 12.2427C6.9047 11.9816 7.68265 11.5405 8.77016 10.9227C9.89474 10.2838 10.6998 9.82553 11.2574 9.41822C11.8163 9.00995 12.0371 8.71445 12.1102 8.43677C12.1855 8.15061 12.1855 7.84947 12.1102 7.56331C12.0371 7.28563 11.8163 6.99014 11.2574 6.58186C10.6998 6.17456 9.89474 5.7163 8.77016 5.0774C7.68265 4.45956 6.9047 4.01851 6.29072 3.75736Z"
|
|
18
|
+
fill="currentColor"
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
export function PlayIconTwotone(props: SVGProps<SVGSVGElement>) {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
viewBox="0 0 16 16"
|
|
8
|
+
fill="none"
|
|
9
|
+
width="100%"
|
|
10
|
+
height="100%"
|
|
11
|
+
aria-hidden="true"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
{/* Outer ring at 0.4 opacity — dimmed background layer */}
|
|
15
|
+
<path
|
|
16
|
+
opacity="0.4"
|
|
17
|
+
fillRule="evenodd"
|
|
18
|
+
clipRule="evenodd"
|
|
19
|
+
d="M9.23464 4.19117L9.29367 4.22471C10.3823 4.84316 11.2378 5.32917 11.8472 5.77436C12.4609 6.22261 12.9147 6.69113 13.0772 7.30881C13.1964 7.76179 13.1964 8.23829 13.0772 8.69127C12.9147 9.30895 12.4609 9.77747 11.8472 10.2257C11.2378 10.6709 10.3823 11.1569 9.2937 11.7754L9.23465 11.8089C8.18305 12.4063 7.35533 12.8766 6.68213 13.1629C6.00351 13.4516 5.38484 13.5979 4.78355 13.4275C4.34166 13.3023 3.93959 13.0646 3.61569 12.7378C3.1761 12.2943 2.99965 11.6813 2.91617 10.9436C2.8333 10.2113 2.83331 9.25269 2.83331 8.03344V7.96665C2.83331 6.74739 2.8333 5.78877 2.91617 5.05647C2.99965 4.31877 3.1761 3.70578 3.61569 3.26228C3.93959 2.93549 4.34166 2.69782 4.78355 2.5726C5.38484 2.40221 6.00351 2.5485 6.68213 2.83714C7.35533 3.12348 8.18305 3.59373 9.23464 4.19117ZM6.29072 3.75736C5.67588 3.49585 5.32247 3.45926 5.05619 3.53471C4.7807 3.61278 4.52916 3.76119 4.32593 3.96623C4.12802 4.16591 3.98572 4.49828 3.90983 5.16892C3.83408 5.83828 3.83331 6.74013 3.83331 8.00004C3.83331 9.25995 3.83408 10.1618 3.90983 10.8312C3.98572 11.5018 4.12802 11.8342 4.32593 12.0338C4.52916 12.2389 4.7807 12.3873 5.05619 12.4654C5.32247 12.5408 5.67588 12.5042 6.29072 12.2427C6.9047 11.9816 7.68265 11.5405 8.77016 10.9227C9.89474 10.2838 10.6998 9.82553 11.2574 9.41822C11.8163 9.00995 12.0371 8.71445 12.1102 8.43677C12.1855 8.15061 12.1855 7.84947 12.1102 7.56331C12.0371 7.28563 11.8163 6.99014 11.2574 6.58186C10.6998 6.17456 9.89474 5.7163 8.77016 5.0774C7.68265 4.45956 6.9047 4.01851 6.29072 3.75736Z"
|
|
20
|
+
fill="currentColor"
|
|
21
|
+
/>
|
|
22
|
+
{/* Solid foreground shape */}
|
|
23
|
+
<path
|
|
24
|
+
fillRule="evenodd"
|
|
25
|
+
clipRule="evenodd"
|
|
26
|
+
d="M9.23464 4.19117L9.29367 4.22471C10.3823 4.84316 11.2378 5.32917 11.8472 5.77436C12.4609 6.22261 12.9147 6.69113 13.0772 7.30881C13.1369 7.53533 13.1666 7.76771 13.1666 8.00004C13.1666 8.27618 12.9428 8.50004 12.6666 8.50004C12.3905 8.50004 12.1666 8.27618 12.1666 8.00004C12.1666 7.85318 12.1478 7.70636 12.1102 7.56331C12.0371 7.28563 11.8163 6.99014 11.2574 6.58186C10.6998 6.17456 9.89474 5.7163 8.77016 5.0774C7.68265 4.45956 6.9047 4.01851 6.29072 3.75736C5.67588 3.49585 5.32247 3.45926 5.05619 3.53471C4.7807 3.61278 4.52916 3.76119 4.32593 3.96623C4.12802 4.16591 3.98572 4.49828 3.90983 5.16892C3.83408 5.83828 3.83331 6.74013 3.83331 8.00004C3.83331 8.27618 3.60946 8.50004 3.33331 8.50004C3.05717 8.50004 2.83331 8.27618 2.83331 8.00004L2.83331 7.96665C2.83331 6.74739 2.8333 5.78877 2.91617 5.05647C2.99965 4.31877 3.1761 3.70578 3.61569 3.26228C3.93959 2.93549 4.34166 2.69782 4.78355 2.5726C5.38484 2.40221 6.00351 2.5485 6.68213 2.83714C7.35533 3.12348 8.18305 3.59373 9.23464 4.19117Z"
|
|
27
|
+
fill="currentColor"
|
|
28
|
+
/>
|
|
29
|
+
</svg>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Play icon — Solid style (both paths at full opacity).
|
|
35
|
+
* Used as the leading icon in Active / selected states and on Brand Background.
|
|
36
|
+
*/
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/** Info icon — circle with question mark. Used as default `icon={true}`. */
|
|
4
|
+
|
|
5
|
+
export function PlayVideoIcon(props: SVGProps<SVGSVGElement>) {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
width={48}
|
|
10
|
+
height={48}
|
|
11
|
+
fill="none"
|
|
12
|
+
{...props}
|
|
13
|
+
>
|
|
14
|
+
<path
|
|
15
|
+
fill="#F3F4F6"
|
|
16
|
+
d="M27.881 12.674c3.266 1.856 5.832 3.314 7.66 4.65 1.842 1.344 3.203 2.75 3.69 4.602a8.15 8.15 0 0 1 0 4.148c-.487 1.853-1.848 3.258-3.69 4.603-1.828 1.336-4.394 2.794-7.66 4.65-3.155 1.791-5.815 3.303-7.835 4.162-2.035.866-3.891 1.305-5.695.794a8.008 8.008 0 0 1-3.504-2.07C9.528 36.883 9 35.043 8.75 32.831 8.5 30.634 8.5 27.758 8.5 24.1V23.9c0-3.658 0-6.534.249-8.73.25-2.214.78-4.053 2.098-5.383a8.007 8.007 0 0 1 3.504-2.07c1.804-.51 3.66-.071 5.695.794 2.02.86 4.68 2.37 7.835 4.163Z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Question mark icon — dark-filled circle with a white "?" mark (18 × 18).
|
|
23
|
+
*
|
|
24
|
+
* The circle fill uses `currentColor` so the parent's `text-*` class drives
|
|
25
|
+
* the background colour:
|
|
26
|
+
* light mode → text-[rgba(56,66,80,1)] (Icon/icon-neutral = #384250)
|
|
27
|
+
* dark mode → text-[rgba(157,164,174,1)] (Icon/icon-default-400 = #9DA4AE)
|
|
28
|
+
*
|
|
29
|
+
* The "?" body and dot paths are hardcoded white so they stay legible on any
|
|
30
|
+
* dark circle colour. viewBox sourced from Figma (18 × 18).
|
|
31
|
+
*/
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Card icons — colocated inside the package so the component has no
|
|
5
|
+
* dependency on the host app's `/public` folder. All icons use
|
|
6
|
+
* `currentColor`.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
type IconProps = React.SVGProps<SVGSVGElement>;
|
|
10
|
+
|
|
11
|
+
const base20: IconProps = {
|
|
12
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
13
|
+
width: 20,
|
|
14
|
+
height: 20,
|
|
15
|
+
viewBox: '0 0 20 20',
|
|
16
|
+
fill: 'none',
|
|
17
|
+
'aria-hidden': true,
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const base24: IconProps = {
|
|
21
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
22
|
+
width: 24,
|
|
23
|
+
height: 24,
|
|
24
|
+
viewBox: '0 0 24 24',
|
|
25
|
+
fill: 'none',
|
|
26
|
+
'aria-hidden': true,
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/* More-vertical (kebab) — used in Card header action button */
|
|
30
|
+
|
|
31
|
+
export const PlusCircleIcon = (props: IconProps) => (
|
|
32
|
+
<svg {...base24} {...props}>
|
|
33
|
+
<path
|
|
34
|
+
stroke="currentColor"
|
|
35
|
+
strokeLinecap="round"
|
|
36
|
+
strokeLinejoin="round"
|
|
37
|
+
strokeWidth={1.5}
|
|
38
|
+
d="M12 8v8m-4-4h8m6 0a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z"
|
|
39
|
+
/>
|
|
40
|
+
</svg>
|
|
41
|
+
);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Inline SVG icons for InputPrefixSuffix.
|
|
3
|
+
*
|
|
4
|
+
* All icons:
|
|
5
|
+
* - Use `width="100%" height="100%"` — the wrapping span controls the size.
|
|
6
|
+
* - Use `currentColor` — the wrapping span's `text-*` class drives the color.
|
|
7
|
+
* - Have `aria-hidden="true"` — the parent button's `aria-label` provides the label.
|
|
8
|
+
* - Paths extracted from Figma node 5285:77926.
|
|
9
|
+
*
|
|
10
|
+
* SVG path sources:
|
|
11
|
+
* minus-sign → Figma node 5285:77212 (horizontal bar, 24×24 vp)
|
|
12
|
+
* plus-sign → Figma node 5285:77252 (cross/plus, 24×24 vp)
|
|
13
|
+
* unfold-more → Figma node 5285:80168 (up+down chevrons, 24×24 vp)
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
/** Minus (−) — horizontal bar, centered in a 24×24 viewport. */
|
|
17
|
+
|
|
18
|
+
export function PlusIcon({ className }: { className?: string }) {
|
|
19
|
+
return (
|
|
20
|
+
<svg
|
|
21
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
22
|
+
width="100%"
|
|
23
|
+
height="100%"
|
|
24
|
+
viewBox="0 0 24 24"
|
|
25
|
+
fill="none"
|
|
26
|
+
aria-hidden="true"
|
|
27
|
+
className={className}
|
|
28
|
+
>
|
|
29
|
+
<path
|
|
30
|
+
d="M12 5v14M5 12h14"
|
|
31
|
+
stroke="currentColor"
|
|
32
|
+
strokeWidth="1.5"
|
|
33
|
+
strokeLinecap="round"
|
|
34
|
+
strokeLinejoin="round"
|
|
35
|
+
/>
|
|
36
|
+
</svg>
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Unfold-more (↕) — paired up + down chevrons, 24×24 viewport.
|
|
42
|
+
* Used as the expand / dropdown trigger variant (Figma Type=Arrow).
|
|
43
|
+
*/
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/* ─────────────────────────────────────────────────────────────────
|
|
4
|
+
VideoPlayer/icons.tsx
|
|
5
|
+
Exact SVG paths provided directly from Figma by the designer.
|
|
6
|
+
|
|
7
|
+
Rules (per Component Build Guide §2b):
|
|
8
|
+
- width="100%" height="100%" — size controlled by wrapping span
|
|
9
|
+
- fill="currentColor" on all paths — inherits text colour from
|
|
10
|
+
parent so dark-mode, disabled states, and hover work automatically.
|
|
11
|
+
Figma exports use fill="#F3F4F6" (near-white); we convert to
|
|
12
|
+
currentColor so the component CSS colour token drives the shade.
|
|
13
|
+
──────────────────────────────────────────────────────────────────── */
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Large centre play button shown in the Default (paused) state.
|
|
17
|
+
* Figma: 48×48 px. Used in a 48×48 wrapper.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
export function PreviousIcon(props: SVGProps<SVGSVGElement>) {
|
|
21
|
+
return (
|
|
22
|
+
<svg
|
|
23
|
+
width="100%"
|
|
24
|
+
height="100%"
|
|
25
|
+
viewBox="0 0 20 20"
|
|
26
|
+
fill="none"
|
|
27
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
28
|
+
aria-hidden="true"
|
|
29
|
+
{...props}
|
|
30
|
+
>
|
|
31
|
+
<path
|
|
32
|
+
fillRule="evenodd"
|
|
33
|
+
clipRule="evenodd"
|
|
34
|
+
d="M3.43457 2.5C3.8947 2.5 4.2674 2.87292 4.26758 3.33301L4.26758 16.667C4.2674 17.1271 3.8947 17.5 3.43457 17.5C2.97444 17.5 2.60174 17.1271 2.60156 16.667L2.60156 3.33301C2.60174 2.87292 2.97444 2.5 3.43457 2.5ZM13.0312 3.99414C13.808 3.6189 14.5463 3.40986 15.2754 3.63281C15.7054 3.76429 16.0988 3.99544 16.4277 4.30566C16.9783 4.82497 17.1925 5.57094 17.293 6.45215C17.3931 7.33064 17.3926 8.48896 17.3926 9.95801V10.042C17.3926 11.511 17.3931 12.6694 17.293 13.5479C17.1925 14.4291 16.9783 15.175 16.4277 15.6943C16.0988 16.0046 15.7054 16.2357 15.2754 16.3672C14.5463 16.5901 13.808 16.3811 13.0313 16.0059C12.2593 15.6329 11.3128 15.0249 10.1182 14.2568L10.0439 14.209C8.94692 13.5037 8.07466 12.9435 7.45508 12.4307C6.82478 11.9089 6.35924 11.3604 6.20996 10.6494C6.1202 10.2215 6.1202 9.7785 6.20996 9.35059C6.35924 8.63955 6.82478 8.09108 7.45508 7.56934C8.07467 7.0565 8.94692 6.49626 10.0439 5.79102L10.1182 5.74316C11.3128 4.97513 12.2593 4.36711 13.0312 3.99414Z"
|
|
35
|
+
fill="currentColor"
|
|
36
|
+
/>
|
|
37
|
+
</svg>
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Skip-forward / Next icon.
|
|
43
|
+
* Figma: 20×20 px. Right-pointing play triangle + vertical bar on right.
|
|
44
|
+
*/
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/** Arrow pointing left — used for "previous" navigation. */
|
|
4
|
+
|
|
5
|
+
export function PrintIcon(props: SVGProps<SVGSVGElement>) {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
viewBox="0 0 24 24"
|
|
9
|
+
fill="none"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
strokeWidth={1.5}
|
|
13
|
+
strokeLinecap="round"
|
|
14
|
+
strokeLinejoin="round"
|
|
15
|
+
aria-hidden="true"
|
|
16
|
+
{...props}
|
|
17
|
+
>
|
|
18
|
+
<polyline points="6 9 6 2 18 2 18 9" />
|
|
19
|
+
<path d="M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" />
|
|
20
|
+
<rect x="6" y="14" width="12" height="8" />
|
|
21
|
+
</svg>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Close — X icon. */
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Question mark in a gray circle (20 × 20).
|
|
5
|
+
* Used as the HelpIcon trigger button.
|
|
6
|
+
*
|
|
7
|
+
* Colors are intentionally hardcoded — this is a two-colour icon
|
|
8
|
+
* (white fill + Figma variable Icon/icon-default-400 = #9DA4AE) and
|
|
9
|
+
* cannot be driven by a single `currentColor` value.
|
|
10
|
+
* viewBox sourced from Figma node I5024:59535.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export function QuestionMarkGrayBgIcon(props: SVGProps<SVGSVGElement>) {
|
|
14
|
+
return (
|
|
15
|
+
<svg
|
|
16
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
width="100%"
|
|
18
|
+
height="100%"
|
|
19
|
+
viewBox="0 0 20 20"
|
|
20
|
+
fill="none"
|
|
21
|
+
aria-hidden="true"
|
|
22
|
+
{...props}
|
|
23
|
+
>
|
|
24
|
+
{/* White circle background */}
|
|
25
|
+
<path
|
|
26
|
+
fill="#fff"
|
|
27
|
+
fillRule="evenodd"
|
|
28
|
+
d="M10.003 19.166a9.167 9.167 0 1 0 0-18.333 9.167 9.167 0 0 0 0 18.333Z"
|
|
29
|
+
clipRule="evenodd"
|
|
30
|
+
/>
|
|
31
|
+
{/* Gray circle outline + question mark — Icon/icon-default-400 (#9DA4AE) */}
|
|
32
|
+
<path
|
|
33
|
+
fill="#9DA4AE"
|
|
34
|
+
fillRule="evenodd"
|
|
35
|
+
d="M19.17 10A9.167 9.167 0 1 1 .835 10a9.167 9.167 0 0 1 18.333 0ZM9.016 6.896a1.667 1.667 0 0 1 2.51 1.44c0 .392-.303.8-.878 1.182a5.045 5.045 0 0 1-1.039.524l-.013.004a.833.833 0 0 0 .528 1.581l-.264-.79.265.79h.001l.003-.002.01-.003.028-.01a6.502 6.502 0 0 0 .422-.17c.263-.117.62-.295.983-.537.676-.45 1.621-1.292 1.621-2.567a3.333 3.333 0 0 0-6.477-1.111.833.833 0 1 0 1.572.553c.13-.371.388-.684.728-.884Zm.91 6.44a.833.833 0 0 0 0 1.667h.01a.833.833 0 0 0 0-1.666h-.01Z"
|
|
36
|
+
clipRule="evenodd"
|
|
37
|
+
/>
|
|
38
|
+
</svg>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Question mark icon — dark-filled circle with a white "?" mark (18 × 18).
|
|
44
|
+
* Used as the leading icon inside the HelpIcon tooltip body.
|
|
45
|
+
*
|
|
46
|
+
* Circle fill uses `currentColor` so the parent's `text-*` class controls
|
|
47
|
+
* the background colour:
|
|
48
|
+
* light mode → rgba(56,66,80,1) = Icon/icon-neutral (#384250)
|
|
49
|
+
* dark mode → rgba(157,164,174,1) = Icon/icon-default-400 (#9DA4AE)
|
|
50
|
+
*
|
|
51
|
+
* viewBox sourced from Figma (18 × 18).
|
|
52
|
+
*/
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Question mark in a gray circle (20 × 20).
|
|
5
|
+
* Used as the HelpIcon trigger button.
|
|
6
|
+
*
|
|
7
|
+
* Colors are intentionally hardcoded — this is a two-colour icon
|
|
8
|
+
* (white fill + Figma variable Icon/icon-default-400 = #9DA4AE) and
|
|
9
|
+
* cannot be driven by a single `currentColor` value.
|
|
10
|
+
* viewBox sourced from Figma node I5024:59535.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export function QuestionMarkIcon(props: SVGProps<SVGSVGElement>) {
|
|
14
|
+
return (
|
|
15
|
+
<svg
|
|
16
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
17
|
+
width="100%"
|
|
18
|
+
height="100%"
|
|
19
|
+
viewBox="0 0 18 18"
|
|
20
|
+
fill="none"
|
|
21
|
+
aria-hidden="true"
|
|
22
|
+
{...props}
|
|
23
|
+
>
|
|
24
|
+
{/* Dark-filled circle — colour driven by currentColor (ICON_TYPE class) */}
|
|
25
|
+
<path
|
|
26
|
+
fill="currentColor"
|
|
27
|
+
fillRule="evenodd"
|
|
28
|
+
d="M9 17.25A8.25 8.25 0 1 0 9 .75a8.25 8.25 0 0 0 0 16.5Z"
|
|
29
|
+
clipRule="evenodd"
|
|
30
|
+
/>
|
|
31
|
+
{/* White "?" body */}
|
|
32
|
+
<path
|
|
33
|
+
fill="#fff"
|
|
34
|
+
fillRule="evenodd"
|
|
35
|
+
d="M8.113 6.207a1.5 1.5 0 0 1 2.26 1.295v.001c0 .352-.274.719-.791 1.064a4.536 4.536 0 0 1-.935.47l-.012.005a.75.75 0 0 0 .475 1.423l-.237-.712.238.712h.001l.003-.002.008-.003.026-.009a5.862 5.862 0 0 0 .38-.153c.237-.105.558-.265.885-.483.607-.405 1.458-1.163 1.459-2.311a3 3 0 0 0-5.83-1 .75.75 0 0 0 1.415.498 1.5 1.5 0 0 1 .655-.795Z"
|
|
36
|
+
clipRule="evenodd"
|
|
37
|
+
/>
|
|
38
|
+
{/* White "?" dot */}
|
|
39
|
+
<path
|
|
40
|
+
fill="#fff"
|
|
41
|
+
fillRule="evenodd"
|
|
42
|
+
d="M8.933 12.003a.75.75 0 1 0 0 1.5h.007a.75.75 0 0 0 0-1.5h-.007Z"
|
|
43
|
+
clipRule="evenodd"
|
|
44
|
+
/>
|
|
45
|
+
</svg>
|
|
46
|
+
);
|
|
47
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { SVGProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/* ── 24×24 toolbar icons ────────────────────────────────────── */
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Undo icon (undo-03) — 24×24 px.
|
|
7
|
+
* Figma: node inside Rich Text Editor 6259:88649
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export function RedoIcon({ className, ...props }: SVGProps<SVGSVGElement>) {
|
|
11
|
+
return (
|
|
12
|
+
<svg
|
|
13
|
+
viewBox="0 0 24 24"
|
|
14
|
+
fill="none"
|
|
15
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
+
aria-hidden="true"
|
|
17
|
+
className={className}
|
|
18
|
+
{...props}
|
|
19
|
+
>
|
|
20
|
+
<path
|
|
21
|
+
d="M21 8H9C5.68629 8 3 10.6863 3 14C3 17.3137 5.68629 20 9 20H13"
|
|
22
|
+
stroke="currentColor"
|
|
23
|
+
strokeWidth="1.5"
|
|
24
|
+
strokeLinecap="round"
|
|
25
|
+
strokeLinejoin="round"
|
|
26
|
+
/>
|
|
27
|
+
<path
|
|
28
|
+
d="M17 4L18.1538 4.87652C20.0513 6.31801 21 7.03875 21 8C21 8.96125 20.0513 9.68199 18.1538 11.1235L17 12"
|
|
29
|
+
stroke="currentColor"
|
|
30
|
+
strokeWidth="1.5"
|
|
31
|
+
strokeLinecap="round"
|
|
32
|
+
strokeLinejoin="round"
|
|
33
|
+
/>
|
|
34
|
+
</svg>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Bold icon (text-bold) — 16×16 px.
|
|
40
|
+
* Figma: node inside Rich Text Editor 6259:88649
|
|
41
|
+
*/
|