@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,26 @@
|
|
|
1
|
+
import { HelixHeadlessMenuItem } from '@fusion.dev/helix-headless/menu';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary One row in a menu: a command, a choice, or a way into a submenu.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The tick and the arrow hold their space whether or not they are showing, so
|
|
8
|
+
* the labels in a menu start at one place and the rows read as a column rather
|
|
9
|
+
* than as a ragged list.
|
|
10
|
+
*
|
|
11
|
+
* @since 0.1.0
|
|
12
|
+
* @status experimental
|
|
13
|
+
* @aliases Menu option, Menu row
|
|
14
|
+
* @documentation https://helix.fusion.dev/components/menu
|
|
15
|
+
*
|
|
16
|
+
* @cssproperty --menu-item-hover-color - Fill under the pointer.
|
|
17
|
+
* @cssproperty --menu-item-start - Width of the leading column, for a row carrying more than a mark.
|
|
18
|
+
*/
|
|
19
|
+
export declare class HelixMenuItem extends HelixHeadlessMenuItem {
|
|
20
|
+
static styles: CSSResultGroup;
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
'helix-menu-item': HelixMenuItem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 { HelixHeadlessMenuItem } from '@fusion.dev/helix-headless/menu';
|
|
9
|
+
import { styles } from './menu-item.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary One row in a menu: a command, a choice, or a way into a submenu.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* The tick and the arrow hold their space whether or not they are showing, so
|
|
15
|
+
* the labels in a menu start at one place and the rows read as a column rather
|
|
16
|
+
* than as a ragged list.
|
|
17
|
+
*
|
|
18
|
+
* @since 0.1.0
|
|
19
|
+
* @status experimental
|
|
20
|
+
* @aliases Menu option, Menu row
|
|
21
|
+
* @documentation https://helix.fusion.dev/components/menu
|
|
22
|
+
*
|
|
23
|
+
* @cssproperty --menu-item-hover-color - Fill under the pointer.
|
|
24
|
+
* @cssproperty --menu-item-start - Width of the leading column, for a row carrying more than a mark.
|
|
25
|
+
*/
|
|
26
|
+
let HelixMenuItem = class HelixMenuItem extends HelixHeadlessMenuItem {
|
|
27
|
+
static { this.styles = styles; }
|
|
28
|
+
};
|
|
29
|
+
HelixMenuItem = __decorate([
|
|
30
|
+
customElement('helix-menu-item')
|
|
31
|
+
], HelixMenuItem);
|
|
32
|
+
export { HelixMenuItem };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
// Generated from src/menu/root/menu-root.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
|
|
5
|
+
display: contents;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[part="surface"] {
|
|
9
|
+
|
|
10
|
+
max-block-size: var(--menu-max-block-size, var(--floating-available-block-size, none));
|
|
11
|
+
overflow-y: auto;
|
|
12
|
+
|
|
13
|
+
--helix-size-control: var(--helix-size-control-sm);
|
|
14
|
+
--helix-size-icon: var(--helix-size-icon-sm);
|
|
15
|
+
|
|
16
|
+
background-color: var(--menu-background-color, var(--helix-color-surface-overlay));
|
|
17
|
+
|
|
18
|
+
border: var(--menu-border-width, var(--helix-border-floating)) solid
|
|
19
|
+
var(--menu-border-color, var(--helix-color-border));
|
|
20
|
+
|
|
21
|
+
border-radius: var(--helix-radii-sm);
|
|
22
|
+
box-shadow: var(--menu-shadow, var(--helix-shadow-floating));
|
|
23
|
+
|
|
24
|
+
inset: auto;
|
|
25
|
+
margin: var(--helix-space-none);
|
|
26
|
+
min-inline-size: var(--menu-min-inline-size, 12rem);
|
|
27
|
+
|
|
28
|
+
padding-block: var(--helix-space-xs);
|
|
29
|
+
padding-inline: var(--helix-space-none);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[part="surface"][hidden] {
|
|
33
|
+
display: none;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[part="surface"] {
|
|
37
|
+
opacity: 0;
|
|
38
|
+
--_travel: calc(var(--helix-space-2xs) * -1);
|
|
39
|
+
transform: translateY(var(--_travel));
|
|
40
|
+
scale: 0.96;
|
|
41
|
+
transition:
|
|
42
|
+
opacity var(--helix-duration-fast) var(--helix-easing-standard),
|
|
43
|
+
scale var(--helix-duration-fast) var(--helix-easing-emphasized),
|
|
44
|
+
transform var(--helix-duration-fast) var(--helix-easing-emphasized),
|
|
45
|
+
display var(--helix-duration-fast) allow-discrete,
|
|
46
|
+
overlay var(--helix-duration-fast) allow-discrete;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[part="surface"][data-placement^="top"] {
|
|
50
|
+
--_travel: var(--helix-space-2xs);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[part="surface"][data-placed] {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
scale: 1;
|
|
56
|
+
transform: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[part="surface"][data-placement^="top"] {
|
|
60
|
+
transform-origin: var(--floating-arrow-x, 50%) 100%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[part="surface"][data-placement^="bottom"] {
|
|
64
|
+
transform-origin: var(--floating-arrow-x, 50%) 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[part="surface"][data-placement^="left"] {
|
|
68
|
+
transform-origin: 100% var(--floating-arrow-y, 50%);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[part="surface"][data-placement^="right"] {
|
|
72
|
+
transform-origin: 0 var(--floating-arrow-y, 50%);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media (prefers-reduced-motion: reduce) {
|
|
76
|
+
[part="surface"],
|
|
77
|
+
[part="surface"][data-placed] {
|
|
78
|
+
scale: 1;
|
|
79
|
+
transform: none;
|
|
80
|
+
transition: none;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[part="header"] {
|
|
85
|
+
align-items: center;
|
|
86
|
+
border-block-end: var(--helix-border-thin) solid var(--helix-color-border);
|
|
87
|
+
display: flex;
|
|
88
|
+
gap: var(--helix-space-2xs);
|
|
89
|
+
margin-block-end: var(--helix-space-2xs);
|
|
90
|
+
|
|
91
|
+
padding: var(--helix-space-2xs) var(--helix-space-xs) var(--helix-space-xs);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
[part="back"] {
|
|
95
|
+
align-items: center;
|
|
96
|
+
background: none;
|
|
97
|
+
border: none;
|
|
98
|
+
border-radius: var(--helix-radii-sm);
|
|
99
|
+
color: var(--helix-color-foreground-muted);
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
display: inline-flex;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
|
|
104
|
+
block-size: calc(var(--helix-size-icon) + var(--helix-space-xs));
|
|
105
|
+
inline-size: calc(var(--helix-size-icon) + var(--helix-space-xs));
|
|
106
|
+
padding: var(--helix-space-none);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
[part="back"] svg {
|
|
110
|
+
block-size: var(--helix-size-icon);
|
|
111
|
+
inline-size: var(--helix-size-icon);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
[part="back"]:hover {
|
|
115
|
+
background-color: color-mix(in oklab, var(--helix-color-foreground) 8%, transparent);
|
|
116
|
+
color: var(--helix-color-foreground);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
[part="back"]:focus-visible {
|
|
120
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
121
|
+
outline-offset: calc(var(--helix-size-focus-offset) * -1);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[part="title"] {
|
|
125
|
+
color: var(--helix-color-foreground);
|
|
126
|
+
font-size: var(--helix-text-xs);
|
|
127
|
+
font-weight: var(--helix-weight-medium);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
::slotted(helix-divider) {
|
|
131
|
+
margin-block: var(--helix-space-2xs);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
[part="surface"][data-drilled] slot::slotted(:not(helix-menu-item)) {
|
|
135
|
+
display: none;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host(:dir(rtl)) [part="back"] svg {
|
|
139
|
+
scale: -1 1;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
[part="empty"],
|
|
143
|
+
[part="loading"] {
|
|
144
|
+
color: var(--helix-color-foreground-subtle);
|
|
145
|
+
font-family: var(--helix-font-sans);
|
|
146
|
+
font-size: var(--helix-text-sm);
|
|
147
|
+
margin: var(--helix-space-none);
|
|
148
|
+
padding-block: var(--helix-space-md);
|
|
149
|
+
padding-inline: var(--helix-space-sm);
|
|
150
|
+
text-align: center;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host([loading]) [part="surface"] {
|
|
154
|
+
opacity: 0.5;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@media print {
|
|
158
|
+
:host {
|
|
159
|
+
display: none;
|
|
160
|
+
}
|
|
161
|
+
}`);
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HelixHeadlessMenu } from '@fusion.dev/helix-headless/menu';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A menu of commands, opened from a trigger.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The surface is in the top layer, so it needs no `z-index` and cannot be
|
|
8
|
+
* clipped by whatever it sits inside.
|
|
9
|
+
*
|
|
10
|
+
* A submenu replaces the page rather than opening beside it, so the panel stays
|
|
11
|
+
* one panel and reads the same on a phone as on a desk.
|
|
12
|
+
*
|
|
13
|
+
* @since 0.1.0
|
|
14
|
+
* @status experimental
|
|
15
|
+
* @category overlays
|
|
16
|
+
* @aliases Dropdown, Action menu
|
|
17
|
+
* @documentation https://helix.fusion.dev/components/menu
|
|
18
|
+
*
|
|
19
|
+
* @cssproperty --menu-background-color - Fill of the surface.
|
|
20
|
+
* @cssproperty --menu-border-color - Color of the panel's edge.
|
|
21
|
+
* @cssproperty --menu-border-width - Width of the panel's edge. Follows
|
|
22
|
+
* `--helix-border-floating`, which is `0`, so the panel is told apart by its lift unless a
|
|
23
|
+
* theme says otherwise.
|
|
24
|
+
* @cssproperty --menu-max-block-size - Tallest the surface grows before it scrolls.
|
|
25
|
+
* @cssproperty --menu-min-inline-size - Narrowest the surface gets.
|
|
26
|
+
* @cssproperty --menu-shadow - Lift under the panel. Follows `--helix-shadow-floating`: a
|
|
27
|
+
* floating surface sits over content nobody can predict, so it keeps a lift by default.
|
|
28
|
+
*/
|
|
29
|
+
export declare class HelixMenu extends HelixHeadlessMenu {
|
|
30
|
+
static styles: CSSResultGroup;
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
'helix-menu': HelixMenu;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { customElement } from '@fusion.dev/helix-core';
|
|
8
|
+
import { HelixHeadlessMenu } from '@fusion.dev/helix-headless/menu';
|
|
9
|
+
import { styles } from './menu-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary A menu of commands, opened from a trigger.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* The surface is in the top layer, so it needs no `z-index` and cannot be
|
|
15
|
+
* clipped by whatever it sits inside.
|
|
16
|
+
*
|
|
17
|
+
* A submenu replaces the page rather than opening beside it, so the panel stays
|
|
18
|
+
* one panel and reads the same on a phone as on a desk.
|
|
19
|
+
*
|
|
20
|
+
* @since 0.1.0
|
|
21
|
+
* @status experimental
|
|
22
|
+
* @category overlays
|
|
23
|
+
* @aliases Dropdown, Action menu
|
|
24
|
+
* @documentation https://helix.fusion.dev/components/menu
|
|
25
|
+
*
|
|
26
|
+
* @cssproperty --menu-background-color - Fill of the surface.
|
|
27
|
+
* @cssproperty --menu-border-color - Color of the panel's edge.
|
|
28
|
+
* @cssproperty --menu-border-width - Width of the panel's edge. Follows
|
|
29
|
+
* `--helix-border-floating`, which is `0`, so the panel is told apart by its lift unless a
|
|
30
|
+
* theme says otherwise.
|
|
31
|
+
* @cssproperty --menu-max-block-size - Tallest the surface grows before it scrolls.
|
|
32
|
+
* @cssproperty --menu-min-inline-size - Narrowest the surface gets.
|
|
33
|
+
* @cssproperty --menu-shadow - Lift under the panel. Follows `--helix-shadow-floating`: a
|
|
34
|
+
* floating surface sits over content nobody can predict, so it keeps a lift by default.
|
|
35
|
+
*/
|
|
36
|
+
let HelixMenu = class HelixMenu extends HelixHeadlessMenu {
|
|
37
|
+
static { this.styles = styles; }
|
|
38
|
+
};
|
|
39
|
+
HelixMenu = __decorate([
|
|
40
|
+
customElement('helix-menu')
|
|
41
|
+
], HelixMenu);
|
|
42
|
+
export { HelixMenu };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/meter-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/meter-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
// Generated from src/meter/root/meter-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
|
+
:host([show-value]) {
|
|
8
|
+
align-items: center;
|
|
9
|
+
display: grid;
|
|
10
|
+
gap: var(--helix-space-sm);
|
|
11
|
+
grid-template-columns: 1fr auto;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
[part="value"] {
|
|
15
|
+
color: var(--helix-color-foreground-muted);
|
|
16
|
+
font-family: var(--helix-font-sans);
|
|
17
|
+
font-size: var(--helix-text-xs);
|
|
18
|
+
font-variant-numeric: tabular-nums;
|
|
19
|
+
min-inline-size: 3ch;
|
|
20
|
+
text-align: end;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[part="track"] {
|
|
24
|
+
background-color: var(--meter-track-color, var(--helix-color-surface-sunken));
|
|
25
|
+
block-size: var(--meter-size, var(--helix-size-meter));
|
|
26
|
+
|
|
27
|
+
border-radius: var(--helix-radii-sm);
|
|
28
|
+
inline-size: 100%;
|
|
29
|
+
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
position: relative;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[part="indicator"] {
|
|
35
|
+
background-color: var(--_meter-hue);
|
|
36
|
+
|
|
37
|
+
--_meter-hue: var(--meter-color, var(--helix-color-primary));
|
|
38
|
+
block-size: 100%;
|
|
39
|
+
border-radius: inherit;
|
|
40
|
+
inline-size: 100%;
|
|
41
|
+
scale: var(--meter-fraction, 0) 1;
|
|
42
|
+
transform-origin: left center;
|
|
43
|
+
transition:
|
|
44
|
+
background-color var(--helix-duration-normal) var(--helix-easing-standard),
|
|
45
|
+
scale var(--helix-duration-normal) var(--helix-easing-decelerate);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host(:dir(rtl)) [part="indicator"] {
|
|
49
|
+
transform-origin: right center;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
[part="indicator"][data-band="good"] {
|
|
53
|
+
background-color: var(--_meter-hue);
|
|
54
|
+
|
|
55
|
+
--_meter-hue: var(--meter-color, var(--helix-color-success));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[part="indicator"][data-band="fair"] {
|
|
59
|
+
background-color: var(--_meter-hue);
|
|
60
|
+
|
|
61
|
+
--_meter-hue: var(--meter-color, var(--helix-color-warning));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[part="indicator"][data-band="poor"] {
|
|
65
|
+
background-color: var(--_meter-hue);
|
|
66
|
+
|
|
67
|
+
--_meter-hue: var(--meter-color, var(--helix-color-danger));
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[part="indicator"][data-beyond="over"] {
|
|
71
|
+
border-end-end-radius: var(--helix-radii-none);
|
|
72
|
+
border-start-end-radius: var(--helix-radii-none);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[part="indicator"][data-beyond="under"] {
|
|
76
|
+
border-end-start-radius: var(--helix-radii-none);
|
|
77
|
+
border-start-start-radius: var(--helix-radii-none);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[part="tick"] {
|
|
81
|
+
background-color: var(--meter-tick-color, var(--helix-color-background));
|
|
82
|
+
block-size: 100%;
|
|
83
|
+
inline-size: var(--helix-border-thick);
|
|
84
|
+
inset-block-start: 0;
|
|
85
|
+
inset-inline-start: var(--meter-at, 0%);
|
|
86
|
+
position: absolute;
|
|
87
|
+
|
|
88
|
+
translate: -50%;
|
|
89
|
+
z-index: var(--helix-layer-raised);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@media (prefers-reduced-motion: reduce) {
|
|
93
|
+
[part="indicator"] {
|
|
94
|
+
transition: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
:host([shape="arc"]),
|
|
99
|
+
:host([shape="ring"]) {
|
|
100
|
+
display: inline-grid;
|
|
101
|
+
place-items: center;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
:host([shape="arc"]) [part="track"],
|
|
105
|
+
:host([shape="ring"]) [part="track"] {
|
|
106
|
+
--_meter-stroke: var(--meter-ring-width, var(--helix-size-progress));
|
|
107
|
+
|
|
108
|
+
background-color: transparent;
|
|
109
|
+
block-size: var(--meter-ring-size, 6rem);
|
|
110
|
+
border-radius: var(--helix-radii-none);
|
|
111
|
+
grid-area: 1 / 1;
|
|
112
|
+
inline-size: var(--meter-ring-size, 6rem);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:host([shape="ring"]) [part="track"] {
|
|
116
|
+
rotate: -90deg;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
:host([shape="arc"]) [part="track"] {
|
|
120
|
+
rotate: 135deg;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:host([shape="arc"]) [part="groove"],
|
|
124
|
+
:host([shape="arc"]) [part="indicator"],
|
|
125
|
+
:host([shape="arc"]) [part="tick"],
|
|
126
|
+
:host([shape="ring"]) [part="groove"],
|
|
127
|
+
:host([shape="ring"]) [part="indicator"],
|
|
128
|
+
:host([shape="ring"]) [part="tick"] {
|
|
129
|
+
cx: 50%;
|
|
130
|
+
cy: 50%;
|
|
131
|
+
fill: none;
|
|
132
|
+
r: calc(50% - var(--_meter-stroke) / 2);
|
|
133
|
+
stroke-width: var(--_meter-stroke);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:host([shape="arc"]) [part="groove"],
|
|
137
|
+
:host([shape="ring"]) [part="groove"] {
|
|
138
|
+
stroke: var(--meter-track-color, var(--helix-color-surface-sunken));
|
|
139
|
+
stroke-dasharray: var(--meter-sweep) 100;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:host([shape="arc"]) [part="indicator"],
|
|
143
|
+
:host([shape="ring"]) [part="indicator"] {
|
|
144
|
+
scale: none;
|
|
145
|
+
stroke: var(--_meter-hue);
|
|
146
|
+
|
|
147
|
+
--_meter-hue: var(--helix-color-foreground-muted);
|
|
148
|
+
stroke-dasharray: var(--meter-along) 100;
|
|
149
|
+
stroke-linecap: round;
|
|
150
|
+
transition: stroke-dasharray var(--helix-duration-normal) var(--helix-easing-standard);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host([shape="arc"]) [part="tick"],
|
|
154
|
+
:host([shape="ring"]) [part="tick"] {
|
|
155
|
+
|
|
156
|
+
inset-inline-start: auto;
|
|
157
|
+
position: static;
|
|
158
|
+
stroke: var(--meter-tick-color, var(--helix-color-background));
|
|
159
|
+
stroke-dasharray: 1 99;
|
|
160
|
+
stroke-dashoffset: calc(var(--meter-along) * -1);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:host([shape="arc"]) [part="indicator"][data-band="good"],
|
|
164
|
+
:host([shape="ring"]) [part="indicator"][data-band="good"] {
|
|
165
|
+
stroke: var(--_meter-hue);
|
|
166
|
+
|
|
167
|
+
--_meter-hue: var(--helix-color-success);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
:host([shape="arc"]) [part="indicator"][data-band="fair"],
|
|
171
|
+
:host([shape="ring"]) [part="indicator"][data-band="fair"] {
|
|
172
|
+
stroke: var(--_meter-hue);
|
|
173
|
+
|
|
174
|
+
--_meter-hue: var(--helix-color-warning);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
:host([shape="arc"]) [part="indicator"][data-band="poor"],
|
|
178
|
+
:host([shape="ring"]) [part="indicator"][data-band="poor"] {
|
|
179
|
+
stroke: var(--_meter-hue);
|
|
180
|
+
|
|
181
|
+
--_meter-hue: var(--helix-color-danger);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
:host([shape="arc"]) [part="value"],
|
|
185
|
+
:host([shape="ring"]) [part="value"] {
|
|
186
|
+
grid-area: 1 / 1;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@media (prefers-reduced-motion: reduce) {
|
|
190
|
+
:host([shape="arc"]) [part="indicator"],
|
|
191
|
+
:host([shape="ring"]) [part="indicator"] {
|
|
192
|
+
transition: none;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@media print {
|
|
197
|
+
:host {
|
|
198
|
+
box-shadow: none;
|
|
199
|
+
print-color-adjust: exact;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
:host([emphasis="subtle"]) [part="indicator"] {
|
|
204
|
+
background-color: color-mix(
|
|
205
|
+
in oklab,
|
|
206
|
+
var(--_meter-hue) 30%,
|
|
207
|
+
var(--meter-track-color, var(--helix-color-surface-sunken))
|
|
208
|
+
);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
:host([emphasis="subtle"][shape="arc"]) [part="indicator"],
|
|
212
|
+
:host([emphasis="subtle"][shape="ring"]) [part="indicator"] {
|
|
213
|
+
stroke: color-mix(
|
|
214
|
+
in oklab,
|
|
215
|
+
var(--_meter-hue) 30%,
|
|
216
|
+
var(--meter-track-color, var(--helix-color-surface-sunken))
|
|
217
|
+
);
|
|
218
|
+
}`);
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { HelixHeadlessMeter } from '@fusion.dev/helix-headless/meter';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A measurement in a known range, and whether it is where you want it.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The bar `Progress` draws, at twice the height and on the house corner rather
|
|
8
|
+
* than its pill.
|
|
9
|
+
*
|
|
10
|
+
* It shipped at the progress height, on the argument that the two stand beside
|
|
11
|
+
* each other in a panel. Rendered side by side that turned out backwards: they
|
|
12
|
+
* *are* two unrelated controls, and a reader telling a level from a task at a
|
|
13
|
+
* glance is the point rather than the cost. A meter also carries more, a fill
|
|
14
|
+
* and a mark at each threshold, and at eight pixels those marks are hairlines.
|
|
15
|
+
* At sixteen they are unmistakable.
|
|
16
|
+
*
|
|
17
|
+
* The corner is the ticks' doing: they cut the fill into segments, and a
|
|
18
|
+
* pill-ended bar comes out as a run whose outer ends are round and whose inner
|
|
19
|
+
* ends are square. `radii-full` on an eight pixel bar was a four pixel pill
|
|
20
|
+
* anyway, so this is only a change at all because the bar grew.
|
|
21
|
+
*
|
|
22
|
+
* What else differs is what the color means. A progress bar is one color because
|
|
23
|
+
* there is one thing to say; a meter's fill takes the success, warning or danger
|
|
24
|
+
* tone from the band its reading falls in, and only once thresholds have been
|
|
25
|
+
* declared. An unbanded meter is neutral, because a gauge with nothing said
|
|
26
|
+
* about it is a reading rather than good news.
|
|
27
|
+
*
|
|
28
|
+
* A tick marks each threshold, so the reading can be placed against the bands
|
|
29
|
+
* without seeing color at all.
|
|
30
|
+
*
|
|
31
|
+
* A reading past either end squares the corner it ran out at, which is the
|
|
32
|
+
* convention for a quantity continuing past the frame it is drawn in. The bar
|
|
33
|
+
* itself stops, because that is what an end is; the words and the accessible
|
|
34
|
+
* reading are what say how far past.
|
|
35
|
+
*
|
|
36
|
+
* @since 0.1.0
|
|
37
|
+
* @status stable
|
|
38
|
+
* @category feedback
|
|
39
|
+
* @groups charts
|
|
40
|
+
* @aliases Gauge, Level, Capacity
|
|
41
|
+
* @documentation https://helix.fusion.dev/components/meter
|
|
42
|
+
*
|
|
43
|
+
* @csspart indicator - The part of it the value fills.
|
|
44
|
+
* @csspart tick - A mark at `low` or at `high`.
|
|
45
|
+
* @csspart track - The whole range.
|
|
46
|
+
* @csspart value - The reading, under `show-value`.
|
|
47
|
+
*
|
|
48
|
+
* @cssproperty --meter-color - The fill, overriding the band's own tone.
|
|
49
|
+
* @cssproperty --meter-ring-size - Edge length of the drawing, in `ring` and `arc`.
|
|
50
|
+
* @cssproperty --meter-ring-width - Thickness of the stroke there.
|
|
51
|
+
* @cssproperty --meter-size - How thick the bar is.
|
|
52
|
+
* @cssproperty --meter-tick-color - The mark at a threshold.
|
|
53
|
+
* @cssproperty --meter-track-color - The groove behind the fill.
|
|
54
|
+
*/
|
|
55
|
+
export declare class HelixMeter extends HelixHeadlessMeter {
|
|
56
|
+
/**
|
|
57
|
+
* How much ink the reading claims.
|
|
58
|
+
*
|
|
59
|
+
* `subtle` is the reading as a wash of its own color: still legible, no longer
|
|
60
|
+
* the loudest thing in the region. The case is a dashboard: several meters where one is the number being watched and the rest are context, which is a fact about the region rather than about any one of them and is exactly what this axis is for.
|
|
61
|
+
*
|
|
62
|
+
* **One value and not the four, which is the judgment this axis asks for
|
|
63
|
+
* rather than a partial sweep.** `ghost` would leave a track with nothing in
|
|
64
|
+
* it, which is not a quiet reading but an absent one. `outlined` is the
|
|
65
|
+
* interesting refusal: `BarChart` makes it work by keeping the area and fading
|
|
66
|
+
* it toward the page, so an outlined column still encodes its value, and the
|
|
67
|
+
* reason it earns the value there is that a chart has other series for the
|
|
68
|
+
* outlined one to be a *different kind of fact from* (a forecast, a target,
|
|
69
|
+
* a budget). A meter reports one quantity against its own range, and the bands it already carries say which part of that range it is in, so there is no second kind of fact for an outline to name. `solid` is the resting state and is written by not
|
|
70
|
+
* writing it, per the rule that a reflected property takes no default.
|
|
71
|
+
*/
|
|
72
|
+
emphasis?: 'subtle';
|
|
73
|
+
static styles: CSSResultGroup;
|
|
74
|
+
}
|
|
75
|
+
declare global {
|
|
76
|
+
interface HTMLElementTagNameMap {
|
|
77
|
+
'helix-meter': HelixMeter;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 { HelixHeadlessMeter } from '@fusion.dev/helix-headless/meter';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles } from './meter-root.css.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary A measurement in a known range, and whether it is where you want it.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* The bar `Progress` draws, at twice the height and on the house corner rather
|
|
16
|
+
* than its pill.
|
|
17
|
+
*
|
|
18
|
+
* It shipped at the progress height, on the argument that the two stand beside
|
|
19
|
+
* each other in a panel. Rendered side by side that turned out backwards: they
|
|
20
|
+
* *are* two unrelated controls, and a reader telling a level from a task at a
|
|
21
|
+
* glance is the point rather than the cost. A meter also carries more, a fill
|
|
22
|
+
* and a mark at each threshold, and at eight pixels those marks are hairlines.
|
|
23
|
+
* At sixteen they are unmistakable.
|
|
24
|
+
*
|
|
25
|
+
* The corner is the ticks' doing: they cut the fill into segments, and a
|
|
26
|
+
* pill-ended bar comes out as a run whose outer ends are round and whose inner
|
|
27
|
+
* ends are square. `radii-full` on an eight pixel bar was a four pixel pill
|
|
28
|
+
* anyway, so this is only a change at all because the bar grew.
|
|
29
|
+
*
|
|
30
|
+
* What else differs is what the color means. A progress bar is one color because
|
|
31
|
+
* there is one thing to say; a meter's fill takes the success, warning or danger
|
|
32
|
+
* tone from the band its reading falls in, and only once thresholds have been
|
|
33
|
+
* declared. An unbanded meter is neutral, because a gauge with nothing said
|
|
34
|
+
* about it is a reading rather than good news.
|
|
35
|
+
*
|
|
36
|
+
* A tick marks each threshold, so the reading can be placed against the bands
|
|
37
|
+
* without seeing color at all.
|
|
38
|
+
*
|
|
39
|
+
* A reading past either end squares the corner it ran out at, which is the
|
|
40
|
+
* convention for a quantity continuing past the frame it is drawn in. The bar
|
|
41
|
+
* itself stops, because that is what an end is; the words and the accessible
|
|
42
|
+
* reading are what say how far past.
|
|
43
|
+
*
|
|
44
|
+
* @since 0.1.0
|
|
45
|
+
* @status stable
|
|
46
|
+
* @category feedback
|
|
47
|
+
* @groups charts
|
|
48
|
+
* @aliases Gauge, Level, Capacity
|
|
49
|
+
* @documentation https://helix.fusion.dev/components/meter
|
|
50
|
+
*
|
|
51
|
+
* @csspart indicator - The part of it the value fills.
|
|
52
|
+
* @csspart tick - A mark at `low` or at `high`.
|
|
53
|
+
* @csspart track - The whole range.
|
|
54
|
+
* @csspart value - The reading, under `show-value`.
|
|
55
|
+
*
|
|
56
|
+
* @cssproperty --meter-color - The fill, overriding the band's own tone.
|
|
57
|
+
* @cssproperty --meter-ring-size - Edge length of the drawing, in `ring` and `arc`.
|
|
58
|
+
* @cssproperty --meter-ring-width - Thickness of the stroke there.
|
|
59
|
+
* @cssproperty --meter-size - How thick the bar is.
|
|
60
|
+
* @cssproperty --meter-tick-color - The mark at a threshold.
|
|
61
|
+
* @cssproperty --meter-track-color - The groove behind the fill.
|
|
62
|
+
*/
|
|
63
|
+
let HelixMeter = class HelixMeter extends HelixHeadlessMeter {
|
|
64
|
+
static { this.styles = styles; }
|
|
65
|
+
};
|
|
66
|
+
__decorate([
|
|
67
|
+
property({ reflect: true })
|
|
68
|
+
], HelixMeter.prototype, "emphasis", void 0);
|
|
69
|
+
HelixMeter = __decorate([
|
|
70
|
+
customElement('helix-meter')
|
|
71
|
+
], HelixMeter);
|
|
72
|
+
export { HelixMeter };
|