@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,411 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Row": {
|
|
3
|
+
"purpose": "Horizontal flex layout — default direction row",
|
|
4
|
+
"tags": ["layout", "basics"],
|
|
5
|
+
"preferOver": "Flex with direction=\"row\"",
|
|
6
|
+
"pairsWith": ["Column", "Grid", "Text", "Button"]
|
|
7
|
+
},
|
|
8
|
+
"Column": {
|
|
9
|
+
"purpose": "Vertical flex layout — default direction column",
|
|
10
|
+
"tags": ["layout", "basics"],
|
|
11
|
+
"preferOver": "Flex with direction=\"column\"",
|
|
12
|
+
"pairsWith": ["Row", "Grid", "Heading", "Text"]
|
|
13
|
+
},
|
|
14
|
+
"Grid": {
|
|
15
|
+
"purpose": "CSS grid container with token-based columns/rows",
|
|
16
|
+
"tags": ["layout", "basics"],
|
|
17
|
+
"pairsWith": ["Column", "Row", "Card"]
|
|
18
|
+
},
|
|
19
|
+
"Flex": {
|
|
20
|
+
"purpose": "Dynamic-direction flex container — use only when direction changes at breakpoints",
|
|
21
|
+
"tags": ["layout", "basics"],
|
|
22
|
+
"avoid": "Static row/column layouts — use Row or Column instead"
|
|
23
|
+
},
|
|
24
|
+
"Background": {
|
|
25
|
+
"purpose": "Absolute decorative layer: gradients, dots, lines, grid textures",
|
|
26
|
+
"tags": ["decoration", "effect"],
|
|
27
|
+
"pairsWith": ["Column", "Row", "MatrixFx", "BlobFx"]
|
|
28
|
+
},
|
|
29
|
+
"MatrixFx": {
|
|
30
|
+
"purpose": "Animated matrix field with optional bulge wave",
|
|
31
|
+
"tags": ["decoration", "effect", "marketing"],
|
|
32
|
+
"pairsWith": ["Background", "Column", "RevealFx"]
|
|
33
|
+
},
|
|
34
|
+
"BlobFx": {
|
|
35
|
+
"purpose": "Drifting blurred brand blobs for ambient panels",
|
|
36
|
+
"tags": ["decoration", "effect", "marketing"],
|
|
37
|
+
"pairsWith": ["Column", "Card"]
|
|
38
|
+
},
|
|
39
|
+
"RevealFx": {
|
|
40
|
+
"purpose": "Viewport-triggered entrance animation — one key set per page",
|
|
41
|
+
"tags": ["effect", "motion"],
|
|
42
|
+
"pairsWith": ["useInViewport", "Grid", "Column"]
|
|
43
|
+
},
|
|
44
|
+
"TiltFx": {
|
|
45
|
+
"purpose": "Pointer-tilt interaction wrapper for cards and previews",
|
|
46
|
+
"tags": ["effect", "marketing"],
|
|
47
|
+
"pairsWith": ["Card", "Media", "Column"]
|
|
48
|
+
},
|
|
49
|
+
"Card": {
|
|
50
|
+
"purpose": "Interactive surface only — requires href or onClick",
|
|
51
|
+
"tags": ["surface"],
|
|
52
|
+
"avoid": "Static panels (pricing tiers, testimonials, stats) — use Column + surface recipe",
|
|
53
|
+
"pairsWith": ["Background", "Media", "Heading", "SmartLink"]
|
|
54
|
+
},
|
|
55
|
+
"Button": {
|
|
56
|
+
"purpose": "Primary action and navigation with variants and icons",
|
|
57
|
+
"tags": ["action", "basics"],
|
|
58
|
+
"pairsWith": ["Icon", "SmartLink", "Row"]
|
|
59
|
+
},
|
|
60
|
+
"Heading": {
|
|
61
|
+
"purpose": "Semantic headings with display/heading variants",
|
|
62
|
+
"tags": ["typography", "basics"],
|
|
63
|
+
"pairsWith": ["Text", "Column", "RevealFx"]
|
|
64
|
+
},
|
|
65
|
+
"Text": {
|
|
66
|
+
"purpose": "Body, label, display, and code typography",
|
|
67
|
+
"tags": ["typography", "basics"],
|
|
68
|
+
"pairsWith": ["Heading", "Column", "Row"]
|
|
69
|
+
},
|
|
70
|
+
"Media": {
|
|
71
|
+
"purpose": "Optimized image/video with aspect ratio and radius",
|
|
72
|
+
"tags": ["media", "basics"],
|
|
73
|
+
"avoid": "Raw img elements",
|
|
74
|
+
"pairsWith": ["Card", "Column", "TiltFx"]
|
|
75
|
+
},
|
|
76
|
+
"Avatar": {
|
|
77
|
+
"purpose": "User avatar with size tokens",
|
|
78
|
+
"tags": ["media", "profile"],
|
|
79
|
+
"pairsWith": ["Row", "User", "AvatarGroup"]
|
|
80
|
+
},
|
|
81
|
+
"Table": {
|
|
82
|
+
"purpose": "Structured data table with headers and rows",
|
|
83
|
+
"tags": ["data", "dashboard"],
|
|
84
|
+
"pairsWith": ["Column", "Tag", "Icon"]
|
|
85
|
+
},
|
|
86
|
+
"AccordionGroup": {
|
|
87
|
+
"purpose": "Expandable FAQ / disclosure sections",
|
|
88
|
+
"tags": ["content", "marketing"],
|
|
89
|
+
"pairsWith": ["Column", "Text", "Heading"]
|
|
90
|
+
},
|
|
91
|
+
"SegmentedControl": {
|
|
92
|
+
"purpose": "Toggle between 2–5 options (billing period, view mode)",
|
|
93
|
+
"tags": ["control", "dashboard"],
|
|
94
|
+
"pairsWith": ["Row", "Grid"]
|
|
95
|
+
},
|
|
96
|
+
"CountFx": {
|
|
97
|
+
"purpose": "Animated number counter for stats and pricing",
|
|
98
|
+
"tags": ["effect", "data", "marketing"],
|
|
99
|
+
"pairsWith": ["useInViewport", "Text", "Row"]
|
|
100
|
+
},
|
|
101
|
+
"LogoCloud": {
|
|
102
|
+
"purpose": "Grid of partner/customer logos — always set columns",
|
|
103
|
+
"tags": ["marketing", "social-proof"],
|
|
104
|
+
"pairsWith": ["Grid", "Media", "Logo"]
|
|
105
|
+
},
|
|
106
|
+
"Dialog": {
|
|
107
|
+
"purpose": "Modal dialog with stack support for multi-step flows",
|
|
108
|
+
"tags": ["overlay", "auth"],
|
|
109
|
+
"pairsWith": ["OTPInput", "PasswordInput", "Button", "Column"]
|
|
110
|
+
},
|
|
111
|
+
"Input": {
|
|
112
|
+
"purpose": "Text input with label, validation, and icons",
|
|
113
|
+
"tags": ["form"],
|
|
114
|
+
"pairsWith": ["PasswordInput", "Select", "Switch", "Column"]
|
|
115
|
+
},
|
|
116
|
+
"Select": {
|
|
117
|
+
"purpose": "Dropdown select for forms and filters",
|
|
118
|
+
"tags": ["form", "dashboard"],
|
|
119
|
+
"pairsWith": ["Input", "Row", "Column"]
|
|
120
|
+
},
|
|
121
|
+
"ProgressBar": {
|
|
122
|
+
"purpose": "Linear progress indicator",
|
|
123
|
+
"tags": ["data", "onboarding"],
|
|
124
|
+
"pairsWith": ["StatusIndicator", "Column", "Text"]
|
|
125
|
+
},
|
|
126
|
+
"StatusIndicator": {
|
|
127
|
+
"purpose": "Colored status dot for online/offline/success states",
|
|
128
|
+
"tags": ["data", "onboarding"],
|
|
129
|
+
"pairsWith": ["Row", "Text", "Avatar"]
|
|
130
|
+
},
|
|
131
|
+
"Timeline": {
|
|
132
|
+
"purpose": "Versioned changelog / release history layout",
|
|
133
|
+
"tags": ["content", "docs"],
|
|
134
|
+
"pairsWith": ["Tag", "CodeBlock", "Text"]
|
|
135
|
+
},
|
|
136
|
+
"MegaMenu": {
|
|
137
|
+
"purpose": "Navigation mega menu with featured card and link columns",
|
|
138
|
+
"tags": ["navigation", "marketing"],
|
|
139
|
+
"pairsWith": ["Background", "SmartLink", "Column", "Row"]
|
|
140
|
+
},
|
|
141
|
+
"EmojiPickerDropdown": {
|
|
142
|
+
"purpose": "Emoji picker in a dropdown for chat/message inputs",
|
|
143
|
+
"tags": ["overlay", "chat"],
|
|
144
|
+
"pairsWith": ["Input", "IconButton", "Row"]
|
|
145
|
+
},
|
|
146
|
+
"Fade": {
|
|
147
|
+
"purpose": "Edge overlay strip on scroll containers — not a content wrapper",
|
|
148
|
+
"tags": ["effect", "chat"],
|
|
149
|
+
"avoid": "Wrapping entire message lists or sections"
|
|
150
|
+
},
|
|
151
|
+
"Spinner": {
|
|
152
|
+
"purpose": "Loading indicator for async/streaming states",
|
|
153
|
+
"tags": ["feedback", "chat"],
|
|
154
|
+
"pairsWith": ["Row", "Text"]
|
|
155
|
+
},
|
|
156
|
+
"Kbd": {
|
|
157
|
+
"purpose": "Keyboard shortcut display",
|
|
158
|
+
"tags": ["typography", "chat"],
|
|
159
|
+
"pairsWith": ["Row", "Text"]
|
|
160
|
+
},
|
|
161
|
+
"Tag": {
|
|
162
|
+
"purpose": "Metadata label — do not duplicate text in label prop and children",
|
|
163
|
+
"tags": ["typography", "marketing"],
|
|
164
|
+
"pairsWith": ["Row", "Badge", "Heading"]
|
|
165
|
+
},
|
|
166
|
+
"Badge": {
|
|
167
|
+
"purpose": "Notification count or status badge",
|
|
168
|
+
"tags": ["typography", "dashboard"],
|
|
169
|
+
"avoid": "Passing same text in title prop and children"
|
|
170
|
+
},
|
|
171
|
+
"Skeleton": {
|
|
172
|
+
"purpose": "Loading placeholder for cards and lists",
|
|
173
|
+
"tags": ["feedback", "ecommerce"],
|
|
174
|
+
"pairsWith": ["Grid", "Media", "Column"]
|
|
175
|
+
},
|
|
176
|
+
"HoverCard": {
|
|
177
|
+
"purpose": "Rich popover card on hover",
|
|
178
|
+
"tags": ["overlay", "profile"],
|
|
179
|
+
"pairsWith": ["Avatar", "User", "Column"]
|
|
180
|
+
},
|
|
181
|
+
"UserMenu": {
|
|
182
|
+
"purpose": "Avatar-triggered account menu",
|
|
183
|
+
"tags": ["overlay", "navigation"],
|
|
184
|
+
"pairsWith": ["Avatar", "Dropdown", "Column"]
|
|
185
|
+
},
|
|
186
|
+
"CelebrationFx": {
|
|
187
|
+
"purpose": "Confetti/fireworks on completion milestones",
|
|
188
|
+
"tags": ["effect", "onboarding"],
|
|
189
|
+
"pairsWith": ["Column", "Button"]
|
|
190
|
+
},
|
|
191
|
+
"LetterFx": {
|
|
192
|
+
"purpose": "Per-letter text animation for hero headlines",
|
|
193
|
+
"tags": ["effect", "marketing"],
|
|
194
|
+
"pairsWith": ["Heading", "Column"]
|
|
195
|
+
},
|
|
196
|
+
"TypeFx": {
|
|
197
|
+
"purpose": "Typewriter text effect",
|
|
198
|
+
"tags": ["effect", "marketing"],
|
|
199
|
+
"pairsWith": ["Heading", "Text"]
|
|
200
|
+
},
|
|
201
|
+
"DateRangePicker": {
|
|
202
|
+
"purpose": "Date range filter for dashboards and tables",
|
|
203
|
+
"tags": ["form", "dashboard"],
|
|
204
|
+
"pairsWith": ["Input", "Row", "Table"]
|
|
205
|
+
},
|
|
206
|
+
"Chip": {
|
|
207
|
+
"purpose": "Selectable chip for ratings, filters, tags",
|
|
208
|
+
"tags": ["form", "feedback"],
|
|
209
|
+
"pairsWith": ["Row", "Textarea", "Dialog"]
|
|
210
|
+
},
|
|
211
|
+
"Feedback": {
|
|
212
|
+
"purpose": "Inline feedback message display",
|
|
213
|
+
"tags": ["feedback"],
|
|
214
|
+
"pairsWith": ["useToast", "Dialog"]
|
|
215
|
+
},
|
|
216
|
+
"CodeBlock": {
|
|
217
|
+
"purpose": "Syntax-highlighted code with optional live preview",
|
|
218
|
+
"tags": ["docs", "content"],
|
|
219
|
+
"pairsWith": ["InlineCode", "Column"]
|
|
220
|
+
},
|
|
221
|
+
"SplitView": {
|
|
222
|
+
"purpose": "Resizable two-pane layout for sidebars and chat",
|
|
223
|
+
"tags": ["layout", "chat", "settings"],
|
|
224
|
+
"pairsWith": ["Column", "Row"]
|
|
225
|
+
},
|
|
226
|
+
"Line": {
|
|
227
|
+
"purpose": "Horizontal divider / section separator",
|
|
228
|
+
"tags": ["decoration", "marketing"],
|
|
229
|
+
"pairsWith": ["Column", "Row"]
|
|
230
|
+
},
|
|
231
|
+
"Icon": {
|
|
232
|
+
"purpose": "Icon from IconName list in spec — never invent names",
|
|
233
|
+
"tags": ["basics"],
|
|
234
|
+
"pairsWith": ["Row", "Button", "IconButton"]
|
|
235
|
+
},
|
|
236
|
+
"IconButton": {
|
|
237
|
+
"purpose": "Icon-only action with optional tooltip",
|
|
238
|
+
"tags": ["action", "chat"],
|
|
239
|
+
"pairsWith": ["Tooltip", "Row"]
|
|
240
|
+
},
|
|
241
|
+
"SmartLink": {
|
|
242
|
+
"purpose": "Enhanced link with Once UI styling",
|
|
243
|
+
"tags": ["navigation", "basics"],
|
|
244
|
+
"avoid": "Raw a elements"
|
|
245
|
+
},
|
|
246
|
+
"Scroller": {
|
|
247
|
+
"purpose": "Horizontal scroll container for chips, tabs, cards",
|
|
248
|
+
"tags": ["layout"],
|
|
249
|
+
"pairsWith": ["Row", "Chip"]
|
|
250
|
+
},
|
|
251
|
+
"InfiniteScroll": {
|
|
252
|
+
"purpose": "Infinite scroll wrapper for feeds and lists",
|
|
253
|
+
"tags": ["layout", "chat"],
|
|
254
|
+
"pairsWith": ["Column", "Spinner"]
|
|
255
|
+
},
|
|
256
|
+
"MasonryGrid": {
|
|
257
|
+
"purpose": "Pinterest-style masonry layout",
|
|
258
|
+
"tags": ["layout", "marketing"],
|
|
259
|
+
"pairsWith": ["Media", "Card"]
|
|
260
|
+
},
|
|
261
|
+
"CompareImage": {
|
|
262
|
+
"purpose": "Before/after image comparison slider",
|
|
263
|
+
"tags": ["media", "marketing"],
|
|
264
|
+
"pairsWith": ["Column", "Media"]
|
|
265
|
+
},
|
|
266
|
+
"OgCard": {
|
|
267
|
+
"purpose": "Open Graph link preview card",
|
|
268
|
+
"tags": ["media", "social"],
|
|
269
|
+
"pairsWith": ["SmartLink", "Media"]
|
|
270
|
+
},
|
|
271
|
+
"Kbar": {
|
|
272
|
+
"purpose": "Command palette (⌘K) for navigation and actions",
|
|
273
|
+
"tags": ["navigation", "chat"],
|
|
274
|
+
"pairsWith": ["Kbd", "Dialog"]
|
|
275
|
+
},
|
|
276
|
+
"MediaUpload": {
|
|
277
|
+
"purpose": "Image upload with compression for profile/settings",
|
|
278
|
+
"tags": ["form", "settings"],
|
|
279
|
+
"pairsWith": ["Avatar", "Column", "Button"]
|
|
280
|
+
},
|
|
281
|
+
"PasswordInput": {
|
|
282
|
+
"purpose": "Password field with show/hide toggle",
|
|
283
|
+
"tags": ["form", "auth"],
|
|
284
|
+
"pairsWith": ["Input", "Dialog", "Column"]
|
|
285
|
+
},
|
|
286
|
+
"OTPInput": {
|
|
287
|
+
"purpose": "One-time password input for verification steps",
|
|
288
|
+
"tags": ["form", "auth"],
|
|
289
|
+
"pairsWith": ["Dialog", "Column", "Button"]
|
|
290
|
+
},
|
|
291
|
+
"Switch": {
|
|
292
|
+
"purpose": "Boolean toggle for settings",
|
|
293
|
+
"tags": ["form", "settings"],
|
|
294
|
+
"pairsWith": ["Row", "Column", "Text"]
|
|
295
|
+
},
|
|
296
|
+
"Checkbox": {
|
|
297
|
+
"purpose": "Checkbox with label for forms",
|
|
298
|
+
"tags": ["form", "settings"],
|
|
299
|
+
"pairsWith": ["Column", "Row"]
|
|
300
|
+
},
|
|
301
|
+
"Textarea": {
|
|
302
|
+
"purpose": "Multi-line text input",
|
|
303
|
+
"tags": ["form", "feedback"],
|
|
304
|
+
"pairsWith": ["Dialog", "Column", "Chip"]
|
|
305
|
+
},
|
|
306
|
+
"Slider": {
|
|
307
|
+
"purpose": "Numeric range slider",
|
|
308
|
+
"tags": ["form", "settings"],
|
|
309
|
+
"pairsWith": ["Row", "Text"]
|
|
310
|
+
},
|
|
311
|
+
"Carousel": {
|
|
312
|
+
"purpose": "Image/content carousel with navigation",
|
|
313
|
+
"tags": ["media", "marketing"],
|
|
314
|
+
"pairsWith": ["Media", "Column", "Button"]
|
|
315
|
+
},
|
|
316
|
+
"Swiper": {
|
|
317
|
+
"purpose": "Touch-friendly image swiper",
|
|
318
|
+
"tags": ["media", "marketing"],
|
|
319
|
+
"pairsWith": ["Media", "Row"]
|
|
320
|
+
},
|
|
321
|
+
"Tooltip": {
|
|
322
|
+
"purpose": "Hover/focus tooltip for icon buttons and truncated text",
|
|
323
|
+
"tags": ["overlay", "basics"],
|
|
324
|
+
"pairsWith": ["IconButton", "Text"]
|
|
325
|
+
},
|
|
326
|
+
"Dropdown": {
|
|
327
|
+
"purpose": "Dropdown menu for actions and navigation",
|
|
328
|
+
"tags": ["overlay", "navigation"],
|
|
329
|
+
"pairsWith": ["IconButton", "UserMenu"]
|
|
330
|
+
},
|
|
331
|
+
"ContextMenu": {
|
|
332
|
+
"purpose": "Right-click context menu",
|
|
333
|
+
"tags": ["overlay", "chat"],
|
|
334
|
+
"pairsWith": ["Column", "Row"]
|
|
335
|
+
},
|
|
336
|
+
"CursorCard": {
|
|
337
|
+
"purpose": "Card that follows cursor for spotlight effects",
|
|
338
|
+
"tags": ["effect", "marketing"],
|
|
339
|
+
"pairsWith": ["Background", "Column"]
|
|
340
|
+
},
|
|
341
|
+
"Hover": {
|
|
342
|
+
"purpose": "Hover state wrapper for subtle scale/glow transitions",
|
|
343
|
+
"tags": ["effect"],
|
|
344
|
+
"pairsWith": ["Card", "Media"]
|
|
345
|
+
},
|
|
346
|
+
"Particle": {
|
|
347
|
+
"purpose": "Floating particle decoration",
|
|
348
|
+
"tags": ["effect", "marketing"],
|
|
349
|
+
"pairsWith": ["Background", "Column"]
|
|
350
|
+
},
|
|
351
|
+
"ShineFx": {
|
|
352
|
+
"purpose": "Shine sweep animation on text",
|
|
353
|
+
"tags": ["effect", "marketing"],
|
|
354
|
+
"pairsWith": ["Heading", "Text"]
|
|
355
|
+
},
|
|
356
|
+
"GlitchFx": {
|
|
357
|
+
"purpose": "Glitch text effect",
|
|
358
|
+
"tags": ["effect", "marketing"],
|
|
359
|
+
"pairsWith": ["Heading", "Text"]
|
|
360
|
+
},
|
|
361
|
+
"HoloFx": {
|
|
362
|
+
"purpose": "Holographic foil effect on cards",
|
|
363
|
+
"tags": ["effect", "marketing"],
|
|
364
|
+
"pairsWith": ["Card", "Media"]
|
|
365
|
+
},
|
|
366
|
+
"FlipFx": {
|
|
367
|
+
"purpose": "Flip card between front and back faces",
|
|
368
|
+
"tags": ["effect", "marketing"],
|
|
369
|
+
"pairsWith": ["Card", "Column"]
|
|
370
|
+
},
|
|
371
|
+
"ThemeSwitcher": {
|
|
372
|
+
"purpose": "Light/dark theme toggle",
|
|
373
|
+
"tags": ["navigation", "settings"],
|
|
374
|
+
"pairsWith": ["IconButton", "Row"]
|
|
375
|
+
},
|
|
376
|
+
"User": {
|
|
377
|
+
"purpose": "User profile row with avatar, name, and metadata",
|
|
378
|
+
"tags": ["profile", "chat"],
|
|
379
|
+
"pairsWith": ["Avatar", "Row", "Text"]
|
|
380
|
+
},
|
|
381
|
+
"AvatarGroup": {
|
|
382
|
+
"purpose": "Stacked overlapping avatars",
|
|
383
|
+
"tags": ["profile", "marketing"],
|
|
384
|
+
"pairsWith": ["Avatar", "Row"]
|
|
385
|
+
},
|
|
386
|
+
"Logo": {
|
|
387
|
+
"purpose": "Brand logo with light/dark variants",
|
|
388
|
+
"tags": ["media", "navigation"],
|
|
389
|
+
"pairsWith": ["SmartLink", "Row"]
|
|
390
|
+
},
|
|
391
|
+
"BlockQuote": {
|
|
392
|
+
"purpose": "Quoted text — keep smaller than section headings",
|
|
393
|
+
"tags": ["typography", "marketing"],
|
|
394
|
+
"avoid": "Using default size larger than display-strong-xs section titles"
|
|
395
|
+
},
|
|
396
|
+
"InlineCode": {
|
|
397
|
+
"purpose": "Inline code snippet styling",
|
|
398
|
+
"tags": ["typography", "docs"],
|
|
399
|
+
"pairsWith": ["Text", "CodeBlock"]
|
|
400
|
+
},
|
|
401
|
+
"List": {
|
|
402
|
+
"purpose": "Styled list with icons or bullets",
|
|
403
|
+
"tags": ["content"],
|
|
404
|
+
"pairsWith": ["Column", "Icon", "Text"]
|
|
405
|
+
},
|
|
406
|
+
"Banner": {
|
|
407
|
+
"purpose": "Top-of-page announcement strip",
|
|
408
|
+
"tags": ["navigation", "marketing"],
|
|
409
|
+
"pairsWith": ["Row", "Button", "SmartLink"]
|
|
410
|
+
}
|
|
411
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Accordion",
|
|
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
|
+
"title": "!React.ReactNode",
|
|
17
|
+
"children": "!React.ReactNode",
|
|
18
|
+
"icon": "string = chevronDown",
|
|
19
|
+
"iconRotation": "number = 180",
|
|
20
|
+
"size": "CondensedTShirtSizes = m",
|
|
21
|
+
"radius": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"full\" = m",
|
|
22
|
+
"open": "boolean = false",
|
|
23
|
+
"onToggle": "() => void",
|
|
24
|
+
"className": "string",
|
|
25
|
+
"style": "React.CSSProperties",
|
|
26
|
+
"headerProps": "React.ComponentProps<typeof Row>",
|
|
27
|
+
"contentProps": "React.ComponentProps<typeof Column>",
|
|
28
|
+
"toggleOnHeaderClick": "boolean = true"
|
|
29
|
+
},
|
|
30
|
+
"mixinsRef": [
|
|
31
|
+
"CommonProps",
|
|
32
|
+
"DisplayProps",
|
|
33
|
+
"FlexProps",
|
|
34
|
+
"SizeProps",
|
|
35
|
+
"SpacingProps",
|
|
36
|
+
"StyleProps"
|
|
37
|
+
],
|
|
38
|
+
"tokensRef": "see spec.json mixins",
|
|
39
|
+
"resolvedMixins": {
|
|
40
|
+
"CommonProps": {
|
|
41
|
+
"onBackground": "Colors",
|
|
42
|
+
"onSolid": "Colors",
|
|
43
|
+
"align": "CSSProperties[\"textAlign\"]"
|
|
44
|
+
},
|
|
45
|
+
"DisplayProps": {
|
|
46
|
+
"as": "ElementType",
|
|
47
|
+
"inline": "boolean",
|
|
48
|
+
"hide": "boolean",
|
|
49
|
+
"pointerEvents": "\"none\" | \"all\" | \"auto\"",
|
|
50
|
+
"position": "CSSProperties[\"position\"]",
|
|
51
|
+
"overflow": "CSSProperties[\"overflow\"]",
|
|
52
|
+
"overflowX": "CSSProperties[\"overflowX\"]",
|
|
53
|
+
"overflowY": "CSSProperties[\"overflowY\"]",
|
|
54
|
+
"scrollbar": "\"default\" | \"minimal\"",
|
|
55
|
+
"transition": "\"micro-short\" | \"micro-medium\" | \"micro-long\" | \"macro-short\" | \"macro-medium\" | \"macro-long\"",
|
|
56
|
+
"opacity": "Opacity",
|
|
57
|
+
"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\"",
|
|
58
|
+
"dark": "boolean",
|
|
59
|
+
"light": "boolean"
|
|
60
|
+
},
|
|
61
|
+
"FlexProps": {
|
|
62
|
+
"direction": "\"row\" | \"column\" | \"row-reverse\" | \"column-reverse\"",
|
|
63
|
+
"horizontal": "\"start\" | \"center\" | \"end\" | \"between\" | \"around\" | \"even\" | \"stretch\"",
|
|
64
|
+
"vertical": "\"start\" | \"center\" | \"end\" | \"between\" | \"around\" | \"even\" | \"stretch\"",
|
|
65
|
+
"center": "boolean",
|
|
66
|
+
"wrap": "boolean",
|
|
67
|
+
"flex": "FlexValue"
|
|
68
|
+
},
|
|
69
|
+
"SizeProps": {
|
|
70
|
+
"width": "number | SpacingToken | CSSUnit",
|
|
71
|
+
"height": "number | SpacingToken | CSSUnit",
|
|
72
|
+
"maxWidth": "number | SpacingToken | CSSUnit",
|
|
73
|
+
"minWidth": "number | SpacingToken | CSSUnit",
|
|
74
|
+
"minHeight": "number | SpacingToken | CSSUnit",
|
|
75
|
+
"maxHeight": "number | SpacingToken | CSSUnit",
|
|
76
|
+
"fit": "boolean",
|
|
77
|
+
"fitWidth": "boolean",
|
|
78
|
+
"fitHeight": "boolean",
|
|
79
|
+
"fill": "boolean",
|
|
80
|
+
"fillWidth": "boolean",
|
|
81
|
+
"fillHeight": "boolean",
|
|
82
|
+
"aspectRatio": "CSSProperties[\"aspectRatio\"]"
|
|
83
|
+
},
|
|
84
|
+
"SpacingProps": {
|
|
85
|
+
"padding": "SpacingToken | number",
|
|
86
|
+
"paddingLeft": "SpacingToken | number",
|
|
87
|
+
"paddingRight": "SpacingToken | number",
|
|
88
|
+
"paddingTop": "SpacingToken | number",
|
|
89
|
+
"paddingBottom": "SpacingToken | number",
|
|
90
|
+
"paddingX": "SpacingToken | number",
|
|
91
|
+
"paddingY": "SpacingToken | number",
|
|
92
|
+
"margin": "SpacingToken | number",
|
|
93
|
+
"marginLeft": "SpacingToken | number",
|
|
94
|
+
"marginRight": "SpacingToken | number",
|
|
95
|
+
"marginTop": "SpacingToken | number",
|
|
96
|
+
"marginBottom": "SpacingToken | number",
|
|
97
|
+
"marginX": "SpacingToken | number",
|
|
98
|
+
"marginY": "SpacingToken | number",
|
|
99
|
+
"gap": "SpacingToken | number | \"-1\"",
|
|
100
|
+
"top": "SpacingToken | number | CSSUnit",
|
|
101
|
+
"right": "SpacingToken | number | CSSUnit",
|
|
102
|
+
"bottom": "SpacingToken | number | CSSUnit",
|
|
103
|
+
"left": "SpacingToken | number | CSSUnit",
|
|
104
|
+
"translateX": "SpacingToken | number | CSSUnit",
|
|
105
|
+
"translateY": "SpacingToken | number | CSSUnit"
|
|
106
|
+
},
|
|
107
|
+
"StyleProps": {
|
|
108
|
+
"textVariant": "TextVariant",
|
|
109
|
+
"textSize": "TextSize",
|
|
110
|
+
"textType": "TextType",
|
|
111
|
+
"textWeight": "TextWeight",
|
|
112
|
+
"background": "Colors | \"surface\" | \"overlay\" | \"page\" | \"transparent\"",
|
|
113
|
+
"solid": "Colors",
|
|
114
|
+
"borderTop": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
115
|
+
"borderRight": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
116
|
+
"borderBottom": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
117
|
+
"borderLeft": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
118
|
+
"borderX": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
119
|
+
"borderY": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
120
|
+
"border": "Colors | \"surface\" | \"transparent\" | boolean",
|
|
121
|
+
"borderStyle": "\"solid\" | \"dashed\"",
|
|
122
|
+
"borderWidth": "1 | 2 | 4 | 8 | \"1\" | \"2\" | \"4\" | \"8\"",
|
|
123
|
+
"topRadius": "RadiusSize",
|
|
124
|
+
"rightRadius": "RadiusSize",
|
|
125
|
+
"bottomRadius": "RadiusSize",
|
|
126
|
+
"leftRadius": "RadiusSize",
|
|
127
|
+
"topLeftRadius": "RadiusSize",
|
|
128
|
+
"topRightRadius": "RadiusSize",
|
|
129
|
+
"bottomLeftRadius": "RadiusSize",
|
|
130
|
+
"bottomRightRadius": "RadiusSize",
|
|
131
|
+
"shadow": "ShadowSize",
|
|
132
|
+
"cursor": "CSSProperties[\"cursor\"] | \"interactive\" | ReactNode",
|
|
133
|
+
"radius": "RadiusSize | `${RadiusSize}-${RadiusNest}`"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "AccordionGroup",
|
|
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
|
+
"items": "!AccordionItem[]",
|
|
17
|
+
"size": "CondensedTShirtSizes = m",
|
|
18
|
+
"autoCollapse": "boolean = true",
|
|
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
|
+
}
|