@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,87 @@
|
|
|
1
|
+
import { HelixHeadlessVideo } from '@fusion.dev/helix-headless/video';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
import '../../icon/index.js';
|
|
4
|
+
import '../../menu/index.js';
|
|
5
|
+
/**
|
|
6
|
+
* @summary Plays a video, with controls this library draws rather than the
|
|
7
|
+
* browser's.
|
|
8
|
+
*
|
|
9
|
+
* @description
|
|
10
|
+
* The player is the headless tier's. What this adds is the bar: where it sits, when
|
|
11
|
+
* it is there, and what the two ranges look like, which is the whole reason to
|
|
12
|
+
* replace a control set that cannot be styled.
|
|
13
|
+
*
|
|
14
|
+
* **The bar is over the picture, not under it.** A bar in the layout would move
|
|
15
|
+
* everything below the video by its own height and would leave a strip of page
|
|
16
|
+
* color under a picture that is meant to be the whole of it. Over it, the
|
|
17
|
+
* video is the component's size and the controls belong to it.
|
|
18
|
+
*
|
|
19
|
+
* **It goes when nobody is using it, and comes back for the keyboard.** Hidden
|
|
20
|
+
* once a playing video has gone `idle-delay` without being touched, shown again
|
|
21
|
+
* the moment the pointer moves, and shown whenever anything inside it has
|
|
22
|
+
* focus, which is what keeps it reachable without a pointer. A paused video
|
|
23
|
+
* keeps its bar, because a reader who stopped it is deciding what to do next.
|
|
24
|
+
*
|
|
25
|
+
* @since 0.1.0
|
|
26
|
+
* @status experimental
|
|
27
|
+
* @category media
|
|
28
|
+
* @documentation https://helix.fusion.dev/components/video
|
|
29
|
+
*
|
|
30
|
+
* @cssproperty --video-accent-color - The played part of the scrubber.
|
|
31
|
+
* @cssproperty --video-aspect-ratio - The shape of the box. Defaults to the
|
|
32
|
+
* video's own once known, and `16 / 9` until then.
|
|
33
|
+
* @cssproperty --video-controls-color - The ink on the bar.
|
|
34
|
+
* @cssproperty --video-radius - The corner it is cut to.
|
|
35
|
+
* @cssproperty --video-speed-size - How wide the playback speed control is
|
|
36
|
+
* held, so the row does not move when the number changes.
|
|
37
|
+
* @cssproperty --video-start-size - Width of the mark that starts it.
|
|
38
|
+
* @cssproperty --video-well-color - Behind the picture, and in the letterbox bars.
|
|
39
|
+
*
|
|
40
|
+
* @property separation - Whether the bar floats on the picture or sits on its own ground.
|
|
41
|
+
*/
|
|
42
|
+
export declare class HelixVideo extends HelixHeadlessVideo {
|
|
43
|
+
/**
|
|
44
|
+
* How the control bar sits on the picture.
|
|
45
|
+
*
|
|
46
|
+
* **Classified by what it does rather than by what its values were called.**
|
|
47
|
+
* These were `solid` and `plain` under `appearance`, and `solid` reads like a
|
|
48
|
+
* fill weight, which is how this came to be listed as emphasis when the axes
|
|
49
|
+
* were first sorted. It is not: all three states say what the bar sits on,
|
|
50
|
+
* which is where it separates from the picture.
|
|
51
|
+
*
|
|
52
|
+
* Absent is the default and is what a player looks like, and what the
|
|
53
|
+
* platform's own controls do: they float on a gradient that fades up into the
|
|
54
|
+
* picture, dark enough to read them against a bright frame and gone entirely
|
|
55
|
+
* a little higher up. The picture runs edge to edge behind them. It has no
|
|
56
|
+
* name because it is the resting treatment, and `shadow` was never a declared
|
|
57
|
+
* value even while an example wrote it: the attribute matched no selector and
|
|
58
|
+
* fell through to this rule, which is why it appeared to work.
|
|
59
|
+
*
|
|
60
|
+
* `filled` gives the controls a bar of their own, which is what a video
|
|
61
|
+
* embedded in a document usually wants, where the player is a component on a
|
|
62
|
+
* page rather than the page itself. It stays put rather than fading, because
|
|
63
|
+
* a bar that is part of the frame would leave a strip of the well behind it.
|
|
64
|
+
*
|
|
65
|
+
* `plain` is neither: the controls sit straight on the picture with nothing
|
|
66
|
+
* behind them. For a consumer who knows their footage, or who is putting
|
|
67
|
+
* their own ground there.
|
|
68
|
+
*
|
|
69
|
+
* A presentation property, so it lives on this tier. The headless element renders
|
|
70
|
+
* the same bar for all three.
|
|
71
|
+
*
|
|
72
|
+
* **Optional rather than defaulted, which is not a style preference.** A
|
|
73
|
+
* reflecting property with a default writes its attribute onto every host the
|
|
74
|
+
* moment the element upgrades, including the ones a consumer rendered and did
|
|
75
|
+
* not touch, and React reads that as a hydration mismatch. The absent
|
|
76
|
+
* attribute *is* the shadow, which the stylesheet reads as the base rule, so
|
|
77
|
+
* only the departure has to be named.
|
|
78
|
+
*/
|
|
79
|
+
separation?: 'filled' | 'plain';
|
|
80
|
+
static tier: string;
|
|
81
|
+
static styles: CSSResultGroup;
|
|
82
|
+
}
|
|
83
|
+
declare global {
|
|
84
|
+
interface HTMLElementTagNameMap {
|
|
85
|
+
'helix-video': HelixVideo;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { HelixHeadlessVideo } from '@fusion.dev/helix-headless/video';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import '../../icon/index.js';
|
|
11
|
+
import '../../menu/index.js';
|
|
12
|
+
import { styles as glyphStyles } from '../../icon/glyph.css.js';
|
|
13
|
+
import { styles } from './video-root.css.js';
|
|
14
|
+
/**
|
|
15
|
+
* @summary Plays a video, with controls this library draws rather than the
|
|
16
|
+
* browser's.
|
|
17
|
+
*
|
|
18
|
+
* @description
|
|
19
|
+
* The player is the headless tier's. What this adds is the bar: where it sits, when
|
|
20
|
+
* it is there, and what the two ranges look like, which is the whole reason to
|
|
21
|
+
* replace a control set that cannot be styled.
|
|
22
|
+
*
|
|
23
|
+
* **The bar is over the picture, not under it.** A bar in the layout would move
|
|
24
|
+
* everything below the video by its own height and would leave a strip of page
|
|
25
|
+
* color under a picture that is meant to be the whole of it. Over it, the
|
|
26
|
+
* video is the component's size and the controls belong to it.
|
|
27
|
+
*
|
|
28
|
+
* **It goes when nobody is using it, and comes back for the keyboard.** Hidden
|
|
29
|
+
* once a playing video has gone `idle-delay` without being touched, shown again
|
|
30
|
+
* the moment the pointer moves, and shown whenever anything inside it has
|
|
31
|
+
* focus, which is what keeps it reachable without a pointer. A paused video
|
|
32
|
+
* keeps its bar, because a reader who stopped it is deciding what to do next.
|
|
33
|
+
*
|
|
34
|
+
* @since 0.1.0
|
|
35
|
+
* @status experimental
|
|
36
|
+
* @category media
|
|
37
|
+
* @documentation https://helix.fusion.dev/components/video
|
|
38
|
+
*
|
|
39
|
+
* @cssproperty --video-accent-color - The played part of the scrubber.
|
|
40
|
+
* @cssproperty --video-aspect-ratio - The shape of the box. Defaults to the
|
|
41
|
+
* video's own once known, and `16 / 9` until then.
|
|
42
|
+
* @cssproperty --video-controls-color - The ink on the bar.
|
|
43
|
+
* @cssproperty --video-radius - The corner it is cut to.
|
|
44
|
+
* @cssproperty --video-speed-size - How wide the playback speed control is
|
|
45
|
+
* held, so the row does not move when the number changes.
|
|
46
|
+
* @cssproperty --video-start-size - Width of the mark that starts it.
|
|
47
|
+
* @cssproperty --video-well-color - Behind the picture, and in the letterbox bars.
|
|
48
|
+
*
|
|
49
|
+
* @property separation - Whether the bar floats on the picture or sits on its own ground.
|
|
50
|
+
*/
|
|
51
|
+
let HelixVideo = class HelixVideo extends HelixHeadlessVideo {
|
|
52
|
+
static { this.tier = 'helix-'; }
|
|
53
|
+
static { this.styles = [glyphStyles, styles]; }
|
|
54
|
+
};
|
|
55
|
+
__decorate([
|
|
56
|
+
property({ reflect: true })
|
|
57
|
+
], HelixVideo.prototype, "separation", void 0);
|
|
58
|
+
HelixVideo = __decorate([
|
|
59
|
+
customElement('helix-video')
|
|
60
|
+
], HelixVideo);
|
|
61
|
+
export { HelixVideo };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// Generated from src/video-playlist/item/video-playlist-item.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
display: block;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[part="item"] {
|
|
8
|
+
all: unset;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
|
|
11
|
+
align-items: center;
|
|
12
|
+
background-color: var(--video-playlist-item-background-color, transparent);
|
|
13
|
+
border-radius: var(--helix-radii-sm);
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
display: flex;
|
|
16
|
+
gap: var(--helix-space-sm);
|
|
17
|
+
inline-size: 100%;
|
|
18
|
+
|
|
19
|
+
padding: var(--helix-space-2xs) var(--helix-space-2xs) var(--helix-space-2xs)
|
|
20
|
+
var(--helix-space-sm);
|
|
21
|
+
position: relative;
|
|
22
|
+
text-align: start;
|
|
23
|
+
transition:
|
|
24
|
+
background-color var(--helix-duration-fast) var(--helix-easing-standard),
|
|
25
|
+
color var(--helix-duration-fast) var(--helix-easing-standard);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host(:not([disabled])) [part="item"]:hover {
|
|
29
|
+
background-color: color-mix(in oklab, var(--helix-color-foreground) 8%, transparent);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[part="item"]:focus-visible {
|
|
33
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
34
|
+
outline-offset: calc(var(--helix-size-focus-offset) * -1);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[part="item"][aria-current="true"] {
|
|
38
|
+
background-color: color-mix(in oklab, var(--helix-color-foreground) 6%, transparent);
|
|
39
|
+
color: var(--helix-color-foreground);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[part="item"][aria-current="true"]::before {
|
|
43
|
+
background-color: var(--helix-color-primary);
|
|
44
|
+
border-radius: var(--helix-radii-full);
|
|
45
|
+
content: "";
|
|
46
|
+
inline-size: var(--helix-border-thick);
|
|
47
|
+
inset-block: var(--helix-space-2xs);
|
|
48
|
+
inset-inline-start: var(--helix-space-2xs);
|
|
49
|
+
position: absolute;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
:host([disabled]) [part="item"] {
|
|
53
|
+
cursor: not-allowed;
|
|
54
|
+
opacity: 0.5;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[part="media"] {
|
|
58
|
+
aspect-ratio: 16 / 9;
|
|
59
|
+
border-radius: var(--helix-radii-sm);
|
|
60
|
+
flex: 0 0 auto;
|
|
61
|
+
inline-size: var(--video-playlist-media-size, 5rem);
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
[part="media"] ::slotted(*),
|
|
66
|
+
[part="thumbnail"] {
|
|
67
|
+
block-size: 100%;
|
|
68
|
+
display: block;
|
|
69
|
+
inline-size: 100%;
|
|
70
|
+
object-fit: cover;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[part="label"] {
|
|
74
|
+
color: var(--helix-color-foreground);
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
font-family: var(--helix-font-sans);
|
|
78
|
+
font-size: var(--helix-text-sm);
|
|
79
|
+
font-weight: var(--helix-weight-medium);
|
|
80
|
+
gap: var(--helix-space-2xs);
|
|
81
|
+
line-height: var(--helix-leading-tight);
|
|
82
|
+
min-inline-size: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[part="label"] ::slotted([slot="meta"]) {
|
|
86
|
+
color: var(--helix-color-foreground-subtle);
|
|
87
|
+
font-size: var(--helix-text-xs);
|
|
88
|
+
font-weight: var(--helix-weight-regular);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (prefers-reduced-motion: reduce) {
|
|
92
|
+
[part="item"] {
|
|
93
|
+
transition: none;
|
|
94
|
+
}
|
|
95
|
+
}`);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HelixHeadlessVideoPlaylistItem } from '@fusion.dev/helix-headless/video-playlist';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary One entry in a video playlist.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* Presentation only: the row, its thumbnail column, and the mark on the one
|
|
8
|
+
* playing. The base class holds what the entry is and what it announces.
|
|
9
|
+
*
|
|
10
|
+
* @since 0.1.0
|
|
11
|
+
* @status experimental
|
|
12
|
+
* @category media
|
|
13
|
+
* @documentation https://helix.fusion.dev/components/video-playlist
|
|
14
|
+
*
|
|
15
|
+
* @cssproperty --video-playlist-item-background-color - Fill behind a row.
|
|
16
|
+
* @cssproperty --video-playlist-media-size - Width of the thumbnail column.
|
|
17
|
+
*/
|
|
18
|
+
export declare class HelixVideoPlaylistItem extends HelixHeadlessVideoPlaylistItem {
|
|
19
|
+
static styles: CSSResultGroup;
|
|
20
|
+
}
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'helix-video-playlist-item': HelixVideoPlaylistItem;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { HelixHeadlessVideoPlaylistItem } from '@fusion.dev/helix-headless/video-playlist';
|
|
9
|
+
import { styles } from './video-playlist-item.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary One entry in a video playlist.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* Presentation only: the row, its thumbnail column, and the mark on the one
|
|
15
|
+
* playing. The base class holds what the entry is and what it announces.
|
|
16
|
+
*
|
|
17
|
+
* @since 0.1.0
|
|
18
|
+
* @status experimental
|
|
19
|
+
* @category media
|
|
20
|
+
* @documentation https://helix.fusion.dev/components/video-playlist
|
|
21
|
+
*
|
|
22
|
+
* @cssproperty --video-playlist-item-background-color - Fill behind a row.
|
|
23
|
+
* @cssproperty --video-playlist-media-size - Width of the thumbnail column.
|
|
24
|
+
*/
|
|
25
|
+
let HelixVideoPlaylistItem = class HelixVideoPlaylistItem extends HelixHeadlessVideoPlaylistItem {
|
|
26
|
+
static { this.styles = styles; }
|
|
27
|
+
};
|
|
28
|
+
HelixVideoPlaylistItem = __decorate([
|
|
29
|
+
customElement('helix-video-playlist-item')
|
|
30
|
+
], HelixVideoPlaylistItem);
|
|
31
|
+
export { HelixVideoPlaylistItem };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Generated from src/video-playlist/menu/video-playlist-menu.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex: 0 0 auto;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
[part="trigger"] {
|
|
9
|
+
all: unset;
|
|
10
|
+
|
|
11
|
+
--icon-size: var(--video-playlist-menu-size, var(--helix-size-icon-tight));
|
|
12
|
+
|
|
13
|
+
align-items: center;
|
|
14
|
+
border-radius: var(--helix-radii-sm);
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
color: var(--video-playlist-menu-color, inherit);
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex: 0 0 auto;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
min-block-size: var(--helix-size-icon-loose);
|
|
22
|
+
min-inline-size: var(--helix-size-icon-loose);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[part="trigger"]:focus-visible {
|
|
26
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
27
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[part="entry"] {
|
|
31
|
+
--menu-item-start: var(--video-playlist-menu-poster, calc(var(--helix-size-icon-loose) * 2));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[part="entry"]::part(item) {
|
|
35
|
+
padding-block: var(--helix-space-2xs);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
[part="poster"] {
|
|
39
|
+
aspect-ratio: 16 / 9;
|
|
40
|
+
border-radius: var(--helix-radii-sm);
|
|
41
|
+
display: block;
|
|
42
|
+
inline-size: 100%;
|
|
43
|
+
object-fit: cover;
|
|
44
|
+
}`);
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { HelixHeadlessVideoPlaylistMenu } from '@fusion.dev/helix-headless/video-playlist';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
import '../../icon/index.js';
|
|
4
|
+
import '../../menu/index.js';
|
|
5
|
+
/**
|
|
6
|
+
* @summary The playlist's entries, as a menu inside the player's control bar.
|
|
7
|
+
*
|
|
8
|
+
* @description
|
|
9
|
+
* Presentation only: a control-bar button drawn like the ones beside it, and a
|
|
10
|
+
* menu that opens over the picture rather than under it. The base class holds
|
|
11
|
+
* where the playlist is, what the entries are, and what choosing announces.
|
|
12
|
+
*
|
|
13
|
+
* The trigger's declarations are `Video`'s control rule written out a second
|
|
14
|
+
* time, which is not duplication that could be avoided. That rule is
|
|
15
|
+
* `[part="controls"] :where(a, button)` inside `Video`'s shadow root, and this
|
|
16
|
+
* element sits in its light DOM: a shadow rule reaches an assigned node only
|
|
17
|
+
* through `::slotted()` and never reaches into the node's own shadow root at
|
|
18
|
+
* all. So the button here is two boundaries away from the rule that styles
|
|
19
|
+
* every button beside it, and the same tokens are what make the two agree.
|
|
20
|
+
*
|
|
21
|
+
* Color is inherited rather than named, so the bar's own color arrives on
|
|
22
|
+
* its own. `--video-playlist-menu-color` is there for the case where it should
|
|
23
|
+
* not.
|
|
24
|
+
*
|
|
25
|
+
* @since 0.1.0
|
|
26
|
+
* @status experimental
|
|
27
|
+
* @category media
|
|
28
|
+
* @aliases Episode Menu, Queue Menu, Up Next
|
|
29
|
+
* @documentation https://helix.fusion.dev/components/video-playlist
|
|
30
|
+
*
|
|
31
|
+
* @cssproperty --video-playlist-menu-color - Color of the trigger, defaulting to the control bar's.
|
|
32
|
+
* @cssproperty --video-playlist-menu-poster - Width of an entry's still.
|
|
33
|
+
* @cssproperty --video-playlist-menu-size - Size of the trigger's glyph.
|
|
34
|
+
*/
|
|
35
|
+
export declare class HelixVideoPlaylistMenu extends HelixHeadlessVideoPlaylistMenu {
|
|
36
|
+
static tier: string;
|
|
37
|
+
static styles: CSSResultGroup;
|
|
38
|
+
}
|
|
39
|
+
declare global {
|
|
40
|
+
interface HTMLElementTagNameMap {
|
|
41
|
+
'helix-video-playlist-menu': HelixVideoPlaylistMenu;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { HelixHeadlessVideoPlaylistMenu } from '@fusion.dev/helix-headless/video-playlist';
|
|
9
|
+
import { styles as glyphStyles } from '../../icon/glyph.css.js';
|
|
10
|
+
import { styles } from './video-playlist-menu.css.js';
|
|
11
|
+
import '../../icon/index.js';
|
|
12
|
+
import '../../menu/index.js';
|
|
13
|
+
/**
|
|
14
|
+
* @summary The playlist's entries, as a menu inside the player's control bar.
|
|
15
|
+
*
|
|
16
|
+
* @description
|
|
17
|
+
* Presentation only: a control-bar button drawn like the ones beside it, and a
|
|
18
|
+
* menu that opens over the picture rather than under it. The base class holds
|
|
19
|
+
* where the playlist is, what the entries are, and what choosing announces.
|
|
20
|
+
*
|
|
21
|
+
* The trigger's declarations are `Video`'s control rule written out a second
|
|
22
|
+
* time, which is not duplication that could be avoided. That rule is
|
|
23
|
+
* `[part="controls"] :where(a, button)` inside `Video`'s shadow root, and this
|
|
24
|
+
* element sits in its light DOM: a shadow rule reaches an assigned node only
|
|
25
|
+
* through `::slotted()` and never reaches into the node's own shadow root at
|
|
26
|
+
* all. So the button here is two boundaries away from the rule that styles
|
|
27
|
+
* every button beside it, and the same tokens are what make the two agree.
|
|
28
|
+
*
|
|
29
|
+
* Color is inherited rather than named, so the bar's own color arrives on
|
|
30
|
+
* its own. `--video-playlist-menu-color` is there for the case where it should
|
|
31
|
+
* not.
|
|
32
|
+
*
|
|
33
|
+
* @since 0.1.0
|
|
34
|
+
* @status experimental
|
|
35
|
+
* @category media
|
|
36
|
+
* @aliases Episode Menu, Queue Menu, Up Next
|
|
37
|
+
* @documentation https://helix.fusion.dev/components/video-playlist
|
|
38
|
+
*
|
|
39
|
+
* @cssproperty --video-playlist-menu-color - Color of the trigger, defaulting to the control bar's.
|
|
40
|
+
* @cssproperty --video-playlist-menu-poster - Width of an entry's still.
|
|
41
|
+
* @cssproperty --video-playlist-menu-size - Size of the trigger's glyph.
|
|
42
|
+
*/
|
|
43
|
+
let HelixVideoPlaylistMenu = class HelixVideoPlaylistMenu extends HelixHeadlessVideoPlaylistMenu {
|
|
44
|
+
/* `glyphStyles` first, and it is not optional. `drawIcon` renders a bare
|
|
45
|
+
`<svg data-glyph>` with no size of its own, and the only rule that sizes
|
|
46
|
+
one lives in the icon family's sheet. Without it the glyph came out 24x24
|
|
47
|
+
inside a 24x24 button, filling it edge to edge beside a 16x16 fullscreen
|
|
48
|
+
icon: right color, right button, right position, and half again too big.
|
|
49
|
+
Nothing failed, because a missing rule is not an error. */
|
|
50
|
+
static { this.tier = 'helix-'; }
|
|
51
|
+
static { this.styles = [glyphStyles, styles]; }
|
|
52
|
+
};
|
|
53
|
+
HelixVideoPlaylistMenu = __decorate([
|
|
54
|
+
customElement('helix-video-playlist-menu')
|
|
55
|
+
], HelixVideoPlaylistMenu);
|
|
56
|
+
export { HelixVideoPlaylistMenu };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Generated from src/video-playlist/root/video-playlist-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
|
+
gap: var(--helix-space-md);
|
|
6
|
+
grid-template-columns: var(--video-playlist-layout, 1fr);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[part="items"] {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: var(--helix-space-2xs);
|
|
13
|
+
max-block-size: var(--video-playlist-size, 26rem);
|
|
14
|
+
overflow-y: auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media print {
|
|
18
|
+
:host {
|
|
19
|
+
display: none;
|
|
20
|
+
}
|
|
21
|
+
}`);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HelixHeadlessVideoPlaylist } from '@fusion.dev/helix-headless/video-playlist';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary A set of clips and the one player they take turns in.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* Presentation only: the arrangement of the two regions and the scroller the
|
|
8
|
+
* entries sit in. Everything about which clip is current is the base class.
|
|
9
|
+
*
|
|
10
|
+
* @since 0.1.0
|
|
11
|
+
* @status experimental
|
|
12
|
+
* @category media
|
|
13
|
+
* @aliases Playlist, Queue, Up next
|
|
14
|
+
* @documentation https://helix.fusion.dev/components/video-playlist
|
|
15
|
+
*
|
|
16
|
+
* @cssproperty --video-playlist-layout - Columns for the player and the list.
|
|
17
|
+
* @cssproperty --video-playlist-size - How tall the list gets before it scrolls.
|
|
18
|
+
*/
|
|
19
|
+
export declare class HelixVideoPlaylist extends HelixHeadlessVideoPlaylist {
|
|
20
|
+
static styles: CSSResultGroup;
|
|
21
|
+
}
|
|
22
|
+
declare global {
|
|
23
|
+
interface HTMLElementTagNameMap {
|
|
24
|
+
'helix-video-playlist': HelixVideoPlaylist;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { customElement } from '@fusion.dev/helix-core';
|
|
8
|
+
import { HelixHeadlessVideoPlaylist } from '@fusion.dev/helix-headless/video-playlist';
|
|
9
|
+
import { styles } from './video-playlist-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary A set of clips and the one player they take turns in.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* Presentation only: the arrangement of the two regions and the scroller the
|
|
15
|
+
* entries sit in. Everything about which clip is current is the base class.
|
|
16
|
+
*
|
|
17
|
+
* @since 0.1.0
|
|
18
|
+
* @status experimental
|
|
19
|
+
* @category media
|
|
20
|
+
* @aliases Playlist, Queue, Up next
|
|
21
|
+
* @documentation https://helix.fusion.dev/components/video-playlist
|
|
22
|
+
*
|
|
23
|
+
* @cssproperty --video-playlist-layout - Columns for the player and the list.
|
|
24
|
+
* @cssproperty --video-playlist-size - How tall the list gets before it scrolls.
|
|
25
|
+
*/
|
|
26
|
+
let HelixVideoPlaylist = class HelixVideoPlaylist extends HelixHeadlessVideoPlaylist {
|
|
27
|
+
static { this.styles = styles; }
|
|
28
|
+
};
|
|
29
|
+
HelixVideoPlaylist = __decorate([
|
|
30
|
+
customElement('helix-video-playlist')
|
|
31
|
+
], HelixVideoPlaylist);
|
|
32
|
+
export { HelixVideoPlaylist };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/virtual-list-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './root/virtual-list-root.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Generated from src/virtual-list/root/virtual-list-root.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
display: block;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[part="viewport"] {
|
|
8
|
+
block-size: var(--virtual-list-block-size, 20em);
|
|
9
|
+
|
|
10
|
+
margin-inline: calc(var(--helix-size-focus-reach) * -1);
|
|
11
|
+
overflow-y: auto;
|
|
12
|
+
overscroll-behavior: contain;
|
|
13
|
+
padding-inline: var(--helix-size-focus-reach);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[part="after"],
|
|
17
|
+
[part="before"] {
|
|
18
|
+
flex: none;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media print {
|
|
22
|
+
:host {
|
|
23
|
+
box-shadow: none;
|
|
24
|
+
max-block-size: none;
|
|
25
|
+
overflow: visible;
|
|
26
|
+
}
|
|
27
|
+
}`);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { HelixHeadlessVirtualList } from '@fusion.dev/helix-headless/virtual-list';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Renders the rows of a long set that are on screen, and no others.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The styled tier adds the scrolling box's own treatment and nothing else. Rows
|
|
8
|
+
* are the consumer's markup in the light DOM, so they are styled by the
|
|
9
|
+
* consumer's stylesheet the way any other content is, and this must not reach
|
|
10
|
+
* into them: a rule here for a row would be a design system styling markup it
|
|
11
|
+
* did not write.
|
|
12
|
+
*
|
|
13
|
+
* @category layout
|
|
14
|
+
* @since 0.1.0
|
|
15
|
+
* @status experimental
|
|
16
|
+
* @documentation https://helix.fusion.dev/components/virtual-list
|
|
17
|
+
*
|
|
18
|
+
* @csspart after - The space standing in for rows below the window.
|
|
19
|
+
* @csspart before - The space standing in for rows above the window.
|
|
20
|
+
* @csspart viewport - The scrolling box.
|
|
21
|
+
*
|
|
22
|
+
* @cssproperty --virtual-list-block-size - How tall the scrolling box is.
|
|
23
|
+
*/
|
|
24
|
+
export declare class HelixVirtualList extends HelixHeadlessVirtualList {
|
|
25
|
+
static styles: CSSResultGroup;
|
|
26
|
+
}
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'helix-virtual-list': HelixVirtualList;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { HelixHeadlessVirtualList } from '@fusion.dev/helix-headless/virtual-list';
|
|
9
|
+
import { styles } from './virtual-list-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary Renders the rows of a long set that are on screen, and no others.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* The styled tier adds the scrolling box's own treatment and nothing else. Rows
|
|
15
|
+
* are the consumer's markup in the light DOM, so they are styled by the
|
|
16
|
+
* consumer's stylesheet the way any other content is, and this must not reach
|
|
17
|
+
* into them: a rule here for a row would be a design system styling markup it
|
|
18
|
+
* did not write.
|
|
19
|
+
*
|
|
20
|
+
* @category layout
|
|
21
|
+
* @since 0.1.0
|
|
22
|
+
* @status experimental
|
|
23
|
+
* @documentation https://helix.fusion.dev/components/virtual-list
|
|
24
|
+
*
|
|
25
|
+
* @csspart after - The space standing in for rows below the window.
|
|
26
|
+
* @csspart before - The space standing in for rows above the window.
|
|
27
|
+
* @csspart viewport - The scrolling box.
|
|
28
|
+
*
|
|
29
|
+
* @cssproperty --virtual-list-block-size - How tall the scrolling box is.
|
|
30
|
+
*/
|
|
31
|
+
let HelixVirtualList = class HelixVirtualList extends HelixHeadlessVirtualList {
|
|
32
|
+
static { this.styles = styles; }
|
|
33
|
+
};
|
|
34
|
+
HelixVirtualList = __decorate([
|
|
35
|
+
customElement('helix-virtual-list')
|
|
36
|
+
], HelixVirtualList);
|
|
37
|
+
export { HelixVirtualList };
|