@fairgarden/design 0.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +86 -0
- package/components/Accordion/Accordion.d.ts +68 -0
- package/components/Accordion/Accordion.d.ts.map +1 -0
- package/components/Accordion/Accordion.js +95 -0
- package/components/Accordion/Accordion.js.map +1 -0
- package/components/Accordion/accordion.module.css +248 -0
- package/components/Accordion/index.d.ts +2 -0
- package/components/Accordion/index.d.ts.map +1 -0
- package/components/Accordion/index.js +2 -0
- package/components/Accordion/index.js.map +1 -0
- package/components/Alert/Alert.d.ts +38 -0
- package/components/Alert/Alert.d.ts.map +1 -0
- package/components/Alert/Alert.js +79 -0
- package/components/Alert/Alert.js.map +1 -0
- package/components/Alert/alert.module.css +99 -0
- package/components/Alert/index.d.ts +2 -0
- package/components/Alert/index.d.ts.map +1 -0
- package/components/Alert/index.js +2 -0
- package/components/Alert/index.js.map +1 -0
- package/components/AlertDialog/AlertDialog.d.ts +71 -0
- package/components/AlertDialog/AlertDialog.d.ts.map +1 -0
- package/components/AlertDialog/AlertDialog.js +94 -0
- package/components/AlertDialog/AlertDialog.js.map +1 -0
- package/components/AlertDialog/alert-dialog.module.css +53 -0
- package/components/AlertDialog/index.d.ts +2 -0
- package/components/AlertDialog/index.d.ts.map +1 -0
- package/components/AlertDialog/index.js +2 -0
- package/components/AlertDialog/index.js.map +1 -0
- package/components/AnnouncementBar/AnnouncementBar.d.ts +116 -0
- package/components/AnnouncementBar/AnnouncementBar.d.ts.map +1 -0
- package/components/AnnouncementBar/AnnouncementBar.js +215 -0
- package/components/AnnouncementBar/AnnouncementBar.js.map +1 -0
- package/components/AnnouncementBar/announcement-bar.module.css +271 -0
- package/components/AnnouncementBar/index.d.ts +2 -0
- package/components/AnnouncementBar/index.d.ts.map +1 -0
- package/components/AnnouncementBar/index.js +2 -0
- package/components/AnnouncementBar/index.js.map +1 -0
- package/components/Autocomplete/Autocomplete.d.ts +67 -0
- package/components/Autocomplete/Autocomplete.d.ts.map +1 -0
- package/components/Autocomplete/Autocomplete.js +116 -0
- package/components/Autocomplete/Autocomplete.js.map +1 -0
- package/components/Autocomplete/autocomplete.module.css +428 -0
- package/components/Autocomplete/index.d.ts +2 -0
- package/components/Autocomplete/index.d.ts.map +1 -0
- package/components/Autocomplete/index.js +2 -0
- package/components/Autocomplete/index.js.map +1 -0
- package/components/Avatar/Avatar.d.ts +97 -0
- package/components/Avatar/Avatar.d.ts.map +1 -0
- package/components/Avatar/Avatar.js +154 -0
- package/components/Avatar/Avatar.js.map +1 -0
- package/components/Avatar/avatar-group.module.css +72 -0
- package/components/Avatar/avatar.module.css +180 -0
- package/components/Avatar/index.d.ts +2 -0
- package/components/Avatar/index.d.ts.map +1 -0
- package/components/Avatar/index.js +2 -0
- package/components/Avatar/index.js.map +1 -0
- package/components/Badge/Badge.d.ts +67 -0
- package/components/Badge/Badge.d.ts.map +1 -0
- package/components/Badge/Badge.js +118 -0
- package/components/Badge/Badge.js.map +1 -0
- package/components/Badge/badge.module.css +134 -0
- package/components/Badge/index.d.ts +2 -0
- package/components/Badge/index.d.ts.map +1 -0
- package/components/Badge/index.js +2 -0
- package/components/Badge/index.js.map +1 -0
- package/components/Breadcrumb/Breadcrumb.d.ts +83 -0
- package/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/components/Breadcrumb/Breadcrumb.js +183 -0
- package/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/components/Breadcrumb/breadcrumb.module.css +413 -0
- package/components/Breadcrumb/index.d.ts +2 -0
- package/components/Breadcrumb/index.d.ts.map +1 -0
- package/components/Breadcrumb/index.js +2 -0
- package/components/Breadcrumb/index.js.map +1 -0
- package/components/Button/Button.d.ts +97 -0
- package/components/Button/Button.d.ts.map +1 -0
- package/components/Button/Button.js +127 -0
- package/components/Button/Button.js.map +1 -0
- package/components/Button/button.module.css +390 -0
- package/components/Button/index.d.ts +2 -0
- package/components/Button/index.d.ts.map +1 -0
- package/components/Button/index.js +2 -0
- package/components/Button/index.js.map +1 -0
- package/components/CTABlock/CTABlock.d.ts +117 -0
- package/components/CTABlock/CTABlock.d.ts.map +1 -0
- package/components/CTABlock/CTABlock.js +125 -0
- package/components/CTABlock/CTABlock.js.map +1 -0
- package/components/CTABlock/cta-block.module.css +358 -0
- package/components/CTABlock/index.d.ts +2 -0
- package/components/CTABlock/index.d.ts.map +1 -0
- package/components/CTABlock/index.js +2 -0
- package/components/CTABlock/index.js.map +1 -0
- package/components/Card/Card.d.ts +137 -0
- package/components/Card/Card.d.ts.map +1 -0
- package/components/Card/Card.js +239 -0
- package/components/Card/Card.js.map +1 -0
- package/components/Card/card.module.css +479 -0
- package/components/Card/index.d.ts +2 -0
- package/components/Card/index.d.ts.map +1 -0
- package/components/Card/index.js +2 -0
- package/components/Card/index.js.map +1 -0
- package/components/CardGrid/CardGrid.d.ts +99 -0
- package/components/CardGrid/CardGrid.d.ts.map +1 -0
- package/components/CardGrid/CardGrid.js +176 -0
- package/components/CardGrid/CardGrid.js.map +1 -0
- package/components/CardGrid/card-grid.module.css +187 -0
- package/components/CardGrid/index.d.ts +2 -0
- package/components/CardGrid/index.d.ts.map +1 -0
- package/components/CardGrid/index.js +2 -0
- package/components/CardGrid/index.js.map +1 -0
- package/components/Carousel/Carousel.d.ts +98 -0
- package/components/Carousel/Carousel.d.ts.map +1 -0
- package/components/Carousel/Carousel.js +316 -0
- package/components/Carousel/Carousel.js.map +1 -0
- package/components/Carousel/carousel.module.css +236 -0
- package/components/Carousel/index.d.ts +2 -0
- package/components/Carousel/index.d.ts.map +1 -0
- package/components/Carousel/index.js +2 -0
- package/components/Carousel/index.js.map +1 -0
- package/components/Chart/Chart.d.ts +135 -0
- package/components/Chart/Chart.d.ts.map +1 -0
- package/components/Chart/Chart.js +453 -0
- package/components/Chart/Chart.js.map +1 -0
- package/components/Chart/chart.module.css +376 -0
- package/components/Chart/index.d.ts +2 -0
- package/components/Chart/index.d.ts.map +1 -0
- package/components/Chart/index.js +2 -0
- package/components/Chart/index.js.map +1 -0
- package/components/Checkbox/Checkbox.d.ts +66 -0
- package/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/components/Checkbox/Checkbox.js +91 -0
- package/components/Checkbox/Checkbox.js.map +1 -0
- package/components/Checkbox/checkbox.module.css +388 -0
- package/components/Checkbox/index.d.ts +2 -0
- package/components/Checkbox/index.d.ts.map +1 -0
- package/components/Checkbox/index.js +2 -0
- package/components/Checkbox/index.js.map +1 -0
- package/components/CheckboxGroup/CheckboxGroup.d.ts +39 -0
- package/components/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/components/CheckboxGroup/CheckboxGroup.js +63 -0
- package/components/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/components/CheckboxGroup/checkbox-group.module.css +52 -0
- package/components/CheckboxGroup/index.d.ts +2 -0
- package/components/CheckboxGroup/index.d.ts.map +1 -0
- package/components/CheckboxGroup/index.js +2 -0
- package/components/CheckboxGroup/index.js.map +1 -0
- package/components/Chip/Chip.d.ts +58 -0
- package/components/Chip/Chip.d.ts.map +1 -0
- package/components/Chip/Chip.js +94 -0
- package/components/Chip/Chip.js.map +1 -0
- package/components/Chip/chip.module.css +171 -0
- package/components/Chip/index.d.ts +2 -0
- package/components/Chip/index.d.ts.map +1 -0
- package/components/Chip/index.js +2 -0
- package/components/Chip/index.js.map +1 -0
- package/components/Collapsible/Collapsible.d.ts +80 -0
- package/components/Collapsible/Collapsible.d.ts.map +1 -0
- package/components/Collapsible/Collapsible.js +112 -0
- package/components/Collapsible/Collapsible.js.map +1 -0
- package/components/Collapsible/collapsible.module.css +214 -0
- package/components/Collapsible/index.d.ts +2 -0
- package/components/Collapsible/index.d.ts.map +1 -0
- package/components/Collapsible/index.js +2 -0
- package/components/Collapsible/index.js.map +1 -0
- package/components/Combobox/Combobox.d.ts +86 -0
- package/components/Combobox/Combobox.d.ts.map +1 -0
- package/components/Combobox/Combobox.js +168 -0
- package/components/Combobox/Combobox.js.map +1 -0
- package/components/Combobox/combobox.module.css +501 -0
- package/components/Combobox/index.d.ts +2 -0
- package/components/Combobox/index.d.ts.map +1 -0
- package/components/Combobox/index.js +2 -0
- package/components/Combobox/index.js.map +1 -0
- package/components/ContextMenu/ContextMenu.d.ts +47 -0
- package/components/ContextMenu/ContextMenu.d.ts.map +1 -0
- package/components/ContextMenu/ContextMenu.js +50 -0
- package/components/ContextMenu/ContextMenu.js.map +1 -0
- package/components/ContextMenu/index.d.ts +2 -0
- package/components/ContextMenu/index.d.ts.map +1 -0
- package/components/ContextMenu/index.js +2 -0
- package/components/ContextMenu/index.js.map +1 -0
- package/components/Dialog/Dialog.d.ts +122 -0
- package/components/Dialog/Dialog.d.ts.map +1 -0
- package/components/Dialog/Dialog.js +240 -0
- package/components/Dialog/Dialog.js.map +1 -0
- package/components/Dialog/dialog.module.css +257 -0
- package/components/Dialog/index.d.ts +2 -0
- package/components/Dialog/index.d.ts.map +1 -0
- package/components/Dialog/index.js +2 -0
- package/components/Dialog/index.js.map +1 -0
- package/components/EmptyState/EmptyState.d.ts +88 -0
- package/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/components/EmptyState/EmptyState.js +161 -0
- package/components/EmptyState/EmptyState.js.map +1 -0
- package/components/EmptyState/empty-state.module.css +244 -0
- package/components/EmptyState/index.d.ts +2 -0
- package/components/EmptyState/index.d.ts.map +1 -0
- package/components/EmptyState/index.js +2 -0
- package/components/EmptyState/index.js.map +1 -0
- package/components/FAQ/FAQ.d.ts +90 -0
- package/components/FAQ/FAQ.d.ts.map +1 -0
- package/components/FAQ/FAQ.js +146 -0
- package/components/FAQ/FAQ.js.map +1 -0
- package/components/FAQ/faq.module.css +277 -0
- package/components/FAQ/index.d.ts +2 -0
- package/components/FAQ/index.d.ts.map +1 -0
- package/components/FAQ/index.js +2 -0
- package/components/FAQ/index.js.map +1 -0
- package/components/FeatureGrid/FeatureGrid.d.ts +108 -0
- package/components/FeatureGrid/FeatureGrid.d.ts.map +1 -0
- package/components/FeatureGrid/FeatureGrid.js +218 -0
- package/components/FeatureGrid/FeatureGrid.js.map +1 -0
- package/components/FeatureGrid/feature-grid.module.css +358 -0
- package/components/FeatureGrid/index.d.ts +2 -0
- package/components/FeatureGrid/index.d.ts.map +1 -0
- package/components/FeatureGrid/index.js +2 -0
- package/components/FeatureGrid/index.js.map +1 -0
- package/components/Field/Field.d.ts +70 -0
- package/components/Field/Field.d.ts.map +1 -0
- package/components/Field/Field.js +103 -0
- package/components/Field/Field.js.map +1 -0
- package/components/Field/field.module.css +114 -0
- package/components/Field/index.d.ts +2 -0
- package/components/Field/index.d.ts.map +1 -0
- package/components/Field/index.js +2 -0
- package/components/Field/index.js.map +1 -0
- package/components/Fieldset/Fieldset.d.ts +48 -0
- package/components/Fieldset/Fieldset.d.ts.map +1 -0
- package/components/Fieldset/Fieldset.js +80 -0
- package/components/Fieldset/Fieldset.js.map +1 -0
- package/components/Fieldset/fieldset.module.css +167 -0
- package/components/Fieldset/index.d.ts +2 -0
- package/components/Fieldset/index.d.ts.map +1 -0
- package/components/Fieldset/index.js +2 -0
- package/components/Fieldset/index.js.map +1 -0
- package/components/Figure/Figure.d.ts +72 -0
- package/components/Figure/Figure.d.ts.map +1 -0
- package/components/Figure/Figure.js +122 -0
- package/components/Figure/Figure.js.map +1 -0
- package/components/Figure/figure.module.css +162 -0
- package/components/Figure/index.d.ts +2 -0
- package/components/Figure/index.d.ts.map +1 -0
- package/components/Figure/index.js +2 -0
- package/components/Figure/index.js.map +1 -0
- package/components/Footer/Footer.d.ts +154 -0
- package/components/Footer/Footer.d.ts.map +1 -0
- package/components/Footer/Footer.js +253 -0
- package/components/Footer/Footer.js.map +1 -0
- package/components/Footer/footer.module.css +683 -0
- package/components/Footer/index.d.ts +2 -0
- package/components/Footer/index.d.ts.map +1 -0
- package/components/Footer/index.js +2 -0
- package/components/Footer/index.js.map +1 -0
- package/components/Form/Form.d.ts +69 -0
- package/components/Form/Form.d.ts.map +1 -0
- package/components/Form/Form.js +90 -0
- package/components/Form/Form.js.map +1 -0
- package/components/Form/form.module.css +123 -0
- package/components/Form/index.d.ts +2 -0
- package/components/Form/index.d.ts.map +1 -0
- package/components/Form/index.js +2 -0
- package/components/Form/index.js.map +1 -0
- package/components/Ground/Ground.d.ts +105 -0
- package/components/Ground/Ground.d.ts.map +1 -0
- package/components/Ground/Ground.js +98 -0
- package/components/Ground/Ground.js.map +1 -0
- package/components/Ground/ground.module.css +84 -0
- package/components/Ground/index.d.ts +2 -0
- package/components/Ground/index.d.ts.map +1 -0
- package/components/Ground/index.js +2 -0
- package/components/Ground/index.js.map +1 -0
- package/components/Hero/Hero.d.ts +214 -0
- package/components/Hero/Hero.d.ts.map +1 -0
- package/components/Hero/Hero.js +216 -0
- package/components/Hero/Hero.js.map +1 -0
- package/components/Hero/hero.module.css +766 -0
- package/components/Hero/index.d.ts +2 -0
- package/components/Hero/index.d.ts.map +1 -0
- package/components/Hero/index.js +2 -0
- package/components/Hero/index.js.map +1 -0
- package/components/Icon/Icon.d.ts +49 -0
- package/components/Icon/Icon.d.ts.map +1 -0
- package/components/Icon/Icon.js +54 -0
- package/components/Icon/Icon.js.map +1 -0
- package/components/Icon/icon.module.css +69 -0
- package/components/Icon/iconHost.d.ts +9 -0
- package/components/Icon/iconHost.d.ts.map +1 -0
- package/components/Icon/iconHost.js +10 -0
- package/components/Icon/iconHost.js.map +1 -0
- package/components/Icon/index.d.ts +3 -0
- package/components/Icon/index.d.ts.map +1 -0
- package/components/Icon/index.js +3 -0
- package/components/Icon/index.js.map +1 -0
- package/components/IndexRows/IndexRows.d.ts +134 -0
- package/components/IndexRows/IndexRows.d.ts.map +1 -0
- package/components/IndexRows/IndexRows.js +229 -0
- package/components/IndexRows/IndexRows.js.map +1 -0
- package/components/IndexRows/index-rows.module.css +460 -0
- package/components/IndexRows/index.d.ts +2 -0
- package/components/IndexRows/index.d.ts.map +1 -0
- package/components/IndexRows/index.js +2 -0
- package/components/IndexRows/index.js.map +1 -0
- package/components/Input/Input.d.ts +154 -0
- package/components/Input/Input.d.ts.map +1 -0
- package/components/Input/Input.js +186 -0
- package/components/Input/Input.js.map +1 -0
- package/components/Input/index.d.ts +2 -0
- package/components/Input/index.d.ts.map +1 -0
- package/components/Input/index.js +2 -0
- package/components/Input/index.js.map +1 -0
- package/components/Input/input.module.css +394 -0
- package/components/Link/Link.d.ts +86 -0
- package/components/Link/Link.d.ts.map +1 -0
- package/components/Link/Link.js +140 -0
- package/components/Link/Link.js.map +1 -0
- package/components/Link/index.d.ts +2 -0
- package/components/Link/index.d.ts.map +1 -0
- package/components/Link/index.js +2 -0
- package/components/Link/index.js.map +1 -0
- package/components/Link/link.module.css +330 -0
- package/components/Map/Map.d.ts +192 -0
- package/components/Map/Map.d.ts.map +1 -0
- package/components/Map/Map.js +500 -0
- package/components/Map/Map.js.map +1 -0
- package/components/Map/MapCanvas.d.ts +29 -0
- package/components/Map/MapCanvas.d.ts.map +1 -0
- package/components/Map/MapCanvas.js +295 -0
- package/components/Map/MapCanvas.js.map +1 -0
- package/components/Map/index.d.ts +2 -0
- package/components/Map/index.d.ts.map +1 -0
- package/components/Map/index.js +2 -0
- package/components/Map/index.js.map +1 -0
- package/components/Map/map.module.css +501 -0
- package/components/Map/mapStyle.d.ts +72 -0
- package/components/Map/mapStyle.d.ts.map +1 -0
- package/components/Map/mapStyle.js +441 -0
- package/components/Map/mapStyle.js.map +1 -0
- package/components/Map/types.d.ts +59 -0
- package/components/Map/types.d.ts.map +1 -0
- package/components/Map/types.js +2 -0
- package/components/Map/types.js.map +1 -0
- package/components/Marquee/Marquee.d.ts +65 -0
- package/components/Marquee/Marquee.d.ts.map +1 -0
- package/components/Marquee/Marquee.js +87 -0
- package/components/Marquee/Marquee.js.map +1 -0
- package/components/Marquee/index.d.ts +2 -0
- package/components/Marquee/index.d.ts.map +1 -0
- package/components/Marquee/index.js +2 -0
- package/components/Marquee/index.js.map +1 -0
- package/components/Marquee/marquee.module.css +151 -0
- package/components/Menu/Menu.d.ts +113 -0
- package/components/Menu/Menu.d.ts.map +1 -0
- package/components/Menu/Menu.js +161 -0
- package/components/Menu/Menu.js.map +1 -0
- package/components/Menu/index.d.ts +2 -0
- package/components/Menu/index.d.ts.map +1 -0
- package/components/Menu/index.js +2 -0
- package/components/Menu/index.js.map +1 -0
- package/components/Menu/menu.module.css +244 -0
- package/components/Menu/popup.d.ts +44 -0
- package/components/Menu/popup.d.ts.map +1 -0
- package/components/Menu/popup.js +39 -0
- package/components/Menu/popup.js.map +1 -0
- package/components/Menubar/Menubar.d.ts +53 -0
- package/components/Menubar/Menubar.d.ts.map +1 -0
- package/components/Menubar/Menubar.js +81 -0
- package/components/Menubar/Menubar.js.map +1 -0
- package/components/Menubar/index.d.ts +2 -0
- package/components/Menubar/index.d.ts.map +1 -0
- package/components/Menubar/index.js +2 -0
- package/components/Menubar/index.js.map +1 -0
- package/components/Menubar/menubar.module.css +124 -0
- package/components/Meter/Meter.d.ts +67 -0
- package/components/Meter/Meter.d.ts.map +1 -0
- package/components/Meter/Meter.js +145 -0
- package/components/Meter/Meter.js.map +1 -0
- package/components/Meter/index.d.ts +2 -0
- package/components/Meter/index.d.ts.map +1 -0
- package/components/Meter/index.js +2 -0
- package/components/Meter/index.js.map +1 -0
- package/components/Meter/meter.module.css +384 -0
- package/components/NavDrawer/NavDrawer.d.ts +113 -0
- package/components/NavDrawer/NavDrawer.d.ts.map +1 -0
- package/components/NavDrawer/NavDrawer.js +215 -0
- package/components/NavDrawer/NavDrawer.js.map +1 -0
- package/components/NavDrawer/index.d.ts +2 -0
- package/components/NavDrawer/index.d.ts.map +1 -0
- package/components/NavDrawer/index.js +2 -0
- package/components/NavDrawer/index.js.map +1 -0
- package/components/NavDrawer/nav-drawer.module.css +446 -0
- package/components/NavigationBar/NavigationBar.d.ts +129 -0
- package/components/NavigationBar/NavigationBar.d.ts.map +1 -0
- package/components/NavigationBar/NavigationBar.js +224 -0
- package/components/NavigationBar/NavigationBar.js.map +1 -0
- package/components/NavigationBar/index.d.ts +2 -0
- package/components/NavigationBar/index.d.ts.map +1 -0
- package/components/NavigationBar/index.js +2 -0
- package/components/NavigationBar/index.js.map +1 -0
- package/components/NavigationBar/navigation-bar.module.css +413 -0
- package/components/NavigationMenu/NavigationMenu.d.ts +243 -0
- package/components/NavigationMenu/NavigationMenu.d.ts.map +1 -0
- package/components/NavigationMenu/NavigationMenu.js +512 -0
- package/components/NavigationMenu/NavigationMenu.js.map +1 -0
- package/components/NavigationMenu/index.d.ts +2 -0
- package/components/NavigationMenu/index.d.ts.map +1 -0
- package/components/NavigationMenu/index.js +2 -0
- package/components/NavigationMenu/index.js.map +1 -0
- package/components/NavigationMenu/navigation-menu.module.css +636 -0
- package/components/Newsletter/Newsletter.d.ts +146 -0
- package/components/Newsletter/Newsletter.d.ts.map +1 -0
- package/components/Newsletter/Newsletter.js +241 -0
- package/components/Newsletter/Newsletter.js.map +1 -0
- package/components/Newsletter/index.d.ts +2 -0
- package/components/Newsletter/index.d.ts.map +1 -0
- package/components/Newsletter/index.js +2 -0
- package/components/Newsletter/index.js.map +1 -0
- package/components/Newsletter/newsletter.module.css +552 -0
- package/components/NumberField/NumberField.d.ts +67 -0
- package/components/NumberField/NumberField.d.ts.map +1 -0
- package/components/NumberField/NumberField.js +105 -0
- package/components/NumberField/NumberField.js.map +1 -0
- package/components/NumberField/index.d.ts +2 -0
- package/components/NumberField/index.d.ts.map +1 -0
- package/components/NumberField/index.js +2 -0
- package/components/NumberField/index.js.map +1 -0
- package/components/NumberField/number-field.module.css +429 -0
- package/components/Pagination/Pagination.d.ts +112 -0
- package/components/Pagination/Pagination.d.ts.map +1 -0
- package/components/Pagination/Pagination.js +202 -0
- package/components/Pagination/Pagination.js.map +1 -0
- package/components/Pagination/index.d.ts +2 -0
- package/components/Pagination/index.d.ts.map +1 -0
- package/components/Pagination/index.js +2 -0
- package/components/Pagination/index.js.map +1 -0
- package/components/Pagination/pagination.module.css +400 -0
- package/components/Popover/Popover.d.ts +96 -0
- package/components/Popover/Popover.d.ts.map +1 -0
- package/components/Popover/Popover.js +131 -0
- package/components/Popover/Popover.js.map +1 -0
- package/components/Popover/index.d.ts +2 -0
- package/components/Popover/index.d.ts.map +1 -0
- package/components/Popover/index.js +2 -0
- package/components/Popover/index.js.map +1 -0
- package/components/Popover/popover.module.css +194 -0
- package/components/PreviewCard/PreviewCard.d.ts +83 -0
- package/components/PreviewCard/PreviewCard.d.ts.map +1 -0
- package/components/PreviewCard/PreviewCard.js +123 -0
- package/components/PreviewCard/PreviewCard.js.map +1 -0
- package/components/PreviewCard/index.d.ts +2 -0
- package/components/PreviewCard/index.d.ts.map +1 -0
- package/components/PreviewCard/index.js +2 -0
- package/components/PreviewCard/index.js.map +1 -0
- package/components/PreviewCard/preview-card.module.css +177 -0
- package/components/Pricing/Pricing.d.ts +190 -0
- package/components/Pricing/Pricing.d.ts.map +1 -0
- package/components/Pricing/Pricing.js +350 -0
- package/components/Pricing/Pricing.js.map +1 -0
- package/components/Pricing/index.d.ts +2 -0
- package/components/Pricing/index.d.ts.map +1 -0
- package/components/Pricing/index.js +2 -0
- package/components/Pricing/index.js.map +1 -0
- package/components/Pricing/pricing.module.css +485 -0
- package/components/Profile/Profile.d.ts +120 -0
- package/components/Profile/Profile.d.ts.map +1 -0
- package/components/Profile/Profile.js +230 -0
- package/components/Profile/Profile.js.map +1 -0
- package/components/Profile/index.d.ts +2 -0
- package/components/Profile/index.d.ts.map +1 -0
- package/components/Profile/index.js +2 -0
- package/components/Profile/index.js.map +1 -0
- package/components/Profile/profile.module.css +272 -0
- package/components/Progress/Progress.d.ts +63 -0
- package/components/Progress/Progress.d.ts.map +1 -0
- package/components/Progress/Progress.js +129 -0
- package/components/Progress/Progress.js.map +1 -0
- package/components/Progress/index.d.ts +2 -0
- package/components/Progress/index.d.ts.map +1 -0
- package/components/Progress/index.js +2 -0
- package/components/Progress/index.js.map +1 -0
- package/components/Progress/progress.module.css +280 -0
- package/components/Quote/Quote.d.ts +99 -0
- package/components/Quote/Quote.d.ts.map +1 -0
- package/components/Quote/Quote.js +168 -0
- package/components/Quote/Quote.js.map +1 -0
- package/components/Quote/index.d.ts +2 -0
- package/components/Quote/index.d.ts.map +1 -0
- package/components/Quote/index.js +2 -0
- package/components/Quote/index.js.map +1 -0
- package/components/Quote/quote.module.css +184 -0
- package/components/Radio/Radio.d.ts +81 -0
- package/components/Radio/Radio.d.ts.map +1 -0
- package/components/Radio/Radio.js +119 -0
- package/components/Radio/Radio.js.map +1 -0
- package/components/Radio/index.d.ts +2 -0
- package/components/Radio/index.d.ts.map +1 -0
- package/components/Radio/index.js +2 -0
- package/components/Radio/index.js.map +1 -0
- package/components/Radio/radio.module.css +449 -0
- package/components/RadioGroup/RadioGroup.d.ts +35 -0
- package/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/components/RadioGroup/RadioGroup.js +61 -0
- package/components/RadioGroup/RadioGroup.js.map +1 -0
- package/components/RadioGroup/index.d.ts +2 -0
- package/components/RadioGroup/index.d.ts.map +1 -0
- package/components/RadioGroup/index.js +2 -0
- package/components/RadioGroup/index.js.map +1 -0
- package/components/RadioGroup/radio-group.module.css +57 -0
- package/components/ScrollArea/ScrollArea.d.ts +67 -0
- package/components/ScrollArea/ScrollArea.d.ts.map +1 -0
- package/components/ScrollArea/ScrollArea.js +87 -0
- package/components/ScrollArea/ScrollArea.js.map +1 -0
- package/components/ScrollArea/index.d.ts +2 -0
- package/components/ScrollArea/index.d.ts.map +1 -0
- package/components/ScrollArea/index.js +2 -0
- package/components/ScrollArea/index.js.map +1 -0
- package/components/ScrollArea/scroll-area.module.css +247 -0
- package/components/Search/Search.d.ts +119 -0
- package/components/Search/Search.d.ts.map +1 -0
- package/components/Search/Search.js +127 -0
- package/components/Search/Search.js.map +1 -0
- package/components/Search/index.d.ts +2 -0
- package/components/Search/index.d.ts.map +1 -0
- package/components/Search/index.js +2 -0
- package/components/Search/index.js.map +1 -0
- package/components/Search/search.module.css +326 -0
- package/components/SectionBar/SectionBar.d.ts +131 -0
- package/components/SectionBar/SectionBar.d.ts.map +1 -0
- package/components/SectionBar/SectionBar.js +292 -0
- package/components/SectionBar/SectionBar.js.map +1 -0
- package/components/SectionBar/index.d.ts +2 -0
- package/components/SectionBar/index.d.ts.map +1 -0
- package/components/SectionBar/index.js +2 -0
- package/components/SectionBar/index.js.map +1 -0
- package/components/SectionBar/section-bar.module.css +598 -0
- package/components/SectionDivider/SectionDivider.d.ts +80 -0
- package/components/SectionDivider/SectionDivider.d.ts.map +1 -0
- package/components/SectionDivider/SectionDivider.js +158 -0
- package/components/SectionDivider/SectionDivider.js.map +1 -0
- package/components/SectionDivider/index.d.ts +2 -0
- package/components/SectionDivider/index.d.ts.map +1 -0
- package/components/SectionDivider/index.js +2 -0
- package/components/SectionDivider/index.js.map +1 -0
- package/components/SectionDivider/section-divider.module.css +275 -0
- package/components/SectionHeader/SectionHeader.d.ts +121 -0
- package/components/SectionHeader/SectionHeader.d.ts.map +1 -0
- package/components/SectionHeader/SectionHeader.js +141 -0
- package/components/SectionHeader/SectionHeader.js.map +1 -0
- package/components/SectionHeader/index.d.ts +2 -0
- package/components/SectionHeader/index.d.ts.map +1 -0
- package/components/SectionHeader/index.js +2 -0
- package/components/SectionHeader/index.js.map +1 -0
- package/components/SectionHeader/section-header.module.css +319 -0
- package/components/Select/Select.d.ts +104 -0
- package/components/Select/Select.d.ts.map +1 -0
- package/components/Select/Select.js +154 -0
- package/components/Select/Select.js.map +1 -0
- package/components/Select/index.d.ts +2 -0
- package/components/Select/index.d.ts.map +1 -0
- package/components/Select/index.js +2 -0
- package/components/Select/index.js.map +1 -0
- package/components/Select/select.module.css +398 -0
- package/components/Separator/Separator.d.ts +47 -0
- package/components/Separator/Separator.d.ts.map +1 -0
- package/components/Separator/Separator.js +62 -0
- package/components/Separator/Separator.js.map +1 -0
- package/components/Separator/index.d.ts +2 -0
- package/components/Separator/index.d.ts.map +1 -0
- package/components/Separator/index.js +2 -0
- package/components/Separator/index.js.map +1 -0
- package/components/Separator/separator.module.css +174 -0
- package/components/Slider/Slider.d.ts +54 -0
- package/components/Slider/Slider.d.ts.map +1 -0
- package/components/Slider/Slider.js +118 -0
- package/components/Slider/Slider.js.map +1 -0
- package/components/Slider/index.d.ts +2 -0
- package/components/Slider/index.d.ts.map +1 -0
- package/components/Slider/index.js +2 -0
- package/components/Slider/index.js.map +1 -0
- package/components/Slider/slider.module.css +371 -0
- package/components/SpecGrid/SpecGrid.d.ts +49 -0
- package/components/SpecGrid/SpecGrid.d.ts.map +1 -0
- package/components/SpecGrid/SpecGrid.js +75 -0
- package/components/SpecGrid/SpecGrid.js.map +1 -0
- package/components/SpecGrid/index.d.ts +2 -0
- package/components/SpecGrid/index.d.ts.map +1 -0
- package/components/SpecGrid/index.js +2 -0
- package/components/SpecGrid/index.js.map +1 -0
- package/components/SpecGrid/spec-grid.module.css +142 -0
- package/components/SpecList/SpecList.d.ts +32 -0
- package/components/SpecList/SpecList.d.ts.map +1 -0
- package/components/SpecList/SpecList.js +51 -0
- package/components/SpecList/SpecList.js.map +1 -0
- package/components/SpecList/index.d.ts +2 -0
- package/components/SpecList/index.d.ts.map +1 -0
- package/components/SpecList/index.js +2 -0
- package/components/SpecList/index.js.map +1 -0
- package/components/SpecList/spec-list.module.css +95 -0
- package/components/SpecSheet/SpecSheet.d.ts +112 -0
- package/components/SpecSheet/SpecSheet.d.ts.map +1 -0
- package/components/SpecSheet/SpecSheet.js +128 -0
- package/components/SpecSheet/SpecSheet.js.map +1 -0
- package/components/SpecSheet/index.d.ts +2 -0
- package/components/SpecSheet/index.d.ts.map +1 -0
- package/components/SpecSheet/index.js +2 -0
- package/components/SpecSheet/index.js.map +1 -0
- package/components/SpecSheet/spec-sheet.module.css +278 -0
- package/components/Stat/Stat.d.ts +74 -0
- package/components/Stat/Stat.d.ts.map +1 -0
- package/components/Stat/Stat.js +159 -0
- package/components/Stat/Stat.js.map +1 -0
- package/components/Stat/index.d.ts +2 -0
- package/components/Stat/index.d.ts.map +1 -0
- package/components/Stat/index.js +2 -0
- package/components/Stat/index.js.map +1 -0
- package/components/Stat/stat.module.css +299 -0
- package/components/Sticker/Sticker.d.ts +71 -0
- package/components/Sticker/Sticker.d.ts.map +1 -0
- package/components/Sticker/Sticker.js +104 -0
- package/components/Sticker/Sticker.js.map +1 -0
- package/components/Sticker/index.d.ts +2 -0
- package/components/Sticker/index.d.ts.map +1 -0
- package/components/Sticker/index.js +2 -0
- package/components/Sticker/index.js.map +1 -0
- package/components/Sticker/sticker.module.css +87 -0
- package/components/Switch/Switch.d.ts +57 -0
- package/components/Switch/Switch.d.ts.map +1 -0
- package/components/Switch/Switch.js +82 -0
- package/components/Switch/Switch.js.map +1 -0
- package/components/Switch/index.d.ts +2 -0
- package/components/Switch/index.d.ts.map +1 -0
- package/components/Switch/index.js +2 -0
- package/components/Switch/index.js.map +1 -0
- package/components/Switch/switch.module.css +285 -0
- package/components/Table/Table.d.ts +164 -0
- package/components/Table/Table.d.ts.map +1 -0
- package/components/Table/Table.js +255 -0
- package/components/Table/Table.js.map +1 -0
- package/components/Table/index.d.ts +2 -0
- package/components/Table/index.d.ts.map +1 -0
- package/components/Table/index.js +2 -0
- package/components/Table/index.js.map +1 -0
- package/components/Table/table.module.css +751 -0
- package/components/Tabs/Tabs.d.ts +93 -0
- package/components/Tabs/Tabs.d.ts.map +1 -0
- package/components/Tabs/Tabs.js +175 -0
- package/components/Tabs/Tabs.js.map +1 -0
- package/components/Tabs/index.d.ts +2 -0
- package/components/Tabs/index.d.ts.map +1 -0
- package/components/Tabs/index.js +2 -0
- package/components/Tabs/index.js.map +1 -0
- package/components/Tabs/tabs.module.css +339 -0
- package/components/Tag/Tag.d.ts +40 -0
- package/components/Tag/Tag.d.ts.map +1 -0
- package/components/Tag/Tag.js +56 -0
- package/components/Tag/Tag.js.map +1 -0
- package/components/Tag/index.d.ts +2 -0
- package/components/Tag/index.d.ts.map +1 -0
- package/components/Tag/index.js +2 -0
- package/components/Tag/index.js.map +1 -0
- package/components/Tag/tag.module.css +99 -0
- package/components/Timeline/Timeline.d.ts +164 -0
- package/components/Timeline/Timeline.d.ts.map +1 -0
- package/components/Timeline/Timeline.js +314 -0
- package/components/Timeline/Timeline.js.map +1 -0
- package/components/Timeline/index.d.ts +2 -0
- package/components/Timeline/index.d.ts.map +1 -0
- package/components/Timeline/index.js +2 -0
- package/components/Timeline/index.js.map +1 -0
- package/components/Timeline/timeline.module.css +428 -0
- package/components/Toast/Toast.d.ts +89 -0
- package/components/Toast/Toast.d.ts.map +1 -0
- package/components/Toast/Toast.js +171 -0
- package/components/Toast/Toast.js.map +1 -0
- package/components/Toast/index.d.ts +2 -0
- package/components/Toast/index.d.ts.map +1 -0
- package/components/Toast/index.js +2 -0
- package/components/Toast/index.js.map +1 -0
- package/components/Toast/toast.module.css +270 -0
- package/components/Toggle/Toggle.d.ts +78 -0
- package/components/Toggle/Toggle.d.ts.map +1 -0
- package/components/Toggle/Toggle.js +101 -0
- package/components/Toggle/Toggle.js.map +1 -0
- package/components/Toggle/index.d.ts +2 -0
- package/components/Toggle/index.d.ts.map +1 -0
- package/components/Toggle/index.js +2 -0
- package/components/Toggle/index.js.map +1 -0
- package/components/Toggle/toggle.module.css +281 -0
- package/components/ToggleGroup/ToggleGroup.d.ts +43 -0
- package/components/ToggleGroup/ToggleGroup.d.ts.map +1 -0
- package/components/ToggleGroup/ToggleGroup.js +85 -0
- package/components/ToggleGroup/ToggleGroup.js.map +1 -0
- package/components/ToggleGroup/index.d.ts +2 -0
- package/components/ToggleGroup/index.d.ts.map +1 -0
- package/components/ToggleGroup/index.js +2 -0
- package/components/ToggleGroup/index.js.map +1 -0
- package/components/ToggleGroup/toggle-group.module.css +139 -0
- package/components/Toolbar/Toolbar.d.ts +125 -0
- package/components/Toolbar/Toolbar.d.ts.map +1 -0
- package/components/Toolbar/Toolbar.js +174 -0
- package/components/Toolbar/Toolbar.js.map +1 -0
- package/components/Toolbar/index.d.ts +2 -0
- package/components/Toolbar/index.d.ts.map +1 -0
- package/components/Toolbar/index.js +2 -0
- package/components/Toolbar/index.js.map +1 -0
- package/components/Toolbar/toolbar.module.css +273 -0
- package/components/Tooltip/Tooltip.d.ts +72 -0
- package/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/components/Tooltip/Tooltip.js +108 -0
- package/components/Tooltip/Tooltip.js.map +1 -0
- package/components/Tooltip/index.d.ts +2 -0
- package/components/Tooltip/index.d.ts.map +1 -0
- package/components/Tooltip/index.js +2 -0
- package/components/Tooltip/index.js.map +1 -0
- package/components/Tooltip/tooltip.module.css +120 -0
- package/icons/paths.d.ts +35 -0
- package/icons/paths.d.ts.map +1 -0
- package/icons/paths.js +150 -0
- package/icons/paths.js.map +1 -0
- package/package.json +112 -0
- package/utils/ClientProvider.d.ts +18 -0
- package/utils/ClientProvider.d.ts.map +1 -0
- package/utils/ClientProvider.js +55 -0
- package/utils/ClientProvider.js.map +1 -0
- package/utils/Ornament.d.ts +93 -0
- package/utils/Ornament.d.ts.map +1 -0
- package/utils/Ornament.js +160 -0
- package/utils/Ornament.js.map +1 -0
- package/utils/StatusGlyph.d.ts +24 -0
- package/utils/StatusGlyph.d.ts.map +1 -0
- package/utils/StatusGlyph.js +39 -0
- package/utils/StatusGlyph.js.map +1 -0
- package/utils/assignRef.d.ts +7 -0
- package/utils/assignRef.d.ts.map +1 -0
- package/utils/assignRef.js +11 -0
- package/utils/assignRef.js.map +1 -0
- package/utils/className.d.ts +10 -0
- package/utils/className.d.ts.map +1 -0
- package/utils/className.js +21 -0
- package/utils/className.js.map +1 -0
- package/utils/colors/amber.css +101 -0
- package/utils/colors/amberDarkDefault.css +101 -0
- package/utils/colors/amberLightDefault.css +67 -0
- package/utils/colors/blue.css +101 -0
- package/utils/colors/blueDarkDefault.css +101 -0
- package/utils/colors/blueLightDefault.css +67 -0
- package/utils/colors/bronze.css +101 -0
- package/utils/colors/bronzeDarkDefault.css +101 -0
- package/utils/colors/bronzeLightDefault.css +67 -0
- package/utils/colors/brown.css +101 -0
- package/utils/colors/brownDarkDefault.css +101 -0
- package/utils/colors/brownLightDefault.css +67 -0
- package/utils/colors/crimson.css +101 -0
- package/utils/colors/crimsonDarkDefault.css +101 -0
- package/utils/colors/crimsonLightDefault.css +67 -0
- package/utils/colors/cyan.css +101 -0
- package/utils/colors/cyanDarkDefault.css +101 -0
- package/utils/colors/cyanLightDefault.css +67 -0
- package/utils/colors/gold.css +101 -0
- package/utils/colors/goldDarkDefault.css +101 -0
- package/utils/colors/goldLightDefault.css +67 -0
- package/utils/colors/grass.css +101 -0
- package/utils/colors/grassDarkDefault.css +101 -0
- package/utils/colors/grassLightDefault.css +67 -0
- package/utils/colors/gray.css +101 -0
- package/utils/colors/grayDarkDefault.css +101 -0
- package/utils/colors/grayLightDefault.css +67 -0
- package/utils/colors/green.css +101 -0
- package/utils/colors/greenDarkDefault.css +101 -0
- package/utils/colors/greenLightDefault.css +67 -0
- package/utils/colors/indigo.css +101 -0
- package/utils/colors/indigoDarkDefault.css +101 -0
- package/utils/colors/indigoLightDefault.css +67 -0
- package/utils/colors/iris.css +101 -0
- package/utils/colors/irisDarkDefault.css +101 -0
- package/utils/colors/irisLightDefault.css +67 -0
- package/utils/colors/jade.css +101 -0
- package/utils/colors/jadeDarkDefault.css +101 -0
- package/utils/colors/jadeLightDefault.css +67 -0
- package/utils/colors/lime.css +101 -0
- package/utils/colors/limeDarkDefault.css +101 -0
- package/utils/colors/limeLightDefault.css +67 -0
- package/utils/colors/mauve.css +101 -0
- package/utils/colors/mauveDarkDefault.css +101 -0
- package/utils/colors/mauveLightDefault.css +67 -0
- package/utils/colors/mint.css +101 -0
- package/utils/colors/mintDarkDefault.css +101 -0
- package/utils/colors/mintLightDefault.css +67 -0
- package/utils/colors/olive.css +101 -0
- package/utils/colors/oliveDarkDefault.css +101 -0
- package/utils/colors/oliveLightDefault.css +67 -0
- package/utils/colors/orange.css +101 -0
- package/utils/colors/orangeDarkDefault.css +101 -0
- package/utils/colors/orangeLightDefault.css +67 -0
- package/utils/colors/pink.css +101 -0
- package/utils/colors/pinkDarkDefault.css +101 -0
- package/utils/colors/pinkLightDefault.css +67 -0
- package/utils/colors/plum.css +101 -0
- package/utils/colors/plumDarkDefault.css +101 -0
- package/utils/colors/plumLightDefault.css +67 -0
- package/utils/colors/purple.css +101 -0
- package/utils/colors/purpleDarkDefault.css +101 -0
- package/utils/colors/purpleLightDefault.css +67 -0
- package/utils/colors/red.css +101 -0
- package/utils/colors/redDarkDefault.css +101 -0
- package/utils/colors/redLightDefault.css +67 -0
- package/utils/colors/ruby.css +101 -0
- package/utils/colors/rubyDarkDefault.css +101 -0
- package/utils/colors/rubyLightDefault.css +67 -0
- package/utils/colors/sage.css +101 -0
- package/utils/colors/sageDarkDefault.css +101 -0
- package/utils/colors/sageLightDefault.css +67 -0
- package/utils/colors/sand.css +101 -0
- package/utils/colors/sandDarkDefault.css +101 -0
- package/utils/colors/sandLightDefault.css +67 -0
- package/utils/colors/sky.css +101 -0
- package/utils/colors/skyDarkDefault.css +101 -0
- package/utils/colors/skyLightDefault.css +67 -0
- package/utils/colors/slate.css +101 -0
- package/utils/colors/slateDarkDefault.css +101 -0
- package/utils/colors/slateLightDefault.css +67 -0
- package/utils/colors/teal.css +101 -0
- package/utils/colors/tealDarkDefault.css +101 -0
- package/utils/colors/tealLightDefault.css +67 -0
- package/utils/colors/tomato.css +101 -0
- package/utils/colors/tomatoDarkDefault.css +101 -0
- package/utils/colors/tomatoLightDefault.css +67 -0
- package/utils/colors/violet.css +101 -0
- package/utils/colors/violetDarkDefault.css +101 -0
- package/utils/colors/violetLightDefault.css +67 -0
- package/utils/colors/yellow.css +101 -0
- package/utils/colors/yellowDarkDefault.css +101 -0
- package/utils/colors/yellowLightDefault.css +67 -0
- package/utils/colors.css +2441 -0
- package/utils/colorsDarkDefault.css +2441 -0
- package/utils/colorsLightDefault.css +1627 -0
- package/utils/fonts.d.ts +11 -0
- package/utils/fonts.d.ts.map +1 -0
- package/utils/fonts.js +12 -0
- package/utils/fonts.js.map +1 -0
- package/utils/global.css +3747 -0
- package/utils/highlightMatch.d.ts +7 -0
- package/utils/highlightMatch.d.ts.map +1 -0
- package/utils/highlightMatch.js +25 -0
- package/utils/highlightMatch.js.map +1 -0
- package/utils/layers.css +3 -0
- package/utils/line.module.css +101 -0
- package/utils/media.css +11 -0
- package/utils/navigation.d.ts +100 -0
- package/utils/navigation.d.ts.map +1 -0
- package/utils/navigation.js +65 -0
- package/utils/navigation.js.map +1 -0
- package/utils/ornament.module.css +224 -0
- package/utils/overlay.d.ts +49 -0
- package/utils/overlay.d.ts.map +1 -0
- package/utils/overlay.js +73 -0
- package/utils/overlay.js.map +1 -0
- package/utils/pattern.module.css +386 -0
- package/utils/print.css +125 -0
- package/utils/printUrl.d.ts +13 -0
- package/utils/printUrl.d.ts.map +1 -0
- package/utils/printUrl.js +43 -0
- package/utils/printUrl.js.map +1 -0
- package/utils/reset.css +129 -0
- package/utils/roles.css +689 -0
- package/utils/scales.d.ts +20 -0
- package/utils/scales.d.ts.map +1 -0
- package/utils/scales.js +156 -0
- package/utils/scales.js.map +1 -0
- package/utils/scales.module.css +1590 -0
- package/utils/scope.d.ts +119 -0
- package/utils/scope.d.ts.map +1 -0
- package/utils/scope.js +145 -0
- package/utils/scope.js.map +1 -0
- package/utils/seriesPatterns.d.ts +75 -0
- package/utils/seriesPatterns.d.ts.map +1 -0
- package/utils/seriesPatterns.js +118 -0
- package/utils/seriesPatterns.js.map +1 -0
- package/utils/theme.css +28 -0
- package/utils/tokens.css +317 -0
- package/utils/tokens.d.ts +36 -0
- package/utils/tokens.d.ts.map +1 -0
- package/utils/tokens.js +38 -0
- package/utils/tokens.js.map +1 -0
- package/utils/type.module.css +342 -0
- package/utils/useColorScheme.d.ts +12 -0
- package/utils/useColorScheme.d.ts.map +1 -0
- package/utils/useColorScheme.js +43 -0
- package/utils/useColorScheme.js.map +1 -0
- package/utils/useMediaQuery.d.ts +8 -0
- package/utils/useMediaQuery.d.ts.map +1 -0
- package/utils/useMediaQuery.js +17 -0
- package/utils/useMediaQuery.js.map +1 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
4
|
+
import { mergeProps } from '@base-ui/react/merge-props';
|
|
5
|
+
import { cva } from 'class-variance-authority';
|
|
6
|
+
import { Avatar } from '../Avatar';
|
|
7
|
+
import { cx, resolveClassName } from '../../utils/className';
|
|
8
|
+
import { primaryScaleVariants, secondaryScaleVariants, } from '../../utils/scales';
|
|
9
|
+
import { useScopeAttributes } from '../../utils/scope';
|
|
10
|
+
import styles from './quote.module.css';
|
|
11
|
+
/*
|
|
12
|
+
* Testimonial & Quote (§12.8): named testimonials, pull quotes, blockquotes
|
|
13
|
+
* and epigraphs. Composed from `figure` > `blockquote` + `figcaption`, with
|
|
14
|
+
* Avatar for the portrait; a pull quote that duplicates body text is an
|
|
15
|
+
* `aside` with `aria-hidden`. Never fabricate or anonymize attributions.
|
|
16
|
+
*
|
|
17
|
+
* Implementation (CSS Modules + CVA)
|
|
18
|
+
* - Module: quote.module.css; CVA function `quote`.
|
|
19
|
+
* - Axes: `kind` → band | framed | pull | block | epigraph; `duplicate`
|
|
20
|
+
* (pull only) → `duplicate`; `primary`, `secondary` → scales module
|
|
21
|
+
* classes.
|
|
22
|
+
* - Compound variants: none.
|
|
23
|
+
* - Defaults: none (`kind` is required); duplicate false; color axes: none.
|
|
24
|
+
* - Color fallback: inherits the scope, and passes both props to the Avatar.
|
|
25
|
+
* - States: static; a linked `source` is a Link (§9.3), which owns its
|
|
26
|
+
* hover, focus and press states.
|
|
27
|
+
* - Parts: base, frame (the framed kind's border, on `base`), mark (the
|
|
28
|
+
* open-quote glyph, framed only), text, rule (the pull quote's short
|
|
29
|
+
* rule; the blockquote's left rule is `text`'s border), attribution, name,
|
|
30
|
+
* role, portrait (Avatar Root, styled by §10.12), source.
|
|
31
|
+
* - Scope: none.
|
|
32
|
+
* - Container: none. The hanging pull quote and the 2-up framed
|
|
33
|
+
* testimonials are page-grid placements on viewport media
|
|
34
|
+
* (--lg-n-above), owned by the page template [D163].
|
|
35
|
+
*/
|
|
36
|
+
export const quote = cva(styles.base, {
|
|
37
|
+
variants: {
|
|
38
|
+
kind: {
|
|
39
|
+
band: styles.band,
|
|
40
|
+
framed: styles.framed,
|
|
41
|
+
pull: styles.pull,
|
|
42
|
+
block: styles.block,
|
|
43
|
+
epigraph: styles.epigraph,
|
|
44
|
+
},
|
|
45
|
+
duplicate: {
|
|
46
|
+
true: styles.duplicate,
|
|
47
|
+
},
|
|
48
|
+
// Color axes: never defaulted, so an omitted prop inherits the scope [D133].
|
|
49
|
+
primary: primaryScaleVariants,
|
|
50
|
+
secondary: secondaryScaleVariants,
|
|
51
|
+
},
|
|
52
|
+
defaultVariants: {
|
|
53
|
+
duplicate: false,
|
|
54
|
+
},
|
|
55
|
+
});
|
|
56
|
+
const QuoteContext = React.createContext({
|
|
57
|
+
kind: 'block',
|
|
58
|
+
primary: undefined,
|
|
59
|
+
secondary: undefined,
|
|
60
|
+
});
|
|
61
|
+
QuoteContext.displayName = 'QuoteContext';
|
|
62
|
+
/**
|
|
63
|
+
* The quote: a `figure` holding `QuoteText` (the `blockquote`) and, for
|
|
64
|
+
* testimonials, a `QuoteAttribution` (`figcaption`) with `QuoteName`,
|
|
65
|
+
* `QuoteRole`, an optional `QuotePortrait` and an optional `QuoteSource`.
|
|
66
|
+
* Keep band and framed testimonials to 40 words; never put quotes in a
|
|
67
|
+
* carousel.
|
|
68
|
+
*/
|
|
69
|
+
export function Quote(props) {
|
|
70
|
+
const { render, ref, className, kind, duplicate, primary, secondary, children, ...rest } = props;
|
|
71
|
+
const scope = useScopeAttributes();
|
|
72
|
+
const isDuplicate = kind === 'pull' && duplicate === true;
|
|
73
|
+
const context = React.useMemo(() => ({ kind, primary: primary ?? undefined, secondary: secondary ?? undefined }), [kind, primary, secondary]);
|
|
74
|
+
const element = useRender({
|
|
75
|
+
defaultTagName: isDuplicate ? 'aside' : 'figure',
|
|
76
|
+
render,
|
|
77
|
+
ref,
|
|
78
|
+
props: mergeProps({
|
|
79
|
+
...scope,
|
|
80
|
+
...(isDuplicate ? { 'aria-hidden': true } : null),
|
|
81
|
+
className: quote({ kind, duplicate: isDuplicate, primary, secondary, className }),
|
|
82
|
+
children: (React.createElement(React.Fragment, null,
|
|
83
|
+
kind === 'framed' ? (React.createElement("span", { className: styles.mark, "aria-hidden": "true" }, '“')) : null,
|
|
84
|
+
children)),
|
|
85
|
+
}, rest),
|
|
86
|
+
});
|
|
87
|
+
return React.createElement(QuoteContext.Provider, { value: context }, element);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The quoted words, a `blockquote` (pass `cite` for a source URL):
|
|
91
|
+
* `type-quote` for band, framed and pull; `type-body` behind the left rule
|
|
92
|
+
* for block; display bold italic for epigraph. Curly quotes only; pull
|
|
93
|
+
* quotes hang their punctuation. A pull quote closes with its short rule.
|
|
94
|
+
*/
|
|
95
|
+
export function QuoteText(props) {
|
|
96
|
+
const { render, ref, className, children, ...rest } = props;
|
|
97
|
+
const { kind } = React.useContext(QuoteContext);
|
|
98
|
+
return useRender({
|
|
99
|
+
defaultTagName: 'blockquote',
|
|
100
|
+
render,
|
|
101
|
+
ref,
|
|
102
|
+
props: mergeProps({
|
|
103
|
+
className: cx(kind === 'block' ? styles.textBody : styles.text, className),
|
|
104
|
+
children: (React.createElement(React.Fragment, null,
|
|
105
|
+
children,
|
|
106
|
+
kind === 'pull' ? React.createElement("span", { className: styles.rule, "aria-hidden": "true" }) : null)),
|
|
107
|
+
}, rest),
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Who said it, `--size-px-5` below the quote: `QuotePortrait`, then
|
|
112
|
+
* `QuoteName` over `QuoteRole` (a line break, never a pipe), then an
|
|
113
|
+
* optional `QuoteSource`.
|
|
114
|
+
*/
|
|
115
|
+
export function QuoteAttribution(props) {
|
|
116
|
+
const { render, ref, className, ...rest } = props;
|
|
117
|
+
return useRender({
|
|
118
|
+
defaultTagName: 'figcaption',
|
|
119
|
+
render,
|
|
120
|
+
ref,
|
|
121
|
+
props: mergeProps({ className: cx(styles.attribution, className) }, rest),
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/** The person's name: `type-label` caps in `--primary12`, on its own line. */
|
|
125
|
+
export function QuoteName(props) {
|
|
126
|
+
const { render, ref, className, ...rest } = props;
|
|
127
|
+
return useRender({
|
|
128
|
+
defaultTagName: 'span',
|
|
129
|
+
render,
|
|
130
|
+
ref,
|
|
131
|
+
props: mergeProps({ className: cx(styles.name, className) }, rest),
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
/** Role or affiliation under the name: `type-caption` in `--primary12`. */
|
|
135
|
+
export function QuoteRole(props) {
|
|
136
|
+
const { render, ref, className, ...rest } = props;
|
|
137
|
+
return useRender({
|
|
138
|
+
defaultTagName: 'span',
|
|
139
|
+
render,
|
|
140
|
+
ref,
|
|
141
|
+
props: mergeProps({ className: cx(styles.role, className) }, rest),
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* The portrait: an Avatar at 40 px (`md`) with its `--role-rule` ring,
|
|
146
|
+
* taking the quote's `primary` and `secondary` unless given its own. Compose
|
|
147
|
+
* `AvatarImage` (empty alt, since the name is adjacent) and
|
|
148
|
+
* `AvatarFallback` inside. Prints grayscale, at most 20 mm.
|
|
149
|
+
*/
|
|
150
|
+
export function QuotePortrait(props) {
|
|
151
|
+
const { size = 'md', primary, secondary, className, ...rest } = props;
|
|
152
|
+
const context = React.useContext(QuoteContext);
|
|
153
|
+
return (React.createElement(Avatar, { ...rest, size: size, primary: primary ?? context.primary, secondary: secondary ?? context.secondary, className: resolveClassName(className, (extra) => cx(styles.portrait, extra)) }));
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* The source title in a `cite` (`type-caption`, upright). Link it with a
|
|
157
|
+
* `Link` inside, which owns the `--role-accent` underline and its states.
|
|
158
|
+
*/
|
|
159
|
+
export function QuoteSource(props) {
|
|
160
|
+
const { render, ref, className, ...rest } = props;
|
|
161
|
+
return useRender({
|
|
162
|
+
defaultTagName: 'cite',
|
|
163
|
+
render,
|
|
164
|
+
ref,
|
|
165
|
+
props: mergeProps({ className: cx(styles.source, className) }, rest),
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
//# sourceMappingURL=Quote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Quote.js","sourceRoot":"","sources":["../../src/components/Quote/Quote.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,MAAM,EAAoB,MAAM,WAAW,CAAA;AACpD,OAAO,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EACL,oBAAoB,EACpB,sBAAsB,GAGvB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,MAAM,MAAM,oBAAoB,CAAA;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;IACpC,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,QAAQ,EAAE,MAAM,CAAC,QAAQ;SAC1B;QACD,S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OACD,IAAI,EACR,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,IAAI,OAAO,CAAC,OAAO,EACnC,SAAS,EAAE,SAAS,IAAI,OAAO,CAAC,SAAS,EACzC,SAAS,EAAE,gBAAgB,CAAC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,GAC7E,CACH,CAAA;AACH,CAAC;AAKD;;;GAGG;AACH,MAAM,UAAU,WAAW,CAAC,KAAuB;IACjD,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAA;IACjD,OAAO,SAAS,CAAC;QACf,cAAc,EAAE,MAAM;QACtB,MAAM;QACN,GAAG;QACH,KAAK,EAAE,UAAU,CAAS,EAAE,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,EAAE,EAAE,IAAI,CAAC;KAC7E,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/Quote/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/Quote/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Testimonial & Quote (§12.8). Parts: base (the figure, or the aside of a
|
|
3
|
+
* duplicate pull quote; the framed kind's `frame` is its border), mark (the
|
|
4
|
+
* framed open-quote glyph), text (`textBody` for the blockquote kind, which
|
|
5
|
+
* also carries its left rule), rule (the pull quote's short rule),
|
|
6
|
+
* attribution, name, role, portrait (an Avatar, styled by §10.12), source.
|
|
7
|
+
* Static, no container. Every ink is --primary12 on every ground: colors are
|
|
8
|
+
* role variables only, and local custom properties carry dimensions only.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/* Composition sits in top-level rules, outside the layers: Lightning CSS
|
|
12
|
+
* (Next.js with Turbopack) rejects `composes` inside @layer or any nesting.
|
|
13
|
+
* The composed classes keep their own layers. */
|
|
14
|
+
.text {
|
|
15
|
+
composes: typeQuote from '../../utils/type.module.css';
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.textBody {
|
|
19
|
+
composes: typeBody from '../../utils/type.module.css';
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.name {
|
|
23
|
+
composes: typeLabel from '../../utils/type.module.css';
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.role {
|
|
27
|
+
composes: typeCaption from '../../utils/type.module.css';
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.source {
|
|
31
|
+
composes: typeCaption from '../../utils/type.module.css';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@layer base {
|
|
35
|
+
.base {
|
|
36
|
+
margin: 0;
|
|
37
|
+
color: var(--primary12);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.text,
|
|
41
|
+
.textBody {
|
|
42
|
+
margin: 0;
|
|
43
|
+
color: var(--primary12);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.text > p,
|
|
47
|
+
.textBody > p {
|
|
48
|
+
margin: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.text > p + p,
|
|
52
|
+
.textBody > p + p {
|
|
53
|
+
margin-block-start: var(--size-px-3);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* The open-quote glyph: the display face's “ at 3 × the quote size, heavy, decorative. */
|
|
57
|
+
.mark {
|
|
58
|
+
display: block;
|
|
59
|
+
color: var(--primary12);
|
|
60
|
+
font-family: var(--ds-font-display);
|
|
61
|
+
font-variation-settings: var(--ds-font-display-settings);
|
|
62
|
+
font-size: calc(3 * var(--ds-font-size-quote));
|
|
63
|
+
font-weight: var(--font-weight-9);
|
|
64
|
+
line-height: var(--ds-leading-display);
|
|
65
|
+
block-size: 0.75em;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
overflow: clip;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* The pull quote's rule: --size-px-8 long, --border-size-1, --primary12. */
|
|
71
|
+
.rule {
|
|
72
|
+
display: block;
|
|
73
|
+
inline-size: var(--size-px-8);
|
|
74
|
+
margin-block-start: var(--size-px-3);
|
|
75
|
+
border-block-start: var(--border-size-1) solid var(--primary12);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/* Attribution: name over role (a line break, never a pipe), portrait beside them. */
|
|
79
|
+
.attribution {
|
|
80
|
+
display: grid;
|
|
81
|
+
justify-items: start;
|
|
82
|
+
margin-block-start: var(--size-px-5);
|
|
83
|
+
color: var(--primary12);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.attribution:has(> .portrait) {
|
|
87
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
88
|
+
column-gap: var(--ds-space-12);
|
|
89
|
+
align-items: center;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.attribution > :not(.portrait) {
|
|
93
|
+
grid-column: -2 / -1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.portrait {
|
|
97
|
+
grid-row: 1 / span 3;
|
|
98
|
+
align-self: start;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.name,
|
|
102
|
+
.role,
|
|
103
|
+
.source {
|
|
104
|
+
display: block;
|
|
105
|
+
color: var(--primary12);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.source {
|
|
109
|
+
font-style: normal;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@layer variants {
|
|
114
|
+
/* Band: centered and alone on its ground; quote within a comfortable measure. */
|
|
115
|
+
.band {
|
|
116
|
+
text-align: center;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.band .text {
|
|
120
|
+
max-inline-size: var(--size-content-2);
|
|
121
|
+
margin-inline: auto;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.band .attribution {
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
align-items: center;
|
|
128
|
+
gap: var(--size-px-2);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* Framed: a --border-size-2 --primary12 outline, square corners, --size-px-7
|
|
132
|
+
padding; the glyph at the top start, the words indented one glyph width. */
|
|
133
|
+
.framed {
|
|
134
|
+
display: grid;
|
|
135
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
136
|
+
column-gap: var(--size-px-2);
|
|
137
|
+
padding: var(--size-px-7);
|
|
138
|
+
border: var(--border-size-2) solid var(--primary12);
|
|
139
|
+
border-radius: var(--ds-radius-none);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.framed > .mark {
|
|
143
|
+
grid-row: 1 / span 2;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.framed > :not(.mark) {
|
|
147
|
+
grid-column: 2;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* Pull: hanging punctuation [D32]; no attribution. */
|
|
151
|
+
.pull .text {
|
|
152
|
+
hanging-punctuation: first last;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Blockquote: type-body indented --size-px-5 behind a --ds-stroke-3 left rule. */
|
|
156
|
+
.block .textBody {
|
|
157
|
+
padding-inline-start: var(--size-px-5);
|
|
158
|
+
border-inline-start: var(--ds-stroke-3) solid var(--primary12);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* Epigraph: display bold italic, no marks. */
|
|
162
|
+
.epigraph .text {
|
|
163
|
+
--type-weight: var(--font-weight-7);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@layer print {
|
|
168
|
+
@media print {
|
|
169
|
+
/* The frame prints 1.5 pt through --border-size-2's print value; prose caps at the print measure. */
|
|
170
|
+
.base {
|
|
171
|
+
break-inside: avoid;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.text,
|
|
175
|
+
.textBody {
|
|
176
|
+
max-inline-size: var(--ds-measure-print);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* A pull quote that repeats body text is hidden in print [D174]. */
|
|
180
|
+
.duplicate {
|
|
181
|
+
display: none;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Radio as BaseRadio } from '@base-ui/react/radio';
|
|
3
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
4
|
+
export declare const radio: (props?: ({
|
|
5
|
+
kind?: "standard" | "pill" | "swatch" | null | undefined;
|
|
6
|
+
primary?: "ruby" | "brown" | "crimson" | "gold" | "gray" | "indigo" | "olive" | "pink" | "plum" | "purple" | "red" | "tomato" | "violet" | "bronze" | "iris" | "mauve" | "sage" | "sand" | "slate" | null | undefined;
|
|
7
|
+
secondary?: "ruby" | "blue" | "brown" | "crimson" | "cyan" | "gold" | "gray" | "green" | "indigo" | "lime" | "olive" | "orange" | "pink" | "plum" | "purple" | "red" | "teal" | "tomato" | "violet" | "yellow" | "amber" | "bronze" | "grass" | "iris" | "jade" | "mauve" | "mint" | "sage" | "sand" | "sky" | "slate" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
type RadioVariants = VariantProps<typeof radio>;
|
|
10
|
+
/** The structural build of a Radio (§10.8). */
|
|
11
|
+
export type RadioKind = NonNullable<RadioVariants['kind']>;
|
|
12
|
+
/** The kind a RadioGroup passes to the radios inside it. A radio's own `kind` wins. */
|
|
13
|
+
export declare const RadioKindContext: React.Context<RadioKind | undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* Props for Radio: Base UI Radio.Root props (on the circle) plus the kind,
|
|
16
|
+
* color axes and the row's content. `className` goes on the row.
|
|
17
|
+
*/
|
|
18
|
+
export type RadioProps<Value = unknown> = Omit<BaseRadio.Root.Props<Value>, 'className' | 'children'> & {
|
|
19
|
+
/**
|
|
20
|
+
* `standard` (default): circle plus label. `pill`: a stacked
|
|
21
|
+
* `--size-px-8` option pill. `swatch`: a color disc whose name is the
|
|
22
|
+
* accessible label (shown in print). Inside a RadioGroup the group's kind
|
|
23
|
+
* is the default.
|
|
24
|
+
*/
|
|
25
|
+
kind?: RadioVariants['kind'];
|
|
26
|
+
/**
|
|
27
|
+
* Primary Radix scale: circle edge, labels, swatch rings and focus ring.
|
|
28
|
+
* Never defaulted; omitted, it inherits the scope [D133].
|
|
29
|
+
*/
|
|
30
|
+
primary?: RadioVariants['primary'];
|
|
31
|
+
/**
|
|
32
|
+
* Secondary Radix scale: the checked fill, dot and edge through
|
|
33
|
+
* --role-select. Omitted, it inherits the scope. Never the danger scale.
|
|
34
|
+
*/
|
|
35
|
+
secondary?: RadioVariants['secondary'];
|
|
36
|
+
/** Class for the row (the `base` part). */
|
|
37
|
+
className?: string;
|
|
38
|
+
/** The label, authored in title case up to about four words [D160]; a swatch's color name. */
|
|
39
|
+
children?: React.ReactNode;
|
|
40
|
+
/** Optional helper text under the label, in sentence case. */
|
|
41
|
+
description?: React.ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* `swatch` only: the disc's color or image, as a CSS `background` value.
|
|
44
|
+
* The color is content, not a role; its name is `children`.
|
|
45
|
+
*/
|
|
46
|
+
swatch?: string;
|
|
47
|
+
/** Quiz feedback shown after the label: a RadioFeedback. */
|
|
48
|
+
feedback?: React.ReactNode;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* A Base UI Radio inside its own label row, so the whole row is the hit
|
|
52
|
+
* target. Always inside a RadioGroup. Checked is a --role-select fill, an
|
|
53
|
+
* 8 px ● in --role-select-mark and a 3 px edge, never fill alone [D15].
|
|
54
|
+
*/
|
|
55
|
+
export declare function Radio<Value>(props: RadioProps<Value>): React.JSX.Element;
|
|
56
|
+
/** Quiz feedback status (§10.8). */
|
|
57
|
+
export type RadioFeedbackStatus = 'success' | 'danger';
|
|
58
|
+
export declare const radioFeedback: (props?: ({
|
|
59
|
+
primary?: "ruby" | "brown" | "crimson" | "gold" | "gray" | "indigo" | "olive" | "pink" | "plum" | "purple" | "red" | "tomato" | "violet" | "bronze" | "iris" | "mauve" | "sage" | "sand" | "slate" | null | undefined;
|
|
60
|
+
secondary?: "ruby" | "blue" | "brown" | "crimson" | "cyan" | "gold" | "gray" | "green" | "indigo" | "lime" | "olive" | "orange" | "pink" | "plum" | "purple" | "red" | "teal" | "tomato" | "violet" | "yellow" | "amber" | "bronze" | "grass" | "iris" | "jade" | "mauve" | "mint" | "sage" | "sand" | "sky" | "slate" | null | undefined;
|
|
61
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
62
|
+
type RadioFeedbackVariants = VariantProps<typeof radioFeedback>;
|
|
63
|
+
/** Props for RadioFeedback: `span` props, the status, the word and the color axes. */
|
|
64
|
+
export type RadioFeedbackProps = Omit<React.ComponentPropsWithRef<'span'>, 'color'> & {
|
|
65
|
+
/** `success` for the correct answer, `danger` for a wrong pick. */
|
|
66
|
+
status: RadioFeedbackStatus;
|
|
67
|
+
/** Primary Radix scale: the word. Never defaulted [D133]. */
|
|
68
|
+
primary?: RadioFeedbackVariants['primary'];
|
|
69
|
+
/** Secondary Radix scale: the glyph. Omitted, the status scale (green or red). */
|
|
70
|
+
secondary?: RadioFeedbackVariants['secondary'];
|
|
71
|
+
/** The word; defaults to "Correct" or "Not quite". */
|
|
72
|
+
children?: React.ReactNode;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Quiz feedback for a Radio's `feedback` slot: the §1.5.4 success glyph
|
|
76
|
+
* (● with its check) or danger glyph (◆ with its ×) in --role-status,
|
|
77
|
+
* always paired with a word, so fill is never the only signal [D58].
|
|
78
|
+
*/
|
|
79
|
+
export declare function RadioFeedback(props: RadioFeedbackProps): React.JSX.Element;
|
|
80
|
+
export {};
|
|
81
|
+
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AA4CjE,eAAO,MAAM,KAAK;;;;8EAchB,CAAA;AAEF,KAAK,aAAa,GAAG,YAAY,CAAC,OAAO,KAAK,CAAC,CAAA;AAE/C,+CAA+C;AAC/C,MAAM,MAAM,SAAS,GAAG,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAA;AAE1D,uFAAuF;AACvF,eAAO,MAAM,gBAAgB,sCAAwD,CAAA;AAGrF;;;GAGG;AACH,MAAM,MAAM,UAAU,CAAC,KAAK,GAAG,OAAO,IAAI,IAAI,CAC5C,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAC3B,WAAW,GAAG,UAAU,CACzB,GAAG;IACF;;;;;OAKG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAA;IAC5B;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAA;IAClC;;;OAGG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAA;IACtC,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,8FAA8F;IAC9F,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,8DAA8D;IAC9D,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAUD;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,qBAoDpD;AAED,oCAAoC;AACpC,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAA;AAMtD,eAAO,MAAM,aAAa;;;8EAKxB,CAAA;AAEF,KAAK,qBAAqB,GAAG,YAAY,CAAC,OAAO,aAAa,CAAC,CAAA;AAO/D,sFAAsF;AACtF,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,GAAG;IACpF,mEAAmE;IACnE,MAAM,EAAE,mBAAmB,CAAA;IAC3B,6DAA6D;IAC7D,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAA;IAC1C,kFAAkF;IAClF,SAAS,CAAC,EAAE,qBAAqB,CAAC,WAAW,CAAC,CAAA;IAC9C,sDAAsD;IACtD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,CAAA;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBAkBtD"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Radio as BaseRadio } from '@base-ui/react/radio';
|
|
4
|
+
import { cva } from 'class-variance-authority';
|
|
5
|
+
import { Ground } from '../Ground';
|
|
6
|
+
import { primaryScaleVariants, secondaryScaleVariants } from '../../utils/scales';
|
|
7
|
+
import { overlayScope, useScopeAttributes } from '../../utils/scope';
|
|
8
|
+
import { StatusGlyph, statusScales } from '../../utils/StatusGlyph';
|
|
9
|
+
import styles from './radio.module.css';
|
|
10
|
+
/*
|
|
11
|
+
* Radio (§10.8).
|
|
12
|
+
*
|
|
13
|
+
* Implementation (CSS Modules + CVA)
|
|
14
|
+
* - Module: radio.module.css; CVA function `radio`.
|
|
15
|
+
* - Axes: `kind` → standard | pill | swatch (circle plus label; the option
|
|
16
|
+
* pill; the color disc) [D155], classes `standard`, `pill`, `kindSwatch`
|
|
17
|
+
* (prefixed: the `swatch` part owns the bare name); `primary`,
|
|
18
|
+
* `secondary` → scales module classes.
|
|
19
|
+
* - Compound variants: none.
|
|
20
|
+
* - Defaults: kind standard (or the enclosing RadioGroup's kind); color
|
|
21
|
+
* axes none [D133].
|
|
22
|
+
* - Color fallback: inherits the scope; its secondary drives the
|
|
23
|
+
* --role-select aliases, never the danger scale. RadioFeedback computes
|
|
24
|
+
* its secondary from its status (success green, danger red).
|
|
25
|
+
* - States: data-checked → --role-select fill, --role-select-mark ●,
|
|
26
|
+
* circle edge --ds-stroke-3 --role-select-edge; pill fill --role-select
|
|
27
|
+
* with a --border-size-2 --role-select-edge edge and a leading ● (read
|
|
28
|
+
* through :has()); swatch ring --ds-stroke-3 outside a --size-px-1 gap
|
|
29
|
+
* plus the mark; :hover (not disabled, not read-only) [D181] → an
|
|
30
|
+
* unchecked circle's fill --role-soft-hover (--primary3 where soft fills
|
|
31
|
+
* apply), a checked circle's or pill's fill --role-select-hover, edges
|
|
32
|
+
* and swatch ring unchanged, an unchecked pill's edge --role-rule →
|
|
33
|
+
* --primary12 [D140], the standard and swatch labels the bare-text
|
|
34
|
+
* underline; :focus-visible → ring;
|
|
35
|
+
* data-disabled → dotted edge, --role-muted; data-readonly → rest roles,
|
|
36
|
+
* no hover; data-invalid → no change (the group message carries it).
|
|
37
|
+
* - Parts: base (the row, a <label>), circle (Radio.Root), indicator,
|
|
38
|
+
* label, description, swatch, swatchMark, edge / edgeLine (the disabled
|
|
39
|
+
* dotted edge), and feedback (its own function `radioFeedback`, with
|
|
40
|
+
* feedbackGlyph and feedbackWord).
|
|
41
|
+
* - Scope: `swatchMark` is a nested overlay-face (`white`) Ground;
|
|
42
|
+
* otherwise none.
|
|
43
|
+
* - Container: none of its own; the RadioGroup root is `radio-group`.
|
|
44
|
+
*/
|
|
45
|
+
export const radio = cva(styles.base, {
|
|
46
|
+
variants: {
|
|
47
|
+
kind: {
|
|
48
|
+
standard: styles.standard,
|
|
49
|
+
pill: styles.pill,
|
|
50
|
+
swatch: styles.kindSwatch,
|
|
51
|
+
},
|
|
52
|
+
// Color axes: never defaulted, so an omitted prop inherits the scope [D133].
|
|
53
|
+
primary: primaryScaleVariants,
|
|
54
|
+
secondary: secondaryScaleVariants,
|
|
55
|
+
},
|
|
56
|
+
defaultVariants: {
|
|
57
|
+
kind: 'standard',
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
/** The kind a RadioGroup passes to the radios inside it. A radio's own `kind` wins. */
|
|
61
|
+
export const RadioKindContext = React.createContext(undefined);
|
|
62
|
+
RadioKindContext.displayName = 'RadioKindContext';
|
|
63
|
+
function DisabledEdge() {
|
|
64
|
+
return (React.createElement("svg", { className: styles.edge, "aria-hidden": "true", focusable: "false" },
|
|
65
|
+
React.createElement("rect", { className: styles.edgeLine, width: "100%", height: "100%" })));
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* A Base UI Radio inside its own label row, so the whole row is the hit
|
|
69
|
+
* target. Always inside a RadioGroup. Checked is a --role-select fill, an
|
|
70
|
+
* 8 px ● in --role-select-mark and a 3 px edge, never fill alone [D15].
|
|
71
|
+
*/
|
|
72
|
+
export function Radio(props) {
|
|
73
|
+
const { kind, primary, secondary, className, children, description, swatch, feedback, ...rest } = props;
|
|
74
|
+
const scope = useScopeAttributes();
|
|
75
|
+
const groupKind = React.useContext(RadioKindContext);
|
|
76
|
+
const resolvedKind = kind ?? groupKind ?? 'standard';
|
|
77
|
+
const isSwatch = resolvedKind === 'swatch';
|
|
78
|
+
const isPill = resolvedKind === 'pill';
|
|
79
|
+
return (React.createElement("label", { ...scope, className: radio({ kind: resolvedKind, primary, secondary, className }) },
|
|
80
|
+
React.createElement(BaseRadio.Root, { ...rest, className: styles.circle },
|
|
81
|
+
isSwatch ? (React.createElement("span", { className: styles.swatch, style: swatch ? { background: swatch } : undefined, "aria-hidden": "true" })) : null,
|
|
82
|
+
React.createElement(BaseRadio.Indicator, { className: styles.indicator }, isSwatch ? (React.createElement(Ground, { kind: "face", preset: overlayScope.ground, render: React.createElement("span", null), className: styles.swatchMark })) : null),
|
|
83
|
+
isPill ? null : React.createElement(DisabledEdge, null)),
|
|
84
|
+
children == null ? null : React.createElement("span", { className: styles.label }, children),
|
|
85
|
+
description == null ? null : (React.createElement("span", { className: styles.description }, description)),
|
|
86
|
+
feedback,
|
|
87
|
+
isPill ? React.createElement(DisabledEdge, null) : null));
|
|
88
|
+
}
|
|
89
|
+
/*
|
|
90
|
+
* RadioFeedback: `status` selects the glyph, the default word and the
|
|
91
|
+
* computed secondary; like the Alert's status it carries no class.
|
|
92
|
+
*/
|
|
93
|
+
export const radioFeedback = cva(styles.feedback, {
|
|
94
|
+
variants: {
|
|
95
|
+
primary: primaryScaleVariants,
|
|
96
|
+
secondary: secondaryScaleVariants,
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
const feedbackWords = {
|
|
100
|
+
success: 'Correct',
|
|
101
|
+
danger: 'Not quite',
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Quiz feedback for a Radio's `feedback` slot: the §1.5.4 success glyph
|
|
105
|
+
* (● with its check) or danger glyph (◆ with its ×) in --role-status,
|
|
106
|
+
* always paired with a word, so fill is never the only signal [D58].
|
|
107
|
+
*/
|
|
108
|
+
export function RadioFeedback(props) {
|
|
109
|
+
const { status, primary, secondary, className, children, ...rest } = props;
|
|
110
|
+
const scope = useScopeAttributes();
|
|
111
|
+
return (React.createElement("span", { ...rest, ...scope, className: radioFeedback({
|
|
112
|
+
primary,
|
|
113
|
+
secondary: secondary ?? statusScales[status],
|
|
114
|
+
className,
|
|
115
|
+
}) },
|
|
116
|
+
React.createElement(StatusGlyph, { status: status, className: styles.feedbackGlyph }),
|
|
117
|
+
React.createElement("span", { className: styles.feedbackWord }, children ?? feedbackWords[status])));
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=Radio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio.js","sourceRoot":"","sources":["../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AACjF,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACpE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAEnE,OAAO,MAAM,MAAM,oBAAoB,CAAA;AAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;IACpC,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,MAAM,EAAE,MAAM,CAAC,UAAU;SAC1B;QACD,6EAA6E;QAC7E,OAAO,EAAE,oBAAoB;QAC7B,SAAS,EAAE,sBAAsB;KAClC;IACD,eAAe,EAAE;QACf,IAAI,EAAE,UAAU;KACjB;CACF,CAAC,CAAA;AAOF,uFAAuF;AACvF,MAAM,CAAC,MAAM,gBAAgB,GAAG,KAAK,CAAC,aAAa,CAAwB,SAAS,CAAC,CAAA;AACrF,gBAAgB,CAAC,WAAW,GAAG,kBAAkB,CAAA;AA0CjD,SAAS,YAA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CAAC;YAC5C,SAAS;SACV,CAAC;QAEF,oBAAC,WAAW,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,aAAa,GAAI;QAChE,8BAAM,SAAS,EAAE,MAAM,CAAC,YAAY,IAAG,QAAQ,IAAI,aAAa,CAAC,MAAM,CAAC,CAAQ,CAC3E,CACR,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/Radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/Radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|