@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,106 @@
|
|
|
1
|
+
import { HelixHeadlessLineChart } from '@fusion.dev/helix-headless/line-chart';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
import '../../tooltip/index.js';
|
|
4
|
+
/**
|
|
5
|
+
* @summary A series over time as a line, read from a table.
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
* The lines take the series palette in order, so a chart of one is series one
|
|
9
|
+
* and a chart of four is the first four, and a legend beside it maps the same
|
|
10
|
+
* twenty-four.
|
|
11
|
+
*
|
|
12
|
+
* The stroke does not scale with the box. `preserveAspectRatio="none"` is what
|
|
13
|
+
* lets one drawing fill a narrow card and a wide panel, and without
|
|
14
|
+
* `vector-effect: non-scaling-stroke` the same line comes out hairline in the
|
|
15
|
+
* first and heavy in the second. It rescues strokes and not geometry, which is
|
|
16
|
+
* why the readings are joined by lines and marked by nothing: a circle in a
|
|
17
|
+
* stretched coordinate space is an ellipse, and there is no vector-effect that
|
|
18
|
+
* answers for a shape.
|
|
19
|
+
*
|
|
20
|
+
* @since 0.1.0
|
|
21
|
+
* @status experimental
|
|
22
|
+
* @category charts
|
|
23
|
+
* @groups charts
|
|
24
|
+
* @aliases Time Series, Trend Chart, Multi-line Chart
|
|
25
|
+
* @documentation https://helix.fusion.dev/components/line-chart
|
|
26
|
+
*
|
|
27
|
+
* @cssproperty --line-chart-area-opacity - How much of a line's color its wash takes.
|
|
28
|
+
* @cssproperty --line-chart-band-color - The slot the pointer is resting in.
|
|
29
|
+
* @cssproperty --line-chart-block-size - Height of the drawing.
|
|
30
|
+
* @cssproperty --line-chart-gap - Space between the drawing and its labels.
|
|
31
|
+
* @cssproperty --line-chart-gridline-color - One rule across the plot, under `gridlines`.
|
|
32
|
+
* @cssproperty --line-chart-width - Thickness of a line.
|
|
33
|
+
*/
|
|
34
|
+
export declare class HelixLineChart extends HelixHeadlessLineChart {
|
|
35
|
+
/**
|
|
36
|
+
* **The styled tier, so the tooltip this renders is the styled one.**
|
|
37
|
+
*
|
|
38
|
+
* `tag()` builds a child's tag name from this prefix, and the base declares
|
|
39
|
+
* `helix-headless-`. Every other styled component that renders a child
|
|
40
|
+
* overrides it; the three charts that draw a tooltip did not, so a
|
|
41
|
+
* `helix-bar-chart` on a page put a `helix-headless-tooltip` in its shadow
|
|
42
|
+
* root: the behavior with none of the surface. What showed was the browser's
|
|
43
|
+
* own popover defaults, a white 1.5px border, square corners, `0.25em` of
|
|
44
|
+
* padding and the page's font size, which is why the reading bubble looked
|
|
45
|
+
* like no other tooltip on the site.
|
|
46
|
+
*
|
|
47
|
+
* Measured before the fix: the chart's bubble computed
|
|
48
|
+
* `border: 1.5px solid rgb(255, 255, 255)`, `border-radius: 0px`,
|
|
49
|
+
* `padding: 3.5px`, `font-size: 14px`. The masthead's, a `helix-tooltip`,
|
|
50
|
+
* had the component's own `none`, `radii-sm`, `2xs xs` and `text-xs`.
|
|
51
|
+
*/
|
|
52
|
+
static tier: string;
|
|
53
|
+
/**
|
|
54
|
+
* How much ink the lines claim.
|
|
55
|
+
*
|
|
56
|
+
* `subtle` mixes each series toward the page, so a chart that is context stays
|
|
57
|
+
* legible without competing. Toward the page rather than translucent, because a
|
|
58
|
+
* translucent line takes its color from whatever it crosses, which on a chart
|
|
59
|
+
* with several is the whole risk.
|
|
60
|
+
*
|
|
61
|
+
* `outlined` thins the wash and leaves the line at full weight, so the boundary
|
|
62
|
+
* carries the reading, which is the trade `BarChart` makes on a column. `solid`
|
|
63
|
+
* takes the wash to full strength and the fill carries it instead.
|
|
64
|
+
*
|
|
65
|
+
* **This refused `outlined` until 25 Aug 2026, and `area` was the reason
|
|
66
|
+
* given**: on a column `outlined` is the edge without the loud fill, the line
|
|
67
|
+
* chart's version of that is the line without its wash, and `area` already says
|
|
68
|
+
* exactly that. `area` is unchanged and still says it. What the argument
|
|
69
|
+
* conflated is existence with weight: `area` decides whether a wash is drawn,
|
|
70
|
+
* which is structural and belongs to the tier below, and emphasis decides which
|
|
71
|
+
* of the two marks is carrying the reading. Both ends need a wash present and
|
|
72
|
+
* neither can summon one.
|
|
73
|
+
*
|
|
74
|
+
* `ghost` would be a chart with no lines.
|
|
75
|
+
*/
|
|
76
|
+
emphasis?: 'outlined' | 'solid' | 'subtle';
|
|
77
|
+
/**
|
|
78
|
+
* What the lines are made of.
|
|
79
|
+
*
|
|
80
|
+
* `glass` lets the gridlines read through them, which is what translucency is
|
|
81
|
+
* for on a chart rather than decoration.
|
|
82
|
+
*
|
|
83
|
+
* On the lines and not the wash: the wash is already scaled by
|
|
84
|
+
* `--helix-material-opacity` whatever this says, being a wash by nature, and
|
|
85
|
+
* scaling it twice would compound the policy against itself.
|
|
86
|
+
*
|
|
87
|
+
* **This paints a mark rather than a ground, and the axis still reads the
|
|
88
|
+
* same way.** On a surface the points are how much of the page shows through;
|
|
89
|
+
* on a series they are how much ink the mark has, and the order is the same:
|
|
90
|
+
* `glass` admits most, `frosted` admits less, absent is opaque. The two
|
|
91
|
+
* factors, 0.62 and 0.88, carry the relationship the surface tokens carry
|
|
92
|
+
* between `material-translucent` and `material-translucent-strong`, so a
|
|
93
|
+
* chart and a card mean the same thing by the word.
|
|
94
|
+
*
|
|
95
|
+
* **`transparent` is where this one stops.** A mark with no ink is not a
|
|
96
|
+
* material choice, it is an absent series, and a chart says that by not
|
|
97
|
+
* having the datum rather than by painting it invisibly. See 270.
|
|
98
|
+
*/
|
|
99
|
+
material?: 'frosted' | 'glass';
|
|
100
|
+
static styles: CSSResultGroup;
|
|
101
|
+
}
|
|
102
|
+
declare global {
|
|
103
|
+
interface HTMLElementTagNameMap {
|
|
104
|
+
'helix-line-chart': HelixLineChart;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { HelixHeadlessLineChart } from '@fusion.dev/helix-headless/line-chart';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles as seriesStyles } from '../../shared/chart/series.css.js';
|
|
11
|
+
import { styles as terminusStyles } from '../../shared/chart/terminus.css.js';
|
|
12
|
+
import { styles } from './line-chart-root.css.js';
|
|
13
|
+
import '../../tooltip/index.js';
|
|
14
|
+
/**
|
|
15
|
+
* @summary A series over time as a line, read from a table.
|
|
16
|
+
*
|
|
17
|
+
* @description
|
|
18
|
+
* The lines take the series palette in order, so a chart of one is series one
|
|
19
|
+
* and a chart of four is the first four, and a legend beside it maps the same
|
|
20
|
+
* twenty-four.
|
|
21
|
+
*
|
|
22
|
+
* The stroke does not scale with the box. `preserveAspectRatio="none"` is what
|
|
23
|
+
* lets one drawing fill a narrow card and a wide panel, and without
|
|
24
|
+
* `vector-effect: non-scaling-stroke` the same line comes out hairline in the
|
|
25
|
+
* first and heavy in the second. It rescues strokes and not geometry, which is
|
|
26
|
+
* why the readings are joined by lines and marked by nothing: a circle in a
|
|
27
|
+
* stretched coordinate space is an ellipse, and there is no vector-effect that
|
|
28
|
+
* answers for a shape.
|
|
29
|
+
*
|
|
30
|
+
* @since 0.1.0
|
|
31
|
+
* @status experimental
|
|
32
|
+
* @category charts
|
|
33
|
+
* @groups charts
|
|
34
|
+
* @aliases Time Series, Trend Chart, Multi-line Chart
|
|
35
|
+
* @documentation https://helix.fusion.dev/components/line-chart
|
|
36
|
+
*
|
|
37
|
+
* @cssproperty --line-chart-area-opacity - How much of a line's color its wash takes.
|
|
38
|
+
* @cssproperty --line-chart-band-color - The slot the pointer is resting in.
|
|
39
|
+
* @cssproperty --line-chart-block-size - Height of the drawing.
|
|
40
|
+
* @cssproperty --line-chart-gap - Space between the drawing and its labels.
|
|
41
|
+
* @cssproperty --line-chart-gridline-color - One rule across the plot, under `gridlines`.
|
|
42
|
+
* @cssproperty --line-chart-width - Thickness of a line.
|
|
43
|
+
*/
|
|
44
|
+
let HelixLineChart = class HelixLineChart extends HelixHeadlessLineChart {
|
|
45
|
+
/**
|
|
46
|
+
* **The styled tier, so the tooltip this renders is the styled one.**
|
|
47
|
+
*
|
|
48
|
+
* `tag()` builds a child's tag name from this prefix, and the base declares
|
|
49
|
+
* `helix-headless-`. Every other styled component that renders a child
|
|
50
|
+
* overrides it; the three charts that draw a tooltip did not, so a
|
|
51
|
+
* `helix-bar-chart` on a page put a `helix-headless-tooltip` in its shadow
|
|
52
|
+
* root: the behavior with none of the surface. What showed was the browser's
|
|
53
|
+
* own popover defaults, a white 1.5px border, square corners, `0.25em` of
|
|
54
|
+
* padding and the page's font size, which is why the reading bubble looked
|
|
55
|
+
* like no other tooltip on the site.
|
|
56
|
+
*
|
|
57
|
+
* Measured before the fix: the chart's bubble computed
|
|
58
|
+
* `border: 1.5px solid rgb(255, 255, 255)`, `border-radius: 0px`,
|
|
59
|
+
* `padding: 3.5px`, `font-size: 14px`. The masthead's, a `helix-tooltip`,
|
|
60
|
+
* had the component's own `none`, `radii-sm`, `2xs xs` and `text-xs`.
|
|
61
|
+
*/
|
|
62
|
+
static { this.tier = 'helix-'; }
|
|
63
|
+
static { this.styles = [seriesStyles, terminusStyles, styles]; }
|
|
64
|
+
};
|
|
65
|
+
__decorate([
|
|
66
|
+
property({ reflect: true })
|
|
67
|
+
], HelixLineChart.prototype, "emphasis", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
property({ reflect: true })
|
|
70
|
+
], HelixLineChart.prototype, "material", void 0);
|
|
71
|
+
HelixLineChart = __decorate([
|
|
72
|
+
customElement('helix-line-chart')
|
|
73
|
+
], HelixLineChart);
|
|
74
|
+
export { HelixLineChart };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// Generated from src/list/item/list-item.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="row"] {
|
|
8
|
+
align-items: center;
|
|
9
|
+
display: grid;
|
|
10
|
+
|
|
11
|
+
grid-template-columns: auto auto 1fr auto;
|
|
12
|
+
padding: var(--list-item-padding, var(--helix-space-sm) var(--helix-space-md));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[part="rail"] {
|
|
16
|
+
align-self: start;
|
|
17
|
+
color: var(--helix-color-foreground-muted);
|
|
18
|
+
display: var(--list-item-rail-display, none);
|
|
19
|
+
font-family: var(--helix-font-mono);
|
|
20
|
+
font-size: var(--helix-text-xs);
|
|
21
|
+
grid-column: 1;
|
|
22
|
+
grid-row: 1;
|
|
23
|
+
letter-spacing: var(--helix-tracking-wide);
|
|
24
|
+
line-height: calc(var(--helix-text-sm) * var(--helix-leading-normal));
|
|
25
|
+
inline-size: var(--list-rail-inline-size, var(--helix-space-3xl));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[part="rail"]::before {
|
|
29
|
+
content: var(--list-item-rail-content, "");
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
slot[name="start"]::slotted(*) {
|
|
33
|
+
color: var(--helix-color-foreground-muted);
|
|
34
|
+
grid-column: 2;
|
|
35
|
+
margin-inline-end: var(--helix-space-sm);
|
|
36
|
+
grid-row: 1 / span 2;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
slot:not([name]) {
|
|
40
|
+
color: var(--helix-color-foreground);
|
|
41
|
+
display: block;
|
|
42
|
+
font-size: var(--helix-text-sm);
|
|
43
|
+
|
|
44
|
+
font-weight: var(--list-item-term-weight, var(--helix-weight-regular));
|
|
45
|
+
grid-column: 3;
|
|
46
|
+
grid-row: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
slot[name="supporting"] {
|
|
50
|
+
color: var(--helix-color-foreground-muted);
|
|
51
|
+
display: block;
|
|
52
|
+
font-size: var(--helix-text-xs);
|
|
53
|
+
grid-column: 3;
|
|
54
|
+
grid-row: 2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
slot:not([name])::slotted(*),
|
|
58
|
+
slot[name="supporting"]::slotted(*) {
|
|
59
|
+
margin: var(--helix-space-none);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
slot[name="end"]::slotted(*) {
|
|
63
|
+
grid-column: 4;
|
|
64
|
+
grid-row: 1 / span 2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
a[part="row"] {
|
|
68
|
+
color: inherit;
|
|
69
|
+
text-decoration: none;
|
|
70
|
+
}`);
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { HelixHeadlessListItem } from '@fusion.dev/helix-headless/list';
|
|
2
|
+
import { type CSSResultGroup, type TemplateResult } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary One row of a list.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* A grid rather than a flex row, so the supporting text lines up under the
|
|
8
|
+
* label rather than under the leading icon. The leading and trailing regions
|
|
9
|
+
* hold their own width and the middle takes the rest.
|
|
10
|
+
*
|
|
11
|
+
* @since 0.1.0
|
|
12
|
+
* @status stable
|
|
13
|
+
* @aliases Row, Entry
|
|
14
|
+
* @documentation https://helix.fusion.dev/components/list
|
|
15
|
+
*
|
|
16
|
+
* @csspart rail - The cell a railed list draws its number in.
|
|
17
|
+
*
|
|
18
|
+
* @cssproperty --list-item-padding - Padding inside the row.
|
|
19
|
+
* @cssproperty --list-item-rail-content - What the rail cell shows. Written by the list.
|
|
20
|
+
* @cssproperty --list-item-rail-display - Whether there is a rail at all. Written by the list.
|
|
21
|
+
* @cssproperty --list-item-term-weight - Weight of a description list's term.
|
|
22
|
+
*/
|
|
23
|
+
export declare class HelixListItem extends HelixHeadlessListItem {
|
|
24
|
+
static styles: CSSResultGroup;
|
|
25
|
+
/**
|
|
26
|
+
* The rail cell, which this tier can afford because it has a sheet.
|
|
27
|
+
*
|
|
28
|
+
* An element rather than `[part="row"]::before`, which could hold the same
|
|
29
|
+
* counter. Generated content can only ever be a string, and this cell is the
|
|
30
|
+
* one place a row's ordinal lives, so a consumer replacing it with a state
|
|
31
|
+
* mark or a step glyph wants somewhere to put it. It is also a name: a part is
|
|
32
|
+
* in `custom-elements.json` and a pseudo-element on another part is not, and a
|
|
33
|
+
* hook nobody can find is a hook nobody uses.
|
|
34
|
+
*
|
|
35
|
+
* Always rendered, because a row cannot know whether its list asked for a
|
|
36
|
+
* rail, and drawn `display: none` until the list says so. *Absent* and not
|
|
37
|
+
* *empty*: an empty box is free to layout and is not free to the native
|
|
38
|
+
* marker, which aligns to the first line box it can see. Measured against the
|
|
39
|
+
* same tree without it, every row and label sat on the identical pixel and 178
|
|
40
|
+
* pixels of the markers on a plain ordered list moved, which is a retaken
|
|
41
|
+
* baseline for a feature that list is not using.
|
|
42
|
+
*/
|
|
43
|
+
protected renderRail(): TemplateResult;
|
|
44
|
+
}
|
|
45
|
+
declare global {
|
|
46
|
+
interface HTMLElementTagNameMap {
|
|
47
|
+
'helix-list-item': HelixListItem;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { HelixHeadlessListItem } from '@fusion.dev/helix-headless/list';
|
|
9
|
+
import { html } from 'lit';
|
|
10
|
+
import { styles } from './list-item.css.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary One row of a list.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* A grid rather than a flex row, so the supporting text lines up under the
|
|
16
|
+
* label rather than under the leading icon. The leading and trailing regions
|
|
17
|
+
* hold their own width and the middle takes the rest.
|
|
18
|
+
*
|
|
19
|
+
* @since 0.1.0
|
|
20
|
+
* @status stable
|
|
21
|
+
* @aliases Row, Entry
|
|
22
|
+
* @documentation https://helix.fusion.dev/components/list
|
|
23
|
+
*
|
|
24
|
+
* @csspart rail - The cell a railed list draws its number in.
|
|
25
|
+
*
|
|
26
|
+
* @cssproperty --list-item-padding - Padding inside the row.
|
|
27
|
+
* @cssproperty --list-item-rail-content - What the rail cell shows. Written by the list.
|
|
28
|
+
* @cssproperty --list-item-rail-display - Whether there is a rail at all. Written by the list.
|
|
29
|
+
* @cssproperty --list-item-term-weight - Weight of a description list's term.
|
|
30
|
+
*/
|
|
31
|
+
let HelixListItem = class HelixListItem extends HelixHeadlessListItem {
|
|
32
|
+
static { this.styles = styles; }
|
|
33
|
+
/**
|
|
34
|
+
* The rail cell, which this tier can afford because it has a sheet.
|
|
35
|
+
*
|
|
36
|
+
* An element rather than `[part="row"]::before`, which could hold the same
|
|
37
|
+
* counter. Generated content can only ever be a string, and this cell is the
|
|
38
|
+
* one place a row's ordinal lives, so a consumer replacing it with a state
|
|
39
|
+
* mark or a step glyph wants somewhere to put it. It is also a name: a part is
|
|
40
|
+
* in `custom-elements.json` and a pseudo-element on another part is not, and a
|
|
41
|
+
* hook nobody can find is a hook nobody uses.
|
|
42
|
+
*
|
|
43
|
+
* Always rendered, because a row cannot know whether its list asked for a
|
|
44
|
+
* rail, and drawn `display: none` until the list says so. *Absent* and not
|
|
45
|
+
* *empty*: an empty box is free to layout and is not free to the native
|
|
46
|
+
* marker, which aligns to the first line box it can see. Measured against the
|
|
47
|
+
* same tree without it, every row and label sat on the identical pixel and 178
|
|
48
|
+
* pixels of the markers on a plain ordered list moved, which is a retaken
|
|
49
|
+
* baseline for a feature that list is not using.
|
|
50
|
+
*/
|
|
51
|
+
renderRail() {
|
|
52
|
+
return html `<span part="rail"></span>`;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
HelixListItem = __decorate([
|
|
56
|
+
customElement('helix-list-item')
|
|
57
|
+
], HelixListItem);
|
|
58
|
+
export { HelixListItem };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// Generated from src/list/root/list-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: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: var(--list-gap, var(--helix-space-none));
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:host([divided]) ::slotted(*:not(:first-child)) {
|
|
10
|
+
border-block-start: var(--helix-border-thin) solid var(--helix-color-border);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host([kind="ordered"]),
|
|
14
|
+
:host([kind="unordered"]) {
|
|
15
|
+
|
|
16
|
+
padding-inline-start: var(--list-marker-gutter, var(--helix-space-md));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host([kind="ordered"]) ::slotted(*),
|
|
20
|
+
:host([kind="unordered"]) ::slotted(*) {
|
|
21
|
+
display: list-item;
|
|
22
|
+
list-style-position: outside;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host([kind="ordered"]) ::slotted(*) {
|
|
26
|
+
list-style-type: decimal;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host([kind="ordered"][type="a"]) ::slotted(*) {
|
|
30
|
+
list-style-type: lower-alpha;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host([kind="ordered"][type="A"]) ::slotted(*) {
|
|
34
|
+
list-style-type: upper-alpha;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:host([kind="ordered"][type="i"]) ::slotted(*) {
|
|
38
|
+
list-style-type: lower-roman;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:host([kind="ordered"][type="I"]) ::slotted(*) {
|
|
42
|
+
list-style-type: upper-roman;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:host([kind="unordered"]) ::slotted(*) {
|
|
46
|
+
list-style-type: disc;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:host([marker="rail"]) {
|
|
50
|
+
counter-reset: list-rail;
|
|
51
|
+
|
|
52
|
+
padding-inline-start: var(--helix-space-none);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:host([marker="rail"]) ::slotted(*) {
|
|
56
|
+
--list-item-rail-content: counter(list-rail, var(--list-rail-style, decimal-leading-zero));
|
|
57
|
+
|
|
58
|
+
--list-item-rail-display: block;
|
|
59
|
+
counter-increment: list-rail;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:host([kind="ordered"][marker="rail"]) ::slotted(*),
|
|
63
|
+
:host([kind="unordered"][marker="rail"]) ::slotted(*) {
|
|
64
|
+
display: block;
|
|
65
|
+
list-style: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host([kind="description"]) ::slotted(*) {
|
|
69
|
+
--list-item-term-weight: var(--helix-weight-semibold);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@media print {
|
|
73
|
+
:host {
|
|
74
|
+
box-shadow: none;
|
|
75
|
+
}
|
|
76
|
+
}`);
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { HelixHeadlessList } from '@fusion.dev/helix-headless/list';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A set of rows, read as a set.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* Rules between rows rather than around each one, so a list reads as one object
|
|
8
|
+
* with divisions instead of as a stack of cards. `divided` is off by default,
|
|
9
|
+
* because space alone separates rows perfectly well and a rule at every seam is
|
|
10
|
+
* decoration doing what emptiness already does.
|
|
11
|
+
*
|
|
12
|
+
* @since 0.1.0
|
|
13
|
+
* @status stable
|
|
14
|
+
* @category data
|
|
15
|
+
* @aliases Rows, Stack, Menu
|
|
16
|
+
* @documentation https://helix.fusion.dev/components/list
|
|
17
|
+
*
|
|
18
|
+
* @cssproperty --list-gap - Space between rows.
|
|
19
|
+
* @cssproperty --list-marker-gutter - Room the ordered and unordered markers hang into.
|
|
20
|
+
* @cssproperty --list-rail-inline-size - The width of the rail's track.
|
|
21
|
+
* @cssproperty --list-rail-style - What a rail counts with. Any `list-style-type`.
|
|
22
|
+
*/
|
|
23
|
+
export declare class HelixList extends HelixHeadlessList {
|
|
24
|
+
/**
|
|
25
|
+
* Whether a rule sits between rows.
|
|
26
|
+
*/
|
|
27
|
+
divided: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Where the marker sits.
|
|
30
|
+
*
|
|
31
|
+
* On the styled tier because it is decoration, which is the other half of the
|
|
32
|
+
* argument `kind` makes on the headless one: *that* a list is numbered is a
|
|
33
|
+
* fact about the content, and *where the numbers are drawn* is not. A railed
|
|
34
|
+
* ordered list and a plain one say the same thing about their rows.
|
|
35
|
+
*
|
|
36
|
+
* - unset draws the platform's marker beside the row, which is what a list of
|
|
37
|
+
* short rows wants.
|
|
38
|
+
* - `rail` draws the ordinal in a track of its own at the start edge of the
|
|
39
|
+
* block, so the numbers read as a column and every row's text begins at one
|
|
40
|
+
* measure. This is how a numbered argument is set: a claim per item, prose
|
|
41
|
+
* under it, and the numbering carried down the left rather than tucked
|
|
42
|
+
* against the words.
|
|
43
|
+
*
|
|
44
|
+
* A rail replaces the marker rather than joining it, so it applies to
|
|
45
|
+
* `unordered` too, where it numbers what a bullet did not.
|
|
46
|
+
*/
|
|
47
|
+
marker?: 'rail';
|
|
48
|
+
static styles: CSSResultGroup;
|
|
49
|
+
}
|
|
50
|
+
declare global {
|
|
51
|
+
interface HTMLElementTagNameMap {
|
|
52
|
+
'helix-list': HelixList;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -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 { HelixHeadlessList } from '@fusion.dev/helix-headless/list';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles } from './list-root.css.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary A set of rows, read as a set.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* Rules between rows rather than around each one, so a list reads as one object
|
|
16
|
+
* with divisions instead of as a stack of cards. `divided` is off by default,
|
|
17
|
+
* because space alone separates rows perfectly well and a rule at every seam is
|
|
18
|
+
* decoration doing what emptiness already does.
|
|
19
|
+
*
|
|
20
|
+
* @since 0.1.0
|
|
21
|
+
* @status stable
|
|
22
|
+
* @category data
|
|
23
|
+
* @aliases Rows, Stack, Menu
|
|
24
|
+
* @documentation https://helix.fusion.dev/components/list
|
|
25
|
+
*
|
|
26
|
+
* @cssproperty --list-gap - Space between rows.
|
|
27
|
+
* @cssproperty --list-marker-gutter - Room the ordered and unordered markers hang into.
|
|
28
|
+
* @cssproperty --list-rail-inline-size - The width of the rail's track.
|
|
29
|
+
* @cssproperty --list-rail-style - What a rail counts with. Any `list-style-type`.
|
|
30
|
+
*/
|
|
31
|
+
let HelixList = class HelixList extends HelixHeadlessList {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
/**
|
|
35
|
+
* Whether a rule sits between rows.
|
|
36
|
+
*/
|
|
37
|
+
this.divided = false;
|
|
38
|
+
}
|
|
39
|
+
static { this.styles = styles; }
|
|
40
|
+
};
|
|
41
|
+
__decorate([
|
|
42
|
+
property({ reflect: true, type: Boolean })
|
|
43
|
+
], HelixList.prototype, "divided", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
property({ reflect: true })
|
|
46
|
+
], HelixList.prototype, "marker", void 0);
|
|
47
|
+
HelixList = __decorate([
|
|
48
|
+
customElement('helix-list')
|
|
49
|
+
], HelixList);
|
|
50
|
+
export { HelixList };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/listbox-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/listbox-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
// Generated from src/listbox/root/listbox-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: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: var(--helix-space-2xs);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[part="items"] {
|
|
10
|
+
|
|
11
|
+
--option-radius: var(--helix-radii-none);
|
|
12
|
+
|
|
13
|
+
background-color: var(--helix-color-surface);
|
|
14
|
+
border: var(--helix-border-thin) solid var(--helix-color-border);
|
|
15
|
+
border-radius: var(--helix-radii-sm);
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
gap: var(--helix-space-none);
|
|
19
|
+
max-block-size: var(--listbox-max-block-size, 14rem);
|
|
20
|
+
overflow-y: auto;
|
|
21
|
+
|
|
22
|
+
padding-block: var(--helix-space-2xs);
|
|
23
|
+
padding-inline: var(--helix-space-none);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[part="items"]:focus-visible {
|
|
27
|
+
border-color: var(--helix-color-primary);
|
|
28
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
29
|
+
outline-offset: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host(:state(invalid)) [part="items"],
|
|
33
|
+
:host(:state(invalid)) [part="items"]:focus-visible {
|
|
34
|
+
border-color: var(--helix-color-danger);
|
|
35
|
+
outline-color: var(--helix-color-danger);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:host(:disabled) {
|
|
39
|
+
opacity: 0.5;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:host(:disabled) [part="items"] {
|
|
43
|
+
cursor: not-allowed;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[part="empty"],
|
|
47
|
+
[part="loading"] {
|
|
48
|
+
color: var(--helix-color-foreground-subtle);
|
|
49
|
+
font-family: var(--helix-font-sans);
|
|
50
|
+
font-size: var(--helix-text-sm);
|
|
51
|
+
margin: var(--helix-space-none);
|
|
52
|
+
padding-block: var(--helix-space-xs);
|
|
53
|
+
padding-inline: var(--helix-space-xs);
|
|
54
|
+
text-align: center;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[part="filter-icon"] {
|
|
58
|
+
align-items: center;
|
|
59
|
+
color: var(--helix-color-foreground-subtle);
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
flex: 0 0 auto;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[part="filter-icon"] svg,
|
|
65
|
+
slot[name="filter-icon"]::slotted(*) {
|
|
66
|
+
--icon-size: var(--helix-size-icon-tight);
|
|
67
|
+
|
|
68
|
+
block-size: var(--helix-size-icon-tight);
|
|
69
|
+
inline-size: var(--helix-size-icon-tight);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[part="search"] {
|
|
73
|
+
align-items: center;
|
|
74
|
+
border-block-end: var(--helix-border-thin) solid var(--helix-color-border);
|
|
75
|
+
display: flex;
|
|
76
|
+
gap: var(--helix-space-2xs);
|
|
77
|
+
padding: var(--helix-space-2xs);
|
|
78
|
+
padding-inline-start: var(--helix-space-xs);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[part="search-field"] {
|
|
82
|
+
appearance: none;
|
|
83
|
+
flex: 1 1 auto;
|
|
84
|
+
min-inline-size: 0;
|
|
85
|
+
background-color: transparent;
|
|
86
|
+
block-size: var(--helix-size-control-tight);
|
|
87
|
+
border: none;
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
color: var(--helix-color-foreground);
|
|
90
|
+
font-family: var(--helix-font-sans);
|
|
91
|
+
font-size: var(--helix-text-sm);
|
|
92
|
+
font-weight: var(--helix-weight-medium);
|
|
93
|
+
inline-size: 100%;
|
|
94
|
+
padding-inline: var(--helix-space-xs);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[part="search-field"]:focus-visible {
|
|
98
|
+
outline: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host([loading]) [part="items"] {
|
|
102
|
+
opacity: 0.5;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@media print {
|
|
106
|
+
:host {
|
|
107
|
+
box-shadow: none;
|
|
108
|
+
print-color-adjust: exact;
|
|
109
|
+
}
|
|
110
|
+
}`);
|