@once-ui-system/core 1.7.10 → 1.7.12
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/ai/catalog.json +1650 -0
- package/ai/catalog.seed.json +411 -0
- package/ai/components/Accordion.json +136 -0
- package/ai/components/AccordionGroup.json +128 -0
- package/ai/components/Animation.json +146 -0
- package/ai/components/Arrow.json +128 -0
- package/ai/components/AutoScroll.json +130 -0
- package/ai/components/Avatar.json +133 -0
- package/ai/components/AvatarGroup.json +129 -0
- package/ai/components/Background.json +131 -0
- package/ai/components/Badge.json +132 -0
- package/ai/components/Banner.json +122 -0
- package/ai/components/BarChart.json +123 -0
- package/ai/components/BlobFx.json +125 -0
- package/ai/components/BlockQuote.json +132 -0
- package/ai/components/Button.json +26 -0
- package/ai/components/Card.json +129 -0
- package/ai/components/Carousel.json +134 -0
- package/ai/components/CelebrationFx.json +132 -0
- package/ai/components/ChartHeader.json +130 -0
- package/ai/components/ChartStatus.json +12 -0
- package/ai/components/Checkbox.json +13 -0
- package/ai/components/Chip.json +132 -0
- package/ai/components/CodeBlock.json +122 -0
- package/ai/components/ColorInput.json +13 -0
- package/ai/components/Column.json +128 -0
- package/ai/components/CompareImage.json +126 -0
- package/ai/components/ContextMenu.json +22 -0
- package/ai/components/CountFx.json +82 -0
- package/ai/components/CountdownFx.json +11 -0
- package/ai/components/Cursor.json +9 -0
- package/ai/components/CursorCard.json +128 -0
- package/ai/components/DataTooltip.json +15 -0
- package/ai/components/DateInput.json +21 -0
- package/ai/components/DatePicker.json +143 -0
- package/ai/components/DateRangeInput.json +18 -0
- package/ai/components/DateRangePicker.json +129 -0
- package/ai/components/Dialog.json +134 -0
- package/ai/components/DialogProvider.json +8 -0
- package/ai/components/Dropdown.json +128 -0
- package/ai/components/DropdownWrapper.json +28 -0
- package/ai/components/EmojiPicker.json +129 -0
- package/ai/components/EmojiPickerDropdown.json +13 -0
- package/ai/components/Fade.json +130 -0
- package/ai/components/FadingLettersFx.json +77 -0
- package/ai/components/Feedback.json +132 -0
- package/ai/components/Flex.json +125 -0
- package/ai/components/FlipFx.json +133 -0
- package/ai/components/GlitchFx.json +128 -0
- package/ai/components/Grid.json +121 -0
- package/ai/components/Heading.json +75 -0
- package/ai/components/HeadingLink.json +127 -0
- package/ai/components/HeadingNav.json +124 -0
- package/ai/components/HoloFx.json +128 -0
- package/ai/components/Hover.json +130 -0
- package/ai/components/HoverCard.json +122 -0
- package/ai/components/Icon.json +132 -0
- package/ai/components/IconButton.json +22 -0
- package/ai/components/InfiniteScroll.json +130 -0
- package/ai/components/InlineCode.json +126 -0
- package/ai/components/Input.json +24 -0
- package/ai/components/InteractiveDetails.json +14 -0
- package/ai/components/Kbar.json +10 -0
- package/ai/components/Kbd.json +127 -0
- package/ai/components/Legend.json +14 -0
- package/ai/components/LetterFx.json +14 -0
- package/ai/components/Line.json +125 -0
- package/ai/components/LineBarChart.json +123 -0
- package/ai/components/LineChart.json +123 -0
- package/ai/components/LinearGauge.json +130 -0
- package/ai/components/LinearGradient.json +15 -0
- package/ai/components/List.json +127 -0
- package/ai/components/ListItem.json +77 -0
- package/ai/components/Logo.json +16 -0
- package/ai/components/LogoCloud.json +124 -0
- package/ai/components/Mask.json +131 -0
- package/ai/components/MasonryGrid.json +132 -0
- package/ai/components/MatrixFx.json +135 -0
- package/ai/components/Media.json +142 -0
- package/ai/components/MediaUpload.json +122 -0
- package/ai/components/MegaMenu.json +125 -0
- package/ai/components/MobileMegaMenu.json +125 -0
- package/ai/components/Modal.json +12 -0
- package/ai/components/NavIcon.json +127 -0
- package/ai/components/NumberInput.json +16 -0
- package/ai/components/OTPInput.json +13 -0
- package/ai/components/OgCard.json +135 -0
- package/ai/components/Option.json +137 -0
- package/ai/components/Particle.json +135 -0
- package/ai/components/PasswordInput.json +8 -0
- package/ai/components/PieChart.json +123 -0
- package/ai/components/ProgressBar.json +131 -0
- package/ai/components/Pulse.json +129 -0
- package/ai/components/RadialGauge.json +134 -0
- package/ai/components/RadialGradient.json +16 -0
- package/ai/components/RadioButton.json +17 -0
- package/ai/components/RevealFx.json +131 -0
- package/ai/components/Row.json +128 -0
- package/ai/components/Schema.json +17 -0
- package/ai/components/ScrollContainer.json +126 -0
- package/ai/components/ScrollToTop.json +124 -0
- package/ai/components/Scroller.json +128 -0
- package/ai/components/SegmentedControl.json +132 -0
- package/ai/components/Select.json +21 -0
- package/ai/components/ShineFx.json +80 -0
- package/ai/components/Skeleton.json +129 -0
- package/ai/components/Slider.json +17 -0
- package/ai/components/SmartLink.json +17 -0
- package/ai/components/Spinner.json +127 -0
- package/ai/components/SplitView.json +129 -0
- package/ai/components/StatusIndicator.json +128 -0
- package/ai/components/StyleOverlay.json +126 -0
- package/ai/components/StylePanel.json +125 -0
- package/ai/components/Swiper.json +130 -0
- package/ai/components/Switch.json +20 -0
- package/ai/components/Table.json +125 -0
- package/ai/components/Tag.json +129 -0
- package/ai/components/TagInput.json +12 -0
- package/ai/components/Text.json +72 -0
- package/ai/components/Textarea.json +24 -0
- package/ai/components/ThemeSwitcher.json +122 -0
- package/ai/components/TiltFx.json +126 -0
- package/ai/components/Timeline.json +126 -0
- package/ai/components/Toast.json +13 -0
- package/ai/components/Toaster.json +14 -0
- package/ai/components/ToggleButton.json +24 -0
- package/ai/components/Tooltip.json +129 -0
- package/ai/components/TypeFx.json +15 -0
- package/ai/components/User.json +15 -0
- package/ai/components/UserMenu.json +16 -0
- package/ai/components/WeatherFx.json +133 -0
- package/ai/examples/auth.tsx +105 -0
- package/ai/examples/blocks/Background6.tsx +25 -0
- package/ai/examples/blocks/Chat1.tsx +70 -0
- package/ai/examples/blocks/Dashboard1.tsx +404 -0
- package/ai/examples/blocks/Feed3.tsx +151 -0
- package/ai/examples/blocks/Footer1.tsx +30 -0
- package/ai/examples/blocks/Footer2.tsx +96 -0
- package/ai/examples/blocks/Footer3.tsx +127 -0
- package/ai/examples/blocks/Footer4.tsx +406 -0
- package/ai/examples/blocks/Header1.tsx +370 -0
- package/ai/examples/blocks/Header2.tsx +98 -0
- package/ai/examples/blocks/Header3.tsx +133 -0
- package/ai/examples/blocks/Header4.tsx +123 -0
- package/ai/examples/blocks/Productivity1.tsx +318 -0
- package/ai/examples/blocks/Roadmap1.tsx +133 -0
- package/ai/examples/blocks/Sidebar1.tsx +34 -0
- package/ai/examples/blocks/Sidebar2.tsx +17 -0
- package/ai/examples/blocks/Sidebar4.tsx +92 -0
- package/ai/examples/blocks/Sidebar5.tsx +73 -0
- package/ai/examples/blocks/Streaming1.tsx +353 -0
- package/ai/examples/blocks/Table1.tsx +303 -0
- package/ai/examples/blocks/Waitlist1.tsx +141 -0
- package/ai/examples/blocks/content/chat1content.ts +65 -0
- package/ai/examples/blocks/content/resources.ts +5 -0
- package/ai/examples/blocks/content/roadmap1content.ts +51 -0
- package/ai/examples/blocks/manifest.json +191 -0
- package/ai/examples/dashboard.tsx +150 -0
- package/ai/examples/marketing-hero.tsx +152 -0
- package/ai/examples/pricing.tsx +219 -0
- package/ai/examples/settings.tsx +140 -0
- package/ai/gotchas.json +85 -0
- package/ai/manifest.json +21 -0
- package/ai/rules.compact.md +73 -0
- package/ai/spec.json +2679 -2701
- package/ai/tasks/auth.json +23 -0
- package/ai/tasks/chat.json +28 -0
- package/ai/tasks/dashboard.json +39 -0
- package/ai/tasks/index.json +12 -0
- package/ai/tasks/marketing-hero.json +38 -0
- package/ai/tasks/pricing.json +42 -0
- package/ai/tasks/roadmap.json +22 -0
- package/ai/tasks/settings.json +34 -0
- package/dist/ai/catalog.json +1650 -0
- package/dist/ai/catalog.seed.json +411 -0
- package/dist/ai/components/Accordion.json +136 -0
- package/dist/ai/components/AccordionGroup.json +128 -0
- package/dist/ai/components/Animation.json +146 -0
- package/dist/ai/components/Arrow.json +128 -0
- package/dist/ai/components/AutoScroll.json +130 -0
- package/dist/ai/components/Avatar.json +133 -0
- package/dist/ai/components/AvatarGroup.json +129 -0
- package/dist/ai/components/Background.json +131 -0
- package/dist/ai/components/Badge.json +132 -0
- package/dist/ai/components/Banner.json +122 -0
- package/dist/ai/components/BarChart.json +123 -0
- package/dist/ai/components/BlobFx.json +125 -0
- package/dist/ai/components/BlockQuote.json +132 -0
- package/dist/ai/components/Button.json +26 -0
- package/dist/ai/components/Card.json +129 -0
- package/dist/ai/components/Carousel.json +134 -0
- package/dist/ai/components/CelebrationFx.json +132 -0
- package/dist/ai/components/ChartHeader.json +130 -0
- package/dist/ai/components/ChartStatus.json +12 -0
- package/dist/ai/components/Checkbox.json +13 -0
- package/dist/ai/components/Chip.json +132 -0
- package/dist/ai/components/CodeBlock.json +122 -0
- package/dist/ai/components/ColorInput.json +13 -0
- package/dist/ai/components/Column.json +128 -0
- package/dist/ai/components/CompareImage.json +126 -0
- package/dist/ai/components/ContextMenu.json +22 -0
- package/dist/ai/components/CountFx.json +82 -0
- package/dist/ai/components/CountdownFx.json +11 -0
- package/dist/ai/components/Cursor.json +9 -0
- package/dist/ai/components/CursorCard.json +128 -0
- package/dist/ai/components/DataTooltip.json +15 -0
- package/dist/ai/components/DateInput.json +21 -0
- package/dist/ai/components/DatePicker.json +143 -0
- package/dist/ai/components/DateRangeInput.json +18 -0
- package/dist/ai/components/DateRangePicker.json +129 -0
- package/dist/ai/components/Dialog.json +134 -0
- package/dist/ai/components/DialogProvider.json +8 -0
- package/dist/ai/components/Dropdown.json +128 -0
- package/dist/ai/components/DropdownWrapper.json +28 -0
- package/dist/ai/components/EmojiPicker.json +129 -0
- package/dist/ai/components/EmojiPickerDropdown.json +13 -0
- package/dist/ai/components/Fade.json +130 -0
- package/dist/ai/components/FadingLettersFx.json +77 -0
- package/dist/ai/components/Feedback.json +132 -0
- package/dist/ai/components/Flex.json +125 -0
- package/dist/ai/components/FlipFx.json +133 -0
- package/dist/ai/components/GlitchFx.json +128 -0
- package/dist/ai/components/Grid.json +121 -0
- package/dist/ai/components/Heading.json +75 -0
- package/dist/ai/components/HeadingLink.json +127 -0
- package/dist/ai/components/HeadingNav.json +124 -0
- package/dist/ai/components/HoloFx.json +128 -0
- package/dist/ai/components/Hover.json +130 -0
- package/dist/ai/components/HoverCard.json +122 -0
- package/dist/ai/components/Icon.json +132 -0
- package/dist/ai/components/IconButton.json +22 -0
- package/dist/ai/components/InfiniteScroll.json +130 -0
- package/dist/ai/components/InlineCode.json +126 -0
- package/dist/ai/components/Input.json +24 -0
- package/dist/ai/components/InteractiveDetails.json +14 -0
- package/dist/ai/components/Kbar.json +10 -0
- package/dist/ai/components/Kbd.json +127 -0
- package/dist/ai/components/Legend.json +14 -0
- package/dist/ai/components/LetterFx.json +14 -0
- package/dist/ai/components/Line.json +125 -0
- package/dist/ai/components/LineBarChart.json +123 -0
- package/dist/ai/components/LineChart.json +123 -0
- package/dist/ai/components/LinearGauge.json +130 -0
- package/dist/ai/components/LinearGradient.json +15 -0
- package/dist/ai/components/List.json +127 -0
- package/dist/ai/components/ListItem.json +77 -0
- package/dist/ai/components/Logo.json +16 -0
- package/dist/ai/components/LogoCloud.json +124 -0
- package/dist/ai/components/Mask.json +131 -0
- package/dist/ai/components/MasonryGrid.json +132 -0
- package/dist/ai/components/MatrixFx.json +135 -0
- package/dist/ai/components/Media.json +142 -0
- package/dist/ai/components/MediaUpload.json +122 -0
- package/dist/ai/components/MegaMenu.json +125 -0
- package/dist/ai/components/MobileMegaMenu.json +125 -0
- package/dist/ai/components/Modal.json +12 -0
- package/dist/ai/components/NavIcon.json +127 -0
- package/dist/ai/components/NumberInput.json +16 -0
- package/dist/ai/components/OTPInput.json +13 -0
- package/dist/ai/components/OgCard.json +135 -0
- package/dist/ai/components/Option.json +137 -0
- package/dist/ai/components/Particle.json +135 -0
- package/dist/ai/components/PasswordInput.json +8 -0
- package/dist/ai/components/PieChart.json +123 -0
- package/dist/ai/components/ProgressBar.json +131 -0
- package/dist/ai/components/Pulse.json +129 -0
- package/dist/ai/components/RadialGauge.json +134 -0
- package/dist/ai/components/RadialGradient.json +16 -0
- package/dist/ai/components/RadioButton.json +17 -0
- package/dist/ai/components/RevealFx.json +131 -0
- package/dist/ai/components/Row.json +128 -0
- package/dist/ai/components/Schema.json +17 -0
- package/dist/ai/components/ScrollContainer.json +126 -0
- package/dist/ai/components/ScrollToTop.json +124 -0
- package/dist/ai/components/Scroller.json +128 -0
- package/dist/ai/components/SegmentedControl.json +132 -0
- package/dist/ai/components/Select.json +21 -0
- package/dist/ai/components/ShineFx.json +80 -0
- package/dist/ai/components/Skeleton.json +129 -0
- package/dist/ai/components/Slider.json +17 -0
- package/dist/ai/components/SmartLink.json +17 -0
- package/dist/ai/components/Spinner.json +127 -0
- package/dist/ai/components/SplitView.json +129 -0
- package/dist/ai/components/StatusIndicator.json +128 -0
- package/dist/ai/components/StyleOverlay.json +126 -0
- package/dist/ai/components/StylePanel.json +125 -0
- package/dist/ai/components/Swiper.json +130 -0
- package/dist/ai/components/Switch.json +20 -0
- package/dist/ai/components/Table.json +125 -0
- package/dist/ai/components/Tag.json +129 -0
- package/dist/ai/components/TagInput.json +12 -0
- package/dist/ai/components/Text.json +72 -0
- package/dist/ai/components/Textarea.json +24 -0
- package/dist/ai/components/ThemeSwitcher.json +122 -0
- package/dist/ai/components/TiltFx.json +126 -0
- package/dist/ai/components/Timeline.json +126 -0
- package/dist/ai/components/Toast.json +13 -0
- package/dist/ai/components/Toaster.json +14 -0
- package/dist/ai/components/ToggleButton.json +24 -0
- package/dist/ai/components/Tooltip.json +129 -0
- package/dist/ai/components/TypeFx.json +15 -0
- package/dist/ai/components/User.json +15 -0
- package/dist/ai/components/UserMenu.json +16 -0
- package/dist/ai/components/WeatherFx.json +133 -0
- package/dist/ai/eval-tasks.md +71 -0
- package/dist/ai/examples/blocks/manifest.json +191 -0
- package/dist/ai/gotchas.json +85 -0
- package/dist/ai/manifest.json +21 -0
- package/dist/ai/recipes.md +149 -0
- package/dist/ai/rules.compact.md +73 -0
- package/dist/ai/rules.md +217 -0
- package/dist/ai/spec.json +2680 -0
- package/dist/ai/tasks/auth.json +23 -0
- package/dist/ai/tasks/chat.json +28 -0
- package/dist/ai/tasks/dashboard.json +39 -0
- package/dist/ai/tasks/index.json +12 -0
- package/dist/ai/tasks/marketing-hero.json +38 -0
- package/dist/ai/tasks/pricing.json +42 -0
- package/dist/ai/tasks/roadmap.json +22 -0
- package/dist/ai/tasks/settings.json +34 -0
- package/dist/components/Accordion.d.ts +2 -1
- package/dist/components/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion.js.map +1 -1
- package/dist/components/Accordion.module.scss +1 -0
- package/dist/components/AccordionGroup.d.ts +2 -1
- package/dist/components/AccordionGroup.d.ts.map +1 -1
- package/dist/components/AccordionGroup.js +17 -1
- package/dist/components/AccordionGroup.js.map +1 -1
- package/dist/components/Avatar.d.ts +2 -1
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar.js.map +1 -1
- package/dist/components/AvatarGroup.d.ts +2 -1
- package/dist/components/AvatarGroup.d.ts.map +1 -1
- package/dist/components/AvatarGroup.js.map +1 -1
- package/dist/components/Button.d.ts +7 -5
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Button.js +3 -3
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Button.module.scss +233 -111
- package/dist/components/Carousel.d.ts.map +1 -1
- package/dist/components/Carousel.js +14 -3
- package/dist/components/Carousel.js.map +1 -1
- package/dist/components/ColorInput.d.ts.map +1 -1
- package/dist/components/ColorInput.js +11 -11
- package/dist/components/ColorInput.js.map +1 -1
- package/dist/components/CompareImage.d.ts.map +1 -1
- package/dist/components/CompareImage.js +24 -23
- package/dist/components/CompareImage.js.map +1 -1
- package/dist/components/CompareImage.module.scss +0 -2
- package/dist/components/CursorCard.d.ts.map +1 -1
- package/dist/components/CursorCard.js.map +1 -1
- package/dist/components/CursorCard.module.scss +1 -1
- package/dist/components/DatePicker.d.ts +2 -1
- package/dist/components/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker.js +11 -15
- package/dist/components/DatePicker.js.map +1 -1
- package/dist/components/DateRangePicker.d.ts +2 -1
- package/dist/components/DateRangePicker.d.ts.map +1 -1
- package/dist/components/DateRangePicker.js.map +1 -1
- package/dist/components/DropdownWrapper.d.ts.map +1 -1
- package/dist/components/DropdownWrapper.js +9 -9
- package/dist/components/DropdownWrapper.js.map +1 -1
- package/dist/components/ElementType.d.ts +5 -6
- package/dist/components/ElementType.d.ts.map +1 -1
- package/dist/components/ElementType.js.map +1 -1
- package/dist/components/EmojiPicker.d.ts +2 -2
- package/dist/components/EmojiPickerDropdown.d.ts +2 -2
- package/dist/components/Feedback.d.ts.map +1 -1
- package/dist/components/Feedback.js +1 -1
- package/dist/components/Feedback.js.map +1 -1
- package/dist/components/Heading.d.ts +3 -3
- package/dist/components/Heading.d.ts.map +1 -1
- package/dist/components/Heading.js +6 -3
- package/dist/components/Heading.js.map +1 -1
- package/dist/components/Icon.d.ts +2 -2
- package/dist/components/Icon.d.ts.map +1 -1
- package/dist/components/IconButton.d.ts +7 -5
- package/dist/components/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton.js +2 -2
- package/dist/components/IconButton.js.map +1 -1
- package/dist/components/Input.d.ts +2 -1
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Input.js.map +1 -1
- package/dist/components/Input.module.scss +1 -196
- package/dist/components/Logo.d.ts +2 -1
- package/dist/components/Logo.d.ts.map +1 -1
- package/dist/components/MatrixFx.d.ts.map +1 -1
- package/dist/components/MatrixFx.js +521 -481
- package/dist/components/MatrixFx.js.map +1 -1
- package/dist/components/Media.d.ts.map +1 -1
- package/dist/components/Media.js +5 -1
- package/dist/components/Media.js.map +1 -1
- package/dist/components/ProgressBar.d.ts +1 -0
- package/dist/components/ProgressBar.d.ts.map +1 -1
- package/dist/components/ProgressBar.js +9 -3
- package/dist/components/ProgressBar.js.map +1 -1
- package/dist/components/Pulse.d.ts +1 -0
- package/dist/components/Pulse.d.ts.map +1 -1
- package/dist/components/Pulse.js +2 -2
- package/dist/components/Pulse.js.map +1 -1
- package/dist/components/Scroller.js +1 -1
- package/dist/components/Scroller.js.map +1 -1
- package/dist/components/ServerFlex.d.ts +2 -2
- package/dist/components/ServerFlex.d.ts.map +1 -1
- package/dist/components/ServerFlex.js +4 -1
- package/dist/components/ServerFlex.js.map +1 -1
- package/dist/components/ServerGrid.d.ts +2 -2
- package/dist/components/ServerGrid.d.ts.map +1 -1
- package/dist/components/SmartLink.d.ts +5 -4
- package/dist/components/SmartLink.d.ts.map +1 -1
- package/dist/components/SmartLink.js.map +1 -1
- package/dist/components/Spinner.d.ts +2 -1
- package/dist/components/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner.js.map +1 -1
- package/dist/components/SplitView.d.ts +1 -1
- package/dist/components/SplitView.d.ts.map +1 -1
- package/dist/components/SplitView.js +1 -1
- package/dist/components/SplitView.js.map +1 -1
- package/dist/components/StatusIndicator.d.ts +2 -1
- package/dist/components/StatusIndicator.d.ts.map +1 -1
- package/dist/components/StatusIndicator.js.map +1 -1
- package/dist/components/Swiper.d.ts.map +1 -1
- package/dist/components/Swiper.js +3 -3
- package/dist/components/Swiper.js.map +1 -1
- package/dist/components/Tag.d.ts +2 -2
- package/dist/components/Tag.d.ts.map +1 -1
- package/dist/components/Text.d.ts +3 -3
- package/dist/components/Text.d.ts.map +1 -1
- package/dist/components/Text.js +6 -3
- package/dist/components/Text.js.map +1 -1
- package/dist/components/Textarea.d.ts +2 -1
- package/dist/components/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea.js.map +1 -1
- package/dist/components/Toast.d.ts +1 -1
- package/dist/components/Toast.d.ts.map +1 -1
- package/dist/components/Toast.js +2 -0
- package/dist/components/Toast.js.map +1 -1
- package/dist/components/Toaster.d.ts +1 -1
- package/dist/components/Toaster.d.ts.map +1 -1
- package/dist/components/ToggleButton.d.ts +6 -5
- package/dist/components/ToggleButton.d.ts.map +1 -1
- package/dist/components/ToggleButton.js.map +1 -1
- package/dist/components/ToggleButton.module.scss +19 -0
- package/dist/components/index.d.ts +0 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -3
- package/dist/components/index.js.map +1 -1
- package/dist/contexts/ToastProvider.d.ts +1 -1
- package/dist/contexts/ToastProvider.d.ts.map +1 -1
- package/dist/css/tokens.css +1 -1
- package/dist/css/tokens.css.map +1 -1
- package/dist/interfaces.d.ts +9 -10
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/modules/code/CodeBlock.impl.d.ts +2 -0
- package/dist/modules/code/CodeBlock.impl.d.ts.map +1 -1
- package/dist/modules/code/CodeBlock.impl.js +48 -16
- package/dist/modules/code/CodeBlock.impl.js.map +1 -1
- package/dist/modules/code/index.d.ts +3 -0
- package/dist/modules/code/index.d.ts.map +1 -0
- package/dist/modules/code/index.js +2 -0
- package/dist/modules/code/index.js.map +1 -0
- package/dist/modules/data/BarChart.impl.d.ts +2 -2
- package/dist/modules/data/DataTooltip.d.ts +1 -1
- package/dist/modules/data/DataTooltip.d.ts.map +1 -1
- package/dist/modules/data/DataTooltip.js.map +1 -1
- package/dist/modules/data/Legend.d.ts +1 -1
- package/dist/modules/data/Legend.d.ts.map +1 -1
- package/dist/modules/data/Legend.js.map +1 -1
- package/dist/modules/data/LineBarChart.impl.d.ts +2 -2
- package/dist/modules/data/LinearGauge.d.ts +1 -2
- package/dist/modules/data/LinearGauge.d.ts.map +1 -1
- package/dist/modules/data/RadialGauge.d.ts +1 -2
- package/dist/modules/data/RadialGauge.d.ts.map +1 -1
- package/dist/modules/data/interfaces.d.ts +4 -4
- package/dist/modules/index.d.ts +3 -4
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +3 -4
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/media/index.d.ts +3 -0
- package/dist/modules/media/index.d.ts.map +1 -0
- package/dist/modules/media/index.js +2 -0
- package/dist/modules/media/index.js.map +1 -0
- package/dist/modules/navigation/HeadingLink.d.ts +1 -2
- package/dist/modules/navigation/HeadingLink.d.ts.map +1 -1
- package/dist/modules/navigation/HeadingNav.d.ts +2 -2
- package/dist/modules/navigation/HeadingNav.d.ts.map +1 -1
- package/dist/modules/navigation/HeadingNav.js.map +1 -1
- package/dist/modules/navigation/Kbar.d.ts +6 -5
- package/dist/modules/navigation/Kbar.d.ts.map +1 -1
- package/dist/modules/navigation/Kbar.js +20 -12
- package/dist/modules/navigation/Kbar.js.map +1 -1
- package/dist/modules/navigation/MobileMegaMenu.d.ts +4 -4
- package/dist/modules/navigation/MobileMegaMenu.d.ts.map +1 -1
- package/dist/modules/navigation/index.d.ts +2 -2
- package/dist/modules/navigation/index.d.ts.map +1 -1
- package/dist/modules/navigation/index.js +2 -2
- package/dist/modules/navigation/index.js.map +1 -1
- package/dist/modules/seo/index.d.ts +5 -0
- package/dist/modules/seo/index.d.ts.map +1 -0
- package/dist/modules/seo/index.js +3 -0
- package/dist/modules/seo/index.js.map +1 -0
- package/dist/package.json +13 -2
- package/dist/tokens/theme.scss +20 -2
- package/dist/types.d.ts +3 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +5 -5
- package/dist/types.js.map +1 -1
- package/dist/utils/dropdownState.d.ts +4 -0
- package/dist/utils/dropdownState.d.ts.map +1 -0
- package/dist/utils/dropdownState.js +9 -0
- package/dist/utils/dropdownState.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/package.json +139 -127
- package/LICENSE.md +0 -21
- package/next-env.d.ts +0 -5
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "CompareImage",
|
|
3
|
+
"group": "components",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Flex"
|
|
6
|
+
],
|
|
7
|
+
"mixins": [
|
|
8
|
+
"CommonProps",
|
|
9
|
+
"DisplayProps",
|
|
10
|
+
"FlexProps",
|
|
11
|
+
"SizeProps",
|
|
12
|
+
"SpacingProps",
|
|
13
|
+
"StyleProps"
|
|
14
|
+
],
|
|
15
|
+
"props": {
|
|
16
|
+
"leftContent": "!SideContent",
|
|
17
|
+
"rightContent": "!SideContent",
|
|
18
|
+
"aspectRatio": "string"
|
|
19
|
+
},
|
|
20
|
+
"mixinsRef": [
|
|
21
|
+
"CommonProps",
|
|
22
|
+
"DisplayProps",
|
|
23
|
+
"FlexProps",
|
|
24
|
+
"SizeProps",
|
|
25
|
+
"SpacingProps",
|
|
26
|
+
"StyleProps"
|
|
27
|
+
],
|
|
28
|
+
"tokensRef": "see spec.json mixins",
|
|
29
|
+
"resolvedMixins": {
|
|
30
|
+
"CommonProps": {
|
|
31
|
+
"onBackground": "Colors",
|
|
32
|
+
"onSolid": "Colors",
|
|
33
|
+
"align": "CSSProperties[\"textAlign\"]"
|
|
34
|
+
},
|
|
35
|
+
"DisplayProps": {
|
|
36
|
+
"as": "ElementType",
|
|
37
|
+
"inline": "boolean",
|
|
38
|
+
"hide": "boolean",
|
|
39
|
+
"pointerEvents": "\"none\" | \"all\" | \"auto\"",
|
|
40
|
+
"position": "CSSProperties[\"position\"]",
|
|
41
|
+
"overflow": "CSSProperties[\"overflow\"]",
|
|
42
|
+
"overflowX": "CSSProperties[\"overflowX\"]",
|
|
43
|
+
"overflowY": "CSSProperties[\"overflowY\"]",
|
|
44
|
+
"scrollbar": "\"default\" | \"minimal\"",
|
|
45
|
+
"transition": "\"micro-short\" | \"micro-medium\" | \"micro-long\" | \"macro-short\" | \"macro-medium\" | \"macro-long\"",
|
|
46
|
+
"opacity": "Opacity",
|
|
47
|
+
"zIndex": "-1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | \"-1\" | \"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\" | \"7\" | \"8\" | \"9\" | \"10\"",
|
|
48
|
+
"dark": "boolean",
|
|
49
|
+
"light": "boolean"
|
|
50
|
+
},
|
|
51
|
+
"FlexProps": {
|
|
52
|
+
"direction": "\"row\" | \"column\" | \"row-reverse\" | \"column-reverse\"",
|
|
53
|
+
"horizontal": "\"start\" | \"center\" | \"end\" | \"between\" | \"around\" | \"even\" | \"stretch\"",
|
|
54
|
+
"vertical": "\"start\" | \"center\" | \"end\" | \"between\" | \"around\" | \"even\" | \"stretch\"",
|
|
55
|
+
"center": "boolean",
|
|
56
|
+
"wrap": "boolean",
|
|
57
|
+
"flex": "FlexValue"
|
|
58
|
+
},
|
|
59
|
+
"SizeProps": {
|
|
60
|
+
"width": "number | SpacingToken | CSSUnit",
|
|
61
|
+
"height": "number | SpacingToken | CSSUnit",
|
|
62
|
+
"maxWidth": "number | SpacingToken | CSSUnit",
|
|
63
|
+
"minWidth": "number | SpacingToken | CSSUnit",
|
|
64
|
+
"minHeight": "number | SpacingToken | CSSUnit",
|
|
65
|
+
"maxHeight": "number | SpacingToken | CSSUnit",
|
|
66
|
+
"fit": "boolean",
|
|
67
|
+
"fitWidth": "boolean",
|
|
68
|
+
"fitHeight": "boolean",
|
|
69
|
+
"fill": "boolean",
|
|
70
|
+
"fillWidth": "boolean",
|
|
71
|
+
"fillHeight": "boolean",
|
|
72
|
+
"aspectRatio": "CSSProperties[\"aspectRatio\"]"
|
|
73
|
+
},
|
|
74
|
+
"SpacingProps": {
|
|
75
|
+
"padding": "SpacingToken | number",
|
|
76
|
+
"paddingLeft": "SpacingToken | number",
|
|
77
|
+
"paddingRight": "SpacingToken | number",
|
|
78
|
+
"paddingTop": "SpacingToken | number",
|
|
79
|
+
"paddingBottom": "SpacingToken | number",
|
|
80
|
+
"paddingX": "SpacingToken | number",
|
|
81
|
+
"paddingY": "SpacingToken | number",
|
|
82
|
+
"margin": "SpacingToken | number",
|
|
83
|
+
"marginLeft": "SpacingToken | number",
|
|
84
|
+
"marginRight": "SpacingToken | number",
|
|
85
|
+
"marginTop": "SpacingToken | number",
|
|
86
|
+
"marginBottom": "SpacingToken | number",
|
|
87
|
+
"marginX": "SpacingToken | number",
|
|
88
|
+
"marginY": "SpacingToken | number",
|
|
89
|
+
"gap": "SpacingToken | number | \"-1\"",
|
|
90
|
+
"top": "SpacingToken | number | CSSUnit",
|
|
91
|
+
"right": "SpacingToken | number | CSSUnit",
|
|
92
|
+
"bottom": "SpacingToken | number | CSSUnit",
|
|
93
|
+
"left": "SpacingToken | number | CSSUnit",
|
|
94
|
+
"translateX": "SpacingToken | number | CSSUnit",
|
|
95
|
+
"translateY": "SpacingToken | number | CSSUnit"
|
|
96
|
+
},
|
|
97
|
+
"StyleProps": {
|
|
98
|
+
"textVariant": "TextVariant",
|
|
99
|
+
"textSize": "TextSize",
|
|
100
|
+
"textType": "TextType",
|
|
101
|
+
"textWeight": "TextWeight",
|
|
102
|
+
"background": "Colors | \"surface\" | \"overlay\" | \"page\" | \"transparent\"",
|
|
103
|
+
"solid": "Colors",
|
|
104
|
+
"borderTop": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
105
|
+
"borderRight": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
106
|
+
"borderBottom": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
107
|
+
"borderLeft": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
108
|
+
"borderX": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
109
|
+
"borderY": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
110
|
+
"border": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
111
|
+
"borderStyle": "\"solid\" | \"dashed\"",
|
|
112
|
+
"borderWidth": "1 | 2 | 4 | 8 | \"1\" | \"2\" | \"4\" | \"8\"",
|
|
113
|
+
"topRadius": "RadiusSize",
|
|
114
|
+
"rightRadius": "RadiusSize",
|
|
115
|
+
"bottomRadius": "RadiusSize",
|
|
116
|
+
"leftRadius": "RadiusSize",
|
|
117
|
+
"topLeftRadius": "RadiusSize",
|
|
118
|
+
"topRightRadius": "RadiusSize",
|
|
119
|
+
"bottomLeftRadius": "RadiusSize",
|
|
120
|
+
"bottomRightRadius": "RadiusSize",
|
|
121
|
+
"shadow": "ShadowSize",
|
|
122
|
+
"cursor": "CSSProperties[\"cursor\"] | \"interactive\" | ReactNode",
|
|
123
|
+
"radius": "RadiusSize | `${RadiusSize}-${RadiusNest}`"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ContextMenu",
|
|
3
|
+
"group": "components",
|
|
4
|
+
"props": {
|
|
5
|
+
"children": "!ReactNode",
|
|
6
|
+
"dropdown": "!ReactNode",
|
|
7
|
+
"placement": "Placement = bottom-end",
|
|
8
|
+
"fillWidth": "boolean = false",
|
|
9
|
+
"minWidth": "number = 12",
|
|
10
|
+
"maxWidth": "number",
|
|
11
|
+
"minHeight": "number",
|
|
12
|
+
"style": "React.CSSProperties",
|
|
13
|
+
"className": "string",
|
|
14
|
+
"onSelect": "(value: string) => void",
|
|
15
|
+
"closeAfterClick": "boolean = true",
|
|
16
|
+
"isOpen": "boolean",
|
|
17
|
+
"onOpenChange": "(isOpen: boolean) => void",
|
|
18
|
+
"selectedOption": "string",
|
|
19
|
+
"disabled": "boolean = false"
|
|
20
|
+
},
|
|
21
|
+
"mixinsRef": []
|
|
22
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "CountFx",
|
|
3
|
+
"group": "components",
|
|
4
|
+
"mixins": [
|
|
5
|
+
"CommonProps",
|
|
6
|
+
"DisplayProps",
|
|
7
|
+
"SpacingProps",
|
|
8
|
+
"TextProps"
|
|
9
|
+
],
|
|
10
|
+
"props": {
|
|
11
|
+
"value": "!number",
|
|
12
|
+
"speed": "number = 1000",
|
|
13
|
+
"easing": "\"linear\" | \"ease-out\" | \"ease-in-out\" = ease-out",
|
|
14
|
+
"format": "(value: number) => string",
|
|
15
|
+
"separator": "string",
|
|
16
|
+
"decimals": "number",
|
|
17
|
+
"effect": "\"simple\" | \"wheel\" | \"smooth\" = simple",
|
|
18
|
+
"children": "React.ReactNode"
|
|
19
|
+
},
|
|
20
|
+
"mixinsRef": [
|
|
21
|
+
"CommonProps",
|
|
22
|
+
"DisplayProps",
|
|
23
|
+
"SpacingProps",
|
|
24
|
+
"TextProps"
|
|
25
|
+
],
|
|
26
|
+
"tokensRef": "see spec.json mixins",
|
|
27
|
+
"resolvedMixins": {
|
|
28
|
+
"CommonProps": {
|
|
29
|
+
"onBackground": "Colors",
|
|
30
|
+
"onSolid": "Colors",
|
|
31
|
+
"align": "CSSProperties[\"textAlign\"]"
|
|
32
|
+
},
|
|
33
|
+
"DisplayProps": {
|
|
34
|
+
"as": "ElementType",
|
|
35
|
+
"inline": "boolean",
|
|
36
|
+
"hide": "boolean",
|
|
37
|
+
"pointerEvents": "\"none\" | \"all\" | \"auto\"",
|
|
38
|
+
"position": "CSSProperties[\"position\"]",
|
|
39
|
+
"overflow": "CSSProperties[\"overflow\"]",
|
|
40
|
+
"overflowX": "CSSProperties[\"overflowX\"]",
|
|
41
|
+
"overflowY": "CSSProperties[\"overflowY\"]",
|
|
42
|
+
"scrollbar": "\"default\" | \"minimal\"",
|
|
43
|
+
"transition": "\"micro-short\" | \"micro-medium\" | \"micro-long\" | \"macro-short\" | \"macro-medium\" | \"macro-long\"",
|
|
44
|
+
"opacity": "Opacity",
|
|
45
|
+
"zIndex": "-1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | \"-1\" | \"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\" | \"7\" | \"8\" | \"9\" | \"10\"",
|
|
46
|
+
"dark": "boolean",
|
|
47
|
+
"light": "boolean"
|
|
48
|
+
},
|
|
49
|
+
"SpacingProps": {
|
|
50
|
+
"padding": "SpacingToken | number",
|
|
51
|
+
"paddingLeft": "SpacingToken | number",
|
|
52
|
+
"paddingRight": "SpacingToken | number",
|
|
53
|
+
"paddingTop": "SpacingToken | number",
|
|
54
|
+
"paddingBottom": "SpacingToken | number",
|
|
55
|
+
"paddingX": "SpacingToken | number",
|
|
56
|
+
"paddingY": "SpacingToken | number",
|
|
57
|
+
"margin": "SpacingToken | number",
|
|
58
|
+
"marginLeft": "SpacingToken | number",
|
|
59
|
+
"marginRight": "SpacingToken | number",
|
|
60
|
+
"marginTop": "SpacingToken | number",
|
|
61
|
+
"marginBottom": "SpacingToken | number",
|
|
62
|
+
"marginX": "SpacingToken | number",
|
|
63
|
+
"marginY": "SpacingToken | number",
|
|
64
|
+
"gap": "SpacingToken | number | \"-1\"",
|
|
65
|
+
"top": "SpacingToken | number | CSSUnit",
|
|
66
|
+
"right": "SpacingToken | number | CSSUnit",
|
|
67
|
+
"bottom": "SpacingToken | number | CSSUnit",
|
|
68
|
+
"left": "SpacingToken | number | CSSUnit",
|
|
69
|
+
"translateX": "SpacingToken | number | CSSUnit",
|
|
70
|
+
"translateY": "SpacingToken | number | CSSUnit"
|
|
71
|
+
},
|
|
72
|
+
"TextProps": {
|
|
73
|
+
"as": "T",
|
|
74
|
+
"variant": "TextVariant",
|
|
75
|
+
"wrap": "CSSProperties[\"textWrap\"]",
|
|
76
|
+
"size": "TextSize",
|
|
77
|
+
"weight": "TextWeight",
|
|
78
|
+
"family": "TextType",
|
|
79
|
+
"truncate": "boolean"
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "CountdownFx",
|
|
3
|
+
"group": "components",
|
|
4
|
+
"props": {
|
|
5
|
+
"targetDate": "!Date | string",
|
|
6
|
+
"format": "\"HH:MM:SS\" | \"DD:HH:MM:SS\" | \"MM:SS\" = HH:MM:SS",
|
|
7
|
+
"effect": "CountFxProps['effect'] = wheel",
|
|
8
|
+
"onComplete": "() => void"
|
|
9
|
+
},
|
|
10
|
+
"mixinsRef": []
|
|
11
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "CursorCard",
|
|
3
|
+
"group": "components",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Flex"
|
|
6
|
+
],
|
|
7
|
+
"mixins": [
|
|
8
|
+
"CommonProps",
|
|
9
|
+
"DisplayProps",
|
|
10
|
+
"FlexProps",
|
|
11
|
+
"SizeProps",
|
|
12
|
+
"SpacingProps",
|
|
13
|
+
"StyleProps"
|
|
14
|
+
],
|
|
15
|
+
"props": {
|
|
16
|
+
"trigger": "ReactNode",
|
|
17
|
+
"overlay": "ReactNode",
|
|
18
|
+
"placement": "Placement = bottom-left",
|
|
19
|
+
"className": "string",
|
|
20
|
+
"style": "React.CSSProperties"
|
|
21
|
+
},
|
|
22
|
+
"mixinsRef": [
|
|
23
|
+
"CommonProps",
|
|
24
|
+
"DisplayProps",
|
|
25
|
+
"FlexProps",
|
|
26
|
+
"SizeProps",
|
|
27
|
+
"SpacingProps",
|
|
28
|
+
"StyleProps"
|
|
29
|
+
],
|
|
30
|
+
"tokensRef": "see spec.json mixins",
|
|
31
|
+
"resolvedMixins": {
|
|
32
|
+
"CommonProps": {
|
|
33
|
+
"onBackground": "Colors",
|
|
34
|
+
"onSolid": "Colors",
|
|
35
|
+
"align": "CSSProperties[\"textAlign\"]"
|
|
36
|
+
},
|
|
37
|
+
"DisplayProps": {
|
|
38
|
+
"as": "ElementType",
|
|
39
|
+
"inline": "boolean",
|
|
40
|
+
"hide": "boolean",
|
|
41
|
+
"pointerEvents": "\"none\" | \"all\" | \"auto\"",
|
|
42
|
+
"position": "CSSProperties[\"position\"]",
|
|
43
|
+
"overflow": "CSSProperties[\"overflow\"]",
|
|
44
|
+
"overflowX": "CSSProperties[\"overflowX\"]",
|
|
45
|
+
"overflowY": "CSSProperties[\"overflowY\"]",
|
|
46
|
+
"scrollbar": "\"default\" | \"minimal\"",
|
|
47
|
+
"transition": "\"micro-short\" | \"micro-medium\" | \"micro-long\" | \"macro-short\" | \"macro-medium\" | \"macro-long\"",
|
|
48
|
+
"opacity": "Opacity",
|
|
49
|
+
"zIndex": "-1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | \"-1\" | \"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\" | \"7\" | \"8\" | \"9\" | \"10\"",
|
|
50
|
+
"dark": "boolean",
|
|
51
|
+
"light": "boolean"
|
|
52
|
+
},
|
|
53
|
+
"FlexProps": {
|
|
54
|
+
"direction": "\"row\" | \"column\" | \"row-reverse\" | \"column-reverse\"",
|
|
55
|
+
"horizontal": "\"start\" | \"center\" | \"end\" | \"between\" | \"around\" | \"even\" | \"stretch\"",
|
|
56
|
+
"vertical": "\"start\" | \"center\" | \"end\" | \"between\" | \"around\" | \"even\" | \"stretch\"",
|
|
57
|
+
"center": "boolean",
|
|
58
|
+
"wrap": "boolean",
|
|
59
|
+
"flex": "FlexValue"
|
|
60
|
+
},
|
|
61
|
+
"SizeProps": {
|
|
62
|
+
"width": "number | SpacingToken | CSSUnit",
|
|
63
|
+
"height": "number | SpacingToken | CSSUnit",
|
|
64
|
+
"maxWidth": "number | SpacingToken | CSSUnit",
|
|
65
|
+
"minWidth": "number | SpacingToken | CSSUnit",
|
|
66
|
+
"minHeight": "number | SpacingToken | CSSUnit",
|
|
67
|
+
"maxHeight": "number | SpacingToken | CSSUnit",
|
|
68
|
+
"fit": "boolean",
|
|
69
|
+
"fitWidth": "boolean",
|
|
70
|
+
"fitHeight": "boolean",
|
|
71
|
+
"fill": "boolean",
|
|
72
|
+
"fillWidth": "boolean",
|
|
73
|
+
"fillHeight": "boolean",
|
|
74
|
+
"aspectRatio": "CSSProperties[\"aspectRatio\"]"
|
|
75
|
+
},
|
|
76
|
+
"SpacingProps": {
|
|
77
|
+
"padding": "SpacingToken | number",
|
|
78
|
+
"paddingLeft": "SpacingToken | number",
|
|
79
|
+
"paddingRight": "SpacingToken | number",
|
|
80
|
+
"paddingTop": "SpacingToken | number",
|
|
81
|
+
"paddingBottom": "SpacingToken | number",
|
|
82
|
+
"paddingX": "SpacingToken | number",
|
|
83
|
+
"paddingY": "SpacingToken | number",
|
|
84
|
+
"margin": "SpacingToken | number",
|
|
85
|
+
"marginLeft": "SpacingToken | number",
|
|
86
|
+
"marginRight": "SpacingToken | number",
|
|
87
|
+
"marginTop": "SpacingToken | number",
|
|
88
|
+
"marginBottom": "SpacingToken | number",
|
|
89
|
+
"marginX": "SpacingToken | number",
|
|
90
|
+
"marginY": "SpacingToken | number",
|
|
91
|
+
"gap": "SpacingToken | number | \"-1\"",
|
|
92
|
+
"top": "SpacingToken | number | CSSUnit",
|
|
93
|
+
"right": "SpacingToken | number | CSSUnit",
|
|
94
|
+
"bottom": "SpacingToken | number | CSSUnit",
|
|
95
|
+
"left": "SpacingToken | number | CSSUnit",
|
|
96
|
+
"translateX": "SpacingToken | number | CSSUnit",
|
|
97
|
+
"translateY": "SpacingToken | number | CSSUnit"
|
|
98
|
+
},
|
|
99
|
+
"StyleProps": {
|
|
100
|
+
"textVariant": "TextVariant",
|
|
101
|
+
"textSize": "TextSize",
|
|
102
|
+
"textType": "TextType",
|
|
103
|
+
"textWeight": "TextWeight",
|
|
104
|
+
"background": "Colors | \"surface\" | \"overlay\" | \"page\" | \"transparent\"",
|
|
105
|
+
"solid": "Colors",
|
|
106
|
+
"borderTop": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
107
|
+
"borderRight": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
108
|
+
"borderBottom": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
109
|
+
"borderLeft": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
110
|
+
"borderX": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
111
|
+
"borderY": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
112
|
+
"border": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
113
|
+
"borderStyle": "\"solid\" | \"dashed\"",
|
|
114
|
+
"borderWidth": "1 | 2 | 4 | 8 | \"1\" | \"2\" | \"4\" | \"8\"",
|
|
115
|
+
"topRadius": "RadiusSize",
|
|
116
|
+
"rightRadius": "RadiusSize",
|
|
117
|
+
"bottomRadius": "RadiusSize",
|
|
118
|
+
"leftRadius": "RadiusSize",
|
|
119
|
+
"topLeftRadius": "RadiusSize",
|
|
120
|
+
"topRightRadius": "RadiusSize",
|
|
121
|
+
"bottomLeftRadius": "RadiusSize",
|
|
122
|
+
"bottomRightRadius": "RadiusSize",
|
|
123
|
+
"shadow": "ShadowSize",
|
|
124
|
+
"cursor": "CSSProperties[\"cursor\"] | \"interactive\" | ReactNode",
|
|
125
|
+
"radius": "RadiusSize | `${RadiusSize}-${RadiusNest}`"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DataTooltip",
|
|
3
|
+
"group": "modules",
|
|
4
|
+
"props": {
|
|
5
|
+
"active": "boolean",
|
|
6
|
+
"payload": "readonly Record<string, any>[]",
|
|
7
|
+
"label": "string | number",
|
|
8
|
+
"dataKey": "string = name",
|
|
9
|
+
"DataTooltip": "React.ReactNode",
|
|
10
|
+
"date": "DateConfig = { format: \"MMM d\" }",
|
|
11
|
+
"colors": "boolean = true",
|
|
12
|
+
"variant": "ChartVariant = gradient"
|
|
13
|
+
},
|
|
14
|
+
"mixinsRef": []
|
|
15
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DateInput",
|
|
3
|
+
"group": "components",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Input"
|
|
6
|
+
],
|
|
7
|
+
"props": {
|
|
8
|
+
"id": "!string",
|
|
9
|
+
"label": "string",
|
|
10
|
+
"placeholder": "string",
|
|
11
|
+
"value": "Date",
|
|
12
|
+
"onChange": "(date: Date) => void",
|
|
13
|
+
"minHeight": "number",
|
|
14
|
+
"className": "string",
|
|
15
|
+
"style": "React.CSSProperties",
|
|
16
|
+
"timePicker": "boolean = false",
|
|
17
|
+
"minDate": "Date",
|
|
18
|
+
"maxDate": "Date"
|
|
19
|
+
},
|
|
20
|
+
"mixinsRef": []
|
|
21
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DatePicker",
|
|
3
|
+
"group": "components",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Flex"
|
|
6
|
+
],
|
|
7
|
+
"mixins": [
|
|
8
|
+
"CommonProps",
|
|
9
|
+
"DisplayProps",
|
|
10
|
+
"FlexProps",
|
|
11
|
+
"SizeProps",
|
|
12
|
+
"SpacingProps",
|
|
13
|
+
"StyleProps"
|
|
14
|
+
],
|
|
15
|
+
"props": {
|
|
16
|
+
"value": "Date",
|
|
17
|
+
"onChange": "(date: Date) => void",
|
|
18
|
+
"minDate": "Date",
|
|
19
|
+
"maxDate": "Date",
|
|
20
|
+
"previousMonth": "boolean = true",
|
|
21
|
+
"nextMonth": "boolean = true",
|
|
22
|
+
"timePicker": "boolean = false",
|
|
23
|
+
"defaultDate": "Date",
|
|
24
|
+
"defaultTime": "{ hours: number; minutes: number; }",
|
|
25
|
+
"size": "CondensedTShirtSizes = m",
|
|
26
|
+
"isNested": "boolean = false",
|
|
27
|
+
"className": "string",
|
|
28
|
+
"style": "React.CSSProperties",
|
|
29
|
+
"currentMonth": "number",
|
|
30
|
+
"currentYear": "number",
|
|
31
|
+
"onMonthChange": "(increment: number) => void",
|
|
32
|
+
"range": "{ startDate?: Date; endDate?: Date; }",
|
|
33
|
+
"onHover": "(date: Date | null) => void",
|
|
34
|
+
"autoFocus": "boolean = false",
|
|
35
|
+
"isOpen": "boolean"
|
|
36
|
+
},
|
|
37
|
+
"mixinsRef": [
|
|
38
|
+
"CommonProps",
|
|
39
|
+
"DisplayProps",
|
|
40
|
+
"FlexProps",
|
|
41
|
+
"SizeProps",
|
|
42
|
+
"SpacingProps",
|
|
43
|
+
"StyleProps"
|
|
44
|
+
],
|
|
45
|
+
"tokensRef": "see spec.json mixins",
|
|
46
|
+
"resolvedMixins": {
|
|
47
|
+
"CommonProps": {
|
|
48
|
+
"onBackground": "Colors",
|
|
49
|
+
"onSolid": "Colors",
|
|
50
|
+
"align": "CSSProperties[\"textAlign\"]"
|
|
51
|
+
},
|
|
52
|
+
"DisplayProps": {
|
|
53
|
+
"as": "ElementType",
|
|
54
|
+
"inline": "boolean",
|
|
55
|
+
"hide": "boolean",
|
|
56
|
+
"pointerEvents": "\"none\" | \"all\" | \"auto\"",
|
|
57
|
+
"position": "CSSProperties[\"position\"]",
|
|
58
|
+
"overflow": "CSSProperties[\"overflow\"]",
|
|
59
|
+
"overflowX": "CSSProperties[\"overflowX\"]",
|
|
60
|
+
"overflowY": "CSSProperties[\"overflowY\"]",
|
|
61
|
+
"scrollbar": "\"default\" | \"minimal\"",
|
|
62
|
+
"transition": "\"micro-short\" | \"micro-medium\" | \"micro-long\" | \"macro-short\" | \"macro-medium\" | \"macro-long\"",
|
|
63
|
+
"opacity": "Opacity",
|
|
64
|
+
"zIndex": "-1 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | \"-1\" | \"0\" | \"1\" | \"2\" | \"3\" | \"4\" | \"5\" | \"6\" | \"7\" | \"8\" | \"9\" | \"10\"",
|
|
65
|
+
"dark": "boolean",
|
|
66
|
+
"light": "boolean"
|
|
67
|
+
},
|
|
68
|
+
"FlexProps": {
|
|
69
|
+
"direction": "\"row\" | \"column\" | \"row-reverse\" | \"column-reverse\"",
|
|
70
|
+
"horizontal": "\"start\" | \"center\" | \"end\" | \"between\" | \"around\" | \"even\" | \"stretch\"",
|
|
71
|
+
"vertical": "\"start\" | \"center\" | \"end\" | \"between\" | \"around\" | \"even\" | \"stretch\"",
|
|
72
|
+
"center": "boolean",
|
|
73
|
+
"wrap": "boolean",
|
|
74
|
+
"flex": "FlexValue"
|
|
75
|
+
},
|
|
76
|
+
"SizeProps": {
|
|
77
|
+
"width": "number | SpacingToken | CSSUnit",
|
|
78
|
+
"height": "number | SpacingToken | CSSUnit",
|
|
79
|
+
"maxWidth": "number | SpacingToken | CSSUnit",
|
|
80
|
+
"minWidth": "number | SpacingToken | CSSUnit",
|
|
81
|
+
"minHeight": "number | SpacingToken | CSSUnit",
|
|
82
|
+
"maxHeight": "number | SpacingToken | CSSUnit",
|
|
83
|
+
"fit": "boolean",
|
|
84
|
+
"fitWidth": "boolean",
|
|
85
|
+
"fitHeight": "boolean",
|
|
86
|
+
"fill": "boolean",
|
|
87
|
+
"fillWidth": "boolean",
|
|
88
|
+
"fillHeight": "boolean",
|
|
89
|
+
"aspectRatio": "CSSProperties[\"aspectRatio\"]"
|
|
90
|
+
},
|
|
91
|
+
"SpacingProps": {
|
|
92
|
+
"padding": "SpacingToken | number",
|
|
93
|
+
"paddingLeft": "SpacingToken | number",
|
|
94
|
+
"paddingRight": "SpacingToken | number",
|
|
95
|
+
"paddingTop": "SpacingToken | number",
|
|
96
|
+
"paddingBottom": "SpacingToken | number",
|
|
97
|
+
"paddingX": "SpacingToken | number",
|
|
98
|
+
"paddingY": "SpacingToken | number",
|
|
99
|
+
"margin": "SpacingToken | number",
|
|
100
|
+
"marginLeft": "SpacingToken | number",
|
|
101
|
+
"marginRight": "SpacingToken | number",
|
|
102
|
+
"marginTop": "SpacingToken | number",
|
|
103
|
+
"marginBottom": "SpacingToken | number",
|
|
104
|
+
"marginX": "SpacingToken | number",
|
|
105
|
+
"marginY": "SpacingToken | number",
|
|
106
|
+
"gap": "SpacingToken | number | \"-1\"",
|
|
107
|
+
"top": "SpacingToken | number | CSSUnit",
|
|
108
|
+
"right": "SpacingToken | number | CSSUnit",
|
|
109
|
+
"bottom": "SpacingToken | number | CSSUnit",
|
|
110
|
+
"left": "SpacingToken | number | CSSUnit",
|
|
111
|
+
"translateX": "SpacingToken | number | CSSUnit",
|
|
112
|
+
"translateY": "SpacingToken | number | CSSUnit"
|
|
113
|
+
},
|
|
114
|
+
"StyleProps": {
|
|
115
|
+
"textVariant": "TextVariant",
|
|
116
|
+
"textSize": "TextSize",
|
|
117
|
+
"textType": "TextType",
|
|
118
|
+
"textWeight": "TextWeight",
|
|
119
|
+
"background": "Colors | \"surface\" | \"overlay\" | \"page\" | \"transparent\"",
|
|
120
|
+
"solid": "Colors",
|
|
121
|
+
"borderTop": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
122
|
+
"borderRight": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
123
|
+
"borderBottom": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
124
|
+
"borderLeft": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
125
|
+
"borderX": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
126
|
+
"borderY": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
127
|
+
"border": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
128
|
+
"borderStyle": "\"solid\" | \"dashed\"",
|
|
129
|
+
"borderWidth": "1 | 2 | 4 | 8 | \"1\" | \"2\" | \"4\" | \"8\"",
|
|
130
|
+
"topRadius": "RadiusSize",
|
|
131
|
+
"rightRadius": "RadiusSize",
|
|
132
|
+
"bottomRadius": "RadiusSize",
|
|
133
|
+
"leftRadius": "RadiusSize",
|
|
134
|
+
"topLeftRadius": "RadiusSize",
|
|
135
|
+
"topRightRadius": "RadiusSize",
|
|
136
|
+
"bottomLeftRadius": "RadiusSize",
|
|
137
|
+
"bottomRightRadius": "RadiusSize",
|
|
138
|
+
"shadow": "ShadowSize",
|
|
139
|
+
"cursor": "CSSProperties[\"cursor\"] | \"interactive\" | ReactNode",
|
|
140
|
+
"radius": "RadiusSize | `${RadiusSize}-${RadiusNest}`"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "DateRangeInput",
|
|
3
|
+
"group": "components",
|
|
4
|
+
"extends": [
|
|
5
|
+
"Input"
|
|
6
|
+
],
|
|
7
|
+
"props": {
|
|
8
|
+
"id": "!string",
|
|
9
|
+
"startLabel": "!string = Start",
|
|
10
|
+
"endLabel": "!string = End",
|
|
11
|
+
"value": "DateRange",
|
|
12
|
+
"onChange": "(range: DateRange) => void",
|
|
13
|
+
"minHeight": "number",
|
|
14
|
+
"className": "string",
|
|
15
|
+
"style": "React.CSSProperties"
|
|
16
|
+
},
|
|
17
|
+
"mixinsRef": []
|
|
18
|
+
}
|