@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,78 @@
|
|
|
1
|
+
import { HelixHeadlessSplitter } from '@fusion.dev/helix-headless/splitter';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Two panes and a divider the reader can move.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The divider is a line to look at and a box to hit, and they are different
|
|
8
|
+
* sizes. Drawn at the border's own width it is a one pixel pointer target, which
|
|
9
|
+
* is the fault every hand-rolled splitter has; the line is a border and the
|
|
10
|
+
* target is the box around it.
|
|
11
|
+
*
|
|
12
|
+
* It lights on hover before it is touched, because a hairline says nothing about
|
|
13
|
+
* being movable, and the whole target lights rather than the line, so the thing
|
|
14
|
+
* that answers the pointer is the thing that changed.
|
|
15
|
+
*
|
|
16
|
+
* Both panes scroll and both have their minimum size taken off them. A flex
|
|
17
|
+
* item's floor is its content, so a pane holding anything scrollable would
|
|
18
|
+
* otherwise refuse to go below it: the divider would stop at a width nobody
|
|
19
|
+
* asked for and nothing would say why.
|
|
20
|
+
*
|
|
21
|
+
* The corner where a nested splitter crosses is twice the divider's target,
|
|
22
|
+
* because it is aimed at as a point rather than a line. It draws nothing of its
|
|
23
|
+
* own: the `move` cursor already says what it is, at the moment a reader is on
|
|
24
|
+
* it. A ring on focus is the exception, since with nothing drawn there would
|
|
25
|
+
* otherwise be no way to see where the keyboard is.
|
|
26
|
+
*
|
|
27
|
+
* A divider stays lit for as long as it is moving, which `:hover` cannot say on
|
|
28
|
+
* its own: a drag captures the pointer, and a corner moves the nested divider
|
|
29
|
+
* while the reader is nowhere near it. It goes primary while it moves rather
|
|
30
|
+
* than merely darker, because hover is a question and a drag is an answer, and
|
|
31
|
+
* because a corner moving two dividers at once needs the pair to read as one
|
|
32
|
+
* gesture.
|
|
33
|
+
*
|
|
34
|
+
* @since 0.1.0
|
|
35
|
+
* @status experimental
|
|
36
|
+
* @category layout
|
|
37
|
+
* @aliases SplitPane, Resizable, SplitView
|
|
38
|
+
* @documentation https://helix.fusion.dev/components/splitter
|
|
39
|
+
*
|
|
40
|
+
* @csspart corner - The handle where a nested splitter's divider crosses this one.
|
|
41
|
+
* @csspart end - The box holding the second.
|
|
42
|
+
* @csspart separator - The divider itself.
|
|
43
|
+
* @csspart start - The box holding the first pane.
|
|
44
|
+
*
|
|
45
|
+
* @cssproperty --splitter-color - The line between the panes.
|
|
46
|
+
* @cssproperty --splitter-corner - How wide the handle at a crossing is.
|
|
47
|
+
* @cssproperty --splitter-drag-color - The line while it is being moved.
|
|
48
|
+
* @cssproperty --splitter-grip-color - The grip beside the line, once it is shown.
|
|
49
|
+
* @cssproperty --splitter-grip-length - How far the grip runs along the divider.
|
|
50
|
+
* @cssproperty --splitter-hover-color - The target under the pointer.
|
|
51
|
+
* @cssproperty --splitter-target - How wide the draggable box is.
|
|
52
|
+
*/
|
|
53
|
+
export declare class HelixSplitter extends HelixHeadlessSplitter {
|
|
54
|
+
/**
|
|
55
|
+
* Whether the divider carries a grip.
|
|
56
|
+
*
|
|
57
|
+
* - `line` is the divider alone, for a splitter the reader already knows is
|
|
58
|
+
* one: an editor, a mail client, anything they open every day.
|
|
59
|
+
* - `grip` adds a short capsule beside the line, for the first encounter. A
|
|
60
|
+
* hairline between two panels is a border until something says otherwise,
|
|
61
|
+
* and at rest the only thing saying otherwise is a cursor that appears once
|
|
62
|
+
* the pointer is already on it.
|
|
63
|
+
*
|
|
64
|
+
* `grip` rather than `handle`, which this component has already spent on the
|
|
65
|
+
* corner: that is a box the reader grabs, and this is a mark that says the
|
|
66
|
+
* line can be grabbed. The grip adds no hit area of its own.
|
|
67
|
+
*
|
|
68
|
+
* Both are writable, so a generated page can say which it means rather than
|
|
69
|
+
* relying on the absence of an attribute.
|
|
70
|
+
*/
|
|
71
|
+
variant?: 'grip' | 'line';
|
|
72
|
+
static styles: CSSResultGroup;
|
|
73
|
+
}
|
|
74
|
+
declare global {
|
|
75
|
+
interface HTMLElementTagNameMap {
|
|
76
|
+
'helix-splitter': HelixSplitter;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 { HelixHeadlessSplitter } from '@fusion.dev/helix-headless/splitter';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles } from './splitter-root.css.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary Two panes and a divider the reader can move.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* The divider is a line to look at and a box to hit, and they are different
|
|
16
|
+
* sizes. Drawn at the border's own width it is a one pixel pointer target, which
|
|
17
|
+
* is the fault every hand-rolled splitter has; the line is a border and the
|
|
18
|
+
* target is the box around it.
|
|
19
|
+
*
|
|
20
|
+
* It lights on hover before it is touched, because a hairline says nothing about
|
|
21
|
+
* being movable, and the whole target lights rather than the line, so the thing
|
|
22
|
+
* that answers the pointer is the thing that changed.
|
|
23
|
+
*
|
|
24
|
+
* Both panes scroll and both have their minimum size taken off them. A flex
|
|
25
|
+
* item's floor is its content, so a pane holding anything scrollable would
|
|
26
|
+
* otherwise refuse to go below it: the divider would stop at a width nobody
|
|
27
|
+
* asked for and nothing would say why.
|
|
28
|
+
*
|
|
29
|
+
* The corner where a nested splitter crosses is twice the divider's target,
|
|
30
|
+
* because it is aimed at as a point rather than a line. It draws nothing of its
|
|
31
|
+
* own: the `move` cursor already says what it is, at the moment a reader is on
|
|
32
|
+
* it. A ring on focus is the exception, since with nothing drawn there would
|
|
33
|
+
* otherwise be no way to see where the keyboard is.
|
|
34
|
+
*
|
|
35
|
+
* A divider stays lit for as long as it is moving, which `:hover` cannot say on
|
|
36
|
+
* its own: a drag captures the pointer, and a corner moves the nested divider
|
|
37
|
+
* while the reader is nowhere near it. It goes primary while it moves rather
|
|
38
|
+
* than merely darker, because hover is a question and a drag is an answer, and
|
|
39
|
+
* because a corner moving two dividers at once needs the pair to read as one
|
|
40
|
+
* gesture.
|
|
41
|
+
*
|
|
42
|
+
* @since 0.1.0
|
|
43
|
+
* @status experimental
|
|
44
|
+
* @category layout
|
|
45
|
+
* @aliases SplitPane, Resizable, SplitView
|
|
46
|
+
* @documentation https://helix.fusion.dev/components/splitter
|
|
47
|
+
*
|
|
48
|
+
* @csspart corner - The handle where a nested splitter's divider crosses this one.
|
|
49
|
+
* @csspart end - The box holding the second.
|
|
50
|
+
* @csspart separator - The divider itself.
|
|
51
|
+
* @csspart start - The box holding the first pane.
|
|
52
|
+
*
|
|
53
|
+
* @cssproperty --splitter-color - The line between the panes.
|
|
54
|
+
* @cssproperty --splitter-corner - How wide the handle at a crossing is.
|
|
55
|
+
* @cssproperty --splitter-drag-color - The line while it is being moved.
|
|
56
|
+
* @cssproperty --splitter-grip-color - The grip beside the line, once it is shown.
|
|
57
|
+
* @cssproperty --splitter-grip-length - How far the grip runs along the divider.
|
|
58
|
+
* @cssproperty --splitter-hover-color - The target under the pointer.
|
|
59
|
+
* @cssproperty --splitter-target - How wide the draggable box is.
|
|
60
|
+
*/
|
|
61
|
+
let HelixSplitter = class HelixSplitter extends HelixHeadlessSplitter {
|
|
62
|
+
static { this.styles = styles; }
|
|
63
|
+
};
|
|
64
|
+
__decorate([
|
|
65
|
+
property({ reflect: true })
|
|
66
|
+
], HelixSplitter.prototype, "variant", void 0);
|
|
67
|
+
HelixSplitter = __decorate([
|
|
68
|
+
customElement('helix-splitter')
|
|
69
|
+
], HelixSplitter);
|
|
70
|
+
export { HelixSplitter };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// Generated from src/stat/group/stat-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-wrap: wrap;
|
|
6
|
+
gap: var(--stat-group-gap, var(--helix-space-2xl));
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:host([divided]) ::slotted(*:not(:first-child)) {
|
|
10
|
+
border-inline-start: var(--helix-border-thin) solid var(--helix-color-border);
|
|
11
|
+
padding-inline-start: var(--stat-group-gap, var(--helix-space-2xl));
|
|
12
|
+
}`);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HelixHeadlessStatGroup } from '@fusion.dev/helix-headless/stat';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A row of related measurements.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* Wraps rather than scrolls, and each figure keeps its own width instead of
|
|
8
|
+
* every one taking an equal share: a set of figures is read by comparing them,
|
|
9
|
+
* and equal columns make a four-digit number and a two-digit one look like the
|
|
10
|
+
* same quantity.
|
|
11
|
+
*
|
|
12
|
+
* @since 0.1.0
|
|
13
|
+
* @status stable
|
|
14
|
+
* @aliases Metrics, KPIs, Figures
|
|
15
|
+
* @documentation https://helix.fusion.dev/components/stat
|
|
16
|
+
*
|
|
17
|
+
* @cssproperty --stat-group-gap - Space between figures.
|
|
18
|
+
*/
|
|
19
|
+
export declare class HelixStatGroup extends HelixHeadlessStatGroup {
|
|
20
|
+
/**
|
|
21
|
+
* Whether the figures are separated by a rule as well as by space.
|
|
22
|
+
*/
|
|
23
|
+
divided: boolean;
|
|
24
|
+
static styles: CSSResultGroup;
|
|
25
|
+
}
|
|
26
|
+
declare global {
|
|
27
|
+
interface HTMLElementTagNameMap {
|
|
28
|
+
'helix-stat-group': HelixStatGroup;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -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 { HelixHeadlessStatGroup } from '@fusion.dev/helix-headless/stat';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles } from './stat-group.css.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary A row of related measurements.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* Wraps rather than scrolls, and each figure keeps its own width instead of
|
|
16
|
+
* every one taking an equal share: a set of figures is read by comparing them,
|
|
17
|
+
* and equal columns make a four-digit number and a two-digit one look like the
|
|
18
|
+
* same quantity.
|
|
19
|
+
*
|
|
20
|
+
* @since 0.1.0
|
|
21
|
+
* @status stable
|
|
22
|
+
* @aliases Metrics, KPIs, Figures
|
|
23
|
+
* @documentation https://helix.fusion.dev/components/stat
|
|
24
|
+
*
|
|
25
|
+
* @cssproperty --stat-group-gap - Space between figures.
|
|
26
|
+
*/
|
|
27
|
+
let HelixStatGroup = class HelixStatGroup extends HelixHeadlessStatGroup {
|
|
28
|
+
constructor() {
|
|
29
|
+
super(...arguments);
|
|
30
|
+
/**
|
|
31
|
+
* Whether the figures are separated by a rule as well as by space.
|
|
32
|
+
*/
|
|
33
|
+
this.divided = false;
|
|
34
|
+
}
|
|
35
|
+
static { this.styles = styles; }
|
|
36
|
+
};
|
|
37
|
+
__decorate([
|
|
38
|
+
property({ reflect: true, type: Boolean })
|
|
39
|
+
], HelixStatGroup.prototype, "divided", void 0);
|
|
40
|
+
HelixStatGroup = __decorate([
|
|
41
|
+
customElement('helix-stat-group')
|
|
42
|
+
], HelixStatGroup);
|
|
43
|
+
export { HelixStatGroup };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// Generated from src/stat/root/stat-root.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
|
|
5
|
+
align-content: start;
|
|
6
|
+
|
|
7
|
+
align-items: baseline;
|
|
8
|
+
display: grid;
|
|
9
|
+
gap: var(--helix-space-2xs);
|
|
10
|
+
grid-template-columns: auto 1fr;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
slot[name="label"]::slotted(*) {
|
|
14
|
+
color: var(--helix-color-foreground-muted);
|
|
15
|
+
font-size: calc(var(--helix-text-xs) / var(--helix-text-md) * 1em);
|
|
16
|
+
font-weight: var(--helix-weight-medium);
|
|
17
|
+
grid-column: 1 / -1;
|
|
18
|
+
letter-spacing: var(--helix-tracking-wide);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
slot:not([name]) {
|
|
22
|
+
color: var(--helix-color-foreground);
|
|
23
|
+
font-family: var(--helix-font-display);
|
|
24
|
+
font-size: var(--stat-value-size, calc(var(--helix-text-3xl) / var(--helix-text-md) * 1em));
|
|
25
|
+
font-weight: var(--helix-weight-semibold);
|
|
26
|
+
letter-spacing: var(--helix-tracking-tight);
|
|
27
|
+
line-height: var(--helix-leading-tight);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
slot[name="unit"]::slotted(*) {
|
|
31
|
+
color: var(--helix-color-foreground-muted);
|
|
32
|
+
font-size: calc(var(--helix-text-md) / var(--helix-text-md) * 1em);
|
|
33
|
+
font-weight: var(--helix-weight-medium);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host([direction="column-reverse"]) slot[name="label"]::slotted(*) {
|
|
37
|
+
order: 1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host([direction="row"]),
|
|
41
|
+
:host([direction="row-reverse"]) {
|
|
42
|
+
align-items: baseline;
|
|
43
|
+
display: flex;
|
|
44
|
+
gap: var(--helix-space-xs);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
:host([direction="row"]) slot[name="label"]::slotted(*),
|
|
48
|
+
:host([direction="row-reverse"]) slot[name="label"]::slotted(*) {
|
|
49
|
+
grid-column: auto;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([direction="row-reverse"]) slot[name="label"] {
|
|
53
|
+
order: 1;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@media print {
|
|
57
|
+
:host {
|
|
58
|
+
box-shadow: none;
|
|
59
|
+
}
|
|
60
|
+
}`);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { HelixHeadlessStat } from '@fusion.dev/helix-headless/stat';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary One measurement, with the word for what it measures.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The value is set on the display face at a size the type scale does not reach,
|
|
8
|
+
* because a figure is the one place on a page where the number is the design.
|
|
9
|
+
* The label sits above it in the label ramp, quiet and wide-tracked, so the
|
|
10
|
+
* pair reads as one object rather than as two lines of text.
|
|
11
|
+
*
|
|
12
|
+
* @since 0.1.0
|
|
13
|
+
* @status stable
|
|
14
|
+
* @category data
|
|
15
|
+
* @aliases Metric, KPI, Figure
|
|
16
|
+
* @documentation https://helix.fusion.dev/components/stat
|
|
17
|
+
*
|
|
18
|
+
* @cssproperty --stat-value-size - Size of the figure.
|
|
19
|
+
*/
|
|
20
|
+
export declare class HelixStat extends HelixHeadlessStat {
|
|
21
|
+
static styles: CSSResultGroup;
|
|
22
|
+
}
|
|
23
|
+
declare global {
|
|
24
|
+
interface HTMLElementTagNameMap {
|
|
25
|
+
'helix-stat': HelixStat;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { HelixHeadlessStat } from '@fusion.dev/helix-headless/stat';
|
|
9
|
+
import { styles } from './stat-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary One measurement, with the word for what it measures.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* The value is set on the display face at a size the type scale does not reach,
|
|
15
|
+
* because a figure is the one place on a page where the number is the design.
|
|
16
|
+
* The label sits above it in the label ramp, quiet and wide-tracked, so the
|
|
17
|
+
* pair reads as one object rather than as two lines of text.
|
|
18
|
+
*
|
|
19
|
+
* @since 0.1.0
|
|
20
|
+
* @status stable
|
|
21
|
+
* @category data
|
|
22
|
+
* @aliases Metric, KPI, Figure
|
|
23
|
+
* @documentation https://helix.fusion.dev/components/stat
|
|
24
|
+
*
|
|
25
|
+
* @cssproperty --stat-value-size - Size of the figure.
|
|
26
|
+
*/
|
|
27
|
+
let HelixStat = class HelixStat extends HelixHeadlessStat {
|
|
28
|
+
static { this.styles = styles; }
|
|
29
|
+
};
|
|
30
|
+
HelixStat = __decorate([
|
|
31
|
+
customElement('helix-stat')
|
|
32
|
+
], HelixStat);
|
|
33
|
+
export { HelixStat };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// Generated from src/steps/root/steps-root.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
counter-reset: helix-step;
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: var(--steps-gap, var(--helix-space-md));
|
|
7
|
+
|
|
8
|
+
--_steps-m: var(--steps-marker-size, var(--helix-size-icon));
|
|
9
|
+
--_steps-mark-box: var(--_steps-m);
|
|
10
|
+
|
|
11
|
+
--_steps-connector-inset: var(--steps-connector-inset, var(--helix-space-2xs));
|
|
12
|
+
--_steps-columns: minmax(0, 1fr);
|
|
13
|
+
--_steps-marker-column: 1;
|
|
14
|
+
--_steps-marker-justify: center;
|
|
15
|
+
--_steps-body-column: 1;
|
|
16
|
+
--_steps-body-row: 2;
|
|
17
|
+
--_steps-body-align: center;
|
|
18
|
+
--_steps-row-gap: var(--helix-space-xs);
|
|
19
|
+
--_steps-content: none;
|
|
20
|
+
|
|
21
|
+
--_steps-lead-inline-start: calc(var(--steps-gap, var(--helix-space-md)) / -2);
|
|
22
|
+
--_steps-lead-inline-size: calc(
|
|
23
|
+
50% +
|
|
24
|
+
var(--steps-gap, var(--helix-space-md)) /
|
|
25
|
+
2 -
|
|
26
|
+
var(--_steps-mark-box) /
|
|
27
|
+
2 -
|
|
28
|
+
var(--_steps-connector-inset)
|
|
29
|
+
);
|
|
30
|
+
--_steps-lead-block-start: calc(var(--_steps-mark-box) / 2);
|
|
31
|
+
--_steps-lead-block-size: var(--helix-border-thin);
|
|
32
|
+
--_steps-trail-inline-start: calc(
|
|
33
|
+
50% +
|
|
34
|
+
var(--_steps-mark-box) /
|
|
35
|
+
2 +
|
|
36
|
+
var(--_steps-connector-inset)
|
|
37
|
+
);
|
|
38
|
+
--_steps-trail-inline-size: calc(
|
|
39
|
+
50% +
|
|
40
|
+
var(--steps-gap, var(--helix-space-md)) /
|
|
41
|
+
2 -
|
|
42
|
+
var(--_steps-mark-box) /
|
|
43
|
+
2 -
|
|
44
|
+
var(--_steps-connector-inset)
|
|
45
|
+
);
|
|
46
|
+
--_steps-trail-block-start: calc(var(--_steps-mark-box) / 2);
|
|
47
|
+
--_steps-trail-block-size: var(--helix-border-thin);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
:host(:not([orientation="vertical"])) ::slotted(*) {
|
|
51
|
+
flex: 1 1 0;
|
|
52
|
+
min-inline-size: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:host([orientation="vertical"]) {
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
|
|
58
|
+
--_steps-mark-box: var(--helix-size-control-tight);
|
|
59
|
+
--_steps-columns: auto minmax(0, 1fr);
|
|
60
|
+
--_steps-marker-justify: start;
|
|
61
|
+
--_steps-body-column: 2;
|
|
62
|
+
--_steps-body-row: 1;
|
|
63
|
+
--_steps-body-align: start;
|
|
64
|
+
--_steps-row-gap: var(--helix-space-2xs);
|
|
65
|
+
--_steps-content: grid;
|
|
66
|
+
|
|
67
|
+
--_steps-lead-inline-start: calc(var(--_steps-mark-box) / 2);
|
|
68
|
+
--_steps-lead-inline-size: var(--helix-border-thin);
|
|
69
|
+
--_steps-lead-block-start: calc(var(--steps-gap, var(--helix-space-md)) / -2);
|
|
70
|
+
--_steps-lead-block-size: calc(var(--steps-gap, var(--helix-space-md)) / 2);
|
|
71
|
+
--_steps-trail-inline-start: calc(var(--_steps-mark-box) / 2);
|
|
72
|
+
--_steps-trail-inline-size: var(--helix-border-thin);
|
|
73
|
+
--_steps-trail-block-start: var(--_steps-mark-box);
|
|
74
|
+
--_steps-trail-block-size: calc(
|
|
75
|
+
100% -
|
|
76
|
+
var(--_steps-mark-box) +
|
|
77
|
+
var(--steps-gap, var(--helix-space-md)) /
|
|
78
|
+
2
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:host([variant="numeric"]) {
|
|
83
|
+
--_steps-mark: none;
|
|
84
|
+
--_steps-count: counter(helix-step);
|
|
85
|
+
--_steps-marker-color: var(--helix-color-foreground-subtle);
|
|
86
|
+
--_steps-ink-complete: var(--helix-color-foreground-muted);
|
|
87
|
+
--_steps-ink-current: var(--helix-color-foreground);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@media print {
|
|
91
|
+
:host {
|
|
92
|
+
box-shadow: none;
|
|
93
|
+
}
|
|
94
|
+
}`);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HelixHeadlessSteps } from '@fusion.dev/helix-headless/steps';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A sequence of stages, and where the reader is in it.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The numbering is a CSS counter rather than a property, so a step's position
|
|
8
|
+
* is drawn by the browser at layout and is right in the server's markup with no
|
|
9
|
+
* script involved. Reordering the steps renumbers them; nothing has to be told.
|
|
10
|
+
*
|
|
11
|
+
* A step's name is a `helix-button`, so what it looks like under the pointer,
|
|
12
|
+
* with focus, and when refused are Button's decisions and Button's hooks. There
|
|
13
|
+
* is no `--steps-hover-color`: `--button-background-color` is that hook, and a
|
|
14
|
+
* second name for it here would be a second thing to keep in step.
|
|
15
|
+
*
|
|
16
|
+
* @since 0.1.0
|
|
17
|
+
* @status experimental
|
|
18
|
+
* @category navigation
|
|
19
|
+
* @aliases Stepper, Wizard, Progress steps
|
|
20
|
+
* @documentation https://helix.fusion.dev/components/steps
|
|
21
|
+
*
|
|
22
|
+
* @cssproperty --steps-complete-color - The mark on a finished step.
|
|
23
|
+
* @cssproperty --steps-connector-color - The rule running through the steps.
|
|
24
|
+
* @cssproperty --steps-connector-inset - Air either side of a mark, before the rail.
|
|
25
|
+
* @cssproperty --steps-current-color - The mark on the current step.
|
|
26
|
+
* @cssproperty --steps-gap - Space between one step and the next.
|
|
27
|
+
* @cssproperty --steps-marker-size - Size of the mark, glyph or digit.
|
|
28
|
+
*/
|
|
29
|
+
export declare class HelixSteps extends HelixHeadlessSteps {
|
|
30
|
+
static styles: CSSResultGroup;
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
'helix-steps': HelixSteps;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { HelixHeadlessSteps } from '@fusion.dev/helix-headless/steps';
|
|
9
|
+
import { styles } from './steps-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary A sequence of stages, and where the reader is in it.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* The numbering is a CSS counter rather than a property, so a step's position
|
|
15
|
+
* is drawn by the browser at layout and is right in the server's markup with no
|
|
16
|
+
* script involved. Reordering the steps renumbers them; nothing has to be told.
|
|
17
|
+
*
|
|
18
|
+
* A step's name is a `helix-button`, so what it looks like under the pointer,
|
|
19
|
+
* with focus, and when refused are Button's decisions and Button's hooks. There
|
|
20
|
+
* is no `--steps-hover-color`: `--button-background-color` is that hook, and a
|
|
21
|
+
* second name for it here would be a second thing to keep in step.
|
|
22
|
+
*
|
|
23
|
+
* @since 0.1.0
|
|
24
|
+
* @status experimental
|
|
25
|
+
* @category navigation
|
|
26
|
+
* @aliases Stepper, Wizard, Progress steps
|
|
27
|
+
* @documentation https://helix.fusion.dev/components/steps
|
|
28
|
+
*
|
|
29
|
+
* @cssproperty --steps-complete-color - The mark on a finished step.
|
|
30
|
+
* @cssproperty --steps-connector-color - The rule running through the steps.
|
|
31
|
+
* @cssproperty --steps-connector-inset - Air either side of a mark, before the rail.
|
|
32
|
+
* @cssproperty --steps-current-color - The mark on the current step.
|
|
33
|
+
* @cssproperty --steps-gap - Space between one step and the next.
|
|
34
|
+
* @cssproperty --steps-marker-size - Size of the mark, glyph or digit.
|
|
35
|
+
*/
|
|
36
|
+
let HelixSteps = class HelixSteps extends HelixHeadlessSteps {
|
|
37
|
+
static { this.styles = styles; }
|
|
38
|
+
};
|
|
39
|
+
HelixSteps = __decorate([
|
|
40
|
+
customElement('helix-steps')
|
|
41
|
+
], HelixSteps);
|
|
42
|
+
export { HelixSteps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|