@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,144 @@
|
|
|
1
|
+
// Generated from src/outline/root/outline-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
|
+
--outline-rail: var(--helix-space-2xs);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
[part="nav"] {
|
|
10
|
+
background-image: linear-gradient(var(--helix-color-border), var(--helix-color-border));
|
|
11
|
+
|
|
12
|
+
background-position: calc((var(--outline-rail) - var(--helix-border-thin)) / 2) 0;
|
|
13
|
+
background-repeat: repeat-y;
|
|
14
|
+
background-size: var(--helix-border-thin) 100%;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
|
|
18
|
+
position: relative;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[part="indicator"] {
|
|
22
|
+
--_mark-width: var(--helix-border-thin);
|
|
23
|
+
|
|
24
|
+
background-color: var(--helix-color-primary);
|
|
25
|
+
block-size: var(--indicator-block-size, 0);
|
|
26
|
+
border-radius: var(--helix-radii-full);
|
|
27
|
+
inline-size: var(--_mark-width);
|
|
28
|
+
inset-block-start: 0;
|
|
29
|
+
inset-inline-start: calc((var(--outline-rail) - var(--_mark-width)) / 2);
|
|
30
|
+
opacity: 0;
|
|
31
|
+
position: absolute;
|
|
32
|
+
translate: 0 var(--indicator-y, 0);
|
|
33
|
+
|
|
34
|
+
transition:
|
|
35
|
+
translate var(--helix-duration-normal) var(--helix-easing-spring),
|
|
36
|
+
block-size var(--helix-duration-slow) var(--helix-easing-decelerate),
|
|
37
|
+
inline-size var(--helix-duration-normal) var(--helix-easing-standard),
|
|
38
|
+
inset-inline-start var(--helix-duration-normal) var(--helix-easing-standard),
|
|
39
|
+
opacity var(--helix-duration-fast) var(--helix-easing-standard);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[part="indicator"][data-placed] {
|
|
43
|
+
opacity: 1;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host(:hover) [part="indicator"]:not([data-moving]) {
|
|
47
|
+
--_mark-width: var(--helix-border-thick);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[part="indicator"][data-moving] {
|
|
51
|
+
--_mark-width: var(--outline-rail);
|
|
52
|
+
|
|
53
|
+
transition:
|
|
54
|
+
translate var(--helix-duration-normal) var(--helix-easing-spring),
|
|
55
|
+
block-size var(--helix-duration-slow) var(--helix-easing-decelerate),
|
|
56
|
+
inline-size var(--helix-duration-fast) var(--helix-easing-decelerate),
|
|
57
|
+
inset-inline-start var(--helix-duration-fast) var(--helix-easing-decelerate),
|
|
58
|
+
opacity var(--helix-duration-fast) var(--helix-easing-standard);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (prefers-reduced-motion: reduce) {
|
|
62
|
+
[part="indicator"],
|
|
63
|
+
[part="indicator"][data-moving] {
|
|
64
|
+
transition: opacity var(--helix-duration-fast) var(--helix-easing-standard);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
::slotted(a) {
|
|
69
|
+
border-radius: var(--helix-radii-sm);
|
|
70
|
+
color: var(--helix-color-foreground-muted);
|
|
71
|
+
|
|
72
|
+
font-size: var(--helix-text-xs);
|
|
73
|
+
|
|
74
|
+
font-weight: var(--helix-weight-medium);
|
|
75
|
+
line-height: var(--helix-leading-normal);
|
|
76
|
+
|
|
77
|
+
margin-inline-start: var(--outline-rail, var(--helix-border-thick));
|
|
78
|
+
padding-block: var(--helix-space-2xs);
|
|
79
|
+
padding-inline: var(--helix-space-sm);
|
|
80
|
+
text-decoration: none;
|
|
81
|
+
transition:
|
|
82
|
+
background-color var(--helix-duration-fast) var(--helix-easing-standard),
|
|
83
|
+
color var(--helix-duration-fast) var(--helix-easing-standard);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
::slotted(a):hover {
|
|
87
|
+
background-color: color-mix(in oklab, var(--helix-color-foreground) 5%, transparent);
|
|
88
|
+
color: var(--helix-color-foreground);
|
|
89
|
+
text-decoration: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
::slotted(a[aria-current]) {
|
|
93
|
+
color: var(--helix-color-foreground);
|
|
94
|
+
|
|
95
|
+
font-weight: var(--helix-weight-semibold);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
::slotted(a[data-level="2"]) {
|
|
99
|
+
padding-inline-start: calc(var(--helix-space-sm) + var(--outline-indent, var(--helix-space-sm)));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
::slotted(a[data-level="3"]) {
|
|
103
|
+
padding-inline-start: calc(
|
|
104
|
+
var(--helix-space-sm) +
|
|
105
|
+
2 *
|
|
106
|
+
var(--outline-indent, var(--helix-space-sm))
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
::slotted(a[data-level="4"]) {
|
|
111
|
+
padding-inline-start: calc(
|
|
112
|
+
var(--helix-space-sm) +
|
|
113
|
+
3 *
|
|
114
|
+
var(--outline-indent, var(--helix-space-sm))
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
::slotted(a[data-level="5"]) {
|
|
119
|
+
padding-inline-start: calc(
|
|
120
|
+
var(--helix-space-sm) +
|
|
121
|
+
4 *
|
|
122
|
+
var(--outline-indent, var(--helix-space-sm))
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
::slotted(a[data-level="6"]) {
|
|
127
|
+
padding-inline-start: calc(
|
|
128
|
+
var(--helix-space-sm) +
|
|
129
|
+
5 *
|
|
130
|
+
var(--outline-indent, var(--helix-space-sm))
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@media (prefers-reduced-motion: reduce) {
|
|
135
|
+
::slotted(a) {
|
|
136
|
+
transition: none;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
@media print {
|
|
141
|
+
:host {
|
|
142
|
+
box-shadow: none;
|
|
143
|
+
}
|
|
144
|
+
}`);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { HelixHeadlessOutline } from '@fusion.dev/helix-headless/outline';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Links to the headings on this page, marking the one being read.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* A rule down the leading edge with the current section lit along it, which is
|
|
8
|
+
* the shape a table of contents has taken since printed marginalia: the line
|
|
9
|
+
* says the list is one thing, and the lit segment says where in it you are.
|
|
10
|
+
*
|
|
11
|
+
* Nesting is the consumer's, expressed as `data-level` on a link. A outline
|
|
12
|
+
* that read heading levels itself would have to look at the document, and the
|
|
13
|
+
* document is not always where the headings are.
|
|
14
|
+
*
|
|
15
|
+
* @since 0.1.0
|
|
16
|
+
* @status experimental
|
|
17
|
+
* @category navigation
|
|
18
|
+
* @aliases Table of contents, On this page, Outline
|
|
19
|
+
* @documentation https://helix.fusion.dev/components/outline
|
|
20
|
+
*
|
|
21
|
+
* @cssproperty --outline-indent - How far each level is inset from the one above.
|
|
22
|
+
* @cssproperty --outline-rail - Width of the gutter the rule and the traveling mark share.
|
|
23
|
+
*/
|
|
24
|
+
export declare class HelixOutline extends HelixHeadlessOutline {
|
|
25
|
+
static styles: CSSResultGroup;
|
|
26
|
+
}
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'helix-outline': HelixOutline;
|
|
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 { HelixHeadlessOutline } from '@fusion.dev/helix-headless/outline';
|
|
9
|
+
import { styles } from './outline-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary Links to the headings on this page, marking the one being read.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* A rule down the leading edge with the current section lit along it, which is
|
|
15
|
+
* the shape a table of contents has taken since printed marginalia: the line
|
|
16
|
+
* says the list is one thing, and the lit segment says where in it you are.
|
|
17
|
+
*
|
|
18
|
+
* Nesting is the consumer's, expressed as `data-level` on a link. A outline
|
|
19
|
+
* that read heading levels itself would have to look at the document, and the
|
|
20
|
+
* document is not always where the headings are.
|
|
21
|
+
*
|
|
22
|
+
* @since 0.1.0
|
|
23
|
+
* @status experimental
|
|
24
|
+
* @category navigation
|
|
25
|
+
* @aliases Table of contents, On this page, Outline
|
|
26
|
+
* @documentation https://helix.fusion.dev/components/outline
|
|
27
|
+
*
|
|
28
|
+
* @cssproperty --outline-indent - How far each level is inset from the one above.
|
|
29
|
+
* @cssproperty --outline-rail - Width of the gutter the rule and the traveling mark share.
|
|
30
|
+
*/
|
|
31
|
+
let HelixOutline = class HelixOutline extends HelixHeadlessOutline {
|
|
32
|
+
static { this.styles = styles; }
|
|
33
|
+
};
|
|
34
|
+
HelixOutline = __decorate([
|
|
35
|
+
customElement('helix-outline')
|
|
36
|
+
], HelixOutline);
|
|
37
|
+
export { HelixOutline };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
// Generated from src/pagination/root/pagination-root.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
align-items: center;
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
font-size: var(--helix-text-sm);
|
|
8
|
+
gap: var(--pagination-gap, var(--helix-space-2xs));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[part="list"] {
|
|
12
|
+
align-items: center;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-wrap: wrap;
|
|
15
|
+
gap: var(--pagination-gap, var(--helix-space-2xs));
|
|
16
|
+
|
|
17
|
+
list-style: none;
|
|
18
|
+
margin: var(--helix-space-none);
|
|
19
|
+
padding: var(--helix-space-none);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[part="item"] {
|
|
23
|
+
display: inline-flex;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[part="first"],
|
|
27
|
+
[part="gap"],
|
|
28
|
+
[part="last"],
|
|
29
|
+
[part="page"],
|
|
30
|
+
[part="previous"],
|
|
31
|
+
[part="next"] {
|
|
32
|
+
align-items: center;
|
|
33
|
+
appearance: none;
|
|
34
|
+
background-color: transparent;
|
|
35
|
+
block-size: var(--pagination-size, var(--helix-size-control-tight));
|
|
36
|
+
border: var(--helix-border-thin) solid transparent;
|
|
37
|
+
border-radius: var(--helix-radii-sm);
|
|
38
|
+
color: var(--helix-color-foreground-muted);
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
display: inline-flex;
|
|
41
|
+
font: inherit;
|
|
42
|
+
font-variant-numeric: tabular-nums;
|
|
43
|
+
font-weight: var(--helix-weight-medium);
|
|
44
|
+
justify-content: center;
|
|
45
|
+
min-inline-size: var(--pagination-size, var(--helix-size-control-tight));
|
|
46
|
+
padding-inline: var(--helix-space-2xs);
|
|
47
|
+
text-decoration: none;
|
|
48
|
+
transition:
|
|
49
|
+
background-color var(--helix-duration-fast) var(--helix-easing-standard),
|
|
50
|
+
color var(--helix-duration-fast) var(--helix-easing-standard);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[part="first"]:hover,
|
|
54
|
+
[part="gap"]:hover,
|
|
55
|
+
[part="last"]:hover,
|
|
56
|
+
[part="page"]:hover,
|
|
57
|
+
[part="previous"]:hover,
|
|
58
|
+
[part="next"]:hover {
|
|
59
|
+
background-color: var(--pagination-hover-color, var(--helix-color-surface-sunken));
|
|
60
|
+
color: var(--helix-color-foreground);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[part="first"]:focus-visible,
|
|
64
|
+
[part="gap"]:focus-visible,
|
|
65
|
+
[part="last"]:focus-visible,
|
|
66
|
+
[part="page"]:focus-visible,
|
|
67
|
+
[part="previous"]:focus-visible,
|
|
68
|
+
[part="next"]:focus-visible {
|
|
69
|
+
outline: var(--helix-size-focus-ring) solid var(--helix-color-focus-ring);
|
|
70
|
+
outline-offset: var(--helix-size-focus-offset);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[part="page"][aria-current="page"],
|
|
74
|
+
[part="page"][aria-current="page"]:hover {
|
|
75
|
+
background-color: var(--pagination-current-color, var(--helix-color-surface-raised));
|
|
76
|
+
border-color: var(--helix-color-border);
|
|
77
|
+
color: var(--helix-color-foreground);
|
|
78
|
+
font-weight: var(--helix-weight-semibold);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
[part="first"]:disabled,
|
|
82
|
+
[part="last"]:disabled,
|
|
83
|
+
[part="previous"]:disabled,
|
|
84
|
+
[part="next"]:disabled,
|
|
85
|
+
[part="first"][aria-disabled="true"],
|
|
86
|
+
[part="last"][aria-disabled="true"],
|
|
87
|
+
[part="previous"][aria-disabled="true"],
|
|
88
|
+
[part="next"][aria-disabled="true"] {
|
|
89
|
+
color: var(--helix-color-foreground-subtle);
|
|
90
|
+
cursor: default;
|
|
91
|
+
opacity: 0.5;
|
|
92
|
+
pointer-events: none;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
[part="first"] svg,
|
|
96
|
+
[part="last"] svg,
|
|
97
|
+
[part="previous"] svg,
|
|
98
|
+
[part="next"] svg,
|
|
99
|
+
::slotted([slot="first-icon"]),
|
|
100
|
+
::slotted([slot="last-icon"]),
|
|
101
|
+
::slotted([slot="previous-icon"]),
|
|
102
|
+
::slotted([slot="next-icon"]) {
|
|
103
|
+
block-size: var(--helix-size-icon-tight);
|
|
104
|
+
inline-size: var(--helix-size-icon-tight);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:host(:dir(rtl)) [part="first"] svg,
|
|
108
|
+
:host(:dir(rtl)) [part="last"] svg,
|
|
109
|
+
:host(:dir(rtl)) [part="previous"] svg,
|
|
110
|
+
:host(:dir(rtl)) [part="next"] svg,
|
|
111
|
+
:host(:dir(rtl)) ::slotted([slot="first-icon"]),
|
|
112
|
+
:host(:dir(rtl)) ::slotted([slot="last-icon"]),
|
|
113
|
+
:host(:dir(rtl)) ::slotted([slot="previous-icon"]),
|
|
114
|
+
:host(:dir(rtl)) ::slotted([slot="next-icon"]) {
|
|
115
|
+
scale: -1 1;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
[part="gap"] {
|
|
119
|
+
color: var(--helix-color-foreground-subtle);
|
|
120
|
+
user-select: none;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
:host(:state(empty)) {
|
|
124
|
+
display: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
[part="live"] {
|
|
128
|
+
block-size: 1px;
|
|
129
|
+
clip-path: inset(50%);
|
|
130
|
+
inline-size: 1px;
|
|
131
|
+
overflow: hidden;
|
|
132
|
+
position: absolute;
|
|
133
|
+
white-space: nowrap;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
[part="status"] {
|
|
137
|
+
color: var(--helix-color-foreground-muted);
|
|
138
|
+
font-variant-numeric: tabular-nums;
|
|
139
|
+
font-weight: var(--helix-weight-medium);
|
|
140
|
+
padding-inline: var(--helix-space-xs);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@media (prefers-reduced-motion: reduce) {
|
|
144
|
+
[part="first"],
|
|
145
|
+
[part="gap"],
|
|
146
|
+
[part="last"],
|
|
147
|
+
[part="page"],
|
|
148
|
+
[part="previous"],
|
|
149
|
+
[part="next"] {
|
|
150
|
+
transition: none;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@media print {
|
|
155
|
+
:host {
|
|
156
|
+
display: none;
|
|
157
|
+
}
|
|
158
|
+
}`);
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { HelixHeadlessPagination } from '@fusion.dev/helix-headless/pagination';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Moves between pages of a longer result.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* One box for every control in the row, arrows and numbers alike, so the run has
|
|
8
|
+
* a single rhythm and the steps sit at the numbers' height rather than between
|
|
9
|
+
* them. Square, because a page number is one or two characters and a box sized
|
|
10
|
+
* to the widest would leave the short ones swimming; `min-inline-size` rather
|
|
11
|
+
* than a fixed one, so page 100 grows instead of overflowing.
|
|
12
|
+
*
|
|
13
|
+
* Figures are tabular throughout. A page number is the one thing here that
|
|
14
|
+
* changes under the pointer, and proportional digits make the whole row shuffle
|
|
15
|
+
* as it does.
|
|
16
|
+
*
|
|
17
|
+
* The current page is a raised chip rather than a brand fill, which is the
|
|
18
|
+
* treatment `Tabs` gives its selected tab. Brand on a page number claims more
|
|
19
|
+
* than the state deserves: it is not a choice the reader made about anything,
|
|
20
|
+
* it is where they happen to be standing, and a row of gray numbers with one
|
|
21
|
+
* blue one reads as the blue one being an action.
|
|
22
|
+
*
|
|
23
|
+
* Selected on `aria-current` rather than on a second attribute saying the same
|
|
24
|
+
* thing: the state is already in the accessibility tree, and a `data-current`
|
|
25
|
+
* beside it would be two places to keep in step.
|
|
26
|
+
*
|
|
27
|
+
* The gap takes the same box as everything else in the row and only sits back a
|
|
28
|
+
* shade in color. It is a control, so it answers hover and focus like one; it
|
|
29
|
+
* is a way through rather than a destination, so it does not compete.
|
|
30
|
+
*
|
|
31
|
+
* @since 0.1.0
|
|
32
|
+
* @status experimental
|
|
33
|
+
* @category navigation
|
|
34
|
+
* @aliases Pager, Page nav
|
|
35
|
+
* @documentation https://helix.fusion.dev/components/pagination
|
|
36
|
+
*
|
|
37
|
+
* @csspart first - The control that jumps to the first page, under `ends`.
|
|
38
|
+
* @csspart gap - The control standing over pages not shown, which jumps into them.
|
|
39
|
+
* @csspart item - One slot in the run, holding a page or a gap.
|
|
40
|
+
* @csspart last - The control that jumps to the last page, under `ends`.
|
|
41
|
+
* @csspart list - The run of pages.
|
|
42
|
+
* @csspart next - The control that moves forward one page.
|
|
43
|
+
* @csspart page - The control for one page.
|
|
44
|
+
* @csspart previous - The control that moves back one page.
|
|
45
|
+
* @csspart status - The reading of where you are, in `compact`.
|
|
46
|
+
*
|
|
47
|
+
* @cssproperty --pagination-current-color - Fill behind the page you are on.
|
|
48
|
+
* @cssproperty --pagination-gap - Space between one control and the next.
|
|
49
|
+
* @cssproperty --pagination-hover-color - Fill behind a control under the pointer.
|
|
50
|
+
* @cssproperty --pagination-size - The box every control in the row takes.
|
|
51
|
+
*/
|
|
52
|
+
export declare class HelixPagination extends HelixHeadlessPagination {
|
|
53
|
+
static styles: CSSResultGroup;
|
|
54
|
+
}
|
|
55
|
+
declare global {
|
|
56
|
+
interface HTMLElementTagNameMap {
|
|
57
|
+
'helix-pagination': HelixPagination;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 { HelixHeadlessPagination } from '@fusion.dev/helix-headless/pagination';
|
|
9
|
+
import { styles } from './pagination-root.css.js';
|
|
10
|
+
/**
|
|
11
|
+
* @summary Moves between pages of a longer result.
|
|
12
|
+
*
|
|
13
|
+
* @description
|
|
14
|
+
* One box for every control in the row, arrows and numbers alike, so the run has
|
|
15
|
+
* a single rhythm and the steps sit at the numbers' height rather than between
|
|
16
|
+
* them. Square, because a page number is one or two characters and a box sized
|
|
17
|
+
* to the widest would leave the short ones swimming; `min-inline-size` rather
|
|
18
|
+
* than a fixed one, so page 100 grows instead of overflowing.
|
|
19
|
+
*
|
|
20
|
+
* Figures are tabular throughout. A page number is the one thing here that
|
|
21
|
+
* changes under the pointer, and proportional digits make the whole row shuffle
|
|
22
|
+
* as it does.
|
|
23
|
+
*
|
|
24
|
+
* The current page is a raised chip rather than a brand fill, which is the
|
|
25
|
+
* treatment `Tabs` gives its selected tab. Brand on a page number claims more
|
|
26
|
+
* than the state deserves: it is not a choice the reader made about anything,
|
|
27
|
+
* it is where they happen to be standing, and a row of gray numbers with one
|
|
28
|
+
* blue one reads as the blue one being an action.
|
|
29
|
+
*
|
|
30
|
+
* Selected on `aria-current` rather than on a second attribute saying the same
|
|
31
|
+
* thing: the state is already in the accessibility tree, and a `data-current`
|
|
32
|
+
* beside it would be two places to keep in step.
|
|
33
|
+
*
|
|
34
|
+
* The gap takes the same box as everything else in the row and only sits back a
|
|
35
|
+
* shade in color. It is a control, so it answers hover and focus like one; it
|
|
36
|
+
* is a way through rather than a destination, so it does not compete.
|
|
37
|
+
*
|
|
38
|
+
* @since 0.1.0
|
|
39
|
+
* @status experimental
|
|
40
|
+
* @category navigation
|
|
41
|
+
* @aliases Pager, Page nav
|
|
42
|
+
* @documentation https://helix.fusion.dev/components/pagination
|
|
43
|
+
*
|
|
44
|
+
* @csspart first - The control that jumps to the first page, under `ends`.
|
|
45
|
+
* @csspart gap - The control standing over pages not shown, which jumps into them.
|
|
46
|
+
* @csspart item - One slot in the run, holding a page or a gap.
|
|
47
|
+
* @csspart last - The control that jumps to the last page, under `ends`.
|
|
48
|
+
* @csspart list - The run of pages.
|
|
49
|
+
* @csspart next - The control that moves forward one page.
|
|
50
|
+
* @csspart page - The control for one page.
|
|
51
|
+
* @csspart previous - The control that moves back one page.
|
|
52
|
+
* @csspart status - The reading of where you are, in `compact`.
|
|
53
|
+
*
|
|
54
|
+
* @cssproperty --pagination-current-color - Fill behind the page you are on.
|
|
55
|
+
* @cssproperty --pagination-gap - Space between one control and the next.
|
|
56
|
+
* @cssproperty --pagination-hover-color - Fill behind a control under the pointer.
|
|
57
|
+
* @cssproperty --pagination-size - The box every control in the row takes.
|
|
58
|
+
*/
|
|
59
|
+
let HelixPagination = class HelixPagination extends HelixHeadlessPagination {
|
|
60
|
+
static { this.styles = styles; }
|
|
61
|
+
};
|
|
62
|
+
HelixPagination = __decorate([
|
|
63
|
+
customElement('helix-pagination')
|
|
64
|
+
], HelixPagination);
|
|
65
|
+
export { HelixPagination };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Generated from src/pagination/size/pagination-size.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host(:state(empty)) {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[part="control"] {
|
|
12
|
+
align-items: center;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
gap: var(--helix-space-xs);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[part="control"]::part(label) {
|
|
18
|
+
padding-block-end: var(--helix-space-none);
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[part="control"]::part(trigger) {
|
|
23
|
+
block-size: var(--helix-size-control-tight);
|
|
24
|
+
}`);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { HelixHeadlessPaginationSize } from '@fusion.dev/helix-headless/pagination';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
import '../../option/index.js';
|
|
4
|
+
import '../../select/index.js';
|
|
5
|
+
/**
|
|
6
|
+
* @summary Chooses how many items a page holds.
|
|
7
|
+
*
|
|
8
|
+
* @description
|
|
9
|
+
* A `Select`, laid out on one row. Every other field stacks its label because it
|
|
10
|
+
* stands in a column of fields; this one stands in a footer beside a run of page
|
|
11
|
+
* numbers, where a two-line control makes the whole row two lines tall.
|
|
12
|
+
*
|
|
13
|
+
* `Select`'s own parts are exported, so `::part(trigger)` and `::part(label)`
|
|
14
|
+
* reach through both boundaries and a consumer styles it as the select it is.
|
|
15
|
+
*
|
|
16
|
+
* @since 0.1.0
|
|
17
|
+
* @status experimental
|
|
18
|
+
* @aliases Page size, Rows per page
|
|
19
|
+
* @documentation https://helix.fusion.dev/components/pagination
|
|
20
|
+
*
|
|
21
|
+
* @csspart control - The select.
|
|
22
|
+
*/
|
|
23
|
+
export declare class HelixPaginationSize extends HelixHeadlessPaginationSize {
|
|
24
|
+
static tier: string;
|
|
25
|
+
static styles: CSSResultGroup;
|
|
26
|
+
}
|
|
27
|
+
declare global {
|
|
28
|
+
interface HTMLElementTagNameMap {
|
|
29
|
+
'helix-pagination-size': HelixPaginationSize;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { HelixHeadlessPaginationSize } from '@fusion.dev/helix-headless/pagination';
|
|
9
|
+
/* Side-effect imports, for the reason `Select` gives about the listbox it
|
|
10
|
+
renders: this renders `<helix-select>` and `<helix-option>` in its own shadow
|
|
11
|
+
root, a custom element registers on import, and an unregistered one is legal
|
|
12
|
+
HTML that reports nothing and simply never upgrades. */
|
|
13
|
+
import '../../option/index.js';
|
|
14
|
+
import '../../select/index.js';
|
|
15
|
+
import { styles } from './pagination-size.css.js';
|
|
16
|
+
/**
|
|
17
|
+
* @summary Chooses how many items a page holds.
|
|
18
|
+
*
|
|
19
|
+
* @description
|
|
20
|
+
* A `Select`, laid out on one row. Every other field stacks its label because it
|
|
21
|
+
* stands in a column of fields; this one stands in a footer beside a run of page
|
|
22
|
+
* numbers, where a two-line control makes the whole row two lines tall.
|
|
23
|
+
*
|
|
24
|
+
* `Select`'s own parts are exported, so `::part(trigger)` and `::part(label)`
|
|
25
|
+
* reach through both boundaries and a consumer styles it as the select it is.
|
|
26
|
+
*
|
|
27
|
+
* @since 0.1.0
|
|
28
|
+
* @status experimental
|
|
29
|
+
* @aliases Page size, Rows per page
|
|
30
|
+
* @documentation https://helix.fusion.dev/components/pagination
|
|
31
|
+
*
|
|
32
|
+
* @csspart control - The select.
|
|
33
|
+
*/
|
|
34
|
+
let HelixPaginationSize = class HelixPaginationSize extends HelixHeadlessPaginationSize {
|
|
35
|
+
/* So the seam renders `helix-select` and `helix-option` rather than the base
|
|
36
|
+
pair the headless tier composes. One word, and the template stays in one
|
|
37
|
+
place. */
|
|
38
|
+
static { this.tier = 'helix-'; }
|
|
39
|
+
static { this.styles = styles; }
|
|
40
|
+
};
|
|
41
|
+
HelixPaginationSize = __decorate([
|
|
42
|
+
customElement('helix-pagination-size')
|
|
43
|
+
], HelixPaginationSize);
|
|
44
|
+
export { HelixPaginationSize };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Generated from src/pagination/summary/pagination-summary.css by `bun run styles`. Do not edit.
|
|
2
|
+
import { createSheet } from '@fusion.dev/helix-core';
|
|
3
|
+
export const styles = createSheet(`:host {
|
|
4
|
+
color: var(--helix-color-foreground-subtle);
|
|
5
|
+
display: inline-block;
|
|
6
|
+
font-family: var(--helix-font-sans);
|
|
7
|
+
font-size: var(--helix-text-sm);
|
|
8
|
+
font-variant-numeric: tabular-nums;
|
|
9
|
+
}`);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HelixHeadlessPaginationSummary } from '@fusion.dev/helix-headless/pagination';
|
|
2
|
+
import type { CSSResultGroup } from 'lit';
|
|
3
|
+
/**
|
|
4
|
+
* @summary Reads out which items of how many are on show.
|
|
5
|
+
*
|
|
6
|
+
* @description
|
|
7
|
+
* Prose beside the controls rather than one of them: no box and no hover, in the
|
|
8
|
+
* subtler of the two muted steps, because it is a fact about the result and not
|
|
9
|
+
* a way to move through it.
|
|
10
|
+
*
|
|
11
|
+
* @since 0.1.0
|
|
12
|
+
* @status experimental
|
|
13
|
+
* @aliases Result count, Range
|
|
14
|
+
* @documentation https://helix.fusion.dev/components/pagination
|
|
15
|
+
*/
|
|
16
|
+
export declare class HelixPaginationSummary extends HelixHeadlessPaginationSummary {
|
|
17
|
+
static styles: CSSResultGroup;
|
|
18
|
+
}
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'helix-pagination-summary': HelixPaginationSummary;
|
|
22
|
+
}
|
|
23
|
+
}
|