@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,447 @@
|
|
|
1
|
+
import { HelixElement } from '@fusion.dev/helix-core';
|
|
2
|
+
import type { CSSResultGroup, TemplateResult } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A lit, drifting background, drawn from the token layer.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* One fragment shader over a full-screen triangle, with the palette read from
|
|
8
|
+
* the tokens rather than given as colors. That is the whole reason this belongs
|
|
9
|
+
* in a design system instead of in a page: a background written with hex values
|
|
10
|
+
* is an asset that has to be re-cut when the brand moves, and one written
|
|
11
|
+
* against `--helix-color-primary` is a consequence of it.
|
|
12
|
+
*
|
|
13
|
+
* **Every shape ramps through four token stops**, and the token layer inverts
|
|
14
|
+
* each of them: the page's own background, `primary-subtle`, `primary`, and
|
|
15
|
+
* then a peak. The peak is the foreground on a dark page and `primary-active`
|
|
16
|
+
* on a light one, because mixing a saturated hue toward near-black takes the
|
|
17
|
+
* chroma out of exactly the pixels carrying the most of it. Which way the page
|
|
18
|
+
* runs is not asked of the mode, which is a private token: it is read off the
|
|
19
|
+
* ground's own luminance, which the shader already has.
|
|
20
|
+
*
|
|
21
|
+
* **No dependency, and no scene graph.** The geometry is three vertices derived
|
|
22
|
+
* from `gl_VertexID`, so there is no attribute, no buffer and no upload. The
|
|
23
|
+
* common implementations of this reach for a 3D library to draw one quad, which
|
|
24
|
+
* is a camera and a material system for four vertices that never move.
|
|
25
|
+
*
|
|
26
|
+
* **It stops when nobody is looking**, off screen and in a background tab, and
|
|
27
|
+
* `prefers-reduced-motion` gets one still frame rather than an empty box: the
|
|
28
|
+
* composition is the point and the drift is a garnish.
|
|
29
|
+
*
|
|
30
|
+
* **A layer over an interactive aura has to let the pointer through.** The
|
|
31
|
+
* element is hit-testable only when `interactive` is set, because a background
|
|
32
|
+
* that swallows clicks is worse than one that does nothing, but a scrim or an
|
|
33
|
+
* overlay a consumer paints on top will absorb the move before it arrives. Any
|
|
34
|
+
* decorative layer above this wants `pointer-events: none`. It has already
|
|
35
|
+
* caught this repository's own bench once.
|
|
36
|
+
*
|
|
37
|
+
* **The fallback needs no detection.** Where WebGL is refused the canvas never
|
|
38
|
+
* paints and is transparent, and the host carries a gradient of the same tokens
|
|
39
|
+
* underneath. Nothing has to ask whether it worked.
|
|
40
|
+
*
|
|
41
|
+
* Presentation only, so there is no headless tier: the split exists to keep
|
|
42
|
+
* behavior separate from styling, and there is no structure or semantics here
|
|
43
|
+
* to separate. Decorative, so the host is hidden from assistive technology and
|
|
44
|
+
* takes no pointer events.
|
|
45
|
+
*
|
|
46
|
+
* @since 0.1.0
|
|
47
|
+
* @status experimental
|
|
48
|
+
* @category media
|
|
49
|
+
* @aliases Backdrop, Background, Atmosphere, Gradient
|
|
50
|
+
* @documentation https://helix.fusion.dev/components/aura
|
|
51
|
+
*
|
|
52
|
+
* @csspart canvas - The surface the shader draws into.
|
|
53
|
+
*/
|
|
54
|
+
export declare class HelixAura extends HelixElement {
|
|
55
|
+
static styles: CSSResultGroup;
|
|
56
|
+
/**
|
|
57
|
+
* Which form the light takes. Absent is `braid`.
|
|
58
|
+
*
|
|
59
|
+
* Reflected because the fallback gradient selects on it, and given no default
|
|
60
|
+
* for the same reason every axis here has none: a default on a reflected
|
|
61
|
+
* property writes the attribute onto every host anybody renders.
|
|
62
|
+
*
|
|
63
|
+
* **`variant` and not `shape`, which it was until 26 Aug 2026.** `shape` is
|
|
64
|
+
* an axis about geometry, `circle` against `square`, `arc` against `ring`,
|
|
65
|
+
* and it is registered as one now. Aurora, braid and caustics are not
|
|
66
|
+
* geometries; they are eleven names for a look, which is what `variant` is
|
|
67
|
+
* for by the rule the registry already states. Renamed rather than
|
|
68
|
+
* grandfathered because nothing is published yet: there is no `helix-v` tag,
|
|
69
|
+
* so this costs an edit today and a deprecation later. See 236.
|
|
70
|
+
*/
|
|
71
|
+
variant?: 'aurora' | 'braid' | 'caustics' | 'flow' | 'fracture' | 'lattice' | 'particles' | 'rays' | 'streaks' | 'threads' | 'waves';
|
|
72
|
+
/**
|
|
73
|
+
* How far the settings wander on their own, `0` still and `1` restless.
|
|
74
|
+
*
|
|
75
|
+
* **One property rather than a range on each of the five.** A range per axis
|
|
76
|
+
* is five more things to author and four more chances to write a pair that
|
|
77
|
+
* fights another; the reason to want any of it is the same reason in every
|
|
78
|
+
* case, which is that a fixed field is legibly a loop. So this is an amount,
|
|
79
|
+
* and each axis is given its own span and its own period.
|
|
80
|
+
*
|
|
81
|
+
* The periods are irrational multiples of each other, so no two axes come
|
|
82
|
+
* back into phase and the field has no cycle a reader can count. That is the
|
|
83
|
+
* difference between a background that breathes and one that is obviously on
|
|
84
|
+
* a timer.
|
|
85
|
+
*/
|
|
86
|
+
drift: number;
|
|
87
|
+
/**
|
|
88
|
+
* What the pointer does, where the shape's own answer is not wanted.
|
|
89
|
+
*
|
|
90
|
+
* Absent is `native`, which is each shape answering in the terms it is made
|
|
91
|
+
* of: braid leans, rays are occluded, threads pinch, particles scatter. The
|
|
92
|
+
* named options are generic, and are a deliberate step down in meaning. A
|
|
93
|
+
* response made of the same material as the shape says something about that
|
|
94
|
+
* shape; a lamp following the cursor says the same nothing on all nine.
|
|
95
|
+
*
|
|
96
|
+
* They exist because a consumer may want the quieter, more conventional
|
|
97
|
+
* answer, and because `none` is a real requirement. Not because any of them
|
|
98
|
+
* is the better default.
|
|
99
|
+
*/
|
|
100
|
+
interaction?: 'light' | 'none' | 'ripple' | 'shadow';
|
|
101
|
+
/**
|
|
102
|
+
* How far the pointer reaches into the field, `0` upward.
|
|
103
|
+
*
|
|
104
|
+
* Multiplied into the presence the pointer already fades in and out with, so
|
|
105
|
+
* it scales the whole response rather than any one part of it, whichever
|
|
106
|
+
* interaction is in play.
|
|
107
|
+
*/
|
|
108
|
+
reach: number;
|
|
109
|
+
/**
|
|
110
|
+
* Whether the pointer shifts and lifts the field.
|
|
111
|
+
*
|
|
112
|
+
* Reflected because the stylesheet selects on it: a background is not
|
|
113
|
+
* hit-testable at rest, or it would swallow clicks meant for what is over it,
|
|
114
|
+
* and an element that is not hit-testable never receives the `pointermove`
|
|
115
|
+
* this listens for. Asking for the pointer is asking for the hit test.
|
|
116
|
+
*/
|
|
117
|
+
interactive: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* How soft the falloff is, `0` tight and `1` diffuse.
|
|
120
|
+
*/
|
|
121
|
+
bloom: number;
|
|
122
|
+
/**
|
|
123
|
+
* Overall brightness, as a multiplier on the field.
|
|
124
|
+
*/
|
|
125
|
+
gain: number;
|
|
126
|
+
/**
|
|
127
|
+
* Feature size, as a multiplier on the sampled coordinates.
|
|
128
|
+
*/
|
|
129
|
+
scale: number;
|
|
130
|
+
/**
|
|
131
|
+
* How fast it drifts, as a multiplier on time.
|
|
132
|
+
*/
|
|
133
|
+
speed: number;
|
|
134
|
+
/**
|
|
135
|
+
* The field's rotation, in degrees.
|
|
136
|
+
*/
|
|
137
|
+
tilt: number;
|
|
138
|
+
/**
|
|
139
|
+
* Where the axis crosses the top edge, as a fraction of the width.
|
|
140
|
+
*
|
|
141
|
+
* **An angle does not say what a consumer means, and this does.** The axis
|
|
142
|
+
* runs `x = y * tan(tilt)`, so the same `tilt` puts the exit somewhere else
|
|
143
|
+
* the moment the box changes shape. Measured on the landing page hero, which
|
|
144
|
+
* was tuned to 23 degrees against a box two screens tall: at a 1152 pixel
|
|
145
|
+
* window that lands the exit at 979, between the navigation and the actions,
|
|
146
|
+
* and at a 720 pixel window it lands at 611, a third of the way further left.
|
|
147
|
+
* Nothing is wrong with either number and neither is what anybody asked for.
|
|
148
|
+
*
|
|
149
|
+
* Given as a fraction rather than a length so it survives the same change:
|
|
150
|
+
* `0` is the left edge, `0.5` the middle and `1` the right edge, at every
|
|
151
|
+
* size. Absent leaves `tilt` in charge, so an angle is still sayable where
|
|
152
|
+
* the angle really is the point, which is what an aura in a square tile
|
|
153
|
+
* wants.
|
|
154
|
+
*
|
|
155
|
+
* **The fraction is measured across the whole width, and for a while it was
|
|
156
|
+
* not.** The first expression corrected for the aspect once in the wrong
|
|
157
|
+
* direction and never subtracted the center, so the value read as an offset
|
|
158
|
+
* from the middle that also moved with the box: on a 1440 by 1800 hero `0.5`
|
|
159
|
+
* put the axis at 81.3% of the width and `0` was the only value that reached
|
|
160
|
+
* the middle. The contract above is now solved against what the shader draws
|
|
161
|
+
* rather than asserted beside it.
|
|
162
|
+
*
|
|
163
|
+
* Derived from the box the resize observer already keeps, so it costs no
|
|
164
|
+
* layout read per frame, and the drift is applied to the result rather than
|
|
165
|
+
* to the angle behind it: the field still wanders, around a bearing that
|
|
166
|
+
* holds the exit where it was put.
|
|
167
|
+
*/
|
|
168
|
+
terminus?: number;
|
|
169
|
+
/**
|
|
170
|
+
* How much the members of a population differ from one another, `0` a set
|
|
171
|
+
* that is uniform and `1` the resting amount. Clamped to that range: these
|
|
172
|
+
* are interpolations, so a larger number extrapolates rather than
|
|
173
|
+
* exaggerating, and a streak whose length has passed through zero is drawn
|
|
174
|
+
* as a bar across the whole frame.
|
|
175
|
+
*
|
|
176
|
+
* Read by the shapes made of many similar things, whether those are counted
|
|
177
|
+
* or continuous: `streaks`, whose lanes draw a speed, a length, a width, a
|
|
178
|
+
* spacing and a weight apiece; `particles`, whose motes draw a size, a
|
|
179
|
+
* brightness and a wander; and `rays` and `aurora`, whose fan, bundles and
|
|
180
|
+
* folds widen or even out. `braid`, `waves` and `flow` have a
|
|
181
|
+
* single subject and nothing to vary, and `threads` is even on purpose, so on
|
|
182
|
+
* those four this is inert.
|
|
183
|
+
*/
|
|
184
|
+
variance: number;
|
|
185
|
+
/** Repaints when the palette moves, which no re-render would do on its own. */
|
|
186
|
+
private readonly tokens;
|
|
187
|
+
/**
|
|
188
|
+
* The four ramp stops, resolved.
|
|
189
|
+
*
|
|
190
|
+
* **Cached, because reading them is not free and they do not move.** Each
|
|
191
|
+
* read sets a style, calls `getComputedStyle`, fills a pixel and reads it
|
|
192
|
+
* back: a style recalc and a canvas readback apiece. Doing that inside
|
|
193
|
+
* `paint` meant four of each on every frame, forever, to fetch values that
|
|
194
|
+
* change only when the color mode does. The controller already says when
|
|
195
|
+
* that happens, so this is filled from there and from the first paint.
|
|
196
|
+
*/
|
|
197
|
+
private palette;
|
|
198
|
+
private canvas;
|
|
199
|
+
private gl;
|
|
200
|
+
private program;
|
|
201
|
+
private uniforms;
|
|
202
|
+
/** The pending context release, or `0`. Canceled by a reconnection. */
|
|
203
|
+
private release;
|
|
204
|
+
/** What every context is asked for, here rather than at two call sites. */
|
|
205
|
+
private static readonly CONTEXT;
|
|
206
|
+
private frame;
|
|
207
|
+
private elapsed;
|
|
208
|
+
private last;
|
|
209
|
+
private width;
|
|
210
|
+
private height;
|
|
211
|
+
/**
|
|
212
|
+
* Where the pointer has been, as flat triples of x, y and age.
|
|
213
|
+
*
|
|
214
|
+
* A ring rather than a queue: the oldest slot is overwritten, so nothing is
|
|
215
|
+
* allocated and the cost is the same on the first second and the thousandth.
|
|
216
|
+
*/
|
|
217
|
+
private readonly trail;
|
|
218
|
+
private trailNext;
|
|
219
|
+
/**
|
|
220
|
+
* The same marks, oldest first, which is what the shader is given.
|
|
221
|
+
*
|
|
222
|
+
* The ring's own order is not time order, and the wake is drawn as a polyline
|
|
223
|
+
* through consecutive entries: a segment across the wrap joined the newest
|
|
224
|
+
* mark to the oldest and drew a bright bar clean through the middle of the
|
|
225
|
+
* field. Unrolled once per frame, which is eight copies.
|
|
226
|
+
*/
|
|
227
|
+
private readonly ordered;
|
|
228
|
+
/**
|
|
229
|
+
* The live end of the stroke, outside the ring.
|
|
230
|
+
*
|
|
231
|
+
* **In the ring it destroyed a mark every time it committed.** The head was
|
|
232
|
+
* the slot at `trailNext`, so advancing wrote over whatever was oldest, and
|
|
233
|
+
* the tail of the stroke lost a point instantly rather than fading. Held
|
|
234
|
+
* apart, committing appends where the head already is: the polyline goes from
|
|
235
|
+
* ending at P to ending at P, P, which is the same shape, and nothing jumps.
|
|
236
|
+
*/
|
|
237
|
+
private readonly head;
|
|
238
|
+
/** Where the pointer is, and where the field has got to. The gap is weight. */
|
|
239
|
+
private readonly target;
|
|
240
|
+
private readonly eased;
|
|
241
|
+
private motion;
|
|
242
|
+
private visible;
|
|
243
|
+
/**
|
|
244
|
+
* The element's box, cached.
|
|
245
|
+
*
|
|
246
|
+
* **Read per event, this was the ragged half.** `getBoundingClientRect` forces
|
|
247
|
+
* a synchronous layout, and a pointer emits events far faster than the
|
|
248
|
+
* display refreshes: a 1000Hz mouse flushed layout a thousand times a second
|
|
249
|
+
* to compute a number that only changes when the page reflows. Refreshed from
|
|
250
|
+
* the resize observer and from scroll, both of which are exactly when it can
|
|
251
|
+
* go stale, and never from the handler that reads it.
|
|
252
|
+
*/
|
|
253
|
+
private box;
|
|
254
|
+
/** Watches the element's own size, so no frame has to ask for it. */
|
|
255
|
+
private sized;
|
|
256
|
+
/**
|
|
257
|
+
* Whether the field has drawn its opening frame yet.
|
|
258
|
+
*
|
|
259
|
+
* **The box changes shape while a page is arriving, and this shader is scaled
|
|
260
|
+
* by the box.** `p.y` spans [-1, 1] over the element's height, so a feature's
|
|
261
|
+
* size in pixels is proportional to how tall the box happens to be when the
|
|
262
|
+
* frame is drawn. A page that upgrades its custom elements, loads its fonts
|
|
263
|
+
* and settles its images passes through several heights on the way to its
|
|
264
|
+
* final one, and painting each of them draws the same field at several
|
|
265
|
+
* scales: it opens coarse and tightens, which reads as the background zooming
|
|
266
|
+
* out on load rather than as a background.
|
|
267
|
+
*
|
|
268
|
+
* Refusing the degenerate 0 by 0 box fixed the worst of it, a 2 by 2 drawing
|
|
269
|
+
* buffer smeared over the page, and left the ordinary case: a first real box
|
|
270
|
+
* that is simply not the last one.
|
|
271
|
+
*
|
|
272
|
+
* So the opening frame waits for the box to stop moving. Nothing paints until
|
|
273
|
+
* a measurement has stood unchanged for one animation frame, which is the
|
|
274
|
+
* cheapest definition of settled that is not a guess, and the host's own
|
|
275
|
+
* gradient covers the wait. After that a resize repaints immediately, because
|
|
276
|
+
* by then a change is the window moving rather than the page arriving.
|
|
277
|
+
*/
|
|
278
|
+
private opened;
|
|
279
|
+
/** The pending opening frame, canceled and rescheduled by each new box. */
|
|
280
|
+
private opening;
|
|
281
|
+
/**
|
|
282
|
+
* When to stop waiting and draw anyway.
|
|
283
|
+
*
|
|
284
|
+
* A page that resizes the field every frame forever would otherwise never get
|
|
285
|
+
* an opening frame at all. Half a second is far longer than a load takes to
|
|
286
|
+
* settle and far shorter than a reader waits before deciding the background is
|
|
287
|
+
* simply a gradient.
|
|
288
|
+
*/
|
|
289
|
+
private openBy;
|
|
290
|
+
protected render(): TemplateResult;
|
|
291
|
+
protected firstUpdated(): void;
|
|
292
|
+
private start;
|
|
293
|
+
/**
|
|
294
|
+
* The context and the program, from whatever canvas can still give one.
|
|
295
|
+
*
|
|
296
|
+
* **A canvas whose context was force-lost never yields a working one again**,
|
|
297
|
+
* and the release below used to assume the opposite: `getContext` hands back
|
|
298
|
+
* the very same dead object, which reports `isContextLost()` and answers
|
|
299
|
+
* `null` to every `getShaderParameter`. So `link` failed, `start` returned
|
|
300
|
+
* before installing a single observer, and the element sat connected and
|
|
301
|
+
* permanently blind, holding whatever buffer it last painted. Measured on the
|
|
302
|
+
* landing page, where one remove-and-reinsert was enough: the frozen frame
|
|
303
|
+
* was the 2x2 the first `measure` took before layout, stretched across two
|
|
304
|
+
* screens as a gray smear that reads as a broken gradient rather than as a
|
|
305
|
+
* dead component. The only sound in the console was `getShaderInfoLog`
|
|
306
|
+
* answering `null`, twice per element.
|
|
307
|
+
*
|
|
308
|
+
* A spent canvas is therefore replaced rather than re-asked. `restoreContext`
|
|
309
|
+
* is the other way and is not reachable from here: it needs the `webglcontextlost`
|
|
310
|
+
* event default-prevented and the extension held from before the loss, and it
|
|
311
|
+
* restores asynchronously, so `start` would have to become a state machine to
|
|
312
|
+
* use it. A fresh canvas is synchronous and cannot half-succeed.
|
|
313
|
+
*/
|
|
314
|
+
private build;
|
|
315
|
+
connectedCallback(): void;
|
|
316
|
+
protected updated(): void;
|
|
317
|
+
disconnectedCallback(): void;
|
|
318
|
+
/**
|
|
319
|
+
* Gives the context back, once nothing has claimed the element again.
|
|
320
|
+
*
|
|
321
|
+
* **The context is not released by dropping the reference.** A browser caps
|
|
322
|
+
* live WebGL contexts at about sixteen and drops the oldest when a
|
|
323
|
+
* seventeenth is asked for, so a page that mounts and unmounts auras kills
|
|
324
|
+
* the ones still on screen: the symptom is an aura elsewhere going blank,
|
|
325
|
+
* which looks like a fault in that element and is this one. The context
|
|
326
|
+
* belongs to the canvas, and the canvas is held by the shadow root until the
|
|
327
|
+
* element is collected, which is a moment nothing here controls and which is
|
|
328
|
+
* far too late for a cap of sixteen. `WEBGL_lose_context` is the only way.
|
|
329
|
+
*
|
|
330
|
+
* **It spends the canvas**, which is what `build` is written around: the
|
|
331
|
+
* canvas can never serve a context again and a returning element takes a
|
|
332
|
+
* fresh one.
|
|
333
|
+
*/
|
|
334
|
+
private readonly drop;
|
|
335
|
+
/**
|
|
336
|
+
* Resolves the ramp. Called when the palette moves, not when a frame draws.
|
|
337
|
+
*
|
|
338
|
+
* Light pages peak on a deep brand blue and dark ones on the foreground, and
|
|
339
|
+
* the ground is what says which: mixing a saturated hue toward near-black
|
|
340
|
+
* takes the chroma out of exactly the pixels carrying the most of it. Read
|
|
341
|
+
* from the ground's own luminance rather than asked of the color mode, which
|
|
342
|
+
* is a private token this tier may not reach for.
|
|
343
|
+
*/
|
|
344
|
+
private readPalette;
|
|
345
|
+
private link;
|
|
346
|
+
/**
|
|
347
|
+
* Re-reads the box and resizes the drawing buffer to match.
|
|
348
|
+
*
|
|
349
|
+
* **Called from the observer, never from the frame.** `clientWidth` is a
|
|
350
|
+
* layout read, and doing it in `tick` meant a forced synchronous layout on
|
|
351
|
+
* every single frame to learn a number that changes when the box changes and
|
|
352
|
+
* at no other time. A `ResizeObserver` is told when that is.
|
|
353
|
+
*
|
|
354
|
+
* Returns whether the drawing buffer was resized, which is the same question
|
|
355
|
+
* as whether it was cleared, and so whether the caller owes it a frame.
|
|
356
|
+
*/
|
|
357
|
+
private measure;
|
|
358
|
+
private paint;
|
|
359
|
+
/**
|
|
360
|
+
* The opening frame, one animation frame after the box last changed.
|
|
361
|
+
*
|
|
362
|
+
* Each new measurement cancels the pending frame and books another, so a run
|
|
363
|
+
* of resizes collapses to a single paint at the end of it rather than one per
|
|
364
|
+
* step. `openBy` stops that from being unbounded.
|
|
365
|
+
*/
|
|
366
|
+
private open;
|
|
367
|
+
/** One frame, now, for a change that has to show while the loop is stopped. */
|
|
368
|
+
private paintOnce;
|
|
369
|
+
/**
|
|
370
|
+
* The shortest gap between two painted frames, for a field nobody points at.
|
|
371
|
+
*
|
|
372
|
+
* **A drifting field does not need the display's rate and a pointer does.**
|
|
373
|
+
* `tick` advances on `(now - this.last) / 1000`, so motion is wall-clock: at
|
|
374
|
+
* half the frames the field moves the same distance in the same time, sampled
|
|
375
|
+
* more coarsely. `delta` is already clamped at 0.05, which is a floor of 20
|
|
376
|
+
* frames a second, and 30 sits inside that with room. A cap at 15 would land
|
|
377
|
+
* on the clamp and the field would genuinely drag, which is the failure that
|
|
378
|
+
* would be misdiagnosed as choppiness.
|
|
379
|
+
*
|
|
380
|
+
* **`interactive` is the exception and it is the whole exception.** The
|
|
381
|
+
* element eases `presence` toward the pointer on a 50ms rise constant, so at
|
|
382
|
+
* 33ms a frame the entire response is one or two samples and the follow reads
|
|
383
|
+
* as a lag rather than a lightness. Every field on the landing page leaves
|
|
384
|
+
* `interactive` unset; the only one that sets it is the lab on
|
|
385
|
+
* `/helix/aura`, where it is a toggle a reader chose. So the cap applies where
|
|
386
|
+
* nothing is being followed and lifts where something is.
|
|
387
|
+
*
|
|
388
|
+
* **Measured before it was capped, because the cost had changed.** 252 was
|
|
389
|
+
* filed against one field on the first two screens. It is three now, one per
|
|
390
|
+
* transparent run of the page, and with the frame limiter off they drew 2,654
|
|
391
|
+
* times in three seconds against 1,276 for one: the work scales with the count
|
|
392
|
+
* because each instance draws once per callback. Capping the two that nobody
|
|
393
|
+
* points at is most of that back.
|
|
394
|
+
*/
|
|
395
|
+
private static readonly CAPPED;
|
|
396
|
+
private readonly tick;
|
|
397
|
+
private play;
|
|
398
|
+
private stop;
|
|
399
|
+
/**
|
|
400
|
+
* The angle actually drawn, which is `terminus` resolved against the box.
|
|
401
|
+
*
|
|
402
|
+
* A getter rather than a stored value because the box changes and this has no
|
|
403
|
+
* business knowing when: it is read once per frame from numbers already
|
|
404
|
+
* there.
|
|
405
|
+
*
|
|
406
|
+
* The solve is `tiltFor` in `aura-axis.ts` rather than an expression here,
|
|
407
|
+
* and that is the fix for how this went wrong twice. Both times the
|
|
408
|
+
* arithmetic sat inside this getter next to a sentence describing different
|
|
409
|
+
* arithmetic, and nothing in the repository could tell they disagreed. It is
|
|
410
|
+
* callable now, and `aura-root.dom.spec.ts` runs it against a model of the
|
|
411
|
+
* shader in both directions. See 155.
|
|
412
|
+
*/
|
|
413
|
+
private get bearing();
|
|
414
|
+
private drifted;
|
|
415
|
+
/** Ages the wake, and drops a fresh mark where the pointer has moved far. */
|
|
416
|
+
private age;
|
|
417
|
+
private readonly handlePointer;
|
|
418
|
+
/**
|
|
419
|
+
* Keeps the head of the wake on the cursor, and commits it as it travels.
|
|
420
|
+
*
|
|
421
|
+
* **The head used to be a committed mark, and that was both faults at once.**
|
|
422
|
+
* Marks are spaced by distance so eight slots cover a gesture rather than the
|
|
423
|
+
* last few milliseconds of one, but committing was also the only time the
|
|
424
|
+
* stroke grew: its leading end therefore sat up to a full gate behind the
|
|
425
|
+
* pointer, and caught up in jumps of exactly that size. Latent, and jagged,
|
|
426
|
+
* for one reason.
|
|
427
|
+
*
|
|
428
|
+
* So the slot at `trailNext` is provisional. It is rewritten every frame to
|
|
429
|
+
* wherever the field has actually eased to, which is where the cursor looks
|
|
430
|
+
* like it is, so the stroke always reaches the pointer. Crossing the gate does
|
|
431
|
+
* not move the head, it just stops the previous position from being
|
|
432
|
+
* overwritten, and a new provisional head starts from there. The wake grows
|
|
433
|
+
* continuously and is still only ever eight points.
|
|
434
|
+
*
|
|
435
|
+
* Measured against `eased` rather than `target`, or the stroke would reach a
|
|
436
|
+
* place the field has not arrived at yet and lead its own parallax.
|
|
437
|
+
*/
|
|
438
|
+
private advanceWake;
|
|
439
|
+
private readonly handleLeave;
|
|
440
|
+
private readonly handleVisibility;
|
|
441
|
+
private readonly handleScroll;
|
|
442
|
+
}
|
|
443
|
+
declare global {
|
|
444
|
+
interface HTMLElementTagNameMap {
|
|
445
|
+
'helix-aura': HelixAura;
|
|
446
|
+
}
|
|
447
|
+
}
|