spell-ui 0.8.8 → 0.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-components.md +9 -3
- package/README-frameworks.md +5 -5
- package/README-migrating.md +2 -2
- package/README.md +5 -5
- package/dist/{CodeEngine-GL9EzwF1.js → CodeEngine-B684vKxR.js} +39 -100
- package/dist/{CodeEngine-GL9EzwF1.js.map → CodeEngine-B684vKxR.js.map} +1 -1
- package/dist/{Dragging-CMZoLEWQ.js → Dragging-B93hbRxF.js} +17 -15
- package/dist/Dragging-B93hbRxF.js.map +1 -0
- package/dist/{MarkdownEngine-CW1WGqNp.js → MarkdownEngine-D1jqcFeU.js} +11 -72
- package/dist/{MarkdownEngine-CW1WGqNp.js.map → MarkdownEngine-D1jqcFeU.js.map} +1 -1
- package/dist/MarkdownSanitizer-CqsWivYJ.js +866 -0
- package/dist/MarkdownSanitizer-CqsWivYJ.js.map +1 -0
- package/dist/{PrefStore-Qv0e5y04.js → PrefStore-Di83C0bY.js} +13 -9
- package/dist/PrefStore-Di83C0bY.js.map +1 -0
- package/dist/ScrollingRow-DkOtx2QK.js +89 -0
- package/dist/ScrollingRow-DkOtx2QK.js.map +1 -0
- package/dist/{SitePages-CciwREek.js → SitePages-B3zd5Zgu.js} +37 -10
- package/dist/SitePages-B3zd5Zgu.js.map +1 -0
- package/dist/SlottedItems-DWfAZYqM.js +88 -0
- package/dist/SlottedItems-DWfAZYqM.js.map +1 -0
- package/dist/{TemporalPolyfill-D9mr7_wA.js → TemporalPolyfill-Bv_c_xa0.js} +7 -12
- package/dist/{TemporalPolyfill-D9mr7_wA.js.map → TemporalPolyfill-Bv_c_xa0.js.map} +1 -1
- package/dist/{ThemeDraft-B7NPif4d.js → ThemeDraft-CyX3YA_L.js} +41 -43
- package/dist/{ThemeDraft-B7NPif4d.js.map → ThemeDraft-CyX3YA_L.js.map} +1 -1
- package/dist/{TreeMeasure-BVJeGb1L.js → TreeMeasure-BK74uexu.js} +3 -4
- package/dist/{TreeMeasure-BVJeGb1L.js.map → TreeMeasure-BK74uexu.js.map} +1 -1
- package/dist/UIButton-BmIiXYDC.js +5 -0
- package/dist/UIButton-BmIiXYDC.js.map +1 -0
- package/dist/UIGrid-2ZUA1YEc.js +200 -0
- package/dist/UIGrid-2ZUA1YEc.js.map +1 -0
- package/dist/{UIInput-BodVbUoQ.js → UIInput-B3K0w4ow.js} +2 -3
- package/dist/UIInput-B3K0w4ow.js.map +1 -0
- package/dist/{UIKeys-Rh_gUZjP.js → UIKeys-DmXvyJuU.js} +12 -12
- package/dist/UIKeys-DmXvyJuU.js.map +1 -0
- package/dist/{UILabel-DgJUBzB_.js → UILabel-pCjKxQlQ.js} +2 -3
- package/dist/UILabel-pCjKxQlQ.js.map +1 -0
- package/dist/UIMenu-CqURPocK.js +42 -0
- package/dist/UIMenu-CqURPocK.js.map +1 -0
- package/dist/{UIRuntime-KH309p5B.js → UIRuntime-BXutHphM.js} +253 -239
- package/dist/UIRuntime-BXutHphM.js.map +1 -0
- package/dist/{UISegment-CMMIW7cZ.js → UISegment-BF4Tgy2D.js} +2 -3
- package/dist/UISegment-BF4Tgy2D.js.map +1 -0
- package/dist/_spell-element/UIComponent.d.ts +8 -0
- package/dist/_spell-element/vocabulary.types.d.ts +20 -2
- package/dist/_util/Dragging.d.ts +14 -2
- package/dist/_util/dom.d.ts +12 -8
- package/dist/_util/measures/Dimension.d.ts +1 -1
- package/dist/_util/persist/PrefStore.d.ts +7 -2
- package/dist/_util/persist/persist.types.d.ts +6 -0
- package/dist/_util/platform.d.ts +54 -0
- package/dist/_util/string.d.ts +25 -0
- package/dist/api.js +2 -3
- package/dist/api.js.map +1 -1
- package/dist/{apple.palette-B4ivrNlM.js → apple.palette-YLjENwUt.js} +2 -3
- package/dist/apple.palette-YLjENwUt.js.map +1 -0
- package/dist/{classic-DCTQrteU.js → classic-BHyJFvQa.js} +2 -3
- package/dist/classic-BHyJFvQa.js.map +1 -0
- package/dist/components/ComponentDefinitions.d.ts +55 -8
- package/dist/components/components.es.d.ts +2 -1
- package/dist/components/components.planned.d.ts +1 -1
- package/dist/components/components.types.d.ts +22 -0
- package/dist/components/ui-accordion/UIAccordion.d.ts +1 -0
- package/dist/components/ui-accordion/UIAccordion.en.d.ts +1 -0
- package/dist/components/ui-action/UIAction.d.ts +38 -1
- package/dist/components/ui-action/UIAction.en.d.ts +17 -8
- package/dist/components/ui-action/UIAction.es.d.ts +1 -0
- package/dist/components/ui-ad/UIAd.d.ts +1 -0
- package/dist/components/ui-ad/UIAd.en.d.ts +1 -0
- package/dist/components/ui-app-menu/UIAppMenu.d.ts +41 -0
- package/dist/components/ui-app-menu/UIAppMenu.en.d.ts +294 -0
- package/dist/components/ui-app-menu/UIAppMenu.es.d.ts +35 -0
- package/dist/components/ui-app-menu/index.d.ts +2 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumb.en.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.d.ts +1 -0
- package/dist/components/ui-breadcrumbs/UIBreadcrumbs.en.d.ts +1 -0
- package/dist/components/ui-button/UIButton.d.ts +5 -4
- package/dist/components/ui-button/UIButton.en.d.ts +4 -3
- package/dist/components/ui-button/UIButton.fallback.d.ts +4 -3
- package/dist/components/ui-button/UIButton.types.d.ts +1 -1
- package/dist/components/ui-button/UIButtons.d.ts +7 -5
- package/dist/components/ui-button/UIButtons.en.d.ts +5 -3
- package/dist/components/ui-button/UIButtons.es.d.ts +1 -0
- package/dist/components/ui-button/UIOr.d.ts +1 -0
- package/dist/components/ui-button/UIOr.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.en.d.ts +1 -0
- package/dist/components/ui-calendar/UICalendar.fallback.d.ts +1 -0
- package/dist/components/ui-card/UICard.d.ts +1 -0
- package/dist/components/ui-card/UICard.en.d.ts +1 -0
- package/dist/components/ui-card/UICards.d.ts +1 -0
- package/dist/components/ui-card/UICards.en.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.en.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +1 -0
- package/dist/components/ui-checkbox/UIRadio.d.ts +1 -0
- package/dist/components/ui-checkbox/UIRadio.en.d.ts +1 -0
- package/dist/components/ui-code/CodeHighlighter.d.ts +7 -3
- package/dist/components/ui-code/UICode.d.ts +12 -1
- package/dist/components/ui-code/UICode.en.d.ts +1 -0
- package/dist/components/ui-code/UICode.types.d.ts +9 -0
- package/dist/components/ui-comment/UIComment.d.ts +1 -0
- package/dist/components/ui-comment/UIComment.en.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.d.ts +1 -0
- package/dist/components/ui-comment/UIComments.en.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.d.ts +1 -0
- package/dist/components/ui-components/UIComponents.en.d.ts +1 -0
- package/dist/components/ui-container/UIContainer.d.ts +54 -1
- package/dist/components/ui-container/UIContainer.en.d.ts +40 -1
- package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
- package/dist/components/ui-device/UIDevice.d.ts +234 -0
- package/dist/components/ui-device/UIDevice.en.d.ts +126 -0
- package/dist/components/ui-device/UIDevice.es.d.ts +52 -0
- package/dist/components/ui-device/index.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.en.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagramNode.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +1 -0
- package/dist/components/ui-dimension/UIDimension.d.ts +1 -0
- package/dist/components/ui-dimension/UIDimension.en.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
- package/dist/components/ui-divider/UIDivider.d.ts +1 -0
- package/dist/components/ui-divider/UIDivider.en.d.ts +1 -0
- package/dist/components/ui-dropdown/SlottedItems.d.ts +9 -1
- package/dist/components/ui-dropdown/UIDropdown.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.en.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +1 -0
- package/dist/components/ui-embed/UIEmbed.d.ts +1 -0
- package/dist/components/ui-embed/UIEmbed.en.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.d.ts +1 -0
- package/dist/components/ui-emoji/UIEmoji.en.d.ts +1 -0
- package/dist/components/ui-example/UIExample.en.d.ts +1 -0
- package/dist/components/ui-feed/UIFeed.d.ts +1 -0
- package/dist/components/ui-feed/UIFeed.en.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.d.ts +1 -0
- package/dist/components/ui-feed/UIFeedEvent.en.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.d.ts +1 -0
- package/dist/components/ui-flag/UIFlag.en.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.d.ts +1 -0
- package/dist/components/ui-flyout/UIFlyout.en.d.ts +1 -0
- package/dist/components/ui-form/UIField.d.ts +11 -4
- package/dist/components/ui-form/UIField.en.d.ts +3 -2
- package/dist/components/ui-form/UIFields.d.ts +1 -0
- package/dist/components/ui-form/UIFields.en.d.ts +1 -0
- package/dist/components/ui-form/UIForm.d.ts +1 -0
- package/dist/components/ui-form/UIForm.en.d.ts +1 -0
- package/dist/components/ui-form/UIRepeat.d.ts +1 -0
- package/dist/components/ui-form/UIRepeat.en.d.ts +1 -0
- package/dist/components/ui-grid/UIColumn.d.ts +4 -3
- package/dist/components/ui-grid/UIColumn.en.d.ts +4 -3
- package/dist/components/ui-grid/UIGrid.d.ts +1 -0
- package/dist/components/ui-grid/UIGrid.en.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.d.ts +1 -0
- package/dist/components/ui-grid/UIRow.en.d.ts +1 -0
- package/dist/components/ui-icon/UIIcon.d.ts +1 -0
- package/dist/components/ui-icon/UIIcon.en.d.ts +1 -0
- package/dist/components/ui-icon/UIIcons.d.ts +1 -0
- package/dist/components/ui-icon/UIIcons.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.d.ts +5 -1
- package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +1 -0
- package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +1 -0
- package/dist/components/ui-image/UIImage.d.ts +1 -0
- package/dist/components/ui-image/UIImage.en.d.ts +1 -0
- package/dist/components/ui-image/UIImages.d.ts +1 -0
- package/dist/components/ui-image/UIImages.en.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.d.ts +1 -0
- package/dist/components/ui-include/UIInclude.en.d.ts +1 -0
- package/dist/components/ui-input/UIInput.d.ts +1 -0
- package/dist/components/ui-input/UIInput.en.d.ts +1 -0
- package/dist/components/ui-input/UIInput.fallback.d.ts +1 -0
- package/dist/components/ui-input/UITextarea.d.ts +1 -0
- package/dist/components/ui-input/UITextarea.en.d.ts +1 -0
- package/dist/components/ui-item/UIItem.d.ts +19 -8
- package/dist/components/ui-item/UIItem.en.d.ts +2 -1
- package/dist/components/ui-items/UIItems.d.ts +1 -0
- package/dist/components/ui-items/UIItems.en.d.ts +1 -0
- package/dist/components/ui-json/UIJson.d.ts +1 -0
- package/dist/components/ui-json/UIJson.en.d.ts +1 -0
- package/dist/components/ui-keys/UIKeys.d.ts +1 -0
- package/dist/components/ui-keys/UIKeys.en.d.ts +1 -0
- package/dist/components/ui-label/UILabel.d.ts +3 -2
- package/dist/components/ui-label/UILabel.en.d.ts +3 -2
- package/dist/components/ui-label/UILabels.d.ts +1 -0
- package/dist/components/ui-label/UILabels.en.d.ts +1 -0
- package/dist/components/ui-list/UIList.d.ts +1 -0
- package/dist/components/ui-list/UIList.en.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.d.ts +1 -0
- package/dist/components/ui-loader/UILoader.en.d.ts +1 -0
- package/dist/components/ui-markdown/MarkdownBox.d.ts +7 -2
- package/dist/components/ui-markdown/MarkdownFormats.d.ts +9 -4
- package/dist/components/ui-markdown/UIMarkdown.en.d.ts +5 -0
- package/dist/components/ui-markdown/UIMarkdown.es.d.ts +1 -0
- package/dist/components/ui-menu/ScrollingRow.d.ts +19 -1
- package/dist/components/ui-menu/SegmentedThumb.d.ts +8 -1
- package/dist/components/ui-menu/SubMenuAim.d.ts +115 -0
- package/dist/components/ui-menu/TitleFit.d.ts +16 -1
- package/dist/components/ui-menu/UIMenu.d.ts +112 -9
- package/dist/components/ui-menu/UIMenu.en.d.ts +3 -2
- package/dist/components/ui-menu/UISubmenu.d.ts +261 -0
- package/dist/components/ui-menu/UISubmenu.en.d.ts +102 -0
- package/dist/components/ui-menu/UISubmenu.es.d.ts +21 -0
- package/dist/components/ui-menu/index.d.ts +3 -1
- package/dist/components/ui-message/UIMessage.d.ts +3 -2
- package/dist/components/ui-message/UIMessage.en.d.ts +4 -3
- package/dist/components/ui-modal/ModalDialogs.d.ts +36 -2
- package/dist/components/ui-modal/UIModal.d.ts +1 -0
- package/dist/components/ui-modal/UIModal.en.d.ts +1 -0
- package/dist/components/ui-nag/UINag.d.ts +1 -0
- package/dist/components/ui-nag/UINag.en.d.ts +1 -0
- package/dist/components/ui-page/UIPage.d.ts +1 -0
- package/dist/components/ui-page/UIPage.en.d.ts +1 -0
- package/dist/components/ui-page-layout/UIPageLayout.d.ts +311 -0
- package/dist/components/ui-page-layout/UIPageLayout.en.d.ts +99 -0
- package/dist/components/ui-page-layout/UIPageLayout.es.d.ts +38 -0
- package/dist/components/ui-page-layout/index.d.ts +1 -0
- package/dist/components/ui-panel/ScrollShades.d.ts +38 -0
- package/dist/components/ui-panel/UIPanel.d.ts +21 -2
- package/dist/components/ui-panel/UIPanel.en.d.ts +68 -61
- package/dist/components/ui-parts/UIActions.d.ts +1 -0
- package/dist/components/ui-parts/UIActions.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.d.ts +1 -0
- package/dist/components/ui-parts/UIAuthor.en.d.ts +1 -0
- package/dist/components/ui-parts/UIAvatar.d.ts +11 -2
- package/dist/components/ui-parts/UIAvatar.en.d.ts +3 -2
- package/dist/components/ui-parts/UIContent.d.ts +1 -0
- package/dist/components/ui-parts/UIContent.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.d.ts +1 -0
- package/dist/components/ui-parts/UIDate.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.d.ts +1 -0
- package/dist/components/ui-parts/UIDescription.en.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.d.ts +1 -0
- package/dist/components/ui-parts/UIDetail.en.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.d.ts +1 -0
- package/dist/components/ui-parts/UIExtra.en.d.ts +1 -0
- package/dist/components/ui-parts/UIHeader.d.ts +16 -5
- package/dist/components/ui-parts/UIHeader.en.d.ts +9 -5
- package/dist/components/ui-parts/UIMeta.d.ts +1 -0
- package/dist/components/ui-parts/UIMeta.en.d.ts +1 -0
- package/dist/components/ui-parts/UIParts.types.d.ts +23 -7
- package/dist/components/ui-parts/UISummary.d.ts +1 -0
- package/dist/components/ui-parts/UISummary.en.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.d.ts +1 -0
- package/dist/components/ui-parts/UITitle.en.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.d.ts +1 -0
- package/dist/components/ui-parts/UIValue.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholder.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderHeader.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderImage.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderLine.en.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.d.ts +1 -0
- package/dist/components/ui-placeholder/UIPlaceholderParagraph.en.d.ts +1 -0
- package/dist/components/ui-popup/UIPopup.d.ts +21 -3
- package/dist/components/ui-popup/UIPopup.en.d.ts +1 -0
- package/dist/components/ui-progress/UIProgress.d.ts +3 -2
- package/dist/components/ui-progress/UIProgress.en.d.ts +4 -3
- package/dist/components/ui-property-editor/UIProperty.d.ts +47 -13
- package/dist/components/ui-property-editor/UIProperty.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +14 -1
- package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +7 -1
- package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +15 -6
- package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.d.ts +1 -0
- package/dist/components/ui-quote/UIQuote.en.d.ts +1 -0
- package/dist/components/ui-rail/UIRail.d.ts +4 -3
- package/dist/components/ui-rail/UIRail.en.d.ts +4 -3
- package/dist/components/ui-rating/UIRating.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.en.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.fallback.d.ts +1 -0
- package/dist/components/ui-reveal/UIReveal.d.ts +1 -0
- package/dist/components/ui-reveal/UIReveal.en.d.ts +1 -0
- package/dist/components/ui-root/UIRoot.en.d.ts +1 -0
- package/dist/components/ui-search/UISearch.d.ts +1 -0
- package/dist/components/ui-search/UISearch.en.d.ts +1 -0
- package/dist/components/ui-search/UISearch.fallback.d.ts +1 -0
- package/dist/components/ui-section/UISection.d.ts +3 -2
- package/dist/components/ui-section/UISection.en.d.ts +3 -2
- package/dist/components/ui-section/UISections.d.ts +1 -0
- package/dist/components/ui-section/UISections.en.d.ts +1 -0
- package/dist/components/ui-segment/UISegment.d.ts +9 -10
- package/dist/components/ui-segment/UISegment.en.d.ts +10 -11
- package/dist/components/ui-segment/UISegments.d.ts +1 -0
- package/dist/components/ui-segment/UISegments.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.d.ts +1 -0
- package/dist/components/ui-select/UISelect.en.d.ts +1 -0
- package/dist/components/ui-select/UISelect.fallback.d.ts +1 -0
- package/dist/components/ui-shape/UIShape.d.ts +1 -0
- package/dist/components/ui-shape/UIShape.en.d.ts +1 -0
- package/dist/components/ui-shape/UISide.d.ts +1 -0
- package/dist/components/ui-shape/UISide.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPushable.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPushable.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.d.ts +1 -0
- package/dist/components/ui-sidebar/UIPusher.en.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.d.ts +1 -0
- package/dist/components/ui-sidebar/UISidebar.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.d.ts +1 -0
- package/dist/components/ui-sides/UISides.en.d.ts +1 -0
- package/dist/components/ui-sides/UISides.fallback.d.ts +1 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.d.ts +118 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.en.d.ts +49 -0
- package/dist/components/ui-site-breadcrumbs/UISiteBreadcrumbs.es.d.ts +22 -0
- package/dist/components/ui-site-breadcrumbs/index.d.ts +1 -0
- package/dist/components/ui-site-nav/SitePages.d.ts +26 -3
- package/dist/components/ui-site-nav/UISiteNav.d.ts +43 -5
- package/dist/components/ui-site-nav/UISiteNav.en.d.ts +10 -1
- package/dist/components/ui-site-nav-button/UISiteNavButton.d.ts +63 -0
- package/dist/components/ui-site-nav-button/UISiteNavButton.en.d.ts +173 -0
- package/dist/components/ui-site-nav-button/UISiteNavButton.es.d.ts +20 -0
- package/dist/components/ui-site-nav-button/index.d.ts +1 -0
- package/dist/components/ui-site-tabs/UISiteTabs.d.ts +21 -6
- package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.en.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.fallback.d.ts +1 -0
- package/dist/components/ui-space/UISpace.d.ts +1 -0
- package/dist/components/ui-space/UISpace.en.d.ts +1 -0
- package/dist/components/ui-split-panel/UISplitPanel.d.ts +43 -7
- package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +2 -1
- package/dist/components/ui-stack/UIStack.d.ts +1 -0
- package/dist/components/ui-stack/UIStack.en.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistic.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistic.en.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.d.ts +1 -0
- package/dist/components/ui-statistic/UIStatistics.en.d.ts +1 -0
- package/dist/components/ui-step/UIStep.d.ts +1 -0
- package/dist/components/ui-step/UIStep.en.d.ts +1 -0
- package/dist/components/ui-step/UISteps.d.ts +3 -2
- package/dist/components/ui-step/UISteps.en.d.ts +3 -2
- package/dist/components/ui-sticky/UISticky.d.ts +1 -0
- package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
- package/dist/components/ui-tab/UITab.d.ts +3 -2
- package/dist/components/ui-tab/UITab.en.d.ts +4 -3
- package/dist/components/ui-tab/UITabs.d.ts +5 -4
- package/dist/components/ui-tab/UITabs.en.d.ts +4 -3
- package/dist/components/ui-table/TableGrammar.d.ts +2 -2
- package/dist/components/ui-table/UICell.d.ts +1 -0
- package/dist/components/ui-table/UICell.en.d.ts +1 -0
- package/dist/components/ui-table/UITable.d.ts +7 -6
- package/dist/components/ui-table/UITable.en.d.ts +7 -6
- package/dist/components/ui-terms/UITerm.d.ts +1 -0
- package/dist/components/ui-terms/UITerm.en.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.d.ts +1 -0
- package/dist/components/ui-terms/UITerms.en.d.ts +1 -0
- package/dist/components/ui-text/UILink.d.ts +1 -0
- package/dist/components/ui-text/UILink.en.d.ts +1 -0
- package/dist/components/ui-text/UIText.d.ts +2 -1
- package/dist/components/ui-text/UIText.en.d.ts +2 -1
- package/dist/components/ui-theme-editor/BenchAddress.d.ts +9 -0
- package/dist/components/ui-theme-editor/UIColorChip.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIColorChip.en.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeToken.d.ts +1 -0
- package/dist/components/ui-theme-editor/UIThemeToken.en.d.ts +1 -0
- package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +37 -15
- package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +3 -2
- package/dist/components/ui-toast/UIToast.d.ts +1 -0
- package/dist/components/ui-toast/UIToast.en.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.d.ts +1 -0
- package/dist/components/ui-toc/UIToc.en.d.ts +1 -0
- package/dist/components/ui-toolbar/UIToolbar.d.ts +134 -1
- package/dist/components/ui-toolbar/UIToolbar.en.d.ts +75 -42
- package/dist/components/ui-toolbar/UIToolbar.es.d.ts +5 -0
- package/dist/components/ui-transition/UITransition.d.ts +1 -0
- package/dist/components/ui-transition/UITransition.en.d.ts +1 -0
- package/dist/components/ui-tree/UITree.d.ts +102 -2
- package/dist/components/ui-tree/UITree.en.d.ts +14 -1
- package/dist/components/ui-tree/UITree.es.d.ts +3 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +21 -2
- package/dist/components/ui-tree/UITreeItem.en.d.ts +5 -1
- package/dist/components/ui-tree/UITreeItem.es.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeNode.d.ts +1 -0
- package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +1 -0
- package/dist/components/ui-video/UIAudio.d.ts +1 -0
- package/dist/components/ui-video/UIAudio.en.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.d.ts +1 -0
- package/dist/components/ui-video/UIVideo.en.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.d.ts +1 -0
- package/dist/components/ui-visibility/UIVisibility.en.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.d.ts +1 -0
- package/dist/components/ui-zoom/UIZoom.en.d.ts +1 -0
- package/dist/{components.es-BOa_7gFF.js → components.es-DEa8Ep42.js} +265 -77
- package/dist/components.es-DEa8Ep42.js.map +1 -0
- package/dist/core.js +884 -806
- package/dist/core.js.map +1 -1
- package/dist/{crisp-VfYZlTph.js → crisp-DIpY320U.js} +3 -4
- package/dist/crisp-DIpY320U.js.map +1 -0
- package/dist/crisp.theme-Ir9p4BDC.js +5 -0
- package/dist/crisp.theme-Ir9p4BDC.js.map +1 -0
- package/dist/{dark-CbUdPe0a.js → dark-B5s4QbmU.js} +2 -3
- package/dist/dark-B5s4QbmU.js.map +1 -0
- package/dist/{dist-BLYIGZVK.js → dist-BQT4KajA.js} +34 -80
- package/dist/dist-BQT4KajA.js.map +1 -0
- package/dist/docs-components/docs-components.types.d.ts +6 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.d.ts +180 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.en.d.ts +88 -0
- package/dist/docs-components/ui-docs-palette/UIDocsPalette.types.d.ts +5 -0
- package/dist/docs-components/ui-docs-palette/index.d.ts +2 -0
- package/dist/docs-components/ui-docs-tokens/UIDocsTokens.d.ts +23 -0
- package/dist/docs-components/ui-docs-tokens/UIDocsTokens.en.d.ts +5 -1
- package/dist/elements/PartComponent.d.ts +5 -0
- package/dist/elements/PopoverPanel.d.ts +12 -1
- package/dist/elements/Validator.d.ts +1 -1
- package/dist/emoji/cldr/{0-DSUpV2d7.js → 0-B6B0nyLW.js} +2 -3
- package/dist/emoji/cldr/0-B6B0nyLW.js.map +1 -0
- package/dist/emoji/cldr/{a-D_oB4vJ-.js → a-C12vpdzK.js} +2 -3
- package/dist/emoji/cldr/a-C12vpdzK.js.map +1 -0
- package/dist/emoji/cldr/{b-DX0W0Mda.js → b-BGkQUJ8v.js} +2 -3
- package/dist/emoji/cldr/b-BGkQUJ8v.js.map +1 -0
- package/dist/emoji/cldr/{c-DUHidpE9.js → c-DtqAfVnG.js} +2 -3
- package/dist/emoji/cldr/c-DtqAfVnG.js.map +1 -0
- package/dist/emoji/cldr/{d-CiCXZXay.js → d-B5SNGAad.js} +2 -3
- package/dist/emoji/cldr/d-B5SNGAad.js.map +1 -0
- package/dist/emoji/cldr/{e-DILJo3Ri.js → e-CMUDvE48.js} +2 -3
- package/dist/emoji/cldr/e-CMUDvE48.js.map +1 -0
- package/dist/emoji/cldr/{f-ByGFLyOq.js → f-Dfhd9bp8.js} +2 -3
- package/dist/emoji/cldr/f-Dfhd9bp8.js.map +1 -0
- package/dist/emoji/cldr/{g-BZ0FRsud.js → g-VpFllv6y.js} +2 -3
- package/dist/emoji/cldr/g-VpFllv6y.js.map +1 -0
- package/dist/emoji/cldr/{h-jtLdvRXQ.js → h-CE6GevC3.js} +2 -3
- package/dist/emoji/cldr/h-CE6GevC3.js.map +1 -0
- package/dist/emoji/cldr/{i-DcbJ5utE.js → i-BUPzV8pA.js} +2 -3
- package/dist/emoji/cldr/i-BUPzV8pA.js.map +1 -0
- package/dist/emoji/cldr/{j-BuEqP5nz.js → j-BFAg68Ig.js} +2 -3
- package/dist/emoji/cldr/j-BFAg68Ig.js.map +1 -0
- package/dist/emoji/cldr/{k-P1J6Gvze.js → k-jnBMfMlM.js} +2 -3
- package/dist/emoji/cldr/k-jnBMfMlM.js.map +1 -0
- package/dist/emoji/cldr/{l-28XcbsPr.js → l-ClLOCfnc.js} +2 -3
- package/dist/emoji/cldr/l-ClLOCfnc.js.map +1 -0
- package/dist/emoji/cldr/{m-DKgGJ8rW.js → m-p358YNne.js} +2 -3
- package/dist/emoji/cldr/m-p358YNne.js.map +1 -0
- package/dist/emoji/cldr/{n-DmPLP4F3.js → n-DOh1UxA2.js} +2 -3
- package/dist/emoji/cldr/n-DOh1UxA2.js.map +1 -0
- package/dist/emoji/cldr/{o-f98nt3s7.js → o-D_nTGMIR.js} +2 -3
- package/dist/emoji/cldr/o-D_nTGMIR.js.map +1 -0
- package/dist/emoji/cldr/{p-CxnsOTOt.js → p-BA8Ct3hE.js} +2 -3
- package/dist/emoji/cldr/p-BA8Ct3hE.js.map +1 -0
- package/dist/emoji/cldr/{r-D0GPRJ-Q.js → r-BFZ26mlC.js} +2 -3
- package/dist/emoji/cldr/r-BFZ26mlC.js.map +1 -0
- package/dist/emoji/cldr/{s-DcFuepnw.js → s-CIZH91hj.js} +2 -3
- package/dist/emoji/cldr/s-CIZH91hj.js.map +1 -0
- package/dist/emoji/cldr/{t-BvHgGpUr.js → t-qg9oQuYr.js} +2 -3
- package/dist/emoji/cldr/t-qg9oQuYr.js.map +1 -0
- package/dist/emoji/cldr/{u-ChFYHtUf.js → u-CN-QpqjC.js} +2 -3
- package/dist/emoji/cldr/u-CN-QpqjC.js.map +1 -0
- package/dist/emoji/cldr/{v-WmX3nWtZ.js → v-CO_76wOC.js} +2 -3
- package/dist/emoji/cldr/v-CO_76wOC.js.map +1 -0
- package/dist/emoji/cldr/{w-BPySQUWW.js → w-DOQn50Cw.js} +2 -3
- package/dist/emoji/cldr/w-DOQn50Cw.js.map +1 -0
- package/dist/emoji/cldr/x-DddFDGbR.js +5 -0
- package/dist/emoji/cldr/x-DddFDGbR.js.map +1 -0
- package/dist/emoji/cldr/{y-zB_yhTFg.js → y-auUWML2r.js} +2 -3
- package/dist/emoji/cldr/y-auUWML2r.js.map +1 -0
- package/dist/emoji/cldr/{z-BgJ94Cap.js → z-BYAp28d6.js} +2 -3
- package/dist/emoji/cldr/z-BYAp28d6.js.map +1 -0
- package/dist/emoji/fomantic/0-BdzcjXW3.js +9 -0
- package/dist/emoji/fomantic/0-BdzcjXW3.js.map +1 -0
- package/dist/emoji/fomantic/{a-CrqYlC21.js → a-R3ZJ-207.js} +2 -3
- package/dist/emoji/fomantic/a-R3ZJ-207.js.map +1 -0
- package/dist/emoji/fomantic/{b-DneVHRdQ.js → b-NF1y0dRD.js} +2 -3
- package/dist/emoji/fomantic/b-NF1y0dRD.js.map +1 -0
- package/dist/emoji/fomantic/{c-ClxKRuir.js → c-CuIzdNXI.js} +2 -3
- package/dist/emoji/fomantic/c-CuIzdNXI.js.map +1 -0
- package/dist/emoji/fomantic/{d-Djqs_y4s.js → d-CuS9uvGS.js} +2 -3
- package/dist/emoji/fomantic/d-CuS9uvGS.js.map +1 -0
- package/dist/emoji/fomantic/{e-CuF-jOQd.js → e-S2pyUDgP.js} +2 -3
- package/dist/emoji/fomantic/e-S2pyUDgP.js.map +1 -0
- package/dist/emoji/fomantic/{f-D8VglrJ4.js → f-DnHzZwKR.js} +2 -3
- package/dist/emoji/fomantic/f-DnHzZwKR.js.map +1 -0
- package/dist/emoji/fomantic/{g-Du_HFl6U.js → g-CdqbF8yB.js} +2 -3
- package/dist/emoji/fomantic/g-CdqbF8yB.js.map +1 -0
- package/dist/emoji/fomantic/{h-CLE5tHnM.js → h-Dgmy17VC.js} +2 -3
- package/dist/emoji/fomantic/h-Dgmy17VC.js.map +1 -0
- package/dist/emoji/fomantic/{i-BjOsrQDZ.js → i-BCe1z6Es.js} +2 -3
- package/dist/emoji/fomantic/i-BCe1z6Es.js.map +1 -0
- package/dist/emoji/fomantic/{j-CyUDXKCu.js → j-D39udLwj.js} +2 -3
- package/dist/emoji/fomantic/j-D39udLwj.js.map +1 -0
- package/dist/emoji/fomantic/{k-Clypg4R8.js → k-KDlJnEWX.js} +2 -3
- package/dist/emoji/fomantic/k-KDlJnEWX.js.map +1 -0
- package/dist/emoji/fomantic/{l-DvLPdBh-.js → l-rVE39-7Z.js} +2 -3
- package/dist/emoji/fomantic/l-rVE39-7Z.js.map +1 -0
- package/dist/emoji/fomantic/{m-B1lIb1kP.js → m-Bys5Cs9k.js} +2 -3
- package/dist/emoji/fomantic/m-Bys5Cs9k.js.map +1 -0
- package/dist/emoji/fomantic/{n-Bgpp_ht5.js → n-DzPz1atY.js} +2 -3
- package/dist/emoji/fomantic/n-DzPz1atY.js.map +1 -0
- package/dist/emoji/fomantic/{o-BhYZzpjp.js → o-lKtDGpuN.js} +2 -3
- package/dist/emoji/fomantic/o-lKtDGpuN.js.map +1 -0
- package/dist/emoji/fomantic/{p-VLL0GK3m.js → p-DUvy18Aa.js} +2 -3
- package/dist/emoji/fomantic/p-DUvy18Aa.js.map +1 -0
- package/dist/emoji/fomantic/q-WtSN0kE7.js +5 -0
- package/dist/emoji/fomantic/q-WtSN0kE7.js.map +1 -0
- package/dist/emoji/fomantic/{r-Bd1DjkkI.js → r-Dm_1szGZ.js} +2 -3
- package/dist/emoji/fomantic/r-Dm_1szGZ.js.map +1 -0
- package/dist/emoji/fomantic/{s-Bqatw1W7.js → s-LPRU4KZk.js} +2 -3
- package/dist/emoji/fomantic/s-LPRU4KZk.js.map +1 -0
- package/dist/emoji/fomantic/{t-Bs7IFhv3.js → t-iQksEIKb.js} +2 -3
- package/dist/emoji/fomantic/t-iQksEIKb.js.map +1 -0
- package/dist/emoji/fomantic/{u-M6GfYC-U.js → u-CkDd-u7Y.js} +2 -3
- package/dist/emoji/fomantic/u-CkDd-u7Y.js.map +1 -0
- package/dist/emoji/fomantic/{v-BKHNqkn0.js → v-C83uQ5pk.js} +2 -3
- package/dist/emoji/fomantic/v-C83uQ5pk.js.map +1 -0
- package/dist/emoji/fomantic/{w-B_XvIu7h.js → w-D_redhGe.js} +2 -3
- package/dist/emoji/fomantic/w-D_redhGe.js.map +1 -0
- package/dist/emoji/fomantic/x-eI_dPUEx.js +8 -0
- package/dist/emoji/fomantic/x-eI_dPUEx.js.map +1 -0
- package/dist/emoji/fomantic/{y-DPZaoIla.js → y-CO_6qz-J.js} +2 -3
- package/dist/emoji/fomantic/y-CO_6qz-J.js.map +1 -0
- package/dist/emoji/fomantic/{z-FH-kPXch.js → z-C-wWxD0a.js} +2 -3
- package/dist/emoji/fomantic/z-C-wWxD0a.js.map +1 -0
- package/dist/forms.js +65 -75
- package/dist/forms.js.map +1 -1
- package/dist/fruity-CsfZNeXb.js +5 -0
- package/dist/fruity-CsfZNeXb.js.map +1 -0
- package/dist/{fruity.theme-CbC7Jyvk.js → fruity.theme-BL7cCZUQ.js} +3 -4
- package/dist/fruity.theme-BL7cCZUQ.js.map +1 -0
- package/dist/glass-BCK30hpe.js +5 -0
- package/dist/glass-BCK30hpe.js.map +1 -0
- package/dist/glass.theme-C7QSRB7b.js +5 -0
- package/dist/glass.theme-C7QSRB7b.js.map +1 -0
- package/dist/hot.js +18 -32
- package/dist/hot.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +95 -90
- package/dist/jsx.d.ts +3869 -715
- package/dist/matrix-DEnqBfwC.js +5 -0
- package/dist/matrix-DEnqBfwC.js.map +1 -0
- package/dist/matrix.theme-YV6_nvXv.js +5 -0
- package/dist/matrix.theme-YV6_nvXv.js.map +1 -0
- package/dist/{merlot-DOXLuUaU.js → merlot-DFa6kDbA.js} +3 -4
- package/dist/merlot-DFa6kDbA.js.map +1 -0
- package/dist/merlot.theme-B1K8nn2u.js +5 -0
- package/dist/merlot.theme-B1K8nn2u.js.map +1 -0
- package/dist/{midnight-BxlTQSfw.js → midnight-q0-3-V6U.js} +3 -4
- package/dist/midnight-q0-3-V6U.js.map +1 -0
- package/dist/midnight.theme-C7M02wTD.js +5 -0
- package/dist/midnight.theme-C7M02wTD.js.map +1 -0
- package/dist/mockup-D0vovNO7.js +5 -0
- package/dist/mockup-D0vovNO7.js.map +1 -0
- package/dist/mockup.theme-C92r9NI0.js +5 -0
- package/dist/mockup.theme-C92r9NI0.js.map +1 -0
- package/dist/{paper-M61nUilz.js → paper-DPxolmdy.js} +3 -4
- package/dist/paper-DPxolmdy.js.map +1 -0
- package/dist/paper.theme-BAKk3DY1.js +5 -0
- package/dist/paper.theme-BAKk3DY1.js.map +1 -0
- package/dist/{persist.types-D2m6wD-S.js → persist.types-D7N7GewC.js} +2 -3
- package/dist/persist.types-D7N7GewC.js.map +1 -0
- package/dist/{pop-CxXfytjk.js → pop-Dw_6k177.js} +3 -4
- package/dist/pop-Dw_6k177.js.map +1 -0
- package/dist/pop.theme-Cw-yD0MO.js +5 -0
- package/dist/pop.theme-Cw-yD0MO.js.map +1 -0
- package/dist/property/PropertyEditorPages.d.ts +1 -1
- package/dist/property/PropertyLayouts.d.ts +119 -0
- package/dist/property/PropertySchemas.d.ts +5 -1
- package/dist/property/index.d.ts +2 -0
- package/dist/{rolldown-runtime-CYGlBXrH.js → rolldown-runtime-c6e9CmGy.js} +2 -3
- package/dist/runtime/Browser.d.ts +7 -0
- package/dist/runtime/DataTooltips.d.ts +2 -0
- package/dist/runtime/Keyboard.d.ts +4 -1
- package/dist/runtime/Toasts.d.ts +10 -0
- package/dist/runtime/runtime.types.d.ts +47 -0
- package/dist/{search-CzSzx7bX.js → search-C2Rq9HF1.js} +1 -2
- package/dist/search-C2Rq9HF1.js.map +1 -0
- package/dist/spell-CB-MivSX.js +5 -0
- package/dist/spell-CB-MivSX.js.map +1 -0
- package/dist/spell.theme-CUoc5rTq.js +5 -0
- package/dist/spell.theme-CUoc5rTq.js.map +1 -0
- package/dist/styles/StyleGenerator.d.ts +7 -0
- package/dist/styles/styles.en.d.ts +27 -18
- package/dist/{styles.en-CUUxNwHo.js → styles.en-DZlSJiOR.js} +21 -21
- package/dist/styles.en-DZlSJiOR.js.map +1 -0
- package/dist/styles.js +9 -10
- package/dist/styles.js.map +1 -1
- package/dist/ui-accordion.editor-BP8uQGGU.js +5 -0
- package/dist/ui-accordion.editor-BP8uQGGU.js.map +1 -0
- package/dist/ui-accordion.js +59 -60
- package/dist/ui-accordion.js.map +1 -1
- package/dist/ui-action.editor-m5R5N5Wy.js +5 -0
- package/dist/ui-action.editor-m5R5N5Wy.js.map +1 -0
- package/dist/ui-action.js +73 -45
- package/dist/ui-action.js.map +1 -1
- package/dist/ui-actions.editor-Buc3N2ik.js +5 -0
- package/dist/ui-actions.editor-Buc3N2ik.js.map +1 -0
- package/dist/ui-ad.editor-BHTDuSii.js +5 -0
- package/dist/ui-ad.editor-BHTDuSii.js.map +1 -0
- package/dist/ui-ad.js +8 -9
- package/dist/ui-ad.js.map +1 -1
- package/dist/ui-app-menu.editor-DxPPnMUT.js +5 -0
- package/dist/ui-app-menu.editor-DxPPnMUT.js.map +1 -0
- package/dist/ui-app-menu.js +89 -0
- package/dist/ui-app-menu.js.map +1 -0
- package/dist/ui-audio.editor-Y6WeqLRh.js +5 -0
- package/dist/ui-audio.editor-Y6WeqLRh.js.map +1 -0
- package/dist/ui-author.editor-Bmf-rEXY.js +5 -0
- package/dist/ui-author.editor-Bmf-rEXY.js.map +1 -0
- package/dist/ui-avatar.editor-CSU6snQz.js +5 -0
- package/dist/ui-avatar.editor-CSU6snQz.js.map +1 -0
- package/dist/ui-breadcrumb.editor-N1-8OzDq.js +5 -0
- package/dist/ui-breadcrumb.editor-N1-8OzDq.js.map +1 -0
- package/dist/ui-breadcrumbs.editor-Mml0fUR_.js +5 -0
- package/dist/ui-breadcrumbs.editor-Mml0fUR_.js.map +1 -0
- package/dist/ui-breadcrumbs.js +18 -17
- package/dist/ui-breadcrumbs.js.map +1 -1
- package/dist/ui-button.editor-BV9Bh_xf.js +5 -0
- package/dist/ui-button.editor-BV9Bh_xf.js.map +1 -0
- package/dist/ui-button.js +157 -156
- package/dist/ui-button.js.map +1 -1
- package/dist/ui-buttons.editor-CSsEIo2s.js +5 -0
- package/dist/ui-buttons.editor-CSsEIo2s.js.map +1 -0
- package/dist/ui-calendar.editor-TsP8a97s.js +5 -0
- package/dist/ui-calendar.editor-TsP8a97s.js.map +1 -0
- package/dist/ui-calendar.js +148 -157
- package/dist/ui-calendar.js.map +1 -1
- package/dist/ui-card.editor-BBZj9e03.js +5 -0
- package/dist/ui-card.editor-BBZj9e03.js.map +1 -0
- package/dist/ui-card.js +70 -70
- package/dist/ui-card.js.map +1 -1
- package/dist/ui-cards.editor-Hrmldr4q.js +5 -0
- package/dist/ui-cards.editor-Hrmldr4q.js.map +1 -0
- package/dist/ui-cell.editor-Dmz_mwJ0.js +5 -0
- package/dist/ui-cell.editor-Dmz_mwJ0.js.map +1 -0
- package/dist/ui-checkbox.editor-DnOz9r6d.js +5 -0
- package/dist/ui-checkbox.editor-DnOz9r6d.js.map +1 -0
- package/dist/ui-checkbox.js +49 -48
- package/dist/ui-checkbox.js.map +1 -1
- package/dist/ui-code.editor-Drr_FVB6.js +5 -0
- package/dist/ui-code.editor-Drr_FVB6.js.map +1 -0
- package/dist/ui-code.js +116 -79
- package/dist/ui-code.js.map +1 -1
- package/dist/ui-color-chip.editor-B3zV8FkB.js +5 -0
- package/dist/ui-color-chip.editor-B3zV8FkB.js.map +1 -0
- package/dist/ui-column.editor-hdUb-qwT.js +5 -0
- package/dist/ui-column.editor-hdUb-qwT.js.map +1 -0
- package/dist/ui-comment.editor-DJpE_8tz.js +5 -0
- package/dist/ui-comment.editor-DJpE_8tz.js.map +1 -0
- package/dist/ui-comment.js +15 -14
- package/dist/ui-comment.js.map +1 -1
- package/dist/ui-comments.editor-GFJN6l3Q.js +5 -0
- package/dist/ui-comments.editor-GFJN6l3Q.js.map +1 -0
- package/dist/ui-components.editor-BKFXnARt.js +5 -0
- package/dist/ui-components.editor-BKFXnARt.js.map +1 -0
- package/dist/ui-components.js +12 -13
- package/dist/ui-components.js.map +1 -1
- package/dist/ui-container.editor-CBNhNkRm.js +5 -0
- package/dist/ui-container.editor-CBNhNkRm.js.map +1 -0
- package/dist/ui-container.js +106 -21
- package/dist/ui-container.js.map +1 -1
- package/dist/ui-content.editor-B78lxK3P.js +5 -0
- package/dist/ui-content.editor-B78lxK3P.js.map +1 -0
- package/dist/ui-date.editor-PHEnU7QX.js +5 -0
- package/dist/ui-date.editor-PHEnU7QX.js.map +1 -0
- package/dist/ui-description.editor-DWFDJ9mV.js +5 -0
- package/dist/ui-description.editor-DWFDJ9mV.js.map +1 -0
- package/dist/ui-detail.editor-wliuVbx3.js +5 -0
- package/dist/ui-detail.editor-wliuVbx3.js.map +1 -0
- package/dist/ui-device.editor-kl48NVma.js +5 -0
- package/dist/ui-device.editor-kl48NVma.js.map +1 -0
- package/dist/ui-device.js +436 -0
- package/dist/ui-device.js.map +1 -0
- package/dist/ui-diagram-node.editor-6FyjT7oj.js +5 -0
- package/dist/ui-diagram-node.editor-6FyjT7oj.js.map +1 -0
- package/dist/ui-diagram.editor-Dn3ef-J9.js +5 -0
- package/dist/ui-diagram.editor-Dn3ef-J9.js.map +1 -0
- package/dist/ui-diagram.js +128 -129
- package/dist/ui-diagram.js.map +1 -1
- package/dist/ui-dimension.editor-BEXGKcCB.js +5 -0
- package/dist/ui-dimension.editor-BEXGKcCB.js.map +1 -0
- package/dist/ui-dimension.js +111 -12
- package/dist/ui-dimension.js.map +1 -1
- package/dist/ui-dimmer.editor-D14xzXIe.js +5 -0
- package/dist/ui-dimmer.editor-D14xzXIe.js.map +1 -0
- package/dist/ui-dimmer.js +29 -30
- package/dist/ui-dimmer.js.map +1 -1
- package/dist/ui-divider.editor-D6ozEXjx.js +5 -0
- package/dist/ui-divider.editor-D6ozEXjx.js.map +1 -0
- package/dist/ui-divider.js +9 -10
- package/dist/ui-divider.js.map +1 -1
- package/dist/ui-dropdown.editor-OFDGi1oz.js +5 -0
- package/dist/ui-dropdown.editor-OFDGi1oz.js.map +1 -0
- package/dist/ui-dropdown.js +155 -156
- package/dist/ui-dropdown.js.map +1 -1
- package/dist/ui-embed.editor-DHsrjw1j.js +5 -0
- package/dist/ui-embed.editor-DHsrjw1j.js.map +1 -0
- package/dist/ui-embed.js +23 -24
- package/dist/ui-embed.js.map +1 -1
- package/dist/ui-emoji.editor-DUL230Hi.js +5 -0
- package/dist/ui-emoji.editor-DUL230Hi.js.map +1 -0
- package/dist/ui-emoji.js +63 -64
- package/dist/ui-emoji.js.map +1 -1
- package/dist/ui-event.editor-Bk17y7wW.js +5 -0
- package/dist/ui-event.editor-Bk17y7wW.js.map +1 -0
- package/dist/ui-example.editor-D46Vnctp.js +5 -0
- package/dist/ui-example.editor-D46Vnctp.js.map +1 -0
- package/dist/ui-example.js +67 -74
- package/dist/ui-example.js.map +1 -1
- package/dist/ui-extra.editor-rX6sfH2e.js +5 -0
- package/dist/ui-extra.editor-rX6sfH2e.js.map +1 -0
- package/dist/ui-feed.editor-B7ycWh1b.js +5 -0
- package/dist/ui-feed.editor-B7ycWh1b.js.map +1 -0
- package/dist/ui-feed.js +26 -25
- package/dist/ui-feed.js.map +1 -1
- package/dist/ui-field.editor-Bz9xyCVv.js +5 -0
- package/dist/ui-field.editor-Bz9xyCVv.js.map +1 -0
- package/dist/ui-fields.editor-BUtW4NTk.js +5 -0
- package/dist/ui-fields.editor-BUtW4NTk.js.map +1 -0
- package/dist/ui-flag.editor-DNfdXo7y.js +5 -0
- package/dist/ui-flag.editor-DNfdXo7y.js.map +1 -0
- package/dist/ui-flag.js +13 -14
- package/dist/ui-flag.js.map +1 -1
- package/dist/ui-flyout.editor-b7UJYiV9.js +5 -0
- package/dist/ui-flyout.editor-b7UJYiV9.js.map +1 -0
- package/dist/ui-flyout.js +10 -11
- package/dist/ui-flyout.js.map +1 -1
- package/dist/ui-form.editor-BJC3WhNf.js +5 -0
- package/dist/ui-form.editor-BJC3WhNf.js.map +1 -0
- package/dist/ui-form.js +199 -195
- package/dist/ui-form.js.map +1 -1
- package/dist/ui-grid.editor-DVn2YIBW.js +5 -0
- package/dist/ui-grid.editor-DVn2YIBW.js.map +1 -0
- package/dist/ui-grid.js +43 -234
- package/dist/ui-grid.js.map +1 -1
- package/dist/ui-header.editor-meOjCASK.js +5 -0
- package/dist/ui-header.editor-meOjCASK.js.map +1 -0
- package/dist/ui-icon-picker.editor-vFPbT9Kh.js +5 -0
- package/dist/ui-icon-picker.editor-vFPbT9Kh.js.map +1 -0
- package/dist/ui-icon-picker.js +64 -69
- package/dist/ui-icon-picker.js.map +1 -1
- package/dist/ui-icon.editor-DoKK49PD.js +5 -0
- package/dist/ui-icon.editor-DoKK49PD.js.map +1 -0
- package/dist/ui-icon.js +15 -14
- package/dist/ui-icon.js.map +1 -1
- package/dist/ui-icons.editor-CSD6fOVt.js +5 -0
- package/dist/ui-icons.editor-CSD6fOVt.js.map +1 -0
- package/dist/ui-image.editor-D4ZUC_Ka.js +5 -0
- package/dist/ui-image.editor-D4ZUC_Ka.js.map +1 -0
- package/dist/ui-image.js +26 -26
- package/dist/ui-image.js.map +1 -1
- package/dist/ui-images.editor-Cb0D3vnI.js +5 -0
- package/dist/ui-images.editor-Cb0D3vnI.js.map +1 -0
- package/dist/ui-include.editor-CZcsVJbH.js +5 -0
- package/dist/ui-include.editor-CZcsVJbH.js.map +1 -0
- package/dist/ui-include.js +21 -22
- package/dist/ui-include.js.map +1 -1
- package/dist/ui-input.editor-budoNoB0.js +5 -0
- package/dist/ui-input.editor-budoNoB0.js.map +1 -0
- package/dist/ui-input.js +131 -130
- package/dist/ui-input.js.map +1 -1
- package/dist/ui-item.editor-BlWp1HXu.js +5 -0
- package/dist/ui-item.editor-BlWp1HXu.js.map +1 -0
- package/dist/ui-item.js +127 -113
- package/dist/ui-item.js.map +1 -1
- package/dist/ui-items.editor-GOul3Xss.js +5 -0
- package/dist/ui-items.editor-GOul3Xss.js.map +1 -0
- package/dist/ui-items.js +11 -12
- package/dist/ui-items.js.map +1 -1
- package/dist/ui-json.editor-BgZbrB_W.js +5 -0
- package/dist/ui-json.editor-BgZbrB_W.js.map +1 -0
- package/dist/ui-json.js +18 -19
- package/dist/ui-json.js.map +1 -1
- package/dist/ui-keys.editor-BI9EDtS4.js +5 -0
- package/dist/ui-keys.editor-BI9EDtS4.js.map +1 -0
- package/dist/ui-keys.js +2 -3
- package/dist/ui-label.editor-BVUYLSUs.js +5 -0
- package/dist/ui-label.editor-BVUYLSUs.js.map +1 -0
- package/dist/ui-label.js +22 -22
- package/dist/ui-label.js.map +1 -1
- package/dist/ui-labels.editor-BWJth86p.js +5 -0
- package/dist/ui-labels.editor-BWJth86p.js.map +1 -0
- package/dist/ui-link.editor-CpI53scP.js +5 -0
- package/dist/ui-link.editor-CpI53scP.js.map +1 -0
- package/dist/ui-list.editor-DhBZIkAa.js +5 -0
- package/dist/ui-list.editor-DhBZIkAa.js.map +1 -0
- package/dist/ui-list.js +9 -10
- package/dist/ui-list.js.map +1 -1
- package/dist/ui-loader.editor-BJlvmP7S.js +5 -0
- package/dist/ui-loader.editor-BJlvmP7S.js.map +1 -0
- package/dist/ui-loader.js +10 -11
- package/dist/ui-loader.js.map +1 -1
- package/dist/ui-markdown.editor-DPVKyxXa.js +5 -0
- package/dist/ui-markdown.editor-DPVKyxXa.js.map +1 -0
- package/dist/ui-markdown.js +208 -154
- package/dist/ui-markdown.js.map +1 -1
- package/dist/ui-menu.editor-DJ3PhWtK.js +5 -0
- package/dist/ui-menu.editor-DJ3PhWtK.js.map +1 -0
- package/dist/ui-menu.js +815 -223
- package/dist/ui-menu.js.map +1 -1
- package/dist/ui-message.editor-vfT0pyu5.js +5 -0
- package/dist/ui-message.editor-vfT0pyu5.js.map +1 -0
- package/dist/ui-message.js +32 -33
- package/dist/ui-message.js.map +1 -1
- package/dist/ui-meta.editor-Bk5m43-E.js +5 -0
- package/dist/ui-meta.editor-Bk5m43-E.js.map +1 -0
- package/dist/ui-modal.editor-CkkJRgab.js +5 -0
- package/dist/ui-modal.editor-CkkJRgab.js.map +1 -0
- package/dist/ui-modal.js +132 -96
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-nag.editor-BJ3Ia2Bi.js +5 -0
- package/dist/ui-nag.editor-BJ3Ia2Bi.js.map +1 -0
- package/dist/ui-nag.js +23 -24
- package/dist/ui-nag.js.map +1 -1
- package/dist/ui-or.editor-BfBLNVgm.js +5 -0
- package/dist/ui-or.editor-BfBLNVgm.js.map +1 -0
- package/dist/ui-page-layout.editor-xtQW0FZk.js +5 -0
- package/dist/ui-page-layout.editor-xtQW0FZk.js.map +1 -0
- package/dist/ui-page-layout.js +363 -0
- package/dist/ui-page-layout.js.map +1 -0
- package/dist/ui-page.editor-Bd5mzlj7.js +5 -0
- package/dist/ui-page.editor-Bd5mzlj7.js.map +1 -0
- package/dist/ui-page.js +11 -12
- package/dist/ui-page.js.map +1 -1
- package/dist/ui-panel.editor-BCUkdr4S.js +5 -0
- package/dist/ui-panel.editor-BCUkdr4S.js.map +1 -0
- package/dist/ui-panel.js +105 -27
- package/dist/ui-panel.js.map +1 -1
- package/dist/ui-parts.js +108 -66
- package/dist/ui-parts.js.map +1 -1
- package/dist/ui-placeholder-header.editor-CJNO08Ax.js +5 -0
- package/dist/ui-placeholder-header.editor-CJNO08Ax.js.map +1 -0
- package/dist/ui-placeholder-image.editor-DctJiCNv.js +5 -0
- package/dist/ui-placeholder-image.editor-DctJiCNv.js.map +1 -0
- package/dist/ui-placeholder-line.editor-DcxH7mOo.js +5 -0
- package/dist/ui-placeholder-line.editor-DcxH7mOo.js.map +1 -0
- package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js +5 -0
- package/dist/ui-placeholder-paragraph.editor-C4rww_tp.js.map +1 -0
- package/dist/ui-placeholder.editor-Bc0CYlZZ.js +5 -0
- package/dist/ui-placeholder.editor-Bc0CYlZZ.js.map +1 -0
- package/dist/ui-placeholder.js +23 -19
- package/dist/ui-placeholder.js.map +1 -1
- package/dist/ui-popup.editor-ByUi4CYs.js +5 -0
- package/dist/ui-popup.editor-ByUi4CYs.js.map +1 -0
- package/dist/ui-popup.js +107 -100
- package/dist/ui-popup.js.map +1 -1
- package/dist/ui-progress.editor-DX0IjhxZ.js +5 -0
- package/dist/ui-progress.editor-DX0IjhxZ.js.map +1 -0
- package/dist/ui-progress.js +23 -24
- package/dist/ui-progress.js.map +1 -1
- package/dist/ui-property-editor.editor-pS6tCPPT.js +5 -0
- package/dist/ui-property-editor.editor-pS6tCPPT.js.map +1 -0
- package/dist/ui-property-editor.js +649 -277
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-property-group.editor-BlpUMVlr.js +5 -0
- package/dist/ui-property-group.editor-BlpUMVlr.js.map +1 -0
- package/dist/ui-property.editor-BC-jtjjt.js +5 -0
- package/dist/ui-property.editor-BC-jtjjt.js.map +1 -0
- package/dist/ui-pushable.editor-8_EmUD9x.js +5 -0
- package/dist/ui-pushable.editor-8_EmUD9x.js.map +1 -0
- package/dist/ui-pusher.editor-CiCX6-1J.js +5 -0
- package/dist/ui-pusher.editor-CiCX6-1J.js.map +1 -0
- package/dist/ui-quote.editor-BvmAjmo9.js +5 -0
- package/dist/ui-quote.editor-BvmAjmo9.js.map +1 -0
- package/dist/ui-quote.js +8 -9
- package/dist/ui-quote.js.map +1 -1
- package/dist/ui-radio.editor-DPzActfO.js +5 -0
- package/dist/ui-radio.editor-DPzActfO.js.map +1 -0
- package/dist/ui-rail.editor-DRfVH4P2.js +5 -0
- package/dist/ui-rail.editor-DRfVH4P2.js.map +1 -0
- package/dist/ui-rail.js +11 -12
- package/dist/ui-rail.js.map +1 -1
- package/dist/ui-rating.editor-C19syymj.js +5 -0
- package/dist/ui-rating.editor-C19syymj.js.map +1 -0
- package/dist/ui-rating.js +40 -49
- package/dist/ui-rating.js.map +1 -1
- package/dist/ui-repeat.editor-DEf-bFGj.js +5 -0
- package/dist/ui-repeat.editor-DEf-bFGj.js.map +1 -0
- package/dist/ui-reveal.editor-D7pDOaen.js +5 -0
- package/dist/ui-reveal.editor-D7pDOaen.js.map +1 -0
- package/dist/ui-reveal.js +10 -11
- package/dist/ui-reveal.js.map +1 -1
- package/dist/ui-root.editor-CAokPDVa.js +5 -0
- package/dist/ui-root.editor-CAokPDVa.js.map +1 -0
- package/dist/ui-root.js +205 -102
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-row.editor-C00Z6Jl5.js +5 -0
- package/dist/ui-row.editor-C00Z6Jl5.js.map +1 -0
- package/dist/ui-search.editor-CtzfYgNu.js +5 -0
- package/dist/ui-search.editor-CtzfYgNu.js.map +1 -0
- package/dist/ui-search.js +143 -146
- package/dist/ui-search.js.map +1 -1
- package/dist/ui-section.editor-DmNICxCs.js +5 -0
- package/dist/ui-section.editor-DmNICxCs.js.map +1 -0
- package/dist/ui-section.js +74 -73
- package/dist/ui-section.js.map +1 -1
- package/dist/ui-sections.editor-BxXECGv9.js +5 -0
- package/dist/ui-sections.editor-BxXECGv9.js.map +1 -0
- package/dist/ui-segment.editor-CebyLPFn.js +5 -0
- package/dist/ui-segment.editor-CebyLPFn.js.map +1 -0
- package/dist/ui-segment.js +43 -43
- package/dist/ui-segment.js.map +1 -1
- package/dist/ui-segments.editor-CSumzMa5.js +5 -0
- package/dist/ui-segments.editor-CSumzMa5.js.map +1 -0
- package/dist/ui-select.editor-wAcZzvU7.js +5 -0
- package/dist/ui-select.editor-wAcZzvU7.js.map +1 -0
- package/dist/ui-select.js +86 -87
- package/dist/ui-select.js.map +1 -1
- package/dist/ui-shape.editor-By9-8aD2.js +5 -0
- package/dist/ui-shape.editor-By9-8aD2.js.map +1 -0
- package/dist/ui-shape.js +39 -38
- package/dist/ui-shape.js.map +1 -1
- package/dist/ui-side.editor-CFSqGHGH.js +5 -0
- package/dist/ui-side.editor-CFSqGHGH.js.map +1 -0
- package/dist/ui-sidebar.editor-DWFPQcXv.js +5 -0
- package/dist/ui-sidebar.editor-DWFPQcXv.js.map +1 -0
- package/dist/ui-sidebar.js +79 -77
- package/dist/ui-sidebar.js.map +1 -1
- package/dist/ui-sides.editor-CONIJ1r3.js +5 -0
- package/dist/ui-sides.editor-CONIJ1r3.js.map +1 -0
- package/dist/ui-sides.js +25 -26
- package/dist/ui-sides.js.map +1 -1
- package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js +5 -0
- package/dist/ui-site-breadcrumbs.editor-Dmc4qziE.js.map +1 -0
- package/dist/ui-site-breadcrumbs.js +143 -0
- package/dist/ui-site-breadcrumbs.js.map +1 -0
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +5 -0
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +1 -0
- package/dist/ui-site-nav-button.js +113 -0
- package/dist/ui-site-nav-button.js.map +1 -0
- package/dist/ui-site-nav.editor-CKEsOGCX.js +5 -0
- package/dist/ui-site-nav.editor-CKEsOGCX.js.map +1 -0
- package/dist/ui-site-nav.js +133 -97
- package/dist/ui-site-nav.js.map +1 -1
- package/dist/ui-site-tabs.editor-DDvQfH6S.js +5 -0
- package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +1 -0
- package/dist/ui-site-tabs.js +53 -48
- package/dist/ui-site-tabs.js.map +1 -1
- package/dist/ui-slider.editor-BEaasx5Q.js +5 -0
- package/dist/ui-slider.editor-BEaasx5Q.js.map +1 -0
- package/dist/ui-slider.js +37 -38
- package/dist/ui-slider.js.map +1 -1
- package/dist/ui-space.editor-s-XVWFBN.js +5 -0
- package/dist/ui-space.editor-s-XVWFBN.js.map +1 -0
- package/dist/ui-space.js +9 -10
- package/dist/ui-space.js.map +1 -1
- package/dist/ui-split-panel.editor-Cvy5W7nk.js +5 -0
- package/dist/ui-split-panel.editor-Cvy5W7nk.js.map +1 -0
- package/dist/ui-split-panel.js +107 -68
- package/dist/ui-split-panel.js.map +1 -1
- package/dist/ui-stack.editor-D69Fky6H.js +5 -0
- package/dist/ui-stack.editor-D69Fky6H.js.map +1 -0
- package/dist/ui-stack.js +12 -13
- package/dist/ui-stack.js.map +1 -1
- package/dist/ui-statistic.editor-CBzYqbQ5.js +5 -0
- package/dist/ui-statistic.editor-CBzYqbQ5.js.map +1 -0
- package/dist/ui-statistic.js +28 -27
- package/dist/ui-statistic.js.map +1 -1
- package/dist/ui-statistics.editor-fzh3uk_b.js +5 -0
- package/dist/ui-statistics.editor-fzh3uk_b.js.map +1 -0
- package/dist/ui-step.editor-CYmNXrk_.js +5 -0
- package/dist/ui-step.editor-CYmNXrk_.js.map +1 -0
- package/dist/ui-step.js +62 -61
- package/dist/ui-step.js.map +1 -1
- package/dist/ui-steps.editor-BkMIrUrj.js +5 -0
- package/dist/ui-steps.editor-BkMIrUrj.js.map +1 -0
- package/dist/ui-sticky.editor-D7R1AlJv.js +5 -0
- package/dist/ui-sticky.editor-D7R1AlJv.js.map +1 -0
- package/dist/ui-sticky.js +10 -11
- package/dist/ui-sticky.js.map +1 -1
- package/dist/ui-submenu.editor-NdjS0em-.js +5 -0
- package/dist/ui-submenu.editor-NdjS0em-.js.map +1 -0
- package/dist/ui-summary.editor-CCHS1mVz.js +5 -0
- package/dist/ui-summary.editor-CCHS1mVz.js.map +1 -0
- package/dist/ui-tab.editor-DCS-gCZV.js +5 -0
- package/dist/ui-tab.editor-DCS-gCZV.js.map +1 -0
- package/dist/ui-tab.js +115 -117
- package/dist/ui-tab.js.map +1 -1
- package/dist/ui-table.editor-DJvfg9oG.js +5 -0
- package/dist/ui-table.editor-DJvfg9oG.js.map +1 -0
- package/dist/ui-table.js +272 -272
- package/dist/ui-table.js.map +1 -1
- package/dist/ui-tabs.editor-waeMoFNM.js +5 -0
- package/dist/ui-tabs.editor-waeMoFNM.js.map +1 -0
- package/dist/ui-term.editor-BMCF3jBM.js +5 -0
- package/dist/ui-term.editor-BMCF3jBM.js.map +1 -0
- package/dist/ui-terms.editor-BLfVVsjI.js +5 -0
- package/dist/ui-terms.editor-BLfVVsjI.js.map +1 -0
- package/dist/ui-terms.js +13 -12
- package/dist/ui-terms.js.map +1 -1
- package/dist/ui-text.editor-B6AENK13.js +5 -0
- package/dist/ui-text.editor-B6AENK13.js.map +1 -0
- package/dist/ui-text.js +37 -36
- package/dist/ui-text.js.map +1 -1
- package/dist/ui-textarea.editor-C25lVwrF.js +5 -0
- package/dist/ui-textarea.editor-C25lVwrF.js.map +1 -0
- package/dist/ui-theme-editor.editor-CQGAgy-Q.js +5 -0
- package/dist/ui-theme-editor.editor-CQGAgy-Q.js.map +1 -0
- package/dist/ui-theme-editor.js +448 -461
- package/dist/ui-theme-editor.js.map +1 -1
- package/dist/{ui-theme-menu-CuIjr8Ou.js → ui-theme-menu-BZYUMrHe.js} +356 -352
- package/dist/ui-theme-menu-BZYUMrHe.js.map +1 -0
- package/dist/ui-theme-menu.editor-DNeI-hxN.js +5 -0
- package/dist/ui-theme-menu.editor-DNeI-hxN.js.map +1 -0
- package/dist/ui-theme-token.editor-C2YAdEye.js +5 -0
- package/dist/ui-theme-token.editor-C2YAdEye.js.map +1 -0
- package/dist/ui-title.editor-40PZSOpn.js +5 -0
- package/dist/ui-title.editor-40PZSOpn.js.map +1 -0
- package/dist/ui-toast.editor-BDmIUsU_.js +5 -0
- package/dist/ui-toast.editor-BDmIUsU_.js.map +1 -0
- package/dist/ui-toast.js +125 -128
- package/dist/ui-toast.js.map +1 -1
- package/dist/ui-toc.editor-D_S1KFY_.js +5 -0
- package/dist/ui-toc.editor-D_S1KFY_.js.map +1 -0
- package/dist/ui-toc.js +52 -53
- package/dist/ui-toc.js.map +1 -1
- package/dist/ui-toolbar.editor-CNQ8nJmR.js +5 -0
- package/dist/ui-toolbar.editor-CNQ8nJmR.js.map +1 -0
- package/dist/ui-toolbar.js +254 -50
- package/dist/ui-toolbar.js.map +1 -1
- package/dist/ui-transition.editor-8SQkDkZ6.js +5 -0
- package/dist/ui-transition.editor-8SQkDkZ6.js.map +1 -0
- package/dist/ui-transition.js +13 -14
- package/dist/ui-transition.js.map +1 -1
- package/dist/ui-tree-diagram.editor-DkEK8i7J.js +5 -0
- package/dist/ui-tree-diagram.editor-DkEK8i7J.js.map +1 -0
- package/dist/ui-tree-diagram.js +128 -127
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree-item.editor-C4fuAlbJ.js +5 -0
- package/dist/ui-tree-item.editor-C4fuAlbJ.js.map +1 -0
- package/dist/ui-tree-node.editor-CB1z_w9F.js +5 -0
- package/dist/ui-tree-node.editor-CB1z_w9F.js.map +1 -0
- package/dist/ui-tree.editor-BoQztwdz.js +5 -0
- package/dist/ui-tree.editor-BoQztwdz.js.map +1 -0
- package/dist/ui-tree.js +393 -134
- package/dist/ui-tree.js.map +1 -1
- package/dist/ui-value.editor-CYak24cr.js +5 -0
- package/dist/ui-value.editor-CYak24cr.js.map +1 -0
- package/dist/ui-video.editor-CuWtFVjR.js +5 -0
- package/dist/ui-video.editor-CuWtFVjR.js.map +1 -0
- package/dist/ui-video.js +15 -14
- package/dist/ui-video.js.map +1 -1
- package/dist/ui-visibility.editor-Crx0DTlv.js +5 -0
- package/dist/ui-visibility.editor-Crx0DTlv.js.map +1 -0
- package/dist/ui-visibility.js +25 -26
- package/dist/ui-visibility.js.map +1 -1
- package/dist/ui-zoom.editor-DZ3HsWV4.js +5 -0
- package/dist/ui-zoom.editor-DZ3HsWV4.js.map +1 -0
- package/dist/ui-zoom.js +82 -83
- package/dist/ui-zoom.js.map +1 -1
- package/dist/util/TopLayerTip.d.ts +11 -2
- package/dist/vocabulary/SharedVocabulary.d.ts +2 -0
- package/dist/vocabulary/SharedVocabulary.es.d.ts +1 -0
- package/dist/vocabulary/help.generated.d.ts +11 -0
- package/dist/vocabulary/partsOfSpeech.generated.d.ts +6 -0
- package/package.json +3 -3
- package/dist/Dragging-CMZoLEWQ.js.map +0 -1
- package/dist/MarkdownSanitizer-zTnnbrLe.js +0 -884
- package/dist/MarkdownSanitizer-zTnnbrLe.js.map +0 -1
- package/dist/PrefStore-Qv0e5y04.js.map +0 -1
- package/dist/ScrollingRow-7n7Z-HIE.js +0 -88
- package/dist/ScrollingRow-7n7Z-HIE.js.map +0 -1
- package/dist/SitePages-CciwREek.js.map +0 -1
- package/dist/SlottedItems-Du3aJwG1.js +0 -80
- package/dist/SlottedItems-Du3aJwG1.js.map +0 -1
- package/dist/UIButton-DFEds67r.js +0 -6
- package/dist/UIButton-DFEds67r.js.map +0 -1
- package/dist/UIInput-BodVbUoQ.js.map +0 -1
- package/dist/UIKeys-Rh_gUZjP.js.map +0 -1
- package/dist/UILabel-DgJUBzB_.js.map +0 -1
- package/dist/UIMenu-zdcAtwTa.js +0 -42
- package/dist/UIMenu-zdcAtwTa.js.map +0 -1
- package/dist/UIRuntime-KH309p5B.js.map +0 -1
- package/dist/UISegment-CMMIW7cZ.js.map +0 -1
- package/dist/apple.palette-B4ivrNlM.js.map +0 -1
- package/dist/classic-DCTQrteU.js.map +0 -1
- package/dist/components.es-BOa_7gFF.js.map +0 -1
- package/dist/crisp-VfYZlTph.js.map +0 -1
- package/dist/crisp.theme-DRiePRdf.js +0 -6
- package/dist/crisp.theme-DRiePRdf.js.map +0 -1
- package/dist/dark-CbUdPe0a.js.map +0 -1
- package/dist/dist-BLYIGZVK.js.map +0 -1
- package/dist/emoji/cldr/0-DSUpV2d7.js.map +0 -1
- package/dist/emoji/cldr/a-D_oB4vJ-.js.map +0 -1
- package/dist/emoji/cldr/b-DX0W0Mda.js.map +0 -1
- package/dist/emoji/cldr/c-DUHidpE9.js.map +0 -1
- package/dist/emoji/cldr/d-CiCXZXay.js.map +0 -1
- package/dist/emoji/cldr/e-DILJo3Ri.js.map +0 -1
- package/dist/emoji/cldr/f-ByGFLyOq.js.map +0 -1
- package/dist/emoji/cldr/g-BZ0FRsud.js.map +0 -1
- package/dist/emoji/cldr/h-jtLdvRXQ.js.map +0 -1
- package/dist/emoji/cldr/i-DcbJ5utE.js.map +0 -1
- package/dist/emoji/cldr/j-BuEqP5nz.js.map +0 -1
- package/dist/emoji/cldr/k-P1J6Gvze.js.map +0 -1
- package/dist/emoji/cldr/l-28XcbsPr.js.map +0 -1
- package/dist/emoji/cldr/m-DKgGJ8rW.js.map +0 -1
- package/dist/emoji/cldr/n-DmPLP4F3.js.map +0 -1
- package/dist/emoji/cldr/o-f98nt3s7.js.map +0 -1
- package/dist/emoji/cldr/p-CxnsOTOt.js.map +0 -1
- package/dist/emoji/cldr/r-D0GPRJ-Q.js.map +0 -1
- package/dist/emoji/cldr/s-DcFuepnw.js.map +0 -1
- package/dist/emoji/cldr/t-BvHgGpUr.js.map +0 -1
- package/dist/emoji/cldr/u-ChFYHtUf.js.map +0 -1
- package/dist/emoji/cldr/v-WmX3nWtZ.js.map +0 -1
- package/dist/emoji/cldr/w-BPySQUWW.js.map +0 -1
- package/dist/emoji/cldr/x-SC3r1n9O.js +0 -6
- package/dist/emoji/cldr/x-SC3r1n9O.js.map +0 -1
- package/dist/emoji/cldr/y-zB_yhTFg.js.map +0 -1
- package/dist/emoji/cldr/z-BgJ94Cap.js.map +0 -1
- package/dist/emoji/fomantic/0-CGf6gC3a.js +0 -10
- package/dist/emoji/fomantic/0-CGf6gC3a.js.map +0 -1
- package/dist/emoji/fomantic/a-CrqYlC21.js.map +0 -1
- package/dist/emoji/fomantic/b-DneVHRdQ.js.map +0 -1
- package/dist/emoji/fomantic/c-ClxKRuir.js.map +0 -1
- package/dist/emoji/fomantic/d-Djqs_y4s.js.map +0 -1
- package/dist/emoji/fomantic/e-CuF-jOQd.js.map +0 -1
- package/dist/emoji/fomantic/f-D8VglrJ4.js.map +0 -1
- package/dist/emoji/fomantic/g-Du_HFl6U.js.map +0 -1
- package/dist/emoji/fomantic/h-CLE5tHnM.js.map +0 -1
- package/dist/emoji/fomantic/i-BjOsrQDZ.js.map +0 -1
- package/dist/emoji/fomantic/j-CyUDXKCu.js.map +0 -1
- package/dist/emoji/fomantic/k-Clypg4R8.js.map +0 -1
- package/dist/emoji/fomantic/l-DvLPdBh-.js.map +0 -1
- package/dist/emoji/fomantic/m-B1lIb1kP.js.map +0 -1
- package/dist/emoji/fomantic/n-Bgpp_ht5.js.map +0 -1
- package/dist/emoji/fomantic/o-BhYZzpjp.js.map +0 -1
- package/dist/emoji/fomantic/p-VLL0GK3m.js.map +0 -1
- package/dist/emoji/fomantic/q-CKrtMwhc.js +0 -6
- package/dist/emoji/fomantic/q-CKrtMwhc.js.map +0 -1
- package/dist/emoji/fomantic/r-Bd1DjkkI.js.map +0 -1
- package/dist/emoji/fomantic/s-Bqatw1W7.js.map +0 -1
- package/dist/emoji/fomantic/t-Bs7IFhv3.js.map +0 -1
- package/dist/emoji/fomantic/u-M6GfYC-U.js.map +0 -1
- package/dist/emoji/fomantic/v-BKHNqkn0.js.map +0 -1
- package/dist/emoji/fomantic/w-B_XvIu7h.js.map +0 -1
- package/dist/emoji/fomantic/x-CG1_nzCF.js +0 -9
- package/dist/emoji/fomantic/x-CG1_nzCF.js.map +0 -1
- package/dist/emoji/fomantic/y-DPZaoIla.js.map +0 -1
- package/dist/emoji/fomantic/z-FH-kPXch.js.map +0 -1
- package/dist/fruity-BRVlgJZd.js +0 -6
- package/dist/fruity-BRVlgJZd.js.map +0 -1
- package/dist/fruity.theme-CbC7Jyvk.js.map +0 -1
- package/dist/glass-x9tbbwVq.js +0 -6
- package/dist/glass-x9tbbwVq.js.map +0 -1
- package/dist/glass.theme-24wY2wH9.js +0 -6
- package/dist/glass.theme-24wY2wH9.js.map +0 -1
- package/dist/matrix-QY2gWbJ0.js +0 -6
- package/dist/matrix-QY2gWbJ0.js.map +0 -1
- package/dist/matrix.theme-_8xtwhDq.js +0 -6
- package/dist/matrix.theme-_8xtwhDq.js.map +0 -1
- package/dist/merlot-DOXLuUaU.js.map +0 -1
- package/dist/merlot.theme-S-QnNGsw.js +0 -6
- package/dist/merlot.theme-S-QnNGsw.js.map +0 -1
- package/dist/midnight-BxlTQSfw.js.map +0 -1
- package/dist/midnight.theme-wXbqRYLy.js +0 -6
- package/dist/midnight.theme-wXbqRYLy.js.map +0 -1
- package/dist/mockup-83ELBuVr.js +0 -6
- package/dist/mockup-83ELBuVr.js.map +0 -1
- package/dist/mockup.theme-DmpBgGBl.js +0 -6
- package/dist/mockup.theme-DmpBgGBl.js.map +0 -1
- package/dist/paper-M61nUilz.js.map +0 -1
- package/dist/paper.theme-B8R5Jn5H.js +0 -6
- package/dist/paper.theme-B8R5Jn5H.js.map +0 -1
- package/dist/persist.types-D2m6wD-S.js.map +0 -1
- package/dist/pop-CxXfytjk.js.map +0 -1
- package/dist/pop.theme-CXzv8B9x.js +0 -6
- package/dist/pop.theme-CXzv8B9x.js.map +0 -1
- package/dist/search-CzSzx7bX.js.map +0 -1
- package/dist/spell-By5Y3jKP.js +0 -6
- package/dist/spell-By5Y3jKP.js.map +0 -1
- package/dist/spell.theme-DxGj7qHx.js +0 -6
- package/dist/spell.theme-DxGj7qHx.js.map +0 -1
- package/dist/styles.en-CUUxNwHo.js.map +0 -1
- package/dist/ui-theme-menu-CuIjr8Ou.js.map +0 -1
package/dist/ui-json.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { DOMLoadableElement as e, Gt as t, Jt as n, Kt as r, LoadableComponent as i, SourceEvent as a, SourceStatus as o, Ut as s, Warnings as c, Wt as l, Yt as u, cssState as d, derived as f, ft as p, ht as m, onChange as h, proto as g, protoMerged as _, st as v } from "./core.js";
|
|
3
|
+
// src/components/ui-json/JsonChild.ts
|
|
4
4
|
var y = "ui-json-data-changed", b = class JsonChild {
|
|
5
5
|
static of(e) {
|
|
6
6
|
for (let t of e.children) if (JsonChild.isJsonElement(t) || t.localName === "script" && t.getAttribute("type")?.trim() === "application/json") return t;
|
|
@@ -19,7 +19,7 @@ var y = "ui-json-data-changed", b = class JsonChild {
|
|
|
19
19
|
static isJsonElement(e) {
|
|
20
20
|
return /^[a-z]+-json$/.test(e.localName);
|
|
21
21
|
}
|
|
22
|
-
}, [x, , S, C, w] =
|
|
22
|
+
}, [x, , S, C, w] = p, T = {
|
|
23
23
|
tag: "ui-json",
|
|
24
24
|
icon: "code",
|
|
25
25
|
topics: ["data display", "modules"],
|
|
@@ -32,8 +32,9 @@ var y = "ui-json-data-changed", b = class JsonChild {
|
|
|
32
32
|
"datos"
|
|
33
33
|
],
|
|
34
34
|
noun: "JSON data",
|
|
35
|
+
partOfSpeech: "property",
|
|
35
36
|
description: "JSON data holds data in a page, as its text or from a file with `source`. It draws nothing: `value` is the parsed data, `ui-changed` says when it changed, and an element it sits inside may read it.",
|
|
36
|
-
attributes: [...
|
|
37
|
+
attributes: [...v],
|
|
37
38
|
events: [
|
|
38
39
|
x,
|
|
39
40
|
{
|
|
@@ -47,21 +48,21 @@ var y = "ui-json-data-changed", b = class JsonChild {
|
|
|
47
48
|
],
|
|
48
49
|
slots: [],
|
|
49
50
|
parts: [],
|
|
50
|
-
states: [...
|
|
51
|
+
states: [...m],
|
|
51
52
|
texts: []
|
|
52
|
-
}, E = "@layer ui.components.json.types{:host{display:none}}", D, O, k, A, j, M, N, DOMJsonElement = class extends
|
|
53
|
+
}, E = "@layer ui.components.json.types{:host{display:none}}", D, O, k, A, j, M, N, DOMJsonElement = class extends e {
|
|
53
54
|
static {
|
|
54
|
-
|
|
55
|
+
r(this, "DOMJsonElement");
|
|
55
56
|
}
|
|
56
57
|
get value() {
|
|
57
|
-
return this.component ? this.component.value : F.parsedFrom(
|
|
58
|
+
return this.component ? this.component.value : F.parsedFrom(i.inlineTextOf(this)).value;
|
|
58
59
|
}
|
|
59
60
|
set value(e) {
|
|
60
61
|
this.content = JSON.stringify(e, null, 2) ?? "";
|
|
61
62
|
}
|
|
62
|
-
}, P = class _UIJson extends (M =
|
|
63
|
+
}, P = class _UIJson extends (M = i, j = [g], A = [_], k = [f], O = [d("error")], D = [h("parsed")], M) {
|
|
63
64
|
constructor() {
|
|
64
|
-
super(...arguments),
|
|
65
|
+
super(...arguments), u(N, 5, this), n(this, "hasStarted", !1);
|
|
65
66
|
}
|
|
66
67
|
get parsed() {
|
|
67
68
|
return _UIJson.parsedFrom(this.textToShow);
|
|
@@ -74,16 +75,16 @@ var y = "ui-json-data-changed", b = class JsonChild {
|
|
|
74
75
|
}
|
|
75
76
|
onParsedChanged({ value: e, error: t }) {
|
|
76
77
|
let n = !this.hasStarted;
|
|
77
|
-
this.hasStarted = !0, t ? this.onLoadError(t, "render") : this.loadStatus ===
|
|
78
|
+
this.hasStarted = !0, t ? this.onLoadError(t, "render") : this.loadStatus === o.error && (this.loadStatus = o.loaded), n || (this.domElement.dispatchEvent(new Event(y, { bubbles: !0 })), this.send("ui-changed", {
|
|
78
79
|
value: e,
|
|
79
80
|
content: this.content
|
|
80
81
|
}));
|
|
81
82
|
}
|
|
82
83
|
onLoadError(e, t) {
|
|
83
|
-
|
|
84
|
+
c.warn(`<${this.domElement.localName}>`, "can't read its data", e), super.onLoadError(e, t);
|
|
84
85
|
}
|
|
85
86
|
sendSourceEvent(e, t) {
|
|
86
|
-
return e ===
|
|
87
|
+
return e === a.change || super.sendSourceEvent(e, t);
|
|
87
88
|
}
|
|
88
89
|
render() {
|
|
89
90
|
return null;
|
|
@@ -100,16 +101,14 @@ var y = "ui-json-data-changed", b = class JsonChild {
|
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
};
|
|
103
|
-
N =
|
|
104
|
+
N = t(M), s(N, 2, "parsed", k, P), s(N, 2, "hasError", O, P), s(N, 1, "onParsedChanged", D, P), s(N, 13, "vocabulary", j, P), s(N, 13, "elementSetup", A, P), l(N, P), r(P, "UIJson"), n(P, "vocabulary", u(N, 8, P, T)), u(N, 11, P), n(P, "elementSetup", u(N, 12, P, {
|
|
104
105
|
styleSheets: { json: E },
|
|
105
106
|
DOMElement: DOMJsonElement,
|
|
106
107
|
delegatesFocus: !1
|
|
107
|
-
})),
|
|
108
|
+
})), u(N, 15, P);
|
|
108
109
|
var F = P;
|
|
109
|
-
|
|
110
|
-
//#region src/components/ui-json/index.ts
|
|
110
|
+
// src/components/ui-json/index.ts
|
|
111
111
|
F.define();
|
|
112
|
-
//#endregion
|
|
113
112
|
export { DOMJsonElement, b as JsonChild, F as UIJson, y as t };
|
|
114
113
|
|
|
115
114
|
//# sourceMappingURL=ui-json.js.map
|
package/dist/ui-json.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-json.js","names":["UIT.SourceEvents","UIT.SourceAttributes","UIT.SourceStates","E.DOMLoadableElement","E.LoadableComponent","E.proto","E.protoMerged","E.derived","E.cssState","E.onChange","__name","jsonCSS","__name$1","__publicField","__decorateElement","__decoratorMetadata","__runInitializers","SourceEvents","SourceStates","SourceAttributes","__decoratorStart","JSON_CHANGED","JsonChild","child","domElement","text","LOADED","SAVING","SAVED","ERROR","jsonVocabulary","UIJson_default","_onParsedChanged_dec","_hasError_dec","_parsed_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","DOMLoadableElement","UIJson","LoadableComponent","value","_UIJson","proto","protoMerged","derived","cssState","onChange","isFirst","error","SourceStatus","Warnings","kind","name","SourceEvent","detail"],"sources":["../src/components/ui-json/JsonChild.ts","../src/components/ui-json/UIJson.en.ts","../src/components/ui-json/UIJson.css?inline","../src/components/ui-json/UIJson.tsx","../src/components/ui-json/index.ts"],"sourcesContent":["/**\n * What a `<ui-json>` sends its parent when its data changes: plumbing, like the platform's `slotchange`.\n * - Not `ui-changed`, the page's event: that one's name depends on the tag's language (`es-cambiado`).\n */\nexport const JSON_CHANGED = \"ui-json-data-changed\"\n\n/****************\n * ### `JsonChild`\n * How an element that takes JSON reads it from a child: a `<ui-json>`, or the old `<script type=\"application/json\">`.\n * - STATIC, plain DOM, no Solid, no element: by `localName`, as a static server render's children are linkedom elements.\n * - A `<ui-json>` before its family loads is read by its text; once it's loaded, by its `value`,\n * which a `source` file changes with no change in the page: the reader listens for `JSON_CHANGED`.\n * - Knows nothing of who reads it: `<ui-tree-diagram>` today.\n ****************/\nexport class JsonChild {\n /** `domElement`'s first child holding JSON; `undefined` without one. Takes its language's tag too (`<es-json>`). */\n static of(domElement: Element): Element | undefined {\n for (const child of domElement.children) {\n if (JsonChild.isJsonElement(child)) return child\n if (child.localName === \"script\" && child.getAttribute(\"type\")?.trim() === \"application/json\") return child\n }\n return undefined\n }\n\n /**\n * The text of `domElement`'s JSON child, as written; `undefined` without one.\n * - A reader follows it for changes in the page; a `source` file's say `JSON_CHANGED`.\n */\n static textOf(domElement: Element): string | undefined {\n const child = JsonChild.of(domElement)\n return child && (child.textContent ?? \"\")\n }\n\n /**\n * The data of `domElement`'s JSON child; `undefined` without one, or with nothing in it yet.\n * - A `<ui-json>` says why it can't read its text itself: it warns, and this is `undefined`.\n * - throws `SyntaxError` when a script child's text, or a not yet loaded `<ui-json>`'s, isn't JSON: the caller warns.\n */\n static valueOf(domElement: Element): unknown {\n const child = JsonChild.of(domElement)\n if (!child) return undefined\n if (\"value\" in child) return child.value\n const text = child.textContent ?? \"\"\n return text.trim() ? JSON.parse(text) : undefined\n }\n\n /** Is `child` a `<ui-json>`, in any language? */\n private static isJsonElement(child: Element): boolean {\n return /^[a-z]+-json$/.test(child.localName)\n }\n}\n","/**\n * The English vocabulary of `<ui-json>`: every name the tag uses.\n * - Its tag, attributes, events and states. The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Ours, not Fomantic's (epic `elemental-spell` P31).\n * - The source pieces (`source`, `load`, `ui-loaded` ... `ui-error`, the states) are shared with `<ui-code>` and\n * `<ui-markdown>`: `UIT.Source*`, which `LoadableComponent` reads.\n * - Its `ui-changed` is its own, with the parsed `value`.\n * - No loader or error parts, and no error texts: it draws nothing.\n */\n\nimport type { E } from \"spell/ui/core\"\nimport * as UIT from \"spell/ui/components/components.types\"\n\nconst [LOADED, , SAVING, SAVED, ERROR] = UIT.SourceEvents\n\n/****************\n * ### `jsonVocabulary`\n * The names of `<ui-json>`, JSON data held in a page: as its text, or from a file with `source`.\n ****************/\nexport const jsonVocabulary = {\n tag: \"ui-json\",\n icon: \"code\",\n topics: [\"data display\", \"modules\"],\n aka: [\"data\", \"data island\", \"json script\", \"application/json\", \"data block\", \"datos\"],\n noun: \"JSON data\",\n description:\n \"JSON data holds data in a page, as its text or from a file with `source`. It draws nothing: `value` is the \" +\n \"parsed data, `ui-changed` says when it changed, and an element it sits inside may read it.\",\n attributes: [...UIT.SourceAttributes],\n events: [\n LOADED,\n {\n name: \"ui-changed\",\n detail: \"{ value: unknown, content: string }\",\n description:\n \"The data changed: loaded from `source`, set through `value` or `content`, or its text edited. `value` is \" +\n \"`undefined` when the text is empty or isn't JSON.\"\n },\n SAVING,\n SAVED,\n ERROR\n ],\n slots: [],\n parts: [],\n states: [...UIT.SourceStates],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","/*\n * The style sheet of `<ui-json>`: it draws nothing, so nothing shows, not even its text.\n */\n\n@layer ui.components.json.types {\n :host {\n display: none;\n }\n}\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { JSON_CHANGED } from \"./JsonChild\"\nimport { jsonVocabulary } from \"./UIJson.en\"\n\nimport jsonCSS from \"./UIJson.css?inline\"\n\n/****************\n * ### `DOMJsonElement`\n * The DOM element of `<ui-json>`: the source element's script API, plus `value`.\n ****************/\nexport class DOMJsonElement extends E.DOMLoadableElement<UIJson> {\n /**\n * The data, parsed; `undefined` while `source` loads, or when the text is empty or isn't JSON.\n * - Before the component exists: its own text, parsed.\n */\n get value(): unknown {\n return this.component ? this.component.value : UIJson.parsedFrom(E.LoadableComponent.inlineTextOf(this)).value\n }\n\n /** Hold `value` instead, written as JSON into `content`: `dirty` until saved; sends `ui-changed`. */\n set value(value: unknown) {\n this.content = JSON.stringify(value, null, 2) ?? \"\"\n }\n}\n\n/****************\n * ### `<ui-json>`\n * The component behind `<ui-json>`: JSON data held in a page, drawing nothing (epic `elemental-spell` P31).\n *\n * - Where it comes from is `LoadableComponent`'s: `source` through `UI.sources`, else its own text.\n * So `load`, `reload()`, `loaded`, `save()` and `ui-error` are the same as `<ui-code>`'s.\n * - What it adds: `value`, the parsed data, and `ui-changed` when that changes.\n * - Text that isn't JSON: `value` is `undefined`, one console warning, `ui-error` (`render`), `:state(error)`.\n * As it draws nothing, a failed load warns too: nothing else would show it.\n * - An element that takes JSON reads a `<ui-json>` child through `JsonChild`.\n ****************/\nexport class UIJson extends E.LoadableComponent<typeof jsonVocabulary> {\n @E.proto static vocabulary = jsonVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { json: jsonCSS },\n DOMElement: DOMJsonElement,\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n /**\n * The text, parsed.\n * - `@derived`: parses JSON.\n */\n @E.derived\n get parsed(): ParsedJson {\n return UIJson.parsedFrom(this.textToShow)\n }\n\n /** The data; `undefined` while `source` loads, or when the text is empty or isn't JSON. */\n get value(): unknown {\n return this.parsed.value\n }\n\n /** Did loading fail, or isn't its text JSON? `:state(error)`. */\n @E.cssState(\"error\")\n override get hasError(): boolean {\n return super.hasError || !!this.parsed.error\n }\n\n /** Has `onParsedChanged()` run once? What's there when it first draws is no change. */\n private hasStarted = false\n\n /** The data changed: `ui-changed`, or the error when its text isn't JSON. */\n @E.onChange(\"parsed\")\n protected onParsedChanged({ value, error }: ParsedJson) {\n const isFirst = !this.hasStarted\n this.hasStarted = true\n if (error) this.onLoadError(error, \"render\")\n else if (this.loadStatus === E.SourceStatus.error) this.loadStatus = E.SourceStatus.loaded\n if (isFirst) return\n this.domElement.dispatchEvent(new Event(JSON_CHANGED, { bubbles: true }))\n this.send(\"ui-changed\", { value, content: this.content })\n }\n\n /** As `LoadableComponent`'s, and warns: it draws nothing, so no message would show it. */\n protected override onLoadError(error: unknown, kind?: E.SourceErrorKind) {\n E.Warnings.warn(`<${this.domElement.localName}>`, `can't read its data`, error)\n super.onLoadError(error, kind)\n }\n\n /** Not the base's `ui-changed`, which says only the text: `onParsedChanged()` says the data too. */\n protected override sendSourceEvent(name: E.SourceEventName, detail: object): boolean {\n return name === E.SourceEvent.change ? true : super.sendSourceEvent(name, detail)\n }\n\n override render(): JSX.Element {\n return null\n }\n\n protected renderContent(): JSX.Element {\n return null\n }\n\n /**\n * `text` as data: its `value`, or its `error` when it isn't JSON; neither for empty text.\n * - NEVER throws.\n */\n static parsedFrom(text: string): ParsedJson {\n if (!text.trim()) return {}\n try {\n return { value: JSON.parse(text) }\n } catch (error) {\n return { error }\n }\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIJson extends E.AttributeValues<typeof jsonVocabulary> {}\n\n/** A `<ui-json>`'s text, parsed. */\nexport type ParsedJson = {\n /** The data. */\n value?: unknown\n /** Why the text isn't JSON: `JSON.parse()`'s `SyntaxError`. */\n error?: unknown\n}\n","/**\n * The JSON data family: defines `<ui-json>` and exports its component, `UIJson`, its DOM element class,\n * `DOMJsonElement`, and `JsonChild`, how another element reads one.\n * - SIDE EFFECT: importing it defines the tag.\n * It draws nothing, so unlike the other source elements it needs no `<ui-loader>` or `<ui-message>`.\n * - Also the library's `spell/ui/ui-json` entry (its size is in `notes/report.md`).\n */\n\nimport { JsonChild } from \"./JsonChild\"\nimport { DOMJsonElement, UIJson } from \"./UIJson\"\n\nUIJson.define()\n\nexport { DOMJsonElement, JsonChild, UIJson }\n"],"mappings":";;;AAIA,IAAaqB,IAAe,wBAUfC,IAAb,MAAa,UAAU;CAErB,OAAO,GAAG,GAA0C;EAClD,KAAK,IAAMC,KAASC,EAAW,UAE7B,IADI,UAAU,cAAcD,CAAK,KAC7BA,EAAM,cAAc,YAAYA,EAAM,aAAa,MAAM,CAAC,EAAE,KAAK,MAAM,oBAAoB,OAAOA;CAG1G;CAMA,OAAO,OAAO,GAAyC;EACrD,IAAMA,IAAQ,UAAU,GAAGC,CAAU;EACrC,OAAOD,MAAUA,EAAM,eAAe;CACxC;CAOA,OAAO,QAAQ,GAA8B;EAC3C,IAAMA,IAAQ,UAAU,GAAGC,CAAU;EACrC,IAAI,CAACD,GAAO;EACZ,IAAI,WAAWA,GAAO,OAAOA,EAAM;EACnC,IAAME,IAAOF,EAAM,eAAe;EAClC,OAAOE,EAAK,KAAK,IAAI,KAAK,MAAMA,CAAI,IAAI,KAAA;CAC1C;CAGA,OAAe,cAAc,GAAyB;EACpD,OAAO,gBAAgB,KAAKF,EAAM,SAAS;CAC7C;AACF,GCrCM,CAACG,KAAUC,GAAQC,GAAOC,KAAS7B,GAM5B8B,IAAiB;CAC5B,KAAK;CACL,MAAM;CACN,Q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W,gBAAe3B,EAAtBsB,GAAA,IAFJK,GAE0B;CACnC,aAAa,EAAE,MAAMhC,EAAQ;CAC7B,YAAY;CACZ,gBAAgB;AAClB,CAAA,CAAA,GAJeK,EAAAsB,GAAA,IAFJK,CAAA;AAAN,IAAMH,IAANG;;;AC3BPH,EAAO,OAAO"}
|
|
1
|
+
{"version":3,"file":"ui-json.js","names":["UIT.SourceEvents","UIT.SourceAttributes","UIT.SourceStates","E.DOMLoadableElement","E.LoadableComponent","E.proto","E.protoMerged","E.derived","E.cssState","E.onChange","__name","jsonCSS","__decoratorStart","__publicField","__name$1","__decorateElement","__decoratorMetadata","__runInitializers","SourceEvents","SourceStates","SourceAttributes","JSON_CHANGED","JsonChild","child","domElement","text","LOADED","SAVING","SAVED","ERROR","jsonVocabulary","UIJson_default","_onParsedChanged_dec","_hasError_dec","_parsed_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","DOMLoadableElement","UIJson","LoadableComponent","value","_UIJson","proto","protoMerged","derived","cssState","onChange","isFirst","error","SourceStatus","Warnings","kind","name","SourceEvent","detail"],"sources":["../src/components/ui-json/JsonChild.ts","../src/components/ui-json/UIJson.en.ts","../src/components/ui-json/UIJson.tsx","../src/components/ui-json/index.ts"],"sourcesContent":["/**\n * What a `<ui-json>` sends its parent when its data changes: plumbing, like the platform's `slotchange`.\n * - Not `ui-changed`, the page's event: that one's name depends on the tag's language (`es-cambiado`).\n */\nexport const JSON_CHANGED = \"ui-json-data-changed\"\n\n/****************\n * ### `JsonChild`\n * How an element that takes JSON reads it from a child: a `<ui-json>`, or the old `<script type=\"application/json\">`.\n * - STATIC, plain DOM, no Solid, no element: by `localName`, as a static server render's children are linkedom elements.\n * - A `<ui-json>` before its family loads is read by its text; once it's loaded, by its `value`,\n * which a `source` file changes with no change in the page: the reader listens for `JSON_CHANGED`.\n * - Knows nothing of who reads it: `<ui-tree-diagram>` today.\n ****************/\nexport class JsonChild {\n /** `domElement`'s first child holding JSON; `undefined` without one. Takes its language's tag too (`<es-json>`). */\n static of(domElement: Element): Element | undefined {\n for (const child of domElement.children) {\n if (JsonChild.isJsonElement(child)) return child\n if (child.localName === \"script\" && child.getAttribute(\"type\")?.trim() === \"application/json\") return child\n }\n return undefined\n }\n\n /**\n * The text of `domElement`'s JSON child, as written; `undefined` without one.\n * - A reader follows it for changes in the page; a `source` file's say `JSON_CHANGED`.\n */\n static textOf(domElement: Element): string | undefined {\n const child = JsonChild.of(domElement)\n return child && (child.textContent ?? \"\")\n }\n\n /**\n * The data of `domElement`'s JSON child; `undefined` without one, or with nothing in it yet.\n * - A `<ui-json>` says why it can't read its text itself: it warns, and this is `undefined`.\n * - throws `SyntaxError` when a script child's text, or a not yet loaded `<ui-json>`'s, isn't JSON: the caller warns.\n */\n static valueOf(domElement: Element): unknown {\n const child = JsonChild.of(domElement)\n if (!child) return undefined\n if (\"value\" in child) return child.value\n const text = child.textContent ?? \"\"\n return text.trim() ? JSON.parse(text) : undefined\n }\n\n /** Is `child` a `<ui-json>`, in any language? */\n private static isJsonElement(child: Element): boolean {\n return /^[a-z]+-json$/.test(child.localName)\n }\n}\n","/**\n * The English vocabulary of `<ui-json>`: every name the tag uses.\n * - Its tag, attributes, events and states. The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - Ours, not Fomantic's (epic `elemental-spell` P31).\n * - The source pieces (`source`, `load`, `ui-loaded` ... `ui-error`, the states) are shared with `<ui-code>` and\n * `<ui-markdown>`: `UIT.Source*`, which `LoadableComponent` reads.\n * - Its `ui-changed` is its own, with the parsed `value`.\n * - No loader or error parts, and no error texts: it draws nothing.\n */\n\nimport type { E } from \"spell/ui/core\"\nimport * as UIT from \"spell/ui/components/components.types\"\n\nconst [LOADED, , SAVING, SAVED, ERROR] = UIT.SourceEvents\n\n/****************\n * ### `jsonVocabulary`\n * The names of `<ui-json>`, JSON data held in a page: as its text, or from a file with `source`.\n ****************/\nexport const jsonVocabulary = {\n tag: \"ui-json\",\n icon: \"code\",\n topics: [\"data display\", \"modules\"],\n aka: [\"data\", \"data island\", \"json script\", \"application/json\", \"data block\", \"datos\"],\n noun: \"JSON data\",\n partOfSpeech: \"property\",\n description:\n \"JSON data holds data in a page, as its text or from a file with `source`. It draws nothing: `value` is the \" +\n \"parsed data, `ui-changed` says when it changed, and an element it sits inside may read it.\",\n attributes: [...UIT.SourceAttributes],\n events: [\n LOADED,\n {\n name: \"ui-changed\",\n detail: \"{ value: unknown, content: string }\",\n description:\n \"The data changed: loaded from `source`, set through `value` or `content`, or its text edited. `value` is \" +\n \"`undefined` when the text is empty or isn't JSON.\"\n },\n SAVING,\n SAVED,\n ERROR\n ],\n slots: [],\n parts: [],\n states: [...UIT.SourceStates],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { JSON_CHANGED } from \"./JsonChild\"\nimport { jsonVocabulary } from \"./UIJson.en\"\n\nimport jsonCSS from \"./UIJson.css?inline\"\n\n/****************\n * ### `DOMJsonElement`\n * The DOM element of `<ui-json>`: the source element's script API, plus `value`.\n ****************/\nexport class DOMJsonElement extends E.DOMLoadableElement<UIJson> {\n /**\n * The data, parsed; `undefined` while `source` loads, or when the text is empty or isn't JSON.\n * - Before the component exists: its own text, parsed.\n */\n get value(): unknown {\n return this.component ? this.component.value : UIJson.parsedFrom(E.LoadableComponent.inlineTextOf(this)).value\n }\n\n /** Hold `value` instead, written as JSON into `content`: `dirty` until saved; sends `ui-changed`. */\n set value(value: unknown) {\n this.content = JSON.stringify(value, null, 2) ?? \"\"\n }\n}\n\n/****************\n * ### `<ui-json>`\n * The component behind `<ui-json>`: JSON data held in a page, drawing nothing (epic `elemental-spell` P31).\n *\n * - Where it comes from is `LoadableComponent`'s: `source` through `UI.sources`, else its own text.\n * So `load`, `reload()`, `loaded`, `save()` and `ui-error` are the same as `<ui-code>`'s.\n * - What it adds: `value`, the parsed data, and `ui-changed` when that changes.\n * - Text that isn't JSON: `value` is `undefined`, one console warning, `ui-error` (`render`), `:state(error)`.\n * As it draws nothing, a failed load warns too: nothing else would show it.\n * - An element that takes JSON reads a `<ui-json>` child through `JsonChild`.\n ****************/\nexport class UIJson extends E.LoadableComponent<typeof jsonVocabulary> {\n @E.proto static vocabulary = jsonVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { json: jsonCSS },\n DOMElement: DOMJsonElement,\n delegatesFocus: false\n } satisfies Partial<E.ElementSetup>\n\n /**\n * The text, parsed.\n * - `@derived`: parses JSON.\n */\n @E.derived\n get parsed(): ParsedJson {\n return UIJson.parsedFrom(this.textToShow)\n }\n\n /** The data; `undefined` while `source` loads, or when the text is empty or isn't JSON. */\n get value(): unknown {\n return this.parsed.value\n }\n\n /** Did loading fail, or isn't its text JSON? `:state(error)`. */\n @E.cssState(\"error\")\n override get hasError(): boolean {\n return super.hasError || !!this.parsed.error\n }\n\n /** Has `onParsedChanged()` run once? What's there when it first draws is no change. */\n private hasStarted = false\n\n /** The data changed: `ui-changed`, or the error when its text isn't JSON. */\n @E.onChange(\"parsed\")\n protected onParsedChanged({ value, error }: ParsedJson) {\n const isFirst = !this.hasStarted\n this.hasStarted = true\n if (error) this.onLoadError(error, \"render\")\n else if (this.loadStatus === E.SourceStatus.error) this.loadStatus = E.SourceStatus.loaded\n if (isFirst) return\n this.domElement.dispatchEvent(new Event(JSON_CHANGED, { bubbles: true }))\n this.send(\"ui-changed\", { value, content: this.content })\n }\n\n /** As `LoadableComponent`'s, and warns: it draws nothing, so no message would show it. */\n protected override onLoadError(error: unknown, kind?: E.SourceErrorKind) {\n E.Warnings.warn(`<${this.domElement.localName}>`, `can't read its data`, error)\n super.onLoadError(error, kind)\n }\n\n /** Not the base's `ui-changed`, which says only the text: `onParsedChanged()` says the data too. */\n protected override sendSourceEvent(name: E.SourceEventName, detail: object): boolean {\n return name === E.SourceEvent.change ? true : super.sendSourceEvent(name, detail)\n }\n\n override render(): JSX.Element {\n return null\n }\n\n protected renderContent(): JSX.Element {\n return null\n }\n\n /**\n * `text` as data: its `value`, or its `error` when it isn't JSON; neither for empty text.\n * - NEVER throws.\n */\n static parsedFrom(text: string): ParsedJson {\n if (!text.trim()) return {}\n try {\n return { value: JSON.parse(text) }\n } catch (error) {\n return { error }\n }\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIJson extends E.AttributeValues<typeof jsonVocabulary> {}\n\n/** A `<ui-json>`'s text, parsed. */\nexport type ParsedJson = {\n /** The data. */\n value?: unknown\n /** Why the text isn't JSON: `JSON.parse()`'s `SyntaxError`. */\n error?: unknown\n}\n","/**\n * The JSON data family: defines `<ui-json>` and exports its component, `UIJson`, its DOM element class,\n * `DOMJsonElement`, and `JsonChild`, how another element reads one.\n * - SIDE EFFECT: importing it defines the tag.\n * It draws nothing, so unlike the other source elements it needs no `<ui-loader>` or `<ui-message>`.\n * - Also the library's `spell/ui/ui-json` entry (its size is in `notes/report.md`).\n */\n\nimport { JsonChild } from \"./JsonChild\"\nimport { DOMJsonElement, UIJson } from \"./UIJson\"\n\nUIJson.define()\n\nexport { DOMJsonElement, JsonChild, UIJson }\n"],"mappings":";;;AAIA,IAAaqB,IAAe,wBAUfC,IAAb,MAAa,UAAU;CAErB,OAAO,GAAG,GAA0C;EAClD,KAAK,IAAMC,KAASC,EAAW,UAE7B,IADI,UAAU,cAAcD,CAAK,KAC7BA,EAAM,cAAc,YAAYA,EAAM,aAAa,MAAM,CAAC,EAAE,KAAK,MAAM,oBAAoB,OAAOA;CAG1G;CAMA,OAAO,OAAO,GAAyC;EACrD,IAAMA,IAAQ,UAAU,GAAGC,CAAU;EACrC,OAAOD,MAAUA,EAAM,eAAe;CACxC;CAOA,OAAO,QAAQ,GAA8B;EAC3C,IAAMA,IAAQ,UAAU,GAAGC,CAAU;EACrC,IAAI,CAACD,GAAO;EACZ,IAAI,WAAWA,GAAO,OAAOA,EAAM;EACnC,IAAME,IAAOF,EAAM,eAAe;EAClC,OAAOE,EAAK,KAAK,IAAI,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AAA,IAAO,gBAAtBH,GAFWQ,CAAA,GAAN3B,EAAAsB,GAAMK,CAAA,GAA0DjC,EAAAiC,GAAA,QAAA,GAC5D9B,EADE8B,GACK,cAAa1B,EAApBqB,GAAA,GADEK,GACkBb,CAAA,CAAA,GAApBb,EAAAqB,GAAA,IADEK,CAAA,GAEI9B,EAFJ8B,GAEW,gBAAe1B,EAAtBqB,GAAA,IAFJK,GAE0B;CACnC,aAAa,EAAE,MAAMhC,EAAQ;CAC7B,YAAY;CACZ,gBAAgB;AAClB,CAAA,CAAA,GAJeM,EAAAqB,GAAA,IAFJK,CAAA;AAAN,IAAMH,IAANG;;AC3BPH,EAAO,OAAO"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-keys/ui-keys.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-keys>'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-keys\" data-omit=\"\">\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"shortcut\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Advanced\" data-group=\"advanced\">\n <ui-property name=\"platform\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-keys.editor-BI9EDtS4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-keys.editor-BI9EDtS4.js","names":["ui_keys_editor_default"],"sources":[],"mappings":""}
|
package/dist/ui-keys.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./UIKeys-
|
|
2
|
-
|
|
1
|
+
import { t as e } from "./UIKeys-DmXvyJuU.js";
|
|
2
|
+
// src/components/ui-keys/index.ts
|
|
3
3
|
e.define();
|
|
4
|
-
//#endregion
|
|
5
4
|
export { e as UIKeys };
|
|
6
5
|
|
|
7
6
|
//# sourceMappingURL=ui-keys.js.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-label/ui-label.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-label>'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-label\" data-omit=\"\">\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"image\"></ui-property>\n <ui-property name=\"prompt\"></ui-property>\n <ui-property name=\"icon\"></ui-property>\n <ui-property name=\"detail\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"size\"></ui-property>\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"inverted\"></ui-property>\n <ui-property name=\"tag\"></ui-property>\n <ui-property name=\"corner\"></ui-property>\n <ui-property name=\"ribbon\"></ui-property>\n <ui-property name=\"floating\"></ui-property>\n <ui-property name=\"appearance\"></ui-property>\n <ui-property name=\"empty\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"pointing\"></ui-property>\n <ui-property name=\"attach-to\"></ui-property>\n <ui-property name=\"direction\"></ui-property>\n <ui-property name=\"fluid\"></ui-property>\n <ui-property name=\"align\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"States\" data-group=\"states\">\n <ui-property name=\"selected\"></ui-property>\n <ui-property name=\"disabled\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Link\" data-group=\"link\">\n <ui-property name=\"link\"></ui-property>\n <ui-property name=\"target\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Behaviour\" data-group=\"behaviour\">\n <ui-property name=\"removable\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-label.editor-BVUYLSUs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-label.editor-BVUYLSUs.js","names":["ui_label_editor_default"],"sources":[],"mappings":""}
|
package/dist/ui-label.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./rolldown-runtime-
|
|
2
|
-
import { A as e,
|
|
3
|
-
import { t as g } from "./UILabel-
|
|
1
|
+
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { A as e, Gt as t, IconGlyph as n, Jt as r, Kt as i, M as a, PartContext as o, SlotContent as s, UIComponent as c, Ut as l, Wt as u, Yt as d, cssState as f, proto as p, protoMerged as m, t as h } from "./core.js";
|
|
3
|
+
import { t as g } from "./UILabel-pCjKxQlQ.js";
|
|
4
4
|
import { Show as _ } from "solid-js";
|
|
5
5
|
import { Dynamic as v, addEvent as y, className as b, createComponent as x, delegateEvents as S, effect as C, getOwner as w, insert as T, readShallow as E, setAttribute as D, template as O } from "@solidjs/web";
|
|
6
|
-
|
|
6
|
+
// src/components/ui-label/UILabel.en.ts
|
|
7
7
|
var k = {
|
|
8
8
|
tag: "ui-label",
|
|
9
9
|
icon: "tag",
|
|
@@ -24,6 +24,7 @@ var k = {
|
|
|
24
24
|
],
|
|
25
25
|
skeleton: "inline 4 x 1.8",
|
|
26
26
|
noun: "label",
|
|
27
|
+
partOfSpeech: "property",
|
|
27
28
|
plural: "labels",
|
|
28
29
|
description: "A label displays content classification.",
|
|
29
30
|
attributes: [
|
|
@@ -115,7 +116,7 @@ var k = {
|
|
|
115
116
|
description: "The look, several words at once: `basic` (less pronounced: an outline on the surface colour), `tinted` (soft: the colour's tint as the fill and its text colour as the text, as a pill or badge; not Fomantic's), `circular` (a round badge). Old names: `basic`, `tinted`, `circular` written alone."
|
|
116
117
|
},
|
|
117
118
|
{
|
|
118
|
-
name: "attach",
|
|
119
|
+
name: "attach-to",
|
|
119
120
|
group: "layout",
|
|
120
121
|
kind: "valueOnly",
|
|
121
122
|
values: [
|
|
@@ -134,11 +135,11 @@ var k = {
|
|
|
134
135
|
"bottom left": "bottom left attached",
|
|
135
136
|
"bottom right": "bottom right attached"
|
|
136
137
|
},
|
|
137
|
-
replaces: [{
|
|
138
|
+
replaces: ["attach", {
|
|
138
139
|
from: "attached",
|
|
139
140
|
value: "top"
|
|
140
141
|
}],
|
|
141
|
-
description: "Attached across (or on a corner of) the owner's top or bottom edge. Its old
|
|
142
|
+
description: "Attached across (or on a corner of) the owner's top or bottom edge. Its old names were `attach` and `attached` (bare: `top`)."
|
|
142
143
|
},
|
|
143
144
|
{
|
|
144
145
|
name: "direction",
|
|
@@ -281,18 +282,18 @@ var k = {
|
|
|
281
282
|
description: "Accessible name of the delete icon button."
|
|
282
283
|
}],
|
|
283
284
|
ownsParts: ["detail"]
|
|
284
|
-
}, A = /* @__PURE__ */ O("<div><slot>"), j = /* @__PURE__ */ O("<img alt>"), M = /* @__PURE__ */ O("<span><slot>"), N = /* @__PURE__ */ O("<slot>"), P = /* @__PURE__ */ O("<span>"), F = /* @__PURE__ */ O("<button type=button>"), I, L, R, z, B, V = class _UILabel extends (z =
|
|
285
|
+
}, A = /* @__PURE__ */ O("<div><slot>"), j = /* @__PURE__ */ O("<img alt>"), M = /* @__PURE__ */ O("<span><slot>"), N = /* @__PURE__ */ O("<slot>"), P = /* @__PURE__ */ O("<span>"), F = /* @__PURE__ */ O("<button type=button>"), I, L, R, z, B, V = class _UILabel extends (z = c, R = [p], L = [m], I = [f("active")], z) {
|
|
285
286
|
constructor() {
|
|
286
|
-
super(...arguments),
|
|
287
|
+
super(...arguments), d(B, 5, this), r(this, "context", new o({
|
|
287
288
|
domElement: this.domElement,
|
|
288
289
|
noun: this.vocabulary.noun
|
|
289
|
-
})),
|
|
290
|
+
})), r(this, "slots", new s(this.domElement)), r(this, "iconGlyph", new n({
|
|
290
291
|
owner: this,
|
|
291
|
-
name: /* @__PURE__ */
|
|
292
|
-
})),
|
|
292
|
+
name: /* @__PURE__ */ i(() => this.icon, "name")
|
|
293
|
+
})), r(this, "deleteGlyph", new n({
|
|
293
294
|
owner: this,
|
|
294
|
-
name: /* @__PURE__ */
|
|
295
|
-
})),
|
|
295
|
+
name: /* @__PURE__ */ i(() => this.removable ? G : void 0, "name")
|
|
296
|
+
})), r(this, "onRemove", /* @__PURE__ */ i((e) => {
|
|
296
297
|
e.preventDefault(), e.stopPropagation(), this.send("ui-removing", { originalEvent: e });
|
|
297
298
|
}, "onRemove"));
|
|
298
299
|
}
|
|
@@ -435,14 +436,13 @@ var k = {
|
|
|
435
436
|
});
|
|
436
437
|
}
|
|
437
438
|
};
|
|
438
|
-
B =
|
|
439
|
+
B = t(z), l(B, 2, "isSelected", I, V), l(B, 13, "vocabulary", R, V), l(B, 13, "elementSetup", L, V), u(B, V), i(V, "UILabel"), r(V, "vocabulary", d(B, 8, V, k)), d(B, 11, V), r(V, "elementSetup", d(B, 12, V, { styleSheets: {
|
|
439
440
|
label: g,
|
|
440
|
-
parts:
|
|
441
|
-
} })),
|
|
441
|
+
parts: h
|
|
442
|
+
} })), d(B, 15, V);
|
|
442
443
|
var H = V, U = "detail", W = "delete icon", G = "xmark";
|
|
443
444
|
S(["click"]);
|
|
444
|
-
|
|
445
|
-
//#region src/components/ui-label/UILabels.en.ts
|
|
445
|
+
// src/components/ui-label/UILabels.en.ts
|
|
446
446
|
var K = {
|
|
447
447
|
tag: "ui-labels",
|
|
448
448
|
icon: "tags",
|
|
@@ -458,6 +458,7 @@ var K = {
|
|
|
458
458
|
"tag list"
|
|
459
459
|
],
|
|
460
460
|
noun: "labels",
|
|
461
|
+
partOfSpeech: "property",
|
|
461
462
|
description: "Labels can be grouped to share a look.",
|
|
462
463
|
attributes: [
|
|
463
464
|
{
|
|
@@ -563,7 +564,7 @@ var K = {
|
|
|
563
564
|
}],
|
|
564
565
|
states: [],
|
|
565
566
|
texts: []
|
|
566
|
-
}, q = /* @__PURE__ */ O("<div><slot>"), J, Y, X, Z, Q = class _UILabels extends (X =
|
|
567
|
+
}, q = /* @__PURE__ */ O("<div><slot>"), J, Y, X, Z, Q = class _UILabels extends (X = c, Y = [p], J = [m], X) {
|
|
567
568
|
render() {
|
|
568
569
|
let e = this;
|
|
569
570
|
var t = q(), n = t.firstChild;
|
|
@@ -575,10 +576,9 @@ var K = {
|
|
|
575
576
|
}), t;
|
|
576
577
|
}
|
|
577
578
|
};
|
|
578
|
-
Z =
|
|
579
|
+
Z = t(X), l(Z, 13, "vocabulary", Y, Q), l(Z, 13, "elementSetup", J, Q), u(Z, Q), i(Q, "UILabels"), r(Q, "vocabulary", d(Z, 8, Q, K)), d(Z, 11, Q), r(Q, "elementSetup", d(Z, 12, Q, { styleSheets: { label: g } })), d(Z, 15, Q);
|
|
579
580
|
var $ = Q;
|
|
580
581
|
H.define(), $.define();
|
|
581
|
-
//#endregion
|
|
582
582
|
export { H as UILabel, $ as UILabels };
|
|
583
583
|
|
|
584
584
|
//# sourceMappingURL=ui-label.js.map
|
package/dist/ui-label.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-label.js","names":["<Show when={this.context.ownerNoun} fallback={this.label()}>\n <div class={this.vocabulary.noun} part={this.partForName(\"label\")}>\n <slot />\n </div>\n </Show>","this","part={this.partForName(\"label\")}","<div class={this.vocabulary.noun} part={this.partForName(\"label\")}>\n <slot />\n </div>","<Dynamic\n component={this.link ? \"a\" : \"span\"}\n class={this.rootClass}\n part={this.partForName(\"label\")}\n href={this.linkTo}\n target={this.linkTarget}\n aria-label={this.ariaLabel}\n aria-disabled={this.disabled && this.link ? \"true\" : void 0}\n role={this.ariaLabel && !this.link ? \"img\" : void 0}\n >\n <Show when={this.imageSrc}>\n <img class={UIT.IMAGE} part={this.partForName(\"image\")} src={this.imageSrc} alt=\"\" />\n </Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <slot />\n <Show when={this.detail}>\n <span class={DETAIL} part={this.partForName(\"detail\")}>\n {this.detail}\n </span>\n </Show>\n <Show when={this.removable}>\n <button\n type=\"button\"\n class={DELETE_CLASS}\n part={this.partForName(\"delete\")}\n aria-label={this.translationForKey(\"remove\")}\n disabled={this.disabled}\n onClick={this.onRemove}\n >\n {this.deleteGlyph.svg}\n </button>\n </Show>\n </Dynamic>","<Show when={this.imageSrc}>\n <img class={UIT.IMAGE} part={this.partForName(\"image\")} src={this.imageSrc} alt=\"\" />\n </Show>","part={this.partForName(\"image\")}","src={this.imageSrc}","<img class={UIT.IMAGE} part={this.partForName(\"image\")} src={this.imageSrc} alt=\"\" />","<Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>","part={this.partForName(\"icon\")}","name={this.slotForName(\"icon\")}","<span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>","<Show when={this.detail}>\n <span class={DETAIL} part={this.partForName(\"detail\")}>\n {this.detail}\n </span>\n </Show>","part={this.partForName(\"detail\")}","<span class={DETAIL} part={this.partForName(\"detail\")}>\n {this.detail}\n </span>","<Show when={this.removable}>\n <button\n type=\"button\"\n class={DELETE_CLASS}\n part={this.partForName(\"delete\")}\n aria-label={this.translationForKey(\"remove\")}\n disabled={this.disabled}\n onClick={this.onRemove}\n >\n {this.deleteGlyph.svg}\n </button>\n </Show>","part={this.partForName(\"delete\")}","aria-label={this.translationForKey(\"remove\")}","disabled={this.disabled}","<button\n type=\"button\"\n class={DELETE_CLASS}\n part={this.partForName(\"delete\")}\n aria-label={this.translationForKey(\"remove\")}\n disabled={this.disabled}\n onClick={this.onRemove}\n >\n {this.deleteGlyph.svg}\n </button>","_tmpl$","_elementSetup_dec","_vocabulary_dec","_a","_init","E.UIComponent","E.proto","E.protoMerged","E.cssState","E.PartContext","E.SlotContent","E.IconGlyph","_$createComponent","_$getOwner","_$readShallow","_$setAttribute","UIT.IMAGE","UIT.ICON","__name","labelCSS","partsCSS","_$delegateEvents","this","part={this.partForName(\"group\")}","<div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>","E.UIComponent","E.proto","E.protoMerged","_$getOwner","_$readShallow","_$setAttribute","__name","labelCSS","ICON","__name$1","__publicField","__decorateElement","IMAGE","__decoratorMetadata","__runInitializers","UIParts_default","__decoratorStart","UILabel_default","getOwner$1","labelVocabulary","_tmpl$$1","_tmpl$2","_tmpl$3","_tmpl$4","_tmpl$5","_tmpl$6","_isSelected_dec","_elementSetup_dec$1","_vocabulary_dec$1","_a$1","_init$1","_UILabel","UIComponent","proto","protoMerged","cssState","PartContext","SlotContent","IconGlyph","DELETE_ICON","event","_self$","createComponent","Show","_el$","_el$2","effect","readShallow","className","_p$","t","setAttribute","_self$2","Dynamic","\"class\"","_el$3","e","a","_el$4","_el$5","insert","_el$6","_el$7","DETAIL","_el$8","addEvent","DELETE_CLASS","o","UILabel","delegateEvents","labelsVocabulary","_tmpl$","_elementSetup_dec","_vocabulary_dec","_a","_init","_UILabels","UILabels"],"sources":["../src/components/ui-label/UILabel.en.ts","../src/components/ui-label/UILabel.tsx","../src/components/ui-label/UILabels.en.ts","../src/components/ui-label/UILabels.tsx","../src/components/ui-label/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-label>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), events, slots, parts, states and texts.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become Fomantic's class words, in Fomantic's order (`ClassBuilder`):\n * `<ui-label color=\"red\" pointing=\"left\" appearance=\"basic\">` => `ui red basic left pointing label`.\n * `UILabel.css` keys on those words.\n * - A group needs no help from the components: `<ui-labels tag>` draws `ui tag labels`,\n * and `UILabel.css` hands the look to its children through inherited tokens.\n * - `labelVocabulary.ownsParts` lists `detail`: a slotted `<ui-detail>` finds its label through `OwnerContext`,\n * and styles itself from `UIParts.css` (`:state(in-label)`).\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `labelVocabulary`\n * The names of `<ui-label>`, a small tag or badge:\n * `<span class=\"ui … label\">` (an `<a>` with `link`) in its shadow root.\n ****************/\nexport const labelVocabulary = {\n tag: \"ui-label\",\n icon: \"tag\",\n snippet: \"<ui-label>A label</ui-label>\",\n topics: [\"status\", \"text\", \"basic\", \"elements\"],\n aka: [\"badge\", \"chip\", \"tag\", \"pill\", \"lozenge\", \"count\"],\n skeleton: \"inline 4 x 1.8\",\n noun: \"label\",\n plural: \"labels\",\n description: \"A label displays content classification.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Size, `mini` ... `massive`; `medium` is the default.\"\n },\n {\n name: \"color\",\n group: \"appearance\",\n kind: \"color\",\n description: \"Hue; fills the label (its ring and text when `basic`).\"\n },\n {\n name: \"image\",\n group: \"content\",\n kind: \"string\",\n description:\n 'Image label: a photo flush with the start edge (class `image`). Presence (`\"\"`, bare `image`) means ' +\n \"an image label styled around a slotted `<img>`; a non-empty value is the `src` of the label's own \" +\n \"`img.image` child.\"\n },\n { name: \"tag\", group: \"appearance\", kind: \"keyOnly\", description: \"Shaped like a price tag.\" },\n {\n name: \"corner\",\n group: \"appearance\",\n kind: \"keyOrValueAndKey\",\n values: [\"left\", \"right\"],\n description: 'A triangle on the owner\\'s top corner holding an icon: `corner` (end) or `corner=\"left\"`.'\n },\n {\n name: \"ribbon\",\n group: \"appearance\",\n kind: \"keyOrValueAndKey\",\n values: [\"right\"],\n description: 'A ribbon pulled past the owner\\'s start edge; `ribbon=\"right\"` past its end edge.'\n },\n {\n name: \"pointing\",\n group: \"layout\",\n kind: \"keyOrValueAndKey\",\n values: [\"above\", \"below\", \"left\", \"right\"],\n description: \"An arrow pointing at related content: `pointing` (above), `below`, `left` or `right`.\"\n },\n {\n name: \"floating\",\n group: \"appearance\",\n kind: \"keyOrValueAndKey\",\n values: [\"left\", \"bottom\", \"bottom left\"],\n description: \"Floats over the owner's top end corner, e.g. a count on a menu item; `left` / `bottom` move it.\"\n },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n // the words are the classes: no key after them (`ClassBuilder`)\n classes: {},\n values: [\"basic\", \"tinted\", \"circular\"],\n replaces: [\n { from: \"basic\", value: \"basic\" },\n { from: \"tinted\", value: \"tinted\" },\n { from: \"circular\", value: \"circular\" }\n ],\n description:\n \"The look, several words at once: `basic` (less pronounced: an outline on the surface colour), \" +\n \"`tinted` (soft: the colour's tint as the fill and its text colour as the text, as a pill or badge; not \" +\n \"Fomantic's), `circular` (a round badge). Old names: `basic`, `tinted`, `circular` written alone.\"\n },\n {\n name: \"attach\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"top\", \"bottom\", \"top left\", \"top right\", \"bottom left\", \"bottom right\"],\n classes: {\n top: \"top attached\",\n bottom: \"bottom attached\",\n \"top left\": \"top left attached\",\n \"top right\": \"top right attached\",\n \"bottom left\": \"bottom left attached\",\n \"bottom right\": \"bottom right attached\"\n },\n replaces: [{ from: \"attached\", value: \"top\" }],\n description:\n \"Attached across (or on a corner of) the owner's top or bottom edge. Its old name was `attached` \" +\n \"(bare: `top`).\"\n },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\"],\n replaces: [{ from: \"horizontal\", value: \"horizontal\" }],\n description:\n \"`horizontal`: a fixed-width tag before a line of text, e.g. in a list. Its old name was `horizontal`.\"\n },\n { name: \"empty\", group: \"appearance\", kind: \"keyOnly\", description: \"With `circular`: an empty dot.\" },\n { name: \"fluid\", group: \"layout\", kind: \"keyOnly\", description: \"Takes the full width of its container.\" },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"center\"],\n classes: { center: \"centered\" },\n replaces: [{ from: \"centered\", value: \"center\" }],\n description: \"`center` centres its content. Its old name was `centered`.\"\n },\n {\n name: \"prompt\",\n group: \"content\",\n kind: \"keyOnly\",\n description: \"A form field's validation message: the negative colour on the surface, wins over `color`.\"\n },\n {\n name: \"selected\",\n group: \"states\",\n kind: \"keyOnly\",\n key: \"active\",\n replaces: [\"active\"],\n description: \"Selected / on. Its old name was `active`.\"\n },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Dimmed and inert.\" },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"For dark backgrounds.\" },\n {\n name: \"icon\",\n group: \"content\",\n kind: \"icon\",\n description: \"Icon name, shown before the text; with no text the label gets the `icon` class (icon centred).\"\n },\n {\n name: \"detail\",\n group: \"content\",\n kind: \"string\",\n description: \"Shorthand for a dimmer second value after the text, e.g. a count.\"\n },\n {\n name: \"removable\",\n group: \"behaviour\",\n kind: \"boolean\",\n description: \"Shows a delete icon button; clicking it dispatches `ui-removing`.\"\n },\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: \"Renders a link (`<a>`) styled as a label. Its old name was `href`.\"\n },\n { name: \"target\", group: \"link\", kind: \"string\", description: \"Link target, with `link`.\" }\n ],\n events: [\n {\n name: \"ui-removing\",\n detail: \"{ originalEvent?: Event }\",\n cancelable: true,\n description: \"The delete icon of a `removable` label was activated. NOTE: the element doesn't remove itself.\"\n }\n ],\n slots: [\n { name: \"\", description: \"Content, usually text; a slotted `<img>` for an `image` label, `<ui-detail>`s.\" },\n { name: \"icon\", description: \"Icon, instead of the `icon` attribute.\" }\n ],\n parts: [\n { name: \"label\", description: \"The label box (`<span>`, or `<a>` with `link`).\" },\n { name: \"image\", description: \"The `<img>` of an `image` label with a URL.\" },\n { name: \"icon\", description: \"The icon box.\" },\n { name: \"detail\", description: \"The `detail` shorthand.\" },\n { name: \"delete\", description: \"The delete icon button of a `removable` label.\" }\n ],\n states: [\n { name: \"active\", description: \"Selected / on (`selected`).\" },\n { name: \"disabled\", description: \"Dimmed and inert.\" }\n ],\n texts: [{ key: \"remove\", text: \"Remove\", description: \"Accessible name of the delete icon button.\" }],\n ownsParts: [\"detail\"]\n} as const satisfies E.ComponentVocabulary\n","import { Show } from \"solid-js\"\nimport { Dynamic, type JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { labelVocabulary } from \"./UILabel.en\"\n\nimport labelCSS from \"./UILabel.css?inline\"\nimport partsCSS from \"spell/ui/components/ui-parts/UIParts.css?inline\"\n\n/****************\n * ### `UILabel`\n * The component behind `<ui-label>`: a small tag, badge or count beside other content.\n *\n * - Its shadow DOM is one box, `<span class=\"ui … label\" part=\"label\">` (an `<a>` with `link`), holding, in order:\n * the `image` `<img>`, the icon box, the default slot, the `detail` shorthand and the `removable` delete button.\n * - It adds the `icon` class (before the noun) when there's an icon and no text: the icon centres.\n *\n * - `image` is a string attribute:\n * - bare (or `\"\"`): the `image` class, around a slotted `<img>`\n * - a URL: the `src` of the label's own `<img class=\"image\" part=\"image\" alt=\"\">`\n * - `ClassBuilder` writes no class for a string attribute, so the `image` class is added by hand.\n *\n * - `removable`: a real `<button class=\"delete icon\">`, named by the `remove` text.\n * A click sends the cancelable `ui-removing`: the label never removes itself, the page does.\n *\n * - Inside a statistic (an owner of `label`, through `PartContext`), it is that statistic's `.label` PART:\n * it draws `<div class=\"label\" part=\"label\">`, adopts `UIParts.css` after `UILabel.css`\n * and sets `:state(in-statistic)`.\n *\n * - The element's `aria-label` moves to the inner box, so an icon-only or corner label has a name.\n *\n * - `disabled`: unusable, the base class's way (`elementSetup.disabled`):\n * faded, its link and delete button inert, `aria-disabled`; a link label also loses its link.\n ****************/\nexport class UILabel extends E.UIComponent<typeof labelVocabulary> {\n @E.proto static vocabulary = labelVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { label: labelCSS, parts: partsCSS }\n } satisfies Partial<E.ElementSetup>\n\n /** `selected`: `:state(active)`, Fomantic's word, as before `active` was renamed (epic `ui-gaps` P4). */\n @E.cssState(\"active\")\n get isSelected(): boolean {\n return !!this.selected\n }\n\n /** The owner, when it's a statistic's label. */\n readonly context = new E.PartContext({ domElement: this.domElement, noun: this.vocabulary.noun })\n\n /** Which of its slots have content in the light DOM. */\n readonly slots = new E.SlotContent(this.domElement)\n\n /** The glyph of the `icon` shorthand. */\n readonly iconGlyph = new E.IconGlyph({ owner: this, name: () => this.icon })\n\n /** The glyph of the delete button. */\n readonly deleteGlyph = new E.IconGlyph({ owner: this, name: () => (this.removable ? DELETE_ICON : undefined) })\n\n /** The element's `aria-label`, moved to the inner box. */\n get ariaLabel(): string | undefined {\n return this.attributes[\"aria-label\"] ?? undefined\n }\n\n ////////////////\n // ## Derived state\n ////////////////\n\n /** Has an icon (shorthand or `icon` slot)? */\n get hasIcon(): boolean {\n return !!this.icon || this.slots.hasContent(this.slotForName(\"icon\"))\n }\n\n /** Has text (default slot or `detail`)? */\n get hasText(): boolean {\n return this.slots.hasContent(\"\") || !!this.detail\n }\n\n /** `image` attribute as a URL, or `undefined` when bare (a slotted `<img>`) or absent. */\n get imageSrc(): string | undefined {\n return this.image?.trim() || undefined\n }\n\n ////////////////\n // ## States and classes\n ////////////////\n\n /** `image` for an image label, `icon` for an icon without text: words `ClassBuilder` can't emit. */\n protected get extraClass(): string | undefined {\n const extra = [this.image === undefined ? \"\" : UIT.IMAGE, this.hasIcon && !this.hasText ? UIT.ICON : \"\"]\n return extra.filter(Boolean).join(\" \") || undefined\n }\n\n /** `UIParts.css` only while a statistic owns it. */\n get styleSheetNames(): string[] {\n return this.context.ownerNoun ? [\"label\", \"parts\"] : [\"label\"]\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n return (\n <Show when={this.context.ownerNoun} fallback={this.label()}>\n <div class={this.vocabulary.noun} part={this.partForName(\"label\")}>\n <slot />\n </div>\n </Show>\n )\n }\n\n /** The standalone label box. */\n private label(): JSX.Element {\n return (\n <Dynamic\n component={this.link ? \"a\" : \"span\"}\n class={this.rootClass}\n part={this.partForName(\"label\")}\n href={this.linkTo}\n target={this.linkTarget}\n aria-label={this.ariaLabel}\n aria-disabled={this.disabled && this.link ? \"true\" : undefined}\n role={this.ariaLabel && !this.link ? \"img\" : undefined}\n >\n <Show when={this.imageSrc}>\n <img class={UIT.IMAGE} part={this.partForName(\"image\")} src={this.imageSrc} alt=\"\" />\n </Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <slot />\n <Show when={this.detail}>\n <span class={DETAIL} part={this.partForName(\"detail\")}>\n {this.detail}\n </span>\n </Show>\n <Show when={this.removable}>\n <button\n type=\"button\"\n class={DELETE_CLASS}\n part={this.partForName(\"delete\")}\n aria-label={this.translationForKey(\"remove\")}\n disabled={this.disabled}\n onClick={this.onRemove}\n >\n {this.deleteGlyph.svg}\n </button>\n </Show>\n </Dynamic>\n )\n }\n\n ////////////////\n // ## Behaviour\n ////////////////\n\n /** Delete button: announce; the page removes the label (or cancels). */\n private readonly onRemove = (event: MouseEvent) => {\n event.preventDefault()\n event.stopPropagation()\n this.send(\"ui-removing\", { originalEvent: event })\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UILabel extends E.AttributeValues<typeof labelVocabulary> {}\n\n/** The class and part of the `detail` shorthand box. */\nconst DETAIL = \"detail\"\n\n/** Classes of the delete button. */\nconst DELETE_CLASS = \"delete icon\"\n\n/** Glyph of the delete button (Fomantic's `delete icon`). */\nconst DELETE_ICON = \"xmark\"\n","/**\n * The English vocabulary of `<ui-labels>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots and parts.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - How the family's attributes become class words: `UILabel.en.ts`.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `labelsVocabulary`\n * The names of `<ui-labels>`, a group of labels sharing one look: `<div class=\"ui … labels\">`.\n ****************/\nexport const labelsVocabulary = {\n tag: \"ui-labels\",\n icon: \"tags\",\n topics: [\"status\", \"lists\", \"elements\"],\n aka: [\"badges\", \"chips\", \"tags\", \"tag list\"],\n noun: \"labels\",\n description: \"Labels can be grouped to share a look.\",\n attributes: [\n { name: \"size\", group: \"appearance\", kind: \"size\", description: \"Size of every label in the group.\" },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of every label in the group.\" },\n { name: \"tag\", group: \"appearance\", kind: \"keyOnly\", description: \"Every label shaped like a price tag.\" },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n // the words are the classes: no key after them (`ClassBuilder`)\n classes: {},\n values: [\"basic\", \"tinted\", \"circular\"],\n replaces: [\n { from: \"basic\", value: \"basic\" },\n { from: \"tinted\", value: \"tinted\" },\n { from: \"circular\", value: \"circular\" }\n ],\n description:\n \"Every label's look, several words at once: `basic` (outlined), `tinted` (the colour's soft fill and text), \" +\n \"`circular` (a round badge). Old names: `basic`, `tinted`, `circular` written alone.\"\n },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\"],\n replaces: [{ from: \"horizontal\", value: \"horizontal\" }],\n description: \"`horizontal`: every label a fixed-width tag. Its old name was `horizontal`.\"\n },\n { name: \"image\", group: \"content\", kind: \"keyOnly\", description: \"Every label an image label.\" },\n { name: \"fluid\", group: \"layout\", kind: \"keyOnly\", description: \"Every label full width.\" },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"center\"],\n classes: { center: \"centered\" },\n replaces: [{ from: \"centered\", value: \"center\" }],\n description: \"`center`: every label centred. Its old name was `centered`.\"\n },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"Every label for dark backgrounds.\" },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Every label dimmed and inert.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"`<ui-label>`s.\" }],\n parts: [{ name: \"group\", description: \"The group box.\" }],\n states: [],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { labelsVocabulary } from \"./UILabels.en\"\n\nimport labelCSS from \"./UILabel.css?inline\"\n\n/****************\n * ### `UILabels`\n * The component behind `<ui-labels>`: a group of labels sharing one look.\n *\n * - Its shadow DOM is one box, `<div class=\"ui … labels\" part=\"group\">`, around a slot for the labels.\n * - It needs no code beyond that: `UILabel.css` hands the look to the slotted labels, through inherited tokens.\n ****************/\nexport class UILabels extends E.UIComponent<typeof labelsVocabulary> {\n @E.proto static vocabulary = labelsVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { label: labelCSS }\n } satisfies Partial<E.ElementSetup>\n\n render(): JSX.Element {\n return (\n <div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UILabels extends E.AttributeValues<typeof labelsVocabulary> {}\n","/**\n * The label family: defines `<ui-label>` and `<ui-labels>`, and exports their components, `UILabel` and `UILabels`.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-label` entry (its size is in `notes/report.md`).\n */\n\nimport { UILabel } from \"./UILabel\"\nimport { UILabels } from \"./UILabels\"\n\nUILabel.define()\nUILabels.define()\n\nexport { UILabel, UILabels }\n"],"mappings":";;;;;;AAoBA,IAAaiE,IAAkB;CAC7B,KAAK;CACL,MAAM;CACN,SAAS;CACT,QAAQ;EAAC;EAAU;EAAQ;EAAS;CAAU;CAC9C,KAAK;EAAC;EAAS;EAAQ;EAAO;EAAQ;EAAW;CAAO;CACxD,UAAU;CACV,MAAM;CACN,QAAQ;CACR,aAAa;CACb,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aACE;EAGJ;EACA;GAAE,MAAM;G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,GAEW,gBAAe9D,EAAtB6D,GAAA,IAFJC,GAE0B,EACnC,aAAa,EAAE,OAAOrE,EAAS,EACjC,CAAA,CAAA,GAFeO,EAAA6D,GAAA,IAFJC,CAAA;AAAN,IAAMC,IAAND;ACLPR,EAAQ,OAAO,GACfS,EAAS,OAAO"}
|
|
1
|
+
{"version":3,"file":"ui-label.js","names":["<Show when={this.context.ownerNoun} fallback={this.label()}>\n <div class={this.vocabulary.noun} part={this.partForName(\"label\")}>\n <slot />\n </div>\n </Show>","this","part={this.partForName(\"label\")}","<div class={this.vocabulary.noun} part={this.partForName(\"label\")}>\n <slot />\n </div>","<Dynamic\n component={this.link ? \"a\" : \"span\"}\n class={this.rootClass}\n part={this.partForName(\"label\")}\n href={this.linkTo}\n target={this.linkTarget}\n aria-label={this.ariaLabel}\n aria-disabled={this.disabled && this.link ? \"true\" : void 0}\n role={this.ariaLabel && !this.link ? \"img\" : void 0}\n >\n <Show when={this.imageSrc}>\n <img class={UIT.IMAGE} part={this.partForName(\"image\")} src={this.imageSrc} alt=\"\" />\n </Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <slot />\n <Show when={this.detail}>\n <span class={DETAIL} part={this.partForName(\"detail\")}>\n {this.detail}\n </span>\n </Show>\n <Show when={this.removable}>\n <button\n type=\"button\"\n class={DELETE_CLASS}\n part={this.partForName(\"delete\")}\n aria-label={this.translationForKey(\"remove\")}\n disabled={this.disabled}\n onClick={this.onRemove}\n >\n {this.deleteGlyph.svg}\n </button>\n </Show>\n </Dynamic>","<Show when={this.imageSrc}>\n <img class={UIT.IMAGE} part={this.partForName(\"image\")} src={this.imageSrc} alt=\"\" />\n </Show>","part={this.partForName(\"image\")}","src={this.imageSrc}","<img class={UIT.IMAGE} part={this.partForName(\"image\")} src={this.imageSrc} alt=\"\" />","<Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>","part={this.partForName(\"icon\")}","name={this.slotForName(\"icon\")}","<span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>","<Show when={this.detail}>\n <span class={DETAIL} part={this.partForName(\"detail\")}>\n {this.detail}\n </span>\n </Show>","part={this.partForName(\"detail\")}","<span class={DETAIL} part={this.partForName(\"detail\")}>\n {this.detail}\n </span>","<Show when={this.removable}>\n <button\n type=\"button\"\n class={DELETE_CLASS}\n part={this.partForName(\"delete\")}\n aria-label={this.translationForKey(\"remove\")}\n disabled={this.disabled}\n onClick={this.onRemove}\n >\n {this.deleteGlyph.svg}\n </button>\n </Show>","part={this.partForName(\"delete\")}","aria-label={this.translationForKey(\"remove\")}","disabled={this.disabled}","<button\n type=\"button\"\n class={DELETE_CLASS}\n part={this.partForName(\"delete\")}\n aria-label={this.translationForKey(\"remove\")}\n disabled={this.disabled}\n onClick={this.onRemove}\n >\n {this.deleteGlyph.svg}\n </button>","_tmpl$","_elementSetup_dec","_vocabulary_dec","_a","_init","E.UIComponent","E.proto","E.protoMerged","E.cssState","E.PartContext","E.SlotContent","E.IconGlyph","_$getOwner","_$readShallow","_$setAttribute","UIT.IMAGE","UIT.ICON","__name","labelCSS","partsCSS","this","part={this.partForName(\"group\")}","<div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>","E.UIComponent","E.proto","E.protoMerged","_$getOwner","_$setAttribute","__name","labelCSS","ICON","__decoratorStart","__publicField","__name$1","IMAGE","__decorateElement","__decoratorMetadata","__runInitializers","UIParts_default","UILabel_default","getOwner$1","labelVocabulary","_tmpl$$1","_tmpl$2","_tmpl$3","_tmpl$4","_tmpl$5","_tmpl$6","_isSelected_dec","_elementSetup_dec$1","_vocabulary_dec$1","_a$1","_init$1","_UILabel","UIComponent","proto","protoMerged","cssState","PartContext","SlotContent","IconGlyph","DELETE_ICON","event","_self$","createComponent","Show","_el$","_el$2","effect","readShallow","className","_p$","t","setAttribute","_self$2","Dynamic","\"class\"","_el$3","e","a","_el$4","_el$5","insert","_el$6","_el$7","DETAIL","_el$8","addEvent","DELETE_CLASS","o","UILabel","delegateEvents","labelsVocabulary","_tmpl$","_elementSetup_dec","_vocabulary_dec","_a","_init","_UILabels","UILabels"],"sources":["../src/components/ui-label/UILabel.en.ts","../src/components/ui-label/UILabel.tsx","../src/components/ui-label/UILabels.en.ts","../src/components/ui-label/UILabels.tsx","../src/components/ui-label/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-label>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), events, slots, parts, states and texts.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - The attributes become Fomantic's class words, in Fomantic's order (`ClassBuilder`):\n * `<ui-label color=\"red\" pointing=\"left\" appearance=\"basic\">` => `ui red basic left pointing label`.\n * `UILabel.css` keys on those words.\n * - A group needs no help from the components: `<ui-labels tag>` draws `ui tag labels`,\n * and `UILabel.css` hands the look to its children through inherited tokens.\n * - `labelVocabulary.ownsParts` lists `detail`: a slotted `<ui-detail>` finds its label through `OwnerContext`,\n * and styles itself from `UIParts.css` (`:state(in-label)`).\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `labelVocabulary`\n * The names of `<ui-label>`, a small tag or badge:\n * `<span class=\"ui … label\">` (an `<a>` with `link`) in its shadow root.\n ****************/\nexport const labelVocabulary = {\n tag: \"ui-label\",\n icon: \"tag\",\n snippet: \"<ui-label>A label</ui-label>\",\n topics: [\"status\", \"text\", \"basic\", \"elements\"],\n aka: [\"badge\", \"chip\", \"tag\", \"pill\", \"lozenge\", \"count\"],\n skeleton: \"inline 4 x 1.8\",\n noun: \"label\",\n partOfSpeech: \"property\",\n plural: \"labels\",\n description: \"A label displays content classification.\",\n attributes: [\n {\n name: \"size\",\n group: \"appearance\",\n kind: \"size\",\n description: \"Size, `mini` ... `massive`; `medium` is the default.\"\n },\n {\n name: \"color\",\n group: \"appearance\",\n kind: \"color\",\n description: \"Hue; fills the label (its ring and text when `basic`).\"\n },\n {\n name: \"image\",\n group: \"content\",\n kind: \"string\",\n description:\n 'Image label: a photo flush with the start edge (class `image`). Presence (`\"\"`, bare `image`) means ' +\n \"an image label styled around a slotted `<img>`; a non-empty value is the `src` of the label's own \" +\n \"`img.image` child.\"\n },\n { name: \"tag\", group: \"appearance\", kind: \"keyOnly\", description: \"Shaped like a price tag.\" },\n {\n name: \"corner\",\n group: \"appearance\",\n kind: \"keyOrValueAndKey\",\n values: [\"left\", \"right\"],\n description: 'A triangle on the owner\\'s top corner holding an icon: `corner` (end) or `corner=\"left\"`.'\n },\n {\n name: \"ribbon\",\n group: \"appearance\",\n kind: \"keyOrValueAndKey\",\n values: [\"right\"],\n description: 'A ribbon pulled past the owner\\'s start edge; `ribbon=\"right\"` past its end edge.'\n },\n {\n name: \"pointing\",\n group: \"layout\",\n kind: \"keyOrValueAndKey\",\n values: [\"above\", \"below\", \"left\", \"right\"],\n description: \"An arrow pointing at related content: `pointing` (above), `below`, `left` or `right`.\"\n },\n {\n name: \"floating\",\n group: \"appearance\",\n kind: \"keyOrValueAndKey\",\n values: [\"left\", \"bottom\", \"bottom left\"],\n description: \"Floats over the owner's top end corner, e.g. a count on a menu item; `left` / `bottom` move it.\"\n },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n // the words are the classes: no key after them (`ClassBuilder`)\n classes: {},\n values: [\"basic\", \"tinted\", \"circular\"],\n replaces: [\n { from: \"basic\", value: \"basic\" },\n { from: \"tinted\", value: \"tinted\" },\n { from: \"circular\", value: \"circular\" }\n ],\n description:\n \"The look, several words at once: `basic` (less pronounced: an outline on the surface colour), \" +\n \"`tinted` (soft: the colour's tint as the fill and its text colour as the text, as a pill or badge; not \" +\n \"Fomantic's), `circular` (a round badge). Old names: `basic`, `tinted`, `circular` written alone.\"\n },\n {\n name: \"attach-to\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"top\", \"bottom\", \"top left\", \"top right\", \"bottom left\", \"bottom right\"],\n classes: {\n top: \"top attached\",\n bottom: \"bottom attached\",\n \"top left\": \"top left attached\",\n \"top right\": \"top right attached\",\n \"bottom left\": \"bottom left attached\",\n \"bottom right\": \"bottom right attached\"\n },\n replaces: [\"attach\", { from: \"attached\", value: \"top\" }],\n description:\n \"Attached across (or on a corner of) the owner's top or bottom edge. Its old names were `attach` and `attached` \" +\n \"(bare: `top`).\"\n },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\"],\n replaces: [{ from: \"horizontal\", value: \"horizontal\" }],\n description:\n \"`horizontal`: a fixed-width tag before a line of text, e.g. in a list. Its old name was `horizontal`.\"\n },\n { name: \"empty\", group: \"appearance\", kind: \"keyOnly\", description: \"With `circular`: an empty dot.\" },\n { name: \"fluid\", group: \"layout\", kind: \"keyOnly\", description: \"Takes the full width of its container.\" },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"center\"],\n classes: { center: \"centered\" },\n replaces: [{ from: \"centered\", value: \"center\" }],\n description: \"`center` centres its content. Its old name was `centered`.\"\n },\n {\n name: \"prompt\",\n group: \"content\",\n kind: \"keyOnly\",\n description: \"A form field's validation message: the negative colour on the surface, wins over `color`.\"\n },\n {\n name: \"selected\",\n group: \"states\",\n kind: \"keyOnly\",\n key: \"active\",\n replaces: [\"active\"],\n description: \"Selected / on. Its old name was `active`.\"\n },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Dimmed and inert.\" },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"For dark backgrounds.\" },\n {\n name: \"icon\",\n group: \"content\",\n kind: \"icon\",\n description: \"Icon name, shown before the text; with no text the label gets the `icon` class (icon centred).\"\n },\n {\n name: \"detail\",\n group: \"content\",\n kind: \"string\",\n description: \"Shorthand for a dimmer second value after the text, e.g. a count.\"\n },\n {\n name: \"removable\",\n group: \"behaviour\",\n kind: \"boolean\",\n description: \"Shows a delete icon button; clicking it dispatches `ui-removing`.\"\n },\n {\n name: \"link\",\n group: \"link\",\n kind: \"string\",\n replaces: [\"href\"],\n description: \"Renders a link (`<a>`) styled as a label. Its old name was `href`.\"\n },\n { name: \"target\", group: \"link\", kind: \"string\", description: \"Link target, with `link`.\" }\n ],\n events: [\n {\n name: \"ui-removing\",\n detail: \"{ originalEvent?: Event }\",\n cancelable: true,\n description: \"The delete icon of a `removable` label was activated. NOTE: the element doesn't remove itself.\"\n }\n ],\n slots: [\n { name: \"\", description: \"Content, usually text; a slotted `<img>` for an `image` label, `<ui-detail>`s.\" },\n { name: \"icon\", description: \"Icon, instead of the `icon` attribute.\" }\n ],\n parts: [\n { name: \"label\", description: \"The label box (`<span>`, or `<a>` with `link`).\" },\n { name: \"image\", description: \"The `<img>` of an `image` label with a URL.\" },\n { name: \"icon\", description: \"The icon box.\" },\n { name: \"detail\", description: \"The `detail` shorthand.\" },\n { name: \"delete\", description: \"The delete icon button of a `removable` label.\" }\n ],\n states: [\n { name: \"active\", description: \"Selected / on (`selected`).\" },\n { name: \"disabled\", description: \"Dimmed and inert.\" }\n ],\n texts: [{ key: \"remove\", text: \"Remove\", description: \"Accessible name of the delete icon button.\" }],\n ownsParts: [\"detail\"]\n} as const satisfies E.ComponentVocabulary\n","import { Show } from \"solid-js\"\nimport { Dynamic, type JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { labelVocabulary } from \"./UILabel.en\"\n\nimport labelCSS from \"./UILabel.css?inline\"\nimport partsCSS from \"spell/ui/components/ui-parts/UIParts.css?inline\"\n\n/****************\n * ### `UILabel`\n * The component behind `<ui-label>`: a small tag, badge or count beside other content.\n *\n * - Its shadow DOM is one box, `<span class=\"ui … label\" part=\"label\">` (an `<a>` with `link`), holding, in order:\n * the `image` `<img>`, the icon box, the default slot, the `detail` shorthand and the `removable` delete button.\n * - It adds the `icon` class (before the noun) when there's an icon and no text: the icon centres.\n *\n * - `image` is a string attribute:\n * - bare (or `\"\"`): the `image` class, around a slotted `<img>`\n * - a URL: the `src` of the label's own `<img class=\"image\" part=\"image\" alt=\"\">`\n * - `ClassBuilder` writes no class for a string attribute, so the `image` class is added by hand.\n *\n * - `removable`: a real `<button class=\"delete icon\">`, named by the `remove` text.\n * A click sends the cancelable `ui-removing`: the label never removes itself, the page does.\n *\n * - Inside a statistic (an owner of `label`, through `PartContext`), it is that statistic's `.label` PART:\n * it draws `<div class=\"label\" part=\"label\">`, adopts `UIParts.css` after `UILabel.css`\n * and sets `:state(in-statistic)`.\n *\n * - The element's `aria-label` moves to the inner box, so an icon-only or corner label has a name.\n *\n * - `disabled`: unusable, the base class's way (`elementSetup.disabled`):\n * faded, its link and delete button inert, `aria-disabled`; a link label also loses its link.\n ****************/\nexport class UILabel extends E.UIComponent<typeof labelVocabulary> {\n @E.proto static vocabulary = labelVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { label: labelCSS, parts: partsCSS }\n } satisfies Partial<E.ElementSetup>\n\n /** `selected`: `:state(active)`, Fomantic's word, as before `active` was renamed (epic `ui-gaps` P4). */\n @E.cssState(\"active\")\n get isSelected(): boolean {\n return !!this.selected\n }\n\n /** The owner, when it's a statistic's label. */\n readonly context = new E.PartContext({ domElement: this.domElement, noun: this.vocabulary.noun })\n\n /** Which of its slots have content in the light DOM. */\n readonly slots = new E.SlotContent(this.domElement)\n\n /** The glyph of the `icon` shorthand. */\n readonly iconGlyph = new E.IconGlyph({ owner: this, name: () => this.icon })\n\n /** The glyph of the delete button. */\n readonly deleteGlyph = new E.IconGlyph({ owner: this, name: () => (this.removable ? DELETE_ICON : undefined) })\n\n /** The element's `aria-label`, moved to the inner box. */\n get ariaLabel(): string | undefined {\n return this.attributes[\"aria-label\"] ?? undefined\n }\n\n ////////////////\n // ## Derived state\n ////////////////\n\n /** Has an icon (shorthand or `icon` slot)? */\n get hasIcon(): boolean {\n return !!this.icon || this.slots.hasContent(this.slotForName(\"icon\"))\n }\n\n /** Has text (default slot or `detail`)? */\n get hasText(): boolean {\n return this.slots.hasContent(\"\") || !!this.detail\n }\n\n /** `image` attribute as a URL, or `undefined` when bare (a slotted `<img>`) or absent. */\n get imageSrc(): string | undefined {\n return this.image?.trim() || undefined\n }\n\n ////////////////\n // ## States and classes\n ////////////////\n\n /** `image` for an image label, `icon` for an icon without text: words `ClassBuilder` can't emit. */\n protected get extraClass(): string | undefined {\n const extra = [this.image === undefined ? \"\" : UIT.IMAGE, this.hasIcon && !this.hasText ? UIT.ICON : \"\"]\n return extra.filter(Boolean).join(\" \") || undefined\n }\n\n /** `UIParts.css` only while a statistic owns it. */\n get styleSheetNames(): string[] {\n return this.context.ownerNoun ? [\"label\", \"parts\"] : [\"label\"]\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n return (\n <Show when={this.context.ownerNoun} fallback={this.label()}>\n <div class={this.vocabulary.noun} part={this.partForName(\"label\")}>\n <slot />\n </div>\n </Show>\n )\n }\n\n /** The standalone label box. */\n private label(): JSX.Element {\n return (\n <Dynamic\n component={this.link ? \"a\" : \"span\"}\n class={this.rootClass}\n part={this.partForName(\"label\")}\n href={this.linkTo}\n target={this.linkTarget}\n aria-label={this.ariaLabel}\n aria-disabled={this.disabled && this.link ? \"true\" : undefined}\n role={this.ariaLabel && !this.link ? \"img\" : undefined}\n >\n <Show when={this.imageSrc}>\n <img class={UIT.IMAGE} part={this.partForName(\"image\")} src={this.imageSrc} alt=\"\" />\n </Show>\n <Show when={this.hasIcon}>\n <span class={UIT.ICON} part={this.partForName(\"icon\")}>\n <slot name={this.slotForName(\"icon\")}>{this.iconGlyph.svg}</slot>\n </span>\n </Show>\n <slot />\n <Show when={this.detail}>\n <span class={DETAIL} part={this.partForName(\"detail\")}>\n {this.detail}\n </span>\n </Show>\n <Show when={this.removable}>\n <button\n type=\"button\"\n class={DELETE_CLASS}\n part={this.partForName(\"delete\")}\n aria-label={this.translationForKey(\"remove\")}\n disabled={this.disabled}\n onClick={this.onRemove}\n >\n {this.deleteGlyph.svg}\n </button>\n </Show>\n </Dynamic>\n )\n }\n\n ////////////////\n // ## Behaviour\n ////////////////\n\n /** Delete button: announce; the page removes the label (or cancels). */\n private readonly onRemove = (event: MouseEvent) => {\n event.preventDefault()\n event.stopPropagation()\n this.send(\"ui-removing\", { originalEvent: event })\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UILabel extends E.AttributeValues<typeof labelVocabulary> {}\n\n/** The class and part of the `detail` shorthand box. */\nconst DETAIL = \"detail\"\n\n/** Classes of the delete button. */\nconst DELETE_CLASS = \"delete icon\"\n\n/** Glyph of the delete button (Fomantic's `delete icon`). */\nconst DELETE_ICON = \"xmark\"\n","/**\n * The English vocabulary of `<ui-labels>`: every name the tag uses.\n * - Its tag, attributes (each with its kind and allowed values), slots and parts.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n * - How the family's attributes become class words: `UILabel.en.ts`.\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `labelsVocabulary`\n * The names of `<ui-labels>`, a group of labels sharing one look: `<div class=\"ui … labels\">`.\n ****************/\nexport const labelsVocabulary = {\n tag: \"ui-labels\",\n icon: \"tags\",\n topics: [\"status\", \"lists\", \"elements\"],\n aka: [\"badges\", \"chips\", \"tags\", \"tag list\"],\n noun: \"labels\",\n partOfSpeech: \"property\",\n description: \"Labels can be grouped to share a look.\",\n attributes: [\n { name: \"size\", group: \"appearance\", kind: \"size\", description: \"Size of every label in the group.\" },\n { name: \"color\", group: \"appearance\", kind: \"color\", description: \"Hue of every label in the group.\" },\n { name: \"tag\", group: \"appearance\", kind: \"keyOnly\", description: \"Every label shaped like a price tag.\" },\n {\n name: \"appearance\",\n group: \"appearance\",\n kind: \"multiple\",\n // the words are the classes: no key after them (`ClassBuilder`)\n classes: {},\n values: [\"basic\", \"tinted\", \"circular\"],\n replaces: [\n { from: \"basic\", value: \"basic\" },\n { from: \"tinted\", value: \"tinted\" },\n { from: \"circular\", value: \"circular\" }\n ],\n description:\n \"Every label's look, several words at once: `basic` (outlined), `tinted` (the colour's soft fill and text), \" +\n \"`circular` (a round badge). Old names: `basic`, `tinted`, `circular` written alone.\"\n },\n {\n name: \"direction\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"horizontal\"],\n replaces: [{ from: \"horizontal\", value: \"horizontal\" }],\n description: \"`horizontal`: every label a fixed-width tag. Its old name was `horizontal`.\"\n },\n { name: \"image\", group: \"content\", kind: \"keyOnly\", description: \"Every label an image label.\" },\n { name: \"fluid\", group: \"layout\", kind: \"keyOnly\", description: \"Every label full width.\" },\n {\n name: \"align\",\n group: \"layout\",\n kind: \"valueOnly\",\n values: [\"center\"],\n classes: { center: \"centered\" },\n replaces: [{ from: \"centered\", value: \"center\" }],\n description: \"`center`: every label centred. Its old name was `centered`.\"\n },\n { name: \"inverted\", group: \"appearance\", kind: \"keyOnly\", description: \"Every label for dark backgrounds.\" },\n { name: \"disabled\", group: \"states\", kind: \"keyOnly\", description: \"Every label dimmed and inert.\" }\n ],\n events: [],\n slots: [{ name: \"\", description: \"`<ui-label>`s.\" }],\n parts: [{ name: \"group\", description: \"The group box.\" }],\n states: [],\n texts: []\n} as const satisfies E.ComponentVocabulary\n","import type { JSX } from \"@solidjs/web\"\n\nimport { E } from \"spell/ui/core\"\nimport { labelsVocabulary } from \"./UILabels.en\"\n\nimport labelCSS from \"./UILabel.css?inline\"\n\n/****************\n * ### `UILabels`\n * The component behind `<ui-labels>`: a group of labels sharing one look.\n *\n * - Its shadow DOM is one box, `<div class=\"ui … labels\" part=\"group\">`, around a slot for the labels.\n * - It needs no code beyond that: `UILabel.css` hands the look to the slotted labels, through inherited tokens.\n ****************/\nexport class UILabels extends E.UIComponent<typeof labelsVocabulary> {\n @E.proto static vocabulary = labelsVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { label: labelCSS }\n } satisfies Partial<E.ElementSetup>\n\n render(): JSX.Element {\n return (\n <div class={this.rootClass} part={this.partForName(\"group\")}>\n <slot />\n </div>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UILabels extends E.AttributeValues<typeof labelsVocabulary> {}\n","/**\n * The label family: defines `<ui-label>` and `<ui-labels>`, and exports their components, `UILabel` and `UILabels`.\n * - SIDE EFFECT: importing it defines the tags.\n * - Also the library's `spell/ui/ui-label` entry (its size is in `notes/report.md`).\n */\n\nimport { UILabel } from \"./UILabel\"\nimport { UILabels } from \"./UILabels\"\n\nUILabel.define()\nUILabels.define()\n\nexport { UILabel, UILabels }\n"],"mappings":";;;;;;AAoBA,IAAa8D,IAAkB;CAC7B,KAAK;CACL,MAAM;CACN,SAAS;CACT,QAAQ;EAAC;EAAU;EAAQ;EAAS;CAAU;CAC9C,KAAK;EAAC;EAAS;EAAQ;EAAO;EAAQ;EAAW;CAAO;CACxD,UAAU;CACV,MAAM;CACN,cAAc;CACd,QAAQ;CACR,aAAa;CACb,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aACE;EAGJ;EACA;GAAE,MAAM;GAAO,OAAO;GAAc,MAAM;GAAW,aAAa;EAA2B;EAC7F;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,QAAQ,OAAO;GACxB,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,OAAO;GAChB,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAS;IAAS;IAAQ;GAAO;GAC1C,aAAa;EACf;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAQ;I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MAAM;EAAS,aAAa;CAAiB,CAAC;CACxD,QAAQ,CAAC;CACT,OAAO,CAAC;AACV,G,sCCpEAE,GAAAC,GAAAC,GAAAC,GAcaC,IAAN,MAAM,mBAAiB,IAAA3E,GAC5B,IAAA,CAACC,CAAE,GACH,IAAA,CAACC,CAAE,GAFyBuE,EAAA,CAAuC;CAMnE,SAAsB;EACpB,IAAAjC,IAAA;EACE,IAAAG,IAAA2B,EAAC,GACC1B,IAAAD,EAAA;EAFJ,OAEU,EAAA,UAAAxC,EAAA,GADH0C,S;GAAOhD,GAAAA,EAAAA,EAAK,SAAA;GAAWC,GAAMD,EAAK,YAAY,OAAO;EAAzC,KAAZ,EAAA,GAAA,QAAA,MAAA;GAAuB,AAAXkD,EAAAJ,GAAA,GAAAK,GAAA,CAAA,GAAWC,MAAAD,GAAA,KAAA5C,EAAAuC,GAAA,QAAAM,CAA8B;EAAzC,CAAA,GAAjBlD;CAIJ;AACF;AAbO,IAAAS,EAAAiE,CAAA,GACI7D,EAAA8D,GAAA,IAAO,cAAhBF,GADWG,CAAA,GAEI/D,EAAA8D,GAAA,IAAO,gBAAtBH,GAFWI,CAAA,GAAN9D,EAAA6D,GAAMC,CAAA,GAAwDtE,EAAAsE,GAAA,UAAA,GAC1DlE,EADEkE,GACK,cAAa7D,EAApB4D,GAAA,GADEC,GACkBN,CAAA,CAAA,GAApBvD,EAAA4D,GAAA,IADEC,CAAA,GAEIlE,EAFJkE,GAEW,gBAAe7D,EAAtB4D,GAAA,IAFJC,GAE0B,EACnC,aAAa,EAAE,OAAOrE,EAAS,EACjC,CAAA,CAAA,GAFeQ,EAAA4D,GAAA,IAFJC,CAAA;AAAN,IAAMC,IAAND;ACLPR,EAAQ,OAAO,GACfS,EAAS,OAAO"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-label/ui-labels.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-labels>'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-labels\" data-omit=\"\">\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"image\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"size\"></ui-property>\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"inverted\"></ui-property>\n <ui-property name=\"tag\"></ui-property>\n <ui-property name=\"appearance\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"direction\"></ui-property>\n <ui-property name=\"fluid\"></ui-property>\n <ui-property name=\"align\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"States\" data-group=\"states\">\n <ui-property name=\"disabled\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-labels.editor-BWJth86p.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-labels.editor-BWJth86p.js","names":["ui_labels_editor_default"],"sources":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-text/ui-link.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-link>'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-link\" data-omit=\"\">\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"size\"></ui-property>\n <ui-property name=\"color\"></ui-property>\n <ui-property name=\"inverted\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"States\" data-group=\"states\">\n <ui-property name=\"disabled\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-link.editor-CpI53scP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-link.editor-CpI53scP.js","names":["ui_link_editor_default"],"sources":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-list/ui-list.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-list>'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-list\" data-omit=\"\">\n <ui-property-group label=\"Appearance\" data-group=\"appearance\">\n <ui-property name=\"size\"></ui-property>\n <ui-property name=\"bulleted\"></ui-property>\n <ui-property name=\"ordered\"></ui-property>\n <ui-property name=\"suffixed\"></ui-property>\n <ui-property name=\"appearance\"></ui-property>\n <ui-property name=\"selection\"></ui-property>\n <ui-property name=\"hover\"></ui-property>\n <ui-property name=\"inverted\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"direction\"></ui-property>\n <ui-property name=\"divided\"></ui-property>\n <ui-property name=\"celled\"></ui-property>\n <ui-property name=\"spacing\"></ui-property>\n <ui-property name=\"padding\"></ui-property>\n <ui-property name=\"vertical-align\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-list.editor-DhBZIkAa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-list.editor-DhBZIkAa.js","names":["ui_list_editor_default"],"sources":[],"mappings":""}
|