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
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
import { n as e, r as t } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
1
|
+
import { n as e, r as t } from "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { At as n, D as r, F as i, Gt as a, Jt as o, Kt as s, UI as c, UIComponent as l, Ut as u, Warnings as d, Wt as f, Yt as p, after as m, beforeNextPaint as ee, commaList as te, cssState as h, derived as ne, jt as g, once as re, p as ie, proto as ae, protoMerged as oe, qt as _, state as v, untracked as se, whileConnected as ce } from "./core.js";
|
|
3
|
+
import { a as le, i as ue, n as y, r as de, s as fe, t as b } from "./persist.types-D7N7GewC.js";
|
|
4
|
+
import { r as pe, t as x } from "./PrefStore-Di83C0bY.js";
|
|
4
5
|
import "./ui-dropdown.js";
|
|
5
|
-
import "./ui-
|
|
6
|
-
import
|
|
6
|
+
import "./ui-item.js";
|
|
7
|
+
import "./ui-menu.js";
|
|
7
8
|
import "./ui-popup.js";
|
|
8
|
-
import
|
|
9
|
-
import { For as
|
|
10
|
-
import { claimElement as me, className as
|
|
11
|
-
|
|
12
|
-
var
|
|
9
|
+
import "./ui-icon.js";
|
|
10
|
+
import { For as S, Show as C } from "solid-js";
|
|
11
|
+
import { claimElement as me, className as w, createComponent as T, delegateEvents as he, effect as E, getOwner as D, insert as O, isServer as k, memo as ge, readShallow as A, ref as j, setAttribute as M, style as _e, template as N } from "@solidjs/web";
|
|
12
|
+
// ../src/util/persist/ColorScheme.ts
|
|
13
|
+
var ve = "scheme", ye = "both", P = Symbol("not read"), F = class ColorScheme {
|
|
13
14
|
static chosen() {
|
|
14
|
-
return ColorScheme.fromAddress() ?? schemeOf$1(
|
|
15
|
+
return ColorScheme.fromAddress() ?? schemeOf$1(x.getAt("spell-site:scheme")) ?? ColorScheme.moveOldKeys();
|
|
15
16
|
}
|
|
16
17
|
static choose(e) {
|
|
17
|
-
ColorScheme.addressed = void 0,
|
|
18
|
+
ColorScheme.addressed = void 0, x.setAt(y, e), ColorScheme.apply(e);
|
|
18
19
|
}
|
|
19
20
|
static remember(e) {
|
|
20
|
-
|
|
21
|
+
x.setAt(y, e), ColorScheme.apply(ColorScheme.chosen());
|
|
21
22
|
}
|
|
22
23
|
static apply(e, t) {
|
|
23
|
-
t ??= globalThis.document?.documentElement, t && (t.classList.toggle(
|
|
24
|
+
t ??= globalThis.document?.documentElement, t && (t.classList.toggle(b.light, e === "light"), t.classList.toggle(b.dark, e === "dark"), e ? t.style.colorScheme = e : t.style.removeProperty("color-scheme"));
|
|
24
25
|
}
|
|
25
26
|
static rereadAddress() {
|
|
26
|
-
ColorScheme.addressed =
|
|
27
|
+
ColorScheme.addressed = P;
|
|
27
28
|
}
|
|
28
|
-
static addressed =
|
|
29
|
+
static addressed = P;
|
|
29
30
|
static fromAddress() {
|
|
30
|
-
if (ColorScheme.addressed !==
|
|
31
|
-
let e = globalThis.location?.search ?? "", t = new URLSearchParams(e).get(
|
|
32
|
-
return t && !n && t !==
|
|
31
|
+
if (ColorScheme.addressed !== P) return ColorScheme.addressed;
|
|
32
|
+
let e = globalThis.location?.search ?? "", t = new URLSearchParams(e).get(ve) || void 0, n = schemeOf$1(t);
|
|
33
|
+
return t && !n && t !== ye && console.warn(`ColorScheme: the address's scheme \`${t}\` is neither light nor dark; ignored`), ColorScheme.addressed = n;
|
|
33
34
|
}
|
|
34
35
|
static osScheme() {
|
|
35
36
|
return typeof matchMedia == "function" && matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
36
37
|
}
|
|
37
38
|
static forcedBy(e) {
|
|
38
|
-
if (e.contains(
|
|
39
|
-
if (e.contains(
|
|
39
|
+
if (e.contains(b.dark)) return "dark";
|
|
40
|
+
if (e.contains(b.light)) return "light";
|
|
40
41
|
}
|
|
41
42
|
static shown() {
|
|
42
43
|
let e = globalThis.document?.documentElement;
|
|
@@ -44,7 +45,7 @@ var ye = "scheme", be = "both", xe = Symbol("not read"), j = class ColorScheme {
|
|
|
44
45
|
}
|
|
45
46
|
static watch(e) {
|
|
46
47
|
if (typeof window > "u" || typeof matchMedia != "function") return () => {};
|
|
47
|
-
let t = matchMedia(
|
|
48
|
+
let t = matchMedia(ue), onOs = () => e("os"), onStorage = (t) => {
|
|
48
49
|
(t.key === "spell-site:scheme" || t.key === null) && (ColorScheme.apply(ColorScheme.chosen()), e("chosen"));
|
|
49
50
|
};
|
|
50
51
|
return t.addEventListener("change", onOs), window.addEventListener("storage", onStorage), () => {
|
|
@@ -53,17 +54,16 @@ var ye = "scheme", be = "both", xe = Symbol("not read"), j = class ColorScheme {
|
|
|
53
54
|
}
|
|
54
55
|
static moveOldKeys() {
|
|
55
56
|
let e;
|
|
56
|
-
for (let t of
|
|
57
|
-
return e &&
|
|
57
|
+
for (let t of le) e ??= schemeOf$1(x.getAt(t)), x.setAt(t, void 0);
|
|
58
|
+
return e && x.setAt(y, e), e;
|
|
58
59
|
}
|
|
59
60
|
};
|
|
60
61
|
function schemeOf$1(e) {
|
|
61
|
-
return
|
|
62
|
+
return de.includes(e) ? e : void 0;
|
|
62
63
|
}
|
|
63
64
|
t(schemeOf$1, "schemeOf");
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
var WaitedOnPlace = class extends le {
|
|
65
|
+
// ../src/util/persist/WaitedOnPlace.ts
|
|
66
|
+
var WaitedOnPlace = class extends pe {
|
|
67
67
|
isAsync = !0;
|
|
68
68
|
read(e) {
|
|
69
69
|
throw this.quickReadError("read", e);
|
|
@@ -80,10 +80,10 @@ var WaitedOnPlace = class extends le {
|
|
|
80
80
|
quickReadError(e, t) {
|
|
81
81
|
return /* @__PURE__ */ TypeError(`PrefPlace.${e}(): \`${t}\` keeps its values in ${this.description}, which must be waited on; use \`load()\` or \`loadKeys()\``);
|
|
82
82
|
}
|
|
83
|
-
},
|
|
83
|
+
}, be = class ServerPlace extends WaitedOnPlace {
|
|
84
84
|
description = "the server";
|
|
85
85
|
url;
|
|
86
|
-
constructor({ url: e =
|
|
86
|
+
constructor({ url: e = xe, fetch: t } = {}) {
|
|
87
87
|
super(), this.url = e.replace(/\/+$/, ""), this.fetch = t ?? ((e, t) => globalThis.fetch(e, t));
|
|
88
88
|
}
|
|
89
89
|
static get shared() {
|
|
@@ -135,13 +135,12 @@ var WaitedOnPlace = class extends le {
|
|
|
135
135
|
return;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
},
|
|
138
|
+
}, xe = "/api/prefs";
|
|
139
139
|
function query(e) {
|
|
140
140
|
return new URLSearchParams(e).toString();
|
|
141
141
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
var we = 1e3, Te = 1e4, ReconnectingSocket = class {
|
|
142
|
+
// ../src/util/ReconnectingSocket.ts
|
|
143
|
+
var Se = 1e3, Ce = 1e4, ReconnectingSocket = class {
|
|
145
144
|
address;
|
|
146
145
|
props;
|
|
147
146
|
socket;
|
|
@@ -149,7 +148,7 @@ var we = 1e3, Te = 1e4, ReconnectingSocket = class {
|
|
|
149
148
|
isStopped = !1;
|
|
150
149
|
wait;
|
|
151
150
|
constructor(e, t = {}) {
|
|
152
|
-
this.address = e, this.props = t, this.wait = t.firstWait ??
|
|
151
|
+
this.address = e, this.props = t, this.wait = t.firstWait ?? Se, this.open();
|
|
153
152
|
}
|
|
154
153
|
get isOpen() {
|
|
155
154
|
return this.socket?.readyState === 1;
|
|
@@ -166,11 +165,11 @@ var we = 1e3, Te = 1e4, ReconnectingSocket = class {
|
|
|
166
165
|
this.socket = t;
|
|
167
166
|
let n = !1;
|
|
168
167
|
t.addEventListener("open", () => {
|
|
169
|
-
n = !0, this.wait = this.props.firstWait ??
|
|
168
|
+
n = !0, this.wait = this.props.firstWait ?? Se, this.props.onOpen?.();
|
|
170
169
|
}), t.addEventListener("message", (e) => this.props.onMessage?.(e.data)), t.addEventListener("close", () => {
|
|
171
170
|
if (this.socket === t && (this.socket = void 0), n && this.props.onClose?.(), this.isStopped) return;
|
|
172
171
|
let e = this.wait;
|
|
173
|
-
this.wait = Math.min(e * 2,
|
|
172
|
+
this.wait = Math.min(e * 2, Ce), this.retry = m(e / 1e3, () => this.open());
|
|
174
173
|
});
|
|
175
174
|
}
|
|
176
175
|
};
|
|
@@ -178,17 +177,16 @@ function socketAddressOf(e) {
|
|
|
178
177
|
let t = new URL(e, typeof location > "u" ? void 0 : location.href);
|
|
179
178
|
return t.protocol = t.protocol.replace(/^http/, "ws"), t;
|
|
180
179
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
var M = "theme-edits", Ee = "fruity", De = ["glass", "fruity"], Oe = "fruity", ke = {
|
|
180
|
+
// src/components/ui-theme-editor/UIThemeEditor.types.ts
|
|
181
|
+
var we = "theme-edits", Te = "fruity", Ee = ["glass", "fruity"], De = "fruity", Oe = {
|
|
184
182
|
min: 12,
|
|
185
183
|
max: 20,
|
|
186
184
|
step: 1
|
|
187
|
-
},
|
|
185
|
+
}, ke = "spell-theme-bench", I = class SavedTheme {
|
|
188
186
|
static PREFIX = "mine:";
|
|
189
187
|
static get list() {
|
|
190
188
|
SavedTheme.moveOldTheme();
|
|
191
|
-
let e =
|
|
189
|
+
let e = x.getAt(L);
|
|
192
190
|
return Array.isArray(e) ? e.filter(isMyTheme) : [];
|
|
193
191
|
}
|
|
194
192
|
static get(e) {
|
|
@@ -210,10 +208,10 @@ var M = "theme-edits", Ee = "fruity", De = ["glass", "fruity"], Oe = "fruity", k
|
|
|
210
208
|
},
|
|
211
209
|
css: r
|
|
212
210
|
}, o = i.findIndex((e) => e.id === a.id);
|
|
213
|
-
return o === -1 ? i.push(a) : i[o] = a,
|
|
211
|
+
return o === -1 ? i.push(a) : i[o] = a, x.setAt(L, i), a;
|
|
214
212
|
}
|
|
215
213
|
static remove(e) {
|
|
216
|
-
|
|
214
|
+
x.setAt(L, SavedTheme.list.filter((t) => t.id !== e));
|
|
217
215
|
}
|
|
218
216
|
static freeName(e) {
|
|
219
217
|
let t = new Set(SavedTheme.list.map((e) => e.name));
|
|
@@ -224,20 +222,20 @@ var M = "theme-edits", Ee = "fruity", De = ["glass", "fruity"], Oe = "fruity", k
|
|
|
224
222
|
}
|
|
225
223
|
static async wear(e, t) {
|
|
226
224
|
let n = ++SavedTheme.calls, { themes: r, styles: i } = await c.load();
|
|
227
|
-
r.current !== e && await r.apply(e), n === SavedTheme.calls && i.register(
|
|
225
|
+
r.current !== e && await r.apply(e), n === SavedTheme.calls && i.register(we, t, { page: !0 });
|
|
228
226
|
}
|
|
229
227
|
static putOnPage(e) {
|
|
230
|
-
SavedTheme.calls++, c.styles.register(
|
|
228
|
+
SavedTheme.calls++, c.styles.register(we, e, { page: !0 });
|
|
231
229
|
}
|
|
232
230
|
static calls = 0;
|
|
233
231
|
static newId() {
|
|
234
232
|
return `${Date.now().toString(36)}${Math.random().toString(36).slice(2, 6)}`;
|
|
235
233
|
}
|
|
236
234
|
static moveOldTheme() {
|
|
237
|
-
let e =
|
|
238
|
-
if (e === void 0 || (
|
|
239
|
-
let t = `My ${
|
|
240
|
-
|
|
235
|
+
let e = x.getAt(Ae);
|
|
236
|
+
if (e === void 0 || (x.setAt(Ae, void 0), typeof e.css != "string" || typeof e.choices?.base != "string")) return;
|
|
237
|
+
let t = `My ${g.titleOf(e.choices.base)}`, n = x.getAt(L), r = Array.isArray(n) ? n.filter(isMyTheme) : [];
|
|
238
|
+
x.setAt(L, [{
|
|
241
239
|
id: SavedTheme.newId(),
|
|
242
240
|
name: t,
|
|
243
241
|
choices: {
|
|
@@ -245,41 +243,41 @@ var M = "theme-edits", Ee = "fruity", De = ["glass", "fruity"], Oe = "fruity", k
|
|
|
245
243
|
name: t
|
|
246
244
|
},
|
|
247
245
|
css: e.css
|
|
248
|
-
}, ...r]),
|
|
246
|
+
}, ...r]), d.devWarn("SavedTheme", `the theme kept in this browser is now "${t}", the first of My themes`);
|
|
249
247
|
}
|
|
250
248
|
};
|
|
251
249
|
function isMyTheme(e) {
|
|
252
250
|
let t = e;
|
|
253
251
|
return typeof t?.id == "string" && typeof t.name == "string" && typeof t.css == "string" && typeof t.choices?.base == "string";
|
|
254
252
|
}
|
|
255
|
-
var
|
|
253
|
+
var L = "spell-ui:themes", Ae = "spell-ui:theme", je = [
|
|
256
254
|
"light",
|
|
257
255
|
"dark",
|
|
258
256
|
"system"
|
|
259
|
-
],
|
|
260
|
-
scheme:
|
|
261
|
-
theme: `${
|
|
262
|
-
},
|
|
257
|
+
], Me = {}, Ne = "glass", R = "spell-site", Pe = "ui-scheme-switching", z = {
|
|
258
|
+
scheme: y,
|
|
259
|
+
theme: `${R}:theme`
|
|
260
|
+
}, Fe = [
|
|
263
261
|
"spell-ui-site:theme",
|
|
264
262
|
"spell-epic:theme",
|
|
265
263
|
"spell-app:theme"
|
|
266
|
-
], Le, Re,
|
|
264
|
+
], Ie, Le, Re, B, ze, V = {
|
|
267
265
|
theme: "theme",
|
|
268
266
|
scheme: "scheme"
|
|
269
267
|
};
|
|
270
|
-
|
|
271
|
-
var
|
|
268
|
+
Re = [v], Le = [re], Ie = [re];
|
|
269
|
+
var H = class _ThemePreference {
|
|
272
270
|
static get keptIn() {
|
|
273
271
|
return _ThemePreference.kept ??= _ThemePreference.serverKeepsPrefs && !isSameOriginFrame() ? "space" : "browser";
|
|
274
272
|
}
|
|
275
|
-
static keepIn(e, t =
|
|
273
|
+
static keepIn(e, t = R) {
|
|
276
274
|
_ThemePreference.kept = e, _ThemePreference.store = t, _ThemePreference.spaced = void 0;
|
|
277
275
|
}
|
|
278
276
|
static get chosen() {
|
|
279
277
|
return _ThemePreference.current ??= _ThemePreference.read();
|
|
280
278
|
}
|
|
281
279
|
static osScheme() {
|
|
282
|
-
return
|
|
280
|
+
return F.osScheme();
|
|
283
281
|
}
|
|
284
282
|
static shownScheme(e = _ThemePreference.chosen.scheme) {
|
|
285
283
|
return e === "system" ? _ThemePreference.osScheme() : e;
|
|
@@ -300,33 +298,33 @@ var B = class _ThemePreference {
|
|
|
300
298
|
}), _ThemePreference.remember(t, n), await _ThemePreference.applyTheme(t);
|
|
301
299
|
}
|
|
302
300
|
static tintsFor(e) {
|
|
303
|
-
if (e.startsWith(
|
|
304
|
-
let t =
|
|
305
|
-
return
|
|
301
|
+
if (e.startsWith(I.PREFIX)) return [];
|
|
302
|
+
let t = Me[e] ?? [];
|
|
303
|
+
return n.filter((e) => !t.includes(e));
|
|
306
304
|
}
|
|
307
305
|
static pickText(e, t) {
|
|
308
306
|
return t ? `${e}${Be}${t}` : e;
|
|
309
307
|
}
|
|
310
308
|
static pickOf(e) {
|
|
311
|
-
if (e.startsWith(
|
|
312
|
-
let [t = "",
|
|
313
|
-
return
|
|
309
|
+
if (e.startsWith(I.PREFIX)) return { theme: e };
|
|
310
|
+
let [t = "", r] = e.split(Be);
|
|
311
|
+
return n.includes(r) ? {
|
|
314
312
|
theme: t,
|
|
315
|
-
tint:
|
|
313
|
+
tint: r
|
|
316
314
|
} : { theme: t };
|
|
317
315
|
}
|
|
318
316
|
static setScheme(e) {
|
|
319
317
|
_ThemePreference.update({
|
|
320
318
|
..._ThemePreference.chosen,
|
|
321
319
|
scheme: e
|
|
322
|
-
}), _ThemePreference.withoutTransitions(document.documentElement),
|
|
320
|
+
}), _ThemePreference.withoutTransitions(document.documentElement), F.choose(chosenFor(e)), _ThemePreference.saveToSpace("scheme", e);
|
|
323
321
|
}
|
|
324
322
|
static flipScheme() {
|
|
325
323
|
let e = _ThemePreference.shownScheme() === "dark" ? "light" : "dark";
|
|
326
324
|
return _ThemePreference.setScheme(e), e;
|
|
327
325
|
}
|
|
328
326
|
static applyScheme(e, t = document.documentElement) {
|
|
329
|
-
_ThemePreference.withoutTransitions(t),
|
|
327
|
+
_ThemePreference.withoutTransitions(t), F.apply(chosenFor(e), t);
|
|
330
328
|
}
|
|
331
329
|
static async restore() {
|
|
332
330
|
let { theme: e, scheme: t } = _ThemePreference.chosen;
|
|
@@ -336,7 +334,7 @@ var B = class _ThemePreference {
|
|
|
336
334
|
let e = _ThemePreference.spaceStore;
|
|
337
335
|
if (e) try {
|
|
338
336
|
let [t, n] = await Promise.all([e.load("theme"), e.load("scheme")]);
|
|
339
|
-
t === void 0 && _ThemePreference.saveToSpace("theme", _ThemePreference.picked()), n === void 0 && _ThemePreference.saveToSpace("scheme", schemeOf(
|
|
337
|
+
t === void 0 && _ThemePreference.saveToSpace("theme", _ThemePreference.picked()), n === void 0 && _ThemePreference.saveToSpace("scheme", schemeOf(x.getAt(y))), await _ThemePreference.took({
|
|
340
338
|
theme: t,
|
|
341
339
|
scheme: n
|
|
342
340
|
});
|
|
@@ -357,18 +355,18 @@ var B = class _ThemePreference {
|
|
|
357
355
|
}
|
|
358
356
|
static addressWith(e, { theme: t, scheme: n }) {
|
|
359
357
|
let r = new URL(e, typeof location > "u" ? "http://localhost" : location.href);
|
|
360
|
-
return t && r.searchParams.set(
|
|
358
|
+
return t && r.searchParams.set(V.theme, t), n && r.searchParams.set(V.scheme, n), r.href;
|
|
361
359
|
}
|
|
362
360
|
static async heard(e) {
|
|
363
361
|
e.store === _ThemePreference.store && (e.key === "theme" || e.key === "scheme") && await _ThemePreference.took({ [e.key]: e.value });
|
|
364
362
|
}
|
|
365
363
|
static reset() {
|
|
366
|
-
_ThemePreference.current = void 0, _ThemePreference.store =
|
|
364
|
+
_ThemePreference.current = void 0, _ThemePreference.store = R, _ThemePreference.addressed = void 0, _ThemePreference.kept = void 0, _ThemePreference.spaced = void 0, F.rereadAddress();
|
|
367
365
|
}
|
|
368
366
|
static get fromAddress() {
|
|
369
367
|
if (_ThemePreference.addressed) return _ThemePreference.addressed;
|
|
370
368
|
let e = new URLSearchParams(typeof location > "u" ? "" : location.search);
|
|
371
|
-
return _ThemePreference.addressed = { theme: e.get(
|
|
369
|
+
return _ThemePreference.addressed = { theme: e.get(V.theme) || void 0 };
|
|
372
370
|
}
|
|
373
371
|
static get servedPage() {
|
|
374
372
|
return typeof window < "u" && !!window.SPELL_SERVER;
|
|
@@ -377,11 +375,11 @@ var B = class _ThemePreference {
|
|
|
377
375
|
return typeof window < "u" && !!window.SPELL_SERVER?.prefs;
|
|
378
376
|
}
|
|
379
377
|
static get spaceStore() {
|
|
380
|
-
return _ThemePreference.spaced === void 0 && (_ThemePreference.spaced = _ThemePreference.keptIn === "space" ? new
|
|
378
|
+
return _ThemePreference.spaced === void 0 && (_ThemePreference.spaced = _ThemePreference.keptIn === "space" ? new x(_ThemePreference.store, { place: be.shared }) : null), _ThemePreference.spaced ?? void 0;
|
|
381
379
|
}
|
|
382
380
|
static remember(e, t) {
|
|
383
381
|
let n = _ThemePreference.pickText(e, t);
|
|
384
|
-
|
|
382
|
+
x.setAt(z.theme, n === _ThemePreference.defaultTheme ? void 0 : n), _ThemePreference.saveToSpace("theme", n);
|
|
385
383
|
}
|
|
386
384
|
static tintFor(e, t) {
|
|
387
385
|
return t && _ThemePreference.tintsFor(e).includes(t) ? t : void 0;
|
|
@@ -391,11 +389,11 @@ var B = class _ThemePreference {
|
|
|
391
389
|
n && t !== void 0 && n.save(e, t).catch((e) => console.error("ThemePreference: couldn't save", e));
|
|
392
390
|
}
|
|
393
391
|
static async took({ theme: e, scheme: t }) {
|
|
394
|
-
if (isSchemeChoice(t) && t !== _ThemePreference.chosen.scheme && (_ThemePreference.withoutTransitions(document.documentElement),
|
|
392
|
+
if (isSchemeChoice(t) && t !== _ThemePreference.chosen.scheme && (_ThemePreference.withoutTransitions(document.documentElement), F.remember(chosenFor(t)), _ThemePreference.update({
|
|
395
393
|
..._ThemePreference.chosen,
|
|
396
|
-
scheme:
|
|
394
|
+
scheme: F.chosen() ?? "system"
|
|
397
395
|
})), typeof e != "string" || !e) return;
|
|
398
|
-
|
|
396
|
+
x.setAt(z.theme, e === _ThemePreference.defaultTheme ? void 0 : e);
|
|
399
397
|
let n = _ThemePreference.pickOf(e), { chosen: r } = _ThemePreference;
|
|
400
398
|
_ThemePreference.fromAddress.theme || n.theme === r.theme && n.tint === r.tint || (_ThemePreference.update({
|
|
401
399
|
...r,
|
|
@@ -404,7 +402,7 @@ var B = class _ThemePreference {
|
|
|
404
402
|
}), await _ThemePreference.applyTheme(n.theme));
|
|
405
403
|
}
|
|
406
404
|
static followSpace() {
|
|
407
|
-
_ThemePreference.spaceStore && typeof document < "u" && (_ThemePreference.servedPage ? addEventListener(
|
|
405
|
+
_ThemePreference.spaceStore && typeof document < "u" && (_ThemePreference.servedPage ? addEventListener(fe, (e) => void _ThemePreference.heard(e.detail)) : _ThemePreference.listenLive(), document.addEventListener("visibilitychange", () => {
|
|
408
406
|
document.visibilityState === "visible" && _ThemePreference.askSpace();
|
|
409
407
|
}));
|
|
410
408
|
}
|
|
@@ -415,16 +413,16 @@ var B = class _ThemePreference {
|
|
|
415
413
|
} });
|
|
416
414
|
}
|
|
417
415
|
static watch() {
|
|
418
|
-
|
|
416
|
+
F.watch((e) => {
|
|
419
417
|
if (e === "os") return _ThemePreference.osChanged();
|
|
420
418
|
_ThemePreference.update({
|
|
421
419
|
..._ThemePreference.chosen,
|
|
422
|
-
scheme:
|
|
420
|
+
scheme: F.chosen() ?? "system"
|
|
423
421
|
});
|
|
424
422
|
});
|
|
425
423
|
}
|
|
426
424
|
static withoutTransitions(e) {
|
|
427
|
-
typeof requestAnimationFrame == "function" && (e.classList.add(
|
|
425
|
+
typeof requestAnimationFrame == "function" && (e.classList.add(Pe), ee(() => ee(() => e.classList.remove(Pe))));
|
|
428
426
|
}
|
|
429
427
|
static update(e) {
|
|
430
428
|
let t = _ThemePreference.chosen;
|
|
@@ -437,17 +435,17 @@ var B = class _ThemePreference {
|
|
|
437
435
|
let { themes: t } = await c.load(), n = _ThemePreference.knownName(t, e);
|
|
438
436
|
if (n !== e && e === _ThemePreference.fromAddress.theme) return _ThemePreference.applyAddressed(t, e);
|
|
439
437
|
if (n !== e) return _ThemePreference.setTheme(n);
|
|
440
|
-
let r = _ThemePreference.worn ? void 0 :
|
|
441
|
-
if (r) return _ThemePreference.isWearingMine = !0,
|
|
442
|
-
_ThemePreference.isWearingMine && (_ThemePreference.isWearingMine = !1,
|
|
438
|
+
let r = _ThemePreference.worn ? void 0 : I.picked(e);
|
|
439
|
+
if (r) return _ThemePreference.isWearingMine = !0, I.wear(r.choices.base, r.css);
|
|
440
|
+
_ThemePreference.isWearingMine && (_ThemePreference.isWearingMine = !1, I.putOnPage(""));
|
|
443
441
|
let { tint: i } = _ThemePreference.chosen;
|
|
444
442
|
if (_ThemePreference.worn || !i) return t.apply(_ThemePreference.worn ?? e);
|
|
445
|
-
let { ThemeDraft: a } = await import("./ThemeDraft-
|
|
443
|
+
let { ThemeDraft: a } = await import("./ThemeDraft-CyX3YA_L.js").then((e) => e.n);
|
|
446
444
|
await t.apply(e, { tint: a.tintCss(e, i) });
|
|
447
445
|
}
|
|
448
446
|
static async applyAddressed(e, t) {
|
|
449
|
-
let n =
|
|
450
|
-
r ||
|
|
447
|
+
let n = g.nameNow(e, t), r = e.own.includes(n);
|
|
448
|
+
r || d.warn("ThemePreference", `the address's theme \`${t}\` isn't a theme; ignored`), _ThemePreference.addressed = {
|
|
451
449
|
..._ThemePreference.fromAddress,
|
|
452
450
|
theme: r ? n : void 0
|
|
453
451
|
};
|
|
@@ -458,15 +456,15 @@ var B = class _ThemePreference {
|
|
|
458
456
|
}), await _ThemePreference.applyTheme(i);
|
|
459
457
|
}
|
|
460
458
|
static knownName(e, t) {
|
|
461
|
-
if (
|
|
462
|
-
let n =
|
|
459
|
+
if (I.picked(t)) return t;
|
|
460
|
+
let n = g.nameNow(e, t);
|
|
463
461
|
return e.own.includes(n) ? n : _ThemePreference.defaultTheme;
|
|
464
462
|
}
|
|
465
463
|
static read() {
|
|
466
464
|
let { theme: e, tint: t } = _ThemePreference.pickOf(_ThemePreference.fromAddress.theme || _ThemePreference.stored().theme);
|
|
467
465
|
return {
|
|
468
466
|
theme: e,
|
|
469
|
-
scheme:
|
|
467
|
+
scheme: F.chosen() ?? "system",
|
|
470
468
|
...t && { tint: t }
|
|
471
469
|
};
|
|
472
470
|
}
|
|
@@ -474,29 +472,29 @@ var B = class _ThemePreference {
|
|
|
474
472
|
return { theme: _ThemePreference.picked() ?? _ThemePreference.defaultTheme };
|
|
475
473
|
}
|
|
476
474
|
static picked() {
|
|
477
|
-
return textAt(
|
|
475
|
+
return textAt(z.theme) ?? _ThemePreference.moveOldKeys();
|
|
478
476
|
}
|
|
479
477
|
static moveOldKeys() {
|
|
480
478
|
let e;
|
|
481
|
-
for (let t of
|
|
482
|
-
return e &&
|
|
479
|
+
for (let t of Fe) e ??= textAt(t), x.setAt(t, void 0);
|
|
480
|
+
return e && x.setAt(z.theme, e), e;
|
|
483
481
|
}
|
|
484
482
|
};
|
|
485
|
-
|
|
486
|
-
var
|
|
483
|
+
B = a(null), ze = /* @__PURE__ */ new WeakMap(), u(B, 12, "current", Re, H, ze), u(B, 9, "followSpace", Le, H), u(B, 9, "watch", Ie, H), f(B, H), p(B, 3, H), s(H, "ThemePreference"), o(H, "defaultTheme", Ne), o(H, "HEAD_SCRIPT", `try{var l=localStorage,d=document.documentElement,s=(/[?&]${V.scheme}=(light|dark)(&|$)/.exec(location.search)||[])[1]||` + [y, ...le].map((e) => `l.getItem(${JSON.stringify(e)})`).join("||") + ";if(s===\"light\"||s===\"dark\"){d.classList.add(\"ui-\"+s);d.style.colorScheme=s}}catch(e){}"), _(H, ze, p(B, 8, H)), p(B, 11, H), o(H, "addressed"), o(H, "isWearingMine", !1), o(H, "worn"), o(H, "kept"), o(H, "store", R), o(H, "spaced"), o(H, "listeners", /* @__PURE__ */ new Set());
|
|
484
|
+
var U = H, Be = ":", Ve = "/api/server/live";
|
|
487
485
|
function textAt(e) {
|
|
488
|
-
let t =
|
|
486
|
+
let t = x.getAt(e);
|
|
489
487
|
return typeof t == "string" && t ? t : void 0;
|
|
490
488
|
}
|
|
491
|
-
|
|
489
|
+
s(textAt, "textAt");
|
|
492
490
|
function schemeOf(e) {
|
|
493
491
|
return e === "light" || e === "dark" ? e : void 0;
|
|
494
492
|
}
|
|
495
|
-
|
|
493
|
+
s(schemeOf, "schemeOf");
|
|
496
494
|
function isSchemeChoice(e) {
|
|
497
|
-
return
|
|
495
|
+
return je.includes(e);
|
|
498
496
|
}
|
|
499
|
-
|
|
497
|
+
s(isSchemeChoice, "isSchemeChoice");
|
|
500
498
|
function isSameOriginFrame() {
|
|
501
499
|
try {
|
|
502
500
|
return typeof window < "u" && window.parent !== window && !!window.frameElement;
|
|
@@ -504,46 +502,45 @@ function isSameOriginFrame() {
|
|
|
504
502
|
return !1;
|
|
505
503
|
}
|
|
506
504
|
}
|
|
507
|
-
|
|
505
|
+
s(isSameOriginFrame, "isSameOriginFrame");
|
|
508
506
|
function chosenFor(e) {
|
|
509
507
|
return e === "system" ? void 0 : e;
|
|
510
508
|
}
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-box;background:var(--_hue);vertical-align:-.055em;border-radius:50%;flex:none;block-size:.875em;inline-size:.875em;margin-inline-end:.5em;display:inline-block;box-shadow:inset 0 0 0 1px light-dark(#0000001f,#ffffff38)}.hue-dot.halves{background:linear-gradient(90deg, var(--_hue-light) 50%, var(--_hue-dark) 50%)}.hue-dot.none{background:linear-gradient(135deg, transparent 43%, var(--ui-text-muted) 43% 57%, transparent 57%);box-shadow:inset 0 0 0 1.5px var(--ui-text-muted)}.hue-chosen{align-items:center;min-width:0;display:inline-flex}.hue-chosen>.hue-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}", Ue = /* @__PURE__ */ A("<ui-dropdown selection fluid><span slot=trigger><span></span></span><ui-item><!><!>", 1), We = /* @__PURE__ */ A("<ui-item><!><!>", 1), Ge = /* @__PURE__ */ A("<span aria-hidden=true>"), H = class HueDropdown {
|
|
509
|
+
s(chosenFor, "chosenFor");
|
|
510
|
+
// src/components/ui-theme-menu/HueDropdown.css?inline
|
|
511
|
+
var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-box;background:var(--_hue);vertical-align:-.055em;border-radius:50%;flex:none;block-size:.875em;inline-size:.875em;margin-inline-end:.5em;display:inline-block;box-shadow:inset 0 0 0 1px light-dark(#0000001f,#ffffff38)}.hue-dot.halves{background:linear-gradient(90deg, var(--_hue-light) 50%, var(--_hue-dark) 50%)}.hue-dot.none{background:linear-gradient(135deg, transparent 43%, var(--ui-text-muted) 43% 57%, transparent 57%);box-shadow:inset 0 0 0 1.5px var(--ui-text-muted)}.hue-chosen{align-items:center;min-width:0;display:inline-flex}.hue-chosen>.hue-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}}", Ue = /* @__PURE__ */ N("<ui-dropdown selection fluid><span slot=trigger><span></span></span><ui-item><!><!>", 1), We = /* @__PURE__ */ N("<ui-item><!><!>", 1), Ge = /* @__PURE__ */ N("<span aria-hidden=true>"), W = class HueDropdown {
|
|
515
512
|
static css = He;
|
|
516
513
|
static get noneValue() {
|
|
517
|
-
return
|
|
514
|
+
return G;
|
|
518
515
|
}
|
|
519
516
|
static draw(e) {
|
|
520
517
|
let chosen = () => e.hues().find((t) => t === e.value());
|
|
521
518
|
var t = Ue(), n = t.firstChild, r = n.firstChild, i = n.nextSibling, a = i.firstChild, o = a.nextSibling;
|
|
522
|
-
return
|
|
519
|
+
return j(() => (t) => t.addEventListener("ui-changed", (t) => {
|
|
523
520
|
t.stopPropagation();
|
|
524
521
|
let n = String(t.detail.value);
|
|
525
|
-
e.onPick(n ===
|
|
526
|
-
}), t._$owner =
|
|
522
|
+
e.onPick(n === G ? void 0 : n, t);
|
|
523
|
+
}), t), t._$owner = D(), O(n, () => HueDropdown.dot(chosen, e.noneColors), r), O(r, (() => {
|
|
527
524
|
var t = ge(() => !!chosen());
|
|
528
525
|
return () => t() ? e.nameFor(chosen()) : e.noneLabel();
|
|
529
|
-
})()),
|
|
526
|
+
})()), M(i, "value", G), i._$owner = D(), O(i, () => HueDropdown.dot(() => void 0, e.noneColors), a), O(i, () => e.noneLabel(), o), O(t, T(S, {
|
|
530
527
|
get each() {
|
|
531
528
|
return e.hues();
|
|
532
529
|
},
|
|
533
530
|
children: (t) => (() => {
|
|
534
531
|
var n = We(), r = n.firstChild, i = r.nextSibling;
|
|
535
|
-
return
|
|
532
|
+
return M(n, "value", t), n._$owner = D(), O(n, () => HueDropdown.dot(() => t), r), O(n, () => e.nameFor(t), i), n;
|
|
536
533
|
})()
|
|
537
|
-
}), null),
|
|
534
|
+
}), null), E(() => ({
|
|
538
535
|
e: e.part,
|
|
539
|
-
t:
|
|
536
|
+
t: A(Ke),
|
|
540
537
|
a: e.size,
|
|
541
|
-
o: chosen() ??
|
|
538
|
+
o: chosen() ?? G,
|
|
542
539
|
i: e.label(),
|
|
543
|
-
n:
|
|
544
|
-
s:
|
|
540
|
+
n: A(qe),
|
|
541
|
+
s: A(Je)
|
|
545
542
|
}), ({ e, t: i, a, o, i: s, n: c, s: l }, u) => {
|
|
546
|
-
e !== u?.e &&
|
|
543
|
+
e !== u?.e && M(t, "part", e), w(t, i, u?.t), a !== u?.a && M(t, "size", a), o !== u?.o && M(t, "value", o), s !== u?.i && M(t, "aria-label", s), w(n, c, u?.n), w(r, l, u?.s);
|
|
547
544
|
}), t;
|
|
548
545
|
}
|
|
549
546
|
static dot(e, t) {
|
|
@@ -552,46 +549,50 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
552
549
|
return e ? `--_hue-light: ${e}; --_hue-dark: ${n}` : void 0;
|
|
553
550
|
};
|
|
554
551
|
var n = Ge();
|
|
555
|
-
return
|
|
556
|
-
e:
|
|
557
|
-
t:
|
|
552
|
+
return E(() => ({
|
|
553
|
+
e: A([Ye, e() ?? (halves() ? Ze : Xe)]),
|
|
554
|
+
t: A(e() ? `--_hue: var(--ui-${e()})` : halves())
|
|
558
555
|
}), ({ e, t }, r) => {
|
|
559
|
-
|
|
556
|
+
w(n, e, r?.e), _e(n, t, r?.t);
|
|
560
557
|
}), n;
|
|
561
558
|
}
|
|
562
|
-
},
|
|
559
|
+
}, G = "none", Ke = "hue-dropdown", qe = "hue-chosen", Je = "hue-name", Ye = "hue-dot", Xe = "none", Ze = "halves", Qe = class BenchAddress {
|
|
563
560
|
static read() {
|
|
564
561
|
if (typeof location > "u") return {};
|
|
565
|
-
let e = new URLSearchParams(location.search), t = e.get(
|
|
562
|
+
let e = new URLSearchParams(location.search), t = e.get(K.scheme), n = e.get(K.pages);
|
|
566
563
|
return {
|
|
567
|
-
theme: e.get(
|
|
568
|
-
schemes:
|
|
569
|
-
isSwapped: e.has(
|
|
570
|
-
pages: n ? n
|
|
571
|
-
device: e.has(
|
|
564
|
+
theme: e.get(K.theme) || void 0,
|
|
565
|
+
schemes: tt.includes(t) ? t : void 0,
|
|
566
|
+
isSwapped: e.has(K.swap) ? e.get(K.swap) === et : void 0,
|
|
567
|
+
pages: n ? te(n) : void 0,
|
|
568
|
+
device: e.has(K.phone) ? e.get(K.phone) === et ? "phone" : "desk" : void 0
|
|
572
569
|
};
|
|
573
570
|
}
|
|
574
571
|
static write(e) {
|
|
575
572
|
if (typeof location > "u") return;
|
|
576
573
|
let t = new URL(location.href);
|
|
577
|
-
t.searchParams.set(
|
|
574
|
+
t.searchParams.set(K.theme, e.theme), t.searchParams.set(K.scheme, e.schemes), BenchAddress.setOn(t, K.swap, e.isSwapped && e.schemes === "both"), t.searchParams.set(K.pages, e.pages.join(",")), BenchAddress.setOn(t, K.phone, e.device === "phone");
|
|
578
575
|
let n = t.href.replace(/%2C/g, ",");
|
|
579
576
|
n !== location.href && history.replaceState(history.state, "", n);
|
|
580
577
|
}
|
|
581
578
|
static withPage(e, t) {
|
|
582
579
|
let n = new URL(e, typeof location > "u" ? "http://localhost" : location.href);
|
|
583
|
-
return n.searchParams.set(
|
|
580
|
+
return n.searchParams.set(K.pages, t), n.href;
|
|
581
|
+
}
|
|
582
|
+
static benchOn(e, { theme: t, page: n }) {
|
|
583
|
+
let r = new URL(e.replace(/\/$/, "") + $e, typeof location > "u" ? "http://localhost" : location.href);
|
|
584
|
+
return t && r.searchParams.set(K.theme, t), BenchAddress.withPage(r.href, n);
|
|
584
585
|
}
|
|
585
586
|
static setOn(e, t, n) {
|
|
586
|
-
n ? e.searchParams.set(t,
|
|
587
|
+
n ? e.searchParams.set(t, et) : e.searchParams.delete(t);
|
|
587
588
|
}
|
|
588
|
-
},
|
|
589
|
+
}, K = {
|
|
589
590
|
theme: "theme",
|
|
590
591
|
scheme: "scheme",
|
|
591
592
|
swap: "swap",
|
|
592
593
|
pages: "pages",
|
|
593
594
|
phone: "phone"
|
|
594
|
-
},
|
|
595
|
+
}, $e = "/components/ui/theme-bench.html", et = "1", tt = [
|
|
595
596
|
"light",
|
|
596
597
|
"dark",
|
|
597
598
|
"both"
|
|
@@ -604,7 +605,7 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
604
605
|
}
|
|
605
606
|
get entries() {
|
|
606
607
|
let e = this.themes.map((e) => {
|
|
607
|
-
let t =
|
|
608
|
+
let t = rt[e];
|
|
608
609
|
return {
|
|
609
610
|
value: e,
|
|
610
611
|
text: this.titleFor(e),
|
|
@@ -613,7 +614,7 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
613
614
|
});
|
|
614
615
|
if (!this.mine.length) return e;
|
|
615
616
|
let t = this.mine.map((e) => ({
|
|
616
|
-
value: `${
|
|
617
|
+
value: `${nt}${e.id}`,
|
|
617
618
|
text: e.name,
|
|
618
619
|
description: this.pickTitleFor(e.choices.base, e.choices.primary)
|
|
619
620
|
}));
|
|
@@ -631,11 +632,11 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
631
632
|
];
|
|
632
633
|
}
|
|
633
634
|
titleFor(e) {
|
|
634
|
-
if (e.startsWith(
|
|
635
|
-
let t = this.mine.find((t) => `${
|
|
635
|
+
if (e.startsWith(nt)) {
|
|
636
|
+
let t = this.mine.find((t) => `${nt}${t.id}` === e);
|
|
636
637
|
if (t) return t.name;
|
|
637
638
|
}
|
|
638
|
-
return
|
|
639
|
+
return g.titleOf(e);
|
|
639
640
|
}
|
|
640
641
|
pickTitleFor(e, t) {
|
|
641
642
|
let n = this.titleFor(e);
|
|
@@ -647,7 +648,7 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
647
648
|
labelFor(e, t) {
|
|
648
649
|
return this.text("themeLabel", { title: this.pickTitleFor(e, t) });
|
|
649
650
|
}
|
|
650
|
-
},
|
|
651
|
+
}, nt = "mine:", rt = {
|
|
651
652
|
spell: "spellDescription",
|
|
652
653
|
glass: "glassDescription",
|
|
653
654
|
fruity: "fruityDescription",
|
|
@@ -658,7 +659,7 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
658
659
|
pop: "popDescription",
|
|
659
660
|
matrix: "matrixDescription",
|
|
660
661
|
mockup: "mockupDescription"
|
|
661
|
-
},
|
|
662
|
+
}, it = {
|
|
662
663
|
tag: "ui-theme-menu",
|
|
663
664
|
icon: "palette",
|
|
664
665
|
topics: [
|
|
@@ -676,6 +677,7 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
676
677
|
],
|
|
677
678
|
skeleton: "inline 5 x 2.25",
|
|
678
679
|
noun: "themes",
|
|
680
|
+
partOfSpeech: "action",
|
|
679
681
|
description: "A theme menu switches the page between light and dark, and picks its theme from Spell's own, and remembers both for the next page.",
|
|
680
682
|
attributes: [
|
|
681
683
|
{
|
|
@@ -752,11 +754,11 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
752
754
|
},
|
|
753
755
|
{
|
|
754
756
|
name: "schemes",
|
|
755
|
-
description: "The overlay's Light | Dark | Auto control
|
|
757
|
+
description: "The overlay's Light | Dark | Auto control: a segmented `<ui-menu>`."
|
|
756
758
|
},
|
|
757
759
|
{
|
|
758
760
|
name: "scheme-option",
|
|
759
|
-
description: "One choice in it
|
|
761
|
+
description: "One choice in it, a `<ui-item>`: an icon and its name."
|
|
760
762
|
},
|
|
761
763
|
{
|
|
762
764
|
name: "tip",
|
|
@@ -990,9 +992,9 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
990
992
|
description: "A tint's name: the colour's."
|
|
991
993
|
}
|
|
992
994
|
]
|
|
993
|
-
},
|
|
995
|
+
}, at = "@layer ui.components.theme-menu.types{:host{vertical-align:middle;display:inline-block}.ui.themes{--_ui-theme-menu-gap:var(--ui-theme-menu-gap,.25em);--_ui-theme-menu-button-size:var(--ui-theme-menu-button-size,1.75em);--_ui-theme-menu-overlay-width:var(--ui-theme-menu-overlay-width,17em);--_ui-theme-menu-overlay-radius:var(--ui-theme-menu-overlay-radius,14px);--_theme-menu-row-radius:calc(var(--_ui-theme-menu-overlay-radius) - 1px - .375em);--_ui-theme-menu-swap-duration:var(--ui-theme-menu-swap-duration,.28s);--_ui-theme-menu-inverted-ink:var(--ui-theme-menu-inverted-ink,oklch(100% 0 0));align-items:center;gap:var(--_ui-theme-menu-gap);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));flex-wrap:wrap;display:inline-flex}}@layer ui.components.theme-menu.content{.panel>.tints{margin:0 .5em .25em}.tints-header{padding:.25em .75em .5em}.tints-header>.heading{padding-inline:0}[part~=theme]{flex:0 auto;min-width:0}.button{box-sizing:border-box;width:var(--_ui-theme-menu-button-size);height:var(--_ui-theme-menu-button-size);color:var(--ui-text-muted);font:inherit;cursor:var(--ui-control-cursor);-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;margin:0;padding:0;line-height:1;display:inline-grid;position:relative}.button:hover{background:color-mix(in oklab, currentColor 10%, transparent);color:var(--ui-text-color)}.button:focus-visible{outline:var(--ui-focus-width,2px) solid var(--ui-focus-color);outline-offset:var(--ui-focus-offset,2px)}.button:active{scale:.94}.glyph{pointer-events:none;grid-area:1/1;place-items:center;width:1em;height:1em;font-size:1em;display:grid}.scheme .glyph{opacity:0;filter:blur(4px);scale:.25}.light.button .light.glyph,.dark.button .dark.glyph{opacity:1;filter:blur();scale:1}.overlay::part(popup){box-sizing:border-box;width:var(--_ui-theme-menu-overlay-width);border:1px solid var(--ui-border-color);border-radius:var(--_ui-theme-menu-overlay-radius);background:var(--ui-surface);max-width:calc(100vw - 16px);box-shadow:var(--ui-shadow-floating);color:var(--ui-text-color);font-size:calc(var(--ui-font-size) * .875);transform-origin:100% 0;padding:.375em;line-height:1.3}.panel{flex-direction:column;gap:1px;display:flex}.heading,.menu>.header{color:var(--ui-text-muted);font-family:var(--ui-font-family-mono,ui-monospace, monospace);letter-spacing:.08em;text-transform:uppercase;padding:.5em .75em .375em;font-size:.75em;font-weight:500}.menu>.header{padding-top:.25em}.menu{overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;gap:1px;max-height:min(24em,55vh);display:flex;overflow-y:auto}.divider{background:var(--ui-border-color);flex:none;height:1px;margin:.375em .5em}.panel>.bench,.panel>slot::slotted(*){box-sizing:border-box;border-radius:var(--_theme-menu-row-radius);width:100%;color:inherit;font:inherit;text-align:start;cursor:var(--ui-control-cursor);background:0 0;border:0;grid-template-columns:1.125em minmax(0,1fr);align-items:center;column-gap:.5em;margin:0;padding:.5em .625em;display:grid}.panel:not(:has(>.bench))>slot::slotted(:first-child){background-image:linear-gradient(var(--ui-border-color), var(--ui-border-color));background-position:top;background-repeat:no-repeat;background-size:calc(100% - 1em) 1px;margin-block-start:.375em;padding-block-start:.875em}.panel>.bench{text-decoration:none}.panel>.bench>ui-icon{--ui-icon-width:1.125em;--ui-icon-distance:0}.panel>.bench:hover,.panel>slot::slotted(:hover){background-color:var(--ui-surface-muted)}.panel>.schemes{margin:0 0 .125em;display:flex}.option{box-sizing:border-box;border-radius:var(--_theme-menu-row-radius);width:100%;color:inherit;font:inherit;text-align:start;cursor:var(--ui-control-cursor);background:0 0;border:0;grid-template-columns:1.125em minmax(0,1fr);align-items:center;column-gap:.5em;margin:0;padding:.5em .625em;display:grid}.option:hover{background:var(--ui-surface-muted)}.option:focus-visible{outline:2px solid var(--ui-focus-color);outline-offset:-2px}.option>.check{color:var(--ui-primary-text);opacity:0;place-items:center;font-size:.857em;display:grid}.option:has(>.description)>.check{grid-row:1/span 2}.option>.name{text-overflow:ellipsis;white-space:nowrap;grid-column:2;font-weight:500;overflow:hidden}.option>.description{color:var(--ui-text-muted);grid-column:2;font-size:.857em}[part~=tip].muted{display:none}}@layer ui.components.theme-menu.variations{.ui.inverted.themes .button{color:oklch(from var(--_ui-theme-menu-inverted-ink) l c h / .8)}.ui.inverted.themes .button:hover{background:oklch(from var(--_ui-theme-menu-inverted-ink) l c h / .14);color:var(--_ui-theme-menu-inverted-ink)}:host(:state(menu)){display:block}:host(:state(menu)) .ui.themes{font-size:inherit;line-height:1.3;display:block}[part~=theme].compact{--ui-button-background:transparent;--ui-button-background-hover:color-mix(in oklab, currentColor 10%, transparent);--ui-button-background-down:color-mix(in oklab, currentColor 16%, transparent);--ui-button-color:var(--ui-text-muted);--ui-button-color-hover:var(--ui-text-color);--ui-button-padding-block:.55em;--ui-button-padding-inline:.55em;--ui-button-radius:50%;--ui-button-box-shadow:none}[part~=theme].compact::part(icon){display:none}}@layer ui.components.theme-menu.states{.option.checked{background:color-mix(in oklch, var(--ui-primary) 10%, transparent)}.option.checked:hover{background:color-mix(in oklch, var(--ui-primary) 15%, transparent)}.option.checked>.check{opacity:1}.option.checked>.name{color:var(--ui-primary-text)}@media (prefers-reduced-motion:no-preference){.scheme .glyph{transition:opacity var(--_ui-theme-menu-swap-duration) var(--ui-ease-out,ease-out), scale var(--_ui-theme-menu-swap-duration) var(--ui-ease-out,ease-out), filter var(--_ui-theme-menu-swap-duration) var(--ui-ease-out,ease-out)!important}.button{transition:background-color var(--ui-duration-fast,.1s) ease-out, box-shadow var(--ui-duration-fast,.1s) ease-out, color var(--ui-duration-fast,.1s) ease-out, scale var(--ui-duration-fast,.1s) ease-out}.option{transition:background-color var(--ui-duration-fast,.1s) ease-out}}}", ot = /* @__PURE__ */ N("<div><!><!><!><!>"), st = /* @__PURE__ */ N("<button type=button>"), ct = /* @__PURE__ */ N("<ui-popup inverted>", 1), lt = /* @__PURE__ */ N("<span aria-hidden=true><ui-icon padding=none>", 1), ut = /* @__PURE__ */ N("<button type=button><span aria-hidden=true><ui-icon padding=none>", 1), dt = /* @__PURE__ */ N("<ui-popup open-on=click appearance=basic position=\"bottom right\">", 1), ft = /* @__PURE__ */ N("<div role=separator>"), pt = /* @__PURE__ */ N("<a rel=noopener><ui-icon aria-hidden=true padding=none></ui-icon><span>", 1), mt = /* @__PURE__ */ N("<div><div role=separator></div><div></div><div></div><!><!><slot>"), ht = /* @__PURE__ */ N("<div>"), gt = /* @__PURE__ */ N("<ui-menu interactive equal>", 1), q = /* @__PURE__ */ N("<ui-item>", 1), _t = /* @__PURE__ */ N("<span>"), vt = /* @__PURE__ */ N("<button type=button><span aria-hidden=true><ui-icon padding=none></ui-icon></span><span>", 1), yt = /* @__PURE__ */ N("<ui-icon aria-hidden=true>", 1), bt = /* @__PURE__ */ N("<ui-item kind=divider>", 1), xt = /* @__PURE__ */ N("<ui-dropdown floating scrolling button><div slot=header></div><span slot=trigger></span><!><!>", 1), St, Ct, wt, Tt, Et, Dt, Ot, kt, At, jt, Mt, Nt, Pt, Ft, J, Y, It, Lt, Rt, zt, Bt, X = class _UIThemeMenu extends (J = l, Ft = [ae], Pt = [oe], Nt = [v], Mt = [v], jt = [h("dark")], At = [h("following")], kt = [ce], Ot = [v], Dt = [ne], Et = [ne({ equals: isSameEntries })], Tt = [h("menu")], wt = [h("open"), v], Ct = [v], St = [se], J) {
|
|
994
996
|
constructor() {
|
|
995
|
-
super(...arguments),
|
|
997
|
+
super(...arguments), p(Y, 5, this), _(this, It, p(Y, 8, this, k ? an : U.chosen)), p(Y, 11, this), _(this, Lt, p(Y, 12, this, k ? "light" : U.osScheme())), p(Y, 15, this), _(this, Rt, p(Y, 16, this, k ? [] : I.list)), p(Y, 19, this), o(this, "texts", /* @__PURE__ */ s((e, t) => this.translationForKey(e, t), "texts")), _(this, zt, p(Y, 20, this, !1)), p(Y, 23, this), _(this, Bt, p(Y, 24, this)), p(Y, 27, this);
|
|
996
998
|
}
|
|
997
999
|
get shownScheme() {
|
|
998
1000
|
let { scheme: e } = this.chosen;
|
|
@@ -1008,51 +1010,54 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
1008
1010
|
return this.chosen.scheme === "system";
|
|
1009
1011
|
}
|
|
1010
1012
|
followPreference() {
|
|
1011
|
-
return this.follow(
|
|
1013
|
+
return this.follow(U.chosen), U.subscribe((e) => this.follow(e));
|
|
1012
1014
|
}
|
|
1013
1015
|
follow(e) {
|
|
1014
|
-
this.chosen = e, this.osScheme =
|
|
1016
|
+
this.chosen = e, this.osScheme = U.osScheme(), this.myThemes = I.list;
|
|
1015
1017
|
}
|
|
1016
1018
|
async chooseTheme(e, t) {
|
|
1017
|
-
let n =
|
|
1019
|
+
let n = U.setTheme(e);
|
|
1018
1020
|
this.emitChange(t), await n;
|
|
1019
1021
|
}
|
|
1020
1022
|
async chooseTint(e, t) {
|
|
1021
|
-
if (e ===
|
|
1022
|
-
let n =
|
|
1023
|
+
if (e === U.chosen.tint) return;
|
|
1024
|
+
let n = U.setTint(e);
|
|
1023
1025
|
this.emitChange(t), await n;
|
|
1024
1026
|
}
|
|
1025
1027
|
flipScheme(e) {
|
|
1026
|
-
|
|
1028
|
+
U.flipScheme(), this.emitChange(e);
|
|
1027
1029
|
}
|
|
1028
1030
|
chooseScheme(e, t) {
|
|
1029
|
-
e !==
|
|
1031
|
+
e !== U.chosen.scheme && (U.setScheme(e), this.emitChange(t));
|
|
1030
1032
|
}
|
|
1031
1033
|
get benchAddress() {
|
|
1032
1034
|
let e = this.bench;
|
|
1033
|
-
if (e ===
|
|
1034
|
-
let t =
|
|
1035
|
-
return Qe.
|
|
1035
|
+
if (e === Yt || k) return;
|
|
1036
|
+
let t = e ?? Kt.exec(location.pathname)?.[0] ?? "";
|
|
1037
|
+
return Qe.benchOn(t, {
|
|
1038
|
+
theme: this.chosenTheme,
|
|
1039
|
+
page: this.benchPageId
|
|
1040
|
+
});
|
|
1036
1041
|
}
|
|
1037
1042
|
get benchPageId() {
|
|
1038
1043
|
let e = this.benchPageAttribute;
|
|
1039
1044
|
if (e) return e;
|
|
1040
|
-
let t =
|
|
1041
|
-
return
|
|
1045
|
+
let t = k ? "" : location.pathname;
|
|
1046
|
+
return qt.find(([e]) => e.test(t))?.[1] ?? Jt;
|
|
1042
1047
|
}
|
|
1043
1048
|
get benchPageAttribute() {
|
|
1044
1049
|
return (this.attributes["bench-page"] ?? void 0) || void 0;
|
|
1045
1050
|
}
|
|
1046
1051
|
openBench() {
|
|
1047
1052
|
let e = this.benchAddress;
|
|
1048
|
-
e && window.open(e,
|
|
1053
|
+
e && window.open(e, Xt, "noopener");
|
|
1049
1054
|
}
|
|
1050
1055
|
emitChange(e) {
|
|
1051
|
-
let { theme: t, scheme: n, tint: r } =
|
|
1056
|
+
let { theme: t, scheme: n, tint: r } = U.chosen, i = {
|
|
1052
1057
|
theme: t,
|
|
1053
1058
|
...r && { tint: r },
|
|
1054
1059
|
scheme: n,
|
|
1055
|
-
shown:
|
|
1060
|
+
shown: U.shownScheme(),
|
|
1056
1061
|
originalEvent: e
|
|
1057
1062
|
};
|
|
1058
1063
|
this.send("ui-changed", i);
|
|
@@ -1064,69 +1069,72 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
1064
1069
|
mine: this.myThemes
|
|
1065
1070
|
});
|
|
1066
1071
|
}
|
|
1072
|
+
get entries() {
|
|
1073
|
+
return this.themeMenu.entries;
|
|
1074
|
+
}
|
|
1067
1075
|
get shownControls() {
|
|
1068
1076
|
return this.show ?? "both";
|
|
1069
1077
|
}
|
|
1070
1078
|
render() {
|
|
1071
1079
|
let e = this;
|
|
1072
|
-
var t =
|
|
1073
|
-
return
|
|
1080
|
+
var t = ot(), n = t.firstChild, r = n.nextSibling, i = r.nextSibling, a = i.nextSibling;
|
|
1081
|
+
return O(t, T(C, {
|
|
1074
1082
|
get when() {
|
|
1075
1083
|
return e.shownControls === "theme";
|
|
1076
1084
|
},
|
|
1077
1085
|
get children() {
|
|
1078
1086
|
return e.dropdown();
|
|
1079
1087
|
}
|
|
1080
|
-
}), n),
|
|
1088
|
+
}), n), O(t, T(C, {
|
|
1081
1089
|
get when() {
|
|
1082
1090
|
return e.shownControls === "both";
|
|
1083
1091
|
},
|
|
1084
1092
|
get children() {
|
|
1085
1093
|
return e.palette();
|
|
1086
1094
|
}
|
|
1087
|
-
}), r),
|
|
1095
|
+
}), r), O(t, T(C, {
|
|
1088
1096
|
get when() {
|
|
1089
1097
|
return e.shownControls === "scheme";
|
|
1090
1098
|
},
|
|
1091
1099
|
get children() {
|
|
1092
1100
|
return e.schemeButton();
|
|
1093
1101
|
}
|
|
1094
|
-
}), i),
|
|
1102
|
+
}), i), O(t, T(C, {
|
|
1095
1103
|
get when() {
|
|
1096
1104
|
return e.isMenu;
|
|
1097
1105
|
},
|
|
1098
1106
|
get children() {
|
|
1099
1107
|
return e.panel();
|
|
1100
1108
|
}
|
|
1101
|
-
}), a),
|
|
1102
|
-
e:
|
|
1109
|
+
}), a), E(() => ({
|
|
1110
|
+
e: A(e.rootClass),
|
|
1103
1111
|
t: e.partForName("controls")
|
|
1104
1112
|
}), ({ e, t: n }, r) => {
|
|
1105
|
-
|
|
1113
|
+
w(t, e, r?.e), n !== r?.t && M(t, "part", n);
|
|
1106
1114
|
}), t;
|
|
1107
1115
|
}
|
|
1108
1116
|
get isMenu() {
|
|
1109
1117
|
return this.shownControls === "menu";
|
|
1110
1118
|
}
|
|
1111
1119
|
schemeButton() {
|
|
1112
|
-
let e = /* @__PURE__ */
|
|
1120
|
+
let e = /* @__PURE__ */ s(() => this.shownScheme === "dark" ? this.translationForKey("toLight") : this.translationForKey("toDark"), "next"), t = this;
|
|
1113
1121
|
return [(() => {
|
|
1114
|
-
var n =
|
|
1115
|
-
return n._$$click = (e) => t.flipScheme(e),
|
|
1116
|
-
each:
|
|
1122
|
+
var n = st();
|
|
1123
|
+
return n._$$click = (e) => t.flipScheme(e), O(n, T(S, {
|
|
1124
|
+
each: Vt,
|
|
1117
1125
|
children: (e) => (() => {
|
|
1118
|
-
var t =
|
|
1119
|
-
return n._$owner =
|
|
1120
|
-
e:
|
|
1121
|
-
t:
|
|
1126
|
+
var t = lt(), n = t.firstChild;
|
|
1127
|
+
return n._$owner = D(), E(() => ({
|
|
1128
|
+
e: A([e, yn]),
|
|
1129
|
+
t: Ht[e]
|
|
1122
1130
|
}), ({ e, t: r }, i) => {
|
|
1123
|
-
|
|
1131
|
+
w(t, e, i?.e), r !== i?.t && M(n, "name", r);
|
|
1124
1132
|
}), t;
|
|
1125
1133
|
})()
|
|
1126
|
-
})),
|
|
1127
|
-
e:
|
|
1128
|
-
|
|
1129
|
-
|
|
1134
|
+
})), E(() => ({
|
|
1135
|
+
e: A([
|
|
1136
|
+
gn,
|
|
1137
|
+
hn,
|
|
1130
1138
|
{
|
|
1131
1139
|
light: t.shownScheme === "light",
|
|
1132
1140
|
dark: t.shownScheme === "dark"
|
|
@@ -1135,219 +1143,212 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
1135
1143
|
t: t.partForName("scheme"),
|
|
1136
1144
|
a: e()
|
|
1137
1145
|
}), ({ e, t, a: r }, i) => {
|
|
1138
|
-
|
|
1146
|
+
w(n, e, i?.e), t !== i?.t && M(n, "part", t), r !== i?.a && M(n, "aria-label", r);
|
|
1139
1147
|
}), n;
|
|
1140
1148
|
})(), (() => {
|
|
1141
|
-
var n =
|
|
1142
|
-
return
|
|
1143
|
-
|
|
1149
|
+
var n = ct();
|
|
1150
|
+
return M(n, "size", mn), M(n, "position", pn), n._$owner = D(), O(n, e), E(() => t.partForName("tip"), (e) => {
|
|
1151
|
+
M(n, "part", e);
|
|
1144
1152
|
}), n;
|
|
1145
1153
|
})()];
|
|
1146
1154
|
}
|
|
1147
1155
|
palette() {
|
|
1148
|
-
let e = /* @__PURE__ */
|
|
1156
|
+
let e = /* @__PURE__ */ s(() => this.translationForKey("palette", {
|
|
1149
1157
|
title: this.themeMenu.pickTitleFor(this.chosenTheme, this.chosen.tint),
|
|
1150
|
-
scheme: this.translationForKey(
|
|
1158
|
+
scheme: this.translationForKey(Wt[this.chosen.scheme])
|
|
1151
1159
|
}), "label"), t = this;
|
|
1152
1160
|
return [
|
|
1153
1161
|
(() => {
|
|
1154
|
-
var n =
|
|
1155
|
-
return
|
|
1162
|
+
var n = ut(), r = n.firstChild, i = r.firstChild;
|
|
1163
|
+
return M(i, "name", Gt), i._$owner = D(), E(() => ({
|
|
1156
1164
|
e: Q.palette,
|
|
1157
|
-
t:
|
|
1165
|
+
t: A([_n, hn]),
|
|
1158
1166
|
a: t.partForName("palette"),
|
|
1159
1167
|
o: e(),
|
|
1160
|
-
i:
|
|
1168
|
+
i: A(yn)
|
|
1161
1169
|
}), ({ e, t, a: i, o: a, i: o }, s) => {
|
|
1162
|
-
e !== s?.e &&
|
|
1170
|
+
e !== s?.e && M(n, "id", e), w(n, t, s?.t), i !== s?.a && M(n, "part", i), a !== s?.o && M(n, "aria-label", a), w(r, o, s?.i);
|
|
1163
1171
|
}), n;
|
|
1164
1172
|
})(),
|
|
1165
1173
|
(() => {
|
|
1166
|
-
var e =
|
|
1167
|
-
return
|
|
1174
|
+
var e = dt();
|
|
1175
|
+
return j(() => (e) => t.wireOverlay(e), e), e._$owner = D(), O(e, () => t.panel()), E(() => ({
|
|
1168
1176
|
e: t.partForName("overlay"),
|
|
1169
|
-
t:
|
|
1177
|
+
t: A(bn),
|
|
1170
1178
|
a: t.translationForKey("overlayName")
|
|
1171
1179
|
}), ({ e: t, t: n, a: r }, i) => {
|
|
1172
|
-
t !== i?.e &&
|
|
1180
|
+
t !== i?.e && M(e, "part", t), w(e, n, i?.t), r !== i?.a && M(e, "aria-label", r);
|
|
1173
1181
|
}), e;
|
|
1174
1182
|
})(),
|
|
1175
1183
|
(() => {
|
|
1176
|
-
var n =
|
|
1177
|
-
return
|
|
1184
|
+
var n = ct();
|
|
1185
|
+
return M(n, "size", mn), M(n, "position", pn), n._$owner = D(), O(n, e), E(() => ({
|
|
1178
1186
|
e: t.partForName("tip"),
|
|
1179
1187
|
t: Q.palette,
|
|
1180
|
-
a:
|
|
1188
|
+
a: A(t.isOpen ? xn : void 0)
|
|
1181
1189
|
}), ({ e, t, a: r }, i) => {
|
|
1182
|
-
e !== i?.e &&
|
|
1190
|
+
e !== i?.e && M(n, "part", e), t !== i?.t && M(n, "for", t), w(n, r, i?.a);
|
|
1183
1191
|
}), n;
|
|
1184
1192
|
})()
|
|
1185
1193
|
];
|
|
1186
1194
|
}
|
|
1187
1195
|
panel() {
|
|
1188
1196
|
let e = this;
|
|
1189
|
-
var t =
|
|
1190
|
-
return
|
|
1197
|
+
var t = mt(), n = t.firstChild, r = n.nextSibling, i = r.nextSibling, a = i.nextSibling, o = a.nextSibling, s = o.nextSibling;
|
|
1198
|
+
return O(t, () => e.schemes(), n), O(r, () => e.translationForKey("themeName")), i._$$keydown = (t) => e.onMenuKey(t), O(i, T(S, {
|
|
1191
1199
|
get each() {
|
|
1192
|
-
return e.
|
|
1200
|
+
return e.entries;
|
|
1193
1201
|
},
|
|
1194
1202
|
children: (t) => e.entry(t)
|
|
1195
|
-
})),
|
|
1203
|
+
})), O(t, T(C, {
|
|
1196
1204
|
get when() {
|
|
1197
|
-
return
|
|
1205
|
+
return U.tintsFor(e.chosenTheme).length;
|
|
1198
1206
|
},
|
|
1199
1207
|
get children() {
|
|
1200
|
-
var e =
|
|
1201
|
-
return
|
|
1202
|
-
|
|
1208
|
+
var e = ft();
|
|
1209
|
+
return E(() => A($), (t, n) => {
|
|
1210
|
+
w(e, t, n);
|
|
1203
1211
|
}), e;
|
|
1204
1212
|
}
|
|
1205
|
-
}), a),
|
|
1213
|
+
}), a), O(t, () => e.tints(), o), O(t, T(C, {
|
|
1206
1214
|
get when() {
|
|
1207
1215
|
return e.benchAddress;
|
|
1208
1216
|
},
|
|
1209
1217
|
get children() {
|
|
1210
1218
|
return [(() => {
|
|
1211
|
-
var e =
|
|
1212
|
-
return
|
|
1213
|
-
|
|
1219
|
+
var e = ft();
|
|
1220
|
+
return E(() => A($), (t, n) => {
|
|
1221
|
+
w(e, t, n);
|
|
1214
1222
|
}), e;
|
|
1215
1223
|
})(), (() => {
|
|
1216
|
-
var t =
|
|
1217
|
-
return
|
|
1218
|
-
e:
|
|
1224
|
+
var t = pt(), n = t.firstChild, r = n.nextSibling, i = D();
|
|
1225
|
+
return M(t, "target", Xt), M(n, "name", Qt), n._$owner = D(), O(r, () => e.translationForKey("bench")), E(() => ({
|
|
1226
|
+
e: A($t),
|
|
1219
1227
|
t: e.partForName("bench"),
|
|
1220
1228
|
a: e.benchAddress,
|
|
1221
1229
|
o: e.translationForKey("benchTip"),
|
|
1222
|
-
i:
|
|
1230
|
+
i: A(En)
|
|
1223
1231
|
}), ({ e, t: n, a, o, i: s }, c) => {
|
|
1224
|
-
|
|
1232
|
+
w(t, e, c?.e), n !== c?.t && M(t, "part", n), a !== c?.a && M(t, "href", a), o !== c?.o && M(t, "title", o), w(r, s, c?.i), me(t, i);
|
|
1225
1233
|
}), t;
|
|
1226
1234
|
})()];
|
|
1227
1235
|
}
|
|
1228
|
-
}), s), s._$owner =
|
|
1229
|
-
e:
|
|
1230
|
-
t:
|
|
1231
|
-
a:
|
|
1236
|
+
}), s), s._$owner = D(), E(() => ({
|
|
1237
|
+
e: A(Sn),
|
|
1238
|
+
t: A($),
|
|
1239
|
+
a: A(Cn),
|
|
1232
1240
|
o: Q.heading,
|
|
1233
|
-
i:
|
|
1241
|
+
i: A(wn),
|
|
1234
1242
|
n: e.partForName("menu"),
|
|
1235
|
-
s:
|
|
1243
|
+
s: on.menu,
|
|
1236
1244
|
h: Q.heading,
|
|
1237
1245
|
r: e.slotForName("end")
|
|
1238
|
-
}), ({ e, t: a, a: o, o: c, i: l, n: u, s: d, h: f, r:
|
|
1239
|
-
|
|
1246
|
+
}), ({ e, t: a, a: o, o: c, i: l, n: u, s: d, h: f, r: p }, m) => {
|
|
1247
|
+
w(t, e, m?.e), w(n, a, m?.t), w(r, o, m?.a), c !== m?.o && M(r, "id", c), w(i, l, m?.i), u !== m?.n && M(i, "part", u), d !== m?.s && M(i, "role", d), f !== m?.h && M(i, "aria-labelledby", f), p !== m?.r && M(s, "name", p);
|
|
1240
1248
|
}), t;
|
|
1241
1249
|
}
|
|
1242
1250
|
tints() {
|
|
1243
|
-
let e = /* @__PURE__ */
|
|
1244
|
-
return C
|
|
1251
|
+
let e = /* @__PURE__ */ s(() => U.tintsFor(this.chosenTheme), "tints"), t = this;
|
|
1252
|
+
return T(C, {
|
|
1245
1253
|
get when() {
|
|
1246
1254
|
return e().length;
|
|
1247
1255
|
},
|
|
1248
1256
|
get children() {
|
|
1249
1257
|
return [(() => {
|
|
1250
|
-
var e =
|
|
1251
|
-
return
|
|
1252
|
-
|
|
1258
|
+
var e = ht();
|
|
1259
|
+
return O(e, () => t.translationForKey("tintName")), E(() => A(Cn), (t, n) => {
|
|
1260
|
+
w(e, t, n);
|
|
1253
1261
|
}), e;
|
|
1254
1262
|
})(), (() => {
|
|
1255
|
-
var
|
|
1256
|
-
return
|
|
1263
|
+
var n = ht();
|
|
1264
|
+
return O(n, () => W.draw({
|
|
1257
1265
|
part: t.partForName("tints"),
|
|
1258
|
-
size:
|
|
1259
|
-
value: /* @__PURE__ */
|
|
1266
|
+
size: tn,
|
|
1267
|
+
value: /* @__PURE__ */ s(() => t.chosen.tint, "value"),
|
|
1260
1268
|
hues: e,
|
|
1261
|
-
nameFor: /* @__PURE__ */
|
|
1262
|
-
noneLabel: /* @__PURE__ */
|
|
1263
|
-
label: /* @__PURE__ */
|
|
1264
|
-
onPick: /* @__PURE__ */
|
|
1265
|
-
})),
|
|
1266
|
-
|
|
1267
|
-
}),
|
|
1269
|
+
nameFor: /* @__PURE__ */ s((e) => t.translationForKey(e), "nameFor"),
|
|
1270
|
+
noneLabel: /* @__PURE__ */ s(() => t.translationForKey("noTint"), "noneLabel"),
|
|
1271
|
+
label: /* @__PURE__ */ s(() => t.translationForKey("tintName"), "label"),
|
|
1272
|
+
onPick: /* @__PURE__ */ s((e, n) => void t.chooseTint(e, n), "onPick")
|
|
1273
|
+
})), E(() => A(en), (e, t) => {
|
|
1274
|
+
w(n, e, t);
|
|
1275
|
+
}), n;
|
|
1268
1276
|
})()];
|
|
1269
1277
|
}
|
|
1270
1278
|
});
|
|
1271
1279
|
}
|
|
1272
1280
|
schemes() {
|
|
1273
1281
|
let e = this;
|
|
1274
|
-
var t =
|
|
1275
|
-
return t._$$keydown = (t) => e.onSchemeKey(t),
|
|
1276
|
-
each:
|
|
1277
|
-
children: (t) => {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
S(i, e, u?.e), t !== u?.t && k(i, "part", t), n !== u?.a && k(i, "role", n), r !== u?.o && k(i, "aria-checked", r), s !== u?.i && k(i, "tabindex", s), c !== u?.n && k(a, "name", c), S(o, l, u?.s);
|
|
1290
|
-
}), i;
|
|
1291
|
-
}
|
|
1292
|
-
})), w(() => ({
|
|
1293
|
-
e: O(yn),
|
|
1282
|
+
var t = gt();
|
|
1283
|
+
return t._$$keydown = (t) => e.onSchemeKey(t), M(t, "appearance", cn), M(t, "align", ln), M(t, "size", un), j(() => (t) => t.addEventListener("ui-choosing", (t) => e.onSchemeChoosing(t)), t), t._$owner = D(), O(t, T(S, {
|
|
1284
|
+
each: je,
|
|
1285
|
+
children: (t) => (() => {
|
|
1286
|
+
var n = q();
|
|
1287
|
+
return M(n, "value", t), n._$owner = D(), O(n, () => e.translationForKey(Wt[t])), E(() => ({
|
|
1288
|
+
e: e.partForName("scheme-option"),
|
|
1289
|
+
t: Ut[t],
|
|
1290
|
+
a: e.chosen.scheme === t ? "" : void 0
|
|
1291
|
+
}), ({ e, t, a: r }, i) => {
|
|
1292
|
+
e !== i?.e && M(n, "part", e), t !== i?.t && M(n, "icon", t), r !== i?.a && M(n, "selected", r);
|
|
1293
|
+
}), n;
|
|
1294
|
+
})()
|
|
1295
|
+
})), E(() => ({
|
|
1296
|
+
e: A(Tn),
|
|
1294
1297
|
t: e.partForName("schemes"),
|
|
1295
|
-
a:
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
S(t, e, a?.e), n !== a?.t && k(t, "part", n), r !== a?.a && k(t, "role", r), i !== a?.o && k(t, "aria-label", i);
|
|
1298
|
+
a: e.translationForKey("schemeName")
|
|
1299
|
+
}), ({ e, t: n, a: r }, i) => {
|
|
1300
|
+
w(t, e, i?.e), n !== i?.t && M(t, "part", n), r !== i?.a && M(t, "aria-label", r);
|
|
1299
1301
|
}), t;
|
|
1300
1302
|
}
|
|
1303
|
+
onSchemeChoosing(e) {
|
|
1304
|
+
e.preventDefault(), e.stopPropagation(), this.chooseScheme(e.detail.value, e);
|
|
1305
|
+
}
|
|
1301
1306
|
onSchemeKey(e) {
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
orientation: "both",
|
|
1306
|
-
tabindex: "left alone",
|
|
1307
|
-
onChange: /* @__PURE__ */ n((t, n) => this.chooseScheme(Me[n], e), "onChange")
|
|
1308
|
-
});
|
|
1307
|
+
if (!dn.has(e.key) || (e.stopPropagation(), !e.defaultPrevented)) return;
|
|
1308
|
+
let t = e.currentTarget.querySelector(fn)?.getAttribute("value");
|
|
1309
|
+
t && this.chooseScheme(t, e);
|
|
1309
1310
|
}
|
|
1310
1311
|
entry(e) {
|
|
1311
1312
|
if ("type" in e) return e.type === "divider" ? (() => {
|
|
1312
|
-
var e =
|
|
1313
|
-
return
|
|
1314
|
-
|
|
1313
|
+
var e = ft();
|
|
1314
|
+
return E(() => A($), (t, n) => {
|
|
1315
|
+
w(e, t, n);
|
|
1315
1316
|
}), e;
|
|
1316
1317
|
})() : (() => {
|
|
1317
|
-
var t =
|
|
1318
|
-
return
|
|
1319
|
-
|
|
1318
|
+
var t = ht();
|
|
1319
|
+
return O(t, () => e.text), E(() => A(r), (e, n) => {
|
|
1320
|
+
w(t, e, n);
|
|
1320
1321
|
}), t;
|
|
1321
1322
|
})();
|
|
1322
|
-
let t = /* @__PURE__ */
|
|
1323
|
-
var
|
|
1324
|
-
return
|
|
1323
|
+
let t = /* @__PURE__ */ s(() => this.chosenTheme === e.value, "isChecked"), n = this;
|
|
1324
|
+
var i = vt(), a = i.firstChild, o = a.firstChild, c = a.nextSibling;
|
|
1325
|
+
return i._$$click = (t) => n.onOptionClick(e.value, t), M(o, "name", rn), o._$owner = D(), O(c, () => e.text), O(i, T(C, {
|
|
1325
1326
|
get when() {
|
|
1326
1327
|
return e.description;
|
|
1327
1328
|
},
|
|
1328
1329
|
get children() {
|
|
1329
|
-
var t =
|
|
1330
|
-
return
|
|
1331
|
-
|
|
1330
|
+
var t = _t();
|
|
1331
|
+
return O(t, () => e.description), E(() => A(ie), (e, n) => {
|
|
1332
|
+
w(t, e, n);
|
|
1332
1333
|
}), t;
|
|
1333
1334
|
}
|
|
1334
|
-
}), null),
|
|
1335
|
-
e:
|
|
1336
|
-
t:
|
|
1337
|
-
a:
|
|
1335
|
+
}), null), E(() => ({
|
|
1336
|
+
e: A([Dn, { checked: t() }]),
|
|
1337
|
+
t: n.partForName("option"),
|
|
1338
|
+
a: on.item,
|
|
1338
1339
|
o: e.value,
|
|
1339
1340
|
i: t() ? "true" : "false",
|
|
1340
|
-
n: (
|
|
1341
|
-
s:
|
|
1342
|
-
h:
|
|
1343
|
-
}), ({ e, t, a: n, o: r, i, n: s, s: l, h: u }, d) => {
|
|
1344
|
-
|
|
1345
|
-
}),
|
|
1341
|
+
n: (n.tabStopTheme ?? n.chosenTheme) === e.value ? 0 : -1,
|
|
1342
|
+
s: A(On),
|
|
1343
|
+
h: A(En)
|
|
1344
|
+
}), ({ e, t, a: n, o: r, i: o, n: s, s: l, h: u }, d) => {
|
|
1345
|
+
w(i, e, d?.e), t !== d?.t && M(i, "part", t), n !== d?.a && M(i, "role", n), r !== d?.o && M(i, "value", r), o !== d?.i && M(i, "aria-checked", o), s !== d?.n && M(i, "tabindex", s), w(a, l, d?.s), w(c, u, d?.h);
|
|
1346
|
+
}), i;
|
|
1346
1347
|
}
|
|
1347
1348
|
dropdown() {
|
|
1348
|
-
let e = /* @__PURE__ */
|
|
1349
|
-
var
|
|
1350
|
-
return
|
|
1349
|
+
let e = /* @__PURE__ */ s(() => this.themeMenu.labelFor(this.chosenTheme, this.chosen.tint), "label"), t = this;
|
|
1350
|
+
var n = xt(), r = n.firstChild, i = r.nextSibling, a = i.nextSibling, o = a.nextSibling;
|
|
1351
|
+
return j(() => (e) => e.addEventListener("ui-changed", (e) => t.onDropdownChange(e)), n), n._$owner = D(), O(r, () => t.tints()), O(i, T(C, {
|
|
1351
1352
|
get when() {
|
|
1352
1353
|
return t.compact;
|
|
1353
1354
|
},
|
|
@@ -1355,45 +1356,45 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
1355
1356
|
return e();
|
|
1356
1357
|
},
|
|
1357
1358
|
get children() {
|
|
1358
|
-
var e =
|
|
1359
|
-
return
|
|
1359
|
+
var e = yt();
|
|
1360
|
+
return M(e, "name", Gt), e._$owner = D(), e;
|
|
1360
1361
|
}
|
|
1361
|
-
})),
|
|
1362
|
+
})), O(n, T(S, {
|
|
1362
1363
|
get each() {
|
|
1363
|
-
return t.
|
|
1364
|
+
return t.entries;
|
|
1364
1365
|
},
|
|
1365
1366
|
children: (e) => "type" in e ? (() => {
|
|
1366
|
-
var t =
|
|
1367
|
-
return t._$owner =
|
|
1368
|
-
|
|
1367
|
+
var t = q();
|
|
1368
|
+
return t._$owner = D(), O(t, () => e.text), E(() => e.type, (e) => {
|
|
1369
|
+
M(t, "kind", e);
|
|
1369
1370
|
}), t;
|
|
1370
1371
|
})() : (() => {
|
|
1371
|
-
var t =
|
|
1372
|
-
return t._$owner =
|
|
1372
|
+
var t = q();
|
|
1373
|
+
return t._$owner = D(), O(t, () => e.text), E(() => ({
|
|
1373
1374
|
e: e.value,
|
|
1374
1375
|
t: e.description
|
|
1375
1376
|
}), ({ e, t: n }, r) => {
|
|
1376
|
-
e !== r?.e &&
|
|
1377
|
+
e !== r?.e && M(t, "value", e), n !== r?.t && M(t, "description", n);
|
|
1377
1378
|
}), t;
|
|
1378
1379
|
})()
|
|
1379
|
-
}),
|
|
1380
|
+
}), a), O(n, T(C, {
|
|
1380
1381
|
get when() {
|
|
1381
1382
|
return t.benchAddress;
|
|
1382
1383
|
},
|
|
1383
1384
|
get children() {
|
|
1384
1385
|
return [(() => {
|
|
1385
|
-
var e =
|
|
1386
|
-
return e._$owner =
|
|
1386
|
+
var e = bt();
|
|
1387
|
+
return e._$owner = D(), e;
|
|
1387
1388
|
})(), (() => {
|
|
1388
|
-
var e =
|
|
1389
|
-
return
|
|
1390
|
-
|
|
1389
|
+
var e = q();
|
|
1390
|
+
return M(e, "value", Zt), M(e, "icon", Qt), e._$owner = D(), O(e, () => t.translationForKey("bench")), E(() => t.translationForKey("benchTip"), (t) => {
|
|
1391
|
+
M(e, "title", t);
|
|
1391
1392
|
}), e;
|
|
1392
1393
|
})()];
|
|
1393
1394
|
}
|
|
1394
|
-
}),
|
|
1395
|
+
}), o), E(() => ({
|
|
1395
1396
|
e: t.partForName("theme"),
|
|
1396
|
-
t: { [
|
|
1397
|
+
t: { [vn]: !!t.compact },
|
|
1397
1398
|
a: t.compact ? "compact" : void 0,
|
|
1398
1399
|
o: t.inverted ? "" : void 0,
|
|
1399
1400
|
i: t.size,
|
|
@@ -1401,35 +1402,35 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
1401
1402
|
s: t.compact ? e() : void 0,
|
|
1402
1403
|
h: t.compact ? e() : void 0,
|
|
1403
1404
|
r: t.chosenTheme,
|
|
1404
|
-
d:
|
|
1405
|
-
}), ({ e, t, a:
|
|
1406
|
-
e !== f?.e &&
|
|
1407
|
-
}),
|
|
1405
|
+
d: A(nn)
|
|
1406
|
+
}), ({ e, t, a: i, o: a, i: o, n: s, s: c, h: l, r: u, d }, f) => {
|
|
1407
|
+
e !== f?.e && M(n, "part", e), w(n, t, f?.t), i !== f?.a && M(n, "padding", i), a !== f?.o && M(n, "inverted", a), o !== f?.i && M(n, "size", o), s !== f?.n && M(n, "label", s), c !== f?.s && M(n, "title", c), l !== f?.h && M(n, "aria-label", l), u !== f?.r && M(n, "value", u), w(r, d, f?.d);
|
|
1408
|
+
}), n;
|
|
1408
1409
|
}
|
|
1409
1410
|
onDropdownChange(e) {
|
|
1410
1411
|
e.stopPropagation();
|
|
1411
1412
|
let { value: t } = e.detail;
|
|
1412
|
-
if (t !==
|
|
1413
|
+
if (t !== Zt) return void this.chooseTheme(t, e);
|
|
1413
1414
|
this.openBench(), e.currentTarget.value = this.chosenTheme;
|
|
1414
1415
|
}
|
|
1415
1416
|
onOptionClick(e, t) {
|
|
1416
|
-
this.tabStopTheme = e, e !==
|
|
1417
|
+
this.tabStopTheme = e, e !== U.chosen.theme && this.chooseTheme(e, t);
|
|
1417
1418
|
}
|
|
1418
1419
|
onMenuKey(e) {
|
|
1419
1420
|
c.focus.arrowKey(e, {
|
|
1420
1421
|
container: e.currentTarget,
|
|
1421
|
-
items:
|
|
1422
|
+
items: sn,
|
|
1422
1423
|
orientation: "vertical",
|
|
1423
1424
|
tabindex: "left alone",
|
|
1424
|
-
onChange: /* @__PURE__ */
|
|
1425
|
+
onChange: /* @__PURE__ */ s((e) => this.tabStopTheme = e.value, "onChange")
|
|
1425
1426
|
});
|
|
1426
1427
|
}
|
|
1427
1428
|
rows() {
|
|
1428
|
-
return [...this.domElement.shadowRoot?.querySelectorAll(
|
|
1429
|
+
return [...this.domElement.shadowRoot?.querySelectorAll(sn) ?? []];
|
|
1429
1430
|
}
|
|
1430
1431
|
wireOverlay(e) {
|
|
1431
1432
|
e.addEventListener("ui-opening", (t) => {
|
|
1432
|
-
t.defaultPrevented || t.target !== e || (this.isOpen = !0, this.myThemes =
|
|
1433
|
+
t.defaultPrevented || t.target !== e || (this.isOpen = !0, this.myThemes = I.list);
|
|
1433
1434
|
}), e.addEventListener("ui-closing", (t) => {
|
|
1434
1435
|
!t.defaultPrevented && t.target === e && (this.isOpen = !1);
|
|
1435
1436
|
}), e.addEventListener("toggle", (t) => {
|
|
@@ -1442,52 +1443,55 @@ var He = "@layer ui.components.hue-dropdown.content{.hue-dot{box-sizing:border-b
|
|
|
1442
1443
|
(e.find((e) => e.value === this.chosenTheme) ?? e[0])?.focus();
|
|
1443
1444
|
}
|
|
1444
1445
|
};
|
|
1445
|
-
|
|
1446
|
+
Y = a(J), It = /* @__PURE__ */ new WeakMap(), Lt = /* @__PURE__ */ new WeakMap(), Rt = /* @__PURE__ */ new WeakMap(), zt = /* @__PURE__ */ new WeakMap(), Bt = /* @__PURE__ */ new WeakMap(), u(Y, 4, "chosen", Nt, X, It), u(Y, 4, "osScheme", Mt, X, Lt), u(Y, 2, "isDark", jt, X), u(Y, 2, "followsSystem", At, X), u(Y, 1, "followPreference", kt, X), u(Y, 4, "myThemes", Ot, X, Rt), u(Y, 2, "themeMenu", Dt, X), u(Y, 2, "entries", Et, X), u(Y, 2, "isMenu", Tt, X), u(Y, 4, "isOpen", wt, X, zt), u(Y, 4, "tabStopTheme", Ct, X, Bt), u(Y, 1, "focusChosen", St, X), u(Y, 13, "vocabulary", Ft, X), u(Y, 13, "elementSetup", Pt, X), f(Y, X), s(X, "UIThemeMenu"), o(X, "vocabulary", p(Y, 28, X, it)), p(Y, 31, X), o(X, "elementSetup", p(Y, 32, X, {
|
|
1446
1447
|
styleSheets: {
|
|
1447
|
-
"theme-menu":
|
|
1448
|
-
"hue-dropdown":
|
|
1448
|
+
"theme-menu": at,
|
|
1449
|
+
"hue-dropdown": W.css
|
|
1449
1450
|
},
|
|
1450
1451
|
delegatesFocus: !1
|
|
1451
|
-
})),
|
|
1452
|
-
var
|
|
1452
|
+
})), p(Y, 35, X);
|
|
1453
|
+
var Z = X, Vt = ["light", "dark"], Ht = {
|
|
1453
1454
|
light: "sun outline",
|
|
1454
1455
|
dark: "moon"
|
|
1455
|
-
},
|
|
1456
|
+
}, Ut = {
|
|
1456
1457
|
light: "sun outline",
|
|
1457
1458
|
dark: "moon",
|
|
1458
1459
|
system: "adjust"
|
|
1459
|
-
},
|
|
1460
|
+
}, Wt = {
|
|
1460
1461
|
light: "light",
|
|
1461
1462
|
dark: "dark",
|
|
1462
1463
|
system: "auto"
|
|
1463
|
-
},
|
|
1464
|
+
}, Gt = "palette", Kt = /^\/worktrees\/[^/]+/, qt = [
|
|
1464
1465
|
[/\/epics\//, "epic"],
|
|
1465
1466
|
[/\/guides\/SpellUI(\/|$)/, "notebook"],
|
|
1466
1467
|
[/\/components\//, "ui"]
|
|
1467
|
-
],
|
|
1468
|
-
theme:
|
|
1468
|
+
], Jt = "app", Yt = "none", Xt = "_blank", Zt = "theme bench", Qt = "external alternate", $t = "bench", en = "tints", tn = "small", nn = "tints-header", rn = "check", an = {
|
|
1469
|
+
theme: Ne,
|
|
1469
1470
|
scheme: "system"
|
|
1470
1471
|
}, Q = {
|
|
1471
1472
|
palette: "palette",
|
|
1472
1473
|
heading: "themes-heading"
|
|
1473
|
-
},
|
|
1474
|
+
}, on = {
|
|
1474
1475
|
menu: "menu",
|
|
1475
1476
|
item: "menuitemradio"
|
|
1476
|
-
},
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1477
|
+
}, sn = `[role="${on.item}"]`, cn = "segmented", ln = "fluid", un = "small", dn = /* @__PURE__ */ new Set([
|
|
1478
|
+
i.arrowLeft,
|
|
1479
|
+
i.arrowRight,
|
|
1480
|
+
i.home,
|
|
1481
|
+
i.end
|
|
1482
|
+
]), fn = "ui-item:focus-within", pn = "bottom center", mn = "small", hn = "button", gn = "scheme", _n = "palette", vn = "compact", yn = "glyph", bn = "overlay", xn = "muted", Sn = "panel", Cn = "heading", wn = "menu", $ = "divider", Tn = "schemes", En = "name", Dn = "option", On = "check";
|
|
1483
|
+
function isSameEntries(e, t) {
|
|
1484
|
+
return e.length === t.length && e.every((e, n) => JSON.stringify(e) === JSON.stringify(t[n]));
|
|
1485
|
+
}
|
|
1486
|
+
s(isSameEntries, "isSameEntries"), he(["click", "keydown"]);
|
|
1487
|
+
// src/components/ui-theme-menu/index.ts
|
|
1488
|
+
var kn = /* @__PURE__ */ e({
|
|
1489
|
+
HueDropdown: () => W,
|
|
1485
1490
|
ThemeMenu: () => ThemeMenu,
|
|
1486
|
-
ThemePreference: () =>
|
|
1487
|
-
UIThemeMenu: () =>
|
|
1491
|
+
ThemePreference: () => U,
|
|
1492
|
+
UIThemeMenu: () => Z
|
|
1488
1493
|
});
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
export { H as a, Ee as c, Ae as d, ke as f, Qe as i, M as l, It as n, V as o, Oe as p, ThemeMenu as r, N as s, wn as t, De as u };
|
|
1494
|
+
Z.define();
|
|
1495
|
+
export { W as a, Te as c, ke as d, Oe as f, Qe as i, we as l, Z as n, U as o, De as p, ThemeMenu as r, I as s, kn as t, Ee as u };
|
|
1492
1496
|
|
|
1493
|
-
//# sourceMappingURL=ui-theme-menu-
|
|
1497
|
+
//# sourceMappingURL=ui-theme-menu-BZYUMrHe.js.map
|