@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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/Hero/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/Hero/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { type IconName, type IconTier } from '../../icons/paths';
|
|
4
|
+
export type { IconName, IconTier };
|
|
5
|
+
/**
|
|
6
|
+
* Icon classes (§6.10) [D166]. `size` is the Material Symbols tier:
|
|
7
|
+
* `inline` 16 px (`--size-px-3`), `tag` 20 px (`--size-px-4`), `block` 36 px
|
|
8
|
+
* (`--ds-size-icon-block`). The icon has no color axes: it is filled in
|
|
9
|
+
* `currentColor` and takes its part's ink role.
|
|
10
|
+
*/
|
|
11
|
+
export declare const icon: (props?: ({
|
|
12
|
+
size?: "inline" | "block" | "tag" | null | undefined;
|
|
13
|
+
directional?: boolean | null | undefined;
|
|
14
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
15
|
+
/**
|
|
16
|
+
* Which weight instance an icon draws (§10.1 icon states) [D166]:
|
|
17
|
+
* - `rest`: the tier's calibrated weight;
|
|
18
|
+
* - `emphasis`: the next stroke tier's weight at the same size, pinned;
|
|
19
|
+
* - `interactive`: rest, swapping to emphasis while an `iconHost` ancestor
|
|
20
|
+
* is hovered or pressed.
|
|
21
|
+
*/
|
|
22
|
+
export type IconWeightState = 'rest' | 'emphasis' | 'interactive';
|
|
23
|
+
/** Props for Icon: SVG props (without `children`, `color`, `fill` and `size`), the size tier, the name and the weight state. */
|
|
24
|
+
export type IconProps = Omit<React.ComponentPropsWithRef<'svg'>, 'children' | 'color' | 'fill' | 'size'> & VariantProps<typeof icon> & {
|
|
25
|
+
/** The §6.10 inventory name (Material Symbols Rounded). */
|
|
26
|
+
name: IconName;
|
|
27
|
+
/**
|
|
28
|
+
* Accessible name. Omit it for an icon beside a visible label or inside
|
|
29
|
+
* a named control: the icon is then hidden from assistive technology.
|
|
30
|
+
*/
|
|
31
|
+
label?: string;
|
|
32
|
+
/**
|
|
33
|
+
* `rest` (default) draws the tier's calibrated weight. `emphasis` pins
|
|
34
|
+
* the next stroke tier's weight at the same size, as the weight-change
|
|
35
|
+
* cue of a pressed or selected state. `interactive` draws rest and swaps
|
|
36
|
+
* to emphasis while an ancestor carrying `iconHost` is hovered or
|
|
37
|
+
* pressed; it ships both paths, so use it only inside such a host.
|
|
38
|
+
*/
|
|
39
|
+
weight?: IconWeightState;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* A Material Symbols Rounded UI icon, drawn as inline SVG in `currentColor`
|
|
43
|
+
* (FILL 0) at its tier's calibrated weight. The one FILL 1 instance,
|
|
44
|
+
* `circle`, is a selection mark only and must always travel with a second
|
|
45
|
+
* cue (a bar, a weight change, an edge change or a word): state is never
|
|
46
|
+
* shown by fill alone [D166].
|
|
47
|
+
*/
|
|
48
|
+
export declare function Icon({ name, label, size, directional, weight, className, ...rest }: IconProps): React.JSX.Element;
|
|
49
|
+
//# sourceMappingURL=Icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAEjE,OAAO,EAIL,KAAK,QAAQ,EACb,KAAK,QAAQ,EACd,MAAM,mBAAmB,CAAA;AAI1B,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAA;AAElC;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;8EAef,CAAA;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,UAAU,GAAG,aAAa,CAAA;AASjE,gIAAgI;AAChI,MAAM,MAAM,SAAS,GAAG,IAAI,CAC1B,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAClC,UAAU,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CACvC,GACC,YAAY,CAAC,OAAO,IAAI,CAAC,GAAG;IAC1B,2DAA2D;IAC3D,IAAI,EAAE,QAAQ,CAAA;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,eAAe,CAAA;CACzB,CAAA;AAEH;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,WAAW,EACX,MAAe,EACf,SAAS,EACT,GAAG,IAAI,EACR,EAAE,SAAS,qBA6BX"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { cva } from 'class-variance-authority';
|
|
4
|
+
import { iconPathsByWeight, iconTierWeights, iconViewBox, } from '../../icons/paths';
|
|
5
|
+
import styles from './icon.module.css';
|
|
6
|
+
/**
|
|
7
|
+
* Icon classes (§6.10) [D166]. `size` is the Material Symbols tier:
|
|
8
|
+
* `inline` 16 px (`--size-px-3`), `tag` 20 px (`--size-px-4`), `block` 36 px
|
|
9
|
+
* (`--ds-size-icon-block`). The icon has no color axes: it is filled in
|
|
10
|
+
* `currentColor` and takes its part's ink role.
|
|
11
|
+
*/
|
|
12
|
+
export const icon = cva(styles.base, {
|
|
13
|
+
variants: {
|
|
14
|
+
size: {
|
|
15
|
+
inline: styles.inline,
|
|
16
|
+
tag: styles.tag,
|
|
17
|
+
block: styles.block,
|
|
18
|
+
},
|
|
19
|
+
directional: {
|
|
20
|
+
true: styles.directional,
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
defaultVariants: {
|
|
24
|
+
size: 'inline',
|
|
25
|
+
directional: false,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
/** Glyphs that point along the inline axis, mirrored in right-to-left layouts (§6.10). */
|
|
29
|
+
const directionalIcons = new Set([
|
|
30
|
+
'arrow_forward',
|
|
31
|
+
'chevron_left',
|
|
32
|
+
'chevron_right',
|
|
33
|
+
]);
|
|
34
|
+
/**
|
|
35
|
+
* A Material Symbols Rounded UI icon, drawn as inline SVG in `currentColor`
|
|
36
|
+
* (FILL 0) at its tier's calibrated weight. The one FILL 1 instance,
|
|
37
|
+
* `circle`, is a selection mark only and must always travel with a second
|
|
38
|
+
* cue (a bar, a weight change, an edge change or a word): state is never
|
|
39
|
+
* shown by fill alone [D166].
|
|
40
|
+
*/
|
|
41
|
+
export function Icon({ name, label, size, directional, weight = 'rest', className, ...rest }) {
|
|
42
|
+
const a11y = label
|
|
43
|
+
? { role: 'img', 'aria-label': label }
|
|
44
|
+
: { 'aria-hidden': true };
|
|
45
|
+
const weights = iconTierWeights[size ?? 'inline'];
|
|
46
|
+
return (React.createElement("svg", { viewBox: iconViewBox, fill: "currentColor", focusable: "false", ...a11y, ...rest, className: icon({
|
|
47
|
+
size,
|
|
48
|
+
directional: directional ?? directionalIcons.has(name),
|
|
49
|
+
className,
|
|
50
|
+
}) }, weight === 'interactive' ? (React.createElement(React.Fragment, null,
|
|
51
|
+
React.createElement("path", { className: styles.rest, d: iconPathsByWeight[weights.rest][name] }),
|
|
52
|
+
React.createElement("path", { className: styles.emphasis, d: iconPathsByWeight[weights.emphasis][name] }))) : (React.createElement("path", { d: iconPathsByWeight[weights[weight]][name] }))));
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=Icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../src/components/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,YA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AAC;YACd,IAAI;YACJ,WAAW,EAAE,WAAW,IAAI,gBAAgB,CAAC,GAAG,CAAC,IAAI,CAAC;YACtD,SAAS;SACV,CAAC,IAED,MAAM,KAAK,aAAa,CAAC,CAAC,CAAC,CAC1B;QACE,8BAAM,SAAS,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,GAAI;QAC1E,8BAAM,SAAS,EAAE,MAAM,CAAC,QAAQ,EAAE,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAI,CACjF,CACJ,CAAC,CAAC,CAAC,CACF,8BAAM,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,GAAI,CACtD,CACG,CACP,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Icon (§6.10, §1.5.12) [D166]. One Material Symbols Rounded instance per
|
|
3
|
+
* icon and weight, filled in currentColor, so it takes its part's ink role,
|
|
4
|
+
* follows the mode with no selector and prints black (12 / 15 / 27 pt = the
|
|
5
|
+
* px sizes at 0.75 pt per px, so no print rule is needed). The icon carries
|
|
6
|
+
* no color, mode or grade of its own, and never scales between tiers.
|
|
7
|
+
*
|
|
8
|
+
* Weight (§10.1 icon states). Each tier draws its calibrated rest weight;
|
|
9
|
+
* the emphasis instance is the next stroke tier's weight at the same size
|
|
10
|
+
* and optical size, never a larger glyph. An icon with
|
|
11
|
+
* weight="interactive" carries both paths and swaps to emphasis while its
|
|
12
|
+
* host is hovered or pressed. The host opts in by composing `iconHost` in a
|
|
13
|
+
* top-level rule (Lightning CSS rejects nested composes):
|
|
14
|
+
* .base { composes: iconHost from '../Icon/icon.module.css'; }
|
|
15
|
+
* or, from JS, by adding the exported `iconHost` class. Disabled and busy
|
|
16
|
+
* hosts keep the rest weight; focus rings the host, never the glyph.
|
|
17
|
+
*/
|
|
18
|
+
@layer base {
|
|
19
|
+
.base {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
flex: none;
|
|
22
|
+
inline-size: var(--icon-size);
|
|
23
|
+
block-size: var(--icon-size);
|
|
24
|
+
fill: currentColor;
|
|
25
|
+
vertical-align: middle;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* An interactive icon's emphasis path waits for its host. */
|
|
29
|
+
.emphasis {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@layer variants {
|
|
35
|
+
/* Tiers (§6.10): inline 16, tag 20, block 36. */
|
|
36
|
+
.inline {
|
|
37
|
+
--icon-size: var(--size-px-3);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.tag {
|
|
41
|
+
--icon-size: var(--size-px-4);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.block {
|
|
45
|
+
--icon-size: var(--ds-size-icon-block);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Directional glyphs mirror in right-to-left layouts (§6.10, §1.3.6). */
|
|
49
|
+
.directional:dir(rtl) {
|
|
50
|
+
scale: -1 1;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@layer states {
|
|
55
|
+
/*
|
|
56
|
+
* Hover (not disabled, not busy) and press (:active, or data-pressed where
|
|
57
|
+
* Base UI sets it): the emphasis instance replaces the rest one. The press
|
|
58
|
+
* colors (the inverse pair) belong to the host [D84].
|
|
59
|
+
*/
|
|
60
|
+
.iconHost:not([data-disabled], :disabled, [aria-busy='true']):is(:hover, :active, [data-pressed])
|
|
61
|
+
.rest {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.iconHost:not([data-disabled], :disabled, [aria-busy='true']):is(:hover, :active, [data-pressed])
|
|
66
|
+
.emphasis {
|
|
67
|
+
display: inline;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The host class for `weight="interactive"` icons (§10.1 icon states). Add it
|
|
3
|
+
* to the element whose hover or press swaps the icon to its emphasis weight
|
|
4
|
+
* (a button, a cell, a link), or compose it in the host's module:
|
|
5
|
+
* `composes: iconHost from '../Icon/icon.module.css'`. Kept out of the
|
|
6
|
+
* client module, so a server component reads the class name itself.
|
|
7
|
+
*/
|
|
8
|
+
export declare const iconHost: string;
|
|
9
|
+
//# sourceMappingURL=iconHost.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconHost.d.ts","sourceRoot":"","sources":["../../src/components/Icon/iconHost.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ,EAAE,MAAwB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import styles from './icon.module.css';
|
|
2
|
+
/**
|
|
3
|
+
* The host class for `weight="interactive"` icons (§10.1 icon states). Add it
|
|
4
|
+
* to the element whose hover or press swaps the icon to its emphasis weight
|
|
5
|
+
* (a button, a cell, a link), or compose it in the host's module:
|
|
6
|
+
* `composes: iconHost from '../Icon/icon.module.css'`. Kept out of the
|
|
7
|
+
* client module, so a server component reads the class name itself.
|
|
8
|
+
*/
|
|
9
|
+
export const iconHost = styles.iconHost;
|
|
10
|
+
//# sourceMappingURL=iconHost.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconHost.js","sourceRoot":"","sources":["../../src/components/Icon/iconHost.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAW,MAAM,CAAC,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/Icon/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Collapsible as BaseCollapsible } from '@base-ui/react/collapsible';
|
|
3
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
4
|
+
import { type VariantProps } from 'class-variance-authority';
|
|
5
|
+
import { type CollapsiblePanelProps } from '../Collapsible';
|
|
6
|
+
import { type LinkProps } from '../Link';
|
|
7
|
+
export declare const indexRows: (props?: ({
|
|
8
|
+
kind?: "article" | "event" | "ranked" | "related" | null | undefined;
|
|
9
|
+
primary?: "ruby" | "brown" | "crimson" | "gold" | "gray" | "indigo" | "olive" | "pink" | "plum" | "purple" | "red" | "tomato" | "violet" | "bronze" | "iris" | "mauve" | "sage" | "sand" | "slate" | null | undefined;
|
|
10
|
+
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;
|
|
11
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
12
|
+
type IndexRowsVariants = VariantProps<typeof indexRows>;
|
|
13
|
+
/** The four listing builds (§12.11). */
|
|
14
|
+
export type IndexRowsKind = 'ranked' | 'related' | 'event' | 'article';
|
|
15
|
+
/** Props for IndexRows: `section` props, `render`, the kind and the color axes. */
|
|
16
|
+
export type IndexRowsProps = useRender.ComponentProps<'section'> & {
|
|
17
|
+
/**
|
|
18
|
+
* Required. `ranked`: a muted rank numeral column, labels with counts,
|
|
19
|
+
* hairline rules. `related`: a thumbnail left of each title, hairline
|
|
20
|
+
* rules. `event`: a mono date key, `--role-rule` rules and a column rule;
|
|
21
|
+
* rows may expand. `article`: serif titles, a caps meta line, optional
|
|
22
|
+
* deks, hairline dividers.
|
|
23
|
+
*/
|
|
24
|
+
kind: IndexRowsKind;
|
|
25
|
+
/**
|
|
26
|
+
* Primary Radix scale: titles, keys, rules, bars and glyphs. Never
|
|
27
|
+
* defaulted; omitted, it inherits the scope [D133].
|
|
28
|
+
*/
|
|
29
|
+
primary?: IndexRowsVariants['primary'];
|
|
30
|
+
/**
|
|
31
|
+
* Secondary Radix scale: the title links' underline and the footer
|
|
32
|
+
* chevron (`--role-accent`, `--role-glyph`). Never defaulted.
|
|
33
|
+
*/
|
|
34
|
+
secondary?: IndexRowsVariants['secondary'];
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The index module: an optional `IndexRowsHeader` (the §11.8 eyebrow and
|
|
38
|
+
* hairline, plus any Tabs), the `IndexRowsList` of `IndexRow`s and an
|
|
39
|
+
* optional `IndexRowsFooter` ("See all ›"). Rows are separated by rules,
|
|
40
|
+
* never boxed; numbers and dates use tabular figures.
|
|
41
|
+
*/
|
|
42
|
+
export declare function IndexRows(props: IndexRowsProps): React.JSX.Element;
|
|
43
|
+
/** Props for IndexRowsHeader: `header` props and `render`. */
|
|
44
|
+
export type IndexRowsHeaderProps = useRender.ComponentProps<'header'>;
|
|
45
|
+
/**
|
|
46
|
+
* The module header slot: the §11.8 section header (eyebrow + `--role-hairline`
|
|
47
|
+
* rule) and, where needed, "Upcoming / Past" Tabs (§9.5). Stays with the
|
|
48
|
+
* first row in print.
|
|
49
|
+
*/
|
|
50
|
+
export declare function IndexRowsHeader(props: IndexRowsHeaderProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
51
|
+
/** Props for IndexRowsList: list props and `render`. */
|
|
52
|
+
export type IndexRowsListProps = useRender.ComponentProps<'ul'>;
|
|
53
|
+
/** The rows: an `ol` for ranked lists, whose order means something; a `ul` otherwise. */
|
|
54
|
+
export declare function IndexRowsList(props: IndexRowsListProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
55
|
+
/** Props for IndexRow: list-item props, `render` and the key column content. */
|
|
56
|
+
export type IndexRowProps = useRender.ComponentProps<'li'> & {
|
|
57
|
+
/** Ranked rows: the rank numeral, with no period ("1", "2" …); `--role-muted`, tabular. */
|
|
58
|
+
rank?: React.ReactNode;
|
|
59
|
+
/**
|
|
60
|
+
* Event rows: the date key, e.g. `<time dateTime="2026-07-01">01 / 07</time>`;
|
|
61
|
+
* `type-data`. Above the title below 768 px of container, a left column from 768.
|
|
62
|
+
*/
|
|
63
|
+
date?: React.ReactNode;
|
|
64
|
+
/** Related rows: a thumbnail `img` (empty alt), `--ds-size-thumb` square, dropped in print. */
|
|
65
|
+
thumb?: React.ReactNode;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* One row: an optional key column (`rank`, `date` or `thumb`) and the text
|
|
69
|
+
* column, which holds `IndexRowTitle` (or an event's `IndexRowDisclosure`),
|
|
70
|
+
* `IndexRowMeta` and `IndexRowDek`. The row rule runs from the text column
|
|
71
|
+
* to the module edge, never under the key column.
|
|
72
|
+
*/
|
|
73
|
+
export declare function IndexRow(props: IndexRowProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
74
|
+
/** Props for IndexRowTitle: heading props and `render` (default `<h3>`). */
|
|
75
|
+
export type IndexRowTitleProps = useRender.ComponentProps<'h3'>;
|
|
76
|
+
/**
|
|
77
|
+
* The row's title: `type-itemhead` for article and event rows,
|
|
78
|
+
* `type-body-ui` at `--font-weight-6` for ranked and related rows. Wrap an
|
|
79
|
+
* `IndexRowTitleLink` inside, and follow it with an `IndexRowCount` in
|
|
80
|
+
* ranked lists.
|
|
81
|
+
*/
|
|
82
|
+
export declare function IndexRowTitle(props: IndexRowTitleProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
83
|
+
/** Props for IndexRowTitleLink: Link props except `kind`, which is always `title`. */
|
|
84
|
+
export type IndexRowTitleLinkProps = Omit<LinkProps, 'kind'>;
|
|
85
|
+
/**
|
|
86
|
+
* The row's one link, inside `IndexRowTitle`: a §9.3 title Link whose hit
|
|
87
|
+
* area stretches over the row. Pass `aria-current="page"` (or `"true"` for
|
|
88
|
+
* the active filter row) to mark the current row. `index` adds the visited ✓
|
|
89
|
+
* for long indexes.
|
|
90
|
+
*/
|
|
91
|
+
export declare function IndexRowTitleLink(props: IndexRowTitleLinkProps): React.JSX.Element;
|
|
92
|
+
/** Props for IndexRowCount: `span` props and `render`. */
|
|
93
|
+
export type IndexRowCountProps = useRender.ComponentProps<'span'>;
|
|
94
|
+
/** The ranked label's count, "(29)": `type-body-ui` in `--role-muted`, after the title. */
|
|
95
|
+
export declare function IndexRowCount(props: IndexRowCountProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
96
|
+
/** Props for IndexRowMeta: paragraph props and `render`. */
|
|
97
|
+
export type IndexRowMetaProps = useRender.ComponentProps<'p'>;
|
|
98
|
+
/**
|
|
99
|
+
* The meta line in `--role-muted`: `type-label` caps for article rows,
|
|
100
|
+
* `type-caption` otherwise. Past rows say "Past" here; never dim them. From
|
|
101
|
+
* 1024 px of container an article row's meta moves to a right-aligned column.
|
|
102
|
+
*/
|
|
103
|
+
export declare function IndexRowMeta(props: IndexRowMetaProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
104
|
+
/** Props for IndexRowDek: paragraph props and `render`. */
|
|
105
|
+
export type IndexRowDekProps = useRender.ComponentProps<'p'>;
|
|
106
|
+
/** An optional one- or two-line dek under an article title: `type-body-ui` in `--primary12`. */
|
|
107
|
+
export declare function IndexRowDek(props: IndexRowDekProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
108
|
+
/** Props for IndexRowDisclosure: Base UI Collapsible Root props plus the title, meta and panel props. */
|
|
109
|
+
export type IndexRowDisclosureProps = Omit<BaseCollapsible.Root.Props, 'title' | 'render'> & {
|
|
110
|
+
/** The event title, the trigger's label: `--role-muted` collapsed, `--primary12` open. */
|
|
111
|
+
title: React.ReactNode;
|
|
112
|
+
/** An optional meta line under the title (format, place; "Past"), shown in both states. */
|
|
113
|
+
meta?: React.ReactNode;
|
|
114
|
+
/** Props for the details panel. */
|
|
115
|
+
panelProps?: Omit<CollapsiblePanelProps, 'children'>;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* An expandable event row (§10.13): the title is the trigger, inside an
|
|
119
|
+
* `h3`, with the LTA disclosure glyph; the details (body, "Host" /
|
|
120
|
+
* "Entrance" pairs, a sm Button) sit in the panel. Collapsed titles are
|
|
121
|
+
* `--role-muted` and grow to `type-h2` in `--primary12` when open. Rows
|
|
122
|
+
* print expanded, glyphs hidden.
|
|
123
|
+
*/
|
|
124
|
+
export declare function IndexRowDisclosure(props: IndexRowDisclosureProps): React.JSX.Element;
|
|
125
|
+
/** Props for IndexRowsFooter: `div` props and `render`. */
|
|
126
|
+
export type IndexRowsFooterProps = useRender.ComponentProps<'div'>;
|
|
127
|
+
/**
|
|
128
|
+
* The module footer: a standalone `Link` ("See all ›", `type-label` caps
|
|
129
|
+
* with its `--role-glyph` chevron). Prints "Full list (short URL)" for lists
|
|
130
|
+
* of more than 10 rows (§7.6).
|
|
131
|
+
*/
|
|
132
|
+
export declare function IndexRowsFooter(props: IndexRowsFooterProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
133
|
+
export {};
|
|
134
|
+
//# sourceMappingURL=IndexRows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndexRows.d.ts","sourceRoot":"","sources":["../../src/components/IndexRows/IndexRows.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC3E,OAAO,EA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AC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,mCAAmC;IACnC,UAAU,CAAC,EAAE,IAAI,CAAC,qBAAqB,EAAE,UAAU,CAAC,CAAA;CACrD,CAAA;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,uBAAuB,qBAsBhE;AAED,2DAA2D;AAC3D,MAAM,MAAM,oBAAoB,GAAG,SAAS,CAAC,cAAc,CAAC,KAAK,CAAC,CAAA;AAElE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,0EAQ1D"}
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Collapsible as BaseCollapsible } from '@base-ui/react/collapsible';
|
|
4
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
5
|
+
import { mergeProps } from '@base-ui/react/merge-props';
|
|
6
|
+
import { cva } from 'class-variance-authority';
|
|
7
|
+
import { CollapsiblePanel, DisclosureGlyph } from '../Collapsible';
|
|
8
|
+
import { Link } from '../Link';
|
|
9
|
+
import { cx, resolveClassName } from '../../utils/className';
|
|
10
|
+
import { primaryScaleVariants, secondaryScaleVariants } from '../../utils/scales';
|
|
11
|
+
import { useScopeAttributes } from '../../utils/scope';
|
|
12
|
+
import styles from './index-rows.module.css';
|
|
13
|
+
/*
|
|
14
|
+
* Ruled Index Rows (§12.11): many same-kind items, the default listing on
|
|
15
|
+
* reading pages. Composed from `section` + an `ol` (ranked) or `ul` of rows,
|
|
16
|
+
* each holding a heading link and meta; event rows expand with Collapsible
|
|
17
|
+
* (§10.13).
|
|
18
|
+
*
|
|
19
|
+
* Implementation (CSS Modules + CVA)
|
|
20
|
+
* - Module: index-rows.module.css; CVA function `indexRows`.
|
|
21
|
+
* - Axes: `kind` → ranked | related | event | article; `primary`,
|
|
22
|
+
* `secondary` → scales module classes.
|
|
23
|
+
* - Compound variants: none.
|
|
24
|
+
* - Defaults: none (`kind` is required); color axes: none.
|
|
25
|
+
* - Color fallback: inherits the scope.
|
|
26
|
+
* - States: the title Link (§9.3) owns hover and press;
|
|
27
|
+
* `row:has(titleLink:focus-visible)` → the ring inside the rules;
|
|
28
|
+
* `aria-current` on the row's link → `currentBar` (titles already sit at
|
|
29
|
+
* --font-weight-6 or heavier, so the bar carries the change); on
|
|
30
|
+
* event rows the Collapsible Trigger's `:hover` → the title in
|
|
31
|
+
* --role-link-hover, color only [D181], and `data-panel-open` → glyph and
|
|
32
|
+
* title color (and the type-h2 title), with the Panel's clip reveal from
|
|
33
|
+
* §10.13.
|
|
34
|
+
* - Parts: base, header, list, row, key (with rank, date or thumb), rule
|
|
35
|
+
* (the text column, which carries the row rule and the event column
|
|
36
|
+
* rule), title, titleLink, count, meta, dek, currentBar (the rule's
|
|
37
|
+
* ::before), trigger and glyph (event), details (the Collapsible Panel),
|
|
38
|
+
* footer.
|
|
39
|
+
* - Scope: none.
|
|
40
|
+
* - Container: `base` (the listing wrapper) is the inline-size container,
|
|
41
|
+
* unnamed (no inner part queries past it); the row layout queries it.
|
|
42
|
+
* Baseline without support: date above title, horizontal rules only, with
|
|
43
|
+
* viewport fallbacks of the date column from --md-n-above and the meta
|
|
44
|
+
* column from --lg-n-above. Thresholds (§5.10.2): date key column 3/8
|
|
45
|
+
* from 768; event key 3/12 and the article meta column from 1024 [D163].
|
|
46
|
+
*/
|
|
47
|
+
export const indexRows = cva(styles.base, {
|
|
48
|
+
variants: {
|
|
49
|
+
kind: {
|
|
50
|
+
ranked: styles.ranked,
|
|
51
|
+
related: styles.related,
|
|
52
|
+
event: styles.event,
|
|
53
|
+
article: styles.article,
|
|
54
|
+
},
|
|
55
|
+
// Color axes: never defaulted, so an omitted prop inherits the scope [D133].
|
|
56
|
+
primary: primaryScaleVariants,
|
|
57
|
+
secondary: secondaryScaleVariants,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
const IndexRowsContext = React.createContext('article');
|
|
61
|
+
IndexRowsContext.displayName = 'IndexRowsContext';
|
|
62
|
+
/**
|
|
63
|
+
* The index module: an optional `IndexRowsHeader` (the §11.8 eyebrow and
|
|
64
|
+
* hairline, plus any Tabs), the `IndexRowsList` of `IndexRow`s and an
|
|
65
|
+
* optional `IndexRowsFooter` ("See all ›"). Rows are separated by rules,
|
|
66
|
+
* never boxed; numbers and dates use tabular figures.
|
|
67
|
+
*/
|
|
68
|
+
export function IndexRows(props) {
|
|
69
|
+
const { render, ref, className, kind, primary, secondary, ...rest } = props;
|
|
70
|
+
const scope = useScopeAttributes();
|
|
71
|
+
const element = useRender({
|
|
72
|
+
defaultTagName: 'section',
|
|
73
|
+
render,
|
|
74
|
+
ref,
|
|
75
|
+
props: mergeProps({
|
|
76
|
+
...scope,
|
|
77
|
+
className: indexRows({ kind, primary, secondary, className }),
|
|
78
|
+
}, rest),
|
|
79
|
+
});
|
|
80
|
+
return React.createElement(IndexRowsContext.Provider, { value: kind }, element);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The module header slot: the §11.8 section header (eyebrow + `--role-hairline`
|
|
84
|
+
* rule) and, where needed, "Upcoming / Past" Tabs (§9.5). Stays with the
|
|
85
|
+
* first row in print.
|
|
86
|
+
*/
|
|
87
|
+
export function IndexRowsHeader(props) {
|
|
88
|
+
const { render, ref, className, ...rest } = props;
|
|
89
|
+
return useRender({
|
|
90
|
+
defaultTagName: 'header',
|
|
91
|
+
render,
|
|
92
|
+
ref,
|
|
93
|
+
props: mergeProps({ className: cx(styles.header, className) }, rest),
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
/** The rows: an `ol` for ranked lists, whose order means something; a `ul` otherwise. */
|
|
97
|
+
export function IndexRowsList(props) {
|
|
98
|
+
const { render, ref, className, ...rest } = props;
|
|
99
|
+
const kind = React.useContext(IndexRowsContext);
|
|
100
|
+
return useRender({
|
|
101
|
+
defaultTagName: kind === 'ranked' ? 'ol' : 'ul',
|
|
102
|
+
render,
|
|
103
|
+
ref,
|
|
104
|
+
props: mergeProps({ className: cx(styles.list, className) }, rest),
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* One row: an optional key column (`rank`, `date` or `thumb`) and the text
|
|
109
|
+
* column, which holds `IndexRowTitle` (or an event's `IndexRowDisclosure`),
|
|
110
|
+
* `IndexRowMeta` and `IndexRowDek`. The row rule runs from the text column
|
|
111
|
+
* to the module edge, never under the key column.
|
|
112
|
+
*/
|
|
113
|
+
export function IndexRow(props) {
|
|
114
|
+
const { render, ref, className, rank, date, thumb, children, ...rest } = props;
|
|
115
|
+
const key = rank != null ? (React.createElement("span", { className: `${styles.key} ${styles.rank}` }, rank)) : date != null ? (React.createElement("span", { className: `${styles.key} ${styles.date}` }, date)) : thumb != null ? (React.createElement("span", { className: `${styles.key} ${styles.thumb}` }, thumb)) : null;
|
|
116
|
+
return useRender({
|
|
117
|
+
defaultTagName: 'li',
|
|
118
|
+
render,
|
|
119
|
+
ref,
|
|
120
|
+
props: mergeProps({
|
|
121
|
+
className: cx(styles.row, className),
|
|
122
|
+
children: (React.createElement(React.Fragment, null,
|
|
123
|
+
key,
|
|
124
|
+
React.createElement("div", { className: styles.rule }, children))),
|
|
125
|
+
}, rest),
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* The row's title: `type-itemhead` for article and event rows,
|
|
130
|
+
* `type-body-ui` at `--font-weight-6` for ranked and related rows. Wrap an
|
|
131
|
+
* `IndexRowTitleLink` inside, and follow it with an `IndexRowCount` in
|
|
132
|
+
* ranked lists.
|
|
133
|
+
*/
|
|
134
|
+
export function IndexRowTitle(props) {
|
|
135
|
+
const { render, ref, className, ...rest } = props;
|
|
136
|
+
const kind = React.useContext(IndexRowsContext);
|
|
137
|
+
const own = kind === 'ranked' || kind === 'related' ? styles.titleUi : styles.title;
|
|
138
|
+
return useRender({
|
|
139
|
+
defaultTagName: 'h3',
|
|
140
|
+
render,
|
|
141
|
+
ref,
|
|
142
|
+
props: mergeProps({ className: cx(own, className) }, rest),
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* The row's one link, inside `IndexRowTitle`: a §9.3 title Link whose hit
|
|
147
|
+
* area stretches over the row. Pass `aria-current="page"` (or `"true"` for
|
|
148
|
+
* the active filter row) to mark the current row. `index` adds the visited ✓
|
|
149
|
+
* for long indexes.
|
|
150
|
+
*/
|
|
151
|
+
export function IndexRowTitleLink(props) {
|
|
152
|
+
const { className, ...rest } = props;
|
|
153
|
+
return React.createElement(Link, { ...rest, kind: "title", className: cx(styles.titleLink, className) });
|
|
154
|
+
}
|
|
155
|
+
/** The ranked label's count, "(29)": `type-body-ui` in `--role-muted`, after the title. */
|
|
156
|
+
export function IndexRowCount(props) {
|
|
157
|
+
const { render, ref, className, ...rest } = props;
|
|
158
|
+
return useRender({
|
|
159
|
+
defaultTagName: 'span',
|
|
160
|
+
render,
|
|
161
|
+
ref,
|
|
162
|
+
props: mergeProps({ className: cx(styles.count, className) }, rest),
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* The meta line in `--role-muted`: `type-label` caps for article rows,
|
|
167
|
+
* `type-caption` otherwise. Past rows say "Past" here; never dim them. From
|
|
168
|
+
* 1024 px of container an article row's meta moves to a right-aligned column.
|
|
169
|
+
*/
|
|
170
|
+
export function IndexRowMeta(props) {
|
|
171
|
+
const { render, ref, className, ...rest } = props;
|
|
172
|
+
const kind = React.useContext(IndexRowsContext);
|
|
173
|
+
return useRender({
|
|
174
|
+
defaultTagName: 'p',
|
|
175
|
+
render,
|
|
176
|
+
ref,
|
|
177
|
+
props: mergeProps({ className: cx(kind === 'article' ? styles.metaCaps : styles.meta, className) }, rest),
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
/** An optional one- or two-line dek under an article title: `type-body-ui` in `--primary12`. */
|
|
181
|
+
export function IndexRowDek(props) {
|
|
182
|
+
const { render, ref, className, ...rest } = props;
|
|
183
|
+
return useRender({
|
|
184
|
+
defaultTagName: 'p',
|
|
185
|
+
render,
|
|
186
|
+
ref,
|
|
187
|
+
props: mergeProps({ className: cx(styles.dek, className) }, rest),
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* An expandable event row (§10.13): the title is the trigger, inside an
|
|
192
|
+
* `h3`, with the LTA disclosure glyph; the details (body, "Host" /
|
|
193
|
+
* "Entrance" pairs, a sm Button) sit in the panel. Collapsed titles are
|
|
194
|
+
* `--role-muted` and grow to `type-h2` in `--primary12` when open. Rows
|
|
195
|
+
* print expanded, glyphs hidden.
|
|
196
|
+
*/
|
|
197
|
+
export function IndexRowDisclosure(props) {
|
|
198
|
+
const { title, meta, panelProps, className, children, ...rest } = props;
|
|
199
|
+
return (React.createElement(BaseCollapsible.Root, { ...rest, className: resolveClassName(className, (extra) => cx(styles.disclosure, extra)) },
|
|
200
|
+
React.createElement("h3", { className: styles.eventHeading },
|
|
201
|
+
React.createElement(BaseCollapsible.Trigger, { className: styles.trigger },
|
|
202
|
+
React.createElement("span", { className: styles.triggerLabel }, title),
|
|
203
|
+
React.createElement(DisclosureGlyph, { className: styles.glyph }))),
|
|
204
|
+
meta != null ? React.createElement("p", { className: styles.meta }, meta) : null,
|
|
205
|
+
React.createElement(CollapsiblePanel, { ...panelProps, className: withDetails(panelProps?.className) }, children)));
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* The module footer: a standalone `Link` ("See all ›", `type-label` caps
|
|
209
|
+
* with its `--role-glyph` chevron). Prints "Full list (short URL)" for lists
|
|
210
|
+
* of more than 10 rows (§7.6).
|
|
211
|
+
*/
|
|
212
|
+
export function IndexRowsFooter(props) {
|
|
213
|
+
const { render, ref, className, ...rest } = props;
|
|
214
|
+
return useRender({
|
|
215
|
+
defaultTagName: 'div',
|
|
216
|
+
render,
|
|
217
|
+
ref,
|
|
218
|
+
props: mergeProps({ className: cx(styles.footer, className) }, rest),
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/** The details class first, then the consumer's (static or state-driven) class. */
|
|
222
|
+
function withDetails(className) {
|
|
223
|
+
if (typeof className === 'function') {
|
|
224
|
+
const consumer = className;
|
|
225
|
+
return (state) => cx(styles.details, consumer(state));
|
|
226
|
+
}
|
|
227
|
+
return cx(styles.details, className);
|
|
228
|
+
}
|
|
229
|
+
//# sourceMappingURL=IndexRows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndexRows.js","sourceRoot":"","sources":["../../src/components/IndexRows/IndexRows.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC3E,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,gBAAgB,EAAE,eAAe,EAA8B,MAAM,gBAAgB,CAAA;AAC9F,OAAO,EAAE,IAAI,EAAkB,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,EAAE,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAA;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AACtD,OAAO,MAAM,MAAM,yBAAyB,CAAA;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE;IACxC,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,KAAK,EAAE,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