spell-ui 0.8.8 → 0.8.10
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/README-components.md +9 -3
- package/README-frameworks.md +5 -5
- package/README-migrating.md +2 -2
- package/README.md +5 -5
- package/dist/{CodeEngine-GL9EzwF1.js → CodeEngine-B684vKxR.js} +39 -100
- package/dist/{CodeEngine-GL9EzwF1.js.map → CodeEngine-B684vKxR.js.map} +1 -1
- package/dist/{Dragging-CMZoLEWQ.js → Dragging-B93hbRxF.js} +17 -15
- package/dist/Dragging-B93hbRxF.js.map +1 -0
- package/dist/{MarkdownEngine-CW1WGqNp.js → MarkdownEngine-D1jqcFeU.js} +11 -72
- package/dist/{MarkdownEngine-CW1WGqNp.js.map → MarkdownEngine-D1jqcFeU.js.map} +1 -1
- package/dist/MarkdownSanitizer-CqsWivYJ.js +866 -0
- package/dist/MarkdownSanitizer-CqsWivYJ.js.map +1 -0
- package/dist/{PrefStore-Qv0e5y04.js → PrefStore-Di83C0bY.js} +13 -9
- package/dist/PrefStore-Di83C0bY.js.map +1 -0
- package/dist/ScrollingRow-DkOtx2QK.js +89 -0
- package/dist/ScrollingRow-DkOtx2QK.js.map +1 -0
- package/dist/{SitePages-CciwREek.js → SitePages-B3zd5Zgu.js} +37 -10
- package/dist/SitePages-B3zd5Zgu.js.map +1 -0
- package/dist/SlottedItems-DWfAZYqM.js +88 -0
- package/dist/SlottedItems-DWfAZYqM.js.map +1 -0
- package/dist/{TemporalPolyfill-D9mr7_wA.js → TemporalPolyfill-Bv_c_xa0.js} +7 -12
- package/dist/{TemporalPolyfill-D9mr7_wA.js.map → TemporalPolyfill-Bv_c_xa0.js.map} +1 -1
- package/dist/{ThemeDraft-B7NPif4d.js → ThemeDraft-CyX3YA_L.js} +41 -43
- package/dist/{ThemeDraft-B7NPif4d.js.map → ThemeDraft-CyX3YA_L.js.map} +1 -1
- package/dist/{TreeMeasure-BVJeGb1L.js → TreeMeasure-BK74uexu.js} +3 -4
- package/dist/{TreeMeasure-BVJeGb1L.js.map → TreeMeasure-BK74uexu.js.map} +1 -1
- package/dist/UIButton-BmIiXYDC.js +5 -0
- package/dist/UIButton-BmIiXYDC.js.map +1 -0
- package/dist/UIGrid-2ZUA1YEc.js +200 -0
- package/dist/UIGrid-2ZUA1YEc.js.map +1 -0
- package/dist/{UIInput-BodVbUoQ.js → UIInput-B3K0w4ow.js} +2 -3
- package/dist/UIInput-B3K0w4ow.js.map +1 -0
- package/dist/{UIKeys-Rh_gUZjP.js → UIKeys-DmXvyJuU.js} +12 -12
- package/dist/UIKeys-DmXvyJuU.js.map +1 -0
- package/dist/{UILabel-DgJUBzB_.js → UILabel-pCjKxQlQ.js} +2 -3
- package/dist/UILabel-pCjKxQlQ.js.map +1 -0
- package/dist/UIMenu-CqURPocK.js +42 -0
- package/dist/UIMenu-CqURPocK.js.map +1 -0
- package/dist/{UIRuntime-KH309p5B.js → UIRuntime-BXutHphM.js} +253 -239
- package/dist/UIRuntime-BXutHphM.js.map +1 -0
- package/dist/{UISegment-CMMIW7cZ.js → UISegment-BF4Tgy2D.js} +2 -3
- package/dist/UISegment-BF4Tgy2D.js.map +1 -0
- package/dist/_spell-element/UIComponent.d.ts +8 -0
- package/dist/_spell-element/vocabulary.types.d.ts +20 -2
- package/dist/_util/Dragging.d.ts +14 -2
- package/dist/_util/dom.d.ts +12 -8
- package/dist/_util/measures/Dimension.d.ts +1 -1
- package/dist/_util/persist/PrefStore.d.ts +7 -2
- package/dist/_util/persist/persist.types.d.ts +6 -0
- package/dist/_util/platform.d.ts +54 -0
- package/dist/_util/string.d.ts +25 -0
- package/dist/api.js +2 -3
- package/dist/api.js.map +1 -1
- package/dist/{apple.palette-B4ivrNlM.js → apple.palette-YLjENwUt.js} +2 -3
- package/dist/apple.palette-YLjENwUt.js.map +1 -0
- package/dist/{classic-DCTQrteU.js → classic-BHyJFvQa.js} +2 -3
- package/dist/classic-BHyJFvQa.js.map +1 -0
- package/dist/components/ComponentDefinitions.d.ts +55 -8
- package/dist/components/components.es.d.ts +2 -1
- package/dist/components/components.planned.d.ts +1 -1
- package/dist/components/components.types.d.ts +22 -0
- package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
- package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
- package/dist/components/ui-action/UIAction.d.ts +38 -1
- package/dist/components/ui-action/UIAction.en.d.ts +17 -8
- package/dist/components/ui-action/UIAction.es.d.ts +1 -0
- package/dist/components/ui-ad/UIAd.d.ts +1 -0
- package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
- package/dist/components/ui-app-menu/UIAppMenu.d.ts +41 -0
- package/dist/components/ui-app-menu/UIAppMenu.en.d.ts +294 -0
- package/dist/components/ui-app-menu/UIAppMenu.es.d.ts +35 -0
- package/dist/components/ui-app-menu/index.d.ts +2 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
- package/dist/components/ui-button/UIButton.d.ts +5 -4
- package/dist/components/ui-button/UIButton.en.d.ts +4 -3
- package/dist/components/ui-button/UIButton.fallback.d.ts +4 -3
- package/dist/components/ui-button/UIButton.types.d.ts +1 -1
- package/dist/components/ui-button/UIButtons.d.ts +7 -5
- package/dist/components/ui-button/UIButtons.en.d.ts +5 -3
- package/dist/components/ui-button/UIButtons.es.d.ts +1 -0
- package/dist/components/ui-button/UIOr.d.ts +1 -0
- package/dist/components/ui-button/UIOr.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.fallback.d.ts +1 -0
- package/dist/components/ui-card/UICard.d.ts +1 -0
- package/dist/components/ui-card/UICard.en.d.ts +1 -0
- package/dist/components/ui-card/UICards.d.ts +1 -0
- package/dist/components/ui-card/UICards.en.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.en.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +1 -0
- package/dist/components/ui-checkbox/UIRadio.d.ts +1 -0
- package/dist/components/ui-checkbox/UIRadio.en.d.ts +1 -0
- package/dist/components/ui-code/CodeHighlighter.d.ts +7 -3
- package/dist/components/ui-code/UICode.d.ts +12 -1
- package/dist/components/ui-code/UICode.en.d.ts +1 -0
- package/dist/components/ui-code/UICode.types.d.ts +9 -0
- package/dist/components/ui-comment/UIComment.d.ts +1 -0
- package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
- package/dist/components/ui-container/UIContainer.d.ts +54 -1
- package/dist/components/ui-container/UIContainer.en.d.ts +40 -1
- package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
- package/dist/components/ui-device/UIDevice.d.ts +234 -0
- package/dist/components/ui-device/UIDevice.en.d.ts +126 -0
- package/dist/components/ui-device/UIDevice.es.d.ts +52 -0
- package/dist/components/ui-device/index.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.en.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagramNode.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +1 -0
- package/dist/components/ui-dimension/UIDimension.d.ts +1 -0
- package/dist/components/ui-dimension/UIDimension.en.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
- package/dist/components/ui-divider/UIDivider.d.ts +1 -0
- package/dist/components/ui-divider/UIDivider.en.d.ts +1 -0
- package/dist/components/ui-dropdown/SlottedItems.d.ts +9 -1
- package/dist/components/ui-dropdown/UIDropdown.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.en.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +1 -0
- package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
- package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
- package/dist/components/ui-example/UIExample.en.d.ts +1 -0
- package/dist/components/ui-feed/UIFeed.d.ts +1 -0
- package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
- package/dist/components/ui-form/UIField.d.ts +11 -4
- package/dist/components/ui-form/UIField.en.d.ts +3 -2
- package/dist/components/ui-form/UIFields.d.ts +1 -0
- package/dist/components/ui-form/UIFields.en.d.ts +1 -0
- package/dist/components/ui-form/UIForm.d.ts +1 -0
- package/dist/components/ui-form/UIForm.en.d.ts +1 -0
- package/dist/components/ui-form/UIRepeat.d.ts +1 -0
- package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
- package/dist/components/ui-grid/UIColumn.d.ts +4 -3
- package/dist/components/ui-grid/UIColumn.en.d.ts +4 -3
- package/dist/components/ui-grid/UIGrid.d.ts +1 -0
- package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
- package/dist/components/ui-icon/UIIcon.d.ts +1 -0
- package/dist/components/ui-icon/UIIcon.en.d.ts +1 -0
- package/dist/components/ui-icon/UIIcons.d.ts +1 -0
- package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.d.ts +5 -1
- package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +1 -0
- package/dist/components/ui-image/UIImage.d.ts +1 -0
- package/dist/components/ui-image/UIImage.en.d.ts +1 -0
- package/dist/components/ui-image/UIImages.d.ts +1 -0
- package/dist/components/ui-image/UIImages.en.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
- package/dist/components/ui-input/UIInput.d.ts +1 -0
- package/dist/components/ui-input/UIInput.en.d.ts +1 -0
- package/dist/components/ui-input/UIInput.fallback.d.ts +1 -0
- package/dist/components/ui-input/UITextarea.d.ts +1 -0
- package/dist/components/ui-input/UITextarea.en.d.ts +1 -0
- package/dist/components/ui-item/UIItem.d.ts +19 -8
- package/dist/components/ui-item/UIItem.en.d.ts +2 -1
- package/dist/components/ui-items/UIItems.d.ts +1 -0
- package/dist/components/ui-items/UIItems.en.d.ts +1 -0
- package/dist/components/ui-json/UIJson.d.ts +1 -0
- package/dist/components/ui-json/UIJson.en.d.ts +1 -0
- package/dist/components/ui-keys/UIKeys.d.ts +1 -0
- package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
- package/dist/components/ui-label/UILabel.d.ts +3 -2
- package/dist/components/ui-label/UILabel.en.d.ts +3 -2
- package/dist/components/ui-label/UILabels.d.ts +1 -0
- package/dist/components/ui-label/UILabels.en.d.ts +1 -0
- package/dist/components/ui-list/UIList.d.ts +1 -0
- package/dist/components/ui-list/UIList.en.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
- package/dist/components/ui-markdown/MarkdownBox.d.ts +7 -2
- package/dist/components/ui-markdown/MarkdownFormats.d.ts +9 -4
- package/dist/components/ui-markdown/UIMarkdown.en.d.ts +5 -0
- package/dist/components/ui-markdown/UIMarkdown.es.d.ts +1 -0
- package/dist/components/ui-menu/ScrollingRow.d.ts +19 -1
- package/dist/components/ui-menu/SegmentedThumb.d.ts +8 -1
- package/dist/components/ui-menu/SubMenuAim.d.ts +115 -0
- package/dist/components/ui-menu/TitleFit.d.ts +16 -1
- package/dist/components/ui-menu/UIMenu.d.ts +112 -9
- package/dist/components/ui-menu/UIMenu.en.d.ts +3 -2
- package/dist/components/ui-menu/UISubmenu.d.ts +261 -0
- package/dist/components/ui-menu/UISubmenu.en.d.ts +102 -0
- package/dist/components/ui-menu/UISubmenu.es.d.ts +21 -0
- package/dist/components/ui-menu/index.d.ts +3 -1
- package/dist/components/ui-message/UIMessage.d.ts +3 -2
- package/dist/components/ui-message/UIMessage.en.d.ts +4 -3
- package/dist/components/ui-modal/ModalDialogs.d.ts +36 -2
- package/dist/components/ui-modal/UIModal.d.ts +1 -0
- package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
- package/dist/components/ui-nag/UINag.d.ts +1 -0
- package/dist/components/ui-nag/UINag.en.d.ts +1 -0
- package/dist/components/ui-page/UIPage.d.ts +1 -0
- package/dist/components/ui-page/UIPage.en.d.ts +1 -0
- package/dist/components/ui-page-layout/UIPageLayout.d.ts +311 -0
- package/dist/components/ui-page-layout/UIPageLayout.en.d.ts +99 -0
- package/dist/components/ui-page-layout/UIPageLayout.es.d.ts +38 -0
- package/dist/components/ui-page-layout/index.d.ts +1 -0
- package/dist/components/ui-panel/ScrollShades.d.ts +38 -0
- package/dist/components/ui-panel/UIPanel.d.ts +21 -2
- package/dist/components/ui-panel/UIPanel.en.d.ts +68 -61
- package/dist/components/ui-parts/UIActions.d.ts +1 -0
- package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAvatar.d.ts +11 -2
- package/dist/components/ui-parts/UIAvatar.en.d.ts +3 -2
- package/dist/components/ui-parts/UIContent.d.ts +1 -0
- package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
- package/dist/components/ui-parts/UIHeader.d.ts +16 -5
- package/dist/components/ui-parts/UIHeader.en.d.ts +9 -5
- package/dist/components/ui-parts/UIMeta.d.ts +1 -0
- package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
- package/dist/components/ui-parts/UIParts.types.d.ts +23 -7
- package/dist/components/ui-parts/UISummary.d.ts +1 -0
- package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
- package/dist/components/ui-popup/UIPopup.d.ts +21 -3
- package/dist/components/ui-popup/UIPopup.en.d.ts +1 -0
- package/dist/components/ui-progress/UIProgress.d.ts +3 -2
- package/dist/components/ui-progress/UIProgress.en.d.ts +4 -3
- package/dist/components/ui-property-editor/UIProperty.d.ts +47 -13
- package/dist/components/ui-property-editor/UIProperty.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +14 -1
- package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +7 -1
- package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +15 -6
- package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
- package/dist/components/ui-rail/UIRail.d.ts +4 -3
- package/dist/components/ui-rail/UIRail.en.d.ts +4 -3
- package/dist/components/ui-rating/UIRating.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.en.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.fallback.d.ts +1 -0
- package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
- package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
- package/dist/components/ui-root/UIRoot.en.d.ts +1 -0
- package/dist/components/ui-search/UISearch.d.ts +1 -0
- package/dist/components/ui-search/UISearch.en.d.ts +1 -0
- package/dist/components/ui-search/UISearch.fallback.d.ts +1 -0
- package/dist/components/ui-section/UISection.d.ts +3 -2
- package/dist/components/ui-section/UISection.en.d.ts +3 -2
- package/dist/components/ui-section/UISections.d.ts +1 -0
- package/dist/components/ui-section/UISections.en.d.ts +1 -0
- package/dist/components/ui-segment/UISegment.d.ts +9 -10
- package/dist/components/ui-segment/UISegment.en.d.ts +10 -11
- package/dist/components/ui-segment/UISegments.d.ts +1 -0
- package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.d.ts +1 -0
- package/dist/components/ui-select/UISelect.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.fallback.d.ts +1 -0
- package/dist/components/ui-shape/UIShape.d.ts +1 -0
- package/dist/components/ui-shape/UIShape.en.d.ts +1 -0
- package/dist/components/ui-shape/UISide.d.ts +1 -0
- package/dist/components/ui-shape/UISide.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.d.ts +1 -0
- package/dist/components/ui-sides/UISides.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.fallback.d.ts +1 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.d.ts +118 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.en.d.ts +49 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.es.d.ts +22 -0
- package/dist/components/ui-site-breadcrumbs/index.d.ts +1 -0
- package/dist/components/ui-site-nav/SitePages.d.ts +26 -3
- package/dist/components/ui-site-nav/UISiteNav.d.ts +43 -5
- package/dist/components/ui-site-nav/UISiteNav.en.d.ts +10 -1
- package/dist/components/ui-site-nav-button/UISiteNavButton.d.ts +63 -0
- package/dist/components/ui-site-nav-button/UISiteNavButton.en.d.ts +173 -0
- package/dist/components/ui-site-nav-button/UISiteNavButton.es.d.ts +20 -0
- package/dist/components/ui-site-nav-button/index.d.ts +1 -0
- package/dist/components/ui-site-tabs/UISiteTabs.d.ts +21 -6
- package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.en.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.fallback.d.ts +1 -0
- package/dist/components/ui-space/UISpace.d.ts +1 -0
- package/dist/components/ui-space/UISpace.en.d.ts +1 -0
- package/dist/components/ui-split-panel/UISplitPanel.d.ts +43 -7
- package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +2 -1
- package/dist/components/ui-stack/UIStack.d.ts +1 -0
- package/dist/components/ui-stack/UIStack.en.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
- package/dist/components/ui-step/UIStep.d.ts +1 -0
- package/dist/components/ui-step/UIStep.en.d.ts +1 -0
- package/dist/components/ui-step/UISteps.d.ts +3 -2
- package/dist/components/ui-step/UISteps.en.d.ts +3 -2
- package/dist/components/ui-sticky/UISticky.d.ts +1 -0
- package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
- package/dist/components/ui-tab/UITab.d.ts +3 -2
- package/dist/components/ui-tab/UITab.en.d.ts +4 -3
- package/dist/components/ui-tab/UITabs.d.ts +5 -4
- package/dist/components/ui-tab/UITabs.en.d.ts +4 -3
- package/dist/components/ui-table/TableGrammar.d.ts +2 -2
- package/dist/components/ui-table/UICell.d.ts +1 -0
- package/dist/components/ui-table/UICell.en.d.ts +1 -0
- package/dist/components/ui-table/UITable.d.ts +7 -6
- package/dist/components/ui-table/UITable.en.d.ts +7 -6
- package/dist/components/ui-terms/UITerm.d.ts +1 -0
- package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
- package/dist/components/ui-text/UILink.d.ts +1 -0
- package/dist/components/ui-text/UILink.en.d.ts +1 -0
- package/dist/components/ui-text/UIText.d.ts +2 -1
- package/dist/components/ui-text/UIText.en.d.ts +2 -1
- package/dist/components/ui-theme-editor/BenchAddress.d.ts +9 -0
- package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
- package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +37 -15
- package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +3 -2
- package/dist/components/ui-toast/UIToast.d.ts +1 -0
- package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
- package/dist/components/ui-toolbar/UIToolbar.d.ts +134 -1
- package/dist/components/ui-toolbar/UIToolbar.en.d.ts +75 -42
- package/dist/components/ui-toolbar/UIToolbar.es.d.ts +5 -0
- package/dist/components/ui-transition/UITransition.d.ts +1 -0
- package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
- package/dist/components/ui-tree/UITree.d.ts +102 -2
- package/dist/components/ui-tree/UITree.en.d.ts +14 -1
- package/dist/components/ui-tree/UITree.es.d.ts +3 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +21 -2
- package/dist/components/ui-tree/UITreeItem.en.d.ts +5 -1
- package/dist/components/ui-tree/UITreeItem.es.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeNode.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +1 -0
- package/dist/components/ui-video/UIAudio.d.ts +1 -0
- package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
- package/dist/{components.es-BOa_7gFF.js → components.es-DEa8Ep42.js} +265 -77
- package/dist/components.es-DEa8Ep42.js.map +1 -0
- package/dist/core.js +884 -806
- package/dist/core.js.map +1 -1
- package/dist/{crisp-VfYZlTph.js → crisp-DIpY320U.js} +3 -4
- package/dist/crisp-DIpY320U.js.map +1 -0
- package/dist/crisp.theme-Ir9p4BDC.js +5 -0
- package/dist/crisp.theme-Ir9p4BDC.js.map +1 -0
- package/dist/{dark-CbUdPe0a.js → dark-B5s4QbmU.js} +2 -3
- package/dist/dark-B5s4QbmU.js.map +1 -0
- package/dist/{dist-BLYIGZVK.js → dist-BQT4KajA.js} +34 -80
- package/dist/dist-BQT4KajA.js.map +1 -0
- package/dist/docs-components/docs-components.types.d.ts +6 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.d.ts +180 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.en.d.ts +88 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.types.d.ts +5 -0
- package/dist/docs-components/ui-docs-palette/index.d.ts +2 -0
- package/dist/docs-components/ui-docs-tokens/UIDocsTokens.d.ts +23 -0
- package/dist/docs-components/ui-docs-tokens/UIDocsTokens.en.d.ts +5 -1
- package/dist/elements/PartComponent.d.ts +5 -0
- package/dist/elements/PopoverPanel.d.ts +12 -1
- package/dist/elements/Validator.d.ts +1 -1
- package/dist/emoji/cldr/{0-DSUpV2d7.js → 0-B6B0nyLW.js} +2 -3
- package/dist/emoji/cldr/0-B6B0nyLW.js.map +1 -0
- package/dist/emoji/cldr/{a-D_oB4vJ-.js → a-C12vpdzK.js} +2 -3
- package/dist/emoji/cldr/a-C12vpdzK.js.map +1 -0
- package/dist/emoji/cldr/{b-DX0W0Mda.js → b-BGkQUJ8v.js} +2 -3
- package/dist/emoji/cldr/b-BGkQUJ8v.js.map +1 -0
- package/dist/emoji/cldr/{c-DUHidpE9.js → c-DtqAfVnG.js} +2 -3
- package/dist/emoji/cldr/c-DtqAfVnG.js.map +1 -0
- package/dist/emoji/cldr/{d-CiCXZXay.js → d-B5SNGAad.js} +2 -3
- package/dist/emoji/cldr/d-B5SNGAad.js.map +1 -0
- package/dist/emoji/cldr/{e-DILJo3Ri.js → e-CMUDvE48.js} +2 -3
- package/dist/emoji/cldr/e-CMUDvE48.js.map +1 -0
- package/dist/emoji/cldr/{f-ByGFLyOq.js → f-Dfhd9bp8.js} +2 -3
- package/dist/emoji/cldr/f-Dfhd9bp8.js.map +1 -0
- package/dist/emoji/cldr/{g-BZ0FRsud.js → g-VpFllv6y.js} +2 -3
- package/dist/emoji/cldr/g-VpFllv6y.js.map +1 -0
- package/dist/emoji/cldr/{h-jtLdvRXQ.js → h-CE6GevC3.js} +2 -3
- package/dist/emoji/cldr/h-CE6GevC3.js.map +1 -0
- package/dist/emoji/cldr/{i-DcbJ5utE.js → i-BUPzV8pA.js} +2 -3
- package/dist/emoji/cldr/i-BUPzV8pA.js.map +1 -0
- package/dist/emoji/cldr/{j-BuEqP5nz.js → j-BFAg68Ig.js} +2 -3
- package/dist/emoji/cldr/j-BFAg68Ig.js.map +1 -0
- package/dist/emoji/cldr/{k-P1J6Gvze.js → k-jnBMfMlM.js} +2 -3
- package/dist/emoji/cldr/k-jnBMfMlM.js.map +1 -0
- package/dist/emoji/cldr/{l-28XcbsPr.js → l-ClLOCfnc.js} +2 -3
- package/dist/emoji/cldr/l-ClLOCfnc.js.map +1 -0
- package/dist/emoji/cldr/{m-DKgGJ8rW.js → m-p358YNne.js} +2 -3
- package/dist/emoji/cldr/m-p358YNne.js.map +1 -0
- package/dist/emoji/cldr/{n-DmPLP4F3.js → n-DOh1UxA2.js} +2 -3
- package/dist/emoji/cldr/n-DOh1UxA2.js.map +1 -0
- package/dist/emoji/cldr/{o-f98nt3s7.js → o-D_nTGMIR.js} +2 -3
- package/dist/emoji/cldr/o-D_nTGMIR.js.map +1 -0
- package/dist/emoji/cldr/{p-CxnsOTOt.js → p-BA8Ct3hE.js} +2 -3
- package/dist/emoji/cldr/p-BA8Ct3hE.js.map +1 -0
- package/dist/emoji/cldr/{r-D0GPRJ-Q.js → r-BFZ26mlC.js} +2 -3
- package/dist/emoji/cldr/r-BFZ26mlC.js.map +1 -0
- package/dist/emoji/cldr/{s-DcFuepnw.js → s-CIZH91hj.js} +2 -3
- package/dist/emoji/cldr/s-CIZH91hj.js.map +1 -0
- package/dist/emoji/cldr/{t-BvHgGpUr.js → t-qg9oQuYr.js} +2 -3
- package/dist/emoji/cldr/t-qg9oQuYr.js.map +1 -0
- package/dist/emoji/cldr/{u-ChFYHtUf.js → u-CN-QpqjC.js} +2 -3
- package/dist/emoji/cldr/u-CN-QpqjC.js.map +1 -0
- package/dist/emoji/cldr/{v-WmX3nWtZ.js → v-CO_76wOC.js} +2 -3
- package/dist/emoji/cldr/v-CO_76wOC.js.map +1 -0
- package/dist/emoji/cldr/{w-BPySQUWW.js → w-DOQn50Cw.js} +2 -3
- package/dist/emoji/cldr/w-DOQn50Cw.js.map +1 -0
- package/dist/emoji/cldr/x-DddFDGbR.js +5 -0
- package/dist/emoji/cldr/x-DddFDGbR.js.map +1 -0
- package/dist/emoji/cldr/{y-zB_yhTFg.js → y-auUWML2r.js} +2 -3
- package/dist/emoji/cldr/y-auUWML2r.js.map +1 -0
- package/dist/emoji/cldr/{z-BgJ94Cap.js → z-BYAp28d6.js} +2 -3
- package/dist/emoji/cldr/z-BYAp28d6.js.map +1 -0
- package/dist/emoji/fomantic/0-BdzcjXW3.js +9 -0
- package/dist/emoji/fomantic/0-BdzcjXW3.js.map +1 -0
- package/dist/emoji/fomantic/{a-CrqYlC21.js → a-R3ZJ-207.js} +2 -3
- package/dist/emoji/fomantic/a-R3ZJ-207.js.map +1 -0
- package/dist/emoji/fomantic/{b-DneVHRdQ.js → b-NF1y0dRD.js} +2 -3
- package/dist/emoji/fomantic/b-NF1y0dRD.js.map +1 -0
- package/dist/emoji/fomantic/{c-ClxKRuir.js → c-CuIzdNXI.js} +2 -3
- package/dist/emoji/fomantic/c-CuIzdNXI.js.map +1 -0
- package/dist/emoji/fomantic/{d-Djqs_y4s.js → d-CuS9uvGS.js} +2 -3
- package/dist/emoji/fomantic/d-CuS9uvGS.js.map +1 -0
- package/dist/emoji/fomantic/{e-CuF-jOQd.js → e-S2pyUDgP.js} +2 -3
- package/dist/emoji/fomantic/e-S2pyUDgP.js.map +1 -0
- package/dist/emoji/fomantic/{f-D8VglrJ4.js → f-DnHzZwKR.js} +2 -3
- package/dist/emoji/fomantic/f-DnHzZwKR.js.map +1 -0
- package/dist/emoji/fomantic/{g-Du_HFl6U.js → g-CdqbF8yB.js} +2 -3
- package/dist/emoji/fomantic/g-CdqbF8yB.js.map +1 -0
- package/dist/emoji/fomantic/{h-CLE5tHnM.js → h-Dgmy17VC.js} +2 -3
- package/dist/emoji/fomantic/h-Dgmy17VC.js.map +1 -0
- package/dist/emoji/fomantic/{i-BjOsrQDZ.js → i-BCe1z6Es.js} +2 -3
- package/dist/emoji/fomantic/i-BCe1z6Es.js.map +1 -0
- package/dist/emoji/fomantic/{j-CyUDXKCu.js → j-D39udLwj.js} +2 -3
- package/dist/emoji/fomantic/j-D39udLwj.js.map +1 -0
- package/dist/emoji/fomantic/{k-Clypg4R8.js → k-KDlJnEWX.js} +2 -3
- package/dist/emoji/fomantic/k-KDlJnEWX.js.map +1 -0
- package/dist/emoji/fomantic/{l-DvLPdBh-.js → l-rVE39-7Z.js} +2 -3
- package/dist/emoji/fomantic/l-rVE39-7Z.js.map +1 -0
- package/dist/emoji/fomantic/{m-B1lIb1kP.js → m-Bys5Cs9k.js} +2 -3
- package/dist/emoji/fomantic/m-Bys5Cs9k.js.map +1 -0
- package/dist/emoji/fomantic/{n-Bgpp_ht5.js → n-DzPz1atY.js} +2 -3
- package/dist/emoji/fomantic/n-DzPz1atY.js.map +1 -0
- package/dist/emoji/fomantic/{o-BhYZzpjp.js → o-lKtDGpuN.js} +2 -3
- package/dist/emoji/fomantic/o-lKtDGpuN.js.map +1 -0
- package/dist/emoji/fomantic/{p-VLL0GK3m.js → p-DUvy18Aa.js} +2 -3
- package/dist/emoji/fomantic/p-DUvy18Aa.js.map +1 -0
- package/dist/emoji/fomantic/q-WtSN0kE7.js +5 -0
- package/dist/emoji/fomantic/q-WtSN0kE7.js.map +1 -0
- package/dist/emoji/fomantic/{r-Bd1DjkkI.js → r-Dm_1szGZ.js} +2 -3
- package/dist/emoji/fomantic/r-Dm_1szGZ.js.map +1 -0
- package/dist/emoji/fomantic/{s-Bqatw1W7.js → s-LPRU4KZk.js} +2 -3
- package/dist/emoji/fomantic/s-LPRU4KZk.js.map +1 -0
- package/dist/emoji/fomantic/{t-Bs7IFhv3.js → t-iQksEIKb.js} +2 -3
- package/dist/emoji/fomantic/t-iQksEIKb.js.map +1 -0
- package/dist/emoji/fomantic/{u-M6GfYC-U.js → u-CkDd-u7Y.js} +2 -3
- package/dist/emoji/fomantic/u-CkDd-u7Y.js.map +1 -0
- package/dist/emoji/fomantic/{v-BKHNqkn0.js → v-C83uQ5pk.js} +2 -3
- package/dist/emoji/fomantic/v-C83uQ5pk.js.map +1 -0
- package/dist/emoji/fomantic/{w-B_XvIu7h.js → w-D_redhGe.js} +2 -3
- package/dist/emoji/fomantic/w-D_redhGe.js.map +1 -0
- package/dist/emoji/fomantic/x-eI_dPUEx.js +8 -0
- package/dist/emoji/fomantic/x-eI_dPUEx.js.map +1 -0
- package/dist/emoji/fomantic/{y-DPZaoIla.js → y-CO_6qz-J.js} +2 -3
- package/dist/emoji/fomantic/y-CO_6qz-J.js.map +1 -0
- package/dist/emoji/fomantic/{z-FH-kPXch.js → z-C-wWxD0a.js} +2 -3
- package/dist/emoji/fomantic/z-C-wWxD0a.js.map +1 -0
- package/dist/forms.js +65 -75
- package/dist/forms.js.map +1 -1
- package/dist/fruity-CsfZNeXb.js +5 -0
- package/dist/fruity-CsfZNeXb.js.map +1 -0
- package/dist/{fruity.theme-CbC7Jyvk.js → fruity.theme-BL7cCZUQ.js} +3 -4
- package/dist/fruity.theme-BL7cCZUQ.js.map +1 -0
- package/dist/glass-BCK30hpe.js +5 -0
- package/dist/glass-BCK30hpe.js.map +1 -0
- package/dist/glass.theme-C7QSRB7b.js +5 -0
- package/dist/glass.theme-C7QSRB7b.js.map +1 -0
- package/dist/hot.js +18 -32
- package/dist/hot.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +95 -90
- package/dist/jsx.d.ts +3869 -715
- package/dist/matrix-DEnqBfwC.js +5 -0
- package/dist/matrix-DEnqBfwC.js.map +1 -0
- package/dist/matrix.theme-YV6_nvXv.js +5 -0
- package/dist/matrix.theme-YV6_nvXv.js.map +1 -0
- package/dist/{merlot-DOXLuUaU.js → merlot-DFa6kDbA.js} +3 -4
- package/dist/merlot-DFa6kDbA.js.map +1 -0
- package/dist/merlot.theme-B1K8nn2u.js +5 -0
- package/dist/merlot.theme-B1K8nn2u.js.map +1 -0
- package/dist/{midnight-BxlTQSfw.js → midnight-q0-3-V6U.js} +3 -4
- package/dist/midnight-q0-3-V6U.js.map +1 -0
- package/dist/midnight.theme-C7M02wTD.js +5 -0
- package/dist/midnight.theme-C7M02wTD.js.map +1 -0
- package/dist/mockup-D0vovNO7.js +5 -0
- package/dist/mockup-D0vovNO7.js.map +1 -0
- package/dist/mockup.theme-C92r9NI0.js +5 -0
- package/dist/mockup.theme-C92r9NI0.js.map +1 -0
- package/dist/{paper-M61nUilz.js → paper-DPxolmdy.js} +3 -4
- package/dist/paper-DPxolmdy.js.map +1 -0
- package/dist/paper.theme-BAKk3DY1.js +5 -0
- package/dist/paper.theme-BAKk3DY1.js.map +1 -0
- package/dist/{persist.types-D2m6wD-S.js → persist.types-D7N7GewC.js} +2 -3
- package/dist/persist.types-D7N7GewC.js.map +1 -0
- package/dist/{pop-CxXfytjk.js → pop-Dw_6k177.js} +3 -4
- package/dist/pop-Dw_6k177.js.map +1 -0
- package/dist/pop.theme-Cw-yD0MO.js +5 -0
- package/dist/pop.theme-Cw-yD0MO.js.map +1 -0
- package/dist/property/PropertyEditorPages.d.ts +1 -1
- package/dist/property/PropertyLayouts.d.ts +119 -0
- package/dist/property/PropertySchemas.d.ts +5 -1
- package/dist/property/index.d.ts +2 -0
- package/dist/{rolldown-runtime-CYGlBXrH.js → rolldown-runtime-c6e9CmGy.js} +2 -3
- package/dist/runtime/Browser.d.ts +7 -0
- package/dist/runtime/DataTooltips.d.ts +2 -0
- package/dist/runtime/Keyboard.d.ts +4 -1
- package/dist/runtime/Toasts.d.ts +10 -0
- package/dist/runtime/runtime.types.d.ts +47 -0
- package/dist/{search-CzSzx7bX.js → search-C2Rq9HF1.js} +1 -2
- package/dist/search-C2Rq9HF1.js.map +1 -0
- package/dist/spell-CB-MivSX.js +5 -0
- package/dist/spell-CB-MivSX.js.map +1 -0
- package/dist/spell.theme-CUoc5rTq.js +5 -0
- package/dist/spell.theme-CUoc5rTq.js.map +1 -0
- package/dist/styles/StyleGenerator.d.ts +7 -0
- package/dist/styles/styles.en.d.ts +27 -18
- package/dist/{styles.en-CUUxNwHo.js → styles.en-DZlSJiOR.js} +21 -21
- package/dist/styles.en-DZlSJiOR.js.map +1 -0
- package/dist/styles.js +9 -10
- package/dist/styles.js.map +1 -1
- package/dist/ui-accordion.editor-BP8uQGGU.js +5 -0
- package/dist/ui-accordion.editor-BP8uQGGU.js.map +1 -0
- package/dist/ui-accordion.js +59 -60
- package/dist/ui-accordion.js.map +1 -1
- package/dist/ui-action.editor-m5R5N5Wy.js +5 -0
- package/dist/ui-action.editor-m5R5N5Wy.js.map +1 -0
- package/dist/ui-action.js +73 -45
- package/dist/ui-action.js.map +1 -1
- package/dist/ui-actions.editor-Buc3N2ik.js +5 -0
- package/dist/ui-actions.editor-Buc3N2ik.js.map +1 -0
- package/dist/ui-ad.editor-BHTDuSii.js +5 -0
- package/dist/ui-ad.editor-BHTDuSii.js.map +1 -0
- package/dist/ui-ad.js +8 -9
- package/dist/ui-ad.js.map +1 -1
- package/dist/ui-app-menu.editor-DxPPnMUT.js +5 -0
- package/dist/ui-app-menu.editor-DxPPnMUT.js.map +1 -0
- package/dist/ui-app-menu.js +89 -0
- package/dist/ui-app-menu.js.map +1 -0
- package/dist/ui-audio.editor-Y6WeqLRh.js +5 -0
- package/dist/ui-audio.editor-Y6WeqLRh.js.map +1 -0
- package/dist/ui-author.editor-Bmf-rEXY.js +5 -0
- package/dist/ui-author.editor-Bmf-rEXY.js.map +1 -0
- package/dist/ui-avatar.editor-CSU6snQz.js +5 -0
- package/dist/ui-avatar.editor-CSU6snQz.js.map +1 -0
- package/dist/ui-breadcrumb.editor-N1-8OzDq.js +5 -0
- package/dist/ui-breadcrumb.editor-N1-8OzDq.js.map +1 -0
- package/dist/ui-breadcrumbs.editor-Mml0fUR_.js +5 -0
- package/dist/ui-breadcrumbs.editor-Mml0fUR_.js.map +1 -0
- package/dist/ui-breadcrumbs.js +18 -17
- package/dist/ui-breadcrumbs.js.map +1 -1
- package/dist/ui-button.editor-BV9Bh_xf.js +5 -0
- package/dist/ui-button.editor-BV9Bh_xf.js.map +1 -0
- package/dist/ui-button.js +157 -156
- package/dist/ui-button.js.map +1 -1
- package/dist/ui-buttons.editor-CSsEIo2s.js +5 -0
- package/dist/ui-buttons.editor-CSsEIo2s.js.map +1 -0
- package/dist/ui-calendar.editor-TsP8a97s.js +5 -0
- package/dist/ui-calendar.editor-TsP8a97s.js.map +1 -0
- package/dist/ui-calendar.js +148 -157
- package/dist/ui-calendar.js.map +1 -1
- package/dist/ui-card.editor-BBZj9e03.js +5 -0
- package/dist/ui-card.editor-BBZj9e03.js.map +1 -0
- package/dist/ui-card.js +70 -70
- package/dist/ui-card.js.map +1 -1
- package/dist/ui-cards.editor-Hrmldr4q.js +5 -0
- package/dist/ui-cards.editor-Hrmldr4q.js.map +1 -0
- package/dist/ui-cell.editor-Dmz_mwJ0.js +5 -0
- package/dist/ui-cell.editor-Dmz_mwJ0.js.map +1 -0
- package/dist/ui-checkbox.editor-DnOz9r6d.js +5 -0
- package/dist/ui-checkbox.editor-DnOz9r6d.js.map +1 -0
- package/dist/ui-checkbox.js +49 -48
- package/dist/ui-checkbox.js.map +1 -1
- package/dist/ui-code.editor-Drr_FVB6.js +5 -0
- package/dist/ui-code.editor-Drr_FVB6.js.map +1 -0
- package/dist/ui-code.js +116 -79
- package/dist/ui-code.js.map +1 -1
- package/dist/ui-color-chip.editor-B3zV8FkB.js +5 -0
- package/dist/ui-color-chip.editor-B3zV8FkB.js.map +1 -0
- package/dist/ui-column.editor-hdUb-qwT.js +5 -0
- package/dist/ui-column.editor-hdUb-qwT.js.map +1 -0
- package/dist/ui-comment.editor-DJpE_8tz.js +5 -0
- package/dist/ui-comment.editor-DJpE_8tz.js.map +1 -0
- package/dist/ui-comment.js +15 -14
- package/dist/ui-comment.js.map +1 -1
- package/dist/ui-comments.editor-GFJN6l3Q.js +5 -0
- package/dist/ui-comments.editor-GFJN6l3Q.js.map +1 -0
- package/dist/ui-components.editor-BKFXnARt.js +5 -0
- package/dist/ui-components.editor-BKFXnARt.js.map +1 -0
- package/dist/ui-components.js +12 -13
- package/dist/ui-components.js.map +1 -1
- package/dist/ui-container.editor-CBNhNkRm.js +5 -0
- package/dist/ui-container.editor-CBNhNkRm.js.map +1 -0
- package/dist/ui-container.js +106 -21
- package/dist/ui-container.js.map +1 -1
- package/dist/ui-content.editor-B78lxK3P.js +5 -0
- package/dist/ui-content.editor-B78lxK3P.js.map +1 -0
- package/dist/ui-date.editor-PHEnU7QX.js +5 -0
- package/dist/ui-date.editor-PHEnU7QX.js.map +1 -0
- package/dist/ui-description.editor-DWFDJ9mV.js +5 -0
- package/dist/ui-description.editor-DWFDJ9mV.js.map +1 -0
- package/dist/ui-detail.editor-wliuVbx3.js +5 -0
- package/dist/ui-detail.editor-wliuVbx3.js.map +1 -0
- package/dist/ui-device.editor-kl48NVma.js +5 -0
- package/dist/ui-device.editor-kl48NVma.js.map +1 -0
- package/dist/ui-device.js +436 -0
- package/dist/ui-device.js.map +1 -0
- package/dist/ui-diagram-node.editor-6FyjT7oj.js +5 -0
- package/dist/ui-diagram-node.editor-6FyjT7oj.js.map +1 -0
- package/dist/ui-diagram.editor-Dn3ef-J9.js +5 -0
- package/dist/ui-diagram.editor-Dn3ef-J9.js.map +1 -0
- package/dist/ui-diagram.js +128 -129
- package/dist/ui-diagram.js.map +1 -1
- package/dist/ui-dimension.editor-BEXGKcCB.js +5 -0
- package/dist/ui-dimension.editor-BEXGKcCB.js.map +1 -0
- package/dist/ui-dimension.js +111 -12
- package/dist/ui-dimension.js.map +1 -1
- package/dist/ui-dimmer.editor-D14xzXIe.js +5 -0
- package/dist/ui-dimmer.editor-D14xzXIe.js.map +1 -0
- package/dist/ui-dimmer.js +29 -30
- package/dist/ui-dimmer.js.map +1 -1
- package/dist/ui-divider.editor-D6ozEXjx.js +5 -0
- package/dist/ui-divider.editor-D6ozEXjx.js.map +1 -0
- package/dist/ui-divider.js +9 -10
- package/dist/ui-divider.js.map +1 -1
- package/dist/ui-dropdown.editor-OFDGi1oz.js +5 -0
- package/dist/ui-dropdown.editor-OFDGi1oz.js.map +1 -0
- package/dist/ui-dropdown.js +155 -156
- package/dist/ui-dropdown.js.map +1 -1
- package/dist/ui-embed.editor-DHsrjw1j.js +5 -0
- package/dist/ui-embed.editor-DHsrjw1j.js.map +1 -0
- package/dist/ui-embed.js +23 -24
- package/dist/ui-embed.js.map +1 -1
- package/dist/ui-emoji.editor-DUL230Hi.js +5 -0
- package/dist/ui-emoji.editor-DUL230Hi.js.map +1 -0
- package/dist/ui-emoji.js +63 -64
- package/dist/ui-emoji.js.map +1 -1
- package/dist/ui-event.editor-Bk17y7wW.js +5 -0
- package/dist/ui-event.editor-Bk17y7wW.js.map +1 -0
- package/dist/ui-example.editor-D46Vnctp.js +5 -0
- package/dist/ui-example.editor-D46Vnctp.js.map +1 -0
- package/dist/ui-example.js +67 -74
- package/dist/ui-example.js.map +1 -1
- package/dist/ui-extra.editor-rX6sfH2e.js +5 -0
- package/dist/ui-extra.editor-rX6sfH2e.js.map +1 -0
- package/dist/ui-feed.editor-B7ycWh1b.js +5 -0
- package/dist/ui-feed.editor-B7ycWh1b.js.map +1 -0
- package/dist/ui-feed.js +26 -25
- package/dist/ui-feed.js.map +1 -1
- package/dist/ui-field.editor-Bz9xyCVv.js +5 -0
- package/dist/ui-field.editor-Bz9xyCVv.js.map +1 -0
- package/dist/ui-fields.editor-BUtW4NTk.js +5 -0
- package/dist/ui-fields.editor-BUtW4NTk.js.map +1 -0
- package/dist/ui-flag.editor-DNfdXo7y.js +5 -0
- package/dist/ui-flag.editor-DNfdXo7y.js.map +1 -0
- package/dist/ui-flag.js +13 -14
- package/dist/ui-flag.js.map +1 -1
- package/dist/ui-flyout.editor-b7UJYiV9.js +5 -0
- package/dist/ui-flyout.editor-b7UJYiV9.js.map +1 -0
- package/dist/ui-flyout.js +10 -11
- package/dist/ui-flyout.js.map +1 -1
- package/dist/ui-form.editor-BJC3WhNf.js +5 -0
- package/dist/ui-form.editor-BJC3WhNf.js.map +1 -0
- package/dist/ui-form.js +199 -195
- package/dist/ui-form.js.map +1 -1
- package/dist/ui-grid.editor-DVn2YIBW.js +5 -0
- package/dist/ui-grid.editor-DVn2YIBW.js.map +1 -0
- package/dist/ui-grid.js +43 -234
- package/dist/ui-grid.js.map +1 -1
- package/dist/ui-header.editor-meOjCASK.js +5 -0
- package/dist/ui-header.editor-meOjCASK.js.map +1 -0
- package/dist/ui-icon-picker.editor-vFPbT9Kh.js +5 -0
- package/dist/ui-icon-picker.editor-vFPbT9Kh.js.map +1 -0
- package/dist/ui-icon-picker.js +64 -69
- package/dist/ui-icon-picker.js.map +1 -1
- package/dist/ui-icon.editor-DoKK49PD.js +5 -0
- package/dist/ui-icon.editor-DoKK49PD.js.map +1 -0
- package/dist/ui-icon.js +15 -14
- package/dist/ui-icon.js.map +1 -1
- package/dist/ui-icons.editor-CSD6fOVt.js +5 -0
- package/dist/ui-icons.editor-CSD6fOVt.js.map +1 -0
- package/dist/ui-image.editor-D4ZUC_Ka.js +5 -0
- package/dist/ui-image.editor-D4ZUC_Ka.js.map +1 -0
- package/dist/ui-image.js +26 -26
- package/dist/ui-image.js.map +1 -1
- package/dist/ui-images.editor-Cb0D3vnI.js +5 -0
- package/dist/ui-images.editor-Cb0D3vnI.js.map +1 -0
- package/dist/ui-include.editor-CZcsVJbH.js +5 -0
- package/dist/ui-include.editor-CZcsVJbH.js.map +1 -0
- package/dist/ui-include.js +21 -22
- package/dist/ui-include.js.map +1 -1
- package/dist/ui-input.editor-budoNoB0.js +5 -0
- package/dist/ui-input.editor-budoNoB0.js.map +1 -0
- package/dist/ui-input.js +131 -130
- package/dist/ui-input.js.map +1 -1
- package/dist/ui-item.editor-BlWp1HXu.js +5 -0
- package/dist/ui-item.editor-BlWp1HXu.js.map +1 -0
- package/dist/ui-item.js +127 -113
- package/dist/ui-item.js.map +1 -1
- package/dist/ui-items.editor-GOul3Xss.js +5 -0
- package/dist/ui-items.editor-GOul3Xss.js.map +1 -0
- package/dist/ui-items.js +11 -12
- package/dist/ui-items.js.map +1 -1
- package/dist/ui-json.editor-BgZbrB_W.js +5 -0
- package/dist/ui-json.editor-BgZbrB_W.js.map +1 -0
- package/dist/ui-json.js +18 -19
- package/dist/ui-json.js.map +1 -1
- package/dist/ui-keys.editor-BI9EDtS4.js +5 -0
- package/dist/ui-keys.editor-BI9EDtS4.js.map +1 -0
- package/dist/ui-keys.js +2 -3
- package/dist/ui-label.editor-BVUYLSUs.js +5 -0
- package/dist/ui-label.editor-BVUYLSUs.js.map +1 -0
- package/dist/ui-label.js +22 -22
- package/dist/ui-label.js.map +1 -1
- package/dist/ui-labels.editor-BWJth86p.js +5 -0
- package/dist/ui-labels.editor-BWJth86p.js.map +1 -0
- package/dist/ui-link.editor-CpI53scP.js +5 -0
- package/dist/ui-link.editor-CpI53scP.js.map +1 -0
- package/dist/ui-list.editor-DhBZIkAa.js +5 -0
- package/dist/ui-list.editor-DhBZIkAa.js.map +1 -0
- package/dist/ui-list.js +9 -10
- package/dist/ui-list.js.map +1 -1
- package/dist/ui-loader.editor-BJlvmP7S.js +5 -0
- package/dist/ui-loader.editor-BJlvmP7S.js.map +1 -0
- package/dist/ui-loader.js +10 -11
- package/dist/ui-loader.js.map +1 -1
- package/dist/ui-markdown.editor-DPVKyxXa.js +5 -0
- package/dist/ui-markdown.editor-DPVKyxXa.js.map +1 -0
- package/dist/ui-markdown.js +208 -154
- package/dist/ui-markdown.js.map +1 -1
- package/dist/ui-menu.editor-DJ3PhWtK.js +5 -0
- package/dist/ui-menu.editor-DJ3PhWtK.js.map +1 -0
- package/dist/ui-menu.js +815 -223
- package/dist/ui-menu.js.map +1 -1
- package/dist/ui-message.editor-vfT0pyu5.js +5 -0
- package/dist/ui-message.editor-vfT0pyu5.js.map +1 -0
- package/dist/ui-message.js +32 -33
- package/dist/ui-message.js.map +1 -1
- package/dist/ui-meta.editor-Bk5m43-E.js +5 -0
- package/dist/ui-meta.editor-Bk5m43-E.js.map +1 -0
- package/dist/ui-modal.editor-CkkJRgab.js +5 -0
- package/dist/ui-modal.editor-CkkJRgab.js.map +1 -0
- package/dist/ui-modal.js +132 -96
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-nag.editor-BJ3Ia2Bi.js +5 -0
- package/dist/ui-nag.editor-BJ3Ia2Bi.js.map +1 -0
- package/dist/ui-nag.js +23 -24
- package/dist/ui-nag.js.map +1 -1
- package/dist/ui-or.editor-BfBLNVgm.js +5 -0
- package/dist/ui-or.editor-BfBLNVgm.js.map +1 -0
- package/dist/ui-page-layout.editor-xtQW0FZk.js +5 -0
- package/dist/ui-page-layout.editor-xtQW0FZk.js.map +1 -0
- package/dist/ui-page-layout.js +363 -0
- package/dist/ui-page-layout.js.map +1 -0
- package/dist/ui-page.editor-Bd5mzlj7.js +5 -0
- package/dist/ui-page.editor-Bd5mzlj7.js.map +1 -0
- package/dist/ui-page.js +11 -12
- package/dist/ui-page.js.map +1 -1
- package/dist/ui-panel.editor-BCUkdr4S.js +5 -0
- package/dist/ui-panel.editor-BCUkdr4S.js.map +1 -0
- package/dist/ui-panel.js +105 -27
- package/dist/ui-panel.js.map +1 -1
- package/dist/ui-parts.js +108 -66
- package/dist/ui-parts.js.map +1 -1
- package/dist/ui-placeholder-header.editor-CJNO08Ax.js +5 -0
- package/dist/ui-placeholder-header.editor-CJNO08Ax.js.map +1 -0
- package/dist/ui-placeholder-image.editor-DctJiCNv.js +5 -0
- package/dist/ui-placeholder-image.editor-DctJiCNv.js.map +1 -0
- package/dist/ui-placeholder-line.editor-DcxH7mOo.js +5 -0
- package/dist/ui-placeholder-line.editor-DcxH7mOo.js.map +1 -0
- package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js +5 -0
- package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js.map +1 -0
- package/dist/ui-placeholder.editor-Bc0CYlZZ.js +5 -0
- package/dist/ui-placeholder.editor-Bc0CYlZZ.js.map +1 -0
- package/dist/ui-placeholder.js +23 -19
- package/dist/ui-placeholder.js.map +1 -1
- package/dist/ui-popup.editor-ByUi4CYs.js +5 -0
- package/dist/ui-popup.editor-ByUi4CYs.js.map +1 -0
- package/dist/ui-popup.js +107 -100
- package/dist/ui-popup.js.map +1 -1
- package/dist/ui-progress.editor-DX0IjhxZ.js +5 -0
- package/dist/ui-progress.editor-DX0IjhxZ.js.map +1 -0
- package/dist/ui-progress.js +23 -24
- package/dist/ui-progress.js.map +1 -1
- package/dist/ui-property-editor.editor-pS6tCPPT.js +5 -0
- package/dist/ui-property-editor.editor-pS6tCPPT.js.map +1 -0
- package/dist/ui-property-editor.js +649 -277
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-property-group.editor-BlpUMVlr.js +5 -0
- package/dist/ui-property-group.editor-BlpUMVlr.js.map +1 -0
- package/dist/ui-property.editor-BC-jtjjt.js +5 -0
- package/dist/ui-property.editor-BC-jtjjt.js.map +1 -0
- package/dist/ui-pushable.editor-8_EmUD9x.js +5 -0
- package/dist/ui-pushable.editor-8_EmUD9x.js.map +1 -0
- package/dist/ui-pusher.editor-CiCX6-1J.js +5 -0
- package/dist/ui-pusher.editor-CiCX6-1J.js.map +1 -0
- package/dist/ui-quote.editor-BvmAjmo9.js +5 -0
- package/dist/ui-quote.editor-BvmAjmo9.js.map +1 -0
- package/dist/ui-quote.js +8 -9
- package/dist/ui-quote.js.map +1 -1
- package/dist/ui-radio.editor-DPzActfO.js +5 -0
- package/dist/ui-radio.editor-DPzActfO.js.map +1 -0
- package/dist/ui-rail.editor-DRfVH4P2.js +5 -0
- package/dist/ui-rail.editor-DRfVH4P2.js.map +1 -0
- package/dist/ui-rail.js +11 -12
- package/dist/ui-rail.js.map +1 -1
- package/dist/ui-rating.editor-C19syymj.js +5 -0
- package/dist/ui-rating.editor-C19syymj.js.map +1 -0
- package/dist/ui-rating.js +40 -49
- package/dist/ui-rating.js.map +1 -1
- package/dist/ui-repeat.editor-DEf-bFGj.js +5 -0
- package/dist/ui-repeat.editor-DEf-bFGj.js.map +1 -0
- package/dist/ui-reveal.editor-D7pDOaen.js +5 -0
- package/dist/ui-reveal.editor-D7pDOaen.js.map +1 -0
- package/dist/ui-reveal.js +10 -11
- package/dist/ui-reveal.js.map +1 -1
- package/dist/ui-root.editor-CAokPDVa.js +5 -0
- package/dist/ui-root.editor-CAokPDVa.js.map +1 -0
- package/dist/ui-root.js +205 -102
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-row.editor-C00Z6Jl5.js +5 -0
- package/dist/ui-row.editor-C00Z6Jl5.js.map +1 -0
- package/dist/ui-search.editor-CtzfYgNu.js +5 -0
- package/dist/ui-search.editor-CtzfYgNu.js.map +1 -0
- package/dist/ui-search.js +143 -146
- package/dist/ui-search.js.map +1 -1
- package/dist/ui-section.editor-DmNICxCs.js +5 -0
- package/dist/ui-section.editor-DmNICxCs.js.map +1 -0
- package/dist/ui-section.js +74 -73
- package/dist/ui-section.js.map +1 -1
- package/dist/ui-sections.editor-BxXECGv9.js +5 -0
- package/dist/ui-sections.editor-BxXECGv9.js.map +1 -0
- package/dist/ui-segment.editor-CebyLPFn.js +5 -0
- package/dist/ui-segment.editor-CebyLPFn.js.map +1 -0
- package/dist/ui-segment.js +43 -43
- package/dist/ui-segment.js.map +1 -1
- package/dist/ui-segments.editor-CSumzMa5.js +5 -0
- package/dist/ui-segments.editor-CSumzMa5.js.map +1 -0
- package/dist/ui-select.editor-wAcZzvU7.js +5 -0
- package/dist/ui-select.editor-wAcZzvU7.js.map +1 -0
- package/dist/ui-select.js +86 -87
- package/dist/ui-select.js.map +1 -1
- package/dist/ui-shape.editor-By9-8aD2.js +5 -0
- package/dist/ui-shape.editor-By9-8aD2.js.map +1 -0
- package/dist/ui-shape.js +39 -38
- package/dist/ui-shape.js.map +1 -1
- package/dist/ui-side.editor-CFSqGHGH.js +5 -0
- package/dist/ui-side.editor-CFSqGHGH.js.map +1 -0
- package/dist/ui-sidebar.editor-DWFPQcXv.js +5 -0
- package/dist/ui-sidebar.editor-DWFPQcXv.js.map +1 -0
- package/dist/ui-sidebar.js +79 -77
- package/dist/ui-sidebar.js.map +1 -1
- package/dist/ui-sides.editor-CONIJ1r3.js +5 -0
- package/dist/ui-sides.editor-CONIJ1r3.js.map +1 -0
- package/dist/ui-sides.js +25 -26
- package/dist/ui-sides.js.map +1 -1
- package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js +5 -0
- package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js.map +1 -0
- package/dist/ui-site-breadcrumbs.js +143 -0
- package/dist/ui-site-breadcrumbs.js.map +1 -0
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +5 -0
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +1 -0
- package/dist/ui-site-nav-button.js +113 -0
- package/dist/ui-site-nav-button.js.map +1 -0
- package/dist/ui-site-nav.editor-CKEsOGCX.js +5 -0
- package/dist/ui-site-nav.editor-CKEsOGCX.js.map +1 -0
- package/dist/ui-site-nav.js +133 -97
- package/dist/ui-site-nav.js.map +1 -1
- package/dist/ui-site-tabs.editor-DDvQfH6S.js +5 -0
- package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +1 -0
- package/dist/ui-site-tabs.js +53 -48
- package/dist/ui-site-tabs.js.map +1 -1
- package/dist/ui-slider.editor-BEaasx5Q.js +5 -0
- package/dist/ui-slider.editor-BEaasx5Q.js.map +1 -0
- package/dist/ui-slider.js +37 -38
- package/dist/ui-slider.js.map +1 -1
- package/dist/ui-space.editor-s-XVWFBN.js +5 -0
- package/dist/ui-space.editor-s-XVWFBN.js.map +1 -0
- package/dist/ui-space.js +9 -10
- package/dist/ui-space.js.map +1 -1
- package/dist/ui-split-panel.editor-Cvy5W7nk.js +5 -0
- package/dist/ui-split-panel.editor-Cvy5W7nk.js.map +1 -0
- package/dist/ui-split-panel.js +107 -68
- package/dist/ui-split-panel.js.map +1 -1
- package/dist/ui-stack.editor-D69Fky6H.js +5 -0
- package/dist/ui-stack.editor-D69Fky6H.js.map +1 -0
- package/dist/ui-stack.js +12 -13
- package/dist/ui-stack.js.map +1 -1
- package/dist/ui-statistic.editor-CBzYqbQ5.js +5 -0
- package/dist/ui-statistic.editor-CBzYqbQ5.js.map +1 -0
- package/dist/ui-statistic.js +28 -27
- package/dist/ui-statistic.js.map +1 -1
- package/dist/ui-statistics.editor-fzh3uk_b.js +5 -0
- package/dist/ui-statistics.editor-fzh3uk_b.js.map +1 -0
- package/dist/ui-step.editor-CYmNXrk_.js +5 -0
- package/dist/ui-step.editor-CYmNXrk_.js.map +1 -0
- package/dist/ui-step.js +62 -61
- package/dist/ui-step.js.map +1 -1
- package/dist/ui-steps.editor-BkMIrUrj.js +5 -0
- package/dist/ui-steps.editor-BkMIrUrj.js.map +1 -0
- package/dist/ui-sticky.editor-D7R1AlJv.js +5 -0
- package/dist/ui-sticky.editor-D7R1AlJv.js.map +1 -0
- package/dist/ui-sticky.js +10 -11
- package/dist/ui-sticky.js.map +1 -1
- package/dist/ui-submenu.editor-NdjS0em-.js +5 -0
- package/dist/ui-submenu.editor-NdjS0em-.js.map +1 -0
- package/dist/ui-summary.editor-CCHS1mVz.js +5 -0
- package/dist/ui-summary.editor-CCHS1mVz.js.map +1 -0
- package/dist/ui-tab.editor-DCS-gCZV.js +5 -0
- package/dist/ui-tab.editor-DCS-gCZV.js.map +1 -0
- package/dist/ui-tab.js +115 -117
- package/dist/ui-tab.js.map +1 -1
- package/dist/ui-table.editor-DJvfg9oG.js +5 -0
- package/dist/ui-table.editor-DJvfg9oG.js.map +1 -0
- package/dist/ui-table.js +272 -272
- package/dist/ui-table.js.map +1 -1
- package/dist/ui-tabs.editor-waeMoFNM.js +5 -0
- package/dist/ui-tabs.editor-waeMoFNM.js.map +1 -0
- package/dist/ui-term.editor-BMCF3jBM.js +5 -0
- package/dist/ui-term.editor-BMCF3jBM.js.map +1 -0
- package/dist/ui-terms.editor-BLfVVsjI.js +5 -0
- package/dist/ui-terms.editor-BLfVVsjI.js.map +1 -0
- package/dist/ui-terms.js +13 -12
- package/dist/ui-terms.js.map +1 -1
- package/dist/ui-text.editor-B6AENK13.js +5 -0
- package/dist/ui-text.editor-B6AENK13.js.map +1 -0
- package/dist/ui-text.js +37 -36
- package/dist/ui-text.js.map +1 -1
- package/dist/ui-textarea.editor-C25lVwrF.js +5 -0
- package/dist/ui-textarea.editor-C25lVwrF.js.map +1 -0
- package/dist/ui-theme-editor.editor-CQGAgy-Q.js +5 -0
- package/dist/ui-theme-editor.editor-CQGAgy-Q.js.map +1 -0
- package/dist/ui-theme-editor.js +448 -461
- package/dist/ui-theme-editor.js.map +1 -1
- package/dist/{ui-theme-menu-CuIjr8Ou.js → ui-theme-menu-BZYUMrHe.js} +356 -352
- package/dist/ui-theme-menu-BZYUMrHe.js.map +1 -0
- package/dist/ui-theme-menu.editor-DNeI-hxN.js +5 -0
- package/dist/ui-theme-menu.editor-DNeI-hxN.js.map +1 -0
- package/dist/ui-theme-token.editor-C2YAdEye.js +5 -0
- package/dist/ui-theme-token.editor-C2YAdEye.js.map +1 -0
- package/dist/ui-title.editor-40PZSOpn.js +5 -0
- package/dist/ui-title.editor-40PZSOpn.js.map +1 -0
- package/dist/ui-toast.editor-BDmIUsU_.js +5 -0
- package/dist/ui-toast.editor-BDmIUsU_.js.map +1 -0
- package/dist/ui-toast.js +125 -128
- package/dist/ui-toast.js.map +1 -1
- package/dist/ui-toc.editor-D_S1KFY_.js +5 -0
- package/dist/ui-toc.editor-D_S1KFY_.js.map +1 -0
- package/dist/ui-toc.js +52 -53
- package/dist/ui-toc.js.map +1 -1
- package/dist/ui-toolbar.editor-CNQ8nJmR.js +5 -0
- package/dist/ui-toolbar.editor-CNQ8nJmR.js.map +1 -0
- package/dist/ui-toolbar.js +254 -50
- package/dist/ui-toolbar.js.map +1 -1
- package/dist/ui-transition.editor-8SQkDkZ6.js +5 -0
- package/dist/ui-transition.editor-8SQkDkZ6.js.map +1 -0
- package/dist/ui-transition.js +13 -14
- package/dist/ui-transition.js.map +1 -1
- package/dist/ui-tree-diagram.editor-DkEK8i7J.js +5 -0
- package/dist/ui-tree-diagram.editor-DkEK8i7J.js.map +1 -0
- package/dist/ui-tree-diagram.js +128 -127
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree-item.editor-C4fuAlbJ.js +5 -0
- package/dist/ui-tree-item.editor-C4fuAlbJ.js.map +1 -0
- package/dist/ui-tree-node.editor-CB1z_w9F.js +5 -0
- package/dist/ui-tree-node.editor-CB1z_w9F.js.map +1 -0
- package/dist/ui-tree.editor-BoQztwdz.js +5 -0
- package/dist/ui-tree.editor-BoQztwdz.js.map +1 -0
- package/dist/ui-tree.js +393 -134
- package/dist/ui-tree.js.map +1 -1
- package/dist/ui-value.editor-CYak24cr.js +5 -0
- package/dist/ui-value.editor-CYak24cr.js.map +1 -0
- package/dist/ui-video.editor-CuWtFVjR.js +5 -0
- package/dist/ui-video.editor-CuWtFVjR.js.map +1 -0
- package/dist/ui-video.js +15 -14
- package/dist/ui-video.js.map +1 -1
- package/dist/ui-visibility.editor-Crx0DTlv.js +5 -0
- package/dist/ui-visibility.editor-Crx0DTlv.js.map +1 -0
- package/dist/ui-visibility.js +25 -26
- package/dist/ui-visibility.js.map +1 -1
- package/dist/ui-zoom.editor-DZ3HsWV4.js +5 -0
- package/dist/ui-zoom.editor-DZ3HsWV4.js.map +1 -0
- package/dist/ui-zoom.js +82 -83
- package/dist/ui-zoom.js.map +1 -1
- package/dist/util/TopLayerTip.d.ts +11 -2
- package/dist/vocabulary/SharedVocabulary.d.ts +2 -0
- package/dist/vocabulary/SharedVocabulary.es.d.ts +1 -0
- package/dist/vocabulary/help.generated.d.ts +11 -0
- package/dist/vocabulary/partsOfSpeech.generated.d.ts +6 -0
- package/package.json +3 -3
- package/dist/Dragging-CMZoLEWQ.js.map +0 -1
- package/dist/MarkdownSanitizer-zTnnbrLe.js +0 -884
- package/dist/MarkdownSanitizer-zTnnbrLe.js.map +0 -1
- package/dist/PrefStore-Qv0e5y04.js.map +0 -1
- package/dist/ScrollingRow-7n7Z-HIE.js +0 -88
- package/dist/ScrollingRow-7n7Z-HIE.js.map +0 -1
- package/dist/SitePages-CciwREek.js.map +0 -1
- package/dist/SlottedItems-Du3aJwG1.js +0 -80
- package/dist/SlottedItems-Du3aJwG1.js.map +0 -1
- package/dist/UIButton-DFEds67r.js +0 -6
- package/dist/UIButton-DFEds67r.js.map +0 -1
- package/dist/UIInput-BodVbUoQ.js.map +0 -1
- package/dist/UIKeys-Rh_gUZjP.js.map +0 -1
- package/dist/UILabel-DgJUBzB_.js.map +0 -1
- package/dist/UIMenu-zdcAtwTa.js +0 -42
- package/dist/UIMenu-zdcAtwTa.js.map +0 -1
- package/dist/UIRuntime-KH309p5B.js.map +0 -1
- package/dist/UISegment-CMMIW7cZ.js.map +0 -1
- package/dist/apple.palette-B4ivrNlM.js.map +0 -1
- package/dist/classic-DCTQrteU.js.map +0 -1
- package/dist/components.es-BOa_7gFF.js.map +0 -1
- package/dist/crisp-VfYZlTph.js.map +0 -1
- package/dist/crisp.theme-DRiePRdf.js +0 -6
- package/dist/crisp.theme-DRiePRdf.js.map +0 -1
- package/dist/dark-CbUdPe0a.js.map +0 -1
- package/dist/dist-BLYIGZVK.js.map +0 -1
- package/dist/emoji/cldr/0-DSUpV2d7.js.map +0 -1
- package/dist/emoji/cldr/a-D_oB4vJ-.js.map +0 -1
- package/dist/emoji/cldr/b-DX0W0Mda.js.map +0 -1
- package/dist/emoji/cldr/c-DUHidpE9.js.map +0 -1
- package/dist/emoji/cldr/d-CiCXZXay.js.map +0 -1
- package/dist/emoji/cldr/e-DILJo3Ri.js.map +0 -1
- package/dist/emoji/cldr/f-ByGFLyOq.js.map +0 -1
- package/dist/emoji/cldr/g-BZ0FRsud.js.map +0 -1
- package/dist/emoji/cldr/h-jtLdvRXQ.js.map +0 -1
- package/dist/emoji/cldr/i-DcbJ5utE.js.map +0 -1
- package/dist/emoji/cldr/j-BuEqP5nz.js.map +0 -1
- package/dist/emoji/cldr/k-P1J6Gvze.js.map +0 -1
- package/dist/emoji/cldr/l-28XcbsPr.js.map +0 -1
- package/dist/emoji/cldr/m-DKgGJ8rW.js.map +0 -1
- package/dist/emoji/cldr/n-DmPLP4F3.js.map +0 -1
- package/dist/emoji/cldr/o-f98nt3s7.js.map +0 -1
- package/dist/emoji/cldr/p-CxnsOTOt.js.map +0 -1
- package/dist/emoji/cldr/r-D0GPRJ-Q.js.map +0 -1
- package/dist/emoji/cldr/s-DcFuepnw.js.map +0 -1
- package/dist/emoji/cldr/t-BvHgGpUr.js.map +0 -1
- package/dist/emoji/cldr/u-ChFYHtUf.js.map +0 -1
- package/dist/emoji/cldr/v-WmX3nWtZ.js.map +0 -1
- package/dist/emoji/cldr/w-BPySQUWW.js.map +0 -1
- package/dist/emoji/cldr/x-SC3r1n9O.js +0 -6
- package/dist/emoji/cldr/x-SC3r1n9O.js.map +0 -1
- package/dist/emoji/cldr/y-zB_yhTFg.js.map +0 -1
- package/dist/emoji/cldr/z-BgJ94Cap.js.map +0 -1
- package/dist/emoji/fomantic/0-CGf6gC3a.js +0 -10
- package/dist/emoji/fomantic/0-CGf6gC3a.js.map +0 -1
- package/dist/emoji/fomantic/a-CrqYlC21.js.map +0 -1
- package/dist/emoji/fomantic/b-DneVHRdQ.js.map +0 -1
- package/dist/emoji/fomantic/c-ClxKRuir.js.map +0 -1
- package/dist/emoji/fomantic/d-Djqs_y4s.js.map +0 -1
- package/dist/emoji/fomantic/e-CuF-jOQd.js.map +0 -1
- package/dist/emoji/fomantic/f-D8VglrJ4.js.map +0 -1
- package/dist/emoji/fomantic/g-Du_HFl6U.js.map +0 -1
- package/dist/emoji/fomantic/h-CLE5tHnM.js.map +0 -1
- package/dist/emoji/fomantic/i-BjOsrQDZ.js.map +0 -1
- package/dist/emoji/fomantic/j-CyUDXKCu.js.map +0 -1
- package/dist/emoji/fomantic/k-Clypg4R8.js.map +0 -1
- package/dist/emoji/fomantic/l-DvLPdBh-.js.map +0 -1
- package/dist/emoji/fomantic/m-B1lIb1kP.js.map +0 -1
- package/dist/emoji/fomantic/n-Bgpp_ht5.js.map +0 -1
- package/dist/emoji/fomantic/o-BhYZzpjp.js.map +0 -1
- package/dist/emoji/fomantic/p-VLL0GK3m.js.map +0 -1
- package/dist/emoji/fomantic/q-CKrtMwhc.js +0 -6
- package/dist/emoji/fomantic/q-CKrtMwhc.js.map +0 -1
- package/dist/emoji/fomantic/r-Bd1DjkkI.js.map +0 -1
- package/dist/emoji/fomantic/s-Bqatw1W7.js.map +0 -1
- package/dist/emoji/fomantic/t-Bs7IFhv3.js.map +0 -1
- package/dist/emoji/fomantic/u-M6GfYC-U.js.map +0 -1
- package/dist/emoji/fomantic/v-BKHNqkn0.js.map +0 -1
- package/dist/emoji/fomantic/w-B_XvIu7h.js.map +0 -1
- package/dist/emoji/fomantic/x-CG1_nzCF.js +0 -9
- package/dist/emoji/fomantic/x-CG1_nzCF.js.map +0 -1
- package/dist/emoji/fomantic/y-DPZaoIla.js.map +0 -1
- package/dist/emoji/fomantic/z-FH-kPXch.js.map +0 -1
- package/dist/fruity-BRVlgJZd.js +0 -6
- package/dist/fruity-BRVlgJZd.js.map +0 -1
- package/dist/fruity.theme-CbC7Jyvk.js.map +0 -1
- package/dist/glass-x9tbbwVq.js +0 -6
- package/dist/glass-x9tbbwVq.js.map +0 -1
- package/dist/glass.theme-24wY2wH9.js +0 -6
- package/dist/glass.theme-24wY2wH9.js.map +0 -1
- package/dist/matrix-QY2gWbJ0.js +0 -6
- package/dist/matrix-QY2gWbJ0.js.map +0 -1
- package/dist/matrix.theme-_8xtwhDq.js +0 -6
- package/dist/matrix.theme-_8xtwhDq.js.map +0 -1
- package/dist/merlot-DOXLuUaU.js.map +0 -1
- package/dist/merlot.theme-S-QnNGsw.js +0 -6
- package/dist/merlot.theme-S-QnNGsw.js.map +0 -1
- package/dist/midnight-BxlTQSfw.js.map +0 -1
- package/dist/midnight.theme-wXbqRYLy.js +0 -6
- package/dist/midnight.theme-wXbqRYLy.js.map +0 -1
- package/dist/mockup-83ELBuVr.js +0 -6
- package/dist/mockup-83ELBuVr.js.map +0 -1
- package/dist/mockup.theme-DmpBgGBl.js +0 -6
- package/dist/mockup.theme-DmpBgGBl.js.map +0 -1
- package/dist/paper-M61nUilz.js.map +0 -1
- package/dist/paper.theme-B8R5Jn5H.js +0 -6
- package/dist/paper.theme-B8R5Jn5H.js.map +0 -1
- package/dist/persist.types-D2m6wD-S.js.map +0 -1
- package/dist/pop-CxXfytjk.js.map +0 -1
- package/dist/pop.theme-CXzv8B9x.js +0 -6
- package/dist/pop.theme-CXzv8B9x.js.map +0 -1
- package/dist/search-CzSzx7bX.js.map +0 -1
- package/dist/spell-By5Y3jKP.js +0 -6
- package/dist/spell-By5Y3jKP.js.map +0 -1
- package/dist/spell.theme-DxGj7qHx.js +0 -6
- package/dist/spell.theme-DxGj7qHx.js.map +0 -1
- package/dist/styles.en-CUUxNwHo.js.map +0 -1
- package/dist/ui-theme-menu-CuIjr8Ou.js.map +0 -1
package/dist/ui-stack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-stack.js","names":["<slot />","E.UIComponent","E.proto","E.protoMerged","E.cssState","E.derived","UIT.SpaceSteps","_$getOwner","__name","stackCSS","__name$1","__publicField","__decorateElement","__decoratorMetadata","__runInitializers","SpaceSteps","__decoratorStart","stackVocabulary","UIStack_default","_tmpl$","_hostLayout_dec","_stacksBelow_dec","_isHorizontal_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_UIStack","UIComponent","proto","protoMerged","cssState","derived","HORIZONTAL","Converters","stackable","PHONE_WIDTH","rules","align","ALIGN","justify","JUSTIFY","below","column","STACK_TURN","_el$","getOwner","UIStack"],"sources":["../src/components/ui-stack/UIStack.en.ts","../src/components/ui-stack/UIStack.css?inline","../src/components/ui-stack/UIStack.tsx","../src/components/ui-stack/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-stack>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values) and slots.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - A plain layout box, with no look of its own (epic `ui-gaps` P8): Web Awesome's stack and cluster in one tag,\n * as the `.ui-stack` / `.ui-cluster` utilities are for plain HTML.\n * - No class words: every attribute is property-only, drawn as the box's own layout.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `stackVocabulary`\n * The names of `<ui-stack>`, a box that lays its children out in a column or a row.\n ****************/\nexport const stackVocabulary = {\n tag: \"ui-stack\",\n icon: \"layer group\",\n topics: [\"layout\", \"basic\"],\n aka: [\"stack\", \"cluster\", \"flex box\", \"row\", \"column\", \"hbox\", \"vbox\", \"spacer\"],\n noun: \"stack\",\n description:\n \"A stack lays its children out in a column, or a row that wraps, evenly spaced. It has no look of its own.\",\n attributes: [\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"vertical\", \"horizontal\"],\n default: \"vertical\",\n description: \"`vertical`, a column (the default), or `horizontal`, a row.\"\n },\n {\n name: \"wrap\",\n group: \"layout\",\n kind: \"boolean\",\n description: \"A row wraps onto the next line when its children don't fit (Web Awesome's cluster).\"\n },\n {\n name: \"spacing\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"none\", \"xs\", \"sm\", \"md\", \"lg\", \"xl\"],\n default: \"md\",\n description: \"The space between children: `none` to `xl`; `md` (1em) by default.\"\n },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"start\", \"center\", \"end\", \"stretch\", \"baseline\"],\n description:\n \"Lines children up ACROSS the stack: a column's left edges, centres or right edges; a row's tops, \" +\n \"middles, bottoms or text baselines. By default a column stretches them, a row centres them.\"\n },\n {\n name: \"justify\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"start\", \"center\", \"end\", \"between\", \"around\"],\n description:\n \"Places children ALONG the stack: packed at its `start`, `center` or `end`, or spread out \" +\n \"(`between`: the first and last at the ends, `around`: equal space around each). \" +\n '`<ui-stack direction=\"horizontal\" justify=\"between\">` puts one thing left and one right.'\n },\n {\n name: \"fluid\",\n group: \"layout\",\n kind: \"boolean\",\n description: \"Takes the full width of its container; in another stack's row, the room left.\"\n },\n {\n name: \"stackable\",\n group: \"layout\",\n kind: \"string\",\n description:\n 'A row that becomes a column when the room it\\'s in is narrower than a length: `stackable=\"34em\"`; ' +\n \"bare, a phone's width (768px). The room: the nearest container around it (a form, a table, an app \" +\n \"that's a size container), or the window, whichever is narrower; so it works in a side bar too. \" +\n 'An icon in it with `rotated=\"when stacked\"` turns a quarter while it\\'s a column: an arrow points down.'\n }\n ],\n events: [],\n slots: [\n {\n name: \"\",\n description:\n \"What it lays out: any elements. In a row, a `fluid` one (`<ui-input fluid>` ...) takes the room left.\"\n }\n ],\n parts: [],\n states: [\n { name: \"horizontal\", description: 'A row (`direction=\"horizontal\"`): a `fluid` child takes the room left.' },\n { name: \"stackable\", description: \"`stackable`: a row that becomes a column when its room is narrow.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","/*\n * The style sheet of `<ui-stack>`: a flex box, its children the items, with no look of its own.\n * - The shadow root is a bare slot, so the children are the DOM element's flex items.\n * - What its attributes set (direction, wrap, spacing, align, justify, fluid) is a `:host` rule the component\n * writes for each element (`UIStack.hostLayout`): this sheet is the default, a column 1em apart.\n * - Its children's own block margins are dropped, as `.ui-stack`'s are: the stack's spacing is the space.\n * A Spell UI child's are drawn in its own shadow root: `reset.css` drops those, from the mark this sheet sets.\n */\n\n@layer ui.components.stack.types {\n :host {\n /* turned by a `stackable` row while it's a column (`UIStack.hostLayout`); never an outer stack's */\n --_ui-stack-turn: 0deg;\n display: flex;\n flex-direction: column;\n gap: var(--ui-space-m);\n min-inline-size: 0;\n }\n ::slotted(:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote, figure, pre)) {\n margin-block: 0;\n }\n /* In a row, a `fluid` child takes the room left, and gives it back when there's none: a task's title field fills\n its row, between its checkbox and its priority. (A column already stretches it across.) */\n :host(:state(horizontal)) ::slotted(:state(fluid)) {\n flex: 1 1 0;\n /* down to nothing, unless it has a shared `min-width` (`reset.css`): this rule would beat its own */\n min-inline-size: var(--_ui-min-width, 0);\n }\n /* a Spell UI child drops its own outside margins too (`reset.css`, \"A child of a `<ui-stack>`\") */\n ::slotted(*) {\n --_ui-stacked: 1;\n }\n}\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { stackVocabulary } from \"./UIStack.en\"\n\nimport stackCSS from \"./UIStack.css?inline\"\n\n/****************\n * ### `<ui-stack>`\n * The component behind `<ui-stack>`: a box that lays its children out in a column or a row (epic `ui-gaps` P8).\n *\n * - Web Awesome's stack AND cluster in one tag: a column by default;\n * `direction=\"horizontal\"` a row, `wrap` one that wraps.\n * - No look: no padding, border or colour. For a drawing, which holds no `<div>` to put `.ui-stack` on.\n * - The shadow root is a bare slot: the children are the DOM element's flex items.\n * - In a row, a `fluid` child (`<ui-input fluid>`, `<ui-dropdown fluid>` ...) takes the room left (epic `language` T57):\n * a task's title field fills its row, between its checkbox and its priority.\n * - A `fluid` stack too (`:state(fluid)`, epic `language` T88): a picture's details beside it.\n * - `stackable=\"34em\"`: a row that becomes a column when the room it's in is narrower (epic `language` P35, I63).\n * - The room: the nearest size container around it (`@container`), or the window (`@media`), whichever is\n * narrower. NOT its own width: a stack sized by what's in it would be a row or a column by its own choice.\n * - Nested in its `:host` rule, so each stack queries its own length.\n * - While a column, it hands its children `--_ui-stack-turn: 90deg`: an icon `rotated=\"when stacked\"` turns.\n * - Its attributes become one `:host` rule of its own (`hostLayout`, written by `UIComponent`),\n * so the page's own `style` stays the author's.\n * - Nothing focusable: no `delegatesFocus`.\n ****************/\nexport class UIStack extends E.UIComponent<typeof stackVocabulary> {\n @E.proto static vocabulary = stackVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { stack: stackCSS },\n delegatesFocus: false,\n // a `fluid` stack in another stack's row takes the room left, as a `fluid` input does (epic `language` T88)\n cssStates: [\"fluid\"]\n } satisfies Partial<E.ElementSetup>\n\n /** A row, not a column: `:state(horizontal)`, where a `fluid` child takes the row's leftover room. */\n @E.cssState(\"horizontal\")\n get isHorizontal(): boolean {\n return this.direction === HORIZONTAL\n }\n\n /**\n * The width of room below which a `stackable` row becomes a column: its length, or a phone's (768px) when bare;\n * `undefined` when it isn't `stackable`, or isn't a row.\n */\n @E.cssState(\"stackable\")\n get stacksBelow(): string | undefined {\n const { stackable } = this\n if (!this.isHorizontal || !E.Converters.boolean(stackable)) return undefined\n return /^(|true|yes|stackable)$/i.test(stackable!.trim()) ? PHONE_WIDTH : stackable\n }\n\n /** Its `:host` rule: direction, wrap, spacing, alignment, width; and, `stackable`, the column it becomes. */\n @E.derived\n protected get hostLayout(): string {\n const rules = [`gap: ${UIT.SpaceSteps[this.spacing as UIT.SpaceStep] ?? UIT.SpaceSteps.md}`]\n if (this.isHorizontal) rules.push(\"flex-direction: row\", \"align-items: center\")\n if (this.wrap) rules.push(\"flex-wrap: wrap\")\n const align = ALIGN[this.align as keyof typeof ALIGN]\n if (align) rules.push(`align-items: ${align}`)\n const justify = JUSTIFY[this.justify as keyof typeof JUSTIFY]\n if (justify) rules.push(`justify-content: ${justify}`)\n if (this.fluid) rules.push(\"inline-size: 100%\")\n const below = this.stacksBelow\n if (below) {\n // a column, its arrows turned; a `fluid` child keeps its own height in a column\n const column = `flex-direction: column; ${STACK_TURN}: 90deg; & > slot::slotted(:state(fluid)) { flex: none }`\n rules.push(`@container (width < ${below}) { ${column} }`, `@media (width < ${below}) { ${column} }`)\n }\n return rules.join(\"; \")\n }\n\n render(): JSX.Element {\n return <slot />\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIStack extends E.AttributeValues<typeof stackVocabulary> {}\n\n/** `direction`'s row. */\nconst HORIZONTAL = \"horizontal\"\n\n/** A bare `stackable`'s width: a phone's, as every other family's `stackable` (`media.css`'s `--ui-mobile`). */\nconst PHONE_WIDTH = \"768px\"\n\n/** What a stacked stack hands its children: an icon `rotated=\"when stacked\"` turns by it (`UIIcon.css`). */\nconst STACK_TURN = \"--_ui-stack-turn\"\n\n/** `align` => `align-items`. */\nconst ALIGN = {\n start: \"flex-start\",\n center: \"center\",\n end: \"flex-end\",\n stretch: \"stretch\",\n baseline: \"baseline\"\n} as const\n\n/** `justify` => `justify-content`. */\nconst JUSTIFY = {\n start: \"flex-start\",\n center: \"center\",\n end: \"flex-end\",\n between: \"space-between\",\n around: \"space-around\"\n} as const\n","/**\n * The stack family: defines `<ui-stack>` and exports its component, `UIStack`.\n * - SIDE EFFECT: importing it defines the tag.\n * - Also the library's `spell/ui/ui-stack` entry (its size is in `notes/report.md`).\n */\n\nimport { UIStack } from \"./UIStack\"\n\nUIStack.define()\n\nexport { UIStack }\n"],"mappings":";;;;AAeA,IAAaiB,IAAkB;CAC7B,KAAK;CACL,MAAM;CACN,QAAQ,CAAC,UAAU,OAAO;CAC1B,KAAK;EAAC;EAAS;EAAW;EAAY;EAAO;EAAU;EAAQ;EAAQ;CAAQ;CAC/E,MAAM;CACN,aACE;CACF,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,YAAY,YAAY;GACjC,SAAS;GACT,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAQ;IAAM;IAAM;IAAM;IAAM;GAAI;GAC7C,SAAS;GACT,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAS;IAAU;IAAO;IAAW;GAAU;GACxD,aACE;EAEJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAS;IAAU;IAAO;IAAW;GAAQ;GACtD,aACE;EAGJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aACE;EAIJ;CACF;CACA,QAAQ,CAAC;CACT,OAAO,CACL;EACE,MAAM;EACN,aACE;CACJ,CACF;CACA,OAAO,CAAC;CACR,QAAQ,CACN;EAAE,MAAM;EAAc,aAAa;CAA0E,GAC7G;EAAE,MAAM;EAAa,aAAa;CAAqE,CACzG;CACA,OAAO,CAAC;AACV,4YEhGAG,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GA2BaC,IAAN,MAAM,kBAAgB,IAAA1B,GAC3B,IAAA,CAACC,CAAE,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AnBWM,CAAA,GA4BXf,EAAAc,GAAA,GAAc,cADdN,GA3BWO,CAAA,GACFf,EAAAc,GAAA,IAAO,cAAhBF,GADWG,CAAA,GAEIf,EAAAc,GAAA,IAAO,gBAAtBH,GAFWI,CAAA,GAANd,EAAAa,GAAMC,CAAA,GAAsDnB,EAAAmB,GAAA,SAAA,GACxDhB,EADEgB,GACK,cAAab,EAApBY,GAAA,GADEC,GACkBV,CAAA,CAAA,GAApBH,EAAAY,GAAA,IADEC,CAAA,GAEIhB,EAFJgB,GAEW,gBAAeb,EAAtBY,GAAA,IAFJC,GAE0B;CACnC,aAAa,EAAE,OAAOlB,EAAS;CAC/B,gBAAgB;CAEhB,WAAW,CAAC,OAAO;AACrB,CAAA,CAAA,GALeK,EAAAY,GAAA,IAFJC,CAAA;AAAN,IAAMoB,IAANpB,GAuDDM,IAAa,cAGbG,IAAc,SAGdQ,IAAa,oBAGbL,IAAQ;CACZ,OAAO;CACP,QAAQ;CACR,KAAK;CACL,SAAS;CACT,UAAU;AACZ,GAGME,IAAU;CACd,OAAO;CACP,QAAQ;CACR,KAAK;CACL,SAAS;CACT,QAAQ;AACV;;;AClGAM,EAAQ,OAAO"}
|
|
1
|
+
{"version":3,"file":"ui-stack.js","names":["<slot />","E.UIComponent","E.proto","E.protoMerged","E.cssState","E.derived","UIT.SpaceSteps","_$getOwner","__name","stackCSS","__decoratorStart","__publicField","__name$1","__decorateElement","__decoratorMetadata","__runInitializers","SpaceSteps","stackVocabulary","UIStack_default","_tmpl$","_hostLayout_dec","_stacksBelow_dec","_isHorizontal_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_UIStack","UIComponent","proto","protoMerged","cssState","derived","HORIZONTAL","Converters","stackable","PHONE_WIDTH","rules","align","ALIGN","justify","JUSTIFY","below","column","STACK_TURN","_el$","getOwner","UIStack"],"sources":["../src/components/ui-stack/UIStack.en.ts","../src/components/ui-stack/UIStack.tsx","../src/components/ui-stack/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-stack>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values) and slots.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - A plain layout box, with no look of its own (epic `ui-gaps` P8): Web Awesome's stack and cluster in one tag,\n * as the `.ui-stack` / `.ui-cluster` utilities are for plain HTML.\n * - No class words: every attribute is property-only, drawn as the box's own layout.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `stackVocabulary`\n * The names of `<ui-stack>`, a box that lays its children out in a column or a row.\n ****************/\nexport const stackVocabulary = {\n tag: \"ui-stack\",\n icon: \"layer group\",\n topics: [\"layout\", \"basic\"],\n aka: [\"stack\", \"cluster\", \"flex box\", \"row\", \"column\", \"hbox\", \"vbox\", \"spacer\"],\n noun: \"stack\",\n partOfSpeech: \"structure\",\n description:\n \"A stack lays its children out in a column, or a row that wraps, evenly spaced. It has no look of its own.\",\n attributes: [\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"vertical\", \"horizontal\"],\n default: \"vertical\",\n description: \"`vertical`, a column (the default), or `horizontal`, a row.\"\n },\n {\n name: \"wrap\",\n group: \"layout\",\n kind: \"boolean\",\n description: \"A row wraps onto the next line when its children don't fit (Web Awesome's cluster).\"\n },\n {\n name: \"spacing\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"none\", \"xs\", \"sm\", \"md\", \"lg\", \"xl\"],\n default: \"md\",\n description: \"The space between children: `none` to `xl`; `md` (1em) by default.\"\n },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"start\", \"center\", \"end\", \"stretch\", \"baseline\"],\n description:\n \"Lines children up ACROSS the stack: a column's left edges, centres or right edges; a row's tops, \" +\n \"middles, bottoms or text baselines. By default a column stretches them, a row centres them.\"\n },\n {\n name: \"justify\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"start\", \"center\", \"end\", \"between\", \"around\"],\n description:\n \"Places children ALONG the stack: packed at its `start`, `center` or `end`, or spread out \" +\n \"(`between`: the first and last at the ends, `around`: equal space around each). \" +\n '`<ui-stack direction=\"horizontal\" justify=\"between\">` puts one thing left and one right.'\n },\n {\n name: \"fluid\",\n group: \"layout\",\n kind: \"boolean\",\n description: \"Takes the full width of its container; in another stack's row, the room left.\"\n },\n {\n name: \"stackable\",\n group: \"layout\",\n kind: \"string\",\n description:\n 'A row that becomes a column when the room it\\'s in is narrower than a length: `stackable=\"34em\"`; ' +\n \"bare, a phone's width (768px). The room: the nearest container around it (a form, a table, an app \" +\n \"that's a size container), or the window, whichever is narrower; so it works in a side bar too. \" +\n 'An icon in it with `rotated=\"when stacked\"` turns a quarter while it\\'s a column: an arrow points down.'\n }\n ],\n events: [],\n slots: [\n {\n name: \"\",\n description:\n \"What it lays out: any elements. In a row, a `fluid` one (`<ui-input fluid>` ...) takes the room left.\"\n }\n ],\n parts: [],\n states: [\n { name: \"horizontal\", description: 'A row (`direction=\"horizontal\"`): a `fluid` child takes the room left.' },\n { name: \"stackable\", description: \"`stackable`: a row that becomes a column when its room is narrow.\" }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { stackVocabulary } from \"./UIStack.en\"\n\nimport stackCSS from \"./UIStack.css?inline\"\n\n/****************\n * ### `<ui-stack>`\n * The component behind `<ui-stack>`: a box that lays its children out in a column or a row (epic `ui-gaps` P8).\n *\n * - Web Awesome's stack AND cluster in one tag: a column by default;\n * `direction=\"horizontal\"` a row, `wrap` one that wraps.\n * - No look: no padding, border or colour. For a drawing, which holds no `<div>` to put `.ui-stack` on.\n * - The shadow root is a bare slot: the children are the DOM element's flex items.\n * - In a row, a `fluid` child (`<ui-input fluid>`, `<ui-dropdown fluid>` ...) takes the room left (epic `language` T57):\n * a task's title field fills its row, between its checkbox and its priority.\n * - A `fluid` stack too (`:state(fluid)`, epic `language` T88): a picture's details beside it.\n * - `stackable=\"34em\"`: a row that becomes a column when the room it's in is narrower (epic `language` P35, I63).\n * - The room: the nearest size container around it (`@container`), or the window (`@media`), whichever is\n * narrower. NOT its own width: a stack sized by what's in it would be a row or a column by its own choice.\n * - Nested in its `:host` rule, so each stack queries its own length.\n * - While a column, it hands its children `--_ui-stack-turn: 90deg`: an icon `rotated=\"when stacked\"` turns.\n * - Its attributes become one `:host` rule of its own (`hostLayout`, written by `UIComponent`),\n * so the page's own `style` stays the author's.\n * - Nothing focusable: no `delegatesFocus`.\n ****************/\nexport class UIStack extends E.UIComponent<typeof stackVocabulary> {\n @E.proto static vocabulary = stackVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { stack: stackCSS },\n delegatesFocus: false,\n // a `fluid` stack in another stack's row takes the room left, as a `fluid` input does (epic `language` T88)\n cssStates: [\"fluid\"]\n } satisfies Partial<E.ElementSetup>\n\n /** A row, not a column: `:state(horizontal)`, where a `fluid` child takes the row's leftover room. */\n @E.cssState(\"horizontal\")\n get isHorizontal(): boolean {\n return this.direction === HORIZONTAL\n }\n\n /**\n * The width of room below which a `stackable` row becomes a column: its length, or a phone's (768px) when bare;\n * `undefined` when it isn't `stackable`, or isn't a row.\n */\n @E.cssState(\"stackable\")\n get stacksBelow(): string | undefined {\n const { stackable } = this\n if (!this.isHorizontal || !E.Converters.boolean(stackable)) return undefined\n return /^(|true|yes|stackable)$/i.test(stackable!.trim()) ? PHONE_WIDTH : stackable\n }\n\n /** Its `:host` rule: direction, wrap, spacing, alignment, width; and, `stackable`, the column it becomes. */\n @E.derived\n protected get hostLayout(): string {\n const rules = [`gap: ${UIT.SpaceSteps[this.spacing as UIT.SpaceStep] ?? UIT.SpaceSteps.md}`]\n if (this.isHorizontal) rules.push(\"flex-direction: row\", \"align-items: center\")\n if (this.wrap) rules.push(\"flex-wrap: wrap\")\n const align = ALIGN[this.align as keyof typeof ALIGN]\n if (align) rules.push(`align-items: ${align}`)\n const justify = JUSTIFY[this.justify as keyof typeof JUSTIFY]\n if (justify) rules.push(`justify-content: ${justify}`)\n if (this.fluid) rules.push(\"inline-size: 100%\")\n const below = this.stacksBelow\n if (below) {\n // a column, its arrows turned; a `fluid` child keeps its own height in a column\n const column = `flex-direction: column; ${STACK_TURN}: 90deg; & > slot::slotted(:state(fluid)) { flex: none }`\n rules.push(`@container (width < ${below}) { ${column} }`, `@media (width < ${below}) { ${column} }`)\n }\n return rules.join(\"; \")\n }\n\n render(): JSX.Element {\n return <slot />\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIStack extends E.AttributeValues<typeof stackVocabulary> {}\n\n/** `direction`'s row. */\nconst HORIZONTAL = \"horizontal\"\n\n/** A bare `stackable`'s width: a phone's, as every other family's `stackable` (`media.css`'s `--ui-mobile`). */\nconst PHONE_WIDTH = \"768px\"\n\n/** What a stacked stack hands its children: an icon `rotated=\"when stacked\"` turns by it (`UIIcon.css`). */\nconst STACK_TURN = \"--_ui-stack-turn\"\n\n/** `align` => `align-items`. */\nconst ALIGN = {\n start: \"flex-start\",\n center: \"center\",\n end: \"flex-end\",\n stretch: \"stretch\",\n baseline: \"baseline\"\n} as const\n\n/** `justify` => `justify-content`. */\nconst JUSTIFY = {\n start: \"flex-start\",\n center: \"center\",\n end: \"flex-end\",\n between: \"space-between\",\n around: \"space-around\"\n} as const\n","/**\n * The stack family: defines `<ui-stack>` and exports its component, `UIStack`.\n * - SIDE EFFECT: importing it defines the tag.\n * - Also the library's `spell/ui/ui-stack` entry (its size is in `notes/report.md`).\n */\n\nimport { UIStack } from \"./UIStack\"\n\nUIStack.define()\n\nexport { UIStack }\n"],"mappings":";;;;AAeA,IAAaiB,IAAkB;CAC7B,KAAK;CACL,MAAM;CACN,QAAQ,CAAC,UAAU,OAAO;CAC1B,KAAK;EAAC;EAAS;EAAW;EAAY;EAAO;EAAU;EAAQ;EAAQ;CAAQ;CAC/E,MAAM;CACN,cAAc;CACd,aACE;CACF,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CA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AAa,EAAE,OAAOlB,EAAS;CAC/B,gBAAgB;CAEhB,WAAW,CAAC,OAAO;AACrB,CAAA,CAAA,GALeM,EAAAW,GAAA,IAFJC,CAAA;AAAN,IAAMoB,IAANpB,GAuDDM,IAAa,cAGbG,IAAc,SAGdQ,IAAa,oBAGbL,IAAQ;CACZ,OAAO;CACP,QAAQ;CACR,KAAK;CACL,SAAS;CACT,UAAU;AACZ,GAGME,IAAU;CACd,OAAO;CACP,QAAQ;CACR,KAAK;CACL,SAAS;CACT,QAAQ;AACV;;AClGAM,EAAQ,OAAO"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-statistic/ui-statistic.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-statistic>'s property editor layout: move, pair (<ui-fields>) or leave out (data-omit) its properties. How: Spell UI's AGENTS.md, \"Property editor layouts\". -->\n<ui-property-editor schema=\"ui-statistic\" data-omit=\"\">\n <ui-property-group label=\"Name\" data-group=\"name\">\n <ui-property name=\"text\"></ui-property>\n <ui-property name=\"label\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"size\"></ui-property>\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"inverted\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"direction\"></ui-property>\n <ui-property name=\"fluid\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Form\" data-group=\"form\">\n <ui-property name=\"value\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-statistic.editor-CBzYqbQ5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-statistic.editor-CBzYqbQ5.js","names":["ui_statistic_editor_default"],"sources":[],"mappings":""}
|
package/dist/ui-statistic.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./rolldown-runtime-
|
|
2
|
-
import {
|
|
1
|
+
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { Gt as e, I as t, Jt as n, Kt as r, PartComponent as i, St as a, UIComponent as o, Ut as s, Wt as c, Yt as l, cssState as u, derived as d, proto as f, protoMerged as p, vt as m, yt as h } from "./core.js";
|
|
3
3
|
import { Show as g } from "solid-js";
|
|
4
4
|
import { className as _, createComponent as v, effect as y, getOwner as b, insert as x, readShallow as S, setAttribute as C, template as w } from "@solidjs/web";
|
|
5
|
-
|
|
5
|
+
// src/components/ui-statistic/UIStatistic.en.ts
|
|
6
6
|
var T = {
|
|
7
7
|
tag: "ui-statistic",
|
|
8
8
|
icon: "chart bar outline",
|
|
@@ -20,6 +20,7 @@ var T = {
|
|
|
20
20
|
],
|
|
21
21
|
skeleton: "inline 6 x 4",
|
|
22
22
|
noun: "statistic",
|
|
23
|
+
partOfSpeech: "property",
|
|
23
24
|
plural: "statistics",
|
|
24
25
|
description: "A statistic emphasizes the current value of an attribute.",
|
|
25
26
|
attributes: [
|
|
@@ -105,17 +106,17 @@ var T = {
|
|
|
105
106
|
}],
|
|
106
107
|
texts: [],
|
|
107
108
|
ownsParts: ["value", "label"]
|
|
108
|
-
}, E = "@layer ui.components.statistic.types{:host{--ui-color:var(--_statistics-color);--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-hover:initial;--ui-color-focus:initial;--ui-color-down:initial;--ui-color-active:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;display:contents}:host(:state(statistics)){display:block;container:ui-statistics/inline-size}:host(:state(spaced):not(:first-child)){margin-block-start:1em}:has(>.ui.stackable.statistics){container:ui-statistics/inline-size}.ui.statistic,.ui.statistics{--_ui-statistic-margin:var(--ui-statistic-margin,1em 0);--_ui-statistic-horizontal-spacing:var(--ui-statistic-horizontal-spacing,1.5em);--_ui-statistic-row-spacing:var(--ui-statistic-row-spacing,1em);--_ui-statistic-floated-distance:var(--ui-statistic-floated-distance,2em);--_ui-statistic-stackable-padding:var(--ui-statistic-stackable-padding,calc(var(--ui-font-size) * 1))}.ui.statistic,.ui.statistics>.statistic{--_ui-statistic-layout:var(--_statistics-layout,vertical);--_ui-statistic-value-size:var(--ui-statistic-value-size,calc(var(--ui-font-size) * var(--_statistic-value,4)));--_ui-statistic-text-value-size:var(--ui-statistic-text-value-size,calc(var(--ui-font-size) * var(--_statistic-tvalue,2)));--ui-inverted:var(--_statistics-inverted,0)}.ui.statistic{box-sizing:border-box;flex-direction:column;max-width:none;display:inline-flex}.ui.statistics{--_statistics-group:1;--_statistics-color:var(--ui-color);margin:1em calc(-1 * var(--_ui-statistic-horizontal-spacing)) calc(-1 * var(--_ui-statistic-row-spacing));flex-wrap:wrap;align-items:flex-start;display:flex}:host(:first-child)>.ui.statistics,.ui.statistics:first-child{margin-top:0}}@layer ui.components.statistic.content{@container not style(--_statistics-group:1){.ui.statistic{margin:var(--_ui-statistic-margin)}:host(:nth-child(n+2 of :state(statistic)))>.ui.statistic,.ui.statistic+.ui.statistic{margin:0 0 0 var(--_ui-statistic-horizontal-spacing)}:host(:first-child)>.ui.statistic,.ui.statistic:first-child{margin-top:0}:host(:last-child)>.ui.statistic,.ui.statistic:last-child{margin-bottom:0}:host(:not(:nth-child(n+2 of :state(statistic))))>.ui.statistic:not([data-ui]){margin:var(--_ui-statistic-margin)}:host(:first-child:not(:nth-child(n+2 of :state(statistic))))>.ui.statistic:not([data-ui]){margin-top:0}:host(:last-child:not(:nth-child(n+2 of :state(statistic))))>.ui.statistic:not([data-ui]){margin-bottom:0}}@container style(--_statistics-group:1){:host>.ui.statistic,.ui.statistics>.statistic{flex:var(--_statistics-flex,0 1 auto);min-width:var(--_statistics-min-width,0);max-width:none;margin:var(--_statistics-member-margin,0 var(--_ui-statistic-horizontal-spacing) var(--_ui-statistic-row-spacing));flex-direction:column;display:inline-flex}}}@layer ui.components.statistic.variations{.ui.mini:is(.statistic,.statistics){--_statistic-value:1.5;--_statistic-hvalue:1.5;--_statistic-tvalue:1}.ui.tiny:is(.statistic,.statistics){--_statistic-value:2;--_statistic-hvalue:2;--_statistic-tvalue:1}.ui.small:is(.statistic,.statistics){--_statistic-value:3;--_statistic-hvalue:2;--_statistic-tvalue:1}.ui.large:is(.statistic,.statistics){--_statistic-value:5;--_statistic-hvalue:4;--_statistic-tvalue:2.5}.ui.big:is(.statistic,.statistics){--_statistic-value:5.5;--_statistic-hvalue:4.5;--_statistic-tvalue:2.5}.ui.huge:is(.statistic,.statistics){--_statistic-value:6;--_statistic-hvalue:5;--_statistic-tvalue:2.5}.ui.massive:is(.statistic,.statistics){--_statistic-value:7;--_statistic-hvalue:6;--_statistic-tvalue:3}.ui.medium:is(.statistic,.statistics){--_statistic-value:4;--_statistic-hvalue:3;--_statistic-tvalue:2}.ui.horizontal.statistic{--_ui-statistic-layout:horizontal;flex-direction:row;align-items:center}.ui.horizontal.statistic,.ui.horizontal.statistics>.statistic{--_ui-statistic-value-size:calc(var(--ui-font-size) * var(--_statistic-hvalue,3))}.ui.horizontal.statistics{--_statistics-layout:horizontal;--_statistics-member-margin:1em 0;flex-direction:column;max-width:none;margin:0}@container style(--_statistics-layout:horizontal){:host>.ui.statistic,.ui.statistics>.statistic{--_ui-statistic-value-size:calc(var(--ui-font-size) * var(--_statistic-hvalue,3));flex-direction:row;align-items:center}}.ui.inverted.statistic,.ui.inverted.statistics{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui.inverted.statistics{--_statistics-inverted:1}.ui.fluid.statistic{width:100%}.ui[class*=left\\ floated].statistic{float:left;margin:0 var(--_ui-statistic-floated-distance) var(--_ui-statistic-row-spacing) 0}.ui[class*=right\\ floated].statistic{float:right;margin:0 0 var(--_ui-statistic-row-spacing) var(--_ui-statistic-floated-distance)}:host(:last-child)>.ui.floated.statistic,.ui.floated.statistic:last-child{margin-bottom:0}:host(:not(:last-child))>.ui.floated.statistic:not([data-ui]){margin-bottom:var(--_ui-statistic-row-spacing)}.ui:is(.one,.two,.three,.four,.five,.six,.seven,.eight,.nine,.ten).statistics{--_statistics-member-margin:0 0 var(--_ui-statistic-row-spacing);margin:0 0 calc(-1 * var(--_ui-statistic-row-spacing))}.ui.one.statistics{--_statistics-min-width:100%}.ui.two.statistics{--_statistics-min-width:50%}.ui.three.statistics{--_statistics-min-width:33.3333%}.ui.four.statistics{--_statistics-min-width:25%}.ui.five.statistics{--_statistics-min-width:20%}.ui.six.statistics{--_statistics-min-width:16.6667%}.ui.seven.statistics{--_statistics-min-width:14.2857%}.ui.eight.statistics{--_statistics-min-width:12.5%}.ui.nine.statistics{--_statistics-min-width:11.1111%}.ui.ten.statistics{--_statistics-min-width:10%}.ui.equal.statistics:not(.horizontal){--_statistics-flex:1 1 0%;--_statistics-member-margin:0 0 var(--_ui-statistic-row-spacing);margin:0 0 calc(-1 * var(--_ui-statistic-row-spacing))}@container ui-statistics (width<768px){@container not style(--ui-stack-with:page){.ui.stackable.statistics:not(.stack-with-page){--_statistics-stacked:1;width:auto;margin-inline:0}}@container style(--ui-stack-with:page){.ui.stackable.statistics.stack-with-container{--_statistics-stacked:1;width:auto;margin-inline:0}}}@media (width<768px){@container style(--ui-stack-with:page){.ui.stackable.statistics:not(.stack-with-container){--_statistics-stacked:1;width:auto;margin-inline:0}}@container not style(--ui-stack-with:page){.ui.stackable.statistics.stack-with-page{--_statistics-stacked:1;width:auto;margin-inline:0}}}@container style(--_statistics-stacked:1){:host>.ui.statistic,.ui.statistics>.statistic{box-sizing:border-box;width:100%;padding:calc(var(--_ui-statistic-stackable-padding) / 2);flex:0 auto;margin:0}}}@layer ui.components.statistic.states;", D = /* @__PURE__ */ w("<div>"), O = /* @__PURE__ */ w("<div><slot></slot><!>"), k, A, j, M, N, P, F = class _UIStatistic extends (N = o, M = [
|
|
109
|
+
}, E = "@layer ui.components.statistic.types{:host{--ui-color:var(--_statistics-color);--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-hover:initial;--ui-color-focus:initial;--ui-color-down:initial;--ui-color-active:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;display:contents}:host(:state(statistics)){display:block;container:ui-statistics/inline-size}:host(:state(spaced):not(:first-child)){margin-block-start:1em}:has(>.ui.stackable.statistics){container:ui-statistics/inline-size}.ui.statistic,.ui.statistics{--_ui-statistic-margin:var(--ui-statistic-margin,1em 0);--_ui-statistic-horizontal-spacing:var(--ui-statistic-horizontal-spacing,1.5em);--_ui-statistic-row-spacing:var(--ui-statistic-row-spacing,1em);--_ui-statistic-floated-distance:var(--ui-statistic-floated-distance,2em);--_ui-statistic-stackable-padding:var(--ui-statistic-stackable-padding,calc(var(--ui-font-size) * 1))}.ui.statistic,.ui.statistics>.statistic{--_ui-statistic-layout:var(--_statistics-layout,vertical);--_ui-statistic-value-size:var(--ui-statistic-value-size,calc(var(--ui-font-size) * var(--_statistic-value,4)));--_ui-statistic-text-value-size:var(--ui-statistic-text-value-size,calc(var(--ui-font-size) * var(--_statistic-tvalue,2)));--ui-inverted:var(--_statistics-inverted,0)}.ui.statistic{box-sizing:border-box;flex-direction:column;max-width:none;display:inline-flex}.ui.statistics{--_statistics-group:1;--_statistics-color:var(--ui-color);margin:1em calc(-1 * var(--_ui-statistic-horizontal-spacing)) calc(-1 * var(--_ui-statistic-row-spacing));flex-wrap:wrap;align-items:flex-start;display:flex}:host(:first-child)>.ui.statistics,.ui.statistics:first-child{margin-top:0}}@layer ui.components.statistic.content{@container not style(--_statistics-group:1){.ui.statistic{margin:var(--_ui-statistic-margin)}:host(:nth-child(n+2 of :state(statistic)))>.ui.statistic,.ui.statistic+.ui.statistic{margin:0 0 0 var(--_ui-statistic-horizontal-spacing)}:host(:first-child)>.ui.statistic,.ui.statistic:first-child{margin-top:0}:host(:last-child)>.ui.statistic,.ui.statistic:last-child{margin-bottom:0}:host(:not(:nth-child(n+2 of :state(statistic))))>.ui.statistic:not([data-ui]){margin:var(--_ui-statistic-margin)}:host(:first-child:not(:nth-child(n+2 of :state(statistic))))>.ui.statistic:not([data-ui]){margin-top:0}:host(:last-child:not(:nth-child(n+2 of :state(statistic))))>.ui.statistic:not([data-ui]){margin-bottom:0}}@container style(--_statistics-group:1){:host>.ui.statistic,.ui.statistics>.statistic{flex:var(--_statistics-flex,0 1 auto);min-width:var(--_statistics-min-width,0);max-width:none;margin:var(--_statistics-member-margin,0 var(--_ui-statistic-horizontal-spacing) var(--_ui-statistic-row-spacing));flex-direction:column;display:inline-flex}}}@layer ui.components.statistic.variations{.ui.mini:is(.statistic,.statistics){--_statistic-value:1.5;--_statistic-hvalue:1.5;--_statistic-tvalue:1}.ui.tiny:is(.statistic,.statistics){--_statistic-value:2;--_statistic-hvalue:2;--_statistic-tvalue:1}.ui.small:is(.statistic,.statistics){--_statistic-value:3;--_statistic-hvalue:2;--_statistic-tvalue:1}.ui.large:is(.statistic,.statistics){--_statistic-value:5;--_statistic-hvalue:4;--_statistic-tvalue:2.5}.ui.big:is(.statistic,.statistics){--_statistic-value:5.5;--_statistic-hvalue:4.5;--_statistic-tvalue:2.5}.ui.huge:is(.statistic,.statistics){--_statistic-value:6;--_statistic-hvalue:5;--_statistic-tvalue:2.5}.ui.massive:is(.statistic,.statistics){--_statistic-value:7;--_statistic-hvalue:6;--_statistic-tvalue:3}.ui.medium:is(.statistic,.statistics){--_statistic-value:4;--_statistic-hvalue:3;--_statistic-tvalue:2}.ui.horizontal.statistic{--_ui-statistic-layout:horizontal;flex-direction:row;align-items:center}.ui.horizontal.statistic,.ui.horizontal.statistics>.statistic{--_ui-statistic-value-size:calc(var(--ui-font-size) * var(--_statistic-hvalue,3))}.ui.horizontal.statistics{--_statistics-layout:horizontal;--_statistics-member-margin:1em 0;flex-direction:column;max-width:none;margin:0}@container style(--_statistics-layout:horizontal){:host>.ui.statistic,.ui.statistics>.statistic{--_ui-statistic-value-size:calc(var(--ui-font-size) * var(--_statistic-hvalue,3));flex-direction:row;align-items:center}}.ui.inverted.statistic,.ui.inverted.statistics{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}.ui.inverted.statistics{--_statistics-inverted:1}.ui.fluid.statistic{width:100%}.ui[class*=left\\ floated].statistic{float:left;margin:0 var(--_ui-statistic-floated-distance) var(--_ui-statistic-row-spacing) 0}.ui[class*=right\\ floated].statistic{float:right;margin:0 0 var(--_ui-statistic-row-spacing) var(--_ui-statistic-floated-distance)}:host(:last-child)>.ui.floated.statistic,.ui.floated.statistic:last-child{margin-bottom:0}:host(:not(:last-child))>.ui.floated.statistic:not([data-ui]){margin-bottom:var(--_ui-statistic-row-spacing)}.ui:is(.one,.two,.three,.four,.five,.six,.seven,.eight,.nine,.ten).statistics{--_statistics-member-margin:0 0 var(--_ui-statistic-row-spacing);margin:0 0 calc(-1 * var(--_ui-statistic-row-spacing))}.ui.one.statistics{--_statistics-min-width:100%}.ui.two.statistics{--_statistics-min-width:50%}.ui.three.statistics{--_statistics-min-width:33.3333%}.ui.four.statistics{--_statistics-min-width:25%}.ui.five.statistics{--_statistics-min-width:20%}.ui.six.statistics{--_statistics-min-width:16.6667%}.ui.seven.statistics{--_statistics-min-width:14.2857%}.ui.eight.statistics{--_statistics-min-width:12.5%}.ui.nine.statistics{--_statistics-min-width:11.1111%}.ui.ten.statistics{--_statistics-min-width:10%}.ui.equal.statistics:not(.horizontal){--_statistics-flex:1 1 0%;--_statistics-member-margin:0 0 var(--_ui-statistic-row-spacing);margin:0 0 calc(-1 * var(--_ui-statistic-row-spacing))}@container ui-statistics (width<768px){@container not style(--ui-stack-with:page){.ui.stackable.statistics:not(.stack-with-page){--_statistics-stacked:1;width:auto;margin-inline:0}}@container style(--ui-stack-with:page){.ui.stackable.statistics.stack-with-container{--_statistics-stacked:1;width:auto;margin-inline:0}}}@media (width<768px){@container style(--ui-stack-with:page){.ui.stackable.statistics:not(.stack-with-container){--_statistics-stacked:1;width:auto;margin-inline:0}}@container not style(--ui-stack-with:page){.ui.stackable.statistics.stack-with-page{--_statistics-stacked:1;width:auto;margin-inline:0}}}@container style(--_statistics-stacked:1){:host>.ui.statistic,.ui.statistics>.statistic{box-sizing:border-box;width:100%;padding:calc(var(--_ui-statistic-stackable-padding) / 2);flex:0 auto;margin:0}}}@layer ui.components.statistic.states;", D = /* @__PURE__ */ w("<div>"), O = /* @__PURE__ */ w("<div><slot></slot><!>"), k, A, j, M, N, P, F = class _UIStatistic extends (N = o, M = [f], j = [p], A = [u("statistic")], k = [d], N) {
|
|
109
110
|
constructor() {
|
|
110
|
-
super(...arguments),
|
|
111
|
+
super(...arguments), l(P, 5, this);
|
|
111
112
|
}
|
|
112
113
|
get isStatistic() {
|
|
113
114
|
return !0;
|
|
114
115
|
}
|
|
115
116
|
render() {
|
|
116
117
|
let e = this;
|
|
117
|
-
var
|
|
118
|
-
return x(
|
|
118
|
+
var n = O(), r = n.firstChild, i = r.nextSibling;
|
|
119
|
+
return x(n, v(g, {
|
|
119
120
|
get when() {
|
|
120
121
|
return e.value;
|
|
121
122
|
},
|
|
@@ -128,42 +129,42 @@ var T = {
|
|
|
128
129
|
_(t, e, r?.e), n !== r?.t && C(t, "part", n);
|
|
129
130
|
}), t;
|
|
130
131
|
}
|
|
131
|
-
}), r), r._$owner = b(), x(
|
|
132
|
+
}), r), r._$owner = b(), x(n, v(g, {
|
|
132
133
|
get when() {
|
|
133
134
|
return e.label;
|
|
134
135
|
},
|
|
135
136
|
get children() {
|
|
136
|
-
var
|
|
137
|
-
return x(
|
|
138
|
-
e: S(e.staticPart(
|
|
137
|
+
var n = D();
|
|
138
|
+
return x(n, () => e.label), y(() => ({
|
|
139
|
+
e: S(e.staticPart(t)),
|
|
139
140
|
t: e.partForName("label")
|
|
140
|
-
}), ({ e, t
|
|
141
|
-
_(
|
|
142
|
-
}),
|
|
141
|
+
}), ({ e, t }, r) => {
|
|
142
|
+
_(n, e, r?.e), t !== r?.t && C(n, "part", t);
|
|
143
|
+
}), n;
|
|
143
144
|
}
|
|
144
145
|
}), i), y(() => ({
|
|
145
146
|
e: S(e.rootClass),
|
|
146
147
|
t: e.partForName("statistic")
|
|
147
|
-
}), ({ e, t
|
|
148
|
-
_(
|
|
149
|
-
}),
|
|
148
|
+
}), ({ e, t }, r) => {
|
|
149
|
+
_(n, e, r?.e), t !== r?.t && C(n, "part", t);
|
|
150
|
+
}), n;
|
|
150
151
|
}
|
|
151
152
|
get valueClasses() {
|
|
152
153
|
let e = this.staticPart(L);
|
|
153
|
-
return this.text ? `${
|
|
154
|
+
return this.text ? `${a} ${e}` : e;
|
|
154
155
|
}
|
|
155
156
|
staticPart(e) {
|
|
156
157
|
return `${e} in-${this.vocabulary.noun}`;
|
|
157
158
|
}
|
|
158
159
|
};
|
|
159
|
-
P =
|
|
160
|
+
P = e(N), s(P, 2, "isStatistic", A, F), s(P, 2, "valueClasses", k, F), s(P, 13, "vocabulary", M, F), s(P, 13, "elementSetup", j, F), c(P, F), r(F, "UIStatistic"), n(F, "vocabulary", l(P, 8, F, T)), l(P, 11, F), n(F, "elementSetup", l(P, 12, F, {
|
|
160
161
|
styleSheets: {
|
|
161
162
|
statistic: E,
|
|
162
163
|
...i.prototype.elementSetup.styleSheets
|
|
163
164
|
},
|
|
164
165
|
cssStates: ["inverted"],
|
|
165
166
|
delegatesFocus: !1
|
|
166
|
-
})),
|
|
167
|
+
})), l(P, 15, F);
|
|
167
168
|
var I = F, L = "value", R = {
|
|
168
169
|
tag: "ui-statistics",
|
|
169
170
|
icon: "chart bar",
|
|
@@ -179,6 +180,7 @@ var I = F, L = "value", R = {
|
|
|
179
180
|
"dashboard numbers"
|
|
180
181
|
],
|
|
181
182
|
noun: "statistics",
|
|
183
|
+
partOfSpeech: "structure",
|
|
182
184
|
description: "A group of statistics.",
|
|
183
185
|
attributes: [
|
|
184
186
|
{
|
|
@@ -220,7 +222,7 @@ var I = F, L = "value", R = {
|
|
|
220
222
|
name: "stack-with",
|
|
221
223
|
group: "layout",
|
|
222
224
|
kind: "enum",
|
|
223
|
-
values:
|
|
225
|
+
values: h,
|
|
224
226
|
description: "What `stackable` measures: `container` (the default) -- the group's own width; `page` -- the screen's, as in Fomantic. Unset: the page-wide `--ui-stack-with` token decides (`<ui-root stack-with>`)."
|
|
225
227
|
},
|
|
226
228
|
{
|
|
@@ -266,9 +268,9 @@ var I = F, L = "value", R = {
|
|
|
266
268
|
description: "Set unless `horizontal` or `widths`: the group keeps Fomantic's 1em top margin, which the HOST carries (so it collapses with the content above)."
|
|
267
269
|
}],
|
|
268
270
|
texts: []
|
|
269
|
-
}, z = /* @__PURE__ */ w("<div><slot>"), B, V, H, U, W, G, K = class _UIStatistics extends (W = o, U = [
|
|
271
|
+
}, z = /* @__PURE__ */ w("<div><slot>"), B, V, H, U, W, G, K = class _UIStatistics extends (W = o, U = [f], H = [p], V = [u("statistics")], B = [u("spaced")], W) {
|
|
270
272
|
constructor() {
|
|
271
|
-
super(...arguments),
|
|
273
|
+
super(...arguments), l(G, 5, this);
|
|
272
274
|
}
|
|
273
275
|
get isStatistics() {
|
|
274
276
|
return !0;
|
|
@@ -277,7 +279,7 @@ var I = F, L = "value", R = {
|
|
|
277
279
|
return !this.direction && !this.widths;
|
|
278
280
|
}
|
|
279
281
|
get extraClass() {
|
|
280
|
-
return
|
|
282
|
+
return m.classFor(this.stackWith);
|
|
281
283
|
}
|
|
282
284
|
render() {
|
|
283
285
|
let e = this;
|
|
@@ -290,13 +292,12 @@ var I = F, L = "value", R = {
|
|
|
290
292
|
}), t;
|
|
291
293
|
}
|
|
292
294
|
};
|
|
293
|
-
G =
|
|
295
|
+
G = e(W), s(G, 2, "isStatistics", V, K), s(G, 2, "isSpaced", B, K), s(G, 13, "vocabulary", U, K), s(G, 13, "elementSetup", H, K), c(G, K), r(K, "UIStatistics"), n(K, "vocabulary", l(G, 8, K, R)), l(G, 11, K), n(K, "elementSetup", l(G, 12, K, {
|
|
294
296
|
styleSheets: { statistic: E },
|
|
295
297
|
delegatesFocus: !1
|
|
296
|
-
})),
|
|
298
|
+
})), l(G, 15, K);
|
|
297
299
|
var q = K;
|
|
298
300
|
I.define(), q.define();
|
|
299
|
-
//#endregion
|
|
300
301
|
export { I as UIStatistic, q as UIStatistics };
|
|
301
302
|
|
|
302
303
|
//# sourceMappingURL=ui-statistic.js.map
|
package/dist/ui-statistic.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-statistic.js","names":["<Show when={this.value}>\n <div class={this.valueClasses} part={this.partForName(\"value\")}>\n {this.value}\n </div>\n </Show>","this","part={this.partForName(\"value\")}","<div class={this.valueClasses} part={this.partForName(\"value\")}>\n {this.value}\n </div>","<div class={this.rootClass} part={this.partForName(\"statistic\")}>\n <Show when={this.value}>\n <div class={this.valueClasses} part={this.partForName(\"value\")}>\n {this.value}\n </div>\n </Show>\n <slot />\n <Show when={this.label}>\n <div class={this.staticPart(UIT.LABEL)} part={this.partForName(\"label\")}>\n {this.label}\n </div>\n </Show>\n </div>","<Show when={this.label}>\n <div class={this.staticPart(UIT.LABEL)} part={this.partForName(\"label\")}>\n {this.label}\n </div>\n </Show>","part={this.partForName(\"label\")}","<div class={this.staticPart(UIT.LABEL)} part={this.partForName(\"label\")}>\n {this.label}\n </div>","part={this.partForName(\"statistic\")}","_tmpl$","_elementSetup_dec","_vocabulary_dec","_a","_init","E.UIComponent","E.proto","E.protoMerged","E.cssState","E.derived","_$createComponent","_$readShallow","_$setAttribute","_$getOwner","UIT.LABEL","UIT.TEXT","__name","statisticCSS","UIT.StackWithValues","this","part={this.partForName(\"group\")}","<div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>","E.UIComponent","E.proto","E.protoMerged","E.cssState","_$getOwner","_$readShallow","_$setAttribute","__name","statisticCSS","__name$1","__publicField","LABEL","__decorateElement","__decoratorMetadata","__runInitializers","StackClasses","StackWithValues","TEXT","__decoratorStart","getOwner$1","statisticVocabulary","UIStatistic_default","_tmpl$$1","_tmpl$2","_valueClasses_dec","_isStatistic_dec","_elementSetup_dec$1","_vocabulary_dec$1","_a$1","_init$1","_UIStatistic","UIComponent","proto","protoMerged","cssState","derived","_self$","_el$","_el$3","_el$5","insert","createComponent","Show","_el$2","effect","readShallow","className","_p$","t","setAttribute","_el$4","value","VALUE","noun","PartComponent","UIStatistic","statisticsVocabulary","_tmpl$","_isSpaced_dec","_isStatistics_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_UIStatistics","UIStatistics"],"sources":["../src/components/ui-statistic/UIStatistic.en.ts","../src/components/ui-statistic/UIStatistic.css?inline","../src/components/ui-statistic/UIStatistic.tsx","../src/components/ui-statistic/UIStatistics.en.ts","../src/components/ui-statistic/UIStatistics.tsx","../src/components/ui-statistic/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-statistic>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots, parts and states.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar:\n * `<ui-statistic size=\"large\" color=\"red\" direction=\"horizontal\">` => `ui large red horizontal statistic`;\n * `<ui-statistics widths=\"3\" stackable>` => `ui stackable three statistics`. `UIStatistic.css` keys on those words.\n * - Content is the GENERIC parts, owned by the statistic (`ownsParts`): `<ui-value>` (Fomantic's `.value`) and\n * `<ui-label>` (Fomantic's `.label`). There is NO separate label part tag: a `<ui-label>` inside a statistic\n * already renders as that statistic's `.label` part (`UILabel`, `:state(in-statistic)`), so the one word \"label\"\n * keeps meaning one element, and a `<ui-label-part>` / `<ui-caption>` would only be a second spelling of it.\n * - Shorthand: `value` / `label` render the same two parts inside the statistic's own shadow root,\n * the value BEFORE the slot and the label AFTER it, so either pairs with a slotted part;\n * slotted parts keep their order, so a `<ui-label>` before a `<ui-value>` is Fomantic's top label.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `statisticVocabulary`\n * The names of `<ui-statistic>`, a statistic: `<div class=\"ui ... statistic\" part=\"statistic\">` holding the `value`\n * shorthand, the slot and the `label` shorthand.\n ****************/\nexport const statisticVocabulary = {\n tag: \"ui-statistic\",\n icon: \"chart bar outline\",\n topics: [\"data display\", \"text\", \"views\"],\n aka: [\"stat\", \"kpi\", \"metric\", \"counter\", \"number display\"],\n skeleton: \"inline 6 x 4\",\n noun: \"statistic\",\n plural: \"statistics\",\n description: \"A statistic emphasizes the current value of an attribute.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Size of the value, `mini` ... `massive`; `medium` is the default.\"\n },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of the value.\" },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\"],\n replaces: [{ from: \"horizontal\", value: \"horizontal\" }],\n description: \"`horizontal`: value and label on one line. Its old name was `horizontal`.\"\n },\n {\n name: \"inverted\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"For dark backgrounds: the dark scheme, a white value.\"\n },\n { name: \"fluid\", group: \"layout\", kind: \"keyOnly\", description: \"Takes the full width of its container.\" },\n {\n name: \"value\",\n group: \"form\",\n kind: \"string\",\n description: \"Shorthand for a `<ui-value>`: the number (or word) shown.\"\n },\n {\n name: \"text\",\n group: \"name\",\n kind: \"boolean\",\n description: \"The `value` shorthand is a WORD (`text value`): smaller, bold, at least two lines tall.\"\n },\n { name: \"label\", group: \"name\", kind: \"string\", description: \"Shorthand for the label below the value.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"`<ui-value>` and `<ui-label>` parts, in display order.\" }],\n parts: [\n { name: \"statistic\", description: \"The statistic box.\" },\n { name: \"value\", description: \"The `value` shorthand.\" },\n { name: \"label\", description: \"The `label` shorthand.\" }\n ],\n states: [\n {\n name: \"statistic\",\n description:\n \"ALWAYS set: `UIStatistic.css` spaces a statistic after another by it (a shadow root can't see its host's sibling).\"\n },\n { name: \"inverted\", description: \"For dark backgrounds.\" }\n ],\n texts: [],\n ownsParts: [\"value\", \"label\"]\n} as const satisfies E.ComponentVocabulary\n","/*\n * The style sheet of `<ui-statistic>` and `<ui-statistics>`:\n * a port of Fomantic's `statistic.less` + `statistic.variables`, the BOXES.\n * The value and label rules (`.ui.statistic > .value / .label`, sizes, horizontal, inverted, colours)\n * are the generic parts' (`UIParts.css`, `:state(in-statistic)`), which read the owner tokens this sheet declares.\n * - ONE sheet for both elements; each adopts it after the foundation\n * (the statistic also adopts `UIParts.css`, for its `value` / `label` shorthands).\n * - Shadow markup contract (class grammar on semantic elements):\n * - `<ui-statistic>`: `<div class=\"ui [size] [color] [keyOnly ...] [floated] statistic\" part=\"statistic\">`,\n * holding the shorthands, then `<slot>`:\n * `<div class=\"[text] value in-statistic\" part=\"value\">` and `<div class=\"label in-statistic\" part=\"label\">`\n * (the STATIC part classes: they are real children of this root)\n * - `<ui-statistics>`: `<div class=\"ui [size] [color] [keyOnly ...] [count] statistics\" part=\"group\">`\n * around `<slot>`\n * - DOM elements:\n * - a statistic's is `display: contents`: the root IS the flex column, where Fomantic's `.ui.statistic` sat\n * - a group's is a BLOCK, and the size container `ui-statistics`, for `stackable`\n * - The DOM element's position stands in for Fomantic's sibling selectors:\n * - `:host(:first-child)` for `:first-child`\n * - `:host(:nth-child(n + 2 of :state(statistic)))` for `.ui.statistic + .ui.statistic`:\n * a statistic AFTER another, not necessarily adjacent (a shadow root can't see its DOM element's previous sibling)\n *\n * ## Public tokens\n * `--ui-statistic-*` (the theming surface) are NEVER declared here:\n * every statistic and group root reads each through a private alias, and every rule reads the alias:\n * `--_ui-statistic-row-spacing: var(--ui-statistic-row-spacing, 1em)`.\n * So a value set on `:root`, an ancestor, the DOM element, `::part(statistic)` / `::part(group)`\n * or in the app stylesheet reaches the box (`notes/theming.md` \"Component tokens\").\n *\n * ## Owner tokens (read by `UIParts.css`)\n * Every statistic root declares them, defaults included:\n * - `--_ui-statistic-layout` -- `vertical` / `horizontal` (`horizontal`, or a horizontal group)\n * - `--_ui-statistic-value-size` / `--_ui-statistic-text-value-size` -- the aliases of the public value font sizes:\n * - defaulting to its size's (Fomantic's ladder, a multiple of `--ui-font-size`);\n * `horizontal` swaps in the horizontal ladder\n * - so a page sets them on the statistic, its group or above, not on the value part\n * - `--ui-inverted` -- `0` / `1`; `inverted` also sets `color-scheme: dark`, and every `light-dark()` token follows\n *\n * ## Group -> statistic\n * A statistic can't see its group's classes, so a group root hands its members PRIVATE inherited tokens,\n * which a statistic root reads first (never set them from outside):\n * - `--_statistics-group: 1` -- in a group: the member layout instead of the standalone margins\n * - `--_statistic-value` / `-hvalue` / `-tvalue` -- size ratios, declared by a size class on either root;\n * a member without its own size inherits the group's\n * - `--_statistics-layout: horizontal`, `--_statistics-inverted: 1` -- a horizontal / inverted group\n * - `--_statistics-min-width` / `--_statistics-member-margin` -- an evenly divided group (`three statistics`)\n * - `--_statistics-flex` -- a member's `flex`: an equal share of the row in an `equal` group\n * - `--_statistics-stacked: 1` -- a `stackable` group narrower than 768px (the GROUP's width).\n * The group root answers the size query in its own tree and hands the answer down:\n * container names are tree-scoped, so a member couldn't query its group's container itself.\n * - `--_statistics-color` -- the group's `--ui-color` (its `.ui.red` remap),\n * which a member's DOM element takes back after dropping every inherited colour token.\n * - Only its own or its group's colour paints a value, never an ancestor's (a `ui-red` wrapper).\n * - Static markup has no DOM element, so a static statistic still inherits one.\n *\n * - NOTE: left out, on purpose:\n * - Fomantic's `!important`s (stackable members, horizontal text values): sublayers and source order win\n * - the top / bottom label distances (both `0` in the default theme)\n * - a value's `<img>` (`max-height: 3rem`) and icon (`opacity`, `margin`) are the value part's (`UIParts.css`)\n * - `.ui.statistics::after` clearing: the group is a flex container, so nothing inside floats out of it\n */\n\n@layer ui.components.statistic.types, ui.components.statistic.content, ui.components.statistic.variations, ui.components.statistic.states;\n\n/* Breakpoints (`@custom-media`), inlined at build time: `stack-with=\"page\"`. */\n@import \"../../styles/media.css\";\n\n/*******************************\n Statistic\n*******************************/\n\n@layer ui.components.statistic.types {\n /* DOM elements: a statistic's root is the box; a group's DOM element is the size container for `stackable`. */\n :host {\n display: contents;\n }\n /*\n * Colour: every DOM element drops the generic colour tokens it inherits,\n * so a statistic inside a `ui-red` wrapper (or any owner that doesn't reset them) keeps its ink.\n * - A member takes back ONLY its group's `--ui-color`, handed down as `--_statistics-color`.\n * - The root's own `.ui.red` remap still wins (it sits below the DOM element).\n */\n :host {\n --ui-color: var(--_statistics-color);\n --ui-color-text: initial;\n --ui-color-header: initial;\n --ui-color-border: initial;\n --ui-color-background: initial;\n --ui-color-inverted: initial;\n --ui-color-hover: initial;\n --ui-color-focus: initial;\n --ui-color-down: initial;\n --ui-color-active: initial;\n --ui-color-on: initial;\n --ui-color-inverted-on: initial;\n }\n :host(:state(statistics)) {\n display: block;\n container: ui-statistics / inline-size;\n }\n /*\n * A group's outer top margin sits on the DOM ELEMENT:\n * a size container is its own formatting context,\n * so a margin on the root inside it never collapses with the heading above, as class grammar's does.\n * - `:state(spaced)`: the group keeps Fomantic's `1em` (not `horizontal`, no `widths`, whose roots zero it).\n * - The root's own top margin is always `0` in the shadow root\n * (`.ui.statistics:first-child` below: it is an only child there).\n */\n :host(:state(spaced):not(:first-child)) {\n margin-block-start: 1em;\n }\n /* Static markup: a stackable group's parent is the container. */\n :has(> .ui.stackable.statistics) {\n container: ui-statistics / inline-size;\n }\n\n /* Tokens: one private alias per `statistic.variables` entry that still matters, from the global tokens. */\n .ui.statistic,\n .ui.statistics {\n --_ui-statistic-margin: var(--ui-statistic-margin, 1em 0);\n --_ui-statistic-horizontal-spacing: var(--ui-statistic-horizontal-spacing, 1.5em);\n --_ui-statistic-row-spacing: var(--ui-statistic-row-spacing, 1em);\n --_ui-statistic-floated-distance: var(--ui-statistic-floated-distance, 2em);\n --_ui-statistic-stackable-padding: var(--ui-statistic-stackable-padding, calc(var(--ui-font-size) * 1));\n }\n\n /* Owner tokens every statistic root declares (see the header). */\n .ui.statistic,\n .ui.statistics > .statistic {\n --_ui-statistic-layout: var(--_statistics-layout, vertical);\n --_ui-statistic-value-size: var(--ui-statistic-value-size, calc(var(--ui-font-size) * var(--_statistic-value, 4)));\n --_ui-statistic-text-value-size: var(\n --ui-statistic-text-value-size,\n calc(var(--ui-font-size) * var(--_statistic-tvalue, 2))\n );\n --ui-inverted: var(--_statistics-inverted, 0);\n }\n\n /* Standalone: a flex column. */\n .ui.statistic {\n display: inline-flex;\n flex-direction: column;\n max-width: none;\n box-sizing: border-box;\n }\n\n /* Group: a wrapping row of statistics, pulled out by their gutters. */\n .ui.statistics {\n --_statistics-group: 1;\n --_statistics-color: var(--ui-color);\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n margin: 1em calc(-1 * var(--_ui-statistic-horizontal-spacing)) calc(-1 * var(--_ui-statistic-row-spacing));\n }\n :host(:first-child) > .ui.statistics,\n .ui.statistics:first-child {\n margin-top: 0;\n }\n}\n\n@layer ui.components.statistic.content {\n /* Standalone spacing: only outside a group. */\n @container not style(--_statistics-group: 1) {\n .ui.statistic {\n margin: var(--_ui-statistic-margin);\n }\n :host(:nth-child(n + 2 of :state(statistic))) > .ui.statistic,\n .ui.statistic + .ui.statistic {\n margin: 0 0 0 var(--_ui-statistic-horizontal-spacing);\n }\n :host(:first-child) > .ui.statistic,\n .ui.statistic:first-child {\n margin-top: 0;\n }\n :host(:last-child) > .ui.statistic,\n .ui.statistic:last-child {\n margin-bottom: 0;\n }\n /*\n * Shadow DOM: the root is always an only child,\n * so the class-grammar `:first-child` / `:last-child` above always match there.\n * The DOM element's position decides instead: the full margin back, then the edges it loses.\n * - `:not([data-ui])`: a static server render's root (`spell/ui/static`) is a real child, which the rules above\n * already space as class grammar.\n */\n :host(:not(:nth-child(n + 2 of :state(statistic)))) > .ui.statistic:not([data-ui]) {\n margin: var(--_ui-statistic-margin);\n }\n :host(:first-child:not(:nth-child(n + 2 of :state(statistic)))) > .ui.statistic:not([data-ui]) {\n margin-top: 0;\n }\n :host(:last-child:not(:nth-child(n + 2 of :state(statistic)))) > .ui.statistic:not([data-ui]) {\n margin-bottom: 0;\n }\n }\n\n /* A member of a group. */\n @container style(--_statistics-group: 1) {\n :host > .ui.statistic,\n .ui.statistics > .statistic {\n display: inline-flex;\n flex: var(--_statistics-flex, 0 1 auto);\n flex-direction: column;\n min-width: var(--_statistics-min-width, 0);\n max-width: none;\n margin: var(\n --_statistics-member-margin,\n 0 var(--_ui-statistic-horizontal-spacing) var(--_ui-statistic-row-spacing)\n );\n }\n }\n}\n\n/*******************************\n Variations\n*******************************/\n\n@layer ui.components.statistic.variations {\n /* Sizes: ratios of `--ui-font-size` for the value, the horizontal value and a text value (Fomantic's rem ladder);\n declared on either root, so a group's size reaches members without one. */\n .ui.mini:is(.statistic, .statistics) {\n --_statistic-value: 1.5;\n --_statistic-hvalue: 1.5;\n --_statistic-tvalue: 1;\n }\n .ui.tiny:is(.statistic, .statistics) {\n --_statistic-value: 2;\n --_statistic-hvalue: 2;\n --_statistic-tvalue: 1;\n }\n .ui.small:is(.statistic, .statistics) {\n --_statistic-value: 3;\n --_statistic-hvalue: 2;\n --_statistic-tvalue: 1;\n }\n .ui.large:is(.statistic, .statistics) {\n --_statistic-value: 5;\n --_statistic-hvalue: 4;\n --_statistic-tvalue: 2.5;\n }\n .ui.big:is(.statistic, .statistics) {\n --_statistic-value: 5.5;\n --_statistic-hvalue: 4.5;\n --_statistic-tvalue: 2.5;\n }\n .ui.huge:is(.statistic, .statistics) {\n --_statistic-value: 6;\n --_statistic-hvalue: 5;\n --_statistic-tvalue: 2.5;\n }\n .ui.massive:is(.statistic, .statistics) {\n --_statistic-value: 7;\n --_statistic-hvalue: 6;\n --_statistic-tvalue: 3;\n }\n /* Static markup only: `sizes.css` makes `.medium` a no-op anyway. */\n .ui.medium:is(.statistic, .statistics) {\n --_statistic-value: 4;\n --_statistic-hvalue: 3;\n --_statistic-tvalue: 2;\n }\n\n /* Horizontal: label beside the value, on the horizontal size ladder. */\n .ui.horizontal.statistic {\n --_ui-statistic-layout: horizontal;\n flex-direction: row;\n align-items: center;\n }\n .ui.horizontal.statistic,\n .ui.horizontal.statistics > .statistic {\n --_ui-statistic-value-size: calc(var(--ui-font-size) * var(--_statistic-hvalue, 3));\n }\n .ui.horizontal.statistics {\n --_statistics-layout: horizontal;\n --_statistics-member-margin: 1em 0;\n flex-direction: column;\n max-width: none;\n margin: 0;\n }\n @container style(--_statistics-layout: horizontal) {\n :host > .ui.statistic,\n .ui.statistics > .statistic {\n --_ui-statistic-value-size: calc(var(--ui-font-size) * var(--_statistic-hvalue, 3));\n flex-direction: row;\n align-items: center;\n }\n }\n\n /* Inverted: the dark scheme; parts turn the value white. */\n .ui.inverted.statistic,\n .ui.inverted.statistics {\n --ui-inverted: 1;\n --ui-scheme: dark;\n color-scheme: dark;\n }\n .ui.inverted.statistics {\n --_statistics-inverted: 1;\n }\n\n /* Fluid */\n .ui.fluid.statistic {\n width: 100%;\n }\n\n /* Floated */\n .ui[class*=\"left floated\"].statistic {\n float: left;\n margin: 0 var(--_ui-statistic-floated-distance) var(--_ui-statistic-row-spacing) 0;\n }\n .ui[class*=\"right floated\"].statistic {\n float: right;\n margin: 0 0 var(--_ui-statistic-row-spacing) var(--_ui-statistic-floated-distance);\n }\n :host(:last-child) > .ui.floated.statistic,\n .ui.floated.statistic:last-child {\n margin-bottom: 0;\n }\n /* Shadow DOM: the root is always a last child (above), so the DOM element's position decides. */\n :host(:not(:last-child)) > .ui.floated.statistic:not([data-ui]) {\n margin-bottom: var(--_ui-statistic-row-spacing);\n }\n\n /* Evenly divided: each member at least 1/N of the row. */\n .ui:is(.one, .two, .three, .four, .five, .six, .seven, .eight, .nine, .ten).statistics {\n --_statistics-member-margin: 0 0 var(--_ui-statistic-row-spacing);\n margin: 0 0 calc(-1 * var(--_ui-statistic-row-spacing));\n }\n .ui.one.statistics {\n --_statistics-min-width: 100%;\n }\n .ui.two.statistics {\n --_statistics-min-width: 50%;\n }\n .ui.three.statistics {\n --_statistics-min-width: 33.33333%;\n }\n .ui.four.statistics {\n --_statistics-min-width: 25%;\n }\n .ui.five.statistics {\n --_statistics-min-width: 20%;\n }\n .ui.six.statistics {\n --_statistics-min-width: 16.66667%;\n }\n .ui.seven.statistics {\n --_statistics-min-width: 14.28571%;\n }\n .ui.eight.statistics {\n --_statistics-min-width: 12.5%;\n }\n .ui.nine.statistics {\n --_statistics-min-width: 11.11111%;\n }\n .ui.ten.statistics {\n --_statistics-min-width: 10%;\n }\n\n /* Equal (`equal`, no count): one row, an equal share of it each (the group spans its row). */\n .ui.equal.statistics:not(.horizontal) {\n --_statistics-flex: 1 1 0%;\n --_statistics-member-margin: 0 0 var(--_ui-statistic-row-spacing);\n margin: 0 0 calc(-1 * var(--_ui-statistic-row-spacing));\n }\n\n /* Stackable: below 768px of the group, one full-width statistic per row. */\n @container ui-statistics (width < 768px) {\n @container not style(--ui-stack-with: page) {\n .ui.stackable.statistics:not(.stack-with-page) {\n --_statistics-stacked: 1;\n width: auto;\n margin-inline: 0;\n }\n }\n @container style(--ui-stack-with: page) {\n .ui.stackable.statistics.stack-with-container {\n --_statistics-stacked: 1;\n width: auto;\n margin-inline: 0;\n }\n }\n }\n @media (--ui-mobile) {\n @container style(--ui-stack-with: page) {\n .ui.stackable.statistics:not(.stack-with-container) {\n --_statistics-stacked: 1;\n width: auto;\n margin-inline: 0;\n }\n }\n @container not style(--ui-stack-with: page) {\n .ui.stackable.statistics.stack-with-page {\n --_statistics-stacked: 1;\n width: auto;\n margin-inline: 0;\n }\n }\n }\n @container style(--_statistics-stacked: 1) {\n :host > .ui.statistic,\n .ui.statistics > .statistic {\n box-sizing: border-box;\n /* an `equal` group's share would keep them in one row */\n flex: 0 1 auto;\n width: 100%;\n margin: 0;\n padding: calc(var(--_ui-statistic-stackable-padding) / 2);\n }\n }\n}\n","import { Show } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { statisticVocabulary } from \"./UIStatistic.en\"\n\nimport statisticCSS from \"./UIStatistic.css?inline\"\n\n/****************\n * ### `UIStatistic`\n * The component behind `<ui-statistic>`: a number with a label.\n * Its shadow DOM:\n * `<div class=\"ui … statistic\" part=\"statistic\">` holding the `value` shorthand, the slot, then the `label` shorthand,\n * so either shorthand can pair with a slotted part and still read value over label.\n *\n * - It OWNS the `value` and `label` parts (`ownsParts`):\n * a slotted `<ui-value>` or `<ui-label>` finds it through `PartContext`,\n * sets `:state(in-statistic)` and styles itself from `UIParts.css`,\n * reading the owner tokens `UIStatistic.css` declares on the root (layout, value sizes, `--ui-inverted`).\n * `define()` registers it as their owner.\n *\n * - The shorthands are the SAME parts, drawn in this shadow root:\n * `<div class=\"value in-statistic\">` and `<div class=\"label in-statistic\">`,\n * the static part classes `UIParts.css` keys on (they ARE children of this root),\n * which is why this component adopts `UIParts.css` too (`E.PartComponent`'s `elementSetup.styleSheets`).\n * - `text` makes the value shorthand a word value.\n *\n * - No role: a statistic is text; the page names a group of them where it matters\n * (a heading, `aria-label` on a region).\n ****************/\nexport class UIStatistic extends E.UIComponent<typeof statisticVocabulary> {\n @E.proto static vocabulary = statisticVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { statistic: statisticCSS, ...E.PartComponent.prototype.elementSetup.styleSheets },\n cssStates: [\"inverted\"],\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n /** Always `:state(statistic)`. */\n @E.cssState(\"statistic\")\n get isStatistic(): boolean {\n return true\n }\n\n render(): JSX.Element {\n return (\n <div class={this.rootClass} part={this.partForName(\"statistic\")}>\n <Show when={this.value}>\n <div class={this.valueClasses} part={this.partForName(\"value\")}>\n {this.value}\n </div>\n </Show>\n <slot />\n <Show when={this.label}>\n <div class={this.staticPart(UIT.LABEL)} part={this.partForName(\"label\")}>\n {this.label}\n </div>\n </Show>\n </div>\n )\n }\n\n /** Classes of the value shorthand: `[text] value in-statistic`. */\n @E.derived\n private get valueClasses(): string {\n const value = this.staticPart(VALUE)\n return this.text ? `${UIT.TEXT} ${value}` : value\n }\n\n /** Classes of a shorthand: the part noun and the static owner class, e.g. `label in-statistic`. */\n private staticPart(noun: string): string {\n return `${noun} ${UIT.PART_STATIC_CLASS_PREFIX}${this.vocabulary.noun}`\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIStatistic extends E.AttributeValues<typeof statisticVocabulary> {}\n\n/** The `value` shorthand: its attribute, part noun and class word. */\nconst VALUE = \"value\"\n","/**\n * The English vocabulary of `<ui-statistics>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots, parts and states.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar:\n * `<ui-statistic size=\"large\" color=\"red\" direction=\"horizontal\">` => `ui large red horizontal statistic`;\n * `<ui-statistics widths=\"3\" stackable>` => `ui stackable three statistics`. `UIStatistic.css` keys on those words.\n * - Content is the GENERIC parts, owned by the statistic (`ownsParts`): `<ui-value>` (Fomantic's `.value`) and\n * `<ui-label>` (Fomantic's `.label`). There is NO separate label part tag: a `<ui-label>` inside a statistic\n * already renders as that statistic's `.label` part (`UILabel`, `:state(in-statistic)`), so the one word \"label\"\n * keeps meaning one element, and a `<ui-label-part>` / `<ui-caption>` would only be a second spelling of it.\n * - Shorthand: `value` / `label` render the same two parts inside the statistic's own shadow root,\n * the value BEFORE the slot and the label AFTER it, so either pairs with a slotted part;\n * slotted parts keep their order, so a `<ui-label>` before a `<ui-value>` is Fomantic's top label.\n */\n\nimport type { E } from \"spell/ui/core\"\nimport * as UIT from \"spell/ui/components/components.types\"\n\n/****************\n * ### `statisticsVocabulary`\n * The names of `<ui-statistics>`, a group of statistics sharing one look: `<div class=\"ui ...\n * statistics\" part=\"group\">`.\n ****************/\nexport const statisticsVocabulary = {\n tag: \"ui-statistics\",\n icon: \"chart bar\",\n topics: [\"data display\", \"layout\", \"views\"],\n aka: [\"stats\", \"kpis\", \"metrics\", \"dashboard numbers\"],\n noun: \"statistics\",\n description: \"A group of statistics.\",\n attributes: [\n { name: \"size\", group: \"appearance\", kind: \"size\", description: \"Size of every statistic in the group.\" },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of every value in the group.\" },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\"],\n replaces: [{ from: \"horizontal\", value: \"horizontal\" }],\n description:\n \"`horizontal`: statistics stacked, each with its label beside its value. Its old name was `horizontal`.\"\n },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"Every statistic for dark backgrounds.\" },\n {\n name: \"stackable\",\n group: \"layout\",\n kind: \"keyOnly\",\n description:\n \"Below 768px of the group's width (or the screen's: `stack-with`), one statistic per row, full width.\"\n },\n {\n name: \"stack-with\",\n group: \"layout\",\n kind: \"enum\",\n values: UIT.StackWithValues,\n description:\n \"What `stackable` measures: `container` (the default) -- the group's own width; `page` -- the \" +\n \"screen's, as in Fomantic. Unset: the page-wide `--ui-stack-with` token decides (`<ui-root \" +\n \"stack-with>`).\"\n },\n {\n name: \"equal\",\n group: \"layout\",\n kind: \"keyOnly\",\n description:\n \"Every statistic the same width, from the statistics themselves (no count): one row, an equal share of \" +\n \"it each (the group spans its row). Not with `horizontal` (a column).\"\n },\n {\n name: \"widths\",\n group: \"appearance\",\n kind: \"width\",\n widthClass: \"\",\n values: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\"],\n description:\n 'Older, count-based alias of `equal`: divides each row evenly between N statistics (`widths=\"3\"` => ' +\n \"`three statistics`), wrapping after N.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"`<ui-statistic>`s.\" }],\n parts: [{ name: \"group\", description: \"The group box.\" }],\n states: [\n { name: \"statistics\", description: \"ALWAYS set: the group's host is a block and the `ui-statistics` container.\" },\n {\n name: \"spaced\",\n description:\n \"Set unless `horizontal` or `widths`: the group keeps Fomantic's 1em top margin, which the HOST carries (so it collapses with the content above).\"\n }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { statisticsVocabulary } from \"./UIStatistics.en\"\n\nimport statisticCSS from \"./UIStatistic.css?inline\"\n\n/****************\n * ### `UIStatistics`\n * The component behind `<ui-statistics>`:\n * a group of statistics sharing one look, `<div class=\"ui … statistics\" part=\"group\"><slot></slot></div>`.\n *\n * - `UIStatistic.css` hands the group's size, colour, layout, count and stacking to its statistics\n * through inherited private tokens.\n * - The DOM element is a block and the size container `stackable` answers to (`:state(statistics)`);\n * with `stack-with=\"page\"` (a private class before the noun), the screen is.\n ****************/\nexport class UIStatistics extends E.UIComponent<typeof statisticsVocabulary> {\n @E.proto static vocabulary = statisticsVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { statistic: statisticCSS },\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n /** Always `:state(statistics)`: the size container `stackable` answers to. */\n @E.cssState(\"statistics\")\n get isStatistics(): boolean {\n return true\n }\n\n /**\n * Spaced, unless `horizontal` or `widths`, whose roots have no top margin.\n * - Why: the DOM element is a size container (its own formatting context),\n * so the group's top margin sits on the DOM ELEMENT, to collapse with the content above\n * as class grammar's does (`UIStatistic.css`).\n */\n @E.cssState(\"spaced\")\n get isSpaced(): boolean {\n return !this.direction && !this.widths\n }\n\n /** `stack-with`'s class (`UIT.StackClasses`). */\n protected get extraClass(): string | undefined {\n return UIT.StackClasses.classFor(this.stackWith)\n }\n\n render(): JSX.Element {\n return (\n <div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIStatistics extends E.AttributeValues<typeof statisticsVocabulary> {}\n","/**\n * The statistic family: defines `<ui-statistic>` and `<ui-statistics>`,\n * and exports their components, `UIStatistic` and `UIStatistics`.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-statistic` entry (its size is in `notes/report.md`).\n * - NOTE: the value and label are the generic parts (`<ui-value>`, `<ui-label>`):\n * load `spell/ui/ui-parts` and `spell/ui/ui-label` for slotted ones; the `value` / `label` shorthands need\n * neither.\n */\n\nimport { UIStatistic } from \"./UIStatistic\"\nimport { UIStatistics } from \"./UIStatistics\"\n\nUIStatistic.define()\nUIStatistics.define()\n\nexport { UIStatistic, UIStatistics }\n"],"mappings":";;;;;AAuBA,IAAamD,IAAsB;CACjC,KAAK;CACL,MAAM;CACN,QAAQ;EAAC;EAAgB;EAAQ;CAAO;CACxC,KAAK;EAAC;EAAQ;EAAO;EAAU;EAAW;CAAgB;CAC1D,UAAU;CACV,MAAM;CACN,QAAQ;CACR,aAAa;CACb,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GAAE,MAAM;GAAS,OAAO;GAAc,MAAM;GAAS,aAAa;EAAoB;EACtF;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,YAAY;GACrB,UAAU,CAAC;IAAE,MAAM;IAAc,OAAO;GAAa,CAAC;GACtD,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GAAE,MAAM;GAAS,OAAO;GAAU,MAAM;GAAW,aAAa;EAAyC;EACzG;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GAAE,MAAM;GAAS,OAAO;GAAQ,MAAM;GAAU,aAAa;EAA2C;CAC1G;CACA,QAAQ,CAAC;CACT,OAAO,CAAC;EAAE,MAAM;EAAI,aAAa;CAAyD,CAAC;CAC3F,OAAO;EACL;GAAE,MAAM;GAAa,aAAa;EAAqB;EACvD;GAAE,MAAM;GAAS,aAAa;EAAyB;EACvD;GAAE,MAAM;GAAS,aAAa;EAAyB;CACzD;CACA,QAAQ,CACN;EACE,MAAM;EACN,aACE;CACJ,GACA;EAAE,MAAM;EAAY,aAAa;CAAwB,CAC3D;CACA,OAAO,CAAC;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A,IAFJC,CAAA;AAAN,IAAMC,IAAND;ACJPT,EAAY,OAAO,GACnBU,EAAa,OAAO"}
|
|
1
|
+
{"version":3,"file":"ui-statistic.js","names":["<Show when={this.value}>\n <div class={this.valueClasses} part={this.partForName(\"value\")}>\n {this.value}\n </div>\n </Show>","this","part={this.partForName(\"value\")}","<div class={this.valueClasses} part={this.partForName(\"value\")}>\n {this.value}\n </div>","<div class={this.rootClass} part={this.partForName(\"statistic\")}>\n <Show when={this.value}>\n <div class={this.valueClasses} part={this.partForName(\"value\")}>\n {this.value}\n </div>\n </Show>\n <slot />\n <Show when={this.label}>\n <div class={this.staticPart(UIT.LABEL)} part={this.partForName(\"label\")}>\n {this.label}\n </div>\n </Show>\n </div>","<Show when={this.label}>\n <div class={this.staticPart(UIT.LABEL)} part={this.partForName(\"label\")}>\n {this.label}\n </div>\n </Show>","part={this.partForName(\"label\")}","<div class={this.staticPart(UIT.LABEL)} part={this.partForName(\"label\")}>\n {this.label}\n </div>","part={this.partForName(\"statistic\")}","_tmpl$","_elementSetup_dec","_vocabulary_dec","_a","_init","E.UIComponent","E.proto","E.protoMerged","E.cssState","E.derived","_$setAttribute","_$getOwner","UIT.LABEL","UIT.TEXT","__name","statisticCSS","UIT.StackWithValues","this","part={this.partForName(\"group\")}","<div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>","E.UIComponent","E.proto","E.protoMerged","E.cssState","_$getOwner","_$setAttribute","__name","statisticCSS","__decoratorStart","LABEL","__publicField","__name$1","TEXT","__decorateElement","__decoratorMetadata","__runInitializers","StackClasses","StackWithValues","getOwner$1","statisticVocabulary","UIStatistic_default","_tmpl$$1","_tmpl$2","_valueClasses_dec","_isStatistic_dec","_elementSetup_dec$1","_vocabulary_dec$1","_a$1","_init$1","_UIStatistic","UIComponent","proto","protoMerged","cssState","derived","_self$","_el$","_el$3","_el$5","insert","createComponent","Show","_el$2","effect","readShallow","className","_p$","t","setAttribute","_el$4","value","VALUE","noun","PartComponent","UIStatistic","statisticsVocabulary","_tmpl$","_isSpaced_dec","_isStatistics_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_UIStatistics","UIStatistics"],"sources":["../src/components/ui-statistic/UIStatistic.en.ts","../src/components/ui-statistic/UIStatistic.tsx","../src/components/ui-statistic/UIStatistics.en.ts","../src/components/ui-statistic/UIStatistics.tsx","../src/components/ui-statistic/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-statistic>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots, parts and states.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar:\n * `<ui-statistic size=\"large\" color=\"red\" direction=\"horizontal\">` => `ui large red horizontal statistic`;\n * `<ui-statistics widths=\"3\" stackable>` => `ui stackable three statistics`. `UIStatistic.css` keys on those words.\n * - Content is the GENERIC parts, owned by the statistic (`ownsParts`): `<ui-value>` (Fomantic's `.value`) and\n * `<ui-label>` (Fomantic's `.label`). There is NO separate label part tag: a `<ui-label>` inside a statistic\n * already renders as that statistic's `.label` part (`UILabel`, `:state(in-statistic)`), so the one word \"label\"\n * keeps meaning one element, and a `<ui-label-part>` / `<ui-caption>` would only be a second spelling of it.\n * - Shorthand: `value` / `label` render the same two parts inside the statistic's own shadow root,\n * the value BEFORE the slot and the label AFTER it, so either pairs with a slotted part;\n * slotted parts keep their order, so a `<ui-label>` before a `<ui-value>` is Fomantic's top label.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `statisticVocabulary`\n * The names of `<ui-statistic>`, a statistic: `<div class=\"ui ... statistic\" part=\"statistic\">` holding the `value`\n * shorthand, the slot and the `label` shorthand.\n ****************/\nexport const statisticVocabulary = {\n tag: \"ui-statistic\",\n icon: \"chart bar outline\",\n topics: [\"data display\", \"text\", \"views\"],\n aka: [\"stat\", \"kpi\", \"metric\", \"counter\", \"number display\"],\n skeleton: \"inline 6 x 4\",\n noun: \"statistic\",\n partOfSpeech: \"property\",\n plural: \"statistics\",\n description: \"A statistic emphasizes the current value of an attribute.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Size of the value, `mini` ... `massive`; `medium` is the default.\"\n },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of the value.\" },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\"],\n replaces: [{ from: \"horizontal\", value: \"horizontal\" }],\n description: \"`horizontal`: value and label on one line. Its old name was `horizontal`.\"\n },\n {\n name: \"inverted\",\n group: \"appearance\",\n kind: \"keyOnly\",\n description: \"For dark backgrounds: the dark scheme, a white value.\"\n },\n { name: \"fluid\", group: \"layout\", kind: \"keyOnly\", description: \"Takes the full width of its container.\" },\n {\n name: \"value\",\n group: \"form\",\n kind: \"string\",\n description: \"Shorthand for a `<ui-value>`: the number (or word) shown.\"\n },\n {\n name: \"text\",\n group: \"name\",\n kind: \"boolean\",\n description: \"The `value` shorthand is a WORD (`text value`): smaller, bold, at least two lines tall.\"\n },\n { name: \"label\", group: \"name\", kind: \"string\", description: \"Shorthand for the label below the value.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"`<ui-value>` and `<ui-label>` parts, in display order.\" }],\n parts: [\n { name: \"statistic\", description: \"The statistic box.\" },\n { name: \"value\", description: \"The `value` shorthand.\" },\n { name: \"label\", description: \"The `label` shorthand.\" }\n ],\n states: [\n {\n name: \"statistic\",\n description:\n \"ALWAYS set: `UIStatistic.css` spaces a statistic after another by it (a shadow root can't see its host's sibling).\"\n },\n { name: \"inverted\", description: \"For dark backgrounds.\" }\n ],\n texts: [],\n ownsParts: [\"value\", \"label\"]\n} as const satisfies E.ComponentVocabulary\n","import { Show } from \"solid-js\"\nimport type { JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { statisticVocabulary } from \"./UIStatistic.en\"\n\nimport statisticCSS from \"./UIStatistic.css?inline\"\n\n/****************\n * ### `UIStatistic`\n * The component behind `<ui-statistic>`: a number with a label.\n * Its shadow DOM:\n * `<div class=\"ui … statistic\" part=\"statistic\">` holding the `value` shorthand, the slot, then the `label` shorthand,\n * so either shorthand can pair with a slotted part and still read value over label.\n *\n * - It OWNS the `value` and `label` parts (`ownsParts`):\n * a slotted `<ui-value>` or `<ui-label>` finds it through `PartContext`,\n * sets `:state(in-statistic)` and styles itself from `UIParts.css`,\n * reading the owner tokens `UIStatistic.css` declares on the root (layout, value sizes, `--ui-inverted`).\n * `define()` registers it as their owner.\n *\n * - The shorthands are the SAME parts, drawn in this shadow root:\n * `<div class=\"value in-statistic\">` and `<div class=\"label in-statistic\">`,\n * the static part classes `UIParts.css` keys on (they ARE children of this root),\n * which is why this component adopts `UIParts.css` too (`E.PartComponent`'s `elementSetup.styleSheets`).\n * - `text` makes the value shorthand a word value.\n *\n * - No role: a statistic is text; the page names a group of them where it matters\n * (a heading, `aria-label` on a region).\n ****************/\nexport class UIStatistic extends E.UIComponent<typeof statisticVocabulary> {\n @E.proto static vocabulary = statisticVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { statistic: statisticCSS, ...E.PartComponent.prototype.elementSetup.styleSheets },\n cssStates: [\"inverted\"],\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n /** Always `:state(statistic)`. */\n @E.cssState(\"statistic\")\n get isStatistic(): boolean {\n return true\n }\n\n render(): JSX.Element {\n return (\n <div class={this.rootClass} part={this.partForName(\"statistic\")}>\n <Show when={this.value}>\n <div class={this.valueClasses} part={this.partForName(\"value\")}>\n {this.value}\n </div>\n </Show>\n <slot />\n <Show when={this.label}>\n <div class={this.staticPart(UIT.LABEL)} part={this.partForName(\"label\")}>\n {this.label}\n </div>\n </Show>\n </div>\n )\n }\n\n /** Classes of the value shorthand: `[text] value in-statistic`. */\n @E.derived\n private get valueClasses(): string {\n const value = this.staticPart(VALUE)\n return this.text ? `${UIT.TEXT} ${value}` : value\n }\n\n /** Classes of a shorthand: the part noun and the static owner class, e.g. `label in-statistic`. */\n private staticPart(noun: string): string {\n return `${noun} ${UIT.PART_STATIC_CLASS_PREFIX}${this.vocabulary.noun}`\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIStatistic extends E.AttributeValues<typeof statisticVocabulary> {}\n\n/** The `value` shorthand: its attribute, part noun and class word. */\nconst VALUE = \"value\"\n","/**\n * The English vocabulary of `<ui-statistics>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots, parts and states.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar:\n * `<ui-statistic size=\"large\" color=\"red\" direction=\"horizontal\">` => `ui large red horizontal statistic`;\n * `<ui-statistics widths=\"3\" stackable>` => `ui stackable three statistics`. `UIStatistic.css` keys on those words.\n * - Content is the GENERIC parts, owned by the statistic (`ownsParts`): `<ui-value>` (Fomantic's `.value`) and\n * `<ui-label>` (Fomantic's `.label`). There is NO separate label part tag: a `<ui-label>` inside a statistic\n * already renders as that statistic's `.label` part (`UILabel`, `:state(in-statistic)`), so the one word \"label\"\n * keeps meaning one element, and a `<ui-label-part>` / `<ui-caption>` would only be a second spelling of it.\n * - Shorthand: `value` / `label` render the same two parts inside the statistic's own shadow root,\n * the value BEFORE the slot and the label AFTER it, so either pairs with a slotted part;\n * slotted parts keep their order, so a `<ui-label>` before a `<ui-value>` is Fomantic's top label.\n */\n\nimport type { E } from \"spell/ui/core\"\nimport * as UIT from \"spell/ui/components/components.types\"\n\n/****************\n * ### `statisticsVocabulary`\n * The names of `<ui-statistics>`, a group of statistics sharing one look: `<div class=\"ui ...\n * statistics\" part=\"group\">`.\n ****************/\nexport const statisticsVocabulary = {\n tag: \"ui-statistics\",\n icon: \"chart bar\",\n topics: [\"data display\", \"layout\", \"views\"],\n aka: [\"stats\", \"kpis\", \"metrics\", \"dashboard numbers\"],\n noun: \"statistics\",\n partOfSpeech: \"structure\",\n description: \"A group of statistics.\",\n attributes: [\n { name: \"size\", group: \"appearance\", kind: \"size\", description: \"Size of every statistic in the group.\" },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of every value in the group.\" },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\"],\n replaces: [{ from: \"horizontal\", value: \"horizontal\" }],\n description:\n \"`horizontal`: statistics stacked, each with its label beside its value. Its old name was `horizontal`.\"\n },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"Every statistic for dark backgrounds.\" },\n {\n name: \"stackable\",\n group: \"layout\",\n kind: \"keyOnly\",\n description:\n \"Below 768px of the group's width (or the screen's: `stack-with`), one statistic per row, full width.\"\n },\n {\n name: \"stack-with\",\n group: \"layout\",\n kind: \"enum\",\n values: UIT.StackWithValues,\n description:\n \"What `stackable` measures: `container` (the default) -- the group's own width; `page` -- the \" +\n \"screen's, as in Fomantic. Unset: the page-wide `--ui-stack-with` token decides (`<ui-root \" +\n \"stack-with>`).\"\n },\n {\n name: \"equal\",\n group: \"layout\",\n kind: \"keyOnly\",\n description:\n \"Every statistic the same width, from the statistics themselves (no count): one row, an equal share of \" +\n \"it each (the group spans its row). Not with `horizontal` (a column).\"\n },\n {\n name: \"widths\",\n group: \"appearance\",\n kind: \"width\",\n widthClass: \"\",\n values: [\"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"10\"],\n description:\n 'Older, count-based alias of `equal`: divides each row evenly between N statistics (`widths=\"3\"` => ' +\n \"`three statistics`), wrapping after N.\"\n }\n ],\n events: [],\n slots: [{ name: \"\", description: \"`<ui-statistic>`s.\" }],\n parts: [{ name: \"group\", description: \"The group box.\" }],\n states: [\n { name: \"statistics\", description: \"ALWAYS set: the group's host is a block and the `ui-statistics` container.\" },\n {\n name: \"spaced\",\n description:\n \"Set unless `horizontal` or `widths`: the group keeps Fomantic's 1em top margin, which the HOST carries (so it collapses with the content above).\"\n }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { statisticsVocabulary } from \"./UIStatistics.en\"\n\nimport statisticCSS from \"./UIStatistic.css?inline\"\n\n/****************\n * ### `UIStatistics`\n * The component behind `<ui-statistics>`:\n * a group of statistics sharing one look, `<div class=\"ui … statistics\" part=\"group\"><slot></slot></div>`.\n *\n * - `UIStatistic.css` hands the group's size, colour, layout, count and stacking to its statistics\n * through inherited private tokens.\n * - The DOM element is a block and the size container `stackable` answers to (`:state(statistics)`);\n * with `stack-with=\"page\"` (a private class before the noun), the screen is.\n ****************/\nexport class UIStatistics extends E.UIComponent<typeof statisticsVocabulary> {\n @E.proto static vocabulary = statisticsVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { statistic: statisticCSS },\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n /** Always `:state(statistics)`: the size container `stackable` answers to. */\n @E.cssState(\"statistics\")\n get isStatistics(): boolean {\n return true\n }\n\n /**\n * Spaced, unless `horizontal` or `widths`, whose roots have no top margin.\n * - Why: the DOM element is a size container (its own formatting context),\n * so the group's top margin sits on the DOM ELEMENT, to collapse with the content above\n * as class grammar's does (`UIStatistic.css`).\n */\n @E.cssState(\"spaced\")\n get isSpaced(): boolean {\n return !this.direction && !this.widths\n }\n\n /** `stack-with`'s class (`UIT.StackClasses`). */\n protected get extraClass(): string | undefined {\n return UIT.StackClasses.classFor(this.stackWith)\n }\n\n render(): JSX.Element {\n return (\n <div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIStatistics extends E.AttributeValues<typeof statisticsVocabulary> {}\n","/**\n * The statistic family: defines `<ui-statistic>` and `<ui-statistics>`,\n * and exports their components, `UIStatistic` and `UIStatistics`.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-statistic` entry (its size is in `notes/report.md`).\n * - NOTE: the value and label are the generic parts (`<ui-value>`, `<ui-label>`):\n * load `spell/ui/ui-parts` and `spell/ui/ui-label` for slotted ones; the `value` / `label` shorthands need\n * neither.\n */\n\nimport { UIStatistic } from \"./UIStatistic\"\nimport { UIStatistics } from \"./UIStatistics\"\n\nUIStatistic.define()\nUIStatistics.define()\n\nexport { UIStatistic, UIStatistics }\n"],"mappings":";;;;;AAuBA,IAAagD,IAAsB;CACjC,KAAK;CACL,MAAM;CACN,QAAQ;EAAC;EAAgB;EAAQ;CAAO;CACxC,KAAK;EAAC;EAAQ;EAAO;EAAU;EAAW;CAAgB;CAC1D,UAAU;CACV,MAAM;CACN,cAAc;CACd,QAAQ;CACR,aAAa;CACb,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GAAE,MAAM;GAAS,OAAO;GAAc,MAAM;GAAS,aAAa;EAAoB;EACtF;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,YAAY;GACrB,UAAU,CAAC;IAAE,MAAM;IAAc,OAAO;GAAa,CAAC;GACtD,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GAAE,MAAM;GAAS,OAAO;GAAU,MAAM;GAAW,aAAa;EAAyC;EACzG;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GAAE,MAAM;GAAS,OAAO;GAAQ,MAAM;GAAU,aAAa;EAA2C;CAC1G;CACA,QAAQ,CAAC;CACT,OAAO,CAAC;EAAE,MAAM;EAAI,aAAa;CAAyD,CAAC;CAC3F,OAAO;EACL;GAAE,MAAM;GAAa,aAAa;EAAqB;EACvD;GAAE,MAAM;GAAS,aAAa;EAAyB;EACvD;GAAE,MAAM;GAAS,aAAa;EAAyB;CACzD;CACA,QAAQ,CACN;EACE,MAAM;EAC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GAE0B;CACnC,aAAa,EAAE,WAAWxD,EAAa;CACvC,gBAAgB;AAClB,CAAA,CAAA,GAHeQ,EAAA+C,GAAA,IAFJC,CAAA;AAAN,IAAMC,IAAND;ACJPT,EAAY,OAAO,GACnBU,EAAa,OAAO"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-statistic/ui-statistics.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-statistics>'s property editor layout: move, pair (<ui-fields>) or leave out (data-omit) its properties. How: Spell UI's AGENTS.md, \"Property editor layouts\". -->\n<ui-property-editor schema=\"ui-statistics\" data-omit=\"\">\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"size\"></ui-property>\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"inverted\"></ui-property>\n <ui-property name=\"widths\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"direction\"></ui-property>\n <ui-property name=\"stackable\"></ui-property>\n <ui-property name=\"stack-with\"></ui-property>\n <ui-property name=\"equal\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-statistics.editor-fzh3uk_b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-statistics.editor-fzh3uk_b.js","names":["ui_statistics_editor_default"],"sources":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-step/ui-step.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-step>'s property editor layout: move, pair (<ui-fields>) or leave out (data-omit) its properties. How: Spell UI's AGENTS.md, \"Property editor layouts\". -->\n<ui-property-editor schema=\"ui-step\" data-omit=\"\">\n <ui-property-group label=\"Name\" data-group=\"name\">\n <ui-property name=\"heading\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"icon\"></ui-property>\n <ui-property name=\"description\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"appearance\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"parent\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"States\" data-group=\"states\">\n <ui-property name=\"selected\"></ui-property>\n <ui-property name=\"completed\"></ui-property>\n <ui-property name=\"disabled\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Link\" data-group=\"link\">\n <ui-property name=\"link\"></ui-property>\n <ui-property name=\"target\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-step.editor-CYmNXrk_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-step.editor-CYmNXrk_.js","names":["ui_step_editor_default"],"sources":[],"mappings":""}
|