@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,30 @@
|
|
|
1
|
+
// Generated from src/tour/root/tour-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: contents;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[part="spotlight"] {
|
|
8
|
+
border-radius: var(--tour-spotlight-radius, var(--helix-radii-md));
|
|
9
|
+
box-shadow: 0 0 0 100vmax var(--tour-scrim-color, var(--helix-color-overlay));
|
|
10
|
+
pointer-events: none;
|
|
11
|
+
position: fixed;
|
|
12
|
+
transition:
|
|
13
|
+
inset-block-start var(--helix-duration-normal) var(--helix-easing-standard),
|
|
14
|
+
inset-inline-start var(--helix-duration-normal) var(--helix-easing-standard),
|
|
15
|
+
block-size var(--helix-duration-normal) var(--helix-easing-standard),
|
|
16
|
+
inline-size var(--helix-duration-normal) var(--helix-easing-standard);
|
|
17
|
+
z-index: var(--helix-layer-overlay);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media (prefers-reduced-motion: reduce) {
|
|
21
|
+
[part="spotlight"] {
|
|
22
|
+
transition: none;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media print {
|
|
27
|
+
:host {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
}`);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { HelixHeadlessTour } from '@fusion.dev/helix-headless/tour';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A guided run through an interface, one stop at a time.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The styled tier of `BaseTour`. It draws the light and nothing else.
|
|
8
|
+
*
|
|
9
|
+
* @since 0.1.0
|
|
10
|
+
* @status experimental
|
|
11
|
+
* @category overlays
|
|
12
|
+
* @documentation https://helix.fusion.dev/components/tour
|
|
13
|
+
*
|
|
14
|
+
* @cssproperty --tour-scrim-color - The darkness outside the lit box.
|
|
15
|
+
* @cssproperty --tour-spotlight-radius - Corner radius of the lit box.
|
|
16
|
+
*/
|
|
17
|
+
export declare class HelixTour extends HelixHeadlessTour {
|
|
18
|
+
static styles: CSSResultGroup;
|
|
19
|
+
}
|
|
20
|
+
declare global {
|
|
21
|
+
interface HTMLElementTagNameMap {
|
|
22
|
+
'helix-tour': HelixTour;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { HelixHeadlessTour } from '@fusion.dev/helix-headless/tour';
|
|
9
|
+
import { styles } from './tour-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary A guided run through an interface, one stop at a time.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* The styled tier of `BaseTour`. It draws the light and nothing else.
|
|
15
|
+
*
|
|
16
|
+
* @since 0.1.0
|
|
17
|
+
* @status experimental
|
|
18
|
+
* @category overlays
|
|
19
|
+
* @documentation https://helix.fusion.dev/components/tour
|
|
20
|
+
*
|
|
21
|
+
* @cssproperty --tour-scrim-color - The darkness outside the lit box.
|
|
22
|
+
* @cssproperty --tour-spotlight-radius - Corner radius of the lit box.
|
|
23
|
+
*/
|
|
24
|
+
let HelixTour = class HelixTour extends HelixHeadlessTour {
|
|
25
|
+
static { this.styles = styles; }
|
|
26
|
+
};
|
|
27
|
+
HelixTour = __decorate([
|
|
28
|
+
customElement('helix-tour')
|
|
29
|
+
], HelixTour);
|
|
30
|
+
export { HelixTour };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// Generated from src/tour/stop/tour-stop.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
display: contents;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[part="bubble"] {
|
|
8
|
+
background-color: var(--tour-surface-color, var(--helix-color-surface-raised));
|
|
9
|
+
border: var(--tour-border-width, var(--helix-border-thin)) solid var(--helix-color-border);
|
|
10
|
+
border-radius: var(--helix-radii-md);
|
|
11
|
+
box-shadow: var(--tour-shadow, var(--helix-shadow-floating));
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
color: var(--helix-color-foreground);
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
gap: var(--helix-space-md);
|
|
17
|
+
inline-size: max-content;
|
|
18
|
+
margin: var(--helix-space-none);
|
|
19
|
+
max-inline-size: var(--tour-bubble-size, 22rem);
|
|
20
|
+
|
|
21
|
+
overflow: visible;
|
|
22
|
+
padding: var(--tour-padding, var(--helix-space-md));
|
|
23
|
+
position: fixed;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:host [part="bubble"][hidden] {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[part="content"] {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: var(--helix-space-xs);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[part="actions"] {
|
|
37
|
+
align-items: center;
|
|
38
|
+
display: flex;
|
|
39
|
+
gap: var(--helix-space-xs);
|
|
40
|
+
justify-content: flex-end;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[part="skip"] {
|
|
44
|
+
margin-inline-end: auto;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[part="arrow"] {
|
|
48
|
+
background-color: var(--tour-surface-color, var(--helix-color-surface-raised));
|
|
49
|
+
block-size: var(--tour-arrow-size, 0.625rem);
|
|
50
|
+
inline-size: var(--tour-arrow-size, 0.625rem);
|
|
51
|
+
position: absolute;
|
|
52
|
+
rotate: 45deg;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[part="bubble"][data-placement^="bottom"] [part="arrow"] {
|
|
56
|
+
border-block-start: var(--helix-border-thin) solid var(--helix-color-border);
|
|
57
|
+
border-inline-start: var(--helix-border-thin) solid var(--helix-color-border);
|
|
58
|
+
inset-block-start: calc(var(--tour-arrow-size, 0.625rem) / -2);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
[part="bubble"][data-placement^="top"] [part="arrow"] {
|
|
62
|
+
border-block-end: var(--helix-border-thin) solid var(--helix-color-border);
|
|
63
|
+
border-inline-end: var(--helix-border-thin) solid var(--helix-color-border);
|
|
64
|
+
inset-block-end: calc(var(--tour-arrow-size, 0.625rem) / -2);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[part="bubble"][data-placement^="right"] [part="arrow"] {
|
|
68
|
+
border-block-end: var(--helix-border-thin) solid var(--helix-color-border);
|
|
69
|
+
border-inline-start: var(--helix-border-thin) solid var(--helix-color-border);
|
|
70
|
+
inset-inline-start: calc(var(--tour-arrow-size, 0.625rem) / -2);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[part="bubble"][data-placement^="left"] [part="arrow"] {
|
|
74
|
+
border-block-start: var(--helix-border-thin) solid var(--helix-color-border);
|
|
75
|
+
border-inline-end: var(--helix-border-thin) solid var(--helix-color-border);
|
|
76
|
+
inset-inline-end: calc(var(--tour-arrow-size, 0.625rem) / -2);
|
|
77
|
+
}`);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { HelixHeadlessTourStop } from '@fusion.dev/helix-headless/tour';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
import '../../button/index.js';
|
|
4
|
+
/**
|
|
5
|
+
* @summary One stop on a tour: what it points at, and a panel to say it in.
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
* The styled tier of `BaseTourStop`. The panel is `Popover`'s panel by another
|
|
9
|
+
* name, on purpose.
|
|
10
|
+
*
|
|
11
|
+
* @since 0.1.0
|
|
12
|
+
* @status experimental
|
|
13
|
+
* @category overlays
|
|
14
|
+
* @documentation https://helix.fusion.dev/components/tour
|
|
15
|
+
*
|
|
16
|
+
* @cssproperty --tour-arrow-size - The point's box, before it is rotated.
|
|
17
|
+
* @cssproperty --tour-border-width - Width of the panel's edge. Follows
|
|
18
|
+
* `--helix-border-floating`, which is `0`, so the panel is told apart by its lift unless a
|
|
19
|
+
* theme says otherwise.
|
|
20
|
+
* @cssproperty --tour-bubble-size - How wide the panel may grow.
|
|
21
|
+
* @cssproperty --tour-padding - Inset inside the panel.
|
|
22
|
+
* @cssproperty --tour-shadow - Lift under the panel. Follows `--helix-shadow-floating`: a
|
|
23
|
+
* floating surface sits over content nobody can predict, so it keeps a lift by default.
|
|
24
|
+
* @cssproperty --tour-surface-color - The panel's own surface.
|
|
25
|
+
*/
|
|
26
|
+
export declare class HelixTourStop extends HelixHeadlessTourStop {
|
|
27
|
+
static tier: string;
|
|
28
|
+
static styles: CSSResultGroup;
|
|
29
|
+
}
|
|
30
|
+
declare global {
|
|
31
|
+
interface HTMLElementTagNameMap {
|
|
32
|
+
'helix-tour-stop': HelixTourStop;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { HelixHeadlessTourStop } from '@fusion.dev/helix-headless/tour';
|
|
9
|
+
import { styles } from './tour-stop.css.js';
|
|
10
|
+
import '../../button/index.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary One stop on a tour: what it points at, and a panel to say it in.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* The styled tier of `BaseTourStop`. The panel is `Popover`'s panel by another
|
|
16
|
+
* name, on purpose.
|
|
17
|
+
*
|
|
18
|
+
* @since 0.1.0
|
|
19
|
+
* @status experimental
|
|
20
|
+
* @category overlays
|
|
21
|
+
* @documentation https://helix.fusion.dev/components/tour
|
|
22
|
+
*
|
|
23
|
+
* @cssproperty --tour-arrow-size - The point's box, before it is rotated.
|
|
24
|
+
* @cssproperty --tour-border-width - Width of the panel's edge. Follows
|
|
25
|
+
* `--helix-border-floating`, which is `0`, so the panel is told apart by its lift unless a
|
|
26
|
+
* theme says otherwise.
|
|
27
|
+
* @cssproperty --tour-bubble-size - How wide the panel may grow.
|
|
28
|
+
* @cssproperty --tour-padding - Inset inside the panel.
|
|
29
|
+
* @cssproperty --tour-shadow - Lift under the panel. Follows `--helix-shadow-floating`: a
|
|
30
|
+
* floating surface sits over content nobody can predict, so it keeps a lift by default.
|
|
31
|
+
* @cssproperty --tour-surface-color - The panel's own surface.
|
|
32
|
+
*/
|
|
33
|
+
let HelixTourStop = class HelixTourStop extends HelixHeadlessTourStop {
|
|
34
|
+
static { this.tier = 'helix-'; }
|
|
35
|
+
static { this.styles = styles; }
|
|
36
|
+
};
|
|
37
|
+
HelixTourStop = __decorate([
|
|
38
|
+
customElement('helix-tour-stop')
|
|
39
|
+
], HelixTourStop);
|
|
40
|
+
export { HelixTourStop };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
// Generated from src/tree/item/tree-item.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
|
|
5
|
+
--_tree-chevron: var(--tree-chevron-size, var(--helix-size-icon-tight));
|
|
6
|
+
display: block;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[part="item"] {
|
|
10
|
+
border-radius: var(--helix-radii-sm);
|
|
11
|
+
margin-block-end: var(--tree-gap, var(--helix-space-2xs));
|
|
12
|
+
outline: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[part="row"] {
|
|
16
|
+
|
|
17
|
+
align-items: center;
|
|
18
|
+
border-radius: var(--helix-radii-sm);
|
|
19
|
+
color: var(--helix-color-foreground-muted);
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
display: flex;
|
|
22
|
+
font-size: var(--_tree-text, var(--helix-text-sm));
|
|
23
|
+
gap: var(--helix-space-2xs);
|
|
24
|
+
|
|
25
|
+
block-size: max(
|
|
26
|
+
var(--tree-row-size, var(--helix-size-control-tight)),
|
|
27
|
+
calc(1lh + var(--helix-space-xs) * 2)
|
|
28
|
+
);
|
|
29
|
+
min-block-size: var(--tree-row-size, var(--helix-size-control-tight));
|
|
30
|
+
padding-block: var(--helix-space-xs);
|
|
31
|
+
padding-inline: var(--helix-space-xs);
|
|
32
|
+
|
|
33
|
+
padding-inline-start: calc(
|
|
34
|
+
var(--helix-space-xs) +
|
|
35
|
+
(var(--tree-level, 1) - 1) *
|
|
36
|
+
var(--tree-indent, calc(var(--_tree-chevron) + var(--helix-space-2xs)))
|
|
37
|
+
);
|
|
38
|
+
transition: background-color var(--helix-duration-fast) var(--helix-easing-standard);
|
|
39
|
+
user-select: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[part="row"]:not(:has([part="toggle"])) {
|
|
43
|
+
padding-inline-start: calc(
|
|
44
|
+
var(--helix-space-xs) +
|
|
45
|
+
(var(--tree-level, 1) - 1) *
|
|
46
|
+
var(--tree-indent, calc(var(--_tree-chevron) + var(--helix-space-2xs))) +
|
|
47
|
+
var(--_tree-reserve, calc(var(--_tree-chevron) + var(--helix-space-2xs)))
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[part="row"]:has([part="toggle"]) {
|
|
52
|
+
font-weight: var(--helix-weight-medium);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[part="row"]:not(:has([part="toggle"])) {
|
|
56
|
+
font-weight: var(--helix-weight-medium);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
slot[name="children"]::slotted(*) {
|
|
60
|
+
--_tree-text: var(--helix-text-xs);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[part="row"]:hover {
|
|
64
|
+
background-color: var(--helix-color-surface-raised);
|
|
65
|
+
color: var(--helix-color-foreground);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host(:state(selected)) [part="row"] {
|
|
69
|
+
background-color: var(--helix-color-surface-sunken);
|
|
70
|
+
color: var(--helix-color-foreground);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[part="item"]:focus-visible [part="row"],
|
|
74
|
+
[part="row"]:focus-visible {
|
|
75
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
76
|
+
outline-offset: calc(var(--helix-size-focus-offset) * -1);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
a[part="row"] {
|
|
80
|
+
text-decoration: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[part="toggle"] {
|
|
84
|
+
block-size: var(--_tree-chevron);
|
|
85
|
+
color: var(--helix-color-foreground-subtle);
|
|
86
|
+
flex: 0 0 auto;
|
|
87
|
+
inline-size: var(--_tree-chevron);
|
|
88
|
+
transform: rotate(-90deg);
|
|
89
|
+
transition: transform var(--helix-duration-fast) var(--helix-easing-standard);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host(:state(open)) [part="toggle"] {
|
|
93
|
+
transform: rotate(0deg);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
[part="label"] {
|
|
97
|
+
|
|
98
|
+
align-self: stretch;
|
|
99
|
+
flex: 1;
|
|
100
|
+
|
|
101
|
+
min-inline-size: 0;
|
|
102
|
+
overflow: hidden;
|
|
103
|
+
text-overflow: ellipsis;
|
|
104
|
+
white-space: nowrap;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
[part="label"] slot::slotted(a) {
|
|
108
|
+
display: block;
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
text-overflow: ellipsis;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
slot[name="start"]::slotted(*),
|
|
114
|
+
slot[name="end"]::slotted(*) {
|
|
115
|
+
flex: 0 0 auto;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
slot[name="end"] {
|
|
119
|
+
align-items: center;
|
|
120
|
+
display: flex;
|
|
121
|
+
gap: var(--helix-space-2xs);
|
|
122
|
+
|
|
123
|
+
margin-inline-start: auto;
|
|
124
|
+
order: 1;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
slot[name="start"]::slotted(*) {
|
|
128
|
+
color: var(--helix-color-foreground-subtle);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
[part="group"] {
|
|
132
|
+
display: grid;
|
|
133
|
+
grid-template-rows: 1fr;
|
|
134
|
+
transition:
|
|
135
|
+
grid-template-rows var(--helix-duration-fast) var(--helix-easing-standard),
|
|
136
|
+
display var(--helix-duration-fast) allow-discrete;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
[part="group"] > slot {
|
|
140
|
+
display: block;
|
|
141
|
+
min-block-size: 0;
|
|
142
|
+
overflow: hidden;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
[part="group"][hidden] {
|
|
146
|
+
display: none;
|
|
147
|
+
grid-template-rows: 0fr;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@starting-style {
|
|
151
|
+
[part="group"]:not([hidden]) {
|
|
152
|
+
grid-template-rows: 0fr;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@media (prefers-reduced-motion: reduce) {
|
|
157
|
+
[part="group"] {
|
|
158
|
+
transition: none;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@media (prefers-reduced-motion: reduce) {
|
|
163
|
+
[part="row"] {
|
|
164
|
+
transition: none;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
[part="toggle"] {
|
|
168
|
+
transition: none;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
[part="toggle"] {
|
|
173
|
+
|
|
174
|
+
align-self: center;
|
|
175
|
+
margin-inline-start: var(--tree-chevron-gap, var(--helix-space-none));
|
|
176
|
+
order: var(--tree-chevron-order, 0);
|
|
177
|
+
}`);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { HelixHeadlessTreeItem } from '@fusion.dev/helix-headless/tree';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary One node in a tree.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* Indent comes from the `level` the tree sets, as a multiple of one hook, so a
|
|
8
|
+
* node moved to another depth re-indents without any nested selector. Nesting
|
|
9
|
+
* selectors by depth is the usual approach and stops working at whatever depth
|
|
10
|
+
* nobody wrote a rule for.
|
|
11
|
+
*
|
|
12
|
+
* The twisty rotates rather than swapping glyphs, so opening a branch is a
|
|
13
|
+
* short movement instead of a substitution. Motion carries the state change;
|
|
14
|
+
* the row itself stays flat.
|
|
15
|
+
*
|
|
16
|
+
* @since 0.1.0
|
|
17
|
+
* @status experimental
|
|
18
|
+
* @aliases TreeNode, Branch, Leaf
|
|
19
|
+
* @documentation https://helix.fusion.dev/components/tree
|
|
20
|
+
*
|
|
21
|
+
* @slot - The item's label.
|
|
22
|
+
* @slot children - Nested items, which make this a branch.
|
|
23
|
+
*
|
|
24
|
+
* @event {HelixSelectEvent} helix-select - Fired when the item is chosen. Cancelable: refusing it takes the decision and nothing moves.
|
|
25
|
+
*
|
|
26
|
+
* @csspart group - The container for nested items.
|
|
27
|
+
* @csspart item - The node, and the focus target.
|
|
28
|
+
* @csspart label - The label text.
|
|
29
|
+
* @csspart row - The clickable label row.
|
|
30
|
+
* @csspart toggle - The expand and collapse control.
|
|
31
|
+
*
|
|
32
|
+
* @cssproperty --tree-chevron-size - Size of the chevron, and the gutter a leaf reserves.
|
|
33
|
+
* @cssproperty --tree-gap - Space between rows.
|
|
34
|
+
* @cssproperty --tree-indent - Indent added per level.
|
|
35
|
+
* @cssproperty --tree-row-size - Least height of a row, so rows with and without an icon match.
|
|
36
|
+
*/
|
|
37
|
+
export declare class HelixTreeItem extends HelixHeadlessTreeItem {
|
|
38
|
+
static styles: CSSResultGroup;
|
|
39
|
+
}
|
|
40
|
+
declare global {
|
|
41
|
+
interface HTMLElementTagNameMap {
|
|
42
|
+
'helix-tree-item': HelixTreeItem;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { HelixHeadlessTreeItem } from '@fusion.dev/helix-headless/tree';
|
|
9
|
+
import { styles } from './tree-item.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary One node in a tree.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* Indent comes from the `level` the tree sets, as a multiple of one hook, so a
|
|
15
|
+
* node moved to another depth re-indents without any nested selector. Nesting
|
|
16
|
+
* selectors by depth is the usual approach and stops working at whatever depth
|
|
17
|
+
* nobody wrote a rule for.
|
|
18
|
+
*
|
|
19
|
+
* The twisty rotates rather than swapping glyphs, so opening a branch is a
|
|
20
|
+
* short movement instead of a substitution. Motion carries the state change;
|
|
21
|
+
* the row itself stays flat.
|
|
22
|
+
*
|
|
23
|
+
* @since 0.1.0
|
|
24
|
+
* @status experimental
|
|
25
|
+
* @aliases TreeNode, Branch, Leaf
|
|
26
|
+
* @documentation https://helix.fusion.dev/components/tree
|
|
27
|
+
*
|
|
28
|
+
* @slot - The item's label.
|
|
29
|
+
* @slot children - Nested items, which make this a branch.
|
|
30
|
+
*
|
|
31
|
+
* @event {HelixSelectEvent} helix-select - Fired when the item is chosen. Cancelable: refusing it takes the decision and nothing moves.
|
|
32
|
+
*
|
|
33
|
+
* @csspart group - The container for nested items.
|
|
34
|
+
* @csspart item - The node, and the focus target.
|
|
35
|
+
* @csspart label - The label text.
|
|
36
|
+
* @csspart row - The clickable label row.
|
|
37
|
+
* @csspart toggle - The expand and collapse control.
|
|
38
|
+
*
|
|
39
|
+
* @cssproperty --tree-chevron-size - Size of the chevron, and the gutter a leaf reserves.
|
|
40
|
+
* @cssproperty --tree-gap - Space between rows.
|
|
41
|
+
* @cssproperty --tree-indent - Indent added per level.
|
|
42
|
+
* @cssproperty --tree-row-size - Least height of a row, so rows with and without an icon match.
|
|
43
|
+
*/
|
|
44
|
+
let HelixTreeItem = class HelixTreeItem extends HelixHeadlessTreeItem {
|
|
45
|
+
static { this.styles = styles; }
|
|
46
|
+
};
|
|
47
|
+
HelixTreeItem = __decorate([
|
|
48
|
+
customElement('helix-tree-item')
|
|
49
|
+
], HelixTreeItem);
|
|
50
|
+
export { HelixTreeItem };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Generated from src/tree/root/tree-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
|
+
|
|
7
|
+
[part="tree"] {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host {
|
|
13
|
+
--tree-chevron-order: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host([chevron-placement="end"]) {
|
|
17
|
+
|
|
18
|
+
--tree-chevron-order: 2;
|
|
19
|
+
--tree-chevron-gap: var(--helix-space-none);
|
|
20
|
+
|
|
21
|
+
--_tree-reserve: var(--helix-space-none);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[part="empty"],
|
|
25
|
+
[part="loading"] {
|
|
26
|
+
color: var(--helix-color-foreground-subtle);
|
|
27
|
+
font-family: var(--helix-font-sans);
|
|
28
|
+
font-size: var(--helix-text-sm);
|
|
29
|
+
margin: var(--helix-space-none);
|
|
30
|
+
padding-block: var(--helix-space-md);
|
|
31
|
+
padding-inline: var(--helix-space-sm);
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
:host([loading]) [part="tree"] {
|
|
36
|
+
opacity: 0.5;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media print {
|
|
40
|
+
:host {
|
|
41
|
+
box-shadow: none;
|
|
42
|
+
}
|
|
43
|
+
}`);
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { HelixHeadlessTree } from '@fusion.dev/helix-headless/tree';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A tree of items, navigable entirely from the keyboard.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* Quiet by default: no rules between rows and no fill except on the selected
|
|
8
|
+
* item. A navigation tree is read by scanning, and every line of chrome added
|
|
9
|
+
* to it is one more thing between the reader and the label.
|
|
10
|
+
*
|
|
11
|
+
* @since 0.1.0
|
|
12
|
+
* @status experimental
|
|
13
|
+
* @category navigation
|
|
14
|
+
* @aliases FileTree, Navigation tree
|
|
15
|
+
* @documentation https://helix.fusion.dev/components/tree
|
|
16
|
+
*
|
|
17
|
+
* @slot - The tree's items.
|
|
18
|
+
*
|
|
19
|
+
* @event {HelixSelectEvent} helix-select - Fired when an item is chosen. Dispatched by the item and listened for here, because the tree is what a consumer holds a reference to. Cancelable: refusing it takes the decision and nothing moves.
|
|
20
|
+
*
|
|
21
|
+
* @csspart tree - The tree container.
|
|
22
|
+
*
|
|
23
|
+
* @cssproperty --tree-chevron-gap - Set from `chevron-placement`; the space before the chevron.
|
|
24
|
+
* @cssproperty --tree-chevron-order - Set from `chevron-placement`; read by each item.
|
|
25
|
+
* @cssproperty --tree-chevron-size - Size of the chevron, and the gutter a leaf reserves.
|
|
26
|
+
* @cssproperty --tree-gap - Space between rows.
|
|
27
|
+
* @cssproperty --tree-indent - Indent added per level.
|
|
28
|
+
* @cssproperty --tree-row-size - Least height of a row, so rows with and without an icon match.
|
|
29
|
+
*/
|
|
30
|
+
export declare class HelixTree extends HelixHeadlessTree {
|
|
31
|
+
/**
|
|
32
|
+
* Which end of the row the branch chevron sits at.
|
|
33
|
+
*
|
|
34
|
+
* Styled tier, because it is presentation and nothing else: it moves paint
|
|
35
|
+
* and leaves the markup, the ARIA and the reading order exactly as they were.
|
|
36
|
+
* It was written on the base class first, which the tier rule forbids for
|
|
37
|
+
* precisely this kind of property.
|
|
38
|
+
*
|
|
39
|
+
* On the tree rather than on the item, because it is a fact about the list. A
|
|
40
|
+
* navigation puts every chevron on the same side, and a per-item version
|
|
41
|
+
* would make a ragged tree writable and would have to be repeated on every
|
|
42
|
+
* row to say one thing.
|
|
43
|
+
*
|
|
44
|
+
* **Optional, with no default.** A reflected property that defaults to a
|
|
45
|
+
* value writes that value onto every host: `chevron-placement="start"`
|
|
46
|
+
* appeared in the server's markup for every tree anybody rendered, which is
|
|
47
|
+
* the same fault `href` and `target` had on `Button`. The resting arrangement
|
|
48
|
+
* is the absence of the attribute, and the stylesheet only asks about `end`.
|
|
49
|
+
*
|
|
50
|
+
* It is worth owning rather than leaving to `::part(toggle)`, which a
|
|
51
|
+
* consumer could reach for: the naive version is `order` plus an auto margin,
|
|
52
|
+
* and the row's `end` slot already carries an auto margin of its own, so the
|
|
53
|
+
* two split the free space and the chevron lands halfway along. Measured at
|
|
54
|
+
* 70px short. That is the kind of thing a component should absorb once.
|
|
55
|
+
*/
|
|
56
|
+
chevronPlacement?: 'start' | 'end';
|
|
57
|
+
static styles: CSSResultGroup;
|
|
58
|
+
}
|
|
59
|
+
declare global {
|
|
60
|
+
interface HTMLElementTagNameMap {
|
|
61
|
+
'helix-tree': HelixTree;
|
|
62
|
+
}
|
|
63
|
+
}
|