@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,111 @@
|
|
|
1
|
+
import { HelixHeadlessCarousel } from '@fusion.dev/helix-headless/carousel';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Shows one slide of several, with controls to move between them.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* The track scroll-snaps, so a drag and a trackpad swipe move it with the
|
|
8
|
+
* browser's own momentum and the controls only have to scroll.
|
|
9
|
+
*
|
|
10
|
+
* Slides take the full track by default. `per-view` fits more than one across,
|
|
11
|
+
* up to five, and is declared on the tier below because it decides how many
|
|
12
|
+
* positions the track has rather than only how wide a slide is,
|
|
13
|
+
* which is what a run of cards wants rather than a run of full-width panels.
|
|
14
|
+
*
|
|
15
|
+
* @since 0.1.0
|
|
16
|
+
* @status experimental
|
|
17
|
+
* @category layout
|
|
18
|
+
* @aliases Slider, Gallery, Slideshow
|
|
19
|
+
* @documentation https://helix.fusion.dev/components/carousel
|
|
20
|
+
*
|
|
21
|
+
* @cssproperty --carousel-bleed - Room inside the scroller so a slide's own shadow, border or
|
|
22
|
+
* focus ring is not clipped by it. Defaults to enough for `--helix-shadow-md`, which reaches
|
|
23
|
+
* 16px below the box it is on; a slide on `--helix-shadow-lg` reaches 44px and wants more.
|
|
24
|
+
* @cssproperty --carousel-block-size - Height of a vertical track.
|
|
25
|
+
* @cssproperty --carousel-gap - Space between slides.
|
|
26
|
+
*/
|
|
27
|
+
export declare class HelixCarousel extends HelixHeadlessCarousel {
|
|
28
|
+
/**
|
|
29
|
+
* Which side of the slides the dots sit on.
|
|
30
|
+
*
|
|
31
|
+
* Unset is `block-end`, under them. `block-start` puts them above,
|
|
32
|
+
* `inline-start` and `inline-end` beside, where a run of dots becomes a
|
|
33
|
+
* column.
|
|
34
|
+
*
|
|
35
|
+
* **The sides of the content, not positions along a bar.** This was
|
|
36
|
+
* `start | center | end`, which answered "where along the row" when the
|
|
37
|
+
* question is "which edge", and could not say "above" at all. The logical
|
|
38
|
+
* names rather than `top`/`left`, because the component is already careful
|
|
39
|
+
* about writing direction everywhere else and an `inline-start` carousel
|
|
40
|
+
* should put its dots on the right in Arabic without being told.
|
|
41
|
+
*
|
|
42
|
+
* Independent of `controlsPlacement`. Both default to the block end, where
|
|
43
|
+
* they share the row and split it, dots to the start and arrows to the end.
|
|
44
|
+
* That is the arrangement the old shared bar gave, arrived at by two defaults
|
|
45
|
+
* rather than by a rule about the pair, so moving one leaves the other alone.
|
|
46
|
+
*/
|
|
47
|
+
indicatorPlacement?: 'block-end' | 'block-start' | 'inline-end' | 'inline-start';
|
|
48
|
+
/**
|
|
49
|
+
* Where along that side the dots sit.
|
|
50
|
+
*
|
|
51
|
+
* The second half of the answer to "where do they go". `indicatorPlacement`
|
|
52
|
+
* says which edge and this says where along it, so the pair spells out the
|
|
53
|
+
* nine positions a consumer asks for in words: bottom left, bottom center,
|
|
54
|
+
* top right, and so on. One attribute with nine values was the alternative
|
|
55
|
+
* and it multiplies rather than composing, since every value has to name both
|
|
56
|
+
* facts and a consumer changing one has to rewrite the other.
|
|
57
|
+
*
|
|
58
|
+
* **One word for both axes, because the edge decides which axis it is.** On a
|
|
59
|
+
* block edge the run is a row and this is `justify-self`; on an inline edge it
|
|
60
|
+
* is a column and the same question is `align-self`. A consumer should not
|
|
61
|
+
* have to know which of those two words their edge wanted.
|
|
62
|
+
*
|
|
63
|
+
* Logical, like the placement: `start` is the left in English and the right in
|
|
64
|
+
* Arabic on a horizontal run, and the top on a vertical one.
|
|
65
|
+
*
|
|
66
|
+
* Unset splits the row, dots to the start and arrows to the end, which is
|
|
67
|
+
* what keeps two items in one grid cell from landing on each other. Beside the
|
|
68
|
+
* slides, and over them, both center instead, because a column there has
|
|
69
|
+
* nothing to split the edge with. Putting both groups on the same edge with
|
|
70
|
+
* the same alignment does overlap them, and always did: that is what the two
|
|
71
|
+
* different defaults exist to avoid.
|
|
72
|
+
*/
|
|
73
|
+
indicatorAlign?: 'center' | 'end' | 'start';
|
|
74
|
+
/**
|
|
75
|
+
* Which side of the slides the arrows sit on.
|
|
76
|
+
*
|
|
77
|
+
* The same four sides as `indicatorPlacement` and the same default, so a
|
|
78
|
+
* carousel that moves only one of them keeps the other where it was.
|
|
79
|
+
* `inline-start` or `inline-end` stacks the arrows into a column, which is
|
|
80
|
+
* what a vertical track usually wants.
|
|
81
|
+
*
|
|
82
|
+
* `overlay` puts them on the slides, at the track's own edges, which is what a
|
|
83
|
+
* full-bleed carousel wants: the slide is the page and the controls are on it
|
|
84
|
+
* rather than in a bar beneath it. It carries its own treatment with it, a
|
|
85
|
+
* surface and a shadow under each arrow, because a glyph drawn straight onto a
|
|
86
|
+
* photograph is legible against about half of one.
|
|
87
|
+
*
|
|
88
|
+
* **That was `appearance="hero"` and did not need to be.** A third axis for
|
|
89
|
+
* something these two already describe: what `hero` meant was "the controls
|
|
90
|
+
* are over the content", and the surface, the edge-to-edge arrows and the bar
|
|
91
|
+
* that catches no presses all followed from it rather than being separate
|
|
92
|
+
* decisions. One fewer property, and the two axes are now the whole of where
|
|
93
|
+
* a carousel's chrome can go.
|
|
94
|
+
*/
|
|
95
|
+
controlsPlacement?: 'block-end' | 'block-start' | 'inline-end' | 'inline-start' | 'overlay';
|
|
96
|
+
/**
|
|
97
|
+
* Where along that side the arrows sit. See `indicatorAlign`.
|
|
98
|
+
*
|
|
99
|
+
* `overlay` answers it too, and the edge there is the whole slide: the bar is
|
|
100
|
+
* stretched across the picture, so this moves the arrows up and down within
|
|
101
|
+
* it rather than moving the bar. Centered unless asked otherwise, which is
|
|
102
|
+
* where an arrow over a photograph belongs.
|
|
103
|
+
*/
|
|
104
|
+
controlsAlign?: 'center' | 'end' | 'start';
|
|
105
|
+
static styles: CSSResultGroup;
|
|
106
|
+
}
|
|
107
|
+
declare global {
|
|
108
|
+
interface HTMLElementTagNameMap {
|
|
109
|
+
'helix-carousel': HelixCarousel;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { HelixHeadlessCarousel } from '@fusion.dev/helix-headless/carousel';
|
|
9
|
+
import { property } from 'lit/decorators.js';
|
|
10
|
+
import { styles } from './carousel-root.css.js';
|
|
11
|
+
/**
|
|
12
|
+
* @summary Shows one slide of several, with controls to move between them.
|
|
13
|
+
*
|
|
14
|
+
* @description
|
|
15
|
+
* The track scroll-snaps, so a drag and a trackpad swipe move it with the
|
|
16
|
+
* browser's own momentum and the controls only have to scroll.
|
|
17
|
+
*
|
|
18
|
+
* Slides take the full track by default. `per-view` fits more than one across,
|
|
19
|
+
* up to five, and is declared on the tier below because it decides how many
|
|
20
|
+
* positions the track has rather than only how wide a slide is,
|
|
21
|
+
* which is what a run of cards wants rather than a run of full-width panels.
|
|
22
|
+
*
|
|
23
|
+
* @since 0.1.0
|
|
24
|
+
* @status experimental
|
|
25
|
+
* @category layout
|
|
26
|
+
* @aliases Slider, Gallery, Slideshow
|
|
27
|
+
* @documentation https://helix.fusion.dev/components/carousel
|
|
28
|
+
*
|
|
29
|
+
* @cssproperty --carousel-bleed - Room inside the scroller so a slide's own shadow, border or
|
|
30
|
+
* focus ring is not clipped by it. Defaults to enough for `--helix-shadow-md`, which reaches
|
|
31
|
+
* 16px below the box it is on; a slide on `--helix-shadow-lg` reaches 44px and wants more.
|
|
32
|
+
* @cssproperty --carousel-block-size - Height of a vertical track.
|
|
33
|
+
* @cssproperty --carousel-gap - Space between slides.
|
|
34
|
+
*/
|
|
35
|
+
let HelixCarousel = class HelixCarousel extends HelixHeadlessCarousel {
|
|
36
|
+
static { this.styles = styles; }
|
|
37
|
+
};
|
|
38
|
+
__decorate([
|
|
39
|
+
property({ attribute: 'indicator-placement', reflect: true })
|
|
40
|
+
], HelixCarousel.prototype, "indicatorPlacement", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
property({ attribute: 'indicator-align', reflect: true })
|
|
43
|
+
], HelixCarousel.prototype, "indicatorAlign", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
property({ attribute: 'controls-placement', reflect: true })
|
|
46
|
+
], HelixCarousel.prototype, "controlsPlacement", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
property({ attribute: 'controls-align', reflect: true })
|
|
49
|
+
], HelixCarousel.prototype, "controlsAlign", void 0);
|
|
50
|
+
HelixCarousel = __decorate([
|
|
51
|
+
customElement('helix-carousel')
|
|
52
|
+
], HelixCarousel);
|
|
53
|
+
export { HelixCarousel };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// Generated from src/chat/composer/chat-composer.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="composer"] {
|
|
8
|
+
background-color: var(--chat-composer-background-color, var(--helix-color-surface));
|
|
9
|
+
border: var(--chat-composer-border-width, var(--helix-border-thin)) solid
|
|
10
|
+
var(--helix-color-border);
|
|
11
|
+
border-radius: var(--helix-radii-md);
|
|
12
|
+
display: grid;
|
|
13
|
+
gap: var(--helix-space-2xs);
|
|
14
|
+
padding: var(--helix-space-xs);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[part="composer"]:focus-within {
|
|
18
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
19
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[part="field"] {
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
border: 0;
|
|
25
|
+
color: var(--helix-color-foreground);
|
|
26
|
+
|
|
27
|
+
field-sizing: content;
|
|
28
|
+
font-family: var(--helix-font-sans);
|
|
29
|
+
font-size: var(--helix-text-sm);
|
|
30
|
+
line-height: var(--helix-leading-normal);
|
|
31
|
+
max-block-size: var(--chat-composer-max-block-size, 12rem);
|
|
32
|
+
padding-block: var(--helix-space-2xs);
|
|
33
|
+
padding-inline: var(--helix-space-2xs);
|
|
34
|
+
resize: none;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
[part="field"]:focus-visible {
|
|
38
|
+
outline: none;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[part="tools"] {
|
|
42
|
+
align-items: center;
|
|
43
|
+
display: flex;
|
|
44
|
+
gap: var(--helix-space-2xs);
|
|
45
|
+
justify-content: flex-end;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[part="start"],
|
|
49
|
+
[part="end"] {
|
|
50
|
+
--helix-size-control: var(--helix-size-control-sm);
|
|
51
|
+
--helix-size-icon: var(--helix-size-icon-sm);
|
|
52
|
+
|
|
53
|
+
align-items: center;
|
|
54
|
+
display: flex;
|
|
55
|
+
gap: var(--helix-space-2xs);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[part="start"] {
|
|
59
|
+
margin-inline-end: auto;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[part="end"] {
|
|
63
|
+
margin-inline-end: var(--helix-space-2xs);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[part="start"][data-empty],
|
|
67
|
+
[part="end"][data-empty] {
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[part="send"] {
|
|
72
|
+
align-items: center;
|
|
73
|
+
background-color: transparent;
|
|
74
|
+
block-size: calc(var(--helix-size-control-tight) - var(--helix-space-2xs));
|
|
75
|
+
border: 0;
|
|
76
|
+
border-radius: var(--helix-radii-sm);
|
|
77
|
+
color: var(--helix-color-foreground-muted);
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
display: inline-flex;
|
|
80
|
+
inline-size: calc(var(--helix-size-control-tight) - var(--helix-space-2xs));
|
|
81
|
+
justify-content: center;
|
|
82
|
+
padding: var(--helix-space-none);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[part="mark"] {
|
|
86
|
+
block-size: var(--helix-size-icon-tight);
|
|
87
|
+
inline-size: var(--helix-size-icon-tight);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
[part="send"]:hover:not(:disabled) {
|
|
91
|
+
background-color: color-mix(in oklab, var(--helix-color-foreground) 8%, transparent);
|
|
92
|
+
color: var(--helix-color-foreground);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
[part="send"]:disabled {
|
|
96
|
+
cursor: not-allowed;
|
|
97
|
+
opacity: 0.5;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
[part="send"]:focus-visible {
|
|
101
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
102
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
103
|
+
}`);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { HelixHeadlessChatComposer } from '@fusion.dev/helix-headless/chat';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Where the reader writes their turn.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* One row, and the field takes the room. **It grows with the text and stops at a
|
|
8
|
+
* ceiling**, through `field-sizing: content` rather than a script measuring
|
|
9
|
+
* anything: where that is not supported the field keeps its rows and scrolls,
|
|
10
|
+
* which is the answer a textarea has always given. A composer that grows without
|
|
11
|
+
* a ceiling eats the transcript it belongs to.
|
|
12
|
+
*
|
|
13
|
+
* @since 0.1.0
|
|
14
|
+
* @status experimental
|
|
15
|
+
* @category forms
|
|
16
|
+
* @documentation https://helix.fusion.dev/components/chat
|
|
17
|
+
*
|
|
18
|
+
* @slot end - Under the field, beside the send control.
|
|
19
|
+
* @slot start - Under the field, at the leading edge: attachments, a model picker.
|
|
20
|
+
*
|
|
21
|
+
* @csspart field - The text field.
|
|
22
|
+
* @csspart send - The control that offers the turn.
|
|
23
|
+
* @csspart tools - The row under the field.
|
|
24
|
+
*
|
|
25
|
+
* @cssproperty --chat-composer-background-color - Fill behind the composer.
|
|
26
|
+
* @cssproperty --chat-composer-border-width - The composer's edge, so a theme can remove it.
|
|
27
|
+
* @cssproperty --chat-composer-max-block-size - How tall the field may grow.
|
|
28
|
+
*/
|
|
29
|
+
export declare class HelixChatComposer extends HelixHeadlessChatComposer {
|
|
30
|
+
static tier: string;
|
|
31
|
+
static styles: CSSResultGroup;
|
|
32
|
+
}
|
|
33
|
+
declare global {
|
|
34
|
+
interface HTMLElementTagNameMap {
|
|
35
|
+
'helix-chat-composer': HelixChatComposer;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { HelixHeadlessChatComposer } from '@fusion.dev/helix-headless/chat';
|
|
9
|
+
import { styles } from './chat-composer.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary Where the reader writes their turn.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* One row, and the field takes the room. **It grows with the text and stops at a
|
|
15
|
+
* ceiling**, through `field-sizing: content` rather than a script measuring
|
|
16
|
+
* anything: where that is not supported the field keeps its rows and scrolls,
|
|
17
|
+
* which is the answer a textarea has always given. A composer that grows without
|
|
18
|
+
* a ceiling eats the transcript it belongs to.
|
|
19
|
+
*
|
|
20
|
+
* @since 0.1.0
|
|
21
|
+
* @status experimental
|
|
22
|
+
* @category forms
|
|
23
|
+
* @documentation https://helix.fusion.dev/components/chat
|
|
24
|
+
*
|
|
25
|
+
* @slot end - Under the field, beside the send control.
|
|
26
|
+
* @slot start - Under the field, at the leading edge: attachments, a model picker.
|
|
27
|
+
*
|
|
28
|
+
* @csspart field - The text field.
|
|
29
|
+
* @csspart send - The control that offers the turn.
|
|
30
|
+
* @csspart tools - The row under the field.
|
|
31
|
+
*
|
|
32
|
+
* @cssproperty --chat-composer-background-color - Fill behind the composer.
|
|
33
|
+
* @cssproperty --chat-composer-border-width - The composer's edge, so a theme can remove it.
|
|
34
|
+
* @cssproperty --chat-composer-max-block-size - How tall the field may grow.
|
|
35
|
+
*/
|
|
36
|
+
let HelixChatComposer = class HelixChatComposer extends HelixHeadlessChatComposer {
|
|
37
|
+
static { this.tier = 'helix-'; }
|
|
38
|
+
static { this.styles = styles; }
|
|
39
|
+
};
|
|
40
|
+
HelixChatComposer = __decorate([
|
|
41
|
+
customElement('helix-chat-composer')
|
|
42
|
+
], HelixChatComposer);
|
|
43
|
+
export { HelixChatComposer };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
// Generated from src/chat/message/chat-message.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="message"] {
|
|
8
|
+
align-items: start;
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
[part="avatar"] > slot::slotted(*) {
|
|
14
|
+
margin-inline-end: var(--helix-space-sm);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[part="avatar"] {
|
|
18
|
+
align-items: center;
|
|
19
|
+
display: flex;
|
|
20
|
+
font-size: var(--helix-text-sm);
|
|
21
|
+
grid-column: 1;
|
|
22
|
+
line-height: var(--helix-leading-normal);
|
|
23
|
+
min-block-size: calc(1lh + var(--helix-space-xs) * 2);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[part="body"] {
|
|
27
|
+
grid-column: 2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host([author="me"]) [part="avatar"] {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[part="body"] {
|
|
35
|
+
display: grid;
|
|
36
|
+
gap: var(--helix-space-2xs);
|
|
37
|
+
|
|
38
|
+
justify-items: start;
|
|
39
|
+
|
|
40
|
+
max-inline-size: min(var(--chat-message-measure, 42rem), 80%);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:host([author="me"]) [part="body"] {
|
|
44
|
+
justify-items: end;
|
|
45
|
+
justify-self: end;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
[part="actions"] {
|
|
49
|
+
opacity: 0;
|
|
50
|
+
pointer-events: none;
|
|
51
|
+
transition: opacity var(--helix-duration-fast) var(--helix-easing-standard);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:host(:hover) [part="actions"],
|
|
55
|
+
:host(:focus-within) [part="actions"] {
|
|
56
|
+
opacity: 1;
|
|
57
|
+
pointer-events: auto;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (hover: none) {
|
|
61
|
+
[part="actions"] {
|
|
62
|
+
opacity: 1;
|
|
63
|
+
pointer-events: auto;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@media (prefers-reduced-motion: reduce) {
|
|
68
|
+
[part="actions"] {
|
|
69
|
+
transition: none;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[part="actions"] {
|
|
74
|
+
|
|
75
|
+
--helix-size-control: calc(var(--helix-size-control-sm) - var(--helix-space-2xs));
|
|
76
|
+
--helix-size-icon: var(--helix-size-icon-sm);
|
|
77
|
+
|
|
78
|
+
align-items: center;
|
|
79
|
+
display: inline-flex;
|
|
80
|
+
gap: var(--helix-space-2xs);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[part="actions"][hidden] {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[part="sources"] {
|
|
88
|
+
--helix-size-avatar: var(--helix-size-avatar-sm);
|
|
89
|
+
--helix-size-tag: var(--helix-size-tag-sm);
|
|
90
|
+
--helix-size-icon: var(--helix-size-icon-sm);
|
|
91
|
+
|
|
92
|
+
align-items: center;
|
|
93
|
+
color: var(--helix-color-foreground-muted);
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-wrap: wrap;
|
|
96
|
+
font-family: var(--helix-font-sans);
|
|
97
|
+
font-size: var(--helix-text-xs);
|
|
98
|
+
gap: var(--helix-space-2xs);
|
|
99
|
+
line-height: var(--helix-leading-normal);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
[part="sources"][hidden] {
|
|
103
|
+
display: none;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
[part="content"] {
|
|
107
|
+
background-color: var(
|
|
108
|
+
--chat-message-background-color,
|
|
109
|
+
color-mix(in oklab, var(--helix-color-foreground) 14%, transparent)
|
|
110
|
+
);
|
|
111
|
+
border-radius: var(--helix-radii-md);
|
|
112
|
+
color: var(--chat-message-color, var(--helix-color-foreground));
|
|
113
|
+
font-family: var(--helix-font-sans);
|
|
114
|
+
font-size: var(--helix-text-sm);
|
|
115
|
+
line-height: var(--helix-leading-normal);
|
|
116
|
+
padding-block: var(--helix-space-xs);
|
|
117
|
+
padding-inline: var(--helix-space-sm);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
:host([separation="plain"]) [part="content"] {
|
|
121
|
+
background-color: transparent;
|
|
122
|
+
padding-inline: var(--helix-space-none);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
:host([author="me"]) [part="content"] {
|
|
126
|
+
background-color: var(
|
|
127
|
+
--chat-message-background-color-me,
|
|
128
|
+
color-mix(in oklab, var(--helix-color-primary) 28%, transparent)
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
[part="meta"] {
|
|
133
|
+
align-items: center;
|
|
134
|
+
color: var(--helix-color-foreground-muted);
|
|
135
|
+
display: flex;
|
|
136
|
+
font-family: var(--helix-font-sans);
|
|
137
|
+
font-size: var(--helix-text-xs);
|
|
138
|
+
gap: var(--helix-space-2xs);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
:host([author="me"]) [part="meta"] {
|
|
142
|
+
justify-content: flex-end;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
[part="content"] {
|
|
146
|
+
inline-size: fit-content;
|
|
147
|
+
max-inline-size: 100%;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
:host([state="streaming"]) [part="content"][data-empty]::after {
|
|
151
|
+
animation: helix-chat-typing 1.2s infinite ease-in-out;
|
|
152
|
+
background-image:
|
|
153
|
+
radial-gradient(circle closest-side, currentColor 90%, transparent),
|
|
154
|
+
radial-gradient(circle closest-side, currentColor 90%, transparent),
|
|
155
|
+
radial-gradient(circle closest-side, currentColor 90%, transparent);
|
|
156
|
+
background-position:
|
|
157
|
+
0% 50%,
|
|
158
|
+
50% 50%,
|
|
159
|
+
100% 50%;
|
|
160
|
+
background-repeat: no-repeat;
|
|
161
|
+
background-size:
|
|
162
|
+
20% 30%,
|
|
163
|
+
20% 30%,
|
|
164
|
+
20% 30%;
|
|
165
|
+
block-size: 1lh;
|
|
166
|
+
content: "";
|
|
167
|
+
display: block;
|
|
168
|
+
inline-size: 1.75em;
|
|
169
|
+
opacity: 0.7;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
@keyframes helix-chat-typing {
|
|
173
|
+
0%,
|
|
174
|
+
60%,
|
|
175
|
+
100% {
|
|
176
|
+
background-position:
|
|
177
|
+
0% 50%,
|
|
178
|
+
50% 50%,
|
|
179
|
+
100% 50%;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
20% {
|
|
183
|
+
background-position:
|
|
184
|
+
0% 10%,
|
|
185
|
+
50% 50%,
|
|
186
|
+
100% 50%;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
33% {
|
|
190
|
+
background-position:
|
|
191
|
+
0% 50%,
|
|
192
|
+
50% 10%,
|
|
193
|
+
100% 50%;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
46% {
|
|
197
|
+
background-position:
|
|
198
|
+
0% 50%,
|
|
199
|
+
50% 50%,
|
|
200
|
+
100% 10%;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@media (prefers-reduced-motion: reduce) {
|
|
205
|
+
:host([state="streaming"]) [part="content"][data-empty]::after {
|
|
206
|
+
animation: none;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:host([state="failed"]) [part="meta"] {
|
|
211
|
+
color: var(--helix-color-danger);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
[part="state"] {
|
|
215
|
+
align-items: center;
|
|
216
|
+
display: inline-flex;
|
|
217
|
+
font-weight: var(--helix-weight-medium);
|
|
218
|
+
gap: var(--helix-space-2xs);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
[part="mark"] {
|
|
222
|
+
block-size: var(--helix-size-icon-tight);
|
|
223
|
+
flex: 0 0 auto;
|
|
224
|
+
inline-size: var(--helix-size-icon-tight);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
:host([state="sending"]) [part="content"] {
|
|
228
|
+
opacity: 0.6;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
[part="retry"] {
|
|
232
|
+
background: none;
|
|
233
|
+
border: 0;
|
|
234
|
+
border-radius: var(--helix-radii-sm);
|
|
235
|
+
color: var(--helix-color-foreground);
|
|
236
|
+
cursor: pointer;
|
|
237
|
+
font: inherit;
|
|
238
|
+
font-weight: var(--helix-weight-medium);
|
|
239
|
+
min-block-size: calc(var(--helix-size-control-tight) - var(--helix-space-2xs));
|
|
240
|
+
padding-block: var(--helix-space-2xs);
|
|
241
|
+
padding-inline: var(--helix-space-2xs);
|
|
242
|
+
text-decoration: underline;
|
|
243
|
+
text-underline-offset: 0.2em;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
[part="retry"]:hover {
|
|
247
|
+
background-color: light-dark(
|
|
248
|
+
color-mix(in oklab, var(--helix-color-foreground) 8%, transparent),
|
|
249
|
+
color-mix(in oklab, var(--helix-color-foreground) 12%, transparent)
|
|
250
|
+
);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
[part="retry"]:focus-visible {
|
|
254
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
255
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@media print {
|
|
259
|
+
[part="retry"] {
|
|
260
|
+
display: none;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
[part="actions"] {
|
|
264
|
+
display: none;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
:host([state="streaming"]) [part="content"][data-empty]::after {
|
|
268
|
+
display: none;
|
|
269
|
+
}
|
|
270
|
+
}`);
|