@fusion.dev/helix 0.0.0-dev
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/custom-elements.json +99157 -0
- package/dist/accordion/index.d.ts +2 -0
- package/dist/accordion/index.js +2 -0
- package/dist/accordion/item/accordion-item.css.d.ts +1 -0
- package/dist/accordion/item/accordion-item.css.js +92 -0
- package/dist/accordion/item/accordion-item.d.ts +39 -0
- package/dist/accordion/item/accordion-item.js +45 -0
- package/dist/accordion/root/accordion-root.css.d.ts +1 -0
- package/dist/accordion/root/accordion-root.css.js +25 -0
- package/dist/accordion/root/accordion-root.d.ts +49 -0
- package/dist/accordion/root/accordion-root.js +40 -0
- package/dist/announcement/index.d.ts +1 -0
- package/dist/announcement/index.js +1 -0
- package/dist/announcement/root/announcement-root.css.d.ts +1 -0
- package/dist/announcement/root/announcement-root.css.js +145 -0
- package/dist/announcement/root/announcement-root.d.ts +26 -0
- package/dist/announcement/root/announcement-root.js +32 -0
- package/dist/app-header/index.d.ts +1 -0
- package/dist/app-header/index.js +1 -0
- package/dist/app-header/root/app-header-root.css.d.ts +1 -0
- package/dist/app-header/root/app-header-root.css.js +112 -0
- package/dist/app-header/root/app-header-root.d.ts +103 -0
- package/dist/app-header/root/app-header-root.js +72 -0
- package/dist/aura/index.d.ts +1 -0
- package/dist/aura/index.js +1 -0
- package/dist/aura/root/aura-axis.d.ts +61 -0
- package/dist/aura/root/aura-axis.js +68 -0
- package/dist/aura/root/aura-root.css.d.ts +1 -0
- package/dist/aura/root/aura-root.css.js +35 -0
- package/dist/aura/root/aura-root.d.ts +447 -0
- package/dist/aura/root/aura-root.js +1024 -0
- package/dist/aura/root/aura-shader.d.ts +46 -0
- package/dist/aura/root/aura-shader.js +1145 -0
- package/dist/avatar/group/avatar-group.css.d.ts +1 -0
- package/dist/avatar/group/avatar-group.css.js +48 -0
- package/dist/avatar/group/avatar-group.d.ts +34 -0
- package/dist/avatar/group/avatar-group.js +40 -0
- package/dist/avatar/index.d.ts +2 -0
- package/dist/avatar/index.js +2 -0
- package/dist/avatar/root/avatar-root.css.d.ts +1 -0
- package/dist/avatar/root/avatar-root.css.js +55 -0
- package/dist/avatar/root/avatar-root.d.ts +41 -0
- package/dist/avatar/root/avatar-root.js +46 -0
- package/dist/badge/index.d.ts +1 -0
- package/dist/badge/index.js +1 -0
- package/dist/badge/root/badge-root.css.d.ts +1 -0
- package/dist/badge/root/badge-root.css.js +91 -0
- package/dist/badge/root/badge-root.d.ts +38 -0
- package/dist/badge/root/badge-root.js +38 -0
- package/dist/bar-chart/index.d.ts +1 -0
- package/dist/bar-chart/index.js +1 -0
- package/dist/bar-chart/root/bar-chart-root.css.d.ts +1 -0
- package/dist/bar-chart/root/bar-chart-root.css.js +445 -0
- package/dist/bar-chart/root/bar-chart-root.d.ts +177 -0
- package/dist/bar-chart/root/bar-chart-root.js +122 -0
- package/dist/blockquote/index.d.ts +1 -0
- package/dist/blockquote/index.js +1 -0
- package/dist/blockquote/root/blockquote-root.css.d.ts +1 -0
- package/dist/blockquote/root/blockquote-root.css.js +42 -0
- package/dist/blockquote/root/blockquote-root.d.ts +27 -0
- package/dist/blockquote/root/blockquote-root.js +33 -0
- package/dist/breadcrumbs/breadcrumb/breadcrumb.css.d.ts +1 -0
- package/dist/breadcrumbs/breadcrumb/breadcrumb.css.js +109 -0
- package/dist/breadcrumbs/breadcrumb/breadcrumb.d.ts +38 -0
- package/dist/breadcrumbs/breadcrumb/breadcrumb.js +44 -0
- package/dist/breadcrumbs/index.d.ts +2 -0
- package/dist/breadcrumbs/index.js +2 -0
- package/dist/breadcrumbs/root/breadcrumbs-root.css.d.ts +1 -0
- package/dist/breadcrumbs/root/breadcrumbs-root.css.js +23 -0
- package/dist/breadcrumbs/root/breadcrumbs-root.d.ts +29 -0
- package/dist/breadcrumbs/root/breadcrumbs-root.js +35 -0
- package/dist/button/index.d.ts +1 -0
- package/dist/button/index.js +1 -0
- package/dist/button/root/button-root.css.d.ts +1 -0
- package/dist/button/root/button-root.css.js +190 -0
- package/dist/button/root/button-root.d.ts +95 -0
- package/dist/button/root/button-root.js +59 -0
- package/dist/button-group/index.d.ts +1 -0
- package/dist/button-group/index.js +1 -0
- package/dist/button-group/root/button-group-root.css.d.ts +1 -0
- package/dist/button-group/root/button-group-root.css.js +54 -0
- package/dist/button-group/root/button-group-root.d.ts +48 -0
- package/dist/button-group/root/button-group-root.js +44 -0
- package/dist/callout/index.d.ts +1 -0
- package/dist/callout/index.js +1 -0
- package/dist/callout/root/callout-root.css.d.ts +1 -0
- package/dist/callout/root/callout-root.css.js +82 -0
- package/dist/callout/root/callout-root.d.ts +36 -0
- package/dist/callout/root/callout-root.js +42 -0
- package/dist/card/index.d.ts +1 -0
- package/dist/card/index.js +1 -0
- package/dist/card/root/card-root.css.d.ts +1 -0
- package/dist/card/root/card-root.css.js +111 -0
- package/dist/card/root/card-root.d.ts +120 -0
- package/dist/card/root/card-root.js +74 -0
- package/dist/carousel/index.d.ts +1 -0
- package/dist/carousel/index.js +1 -0
- package/dist/carousel/root/carousel-root.css.d.ts +1 -0
- package/dist/carousel/root/carousel-root.css.js +347 -0
- package/dist/carousel/root/carousel-root.d.ts +111 -0
- package/dist/carousel/root/carousel-root.js +53 -0
- package/dist/chat/composer/chat-composer.css.d.ts +1 -0
- package/dist/chat/composer/chat-composer.css.js +103 -0
- package/dist/chat/composer/chat-composer.d.ts +37 -0
- package/dist/chat/composer/chat-composer.js +43 -0
- package/dist/chat/index.d.ts +3 -0
- package/dist/chat/index.js +3 -0
- package/dist/chat/message/chat-message.css.d.ts +1 -0
- package/dist/chat/message/chat-message.css.js +270 -0
- package/dist/chat/message/chat-message.d.ts +66 -0
- package/dist/chat/message/chat-message.js +50 -0
- package/dist/chat/root/chat-root.css.d.ts +1 -0
- package/dist/chat/root/chat-root.css.js +134 -0
- package/dist/chat/root/chat-root.d.ts +51 -0
- package/dist/chat/root/chat-root.js +57 -0
- package/dist/checkbox/index.d.ts +1 -0
- package/dist/checkbox/index.js +1 -0
- package/dist/checkbox/root/checkbox-root.css.d.ts +1 -0
- package/dist/checkbox/root/checkbox-root.css.js +177 -0
- package/dist/checkbox/root/checkbox-root.d.ts +51 -0
- package/dist/checkbox/root/checkbox-root.js +48 -0
- package/dist/checkbox-group/index.d.ts +1 -0
- package/dist/checkbox-group/index.js +1 -0
- package/dist/checkbox-group/root/checkbox-group-root.css.d.ts +1 -0
- package/dist/checkbox-group/root/checkbox-group-root.css.js +30 -0
- package/dist/checkbox-group/root/checkbox-group-root.d.ts +29 -0
- package/dist/checkbox-group/root/checkbox-group-root.js +37 -0
- package/dist/code/index.d.ts +1 -0
- package/dist/code/index.js +1 -0
- package/dist/code/root/code-root.css.d.ts +1 -0
- package/dist/code/root/code-root.css.js +30 -0
- package/dist/code/root/code-root.d.ts +27 -0
- package/dist/code/root/code-root.js +33 -0
- package/dist/code-block/index.d.ts +1 -0
- package/dist/code-block/index.js +1 -0
- package/dist/code-block/root/code-block-root.css.d.ts +1 -0
- package/dist/code-block/root/code-block-root.css.js +84 -0
- package/dist/code-block/root/code-block-root.d.ts +31 -0
- package/dist/code-block/root/code-block-root.js +37 -0
- package/dist/color-input/index.d.ts +1 -0
- package/dist/color-input/index.js +1 -0
- package/dist/color-input/root/color-input-root.css.d.ts +1 -0
- package/dist/color-input/root/color-input-root.css.js +193 -0
- package/dist/color-input/root/color-input-root.d.ts +50 -0
- package/dist/color-input/root/color-input-root.js +62 -0
- package/dist/color-picker/index.d.ts +1 -0
- package/dist/color-picker/index.js +1 -0
- package/dist/color-picker/root/color-picker-root.css.d.ts +1 -0
- package/dist/color-picker/root/color-picker-root.css.js +282 -0
- package/dist/color-picker/root/color-picker-root.d.ts +53 -0
- package/dist/color-picker/root/color-picker-root.js +64 -0
- package/dist/combobox/index.d.ts +1 -0
- package/dist/combobox/index.js +1 -0
- package/dist/combobox/root/combobox-root.css.d.ts +1 -0
- package/dist/combobox/root/combobox-root.css.js +249 -0
- package/dist/combobox/root/combobox-root.d.ts +37 -0
- package/dist/combobox/root/combobox-root.js +49 -0
- package/dist/command/index.d.ts +1 -0
- package/dist/command/index.js +1 -0
- package/dist/command/root/command-root.css.d.ts +1 -0
- package/dist/command/root/command-root.css.js +76 -0
- package/dist/command/root/command-root.d.ts +31 -0
- package/dist/command/root/command-root.js +40 -0
- package/dist/copy-button/index.d.ts +1 -0
- package/dist/copy-button/index.js +1 -0
- package/dist/copy-button/root/copy-button-root.css.d.ts +1 -0
- package/dist/copy-button/root/copy-button-root.css.js +37 -0
- package/dist/copy-button/root/copy-button-root.d.ts +28 -0
- package/dist/copy-button/root/copy-button-root.js +34 -0
- package/dist/data-table/index.d.ts +1 -0
- package/dist/data-table/index.js +1 -0
- package/dist/data-table/root/data-table-root.css.d.ts +1 -0
- package/dist/data-table/root/data-table-root.css.js +91 -0
- package/dist/data-table/root/data-table-root.d.ts +49 -0
- package/dist/data-table/root/data-table-root.js +55 -0
- package/dist/date-input/index.d.ts +1 -0
- package/dist/date-input/index.js +1 -0
- package/dist/date-input/root/date-input-root.css.d.ts +1 -0
- package/dist/date-input/root/date-input-root.css.js +172 -0
- package/dist/date-input/root/date-input-root.d.ts +44 -0
- package/dist/date-input/root/date-input-root.js +59 -0
- package/dist/date-picker/index.d.ts +1 -0
- package/dist/date-picker/index.js +1 -0
- package/dist/date-picker/root/date-picker-root.css.d.ts +1 -0
- package/dist/date-picker/root/date-picker-root.css.js +219 -0
- package/dist/date-picker/root/date-picker-root.d.ts +38 -0
- package/dist/date-picker/root/date-picker-root.js +44 -0
- package/dist/dialog/index.d.ts +1 -0
- package/dist/dialog/index.js +1 -0
- package/dist/dialog/root/dialog-root.css.d.ts +1 -0
- package/dist/dialog/root/dialog-root.css.js +184 -0
- package/dist/dialog/root/dialog-root.d.ts +81 -0
- package/dist/dialog/root/dialog-root.js +54 -0
- package/dist/divider/index.d.ts +1 -0
- package/dist/divider/index.js +1 -0
- package/dist/divider/root/divider-root.css.d.ts +1 -0
- package/dist/divider/root/divider-root.css.js +82 -0
- package/dist/divider/root/divider-root.d.ts +34 -0
- package/dist/divider/root/divider-root.js +40 -0
- package/dist/donut-chart/index.d.ts +1 -0
- package/dist/donut-chart/index.js +1 -0
- package/dist/donut-chart/root/donut-chart-root.css.d.ts +1 -0
- package/dist/donut-chart/root/donut-chart-root.css.js +326 -0
- package/dist/donut-chart/root/donut-chart-root.d.ts +111 -0
- package/dist/donut-chart/root/donut-chart-root.js +76 -0
- package/dist/drawer/index.d.ts +1 -0
- package/dist/drawer/index.js +1 -0
- package/dist/drawer/root/drawer-root.css.d.ts +1 -0
- package/dist/drawer/root/drawer-root.css.js +151 -0
- package/dist/drawer/root/drawer-root.d.ts +69 -0
- package/dist/drawer/root/drawer-root.js +58 -0
- package/dist/drilldown/index.d.ts +2 -0
- package/dist/drilldown/index.js +2 -0
- package/dist/drilldown/item/drilldown-item.css.d.ts +1 -0
- package/dist/drilldown/item/drilldown-item.css.js +47 -0
- package/dist/drilldown/item/drilldown-item.d.ts +25 -0
- package/dist/drilldown/item/drilldown-item.js +31 -0
- package/dist/drilldown/root/drilldown-root.css.d.ts +1 -0
- package/dist/drilldown/root/drilldown-root.css.js +125 -0
- package/dist/drilldown/root/drilldown-root.d.ts +33 -0
- package/dist/drilldown/root/drilldown-root.js +39 -0
- package/dist/element-events.generated.d.ts +1 -0
- package/dist/element-events.generated.js +123 -0
- package/dist/empty/index.d.ts +1 -0
- package/dist/empty/index.js +1 -0
- package/dist/empty/root/empty-root.css.d.ts +1 -0
- package/dist/empty/root/empty-root.css.js +45 -0
- package/dist/empty/root/empty-root.d.ts +26 -0
- package/dist/empty/root/empty-root.js +32 -0
- package/dist/file-input/index.d.ts +1 -0
- package/dist/file-input/index.js +1 -0
- package/dist/file-input/root/file-input-root.css.d.ts +1 -0
- package/dist/file-input/root/file-input-root.css.js +194 -0
- package/dist/file-input/root/file-input-root.d.ts +40 -0
- package/dist/file-input/root/file-input-root.js +53 -0
- package/dist/flex/index.d.ts +1 -0
- package/dist/flex/index.js +1 -0
- package/dist/flex/root/flex-root.css.d.ts +1 -0
- package/dist/flex/root/flex-root.css.js +81 -0
- package/dist/flex/root/flex-root.d.ts +61 -0
- package/dist/flex/root/flex-root.js +75 -0
- package/dist/format-date/index.d.ts +1 -0
- package/dist/format-date/index.js +1 -0
- package/dist/format-date/root/format-date-root.css.d.ts +1 -0
- package/dist/format-date/root/format-date-root.css.js +15 -0
- package/dist/format-date/root/format-date-root.d.ts +28 -0
- package/dist/format-date/root/format-date-root.js +34 -0
- package/dist/grid/index.d.ts +1 -0
- package/dist/grid/index.js +1 -0
- package/dist/grid/root/grid-root.css.d.ts +1 -0
- package/dist/grid/root/grid-root.css.js +74 -0
- package/dist/grid/root/grid-root.d.ts +79 -0
- package/dist/grid/root/grid-root.js +125 -0
- package/dist/heatmap/index.d.ts +1 -0
- package/dist/heatmap/index.js +1 -0
- package/dist/heatmap/root/heatmap-root.css.d.ts +1 -0
- package/dist/heatmap/root/heatmap-root.css.js +141 -0
- package/dist/heatmap/root/heatmap-root.d.ts +87 -0
- package/dist/heatmap/root/heatmap-root.js +96 -0
- package/dist/icon/glyph.css.d.ts +1 -0
- package/dist/icon/glyph.css.js +7 -0
- package/dist/icon/index.d.ts +1 -0
- package/dist/icon/index.js +1 -0
- package/dist/icon/root/icon-root.css.d.ts +1 -0
- package/dist/icon/root/icon-root.css.js +20 -0
- package/dist/icon/root/icon-root.d.ts +29 -0
- package/dist/icon/root/icon-root.js +35 -0
- package/dist/icon-button/index.d.ts +1 -0
- package/dist/icon-button/index.js +1 -0
- package/dist/icon-button/root/icon-button-root.css.d.ts +1 -0
- package/dist/icon-button/root/icon-button-root.css.js +165 -0
- package/dist/icon-button/root/icon-button-root.d.ts +65 -0
- package/dist/icon-button/root/icon-button-root.js +63 -0
- package/dist/image/index.d.ts +1 -0
- package/dist/image/index.js +1 -0
- package/dist/image/root/image-root.css.d.ts +1 -0
- package/dist/image/root/image-root.css.js +73 -0
- package/dist/image/root/image-root.d.ts +39 -0
- package/dist/image/root/image-root.js +52 -0
- package/dist/index.d.ts +100 -0
- package/dist/index.js +100 -0
- package/dist/input/index.d.ts +1 -0
- package/dist/input/index.js +1 -0
- package/dist/input/root/input-root.css.d.ts +1 -0
- package/dist/input/root/input-root.css.js +123 -0
- package/dist/input/root/input-root.d.ts +36 -0
- package/dist/input/root/input-root.js +48 -0
- package/dist/kbd/index.d.ts +1 -0
- package/dist/kbd/index.js +1 -0
- package/dist/kbd/root/kbd-root.css.d.ts +1 -0
- package/dist/kbd/root/kbd-root.css.js +47 -0
- package/dist/kbd/root/kbd-root.d.ts +30 -0
- package/dist/kbd/root/kbd-root.js +36 -0
- package/dist/legend/index.d.ts +1 -0
- package/dist/legend/index.js +1 -0
- package/dist/legend/root/legend-root.css.d.ts +1 -0
- package/dist/legend/root/legend-root.css.js +90 -0
- package/dist/legend/root/legend-root.d.ts +128 -0
- package/dist/legend/root/legend-root.js +99 -0
- package/dist/line-chart/index.d.ts +1 -0
- package/dist/line-chart/index.js +1 -0
- package/dist/line-chart/root/line-chart-root.css.d.ts +1 -0
- package/dist/line-chart/root/line-chart-root.css.js +293 -0
- package/dist/line-chart/root/line-chart-root.d.ts +106 -0
- package/dist/line-chart/root/line-chart-root.js +74 -0
- package/dist/list/index.d.ts +2 -0
- package/dist/list/index.js +2 -0
- package/dist/list/item/list-item.css.d.ts +1 -0
- package/dist/list/item/list-item.css.js +70 -0
- package/dist/list/item/list-item.d.ts +49 -0
- package/dist/list/item/list-item.js +58 -0
- package/dist/list/root/list-root.css.d.ts +1 -0
- package/dist/list/root/list-root.css.js +76 -0
- package/dist/list/root/list-root.d.ts +54 -0
- package/dist/list/root/list-root.js +50 -0
- package/dist/listbox/index.d.ts +1 -0
- package/dist/listbox/index.js +1 -0
- package/dist/listbox/root/listbox-root.css.d.ts +1 -0
- package/dist/listbox/root/listbox-root.css.js +110 -0
- package/dist/listbox/root/listbox-root.d.ts +30 -0
- package/dist/listbox/root/listbox-root.js +38 -0
- package/dist/loader/index.d.ts +1 -0
- package/dist/loader/index.js +1 -0
- package/dist/loader/root/loader-root.css.d.ts +1 -0
- package/dist/loader/root/loader-root.css.js +159 -0
- package/dist/loader/root/loader-root.d.ts +49 -0
- package/dist/loader/root/loader-root.js +42 -0
- package/dist/megamenu/index.d.ts +1 -0
- package/dist/megamenu/index.js +1 -0
- package/dist/megamenu/root/megamenu-root.css.d.ts +1 -0
- package/dist/megamenu/root/megamenu-root.css.js +153 -0
- package/dist/megamenu/root/megamenu-root.d.ts +34 -0
- package/dist/megamenu/root/megamenu-root.js +40 -0
- package/dist/menu/index.d.ts +2 -0
- package/dist/menu/index.js +2 -0
- package/dist/menu/item/menu-item.css.d.ts +1 -0
- package/dist/menu/item/menu-item.css.js +87 -0
- package/dist/menu/item/menu-item.d.ts +26 -0
- package/dist/menu/item/menu-item.js +32 -0
- package/dist/menu/root/menu-root.css.d.ts +1 -0
- package/dist/menu/root/menu-root.css.js +161 -0
- package/dist/menu/root/menu-root.d.ts +36 -0
- package/dist/menu/root/menu-root.js +42 -0
- package/dist/meter/index.d.ts +1 -0
- package/dist/meter/index.js +1 -0
- package/dist/meter/root/meter-root.css.d.ts +1 -0
- package/dist/meter/root/meter-root.css.js +218 -0
- package/dist/meter/root/meter-root.d.ts +79 -0
- package/dist/meter/root/meter-root.js +72 -0
- package/dist/mixins/mixin-control-surface/mixin-control-surface.d.ts +28 -0
- package/dist/mixins/mixin-control-surface/mixin-control-surface.js +21 -0
- package/dist/navigation/index.d.ts +1 -0
- package/dist/navigation/index.js +1 -0
- package/dist/navigation/root/navigation-root.css.d.ts +1 -0
- package/dist/navigation/root/navigation-root.css.js +50 -0
- package/dist/navigation/root/navigation-root.d.ts +28 -0
- package/dist/navigation/root/navigation-root.js +34 -0
- package/dist/notifications/index.d.ts +2 -0
- package/dist/notifications/index.js +2 -0
- package/dist/notifications/notification/notification.css.d.ts +1 -0
- package/dist/notifications/notification/notification.css.js +194 -0
- package/dist/notifications/notification/notification.d.ts +64 -0
- package/dist/notifications/notification/notification.js +71 -0
- package/dist/notifications/root/notifications-root.css.d.ts +1 -0
- package/dist/notifications/root/notifications-root.css.js +94 -0
- package/dist/notifications/root/notifications-root.d.ts +43 -0
- package/dist/notifications/root/notifications-root.js +49 -0
- package/dist/number-input/index.d.ts +1 -0
- package/dist/number-input/index.js +1 -0
- package/dist/number-input/root/number-input-root.css.d.ts +1 -0
- package/dist/number-input/root/number-input-root.css.js +149 -0
- package/dist/number-input/root/number-input-root.d.ts +41 -0
- package/dist/number-input/root/number-input-root.js +49 -0
- package/dist/option/group/option-group.css.d.ts +1 -0
- package/dist/option/group/option-group.css.js +24 -0
- package/dist/option/group/option-group.d.ts +23 -0
- package/dist/option/group/option-group.js +29 -0
- package/dist/option/index.d.ts +2 -0
- package/dist/option/index.js +2 -0
- package/dist/option/root/option-root.css.d.ts +1 -0
- package/dist/option/root/option-root.css.js +93 -0
- package/dist/option/root/option-root.d.ts +30 -0
- package/dist/option/root/option-root.js +36 -0
- package/dist/outline/index.d.ts +1 -0
- package/dist/outline/index.js +1 -0
- package/dist/outline/root/outline-root.css.d.ts +1 -0
- package/dist/outline/root/outline-root.css.js +144 -0
- package/dist/outline/root/outline-root.d.ts +31 -0
- package/dist/outline/root/outline-root.js +37 -0
- package/dist/pagination/index.d.ts +3 -0
- package/dist/pagination/index.js +3 -0
- package/dist/pagination/root/pagination-root.css.d.ts +1 -0
- package/dist/pagination/root/pagination-root.css.js +158 -0
- package/dist/pagination/root/pagination-root.d.ts +59 -0
- package/dist/pagination/root/pagination-root.js +65 -0
- package/dist/pagination/size/pagination-size.css.d.ts +1 -0
- package/dist/pagination/size/pagination-size.css.js +24 -0
- package/dist/pagination/size/pagination-size.d.ts +31 -0
- package/dist/pagination/size/pagination-size.js +44 -0
- package/dist/pagination/summary/pagination-summary.css.d.ts +1 -0
- package/dist/pagination/summary/pagination-summary.css.js +9 -0
- package/dist/pagination/summary/pagination-summary.d.ts +23 -0
- package/dist/pagination/summary/pagination-summary.js +29 -0
- package/dist/pin-input/index.d.ts +1 -0
- package/dist/pin-input/index.js +1 -0
- package/dist/pin-input/root/pin-input-root.css.d.ts +1 -0
- package/dist/pin-input/root/pin-input-root.css.js +74 -0
- package/dist/pin-input/root/pin-input-root.d.ts +37 -0
- package/dist/pin-input/root/pin-input-root.js +45 -0
- package/dist/popover/index.d.ts +1 -0
- package/dist/popover/index.js +1 -0
- package/dist/popover/root/popover-root.css.d.ts +1 -0
- package/dist/popover/root/popover-root.css.js +93 -0
- package/dist/popover/root/popover-root.d.ts +53 -0
- package/dist/popover/root/popover-root.js +50 -0
- package/dist/progress/index.d.ts +1 -0
- package/dist/progress/index.js +1 -0
- package/dist/progress/root/progress-root.css.d.ts +1 -0
- package/dist/progress/root/progress-root.css.js +225 -0
- package/dist/progress/root/progress-root.d.ts +54 -0
- package/dist/progress/root/progress-root.js +45 -0
- package/dist/qr-code/index.d.ts +1 -0
- package/dist/qr-code/index.js +1 -0
- package/dist/qr-code/root/qr-code-root.css.d.ts +1 -0
- package/dist/qr-code/root/qr-code-root.css.js +58 -0
- package/dist/qr-code/root/qr-code-root.d.ts +37 -0
- package/dist/qr-code/root/qr-code-root.js +43 -0
- package/dist/quote/index.d.ts +1 -0
- package/dist/quote/index.js +1 -0
- package/dist/quote/root/quote-root.css.d.ts +1 -0
- package/dist/quote/root/quote-root.css.js +20 -0
- package/dist/quote/root/quote-root.d.ts +25 -0
- package/dist/quote/root/quote-root.js +31 -0
- package/dist/radio/group/radio-group.css.d.ts +1 -0
- package/dist/radio/group/radio-group.css.js +23 -0
- package/dist/radio/group/radio-group.d.ts +26 -0
- package/dist/radio/group/radio-group.js +34 -0
- package/dist/radio/index.d.ts +2 -0
- package/dist/radio/index.js +2 -0
- package/dist/radio/root/radio-root.css.d.ts +1 -0
- package/dist/radio/root/radio-root.css.js +198 -0
- package/dist/radio/root/radio-root.d.ts +73 -0
- package/dist/radio/root/radio-root.js +74 -0
- package/dist/rating/index.d.ts +1 -0
- package/dist/rating/index.js +1 -0
- package/dist/rating/root/rating-root.css.d.ts +1 -0
- package/dist/rating/root/rating-root.css.js +122 -0
- package/dist/rating/root/rating-root.d.ts +52 -0
- package/dist/rating/root/rating-root.js +42 -0
- package/dist/sandbox/index.d.ts +20 -0
- package/dist/sandbox/index.js +20 -0
- package/dist/sandbox/preview/sandbox-preview.css.d.ts +1 -0
- package/dist/sandbox/preview/sandbox-preview.css.js +14 -0
- package/dist/sandbox/preview/sandbox-preview.d.ts +224 -0
- package/dist/sandbox/preview/sandbox-preview.js +306 -0
- package/dist/sandbox/root/sandbox-root.css.d.ts +1 -0
- package/dist/sandbox/root/sandbox-root.css.js +73 -0
- package/dist/sandbox/root/sandbox-root.d.ts +324 -0
- package/dist/sandbox/root/sandbox-root.js +569 -0
- package/dist/sandbox/source/sandbox-source.css.d.ts +1 -0
- package/dist/sandbox/source/sandbox-source.css.js +27 -0
- package/dist/sandbox/source/sandbox-source.d.ts +105 -0
- package/dist/sandbox/source/sandbox-source.js +173 -0
- package/dist/sandbox/status-bar/sandbox-status-bar.css.d.ts +1 -0
- package/dist/sandbox/status-bar/sandbox-status-bar.css.js +23 -0
- package/dist/sandbox/status-bar/sandbox-status-bar.d.ts +59 -0
- package/dist/sandbox/status-bar/sandbox-status-bar.js +86 -0
- package/dist/sandbox/terminal/sandbox-terminal.css.d.ts +1 -0
- package/dist/sandbox/terminal/sandbox-terminal.css.js +69 -0
- package/dist/sandbox/terminal/sandbox-terminal.d.ts +71 -0
- package/dist/sandbox/terminal/sandbox-terminal.js +130 -0
- package/dist/sandbox/toolbar/sandbox-toolbar.css.d.ts +1 -0
- package/dist/sandbox/toolbar/sandbox-toolbar.css.js +32 -0
- package/dist/sandbox/toolbar/sandbox-toolbar.d.ts +37 -0
- package/dist/sandbox/toolbar/sandbox-toolbar.js +49 -0
- package/dist/scroll-area/index.d.ts +1 -0
- package/dist/scroll-area/index.js +1 -0
- package/dist/scroll-area/root/scroll-area-root.css.d.ts +1 -0
- package/dist/scroll-area/root/scroll-area-root.css.js +118 -0
- package/dist/scroll-area/root/scroll-area-root.d.ts +34 -0
- package/dist/scroll-area/root/scroll-area-root.js +40 -0
- package/dist/select/index.d.ts +1 -0
- package/dist/select/index.js +1 -0
- package/dist/select/root/select-root.css.d.ts +1 -0
- package/dist/select/root/select-root.css.js +197 -0
- package/dist/select/root/select-root.d.ts +71 -0
- package/dist/select/root/select-root.js +60 -0
- package/dist/shared/chart/series.css.d.ts +1 -0
- package/dist/shared/chart/series.css.js +35 -0
- package/dist/shared/chart/terminus.css.d.ts +1 -0
- package/dist/shared/chart/terminus.css.js +41 -0
- package/dist/shared/field/field-inline.css.d.ts +1 -0
- package/dist/shared/field/field-inline.css.js +7 -0
- package/dist/shared/field/field-stacked.css.d.ts +1 -0
- package/dist/shared/field/field-stacked.css.js +7 -0
- package/dist/shared/field/field.css.d.ts +1 -0
- package/dist/shared/field/field.css.js +59 -0
- package/dist/skeleton/index.d.ts +1 -0
- package/dist/skeleton/index.js +1 -0
- package/dist/skeleton/root/skeleton-root.css.d.ts +1 -0
- package/dist/skeleton/root/skeleton-root.css.js +74 -0
- package/dist/skeleton/root/skeleton-root.d.ts +34 -0
- package/dist/skeleton/root/skeleton-root.js +38 -0
- package/dist/slider/index.d.ts +1 -0
- package/dist/slider/index.js +1 -0
- package/dist/slider/root/slider-root.css.d.ts +1 -0
- package/dist/slider/root/slider-root.css.js +335 -0
- package/dist/slider/root/slider-root.d.ts +42 -0
- package/dist/slider/root/slider-root.js +50 -0
- package/dist/sparkline/index.d.ts +1 -0
- package/dist/sparkline/index.js +1 -0
- package/dist/sparkline/root/sparkline-root.css.d.ts +1 -0
- package/dist/sparkline/root/sparkline-root.css.js +103 -0
- package/dist/sparkline/root/sparkline-root.d.ts +114 -0
- package/dist/sparkline/root/sparkline-root.js +67 -0
- package/dist/speed-dial/index.d.ts +2 -0
- package/dist/speed-dial/index.js +2 -0
- package/dist/speed-dial/item/speed-dial-item.css.d.ts +1 -0
- package/dist/speed-dial/item/speed-dial-item.css.js +80 -0
- package/dist/speed-dial/item/speed-dial-item.d.ts +26 -0
- package/dist/speed-dial/item/speed-dial-item.js +32 -0
- package/dist/speed-dial/root/speed-dial-root.css.d.ts +1 -0
- package/dist/speed-dial/root/speed-dial-root.css.js +140 -0
- package/dist/speed-dial/root/speed-dial-root.d.ts +27 -0
- package/dist/speed-dial/root/speed-dial-root.js +34 -0
- package/dist/splitter/index.d.ts +1 -0
- package/dist/splitter/index.js +1 -0
- package/dist/splitter/root/splitter-root.css.d.ts +1 -0
- package/dist/splitter/root/splitter-root.css.js +203 -0
- package/dist/splitter/root/splitter-root.d.ts +78 -0
- package/dist/splitter/root/splitter-root.js +70 -0
- package/dist/stat/group/stat-group.css.d.ts +1 -0
- package/dist/stat/group/stat-group.css.js +12 -0
- package/dist/stat/group/stat-group.d.ts +30 -0
- package/dist/stat/group/stat-group.js +43 -0
- package/dist/stat/index.d.ts +2 -0
- package/dist/stat/index.js +2 -0
- package/dist/stat/root/stat-root.css.d.ts +1 -0
- package/dist/stat/root/stat-root.css.js +60 -0
- package/dist/stat/root/stat-root.d.ts +27 -0
- package/dist/stat/root/stat-root.js +33 -0
- package/dist/steps/index.d.ts +2 -0
- package/dist/steps/index.js +2 -0
- package/dist/steps/root/steps-root.css.d.ts +1 -0
- package/dist/steps/root/steps-root.css.js +94 -0
- package/dist/steps/root/steps-root.d.ts +36 -0
- package/dist/steps/root/steps-root.js +42 -0
- package/dist/steps/step/step.css.d.ts +1 -0
- package/dist/steps/step/step.css.js +158 -0
- package/dist/steps/step/step.d.ts +20 -0
- package/dist/steps/step/step.js +30 -0
- package/dist/switch/index.d.ts +1 -0
- package/dist/switch/index.js +1 -0
- package/dist/switch/root/switch-root.css.d.ts +1 -0
- package/dist/switch/root/switch-root.css.js +113 -0
- package/dist/switch/root/switch-root.d.ts +42 -0
- package/dist/switch/root/switch-root.js +50 -0
- package/dist/table/cell/table-cell.css.d.ts +1 -0
- package/dist/table/cell/table-cell.css.js +25 -0
- package/dist/table/cell/table-cell.d.ts +24 -0
- package/dist/table/cell/table-cell.js +30 -0
- package/dist/table/column/table-column.css.d.ts +1 -0
- package/dist/table/column/table-column.css.js +21 -0
- package/dist/table/column/table-column.d.ts +23 -0
- package/dist/table/column/table-column.js +29 -0
- package/dist/table/index.d.ts +4 -0
- package/dist/table/index.js +4 -0
- package/dist/table/root/table-root.css.d.ts +1 -0
- package/dist/table/root/table-root.css.js +39 -0
- package/dist/table/root/table-root.d.ts +29 -0
- package/dist/table/root/table-root.js +35 -0
- package/dist/table/row/table-row.css.d.ts +1 -0
- package/dist/table/row/table-row.css.js +5 -0
- package/dist/table/row/table-row.d.ts +24 -0
- package/dist/table/row/table-row.js +30 -0
- package/dist/tabs/index.d.ts +3 -0
- package/dist/tabs/index.js +3 -0
- package/dist/tabs/panel/tab-panel.css.d.ts +1 -0
- package/dist/tabs/panel/tab-panel.css.js +17 -0
- package/dist/tabs/panel/tab-panel.d.ts +26 -0
- package/dist/tabs/panel/tab-panel.js +32 -0
- package/dist/tabs/root/tabs-root.css.d.ts +1 -0
- package/dist/tabs/root/tabs-root.css.js +136 -0
- package/dist/tabs/root/tabs-root.d.ts +29 -0
- package/dist/tabs/root/tabs-root.js +35 -0
- package/dist/tabs/tab/tab.css.d.ts +1 -0
- package/dist/tabs/tab/tab.css.js +57 -0
- package/dist/tabs/tab/tab.d.ts +26 -0
- package/dist/tabs/tab/tab.js +32 -0
- package/dist/tag/index.d.ts +1 -0
- package/dist/tag/index.js +1 -0
- package/dist/tag/root/tag-root.css.d.ts +1 -0
- package/dist/tag/root/tag-root.css.js +112 -0
- package/dist/tag/root/tag-root.d.ts +66 -0
- package/dist/tag/root/tag-root.js +48 -0
- package/dist/text/index.d.ts +1 -0
- package/dist/text/index.js +1 -0
- package/dist/text/root/text-root.css.d.ts +1 -0
- package/dist/text/root/text-root.css.js +113 -0
- package/dist/text/root/text-root.d.ts +83 -0
- package/dist/text/root/text-root.js +92 -0
- package/dist/textarea/index.d.ts +1 -0
- package/dist/textarea/index.js +1 -0
- package/dist/textarea/root/textarea-root.css.d.ts +1 -0
- package/dist/textarea/root/textarea-root.css.js +79 -0
- package/dist/textarea/root/textarea-root.d.ts +27 -0
- package/dist/textarea/root/textarea-root.js +35 -0
- package/dist/time-input/index.d.ts +1 -0
- package/dist/time-input/index.js +1 -0
- package/dist/time-input/root/time-input-root.css.d.ts +1 -0
- package/dist/time-input/root/time-input-root.css.js +184 -0
- package/dist/time-input/root/time-input-root.d.ts +42 -0
- package/dist/time-input/root/time-input-root.js +53 -0
- package/dist/time-picker/index.d.ts +1 -0
- package/dist/time-picker/index.js +1 -0
- package/dist/time-picker/root/time-picker-root.css.d.ts +1 -0
- package/dist/time-picker/root/time-picker-root.css.js +147 -0
- package/dist/time-picker/root/time-picker-root.d.ts +38 -0
- package/dist/time-picker/root/time-picker-root.js +48 -0
- package/dist/timeline/index.d.ts +2 -0
- package/dist/timeline/index.js +2 -0
- package/dist/timeline/item/timeline-item.css.d.ts +1 -0
- package/dist/timeline/item/timeline-item.css.js +111 -0
- package/dist/timeline/item/timeline-item.d.ts +27 -0
- package/dist/timeline/item/timeline-item.js +33 -0
- package/dist/timeline/root/timeline-root.css.d.ts +1 -0
- package/dist/timeline/root/timeline-root.css.js +12 -0
- package/dist/timeline/root/timeline-root.d.ts +25 -0
- package/dist/timeline/root/timeline-root.js +31 -0
- package/dist/toast/index.d.ts +2 -0
- package/dist/toast/index.js +2 -0
- package/dist/toast/item/toast-item.css.d.ts +1 -0
- package/dist/toast/item/toast-item.css.js +233 -0
- package/dist/toast/item/toast-item.d.ts +31 -0
- package/dist/toast/item/toast-item.js +37 -0
- package/dist/toast/root/toast-root.css.d.ts +1 -0
- package/dist/toast/root/toast-root.css.js +66 -0
- package/dist/toast/root/toast-root.d.ts +37 -0
- package/dist/toast/root/toast-root.js +43 -0
- package/dist/toggle/group/toggle-group.css.d.ts +1 -0
- package/dist/toggle/group/toggle-group.css.js +118 -0
- package/dist/toggle/group/toggle-group.d.ts +49 -0
- package/dist/toggle/group/toggle-group.js +47 -0
- package/dist/toggle/index.d.ts +2 -0
- package/dist/toggle/index.js +2 -0
- package/dist/toggle/root/toggle-root.css.d.ts +1 -0
- package/dist/toggle/root/toggle-root.css.js +25 -0
- package/dist/toggle/root/toggle-root.d.ts +28 -0
- package/dist/toggle/root/toggle-root.js +34 -0
- package/dist/toolbar/index.d.ts +1 -0
- package/dist/toolbar/index.js +1 -0
- package/dist/toolbar/root/toolbar-root.css.d.ts +1 -0
- package/dist/toolbar/root/toolbar-root.css.js +28 -0
- package/dist/toolbar/root/toolbar-root.d.ts +29 -0
- package/dist/toolbar/root/toolbar-root.js +35 -0
- package/dist/tooltip/index.d.ts +1 -0
- package/dist/tooltip/index.js +1 -0
- package/dist/tooltip/root/tooltip-root.css.d.ts +1 -0
- package/dist/tooltip/root/tooltip-root.css.js +121 -0
- package/dist/tooltip/root/tooltip-root.d.ts +63 -0
- package/dist/tooltip/root/tooltip-root.js +42 -0
- package/dist/tour/index.d.ts +2 -0
- package/dist/tour/index.js +2 -0
- package/dist/tour/root/tour-root.css.d.ts +1 -0
- package/dist/tour/root/tour-root.css.js +30 -0
- package/dist/tour/root/tour-root.d.ts +24 -0
- package/dist/tour/root/tour-root.js +30 -0
- package/dist/tour/stop/tour-stop.css.d.ts +1 -0
- package/dist/tour/stop/tour-stop.css.js +77 -0
- package/dist/tour/stop/tour-stop.d.ts +34 -0
- package/dist/tour/stop/tour-stop.js +40 -0
- package/dist/tree/index.d.ts +2 -0
- package/dist/tree/index.js +2 -0
- package/dist/tree/item/tree-item.css.d.ts +1 -0
- package/dist/tree/item/tree-item.css.js +177 -0
- package/dist/tree/item/tree-item.d.ts +44 -0
- package/dist/tree/item/tree-item.js +50 -0
- package/dist/tree/root/tree-root.css.d.ts +1 -0
- package/dist/tree/root/tree-root.css.js +43 -0
- package/dist/tree/root/tree-root.d.ts +63 -0
- package/dist/tree/root/tree-root.js +47 -0
- package/dist/trend/index.d.ts +1 -0
- package/dist/trend/index.js +1 -0
- package/dist/trend/root/trend-root.css.d.ts +1 -0
- package/dist/trend/root/trend-root.css.js +50 -0
- package/dist/trend/root/trend-root.d.ts +48 -0
- package/dist/trend/root/trend-root.js +55 -0
- package/dist/video/index.d.ts +1 -0
- package/dist/video/index.js +1 -0
- package/dist/video/root/video-root.css.d.ts +1 -0
- package/dist/video/root/video-root.css.js +404 -0
- package/dist/video/root/video-root.d.ts +87 -0
- package/dist/video/root/video-root.js +61 -0
- package/dist/video-playlist/index.d.ts +3 -0
- package/dist/video-playlist/index.js +3 -0
- package/dist/video-playlist/item/video-playlist-item.css.d.ts +1 -0
- package/dist/video-playlist/item/video-playlist-item.css.js +95 -0
- package/dist/video-playlist/item/video-playlist-item.d.ts +25 -0
- package/dist/video-playlist/item/video-playlist-item.js +31 -0
- package/dist/video-playlist/menu/video-playlist-menu.css.d.ts +1 -0
- package/dist/video-playlist/menu/video-playlist-menu.css.js +44 -0
- package/dist/video-playlist/menu/video-playlist-menu.d.ts +43 -0
- package/dist/video-playlist/menu/video-playlist-menu.js +56 -0
- package/dist/video-playlist/root/video-playlist-root.css.d.ts +1 -0
- package/dist/video-playlist/root/video-playlist-root.css.js +21 -0
- package/dist/video-playlist/root/video-playlist-root.d.ts +26 -0
- package/dist/video-playlist/root/video-playlist-root.js +32 -0
- package/dist/virtual-list/index.d.ts +1 -0
- package/dist/virtual-list/index.js +1 -0
- package/dist/virtual-list/root/virtual-list-root.css.d.ts +1 -0
- package/dist/virtual-list/root/virtual-list-root.css.js +27 -0
- package/dist/virtual-list/root/virtual-list-root.d.ts +31 -0
- package/dist/virtual-list/root/virtual-list-root.js +37 -0
- package/elements.css +287 -0
- package/jsx.d.ts +54748 -0
- package/package.json +80 -0
- package/svelte.d.ts +139 -0
- package/vue.d.ts +11511 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { HelixHeadlessProgress } from '@fusion.dev/helix-headless/progress';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Shows how far along a task is, when that is known.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* A track and the part of it that is done. The height comes from a token rather
|
|
8
|
+
* than from a size property, for the reason the rest of the library gives about
|
|
9
|
+
* controls: how heavy a bar is says something about the region it is in, and a
|
|
10
|
+
* `--progress-size` on that region says it once.
|
|
11
|
+
*
|
|
12
|
+
* The fill transitions, which is worth more here than it looks. Progress
|
|
13
|
+
* arrives in steps, often large ones, and a bar that jumps between them reads
|
|
14
|
+
* as a series of unrelated states where one that travels reads as a single
|
|
15
|
+
* thing advancing.
|
|
16
|
+
*
|
|
17
|
+
* @since 0.1.0
|
|
18
|
+
* @status stable
|
|
19
|
+
* @category feedback
|
|
20
|
+
* @groups charts
|
|
21
|
+
* @aliases Progress bar, Loading bar
|
|
22
|
+
* @documentation https://helix.fusion.dev/components/progress
|
|
23
|
+
*
|
|
24
|
+
* @cssproperty --progress-color - Fill of the part that is done.
|
|
25
|
+
* @cssproperty --progress-ring-size - Diameter of the ring appearance.
|
|
26
|
+
* @cssproperty --progress-ring-width - Thickness of its stroke.
|
|
27
|
+
*/
|
|
28
|
+
export declare class HelixProgress extends HelixHeadlessProgress {
|
|
29
|
+
/**
|
|
30
|
+
* How much ink the bar claims.
|
|
31
|
+
*
|
|
32
|
+
* `subtle` is the bar as a wash of its own color: still legible, no longer
|
|
33
|
+
* the loudest thing in the region. The case is a background task: something uploading while the reader is doing something else has to be visible and must not compete with what they are actually looking at.
|
|
34
|
+
*
|
|
35
|
+
* **One value and not the four, which is the judgment this axis asks for
|
|
36
|
+
* rather than a partial sweep.** `ghost` would leave a track with nothing in
|
|
37
|
+
* it, which is not a quiet reading but an absent one. `outlined` is the
|
|
38
|
+
* interesting refusal: `BarChart` makes it work by keeping the area and fading
|
|
39
|
+
* it toward the page, so an outlined column still encodes its value, and the
|
|
40
|
+
* reason it earns the value there is that a chart has other series for the
|
|
41
|
+
* outlined one to be a *different kind of fact from* (a forecast, a target,
|
|
42
|
+
* a budget). A progress bar is alone in its region and has nothing to differ from, so an outline there costs legibility and buys no distinction. `solid` is the resting state and is written by not
|
|
43
|
+
* writing it, per the rule that a reflected property takes no default.
|
|
44
|
+
* @cssproperty --progress-size - Thickness of the bar.
|
|
45
|
+
* @cssproperty --progress-track-color - Fill of the part that is not.
|
|
46
|
+
*/
|
|
47
|
+
emphasis?: 'subtle';
|
|
48
|
+
static styles: CSSResultGroup;
|
|
49
|
+
}
|
|
50
|
+
declare global {
|
|
51
|
+
interface HTMLElementTagNameMap {
|
|
52
|
+
'helix-progress': HelixProgress;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { customElement } from '@fusion.dev/helix-core';
|
|
8
|
+
import { HelixHeadlessProgress } from '@fusion.dev/helix-headless/progress';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles } from './progress-root.css.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary Shows how far along a task is, when that is known.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* A track and the part of it that is done. The height comes from a token rather
|
|
16
|
+
* than from a size property, for the reason the rest of the library gives about
|
|
17
|
+
* controls: how heavy a bar is says something about the region it is in, and a
|
|
18
|
+
* `--progress-size` on that region says it once.
|
|
19
|
+
*
|
|
20
|
+
* The fill transitions, which is worth more here than it looks. Progress
|
|
21
|
+
* arrives in steps, often large ones, and a bar that jumps between them reads
|
|
22
|
+
* as a series of unrelated states where one that travels reads as a single
|
|
23
|
+
* thing advancing.
|
|
24
|
+
*
|
|
25
|
+
* @since 0.1.0
|
|
26
|
+
* @status stable
|
|
27
|
+
* @category feedback
|
|
28
|
+
* @groups charts
|
|
29
|
+
* @aliases Progress bar, Loading bar
|
|
30
|
+
* @documentation https://helix.fusion.dev/components/progress
|
|
31
|
+
*
|
|
32
|
+
* @cssproperty --progress-color - Fill of the part that is done.
|
|
33
|
+
* @cssproperty --progress-ring-size - Diameter of the ring appearance.
|
|
34
|
+
* @cssproperty --progress-ring-width - Thickness of its stroke.
|
|
35
|
+
*/
|
|
36
|
+
let HelixProgress = class HelixProgress extends HelixHeadlessProgress {
|
|
37
|
+
static { this.styles = styles; }
|
|
38
|
+
};
|
|
39
|
+
__decorate([
|
|
40
|
+
property({ reflect: true })
|
|
41
|
+
], HelixProgress.prototype, "emphasis", void 0);
|
|
42
|
+
HelixProgress = __decorate([
|
|
43
|
+
customElement('helix-progress')
|
|
44
|
+
], HelixProgress);
|
|
45
|
+
export { HelixProgress };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HelixQrCode } from './root/qr-code-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HelixQrCode } from './root/qr-code-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// Generated from src/qr-code/root/qr-code-root.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
--_qr-size: var(--qr-code-size, 12rem);
|
|
5
|
+
|
|
6
|
+
background-color: var(--qr-code-background-color, var(--helix-color-foreground-media));
|
|
7
|
+
block-size: var(--_qr-size);
|
|
8
|
+
border-radius: var(--helix-radii-sm);
|
|
9
|
+
color: var(--qr-code-color, var(--helix-color-surface-media));
|
|
10
|
+
display: block;
|
|
11
|
+
inline-size: var(--_qr-size);
|
|
12
|
+
position: relative;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[part="code"] {
|
|
16
|
+
block-size: 100%;
|
|
17
|
+
display: block;
|
|
18
|
+
inline-size: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[part="finders"] {
|
|
22
|
+
fill: var(--qr-code-finder-color, currentColor);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[part="logo"] {
|
|
26
|
+
align-items: center;
|
|
27
|
+
background-color: var(--qr-code-background-color, var(--helix-color-surface-raised));
|
|
28
|
+
border-radius: var(--helix-radii-sm);
|
|
29
|
+
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
display: flex;
|
|
32
|
+
inset-block-start: 50%;
|
|
33
|
+
inset-inline-start: 50%;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
max-block-size: var(--qr-code-logo-size, 27%);
|
|
36
|
+
max-inline-size: var(--qr-code-logo-size, 27%);
|
|
37
|
+
min-block-size: var(--qr-code-logo-size, 27%);
|
|
38
|
+
min-inline-size: var(--qr-code-logo-size, 27%);
|
|
39
|
+
padding: var(--qr-code-logo-padding, 6%);
|
|
40
|
+
position: absolute;
|
|
41
|
+
translate: -50% -50%;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[part="logo"] slot::slotted(*) {
|
|
45
|
+
block-size: 100%;
|
|
46
|
+
inline-size: 100%;
|
|
47
|
+
object-fit: contain;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[part="logo"][hidden] {
|
|
51
|
+
display: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@media print {
|
|
55
|
+
:host {
|
|
56
|
+
box-shadow: none;
|
|
57
|
+
}
|
|
58
|
+
}`);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { HelixHeadlessQrCode } from '@fusion.dev/helix-headless/qr-code';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Encodes a short piece of text as a scannable square.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The picture is the headless tier's. What this adds is a size that can be set
|
|
8
|
+
* once, the colours a scanner needs, and the box that holds a center mark.
|
|
9
|
+
*
|
|
10
|
+
* **The ink is `currentColor` and the ground is a real fill.** A code has to be
|
|
11
|
+
* dark on light to read, and the pair that guarantees it is not the page's
|
|
12
|
+
* foreground and background: those invert together in dark mode, and a code
|
|
13
|
+
* drawn light-on-dark is refused by a good half of the scanners in the world.
|
|
14
|
+
* So the ground is stated and the ink is the foreground it is chosen for.
|
|
15
|
+
*
|
|
16
|
+
* @since 0.1.0
|
|
17
|
+
* @status stable
|
|
18
|
+
* @category media
|
|
19
|
+
* @documentation https://helix.fusion.dev/components/qr-code
|
|
20
|
+
*
|
|
21
|
+
* @cssproperty --qr-code-background-color - Behind them, including the quiet zone.
|
|
22
|
+
* @cssproperty --qr-code-color - The dark modules. Defaults to the page's ink.
|
|
23
|
+
* @cssproperty --qr-code-finder-color - The three corner squares. Defaults to
|
|
24
|
+
* the same ink as the modules.
|
|
25
|
+
* @cssproperty --qr-code-logo-padding - The quiet zone around that mark.
|
|
26
|
+
* @cssproperty --qr-code-logo-size - How much of the middle a mark may cover.
|
|
27
|
+
* Defaults to `27%`, which `H` correction carries: it can lose thirty percent.
|
|
28
|
+
* @cssproperty --qr-code-size - How wide the square is. Defaults to `12rem`.
|
|
29
|
+
*/
|
|
30
|
+
export declare class HelixQrCode extends HelixHeadlessQrCode {
|
|
31
|
+
static styles: CSSResultGroup;
|
|
32
|
+
}
|
|
33
|
+
declare global {
|
|
34
|
+
interface HTMLElementTagNameMap {
|
|
35
|
+
'helix-qr-code': HelixQrCode;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { customElement } from '@fusion.dev/helix-core';
|
|
8
|
+
import { HelixHeadlessQrCode } from '@fusion.dev/helix-headless/qr-code';
|
|
9
|
+
import { styles } from './qr-code-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary Encodes a short piece of text as a scannable square.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* The picture is the headless tier's. What this adds is a size that can be set
|
|
15
|
+
* once, the colours a scanner needs, and the box that holds a center mark.
|
|
16
|
+
*
|
|
17
|
+
* **The ink is `currentColor` and the ground is a real fill.** A code has to be
|
|
18
|
+
* dark on light to read, and the pair that guarantees it is not the page's
|
|
19
|
+
* foreground and background: those invert together in dark mode, and a code
|
|
20
|
+
* drawn light-on-dark is refused by a good half of the scanners in the world.
|
|
21
|
+
* So the ground is stated and the ink is the foreground it is chosen for.
|
|
22
|
+
*
|
|
23
|
+
* @since 0.1.0
|
|
24
|
+
* @status stable
|
|
25
|
+
* @category media
|
|
26
|
+
* @documentation https://helix.fusion.dev/components/qr-code
|
|
27
|
+
*
|
|
28
|
+
* @cssproperty --qr-code-background-color - Behind them, including the quiet zone.
|
|
29
|
+
* @cssproperty --qr-code-color - The dark modules. Defaults to the page's ink.
|
|
30
|
+
* @cssproperty --qr-code-finder-color - The three corner squares. Defaults to
|
|
31
|
+
* the same ink as the modules.
|
|
32
|
+
* @cssproperty --qr-code-logo-padding - The quiet zone around that mark.
|
|
33
|
+
* @cssproperty --qr-code-logo-size - How much of the middle a mark may cover.
|
|
34
|
+
* Defaults to `27%`, which `H` correction carries: it can lose thirty percent.
|
|
35
|
+
* @cssproperty --qr-code-size - How wide the square is. Defaults to `12rem`.
|
|
36
|
+
*/
|
|
37
|
+
let HelixQrCode = class HelixQrCode extends HelixHeadlessQrCode {
|
|
38
|
+
static { this.styles = styles; }
|
|
39
|
+
};
|
|
40
|
+
HelixQrCode = __decorate([
|
|
41
|
+
customElement('helix-qr-code')
|
|
42
|
+
], HelixQrCode);
|
|
43
|
+
export { HelixQrCode };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/quote-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/quote-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Generated from src/quote/root/quote-root.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
display: inline;
|
|
5
|
+
font: inherit;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[part="quote"] {
|
|
9
|
+
|
|
10
|
+
color: var(--quote-color, var(--helix-color-foreground-muted));
|
|
11
|
+
font: inherit;
|
|
12
|
+
font-style: italic;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media print {
|
|
16
|
+
:host {
|
|
17
|
+
background-color: transparent;
|
|
18
|
+
box-shadow: none;
|
|
19
|
+
}
|
|
20
|
+
}`);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HelixHeadlessQuote } from '@fusion.dev/helix-headless/quote';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A short quotation, set inline with the text around it.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* Takes the surrounding type rather than a size of its own, because a quotation
|
|
8
|
+
* inside a paragraph is that paragraph's text with marks around it.
|
|
9
|
+
*
|
|
10
|
+
* @since 0.1.0
|
|
11
|
+
* @status stable
|
|
12
|
+
* @category typography
|
|
13
|
+
* @aliases Q, InlineQuote
|
|
14
|
+
* @documentation https://helix.fusion.dev/components/quote
|
|
15
|
+
*
|
|
16
|
+
* @cssproperty --quote-color - Color of the quoted text.
|
|
17
|
+
*/
|
|
18
|
+
export declare class HelixQuote extends HelixHeadlessQuote {
|
|
19
|
+
static styles: CSSResultGroup;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'helix-quote': HelixQuote;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { customElement } from '@fusion.dev/helix-core';
|
|
8
|
+
import { HelixHeadlessQuote } from '@fusion.dev/helix-headless/quote';
|
|
9
|
+
import { styles } from './quote-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary A short quotation, set inline with the text around it.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* Takes the surrounding type rather than a size of its own, because a quotation
|
|
15
|
+
* inside a paragraph is that paragraph's text with marks around it.
|
|
16
|
+
*
|
|
17
|
+
* @since 0.1.0
|
|
18
|
+
* @status stable
|
|
19
|
+
* @category typography
|
|
20
|
+
* @aliases Q, InlineQuote
|
|
21
|
+
* @documentation https://helix.fusion.dev/components/quote
|
|
22
|
+
*
|
|
23
|
+
* @cssproperty --quote-color - Color of the quoted text.
|
|
24
|
+
*/
|
|
25
|
+
let HelixQuote = class HelixQuote extends HelixHeadlessQuote {
|
|
26
|
+
static { this.styles = styles; }
|
|
27
|
+
};
|
|
28
|
+
HelixQuote = __decorate([
|
|
29
|
+
customElement('helix-quote')
|
|
30
|
+
], HelixQuote);
|
|
31
|
+
export { HelixQuote };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Generated from src/radio/group/radio-group.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: var(--helix-space-2xs);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[part="items"] {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: var(--radio-group-gap, var(--helix-space-xs));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host([orientation="horizontal"]) [part="items"] {
|
|
16
|
+
column-gap: var(--radio-group-gap, var(--helix-space-md));
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
flex-wrap: wrap;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host(:state(invalid)) [part="items"] {
|
|
22
|
+
--radio-border-color: var(--helix-color-danger);
|
|
23
|
+
}`);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HelixHeadlessRadioGroup } from '@fusion.dev/helix-headless/radio';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A set of choices where exactly one is the answer.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The field's three parts, laid out the way every other field lays them out: a
|
|
8
|
+
* question over the set, and one line under it that is help until something is
|
|
9
|
+
* wrong. `orientation` lays out the choices and not the field, so a horizontal
|
|
10
|
+
* group keeps its question above the row rather than beside the first choice.
|
|
11
|
+
*
|
|
12
|
+
* @since 0.1.0
|
|
13
|
+
* @status experimental
|
|
14
|
+
* @aliases RadioButtons, Choice group
|
|
15
|
+
* @documentation https://helix.fusion.dev/components/radio-group
|
|
16
|
+
*
|
|
17
|
+
* @cssproperty --radio-group-gap - Space between the choices.
|
|
18
|
+
*/
|
|
19
|
+
export declare class HelixRadioGroup extends HelixHeadlessRadioGroup {
|
|
20
|
+
static styles: CSSResultGroup;
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
'helix-radio-group': HelixRadioGroup;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { customElement } from '@fusion.dev/helix-core';
|
|
8
|
+
import { HelixHeadlessRadioGroup } from '@fusion.dev/helix-headless/radio';
|
|
9
|
+
import { styles as fieldStyles } from '../../shared/field/field.css.js';
|
|
10
|
+
import { styles as fieldStackedStyles } from '../../shared/field/field-stacked.css.js';
|
|
11
|
+
import { styles } from './radio-group.css.js';
|
|
12
|
+
/**
|
|
13
|
+
* @summary A set of choices where exactly one is the answer.
|
|
14
|
+
*
|
|
15
|
+
* @description
|
|
16
|
+
* The field's three parts, laid out the way every other field lays them out: a
|
|
17
|
+
* question over the set, and one line under it that is help until something is
|
|
18
|
+
* wrong. `orientation` lays out the choices and not the field, so a horizontal
|
|
19
|
+
* group keeps its question above the row rather than beside the first choice.
|
|
20
|
+
*
|
|
21
|
+
* @since 0.1.0
|
|
22
|
+
* @status experimental
|
|
23
|
+
* @aliases RadioButtons, Choice group
|
|
24
|
+
* @documentation https://helix.fusion.dev/components/radio-group
|
|
25
|
+
*
|
|
26
|
+
* @cssproperty --radio-group-gap - Space between the choices.
|
|
27
|
+
*/
|
|
28
|
+
let HelixRadioGroup = class HelixRadioGroup extends HelixHeadlessRadioGroup {
|
|
29
|
+
static { this.styles = [fieldStyles, fieldStackedStyles, styles]; }
|
|
30
|
+
};
|
|
31
|
+
HelixRadioGroup = __decorate([
|
|
32
|
+
customElement('helix-radio-group')
|
|
33
|
+
], HelixRadioGroup);
|
|
34
|
+
export { HelixRadioGroup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
// Generated from src/radio/root/radio-root.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
display: block;
|
|
5
|
+
|
|
6
|
+
--_radio-size: var(--radio-size, var(--helix-size-checkbox));
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[part="item"] {
|
|
10
|
+
all: unset;
|
|
11
|
+
align-items: center;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
display: inline-flex;
|
|
15
|
+
gap: var(--helix-space-xs);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host([disabled]) [part="item"] {
|
|
19
|
+
cursor: default;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:host([disabled]) {
|
|
23
|
+
opacity: 0.5;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[part="box"] {
|
|
27
|
+
|
|
28
|
+
background-color: var(--radio-background-color, var(--helix-color-background));
|
|
29
|
+
block-size: var(--_radio-size);
|
|
30
|
+
border: var(--helix-border-thin) solid var(--radio-border-color, var(--helix-color-border));
|
|
31
|
+
|
|
32
|
+
border-radius: var(--helix-radii-full);
|
|
33
|
+
display: grid;
|
|
34
|
+
flex: 0 0 auto;
|
|
35
|
+
inline-size: var(--_radio-size);
|
|
36
|
+
place-items: center;
|
|
37
|
+
transition: border-color var(--helix-duration-fast) var(--helix-easing-standard);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host(:not([disabled])) [part="item"]:hover [part="box"] {
|
|
41
|
+
border-color: var(--radio-border-color, var(--helix-color-foreground-muted));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host(:state(selected)) [part="box"] {
|
|
45
|
+
border-color: var(--radio-border-color, var(--helix-color-foreground));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[part="mark"] {
|
|
49
|
+
background-color: var(--radio-mark-color, var(--helix-color-foreground));
|
|
50
|
+
block-size: calc(var(--_radio-size) * 0.4);
|
|
51
|
+
border-radius: var(--helix-radii-full);
|
|
52
|
+
inline-size: calc(var(--_radio-size) * 0.4);
|
|
53
|
+
|
|
54
|
+
scale: 0;
|
|
55
|
+
transition: scale var(--helix-duration-fast) var(--helix-easing-emphasized);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:host(:state(selected)) [part="mark"] {
|
|
59
|
+
scale: 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[part="item"]:focus-visible [part="box"] {
|
|
63
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
64
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[part="label"] {
|
|
68
|
+
color: var(--helix-color-foreground);
|
|
69
|
+
font-family: var(--helix-font-sans);
|
|
70
|
+
font-size: var(--helix-text-sm);
|
|
71
|
+
font-weight: var(--helix-weight-medium);
|
|
72
|
+
line-height: var(--helix-leading-tight);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (prefers-reduced-motion: reduce) {
|
|
76
|
+
[part="mark"],
|
|
77
|
+
[part="box"] {
|
|
78
|
+
transition: none;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:host([variant="card"]) {
|
|
83
|
+
display: block;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:host([variant="card"]) [part="item"] {
|
|
87
|
+
align-items: start;
|
|
88
|
+
background-color: var(--radio-card-background-color, var(--helix-color-surface));
|
|
89
|
+
border: var(--helix-border-thin) solid var(--radio-card-border-color, var(--helix-color-border));
|
|
90
|
+
border-radius: var(--helix-radii-sm);
|
|
91
|
+
display: flex;
|
|
92
|
+
gap: var(--helix-space-sm);
|
|
93
|
+
inline-size: 100%;
|
|
94
|
+
padding: var(--radio-card-padding, var(--helix-space-md));
|
|
95
|
+
transition:
|
|
96
|
+
background-color var(--helix-duration-fast) var(--helix-easing-standard),
|
|
97
|
+
border-color var(--helix-duration-fast) var(--helix-easing-standard);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host(:not([disabled])[variant="card"]) [part="item"]:hover {
|
|
101
|
+
border-color: var(--helix-color-foreground-muted);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:host([variant="card"]:state(selected)) [part="item"] {
|
|
105
|
+
background-color: var(--helix-color-surface-raised);
|
|
106
|
+
border-color: var(--helix-color-primary);
|
|
107
|
+
box-shadow: 0 0 0 var(--helix-border-thick) var(--helix-color-primary);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
:host([variant="card"]) [part="item"]:focus-visible {
|
|
111
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
112
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:host([variant="card"]) [part="item"]:focus-visible [part="box"] {
|
|
116
|
+
outline: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:host([variant="card"]) [part="box"] {
|
|
120
|
+
margin-block-start: calc(
|
|
121
|
+
(var(--helix-text-sm) * var(--helix-leading-tight) - var(--_radio-size)) /
|
|
122
|
+
2
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host([variant="card"][hide-control]) [part="box"] {
|
|
127
|
+
display: none;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@media (prefers-reduced-motion: reduce) {
|
|
131
|
+
:host([variant="card"]) [part="item"] {
|
|
132
|
+
transition: none;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:host([variant="chip"]) [part="box"] {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
:host([variant="chip"]) [part="item"] {
|
|
141
|
+
align-items: center;
|
|
142
|
+
background-color: var(--helix-color-surface-sunken);
|
|
143
|
+
block-size: var(--radio-chip-size, var(--helix-size-control));
|
|
144
|
+
border-radius: var(--helix-radii-full);
|
|
145
|
+
color: var(--helix-color-foreground-muted);
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
display: inline-flex;
|
|
148
|
+
inline-size: var(--radio-chip-size, var(--helix-size-control));
|
|
149
|
+
justify-content: center;
|
|
150
|
+
padding: 0;
|
|
151
|
+
transition:
|
|
152
|
+
background-color var(--helix-duration-fast) var(--helix-easing-standard),
|
|
153
|
+
box-shadow var(--helix-duration-fast) var(--helix-easing-standard),
|
|
154
|
+
translate var(--helix-duration-fast) var(--helix-easing-standard);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
:host([variant="chip"]:state(selected)) [part="item"] {
|
|
158
|
+
background-color: var(--helix-color-surface-inverse);
|
|
159
|
+
box-shadow: var(--helix-shadow-md);
|
|
160
|
+
color: var(--helix-color-foreground-inverse);
|
|
161
|
+
translate: 0 -2px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
:host(:not([disabled])[variant="chip"]) [part="item"]:hover {
|
|
165
|
+
translate: 0 -1px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
:host([variant="chip"]) [part="item"]:focus-visible {
|
|
169
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
170
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
:host([variant="chip"]) [part="label"] {
|
|
174
|
+
clip-path: inset(50%);
|
|
175
|
+
block-size: 1px;
|
|
176
|
+
inline-size: 1px;
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
position: absolute;
|
|
179
|
+
white-space: nowrap;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@media (prefers-reduced-motion: reduce) {
|
|
183
|
+
:host([variant="chip"]) [part="item"] {
|
|
184
|
+
transition: none;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
:host([variant="chip"]:state(selected)) [part="item"],
|
|
188
|
+
:host(:not([disabled])[variant="chip"]) [part="item"]:hover {
|
|
189
|
+
translate: none;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
@media print {
|
|
194
|
+
:host {
|
|
195
|
+
box-shadow: none;
|
|
196
|
+
print-color-adjust: exact;
|
|
197
|
+
}
|
|
198
|
+
}`);
|