@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,445 @@
|
|
|
1
|
+
// Generated from src/bar-chart/root/bar-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(--bar-chart-gap, var(--helix-space-2xs));
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[part="plot"] {
|
|
10
|
+
position: relative;
|
|
11
|
+
|
|
12
|
+
block-size: var(--bar-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="baseline"] {
|
|
23
|
+
stroke: var(--helix-color-border);
|
|
24
|
+
stroke-width: var(--helix-border-thin);
|
|
25
|
+
vector-effect: non-scaling-stroke;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[part="bar"] {
|
|
29
|
+
clip-path: inset(var(--_bar-chart-foot, 0) round var(--_bar-chart-corners));
|
|
30
|
+
fill: var(--_bar-chart-series);
|
|
31
|
+
|
|
32
|
+
--_bar-chart-corners: var(--bar-chart-bar-radius, 2px) var(--bar-chart-bar-radius, 2px) 0 0;
|
|
33
|
+
--_bar-chart-base: 0 0 calc(var(--bar-chart-bar-stroke, var(--helix-border-thick)) / 2) 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host([direction="horizontal"]) [part="bar"] {
|
|
37
|
+
--_bar-chart-corners: 0 var(--bar-chart-bar-radius, 2px) var(--bar-chart-bar-radius, 2px) 0;
|
|
38
|
+
--_bar-chart-base: 0 0 0 calc(var(--bar-chart-bar-stroke, var(--helix-border-thick)) / 2);
|
|
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
|
+
:host([direction="horizontal"]) {
|
|
57
|
+
grid-template-columns: auto 1fr;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host([direction="horizontal"]) [part="labels"] {
|
|
61
|
+
grid-column: 1;
|
|
62
|
+
grid-row: 1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:host([direction="horizontal"]) [part="plot"] {
|
|
66
|
+
grid-column: 2;
|
|
67
|
+
grid-row: 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host([direction="horizontal"]) [part="labels"] {
|
|
71
|
+
grid-auto-columns: auto;
|
|
72
|
+
grid-auto-flow: row;
|
|
73
|
+
grid-auto-rows: 1fr;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host([direction="horizontal"]) [part="label"] {
|
|
77
|
+
align-self: center;
|
|
78
|
+
text-align: end;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[part="bar"],
|
|
82
|
+
[part="line"] {
|
|
83
|
+
--_bar-chart-series: var(--chart-series);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[part="mark"] {
|
|
87
|
+
block-size: 1px;
|
|
88
|
+
inline-size: 1px;
|
|
89
|
+
pointer-events: none;
|
|
90
|
+
position: absolute;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
[part="tooltip-anchor"] {
|
|
94
|
+
inset: 0;
|
|
95
|
+
pointer-events: none;
|
|
96
|
+
position: absolute;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[part="tooltip-label"] {
|
|
100
|
+
display: block;
|
|
101
|
+
font-weight: var(--helix-weight-medium);
|
|
102
|
+
margin-block-end: var(--helix-space-2xs);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
[part="tooltip-cell"] {
|
|
106
|
+
align-items: baseline;
|
|
107
|
+
column-gap: var(--helix-space-sm);
|
|
108
|
+
display: grid;
|
|
109
|
+
grid-template-columns: 0.5em minmax(0, 1fr) auto;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
[part="tooltip-name"] {
|
|
113
|
+
grid-column: 2;
|
|
114
|
+
|
|
115
|
+
opacity: 0.72;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
[part="tooltip-value"] {
|
|
119
|
+
font-variant-numeric: tabular-nums;
|
|
120
|
+
grid-column: 3;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
[part="tooltip-cell"][data-series]::before {
|
|
124
|
+
block-size: 0.5em;
|
|
125
|
+
border-radius: var(--helix-radii-full);
|
|
126
|
+
content: "";
|
|
127
|
+
grid-column: 1;
|
|
128
|
+
inline-size: 0.5em;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
[part="tooltip-cell"][data-series="1"]::before {
|
|
132
|
+
background-color: var(--helix-color-series-1);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
[part="tooltip-cell"][data-series="2"]::before {
|
|
136
|
+
background-color: var(--helix-color-series-2);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
[part="tooltip-cell"][data-series="3"]::before {
|
|
140
|
+
background-color: var(--helix-color-series-3);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
[part="tooltip-cell"][data-series="4"]::before {
|
|
144
|
+
background-color: var(--helix-color-series-4);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[part="tooltip-cell"][data-series="5"]::before {
|
|
148
|
+
background-color: var(--helix-color-series-5);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
[part="tooltip-cell"][data-series="6"]::before {
|
|
152
|
+
background-color: var(--helix-color-series-6);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[part="tooltip-cell"][data-series="7"]::before {
|
|
156
|
+
background-color: var(--helix-color-series-7);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[part="tooltip-cell"][data-series="8"]::before {
|
|
160
|
+
background-color: var(--helix-color-series-8);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
[part="tooltip-cell"][data-series="9"]::before {
|
|
164
|
+
background-color: var(--helix-color-series-9);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
[part="tooltip-cell"][data-series="10"]::before {
|
|
168
|
+
background-color: var(--helix-color-series-10);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
[part="tooltip-cell"][data-series="11"]::before {
|
|
172
|
+
background-color: var(--helix-color-series-11);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
[part="tooltip-cell"][data-series="12"]::before {
|
|
176
|
+
background-color: var(--helix-color-series-12);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
[part="tooltip-cell"][data-series="13"]::before {
|
|
180
|
+
background-color: var(--helix-color-series-13);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
[part="tooltip-cell"][data-series="14"]::before {
|
|
184
|
+
background-color: var(--helix-color-series-14);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
[part="tooltip-cell"][data-series="15"]::before {
|
|
188
|
+
background-color: var(--helix-color-series-15);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
[part="tooltip-cell"][data-series="16"]::before {
|
|
192
|
+
background-color: var(--helix-color-series-16);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
[part="tooltip-cell"][data-series="17"]::before {
|
|
196
|
+
background-color: var(--helix-color-series-17);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
[part="tooltip-cell"][data-series="18"]::before {
|
|
200
|
+
background-color: var(--helix-color-series-18);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
[part="tooltip-cell"][data-series="19"]::before {
|
|
204
|
+
background-color: var(--helix-color-series-19);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
[part="tooltip-cell"][data-series="20"]::before {
|
|
208
|
+
background-color: var(--helix-color-series-20);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
[part="tooltip-cell"][data-series="21"]::before {
|
|
212
|
+
background-color: var(--helix-color-series-21);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
[part="tooltip-cell"][data-series="22"]::before {
|
|
216
|
+
background-color: var(--helix-color-series-22);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
[part="tooltip-cell"][data-series="23"]::before {
|
|
220
|
+
background-color: var(--helix-color-series-23);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
[part="tooltip-cell"][data-series="24"]::before {
|
|
224
|
+
background-color: var(--helix-color-series-24);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
[part="plot"]:has([data-active]) [part="group"]:not([data-active]) {
|
|
228
|
+
opacity: 0.45;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
[part="group"] {
|
|
232
|
+
transition: opacity var(--helix-duration-fast) var(--helix-easing-decelerate);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
@media (prefers-reduced-motion: reduce) {
|
|
236
|
+
[part="group"] {
|
|
237
|
+
transition: none;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
[part="bar"] {
|
|
242
|
+
transition:
|
|
243
|
+
height var(--helix-duration-normal) var(--helix-easing-decelerate),
|
|
244
|
+
width var(--helix-duration-normal) var(--helix-easing-decelerate),
|
|
245
|
+
x var(--helix-duration-normal) var(--helix-easing-decelerate),
|
|
246
|
+
y var(--helix-duration-normal) var(--helix-easing-decelerate);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@starting-style {
|
|
250
|
+
:host(:not([direction="horizontal"])) [part="bar"] {
|
|
251
|
+
height: 0;
|
|
252
|
+
y: 100;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
:host([direction="horizontal"]) [part="bar"] {
|
|
256
|
+
width: 0;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
@media (prefers-reduced-motion: reduce) {
|
|
261
|
+
[part="bar"] {
|
|
262
|
+
transition: none;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
[part="plot"] {
|
|
267
|
+
cursor: crosshair;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
[part="gridline"] {
|
|
271
|
+
stroke: var(--bar-chart-gridline-color, var(--helix-color-border));
|
|
272
|
+
stroke-width: var(--helix-border-thin);
|
|
273
|
+
vector-effect: non-scaling-stroke;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
[part="band"] {
|
|
277
|
+
fill: var(--bar-chart-band-color, var(--helix-color-surface-sunken));
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
[part="line"] {
|
|
281
|
+
fill: none;
|
|
282
|
+
stroke: var(--bar-chart-line-color, var(--_bar-chart-series, var(--helix-color-series-1)));
|
|
283
|
+
stroke-linecap: round;
|
|
284
|
+
stroke-linejoin: round;
|
|
285
|
+
stroke-width: var(--bar-chart-line-width, 2.5px);
|
|
286
|
+
vector-effect: non-scaling-stroke;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
:host([secondary]) {
|
|
290
|
+
grid-template-columns: auto 1fr auto;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
:host([secondary]) [part="axis"][data-axis="primary"] {
|
|
294
|
+
grid-column: 1;
|
|
295
|
+
grid-row: 1;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
:host([secondary]) [part="plot"] {
|
|
299
|
+
grid-column: 2;
|
|
300
|
+
grid-row: 1;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
[part="axis"][data-axis="secondary"] {
|
|
304
|
+
--_bar-chart-axis-ink: color-mix(
|
|
305
|
+
in oklab,
|
|
306
|
+
var(--bar-chart-secondary) 45%,
|
|
307
|
+
var(--helix-color-foreground)
|
|
308
|
+
);
|
|
309
|
+
|
|
310
|
+
color: var(--_bar-chart-axis-ink, var(--helix-color-foreground-subtle));
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
:host([secondary]) [part="axis"][data-axis="secondary"] {
|
|
314
|
+
grid-column: 3;
|
|
315
|
+
grid-row: 1;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
:host([secondary]) [part="labels"] {
|
|
319
|
+
grid-column: 2;
|
|
320
|
+
grid-row: 2;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
:host([direction="horizontal"][secondary]) {
|
|
324
|
+
grid-template-columns: auto 1fr;
|
|
325
|
+
grid-template-rows: auto 1fr auto;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
:host([direction="horizontal"][secondary]) [part="axis"][data-axis="secondary"] {
|
|
329
|
+
grid-column: 2;
|
|
330
|
+
grid-row: 1;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
:host([direction="horizontal"][secondary]) [part="labels"] {
|
|
334
|
+
grid-column: 1;
|
|
335
|
+
grid-row: 2;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
:host([direction="horizontal"][secondary]) [part="plot"] {
|
|
339
|
+
grid-column: 2;
|
|
340
|
+
grid-row: 2;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
:host([direction="horizontal"][secondary]) [part="axis"][data-axis="primary"] {
|
|
344
|
+
grid-column: 2;
|
|
345
|
+
grid-row: 3;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
[part="axis"] {
|
|
349
|
+
color: var(--helix-color-foreground-subtle);
|
|
350
|
+
font-size: var(--helix-text-xs);
|
|
351
|
+
font-variant-numeric: tabular-nums;
|
|
352
|
+
pointer-events: none;
|
|
353
|
+
position: relative;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
:host(:not([direction="horizontal"])) [part="axis"] {
|
|
357
|
+
inline-size: var(--bar-chart-axis, 3ch);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
:host([direction="horizontal"]) [part="axis"] {
|
|
361
|
+
block-size: 1lh;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
[part="tick"] {
|
|
365
|
+
position: absolute;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
:host(:not([direction="horizontal"])) [part="tick"] {
|
|
369
|
+
inset-inline-end: 0;
|
|
370
|
+
translate: 0 -50%;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
:host([direction="horizontal"]) [part="tick"] {
|
|
374
|
+
translate: -50% 0;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
:host(:not([direction="horizontal"])) [part="axis"][data-axis="secondary"] [part="tick"] {
|
|
378
|
+
inset-inline-end: auto;
|
|
379
|
+
inset-inline-start: 0;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
[part="bar"] {
|
|
383
|
+
fill-opacity: calc(var(--_bar-chart-area, 1) * var(--_bar-chart-through, 1));
|
|
384
|
+
stroke-opacity: var(--_bar-chart-through, 1);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
[part="bar"][data-emphasis="outlined"],
|
|
388
|
+
:host([emphasis="outlined"]) [part="bar"]:not([data-emphasis]) {
|
|
389
|
+
fill: var(--_bar-chart-shade);
|
|
390
|
+
stroke: var(--_bar-chart-series);
|
|
391
|
+
stroke-width: var(--bar-chart-bar-stroke, var(--helix-border-thick));
|
|
392
|
+
vector-effect: non-scaling-stroke;
|
|
393
|
+
|
|
394
|
+
--_bar-chart-foot: var(--_bar-chart-base);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
[part="bar"][data-emphasis="subtle"],
|
|
398
|
+
:host([emphasis="subtle"]) [part="bar"]:not([data-emphasis]) {
|
|
399
|
+
stroke: var(--_bar-chart-series);
|
|
400
|
+
stroke-width: var(--bar-chart-bar-stroke, var(--helix-border-thick));
|
|
401
|
+
vector-effect: non-scaling-stroke;
|
|
402
|
+
|
|
403
|
+
--_bar-chart-area: 0.2;
|
|
404
|
+
|
|
405
|
+
--_bar-chart-foot: var(--_bar-chart-base);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
[part="bar"] {
|
|
409
|
+
--_bar-chart-shade: color-mix(
|
|
410
|
+
in oklab,
|
|
411
|
+
var(--_bar-chart-series) 60%,
|
|
412
|
+
var(--helix-color-background)
|
|
413
|
+
);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
[part="bar"][data-material="glass"],
|
|
417
|
+
:host([material="glass"]) [part="bar"]:not([data-material]) {
|
|
418
|
+
--_bar-chart-through: calc(0.62 * var(--helix-material-opacity));
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
[part="bar"][data-material="frosted"],
|
|
422
|
+
:host([material="frosted"]) [part="bar"]:not([data-material]) {
|
|
423
|
+
--_bar-chart-through: calc(0.88 * var(--helix-material-opacity));
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
:host([wash="gradient"]) [part="bar"] {
|
|
427
|
+
fill: var(--chart-bar-wash);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
[part="bar-wash-start"] {
|
|
431
|
+
stop-color: var(--chart-series);
|
|
432
|
+
stop-opacity: calc(1 * var(--helix-material-opacity));
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
[part="bar-wash-end"] {
|
|
436
|
+
stop-color: var(--chart-series);
|
|
437
|
+
stop-opacity: calc(0.35 * var(--helix-material-opacity));
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
@media print {
|
|
441
|
+
:host {
|
|
442
|
+
box-shadow: none;
|
|
443
|
+
print-color-adjust: exact;
|
|
444
|
+
}
|
|
445
|
+
}`);
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { HelixHeadlessBarChart } from '@fusion.dev/helix-headless/bar-chart';
|
|
2
|
+
import type { CSSResultGroup, PropertyValues } from 'lit';
|
|
3
|
+
import '../../tooltip/index.js';
|
|
4
|
+
/**
|
|
5
|
+
* @summary Categories as columns, read from a table.
|
|
6
|
+
*
|
|
7
|
+
* @description
|
|
8
|
+
* The columns take the series palette in order, so a chart of one is series one
|
|
9
|
+
* and a chart of four is the first four. Rounded at the far end only, because a
|
|
10
|
+
* column grows from the baseline and a rounded foot would lift it off the rule
|
|
11
|
+
* it is measured against.
|
|
12
|
+
*
|
|
13
|
+
* @since 0.1.0
|
|
14
|
+
* @status experimental
|
|
15
|
+
* @category charts
|
|
16
|
+
* @groups charts
|
|
17
|
+
* @aliases Column Chart, Categorical Chart
|
|
18
|
+
* @documentation https://helix.fusion.dev/components/bar-chart
|
|
19
|
+
*
|
|
20
|
+
* @cssproperty --bar-chart-band-color - The slot the pointer is resting in.
|
|
21
|
+
* @cssproperty --bar-chart-bar-radius - Corner radius at the far end of a column.
|
|
22
|
+
* @cssproperty --bar-chart-bar-stroke - Width of the edge an `outlined` or `subtle`
|
|
23
|
+
* column is drawn with.
|
|
24
|
+
* @cssproperty --bar-chart-block-size - Height of the drawing.
|
|
25
|
+
* @cssproperty --bar-chart-gap - Space between the drawing and its labels.
|
|
26
|
+
* @cssproperty --bar-chart-gridline-color - One rule across the plot, under `gridlines`.
|
|
27
|
+
* @cssproperty --bar-chart-line-color - A `lines` series, overriding its series color.
|
|
28
|
+
* @cssproperty --bar-chart-line-width - Thickness of a `lines` series.
|
|
29
|
+
*/
|
|
30
|
+
export declare class HelixBarChart extends HelixHeadlessBarChart {
|
|
31
|
+
/**
|
|
32
|
+
* **The styled tier, so the tooltip this renders is the styled one.**
|
|
33
|
+
*
|
|
34
|
+
* `tag()` builds a child's tag name from this prefix, and the base declares
|
|
35
|
+
* `helix-headless-`. Every other styled component that renders a child
|
|
36
|
+
* overrides it; the three charts that draw a tooltip did not, so a
|
|
37
|
+
* `helix-bar-chart` on a page put a `helix-headless-tooltip` in its shadow
|
|
38
|
+
* root: the behavior with none of the surface. What showed was the browser's
|
|
39
|
+
* own popover defaults, a white 1.5px border, square corners, `0.25em` of
|
|
40
|
+
* padding and the page's font size, which is why the reading bubble looked
|
|
41
|
+
* like no other tooltip on the site.
|
|
42
|
+
*
|
|
43
|
+
* Measured before the fix: the chart's bubble computed
|
|
44
|
+
* `border: 1.5px solid rgb(255, 255, 255)`, `border-radius: 0px`,
|
|
45
|
+
* `padding: 3.5px`, `font-size: 14px`. The masthead's, a `helix-tooltip`,
|
|
46
|
+
* had the component's own `none`, `radii-sm`, `2xs xs` and `text-xs`.
|
|
47
|
+
*/
|
|
48
|
+
static tier: string;
|
|
49
|
+
/**
|
|
50
|
+
* What the columns are made of.
|
|
51
|
+
*
|
|
52
|
+
* **A third axis on the chart, not on the bar.** A bar is a mark inside a
|
|
53
|
+
* drawing and nobody writes markup for one; the chart is what a consumer
|
|
54
|
+
* addresses, so the choice belongs here and reaches every column at once.
|
|
55
|
+
*
|
|
56
|
+
* `glass` lets the gridlines read through the columns, which is what puts a
|
|
57
|
+
* chart in the same language as a glass header rather than leaving it the one
|
|
58
|
+
* opaque slab on the page.
|
|
59
|
+
*
|
|
60
|
+
* **`gradient` was here and is `wash` now, which is #156.** The two set
|
|
61
|
+
* different properties, `fill-opacity` against `fill`, and a chart forced into
|
|
62
|
+
* both renders as a translucent gradient that is distinct from either: one
|
|
63
|
+
* enum was holding two independent things, which is the mistake `Card`'s own
|
|
64
|
+
* doc warns about arriving on the component that borrowed the word.
|
|
65
|
+
*
|
|
66
|
+
* Absent is solid, per the rule that a reflected property takes no default,
|
|
67
|
+
* so the stylesheet describes only the departure. The strength is the
|
|
68
|
+
* theme's: `glass` scales with `--helix-material-opacity`, so a language that
|
|
69
|
+
* is more see-through everywhere is more see-through here.
|
|
70
|
+
*
|
|
71
|
+
* Styled rather than headless, because what a bar is filled with is a
|
|
72
|
+
* treatment and this tier is where treatments live. The gradient it points at
|
|
73
|
+
* is drawn below, which is an element and therefore that tier's business.
|
|
74
|
+
*
|
|
75
|
+
* **This paints a mark rather than a ground, and the axis still reads the
|
|
76
|
+
* same way.** On a surface the points are how much of the page shows through;
|
|
77
|
+
* on a series they are how much ink the mark has, and the order is the same:
|
|
78
|
+
* `glass` admits most, `frosted` admits less, absent is opaque. The two
|
|
79
|
+
* factors, 0.62 and 0.88, carry the relationship the surface tokens carry
|
|
80
|
+
* between `material-translucent` and `material-translucent-strong`, so a
|
|
81
|
+
* chart and a card mean the same thing by the word.
|
|
82
|
+
*
|
|
83
|
+
* **`transparent` is where this one stops.** A mark with no ink is not a
|
|
84
|
+
* material choice, it is an absent series, and a chart says that by not
|
|
85
|
+
* having the datum rather than by painting it invisibly. See 270.
|
|
86
|
+
*/
|
|
87
|
+
material?: 'frosted' | 'glass';
|
|
88
|
+
/**
|
|
89
|
+
* How a column's fill is distributed across it.
|
|
90
|
+
*
|
|
91
|
+
* `gradient` fades each column toward its base, into the wash the headless
|
|
92
|
+
* tier draws whether or not anything points at it.
|
|
93
|
+
*
|
|
94
|
+
* **A chart-domain axis and deliberately not a library one.** It lives on this
|
|
95
|
+
* family alone, and here it is a way of encoding data rather than a way of
|
|
96
|
+
* expressing a theme: promoted to the registry it would put an attribute on
|
|
97
|
+
* eighty-eight components that means nothing on eighty-seven. `wash` because
|
|
98
|
+
* that is what the tier below already calls it, in `--chart-bar-wash` and in
|
|
99
|
+
* the `bar-wash-start` and `bar-wash-end` stops.
|
|
100
|
+
*/
|
|
101
|
+
wash?: 'gradient';
|
|
102
|
+
/**
|
|
103
|
+
* Which series are glass rather than solid, by name.
|
|
104
|
+
*
|
|
105
|
+
* Matched the way `outlined` is, against the column headings the table gives.
|
|
106
|
+
*
|
|
107
|
+
* **Per series for the reason `emphasis` is, arrived at one axis later.** A
|
|
108
|
+
* chart-wide material puts every column in the same substance, which is right
|
|
109
|
+
* when the whole chart is joining the page's language and wrong the moment one
|
|
110
|
+
* series is a different kind of fact from the others. The two axes take the
|
|
111
|
+
* same shape because they answer the same question about the same thing: what
|
|
112
|
+
* is *this series* made of, and how much ink does *this series* claim.
|
|
113
|
+
*/
|
|
114
|
+
glass?: string;
|
|
115
|
+
/**
|
|
116
|
+
* How much ink the columns claim.
|
|
117
|
+
*
|
|
118
|
+
* The chart's treatment, which every series takes unless `outlined` or
|
|
119
|
+
* `subtle` names it. `outlined` is the mark as its edge alone, `subtle` a wash
|
|
120
|
+
* of the series color with that edge on it, and absent is the filled column,
|
|
121
|
+
* per the rule that a reflected property takes no default.
|
|
122
|
+
*
|
|
123
|
+
* **It composes with `material` rather than competing with it.** Emphasis
|
|
124
|
+
* decides what is drawn and material decides how much of it comes through, so
|
|
125
|
+
* `glass` thins whatever emphasis put there: the fill on a solid column, the
|
|
126
|
+
* stroke on an outlined one. That corner was inert when the two were first
|
|
127
|
+
* put side by side, `glass` setting a fill opacity on a mark whose fill is
|
|
128
|
+
* `none`, and a combination that silently does nothing is the trap
|
|
129
|
+
* `--card-backdrop` was for the one commit it shipped alone.
|
|
130
|
+
*/
|
|
131
|
+
emphasis?: 'outlined' | 'solid' | 'subtle';
|
|
132
|
+
/**
|
|
133
|
+
* Which series are drawn as an outline rather than a fill, by name.
|
|
134
|
+
*
|
|
135
|
+
* Space separated and matched against the column headings the table gives,
|
|
136
|
+
* the way `lines` and `secondary` are, so a chart says `outlined="Forecast"`
|
|
137
|
+
* rather than counting columns. Names because they are what the table already
|
|
138
|
+
* carries and what the legend already shows.
|
|
139
|
+
*
|
|
140
|
+
* **The case this exists for is a series that is not a measurement.** A
|
|
141
|
+
* forecast, a target, a budget: something drawn on the same axis as the
|
|
142
|
+
* others and not the same kind of fact, which an outline says without a
|
|
143
|
+
* second legend or a note under the chart.
|
|
144
|
+
*
|
|
145
|
+
* Per series and not per bar, because a bar is a mark inside a drawing and
|
|
146
|
+
* nobody writes markup for one, which is the same reason `material` sits on
|
|
147
|
+
* the chart.
|
|
148
|
+
*/
|
|
149
|
+
outlined?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Which series are drawn as a wash of their color, by name.
|
|
152
|
+
*
|
|
153
|
+
* Matched as `outlined` is.
|
|
154
|
+
*/
|
|
155
|
+
subtle?: string;
|
|
156
|
+
/**
|
|
157
|
+
* Marks each column with the treatments its series asked for.
|
|
158
|
+
*
|
|
159
|
+
* **Stamped after render rather than rendered, because the tier that draws
|
|
160
|
+
* the columns is the one that must not know about treatments.** The headless
|
|
161
|
+
* tier already writes `data-series` on every rect so a stylesheet can color
|
|
162
|
+
* it; this reads the same mark, resolves the names against the series the
|
|
163
|
+
* table gave, and writes `data-emphasis` beside it. The stylesheet does the
|
|
164
|
+
* rest, so nothing about painting crosses the tier boundary.
|
|
165
|
+
*
|
|
166
|
+
* The mark is the palette slot rather than the series ordinal, so past the
|
|
167
|
+
* palette's width two series share one. They share a color there too, which
|
|
168
|
+
* is the same limit arriving in a second place rather than a new one.
|
|
169
|
+
*/
|
|
170
|
+
protected updated(changed: PropertyValues<this>): void;
|
|
171
|
+
static styles: CSSResultGroup;
|
|
172
|
+
}
|
|
173
|
+
declare global {
|
|
174
|
+
interface HTMLElementTagNameMap {
|
|
175
|
+
'helix-bar-chart': HelixBarChart;
|
|
176
|
+
}
|
|
177
|
+
}
|