@fairgarden/design 0.1.0-0.canary.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/LICENSE +21 -0
- package/Readme.md +88 -0
- package/actions/button/Button.d.ts +107 -0
- package/actions/button/Button.d.ts.map +1 -0
- package/actions/button/Button.js +136 -0
- package/actions/button/Button.js.map +1 -0
- package/actions/button/button.module.css +434 -0
- package/actions/button/index.d.ts +2 -0
- package/actions/button/index.d.ts.map +1 -0
- package/actions/button/index.js +2 -0
- package/actions/button/index.js.map +1 -0
- package/actions/chip/Chip.d.ts +58 -0
- package/actions/chip/Chip.d.ts.map +1 -0
- package/actions/chip/Chip.js +94 -0
- package/actions/chip/Chip.js.map +1 -0
- package/actions/chip/chip.module.css +171 -0
- package/actions/chip/index.d.ts +2 -0
- package/actions/chip/index.d.ts.map +1 -0
- package/actions/chip/index.js +2 -0
- package/actions/chip/index.js.map +1 -0
- package/actions/link/Link.d.ts +86 -0
- package/actions/link/Link.d.ts.map +1 -0
- package/actions/link/Link.js +140 -0
- package/actions/link/Link.js.map +1 -0
- package/actions/link/index.d.ts +2 -0
- package/actions/link/index.d.ts.map +1 -0
- package/actions/link/index.js +2 -0
- package/actions/link/index.js.map +1 -0
- package/actions/link/link.module.css +330 -0
- package/actions/toggle/Toggle.d.ts +78 -0
- package/actions/toggle/Toggle.d.ts.map +1 -0
- package/actions/toggle/Toggle.js +101 -0
- package/actions/toggle/Toggle.js.map +1 -0
- package/actions/toggle/index.d.ts +2 -0
- package/actions/toggle/index.d.ts.map +1 -0
- package/actions/toggle/index.js +2 -0
- package/actions/toggle/index.js.map +1 -0
- package/actions/toggle/toggle.module.css +281 -0
- package/actions/toggle-group/ToggleGroup.d.ts +43 -0
- package/actions/toggle-group/ToggleGroup.d.ts.map +1 -0
- package/actions/toggle-group/ToggleGroup.js +85 -0
- package/actions/toggle-group/ToggleGroup.js.map +1 -0
- package/actions/toggle-group/index.d.ts +2 -0
- package/actions/toggle-group/index.d.ts.map +1 -0
- package/actions/toggle-group/index.js +2 -0
- package/actions/toggle-group/index.js.map +1 -0
- package/actions/toggle-group/toggle-group.module.css +139 -0
- package/content/card/Card.d.ts +137 -0
- package/content/card/Card.d.ts.map +1 -0
- package/content/card/Card.js +239 -0
- package/content/card/Card.js.map +1 -0
- package/content/card/card.module.css +479 -0
- package/content/card/index.d.ts +2 -0
- package/content/card/index.d.ts.map +1 -0
- package/content/card/index.js +2 -0
- package/content/card/index.js.map +1 -0
- package/content/card-grid/CardGrid.d.ts +99 -0
- package/content/card-grid/CardGrid.d.ts.map +1 -0
- package/content/card-grid/CardGrid.js +176 -0
- package/content/card-grid/CardGrid.js.map +1 -0
- package/content/card-grid/card-grid.module.css +187 -0
- package/content/card-grid/index.d.ts +2 -0
- package/content/card-grid/index.d.ts.map +1 -0
- package/content/card-grid/index.js +2 -0
- package/content/card-grid/index.js.map +1 -0
- package/content/carousel/Carousel.d.ts +99 -0
- package/content/carousel/Carousel.d.ts.map +1 -0
- package/content/carousel/Carousel.js +316 -0
- package/content/carousel/Carousel.js.map +1 -0
- package/content/carousel/carousel.module.css +257 -0
- package/content/carousel/index.d.ts +2 -0
- package/content/carousel/index.d.ts.map +1 -0
- package/content/carousel/index.js +2 -0
- package/content/carousel/index.js.map +1 -0
- package/content/empty-state/EmptyState.d.ts +88 -0
- package/content/empty-state/EmptyState.d.ts.map +1 -0
- package/content/empty-state/EmptyState.js +161 -0
- package/content/empty-state/EmptyState.js.map +1 -0
- package/content/empty-state/empty-state.module.css +244 -0
- package/content/empty-state/index.d.ts +2 -0
- package/content/empty-state/index.d.ts.map +1 -0
- package/content/empty-state/index.js +2 -0
- package/content/empty-state/index.js.map +1 -0
- package/content/feature-grid/FeatureGrid.d.ts +108 -0
- package/content/feature-grid/FeatureGrid.d.ts.map +1 -0
- package/content/feature-grid/FeatureGrid.js +218 -0
- package/content/feature-grid/FeatureGrid.js.map +1 -0
- package/content/feature-grid/feature-grid.module.css +358 -0
- package/content/feature-grid/index.d.ts +2 -0
- package/content/feature-grid/index.d.ts.map +1 -0
- package/content/feature-grid/index.js +2 -0
- package/content/feature-grid/index.js.map +1 -0
- package/content/index-rows/IndexRows.d.ts +134 -0
- package/content/index-rows/IndexRows.d.ts.map +1 -0
- package/content/index-rows/IndexRows.js +229 -0
- package/content/index-rows/IndexRows.js.map +1 -0
- package/content/index-rows/index-rows.module.css +460 -0
- package/content/index-rows/index.d.ts +2 -0
- package/content/index-rows/index.d.ts.map +1 -0
- package/content/index-rows/index.js +2 -0
- package/content/index-rows/index.js.map +1 -0
- package/content/pricing/Pricing.d.ts +190 -0
- package/content/pricing/Pricing.d.ts.map +1 -0
- package/content/pricing/Pricing.js +350 -0
- package/content/pricing/Pricing.js.map +1 -0
- package/content/pricing/index.d.ts +2 -0
- package/content/pricing/index.d.ts.map +1 -0
- package/content/pricing/index.js +2 -0
- package/content/pricing/index.js.map +1 -0
- package/content/pricing/pricing.module.css +493 -0
- package/content/profile/Profile.d.ts +120 -0
- package/content/profile/Profile.d.ts.map +1 -0
- package/content/profile/Profile.js +230 -0
- package/content/profile/Profile.js.map +1 -0
- package/content/profile/index.d.ts +2 -0
- package/content/profile/index.d.ts.map +1 -0
- package/content/profile/index.js +2 -0
- package/content/profile/index.js.map +1 -0
- package/content/profile/profile.module.css +272 -0
- package/content/quote/Quote.d.ts +99 -0
- package/content/quote/Quote.d.ts.map +1 -0
- package/content/quote/Quote.js +168 -0
- package/content/quote/Quote.js.map +1 -0
- package/content/quote/index.d.ts +2 -0
- package/content/quote/index.d.ts.map +1 -0
- package/content/quote/index.js +2 -0
- package/content/quote/index.js.map +1 -0
- package/content/quote/quote.module.css +184 -0
- package/content/timeline/Timeline.d.ts +164 -0
- package/content/timeline/Timeline.d.ts.map +1 -0
- package/content/timeline/Timeline.js +314 -0
- package/content/timeline/Timeline.js.map +1 -0
- package/content/timeline/index.d.ts +2 -0
- package/content/timeline/index.d.ts.map +1 -0
- package/content/timeline/index.js +2 -0
- package/content/timeline/index.js.map +1 -0
- package/content/timeline/timeline.module.css +428 -0
- package/data/chart/Chart.d.ts +135 -0
- package/data/chart/Chart.d.ts.map +1 -0
- package/data/chart/Chart.js +453 -0
- package/data/chart/Chart.js.map +1 -0
- package/data/chart/chart.module.css +376 -0
- package/data/chart/index.d.ts +2 -0
- package/data/chart/index.d.ts.map +1 -0
- package/data/chart/index.js +2 -0
- package/data/chart/index.js.map +1 -0
- package/data/figure/Figure.d.ts +72 -0
- package/data/figure/Figure.d.ts.map +1 -0
- package/data/figure/Figure.js +122 -0
- package/data/figure/Figure.js.map +1 -0
- package/data/figure/figure.module.css +162 -0
- package/data/figure/index.d.ts +2 -0
- package/data/figure/index.d.ts.map +1 -0
- package/data/figure/index.js +2 -0
- package/data/figure/index.js.map +1 -0
- package/data/map/Map.d.ts +192 -0
- package/data/map/Map.d.ts.map +1 -0
- package/data/map/Map.js +500 -0
- package/data/map/Map.js.map +1 -0
- package/data/map/MapCanvas.d.ts +29 -0
- package/data/map/MapCanvas.d.ts.map +1 -0
- package/data/map/MapCanvas.js +295 -0
- package/data/map/MapCanvas.js.map +1 -0
- package/data/map/index.d.ts +2 -0
- package/data/map/index.d.ts.map +1 -0
- package/data/map/index.js +2 -0
- package/data/map/index.js.map +1 -0
- package/data/map/map.module.css +501 -0
- package/data/map/mapStyle.d.ts +72 -0
- package/data/map/mapStyle.d.ts.map +1 -0
- package/data/map/mapStyle.js +441 -0
- package/data/map/mapStyle.js.map +1 -0
- package/data/map/types.d.ts +59 -0
- package/data/map/types.d.ts.map +1 -0
- package/data/map/types.js +2 -0
- package/data/map/types.js.map +1 -0
- package/data/scroll-area/ScrollArea.d.ts +67 -0
- package/data/scroll-area/ScrollArea.d.ts.map +1 -0
- package/data/scroll-area/ScrollArea.js +87 -0
- package/data/scroll-area/ScrollArea.js.map +1 -0
- package/data/scroll-area/index.d.ts +2 -0
- package/data/scroll-area/index.d.ts.map +1 -0
- package/data/scroll-area/index.js +2 -0
- package/data/scroll-area/index.js.map +1 -0
- package/data/scroll-area/scroll-area.module.css +247 -0
- package/data/spec-grid/SpecGrid.d.ts +49 -0
- package/data/spec-grid/SpecGrid.d.ts.map +1 -0
- package/data/spec-grid/SpecGrid.js +75 -0
- package/data/spec-grid/SpecGrid.js.map +1 -0
- package/data/spec-grid/index.d.ts +2 -0
- package/data/spec-grid/index.d.ts.map +1 -0
- package/data/spec-grid/index.js +2 -0
- package/data/spec-grid/index.js.map +1 -0
- package/data/spec-grid/spec-grid.module.css +142 -0
- package/data/spec-list/SpecList.d.ts +32 -0
- package/data/spec-list/SpecList.d.ts.map +1 -0
- package/data/spec-list/SpecList.js +51 -0
- package/data/spec-list/SpecList.js.map +1 -0
- package/data/spec-list/index.d.ts +2 -0
- package/data/spec-list/index.d.ts.map +1 -0
- package/data/spec-list/index.js +2 -0
- package/data/spec-list/index.js.map +1 -0
- package/data/spec-list/spec-list.module.css +95 -0
- package/data/spec-sheet/SpecSheet.d.ts +112 -0
- package/data/spec-sheet/SpecSheet.d.ts.map +1 -0
- package/data/spec-sheet/SpecSheet.js +128 -0
- package/data/spec-sheet/SpecSheet.js.map +1 -0
- package/data/spec-sheet/index.d.ts +2 -0
- package/data/spec-sheet/index.d.ts.map +1 -0
- package/data/spec-sheet/index.js +2 -0
- package/data/spec-sheet/index.js.map +1 -0
- package/data/spec-sheet/spec-sheet.module.css +278 -0
- package/data/stat/Stat.d.ts +74 -0
- package/data/stat/Stat.d.ts.map +1 -0
- package/data/stat/Stat.js +159 -0
- package/data/stat/Stat.js.map +1 -0
- package/data/stat/index.d.ts +2 -0
- package/data/stat/index.d.ts.map +1 -0
- package/data/stat/index.js +2 -0
- package/data/stat/index.js.map +1 -0
- package/data/stat/stat.module.css +299 -0
- package/data/table/Table.d.ts +164 -0
- package/data/table/Table.d.ts.map +1 -0
- package/data/table/Table.js +255 -0
- package/data/table/Table.js.map +1 -0
- package/data/table/index.d.ts +2 -0
- package/data/table/index.d.ts.map +1 -0
- package/data/table/index.js +2 -0
- package/data/table/index.js.map +1 -0
- package/data/table/table.module.css +759 -0
- package/disclosure/accordion/Accordion.d.ts +68 -0
- package/disclosure/accordion/Accordion.d.ts.map +1 -0
- package/disclosure/accordion/Accordion.js +95 -0
- package/disclosure/accordion/Accordion.js.map +1 -0
- package/disclosure/accordion/accordion.module.css +248 -0
- package/disclosure/accordion/index.d.ts +2 -0
- package/disclosure/accordion/index.d.ts.map +1 -0
- package/disclosure/accordion/index.js +2 -0
- package/disclosure/accordion/index.js.map +1 -0
- package/disclosure/collapsible/Collapsible.d.ts +80 -0
- package/disclosure/collapsible/Collapsible.d.ts.map +1 -0
- package/disclosure/collapsible/Collapsible.js +112 -0
- package/disclosure/collapsible/Collapsible.js.map +1 -0
- package/disclosure/collapsible/collapsible.module.css +214 -0
- package/disclosure/collapsible/index.d.ts +2 -0
- package/disclosure/collapsible/index.d.ts.map +1 -0
- package/disclosure/collapsible/index.js +2 -0
- package/disclosure/collapsible/index.js.map +1 -0
- package/disclosure/faq/FAQ.d.ts +90 -0
- package/disclosure/faq/FAQ.d.ts.map +1 -0
- package/disclosure/faq/FAQ.js +146 -0
- package/disclosure/faq/FAQ.js.map +1 -0
- package/disclosure/faq/faq.module.css +277 -0
- package/disclosure/faq/index.d.ts +2 -0
- package/disclosure/faq/index.d.ts.map +1 -0
- package/disclosure/faq/index.js +2 -0
- package/disclosure/faq/index.js.map +1 -0
- package/feedback/alert/Alert.d.ts +38 -0
- package/feedback/alert/Alert.d.ts.map +1 -0
- package/feedback/alert/Alert.js +79 -0
- package/feedback/alert/Alert.js.map +1 -0
- package/feedback/alert/alert.module.css +99 -0
- package/feedback/alert/index.d.ts +2 -0
- package/feedback/alert/index.d.ts.map +1 -0
- package/feedback/alert/index.js +2 -0
- package/feedback/alert/index.js.map +1 -0
- package/feedback/avatar/Avatar.d.ts +97 -0
- package/feedback/avatar/Avatar.d.ts.map +1 -0
- package/feedback/avatar/Avatar.js +154 -0
- package/feedback/avatar/Avatar.js.map +1 -0
- package/feedback/avatar/avatar-group.module.css +72 -0
- package/feedback/avatar/avatar.module.css +180 -0
- package/feedback/avatar/index.d.ts +2 -0
- package/feedback/avatar/index.d.ts.map +1 -0
- package/feedback/avatar/index.js +2 -0
- package/feedback/avatar/index.js.map +1 -0
- package/feedback/badge/Badge.d.ts +67 -0
- package/feedback/badge/Badge.d.ts.map +1 -0
- package/feedback/badge/Badge.js +118 -0
- package/feedback/badge/Badge.js.map +1 -0
- package/feedback/badge/badge.module.css +134 -0
- package/feedback/badge/index.d.ts +2 -0
- package/feedback/badge/index.d.ts.map +1 -0
- package/feedback/badge/index.js +2 -0
- package/feedback/badge/index.js.map +1 -0
- package/feedback/meter/Meter.d.ts +67 -0
- package/feedback/meter/Meter.d.ts.map +1 -0
- package/feedback/meter/Meter.js +145 -0
- package/feedback/meter/Meter.js.map +1 -0
- package/feedback/meter/index.d.ts +2 -0
- package/feedback/meter/index.d.ts.map +1 -0
- package/feedback/meter/index.js +2 -0
- package/feedback/meter/index.js.map +1 -0
- package/feedback/meter/meter.module.css +389 -0
- package/feedback/progress/Progress.d.ts +63 -0
- package/feedback/progress/Progress.d.ts.map +1 -0
- package/feedback/progress/Progress.js +129 -0
- package/feedback/progress/Progress.js.map +1 -0
- package/feedback/progress/index.d.ts +2 -0
- package/feedback/progress/index.d.ts.map +1 -0
- package/feedback/progress/index.js +2 -0
- package/feedback/progress/index.js.map +1 -0
- package/feedback/progress/progress.module.css +285 -0
- package/feedback/tag/Tag.d.ts +40 -0
- package/feedback/tag/Tag.d.ts.map +1 -0
- package/feedback/tag/Tag.js +56 -0
- package/feedback/tag/Tag.js.map +1 -0
- package/feedback/tag/index.d.ts +2 -0
- package/feedback/tag/index.d.ts.map +1 -0
- package/feedback/tag/index.js +2 -0
- package/feedback/tag/index.js.map +1 -0
- package/feedback/tag/tag.module.css +99 -0
- package/feedback/toast/Toast.d.ts +96 -0
- package/feedback/toast/Toast.d.ts.map +1 -0
- package/feedback/toast/Toast.js +173 -0
- package/feedback/toast/Toast.js.map +1 -0
- package/feedback/toast/index.d.ts +2 -0
- package/feedback/toast/index.d.ts.map +1 -0
- package/feedback/toast/index.js +2 -0
- package/feedback/toast/index.js.map +1 -0
- package/feedback/toast/toast.module.css +286 -0
- package/forms/autocomplete/Autocomplete.d.ts +67 -0
- package/forms/autocomplete/Autocomplete.d.ts.map +1 -0
- package/forms/autocomplete/Autocomplete.js +116 -0
- package/forms/autocomplete/Autocomplete.js.map +1 -0
- package/forms/autocomplete/autocomplete.module.css +428 -0
- package/forms/autocomplete/index.d.ts +2 -0
- package/forms/autocomplete/index.d.ts.map +1 -0
- package/forms/autocomplete/index.js +2 -0
- package/forms/autocomplete/index.js.map +1 -0
- package/forms/checkbox/Checkbox.d.ts +66 -0
- package/forms/checkbox/Checkbox.d.ts.map +1 -0
- package/forms/checkbox/Checkbox.js +91 -0
- package/forms/checkbox/Checkbox.js.map +1 -0
- package/forms/checkbox/checkbox.module.css +388 -0
- package/forms/checkbox/index.d.ts +2 -0
- package/forms/checkbox/index.d.ts.map +1 -0
- package/forms/checkbox/index.js +2 -0
- package/forms/checkbox/index.js.map +1 -0
- package/forms/checkbox-group/CheckboxGroup.d.ts +39 -0
- package/forms/checkbox-group/CheckboxGroup.d.ts.map +1 -0
- package/forms/checkbox-group/CheckboxGroup.js +63 -0
- package/forms/checkbox-group/CheckboxGroup.js.map +1 -0
- package/forms/checkbox-group/checkbox-group.module.css +52 -0
- package/forms/checkbox-group/index.d.ts +2 -0
- package/forms/checkbox-group/index.d.ts.map +1 -0
- package/forms/checkbox-group/index.js +2 -0
- package/forms/checkbox-group/index.js.map +1 -0
- package/forms/combobox/Combobox.d.ts +86 -0
- package/forms/combobox/Combobox.d.ts.map +1 -0
- package/forms/combobox/Combobox.js +168 -0
- package/forms/combobox/Combobox.js.map +1 -0
- package/forms/combobox/combobox.module.css +511 -0
- package/forms/combobox/index.d.ts +2 -0
- package/forms/combobox/index.d.ts.map +1 -0
- package/forms/combobox/index.js +2 -0
- package/forms/combobox/index.js.map +1 -0
- package/forms/field/Field.d.ts +70 -0
- package/forms/field/Field.d.ts.map +1 -0
- package/forms/field/Field.js +103 -0
- package/forms/field/Field.js.map +1 -0
- package/forms/field/field.module.css +114 -0
- package/forms/field/index.d.ts +2 -0
- package/forms/field/index.d.ts.map +1 -0
- package/forms/field/index.js +2 -0
- package/forms/field/index.js.map +1 -0
- package/forms/fieldset/Fieldset.d.ts +48 -0
- package/forms/fieldset/Fieldset.d.ts.map +1 -0
- package/forms/fieldset/Fieldset.js +80 -0
- package/forms/fieldset/Fieldset.js.map +1 -0
- package/forms/fieldset/fieldset.module.css +167 -0
- package/forms/fieldset/index.d.ts +2 -0
- package/forms/fieldset/index.d.ts.map +1 -0
- package/forms/fieldset/index.js +2 -0
- package/forms/fieldset/index.js.map +1 -0
- package/forms/form/Form.d.ts +69 -0
- package/forms/form/Form.d.ts.map +1 -0
- package/forms/form/Form.js +90 -0
- package/forms/form/Form.js.map +1 -0
- package/forms/form/form.module.css +123 -0
- package/forms/form/index.d.ts +2 -0
- package/forms/form/index.d.ts.map +1 -0
- package/forms/form/index.js +2 -0
- package/forms/form/index.js.map +1 -0
- package/forms/input/Input.d.ts +154 -0
- package/forms/input/Input.d.ts.map +1 -0
- package/forms/input/Input.js +186 -0
- package/forms/input/Input.js.map +1 -0
- package/forms/input/index.d.ts +2 -0
- package/forms/input/index.d.ts.map +1 -0
- package/forms/input/index.js +2 -0
- package/forms/input/index.js.map +1 -0
- package/forms/input/input.module.css +394 -0
- package/forms/number-field/NumberField.d.ts +67 -0
- package/forms/number-field/NumberField.d.ts.map +1 -0
- package/forms/number-field/NumberField.js +105 -0
- package/forms/number-field/NumberField.js.map +1 -0
- package/forms/number-field/index.d.ts +2 -0
- package/forms/number-field/index.d.ts.map +1 -0
- package/forms/number-field/index.js +2 -0
- package/forms/number-field/index.js.map +1 -0
- package/forms/number-field/number-field.module.css +442 -0
- package/forms/radio/Radio.d.ts +81 -0
- package/forms/radio/Radio.d.ts.map +1 -0
- package/forms/radio/Radio.js +119 -0
- package/forms/radio/Radio.js.map +1 -0
- package/forms/radio/index.d.ts +2 -0
- package/forms/radio/index.d.ts.map +1 -0
- package/forms/radio/index.js +2 -0
- package/forms/radio/index.js.map +1 -0
- package/forms/radio/radio.module.css +449 -0
- package/forms/radio-group/RadioGroup.d.ts +35 -0
- package/forms/radio-group/RadioGroup.d.ts.map +1 -0
- package/forms/radio-group/RadioGroup.js +61 -0
- package/forms/radio-group/RadioGroup.js.map +1 -0
- package/forms/radio-group/index.d.ts +2 -0
- package/forms/radio-group/index.d.ts.map +1 -0
- package/forms/radio-group/index.js +2 -0
- package/forms/radio-group/index.js.map +1 -0
- package/forms/radio-group/radio-group.module.css +57 -0
- package/forms/search/Search.d.ts +119 -0
- package/forms/search/Search.d.ts.map +1 -0
- package/forms/search/Search.js +127 -0
- package/forms/search/Search.js.map +1 -0
- package/forms/search/index.d.ts +2 -0
- package/forms/search/index.d.ts.map +1 -0
- package/forms/search/index.js +2 -0
- package/forms/search/index.js.map +1 -0
- package/forms/search/search.module.css +326 -0
- package/forms/select/Select.d.ts +104 -0
- package/forms/select/Select.d.ts.map +1 -0
- package/forms/select/Select.js +154 -0
- package/forms/select/Select.js.map +1 -0
- package/forms/select/index.d.ts +2 -0
- package/forms/select/index.d.ts.map +1 -0
- package/forms/select/index.js +2 -0
- package/forms/select/index.js.map +1 -0
- package/forms/select/select.module.css +398 -0
- package/forms/slider/Slider.d.ts +54 -0
- package/forms/slider/Slider.d.ts.map +1 -0
- package/forms/slider/Slider.js +118 -0
- package/forms/slider/Slider.js.map +1 -0
- package/forms/slider/index.d.ts +2 -0
- package/forms/slider/index.d.ts.map +1 -0
- package/forms/slider/index.js +2 -0
- package/forms/slider/index.js.map +1 -0
- package/forms/slider/slider.module.css +371 -0
- package/forms/switch/Switch.d.ts +57 -0
- package/forms/switch/Switch.d.ts.map +1 -0
- package/forms/switch/Switch.js +82 -0
- package/forms/switch/Switch.js.map +1 -0
- package/forms/switch/index.d.ts +2 -0
- package/forms/switch/index.d.ts.map +1 -0
- package/forms/switch/index.js +2 -0
- package/forms/switch/index.js.map +1 -0
- package/forms/switch/switch.module.css +285 -0
- package/foundations/ground/Ground.d.ts +105 -0
- package/foundations/ground/Ground.d.ts.map +1 -0
- package/foundations/ground/Ground.js +98 -0
- package/foundations/ground/Ground.js.map +1 -0
- package/foundations/ground/ground.module.css +84 -0
- package/foundations/ground/index.d.ts +2 -0
- package/foundations/ground/index.d.ts.map +1 -0
- package/foundations/ground/index.js +2 -0
- package/foundations/ground/index.js.map +1 -0
- package/foundations/icon/Icon.d.ts +49 -0
- package/foundations/icon/Icon.d.ts.map +1 -0
- package/foundations/icon/Icon.js +54 -0
- package/foundations/icon/Icon.js.map +1 -0
- package/foundations/icon/icon.module.css +69 -0
- package/foundations/icon/iconHost.d.ts +9 -0
- package/foundations/icon/iconHost.d.ts.map +1 -0
- package/foundations/icon/iconHost.js +10 -0
- package/foundations/icon/iconHost.js.map +1 -0
- package/foundations/icon/index.d.ts +3 -0
- package/foundations/icon/index.d.ts.map +1 -0
- package/foundations/icon/index.js +3 -0
- package/foundations/icon/index.js.map +1 -0
- package/foundations/separator/Separator.d.ts +47 -0
- package/foundations/separator/Separator.d.ts.map +1 -0
- package/foundations/separator/Separator.js +62 -0
- package/foundations/separator/Separator.js.map +1 -0
- package/foundations/separator/index.d.ts +2 -0
- package/foundations/separator/index.d.ts.map +1 -0
- package/foundations/separator/index.js +2 -0
- package/foundations/separator/index.js.map +1 -0
- package/foundations/separator/separator.module.css +174 -0
- package/foundations/sticker/Sticker.d.ts +71 -0
- package/foundations/sticker/Sticker.d.ts.map +1 -0
- package/foundations/sticker/Sticker.js +104 -0
- package/foundations/sticker/Sticker.js.map +1 -0
- package/foundations/sticker/index.d.ts +2 -0
- package/foundations/sticker/index.d.ts.map +1 -0
- package/foundations/sticker/index.js +2 -0
- package/foundations/sticker/index.js.map +1 -0
- package/foundations/sticker/sticker.module.css +87 -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/navigation/breadcrumb/Breadcrumb.d.ts +83 -0
- package/navigation/breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/navigation/breadcrumb/Breadcrumb.js +183 -0
- package/navigation/breadcrumb/Breadcrumb.js.map +1 -0
- package/navigation/breadcrumb/breadcrumb.module.css +417 -0
- package/navigation/breadcrumb/index.d.ts +2 -0
- package/navigation/breadcrumb/index.d.ts.map +1 -0
- package/navigation/breadcrumb/index.js +2 -0
- package/navigation/breadcrumb/index.js.map +1 -0
- package/navigation/nav-drawer/NavDrawer.d.ts +113 -0
- package/navigation/nav-drawer/NavDrawer.d.ts.map +1 -0
- package/navigation/nav-drawer/NavDrawer.js +215 -0
- package/navigation/nav-drawer/NavDrawer.js.map +1 -0
- package/navigation/nav-drawer/index.d.ts +2 -0
- package/navigation/nav-drawer/index.d.ts.map +1 -0
- package/navigation/nav-drawer/index.js +2 -0
- package/navigation/nav-drawer/index.js.map +1 -0
- package/navigation/nav-drawer/nav-drawer.module.css +446 -0
- package/navigation/navigation-bar/NavigationBar.d.ts +129 -0
- package/navigation/navigation-bar/NavigationBar.d.ts.map +1 -0
- package/navigation/navigation-bar/NavigationBar.js +224 -0
- package/navigation/navigation-bar/NavigationBar.js.map +1 -0
- package/navigation/navigation-bar/index.d.ts +2 -0
- package/navigation/navigation-bar/index.d.ts.map +1 -0
- package/navigation/navigation-bar/index.js +2 -0
- package/navigation/navigation-bar/index.js.map +1 -0
- package/navigation/navigation-bar/navigation-bar.module.css +419 -0
- package/navigation/navigation-menu/NavigationMenu.d.ts +243 -0
- package/navigation/navigation-menu/NavigationMenu.d.ts.map +1 -0
- package/navigation/navigation-menu/NavigationMenu.js +512 -0
- package/navigation/navigation-menu/NavigationMenu.js.map +1 -0
- package/navigation/navigation-menu/index.d.ts +2 -0
- package/navigation/navigation-menu/index.d.ts.map +1 -0
- package/navigation/navigation-menu/index.js +2 -0
- package/navigation/navigation-menu/index.js.map +1 -0
- package/navigation/navigation-menu/navigation-menu.module.css +636 -0
- package/navigation/pagination/Pagination.d.ts +112 -0
- package/navigation/pagination/Pagination.d.ts.map +1 -0
- package/navigation/pagination/Pagination.js +202 -0
- package/navigation/pagination/Pagination.js.map +1 -0
- package/navigation/pagination/index.d.ts +2 -0
- package/navigation/pagination/index.d.ts.map +1 -0
- package/navigation/pagination/index.js +2 -0
- package/navigation/pagination/index.js.map +1 -0
- package/navigation/pagination/pagination.module.css +400 -0
- package/navigation/tabs/Tabs.d.ts +98 -0
- package/navigation/tabs/Tabs.d.ts.map +1 -0
- package/navigation/tabs/Tabs.js +175 -0
- package/navigation/tabs/Tabs.js.map +1 -0
- package/navigation/tabs/index.d.ts +2 -0
- package/navigation/tabs/index.d.ts.map +1 -0
- package/navigation/tabs/index.js +2 -0
- package/navigation/tabs/index.js.map +1 -0
- package/navigation/tabs/tabs.module.css +339 -0
- package/navigation/toolbar/Toolbar.d.ts +125 -0
- package/navigation/toolbar/Toolbar.d.ts.map +1 -0
- package/navigation/toolbar/Toolbar.js +174 -0
- package/navigation/toolbar/Toolbar.js.map +1 -0
- package/navigation/toolbar/index.d.ts +2 -0
- package/navigation/toolbar/index.d.ts.map +1 -0
- package/navigation/toolbar/index.js +2 -0
- package/navigation/toolbar/index.js.map +1 -0
- package/navigation/toolbar/toolbar.module.css +273 -0
- package/overlays/alert-dialog/AlertDialog.d.ts +74 -0
- package/overlays/alert-dialog/AlertDialog.d.ts.map +1 -0
- package/overlays/alert-dialog/AlertDialog.js +99 -0
- package/overlays/alert-dialog/AlertDialog.js.map +1 -0
- package/overlays/alert-dialog/alert-dialog.module.css +53 -0
- package/overlays/alert-dialog/index.d.ts +2 -0
- package/overlays/alert-dialog/index.d.ts.map +1 -0
- package/overlays/alert-dialog/index.js +2 -0
- package/overlays/alert-dialog/index.js.map +1 -0
- package/overlays/context-menu/ContextMenu.d.ts +47 -0
- package/overlays/context-menu/ContextMenu.d.ts.map +1 -0
- package/overlays/context-menu/ContextMenu.js +50 -0
- package/overlays/context-menu/ContextMenu.js.map +1 -0
- package/overlays/context-menu/index.d.ts +2 -0
- package/overlays/context-menu/index.d.ts.map +1 -0
- package/overlays/context-menu/index.js +2 -0
- package/overlays/context-menu/index.js.map +1 -0
- package/overlays/dialog/Dialog.d.ts +124 -0
- package/overlays/dialog/Dialog.d.ts.map +1 -0
- package/overlays/dialog/Dialog.js +243 -0
- package/overlays/dialog/Dialog.js.map +1 -0
- package/overlays/dialog/dialog.module.css +257 -0
- package/overlays/dialog/index.d.ts +2 -0
- package/overlays/dialog/index.d.ts.map +1 -0
- package/overlays/dialog/index.js +2 -0
- package/overlays/dialog/index.js.map +1 -0
- package/overlays/menu/Menu.d.ts +115 -0
- package/overlays/menu/Menu.d.ts.map +1 -0
- package/overlays/menu/Menu.js +164 -0
- package/overlays/menu/Menu.js.map +1 -0
- package/overlays/menu/index.d.ts +2 -0
- package/overlays/menu/index.d.ts.map +1 -0
- package/overlays/menu/index.js +2 -0
- package/overlays/menu/index.js.map +1 -0
- package/overlays/menu/menu.module.css +292 -0
- package/overlays/menu/popup.d.ts +44 -0
- package/overlays/menu/popup.d.ts.map +1 -0
- package/overlays/menu/popup.js +39 -0
- package/overlays/menu/popup.js.map +1 -0
- package/overlays/menubar/Menubar.d.ts +53 -0
- package/overlays/menubar/Menubar.d.ts.map +1 -0
- package/overlays/menubar/Menubar.js +81 -0
- package/overlays/menubar/Menubar.js.map +1 -0
- package/overlays/menubar/index.d.ts +2 -0
- package/overlays/menubar/index.d.ts.map +1 -0
- package/overlays/menubar/index.js +2 -0
- package/overlays/menubar/index.js.map +1 -0
- package/overlays/menubar/menubar.module.css +124 -0
- package/overlays/popover/Popover.d.ts +96 -0
- package/overlays/popover/Popover.d.ts.map +1 -0
- package/overlays/popover/Popover.js +131 -0
- package/overlays/popover/Popover.js.map +1 -0
- package/overlays/popover/index.d.ts +2 -0
- package/overlays/popover/index.d.ts.map +1 -0
- package/overlays/popover/index.js +2 -0
- package/overlays/popover/index.js.map +1 -0
- package/overlays/popover/popover.module.css +194 -0
- package/overlays/preview-card/PreviewCard.d.ts +83 -0
- package/overlays/preview-card/PreviewCard.d.ts.map +1 -0
- package/overlays/preview-card/PreviewCard.js +123 -0
- package/overlays/preview-card/PreviewCard.js.map +1 -0
- package/overlays/preview-card/index.d.ts +2 -0
- package/overlays/preview-card/index.d.ts.map +1 -0
- package/overlays/preview-card/index.js +2 -0
- package/overlays/preview-card/index.js.map +1 -0
- package/overlays/preview-card/preview-card.module.css +177 -0
- package/overlays/tooltip/Tooltip.d.ts +72 -0
- package/overlays/tooltip/Tooltip.d.ts.map +1 -0
- package/overlays/tooltip/Tooltip.js +108 -0
- package/overlays/tooltip/Tooltip.js.map +1 -0
- package/overlays/tooltip/index.d.ts +2 -0
- package/overlays/tooltip/index.d.ts.map +1 -0
- package/overlays/tooltip/index.js +2 -0
- package/overlays/tooltip/index.js.map +1 -0
- package/overlays/tooltip/tooltip.module.css +120 -0
- package/package.json +124 -0
- package/page/announcement-bar/AnnouncementBar.d.ts +116 -0
- package/page/announcement-bar/AnnouncementBar.d.ts.map +1 -0
- package/page/announcement-bar/AnnouncementBar.js +215 -0
- package/page/announcement-bar/AnnouncementBar.js.map +1 -0
- package/page/announcement-bar/announcement-bar.module.css +271 -0
- package/page/announcement-bar/index.d.ts +2 -0
- package/page/announcement-bar/index.d.ts.map +1 -0
- package/page/announcement-bar/index.js +2 -0
- package/page/announcement-bar/index.js.map +1 -0
- package/page/cta-block/CTABlock.d.ts +117 -0
- package/page/cta-block/CTABlock.d.ts.map +1 -0
- package/page/cta-block/CTABlock.js +125 -0
- package/page/cta-block/CTABlock.js.map +1 -0
- package/page/cta-block/cta-block.module.css +358 -0
- package/page/cta-block/index.d.ts +2 -0
- package/page/cta-block/index.d.ts.map +1 -0
- package/page/cta-block/index.js +2 -0
- package/page/cta-block/index.js.map +1 -0
- package/page/footer/Footer.d.ts +154 -0
- package/page/footer/Footer.d.ts.map +1 -0
- package/page/footer/Footer.js +253 -0
- package/page/footer/Footer.js.map +1 -0
- package/page/footer/footer.module.css +683 -0
- package/page/footer/index.d.ts +2 -0
- package/page/footer/index.d.ts.map +1 -0
- package/page/footer/index.js +2 -0
- package/page/footer/index.js.map +1 -0
- package/page/hero/Hero.d.ts +214 -0
- package/page/hero/Hero.d.ts.map +1 -0
- package/page/hero/Hero.js +216 -0
- package/page/hero/Hero.js.map +1 -0
- package/page/hero/hero.module.css +766 -0
- package/page/hero/index.d.ts +2 -0
- package/page/hero/index.d.ts.map +1 -0
- package/page/hero/index.js +2 -0
- package/page/hero/index.js.map +1 -0
- package/page/marquee/Marquee.d.ts +65 -0
- package/page/marquee/Marquee.d.ts.map +1 -0
- package/page/marquee/Marquee.js +87 -0
- package/page/marquee/Marquee.js.map +1 -0
- package/page/marquee/index.d.ts +2 -0
- package/page/marquee/index.d.ts.map +1 -0
- package/page/marquee/index.js +2 -0
- package/page/marquee/index.js.map +1 -0
- package/page/marquee/marquee.module.css +151 -0
- package/page/newsletter/Newsletter.d.ts +146 -0
- package/page/newsletter/Newsletter.d.ts.map +1 -0
- package/page/newsletter/Newsletter.js +241 -0
- package/page/newsletter/Newsletter.js.map +1 -0
- package/page/newsletter/index.d.ts +2 -0
- package/page/newsletter/index.d.ts.map +1 -0
- package/page/newsletter/index.js +2 -0
- package/page/newsletter/index.js.map +1 -0
- package/page/newsletter/newsletter.module.css +552 -0
- package/page/section-bar/SectionBar.d.ts +133 -0
- package/page/section-bar/SectionBar.d.ts.map +1 -0
- package/page/section-bar/SectionBar.js +302 -0
- package/page/section-bar/SectionBar.js.map +1 -0
- package/page/section-bar/index.d.ts +2 -0
- package/page/section-bar/index.d.ts.map +1 -0
- package/page/section-bar/index.js +2 -0
- package/page/section-bar/index.js.map +1 -0
- package/page/section-bar/section-bar.module.css +615 -0
- package/page/section-divider/SectionDivider.d.ts +80 -0
- package/page/section-divider/SectionDivider.d.ts.map +1 -0
- package/page/section-divider/SectionDivider.js +158 -0
- package/page/section-divider/SectionDivider.js.map +1 -0
- package/page/section-divider/index.d.ts +2 -0
- package/page/section-divider/index.d.ts.map +1 -0
- package/page/section-divider/index.js +2 -0
- package/page/section-divider/index.js.map +1 -0
- package/page/section-divider/section-divider.module.css +280 -0
- package/page/section-header/SectionHeader.d.ts +121 -0
- package/page/section-header/SectionHeader.d.ts.map +1 -0
- package/page/section-header/SectionHeader.js +141 -0
- package/page/section-header/SectionHeader.js.map +1 -0
- package/page/section-header/index.d.ts +2 -0
- package/page/section-header/index.d.ts.map +1 -0
- package/page/section-header/index.js +2 -0
- package/page/section-header/index.js.map +1 -0
- package/page/section-header/section-header.module.css +319 -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 +3869 -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 +799 -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 +1624 -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 +329 -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,218 @@
|
|
|
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 { Card } from '../card';
|
|
7
|
+
import { Link } from '../../actions/link';
|
|
8
|
+
import { SectionHeader } from '../../page/section-header';
|
|
9
|
+
import { cx } from '../../utils/className';
|
|
10
|
+
import { primaryScaleVariants, secondaryScaleVariants, } from '../../utils/scales';
|
|
11
|
+
import { useScopeAttributes } from '../../utils/scope';
|
|
12
|
+
import styles from './feature-grid.module.css';
|
|
13
|
+
/*
|
|
14
|
+
* Feature Grid (§12.6): 2–6 parallel benefits or ways to take part, each a
|
|
15
|
+
* sentence or two. Composed from `section` + a `ul` of cells (leader,
|
|
16
|
+
* `h3`, text), with optional title Links.
|
|
17
|
+
*
|
|
18
|
+
* Implementation (CSS Modules + CVA)
|
|
19
|
+
* - Module: feature-grid.module.css; CVA function `featureGrid`.
|
|
20
|
+
* - Axes: `kind` → icon | numbered | rule-topped | framed | glossary →
|
|
21
|
+
* `kindIcon` (axis-prefixed: `icon` is also a part), `numbered`,
|
|
22
|
+
* `ruleTopped`, `framed`, `glossary`; `primary`, `secondary` → scales
|
|
23
|
+
* module classes.
|
|
24
|
+
* - Compound variants: none.
|
|
25
|
+
* - Defaults: kind icon; color axes: none.
|
|
26
|
+
* - Color fallback: inherits the scope.
|
|
27
|
+
* - States: static. A linked cell's title Link (§9.3) owns the hover and
|
|
28
|
+
* press underline; `cell:has(link:focus-visible)` → the ring around the
|
|
29
|
+
* cell.
|
|
30
|
+
* - Parts: base, header (the §11.8 SectionHeader, from the `header` prop
|
|
31
|
+
* or composed in `FeatureGridHeader`), list, cell, icon, numeral, drawing, heading
|
|
32
|
+
* (`caption` for glossary), body, link, insetRule and columnRule (the
|
|
33
|
+
* numbered separators, drawn as each cell's ::before), frame.
|
|
34
|
+
* - Scope: `frame` (the `framed` kind) is a faced Card (§12.2), whose nested
|
|
35
|
+
* face Ground resolves the face per ground (a white face on light grounds,
|
|
36
|
+
* a light island on deep ones) and draws its edge in --role-edge; the
|
|
37
|
+
* module names no preset.
|
|
38
|
+
* - Container: `base` is the inline-size container `feature-grid` (named
|
|
39
|
+
* because the framed list sits inside the frame's own `card` container);
|
|
40
|
+
* `list` queries it. Baseline without support: one stacked column, with
|
|
41
|
+
* viewport fallbacks of 3-up from --md-n-above and 4-up from
|
|
42
|
+
* --lg-n-above. Thresholds (§5.10.2): 3-up from 768, up to 4-up from 1024
|
|
43
|
+
* [D163].
|
|
44
|
+
*/
|
|
45
|
+
export const featureGrid = cva(styles.base, {
|
|
46
|
+
variants: {
|
|
47
|
+
kind: {
|
|
48
|
+
icon: styles.kindIcon,
|
|
49
|
+
numbered: styles.numbered,
|
|
50
|
+
'rule-topped': styles.ruleTopped,
|
|
51
|
+
framed: styles.framed,
|
|
52
|
+
glossary: styles.glossary,
|
|
53
|
+
},
|
|
54
|
+
// Color axes: never defaulted, so an omitted prop inherits the scope [D133].
|
|
55
|
+
primary: primaryScaleVariants,
|
|
56
|
+
secondary: secondaryScaleVariants,
|
|
57
|
+
},
|
|
58
|
+
defaultVariants: {
|
|
59
|
+
kind: 'icon',
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
const FeatureGridContext = React.createContext({
|
|
63
|
+
kind: 'icon',
|
|
64
|
+
primary: undefined,
|
|
65
|
+
secondary: undefined,
|
|
66
|
+
});
|
|
67
|
+
FeatureGridContext.displayName = 'FeatureGridContext';
|
|
68
|
+
/** A `SectionHeader` props object rather than a React node. */
|
|
69
|
+
function isSectionHeaderProps(value) {
|
|
70
|
+
return (typeof value === 'object' &&
|
|
71
|
+
value !== null &&
|
|
72
|
+
!React.isValidElement(value) &&
|
|
73
|
+
!(Symbol.iterator in value) &&
|
|
74
|
+
'heading' in value);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The feature grid module: an optional header (`header`, or a composed
|
|
78
|
+
* `FeatureGridHeader`), then a `FeatureGridList` of 2–6 `FeatureGridCell`s. Each cell holds one leader
|
|
79
|
+
* (`FeatureGridIcon` or `FeatureGridDrawing`; numbered cells draw their own
|
|
80
|
+
* numeral), a `FeatureGridHeading` (optionally wrapping a `FeatureGridLink`)
|
|
81
|
+
* and a `FeatureGridBody`. Use one leader type per grid, never mixed.
|
|
82
|
+
*/
|
|
83
|
+
export function FeatureGrid(props) {
|
|
84
|
+
const { render, ref, className, kind = 'icon', primary, secondary, header, children, ...rest } = props;
|
|
85
|
+
const scope = useScopeAttributes();
|
|
86
|
+
const generatedId = React.useId();
|
|
87
|
+
const context = React.useMemo(() => ({ kind, primary: primary ?? undefined, secondary: secondary ?? undefined }), [kind, primary, secondary]);
|
|
88
|
+
// A props object renders the §11.8 SectionHeader and labels the section by its heading.
|
|
89
|
+
const headerProps = isSectionHeaderProps(header) ? header : null;
|
|
90
|
+
const headingId = headerProps ? (headerProps.headingId ?? generatedId) : undefined;
|
|
91
|
+
const headerNode = headerProps ? (React.createElement(FeatureGridHeader, null,
|
|
92
|
+
React.createElement(SectionHeader, { ...headerProps, headingId: headingId }))) : header != null && header !== false ? (React.createElement(FeatureGridHeader, null, header)) : null;
|
|
93
|
+
const element = useRender({
|
|
94
|
+
defaultTagName: 'section',
|
|
95
|
+
render,
|
|
96
|
+
ref,
|
|
97
|
+
props: mergeProps({
|
|
98
|
+
...scope,
|
|
99
|
+
'aria-labelledby': headingId,
|
|
100
|
+
className: featureGrid({ kind, primary, secondary, className }),
|
|
101
|
+
children: (React.createElement(React.Fragment, null,
|
|
102
|
+
headerNode,
|
|
103
|
+
children)),
|
|
104
|
+
}, rest),
|
|
105
|
+
});
|
|
106
|
+
return React.createElement(FeatureGridContext.Provider, { value: context }, element);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* The module header slot: holds the §11.8 `SectionHeader` (FeatureGrid's
|
|
110
|
+
* `header` prop fills it for you); stays with the first cells in print.
|
|
111
|
+
*/
|
|
112
|
+
export function FeatureGridHeader(props) {
|
|
113
|
+
const { render, ref, className, ...rest } = props;
|
|
114
|
+
return useRender({
|
|
115
|
+
defaultTagName: 'header',
|
|
116
|
+
render,
|
|
117
|
+
ref,
|
|
118
|
+
props: mergeProps({ className: cx(styles.header, className) }, rest),
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* The cells' grid: a `ul`, or an `ol` for the numbered kind, whose order the
|
|
123
|
+
* numerals carry. In the framed kind it sits inside the faced frame.
|
|
124
|
+
*/
|
|
125
|
+
export function FeatureGridList(props) {
|
|
126
|
+
const { render, ref, className, ...rest } = props;
|
|
127
|
+
const { kind, primary, secondary } = React.useContext(FeatureGridContext);
|
|
128
|
+
const list = useRender({
|
|
129
|
+
defaultTagName: kind === 'numbered' ? 'ol' : 'ul',
|
|
130
|
+
render,
|
|
131
|
+
ref,
|
|
132
|
+
props: mergeProps({ className: cx(styles.list, className) }, rest),
|
|
133
|
+
});
|
|
134
|
+
if (kind !== 'framed')
|
|
135
|
+
return list;
|
|
136
|
+
return (React.createElement(Card, { faced: true, render: React.createElement("div", null), primary: primary, secondary: secondary, className: styles.frame }, list));
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* One benefit: leader → heading → body. Numbered cells draw their
|
|
140
|
+
* zero-padded numeral ("01") first, from the list order. A cell with a
|
|
141
|
+
* `FeatureGridLink` is linked as a whole.
|
|
142
|
+
*/
|
|
143
|
+
export function FeatureGridCell(props) {
|
|
144
|
+
const { render, ref, className, children, ...rest } = props;
|
|
145
|
+
const { kind } = React.useContext(FeatureGridContext);
|
|
146
|
+
return useRender({
|
|
147
|
+
defaultTagName: 'li',
|
|
148
|
+
render,
|
|
149
|
+
ref,
|
|
150
|
+
props: mergeProps({
|
|
151
|
+
className: cx(styles.cell, className),
|
|
152
|
+
children: (React.createElement(React.Fragment, null,
|
|
153
|
+
kind === 'numbered' ? React.createElement("span", { className: styles.numeral, "aria-hidden": "true" }) : null,
|
|
154
|
+
children)),
|
|
155
|
+
}, rest),
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The block-icon leader: put an `<Icon size="block" … />` (Material Symbols
|
|
160
|
+
* Rounded, FILL 0) inside. It fills in `--role-accent`, which resolves to
|
|
161
|
+
* `--primary12` on saturated grounds. Never put a colored tile behind it.
|
|
162
|
+
*/
|
|
163
|
+
export function FeatureGridIcon(props) {
|
|
164
|
+
const { render, ref, className, ...rest } = props;
|
|
165
|
+
return useRender({
|
|
166
|
+
defaultTagName: 'span',
|
|
167
|
+
render,
|
|
168
|
+
ref,
|
|
169
|
+
props: mergeProps({ className: cx(styles.icon, className) }, rest),
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* The glossary leader: a small geometric drawing (inline SVG, spot size
|
|
174
|
+
* `--size-px-9`) in `--primary12`. Fixed size; it never scales.
|
|
175
|
+
*/
|
|
176
|
+
export function FeatureGridDrawing(props) {
|
|
177
|
+
const { render, ref, className, ...rest } = props;
|
|
178
|
+
return useRender({
|
|
179
|
+
defaultTagName: 'span',
|
|
180
|
+
render,
|
|
181
|
+
ref,
|
|
182
|
+
props: mergeProps({ 'aria-hidden': true, className: cx(styles.drawing, className) }, rest),
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* The cell's heading: `type-itemhead` in `--primary12`; in the glossary kind
|
|
187
|
+
* a `type-label` caps caption. Renders `<h3>`.
|
|
188
|
+
*/
|
|
189
|
+
export function FeatureGridHeading(props) {
|
|
190
|
+
const { render, ref, className, ...rest } = props;
|
|
191
|
+
const { kind } = React.useContext(FeatureGridContext);
|
|
192
|
+
return useRender({
|
|
193
|
+
defaultTagName: 'h3',
|
|
194
|
+
render,
|
|
195
|
+
ref,
|
|
196
|
+
props: mergeProps({ className: cx(kind === 'glossary' ? styles.caption : styles.heading, className) }, rest),
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* The cell's one link, inside `FeatureGridHeading`: a §9.3 title Link whose
|
|
201
|
+
* hit area stretches over the cell. Hover, focus and press underline the
|
|
202
|
+
* heading; the cell draws the focus ring.
|
|
203
|
+
*/
|
|
204
|
+
export function FeatureGridLink(props) {
|
|
205
|
+
const { className, ...rest } = props;
|
|
206
|
+
return React.createElement(Link, { ...rest, kind: "title", className: cx(styles.link, className) });
|
|
207
|
+
}
|
|
208
|
+
/** A sentence or two of `type-body-ui` in `--primary12`. */
|
|
209
|
+
export function FeatureGridBody(props) {
|
|
210
|
+
const { render, ref, className, ...rest } = props;
|
|
211
|
+
return useRender({
|
|
212
|
+
defaultTagName: 'div',
|
|
213
|
+
render,
|
|
214
|
+
ref,
|
|
215
|
+
props: mergeProps({ className: cx(styles.body, className) }, rest),
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
//# sourceMappingURL=FeatureGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeatureGrid.js","sourceRoot":"","sources":["../../src/content/feature-grid/FeatureGrid.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,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAkB,MAAM,oBAAoB,CAAA;AACzD,OAAO,EAAE,aAAa,EAA2B,MAAM,2BAA2B,CAAA;AAClF,OAAO,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAA;AAC1C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,GAGvB,MAAM,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AAC,EAAE,EAAE,IAAI,CAAC;KAC1E,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Feature Grid (§12.6). The root `base` is the inline-size container
|
|
3
|
+
* `feature-grid`; `list` queries it. Parts: base, header, list, cell, icon,
|
|
4
|
+
* numeral, drawing, heading (`caption` in the glossary kind), body, link
|
|
5
|
+
* (a title Link), insetRule / columnRule (the numbered separators, each
|
|
6
|
+
* cell's ::before), frame (a faced Card, which draws its own edge and face).
|
|
7
|
+
* Pure line and type: colors are role variables only; local custom
|
|
8
|
+
* properties carry dimensions only:
|
|
9
|
+
* --feature-grid-gap the column gutter (= --fgd-space-margin) [D42]
|
|
10
|
+
* --feature-grid-row the gap between rows (--size-px-8-5, the rhythm's "next")
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/* Composition sits in top-level rules, outside the layers: Lightning CSS
|
|
14
|
+
* (Next.js with Turbopack) rejects `composes` inside @layer or any nesting.
|
|
15
|
+
* The composed classes keep their own layers. */
|
|
16
|
+
.heading {
|
|
17
|
+
composes: typeItemhead from '../../utils/type.module.css';
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.caption {
|
|
21
|
+
composes: typeLabel from '../../utils/type.module.css';
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.body {
|
|
25
|
+
composes: typeBodyUi from '../../utils/type.module.css';
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.numeral {
|
|
29
|
+
composes: typeItemhead from '../../utils/type.module.css';
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@layer base {
|
|
33
|
+
.base {
|
|
34
|
+
--feature-grid-gap: var(--fgd-space-margin);
|
|
35
|
+
--feature-grid-row: var(--size-px-8-5);
|
|
36
|
+
|
|
37
|
+
container: feature-grid / inline-size;
|
|
38
|
+
min-inline-size: 0;
|
|
39
|
+
margin: 0;
|
|
40
|
+
color: var(--primary12);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.header {
|
|
44
|
+
margin-block-end: var(--size-px-7);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Baseline (§1.11.11): one stacked column; the viewport fallbacks follow. */
|
|
48
|
+
.list {
|
|
49
|
+
display: grid;
|
|
50
|
+
grid-template-columns: minmax(0, 1fr);
|
|
51
|
+
gap: var(--feature-grid-row) var(--feature-grid-gap);
|
|
52
|
+
margin: 0;
|
|
53
|
+
padding: 0;
|
|
54
|
+
list-style: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* Rhythm: leader → 16 → heading → 32 → body; 56 to the next cell. */
|
|
58
|
+
.cell {
|
|
59
|
+
position: relative; /* the stretched title link's positioned ancestor */
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
align-items: flex-start;
|
|
63
|
+
min-inline-size: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Block-tier icon, filled in --role-accent (--primary12 on saturated grounds [D14]). */
|
|
67
|
+
.icon {
|
|
68
|
+
display: block;
|
|
69
|
+
flex: none;
|
|
70
|
+
inline-size: var(--fgd-size-icon-block);
|
|
71
|
+
block-size: var(--fgd-size-icon-block);
|
|
72
|
+
margin-block-end: var(--size-px-3);
|
|
73
|
+
color: var(--role-accent);
|
|
74
|
+
fill: currentColor;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.icon > svg {
|
|
78
|
+
display: block;
|
|
79
|
+
inline-size: 100%;
|
|
80
|
+
block-size: 100%;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Numeral: a --fgd-size-control-xl outline circle at --border-size-1-5, zero-padded data figures. */
|
|
84
|
+
.numeral {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex: none;
|
|
87
|
+
align-items: center;
|
|
88
|
+
justify-content: center;
|
|
89
|
+
box-sizing: border-box;
|
|
90
|
+
inline-size: var(--fgd-size-control-xl);
|
|
91
|
+
block-size: var(--fgd-size-control-xl);
|
|
92
|
+
margin-block-end: var(--size-px-3);
|
|
93
|
+
border: var(--border-size-1-5) solid var(--primary12);
|
|
94
|
+
border-radius: var(--radius-round);
|
|
95
|
+
color: var(--primary12);
|
|
96
|
+
font-variant-numeric: var(--fgd-numerals-data);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.numeral::before {
|
|
100
|
+
content: counter(feature, decimal-leading-zero);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Glossary drawing: geometric line art in --primary12 at the spot size; never scaled. */
|
|
104
|
+
.drawing {
|
|
105
|
+
display: block;
|
|
106
|
+
flex: none;
|
|
107
|
+
inline-size: var(--size-px-9);
|
|
108
|
+
block-size: var(--size-px-9);
|
|
109
|
+
margin-block-end: var(--size-px-3);
|
|
110
|
+
color: var(--primary12);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.drawing > svg {
|
|
114
|
+
display: block;
|
|
115
|
+
inline-size: 100%;
|
|
116
|
+
block-size: 100%;
|
|
117
|
+
fill: none;
|
|
118
|
+
stroke: currentColor;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.heading,
|
|
122
|
+
.caption {
|
|
123
|
+
margin: 0;
|
|
124
|
+
color: var(--primary12);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.body {
|
|
128
|
+
margin: var(--size-px-7) 0 0;
|
|
129
|
+
color: var(--primary12);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* Viewport fallback (no container queries): 3-up from --md-n-above, 4-up from --lg-n-above. */
|
|
133
|
+
@media (min-width: 768px) {
|
|
134
|
+
.list {
|
|
135
|
+
grid-template-columns: repeat(
|
|
136
|
+
auto-fit,
|
|
137
|
+
minmax(calc((100% - 2 * var(--feature-grid-gap)) / 3), 1fr)
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@media (min-width: 1024px) {
|
|
143
|
+
.list {
|
|
144
|
+
grid-template-columns: repeat(
|
|
145
|
+
auto-fit,
|
|
146
|
+
minmax(calc((100% - 3 * var(--feature-grid-gap)) / 4), 1fr)
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* Container (§5.10.2): stacked below 768 px, 3-up from 768, up to 4-up from 1024, never more. */
|
|
152
|
+
@container feature-grid (width < 768px) {
|
|
153
|
+
.list {
|
|
154
|
+
grid-template-columns: minmax(0, 1fr);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
@container feature-grid (768px <= width < 1024px) {
|
|
159
|
+
.list {
|
|
160
|
+
grid-template-columns: repeat(
|
|
161
|
+
auto-fit,
|
|
162
|
+
minmax(calc((100% - 2 * var(--feature-grid-gap)) / 3), 1fr)
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@container feature-grid (width >= 1024px) {
|
|
168
|
+
.list {
|
|
169
|
+
grid-template-columns: repeat(
|
|
170
|
+
auto-fit,
|
|
171
|
+
minmax(calc((100% - 3 * var(--feature-grid-gap)) / 4), 1fr)
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@layer variants {
|
|
178
|
+
/* Icon: block icon → heading → body, whitespace only. */
|
|
179
|
+
.kindIcon .cell {
|
|
180
|
+
align-items: flex-start;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/*
|
|
184
|
+
* Numbered: centered within --size-content-2 while stacked, cells
|
|
185
|
+
* separated by --border-size-1 --role-rule inset rules (--size-px-7-5 in
|
|
186
|
+
* from each side), centered in the row gap. Once cells sit in a row the
|
|
187
|
+
* separator turns into a vertical column rule in the gutter; it is dropped
|
|
188
|
+
* at the start of each row.
|
|
189
|
+
*/
|
|
190
|
+
.numbered .list {
|
|
191
|
+
counter-reset: feature;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.numbered .cell {
|
|
195
|
+
counter-increment: feature;
|
|
196
|
+
align-items: center;
|
|
197
|
+
max-inline-size: var(--size-content-2);
|
|
198
|
+
margin-inline: auto;
|
|
199
|
+
inline-size: 100%;
|
|
200
|
+
text-align: center;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.numbered .cell + .cell::before {
|
|
204
|
+
content: '';
|
|
205
|
+
position: absolute;
|
|
206
|
+
inset-block-start: calc(var(--feature-grid-row) / -2);
|
|
207
|
+
inset-inline: var(--size-px-7-5);
|
|
208
|
+
border-block-start: var(--border-size-1) solid var(--role-rule);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@media (min-width: 768px) {
|
|
212
|
+
.numbered .cell + .cell::before {
|
|
213
|
+
inset-block: 0;
|
|
214
|
+
inset-inline: calc(var(--feature-grid-gap) / -2) auto;
|
|
215
|
+
border-block-start: 0;
|
|
216
|
+
border-inline-start: var(--border-size-1) solid var(--role-rule);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.numbered .cell:nth-child(3n + 1)::before {
|
|
220
|
+
display: none;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
@media (min-width: 1024px) {
|
|
225
|
+
.numbered .cell:nth-child(3n + 1)::before {
|
|
226
|
+
display: block;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.numbered .cell:nth-child(4n + 1)::before {
|
|
230
|
+
display: none;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@container feature-grid (width < 768px) {
|
|
235
|
+
.numbered .cell + .cell::before,
|
|
236
|
+
.numbered .cell:nth-child(n)::before {
|
|
237
|
+
display: block;
|
|
238
|
+
inset-block: calc(var(--feature-grid-row) / -2) auto;
|
|
239
|
+
inset-inline: var(--size-px-7-5);
|
|
240
|
+
border-block-start: var(--border-size-1) solid var(--role-rule);
|
|
241
|
+
border-inline-start: 0;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.numbered .cell:first-child::before {
|
|
245
|
+
display: none;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@container feature-grid (768px <= width < 1024px) {
|
|
250
|
+
.numbered .cell + .cell::before {
|
|
251
|
+
display: block;
|
|
252
|
+
inset-block: 0;
|
|
253
|
+
inset-inline: calc(var(--feature-grid-gap) / -2) auto;
|
|
254
|
+
border-block-start: 0;
|
|
255
|
+
border-inline-start: var(--border-size-1) solid var(--role-rule);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.numbered .cell:nth-child(3n + 1)::before {
|
|
259
|
+
display: none;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@container feature-grid (width >= 1024px) {
|
|
264
|
+
.numbered .cell + .cell::before {
|
|
265
|
+
display: block;
|
|
266
|
+
inset-block: 0;
|
|
267
|
+
inset-inline: calc(var(--feature-grid-gap) / -2) auto;
|
|
268
|
+
border-block-start: 0;
|
|
269
|
+
border-inline-start: var(--border-size-1) solid var(--role-rule);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.numbered .cell:nth-child(4n + 1)::before {
|
|
273
|
+
display: none;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* Rule-topped: a --role-hairline column rule opens each cell; rules break at the gutter. */
|
|
278
|
+
.ruleTopped .cell {
|
|
279
|
+
padding-block-start: var(--size-px-3);
|
|
280
|
+
border-block-start: var(--border-size-1) solid var(--role-hairline);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* Framed: 2 × 2 inside the faced frame; the frame sits in the outer scope. */
|
|
284
|
+
.framed .frame {
|
|
285
|
+
border-radius: var(--radius-2-25);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
@media (min-width: 768px) {
|
|
289
|
+
.framed .list {
|
|
290
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
@container feature-grid (width < 768px) {
|
|
295
|
+
.framed .list {
|
|
296
|
+
grid-template-columns: minmax(0, 1fr);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
@container feature-grid (width >= 768px) {
|
|
301
|
+
.framed .list {
|
|
302
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/* Glossary: drawings with caps captions, no rules. */
|
|
307
|
+
.glossary .caption + .body {
|
|
308
|
+
margin-block-start: var(--size-px-2-5);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@layer states {
|
|
313
|
+
/* The linked cell's ring sits around the cell, keyboard only [D45]; it replaces the link's own. */
|
|
314
|
+
.cell .link:focus-visible {
|
|
315
|
+
outline: none;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.cell:has(.link:focus-visible) {
|
|
319
|
+
outline: var(--border-size-2) solid var(--primary12);
|
|
320
|
+
outline-offset: var(--border-size-2);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
@layer print {
|
|
325
|
+
@media print {
|
|
326
|
+
/* Cells print 2-up, whole; icons print black and the frame's face drops through the remap.
|
|
327
|
+
The page margin prints as 0, so the gutter takes its own print step. */
|
|
328
|
+
.base {
|
|
329
|
+
--feature-grid-gap: var(--size-px-5);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.header {
|
|
333
|
+
break-after: avoid;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.list,
|
|
337
|
+
.framed .list {
|
|
338
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.cell {
|
|
342
|
+
break-inside: avoid;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.numbered .cell + .cell::before,
|
|
346
|
+
.numbered .cell:nth-child(n)::before {
|
|
347
|
+
display: block;
|
|
348
|
+
inset-block: 0;
|
|
349
|
+
inset-inline: calc(var(--feature-grid-gap) / -2) auto;
|
|
350
|
+
border-block-start: 0;
|
|
351
|
+
border-inline-start: var(--border-size-1) solid var(--role-rule);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.numbered .cell:nth-child(2n + 1)::before {
|
|
355
|
+
display: none;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/content/feature-grid/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/content/feature-grid/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|