@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,36 @@
|
|
|
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 { HelixHeadlessKbd } from '@fusion.dev/helix-headless/kbd';
|
|
9
|
+
import { styles } from './kbd-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary A keyboard key or chord, set inline with text.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* Drawn as a physical key: a hairline, a sunken fill, and one inset shadow
|
|
15
|
+
* along the bottom edge that reads as depth without becoming a picture of a
|
|
16
|
+
* key.
|
|
17
|
+
*
|
|
18
|
+
* Sized in `em`, so it stays proportional to whatever it is set inside rather
|
|
19
|
+
* than holding one size and looking wrong in a heading.
|
|
20
|
+
*
|
|
21
|
+
* @since 0.1.0
|
|
22
|
+
* @status stable
|
|
23
|
+
* @category typography
|
|
24
|
+
* @aliases Key, Shortcut, Hotkey
|
|
25
|
+
* @documentation https://helix.fusion.dev/components/kbd
|
|
26
|
+
*
|
|
27
|
+
* @cssproperty --kbd-background-color - Fill of the key.
|
|
28
|
+
* @cssproperty --kbd-border-color - Color of the hairline and the edge.
|
|
29
|
+
*/
|
|
30
|
+
let HelixKbd = class HelixKbd extends HelixHeadlessKbd {
|
|
31
|
+
static { this.styles = styles; }
|
|
32
|
+
};
|
|
33
|
+
HelixKbd = __decorate([
|
|
34
|
+
customElement('helix-kbd')
|
|
35
|
+
], HelixKbd);
|
|
36
|
+
export { HelixKbd };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/legend-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/legend-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// Generated from src/legend/root/legend-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="list"] {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: var(--legend-direction, row);
|
|
10
|
+
|
|
11
|
+
flex-wrap: wrap;
|
|
12
|
+
gap: var(--legend-gap, var(--helix-space-sm));
|
|
13
|
+
list-style: none;
|
|
14
|
+
margin: var(--helix-space-none);
|
|
15
|
+
padding: var(--helix-space-none);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
[part="entry"] {
|
|
19
|
+
align-items: center;
|
|
20
|
+
color: var(--helix-color-foreground-muted);
|
|
21
|
+
display: flex;
|
|
22
|
+
font-size: var(--helix-text-sm);
|
|
23
|
+
gap: var(--helix-space-2xs);
|
|
24
|
+
line-height: var(--helix-leading-tight);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host([placement="start"]) [part="list"],
|
|
28
|
+
:host([placement="end"]) [part="list"] {
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([placement="end"]) [part="entry"] {
|
|
33
|
+
flex-direction: row-reverse;
|
|
34
|
+
text-align: end;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[part="swatch"] {
|
|
38
|
+
block-size: var(--legend-swatch-size, var(--helix-space-sm));
|
|
39
|
+
|
|
40
|
+
border-radius: var(--helix-radii-sm);
|
|
41
|
+
flex: 0 0 auto;
|
|
42
|
+
inline-size: var(--legend-swatch-size, var(--helix-space-sm));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[part="entry"] [part="swatch"] {
|
|
46
|
+
background-color: color-mix(
|
|
47
|
+
in oklab,
|
|
48
|
+
var(--chart-series) calc(var(--_legend-area, 1) * var(--_legend-through, 1) * 100%),
|
|
49
|
+
transparent
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[part="entry"][data-emphasis="outlined"] [part="swatch"],
|
|
54
|
+
:host([emphasis="outlined"]) [part="entry"]:not([data-emphasis]) [part="swatch"] {
|
|
55
|
+
background-color: color-mix(
|
|
56
|
+
in oklab,
|
|
57
|
+
var(--_legend-shade) calc(var(--_legend-through, 1) * 100%),
|
|
58
|
+
transparent
|
|
59
|
+
);
|
|
60
|
+
border: var(--legend-swatch-stroke, var(--helix-border-thick)) solid
|
|
61
|
+
color-mix(in oklab, var(--chart-series) calc(var(--_legend-through, 1) * 100%), transparent);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[part="entry"][data-emphasis="subtle"] [part="swatch"],
|
|
65
|
+
:host([emphasis="subtle"]) [part="entry"]:not([data-emphasis]) [part="swatch"] {
|
|
66
|
+
border: var(--legend-swatch-stroke, var(--helix-border-thick)) solid
|
|
67
|
+
color-mix(in oklab, var(--chart-series) calc(var(--_legend-through, 1) * 100%), transparent);
|
|
68
|
+
|
|
69
|
+
--_legend-area: 0.2;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[part="swatch"] {
|
|
73
|
+
--_legend-shade: color-mix(in oklab, var(--chart-series) 60%, var(--helix-color-background));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
[part="entry"][data-material="glass"] [part="swatch"],
|
|
77
|
+
:host([material="glass"]) [part="entry"]:not([data-material]) [part="swatch"] {
|
|
78
|
+
--_legend-through: calc(0.62 * var(--helix-material-opacity));
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[part="entry"][data-material="frosted"],
|
|
82
|
+
:host([material="frosted"]) [part="entry"]:not([data-material]) [part="swatch"] {
|
|
83
|
+
--_legend-through: calc(0.88 * var(--helix-material-opacity));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@media print {
|
|
87
|
+
:host {
|
|
88
|
+
box-shadow: none;
|
|
89
|
+
}
|
|
90
|
+
}`);
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { HelixHeadlessLegend } from '@fusion.dev/helix-headless/legend';
|
|
2
|
+
import type { CSSResultGroup, PropertyValues } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary The names a chart draws, each beside the color it is drawn in.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* A row that wraps, because a legend sits under a chart as wide as the chart
|
|
8
|
+
* and there is no arrangement of eight names that fits every width. Set
|
|
9
|
+
* `--legend-direction` to `column` where it sits beside one instead.
|
|
10
|
+
*
|
|
11
|
+
* The eight series colours are mapped here rather than in the tier below, which
|
|
12
|
+
* carries the index and holds no tokens. Written as eight rules for the reason
|
|
13
|
+
* `Avatar.Group` writes twelve: an index in markup cannot select a token, and a
|
|
14
|
+
* custom property set inline would be the headless tier naming a color.
|
|
15
|
+
*
|
|
16
|
+
* @since 0.1.0
|
|
17
|
+
* @status experimental
|
|
18
|
+
* @category charts
|
|
19
|
+
* @groups charts
|
|
20
|
+
* @aliases Key, Series Key
|
|
21
|
+
* @documentation https://helix.fusion.dev/components/legend
|
|
22
|
+
*
|
|
23
|
+
* @cssproperty --legend-direction - `row`, which wraps, or `column`.
|
|
24
|
+
* @cssproperty --legend-gap - Space between entries.
|
|
25
|
+
* @cssproperty --legend-swatch-size - Size of the color patch.
|
|
26
|
+
* @cssproperty --legend-swatch-stroke - Width of the edge an `outlined` or
|
|
27
|
+
* `subtle` swatch is drawn with.
|
|
28
|
+
*/
|
|
29
|
+
export declare class HelixLegend extends HelixHeadlessLegend {
|
|
30
|
+
static styles: CSSResultGroup;
|
|
31
|
+
/**
|
|
32
|
+
* Where the legend sits and which way its entries run.
|
|
33
|
+
*
|
|
34
|
+
* Absent is a wrapping row, which is what sits under a chart. `start` and
|
|
35
|
+
* `end` stack the entries in a column, for a legend beside one.
|
|
36
|
+
*
|
|
37
|
+
* **This says which way the entries run and not where the element is**, which
|
|
38
|
+
* is the honest limit of a component that is a sibling of the chart rather
|
|
39
|
+
* than part of it. A legend cannot place itself relative to something it is
|
|
40
|
+
* not inside, so the consumer still puts it above, below or beside; this
|
|
41
|
+
* makes it lay out correctly once it is there, which was the part that
|
|
42
|
+
* previously took a custom property nobody would guess at.
|
|
43
|
+
*
|
|
44
|
+
* The alternative was a `legend` slot on every chart, so a chart could place
|
|
45
|
+
* its own. That is worse: it makes the legend's position a fact about the
|
|
46
|
+
* chart, so two charts sharing one legend becomes impossible, and it puts a
|
|
47
|
+
* list inside a drawing that is `aria-hidden`.
|
|
48
|
+
*/
|
|
49
|
+
placement?: 'end' | 'start';
|
|
50
|
+
/**
|
|
51
|
+
* How much ink the swatches claim.
|
|
52
|
+
*
|
|
53
|
+
* **The same axis as the chart's, with the same values, because a legend that
|
|
54
|
+
* does not match its chart is worse than no legend.** A key whose swatches are
|
|
55
|
+
* solid while the columns they key are outlined tells a reader the two are
|
|
56
|
+
* different kinds of fact, which is the exact thing `outlined` on a chart
|
|
57
|
+
* exists to say. `outlined` is the series color as an edge over a fill faded
|
|
58
|
+
* toward the page, `subtle` is that edge over a wash, and absent is the filled
|
|
59
|
+
* patch, per the rule that a reflected property takes no default.
|
|
60
|
+
*
|
|
61
|
+
* **The legend declares it rather than reading it off the chart, and that is a
|
|
62
|
+
* decision rather than a shortcut.** A legend has no reference to a chart: it
|
|
63
|
+
* points at a *table* through `for`, which is what lets two charts share one,
|
|
64
|
+
* and the chart points at the same table independently. Giving it a chart to
|
|
65
|
+
* read would make a list of names depend on a drawing it is deliberately not
|
|
66
|
+
* part of, and would still not answer the per-series case, where `outlined` is
|
|
67
|
+
* a set of names rather than one value. Two attributes carrying the same word
|
|
68
|
+
* is the honest cost of the legend being a sibling.
|
|
69
|
+
*/
|
|
70
|
+
emphasis?: 'outlined' | 'solid' | 'subtle';
|
|
71
|
+
/**
|
|
72
|
+
* What the swatches are made of.
|
|
73
|
+
*
|
|
74
|
+
* `glass` thins whatever emphasis drew, the way it does on a column, so a
|
|
75
|
+
* legend beside a glass chart is in the same substance as the chart. Scaled by
|
|
76
|
+
* `--helix-material-opacity`, so a theme that is more see-through everywhere is
|
|
77
|
+
* more see-through here.
|
|
78
|
+
*
|
|
79
|
+
* **This paints a mark rather than a ground, and the axis still reads the
|
|
80
|
+
* same way.** On a surface the points are how much of the page shows through;
|
|
81
|
+
* on a series they are how much ink the mark has, and the order is the same:
|
|
82
|
+
* `glass` admits most, `frosted` admits less, absent is opaque. The two
|
|
83
|
+
* factors, 0.62 and 0.88, carry the relationship the surface tokens carry
|
|
84
|
+
* between `material-translucent` and `material-translucent-strong`, so a
|
|
85
|
+
* chart and a card mean the same thing by the word.
|
|
86
|
+
*
|
|
87
|
+
* **`transparent` is where this one stops.** A mark with no ink is not a
|
|
88
|
+
* material choice, it is an absent series, and a chart says that by not
|
|
89
|
+
* having the datum rather than by painting it invisibly. See 270.
|
|
90
|
+
*/
|
|
91
|
+
material?: 'frosted' | 'glass';
|
|
92
|
+
/**
|
|
93
|
+
* Which entries are drawn as an outline rather than a fill, by name.
|
|
94
|
+
*
|
|
95
|
+
* Space or comma separated and matched against the names this legend is
|
|
96
|
+
* showing, which are the same names the chart matches its own `outlined`
|
|
97
|
+
* against, since both read one table. So a chart and its key say the same
|
|
98
|
+
* thing the same way: `outlined="Forecast"` on both.
|
|
99
|
+
*/
|
|
100
|
+
outlined?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Which entries are drawn as a wash of their color, by name.
|
|
103
|
+
*
|
|
104
|
+
* Matched as `outlined` is.
|
|
105
|
+
*/
|
|
106
|
+
subtle?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Which entries are glass rather than solid, by name.
|
|
109
|
+
*
|
|
110
|
+
* Matched as `outlined` is.
|
|
111
|
+
*/
|
|
112
|
+
glass?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Marks each entry with the treatment its name was given.
|
|
115
|
+
*
|
|
116
|
+
* After the update rather than during it, because the entries are what the
|
|
117
|
+
* tier below rendered and matching happens against the names it chose to show.
|
|
118
|
+
* The same shape `BarChart.updated` uses on its bars, and for the same reason:
|
|
119
|
+
* a per-series answer cannot be a selector, since CSS cannot match an
|
|
120
|
+
* attribute against a list.
|
|
121
|
+
*/
|
|
122
|
+
protected updated(changed: PropertyValues<this>): void;
|
|
123
|
+
}
|
|
124
|
+
declare global {
|
|
125
|
+
interface HTMLElementTagNameMap {
|
|
126
|
+
'helix-legend': HelixLegend;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
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 { HelixHeadlessLegend } from '@fusion.dev/helix-headless/legend';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles as seriesStyles } from '../../shared/chart/series.css.js';
|
|
11
|
+
import { styles } from './legend-root.css.js';
|
|
12
|
+
/**
|
|
13
|
+
* @summary The names a chart draws, each beside the color it is drawn in.
|
|
14
|
+
*
|
|
15
|
+
* @description
|
|
16
|
+
* A row that wraps, because a legend sits under a chart as wide as the chart
|
|
17
|
+
* and there is no arrangement of eight names that fits every width. Set
|
|
18
|
+
* `--legend-direction` to `column` where it sits beside one instead.
|
|
19
|
+
*
|
|
20
|
+
* The eight series colours are mapped here rather than in the tier below, which
|
|
21
|
+
* carries the index and holds no tokens. Written as eight rules for the reason
|
|
22
|
+
* `Avatar.Group` writes twelve: an index in markup cannot select a token, and a
|
|
23
|
+
* custom property set inline would be the headless tier naming a color.
|
|
24
|
+
*
|
|
25
|
+
* @since 0.1.0
|
|
26
|
+
* @status experimental
|
|
27
|
+
* @category charts
|
|
28
|
+
* @groups charts
|
|
29
|
+
* @aliases Key, Series Key
|
|
30
|
+
* @documentation https://helix.fusion.dev/components/legend
|
|
31
|
+
*
|
|
32
|
+
* @cssproperty --legend-direction - `row`, which wraps, or `column`.
|
|
33
|
+
* @cssproperty --legend-gap - Space between entries.
|
|
34
|
+
* @cssproperty --legend-swatch-size - Size of the color patch.
|
|
35
|
+
* @cssproperty --legend-swatch-stroke - Width of the edge an `outlined` or
|
|
36
|
+
* `subtle` swatch is drawn with.
|
|
37
|
+
*/
|
|
38
|
+
let HelixLegend = class HelixLegend extends HelixHeadlessLegend {
|
|
39
|
+
static { this.styles = [seriesStyles, styles]; }
|
|
40
|
+
/**
|
|
41
|
+
* Marks each entry with the treatment its name was given.
|
|
42
|
+
*
|
|
43
|
+
* After the update rather than during it, because the entries are what the
|
|
44
|
+
* tier below rendered and matching happens against the names it chose to show.
|
|
45
|
+
* The same shape `BarChart.updated` uses on its bars, and for the same reason:
|
|
46
|
+
* a per-series answer cannot be a selector, since CSS cannot match an
|
|
47
|
+
* attribute against a list.
|
|
48
|
+
*/
|
|
49
|
+
updated(changed) {
|
|
50
|
+
super.updated(changed);
|
|
51
|
+
const showing = this.names().map((name) => name.trim().toLowerCase());
|
|
52
|
+
const slots = (value) => new Set((value ?? '')
|
|
53
|
+
.split(/[\s,]+/)
|
|
54
|
+
.filter(Boolean)
|
|
55
|
+
.map((name) => name.toLowerCase())
|
|
56
|
+
.flatMap((name) => {
|
|
57
|
+
const at = showing.indexOf(name);
|
|
58
|
+
return at < 0 ? [] : [at];
|
|
59
|
+
}));
|
|
60
|
+
const mark = (entry, name, value) => {
|
|
61
|
+
if (value) {
|
|
62
|
+
entry.setAttribute(`data-${name}`, value);
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
entry.removeAttribute(`data-${name}`);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
const outlined = slots(this.outlined);
|
|
69
|
+
const subtle = slots(this.subtle);
|
|
70
|
+
const glass = slots(this.glass);
|
|
71
|
+
const entries = [...this.renderRoot.querySelectorAll('[part="entry"]')];
|
|
72
|
+
for (const [at, entry] of entries.entries()) {
|
|
73
|
+
mark(entry, 'emphasis', outlined.has(at) ? 'outlined' : subtle.has(at) ? 'subtle' : undefined);
|
|
74
|
+
mark(entry, 'material', glass.has(at) ? 'glass' : undefined);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
__decorate([
|
|
79
|
+
property({ reflect: true })
|
|
80
|
+
], HelixLegend.prototype, "placement", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
property({ reflect: true })
|
|
83
|
+
], HelixLegend.prototype, "emphasis", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
property({ reflect: true })
|
|
86
|
+
], HelixLegend.prototype, "material", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
property()
|
|
89
|
+
], HelixLegend.prototype, "outlined", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
property()
|
|
92
|
+
], HelixLegend.prototype, "subtle", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
property()
|
|
95
|
+
], HelixLegend.prototype, "glass", void 0);
|
|
96
|
+
HelixLegend = __decorate([
|
|
97
|
+
customElement('helix-legend')
|
|
98
|
+
], HelixLegend);
|
|
99
|
+
export { HelixLegend };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/line-chart-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/line-chart-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
// Generated from src/line-chart/root/line-chart-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: grid;
|
|
5
|
+
position: relative;
|
|
6
|
+
gap: var(--line-chart-gap, var(--helix-space-2xs));
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[part="plot"] {
|
|
10
|
+
position: relative;
|
|
11
|
+
|
|
12
|
+
block-size: var(--line-chart-block-size, 12em);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[part="plot"] svg {
|
|
16
|
+
block-size: 100%;
|
|
17
|
+
inline-size: 100%;
|
|
18
|
+
|
|
19
|
+
overflow: visible;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[part="line"] {
|
|
23
|
+
stroke-linecap: round;
|
|
24
|
+
stroke-linejoin: round;
|
|
25
|
+
stroke-width: var(--line-chart-width, 2px);
|
|
26
|
+
vector-effect: non-scaling-stroke;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[part="area"] {
|
|
30
|
+
|
|
31
|
+
opacity: calc(var(--line-chart-area-opacity, 0.16) * var(--helix-material-opacity));
|
|
32
|
+
stroke: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[part="baseline"] {
|
|
36
|
+
stroke: var(--helix-color-border);
|
|
37
|
+
stroke-width: var(--helix-border-thin);
|
|
38
|
+
vector-effect: non-scaling-stroke;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[part="labels"] {
|
|
42
|
+
display: grid;
|
|
43
|
+
grid-auto-columns: 1fr;
|
|
44
|
+
grid-auto-flow: column;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[part="label"] {
|
|
48
|
+
color: var(--helix-color-foreground-muted);
|
|
49
|
+
font-size: var(--helix-text-xs);
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
text-align: center;
|
|
52
|
+
text-overflow: ellipsis;
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[part="line"] {
|
|
57
|
+
stroke: var(--chart-series);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[part="terminus"] {
|
|
61
|
+
color: var(--chart-series);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([terminus="ring"]) [part="svg"] {
|
|
65
|
+
mask-composite: intersect;
|
|
66
|
+
mask-image: var(--_line-chart-holes);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
[part="area"] {
|
|
70
|
+
fill: var(--chart-series);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[part="mark"] {
|
|
74
|
+
block-size: 1px;
|
|
75
|
+
inline-size: 1px;
|
|
76
|
+
pointer-events: none;
|
|
77
|
+
position: absolute;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[part="tooltip-anchor"] {
|
|
81
|
+
inset: 0;
|
|
82
|
+
pointer-events: none;
|
|
83
|
+
position: absolute;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[part="tooltip-label"] {
|
|
87
|
+
color: var(--helix-color-foreground-muted);
|
|
88
|
+
display: block;
|
|
89
|
+
font-weight: var(--helix-weight-medium);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
[part="tooltip-cell"] {
|
|
93
|
+
align-items: baseline;
|
|
94
|
+
display: flex;
|
|
95
|
+
gap: var(--helix-space-sm);
|
|
96
|
+
justify-content: space-between;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[part="tooltip-name"] {
|
|
100
|
+
color: var(--helix-color-foreground-muted);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
[part="tooltip-value"] {
|
|
104
|
+
font-variant-numeric: tabular-nums;
|
|
105
|
+
font-weight: var(--helix-weight-medium);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
[part="tooltip-cell"][data-series]::before {
|
|
109
|
+
block-size: 0.5em;
|
|
110
|
+
border-radius: var(--helix-radii-full);
|
|
111
|
+
content: "";
|
|
112
|
+
inline-size: 0.5em;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
[part="tooltip-cell"][data-series="1"]::before {
|
|
116
|
+
background-color: var(--helix-color-series-1);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
[part="tooltip-cell"][data-series="2"]::before {
|
|
120
|
+
background-color: var(--helix-color-series-2);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
[part="tooltip-cell"][data-series="3"]::before {
|
|
124
|
+
background-color: var(--helix-color-series-3);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
[part="tooltip-cell"][data-series="4"]::before {
|
|
128
|
+
background-color: var(--helix-color-series-4);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
[part="tooltip-cell"][data-series="5"]::before {
|
|
132
|
+
background-color: var(--helix-color-series-5);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[part="tooltip-cell"][data-series="6"]::before {
|
|
136
|
+
background-color: var(--helix-color-series-6);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
[part="tooltip-cell"][data-series="7"]::before {
|
|
140
|
+
background-color: var(--helix-color-series-7);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
[part="tooltip-cell"][data-series="8"]::before {
|
|
144
|
+
background-color: var(--helix-color-series-8);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[part="tooltip-cell"][data-series="9"]::before {
|
|
148
|
+
background-color: var(--helix-color-series-9);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
[part="tooltip-cell"][data-series="10"]::before {
|
|
152
|
+
background-color: var(--helix-color-series-10);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[part="tooltip-cell"][data-series="11"]::before {
|
|
156
|
+
background-color: var(--helix-color-series-11);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[part="tooltip-cell"][data-series="12"]::before {
|
|
160
|
+
background-color: var(--helix-color-series-12);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
[part="tooltip-cell"][data-series="13"]::before {
|
|
164
|
+
background-color: var(--helix-color-series-13);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
[part="tooltip-cell"][data-series="14"]::before {
|
|
168
|
+
background-color: var(--helix-color-series-14);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
[part="tooltip-cell"][data-series="15"]::before {
|
|
172
|
+
background-color: var(--helix-color-series-15);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
[part="tooltip-cell"][data-series="16"]::before {
|
|
176
|
+
background-color: var(--helix-color-series-16);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
[part="tooltip-cell"][data-series="17"]::before {
|
|
180
|
+
background-color: var(--helix-color-series-17);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
[part="tooltip-cell"][data-series="18"]::before {
|
|
184
|
+
background-color: var(--helix-color-series-18);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
[part="tooltip-cell"][data-series="19"]::before {
|
|
188
|
+
background-color: var(--helix-color-series-19);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
[part="tooltip-cell"][data-series="20"]::before {
|
|
192
|
+
background-color: var(--helix-color-series-20);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
[part="tooltip-cell"][data-series="21"]::before {
|
|
196
|
+
background-color: var(--helix-color-series-21);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
[part="tooltip-cell"][data-series="22"]::before {
|
|
200
|
+
background-color: var(--helix-color-series-22);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
[part="tooltip-cell"][data-series="23"]::before {
|
|
204
|
+
background-color: var(--helix-color-series-23);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
[part="tooltip-cell"][data-series="24"]::before {
|
|
208
|
+
background-color: var(--helix-color-series-24);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
[part="guide"] {
|
|
212
|
+
stroke: var(--helix-color-foreground-muted);
|
|
213
|
+
stroke-dasharray: 3 3;
|
|
214
|
+
stroke-width: var(--helix-border-thin);
|
|
215
|
+
vector-effect: non-scaling-stroke;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
[part="line"] {
|
|
219
|
+
stroke-dasharray: 1000;
|
|
220
|
+
transition:
|
|
221
|
+
d var(--helix-duration-normal) var(--helix-easing-decelerate),
|
|
222
|
+
stroke-dashoffset var(--helix-duration-slow) var(--helix-easing-decelerate);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
@starting-style {
|
|
226
|
+
[part="line"] {
|
|
227
|
+
stroke-dashoffset: 1000;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
[part="area"] {
|
|
232
|
+
transition:
|
|
233
|
+
d var(--helix-duration-normal) var(--helix-easing-decelerate),
|
|
234
|
+
opacity var(--helix-duration-slow) var(--helix-easing-decelerate);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@starting-style {
|
|
238
|
+
[part="area"] {
|
|
239
|
+
opacity: 0;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
@media (prefers-reduced-motion: reduce) {
|
|
244
|
+
[part="line"],
|
|
245
|
+
[part="area"] {
|
|
246
|
+
transition: none;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
[part="plot"] {
|
|
251
|
+
cursor: crosshair;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
[part="gridline"] {
|
|
255
|
+
stroke: var(--line-chart-gridline-color, var(--helix-color-border));
|
|
256
|
+
stroke-width: var(--helix-border-thin);
|
|
257
|
+
vector-effect: non-scaling-stroke;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
[part="band"] {
|
|
261
|
+
fill: var(--line-chart-band-color, var(--helix-color-surface-sunken));
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@media print {
|
|
265
|
+
:host {
|
|
266
|
+
box-shadow: none;
|
|
267
|
+
print-color-adjust: exact;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
:host([emphasis="subtle"]) [part="line"] {
|
|
272
|
+
stroke: color-mix(in oklab, var(--chart-series) 45%, var(--helix-color-background));
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
:host([emphasis="subtle"]) [part="area"] {
|
|
276
|
+
fill: color-mix(in oklab, var(--chart-series) 45%, var(--helix-color-background));
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
:host([emphasis="outlined"]) {
|
|
280
|
+
--line-chart-area-opacity: 0.08;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
:host([emphasis="solid"]) {
|
|
284
|
+
--line-chart-area-opacity: 1;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
:host([material="glass"]) [part="line"] {
|
|
288
|
+
stroke-opacity: calc(0.62 * var(--helix-material-opacity));
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
:host([material="frosted"]) [part="line"] {
|
|
292
|
+
stroke-opacity: calc(0.88 * var(--helix-material-opacity));
|
|
293
|
+
}`);
|