@prestack/thread-ui 0.0.1
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/CHANGELOG.md +348 -0
- package/dist/attach.d.ts +1 -0
- package/dist/attach.js +1 -0
- package/dist/ui/animations/anm_appear.d.ts +16 -0
- package/dist/ui/animations/anm_appear.js +10 -0
- package/dist/ui/animations/anm_blur_in.d.ts +22 -0
- package/dist/ui/animations/anm_blur_in.js +16 -0
- package/dist/ui/animations/anm_blur_out.d.ts +22 -0
- package/dist/ui/animations/anm_blur_out.js +16 -0
- package/dist/ui/animations/anm_dismiss.d.ts +22 -0
- package/dist/ui/animations/anm_dismiss.js +16 -0
- package/dist/ui/animations/anm_drop.d.ts +22 -0
- package/dist/ui/animations/anm_drop.js +16 -0
- package/dist/ui/animations/anm_fall.d.ts +22 -0
- package/dist/ui/animations/anm_fall.js +16 -0
- package/dist/ui/animations/anm_flash.d.ts +19 -0
- package/dist/ui/animations/anm_flash.js +16 -0
- package/dist/ui/animations/anm_glow.d.ts +16 -0
- package/dist/ui/animations/anm_glow.js +14 -0
- package/dist/ui/animations/anm_lift.d.ts +16 -0
- package/dist/ui/animations/anm_lift.js +14 -0
- package/dist/ui/animations/anm_nudge.d.ts +16 -0
- package/dist/ui/animations/anm_nudge.js +14 -0
- package/dist/ui/animations/anm_pop_in.d.ts +29 -0
- package/dist/ui/animations/anm_pop_in.js +20 -0
- package/dist/ui/animations/anm_pop_out.d.ts +29 -0
- package/dist/ui/animations/anm_pop_out.js +20 -0
- package/dist/ui/animations/anm_press.d.ts +19 -0
- package/dist/ui/animations/anm_press.js +10 -0
- package/dist/ui/animations/anm_pulse.d.ts +20 -0
- package/dist/ui/animations/anm_pulse.js +11 -0
- package/dist/ui/animations/anm_rise.d.ts +22 -0
- package/dist/ui/animations/anm_rise.js +16 -0
- package/dist/ui/animations/anm_shake.d.ts +23 -0
- package/dist/ui/animations/anm_shake.js +11 -0
- package/dist/ui/animations/anm_slide_in_left.d.ts +22 -0
- package/dist/ui/animations/anm_slide_in_left.js +16 -0
- package/dist/ui/animations/anm_slide_in_right.d.ts +22 -0
- package/dist/ui/animations/anm_slide_in_right.js +16 -0
- package/dist/ui/animations/anm_slide_out_left.d.ts +22 -0
- package/dist/ui/animations/anm_slide_out_left.js +16 -0
- package/dist/ui/animations/anm_slide_out_right.d.ts +22 -0
- package/dist/ui/animations/anm_slide_out_right.js +16 -0
- package/dist/ui/animations/anm_spin.d.ts +16 -0
- package/dist/ui/animations/anm_spin.js +10 -0
- package/dist/ui/animations/anm_swell.d.ts +16 -0
- package/dist/ui/animations/anm_swell.js +14 -0
- package/dist/ui/animations/anm_wobble.d.ts +27 -0
- package/dist/ui/animations/anm_wobble.js +22 -0
- package/dist/ui/animations/anm_zoom_in.d.ts +22 -0
- package/dist/ui/animations/anm_zoom_in.js +16 -0
- package/dist/ui/animations/anm_zoom_out.d.ts +22 -0
- package/dist/ui/animations/anm_zoom_out.js +16 -0
- package/dist/ui/animations.d.ts +59 -0
- package/dist/ui/animations.js +227 -0
- package/dist/ui/attach.d.ts +3 -0
- package/dist/ui/attach.js +497 -0
- package/dist/ui/charts.d.ts +32 -0
- package/dist/ui/charts.js +35 -0
- package/dist/ui/checked.d.ts +19 -0
- package/dist/ui/checked.js +3 -0
- package/dist/ui/collector.d.ts +32 -0
- package/dist/ui/collector.js +75 -0
- package/dist/ui/compositions.d.ts +21 -0
- package/dist/ui/compositions.js +305 -0
- package/dist/ui/consent.d.ts +22 -0
- package/dist/ui/consent.js +44 -0
- package/dist/ui/content.d.ts +9 -0
- package/dist/ui/content.js +11 -0
- package/dist/ui/contrast.d.ts +3 -0
- package/dist/ui/contrast.js +23 -0
- package/dist/ui/controls.d.ts +14 -0
- package/dist/ui/controls.js +2 -0
- package/dist/ui/disclosure.d.ts +14 -0
- package/dist/ui/disclosure.js +2 -0
- package/dist/ui/dismiss-layer.d.ts +14 -0
- package/dist/ui/dismiss-layer.js +66 -0
- package/dist/ui/door.d.ts +40 -0
- package/dist/ui/door.js +100 -0
- package/dist/ui/drag.d.ts +82 -0
- package/dist/ui/drag.js +212 -0
- package/dist/ui/elements/accordion.d.ts +12 -0
- package/dist/ui/elements/accordion.js +16 -0
- package/dist/ui/elements/accordion.works.d.ts +22 -0
- package/dist/ui/elements/accordion.works.js +44 -0
- package/dist/ui/elements/aspect-ratio.d.ts +10 -0
- package/dist/ui/elements/aspect-ratio.js +9 -0
- package/dist/ui/elements/aspect-ratio.works.d.ts +2 -0
- package/dist/ui/elements/aspect-ratio.works.js +3 -0
- package/dist/ui/elements/avatar.d.ts +11 -0
- package/dist/ui/elements/avatar.js +10 -0
- package/dist/ui/elements/avatar.works.d.ts +4 -0
- package/dist/ui/elements/avatar.works.js +16 -0
- package/dist/ui/elements/badge.d.ts +11 -0
- package/dist/ui/elements/badge.js +10 -0
- package/dist/ui/elements/badge.works.d.ts +5 -0
- package/dist/ui/elements/badge.works.js +6 -0
- package/dist/ui/elements/bars.d.ts +14 -0
- package/dist/ui/elements/bars.js +17 -0
- package/dist/ui/elements/bars.works.d.ts +12 -0
- package/dist/ui/elements/bars.works.js +20 -0
- package/dist/ui/elements/box.d.ts +12 -0
- package/dist/ui/elements/box.js +11 -0
- package/dist/ui/elements/breadcrumb.d.ts +10 -0
- package/dist/ui/elements/breadcrumb.js +12 -0
- package/dist/ui/elements/breadcrumb.works.d.ts +7 -0
- package/dist/ui/elements/breadcrumb.works.js +21 -0
- package/dist/ui/elements/button.d.ts +17 -0
- package/dist/ui/elements/button.js +16 -0
- package/dist/ui/elements/button.works.d.ts +17 -0
- package/dist/ui/elements/button.works.js +34 -0
- package/dist/ui/elements/column.d.ts +9 -0
- package/dist/ui/elements/column.js +8 -0
- package/dist/ui/elements/consent.d.ts +13 -0
- package/dist/ui/elements/consent.js +21 -0
- package/dist/ui/elements/consent.works.d.ts +41 -0
- package/dist/ui/elements/consent.works.js +79 -0
- package/dist/ui/elements/donut.d.ts +13 -0
- package/dist/ui/elements/donut.js +16 -0
- package/dist/ui/elements/donut.works.d.ts +11 -0
- package/dist/ui/elements/donut.works.js +28 -0
- package/dist/ui/elements/each.d.ts +14 -0
- package/dist/ui/elements/each.js +9 -0
- package/dist/ui/elements/each.works.d.ts +3 -0
- package/dist/ui/elements/each.works.js +68 -0
- package/dist/ui/elements/empty.d.ts +9 -0
- package/dist/ui/elements/empty.js +12 -0
- package/dist/ui/elements/field.d.ts +16 -0
- package/dist/ui/elements/field.js +15 -0
- package/dist/ui/elements/field.works.d.ts +17 -0
- package/dist/ui/elements/field.works.js +45 -0
- package/dist/ui/elements/funnel.d.ts +14 -0
- package/dist/ui/elements/funnel.js +17 -0
- package/dist/ui/elements/funnel.works.d.ts +12 -0
- package/dist/ui/elements/funnel.works.js +23 -0
- package/dist/ui/elements/gauge.d.ts +12 -0
- package/dist/ui/elements/gauge.js +15 -0
- package/dist/ui/elements/gauge.works.d.ts +11 -0
- package/dist/ui/elements/gauge.works.js +31 -0
- package/dist/ui/elements/glyph.d.ts +10 -0
- package/dist/ui/elements/glyph.js +9 -0
- package/dist/ui/elements/glyph.works.d.ts +5 -0
- package/dist/ui/elements/glyph.works.js +16 -0
- package/dist/ui/elements/grid.d.ts +9 -0
- package/dist/ui/elements/grid.js +8 -0
- package/dist/ui/elements/heatmap.d.ts +15 -0
- package/dist/ui/elements/heatmap.js +17 -0
- package/dist/ui/elements/heatmap.works.d.ts +11 -0
- package/dist/ui/elements/heatmap.works.js +11 -0
- package/dist/ui/elements/hit-box.d.ts +19 -0
- package/dist/ui/elements/hit-box.js +15 -0
- package/dist/ui/elements/hit-box.works.d.ts +87 -0
- package/dist/ui/elements/hit-box.works.js +451 -0
- package/dist/ui/elements/image.d.ts +10 -0
- package/dist/ui/elements/image.js +9 -0
- package/dist/ui/elements/line-chart.d.ts +13 -0
- package/dist/ui/elements/line-chart.js +16 -0
- package/dist/ui/elements/line-chart.works.d.ts +12 -0
- package/dist/ui/elements/line-chart.works.js +27 -0
- package/dist/ui/elements/link.d.ts +12 -0
- package/dist/ui/elements/link.js +15 -0
- package/dist/ui/elements/link.works.d.ts +10 -0
- package/dist/ui/elements/link.works.js +15 -0
- package/dist/ui/elements/media.d.ts +11 -0
- package/dist/ui/elements/media.js +22 -0
- package/dist/ui/elements/menu.d.ts +12 -0
- package/dist/ui/elements/menu.js +18 -0
- package/dist/ui/elements/menu.works.d.ts +50 -0
- package/dist/ui/elements/menu.works.js +100 -0
- package/dist/ui/elements/money.d.ts +10 -0
- package/dist/ui/elements/money.js +9 -0
- package/dist/ui/elements/money.works.d.ts +4 -0
- package/dist/ui/elements/money.works.js +4 -0
- package/dist/ui/elements/pagination.d.ts +11 -0
- package/dist/ui/elements/pagination.js +12 -0
- package/dist/ui/elements/pagination.works.d.ts +5 -0
- package/dist/ui/elements/pagination.works.js +15 -0
- package/dist/ui/elements/progress.d.ts +11 -0
- package/dist/ui/elements/progress.js +11 -0
- package/dist/ui/elements/progress.works.d.ts +2 -0
- package/dist/ui/elements/progress.works.js +6 -0
- package/dist/ui/elements/radio-group.d.ts +15 -0
- package/dist/ui/elements/radio-group.js +16 -0
- package/dist/ui/elements/radio-group.works.d.ts +10 -0
- package/dist/ui/elements/radio-group.works.js +22 -0
- package/dist/ui/elements/row.d.ts +9 -0
- package/dist/ui/elements/row.js +8 -0
- package/dist/ui/elements/scatter.d.ts +13 -0
- package/dist/ui/elements/scatter.js +15 -0
- package/dist/ui/elements/scatter.works.d.ts +11 -0
- package/dist/ui/elements/scatter.works.js +24 -0
- package/dist/ui/elements/select.d.ts +13 -0
- package/dist/ui/elements/select.js +11 -0
- package/dist/ui/elements/select.works.d.ts +4 -0
- package/dist/ui/elements/select.works.js +3 -0
- package/dist/ui/elements/separator.d.ts +10 -0
- package/dist/ui/elements/separator.js +9 -0
- package/dist/ui/elements/skeleton.d.ts +8 -0
- package/dist/ui/elements/skeleton.js +9 -0
- package/dist/ui/elements/slider.d.ts +14 -0
- package/dist/ui/elements/slider.js +10 -0
- package/dist/ui/elements/slider.works.d.ts +4 -0
- package/dist/ui/elements/slider.works.js +3 -0
- package/dist/ui/elements/sparkline.d.ts +10 -0
- package/dist/ui/elements/sparkline.js +15 -0
- package/dist/ui/elements/sparkline.works.d.ts +10 -0
- package/dist/ui/elements/sparkline.works.js +19 -0
- package/dist/ui/elements/spinner.d.ts +9 -0
- package/dist/ui/elements/spinner.js +12 -0
- package/dist/ui/elements/stack.d.ts +9 -0
- package/dist/ui/elements/stack.js +8 -0
- package/dist/ui/elements/stat.d.ts +12 -0
- package/dist/ui/elements/stat.js +10 -0
- package/dist/ui/elements/stat.works.d.ts +3 -0
- package/dist/ui/elements/stat.works.js +10 -0
- package/dist/ui/elements/surface.d.ts +9 -0
- package/dist/ui/elements/surface.js +15 -0
- package/dist/ui/elements/surface.works.d.ts +7 -0
- package/dist/ui/elements/surface.works.js +4 -0
- package/dist/ui/elements/table.d.ts +13 -0
- package/dist/ui/elements/table.js +16 -0
- package/dist/ui/elements/table.works.d.ts +11 -0
- package/dist/ui/elements/table.works.js +15 -0
- package/dist/ui/elements/tabs.d.ts +12 -0
- package/dist/ui/elements/tabs.js +16 -0
- package/dist/ui/elements/tabs.works.d.ts +25 -0
- package/dist/ui/elements/tabs.works.js +53 -0
- package/dist/ui/elements/text.d.ts +13 -0
- package/dist/ui/elements/text.js +9 -0
- package/dist/ui/elements/textarea.d.ts +14 -0
- package/dist/ui/elements/textarea.js +11 -0
- package/dist/ui/elements/textarea.works.d.ts +4 -0
- package/dist/ui/elements/textarea.works.js +3 -0
- package/dist/ui/elements/time.d.ts +11 -0
- package/dist/ui/elements/time.js +14 -0
- package/dist/ui/elements/time.works.d.ts +11 -0
- package/dist/ui/elements/time.works.js +16 -0
- package/dist/ui/elements/toggle.d.ts +11 -0
- package/dist/ui/elements/toggle.js +10 -0
- package/dist/ui/elements/toggle.works.d.ts +4 -0
- package/dist/ui/elements/toggle.works.js +3 -0
- package/dist/ui/elements/tooltip.d.ts +12 -0
- package/dist/ui/elements/tooltip.js +15 -0
- package/dist/ui/elements/tooltip.works.d.ts +28 -0
- package/dist/ui/elements/tooltip.works.js +54 -0
- package/dist/ui/elements/value.d.ts +12 -0
- package/dist/ui/elements/value.js +9 -0
- package/dist/ui/elements/value.works.d.ts +4 -0
- package/dist/ui/elements/value.works.js +4 -0
- package/dist/ui/elements.d.ts +1143 -0
- package/dist/ui/elements.js +68 -0
- package/dist/ui/focus-scope.d.ts +7 -0
- package/dist/ui/focus-scope.js +109 -0
- package/dist/ui/fonts.d.ts +103 -0
- package/dist/ui/fonts.js +243 -0
- package/dist/ui/generators/dev.d.ts +2 -0
- package/dist/ui/generators/dev.js +61 -0
- package/dist/ui/generators/elements.d.ts +31 -0
- package/dist/ui/generators/elements.js +520 -0
- package/dist/ui/generators/i18n.d.ts +5 -0
- package/dist/ui/generators/i18n.js +264 -0
- package/dist/ui/generators/icons.d.ts +1 -0
- package/dist/ui/generators/icons.js +187 -0
- package/dist/ui/generators/react.d.ts +26 -0
- package/dist/ui/generators/react.js +218 -0
- package/dist/ui/generators/routes.d.ts +11 -0
- package/dist/ui/generators/routes.js +597 -0
- package/dist/ui/generators/show.d.ts +1 -0
- package/dist/ui/generators/show.js +231 -0
- package/dist/ui/generators/styles.d.ts +1 -0
- package/dist/ui/generators/styles.js +502 -0
- package/dist/ui/generators/variants.d.ts +12 -0
- package/dist/ui/generators/variants.js +162 -0
- package/dist/ui/i18n/catalogs/en.d.ts +172 -0
- package/dist/ui/i18n/catalogs/en.js +148 -0
- package/dist/ui/i18n/format.d.ts +13 -0
- package/dist/ui/i18n/format.js +161 -0
- package/dist/ui/i18n/locales.d.ts +9 -0
- package/dist/ui/i18n/locales.js +20 -0
- package/dist/ui/i18n/parse.d.ts +45 -0
- package/dist/ui/i18n/parse.js +249 -0
- package/dist/ui/i18n/translator.d.ts +10 -0
- package/dist/ui/i18n/translator.js +22 -0
- package/dist/ui/i18n/types.d.ts +33 -0
- package/dist/ui/i18n/types.js +9 -0
- package/dist/ui/icons.d.ts +67 -0
- package/dist/ui/icons.js +249 -0
- package/dist/ui/islands/map.d.ts +33 -0
- package/dist/ui/islands/map.js +44 -0
- package/dist/ui/localizations.d.ts +33 -0
- package/dist/ui/localizations.js +51 -0
- package/dist/ui/makers/message.d.ts +1 -0
- package/dist/ui/makers/message.js +230 -0
- package/dist/ui/material.d.ts +83 -0
- package/dist/ui/material.js +95 -0
- package/dist/ui/materials/mat_bordered.d.ts +22 -0
- package/dist/ui/materials/mat_bordered.js +12 -0
- package/dist/ui/materials/mat_ceramic.d.ts +22 -0
- package/dist/ui/materials/mat_ceramic.js +12 -0
- package/dist/ui/materials/mat_clay.d.ts +22 -0
- package/dist/ui/materials/mat_clay.js +12 -0
- package/dist/ui/materials/mat_elevated.d.ts +32 -0
- package/dist/ui/materials/mat_elevated.js +23 -0
- package/dist/ui/materials/mat_flat.d.ts +50 -0
- package/dist/ui/materials/mat_flat.js +33 -0
- package/dist/ui/materials/mat_glass.d.ts +32 -0
- package/dist/ui/materials/mat_glass.js +19 -0
- package/dist/ui/materials/mat_lit.d.ts +22 -0
- package/dist/ui/materials/mat_lit.js +12 -0
- package/dist/ui/materials/mat_moulded.d.ts +16 -0
- package/dist/ui/materials/mat_moulded.js +10 -0
- package/dist/ui/materials.d.ts +56 -0
- package/dist/ui/materials.js +175 -0
- package/dist/ui/modes.d.ts +25 -0
- package/dist/ui/modes.js +25 -0
- package/dist/ui/navigation.d.ts +3 -0
- package/dist/ui/navigation.js +24 -0
- package/dist/ui/positioning.d.ts +24 -0
- package/dist/ui/positioning.js +48 -0
- package/dist/ui/presented.d.ts +10 -0
- package/dist/ui/presented.js +81 -0
- package/dist/ui/provider.d.ts +31 -0
- package/dist/ui/provider.js +104 -0
- package/dist/ui/render-loop.d.ts +12 -0
- package/dist/ui/render-loop.js +94 -0
- package/dist/ui/roving-focus.d.ts +15 -0
- package/dist/ui/roving-focus.js +143 -0
- package/dist/ui/screens.d.ts +17 -0
- package/dist/ui/screens.js +112 -0
- package/dist/ui/scroll-lock.d.ts +2 -0
- package/dist/ui/scroll-lock.js +24 -0
- package/dist/ui/series.d.ts +9 -0
- package/dist/ui/series.js +67 -0
- package/dist/ui/signals.d.ts +120 -0
- package/dist/ui/signals.js +286 -0
- package/dist/ui/styleguide.d.ts +27 -0
- package/dist/ui/styleguide.js +138 -0
- package/dist/ui/styleguides.d.ts +11 -0
- package/dist/ui/styleguides.js +299 -0
- package/dist/ui/themes.d.ts +5 -0
- package/dist/ui/themes.js +16 -0
- package/dist/ui/token.d.ts +16 -0
- package/dist/ui/token.js +37 -0
- package/dist/ui/tokens/shadow.d.ts +6 -0
- package/dist/ui/tokens/shadow.js +17 -0
- package/dist/ui/tokens.d.ts +180 -0
- package/dist/ui/tokens.js +200 -0
- package/dist/ui/validators.d.ts +37 -0
- package/dist/ui/validators.js +184 -0
- package/dist/ui/variant.d.ts +122 -0
- package/dist/ui/variant.js +201 -0
- package/dist/ui/variants/var_avatar-round.d.ts +23 -0
- package/dist/ui/variants/var_avatar-round.js +13 -0
- package/dist/ui/variants/var_bubble-me.d.ts +21 -0
- package/dist/ui/variants/var_bubble-me.js +13 -0
- package/dist/ui/variants/var_bubble-them.d.ts +18 -0
- package/dist/ui/variants/var_bubble-them.js +12 -0
- package/dist/ui/variants/var_button-border.d.ts +116 -0
- package/dist/ui/variants/var_button-border.js +75 -0
- package/dist/ui/variants/var_button-cta.d.ts +116 -0
- package/dist/ui/variants/var_button-cta.js +75 -0
- package/dist/ui/variants/var_button-destructive-ghost.d.ts +113 -0
- package/dist/ui/variants/var_button-destructive-ghost.js +71 -0
- package/dist/ui/variants/var_button-destructive.d.ts +116 -0
- package/dist/ui/variants/var_button-destructive.js +75 -0
- package/dist/ui/variants/var_button-fill.d.ts +116 -0
- package/dist/ui/variants/var_button-fill.js +75 -0
- package/dist/ui/variants/var_button-ghost.d.ts +113 -0
- package/dist/ui/variants/var_button-ghost.js +71 -0
- package/dist/ui/variants/var_button-glass.d.ts +84 -0
- package/dist/ui/variants/var_button-glass.js +54 -0
- package/dist/ui/variants/var_button-normal.d.ts +116 -0
- package/dist/ui/variants/var_button-normal.js +75 -0
- package/dist/ui/variants/var_button-quiet.d.ts +119 -0
- package/dist/ui/variants/var_button-quiet.js +73 -0
- package/dist/ui/variants/var_card.d.ts +30 -0
- package/dist/ui/variants/var_card.js +16 -0
- package/dist/ui/variants/var_chip.d.ts +18 -0
- package/dist/ui/variants/var_chip.js +12 -0
- package/dist/ui/variants/var_choice.d.ts +26 -0
- package/dist/ui/variants/var_choice.js +14 -0
- package/dist/ui/variants/var_framed.d.ts +11 -0
- package/dist/ui/variants/var_framed.js +9 -0
- package/dist/ui/variants/var_glyph-plain.d.ts +14 -0
- package/dist/ui/variants/var_glyph-plain.js +10 -0
- package/dist/ui/variants/var_input.d.ts +61 -0
- package/dist/ui/variants/var_input.js +42 -0
- package/dist/ui/variants/var_link-inline.d.ts +39 -0
- package/dist/ui/variants/var_link-inline.js +28 -0
- package/dist/ui/variants/var_list-row.d.ts +47 -0
- package/dist/ui/variants/var_list-row.js +33 -0
- package/dist/ui/variants/var_rule.d.ts +11 -0
- package/dist/ui/variants/var_rule.js +9 -0
- package/dist/ui/variants/var_skeleton-block.d.ts +17 -0
- package/dist/ui/variants/var_skeleton-block.js +11 -0
- package/dist/ui/variants/var_spinner-turning.d.ts +17 -0
- package/dist/ui/variants/var_spinner-turning.js +11 -0
- package/dist/ui/variants/var_stat-tile.d.ts +18 -0
- package/dist/ui/variants/var_stat-tile.js +12 -0
- package/dist/ui/variants/var_tab-bar.d.ts +24 -0
- package/dist/ui/variants/var_tab-bar.js +14 -0
- package/dist/ui/variants/var_tap-target.d.ts +33 -0
- package/dist/ui/variants/var_tap-target.js +24 -0
- package/dist/ui/variants.d.ts +174 -0
- package/dist/ui/variants.js +50 -0
- package/dist/ui/wrappers.d.ts +128 -0
- package/dist/ui/wrappers.js +220 -0
- package/package.json +16 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
export declare const BUTTON_QUIET: {
|
|
2
|
+
readonly id: "button-quiet";
|
|
3
|
+
readonly type: "label";
|
|
4
|
+
readonly icon: "sm";
|
|
5
|
+
readonly sets: readonly [{
|
|
6
|
+
readonly property: "display";
|
|
7
|
+
readonly is: "layout-flex";
|
|
8
|
+
}, {
|
|
9
|
+
readonly property: "alignItems";
|
|
10
|
+
readonly is: "align-centre";
|
|
11
|
+
}, {
|
|
12
|
+
readonly property: "justifyContent";
|
|
13
|
+
readonly is: "align-centre";
|
|
14
|
+
}, {
|
|
15
|
+
readonly property: "borderRadius";
|
|
16
|
+
readonly is: "control-radius";
|
|
17
|
+
}, {
|
|
18
|
+
readonly property: "height";
|
|
19
|
+
readonly is: "control-md";
|
|
20
|
+
}, {
|
|
21
|
+
readonly property: "padding";
|
|
22
|
+
readonly is: "control-pad-y control-pad-x";
|
|
23
|
+
}, {
|
|
24
|
+
readonly property: "gap";
|
|
25
|
+
readonly is: "control-gap";
|
|
26
|
+
}, {
|
|
27
|
+
readonly property: "cursor";
|
|
28
|
+
readonly is: "cursor-press";
|
|
29
|
+
}, {
|
|
30
|
+
readonly property: "transition";
|
|
31
|
+
readonly is: "motion-quick ease-out";
|
|
32
|
+
}, {
|
|
33
|
+
readonly property: "background";
|
|
34
|
+
readonly is: "colour-clear";
|
|
35
|
+
}, {
|
|
36
|
+
readonly property: "color";
|
|
37
|
+
readonly is: "colour-ink-soft";
|
|
38
|
+
}, {
|
|
39
|
+
readonly property: "borderWidth";
|
|
40
|
+
readonly is: "edge-hair";
|
|
41
|
+
}, {
|
|
42
|
+
readonly property: "borderStyle";
|
|
43
|
+
readonly is: "line-off";
|
|
44
|
+
}, {
|
|
45
|
+
readonly property: "borderColor";
|
|
46
|
+
readonly is: "colour-clear";
|
|
47
|
+
}, {
|
|
48
|
+
readonly property: "boxShadow";
|
|
49
|
+
readonly is: "shadow-0";
|
|
50
|
+
}];
|
|
51
|
+
readonly states: readonly [{
|
|
52
|
+
readonly when: readonly ["hover"];
|
|
53
|
+
readonly sets: readonly [{
|
|
54
|
+
readonly property: "background";
|
|
55
|
+
readonly is: "colour-sunken";
|
|
56
|
+
}, {
|
|
57
|
+
readonly property: "color";
|
|
58
|
+
readonly is: "colour-ink";
|
|
59
|
+
}, {
|
|
60
|
+
readonly property: "transform";
|
|
61
|
+
readonly is: "transform-lift";
|
|
62
|
+
}];
|
|
63
|
+
}, {
|
|
64
|
+
readonly when: readonly ["active"];
|
|
65
|
+
readonly sets: readonly [{
|
|
66
|
+
readonly property: "background";
|
|
67
|
+
readonly is: "colour-sunken";
|
|
68
|
+
}, {
|
|
69
|
+
readonly property: "transform";
|
|
70
|
+
readonly is: "transform-press";
|
|
71
|
+
}];
|
|
72
|
+
}, {
|
|
73
|
+
readonly when: readonly ["active", "hover"];
|
|
74
|
+
readonly sets: readonly [{
|
|
75
|
+
readonly property: "background";
|
|
76
|
+
readonly is: "colour-sunken";
|
|
77
|
+
}, {
|
|
78
|
+
readonly property: "transform";
|
|
79
|
+
readonly is: "transform-press";
|
|
80
|
+
}];
|
|
81
|
+
}, {
|
|
82
|
+
readonly when: readonly ["focus"];
|
|
83
|
+
readonly sets: readonly [{
|
|
84
|
+
readonly property: "outline";
|
|
85
|
+
readonly is: "control-ring line-solid colour-accent";
|
|
86
|
+
}, {
|
|
87
|
+
readonly property: "outlineOffset";
|
|
88
|
+
readonly is: "control-ring-offset";
|
|
89
|
+
}];
|
|
90
|
+
}, {
|
|
91
|
+
readonly when: readonly ["loading"];
|
|
92
|
+
readonly sets: readonly [{
|
|
93
|
+
readonly property: "opacity";
|
|
94
|
+
readonly is: "opacity-muted";
|
|
95
|
+
}];
|
|
96
|
+
}, {
|
|
97
|
+
readonly when: readonly ["disabled"];
|
|
98
|
+
readonly sets: readonly [{
|
|
99
|
+
readonly property: "color";
|
|
100
|
+
readonly is: "colour-ink-faint";
|
|
101
|
+
}, {
|
|
102
|
+
readonly property: "cursor";
|
|
103
|
+
readonly is: "cursor-refuse";
|
|
104
|
+
}];
|
|
105
|
+
}, {
|
|
106
|
+
readonly when: readonly ["disabled", "hover"];
|
|
107
|
+
readonly sets: readonly [{
|
|
108
|
+
readonly property: "background";
|
|
109
|
+
readonly is: "colour-clear";
|
|
110
|
+
}, {
|
|
111
|
+
readonly property: "color";
|
|
112
|
+
readonly is: "colour-ink-faint";
|
|
113
|
+
}, {
|
|
114
|
+
readonly property: "transform";
|
|
115
|
+
readonly is: "transform-rest";
|
|
116
|
+
}];
|
|
117
|
+
}];
|
|
118
|
+
readonly reacts: readonly ["active", "disabled", "focus", "hover", "loading"];
|
|
119
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { variant } from "../variant.js";
|
|
2
|
+
export const BUTTON_QUIET = variant({
|
|
3
|
+
id: 'button-quiet',
|
|
4
|
+
type: 'label',
|
|
5
|
+
icon: 'sm',
|
|
6
|
+
sets: [
|
|
7
|
+
{ property: 'display', is: 'layout-flex' },
|
|
8
|
+
{ property: 'alignItems', is: 'align-centre' },
|
|
9
|
+
{ property: 'justifyContent', is: 'align-centre' },
|
|
10
|
+
{ property: 'borderRadius', is: 'control-radius' },
|
|
11
|
+
{ property: 'height', is: 'control-md' },
|
|
12
|
+
{ property: 'padding', is: 'control-pad-y control-pad-x' },
|
|
13
|
+
{ property: 'gap', is: 'control-gap' },
|
|
14
|
+
{ property: 'cursor', is: 'cursor-press' },
|
|
15
|
+
{ property: 'transition', is: 'motion-quick ease-out' },
|
|
16
|
+
{ property: 'background', is: 'colour-clear' },
|
|
17
|
+
{ property: 'color', is: 'colour-ink-soft' },
|
|
18
|
+
{ property: 'borderWidth', is: 'edge-hair' },
|
|
19
|
+
{ property: 'borderStyle', is: 'line-off' },
|
|
20
|
+
{ property: 'borderColor', is: 'colour-clear' },
|
|
21
|
+
{ property: 'boxShadow', is: 'shadow-0' },
|
|
22
|
+
],
|
|
23
|
+
states: [
|
|
24
|
+
{
|
|
25
|
+
when: ['hover'],
|
|
26
|
+
sets: [
|
|
27
|
+
{ property: 'background', is: 'colour-sunken' },
|
|
28
|
+
{ property: 'color', is: 'colour-ink' },
|
|
29
|
+
{ property: 'transform', is: 'transform-lift' },
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
when: ['active'],
|
|
34
|
+
sets: [
|
|
35
|
+
{ property: 'background', is: 'colour-sunken' },
|
|
36
|
+
{ property: 'transform', is: 'transform-press' },
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
when: ['active', 'hover'],
|
|
41
|
+
sets: [
|
|
42
|
+
{ property: 'background', is: 'colour-sunken' },
|
|
43
|
+
{ property: 'transform', is: 'transform-press' },
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
when: ['focus'],
|
|
48
|
+
sets: [
|
|
49
|
+
{ property: 'outline', is: 'control-ring line-solid colour-accent' },
|
|
50
|
+
{ property: 'outlineOffset', is: 'control-ring-offset' },
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
when: ['loading'],
|
|
55
|
+
sets: [
|
|
56
|
+
{ property: 'opacity', is: 'opacity-muted' },
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
when: ['disabled'],
|
|
61
|
+
sets: [{ property: 'color', is: 'colour-ink-faint' }, { property: 'cursor', is: 'cursor-refuse' }],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
when: ['disabled', 'hover'],
|
|
65
|
+
sets: [
|
|
66
|
+
{ property: 'background', is: 'colour-clear' },
|
|
67
|
+
{ property: 'color', is: 'colour-ink-faint' },
|
|
68
|
+
{ property: 'transform', is: 'transform-rest' },
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
reacts: ['active', 'disabled', 'focus', 'hover', 'loading'],
|
|
73
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const CARD: {
|
|
2
|
+
readonly id: "card";
|
|
3
|
+
readonly material: "flat";
|
|
4
|
+
readonly sets: readonly [{
|
|
5
|
+
readonly property: "color";
|
|
6
|
+
readonly is: "colour-ink";
|
|
7
|
+
}, {
|
|
8
|
+
readonly property: "display";
|
|
9
|
+
readonly is: "layout-flex";
|
|
10
|
+
}, {
|
|
11
|
+
readonly property: "flexDirection";
|
|
12
|
+
readonly is: "flow-down";
|
|
13
|
+
}, {
|
|
14
|
+
readonly property: "alignItems";
|
|
15
|
+
readonly is: "align-start";
|
|
16
|
+
}, {
|
|
17
|
+
readonly property: "borderRadius";
|
|
18
|
+
readonly is: "radius-md";
|
|
19
|
+
}, {
|
|
20
|
+
readonly property: "padding";
|
|
21
|
+
readonly is: "space-4";
|
|
22
|
+
}, {
|
|
23
|
+
readonly property: "gap";
|
|
24
|
+
readonly is: "space-3";
|
|
25
|
+
}];
|
|
26
|
+
readonly plays: {
|
|
27
|
+
readonly in: "animation-appear";
|
|
28
|
+
};
|
|
29
|
+
readonly reacts: readonly ["focus", "hover"];
|
|
30
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { variant } from "../variant.js";
|
|
2
|
+
export const CARD = variant({
|
|
3
|
+
id: 'card',
|
|
4
|
+
material: 'flat',
|
|
5
|
+
sets: [
|
|
6
|
+
{ property: 'color', is: 'colour-ink' },
|
|
7
|
+
{ property: 'display', is: 'layout-flex' },
|
|
8
|
+
{ property: 'flexDirection', is: 'flow-down' },
|
|
9
|
+
{ property: 'alignItems', is: 'align-start' },
|
|
10
|
+
{ property: 'borderRadius', is: 'radius-md' },
|
|
11
|
+
{ property: 'padding', is: 'space-4' },
|
|
12
|
+
{ property: 'gap', is: 'space-3' },
|
|
13
|
+
],
|
|
14
|
+
plays: { in: 'animation-appear' },
|
|
15
|
+
reacts: ['focus', 'hover'],
|
|
16
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const CHIP: {
|
|
2
|
+
readonly id: "chip";
|
|
3
|
+
readonly material: "flat";
|
|
4
|
+
readonly sets: readonly [{
|
|
5
|
+
readonly property: "color";
|
|
6
|
+
readonly is: "colour-ink-soft";
|
|
7
|
+
}, {
|
|
8
|
+
readonly property: "borderRadius";
|
|
9
|
+
readonly is: "radius-pill";
|
|
10
|
+
}, {
|
|
11
|
+
readonly property: "padding";
|
|
12
|
+
readonly is: "space-1 space-3";
|
|
13
|
+
}, {
|
|
14
|
+
readonly property: "gap";
|
|
15
|
+
readonly is: "space-1";
|
|
16
|
+
}];
|
|
17
|
+
readonly reacts: readonly ["focus", "hover"];
|
|
18
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { variant } from "../variant.js";
|
|
2
|
+
export const CHIP = variant({
|
|
3
|
+
id: 'chip',
|
|
4
|
+
material: 'flat',
|
|
5
|
+
sets: [
|
|
6
|
+
{ property: 'color', is: 'colour-ink-soft' },
|
|
7
|
+
{ property: 'borderRadius', is: 'radius-pill' },
|
|
8
|
+
{ property: 'padding', is: 'space-1 space-3' },
|
|
9
|
+
{ property: 'gap', is: 'space-1' },
|
|
10
|
+
],
|
|
11
|
+
reacts: ['focus', 'hover'],
|
|
12
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const CHOICE: {
|
|
2
|
+
readonly id: "choice";
|
|
3
|
+
readonly sets: readonly [{
|
|
4
|
+
readonly property: "display";
|
|
5
|
+
readonly is: "layout-flex";
|
|
6
|
+
}, {
|
|
7
|
+
readonly property: "flexDirection";
|
|
8
|
+
readonly is: "flow-down";
|
|
9
|
+
}, {
|
|
10
|
+
readonly property: "alignItems";
|
|
11
|
+
readonly is: "align-start";
|
|
12
|
+
}, {
|
|
13
|
+
readonly property: "gap";
|
|
14
|
+
readonly is: "space-2";
|
|
15
|
+
}, {
|
|
16
|
+
readonly property: "padding";
|
|
17
|
+
readonly is: "space-3";
|
|
18
|
+
}, {
|
|
19
|
+
readonly property: "borderRadius";
|
|
20
|
+
readonly is: "radius-md";
|
|
21
|
+
}, {
|
|
22
|
+
readonly property: "color";
|
|
23
|
+
readonly is: "colour-ink";
|
|
24
|
+
}];
|
|
25
|
+
readonly reacts: readonly [];
|
|
26
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { variant } from "../variant.js";
|
|
2
|
+
export const CHOICE = variant({
|
|
3
|
+
id: 'choice',
|
|
4
|
+
sets: [
|
|
5
|
+
{ property: 'display', is: 'layout-flex' },
|
|
6
|
+
{ property: 'flexDirection', is: 'flow-down' },
|
|
7
|
+
{ property: 'alignItems', is: 'align-start' },
|
|
8
|
+
{ property: 'gap', is: 'space-2' },
|
|
9
|
+
{ property: 'padding', is: 'space-3' },
|
|
10
|
+
{ property: 'borderRadius', is: 'radius-md' },
|
|
11
|
+
{ property: 'color', is: 'colour-ink' },
|
|
12
|
+
],
|
|
13
|
+
reacts: [],
|
|
14
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const FRAMED: {
|
|
2
|
+
readonly id: "framed";
|
|
3
|
+
readonly sets: readonly [{
|
|
4
|
+
readonly property: "borderRadius";
|
|
5
|
+
readonly is: "radius-md";
|
|
6
|
+
}, {
|
|
7
|
+
readonly property: "background";
|
|
8
|
+
readonly is: "colour-sunken";
|
|
9
|
+
}];
|
|
10
|
+
readonly reacts: readonly [];
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const GLYPH_PLAIN: {
|
|
2
|
+
readonly id: "glyph-plain";
|
|
3
|
+
readonly sets: readonly [{
|
|
4
|
+
readonly property: "width";
|
|
5
|
+
readonly is: "icon-md";
|
|
6
|
+
}, {
|
|
7
|
+
readonly property: "height";
|
|
8
|
+
readonly is: "icon-md";
|
|
9
|
+
}, {
|
|
10
|
+
readonly property: "color";
|
|
11
|
+
readonly is: "colour-ink";
|
|
12
|
+
}];
|
|
13
|
+
readonly reacts: readonly [];
|
|
14
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export declare const INPUT: {
|
|
2
|
+
readonly id: "input";
|
|
3
|
+
readonly material: "flat";
|
|
4
|
+
readonly sets: readonly [{
|
|
5
|
+
readonly property: "color";
|
|
6
|
+
readonly is: "colour-ink";
|
|
7
|
+
}, {
|
|
8
|
+
readonly property: "borderRadius";
|
|
9
|
+
readonly is: "radius-md";
|
|
10
|
+
}, {
|
|
11
|
+
readonly property: "minHeight";
|
|
12
|
+
readonly is: "control-md";
|
|
13
|
+
}, {
|
|
14
|
+
readonly property: "padding";
|
|
15
|
+
readonly is: "space-3 space-4";
|
|
16
|
+
}, {
|
|
17
|
+
readonly property: "gap";
|
|
18
|
+
readonly is: "space-2";
|
|
19
|
+
}, {
|
|
20
|
+
readonly property: "transition";
|
|
21
|
+
readonly is: "motion-quick ease-out";
|
|
22
|
+
}];
|
|
23
|
+
readonly states: readonly [{
|
|
24
|
+
readonly when: readonly ["focus"];
|
|
25
|
+
readonly sets: readonly [{
|
|
26
|
+
readonly property: "borderColor";
|
|
27
|
+
readonly is: "colour-accent";
|
|
28
|
+
}, {
|
|
29
|
+
readonly property: "borderWidth";
|
|
30
|
+
readonly is: "edge-thick";
|
|
31
|
+
}];
|
|
32
|
+
}, {
|
|
33
|
+
readonly when: readonly ["invalid"];
|
|
34
|
+
readonly sets: readonly [{
|
|
35
|
+
readonly property: "borderColor";
|
|
36
|
+
readonly is: "colour-negative";
|
|
37
|
+
}];
|
|
38
|
+
}, {
|
|
39
|
+
readonly when: readonly ["focus", "invalid"];
|
|
40
|
+
readonly sets: readonly [{
|
|
41
|
+
readonly property: "borderColor";
|
|
42
|
+
readonly is: "colour-negative";
|
|
43
|
+
}, {
|
|
44
|
+
readonly property: "borderWidth";
|
|
45
|
+
readonly is: "edge-thick";
|
|
46
|
+
}];
|
|
47
|
+
}, {
|
|
48
|
+
readonly when: readonly ["focus", "hover", "invalid"];
|
|
49
|
+
readonly sets: readonly [{
|
|
50
|
+
readonly property: "borderColor";
|
|
51
|
+
readonly is: "colour-negative";
|
|
52
|
+
}, {
|
|
53
|
+
readonly property: "borderWidth";
|
|
54
|
+
readonly is: "edge-thick";
|
|
55
|
+
}, {
|
|
56
|
+
readonly property: "boxShadow";
|
|
57
|
+
readonly is: "shadow-2";
|
|
58
|
+
}];
|
|
59
|
+
}];
|
|
60
|
+
readonly reacts: readonly ["focus", "hover", "invalid"];
|
|
61
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { variant } from "../variant.js";
|
|
2
|
+
export const INPUT = variant({
|
|
3
|
+
id: 'input',
|
|
4
|
+
material: 'flat',
|
|
5
|
+
sets: [
|
|
6
|
+
{ property: 'color', is: 'colour-ink' },
|
|
7
|
+
{ property: 'borderRadius', is: 'radius-md' },
|
|
8
|
+
{ property: 'minHeight', is: 'control-md' },
|
|
9
|
+
{ property: 'padding', is: 'space-3 space-4' },
|
|
10
|
+
{ property: 'gap', is: 'space-2' },
|
|
11
|
+
{ property: 'transition', is: 'motion-quick ease-out' },
|
|
12
|
+
],
|
|
13
|
+
states: [
|
|
14
|
+
{
|
|
15
|
+
when: ['focus'],
|
|
16
|
+
sets: [
|
|
17
|
+
{ property: 'borderColor', is: 'colour-accent' },
|
|
18
|
+
{ property: 'borderWidth', is: 'edge-thick' },
|
|
19
|
+
],
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
when: ['invalid'],
|
|
23
|
+
sets: [{ property: 'borderColor', is: 'colour-negative' }],
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
when: ['focus', 'invalid'],
|
|
27
|
+
sets: [
|
|
28
|
+
{ property: 'borderColor', is: 'colour-negative' },
|
|
29
|
+
{ property: 'borderWidth', is: 'edge-thick' },
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
when: ['focus', 'hover', 'invalid'],
|
|
34
|
+
sets: [
|
|
35
|
+
{ property: 'borderColor', is: 'colour-negative' },
|
|
36
|
+
{ property: 'borderWidth', is: 'edge-thick' },
|
|
37
|
+
{ property: 'boxShadow', is: 'shadow-2' },
|
|
38
|
+
],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
reacts: ['focus', 'hover', 'invalid'],
|
|
42
|
+
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const LINK_INLINE: {
|
|
2
|
+
readonly id: "link-inline";
|
|
3
|
+
readonly sets: readonly [{
|
|
4
|
+
readonly property: "color";
|
|
5
|
+
readonly is: "colour-accent";
|
|
6
|
+
}, {
|
|
7
|
+
readonly property: "borderRadius";
|
|
8
|
+
readonly is: "radius-sm";
|
|
9
|
+
}, {
|
|
10
|
+
readonly property: "outlineOffset";
|
|
11
|
+
readonly is: "space-1";
|
|
12
|
+
}, {
|
|
13
|
+
readonly property: "transition";
|
|
14
|
+
readonly is: "motion-quick ease-out";
|
|
15
|
+
}];
|
|
16
|
+
readonly states: readonly [{
|
|
17
|
+
readonly when: readonly ["hover"];
|
|
18
|
+
readonly sets: readonly [{
|
|
19
|
+
readonly property: "color";
|
|
20
|
+
readonly is: "colour-accent-hover";
|
|
21
|
+
}];
|
|
22
|
+
}, {
|
|
23
|
+
readonly when: readonly ["focus"];
|
|
24
|
+
readonly sets: readonly [{
|
|
25
|
+
readonly property: "outline";
|
|
26
|
+
readonly is: "edge-thick line-solid colour-accent";
|
|
27
|
+
}];
|
|
28
|
+
}, {
|
|
29
|
+
readonly when: readonly ["focus", "hover"];
|
|
30
|
+
readonly sets: readonly [{
|
|
31
|
+
readonly property: "color";
|
|
32
|
+
readonly is: "colour-accent-hover";
|
|
33
|
+
}, {
|
|
34
|
+
readonly property: "outline";
|
|
35
|
+
readonly is: "edge-thick line-solid colour-accent";
|
|
36
|
+
}];
|
|
37
|
+
}];
|
|
38
|
+
readonly reacts: readonly ["focus", "hover"];
|
|
39
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { variant } from "../variant.js";
|
|
2
|
+
export const LINK_INLINE = variant({
|
|
3
|
+
id: 'link-inline',
|
|
4
|
+
sets: [
|
|
5
|
+
{ property: 'color', is: 'colour-accent' },
|
|
6
|
+
{ property: 'borderRadius', is: 'radius-sm' },
|
|
7
|
+
{ property: 'outlineOffset', is: 'space-1' },
|
|
8
|
+
{ property: 'transition', is: 'motion-quick ease-out' },
|
|
9
|
+
],
|
|
10
|
+
states: [
|
|
11
|
+
{
|
|
12
|
+
when: ['hover'],
|
|
13
|
+
sets: [{ property: 'color', is: 'colour-accent-hover' }],
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
when: ['focus'],
|
|
17
|
+
sets: [{ property: 'outline', is: 'edge-thick line-solid colour-accent' }],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
when: ['focus', 'hover'],
|
|
21
|
+
sets: [
|
|
22
|
+
{ property: 'color', is: 'colour-accent-hover' },
|
|
23
|
+
{ property: 'outline', is: 'edge-thick line-solid colour-accent' },
|
|
24
|
+
],
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
reacts: ['focus', 'hover'],
|
|
28
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const LIST_ROW: {
|
|
2
|
+
readonly id: "list-row";
|
|
3
|
+
readonly material: "flat";
|
|
4
|
+
readonly sets: readonly [{
|
|
5
|
+
readonly property: "color";
|
|
6
|
+
readonly is: "colour-ink";
|
|
7
|
+
}, {
|
|
8
|
+
readonly property: "borderRadius";
|
|
9
|
+
readonly is: "radius-sm";
|
|
10
|
+
}, {
|
|
11
|
+
readonly property: "padding";
|
|
12
|
+
readonly is: "space-3 space-4";
|
|
13
|
+
}, {
|
|
14
|
+
readonly property: "gap";
|
|
15
|
+
readonly is: "space-3";
|
|
16
|
+
}];
|
|
17
|
+
readonly states: readonly [{
|
|
18
|
+
readonly when: readonly ["carrying"];
|
|
19
|
+
readonly sets: readonly [{
|
|
20
|
+
readonly property: "opacity";
|
|
21
|
+
readonly is: "opacity-muted";
|
|
22
|
+
}];
|
|
23
|
+
}, {
|
|
24
|
+
readonly when: readonly ["draggedOver"];
|
|
25
|
+
readonly sets: readonly [{
|
|
26
|
+
readonly property: "outline";
|
|
27
|
+
readonly is: "edge-thick line-solid colour-accent";
|
|
28
|
+
}, {
|
|
29
|
+
readonly property: "outlineOffset";
|
|
30
|
+
readonly is: "space-1";
|
|
31
|
+
}];
|
|
32
|
+
}, {
|
|
33
|
+
readonly when: readonly ["refusing"];
|
|
34
|
+
readonly sets: readonly [{
|
|
35
|
+
readonly property: "outline";
|
|
36
|
+
readonly is: "edge-thick line-dashed colour-negative";
|
|
37
|
+
}, {
|
|
38
|
+
readonly property: "outlineOffset";
|
|
39
|
+
readonly is: "space-1";
|
|
40
|
+
}];
|
|
41
|
+
}];
|
|
42
|
+
readonly plays: {
|
|
43
|
+
readonly in: "animation-rise";
|
|
44
|
+
readonly out: "animation-fall";
|
|
45
|
+
};
|
|
46
|
+
readonly reacts: readonly ["carrying", "draggedOver", "focus", "hover", "refusing"];
|
|
47
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { variant } from "../variant.js";
|
|
2
|
+
export const LIST_ROW = variant({
|
|
3
|
+
id: 'list-row',
|
|
4
|
+
material: 'flat',
|
|
5
|
+
sets: [
|
|
6
|
+
{ property: 'color', is: 'colour-ink' },
|
|
7
|
+
{ property: 'borderRadius', is: 'radius-sm' },
|
|
8
|
+
{ property: 'padding', is: 'space-3 space-4' },
|
|
9
|
+
{ property: 'gap', is: 'space-3' },
|
|
10
|
+
],
|
|
11
|
+
states: [
|
|
12
|
+
{
|
|
13
|
+
when: ['carrying'],
|
|
14
|
+
sets: [{ property: 'opacity', is: 'opacity-muted' }],
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
when: ['draggedOver'],
|
|
18
|
+
sets: [
|
|
19
|
+
{ property: 'outline', is: 'edge-thick line-solid colour-accent' },
|
|
20
|
+
{ property: 'outlineOffset', is: 'space-1' },
|
|
21
|
+
],
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
when: ['refusing'],
|
|
25
|
+
sets: [
|
|
26
|
+
{ property: 'outline', is: 'edge-thick line-dashed colour-negative' },
|
|
27
|
+
{ property: 'outlineOffset', is: 'space-1' },
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
plays: { in: 'animation-rise', out: 'animation-fall' },
|
|
32
|
+
reacts: ['carrying', 'draggedOver', 'focus', 'hover', 'refusing'],
|
|
33
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const RULE: {
|
|
2
|
+
readonly id: "rule";
|
|
3
|
+
readonly sets: readonly [{
|
|
4
|
+
readonly property: "borderWidth";
|
|
5
|
+
readonly is: "edge-hair";
|
|
6
|
+
}, {
|
|
7
|
+
readonly property: "borderColor";
|
|
8
|
+
readonly is: "colour-edge";
|
|
9
|
+
}];
|
|
10
|
+
readonly reacts: readonly [];
|
|
11
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const SKELETON_BLOCK: {
|
|
2
|
+
readonly id: "skeleton-block";
|
|
3
|
+
readonly sets: readonly [{
|
|
4
|
+
readonly property: "background";
|
|
5
|
+
readonly is: "colour-sunken";
|
|
6
|
+
}, {
|
|
7
|
+
readonly property: "borderRadius";
|
|
8
|
+
readonly is: "radius-sm";
|
|
9
|
+
}, {
|
|
10
|
+
readonly property: "minHeight";
|
|
11
|
+
readonly is: "control-sm";
|
|
12
|
+
}, {
|
|
13
|
+
readonly property: "animation";
|
|
14
|
+
readonly is: "animation-waiting";
|
|
15
|
+
}];
|
|
16
|
+
readonly reacts: readonly [];
|
|
17
|
+
};
|