spell-ui 0.8.9 → 0.8.11
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 +32 -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 +35 -3
- package/dist/components/ui-modal/UIModal.d.ts +6 -0
- package/dist/components/ui-modal/UIModal.en.d.ts +6 -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 +4 -3
- package/dist/components/ui-parts/UIHeader.en.d.ts +4 -3
- 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 +18 -5
- 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/ToastStack.d.ts +9 -0
- 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 +795 -702
- 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 +96 -91
- package/dist/jsx.d.ts +3875 -711
- 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 +52 -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-B6gmmGsR.js +5 -0
- package/dist/ui-modal.editor-B6gmmGsR.js.map +1 -0
- package/dist/ui-modal.js +128 -99
- 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 +83 -68
- 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 +206 -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 +141 -139
- 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-shape.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-shape.js","names":["origin","sign","ref={(element) => this.stage = element}","ref={(element) => this.box = element}","this","part={this.partForName(\"shape\")}","tabindex={this.flipsOnClick ? 0 : void 0}","class={SIDES}","part={this.partForName(\"sides\")}","<div\n ref={(element) => this.stage = element}\n class={this.rootClass}\n part={this.partForName(\"shape\")}\n tabindex={this.flipsOnClick ? 0 : void 0}\n >\n <div ref={(element) => this.box = element} class={SIDES} part={this.partForName(\"sides\")} aria-live=\"polite\">\n <slot />\n </div>\n </div>","<span class={this.rootClass} part={this.partForName(\"shape\")}>\n <span class={SIDES} part={this.partForName(\"sides\")} aria-live=\"polite\">\n <slot />\n </span>\n </span>","_tmpl$","_tmpl$2","_elementSetup_dec","_vocabulary_dec","_a","_init","E.DOMElement","E.UIComponent","E.proto","E.protoMerged","E.state","E.on","E.onChange","E.untracked","E.controlled","E.cssState","UIT.ACTIVE","UIT.ANIMATING","E.after","_$getOwner","_$readShallow","_$setAttribute","__name","shapeCSS","part={this.partForName(\"side\")}","this","<div class={SIDE} part={this.partForName(\"side\")}>\n <slot />\n </div>","<span class={SIDE} part={this.partForName(\"side\")}>\n <slot />\n </span>","E.UIComponent","E.proto","E.protoMerged","E.cssState","_$getOwner","_$readShallow","_$setAttribute","__name","shapeCSS","__name$1","__publicField","__decorateElement","__decoratorMetadata","__runInitializers","__privateAdd","ShapeFlips","ShapeCommands","DIGITS","ACTIVE","ANIMATING","__decoratorStart","SIDE","SIDES","shapeVocabulary","UIShape_default","_tmpl$$1","_tmpl$2$1","_rendersInlineOnServer_dec","_cssDuration_dec","_defaultFlip_dec","_flip_dec","_isFlipping_dec","_onKeyDown_dec","_onClick_dec","_onCommand_dec","_flipTo_dec","_onActiveSideIndexChanged_dec","_activeSideIndex_dec","_firstSides_dec","_onSidesChanged_dec","_onSlotChange_dec","_sides_dec","_elementSetup_dec$1","_vocabulary_dec$1","_a$1","_init$1","_sides","_activeSideIndex","_isFlipping","DOMElement","direction","index","_UIShape","UIComponent","proto","protoMerged","state","on","onChange","untracked","controlled","cssState","isReady","sides","isFlipCard","side","INACTIVE","IN_FLIP_CARD","child","next","count","to","done","step","event","command","CLICK","node","host","PRESSABLE","run","active","stage","box","detail","sizes","staged","duration","LEAVING","element","property","STAGED","style","wait","time","onEnd","timer","after","FAIL_SAFE","resolve","first","second","DEFAULT_FLIP","text","_self$","_el$","_el$2","_el$3","ref","getOwner","effect","readShallow","className","_p$","t","setAttribute","a","o","i","isServer","_self$2","_el$4","_el$5","_el$6","origin2","sign2","origin","sign","value","UIShape","sideVocabulary","_tmpl$","_tmpl$2","_isSide_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_UISide","shape","UISide"],"sources":["../src/components/ui-shape/UIShape.types.ts","../src/components/ui-shape/UIShape.en.ts","../src/components/ui-shape/UIShape.css?inline","../src/components/ui-shape/UIShape.tsx","../src/components/ui-shape/UISide.en.ts","../src/components/ui-shape/UISide.tsx","../src/components/ui-shape/index.ts"],"sourcesContent":["/**\n * The constants and types the `ui-shape` family's files share: `UIShape` and `UISide`.\n * - Pure data, at the bottom of the folder's imports: `import type` only, so node can load it (`yarn site:data`).\n * - A constant only one class reads sits below that class (epic `wwod-spell-ui`, Q18).\n */\n\nimport type { shapeVocabulary } from \"./UIShape.en\"\n\n////////////////\n// ## Vocabulary\n////////////////\n\n/** `shapeVocabulary`'s type, for brevity. */\nexport type ShapeVocabulary = typeof shapeVocabulary\n\n////////////////\n// ## Markup contract (`UIShape.css`)\n////////////////\n\n/** The side noun: `<ui-side>`'s class and part, and how a shape finds its sides (a translated tag too). */\nexport const SIDE = \"side\"\n\n/** Class of the turning box. */\nexport const SIDES = \"sides\"\n","/**\n * Every name `<ui-shape>` and `<ui-side>` use:\n * tags, attributes (kind + allowed values), events, slots, parts, states, texts.\n * Schema: `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar: `<ui-shape cube>` => `ui cube shape`;\n * the element adds `animating` before the noun while it flips.\n * - A side has no `ui` (Fomantic's `.side`);\n * which one shows is the shape's `active-index`, not an attribute of the side.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `<ui-shape>`\n * A 3D shape showing one side at a time:\n * `<div class=\"ui ... shape\" part=\"shape\"><div class=\"sides\" part=\"sides\"><slot>`, its `<ui-side>`s slotted.\n ****************/\nexport const shapeVocabulary = {\n tag: \"ui-shape\",\n icon: \"cube\",\n topics: [\"animation\", \"media\", \"modules\"],\n aka: [\"3d flip\", \"cube\", \"flip card\", \"carousel\"],\n noun: \"shape\",\n description: \"A shape is a three dimensional object displayed on a two dimensional plane.\",\n attributes: [\n { name: \"cube\", group: \"appearance\", kind: \"keyOnly\", description: \"Square grey faces, as the sides of a cube.\" },\n {\n name: \"text\",\n group: \"name\",\n kind: \"keyOnly\",\n description: \"Sides of text, inline: a word that flips to another.\"\n },\n {\n name: \"active-index\",\n group: \"appearance\",\n kind: \"number\",\n default: 0,\n description:\n \"Index of the side shown (from 0). Controlled: changing it flips (`direction` says which way) to that side.\"\n },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"up\", \"down\", \"left\", \"right\", \"over\", \"back\"],\n default: \"left\",\n description:\n \"Which way it turns (Fomantic's `flip up` ...) when `active-index` changes, `next()` / `previous()` run or \" +\n \"`flip()` gets no direction.\"\n },\n {\n name: \"duration\",\n group: \"behaviour\",\n kind: \"string\",\n description: \"Length of a flip: ms (`600`) or a CSS time (`0.6s`); default Fomantic's 0.6s.\"\n },\n {\n name: \"flip-on\",\n group: \"behaviour\",\n kind: \"enum\",\n values: [\"click\", \"manual\"],\n default: \"manual\",\n description:\n \"What turns it to its next side: `click` -- a click, or Enter / Space while it has focus \" +\n \"(a flip card; a link or button on a side still works as itself); `manual` -- only \" +\n \"`active-index`, `next()` / `previous()` / `flip()` and invoker commands.\"\n }\n ],\n events: [\n {\n name: \"ui-animated\",\n detail: \"{ activeIndex: number, side: Element, flip: ShapeFlip }\",\n description: \"Another side is shown, its flip finished (Fomantic's `onChange`).\"\n }\n ],\n slots: [{ name: \"\", description: \"The sides: `<ui-side>` elements, in order.\" }],\n parts: [\n { name: \"shape\", description: \"The stage, with the 3D perspective.\" },\n { name: \"sides\", description: \"The box that turns; a polite live region, so a flip is announced.\" }\n ],\n states: [{ name: \"animating\", description: \"Flipping.\" }],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","/*\n * `<ui-shape>` and `<ui-side>`: port of Fomantic's `shape.less` + `shape.variables`. One sheet for both elements\n * (each adopts it), as Fomantic's one definition styles `.shape`, `.sides` and `.side`.\n * - Shadow markup contracts:\n * - `<ui-shape>`: `<div class=\"ui [cube] [text] shape [animating]\" part=\"shape\">` (the stage:\n * perspective) > `<div class=\"sides\" part=\"sides\">` (the box that turns) > `<slot>`\n * - `<ui-side>`: the DOM element is the face that turns (a block, `backface-visibility: hidden`),\n * holding `<div class=\"side\" part=\"side\"><slot>`; its shape sets its states and, while flipping,\n * its inline `transform` / `top` / `left`\n * - Which side shows: `:host(:state(inactive))` is hidden; a side outside a working shape has no state,\n * so every side shows (stacked) rather than none.\n * - The shape hands its type to its sides as an inherited PRIVATE switch, `--_ui-shape-type` (`plain` / `cube` /\n * `text`), which a side's face style-queries: a shadow root can't see its DOM element's parent's classes. Private:\n * the shape's classes decide it, so NEVER set it from outside.\n * - Public tokens (`--ui-shape-*`, the theming surface) are NEVER declared here:\n * a face reads `--ui-shape-cube-size` through its private alias\n * (`--_ui-shape-cube-size: var(--ui-shape-cube-size, 15em)`, declared on the face),\n * and `--ui-shape-duration` / `-easing` / `-cube-background` / `-cube-shadow` are read with their defaults inline,\n * since nothing declares them. So a value set on `:root`, an ancestor, the DOM element,\n * `::part(shape)` / `::part(side)` or in the app stylesheet reaches the box (`notes/theming.md` \"Component tokens\").\n * - Motion: the sides box's `transform` transition (`--ui-shape-duration`, Fomantic's 0.6s ease-in-out);\n * the leaving side fades to 0.6. Reduced motion: the element swaps at once.\n * - NOTE: left out, on purpose:\n * `.ui.loading.shape` (Fomantic's off-screen measuring clone: nothing measures a clone here).\n */\n\n@layer ui.components.shape.types, ui.components.shape.content, ui.components.shape.variations, ui.components.shape.states;\n\n/*******************************\n Shape\n*******************************/\n\n@layer ui.components.shape.types {\n /* A shape's DOM element has no box; a side's DOM element IS the face. */\n :host {\n display: contents;\n }\n :host(:state(side)) {\n display: block;\n width: 100%;\n margin: 0;\n opacity: 1;\n backface-visibility: hidden;\n transition: opacity var(--ui-shape-duration, 0.6s) var(--ui-shape-easing, ease-in-out);\n }\n\n .ui.shape {\n --_ui-shape-type: plain;\n position: relative;\n display: inline-block;\n vertical-align: top;\n perspective: 2000px;\n transition:\n transform var(--ui-shape-duration, 0.6s) var(--ui-shape-easing, ease-in-out),\n left var(--ui-shape-duration, 0.6s) var(--ui-shape-easing, ease-in-out),\n width var(--ui-shape-duration, 0.6s) var(--ui-shape-easing, ease-in-out),\n height var(--ui-shape-duration, 0.6s) var(--ui-shape-easing, ease-in-out);\n }\n .ui.shape .sides,\n .ui.shape .side {\n transform-style: preserve-3d;\n }\n\n /* Static markup's sides: only the active one shows. */\n .ui.shape .side {\n box-sizing: border-box;\n display: none;\n width: 100%;\n margin: 0;\n opacity: 1;\n backface-visibility: hidden;\n }\n .ui.shape .side * {\n backface-visibility: visible;\n }\n\n /* The element's face: always laid out in its DOM element (the DOM element shows / hides). */\n :host(:state(side)) > .side {\n display: block;\n box-sizing: border-box;\n height: 100%;\n }\n}\n\n/*******************************\n Types\n*******************************/\n\n@layer ui.components.shape.variations {\n /* ## Cube: square grey faces, content centred and large. */\n .ui.cube.shape {\n --_ui-shape-type: cube;\n }\n .ui.cube.shape .side,\n :host(:state(side)) > .side {\n /* Token: the private alias of its public token, on the face that reads it. */\n --_ui-shape-cube-size: var(--ui-shape-cube-size, 15em);\n }\n .ui.cube.shape .side {\n min-width: var(--_ui-shape-cube-size);\n height: var(--_ui-shape-cube-size);\n padding: 2em;\n background-color: var(--ui-shape-cube-background, light-dark(oklch(0.93 0 0), oklch(0.32 0 0)));\n box-shadow: 0 0 2px var(--ui-shape-cube-shadow, oklch(0 0 0 / 0.3));\n color: var(--ui-text-color);\n }\n .ui.cube.shape .side > .content {\n display: table;\n width: 100%;\n height: 100%;\n text-align: center;\n user-select: text;\n }\n .ui.cube.shape .side > .content > div {\n display: table-cell;\n font-size: 2em;\n vertical-align: middle;\n }\n @container style(--_ui-shape-type: cube) {\n :host(:state(side)) > .side {\n display: flex;\n align-items: center;\n justify-content: center;\n min-width: var(--_ui-shape-cube-size);\n height: var(--_ui-shape-cube-size);\n padding: 2em;\n background-color: var(--ui-shape-cube-background, light-dark(oklch(0.93 0 0), oklch(0.32 0 0)));\n box-shadow: 0 0 2px var(--ui-shape-cube-shadow, oklch(0 0 0 / 0.3));\n color: var(--ui-text-color);\n text-align: center;\n user-select: text;\n }\n /* Fomantic's `.content > div`: the face's content, large. */\n :host(:state(side)) > .side > ::slotted(*) {\n font-size: 2em;\n }\n }\n\n /* ## Text: inline words; the sides box stays in flow while turning. */\n .ui.text.shape {\n --_ui-shape-type: text;\n }\n .ui.text.shape.animating .sides {\n position: static;\n }\n .ui.text.shape .side {\n white-space: nowrap;\n }\n .ui.text.shape .side > * {\n white-space: normal;\n }\n @container style(--_ui-shape-type: text) {\n :host(:state(side)) > .side {\n white-space: nowrap;\n }\n }\n}\n\n/*******************************\n States\n*******************************/\n\n@layer ui.components.shape.states {\n /*\n * A flip card (`flip-on=\"click\"`): pressable, with a focus ring, and a block filling its place.\n * - In a `<ui-cards>` group it sits as one of the group's cards: the group's private item width and margin\n * (`--_cards-item-*`, a mosaic's; else `--_cards-width` / `--_cards-spacing`, `UICard.css`) reach it by\n * inheritance, and it never splits across a mosaic's columns.\n */\n .ui.shape[tabindex] {\n display: block;\n width: var(--_cards-item-width, var(--_cards-width, 100%));\n margin: var(--_cards-item-margin, calc(var(--_cards-row-spacing, 0px) / 2) var(--_cards-spacing, 0px));\n break-inside: avoid;\n cursor: pointer;\n }\n /*\n * A flip card is as tall as its tallest side: the sides share one grid cell, and a hidden side keeps its place\n * (`visibility: hidden`, out of the accessibility tree all the same) -- so turning it never moves what's around it\n * - the sides box is the grid; the `<slot>` adds no box, so each side is a grid item\n */\n .ui.shape[tabindex] > .sides {\n display: grid;\n }\n .ui.shape[tabindex].animating > .sides {\n inset: 0;\n }\n :host(:state(side):state(in-flip-card)) {\n grid-area: 1 / 1;\n }\n /* each face a grid too: what it holds (a card) stretches to the card's full height, leaving no gap under it */\n :host(:state(side):state(in-flip-card)) > .side {\n display: grid;\n }\n .ui.shape[tabindex]:focus-visible {\n outline: var(--ui-focus-width, 2px) solid var(--ui-focus-color);\n outline-offset: var(--ui-focus-width, 2px);\n border-radius: var(--ui-radius);\n }\n\n /* Active (static markup) */\n .ui.shape .active.side {\n display: block;\n }\n\n /* Hidden: another side is shown. In a flip card it keeps its place, so the card keeps its tallest side's height. */\n :host(:state(inactive)) {\n display: none;\n }\n :host(:state(inactive):state(in-flip-card)) {\n display: block;\n visibility: hidden;\n }\n /*\n * Its face too, for a server render (`spell/ui/static`), whose root is the DOM element and the face at once:\n * there the DOM element rule's `display` is dropped (it was the DOM element's box's).\n * In the element it changes nothing: the DOM element is already hidden.\n */\n :host(:state(inactive)) > .side {\n display: none;\n }\n :host(:state(inactive):state(in-flip-card)) > .side {\n display: grid;\n }\n\n /* Animating: the box turns, the incoming side is staged absolutely over it. */\n .ui.shape.animating .sides {\n position: absolute;\n transition: transform var(--ui-shape-duration, 0.6s) var(--ui-shape-easing, ease-in-out);\n }\n .ui.shape .animating.side,\n :host(:state(animating)) {\n position: absolute;\n top: 0;\n left: 0;\n z-index: 100;\n display: block;\n }\n .ui.shape .hidden.side,\n :host(:state(leaving)) {\n opacity: 0.6;\n }\n .ui.shape .animating.side *,\n .ui.shape.animating .side * {\n transition: none;\n }\n}\n","import { isServer, type JSX } from \"@solidjs/web\"\n\nimport { E, UI, UIT } from \"spell/ui/core\"\nimport { SIDE, SIDES, type ShapeVocabulary } from \"./UIShape.types\"\nimport { shapeVocabulary } from \"./UIShape.en\"\n\nimport shapeCSS from \"./UIShape.css?inline\"\n\n/****************\n * ### `DOMShapeElement`\n * The DOM element of `<ui-shape>`:\n * it adds Fomantic's `.shape('flip up')` / `'set next side'` as METHODS, `flip()`, `next()` and `previous()`.\n *\n * - Each resolves once its flip has run: `true` when it showed another side,\n * `false` when there was none to show (or the element hasn't drawn yet).\n * - Flips queue, as Fomantic's do.\n * - Each writes `activeIndex` (so it reflects, and frameworks see it);\n * writing `activeIndex` yourself flips too, the `direction` attribute's way.\n * - Above the component: its `elementSetup` reads this class while the component is defined.\n ****************/\nexport class DOMShapeElement extends E.DOMElement<UIShape> {\n /** Turn `direction` (default the `direction` attribute) to side `index` (default the next one, wrapping). */\n flip(direction?: UIT.ShapeFlip, index?: number): Promise<boolean> {\n return this.component?.flipTo(direction, index) ?? Promise.resolve(false)\n }\n\n /** Turn to the next side (wrapping), the `direction` attribute's way. */\n next(): Promise<boolean> {\n return this.flip()\n }\n\n /** Turn to the previous side (wrapping), the `direction` attribute's way. */\n previous(): Promise<boolean> {\n return this.component?.flipBy(-1) ?? Promise.resolve(false)\n }\n}\n\n/****************\n * ### `UIShape`\n * The component behind `<ui-shape>`: Fomantic's shape, one of its `<ui-side>`s at a time, turning in 3D to another.\n * Its shadow DOM: `<div class=\"ui … shape [animating]\" part=\"shape\"><div class=\"sides\" part=\"sides\"><slot>`.\n *\n * - `activeIndex` is the side shown.\n * Changing it turns the `direction` way (`up`, `down`, `left`, `right`, `over`, `back`), then fires `ui-animated`;\n * so do the DOM element's `flip()` / `next()` / `previous()` (`DOMShapeElement`)\n * and invoker commands (`UIT.ShapeCommands`).\n * - Flips queue; a flip to the side already shown does nothing.\n *\n * - The flip is Fomantic's own geometry (`shape.js`):\n * - the stage keeps its size\n * - the next side is staged at 90° (or 180°) around the current one\n * - the sides box turns with a CSS transition\n * - the inline styles are cleared after\n *\n * - SIDE EFFECTS on the sides (this family's own DOM elements):\n * custom states (`active`, `inactive`, `animating`, `leaving`)\n * and, during a flip, inline `transform` / `top` / `left`.\n * - Reduced motion: an instant swap, `ui-animated` all the same.\n * - A flip card (`flip-on=\"click\"`) is as tall as its tallest side, whichever shows: turning it never moves\n * what's around it (a mosaic's other cards). Its sides share one grid cell, the hidden ones `visibility: hidden`.\n * - Accessibility: hidden sides are `display: none` (a flip card's, `visibility: hidden`: out of the tree all the same);\n * the sides box is a polite live region, so the new side is read out after a flip (Fomantic's had no ARIA).\n ****************/\nexport class UIShape extends E.UIComponent<ShapeVocabulary> {\n @E.proto static vocabulary = shapeVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { shape: shapeCSS },\n DOMElement: DOMShapeElement,\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n ////////////////\n // ## Sides\n ////////////////\n\n /** The side elements, in order. */\n @E.state accessor sides: E.DOMElement[] = this.findSides()\n\n /**\n * Has had sides; until then `shownIndex` is only a guess.\n * - NOTE: the barrel defines `<ui-shape>` BEFORE `<ui-side>`, so a parsed shape upgrades with no sides yet.\n */\n private hasHadSides = this.sides.length > 0\n\n /** The default slot's content changed: find the sides again. */\n @E.on(\"slotchange\", { target: \"renderRoot\" })\n protected onSlotChange() {\n this.sides = this.findSides()\n }\n\n /**\n * The sides changed: start at `activeIndex` the first time, then show the current side, hide the rest.\n * - Once `isReady` (the sheets are in and the stage is drawn), as when this lived in `render()`.\n * - Writes the DOM element's sides: a static render (`spell/ui/static`) marks them once, before they render.\n */\n @E.onChange(\"isReady\", \"sides\", \"flipsOnClick\", { writesDOMElement: true })\n protected onSidesChanged(isReady: boolean, sides: E.DOMElement[]) {\n if (!isReady) return\n this.firstSides(sides)\n this.mark(sides)\n }\n\n /** The first sides found after none (upgrade order, or content added later): start at `activeIndex`, not 0. */\n @E.untracked\n private firstSides(sides: readonly E.DOMElement[]) {\n if (this.hasHadSides || !sides.length) return\n this.hasHadSides = true\n this.shownIndex = this.queuedIndex = this.normalize(this.activeSideIndex, sides.length)\n }\n\n /**\n * Show the current side; hide the rest.\n * - A flip card's sides are marked `in-flip-card`: they share one place, so it keeps its tallest side's height.\n */\n private mark(sides: readonly E.DOMElement[]) {\n const isFlipCard = this.flipsOnClick\n sides.forEach((side, index) => {\n side.setState(UIT.ACTIVE, index === this.shownIndex)\n side.setState(INACTIVE, index !== this.shownIndex)\n side.setState(IN_FLIP_CARD, isFlipCard)\n })\n }\n\n /** Child elements whose definition's noun is `side` (a `<ui-side>`, or a translated one). */\n private findSides(): E.DOMElement[] {\n return [...this.domElement.children].filter(\n (child): child is E.DOMElement =>\n E.UIComponent.registry.definitions.get(child.localName)?.vocabulary.noun === SIDE\n )\n }\n\n ////////////////\n // ## The side shown (API through `DOMShapeElement`)\n ////////////////\n\n /** `activeIndex`: always the DOM element's property (a number with a default). */\n @E.controlled(\"active-index\") accessor activeSideIndex = 0\n\n /**\n * Index of the side shown now:\n * NOT a mirror of `activeSideIndex`, it follows the queue (it lags while a flip runs).\n */\n private shownIndex = this.normalize(this.activeSideIndex, this.sides.length)\n\n /** Where the queue is heading. */\n private queuedIndex = this.shownIndex\n\n /** The queue: each flip starts when the one before has finished. */\n private flipQueue: Promise<unknown> = Promise.resolve()\n\n /**\n * `activeIndex` changed (the DOM element's own write, or `flipTo()`'s):\n * flip there, unless the queue is heading there.\n * - Once `isReady`, as when this lived in `render()`:\n * a change before the sheets load flips (animated) once the stage is drawn, instead of swapping at once.\n */\n @E.onChange(\"isReady\", \"activeSideIndex\")\n protected onActiveSideIndexChanged(isReady: boolean, index: number) {\n if (!isReady) return\n const next = this.normalize(index, this.sides.length)\n if (next !== this.queuedIndex) void this.enqueue(this.defaultFlip, next)\n }\n\n /** Turn `direction` to side `index` (default the next one after where the queue is heading, wrapping). */\n @E.untracked\n flipTo(direction?: UIT.ShapeFlip, index?: number): Promise<boolean> {\n const count = this.sides.length\n if (!count) return Promise.resolve(false)\n const to = this.normalize(index ?? this.queuedIndex + 1, count)\n const done = to === this.queuedIndex ? Promise.resolve(false) : this.enqueue(direction ?? this.defaultFlip, to)\n this.activeSideIndex = to\n return done\n }\n\n /** Turn `step` sides on (negative: back), the `direction` attribute's way. */\n flipBy(step: number): Promise<boolean> {\n return this.flipTo(undefined, this.queuedIndex + step)\n }\n\n /**\n * An invoker command aimed at the DOM element (`UIT.ShapeCommands`): `--next`, `--previous`, `--flip-<direction>`.\n */\n @E.on(\"command\")\n protected onCommand(event: Event) {\n const { command } = event as Event & { command: string }\n if (command === UIT.ShapeCommands.next) void this.flipBy(1)\n else if (command === UIT.ShapeCommands.previous) void this.flipBy(-1)\n else if (command?.startsWith(UIT.ShapeCommands.flip)) {\n const direction = command.slice(UIT.ShapeCommands.flip.length) as UIT.ShapeFlip\n if (UIT.ShapeFlips.includes(direction)) void this.flipTo(direction)\n }\n }\n\n ////////////////\n // ## Flip on click (`flip-on=\"click\"`)\n ////////////////\n\n /** `flip-on=\"click\"`: a flip card, turning to its next side when pressed. */\n get flipsOnClick(): boolean {\n return this.flipOn === CLICK\n }\n\n /** A click anywhere on it turns it, unless it landed on something pressable of its own (a link on its back). */\n @E.on(\"click\")\n protected onClick(event: MouseEvent) {\n if (!this.flipsOnClick || UIShape.pressedInside(event, this.domElement)) return\n void this.flipBy(1)\n }\n\n /** Enter or Space while it has focus turns it, as a click does. */\n @E.on(\"keydown\")\n protected onKeyDown(event: KeyboardEvent) {\n if (!this.flipsOnClick || (event.key !== \"Enter\" && event.key !== \" \")) return\n if (UIShape.pressedInside(event, this.domElement)) return\n event.preventDefault()\n void this.flipBy(1)\n }\n\n /** The event started on a pressable element inside `host` (a link, a button, a field), not on the shape itself. */\n private static pressedInside(event: Event, host: Element): boolean {\n return event.composedPath().some((node) => node !== host && node instanceof Element && node.matches(PRESSABLE))\n }\n\n /** Queue a flip to `index`. */\n private enqueue(direction: UIT.ShapeFlip, index: number): Promise<boolean> {\n this.queuedIndex = index\n const run = this.flipQueue.then(() => this.flip(direction, index))\n this.flipQueue = run.catch(() => false)\n return run\n }\n\n /** `index` wrapped into `0 .. count - 1`. */\n private normalize(index: number, count: number): number {\n if (!count) return 0\n return ((Math.trunc(index) % count) + count) % count\n }\n\n ////////////////\n // ## Flipping\n ////////////////\n\n /** A flip is running: class `animating`, `:state(animating)`. */\n @E.cssState(\"animating\")\n @E.state\n accessor isFlipping = false\n\n protected get extraClass(): string | undefined {\n return this.isFlipping ? UIT.ANIMATING : undefined\n }\n\n /** The stage: the outer box, which keeps its size while the sides turn. */\n private stage?: HTMLDivElement\n\n /** The turning box of sides. */\n private box?: HTMLDivElement\n\n /**\n * One flip, Fomantic's `animate()`: stage the next side, turn the box, wait for its transition, reset.\n * - Reduced motion, a hidden or disconnected shape: swap at once.\n */\n @E.untracked\n private async flip(direction: UIT.ShapeFlip, index: number): Promise<boolean> {\n const sides = this.sides\n const active = sides[this.shownIndex]\n const next = sides[index]\n if (!next || index === this.shownIndex) return false\n const { stage, box } = this\n const isInstant = !active || !stage || !box || !this.domElement.isConnected || UI.browser.isReducedMotion\n // `offsetParent` is the platform's: `null` while hidden\n if (!isInstant && stage.offsetParent !== null) await this.animate({ direction, stage, box, active, next })\n this.shownIndex = index\n this.mark(sides)\n const detail: UIT.ShapeChangeDetail = { activeIndex: index, side: next, flip: direction }\n this.send(\"ui-animated\", detail)\n return true\n }\n\n /** Stage, turn, wait, reset. */\n private async animate({ direction, stage, box, active, next }: FlipParams) {\n // the stage keeps its size (Fomantic's `width` / `height: 'initial'`)\n stage.style.width = `${stage.offsetWidth}px`\n stage.style.height = `${stage.offsetHeight}px`\n next.setState(INACTIVE, false)\n next.setState(UIT.ANIMATING, true)\n const sizes = { active: this.sizeOf(active), next: this.sizeOf(next) }\n const staged = UIShape.staging(direction, sizes)\n Object.assign(active.style, { transform: staged.active })\n Object.assign(next.style, staged.next)\n const duration = this.cssDuration\n if (duration) box.style.transitionDuration = duration\n void box.offsetWidth\n this.isFlipping = true\n stage.classList.add(UIT.ANIMATING)\n active.setState(LEAVING, true)\n box.style.transform = UIShape.turn(direction, sizes)\n await this.transitionEnd(box)\n for (const element of [stage, box]) element.removeAttribute(\"style\")\n for (const side of [active, next]) for (const property of STAGED) side.style.removeProperty(property)\n stage.classList.remove(UIT.ANIMATING)\n active.setState(LEAVING, false)\n next.setState(UIT.ANIMATING, false)\n this.isFlipping = false\n }\n\n /** Resolve on the box's `transitionend` (its own), or after its duration plus a fail-safe. */\n private transitionEnd(box: HTMLElement): Promise<void> {\n return new Promise((resolve) => {\n const style = getComputedStyle(box)\n const wait = Math.max(...style.transitionDuration.split(\",\").map((time) => UIShape.ms(time)))\n const onEnd = (event: TransitionEvent) => {\n if (event.target === box) done()\n }\n const timer = E.after((wait + FAIL_SAFE) / 1000, done)\n box.addEventListener(\"transitionend\", onEnd)\n\n /** Stop waiting: the timer and the listener go, and the flip goes on. */\n function done() {\n timer.cancel()\n box.removeEventListener(\"transitionend\", onEnd)\n resolve()\n }\n })\n }\n\n /** A side's margin box. */\n private sizeOf(side: HTMLElement): Size {\n const style = getComputedStyle(side)\n return {\n width: side.offsetWidth + margins(\"margin-left\", \"margin-right\"),\n height: side.offsetHeight + margins(\"margin-top\", \"margin-bottom\")\n }\n\n /** The two margins, in px. */\n function margins(first: string, second: string): number {\n return parseFloat(style.getPropertyValue(first)) + parseFloat(style.getPropertyValue(second))\n }\n }\n\n /** The `direction` attribute (or its default); untracked. */\n @E.untracked\n private get defaultFlip(): UIT.ShapeFlip {\n return this.direction ?? DEFAULT_FLIP\n }\n\n /** `duration` as CSS: bare digits are ms; untracked. */\n @E.untracked\n private get cssDuration(): string | undefined {\n const text = this.duration?.trim()\n if (!text) return undefined\n return UIT.DIGITS.test(text) ? `${text}ms` : text\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n if (this.rendersInlineOnServer) return this.inlineShape()\n return (\n <div\n ref={(element) => (this.stage = element)}\n class={this.rootClass}\n part={this.partForName(\"shape\")}\n tabindex={this.flipsOnClick ? 0 : undefined}\n >\n <div ref={(element) => (this.box = element)} class={SIDES} part={this.partForName(\"sides\")} aria-live=\"polite\">\n <slot />\n </div>\n </div>\n )\n }\n\n /**\n * A `text` shape in a server render (`spell/ui/static`):\n * its static output is PHRASING content (`<span>`s, as the class grammar's),\n * since the DOM element it replaces sits in running text --\n * a `<div>` would close an open `<p>` when a browser parses the page.\n * - Its sides follow (`UISide`).\n */\n @E.untracked\n get rendersInlineOnServer(): boolean {\n return isServer && !!this.text\n }\n\n /** `render()`'s markup as `<span>`s (`rendersInlineOnServer`). */\n private inlineShape(): JSX.Element {\n return (\n <span class={this.rootClass} part={this.partForName(\"shape\")}>\n <span class={SIDES} part={this.partForName(\"sides\")} aria-live=\"polite\">\n <slot />\n </span>\n </span>\n )\n }\n\n ////////////////\n // ## Geometry (Fomantic's `shape.js`): static, as it's pure\n ////////////////\n\n /** Where the active side stays and the next one waits, 90° (or 180°) round (Fomantic's `stage.*`). */\n private static staging(\n direction: UIT.ShapeFlip,\n sizes: Sizes\n ): { active: string; next: Partial<CSSStyleDeclaration> } {\n const { active, next } = sizes\n if (direction === \"up\" || direction === \"down\") {\n const origin = (active.height - next.height) / 2\n const sign = direction === \"up\" ? 1 : -1\n return {\n active: \"rotateX(0deg)\",\n next: {\n top: `${origin}px`,\n transform: `rotateX(${sign * 90}deg) translateZ(${active.height / 2}px) translateY(${-sign * (next.height / 2)}px)`\n }\n }\n }\n const origin = (active.width - next.width) / 2\n if (direction === \"over\" || direction === \"back\") {\n return { active: \"rotateY(0deg)\", next: { left: `${origin}px`, transform: \"rotateY(-180deg)\" } }\n }\n const sign = direction === \"left\" ? -1 : 1\n return {\n active: \"rotateY(0deg)\",\n next: {\n left: `${origin}px`,\n transform: `rotateY(${sign * 90}deg) translateZ(${active.width / 2}px) translateX(${sign * (next.width / 2)}px)`\n }\n }\n }\n\n /** How the sides box turns (Fomantic's `get.transform.*`). */\n private static turn(direction: UIT.ShapeFlip, { active, next }: Sizes): string {\n switch (direction) {\n case \"up\":\n return `translateY(${next.height - active.height / 2}px) translateZ(${-active.height / 2}px) rotateX(-90deg)`\n case \"down\":\n return `translateY(${-active.height / 2}px) translateZ(${-active.height / 2}px) rotateX(90deg)`\n case \"left\":\n return `translateX(${next.width - active.width / 2}px) translateZ(${-active.width / 2}px) rotateY(90deg)`\n case \"right\":\n return `translateX(${-active.width / 2}px) translateZ(${-active.width / 2}px) rotateY(-90deg)`\n case \"over\":\n return `translateX(${-(active.width - next.width) / 2}px) rotateY(180deg)`\n case \"back\":\n return `translateX(${-(active.width - next.width) / 2}px) rotateY(-180deg)`\n }\n }\n\n /** A CSS time (`0.6s`, `600ms`) in ms. */\n private static ms(time: string): number {\n const value = Number.parseFloat(time)\n if (Number.isNaN(value)) return 0\n return time.trim().endsWith(\"ms\") ? value : value * 1000\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIShape extends E.AttributeValues<ShapeVocabulary> {}\n\n/** What one animated flip works on. */\ntype FlipParams = {\n /** which way it turns */\n direction: UIT.ShapeFlip\n /** the outer box, held at its size */\n stage: HTMLElement\n /** the turning box of sides */\n box: HTMLElement\n /** the side shown now */\n active: E.DOMElement\n /** the side turning in */\n next: E.DOMElement\n}\n\n/** A margin box, in px. */\ntype Size = { width: number; height: number }\n\n/** Margin-box sizes of the active and next sides. */\ntype Sizes = { active: Size; next: Size }\n\n/** Default of `direction` (the vocabulary's). */\nconst DEFAULT_FLIP: UIT.ShapeFlip = \"left\"\n\n/** A side's state while another is shown: hidden. */\nconst INACTIVE = \"inactive\"\n\n/** The active side's state while it turns away. */\nconst LEAVING = \"leaving\"\n\n/** A side's state in a flip card (`flip-on=\"click\"`): the sides share one place (`UIShape.css`). */\nconst IN_FLIP_CARD = \"in-flip-card\"\n\n/** The inline properties a flip stages on the sides. */\nconst STAGED = [\"transform\", \"top\", \"left\"] as const\n\n/** `flip-on`'s value for a flip card. */\nconst CLICK = \"click\"\n\n/** What a click or key on a side may press for itself, instead of turning the shape. */\nconst PRESSABLE =\n \"a[href], button, input, select, textarea, summary, label, [contenteditable], [role=button], [role=link]\"\n\n/** ms added to the transition before giving up on `transitionend`. */\nconst FAIL_SAFE = 100\n","/**\n * Every name `<ui-shape>` and `<ui-side>` use:\n * tags, attributes (kind + allowed values), events, slots, parts, states, texts.\n * Schema: `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar: `<ui-shape cube>` => `ui cube shape`;\n * the element adds `animating` before the noun while it flips.\n * - A side has no `ui` (Fomantic's `.side`);\n * which one shows is the shape's `active-index`, not an attribute of the side.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `<ui-side>`\n * One side of a `<ui-shape>`: `<div class=\"side\" part=\"side\"><slot>`; the shape shows, hides and turns it.\n ****************/\nexport const sideVocabulary = {\n tag: \"ui-side\",\n icon: \"square outline\",\n topics: [\"animation\", \"content parts\", \"modules\"],\n aka: [\"shape side\", \"face\"],\n noun: \"side\",\n ui: false,\n description: \"One side of a shape.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"The side's content.\" }],\n parts: [{ name: \"side\", description: \"The face.\" }],\n states: [\n { name: \"side\", description: \"Always: its shape finds it by this.\" },\n { name: \"active\", description: \"The side shown (set by the shape).\" },\n { name: \"inactive\", description: \"Another side is shown: hidden (set by the shape).\" },\n { name: \"animating\", description: \"Turning into view (set by the shape).\" },\n { name: \"leaving\", description: \"Turning out of view (set by the shape).\" },\n {\n name: \"in-flip-card\",\n description:\n 'Its shape is a flip card (`flip-on=\"click\"`): the sides share one place, hidden ones kept in the ' +\n \"layout, so the card is as tall as its tallest side (set by the shape).\"\n }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { isServer, type JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { UIShape } from \"./UIShape\"\nimport { SIDE } from \"./UIShape.types\"\nimport { sideVocabulary } from \"./UISide.en\"\n\nimport shapeCSS from \"./UIShape.css?inline\"\n\n/****************\n * ### `UISide`\n * The component behind `<ui-side>`:\n * one side of a `<ui-shape>` (Fomantic's `.side`), `<div class=\"side\" part=\"side\"><slot>`.\n *\n * - Passive: the DOM element is the face that turns.\n * Its shape sets its states (`active`, `inactive`, `animating`, `leaving`)\n * and, while flipping, its inline `transform` / `top` / `left`; `UIShape.css` does the rest.\n * - Outside a working shape (no `inactive` state) every side shows, stacked: content is never lost.\n * - A server render (`spell/ui/static`):\n * - in a `text` shape the root is a `<span>` (`UIShape.rendersInlineOnServer`)\n * - which side shows goes by its states (`data-state`), not the class grammar's `active` class:\n * that one's rule (states layer) would beat a cube face's `display: flex`\n ****************/\nexport class UISide extends E.UIComponent<typeof sideVocabulary> {\n @E.proto static vocabulary = sideVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { shape: shapeCSS },\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n /** Always a side: `:state(side)`. */\n @E.cssState(\"side\")\n get isSide(): boolean {\n return true\n }\n\n render(): JSX.Element {\n if (this.isInline) return this.inlineSide()\n return (\n <div class={SIDE} part={this.partForName(\"side\")}>\n <slot />\n </div>\n )\n }\n\n /** A side of a `text` shape in a server render (see class docs). */\n private get isInline(): boolean {\n if (!isServer) return false\n // `parentElement` is the platform's: `null` at the top\n const shape = (this.domElement.parentElement as E.DOMElement | null)?.component\n return shape instanceof UIShape && shape.rendersInlineOnServer\n }\n\n /** `render()`'s markup as a `<span>` (`isInline`). */\n private inlineSide(): JSX.Element {\n return (\n <span class={SIDE} part={this.partForName(\"side\")}>\n <slot />\n </span>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UISide extends E.AttributeValues<typeof sideVocabulary> {}\n","/**\n * The shape family: defines `<ui-shape>` and `<ui-side>`, and exports their components, `UIShape` and `UISide`,\n * and the shape's DOM element, `DOMShapeElement`.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-shape` entry (its size is in `notes/report.md`).\n */\n\nimport { DOMShapeElement, UIShape } from \"./UIShape\"\nimport { UISide } from \"./UISide\"\n\nUIShape.define()\nUISide.define()\n\nexport { UIShape, UISide, DOMShapeElement }\n"],"mappings":";;;;AAoBA,IAAa4D,IAAO,QAGPC,IAAQ,SCNRC,KAAkB;CAC7B,KAAK;CACL,MAAM;CACN,QAAQ;EAAC;EAAa;EAAS;CAAS;CACxC,KAAK;EAAC;EAAW;EAAQ;EAAa;CAAU;CAChD,MAAM;CACN,aAAa;CACb,YAAY;EACV;GAAE,MAAM;GAAQ,OAAO;GAAc,MAAM;GAAW,aAAa;EAA6C;EAChH;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,SAAS;GACT,aACE;EACJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAM;IAAQ;IAAQ;IAAS;IAAQ;GAAM;GACtD,SAAS;GACT,aACE;EAEJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,SAAS,QAAQ;GAC1B,SAAS;GACT,aACE;EAGJ;CACF;CACA,QAAQ,CACN;EACE,MAAM;EACN,QAAQ;EACR,aAAa;CACf,CACF;CACA,OAAO,CAAC;EAAE,MAAM;EAAI,aAAa;CAA8C,CAAC;CAChF,OAAO,CACL;EAA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JgI,GAEW,gBAAe7H,EAAtB4H,GAAA,IAFJC,GAE0B;CACnC,aAAa,EAAE,OAAOlI,EAAS;CAC/B,gBAAgB;AAClB,CAAA,CAAA,GAHeK,EAAA4H,GAAA,IAFJC,CAAA;AAAN,IAAME,KAANF;ACbPT,EAAQ,OAAO,GACfW,GAAO,OAAO"}
|
|
1
|
+
{"version":3,"file":"ui-shape.js","names":["origin","sign","ref={(element) => this.stage = element}","ref={(element) => this.box = element}","this","part={this.partForName(\"shape\")}","tabindex={this.flipsOnClick ? 0 : void 0}","class={SIDES}","part={this.partForName(\"sides\")}","<div\n ref={(element) => this.stage = element}\n class={this.rootClass}\n part={this.partForName(\"shape\")}\n tabindex={this.flipsOnClick ? 0 : void 0}\n >\n <div ref={(element) => this.box = element} class={SIDES} part={this.partForName(\"sides\")} aria-live=\"polite\">\n <slot />\n </div>\n </div>","<span class={this.rootClass} part={this.partForName(\"shape\")}>\n <span class={SIDES} part={this.partForName(\"sides\")} aria-live=\"polite\">\n <slot />\n </span>\n </span>","_tmpl$","_tmpl$2","_elementSetup_dec","_vocabulary_dec","_a","_init","E.DOMElement","E.UIComponent","E.proto","E.protoMerged","E.state","E.on","E.onChange","E.untracked","E.controlled","E.cssState","UIT.ACTIVE","UIT.ANIMATING","E.after","_$getOwner","_$setAttribute","__name","shapeCSS","part={this.partForName(\"side\")}","this","<div class={SIDE} part={this.partForName(\"side\")}>\n <slot />\n </div>","<span class={SIDE} part={this.partForName(\"side\")}>\n <slot />\n </span>","E.UIComponent","E.proto","E.protoMerged","E.cssState","_$getOwner","_$readShallow","_$setAttribute","__name","shapeCSS","__decoratorStart","__publicField","__name$1","__decorateElement","__decoratorMetadata","__runInitializers","ShapeCommands","DIGITS","ACTIVE","ShapeFlips","__privateAdd","ANIMATING","SIDE","SIDES","shapeVocabulary","UIShape_default","_tmpl$$1","_tmpl$2$1","_rendersInlineOnServer_dec","_cssDuration_dec","_defaultFlip_dec","_flip_dec","_isFlipping_dec","_onKeyDown_dec","_onClick_dec","_onCommand_dec","_flipTo_dec","_onActiveSideIndexChanged_dec","_activeSideIndex_dec","_firstSides_dec","_onSidesChanged_dec","_onSlotChange_dec","_sides_dec","_elementSetup_dec$1","_vocabulary_dec$1","_a$1","_init$1","_sides","_activeSideIndex","_isFlipping","DOMElement","direction","index","_UIShape","UIComponent","proto","protoMerged","state","on","onChange","untracked","controlled","cssState","isReady","sides","isFlipCard","side","INACTIVE","IN_FLIP_CARD","child","next","count","to","done","step","event","command","CLICK","node","host","PRESSABLE","run","active","stage","box","detail","sizes","staged","duration","LEAVING","element","property","STAGED","style","wait","time","onEnd","timer","after","FAIL_SAFE","resolve","first","second","DEFAULT_FLIP","text","_self$","_el$","_el$2","_el$3","ref","getOwner","effect","readShallow","className","_p$","t","setAttribute","a","o","i","isServer","_self$2","_el$4","_el$5","_el$6","origin2","sign2","origin","sign","value","UIShape","sideVocabulary","_tmpl$","_tmpl$2","_isSide_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_UISide","shape","UISide"],"sources":["../src/components/ui-shape/UIShape.types.ts","../src/components/ui-shape/UIShape.en.ts","../src/components/ui-shape/UIShape.tsx","../src/components/ui-shape/UISide.en.ts","../src/components/ui-shape/UISide.tsx","../src/components/ui-shape/index.ts"],"sourcesContent":["/**\n * The constants and types the `ui-shape` family's files share: `UIShape` and `UISide`.\n * - Pure data, at the bottom of the folder's imports: `import type` only, so node can load it (`yarn site:data`).\n * - A constant only one class reads sits below that class (epic `wwod-spell-ui`, Q18).\n */\n\nimport type { shapeVocabulary } from \"./UIShape.en\"\n\n////////////////\n// ## Vocabulary\n////////////////\n\n/** `shapeVocabulary`'s type, for brevity. */\nexport type ShapeVocabulary = typeof shapeVocabulary\n\n////////////////\n// ## Markup contract (`UIShape.css`)\n////////////////\n\n/** The side noun: `<ui-side>`'s class and part, and how a shape finds its sides (a translated tag too). */\nexport const SIDE = \"side\"\n\n/** Class of the turning box. */\nexport const SIDES = \"sides\"\n","/**\n * Every name `<ui-shape>` and `<ui-side>` use:\n * tags, attributes (kind + allowed values), events, slots, parts, states, texts.\n * Schema: `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar: `<ui-shape cube>` => `ui cube shape`;\n * the element adds `animating` before the noun while it flips.\n * - A side has no `ui` (Fomantic's `.side`);\n * which one shows is the shape's `active-index`, not an attribute of the side.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `<ui-shape>`\n * A 3D shape showing one side at a time:\n * `<div class=\"ui ... shape\" part=\"shape\"><div class=\"sides\" part=\"sides\"><slot>`, its `<ui-side>`s slotted.\n ****************/\nexport const shapeVocabulary = {\n tag: \"ui-shape\",\n icon: \"cube\",\n topics: [\"animation\", \"media\", \"modules\"],\n aka: [\"3d flip\", \"cube\", \"flip card\", \"carousel\"],\n noun: \"shape\",\n partOfSpeech: \"structure\",\n description: \"A shape is a three dimensional object displayed on a two dimensional plane.\",\n attributes: [\n { name: \"cube\", group: \"appearance\", kind: \"keyOnly\", description: \"Square grey faces, as the sides of a cube.\" },\n {\n name: \"text\",\n group: \"name\",\n kind: \"keyOnly\",\n description: \"Sides of text, inline: a word that flips to another.\"\n },\n {\n name: \"active-index\",\n group: \"appearance\",\n kind: \"number\",\n default: 0,\n description:\n \"Index of the side shown (from 0). Controlled: changing it flips (`direction` says which way) to that side.\"\n },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"enum\",\n values: [\"up\", \"down\", \"left\", \"right\", \"over\", \"back\"],\n default: \"left\",\n description:\n \"Which way it turns (Fomantic's `flip up` ...) when `active-index` changes, `next()` / `previous()` run or \" +\n \"`flip()` gets no direction.\"\n },\n {\n name: \"duration\",\n group: \"behaviour\",\n kind: \"string\",\n description: \"Length of a flip: ms (`600`) or a CSS time (`0.6s`); default Fomantic's 0.6s.\"\n },\n {\n name: \"flip-on\",\n group: \"behaviour\",\n kind: \"enum\",\n values: [\"click\", \"manual\"],\n default: \"manual\",\n description:\n \"What turns it to its next side: `click` -- a click, or Enter / Space while it has focus \" +\n \"(a flip card; a link or button on a side still works as itself); `manual` -- only \" +\n \"`active-index`, `next()` / `previous()` / `flip()` and invoker commands.\"\n }\n ],\n events: [\n {\n name: \"ui-animated\",\n detail: \"{ activeIndex: number, side: Element, flip: ShapeFlip }\",\n description: \"Another side is shown, its flip finished (Fomantic's `onChange`).\"\n }\n ],\n slots: [{ name: \"\", description: \"The sides: `<ui-side>` elements, in order.\" }],\n parts: [\n { name: \"shape\", description: \"The stage, with the 3D perspective.\" },\n { name: \"sides\", description: \"The box that turns; a polite live region, so a flip is announced.\" }\n ],\n states: [{ name: \"animating\", description: \"Flipping.\" }],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { isServer, type JSX } from \"@solidjs/web\"\n\nimport { E, UI, UIT } from \"spell/ui/core\"\nimport { SIDE, SIDES, type ShapeVocabulary } from \"./UIShape.types\"\nimport { shapeVocabulary } from \"./UIShape.en\"\n\nimport shapeCSS from \"./UIShape.css?inline\"\n\n/****************\n * ### `DOMShapeElement`\n * The DOM element of `<ui-shape>`:\n * it adds Fomantic's `.shape('flip up')` / `'set next side'` as METHODS, `flip()`, `next()` and `previous()`.\n *\n * - Each resolves once its flip has run: `true` when it showed another side,\n * `false` when there was none to show (or the element hasn't drawn yet).\n * - Flips queue, as Fomantic's do.\n * - Each writes `activeIndex` (so it reflects, and frameworks see it);\n * writing `activeIndex` yourself flips too, the `direction` attribute's way.\n * - Above the component: its `elementSetup` reads this class while the component is defined.\n ****************/\nexport class DOMShapeElement extends E.DOMElement<UIShape> {\n /** Turn `direction` (default the `direction` attribute) to side `index` (default the next one, wrapping). */\n flip(direction?: UIT.ShapeFlip, index?: number): Promise<boolean> {\n return this.component?.flipTo(direction, index) ?? Promise.resolve(false)\n }\n\n /** Turn to the next side (wrapping), the `direction` attribute's way. */\n next(): Promise<boolean> {\n return this.flip()\n }\n\n /** Turn to the previous side (wrapping), the `direction` attribute's way. */\n previous(): Promise<boolean> {\n return this.component?.flipBy(-1) ?? Promise.resolve(false)\n }\n}\n\n/****************\n * ### `UIShape`\n * The component behind `<ui-shape>`: Fomantic's shape, one of its `<ui-side>`s at a time, turning in 3D to another.\n * Its shadow DOM: `<div class=\"ui … shape [animating]\" part=\"shape\"><div class=\"sides\" part=\"sides\"><slot>`.\n *\n * - `activeIndex` is the side shown.\n * Changing it turns the `direction` way (`up`, `down`, `left`, `right`, `over`, `back`), then fires `ui-animated`;\n * so do the DOM element's `flip()` / `next()` / `previous()` (`DOMShapeElement`)\n * and invoker commands (`UIT.ShapeCommands`).\n * - Flips queue; a flip to the side already shown does nothing.\n *\n * - The flip is Fomantic's own geometry (`shape.js`):\n * - the stage keeps its size\n * - the next side is staged at 90° (or 180°) around the current one\n * - the sides box turns with a CSS transition\n * - the inline styles are cleared after\n *\n * - SIDE EFFECTS on the sides (this family's own DOM elements):\n * custom states (`active`, `inactive`, `animating`, `leaving`)\n * and, during a flip, inline `transform` / `top` / `left`.\n * - Reduced motion: an instant swap, `ui-animated` all the same.\n * - A flip card (`flip-on=\"click\"`) is as tall as its tallest side, whichever shows: turning it never moves\n * what's around it (a mosaic's other cards). Its sides share one grid cell, the hidden ones `visibility: hidden`.\n * - Accessibility: hidden sides are `display: none` (a flip card's, `visibility: hidden`: out of the tree all the same);\n * the sides box is a polite live region, so the new side is read out after a flip (Fomantic's had no ARIA).\n ****************/\nexport class UIShape extends E.UIComponent<ShapeVocabulary> {\n @E.proto static vocabulary = shapeVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { shape: shapeCSS },\n DOMElement: DOMShapeElement,\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n ////////////////\n // ## Sides\n ////////////////\n\n /** The side elements, in order. */\n @E.state accessor sides: E.DOMElement[] = this.findSides()\n\n /**\n * Has had sides; until then `shownIndex` is only a guess.\n * - NOTE: the barrel defines `<ui-shape>` BEFORE `<ui-side>`, so a parsed shape upgrades with no sides yet.\n */\n private hasHadSides = this.sides.length > 0\n\n /** The default slot's content changed: find the sides again. */\n @E.on(\"slotchange\", { target: \"renderRoot\" })\n protected onSlotChange() {\n this.sides = this.findSides()\n }\n\n /**\n * The sides changed: start at `activeIndex` the first time, then show the current side, hide the rest.\n * - Once `isReady` (the sheets are in and the stage is drawn), as when this lived in `render()`.\n * - Writes the DOM element's sides: a static render (`spell/ui/static`) marks them once, before they render.\n */\n @E.onChange(\"isReady\", \"sides\", \"flipsOnClick\", { writesDOMElement: true })\n protected onSidesChanged(isReady: boolean, sides: E.DOMElement[]) {\n if (!isReady) return\n this.firstSides(sides)\n this.mark(sides)\n }\n\n /** The first sides found after none (upgrade order, or content added later): start at `activeIndex`, not 0. */\n @E.untracked\n private firstSides(sides: readonly E.DOMElement[]) {\n if (this.hasHadSides || !sides.length) return\n this.hasHadSides = true\n this.shownIndex = this.queuedIndex = this.normalize(this.activeSideIndex, sides.length)\n }\n\n /**\n * Show the current side; hide the rest.\n * - A flip card's sides are marked `in-flip-card`: they share one place, so it keeps its tallest side's height.\n */\n private mark(sides: readonly E.DOMElement[]) {\n const isFlipCard = this.flipsOnClick\n sides.forEach((side, index) => {\n side.setState(UIT.ACTIVE, index === this.shownIndex)\n side.setState(INACTIVE, index !== this.shownIndex)\n side.setState(IN_FLIP_CARD, isFlipCard)\n })\n }\n\n /** Child elements whose definition's noun is `side` (a `<ui-side>`, or a translated one). */\n private findSides(): E.DOMElement[] {\n return [...this.domElement.children].filter(\n (child): child is E.DOMElement =>\n E.UIComponent.registry.definitions.get(child.localName)?.vocabulary.noun === SIDE\n )\n }\n\n ////////////////\n // ## The side shown (API through `DOMShapeElement`)\n ////////////////\n\n /** `activeIndex`: always the DOM element's property (a number with a default). */\n @E.controlled(\"active-index\") accessor activeSideIndex = 0\n\n /**\n * Index of the side shown now:\n * NOT a mirror of `activeSideIndex`, it follows the queue (it lags while a flip runs).\n */\n private shownIndex = this.normalize(this.activeSideIndex, this.sides.length)\n\n /** Where the queue is heading. */\n private queuedIndex = this.shownIndex\n\n /** The queue: each flip starts when the one before has finished. */\n private flipQueue: Promise<unknown> = Promise.resolve()\n\n /**\n * `activeIndex` changed (the DOM element's own write, or `flipTo()`'s):\n * flip there, unless the queue is heading there.\n * - Once `isReady`, as when this lived in `render()`:\n * a change before the sheets load flips (animated) once the stage is drawn, instead of swapping at once.\n */\n @E.onChange(\"isReady\", \"activeSideIndex\")\n protected onActiveSideIndexChanged(isReady: boolean, index: number) {\n if (!isReady) return\n const next = this.normalize(index, this.sides.length)\n if (next !== this.queuedIndex) void this.enqueue(this.defaultFlip, next)\n }\n\n /** Turn `direction` to side `index` (default the next one after where the queue is heading, wrapping). */\n @E.untracked\n flipTo(direction?: UIT.ShapeFlip, index?: number): Promise<boolean> {\n const count = this.sides.length\n if (!count) return Promise.resolve(false)\n const to = this.normalize(index ?? this.queuedIndex + 1, count)\n const done = to === this.queuedIndex ? Promise.resolve(false) : this.enqueue(direction ?? this.defaultFlip, to)\n this.activeSideIndex = to\n return done\n }\n\n /** Turn `step` sides on (negative: back), the `direction` attribute's way. */\n flipBy(step: number): Promise<boolean> {\n return this.flipTo(undefined, this.queuedIndex + step)\n }\n\n /**\n * An invoker command aimed at the DOM element (`UIT.ShapeCommands`): `--next`, `--previous`, `--flip-<direction>`.\n */\n @E.on(\"command\")\n protected onCommand(event: Event) {\n const { command } = event as Event & { command: string }\n if (command === UIT.ShapeCommands.next) void this.flipBy(1)\n else if (command === UIT.ShapeCommands.previous) void this.flipBy(-1)\n else if (command?.startsWith(UIT.ShapeCommands.flip)) {\n const direction = command.slice(UIT.ShapeCommands.flip.length) as UIT.ShapeFlip\n if (UIT.ShapeFlips.includes(direction)) void this.flipTo(direction)\n }\n }\n\n ////////////////\n // ## Flip on click (`flip-on=\"click\"`)\n ////////////////\n\n /** `flip-on=\"click\"`: a flip card, turning to its next side when pressed. */\n get flipsOnClick(): boolean {\n return this.flipOn === CLICK\n }\n\n /** A click anywhere on it turns it, unless it landed on something pressable of its own (a link on its back). */\n @E.on(\"click\")\n protected onClick(event: MouseEvent) {\n if (!this.flipsOnClick || UIShape.pressedInside(event, this.domElement)) return\n void this.flipBy(1)\n }\n\n /** Enter or Space while it has focus turns it, as a click does. */\n @E.on(\"keydown\")\n protected onKeyDown(event: KeyboardEvent) {\n if (!this.flipsOnClick || (event.key !== \"Enter\" && event.key !== \" \")) return\n if (UIShape.pressedInside(event, this.domElement)) return\n event.preventDefault()\n void this.flipBy(1)\n }\n\n /** The event started on a pressable element inside `host` (a link, a button, a field), not on the shape itself. */\n private static pressedInside(event: Event, host: Element): boolean {\n return event.composedPath().some((node) => node !== host && node instanceof Element && node.matches(PRESSABLE))\n }\n\n /** Queue a flip to `index`. */\n private enqueue(direction: UIT.ShapeFlip, index: number): Promise<boolean> {\n this.queuedIndex = index\n const run = this.flipQueue.then(() => this.flip(direction, index))\n this.flipQueue = run.catch(() => false)\n return run\n }\n\n /** `index` wrapped into `0 .. count - 1`. */\n private normalize(index: number, count: number): number {\n if (!count) return 0\n return ((Math.trunc(index) % count) + count) % count\n }\n\n ////////////////\n // ## Flipping\n ////////////////\n\n /** A flip is running: class `animating`, `:state(animating)`. */\n @E.cssState(\"animating\")\n @E.state\n accessor isFlipping = false\n\n protected get extraClass(): string | undefined {\n return this.isFlipping ? UIT.ANIMATING : undefined\n }\n\n /** The stage: the outer box, which keeps its size while the sides turn. */\n private stage?: HTMLDivElement\n\n /** The turning box of sides. */\n private box?: HTMLDivElement\n\n /**\n * One flip, Fomantic's `animate()`: stage the next side, turn the box, wait for its transition, reset.\n * - Reduced motion, a hidden or disconnected shape: swap at once.\n */\n @E.untracked\n private async flip(direction: UIT.ShapeFlip, index: number): Promise<boolean> {\n const sides = this.sides\n const active = sides[this.shownIndex]\n const next = sides[index]\n if (!next || index === this.shownIndex) return false\n const { stage, box } = this\n const isInstant = !active || !stage || !box || !this.domElement.isConnected || UI.browser.isReducedMotion\n // `offsetParent` is the platform's: `null` while hidden\n if (!isInstant && stage.offsetParent !== null) await this.animate({ direction, stage, box, active, next })\n this.shownIndex = index\n this.mark(sides)\n const detail: UIT.ShapeChangeDetail = { activeIndex: index, side: next, flip: direction }\n this.send(\"ui-animated\", detail)\n return true\n }\n\n /** Stage, turn, wait, reset. */\n private async animate({ direction, stage, box, active, next }: FlipParams) {\n // the stage keeps its size (Fomantic's `width` / `height: 'initial'`)\n stage.style.width = `${stage.offsetWidth}px`\n stage.style.height = `${stage.offsetHeight}px`\n next.setState(INACTIVE, false)\n next.setState(UIT.ANIMATING, true)\n const sizes = { active: this.sizeOf(active), next: this.sizeOf(next) }\n const staged = UIShape.staging(direction, sizes)\n Object.assign(active.style, { transform: staged.active })\n Object.assign(next.style, staged.next)\n const duration = this.cssDuration\n if (duration) box.style.transitionDuration = duration\n void box.offsetWidth\n this.isFlipping = true\n stage.classList.add(UIT.ANIMATING)\n active.setState(LEAVING, true)\n box.style.transform = UIShape.turn(direction, sizes)\n await this.transitionEnd(box)\n for (const element of [stage, box]) element.removeAttribute(\"style\")\n for (const side of [active, next]) for (const property of STAGED) side.style.removeProperty(property)\n stage.classList.remove(UIT.ANIMATING)\n active.setState(LEAVING, false)\n next.setState(UIT.ANIMATING, false)\n this.isFlipping = false\n }\n\n /** Resolve on the box's `transitionend` (its own), or after its duration plus a fail-safe. */\n private transitionEnd(box: HTMLElement): Promise<void> {\n return new Promise((resolve) => {\n const style = getComputedStyle(box)\n const wait = Math.max(...style.transitionDuration.split(\",\").map((time) => UIShape.ms(time)))\n const onEnd = (event: TransitionEvent) => {\n if (event.target === box) done()\n }\n const timer = E.after((wait + FAIL_SAFE) / 1000, done)\n box.addEventListener(\"transitionend\", onEnd)\n\n /** Stop waiting: the timer and the listener go, and the flip goes on. */\n function done() {\n timer.cancel()\n box.removeEventListener(\"transitionend\", onEnd)\n resolve()\n }\n })\n }\n\n /** A side's margin box. */\n private sizeOf(side: HTMLElement): Size {\n const style = getComputedStyle(side)\n return {\n width: side.offsetWidth + margins(\"margin-left\", \"margin-right\"),\n height: side.offsetHeight + margins(\"margin-top\", \"margin-bottom\")\n }\n\n /** The two margins, in px. */\n function margins(first: string, second: string): number {\n return parseFloat(style.getPropertyValue(first)) + parseFloat(style.getPropertyValue(second))\n }\n }\n\n /** The `direction` attribute (or its default); untracked. */\n @E.untracked\n private get defaultFlip(): UIT.ShapeFlip {\n return this.direction ?? DEFAULT_FLIP\n }\n\n /** `duration` as CSS: bare digits are ms; untracked. */\n @E.untracked\n private get cssDuration(): string | undefined {\n const text = this.duration?.trim()\n if (!text) return undefined\n return UIT.DIGITS.test(text) ? `${text}ms` : text\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n if (this.rendersInlineOnServer) return this.inlineShape()\n return (\n <div\n ref={(element) => (this.stage = element)}\n class={this.rootClass}\n part={this.partForName(\"shape\")}\n tabindex={this.flipsOnClick ? 0 : undefined}\n >\n <div ref={(element) => (this.box = element)} class={SIDES} part={this.partForName(\"sides\")} aria-live=\"polite\">\n <slot />\n </div>\n </div>\n )\n }\n\n /**\n * A `text` shape in a server render (`spell/ui/static`):\n * its static output is PHRASING content (`<span>`s, as the class grammar's),\n * since the DOM element it replaces sits in running text --\n * a `<div>` would close an open `<p>` when a browser parses the page.\n * - Its sides follow (`UISide`).\n */\n @E.untracked\n get rendersInlineOnServer(): boolean {\n return isServer && !!this.text\n }\n\n /** `render()`'s markup as `<span>`s (`rendersInlineOnServer`). */\n private inlineShape(): JSX.Element {\n return (\n <span class={this.rootClass} part={this.partForName(\"shape\")}>\n <span class={SIDES} part={this.partForName(\"sides\")} aria-live=\"polite\">\n <slot />\n </span>\n </span>\n )\n }\n\n ////////////////\n // ## Geometry (Fomantic's `shape.js`): static, as it's pure\n ////////////////\n\n /** Where the active side stays and the next one waits, 90° (or 180°) round (Fomantic's `stage.*`). */\n private static staging(\n direction: UIT.ShapeFlip,\n sizes: Sizes\n ): { active: string; next: Partial<CSSStyleDeclaration> } {\n const { active, next } = sizes\n if (direction === \"up\" || direction === \"down\") {\n const origin = (active.height - next.height) / 2\n const sign = direction === \"up\" ? 1 : -1\n return {\n active: \"rotateX(0deg)\",\n next: {\n top: `${origin}px`,\n transform: `rotateX(${sign * 90}deg) translateZ(${active.height / 2}px) translateY(${-sign * (next.height / 2)}px)`\n }\n }\n }\n const origin = (active.width - next.width) / 2\n if (direction === \"over\" || direction === \"back\") {\n return { active: \"rotateY(0deg)\", next: { left: `${origin}px`, transform: \"rotateY(-180deg)\" } }\n }\n const sign = direction === \"left\" ? -1 : 1\n return {\n active: \"rotateY(0deg)\",\n next: {\n left: `${origin}px`,\n transform: `rotateY(${sign * 90}deg) translateZ(${active.width / 2}px) translateX(${sign * (next.width / 2)}px)`\n }\n }\n }\n\n /** How the sides box turns (Fomantic's `get.transform.*`). */\n private static turn(direction: UIT.ShapeFlip, { active, next }: Sizes): string {\n switch (direction) {\n case \"up\":\n return `translateY(${next.height - active.height / 2}px) translateZ(${-active.height / 2}px) rotateX(-90deg)`\n case \"down\":\n return `translateY(${-active.height / 2}px) translateZ(${-active.height / 2}px) rotateX(90deg)`\n case \"left\":\n return `translateX(${next.width - active.width / 2}px) translateZ(${-active.width / 2}px) rotateY(90deg)`\n case \"right\":\n return `translateX(${-active.width / 2}px) translateZ(${-active.width / 2}px) rotateY(-90deg)`\n case \"over\":\n return `translateX(${-(active.width - next.width) / 2}px) rotateY(180deg)`\n case \"back\":\n return `translateX(${-(active.width - next.width) / 2}px) rotateY(-180deg)`\n }\n }\n\n /** A CSS time (`0.6s`, `600ms`) in ms. */\n private static ms(time: string): number {\n const value = Number.parseFloat(time)\n if (Number.isNaN(value)) return 0\n return time.trim().endsWith(\"ms\") ? value : value * 1000\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIShape extends E.AttributeValues<ShapeVocabulary> {}\n\n/** What one animated flip works on. */\ntype FlipParams = {\n /** which way it turns */\n direction: UIT.ShapeFlip\n /** the outer box, held at its size */\n stage: HTMLElement\n /** the turning box of sides */\n box: HTMLElement\n /** the side shown now */\n active: E.DOMElement\n /** the side turning in */\n next: E.DOMElement\n}\n\n/** A margin box, in px. */\ntype Size = { width: number; height: number }\n\n/** Margin-box sizes of the active and next sides. */\ntype Sizes = { active: Size; next: Size }\n\n/** Default of `direction` (the vocabulary's). */\nconst DEFAULT_FLIP: UIT.ShapeFlip = \"left\"\n\n/** A side's state while another is shown: hidden. */\nconst INACTIVE = \"inactive\"\n\n/** The active side's state while it turns away. */\nconst LEAVING = \"leaving\"\n\n/** A side's state in a flip card (`flip-on=\"click\"`): the sides share one place (`UIShape.css`). */\nconst IN_FLIP_CARD = \"in-flip-card\"\n\n/** The inline properties a flip stages on the sides. */\nconst STAGED = [\"transform\", \"top\", \"left\"] as const\n\n/** `flip-on`'s value for a flip card. */\nconst CLICK = \"click\"\n\n/** What a click or key on a side may press for itself, instead of turning the shape. */\nconst PRESSABLE =\n \"a[href], button, input, select, textarea, summary, label, [contenteditable], [role=button], [role=link]\"\n\n/** ms added to the transition before giving up on `transitionend`. */\nconst FAIL_SAFE = 100\n","/**\n * Every name `<ui-shape>` and `<ui-side>` use:\n * tags, attributes (kind + allowed values), events, slots, parts, states, texts.\n * Schema: `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Class words come out through `ClassBuilder`, in Fomantic's grammar: `<ui-shape cube>` => `ui cube shape`;\n * the element adds `animating` before the noun while it flips.\n * - A side has no `ui` (Fomantic's `.side`);\n * which one shows is the shape's `active-index`, not an attribute of the side.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `<ui-side>`\n * One side of a `<ui-shape>`: `<div class=\"side\" part=\"side\"><slot>`; the shape shows, hides and turns it.\n ****************/\nexport const sideVocabulary = {\n tag: \"ui-side\",\n icon: \"square outline\",\n topics: [\"animation\", \"content parts\", \"modules\"],\n aka: [\"shape side\", \"face\"],\n noun: \"side\",\n partOfSpeech: \"structure\",\n ui: false,\n description: \"One side of a shape.\",\n attributes: [],\n events: [],\n slots: [{ name: \"\", description: \"The side's content.\" }],\n parts: [{ name: \"side\", description: \"The face.\" }],\n states: [\n { name: \"side\", description: \"Always: its shape finds it by this.\" },\n { name: \"active\", description: \"The side shown (set by the shape).\" },\n { name: \"inactive\", description: \"Another side is shown: hidden (set by the shape).\" },\n { name: \"animating\", description: \"Turning into view (set by the shape).\" },\n { name: \"leaving\", description: \"Turning out of view (set by the shape).\" },\n {\n name: \"in-flip-card\",\n description:\n 'Its shape is a flip card (`flip-on=\"click\"`): the sides share one place, hidden ones kept in the ' +\n \"layout, so the card is as tall as its tallest side (set by the shape).\"\n }\n ],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import { isServer, type JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { UIShape } from \"./UIShape\"\nimport { SIDE } from \"./UIShape.types\"\nimport { sideVocabulary } from \"./UISide.en\"\n\nimport shapeCSS from \"./UIShape.css?inline\"\n\n/****************\n * ### `UISide`\n * The component behind `<ui-side>`:\n * one side of a `<ui-shape>` (Fomantic's `.side`), `<div class=\"side\" part=\"side\"><slot>`.\n *\n * - Passive: the DOM element is the face that turns.\n * Its shape sets its states (`active`, `inactive`, `animating`, `leaving`)\n * and, while flipping, its inline `transform` / `top` / `left`; `UIShape.css` does the rest.\n * - Outside a working shape (no `inactive` state) every side shows, stacked: content is never lost.\n * - A server render (`spell/ui/static`):\n * - in a `text` shape the root is a `<span>` (`UIShape.rendersInlineOnServer`)\n * - which side shows goes by its states (`data-state`), not the class grammar's `active` class:\n * that one's rule (states layer) would beat a cube face's `display: flex`\n ****************/\nexport class UISide extends E.UIComponent<typeof sideVocabulary> {\n @E.proto static vocabulary = sideVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { shape: shapeCSS },\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n /** Always a side: `:state(side)`. */\n @E.cssState(\"side\")\n get isSide(): boolean {\n return true\n }\n\n render(): JSX.Element {\n if (this.isInline) return this.inlineSide()\n return (\n <div class={SIDE} part={this.partForName(\"side\")}>\n <slot />\n </div>\n )\n }\n\n /** A side of a `text` shape in a server render (see class docs). */\n private get isInline(): boolean {\n if (!isServer) return false\n // `parentElement` is the platform's: `null` at the top\n const shape = (this.domElement.parentElement as E.DOMElement | null)?.component\n return shape instanceof UIShape && shape.rendersInlineOnServer\n }\n\n /** `render()`'s markup as a `<span>` (`isInline`). */\n private inlineSide(): JSX.Element {\n return (\n <span class={SIDE} part={this.partForName(\"side\")}>\n <slot />\n </span>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UISide extends E.AttributeValues<typeof sideVocabulary> {}\n","/**\n * The shape family: defines `<ui-shape>` and `<ui-side>`, and exports their components, `UIShape` and `UISide`,\n * and the shape's DOM element, `DOMShapeElement`.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-shape` entry (its size is in `notes/report.md`).\n */\n\nimport { DOMShapeElement, UIShape } from \"./UIShape\"\nimport { UISide } from \"./UISide\"\n\nUIShape.define()\nUISide.define()\n\nexport { UIShape, UISide, DOMShapeElement }\n"],"mappings":";;;;AAoBA,IAAa2D,IAAO,QAGPC,IAAQ,SCNRC,KAAkB;CAC7B,KAAK;CACL,MAAM;CACN,QAAQ;EAAC;EAAa;EAAS;CAAS;CACxC,KAAK;EAAC;EAAW;EAAQ;EAAa;CAAU;CAChD,MAAM;CACN,cAAc;CACd,aAAa;CACb,YAAY;EACV;GAAE,MAAM;GAAQ,OAAO;GAAc,MAAM;GAAW,aAAa;EAA6C;EAChH;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,SAAS;GACT,aACE;EACJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAM;IAAQ;IAAQ;IAAS;IAAQ;GAAM;GACtD,SAAS;GACT,aACE;EAEJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf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H,EAAA6H,GAAA,IAAO,cAAhBF,IADWG,CAAA,GAEI9H,EAAA6H,GAAA,IAAO,gBAAtBH,GAFWI,CAAA,GAAN7H,EAAA4H,GAAMC,CAAA,GAAoDnI,EAAAmI,GAAA,QAAA,GACtDhI,EADEgI,GACK,cAAa5H,EAApB2H,GAAA,GADEC,GACkBR,EAAA,CAAA,GAApBpH,EAAA2H,GAAA,IADEC,CAAA,GAEIhI,EAFJgI,GAEW,gBAAe5H,EAAtB2H,GAAA,IAFJC,GAE0B;CACnC,aAAa,EAAE,OAAOlI,EAAS;CAC/B,gBAAgB;AAClB,CAAA,CAAA,GAHeM,EAAA2H,GAAA,IAFJC,CAAA;AAAN,IAAME,KAANF;ACbPT,EAAQ,OAAO,GACfW,GAAO,OAAO"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-shape/ui-side.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-side>'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-side\" data-omit=\"\"></ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-side.editor-CFSqGHGH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-side.editor-CFSqGHGH.js","names":["ui_side_editor_default"],"sources":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-sidebar/ui-sidebar.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-sidebar>'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-sidebar\" data-omit=\"\">\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"blurring\"></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=\"position\"></ui-property>\n <ui-property name=\"width\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"States\" data-group=\"states\">\n <ui-property name=\"transition\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Behaviour\" data-group=\"behaviour\">\n <ui-property name=\"closedby\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Advanced\" data-group=\"advanced\">\n <ui-property name=\"persistent\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-sidebar.editor-DWFPQcXv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-sidebar.editor-DWFPQcXv.js","names":["ui_sidebar_editor_default"],"sources":[],"mappings":""}
|