@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,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Marks each case-insensitive occurrence of `query` in `label` with the
|
|
4
|
+
* `match` part: weight, never color or fill (P2).
|
|
5
|
+
*/
|
|
6
|
+
export declare function highlightMatch(label: string, query: string, className: string): string | React.ReactNode[];
|
|
7
|
+
//# sourceMappingURL=highlightMatch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlightMatch.d.ts","sourceRoot":"","sources":["../src/utils/highlightMatch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,8BAmB7E"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Marks each case-insensitive occurrence of `query` in `label` with the
|
|
4
|
+
* `match` part: weight, never color or fill (P2).
|
|
5
|
+
*/
|
|
6
|
+
export function highlightMatch(label, query, className) {
|
|
7
|
+
const needle = query.trim().toLocaleLowerCase();
|
|
8
|
+
if (!needle)
|
|
9
|
+
return label;
|
|
10
|
+
const haystack = label.toLocaleLowerCase();
|
|
11
|
+
const parts = [];
|
|
12
|
+
let start = 0;
|
|
13
|
+
let index = haystack.indexOf(needle);
|
|
14
|
+
while (index !== -1) {
|
|
15
|
+
if (index > start)
|
|
16
|
+
parts.push(label.slice(start, index));
|
|
17
|
+
parts.push(React.createElement("mark", { key: index, className: className }, label.slice(index, index + needle.length)));
|
|
18
|
+
start = index + needle.length;
|
|
19
|
+
index = haystack.indexOf(needle, start);
|
|
20
|
+
}
|
|
21
|
+
if (start < label.length)
|
|
22
|
+
parts.push(label.slice(start));
|
|
23
|
+
return parts;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=highlightMatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"highlightMatch.js","sourceRoot":"","sources":["../src/utils/highlightMatch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,KAAa,EAAE,KAAa,EAAE,SAAiB;IAC5E,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,iBAAiB,EAAE,CAAA;IAC/C,IAAI,CAAC,MAAM;QAAE,OAAO,KAAK,CAAA;IACzB,MAAM,QAAQ,GAAG,KAAK,CAAC,iBAAiB,EAAE,CAAA;IAC1C,MAAM,KAAK,GAAsB,EAAE,CAAA;IACnC,IAAI,KAAK,GAAG,CAAC,CAAA;IACb,IAAI,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;IACpC,OAAO,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QACpB,IAAI,KAAK,GAAG,KAAK;YAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAA;QACxD,KAAK,CAAC,IAAI,CACR,8BAAM,GAAG,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,IACnC,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,CACrC,CACR,CAAA;QACD,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC,MAAM,CAAA;QAC7B,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;IACzC,CAAC;IACD,IAAI,KAAK,GAAG,KAAK,CAAC,MAAM;QAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAA;IACxD,OAAO,KAAK,CAAA;AACd,CAAC"}
|
package/utils/layers.css
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Line styles (§1.5.8, §4.2, §4.6). Compose into a module part, in a
|
|
3
|
+
* top-level rule outside any @layer (Lightning CSS rejects nested composes):
|
|
4
|
+
* .label { composes: lineDotted from '../../utils/line.module.css'; }
|
|
5
|
+
* The part colors the line from a role variable (`stroke`, `border-color`,
|
|
6
|
+
* `outline-color`); the line style never carries a color.
|
|
7
|
+
*
|
|
8
|
+
* SVG first. Dots and dashes are drawn in SVG from the --fgd- geometry
|
|
9
|
+
* tokens [D36, D68]: every class sets the SVG stroke properties, which
|
|
10
|
+
* inherit, so an inline <svg><line/></svg> or <rect/> inside the part draws
|
|
11
|
+
* true round dots and exact dash arrays (round caps extend each dash by the
|
|
12
|
+
* stroke width, so the drawn array is compensated). Inline SVG is foreground
|
|
13
|
+
* and prints.
|
|
14
|
+
*
|
|
15
|
+
* HTML boxes. `lineSolid`, `lineDouble` and `lineDoubleHair` are complete as
|
|
16
|
+
* borders. The dotted and dashed classes also set a `border-style` fallback
|
|
17
|
+
* for a box that cannot host an SVG (a pill's disabled edge); its geometry
|
|
18
|
+
* is the browser's, so prefer the SVG where the line carries meaning.
|
|
19
|
+
*/
|
|
20
|
+
@layer base {
|
|
21
|
+
.lineSolid {
|
|
22
|
+
border-style: solid;
|
|
23
|
+
stroke-width: var(--border-size-1);
|
|
24
|
+
stroke-dasharray: none;
|
|
25
|
+
stroke-linecap: butt;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Relation: leaders, tethers, estimates, disabled edges. 1 px at 3 px. */
|
|
29
|
+
.lineDottedFine {
|
|
30
|
+
border-style: dotted;
|
|
31
|
+
border-width: var(--fgd-dot-fine);
|
|
32
|
+
stroke-width: var(--fgd-dot-fine);
|
|
33
|
+
stroke-dasharray: 0 var(--fgd-dot-fine-pitch);
|
|
34
|
+
stroke-linecap: round;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Relation, grouping frames, ornamental rules. 2 px at 5 px. */
|
|
38
|
+
.lineDotted {
|
|
39
|
+
border-style: dotted;
|
|
40
|
+
border-width: var(--fgd-dot);
|
|
41
|
+
stroke-width: var(--fgd-dot);
|
|
42
|
+
stroke-dasharray: 0 var(--fgd-dot-pitch);
|
|
43
|
+
stroke-linecap: round;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Ornamental dot underline; dot-and-star rule. 4 px at 9 px. */
|
|
47
|
+
.lineDottedBold {
|
|
48
|
+
border-style: dotted;
|
|
49
|
+
border-width: var(--fgd-dot-bold);
|
|
50
|
+
stroke-width: var(--fgd-dot-bold);
|
|
51
|
+
stroke-dasharray: 0 var(--fgd-dot-bold-pitch);
|
|
52
|
+
stroke-linecap: round;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Annotation. 1 px, 4 on / 3 off, butt caps. */
|
|
56
|
+
.lineDashedFine {
|
|
57
|
+
border-style: dashed;
|
|
58
|
+
border-width: var(--border-size-1);
|
|
59
|
+
stroke-width: var(--border-size-1);
|
|
60
|
+
stroke-dasharray: var(--fgd-dash-fine) var(--fgd-dash-fine-gap);
|
|
61
|
+
stroke-linecap: butt;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Path; provisional. 2 px, renders 5 on / 4 off with round caps. */
|
|
65
|
+
.lineDashed {
|
|
66
|
+
border-style: dashed;
|
|
67
|
+
border-width: var(--border-size-2);
|
|
68
|
+
stroke-width: var(--border-size-2);
|
|
69
|
+
stroke-dasharray: calc(var(--fgd-dash) - var(--border-size-2))
|
|
70
|
+
calc(var(--fgd-dash-gap) + var(--border-size-2));
|
|
71
|
+
stroke-linecap: round;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/*
|
|
75
|
+
* Frame / terminal: outer --border-size-2, --fgd-double-gap, inner
|
|
76
|
+
* --border-size-1. The inner line is an outline inset inside the border;
|
|
77
|
+
* set `outline-color` with `border-color`.
|
|
78
|
+
*/
|
|
79
|
+
.lineDouble {
|
|
80
|
+
border-style: solid;
|
|
81
|
+
border-width: var(--border-size-2);
|
|
82
|
+
outline-style: solid;
|
|
83
|
+
outline-width: var(--border-size-1);
|
|
84
|
+
outline-offset: calc(
|
|
85
|
+
-1 * (var(--border-size-2) + var(--fgd-double-gap) + var(--border-size-1))
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/*
|
|
90
|
+
* Table totals, running header: two --border-size-1 hairlines
|
|
91
|
+
* --fgd-double-hair-gap apart. The element sits between its block-start
|
|
92
|
+
* and block-end borders: empty, it is the gap; as a band, content grows it.
|
|
93
|
+
*/
|
|
94
|
+
.lineDoubleHair {
|
|
95
|
+
box-sizing: content-box;
|
|
96
|
+
border-style: solid;
|
|
97
|
+
border-width: 0;
|
|
98
|
+
border-block-width: var(--border-size-1);
|
|
99
|
+
min-block-size: var(--fgd-double-hair-gap);
|
|
100
|
+
}
|
|
101
|
+
}
|
package/utils/media.css
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* System custom media (§1.5.13) [D183]. Provided to every file, global or
|
|
3
|
+
* module, through @csstools/postcss-global-data (postcss.config.js and
|
|
4
|
+
* docs/postcss.config.mjs), beside Open Props' media.min.css. The
|
|
5
|
+
* definitions are consumed at build time and emit nothing.
|
|
6
|
+
*
|
|
7
|
+
* --fgd-nav-inline-n-above: where the inline Navigation Bar replaces the
|
|
8
|
+
* drawer. A build-time constant: 1024 px by default (the --lg-n-above
|
|
9
|
+
* value); a site whose bar exceeds its fit budget points its PostCSS
|
|
10
|
+
* global data at its own file that sets 1440 px (the --xl-n-above value).
|
|
11
|
+
*/
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* One navigation link: a Navigation Menu panel link, a drawer child link and
|
|
4
|
+
* a footer sitemap link.
|
|
5
|
+
*/
|
|
6
|
+
export interface SitemapLink {
|
|
7
|
+
/** The link text, authored in sentence case (bar items and group headings set their own case). */
|
|
8
|
+
label: string;
|
|
9
|
+
href: string;
|
|
10
|
+
/**
|
|
11
|
+
* Marks the current page (`aria-current="page"`). The Navigation Menu and
|
|
12
|
+
* the drawer also match their `currentPath`; the footer reads only this.
|
|
13
|
+
*/
|
|
14
|
+
current?: boolean;
|
|
15
|
+
/** An external site: the arrow-open mark and "(external site)". */
|
|
16
|
+
external?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* A third tier, for the mega panels only: in an `overview` panel the link
|
|
19
|
+
* becomes a caps group heading (with ›, to `href`) over these links; in an
|
|
20
|
+
* `index` panel a category whose pane lists them. The drawer and the
|
|
21
|
+
* footer list the link itself and leave this tier to its page.
|
|
22
|
+
*/
|
|
23
|
+
links?: readonly SitemapLink[];
|
|
24
|
+
}
|
|
25
|
+
/** An image in the navigation data. */
|
|
26
|
+
export interface SitemapImage {
|
|
27
|
+
src: string;
|
|
28
|
+
/** The alternative text; `''` for a decorative image. */
|
|
29
|
+
alt: string;
|
|
30
|
+
}
|
|
31
|
+
/** The optional promo card of an `overview` panel (§9.6): one Tab stop, its stretched title link. */
|
|
32
|
+
export interface SitemapPromo {
|
|
33
|
+
href: string;
|
|
34
|
+
/** The title, `type-itemhead`. */
|
|
35
|
+
title: string;
|
|
36
|
+
/** A 16:9 image. */
|
|
37
|
+
image?: SitemapImage;
|
|
38
|
+
/** A two-line `type-body-ui` blurb. */
|
|
39
|
+
description?: string;
|
|
40
|
+
}
|
|
41
|
+
/** The panel a section opens in the desktop Navigation Menu [D182]. */
|
|
42
|
+
export type SitemapPanel = 'dropdown' | 'overview' | 'index';
|
|
43
|
+
/**
|
|
44
|
+
* One top-level navigation section: a bar item and its panel, a drawer
|
|
45
|
+
* group and a footer sitemap group, whose heading is the section's label
|
|
46
|
+
* [D187].
|
|
47
|
+
*/
|
|
48
|
+
export interface SitemapSection {
|
|
49
|
+
/** The bar item, drawer row and footer group heading. */
|
|
50
|
+
label: string;
|
|
51
|
+
/**
|
|
52
|
+
* The section's landing page: the `overview` panel's overview link (a
|
|
53
|
+
* `dropdown` panel's first link), the drawer group's first child and the
|
|
54
|
+
* footer group's linked heading. Its path marks the parent of current.
|
|
55
|
+
*/
|
|
56
|
+
href?: string;
|
|
57
|
+
/** One line under the `overview` panel's overview link, in `--role-muted`. */
|
|
58
|
+
description?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The section's pages: the `dropdown` list, the `overview` link groups
|
|
61
|
+
* (each link with its own `links`) or the `index` categories; the drawer
|
|
62
|
+
* group's child links; the footer group's links. A section with no links
|
|
63
|
+
* and an `href` is a plain bar link and a direct drawer link.
|
|
64
|
+
*/
|
|
65
|
+
links: readonly SitemapLink[];
|
|
66
|
+
/**
|
|
67
|
+
* The desktop panel. Default: `overview` when the section has a
|
|
68
|
+
* `description` or a `promo`, or a link carries its own `links`; else
|
|
69
|
+
* `dropdown` (see `sitemapPanel`).
|
|
70
|
+
*/
|
|
71
|
+
panel?: SitemapPanel;
|
|
72
|
+
/** The `overview` panel's optional promo card (≤ 1 per panel). */
|
|
73
|
+
promo?: SitemapPromo;
|
|
74
|
+
/** The `index` panel's featured bar: one link across both panes, at the foot. */
|
|
75
|
+
featured?: SitemapLink;
|
|
76
|
+
}
|
|
77
|
+
/** The navigation data: the top-level sections, in bar order. */
|
|
78
|
+
export type Sitemap = readonly SitemapSection[];
|
|
79
|
+
/** The panel a section opens: its `panel`, else the default that its content implies. */
|
|
80
|
+
export declare function sitemapPanel(section: SitemapSection): SitemapPanel;
|
|
81
|
+
/**
|
|
82
|
+
* The path of a site-relative (or absolute http) href, without query, hash
|
|
83
|
+
* or trailing slash; `null` for fragments and other protocols.
|
|
84
|
+
*/
|
|
85
|
+
export declare function toPath(href: string | null | undefined): string | null;
|
|
86
|
+
/** `true` when `href` is the current page: its path equals `currentPath`. */
|
|
87
|
+
export declare function isCurrentPath(href: string | null | undefined, currentPath: string | null | undefined): boolean;
|
|
88
|
+
/**
|
|
89
|
+
* `true` when the page lies in the section at `sectionHref`: the section's
|
|
90
|
+
* path is a whole-segment prefix of `currentPath` (the section page itself
|
|
91
|
+
* included). The home path `/` matches only itself.
|
|
92
|
+
*/
|
|
93
|
+
export declare function isInSection(sectionHref: string | null | undefined, currentPath: string | null | undefined): boolean;
|
|
94
|
+
/** Whether any link among `children` (elements with an `href`) is the current page or lies under it. */
|
|
95
|
+
export declare function holdsCurrent(children: React.ReactNode, currentPath: string | undefined): boolean;
|
|
96
|
+
/** Wraps each child in a list item with `className`; empty children are dropped. */
|
|
97
|
+
export declare function listItems(children: React.ReactNode, className: string): React.DetailedReactHTMLElement<{
|
|
98
|
+
className: string;
|
|
99
|
+
}, HTMLElement>[] | null | undefined;
|
|
100
|
+
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../src/utils/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAa9B;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,kGAAkG;IAClG,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,SAAS,WAAW,EAAE,CAAA;CAC/B;AAED,uCAAuC;AACvC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAA;IACX,yDAAyD;IACzD,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,qGAAqG;AACrG,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,oBAAoB;IACpB,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,uEAAuE;AACvE,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,CAAA;AAE5D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,8EAA8E;IAC9E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;;OAKG;IACH,KAAK,EAAE,SAAS,WAAW,EAAE,CAAA;IAC7B;;;;OAIG;IACH,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,kEAAkE;IAClE,KAAK,CAAC,EAAE,YAAY,CAAA;IACpB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,iEAAiE;AACjE,MAAM,MAAM,OAAO,GAAG,SAAS,cAAc,EAAE,CAAA;AAE/C,yFAAyF;AACzF,wBAAgB,YAAY,CAAC,OAAO,EAAE,cAAc,GAAG,YAAY,CAIlE;AAID;;;GAGG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAWrE;AAED,6EAA6E;AAC7E,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC/B,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACrC,OAAO,CAIT;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACtC,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACrC,OAAO,CAMT;AAED,wGAAwG;AACxG,wBAAgB,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAQhG;AAED,oFAAoF;AACpF,wBAAgB,SAAS,CAAC,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM;;qCAIrE"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/** The panel a section opens: its `panel`, else the default that its content implies. */
|
|
3
|
+
export function sitemapPanel(section) {
|
|
4
|
+
if (section.panel != null)
|
|
5
|
+
return section.panel;
|
|
6
|
+
const tiered = section.links.some((link) => link.links != null && link.links.length > 0);
|
|
7
|
+
return tiered || section.description != null || section.promo != null ? 'overview' : 'dropdown';
|
|
8
|
+
}
|
|
9
|
+
/* ── Current by URL path [D182]: the Navigation Menu, Navigation Bar and drawer ── */
|
|
10
|
+
/**
|
|
11
|
+
* The path of a site-relative (or absolute http) href, without query, hash
|
|
12
|
+
* or trailing slash; `null` for fragments and other protocols.
|
|
13
|
+
*/
|
|
14
|
+
export function toPath(href) {
|
|
15
|
+
if (!href || href.startsWith('#'))
|
|
16
|
+
return null;
|
|
17
|
+
let url;
|
|
18
|
+
try {
|
|
19
|
+
url = new URL(href, 'http://localhost/');
|
|
20
|
+
}
|
|
21
|
+
catch {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
if (url.protocol !== 'http:' && url.protocol !== 'https:')
|
|
25
|
+
return null;
|
|
26
|
+
const trimmed = url.pathname.replace(/\/+$/, '');
|
|
27
|
+
return trimmed === '' ? '/' : trimmed;
|
|
28
|
+
}
|
|
29
|
+
/** `true` when `href` is the current page: its path equals `currentPath`. */
|
|
30
|
+
export function isCurrentPath(href, currentPath) {
|
|
31
|
+
const target = toPath(href);
|
|
32
|
+
const current = toPath(currentPath);
|
|
33
|
+
return target !== null && target === current;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* `true` when the page lies in the section at `sectionHref`: the section's
|
|
37
|
+
* path is a whole-segment prefix of `currentPath` (the section page itself
|
|
38
|
+
* included). The home path `/` matches only itself.
|
|
39
|
+
*/
|
|
40
|
+
export function isInSection(sectionHref, currentPath) {
|
|
41
|
+
const section = toPath(sectionHref);
|
|
42
|
+
const current = toPath(currentPath);
|
|
43
|
+
if (section === null || current === null)
|
|
44
|
+
return false;
|
|
45
|
+
if (section === '/')
|
|
46
|
+
return current === '/';
|
|
47
|
+
return current === section || current.startsWith(`${section}/`);
|
|
48
|
+
}
|
|
49
|
+
/** Whether any link among `children` (elements with an `href`) is the current page or lies under it. */
|
|
50
|
+
export function holdsCurrent(children, currentPath) {
|
|
51
|
+
let found = false;
|
|
52
|
+
React.Children.forEach(children, (child) => {
|
|
53
|
+
if (found || !React.isValidElement(child))
|
|
54
|
+
return;
|
|
55
|
+
const href = child.props.href;
|
|
56
|
+
if (typeof href === 'string' && isInSection(href, currentPath))
|
|
57
|
+
found = true;
|
|
58
|
+
});
|
|
59
|
+
return found;
|
|
60
|
+
}
|
|
61
|
+
/** Wraps each child in a list item with `className`; empty children are dropped. */
|
|
62
|
+
export function listItems(children, className) {
|
|
63
|
+
return React.Children.map(children, (child) => child == null || child === false ? null : React.createElement('li', { className }, child));
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=navigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.js","sourceRoot":"","sources":["../src/utils/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgG9B,yFAAyF;AACzF,MAAM,UAAU,YAAY,CAAC,OAAuB;IAClD,IAAI,OAAO,CAAC,KAAK,IAAI,IAAI;QAAE,OAAO,OAAO,CAAC,KAAK,CAAA;IAC/C,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;IACxF,OAAO,MAAM,IAAI,OAAO,CAAC,WAAW,IAAI,IAAI,IAAI,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAA;AACjG,CAAC;AAED,sFAAsF;AAEtF;;;GAGG;AACH,MAAM,UAAU,MAAM,CAAC,IAA+B;IACpD,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAA;IAC9C,IAAI,GAAQ,CAAA;IACZ,IAAI,CAAC;QACH,GAAG,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAA;IAC1C,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAA;IACb,CAAC;IACD,IAAI,GAAG,CAAC,QAAQ,KAAK,OAAO,IAAI,GAAG,CAAC,QAAQ,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAA;IACtE,MAAM,OAAO,GAAG,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAA;IAChD,OAAO,OAAO,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAA;AACvC,CAAC;AAED,6EAA6E;AAC7E,MAAM,UAAU,aAAa,CAC3B,IAA+B,EAC/B,WAAsC;IAEtC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;IAC3B,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,CAAC,CAAA;IACnC,OAAO,MAAM,KAAK,IAAI,IAAI,MAAM,KAAK,OAAO,CAAA;AAC9C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,WAAW,CACzB,WAAsC,EACtC,WAAsC;IAEtC,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,CAAC,CAAA;IACnC,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,CAAC,CAAA;IACnC,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,KAAK,IAAI;QAAE,OAAO,KAAK,CAAA;IACtD,IAAI,OAAO,KAAK,GAAG;QAAE,OAAO,OAAO,KAAK,GAAG,CAAA;IAC3C,OAAO,OAAO,KAAK,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,GAAG,OAAO,GAAG,CAAC,CAAA;AACjE,CAAC;AAED,wGAAwG;AACxG,MAAM,UAAU,YAAY,CAAC,QAAyB,EAAE,WAA+B;IACrF,IAAI,KAAK,GAAG,KAAK,CAAA;IACjB,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;QACzC,IAAI,KAAK,IAAI,CAAC,KAAK,CAAC,cAAc,CAAqB,KAAK,CAAC;YAAE,OAAM;QACrE,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAA;QAC7B,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC;YAAE,KAAK,GAAG,IAAI,CAAA;IAC9E,CAAC,CAAC,CAAA;IACF,OAAO,KAAK,CAAA;AACd,CAAC;AAED,oFAAoF;AACpF,MAAM,UAAU,SAAS,CAAC,QAAyB,EAAE,SAAiB;IACpE,OAAO,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAC5C,KAAK,IAAI,IAAI,IAAI,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,EAAE,KAAK,CAAC,CAC1F,CAAA;AACH,CAAC"}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Ornaments and markers (§1.5.16; geometry §4.7; usage §8.4, §8.10, §8.11,
|
|
3
|
+
* §12.11, §12.14, §12.16). Shared classes for inline, aria-hidden SVG: the
|
|
4
|
+
* `marker-*` shapes, the index and rank numerals, `ornament-trail`, the
|
|
5
|
+
* dashed trail, and `ornament-blob`, the blob mount (§6.6).
|
|
6
|
+
* utils/Ornament.tsx draws the SVG geometry and adds these
|
|
7
|
+
* classes; compose them into a module part in a top-level rule outside any
|
|
8
|
+
* @layer (Lightning CSS rejects nested composes):
|
|
9
|
+
* .marker { composes: markerOrigin from '../../utils/ornament.module.css'; }
|
|
10
|
+
*
|
|
11
|
+
* Color. Markers draw in currentColor, the role color of the line they end
|
|
12
|
+
* or mark (--role-accent on a trail; --primary12 on a timeline, which its
|
|
13
|
+
* host sets); `ornamentTrail` sets --role-accent itself, which resolves to
|
|
14
|
+
* --primary12 on the saturated fields [D14, D117]. The index marker names
|
|
15
|
+
* its --primary1 face directly (a face under ink, not a knockout) [D144].
|
|
16
|
+
*
|
|
17
|
+
* Geometry. Fixed pixel sizes from the --fgd-marker-* tokens, never scaled
|
|
18
|
+
* with a figure or the viewport (P9). Open shapes at --border-size-1-5 with
|
|
19
|
+
* round caps and joins; `marker-current` is the one solid mark, a data mark
|
|
20
|
+
* a legend defines [D58]. A dash stops --size-px-1 short of a marker and
|
|
21
|
+
* restarts past it, so no partial dash touches one (§4.7.5).
|
|
22
|
+
*
|
|
23
|
+
* The blob mount is the exception to one ink: two flat secondary discs
|
|
24
|
+
* (brand marks [D117]) behind a mark in the front disc's contrast ink.
|
|
25
|
+
*
|
|
26
|
+
* Print: markers and the trail are SVG foreground and print black through
|
|
27
|
+
* the remap; the trail prints at 0.75 pt with 3 / 2.5 pt dashes [D142],
|
|
28
|
+
* markers kept (§4.7.1). The blob's discs are hidden (the remap would turn
|
|
29
|
+
* them black) and its mark prints black [D103, D126]. Forced colors:
|
|
30
|
+
* currentColor takes the system ink; the blob's discs drop.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/* Composition sits in top-level rules, outside the layers. */
|
|
34
|
+
.markerIndex {
|
|
35
|
+
composes: typeLabel from './type.module.css';
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.markerRank {
|
|
39
|
+
composes: typeBodyUi typeMuted from './type.module.css';
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* The trail's path: line-dashed, --border-size-2, 5 on / 4 off, round caps [D66]. */
|
|
43
|
+
.ornamentTrailPath {
|
|
44
|
+
composes: lineDashed from './line.module.css';
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@layer base {
|
|
48
|
+
/*
|
|
49
|
+
* marker-origin (open circle), marker-waypoint (stroked X), marker-terminal
|
|
50
|
+
* (open triangle pointing along the path, never a chevron) and
|
|
51
|
+
* marker-current (solid dot), each at its token size.
|
|
52
|
+
*/
|
|
53
|
+
.markerOrigin,
|
|
54
|
+
.markerWaypoint,
|
|
55
|
+
.markerTerminal,
|
|
56
|
+
.markerCurrent {
|
|
57
|
+
display: block;
|
|
58
|
+
flex: none;
|
|
59
|
+
inline-size: var(--marker-size);
|
|
60
|
+
block-size: var(--marker-size);
|
|
61
|
+
overflow: visible;
|
|
62
|
+
fill: none;
|
|
63
|
+
stroke: currentColor;
|
|
64
|
+
stroke-width: var(--border-size-1-5);
|
|
65
|
+
stroke-linecap: round;
|
|
66
|
+
stroke-linejoin: round;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.markerOrigin {
|
|
70
|
+
--marker-size: var(--fgd-marker-trail);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.markerWaypoint {
|
|
74
|
+
--marker-size: var(--fgd-marker-waypoint);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.markerTerminal {
|
|
78
|
+
--marker-size: var(--fgd-arrow-head);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.markerCurrent {
|
|
82
|
+
--marker-size: var(--fgd-marker-current);
|
|
83
|
+
|
|
84
|
+
fill: currentColor;
|
|
85
|
+
stroke: none;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/*
|
|
89
|
+
* marker-index (§4.7.5, §8.10): a --size-px-5 circle, a --primary1 face
|
|
90
|
+
* with a --border-size-1-5 --primary12 edge, holding a zero-padded numeral
|
|
91
|
+
* in type-label (--font-weight-6). Numbered map and figure callouts keyed
|
|
92
|
+
* to a list; never an unstroked colored disc.
|
|
93
|
+
*/
|
|
94
|
+
.markerIndex {
|
|
95
|
+
display: inline-grid;
|
|
96
|
+
place-items: center;
|
|
97
|
+
flex: none;
|
|
98
|
+
box-sizing: border-box;
|
|
99
|
+
inline-size: var(--size-px-5);
|
|
100
|
+
block-size: var(--size-px-5);
|
|
101
|
+
border: var(--border-size-1-5) solid var(--primary12);
|
|
102
|
+
border-radius: var(--radius-round);
|
|
103
|
+
background-color: var(--primary1);
|
|
104
|
+
color: var(--primary12);
|
|
105
|
+
font-variant-numeric: var(--fgd-numerals-data);
|
|
106
|
+
line-height: 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/*
|
|
110
|
+
* The rank numeral (§8.4 ranked, §12.11): type-body-ui in data numerals,
|
|
111
|
+
* --role-muted (the one ink on forest and the saturated fields), no
|
|
112
|
+
* period, end-aligned in a 2.5ch column.
|
|
113
|
+
*/
|
|
114
|
+
.markerRank {
|
|
115
|
+
display: inline-block;
|
|
116
|
+
flex: none;
|
|
117
|
+
min-inline-size: 2.5ch;
|
|
118
|
+
font-variant-numeric: var(--fgd-numerals-data);
|
|
119
|
+
text-align: end;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/*
|
|
123
|
+
* ornament-trail (§4.7.1): a freehand line-dashed path with its markers,
|
|
124
|
+
* 110–220 × 45–90 px, decorative. At most one per band and two per page;
|
|
125
|
+
* never with an eyebrow rule or on a haloed lockup [D38]; it stops
|
|
126
|
+
* --fgd-space-halo short of a label and hides rather than touch type.
|
|
127
|
+
*/
|
|
128
|
+
.ornamentTrail {
|
|
129
|
+
display: block;
|
|
130
|
+
flex: none;
|
|
131
|
+
overflow: visible;
|
|
132
|
+
color: var(--role-accent);
|
|
133
|
+
fill: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ornamentTrailPath {
|
|
137
|
+
fill: none;
|
|
138
|
+
stroke: currentColor;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/*
|
|
142
|
+
* ornament-blob, the blob mount (§6.6, §1.5.16): a hand-cut disc at a
|
|
143
|
+
* fixed 136 × 130 px, flat and opaque in --secondary9, over an under-disc
|
|
144
|
+
* 4% larger and turned 8° in --secondary7 (fill.mount.under), which shows
|
|
145
|
+
* only 2–6 px crescents. The mark sits centred on the front disc in its
|
|
146
|
+
* contrast ink, --secondary-contrast (§1.4.7), about 42% of the disc's
|
|
147
|
+
* width. The discs are brand marks, exempt from 3:1 [D117]; on a dark
|
|
148
|
+
* ground the under-disc reads darker than the front disc. Once per page:
|
|
149
|
+
* a logo, block icon or stat numeral. The only color layer allowed behind
|
|
150
|
+
* a drawing [D77].
|
|
151
|
+
*/
|
|
152
|
+
.ornamentBlob {
|
|
153
|
+
display: inline-grid;
|
|
154
|
+
place-items: center;
|
|
155
|
+
flex: none;
|
|
156
|
+
vertical-align: middle;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.blobDiscs {
|
|
160
|
+
display: block;
|
|
161
|
+
grid-area: 1 / 1;
|
|
162
|
+
overflow: visible;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.blobUnder {
|
|
166
|
+
fill: var(--secondary7);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.blobFront {
|
|
170
|
+
fill: var(--secondary9);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.blobMark {
|
|
174
|
+
display: grid;
|
|
175
|
+
grid-area: 1 / 1;
|
|
176
|
+
place-items: center;
|
|
177
|
+
color: var(--secondary-contrast);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/* Forced colors flatten fills: the discs drop and the mark takes the system ink (§4.11). */
|
|
181
|
+
@media (forced-colors: active) {
|
|
182
|
+
.blobDiscs {
|
|
183
|
+
display: none;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* The trail's own markers, drawn inside its SVG: solid strokes, never the path's dashes. */
|
|
188
|
+
.trailMarker {
|
|
189
|
+
fill: none;
|
|
190
|
+
stroke: currentColor;
|
|
191
|
+
stroke-width: var(--border-size-1-5);
|
|
192
|
+
stroke-dasharray: none;
|
|
193
|
+
stroke-linecap: round;
|
|
194
|
+
stroke-linejoin: round;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@layer variants {
|
|
199
|
+
/* On a timeline, origin and terminal take --fgd-marker-timeline (8 px) (§4.7.2). */
|
|
200
|
+
.markerTimeline {
|
|
201
|
+
--marker-size: var(--fgd-marker-timeline);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/* Where the mount is omitted (forest, the solid fields), the bare mark takes the scope's one ink. */
|
|
205
|
+
.blobOmitted .blobMark {
|
|
206
|
+
color: inherit;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@layer print {
|
|
211
|
+
@media print {
|
|
212
|
+
/* The trail prints black at 0.75 pt with 3 / 2.5 pt dashes, markers kept [D142]. */
|
|
213
|
+
.ornamentTrailPath {
|
|
214
|
+
stroke-width: var(--fgd-print-trail-stroke);
|
|
215
|
+
stroke-dasharray: var(--fgd-print-trail-dash) var(--fgd-print-trail-gap);
|
|
216
|
+
stroke-linecap: butt;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/* The blob's discs drop; the mark stays, black through the remap [D103, D126]. */
|
|
220
|
+
.blobDiscs {
|
|
221
|
+
display: none;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type PrimaryScale, type RadixScale } from './scales';
|
|
3
|
+
/** The attributes every overlay root writes: a `white` scope that follows the page mode [D139]. */
|
|
4
|
+
export declare const overlayAttributes: import("./scope").ScopeAttributes;
|
|
5
|
+
/**
|
|
6
|
+
* The popup's color axes: the explicit props, else the overlay preset's
|
|
7
|
+
* defaults. Computed, never CVA defaults, so the classes mark a new scope
|
|
8
|
+
* root the way Ground's do [D133].
|
|
9
|
+
*/
|
|
10
|
+
export declare function overlayScales(primary: PrimaryScale | null | undefined, secondary: RadixScale | null | undefined): {
|
|
11
|
+
primary: PrimaryScale;
|
|
12
|
+
secondary: RadixScale;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* The overlay scope's action scale class (the white preset's amber), so a
|
|
16
|
+
* solid Button inside a popup takes the overlay's action, not the root's.
|
|
17
|
+
* Add it to the popup root beside its CVA classes.
|
|
18
|
+
*/
|
|
19
|
+
export declare const overlayActionClassName: string;
|
|
20
|
+
/** The overlay preset's default scale classes (primary, secondary, action), for a popup root without color props. */
|
|
21
|
+
export declare const overlayScaleClassName: string;
|
|
22
|
+
/**
|
|
23
|
+
* Provides the overlay scope to the popup's children. React context reaches
|
|
24
|
+
* through portals, so without it a Button inside a popup opened from a
|
|
25
|
+
* forest field would write forest's scope attributes.
|
|
26
|
+
*/
|
|
27
|
+
export declare function OverlayScope({ children }: {
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
}): React.JSX.Element;
|
|
30
|
+
/**
|
|
31
|
+
* The anchored-panel offset from the trigger, `--fgd-popup-offset` (8 px,
|
|
32
|
+
* §9.1, §10.1). Base UI positions in JavaScript, so the token is restated.
|
|
33
|
+
*/
|
|
34
|
+
export declare const OVERLAY_SIDE_OFFSET = 8;
|
|
35
|
+
/**
|
|
36
|
+
* Viewport clearance before a panel flips or shifts: `--fgd-popup-clearance`
|
|
37
|
+
* (16 px, the base `--fgd-space-margin`, §10.1).
|
|
38
|
+
*/
|
|
39
|
+
export declare const OVERLAY_COLLISION_PADDING = 16;
|
|
40
|
+
/**
|
|
41
|
+
* The anchored-panel tail on a 12 × 8 box (--size-px-2-5 wide): 6 px of
|
|
42
|
+
* triangle plus the 2 px band that overlaps the panel's frame, filled with
|
|
43
|
+
* the face so the frame opens under the tail, and the two slanted edges at
|
|
44
|
+
* the frame's --border-size-2. The host module sets fill and stroke.
|
|
45
|
+
*/
|
|
46
|
+
export declare function OverlayTail({ className }: {
|
|
47
|
+
className?: string;
|
|
48
|
+
}): React.JSX.Element;
|
|
49
|
+
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../src/utils/overlay.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAIL,KAAK,YAAY,EACjB,KAAK,UAAU,EAChB,MAAM,UAAU,CAAA;AAiBjB,mGAAmG;AACnG,eAAO,MAAM,iBAAiB,mCAAkC,CAAA;AAIhE;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,EACxC,SAAS,EAAE,UAAU,GAAG,IAAI,GAAG,SAAS,GACvC;IAAE,OAAO,EAAE,YAAY,CAAC;IAAC,SAAS,EAAE,UAAU,CAAA;CAAE,CAKlD;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,QACuE,CAAA;AAE1G,qHAAqH;AACrH,eAAO,MAAM,qBAAqB,QAIvB,CAAA;AAEX;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBAExE;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,IAAkB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,yBAAyB,KAAqB,CAAA;AAE3D;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,qBAOhE"}
|