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
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { Gt as e, Jt as t, Kt as n, Nt as r, UIComponent as i, Ut as a, V as o, Wt as s, Yt as c, after as l, on as u, proto as d, protoMerged as f, qt as p, state as m, untracked as h, whileConnected as ee } from "./core.js";
|
|
3
|
+
import "./ui-button.js";
|
|
4
|
+
import "./ui-modal.js";
|
|
5
|
+
import { For as te, Show as g } from "solid-js";
|
|
6
|
+
import { addEvent as ne, className as re, createComponent as _, delegateEvents as ie, effect as v, getOwner as y, insert as b, isServer as x, readShallow as ae, ref as S, setAttribute as C, setStyleProperty as w, template as T } from "@solidjs/web";
|
|
7
|
+
// src/components/ui-device/UIDevice.en.ts
|
|
8
|
+
var oe = {
|
|
9
|
+
tag: "ui-device",
|
|
10
|
+
icon: "mobile",
|
|
11
|
+
topics: [
|
|
12
|
+
"containers",
|
|
13
|
+
"media",
|
|
14
|
+
"overlays"
|
|
15
|
+
],
|
|
16
|
+
aka: [
|
|
17
|
+
"device frame",
|
|
18
|
+
"phone frame",
|
|
19
|
+
"mockup",
|
|
20
|
+
"device mockup",
|
|
21
|
+
"screen preview",
|
|
22
|
+
"simulator",
|
|
23
|
+
"bezel"
|
|
24
|
+
],
|
|
25
|
+
noun: "device",
|
|
26
|
+
partOfSpeech: "structure",
|
|
27
|
+
description: "A device draws a phone, tablet or desktop round what it holds, at that device's screen size, with buttons in its thick bottom edge.",
|
|
28
|
+
skeleton: "12 x 24",
|
|
29
|
+
attributes: [
|
|
30
|
+
{
|
|
31
|
+
name: "device",
|
|
32
|
+
group: "appearance",
|
|
33
|
+
kind: "enum",
|
|
34
|
+
values: [
|
|
35
|
+
"phone",
|
|
36
|
+
"tablet",
|
|
37
|
+
"desktop"
|
|
38
|
+
],
|
|
39
|
+
default: "phone",
|
|
40
|
+
description: "Which device: a `phone` (390 by 844), a `tablet` (820 by 1180) or a `desktop`, a laptop's screen (1280 by 800). What it holds is drawn at that size, scaled down to fit."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "orientation",
|
|
44
|
+
group: "appearance",
|
|
45
|
+
kind: "enum",
|
|
46
|
+
values: ["portrait", "landscape"],
|
|
47
|
+
default: "portrait",
|
|
48
|
+
description: "Held upright (`portrait`) or on its side (`landscape`). A desktop is always wide, whatever this says."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: "controls",
|
|
52
|
+
group: "behaviour",
|
|
53
|
+
kind: "enum",
|
|
54
|
+
values: [
|
|
55
|
+
"all",
|
|
56
|
+
"rotate",
|
|
57
|
+
"device",
|
|
58
|
+
"none"
|
|
59
|
+
],
|
|
60
|
+
default: "all",
|
|
61
|
+
description: "Its own buttons in its bottom edge: `all` -- Rotate and the phone / tablet / desktop switch; `rotate` or `device` -- only that one; `none` -- neither. A desktop never shows Rotate."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "modal",
|
|
65
|
+
group: "behaviour",
|
|
66
|
+
kind: "boolean",
|
|
67
|
+
description: "Shown as a modal: the device alone, floating over the dimmed page, no box round it (a `<ui-modal appearance=\"basic\">`). It then starts hidden, as a modal does: `visible` shows it, and Escape, a click on the dimmer or a Cancel button hide it."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: "closedby",
|
|
71
|
+
group: "behaviour",
|
|
72
|
+
kind: "enum",
|
|
73
|
+
values: [
|
|
74
|
+
"any",
|
|
75
|
+
"closerequest",
|
|
76
|
+
"none"
|
|
77
|
+
],
|
|
78
|
+
default: "any",
|
|
79
|
+
property: "closedBy",
|
|
80
|
+
description: "With `modal`: what dismisses it, as `<ui-modal closedby>`: `any` -- Escape or a click on the dimmer; `closerequest` -- Escape only; `none` -- only its own buttons."
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
events: [
|
|
84
|
+
{
|
|
85
|
+
name: "ui-changed",
|
|
86
|
+
detail: "{ device: \"phone\" | \"tablet\" | \"desktop\", orientation: \"portrait\" | \"landscape\", originalEvent?: Event }",
|
|
87
|
+
description: "A person changed the device or turned it, with its own buttons; `device` and `orientation` say what it is now."
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: "ui-opened",
|
|
91
|
+
detail: "{ visible: true }",
|
|
92
|
+
description: "With `modal`: shown, its entry transition finished."
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
name: "ui-closed",
|
|
96
|
+
detail: "{ visible: false }",
|
|
97
|
+
description: "With `modal`: hidden, its exit transition finished."
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
slots: [{
|
|
101
|
+
name: "",
|
|
102
|
+
description: "What the device's screen shows, drawn at the screen's size."
|
|
103
|
+
}, {
|
|
104
|
+
name: "buttons",
|
|
105
|
+
description: "Buttons in its thick bottom edge, after its own: a `cancel` (or `deny`) one hides a modal device, as a modal's own does."
|
|
106
|
+
}],
|
|
107
|
+
parts: [
|
|
108
|
+
{
|
|
109
|
+
name: "device",
|
|
110
|
+
description: "The device's body, round the screen and the bottom edge."
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: "screen",
|
|
114
|
+
description: "The screen: what the device holds, at the device's size."
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: "buttons",
|
|
118
|
+
description: "The thick bottom edge, holding its own buttons and the slotted ones."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: "rotate",
|
|
122
|
+
description: "The Rotate button."
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
name: "switch",
|
|
126
|
+
description: "The phone / tablet / desktop switch."
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: "modal",
|
|
130
|
+
description: "With `modal`: the `<ui-modal appearance=\"basic\">` it floats in."
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
states: [
|
|
134
|
+
{
|
|
135
|
+
name: "phone",
|
|
136
|
+
description: "It's a phone."
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: "tablet",
|
|
140
|
+
description: "It's a tablet."
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
name: "desktop",
|
|
144
|
+
description: "It's a desktop."
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: "landscape",
|
|
148
|
+
description: "It's on its side (a desktop always is)."
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
texts: [
|
|
152
|
+
{
|
|
153
|
+
key: "rotate",
|
|
154
|
+
text: "Rotate",
|
|
155
|
+
description: "The Rotate button's name and tooltip."
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
key: "switch",
|
|
159
|
+
text: "Device",
|
|
160
|
+
description: "What a screen reader calls the phone / tablet / desktop switch."
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
key: "phone",
|
|
164
|
+
text: "Phone",
|
|
165
|
+
description: "The switch's phone button."
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
key: "tablet",
|
|
169
|
+
text: "Tablet",
|
|
170
|
+
description: "The switch's tablet button."
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
key: "desktop",
|
|
174
|
+
text: "Desktop",
|
|
175
|
+
description: "The switch's desktop button."
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
}, E = "@layer ui.components.device.types{:host{display:block}:host(:state(modal)){display:contents}ui-modal::part(modal){width:fit-content}.stage{justify-content:center;padding:16px;display:flex}.ui.device{--_ui-device-body:var(--ui-device-body,oklch(24% .004 286));--_ui-device-rim:var(--ui-device-rim,oklch(42% .004 286));--_ui-device-shadow:var(--ui-device-shadow,0 8px 24px oklch(0% 0 0/.45), 0 2px 6px oklch(0% 0 0/.3));--_ui-device-radius:var(--ui-device-radius,56px);--_ui-device-screen-radius:var(--ui-device-screen-radius,40px);--_ui-device-edge:var(--ui-device-edge,56px);border-radius:var(--_ui-device-radius);background:var(--_ui-device-body);width:fit-content;box-shadow:inset 0 0 0 2px var(--_ui-device-rim), inset 0 0 0 6px var(--_ui-device-body), inset 0 0 0 7px oklch(0% 0 0/.5), var(--_ui-device-shadow);color:var(--ui-text-color);font-family:var(--ui-font-family);font-size:var(--ui-font-size);line-height:var(--ui-line-height);flex-direction:column;padding:40px 16px 0;display:flex;position:relative}.ui.device:before{content:\"\";background:oklch(0% 0 0);border-radius:12px;width:96px;height:24px;position:absolute;top:8px;left:50%;transform:translate(-50%)}.screen{border-radius:var(--_ui-device-screen-radius);background:var(--ui-background,Canvas);clip-path:inset(0 round var(--_ui-device-screen-radius));position:relative;overflow:hidden;box-shadow:0 0 0 1px oklch(0% 0 0/.6)}.display{box-sizing:border-box;background:var(--ui-background,Canvas);color:var(--ui-text-color);transform-origin:0 0;position:absolute;top:0;left:0;overflow:auto}.edge{--ui-scheme:dark;--ui-inverted:1;color-scheme:dark;box-sizing:border-box;width:0;min-width:100%;min-height:var(--_ui-device-edge);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 8px;display:flex}slot[name=buttons]{flex-wrap:wrap;flex:1;justify-content:flex-end;align-items:center;gap:8px;display:flex}}@layer ui.components.device.content;@layer ui.components.device.variations{.ui.phone.device:after{content:\"\";background:linear-gradient(var(--_ui-device-rim), var(--_ui-device-rim)) left 0 top 0 / 4px 48px no-repeat, linear-gradient(var(--_ui-device-rim), var(--_ui-device-rim)) left 0 top 64px / 4px 48px no-repeat, linear-gradient(var(--_ui-device-rim), var(--_ui-device-rim)) right 0 top 32px / 4px 64px no-repeat;height:112px;position:absolute;top:160px;left:-4px;right:-4px}.ui.phone.landscape.device{padding:16px 16px 0 40px}.ui.phone.landscape.device:before{width:24px;height:96px;top:50%;left:8px;transform:translateY(-50%)}.ui.phone.landscape.device:after{display:none}.ui.tablet.device{--_ui-device-radius:var(--ui-device-radius,36px);--_ui-device-screen-radius:var(--ui-device-screen-radius,16px);padding:24px 24px 0}.ui.tablet.device:before,.ui.desktop.device:before{background:oklch(12% .01 260);border-radius:50%;width:8px;height:8px;top:8px;box-shadow:inset 0 0 0 2px oklch(30% .02 260)}.ui.desktop.device{--_ui-device-radius:var(--ui-device-radius,16px);--_ui-device-screen-radius:var(--ui-device-screen-radius,4px);border-radius:var(--_ui-device-radius) var(--_ui-device-radius) 4px 4px;padding:24px 16px 0}.ui.desktop.device:after{content:\"\";background:radial-gradient(64px 6px at 50% 0,oklch(62% .004 286) 98%,#0000),linear-gradient(oklch(86% .004 286),oklch(68% .004 286));border-radius:0 0 16px 16px/0 0 12px 12px;height:12px;position:absolute;bottom:-12px;left:-16px;right:-16px;box-shadow:0 6px 12px oklch(0% 0 0/.35)}}@layer ui.components.device.states;", D = /* @__PURE__ */ T("<ui-modal appearance=basic>", 1), se = /* @__PURE__ */ T("<div class=stage><div><div class=screen><div class=display><slot></slot></div></div><div class=edge><slot name=buttons>"), ce = /* @__PURE__ */ T("<ui-buttons role=group size=small>", 1), le = /* @__PURE__ */ T("<ui-button icon=redo size=small>", 1), ue = /* @__PURE__ */ T("<ui-button>", 1), O, k, A, j, M, N, P, F, I, L, R, z, B, V, H = class _UIDevice extends (R = i, L = [d], I = [f], F = [m], P = [m], N = [ee], M = [h], j = [h], A = [h], k = [u("click")], O = [u("command")], R) {
|
|
179
|
+
constructor(...e) {
|
|
180
|
+
super(...e), c(z, 5, this), p(this, B, c(z, 8, this, {
|
|
181
|
+
width: 0,
|
|
182
|
+
height: 0
|
|
183
|
+
})), c(z, 11, this), p(this, V, c(z, 12, this, ge)), c(z, 15, this), t(this, "edgeWatch"), t(this, "rotate", c(z, 24, this, /* @__PURE__ */ n((e) => {
|
|
184
|
+
this.orientation = this.isLandscape ? q : J, this.sendChanged(e);
|
|
185
|
+
}, "rotate"))), c(z, 27, this), t(this, "modalElement"), t(this, "isModalOpen", !1), t(this, "onModalShown", /* @__PURE__ */ n((e) => {
|
|
186
|
+
e.target === this.modalElement && (this.isModalOpen = e.type === Q, !this.isModalOpen && this.isVisible && (this.domElement.hidden = !0));
|
|
187
|
+
}, "onModalShown"));
|
|
188
|
+
let { domElement: r } = this;
|
|
189
|
+
this.modal && !r.hasAttribute("hidden") && !r.hasAttribute(ye) && (r.hidden = !0);
|
|
190
|
+
}
|
|
191
|
+
get isLandscape() {
|
|
192
|
+
return this.device === K || this.orientation === J;
|
|
193
|
+
}
|
|
194
|
+
get screenSize() {
|
|
195
|
+
let { width: e, height: t } = me[this.device ?? G];
|
|
196
|
+
return this.isLandscape ? {
|
|
197
|
+
width: Math.max(e, t),
|
|
198
|
+
height: Math.min(e, t)
|
|
199
|
+
} : {
|
|
200
|
+
width: e,
|
|
201
|
+
height: t
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
get bezel() {
|
|
205
|
+
let e = this.device ?? G;
|
|
206
|
+
return he[e === K ? e : `${e} ${this.isLandscape ? J : q}`];
|
|
207
|
+
}
|
|
208
|
+
cssStates() {
|
|
209
|
+
let e = this.device ?? G;
|
|
210
|
+
return {
|
|
211
|
+
phone: e === G,
|
|
212
|
+
tablet: e === de,
|
|
213
|
+
desktop: e === K,
|
|
214
|
+
landscape: this.isLandscape
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
get extraClass() {
|
|
218
|
+
return [this.device ?? G, this.isLandscape ? J : ""].join(" ").trim();
|
|
219
|
+
}
|
|
220
|
+
get scale() {
|
|
221
|
+
let { room: e, bezel: t, screenSize: n } = this;
|
|
222
|
+
if (!e.width || !e.height) return 1;
|
|
223
|
+
let r = e.width - t.left - t.right - 2 * X, i = e.height - t.top - this.edgeHeight - 2 * X;
|
|
224
|
+
return Math.max(_e, Math.min(1, r / n.width, i / n.height));
|
|
225
|
+
}
|
|
226
|
+
get shownSize() {
|
|
227
|
+
let { screenSize: e, scale: t } = this;
|
|
228
|
+
return {
|
|
229
|
+
width: Math.round(e.width * t),
|
|
230
|
+
height: Math.round(e.height * t)
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
watchRoom() {
|
|
234
|
+
if (x) return;
|
|
235
|
+
let e = /* @__PURE__ */ n(() => this.measureRoom(), "measure"), t = new ResizeObserver(e);
|
|
236
|
+
return t.observe(this.domElement), window.addEventListener("resize", e), e(), () => {
|
|
237
|
+
t.disconnect(), window.removeEventListener("resize", e);
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
measureRoom() {
|
|
241
|
+
let { innerWidth: e, innerHeight: t } = window, n = {
|
|
242
|
+
width: this.modal ? e - 2 * Z : this.domElement.clientWidth,
|
|
243
|
+
height: t - 2 * Z
|
|
244
|
+
};
|
|
245
|
+
(n.width !== this.room.width || n.height !== this.room.height) && (this.room = n);
|
|
246
|
+
}
|
|
247
|
+
edgeDrawn(e) {
|
|
248
|
+
if (!x) {
|
|
249
|
+
if (!this.edgeWatch) {
|
|
250
|
+
let e = this.edgeWatch = new ResizeObserver((e) => {
|
|
251
|
+
let t = e.at(-1)?.target?.offsetHeight;
|
|
252
|
+
t && t !== this.edgeHeight && (this.edgeHeight = t);
|
|
253
|
+
});
|
|
254
|
+
this.domElement.addReleaseCallback(() => e.disconnect());
|
|
255
|
+
}
|
|
256
|
+
this.edgeWatch.observe(e);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
get showsSwitch() {
|
|
260
|
+
return this.controls === Y || this.controls === pe;
|
|
261
|
+
}
|
|
262
|
+
get showsRotate() {
|
|
263
|
+
return (this.controls === Y || this.controls === fe) && this.device !== K;
|
|
264
|
+
}
|
|
265
|
+
switchTo(e, t) {
|
|
266
|
+
e !== this.device && (this.device = e, this.sendChanged(t));
|
|
267
|
+
}
|
|
268
|
+
sendChanged(e) {
|
|
269
|
+
let t = this.device ?? G, n = this.orientation === J ? J : q;
|
|
270
|
+
this.send("ui-changed", {
|
|
271
|
+
device: t,
|
|
272
|
+
orientation: n,
|
|
273
|
+
originalEvent: e
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
async onVisibleChange(e, t) {
|
|
277
|
+
if (!this.modal) return super.onVisibleChange(e, t);
|
|
278
|
+
let n = this.modalElement;
|
|
279
|
+
!e && n && this.isModalOpen && await new Promise((e) => {
|
|
280
|
+
n.addEventListener($, () => e(), { once: !0 }), l(ve, e);
|
|
281
|
+
});
|
|
282
|
+
}
|
|
283
|
+
onClick(e) {
|
|
284
|
+
if (this.modal && this.isVisible) {
|
|
285
|
+
for (let t of o.lightPath(e, this.domElement)) if (o.of(t)) {
|
|
286
|
+
this.domElement.hidden = !0;
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
onCommand(e) {
|
|
292
|
+
if (!this.modal) return;
|
|
293
|
+
let t = r.action(e, this.isVisible);
|
|
294
|
+
t === "show" ? this.domElement.hidden = !1 : t === "close" && (this.domElement.hidden = !0);
|
|
295
|
+
}
|
|
296
|
+
get modalLabel() {
|
|
297
|
+
return this.attributes["aria-label"] ?? void 0;
|
|
298
|
+
}
|
|
299
|
+
render() {
|
|
300
|
+
let e = this;
|
|
301
|
+
return _(g, {
|
|
302
|
+
get when() {
|
|
303
|
+
return e.modal;
|
|
304
|
+
},
|
|
305
|
+
get fallback() {
|
|
306
|
+
return e.frame();
|
|
307
|
+
},
|
|
308
|
+
get children() {
|
|
309
|
+
var t = D();
|
|
310
|
+
return S(() => (t) => {
|
|
311
|
+
e.modalElement = t, t.addEventListener(Q, e.onModalShown), t.addEventListener($, e.onModalShown);
|
|
312
|
+
}, t), t._$owner = y(), b(t, () => e.frame()), v(() => ({
|
|
313
|
+
e: e.partForName("modal"),
|
|
314
|
+
t: e.closedby ?? "any",
|
|
315
|
+
a: e.modalLabel,
|
|
316
|
+
o: e.isVisible
|
|
317
|
+
}), ({ e, t: n, a: r, o: i }, a) => {
|
|
318
|
+
e !== a?.e && C(t, "part", e), n !== a?.t && C(t, "closedby", n), r !== a?.a && C(t, "aria-label", r), i !== a?.o && C(t, "visible", i);
|
|
319
|
+
}), t;
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
frame() {
|
|
324
|
+
let e = this;
|
|
325
|
+
var t = se(), n = t.firstChild, r = n.firstChild, i = r.firstChild, a = i.firstChild, o = r.nextSibling, s = o.firstChild;
|
|
326
|
+
return a._$owner = y(), S(() => (t) => e.edgeDrawn(t), o), b(o, () => e.controlButtons(), s), s._$owner = y(), v(() => ({
|
|
327
|
+
e: ae(e.rootClass),
|
|
328
|
+
t: e.partForName("device"),
|
|
329
|
+
a: e.partForName("screen"),
|
|
330
|
+
o: `${e.shownSize.width}px`,
|
|
331
|
+
i: `${e.shownSize.height}px`,
|
|
332
|
+
n: `${e.screenSize.width}px`,
|
|
333
|
+
s: `${e.screenSize.height}px`,
|
|
334
|
+
h: e.scale === 1 ? void 0 : `scale(${e.scale})`,
|
|
335
|
+
r: e.partForName("buttons")
|
|
336
|
+
}), ({ e, t, a, o: s, i: c, n: l, s: u, h: d, r: f }, p) => {
|
|
337
|
+
re(n, e, p?.e), t !== p?.t && C(n, "part", t), a !== p?.a && C(r, "part", a), s !== p?.o && w(r, "width", s), c !== p?.i && w(r, "height", c), l !== p?.n && w(i, "width", l), u !== p?.s && w(i, "height", u), d !== p?.h && w(i, "transform", d), f !== p?.r && C(o, "part", f);
|
|
338
|
+
}), t;
|
|
339
|
+
}
|
|
340
|
+
controlButtons() {
|
|
341
|
+
let e = this;
|
|
342
|
+
return [_(g, {
|
|
343
|
+
get when() {
|
|
344
|
+
return e.showsSwitch;
|
|
345
|
+
},
|
|
346
|
+
get children() {
|
|
347
|
+
var t = ce();
|
|
348
|
+
return t._$owner = y(), b(t, _(te, {
|
|
349
|
+
each: W,
|
|
350
|
+
children: (t) => (() => {
|
|
351
|
+
var n = ue();
|
|
352
|
+
return n._$$click = (n) => e.switchTo(t, n), C(n, "icon", t === G ? "mobile" : t), n._$owner = y(), v(() => ({
|
|
353
|
+
e: e.device === t ? "" : void 0,
|
|
354
|
+
t: e.translationForKey(t),
|
|
355
|
+
a: e.translationForKey(t)
|
|
356
|
+
}), ({ e, t, a: r }, i) => {
|
|
357
|
+
e !== i?.e && C(n, "selected", e), t !== i?.t && C(n, "aria-label", t), r !== i?.a && C(n, "title", r);
|
|
358
|
+
}), n;
|
|
359
|
+
})()
|
|
360
|
+
})), v(() => ({
|
|
361
|
+
e: e.partForName("switch"),
|
|
362
|
+
t: e.translationForKey("switch")
|
|
363
|
+
}), ({ e, t: n }, r) => {
|
|
364
|
+
e !== r?.e && C(t, "part", e), n !== r?.t && C(t, "aria-label", n);
|
|
365
|
+
}), t;
|
|
366
|
+
}
|
|
367
|
+
}), _(g, {
|
|
368
|
+
get when() {
|
|
369
|
+
return e.showsRotate;
|
|
370
|
+
},
|
|
371
|
+
get children() {
|
|
372
|
+
var t = le();
|
|
373
|
+
return ne(t, "click", e.rotate, !0), t._$owner = y(), v(() => ({
|
|
374
|
+
e: e.partForName("rotate"),
|
|
375
|
+
t: e.translationForKey("rotate"),
|
|
376
|
+
a: e.translationForKey("rotate")
|
|
377
|
+
}), ({ e, t: n, a: r }, i) => {
|
|
378
|
+
e !== i?.e && C(t, "part", e), n !== i?.t && C(t, "aria-label", n), r !== i?.a && C(t, "title", r);
|
|
379
|
+
}), t;
|
|
380
|
+
}
|
|
381
|
+
})];
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
z = e(R), B = /* @__PURE__ */ new WeakMap(), V = /* @__PURE__ */ new WeakMap(), a(z, 4, "room", F, H, B), a(z, 4, "edgeHeight", P, H, V), a(z, 1, "watchRoom", N, H), a(z, 1, "measureRoom", M, H), a(z, 1, "switchTo", A, H), a(z, 1, "onClick", k, H), a(z, 1, "onCommand", O, H), a(z, 13, "vocabulary", L, H), a(z, 13, "elementSetup", I, H), a(z, 5, "rotate", j, H), s(z, H), n(H, "UIDevice"), t(H, "vocabulary", c(z, 16, H, oe)), c(z, 19, H), t(H, "elementSetup", c(z, 20, H, {
|
|
385
|
+
styleSheets: { device: E },
|
|
386
|
+
cssStates: ["modal"]
|
|
387
|
+
})), c(z, 23, H);
|
|
388
|
+
var U = H, W = [
|
|
389
|
+
"phone",
|
|
390
|
+
"tablet",
|
|
391
|
+
"desktop"
|
|
392
|
+
], [G, de, K] = W, q = "portrait", J = "landscape", Y = "all", fe = "rotate", pe = "device", me = {
|
|
393
|
+
phone: {
|
|
394
|
+
width: 390,
|
|
395
|
+
height: 844
|
|
396
|
+
},
|
|
397
|
+
tablet: {
|
|
398
|
+
width: 820,
|
|
399
|
+
height: 1180
|
|
400
|
+
},
|
|
401
|
+
desktop: {
|
|
402
|
+
width: 1280,
|
|
403
|
+
height: 800
|
|
404
|
+
}
|
|
405
|
+
}, he = {
|
|
406
|
+
"phone portrait": {
|
|
407
|
+
top: 40,
|
|
408
|
+
right: 16,
|
|
409
|
+
left: 16
|
|
410
|
+
},
|
|
411
|
+
"phone landscape": {
|
|
412
|
+
top: 16,
|
|
413
|
+
right: 16,
|
|
414
|
+
left: 40
|
|
415
|
+
},
|
|
416
|
+
"tablet portrait": {
|
|
417
|
+
top: 24,
|
|
418
|
+
right: 24,
|
|
419
|
+
left: 24
|
|
420
|
+
},
|
|
421
|
+
"tablet landscape": {
|
|
422
|
+
top: 24,
|
|
423
|
+
right: 24,
|
|
424
|
+
left: 24
|
|
425
|
+
},
|
|
426
|
+
desktop: {
|
|
427
|
+
top: 24,
|
|
428
|
+
right: 16,
|
|
429
|
+
left: 16
|
|
430
|
+
}
|
|
431
|
+
}, ge = 56, X = 16, Z = 16, _e = .2, ve = 1, ye = "visible", Q = "ui-opened", $ = "ui-closed";
|
|
432
|
+
// src/components/ui-device/index.ts
|
|
433
|
+
ie(["click"]), U.define();
|
|
434
|
+
export { U as UIDevice };
|
|
435
|
+
|
|
436
|
+
//# sourceMappingURL=ui-device.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-device.js","names":["<Show when={this.modal} fallback={this.frame()}>\n <ui-modal\n ref={(element) => {\n this.modalElement = element;\n element.addEventListener(OPENED, this.onModalShown);\n element.addEventListener(CLOSED, this.onModalShown);\n }}\n part={this.partForName(\"modal\")}\n appearance=\"basic\"\n closedby={this.closedby ?? \"any\"}\n aria-label={this.modalLabel}\n visible={this.isVisible}\n >\n {this.frame()}\n </ui-modal>\n </Show>","this","ref={(element) => {\n this.modalElement = element;\n element.addEventListener(OPENED, this.onModalShown);\n element.addEventListener(CLOSED, this.onModalShown);\n }}","closedby={this.closedby ?? \"any\"}","aria-label={this.modalLabel}","visible={this.isVisible}","<ui-modal\n ref={(element) => {\n this.modalElement = element;\n element.addEventListener(OPENED, this.onModalShown);\n element.addEventListener(CLOSED, this.onModalShown);\n }}\n part={this.partForName(\"modal\")}\n appearance=\"basic\"\n closedby={this.closedby ?? \"any\"}\n aria-label={this.modalLabel}\n visible={this.isVisible}\n >\n {this.frame()}\n </ui-modal>","ref={(edge) => this.edgeDrawn(edge)}","<div class=\"edge\" part={this.partForName(\"buttons\")} ref={(edge) => this.edgeDrawn(edge)}>\n {this.controlButtons()}\n <slot name=\"buttons\" />\n </div>","part={this.partForName(\"device\")}","part={this.partForName(\"screen\")}","width: `${this.shownSize.width}px`","height: `${this.shownSize.height}px`","width: `${this.screenSize.width}px`","height: `${this.screenSize.height}px`","transform: this.scale === 1 ? void 0 : `scale(${this.scale})`","part={this.partForName(\"buttons\")}","<div class=\"stage\">\n <div class={this.rootClass} part={this.partForName(\"device\")}>\n <div\n class=\"screen\"\n part={this.partForName(\"screen\")}\n style={{ width: `${this.shownSize.width}px`, height: `${this.shownSize.height}px` }}\n >\n <div\n class=\"display\"\n style={{\n width: `${this.screenSize.width}px`,\n height: `${this.screenSize.height}px`,\n transform: this.scale === 1 ? void 0 : `scale(${this.scale})`\n }}\n >\n <slot />\n </div>\n </div>\n <div class=\"edge\" part={this.partForName(\"buttons\")} ref={(edge) => this.edgeDrawn(edge)}>\n {this.controlButtons()}\n <slot name=\"buttons\" />\n </div>\n </div>\n </div>","<Show when={this.showsSwitch}>\n <ui-buttons\n part={this.partForName(\"switch\")}\n role=\"group\"\n aria-label={this.translationForKey(\"switch\")}\n size=\"small\"\n >\n <For each={DEVICES}>\n {(device) => <ui-button\n icon={device === PHONE ? \"mobile\" : device}\n selected={this.device === device ? \"\" : void 0}\n aria-label={this.translationForKey(device)}\n title={this.translationForKey(device)}\n onClick={(event) => this.switchTo(device, event)}\n />}\n </For>\n </ui-buttons>\n </Show>","<For each={DEVICES}>\n {(device) => <ui-button\n icon={device === PHONE ? \"mobile\" : device}\n selected={this.device === device ? \"\" : void 0}\n aria-label={this.translationForKey(device)}\n title={this.translationForKey(device)}\n onClick={(event) => this.switchTo(device, event)}\n />}\n </For>","each={DEVICES}","aria-label={this.translationForKey(device)}","title={this.translationForKey(device)}","aria-label={this.translationForKey(\"switch\")}","<ui-buttons\n part={this.partForName(\"switch\")}\n role=\"group\"\n aria-label={this.translationForKey(\"switch\")}\n size=\"small\"\n >\n <For each={DEVICES}>\n {(device) => <ui-button\n icon={device === PHONE ? \"mobile\" : device}\n selected={this.device === device ? \"\" : void 0}\n aria-label={this.translationForKey(device)}\n title={this.translationForKey(device)}\n onClick={(event) => this.switchTo(device, event)}\n />}\n </For>\n </ui-buttons>","<Show when={this.showsRotate}>\n <ui-button\n part={this.partForName(\"rotate\")}\n icon=\"redo\"\n size=\"small\"\n aria-label={this.translationForKey(\"rotate\")}\n title={this.translationForKey(\"rotate\")}\n onClick={this.rotate}\n />\n </Show>","aria-label={this.translationForKey(\"rotate\")}","title={this.translationForKey(\"rotate\")}","<ui-button\n part={this.partForName(\"rotate\")}\n icon=\"redo\"\n size=\"small\"\n aria-label={this.translationForKey(\"rotate\")}\n title={this.translationForKey(\"rotate\")}\n onClick={this.rotate}\n />","E.UIComponent","E.proto","E.protoMerged","E.state","E.whileConnected","E.untracked","E.on","E.after","_$getOwner","_$setAttribute","_$setStyleProperty","__name","deviceCSS","__decoratorStart","__publicField","__name$1","ToggleCommands","__decorateElement","ModalActions","__decoratorMetadata","__runInitializers","__privateAdd","getOwner$1","deviceVocabulary","UIDevice_default","_tmpl$","_tmpl$2","_tmpl$3","_tmpl$4","_tmpl$5","_onCommand_dec","_onClick_dec","_switchTo_dec","_rotate_dec","_measureRoom_dec","_watchRoom_dec","_edgeHeight_dec","_room_dec","_elementSetup_dec","_vocabulary_dec","_a","_init","_room","_edgeHeight","_UIDevice","UIComponent","proto","protoMerged","state","whileConnected","untracked","on","args","EDGE_HEIGHT","PORTRAIT","LANDSCAPE","event","OPENED","domElement","VISIBLE","DESKTOP","SCREENS","PHONE","width","height","device","BEZELS","TABLET","room","bezel","STAGE","SMALLEST_SCALE","screenSize","scale","isServer","measure","resized","innerWidth","MODAL_MARGIN","innerHeight","watch","entries","edge","ALL","DEVICE","ROTATE","orientation","visible","animation","modal","CLOSED","resolve","after","MOST_CLOSING_TIME","target","action","_self$","createComponent","Show","_el$","ref","element","insert","effect","_p$","setAttribute","t","a","o","_self$2","_el$2","_el$3","_el$4","_el$5","_el$6","_el$7","_el$8","readShallow","className","setStyleProperty","i","n","s","h","r","_self$3","_el$9","For","DEVICES","_el$11","_el$10","addEvent","UIDevice","delegateEvents"],"sources":["../src/components/ui-device/UIDevice.en.ts","../src/components/ui-device/UIDevice.tsx","../src/components/ui-device/index.ts"],"sourcesContent":["/**\n * The English vocabulary of `<ui-device>`: every name the tag uses.\n * The shape is `E.ComponentVocabulary` (`spell/ui/vocabulary`).\n */\n\nimport type { E } from \"spell/ui/core\"\n\n/****************\n * ### `deviceVocabulary`\n * The names of `<ui-device>`: a phone, tablet or desktop drawn round what it holds, at that device's size.\n ****************/\nexport const deviceVocabulary = {\n tag: \"ui-device\",\n icon: \"mobile\",\n topics: [\"containers\", \"media\", \"overlays\"],\n aka: [\"device frame\", \"phone frame\", \"mockup\", \"device mockup\", \"screen preview\", \"simulator\", \"bezel\"],\n noun: \"device\",\n partOfSpeech: \"structure\",\n description:\n \"A device draws a phone, tablet or desktop round what it holds, at that device's screen size, \" +\n \"with buttons in its thick bottom edge.\",\n skeleton: \"12 x 24\",\n attributes: [\n {\n name: \"device\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"phone\", \"tablet\", \"desktop\"],\n default: \"phone\",\n description:\n \"Which device: a `phone` (390 by 844), a `tablet` (820 by 1180) or a `desktop`, a laptop's screen \" +\n \"(1280 by 800). What it holds is drawn at that size, scaled down to fit.\"\n },\n {\n name: \"orientation\",\n group: \"appearance\",\n kind: \"enum\",\n values: [\"portrait\", \"landscape\"],\n default: \"portrait\",\n description:\n \"Held upright (`portrait`) or on its side (`landscape`). A desktop is always wide, whatever this says.\"\n },\n {\n name: \"controls\",\n group: \"behaviour\",\n kind: \"enum\",\n values: [\"all\", \"rotate\", \"device\", \"none\"],\n default: \"all\",\n description:\n \"Its own buttons in its bottom edge: `all` -- Rotate and the phone / tablet / desktop switch; \" +\n \"`rotate` or `device` -- only that one; `none` -- neither. A desktop never shows Rotate.\"\n },\n {\n name: \"modal\",\n group: \"behaviour\",\n kind: \"boolean\",\n description:\n \"Shown as a modal: the device alone, floating over the dimmed page, no box round it \" +\n '(a `<ui-modal appearance=\"basic\">`). It then starts hidden, as a modal does: `visible` shows it, and ' +\n \"Escape, a click on the dimmer or a Cancel button hide it.\"\n },\n {\n name: \"closedby\",\n group: \"behaviour\",\n kind: \"enum\",\n values: [\"any\", \"closerequest\", \"none\"],\n default: \"any\",\n property: \"closedBy\",\n description:\n \"With `modal`: what dismisses it, as `<ui-modal closedby>`: `any` -- Escape or a click on the dimmer; \" +\n \"`closerequest` -- Escape only; `none` -- only its own buttons.\"\n }\n ],\n events: [\n {\n name: \"ui-changed\",\n detail:\n '{ device: \"phone\" | \"tablet\" | \"desktop\", orientation: \"portrait\" | \"landscape\", originalEvent?: Event }',\n description:\n \"A person changed the device or turned it, with its own buttons; `device` and `orientation` say what it is now.\"\n },\n {\n name: \"ui-opened\",\n detail: \"{ visible: true }\",\n description: \"With `modal`: shown, its entry transition finished.\"\n },\n {\n name: \"ui-closed\",\n detail: \"{ visible: false }\",\n description: \"With `modal`: hidden, its exit transition finished.\"\n }\n ],\n slots: [\n { name: \"\", description: \"What the device's screen shows, drawn at the screen's size.\" },\n {\n name: \"buttons\",\n description:\n \"Buttons in its thick bottom edge, after its own: a `cancel` (or `deny`) one hides a modal device, as a \" +\n \"modal's own does.\"\n }\n ],\n parts: [\n { name: \"device\", description: \"The device's body, round the screen and the bottom edge.\" },\n { name: \"screen\", description: \"The screen: what the device holds, at the device's size.\" },\n { name: \"buttons\", description: \"The thick bottom edge, holding its own buttons and the slotted ones.\" },\n { name: \"rotate\", description: \"The Rotate button.\" },\n { name: \"switch\", description: \"The phone / tablet / desktop switch.\" },\n { name: \"modal\", description: 'With `modal`: the `<ui-modal appearance=\"basic\">` it floats in.' }\n ],\n states: [\n { name: \"phone\", description: \"It's a phone.\" },\n { name: \"tablet\", description: \"It's a tablet.\" },\n { name: \"desktop\", description: \"It's a desktop.\" },\n { name: \"landscape\", description: \"It's on its side (a desktop always is).\" }\n ],\n texts: [\n { key: \"rotate\", text: \"Rotate\", description: \"The Rotate button's name and tooltip.\" },\n { key: \"switch\", text: \"Device\", description: \"What a screen reader calls the phone / tablet / desktop switch.\" },\n { key: \"phone\", text: \"Phone\", description: \"The switch's phone button.\" },\n { key: \"tablet\", text: \"Tablet\", description: \"The switch's tablet button.\" },\n { key: \"desktop\", text: \"Desktop\", description: \"The switch's desktop button.\" }\n ]\n} as const satisfies E.ComponentVocabulary\n","import { For, Show } from \"solid-js\"\nimport { isServer, type JSX } from \"@solidjs/web\"\n\nimport { E, UIT } from \"spell/ui/core\"\nimport { deviceVocabulary } from \"./UIDevice.en\"\n\nimport deviceCSS from \"./UIDevice.css?inline\"\n\n/****************\n * ### `<ui-device>`\n * The component behind `<ui-device>`: a phone, tablet or desktop drawn round what it holds (epic `mockup` P25).\n *\n * <div class=\"ui phone device\" part=\"device\">\n * <div class=\"screen\" part=\"screen\"> <div class=\"display\"> <slot> </div> </div>\n * <div class=\"edge\" part=\"buttons\"> switch, Rotate, <slot name=\"buttons\"> </div>\n * </div>\n *\n * - What it holds is drawn at the device's screen size (`SCREENS`: a phone's 390 by 844 ...),\n * then scaled down to fit (`scale`), never up: so an app inside lays itself out as it would on that device.\n * - It fits the width it's given, and the window's height.\n * - The frame round it is drawn at its real size, whatever the scale: a phone's rounded body with its camera island\n * in the top edge (never over the screen), a tablet's thinner bezel, a laptop's lid and base.\n * - Its thick bottom edge holds its own buttons, then the page's (`slot=\"buttons\"`), at their real size.\n * - Its own: the phone / tablet / desktop switch and Rotate, each one turned off by `controls`.\n * - A person's change writes `device` / `orientation`, then sends `ui-changed`.\n * - `modal`: it floats in a `<ui-modal appearance=\"basic\">` of its own shadow root, over the dimmed page.\n * - That modal does everything a modal does (Escape, the dimmer, the focus trap, the top layer):\n * the device only shows and hides it, as its own `visible` says.\n * - So it starts hidden, as a `<ui-modal>` does, unless the page writes `visible` or `hidden`.\n * - The modal's events (`ui-opened`, `ui-closed` ...) come out of the device, as its own.\n * - A `cancel` / `deny` (or `approve`) button in its bottom edge hides it, as one in a modal does.\n * - NOT a `<ui-modal>` subclass: a device is as often on a page as in a dialog.\n ****************/\nexport class UIDevice extends E.UIComponent<typeof deviceVocabulary> {\n @E.proto static vocabulary = deviceVocabulary\n @E.protoMerged static elementSetup = {\n styleSheets: { device: deviceCSS },\n cssStates: [\"modal\"]\n } satisfies Partial<E.ElementSetup>\n\n constructor(...args: ConstructorParameters<typeof E.UIComponent>) {\n super(...args)\n // a modal device starts hidden, as a `<ui-modal>` does, unless the page said\n const { domElement } = this\n if (this.modal && !domElement.hasAttribute(\"hidden\") && !domElement.hasAttribute(VISIBLE)) domElement.hidden = true\n }\n\n ////////////////\n // ## The device and how it's held\n ////////////////\n\n /** Is it on its side? A desktop always is. */\n get isLandscape(): boolean {\n return this.device === DESKTOP || this.orientation === LANDSCAPE\n }\n\n /** Its screen's size, in CSS pixels, as it's held: what it holds is laid out at this size. */\n get screenSize(): Size {\n const { width, height } = SCREENS[this.device ?? PHONE]\n return this.isLandscape ? { width: Math.max(width, height), height: Math.min(width, height) } : { width, height }\n }\n\n /** Its frame round the screen, in CSS pixels, as it's held: the bottom edge is measured (`edgeHeight`). */\n private get bezel(): Bezel {\n const device = this.device ?? PHONE\n return BEZELS[device === DESKTOP ? device : `${device} ${this.isLandscape ? LANDSCAPE : PORTRAIT}`]\n }\n\n /** Its states: which device it is, and whether it's on its side. */\n protected cssStates() {\n const device = this.device ?? PHONE\n return {\n phone: device === PHONE,\n tablet: device === TABLET,\n desktop: device === DESKTOP,\n landscape: this.isLandscape\n }\n }\n\n /** Fomantic-style class words: `ui phone landscape device`. */\n protected get extraClass(): string | undefined {\n return [this.device ?? PHONE, this.isLandscape ? LANDSCAPE : \"\"].join(\" \").trim()\n }\n\n ////////////////\n // ## Its size\n ////////////////\n\n /** The room it has, in CSS pixels: its own width (or the window's, as a modal), the window's height. */\n @E.state accessor room: Size = { width: 0, height: 0 }\n\n /** The bottom edge's height, as drawn: it grows when its buttons wrap. */\n @E.state accessor edgeHeight = EDGE_HEIGHT\n\n /**\n * How much smaller than life its screen is drawn: 1 when it fits, never more.\n * - What's left of the room once the frame round the screen and the stage round the frame are taken out.\n */\n get scale(): number {\n const { room, bezel, screenSize } = this\n if (!room.width || !room.height) return 1\n const width = room.width - bezel.left - bezel.right - 2 * STAGE\n const height = room.height - bezel.top - this.edgeHeight - 2 * STAGE\n return Math.max(SMALLEST_SCALE, Math.min(1, width / screenSize.width, height / screenSize.height))\n }\n\n /** The screen's size on the page: `screenSize` times `scale`, in whole pixels. */\n get shownSize(): Size {\n const { screenSize, scale } = this\n return { width: Math.round(screenSize.width * scale), height: Math.round(screenSize.height * scale) }\n }\n\n /** While connected: measure the room again as its box, or the window, changes size. */\n @E.whileConnected\n protected watchRoom() {\n if (isServer) return\n const measure = () => this.measureRoom()\n const resized = new ResizeObserver(measure)\n resized.observe(this.domElement)\n window.addEventListener(\"resize\", measure)\n measure()\n return () => {\n resized.disconnect()\n window.removeEventListener(\"resize\", measure)\n }\n }\n\n /** Measure the room: as a modal, the window's; else its own width, and the window's height. */\n @E.untracked\n private measureRoom() {\n const { innerWidth, innerHeight } = window\n const width = this.modal ? innerWidth - 2 * MODAL_MARGIN : this.domElement.clientWidth\n const room = { width, height: innerHeight - 2 * MODAL_MARGIN }\n if (room.width !== this.room.width || room.height !== this.room.height) this.room = room\n }\n\n /** The bottom edge was drawn: watch its height, which grows when its buttons wrap. */\n private edgeDrawn(edge: HTMLElement) {\n if (isServer) return\n if (!this.edgeWatch) {\n const watch = (this.edgeWatch = new ResizeObserver((entries) => {\n const height = (entries.at(-1)?.target as HTMLElement | undefined)?.offsetHeight\n if (height && height !== this.edgeHeight) this.edgeHeight = height\n }))\n this.domElement.addReleaseCallback(() => watch.disconnect())\n }\n this.edgeWatch.observe(edge)\n }\n\n /** What watches the bottom edge's height, once it's drawn. */\n private edgeWatch: ResizeObserver | undefined\n\n ////////////////\n // ## Its own buttons\n ////////////////\n\n /** Does it show the phone / tablet / desktop switch? */\n get showsSwitch(): boolean {\n return this.controls === ALL || this.controls === DEVICE\n }\n\n /** Does it show Rotate? Never on a desktop, which is always wide. */\n get showsRotate(): boolean {\n return (this.controls === ALL || this.controls === ROTATE) && this.device !== DESKTOP\n }\n\n /** Rotate: on its side, or upright again; then `ui-changed`. */\n @E.untracked\n private readonly rotate = (event: MouseEvent) => {\n this.orientation = this.isLandscape ? PORTRAIT : LANDSCAPE\n this.sendChanged(event)\n }\n\n /** The switch: another device; then `ui-changed`. */\n @E.untracked\n private switchTo(device: DeviceName, event: MouseEvent) {\n if (device === this.device) return\n this.device = device\n this.sendChanged(event)\n }\n\n /** `ui-changed`, with the device and how it's held now. */\n private sendChanged(originalEvent: Event) {\n const device = this.device ?? PHONE\n const orientation = this.orientation === LANDSCAPE ? LANDSCAPE : PORTRAIT\n this.send(\"ui-changed\", { device, orientation, originalEvent })\n }\n\n ////////////////\n // ## As a modal\n ////////////////\n\n /** The `<ui-modal>` it floats in, with `modal`. */\n private modalElement: (HTMLElement & { visible: boolean }) | undefined\n\n /** Is its modal shown, its entry transition over? */\n private isModalOpen = false\n\n /** The modal's own `ui-opened` / `ui-closed` (not one of the device's content's). */\n private readonly onModalShown = (event: Event) => {\n if (event.target !== this.modalElement) return\n this.isModalOpen = event.type === OPENED\n // closed by itself (Escape, the dimmer): the device follows\n if (!this.isModalOpen && this.isVisible) this.domElement.hidden = true\n }\n\n /**\n * Shown or hidden: as a modal, its modal shows and hides itself, following `isVisible` (`render()`);\n * a hide waits for it to be gone, so the device stays on screen (`:state(hiding)`) until then.\n */\n protected async onVisibleChange(visible: boolean, animation: E.ElementAnimation): Promise<void> {\n if (!this.modal) return super.onVisibleChange(visible, animation)\n const modal = this.modalElement\n if (visible || !modal || !this.isModalOpen) return\n await new Promise<void>((resolve) => {\n modal.addEventListener(CLOSED, () => resolve(), { once: true })\n void E.after(MOST_CLOSING_TIME, resolve)\n })\n }\n\n /** A click in its bottom edge on a `cancel` / `deny` or `approve` button: a modal device hides. */\n @E.on(\"click\")\n protected onClick(event: MouseEvent) {\n if (!this.modal || !this.isVisible) return\n for (const target of UIT.ModalActions.lightPath(event, this.domElement)) {\n if (!UIT.ModalActions.of(target)) continue\n this.domElement.hidden = true\n return\n }\n }\n\n /** An invoker command aimed at it, as at a modal: `<button commandfor=\"id\" command=\"--show\">` (`--close`, `--toggle`). */\n @E.on(\"command\")\n protected onCommand(event: Event) {\n if (!this.modal) return\n const action = UIT.ToggleCommands.action(event, this.isVisible)\n if (action === \"show\") this.domElement.hidden = false\n else if (action === \"close\") this.domElement.hidden = true\n }\n\n /** What a screen reader calls the modal: the device's `aria-label`. */\n private get modalLabel(): string | undefined {\n return this.attributes[\"aria-label\"] ?? undefined\n }\n\n ////////////////\n // ## Rendering\n ////////////////\n\n render(): JSX.Element {\n return (\n <Show when={this.modal} fallback={this.frame()}>\n <ui-modal\n ref={(element: HTMLElement) => {\n this.modalElement = element as HTMLElement & { visible: boolean }\n element.addEventListener(OPENED, this.onModalShown)\n element.addEventListener(CLOSED, this.onModalShown)\n }}\n part={this.partForName(\"modal\")}\n appearance=\"basic\"\n closedby={this.closedby ?? \"any\"}\n aria-label={this.modalLabel}\n visible={this.isVisible}\n >\n {this.frame()}\n </ui-modal>\n </Show>\n )\n }\n\n /** The device: its screen, scaled to fit, then its bottom edge. */\n private frame(): JSX.Element {\n return (\n <div class=\"stage\">\n <div class={this.rootClass} part={this.partForName(\"device\")}>\n <div\n class=\"screen\"\n part={this.partForName(\"screen\")}\n style={{ width: `${this.shownSize.width}px`, height: `${this.shownSize.height}px` }}\n >\n <div\n class=\"display\"\n style={{\n width: `${this.screenSize.width}px`,\n height: `${this.screenSize.height}px`,\n transform: this.scale === 1 ? undefined : `scale(${this.scale})`\n }}\n >\n <slot />\n </div>\n </div>\n <div class=\"edge\" part={this.partForName(\"buttons\")} ref={(edge: HTMLElement) => this.edgeDrawn(edge)}>\n {this.controlButtons()}\n <slot name=\"buttons\" />\n </div>\n </div>\n </div>\n )\n }\n\n /** Its own buttons: the switch, then Rotate. */\n private controlButtons(): JSX.Element {\n return (\n <>\n <Show when={this.showsSwitch}>\n <ui-buttons\n part={this.partForName(\"switch\")}\n role=\"group\"\n aria-label={this.translationForKey(\"switch\")}\n size=\"small\"\n >\n <For each={DEVICES}>\n {(device) => (\n <ui-button\n icon={device === PHONE ? \"mobile\" : device}\n selected={this.device === device ? \"\" : undefined}\n aria-label={this.translationForKey(device)}\n title={this.translationForKey(device)}\n onClick={(event: MouseEvent) => this.switchTo(device, event)}\n />\n )}\n </For>\n </ui-buttons>\n </Show>\n <Show when={this.showsRotate}>\n <ui-button\n part={this.partForName(\"rotate\")}\n icon=\"redo\"\n size=\"small\"\n aria-label={this.translationForKey(\"rotate\")}\n title={this.translationForKey(\"rotate\")}\n onClick={this.rotate}\n />\n </Show>\n </>\n )\n }\n}\n\n/** The vocabulary's attribute getters, typed (see \"Attributes\" in `UIComponent`). */\nexport interface UIDevice extends E.AttributeValues<typeof deviceVocabulary> {}\n\n/** A width and a height, in CSS pixels. */\nexport type Size = { width: number; height: number }\n\n/** A device's name: `phone`, `tablet` or `desktop`. */\nexport type DeviceName = (typeof DEVICES)[number]\n\n/** The frame round a screen, each side in CSS pixels; the bottom edge is the buttons' (`EDGE_HEIGHT`, measured). */\ntype Bezel = { top: number; right: number; left: number }\n\n/** The devices, in the switch's order. */\nconst DEVICES = [\"phone\", \"tablet\", \"desktop\"] as const\nconst [PHONE, TABLET, DESKTOP] = DEVICES\n\n/** How a device is held. */\nconst PORTRAIT = \"portrait\"\nconst LANDSCAPE = \"landscape\"\n\n/** `controls`' words. */\nconst ALL = \"all\"\nconst ROTATE = \"rotate\"\nconst DEVICE = \"device\"\n\n/** Each device's screen, upright, in CSS pixels: an iPhone 14's, an iPad Air's, a 13\" laptop's. */\nconst SCREENS: Record<DeviceName, Size> = {\n phone: { width: 390, height: 844 },\n tablet: { width: 820, height: 1180 },\n desktop: { width: 1280, height: 800 }\n}\n\n/**\n * The frame round each device's screen, as it's held: MUST match `UIDevice.css`'s paddings.\n * - A phone's camera island is in its top edge, upright, or its left edge, on its side.\n */\nconst BEZELS: Record<string, Bezel> = {\n \"phone portrait\": { top: 40, right: 16, left: 16 },\n \"phone landscape\": { top: 16, right: 16, left: 40 },\n \"tablet portrait\": { top: 24, right: 24, left: 24 },\n \"tablet landscape\": { top: 24, right: 24, left: 24 },\n desktop: { top: 24, right: 16, left: 16 }\n}\n\n/** The bottom edge's height before it's measured: `UIDevice.css`'s `--_ui-device-edge`. */\nconst EDGE_HEIGHT = 56\n\n/** The room round the frame for its shadow (and a laptop's base): `UIDevice.css`'s `.stage` padding. */\nconst STAGE = 16\n\n/** The gap between a modal device and the window's edges. */\nconst MODAL_MARGIN = 16\n\n/** Never drawn smaller than this, however little room there is: the page scrolls instead. */\nconst SMALLEST_SCALE = 0.2\n\n/** The longest a modal's close may take before the device hides anyway, in seconds. */\nconst MOST_CLOSING_TIME = 1\n\n/** The shared `visible` attribute. */\nconst VISIBLE = \"visible\"\n\n/** The modal's events the device follows. */\nconst OPENED = \"ui-opened\"\nconst CLOSED = \"ui-closed\"\n","/**\n * The device family: defines `<ui-device>`, and exports its component.\n * - SIDE EFFECT: importing it defines the tag, and the buttons and modal it draws with.\n * - Also the library's `spell/ui/ui-device` entry.\n */\n\nimport { UIDevice } from \"./UIDevice\"\n\nimport \"spell/ui/components/ui-button\"\nimport \"spell/ui/components/ui-modal\"\n\nUIDevice.define()\n\nexport { UIDevice, type DeviceName, type Size as DeviceSize } from \"./UIDevice\"\n"],"mappings":";;;;;;;AAWA,IAAaoD,KAAmB;CAC9B,KAAK;CACL,MAAM;CACN,QAAQ;EAAC;EAAc;EAAS;CAAU;CAC1C,KAAK;EAAC;EAAgB;EAAe;EAAU;EAAiB;EAAkB;EAAa;CAAO;CACtG,MAAM;CACN,cAAc;CACd,aACE;CAEF,UAAU;CACV,YAAY;EACV;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAS;IAAU;GAAS;GACrC,SAAS;GACT,aACE;EAEJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ,CAAC,YAAY,WAAW;GAChC,SAAS;GACT,aACE;EACJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAO;IAAU;IAAU;GAAM;GAC1C,SAAS;GACT,aACE;EAEJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,aACE;EAGJ;EACA;GACE,MAAM;GACN,OAAO;GACP,MAAM;GACN,QAAQ;IAAC;IAAO;IAAgB;GAAM;GACtC,SAAS;GACT,UAAU;GACV,aACE;EAEJ;CACF;CACA,QAAQ;EACN;GACE,MAAM;GACN,QACE;GACF,aACE;EACJ;EACA;GACE,MAAM;GAC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,KAAiB,IAGjBsB,KAAoB,GAGpBlC,KAAU,WAGVF,IAAS,aACTiC,IAAS;;A,eCxYf0C,EAAS,OAAO"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-diagram/ui-diagram-node.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-diagram-node>'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-diagram-node\" data-omit=\"\">\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"name\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Behaviour\" data-group=\"behaviour\">\n <ui-property name=\"resizable\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-diagram-node.editor-6FyjT7oj.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-diagram-node.editor-6FyjT7oj.js","names":["ui_diagram_node_editor_default"],"sources":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// src/components/ui-diagram/ui-diagram.editor.html?raw
|
|
2
|
+
var e = "<!-- <ui-diagram>'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-diagram\" data-omit=\"\">\n <ui-property-group label=\"Content\" data-group=\"content\">\n <ui-property name=\"spec\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Layout\" data-group=\"layout\">\n <ui-property name=\"columns\"></ui-property>\n </ui-property-group>\n <ui-property-group label=\"Behaviour\" data-group=\"behaviour\">\n <ui-property name=\"remember\"></ui-property>\n <ui-property name=\"fixed\"></ui-property>\n </ui-property-group>\n</ui-property-editor>\n";
|
|
3
|
+
export { e as default };
|
|
4
|
+
|
|
5
|
+
//# sourceMappingURL=ui-diagram.editor-Dn3ef-J9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-diagram.editor-Dn3ef-J9.js","names":["ui_diagram_editor_default"],"sources":[],"mappings":""}
|