spell-ui 0.8.5 → 0.8.7
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 +14 -6
- package/README-frameworks.md +22 -12
- package/README-migrating.md +7 -6
- package/README-runtime.md +14 -13
- package/README-site.md +11 -11
- package/README-themes.md +38 -11
- package/README.md +61 -73
- package/dist/Dragging-CMZoLEWQ.js +169 -0
- package/dist/Dragging-CMZoLEWQ.js.map +1 -0
- package/dist/{MarkdownEngine-CbuT9Mjc.js → MarkdownEngine-CW1WGqNp.js} +122 -100
- package/dist/MarkdownEngine-CW1WGqNp.js.map +1 -0
- package/dist/{PrefStore-CeaTtjTz.js → PrefStore-Qv0e5y04.js} +22 -22
- package/dist/PrefStore-Qv0e5y04.js.map +1 -0
- package/dist/ScrollingRow-7n7Z-HIE.js +88 -0
- package/dist/ScrollingRow-7n7Z-HIE.js.map +1 -0
- package/dist/SitePages-CciwREek.js +51 -0
- package/dist/SitePages-CciwREek.js.map +1 -0
- package/dist/{SlottedItems-Ch0tzzlL.js → SlottedItems-Du3aJwG1.js} +22 -22
- package/dist/{SlottedItems-Ch0tzzlL.js.map → SlottedItems-Du3aJwG1.js.map} +1 -1
- package/dist/ThemeDraft-B7NPif4d.js +805 -0
- package/dist/ThemeDraft-B7NPif4d.js.map +1 -0
- package/dist/TreeMeasure-BVJeGb1L.js +42 -0
- package/dist/TreeMeasure-BVJeGb1L.js.map +1 -0
- package/dist/UIButton-DFEds67r.js +6 -0
- package/dist/UIButton-DFEds67r.js.map +1 -0
- package/dist/UIInput-BodVbUoQ.js +6 -0
- package/dist/UIInput-BodVbUoQ.js.map +1 -0
- package/dist/{UIKeys-DJF2TIKE.js → UIKeys-Rh_gUZjP.js} +10 -9
- package/dist/UIKeys-Rh_gUZjP.js.map +1 -0
- package/dist/UILabel-DgJUBzB_.js +6 -0
- package/dist/UILabel-DgJUBzB_.js.map +1 -0
- package/dist/UIMenu-zdcAtwTa.js +42 -0
- package/dist/UIMenu-zdcAtwTa.js.map +1 -0
- package/dist/{UIRuntime-BBuehGly.js → UIRuntime-KH309p5B.js} +398 -207
- package/dist/UIRuntime-KH309p5B.js.map +1 -0
- package/dist/_spell-element/DOMElement.d.ts +62 -5
- package/dist/_spell-element/MoveAndResize.d.ts +75 -0
- package/dist/_spell-element/UIComponent.d.ts +42 -0
- package/dist/_spell-element/elements.types.d.ts +47 -0
- package/dist/_spell-element/index.d.ts +1 -0
- package/dist/_spell-element/vocabulary.types.d.ts +34 -2
- package/dist/{runtime → _util}/Api.d.ts +14 -4
- package/dist/_util/Dragging.d.ts +148 -0
- package/dist/_util/ListSelection.d.ts +46 -0
- package/dist/{util → _util}/LoadOnce.d.ts +9 -1
- package/dist/_util/ReconnectingSocket.d.ts +51 -0
- package/dist/_util/diagram/DiagramColumns.d.ts +14 -0
- package/dist/_util/diagram/DiagramLayout.d.ts +119 -0
- package/dist/_util/diagram/DiagramSVG.d.ts +17 -0
- package/dist/_util/dom.d.ts +10 -0
- package/dist/_util/fetching.d.ts +92 -0
- package/dist/_util/measures/Dimension.d.ts +63 -0
- package/dist/_util/measures/MeasureSystem.d.ts +66 -0
- package/dist/_util/measures/dimensions.generated.d.ts +16 -0
- package/dist/_util/persist/ColorScheme.d.ts +6 -0
- package/dist/_util/persist/ServerPlace.d.ts +42 -0
- package/dist/_util/persist/WaitedOnPlace.d.ts +27 -0
- package/dist/_util/persist/persist.types.d.ts +21 -2
- package/dist/_util/timing.d.ts +10 -1
- package/dist/api.js +8 -7
- package/dist/api.js.map +1 -1
- package/dist/components/ComponentDefinitions.d.ts +29 -0
- package/dist/components/components.es.d.ts +13 -0
- package/dist/components/components.types.d.ts +113 -8
- 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.en.d.ts +5 -1
- 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-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 +8 -3
- package/dist/components/ui-button/UIButton.en.d.ts +9 -4
- package/dist/components/ui-button/UIButton.es.d.ts +6 -0
- package/dist/components/ui-button/UIButton.fallback.d.ts +8 -3
- package/dist/components/ui-button/UIButtons.d.ts +1 -0
- package/dist/components/ui-button/UIButtons.en.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 +6 -0
- package/dist/components/ui-calendar/UICalendar.en.d.ts +6 -0
- package/dist/components/ui-calendar/UICalendar.fallback.d.ts +6 -0
- package/dist/components/ui-card/CardClicks.d.ts +40 -0
- package/dist/components/ui-card/UICard.d.ts +41 -0
- package/dist/components/ui-card/UICard.en.d.ts +49 -0
- package/dist/components/ui-card/UICard.es.d.ts +1 -0
- package/dist/components/ui-card/UICards.d.ts +31 -0
- package/dist/components/ui-card/UICards.en.d.ts +31 -0
- package/dist/components/ui-card/UICards.es.d.ts +8 -0
- package/dist/components/ui-checkbox/CheckControl.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.en.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.es.d.ts +1 -0
- package/dist/components/ui-checkbox/UICheckbox.fallback.d.ts +7 -0
- package/dist/components/ui-checkbox/UICheckbox.types.d.ts +5 -0
- package/dist/components/ui-checkbox/UIRadio.d.ts +8 -0
- package/dist/components/ui-checkbox/UIRadio.en.d.ts +6 -0
- package/dist/components/ui-code/UICode.en.d.ts +1 -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/PackHotSwap.d.ts +17 -1
- 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 +11 -0
- package/dist/components/ui-container/UIContainer.en.d.ts +7 -0
- package/dist/components/ui-container/UIContainer.es.d.ts +1 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +268 -0
- package/dist/components/ui-diagram/UIDiagram.en.d.ts +106 -0
- package/dist/components/ui-diagram/UIDiagram.es.d.ts +37 -0
- package/dist/components/ui-diagram/UIDiagramNode.d.ts +98 -0
- package/dist/components/ui-diagram/UIDiagramNode.en.d.ts +38 -0
- package/dist/components/ui-diagram/UIDiagramNode.es.d.ts +16 -0
- package/dist/components/ui-diagram/index.d.ts +8 -0
- package/dist/components/ui-dimension/UIDimension.d.ts +81 -0
- package/dist/components/ui-dimension/UIDimension.en.d.ts +54 -0
- package/dist/components/ui-dimension/UIDimension.es.d.ts +22 -0
- package/dist/components/ui-dimension/index.d.ts +2 -0
- package/dist/components/ui-dimmer/UIDimmer.d.ts +6 -1
- package/dist/components/ui-dimmer/UIDimmer.en.d.ts +1 -0
- package/dist/components/ui-dimmer/UIDimmer.es.d.ts +1 -1
- package/dist/components/ui-divider/UIDivider.d.ts +2 -0
- package/dist/components/ui-divider/UIDivider.en.d.ts +2 -0
- package/dist/components/ui-divider/UIDivider.es.d.ts +1 -0
- package/dist/components/ui-dropdown/UIDropdown.d.ts +6 -0
- package/dist/components/ui-dropdown/UIDropdown.en.d.ts +6 -0
- package/dist/components/ui-dropdown/UIDropdown.fallback.d.ts +6 -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 +4 -2
- package/dist/components/ui-example/UIExample.es.d.ts +3 -2
- 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/FormBinding.d.ts +13 -1
- package/dist/components/ui-form/FormFields.d.ts +4 -4
- package/dist/components/ui-form/UIField.d.ts +30 -3
- package/dist/components/ui-form/UIField.en.d.ts +9 -0
- package/dist/components/ui-form/UIField.es.d.ts +6 -0
- 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 +15 -0
- package/dist/components/ui-form/UIForm.en.d.ts +6 -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-form/index.d.ts +2 -1
- package/dist/components/ui-grid/UIColumn.d.ts +1 -0
- package/dist/components/ui-grid/UIColumn.en.d.ts +1 -0
- 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 +3 -2
- package/dist/components/ui-icon/UIIcon.en.d.ts +3 -2
- 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 +6 -0
- package/dist/components/ui-icon-picker/UIIconPicker.en.d.ts +6 -0
- package/dist/components/ui-icon-picker/UIIconPicker.fallback.d.ts +6 -0
- package/dist/components/ui-image/UIImage.d.ts +34 -0
- package/dist/components/ui-image/UIImage.en.d.ts +23 -0
- package/dist/components/ui-image/UIImage.es.d.ts +2 -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/TextControl.d.ts +7 -0
- package/dist/components/ui-input/UIInput.d.ts +22 -3
- package/dist/components/ui-input/UIInput.en.d.ts +9 -2
- package/dist/components/ui-input/UIInput.es.d.ts +2 -0
- package/dist/components/ui-input/UIInput.fallback.d.ts +9 -2
- package/dist/components/ui-input/UITextarea.d.ts +20 -0
- package/dist/components/ui-input/UITextarea.en.d.ts +15 -0
- package/dist/components/ui-input/UITextarea.es.d.ts +4 -0
- package/dist/components/ui-item/UIItem.d.ts +27 -4
- package/dist/components/ui-item/UIItem.en.d.ts +5 -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/JsonChild.d.ts +30 -0
- package/dist/components/ui-json/UIJson.d.ts +128 -0
- package/dist/components/ui-json/UIJson.en.d.ts +71 -0
- package/dist/components/ui-json/UIJson.es.d.ts +12 -0
- package/dist/components/ui-json/index.d.ts +3 -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 +2 -0
- package/dist/components/ui-label/UILabel.en.d.ts +2 -0
- package/dist/components/ui-label/UILabel.es.d.ts +1 -0
- 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 +2 -0
- package/dist/components/ui-list/UIList.en.d.ts +2 -0
- package/dist/components/ui-list/UIList.es.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 +143 -0
- package/dist/components/ui-markdown/MarkdownEngine.d.ts +14 -2
- package/dist/components/ui-markdown/MarkdownFormats.d.ts +95 -0
- package/dist/components/ui-markdown/MarkdownSource.d.ts +57 -0
- package/dist/components/ui-markdown/UIMarkdown.d.ts +126 -6
- package/dist/components/ui-markdown/UIMarkdown.en.d.ts +111 -8
- package/dist/components/ui-markdown/UIMarkdown.es.d.ts +29 -1
- package/dist/components/ui-markdown/UIMarkdown.types.d.ts +26 -0
- package/dist/components/ui-menu/ScrollingRow.d.ts +79 -0
- package/dist/components/ui-menu/TitleFit.d.ts +3 -0
- package/dist/components/ui-menu/UIMenu.d.ts +97 -4
- package/dist/components/ui-menu/UIMenu.en.d.ts +50 -1
- package/dist/components/ui-menu/UIMenu.es.d.ts +4 -0
- package/dist/components/ui-message/UIMessage.d.ts +2 -0
- package/dist/components/ui-message/UIMessage.en.d.ts +2 -0
- package/dist/components/ui-message/UIMessage.es.d.ts +1 -0
- 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 +15 -0
- package/dist/components/ui-page/UIPage.en.d.ts +15 -0
- package/dist/components/ui-page/UIPage.es.d.ts +1 -0
- package/dist/components/ui-panel/UIPanel.d.ts +6 -0
- package/dist/components/ui-panel/UIPanel.en.d.ts +33 -20
- 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 +1 -0
- package/dist/components/ui-parts/UIAvatar.en.d.ts +1 -0
- 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 +3 -1
- package/dist/components/ui-parts/UIHeader.en.d.ts +3 -1
- 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 +15 -1
- 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 +30 -3
- package/dist/components/ui-popup/UIPopup.en.d.ts +7 -0
- package/dist/components/ui-popup/UIPopup.es.d.ts +1 -0
- package/dist/components/ui-progress/UIProgress.d.ts +2 -0
- package/dist/components/ui-progress/UIProgress.en.d.ts +2 -0
- package/dist/components/ui-progress/UIProgress.es.d.ts +1 -0
- package/dist/components/ui-property-editor/UIProperty.d.ts +132 -5
- package/dist/components/ui-property-editor/UIProperty.en.d.ts +11 -44
- package/dist/components/ui-property-editor/UIProperty.es.d.ts +4 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.d.ts +38 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.en.d.ts +1 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.es.d.ts +4 -0
- package/dist/components/ui-property-editor/UIPropertyEditor.types.d.ts +33 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.d.ts +12 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.en.d.ts +2 -0
- package/dist/components/ui-property-editor/UIPropertyGroup.es.d.ts +9 -0
- package/dist/components/ui-property-editor/index.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 +1 -0
- package/dist/components/ui-rail/UIRail.en.d.ts +1 -0
- package/dist/components/ui-rating/UIRating.d.ts +6 -0
- package/dist/components/ui-rating/UIRating.en.d.ts +6 -0
- package/dist/components/ui-rating/UIRating.fallback.d.ts +6 -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.d.ts +18 -3
- package/dist/components/ui-root/UIRoot.en.d.ts +15 -0
- package/dist/components/ui-root/UIRoot.es.d.ts +1 -0
- package/dist/components/ui-search/UISearch.d.ts +48 -7
- package/dist/components/ui-search/UISearch.en.d.ts +13 -1
- package/dist/components/ui-search/UISearch.es.d.ts +1 -0
- package/dist/components/ui-search/UISearch.fallback.d.ts +13 -1
- package/dist/components/ui-section/UISection.d.ts +30 -1
- package/dist/components/ui-section/UISection.en.d.ts +10 -0
- package/dist/components/ui-section/UISection.es.d.ts +1 -0
- 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 +2 -0
- package/dist/components/ui-segment/UISegment.en.d.ts +2 -0
- package/dist/components/ui-segment/UISegment.es.d.ts +1 -0
- 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 +6 -0
- package/dist/components/ui-select/UISelect.en.d.ts +6 -0
- package/dist/components/ui-select/UISelect.fallback.d.ts +6 -0
- package/dist/components/ui-shape/UIShape.d.ts +23 -2
- package/dist/components/ui-shape/UIShape.en.d.ts +8 -0
- package/dist/components/ui-shape/UIShape.es.d.ts +1 -0
- package/dist/components/ui-shape/UISide.d.ts +4 -0
- package/dist/components/ui-shape/UISide.en.d.ts +4 -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 +209 -0
- package/dist/components/ui-sides/UISides.en.d.ts +122 -0
- package/dist/components/ui-sides/UISides.es.d.ts +30 -0
- package/dist/components/ui-sides/UISides.fallback.d.ts +134 -0
- package/dist/components/ui-sides/index.d.ts +2 -0
- package/dist/components/ui-site-nav/SitePages.d.ts +53 -0
- package/dist/components/ui-site-nav/UISiteNav.d.ts +207 -0
- package/dist/components/ui-site-nav/UISiteNav.en.d.ts +87 -0
- package/dist/components/ui-site-nav/UISiteNav.es.d.ts +29 -0
- package/dist/components/ui-site-nav/index.d.ts +1 -0
- package/dist/components/ui-site-tabs/UISiteTabs.d.ts +126 -0
- package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +49 -0
- package/dist/components/ui-site-tabs/UISiteTabs.es.d.ts +18 -0
- package/dist/components/ui-site-tabs/index.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.d.ts +7 -0
- package/dist/components/ui-slider/UISlider.en.d.ts +7 -0
- package/dist/components/ui-slider/UISlider.es.d.ts +1 -0
- package/dist/components/ui-slider/UISlider.fallback.d.ts +7 -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 +175 -0
- package/dist/components/ui-split-panel/UISplitPanel.en.d.ts +74 -0
- package/dist/components/ui-split-panel/UISplitPanel.es.d.ts +25 -0
- package/dist/components/ui-split-panel/index.d.ts +2 -0
- package/dist/components/ui-stack/UIStack.d.ts +31 -5
- package/dist/components/ui-stack/UIStack.en.d.ts +15 -3
- 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 +1 -0
- package/dist/components/ui-step/UISteps.en.d.ts +1 -0
- package/dist/components/ui-sticky/UISticky.d.ts +4 -0
- package/dist/components/ui-sticky/UISticky.en.d.ts +1 -0
- package/dist/components/ui-tab/UITab.d.ts +8 -0
- package/dist/components/ui-tab/UITab.en.d.ts +1 -0
- package/dist/components/ui-tab/UITabs.d.ts +107 -16
- package/dist/components/ui-tab/UITabs.en.d.ts +40 -1
- package/dist/components/ui-tab/UITabs.es.d.ts +4 -0
- package/dist/components/ui-table/TableEditing.d.ts +77 -0
- 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 +145 -5
- package/dist/components/ui-table/UITable.en.d.ts +19 -0
- package/dist/components/ui-table/UITable.es.d.ts +3 -0
- 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 +11 -0
- package/dist/components/ui-text/UILink.en.d.ts +4 -0
- package/dist/components/ui-text/UIText.d.ts +7 -0
- package/dist/components/ui-text/UIText.en.d.ts +7 -0
- package/dist/components/ui-text/UIText.es.d.ts +2 -0
- package/dist/components/ui-theme-editor/SavedTheme.d.ts +55 -43
- package/dist/components/ui-theme-editor/ThemeDraft.d.ts +15 -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 +157 -26
- package/dist/components/ui-theme-editor/UIThemeEditor.en.d.ts +79 -6
- package/dist/components/ui-theme-editor/UIThemeEditor.es.d.ts +20 -2
- package/dist/components/ui-theme-editor/UIThemeEditor.types.d.ts +0 -2
- 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/HueDropdown.d.ts +47 -0
- package/dist/components/ui-theme-menu/ThemeMenu.d.ts +18 -7
- package/dist/components/ui-theme-menu/ThemePreference.d.ts +145 -36
- package/dist/components/ui-theme-menu/UIThemeMenu.d.ts +118 -7
- package/dist/components/ui-theme-menu/UIThemeMenu.en.d.ts +82 -2
- package/dist/components/ui-theme-menu/UIThemeMenu.es.d.ts +21 -1
- package/dist/components/ui-theme-menu/UIThemeMenu.types.d.ts +36 -8
- package/dist/components/ui-theme-menu/index.d.ts +2 -1
- 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 +13 -10
- package/dist/components/ui-toolbar/UIToolbar.en.d.ts +138 -84
- package/dist/components/ui-toolbar/UIToolbar.es.d.ts +2 -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 +162 -0
- package/dist/components/ui-tree/UITree.en.d.ts +88 -0
- package/dist/components/ui-tree/UITree.es.d.ts +35 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +204 -0
- package/dist/components/ui-tree/UITreeItem.en.d.ts +142 -0
- package/dist/components/ui-tree/UITreeItem.es.d.ts +32 -0
- package/dist/components/ui-tree/index.d.ts +3 -0
- package/dist/components/ui-tree-diagram/TreeData.d.ts +3 -12
- package/dist/components/ui-tree-diagram/TreeLayout.d.ts +54 -21
- package/dist/components/ui-tree-diagram/TreeMeasure.d.ts +36 -0
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +152 -27
- package/dist/components/ui-tree-diagram/UITreeDiagram.en.d.ts +47 -7
- package/dist/components/ui-tree-diagram/UITreeDiagram.es.d.ts +12 -1
- package/dist/components/ui-tree-diagram/UITreeDiagram.types.d.ts +66 -21
- package/dist/components/ui-tree-diagram/UITreeNode.d.ts +148 -0
- package/dist/components/ui-tree-diagram/UITreeNode.en.d.ts +69 -0
- package/dist/components/ui-tree-diagram/UITreeNode.es.d.ts +21 -0
- package/dist/components/ui-tree-diagram/index.d.ts +4 -2
- 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-DmLzT-Bq.js → components.es-BOa_7gFF.js} +498 -109
- package/dist/components.es-BOa_7gFF.js.map +1 -0
- package/dist/core.d.ts +3 -1
- package/dist/core.js +1082 -511
- package/dist/core.js.map +1 -1
- package/dist/crisp-VfYZlTph.js +6 -0
- package/dist/{crisp-CoZRRDuQ.js.map → crisp-VfYZlTph.js.map} +1 -1
- package/dist/docs-components/index.d.ts +1 -0
- package/dist/docs-components/ui-docs-index/UIDocsIndex.d.ts +89 -0
- package/dist/docs-components/ui-docs-index/UIDocsIndex.en.d.ts +43 -0
- package/dist/docs-components/ui-docs-index/index.d.ts +2 -0
- package/dist/docs-components/ui-docs-nav/UIDocsNav.d.ts +54 -87
- package/dist/docs-components/ui-docs-nav/UIDocsNav.types.d.ts +2 -29
- package/dist/docs-components/ui-docs-search/SearchIndex.d.ts +8 -2
- package/dist/docs-components/ui-docs-search/UIDocsSearch.d.ts +10 -0
- package/dist/docs-components/ui-docs-search/UIDocsSearch.en.d.ts +5 -0
- package/dist/elements/AddressParameter.d.ts +87 -0
- package/dist/elements/DOMFormControl.d.ts +5 -0
- package/dist/elements/FormComponent.d.ts +32 -0
- package/dist/elements/LoadableBody.d.ts +6 -1
- package/dist/elements/LoadableComponent.d.ts +10 -1
- package/dist/elements/RootSettings.d.ts +43 -6
- package/dist/elements/SpellUISettings.d.ts +1 -0
- package/dist/elements/StickyWatch.d.ts +20 -0
- package/dist/elements/elements.types.d.ts +15 -0
- package/dist/elements/index.d.ts +2 -0
- package/dist/forms.js +93 -63
- package/dist/forms.js.map +1 -1
- package/dist/fruity-BRVlgJZd.js +6 -0
- package/dist/fruity-BRVlgJZd.js.map +1 -0
- package/dist/{fruity.theme-BJcMiPl1.js → fruity.theme-CbC7Jyvk.js} +2 -2
- package/dist/fruity.theme-CbC7Jyvk.js.map +1 -0
- package/dist/glass-x9tbbwVq.js +6 -0
- package/dist/glass-x9tbbwVq.js.map +1 -0
- package/dist/glass.theme-24wY2wH9.js +6 -0
- package/dist/glass.theme-24wY2wH9.js.map +1 -0
- package/dist/hot.js +536 -26
- package/dist/hot.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +91 -81
- package/dist/jsx.d.ts +21149 -10377
- package/dist/matrix-QY2gWbJ0.js +6 -0
- package/dist/{matrix-CqA59hiF.js.map → matrix-QY2gWbJ0.js.map} +1 -1
- package/dist/{matrix.theme-jqQZjcq3.js → matrix.theme-_8xtwhDq.js} +2 -2
- package/dist/matrix.theme-_8xtwhDq.js.map +1 -0
- package/dist/midnight-BxlTQSfw.js +6 -0
- package/dist/{midnight-BnoVOrhC.js.map → midnight-BxlTQSfw.js.map} +1 -1
- package/dist/mockup-83ELBuVr.js +6 -0
- package/dist/mockup-83ELBuVr.js.map +1 -0
- package/dist/mockup.theme-DmpBgGBl.js +6 -0
- package/dist/mockup.theme-DmpBgGBl.js.map +1 -0
- package/dist/paper-M61nUilz.js +6 -0
- package/dist/{paper-CynH8ZuT.js.map → paper-M61nUilz.js.map} +1 -1
- package/dist/persist.types-D2m6wD-S.js +9 -0
- package/dist/persist.types-D2m6wD-S.js.map +1 -0
- package/dist/pop-CxXfytjk.js +6 -0
- package/dist/{pop-D2i9V_rG.js.map → pop-CxXfytjk.js.map} +1 -1
- package/dist/runtime/DataTooltips.d.ts +75 -0
- package/dist/runtime/PropertyControls.d.ts +15 -1
- package/dist/runtime/Sources.d.ts +16 -4
- package/dist/runtime/Styles.d.ts +11 -0
- package/dist/runtime/Themes.d.ts +10 -4
- package/dist/runtime/UIRuntime.d.ts +4 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/runtime.types.d.ts +18 -85
- package/dist/spell-By5Y3jKP.js +6 -0
- package/dist/{spell-BFtLICm7.js.map → spell-By5Y3jKP.js.map} +1 -1
- package/dist/{spell.theme-B7AU7SQX.js → spell.theme-DxGj7qHx.js} +2 -2
- package/dist/spell.theme-DxGj7qHx.js.map +1 -0
- package/dist/styles/CodeThemeFile.d.ts +73 -0
- package/dist/styles/StyleGenerator.d.ts +6 -0
- package/dist/styles/styles.en.d.ts +141 -3
- package/dist/styles/styles.types.d.ts +2 -0
- package/dist/{styles.en-RLpYiO5_.js → styles.en-CUUxNwHo.js} +71 -14
- package/dist/styles.en-CUUxNwHo.js.map +1 -0
- package/dist/styles.js +13 -13
- package/dist/styles.js.map +1 -1
- package/dist/ui-accordion.js +54 -53
- package/dist/ui-accordion.js.map +1 -1
- package/dist/ui-action.js +20 -19
- package/dist/ui-action.js.map +1 -1
- package/dist/ui-ad.js +5 -4
- package/dist/ui-ad.js.map +1 -1
- package/dist/ui-breadcrumbs.js +15 -13
- package/dist/ui-breadcrumbs.js.map +1 -1
- package/dist/ui-button.js +132 -125
- package/dist/ui-button.js.map +1 -1
- package/dist/ui-calendar.js +208 -206
- package/dist/ui-calendar.js.map +1 -1
- package/dist/ui-card.js +260 -98
- package/dist/ui-card.js.map +1 -1
- package/dist/ui-checkbox.js +95 -81
- package/dist/ui-checkbox.js.map +1 -1
- package/dist/ui-code.js +25 -24
- package/dist/ui-code.js.map +1 -1
- package/dist/ui-comment.js +14 -12
- package/dist/ui-comment.js.map +1 -1
- package/dist/ui-components.js +7 -6
- package/dist/ui-components.js.map +1 -1
- package/dist/ui-container.js +24 -12
- package/dist/ui-container.js.map +1 -1
- package/dist/ui-diagram.js +1328 -0
- package/dist/ui-diagram.js.map +1 -0
- package/dist/ui-dimension.js +779 -0
- package/dist/ui-dimension.js.map +1 -0
- package/dist/ui-dimmer.js +36 -34
- package/dist/ui-dimmer.js.map +1 -1
- package/dist/ui-divider.js +7 -5
- package/dist/ui-divider.js.map +1 -1
- package/dist/ui-dropdown.js +107 -105
- package/dist/ui-dropdown.js.map +1 -1
- package/dist/ui-embed.js +36 -35
- package/dist/ui-embed.js.map +1 -1
- package/dist/ui-emoji.js +10 -9
- package/dist/ui-emoji.js.map +1 -1
- package/dist/ui-example.js +63 -61
- package/dist/ui-example.js.map +1 -1
- package/dist/ui-feed.js +12 -10
- package/dist/ui-feed.js.map +1 -1
- package/dist/ui-flag.js +10 -9
- package/dist/ui-flag.js.map +1 -1
- package/dist/ui-flyout.js +7 -6
- package/dist/ui-flyout.js.map +1 -1
- package/dist/ui-form.js +244 -162
- package/dist/ui-form.js.map +1 -1
- package/dist/ui-grid.js +21 -18
- package/dist/ui-grid.js.map +1 -1
- package/dist/ui-icon-picker.js +46 -44
- package/dist/ui-icon-picker.js.map +1 -1
- package/dist/ui-icon.js +17 -14
- package/dist/ui-icon.js.map +1 -1
- package/dist/ui-image.js +93 -55
- package/dist/ui-image.js.map +1 -1
- package/dist/ui-include.js +18 -17
- package/dist/ui-include.js.map +1 -1
- package/dist/ui-input.js +154 -112
- package/dist/ui-input.js.map +1 -1
- package/dist/ui-item.js +152 -102
- package/dist/ui-item.js.map +1 -1
- package/dist/ui-items.js +9 -8
- package/dist/ui-items.js.map +1 -1
- package/dist/ui-json.js +115 -0
- package/dist/ui-json.js.map +1 -0
- package/dist/ui-keys.js +1 -1
- package/dist/ui-label.js +18 -15
- package/dist/ui-label.js.map +1 -1
- package/dist/ui-list.js +7 -5
- package/dist/ui-list.js.map +1 -1
- package/dist/ui-loader.js +7 -6
- package/dist/ui-loader.js.map +1 -1
- package/dist/ui-markdown.js +975 -83
- package/dist/ui-markdown.js.map +1 -1
- package/dist/ui-menu.js +329 -196
- package/dist/ui-menu.js.map +1 -1
- package/dist/ui-message.js +20 -18
- package/dist/ui-message.js.map +1 -1
- package/dist/ui-modal.js +46 -45
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-nag.js +19 -18
- package/dist/ui-nag.js.map +1 -1
- package/dist/ui-page.js +8 -7
- package/dist/ui-page.js.map +1 -1
- package/dist/ui-panel.js +28 -17
- package/dist/ui-panel.js.map +1 -1
- package/dist/ui-parts.js +66 -52
- package/dist/ui-parts.js.map +1 -1
- package/dist/ui-placeholder.js +21 -16
- package/dist/ui-placeholder.js.map +1 -1
- package/dist/ui-popup.js +113 -84
- package/dist/ui-popup.js.map +1 -1
- package/dist/ui-progress.js +9 -7
- package/dist/ui-progress.js.map +1 -1
- package/dist/ui-property-editor.js +706 -203
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-quote.js +5 -4
- package/dist/ui-quote.js.map +1 -1
- package/dist/ui-rail.js +5 -4
- package/dist/ui-rail.js.map +1 -1
- package/dist/ui-rating.js +31 -29
- package/dist/ui-rating.js.map +1 -1
- package/dist/ui-reveal.js +7 -6
- package/dist/ui-reveal.js.map +1 -1
- package/dist/ui-root.js +324 -158
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-search.js +210 -168
- package/dist/ui-search.js.map +1 -1
- package/dist/ui-section.js +167 -130
- package/dist/ui-section.js.map +1 -1
- package/dist/ui-segment.js +15 -12
- package/dist/ui-segment.js.map +1 -1
- package/dist/ui-select.js +83 -81
- package/dist/ui-select.js.map +1 -1
- package/dist/ui-shape.js +86 -58
- package/dist/ui-shape.js.map +1 -1
- package/dist/ui-sidebar.js +59 -56
- package/dist/ui-sidebar.js.map +1 -1
- package/dist/ui-sides.js +325 -0
- package/dist/ui-sides.js.map +1 -0
- package/dist/ui-site-nav.js +329 -0
- package/dist/ui-site-nav.js.map +1 -0
- package/dist/ui-site-tabs.js +177 -0
- package/dist/ui-site-tabs.js.map +1 -0
- package/dist/ui-slider.js +84 -81
- package/dist/ui-slider.js.map +1 -1
- package/dist/ui-space.js +7 -6
- package/dist/ui-space.js.map +1 -1
- package/dist/ui-split-panel.js +298 -0
- package/dist/ui-split-panel.js.map +1 -0
- package/dist/ui-stack.js +47 -23
- package/dist/ui-stack.js.map +1 -1
- package/dist/ui-statistic.js +15 -13
- package/dist/ui-statistic.js.map +1 -1
- package/dist/ui-step.js +31 -29
- package/dist/ui-step.js.map +1 -1
- package/dist/ui-sticky.js +7 -6
- package/dist/ui-sticky.js.map +1 -1
- package/dist/ui-tab.js +230 -138
- package/dist/ui-tab.js.map +1 -1
- package/dist/ui-table.js +724 -162
- package/dist/ui-table.js.map +1 -1
- package/dist/ui-terms.js +12 -10
- package/dist/ui-terms.js.map +1 -1
- package/dist/ui-text.js +53 -28
- package/dist/ui-text.js.map +1 -1
- package/dist/ui-theme-editor.js +1018 -1545
- package/dist/ui-theme-editor.js.map +1 -1
- package/dist/ui-theme-menu-CuIjr8Ou.js +1493 -0
- package/dist/ui-theme-menu-CuIjr8Ou.js.map +1 -0
- package/dist/ui-toast.js +45 -44
- package/dist/ui-toast.js.map +1 -1
- package/dist/ui-toc.js +75 -74
- package/dist/ui-toc.js.map +1 -1
- package/dist/ui-toolbar.js +51 -73
- package/dist/ui-toolbar.js.map +1 -1
- package/dist/ui-transition.js +12 -11
- package/dist/ui-transition.js.map +1 -1
- package/dist/ui-tree-diagram.js +676 -197
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree.js +625 -0
- package/dist/ui-tree.js.map +1 -0
- package/dist/ui-video.js +13 -11
- package/dist/ui-video.js.map +1 -1
- package/dist/ui-visibility.js +26 -25
- package/dist/ui-visibility.js.map +1 -1
- package/dist/ui-zoom.js +79 -78
- package/dist/ui-zoom.js.map +1 -1
- package/dist/util/TopLayerTip.d.ts +28 -0
- package/dist/util/index.d.ts +5 -2
- package/dist/vocabulary/DefaultValues.d.ts +34 -0
- package/dist/vocabulary/SharedVocabulary.d.ts +4 -0
- package/dist/vocabulary/SharedVocabulary.es.d.ts +7 -0
- package/dist/vocabulary/ValueSets.d.ts +18 -0
- package/dist/vocabulary/Vocabulary.d.ts +1 -0
- package/dist/vocabulary/defaults.generated.d.ts +6 -0
- package/dist/vocabulary/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/MarkdownEngine-CbuT9Mjc.js.map +0 -1
- package/dist/PrefStore-CeaTtjTz.js.map +0 -1
- package/dist/UIButton-XkfGqgh6.js +0 -6
- package/dist/UIButton-XkfGqgh6.js.map +0 -1
- package/dist/UIInput-BUudZstW.js +0 -6
- package/dist/UIInput-BUudZstW.js.map +0 -1
- package/dist/UIKeys-DJF2TIKE.js.map +0 -1
- package/dist/UILabel-C1jy3Yl8.js +0 -6
- package/dist/UILabel-C1jy3Yl8.js.map +0 -1
- package/dist/UIMenu-Btd-8V3A.js +0 -42
- package/dist/UIMenu-Btd-8V3A.js.map +0 -1
- package/dist/UIRuntime-BBuehGly.js.map +0 -1
- package/dist/components.es-DmLzT-Bq.js.map +0 -1
- package/dist/crisp-CoZRRDuQ.js +0 -6
- package/dist/fruity-CQFYeRlh.js +0 -6
- package/dist/fruity-CQFYeRlh.js.map +0 -1
- package/dist/fruity.theme-BJcMiPl1.js.map +0 -1
- package/dist/glass-CAfW11kL.js +0 -6
- package/dist/glass-CAfW11kL.js.map +0 -1
- package/dist/glass.theme-DQcBbtCW.js +0 -6
- package/dist/glass.theme-DQcBbtCW.js.map +0 -1
- package/dist/matrix-CqA59hiF.js +0 -6
- package/dist/matrix.theme-jqQZjcq3.js.map +0 -1
- package/dist/midnight-BnoVOrhC.js +0 -6
- package/dist/paper-CynH8ZuT.js +0 -6
- package/dist/persist.types-CsZxS8TG.js +0 -9
- package/dist/persist.types-CsZxS8TG.js.map +0 -1
- package/dist/pop-D2i9V_rG.js +0 -6
- package/dist/spell-BFtLICm7.js +0 -6
- package/dist/spell.theme-B7AU7SQX.js.map +0 -1
- package/dist/styles.en-RLpYiO5_.js.map +0 -1
- package/dist/ui-theme-menu-DyKZygpV.js +0 -921
- package/dist/ui-theme-menu-DyKZygpV.js.map +0 -1
package/dist/ui-popup.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import "./rolldown-runtime-CYGlBXrH.js";
|
|
2
|
-
import { Bt as e, D as t, Disclosure as n, Ft as r, G as i,
|
|
3
|
-
import { Show as
|
|
4
|
-
import { className as
|
|
2
|
+
import { Bt as e, D as t, Disclosure as n, Ft as r, G as i, Ht as a, K as o, Lt as s, NodeType as c, Rt as ee, UI as l, UIComponent as te, Ut as u, Vt as d, a as ne, after as re, aria as f, beforeNextPaint as ie, derived as ae, f as p, jt as oe, on as m, onChange as h, proto as se, protoMerged as ce, state as le, untracked as ue, whileConnected as de, zt as fe } from "./core.js";
|
|
3
|
+
import { Show as g } from "solid-js";
|
|
4
|
+
import { className as _, createComponent as v, effect as y, getOwner as b, insert as x, isServer as S, readShallow as C, ref as pe, setAttribute as w, template as T } from "@solidjs/web";
|
|
5
5
|
//#region src/components/ui-popup/UIPopup.en.ts
|
|
6
|
-
var
|
|
6
|
+
var me = {
|
|
7
7
|
tag: "ui-popup",
|
|
8
|
+
icon: "comment outline",
|
|
8
9
|
topics: [
|
|
9
10
|
"popups",
|
|
10
11
|
"overlays",
|
|
@@ -146,6 +147,13 @@ var de = {
|
|
|
146
147
|
kind: "json",
|
|
147
148
|
reflect: !1,
|
|
148
149
|
description: "The target as a PROPERTY (an `Element`); wins over `for`."
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: "at",
|
|
153
|
+
group: "behaviour",
|
|
154
|
+
kind: "json",
|
|
155
|
+
reflect: !1,
|
|
156
|
+
description: "A point in the window, `{ x, y }`, to open at instead of a target: a right click's menu. With `open-on=\"manual\"` and `visible`; it stays inside the window, takes focus and gives it back."
|
|
149
157
|
}
|
|
150
158
|
],
|
|
151
159
|
events: [{
|
|
@@ -183,50 +191,50 @@ var de = {
|
|
|
183
191
|
}],
|
|
184
192
|
texts: [],
|
|
185
193
|
ownsParts: ["header", "content"]
|
|
186
|
-
}, fe = "@layer ui.components.popup.types{:host{--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-scale:initial;--_ui-popup-duration:var(--ui-popup-duration,var(--ui-duration-normal));z-index:var(--ui-z-popup);box-sizing:border-box;width:max-content;height:max-content;color:inherit;position-try-fallbacks:flip-block, flip-inline;container-type:anchored;transition-property:display,overlay;transition-duration:var(--_ui-popup-duration);transition-behavior:allow-discrete;background:0 0;border:0;margin:0;padding:0;display:block;position:absolute;inset:auto;overflow:visible}:host(:not(:popover-open)){display:none}:host(:state(fluid)){width:anchor-size(width)}.ui.popup{--_ui-popup-background:var(--ui-popup-background,var(--ui-surface));--_ui-popup-color:var(--ui-popup-color,var(--ui-text-color));--_ui-popup-border-color:var(--ui-popup-border-color,var(--ui-border-color-strong));--_ui-popup-shadow:var(--ui-popup-shadow,var(--ui-shadow-floating));--_ui-popup-radius:var(--ui-popup-radius,var(--ui-radius));--_ui-popup-padding:var(--ui-popup-padding,.833em 1em);--_ui-popup-max-width:var(--ui-popup-max-width,250px);--_ui-popup-wide-width:var(--ui-popup-wide-width,350px);--_ui-popup-very-wide-width:var(--ui-popup-very-wide-width,550px);--_ui-popup-arrow-size:var(--ui-popup-arrow-size,.71428em);--_ui-popup-arrow-edge-distance:var(--ui-popup-arrow-edge-distance,1em);--_ui-popup-arrow-offset:var(--ui-popup-arrow-offset,calc(var(--_ui-popup-arrow-size) / -2 + .05em));--_ui-popup-arrow-edge:var(--ui-popup-arrow-edge,var(--_ui-popup-border-color));--_ui-popup-distance:var(--ui-popup-distance,var(--_ui-popup-arrow-size));--_ui-popup-inverted-background:var(--ui-popup-inverted-background,var(--ui-ink));--_ui-popup-inverted-color:var(--ui-popup-inverted-color,var(--ui-surface));--_ui-popup-loading-opacity:var(--ui-popup-loading-opacity,.3);--_ui-popup-duration:var(--ui-popup-duration,var(--ui-duration-normal));--_ui-popup-header-font-size:var(--ui-popup-header-font-size,1.14285em);--_ui-popup-header-distance:var(--ui-popup-header-distance,.5em);--_popup-arrow-shadow:1px 1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(calc(100% + 2px) -5px, calc(100% + 2px) calc(100% + 2px), -5px calc(100% + 2px));--_popup-arrow-edge:var(--ui-color,var(--_ui-popup-arrow-edge));z-index:var(--ui-z-popup);box-sizing:border-box;min-width:min-content;max-width:var(--_ui-popup-max-width);padding:var(--_ui-popup-padding);border:var(--ui-border-width) solid var(--ui-color,var(--_ui-popup-border-color));border-radius:var(--_ui-popup-radius);background:var(--ui-color,var(--_ui-popup-background));box-shadow:var(--_ui-popup-shadow);color:var(--ui-color-on,var(--_ui-popup-color));font-family:var(--ui-font-family);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));font-style:normal;font-weight:var(--ui-font-weight-normal);line-height:var(--ui-line-height);text-align:start;margin:0;display:none;position:absolute;top:0;right:0}:host>.ui.popup{opacity:1;transition:opacity var(--_ui-popup-duration) var(--ui-ease), transform var(--_ui-popup-duration) var(--ui-ease);display:block;position:relative;top:auto;right:auto;transform:none}:host(:not(:popover-open))>.ui.popup{opacity:0;transform:scale(.8)}@starting-style{:host(:popover-open)>.ui.popup{opacity:0;transform:scale(.8)}}.ui.popup:before{content:\"\";z-index:1;width:var(--_ui-popup-arrow-size);height:var(--_ui-popup-arrow-size);background:inherit;box-shadow:var(--_popup-arrow-shadow);clip-path:var(--_popup-arrow-clip,none);position:absolute;transform:rotate(45deg)}}@layer ui.components.popup.content{.ui.popup>.header{font-family:var(--ui-font-family-heading);font-size:var(--_ui-popup-header-font-size);font-weight:var(--ui-font-weight-bold);padding:0;line-height:1.2;display:block}.ui.popup>.header+.content{padding-top:var(--_ui-popup-header-distance)}.ui.popup>.content{display:block}.ui.popup>.ui.grid:not(.padded),.ui.popup>::slotted(ui-grid:not([padding])){width:calc(100% + 2em);margin:-.7em -1em}}@layer ui.components.popup.variations{.ui.top.popup{margin:0 0 var(--_ui-popup-distance)}.ui.bottom.popup{margin:var(--_ui-popup-distance) 0 0;--_popup-arrow-shadow:-1px -1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-2px -2px, calc(100% + 5px) -2px, -2px calc(100% + 5px))}.ui.left.center.popup{margin:0 var(--_ui-popup-distance) 0 0;transform-origin:100%;--_popup-arrow-shadow:1px -1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-5px -2px, calc(100% + 2px) -2px, calc(100% + 2px) calc(100% + 5px))}.ui.right.center.popup{margin:0 0 0 var(--_ui-popup-distance);transform-origin:0;--_popup-arrow-shadow:-1px 1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-2px -5px, calc(100% + 5px) calc(100% + 2px), -2px calc(100% + 2px))}.ui.top.left.popup{transform-origin:0 100%}.ui.top.center.popup{transform-origin:bottom}.ui.top.right.popup{transform-origin:100% 100%}.ui.bottom.left.popup{transform-origin:0 0}.ui.bottom.center.popup{transform-origin:top}.ui.bottom.right.popup{transform-origin:100% 0}.ui.bottom.center.popup:before{inset:var(--_ui-popup-arrow-offset) auto auto 50%;margin-left:var(--_ui-popup-arrow-offset)}.ui.bottom.left.popup:before{inset:var(--_ui-popup-arrow-offset) auto auto var(--_ui-popup-arrow-edge-distance)}.ui.bottom.right.popup:before{inset:var(--_ui-popup-arrow-offset) var(--_ui-popup-arrow-edge-distance) auto auto}.ui.top.center.popup:before{inset:auto auto var(--_ui-popup-arrow-offset) 50%;margin-left:var(--_ui-popup-arrow-offset)}.ui.top.left.popup:before{inset:auto auto var(--_ui-popup-arrow-offset) var(--_ui-popup-arrow-edge-distance)}.ui.top.right.popup:before{inset:auto var(--_ui-popup-arrow-edge-distance) var(--_ui-popup-arrow-offset) auto}.ui.left.center.popup:before{inset:50% var(--_ui-popup-arrow-offset) auto auto;margin-top:var(--_ui-popup-arrow-offset)}.ui.right.center.popup:before{inset:50% auto auto var(--_ui-popup-arrow-offset);margin-top:var(--_ui-popup-arrow-offset)}.ui[class*=left\\ top].left.popup,.ui[class*=left\\ bottom].left.popup{margin:0 var(--_ui-popup-distance) 0 0;--_popup-arrow-shadow:1px -1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-5px -2px, calc(100% + 2px) -2px, calc(100% + 2px) calc(100% + 5px))}.ui[class*=right\\ top].right.popup,.ui[class*=right\\ bottom].right.popup{margin:0 0 0 var(--_ui-popup-distance);--_popup-arrow-shadow:-1px 1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-2px -5px, calc(100% + 5px) calc(100% + 2px), -2px calc(100% + 2px))}.ui[class*=left\\ top].left.popup{transform-origin:100% 0}.ui[class*=left\\ bottom].left.popup{transform-origin:100% 100%}.ui[class*=right\\ top].right.popup{transform-origin:0 0}.ui[class*=right\\ bottom].right.popup{transform-origin:0 100%}.ui[class*=left\\ top].left.popup:before{inset:var(--_ui-popup-arrow-edge-distance) var(--_ui-popup-arrow-offset) auto auto}.ui[class*=left\\ bottom].left.popup:before{inset:auto var(--_ui-popup-arrow-offset) var(--_ui-popup-arrow-edge-distance) auto}.ui[class*=right\\ top].right.popup:before{inset:var(--_ui-popup-arrow-edge-distance) auto auto var(--_ui-popup-arrow-offset)}.ui[class*=right\\ bottom].right.popup:before{inset:auto auto var(--_ui-popup-arrow-edge-distance) var(--_ui-popup-arrow-offset)}.ui.basic.popup:before{display:none}.ui.fixed.popup{width:var(--_ui-popup-max-width)}.ui.wide.popup{--_ui-popup-max-width:var(--_ui-popup-wide-width)}.ui[class*=very\\ wide].popup{--_ui-popup-max-width:var(--_ui-popup-very-wide-width)}@media (width<768px){.ui.wide.popup,.ui[class*=very\\ wide].popup{--_ui-popup-max-width:var(--ui-popup-max-width,250px)}}.ui.fluid.popup{width:100%;max-width:none}.ui.flowing.popup{max-width:none}.ui.flowing.popup>::slotted(ui-grid){container-type:normal}.ui.inverted.popup{--ui-inverted:1;--_popup-arrow-shadow:none;background:var(--ui-color-inverted,var(--_ui-popup-inverted-background));box-shadow:none;color:var(--ui-color-inverted-on,var(--_ui-popup-inverted-color));border-color:#0000}.ui.inverted.popup>.header{color:inherit;background:0 0}}@layer ui.components.popup.states{.ui.visible.popup{display:block}.ui.popup[popover]:not(:popover-open){display:none}.ui.loading.popup{cursor:default;pointer-events:none;-webkit-user-select:none;user-select:none}.ui.loading.popup>*,.ui.loading.popup>::slotted(*){opacity:var(--_ui-popup-loading-opacity)}.ui.loading.popup:after{content:\"\";z-index:2;border:.2em solid oklch(from currentColor l c h / .15);border-radius:var(--ui-radius-circle);border-top-color:currentColor;width:2em;height:2em;margin:-1em 0 0 -1em;animation:.6s linear infinite ui-popup-spin;position:absolute;top:50%;left:50%}}@keyframes ui-popup-spin{to{transform:rotate(360deg)}}", pe = "/*\n * `<ui-popup>` after a flip: the gap and the arrow move to the side that now faces the target,\n * where anchored container queries exist (the DOM element is `container-type: anchored`, `UIPopup.css`).\n * Elsewhere a flipped popup keeps its first side's arrow.\n * - A SEPARATE sheet, imported `?raw`: Lightning CSS (1.30) can't parse `@container anchored(...)` and fails the\n * whole file, so this one skips the CSS pipeline. MUST stay self-contained: no `@import`, no `@custom-media`.\n * - Same sublayer as the position rules it overrides (`UIPopup.css`, variations), adopted after them,\n * with selectors of the same specificity (`:is(.left, .center, .right)` matches the arrow rules' extra class).\n */\n\n@layer ui.components.popup.variations {\n @container anchored(fallback: flip-block) {\n .ui.top.popup {\n --_popup-arrow-shadow: -1px -1px 0 0 var(--_popup-arrow-edge);\n margin: var(--_ui-popup-distance) 0 0;\n }\n .ui.top:is(.left, .center, .right).popup::before {\n top: var(--_ui-popup-arrow-offset);\n bottom: auto;\n }\n .ui.bottom.popup {\n --_popup-arrow-shadow: 1px 1px 0 0 var(--_popup-arrow-edge);\n margin: 0 0 var(--_ui-popup-distance);\n }\n .ui.bottom:is(.left, .center, .right).popup::before {\n top: auto;\n bottom: var(--_ui-popup-arrow-offset);\n }\n /*\n * Beside + top / bottom edge: still beside, so the arrow moves along the edge instead\n * (ties the rules above, later).\n */\n .ui[class*=\"left top\"].top.popup::before,\n .ui[class*=\"right top\"].top.popup::before {\n top: auto;\n bottom: var(--_ui-popup-arrow-edge-distance);\n }\n .ui[class*=\"left bottom\"].bottom.popup::before,\n .ui[class*=\"right bottom\"].bottom.popup::before {\n top: var(--_ui-popup-arrow-edge-distance);\n bottom: auto;\n }\n }\n @container anchored(fallback: flip-inline) {\n .ui.left.center.popup {\n --_popup-arrow-shadow: -1px 1px 0 0 var(--_popup-arrow-edge);\n margin: 0 0 0 var(--_ui-popup-distance);\n }\n .ui.left.center.popup::before {\n right: auto;\n left: var(--_ui-popup-arrow-offset);\n }\n .ui.right.center.popup {\n --_popup-arrow-shadow: 1px -1px 0 0 var(--_popup-arrow-edge);\n margin: 0 var(--_ui-popup-distance) 0 0;\n }\n .ui.right.center.popup::before {\n right: var(--_ui-popup-arrow-offset);\n left: auto;\n }\n .ui[class*=\"left top\"].left.popup,\n .ui[class*=\"left bottom\"].left.popup {\n --_popup-arrow-shadow: -1px 1px 0 0 var(--_popup-arrow-edge);\n margin: 0 0 0 var(--_ui-popup-distance);\n }\n .ui[class*=\"left top\"].left.popup::before,\n .ui[class*=\"left bottom\"].left.popup::before {\n right: auto;\n left: var(--_ui-popup-arrow-offset);\n }\n .ui[class*=\"right top\"].right.popup,\n .ui[class*=\"right bottom\"].right.popup {\n --_popup-arrow-shadow: 1px -1px 0 0 var(--_popup-arrow-edge);\n margin: 0 var(--_ui-popup-distance) 0 0;\n }\n .ui[class*=\"right top\"].right.popup::before,\n .ui[class*=\"right bottom\"].right.popup::before {\n right: var(--_ui-popup-arrow-offset);\n left: auto;\n }\n }\n}\n", O = /* @__PURE__ */ D("<div>"), me = /* @__PURE__ */ D("<div><!><slot>"), k = /* @__PURE__ */ D("<span>"), he = /* @__PURE__ */ D("<span><!><slot>"), A, j, M, N, P, F, I, L, R, z, B, V, H, U, W, G, K, q, J, Y, X, Z = class _UIPopup extends (J = ee, q = [ae], K = [oe], G = [ce], W = [_], U = [h("toggle")], H = [h("command")], V = [re], B = [se], z = [g("isReady", "targetElement", "trigger")], R = [g("ariaElement", "isInteractive", "isVisible")], L = [_], I = [h("pointerenter")], F = [h("pointerleave")], P = [h("focusout")], N = [p("role")], M = [p("label")], j = [g("position", { writesDOMElement: !0 })], A = [g("isReady", "trigger")], J) {
|
|
194
|
+
}, he = "@layer ui.components.popup.types{:host{--ui-color:initial;--ui-color-text:initial;--ui-color-header:initial;--ui-color-border:initial;--ui-color-background:initial;--ui-color-inverted:initial;--ui-color-on:initial;--ui-color-inverted-on:initial;--ui-scale:initial;--_ui-popup-duration:var(--ui-popup-duration,var(--ui-duration-normal));z-index:var(--ui-z-popup);box-sizing:border-box;width:max-content;height:max-content;color:inherit;position-try-fallbacks:flip-block, flip-inline, flip-block flip-inline;container-type:anchored;transition-property:display,overlay;transition-duration:var(--_ui-popup-duration);transition-behavior:allow-discrete;background:0 0;border:0;margin:0;padding:0;display:block;position:absolute;inset:auto;overflow:visible}:host(:not(:popover-open)){display:none}:host(:state(fluid)){width:anchor-size(width)}.ui.popup{--_ui-popup-background:var(--ui-popup-background,var(--ui-surface));--_ui-popup-color:var(--ui-popup-color,var(--ui-text-color));--_ui-popup-border-color:var(--ui-popup-border-color,var(--ui-border-color-strong));--_ui-popup-shadow:var(--ui-popup-shadow,var(--ui-shadow-floating));--_ui-popup-radius:var(--ui-popup-radius,var(--ui-radius));--_ui-popup-padding:var(--ui-popup-padding,.833em 1em);--_ui-popup-max-width:var(--ui-popup-max-width,250px);--_ui-popup-wide-width:var(--ui-popup-wide-width,350px);--_ui-popup-very-wide-width:var(--ui-popup-very-wide-width,550px);--_ui-popup-arrow-size:var(--ui-popup-arrow-size,.71428em);--_ui-popup-arrow-edge-distance:var(--ui-popup-arrow-edge-distance,1em);--_ui-popup-arrow-offset:var(--ui-popup-arrow-offset,calc(var(--_ui-popup-arrow-size) / -2 + .05em));--_ui-popup-arrow-edge:var(--ui-popup-arrow-edge,var(--_ui-popup-border-color));--_ui-popup-distance:var(--ui-popup-distance,var(--_ui-popup-arrow-size));--_ui-popup-inverted-background:var(--ui-popup-inverted-background,var(--ui-ink));--_ui-popup-inverted-color:var(--ui-popup-inverted-color,var(--ui-surface));--_ui-popup-loading-opacity:var(--ui-popup-loading-opacity,.3);--_ui-popup-duration:var(--ui-popup-duration,var(--ui-duration-normal));--_ui-popup-header-font-size:var(--ui-popup-header-font-size,1.14285em);--_ui-popup-header-distance:var(--ui-popup-header-distance,.5em);--_popup-arrow-shadow:1px 1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(calc(100% + 2px) -5px, calc(100% + 2px) calc(100% + 2px), -5px calc(100% + 2px));--_popup-arrow-edge:var(--ui-color,var(--_ui-popup-arrow-edge));z-index:var(--ui-z-popup);box-sizing:border-box;min-width:min-content;max-width:var(--_ui-popup-max-width);padding:var(--_ui-popup-padding);border:var(--ui-border-width) solid var(--ui-color,var(--_ui-popup-border-color));border-radius:var(--_ui-popup-radius);background:var(--ui-color,var(--_ui-popup-background));box-shadow:var(--_ui-popup-shadow);color:var(--ui-color-on,var(--_ui-popup-color));font-family:var(--ui-font-family);font-size:calc(var(--ui-font-size) * var(--ui-scale,1));font-style:normal;font-weight:var(--ui-font-weight-normal);line-height:var(--ui-line-height);text-align:start;margin:0;display:none;position:absolute;top:0;right:0}:host>.ui.popup{opacity:1;transition:opacity var(--_ui-popup-duration) var(--ui-ease), transform var(--_ui-popup-duration) var(--ui-ease);display:block;position:relative;top:auto;right:auto;transform:none}:host(:not(:popover-open))>.ui.popup{opacity:0;transform:scale(.8)}@starting-style{:host(:popover-open)>.ui.popup{opacity:0;transform:scale(.8)}}.ui.popup:before{content:\"\";z-index:1;width:var(--_ui-popup-arrow-size);height:var(--_ui-popup-arrow-size);background:inherit;box-shadow:var(--_popup-arrow-shadow);clip-path:var(--_popup-arrow-clip,none);position:absolute;transform:rotate(45deg)}}@layer ui.components.popup.content{.ui.popup>.header{font-family:var(--ui-font-family-heading);font-size:var(--_ui-popup-header-font-size);font-weight:var(--ui-font-weight-bold);padding:0;line-height:1.2;display:block}.ui.popup>.header+.content{padding-top:var(--_ui-popup-header-distance)}.ui.popup>.content{display:block}.ui.popup>.ui.grid:not(.padded),.ui.popup>::slotted(ui-grid:not([padding])){width:calc(100% + 2em);margin:-.7em -1em}}@layer ui.components.popup.variations{.ui.top.popup{margin:0 0 var(--_ui-popup-distance)}.ui.bottom.popup{margin:var(--_ui-popup-distance) 0 0;--_popup-arrow-shadow:-1px -1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-2px -2px, calc(100% + 5px) -2px, -2px calc(100% + 5px))}.ui.left.center.popup{margin:0 var(--_ui-popup-distance) 0 0;transform-origin:100%;--_popup-arrow-shadow:1px -1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-5px -2px, calc(100% + 2px) -2px, calc(100% + 2px) calc(100% + 5px))}.ui.right.center.popup{margin:0 0 0 var(--_ui-popup-distance);transform-origin:0;--_popup-arrow-shadow:-1px 1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-2px -5px, calc(100% + 5px) calc(100% + 2px), -2px calc(100% + 2px))}.ui.top.left.popup{transform-origin:0 100%}.ui.top.center.popup{transform-origin:bottom}.ui.top.right.popup{transform-origin:100% 100%}.ui.bottom.left.popup{transform-origin:0 0}.ui.bottom.center.popup{transform-origin:top}.ui.bottom.right.popup{transform-origin:100% 0}.ui.bottom.center.popup:before{inset:var(--_ui-popup-arrow-offset) auto auto 50%;margin-left:var(--_ui-popup-arrow-offset)}.ui.bottom.left.popup:before{inset:var(--_ui-popup-arrow-offset) auto auto var(--_ui-popup-arrow-edge-distance)}.ui.bottom.right.popup:before{inset:var(--_ui-popup-arrow-offset) var(--_ui-popup-arrow-edge-distance) auto auto}.ui.top.center.popup:before{inset:auto auto var(--_ui-popup-arrow-offset) 50%;margin-left:var(--_ui-popup-arrow-offset)}.ui.top.left.popup:before{inset:auto auto var(--_ui-popup-arrow-offset) var(--_ui-popup-arrow-edge-distance)}.ui.top.right.popup:before{inset:auto var(--_ui-popup-arrow-edge-distance) var(--_ui-popup-arrow-offset) auto}.ui.left.center.popup:before{inset:50% var(--_ui-popup-arrow-offset) auto auto;margin-top:var(--_ui-popup-arrow-offset)}.ui.right.center.popup:before{inset:50% auto auto var(--_ui-popup-arrow-offset);margin-top:var(--_ui-popup-arrow-offset)}.ui[class*=left\\ top].left.popup,.ui[class*=left\\ bottom].left.popup{margin:0 var(--_ui-popup-distance) 0 0;--_popup-arrow-shadow:1px -1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-5px -2px, calc(100% + 2px) -2px, calc(100% + 2px) calc(100% + 5px))}.ui[class*=right\\ top].right.popup,.ui[class*=right\\ bottom].right.popup{margin:0 0 0 var(--_ui-popup-distance);--_popup-arrow-shadow:-1px 1px 0 0 var(--_popup-arrow-edge);--_popup-arrow-clip:polygon(-2px -5px, calc(100% + 5px) calc(100% + 2px), -2px calc(100% + 2px))}.ui[class*=left\\ top].left.popup{transform-origin:100% 0}.ui[class*=left\\ bottom].left.popup{transform-origin:100% 100%}.ui[class*=right\\ top].right.popup{transform-origin:0 0}.ui[class*=right\\ bottom].right.popup{transform-origin:0 100%}.ui[class*=left\\ top].left.popup:before{inset:var(--_ui-popup-arrow-edge-distance) var(--_ui-popup-arrow-offset) auto auto}.ui[class*=left\\ bottom].left.popup:before{inset:auto var(--_ui-popup-arrow-offset) var(--_ui-popup-arrow-edge-distance) auto}.ui[class*=right\\ top].right.popup:before{inset:var(--_ui-popup-arrow-edge-distance) auto auto var(--_ui-popup-arrow-offset)}.ui[class*=right\\ bottom].right.popup:before{inset:auto auto var(--_ui-popup-arrow-edge-distance) var(--_ui-popup-arrow-offset)}.ui.basic.popup:before{display:none}.ui.fixed.popup{width:var(--_ui-popup-max-width)}.ui.wide.popup{--_ui-popup-max-width:var(--_ui-popup-wide-width)}.ui[class*=very\\ wide].popup{--_ui-popup-max-width:var(--_ui-popup-very-wide-width)}@media (width<768px){.ui.wide.popup,.ui[class*=very\\ wide].popup{--_ui-popup-max-width:var(--ui-popup-max-width,250px)}}.ui.fluid.popup{width:100%;max-width:none}.ui.flowing.popup{max-width:none}.ui.flowing.popup>::slotted(ui-grid){container-type:normal}.ui.inverted.popup{--ui-inverted:1;--_popup-arrow-shadow:none;background:var(--ui-color-inverted,var(--_ui-popup-inverted-background));box-shadow:none;color:var(--ui-color-inverted-on,var(--_ui-popup-inverted-color));border-color:#0000}.ui.inverted.popup>.header{color:inherit;background:0 0}}@layer ui.components.popup.states{.ui.visible.popup{display:block}.ui.popup[popover]:not(:popover-open){display:none}.ui.loading.popup{cursor:default;pointer-events:none;-webkit-user-select:none;user-select:none}.ui.loading.popup>*,.ui.loading.popup>::slotted(*){opacity:var(--_ui-popup-loading-opacity)}.ui.loading.popup:after{content:\"\";z-index:2;border:.2em solid oklch(from currentColor l c h / .15);border-radius:var(--ui-radius-circle);border-top-color:currentColor;width:2em;height:2em;margin:-1em 0 0 -1em;animation:.6s linear infinite ui-popup-spin;position:absolute;top:50%;left:50%}}@keyframes ui-popup-spin{to{transform:rotate(360deg)}}", ge = "/*\n * `<ui-popup>` after a flip: the gap and the arrow move to the side that now faces the target,\n * where anchored container queries exist (the DOM element is `container-type: anchored`, `UIPopup.css`).\n * Elsewhere a flipped popup keeps its first side's arrow.\n * - A SEPARATE sheet, imported `?raw`: Lightning CSS (1.30) can't parse `@container anchored(...)` and fails the\n * whole file, so this one skips the CSS pipeline. MUST stay self-contained: no `@import`, no `@custom-media`.\n * - Same sublayer as the position rules it overrides (`UIPopup.css`, variations), adopted after them,\n * with selectors of the same specificity (`:is(.left, .center, .right)` matches the arrow rules' extra class).\n */\n\n@layer ui.components.popup.variations {\n @container anchored(fallback: flip-block) {\n .ui.top.popup {\n --_popup-arrow-shadow: -1px -1px 0 0 var(--_popup-arrow-edge);\n margin: var(--_ui-popup-distance) 0 0;\n }\n .ui.top:is(.left, .center, .right).popup::before {\n top: var(--_ui-popup-arrow-offset);\n bottom: auto;\n }\n .ui.bottom.popup {\n --_popup-arrow-shadow: 1px 1px 0 0 var(--_popup-arrow-edge);\n margin: 0 0 var(--_ui-popup-distance);\n }\n .ui.bottom:is(.left, .center, .right).popup::before {\n top: auto;\n bottom: var(--_ui-popup-arrow-offset);\n }\n /*\n * Beside + top / bottom edge: still beside, so the arrow moves along the edge instead\n * (ties the rules above, later).\n */\n .ui[class*=\"left top\"].top.popup::before,\n .ui[class*=\"right top\"].top.popup::before {\n top: auto;\n bottom: var(--_ui-popup-arrow-edge-distance);\n }\n .ui[class*=\"left bottom\"].bottom.popup::before,\n .ui[class*=\"right bottom\"].bottom.popup::before {\n top: var(--_ui-popup-arrow-edge-distance);\n bottom: auto;\n }\n }\n @container anchored(fallback: flip-inline) {\n .ui.left.center.popup {\n --_popup-arrow-shadow: -1px 1px 0 0 var(--_popup-arrow-edge);\n margin: 0 0 0 var(--_ui-popup-distance);\n }\n .ui.left.center.popup::before {\n right: auto;\n left: var(--_ui-popup-arrow-offset);\n }\n .ui.right.center.popup {\n --_popup-arrow-shadow: 1px -1px 0 0 var(--_popup-arrow-edge);\n margin: 0 var(--_ui-popup-distance) 0 0;\n }\n .ui.right.center.popup::before {\n right: var(--_ui-popup-arrow-offset);\n left: auto;\n }\n .ui[class*=\"left top\"].left.popup,\n .ui[class*=\"left bottom\"].left.popup {\n --_popup-arrow-shadow: -1px 1px 0 0 var(--_popup-arrow-edge);\n margin: 0 0 0 var(--_ui-popup-distance);\n }\n .ui[class*=\"left top\"].left.popup::before,\n .ui[class*=\"left bottom\"].left.popup::before {\n right: auto;\n left: var(--_ui-popup-arrow-offset);\n }\n .ui[class*=\"right top\"].right.popup,\n .ui[class*=\"right bottom\"].right.popup {\n --_popup-arrow-shadow: 1px -1px 0 0 var(--_popup-arrow-edge);\n margin: 0 var(--_ui-popup-distance) 0 0;\n }\n .ui[class*=\"right top\"].right.popup::before,\n .ui[class*=\"right bottom\"].right.popup::before {\n right: var(--_ui-popup-arrow-offset);\n left: auto;\n }\n }\n}\n", E = /* @__PURE__ */ T("<div>"), _e = /* @__PURE__ */ T("<div><!><slot>"), D = /* @__PURE__ */ T("<span>"), ve = /* @__PURE__ */ T("<span><!><slot>"), O, k, A, j, M, N, P, F, I, ye, L, R, z, B, V, H, U, W, G, K, q, J, Y, X, Z = class _UIPopup extends (q = te, K = [se], G = [ce], W = [de], U = [ue], H = [le], V = [h("at", { defer: !0 })], B = [m("toggle")], z = [m("command")], R = [ae], L = [le], ye = [h("isReady", "targetElement", "trigger")], I = [h("ariaElement", "isInteractive", "isVisible")], F = [ue], P = [m("pointerenter")], N = [m("pointerleave")], M = [m("focusout")], j = [f("role")], A = [f("label")], k = [h("position", "point", { writesDOMElement: !0 })], O = [h("isReady", "trigger")], q) {
|
|
187
195
|
constructor() {
|
|
188
|
-
super(...arguments),
|
|
196
|
+
super(...arguments), u(J, 5, this), a(this, "delayTimer"), a(this, "overlay", {
|
|
189
197
|
element: this.domElement,
|
|
190
198
|
kind: "popover",
|
|
191
|
-
onDismiss: /* @__PURE__ */
|
|
192
|
-
}),
|
|
199
|
+
onDismiss: /* @__PURE__ */ e(() => void this.requestVisible(!1), "onDismiss")
|
|
200
|
+
}), a(this, "disclosure", new n({
|
|
193
201
|
component: this,
|
|
194
202
|
member: "isVisible",
|
|
195
|
-
detail: /* @__PURE__ */
|
|
203
|
+
detail: /* @__PURE__ */ e((e, t) => ({
|
|
196
204
|
visible: e,
|
|
197
205
|
originalEvent: t
|
|
198
206
|
}), "detail")
|
|
199
|
-
})),
|
|
207
|
+
})), a(this, "box"), d(this, Y, u(J, 8, this)), u(J, 11, this), d(this, X, u(J, 12, this)), u(J, 15, this), a(this, "anchorName", ""), a(this, "onTargetEnter", /* @__PURE__ */ e((e) => {
|
|
200
208
|
this.schedule(!0, this.hoverDelay, e);
|
|
201
|
-
}, "onTargetEnter")),
|
|
209
|
+
}, "onTargetEnter")), a(this, "onTargetLeave", /* @__PURE__ */ e((e) => {
|
|
202
210
|
this.schedule(!1, this.hideDelay ?? 0, e);
|
|
203
|
-
}, "onTargetLeave")),
|
|
211
|
+
}, "onTargetLeave")), a(this, "onTargetFocus", /* @__PURE__ */ e((e) => {
|
|
204
212
|
this.schedule(!0, 0, e);
|
|
205
|
-
}, "onTargetFocus")),
|
|
206
|
-
|
|
207
|
-
}, "onTargetBlur")),
|
|
213
|
+
}, "onTargetFocus")), a(this, "onTargetBlur", /* @__PURE__ */ e((e) => {
|
|
214
|
+
l.focus.containsDeep(this.domElement, e.relatedTarget) || this.schedule(!1, 0, e);
|
|
215
|
+
}, "onTargetBlur")), a(this, "onTargetClick", u(J, 24, this, /* @__PURE__ */ e((e) => {
|
|
208
216
|
this.requestVisible(!this.isVisible, e);
|
|
209
|
-
}, "onTargetClick"))),
|
|
217
|
+
}, "onTargetClick"))), u(J, 27, this);
|
|
210
218
|
}
|
|
211
219
|
requestVisible(e, t) {
|
|
212
220
|
return this.delayTimer?.cancel(), this.disclosure.request(e, t);
|
|
213
221
|
}
|
|
214
222
|
schedule(e, t, n) {
|
|
215
223
|
if (this.delayTimer?.cancel(), t <= 0) return void this.requestVisible(e, n);
|
|
216
|
-
this.delayTimer =
|
|
224
|
+
this.delayTimer = re(t / 1e3, () => this.requestVisible(e, n));
|
|
217
225
|
}
|
|
218
226
|
async onVisibleChange(e, t) {
|
|
219
|
-
let n = this.box, r =
|
|
227
|
+
let n = this.box, r = ne.keyframesBeside(t, this.elementSetup.animation);
|
|
220
228
|
if (e) {
|
|
221
229
|
if (await this.targetElement?.ready, !this.isVisible || !this.isConnected) return;
|
|
222
|
-
this.show(), r && n && await
|
|
230
|
+
this.show(), this.point && ie(() => l.focus.first(this.domElement)?.focus(Se)), r && n && await l.transitions.animate({
|
|
223
231
|
element: n,
|
|
224
232
|
name: r,
|
|
225
233
|
direction: "in"
|
|
226
234
|
});
|
|
227
235
|
return;
|
|
228
236
|
}
|
|
229
|
-
if (r && n && await
|
|
237
|
+
if (r && n && await l.transitions.animate({
|
|
230
238
|
element: n,
|
|
231
239
|
name: r,
|
|
232
240
|
direction: "out"
|
|
@@ -240,59 +248,76 @@ var de = {
|
|
|
240
248
|
}
|
|
241
249
|
show() {
|
|
242
250
|
let { domElement: e } = this;
|
|
243
|
-
this.box &&
|
|
251
|
+
this.box && l.transitions.reveal(this.box), this.placeAtPoint();
|
|
244
252
|
let t = this.targetElement, n = t ? _UIPopup.anchorBoxFor(t) : void 0;
|
|
245
|
-
e.popover ||= this.popoverMode, e.style.setProperty("position-anchor", n === t ? this.anchorName : n ? "auto" : "none"), e.matches(":popover-open") || e.showPopover(n ? { source: n } : void 0), this.overlay.anchor = t, this.overlay.restoreFocus = this.isInteractive,
|
|
253
|
+
e.popover ||= this.popoverMode, e.style.setProperty("position-anchor", n === t ? this.anchorName : n ? "auto" : "none"), e.matches(":popover-open") || e.showPopover(n ? { source: n } : void 0), this.overlay.anchor = t, this.overlay.restoreFocus = this.isInteractive, l.overlays.open(this.overlay);
|
|
246
254
|
}
|
|
247
255
|
hide() {
|
|
248
|
-
this.delayTimer?.cancel(), this.domElement.matches(":popover-open") && this.domElement.hidePopover(),
|
|
256
|
+
this.delayTimer?.cancel(), this.domElement.matches(":popover-open") && this.domElement.hidePopover(), l.overlays.close(this.overlay), this.removePointBox();
|
|
257
|
+
}
|
|
258
|
+
get point() {
|
|
259
|
+
let e = this.at;
|
|
260
|
+
return typeof e?.x == "number" && typeof e.y == "number" ? e : void 0;
|
|
261
|
+
}
|
|
262
|
+
placeAtPoint() {
|
|
263
|
+
let { point: e, domElement: t } = this;
|
|
264
|
+
if (!e) return this.removePointBox();
|
|
265
|
+
let n = t.getRootNode(), r = this.pointBox ?? t.ownerDocument.createElement("div");
|
|
266
|
+
r.style.cssText = `position:fixed;left:${e.x}px;top:${e.y}px;width:0;height:0`, r.setAttribute("aria-hidden", "true"), r.isConnected || ("body" in n ? n.body : n).append(r), this.anchorName ||= `--${l.ids.next($)}`, _UIPopup.addAnchorName(r, this.anchorName), t.style.setProperty(Q, "0px"), this.pointBox = r;
|
|
267
|
+
}
|
|
268
|
+
removePointBox() {
|
|
269
|
+
this.pointBox && (this.pointBox.remove(), this.pointBox = void 0, this.domElement.style.removeProperty(Q));
|
|
270
|
+
}
|
|
271
|
+
onPointChanged() {
|
|
272
|
+
this.isVisible && this.isConnected && this.placeAtPoint();
|
|
249
273
|
}
|
|
250
274
|
onToggle(e) {
|
|
251
|
-
e.newState ===
|
|
275
|
+
e.newState === ke && this.domElement.isConnected && this.disclosure.adopt(!1, e);
|
|
252
276
|
}
|
|
253
277
|
onCommand(e) {
|
|
254
|
-
let t =
|
|
278
|
+
let t = oe.action(e, this.isVisible);
|
|
255
279
|
t && this.requestVisible(t === "show", e);
|
|
256
280
|
}
|
|
257
281
|
get targetElement() {
|
|
258
282
|
if (!this.isConnected) return;
|
|
283
|
+
if (this.pointBox) return this.pointBox;
|
|
259
284
|
let e = this.target;
|
|
260
285
|
if (_UIPopup.isElement(e)) return e;
|
|
261
286
|
let t = this.for;
|
|
262
287
|
return t ? this.domElement.getRootNode().getElementById?.(t) ?? void 0 : this.domElement.previousElementSibling ?? void 0;
|
|
263
288
|
}
|
|
264
289
|
get trigger() {
|
|
265
|
-
return this.openOn ??
|
|
290
|
+
return this.openOn ?? Ee;
|
|
266
291
|
}
|
|
267
292
|
get isInteractive() {
|
|
268
|
-
return this.trigger === i.click;
|
|
293
|
+
return this.trigger === i.click || !!this.point;
|
|
269
294
|
}
|
|
270
295
|
onTargetChanged(e, t, n) {
|
|
271
296
|
return e && t ? this.bind(t, n) : void 0;
|
|
272
297
|
}
|
|
273
298
|
bind(e, t) {
|
|
274
299
|
let { domElement: n } = this;
|
|
275
|
-
this.anchorName ||= `--${
|
|
300
|
+
this.anchorName ||= `--${l.ids.next($)}`;
|
|
276
301
|
let r = new AbortController(), a = { signal: r.signal }, o = t === i.click, s = e;
|
|
277
|
-
t === i.hover && (s.addEventListener("pointerenter", this.onTargetEnter, a), s.addEventListener("pointerleave", this.onTargetLeave, a)), (t === i.hover || t === i.focus) && (s.addEventListener("focusin", this.onTargetFocus, a), s.addEventListener("focusout", this.onTargetBlur, a)), o && s.addEventListener("click", this.onTargetClick, a), _UIPopup.addAnchorName(e, this.anchorName),
|
|
278
|
-
let c = _UIPopup.ariaTargetFor(e),
|
|
302
|
+
t === i.hover && (s.addEventListener("pointerenter", this.onTargetEnter, a), s.addEventListener("pointerleave", this.onTargetLeave, a)), (t === i.hover || t === i.focus) && (s.addEventListener("focusin", this.onTargetFocus, a), s.addEventListener("focusout", this.onTargetBlur, a)), o && s.addEventListener("click", this.onTargetClick, a), _UIPopup.addAnchorName(e, this.anchorName), l.ids.ensure(n, $);
|
|
303
|
+
let c = _UIPopup.ariaTargetFor(e), ee = _UIPopup.addAriaRelation({
|
|
279
304
|
element: c,
|
|
280
|
-
relation: o ?
|
|
305
|
+
relation: o ? Oe : De,
|
|
281
306
|
domElement: n
|
|
282
307
|
});
|
|
283
308
|
return o && c.setAttribute("aria-haspopup", "dialog"), this.ariaElement = c, () => {
|
|
284
|
-
r.abort(), this.delayTimer?.cancel(), _UIPopup.removeAnchorName(e, this.anchorName),
|
|
309
|
+
r.abort(), this.delayTimer?.cancel(), _UIPopup.removeAnchorName(e, this.anchorName), ee(), o && (c.removeAttribute("aria-haspopup"), c.removeAttribute("aria-expanded")), this.ariaElement = void 0;
|
|
285
310
|
};
|
|
286
311
|
}
|
|
287
312
|
serverBind() {
|
|
288
313
|
let e = this.targetElement;
|
|
289
314
|
if (!e) return;
|
|
290
315
|
let t = this.isInteractive;
|
|
291
|
-
|
|
316
|
+
l.ids.ensure(this.domElement, $);
|
|
292
317
|
let n = _UIPopup.ariaTargetFor(e);
|
|
293
318
|
_UIPopup.addAriaRelation({
|
|
294
319
|
element: n,
|
|
295
|
-
relation: t ?
|
|
320
|
+
relation: t ? Oe : De,
|
|
296
321
|
domElement: this.domElement
|
|
297
322
|
}), t && n.setAttribute("aria-haspopup", "dialog");
|
|
298
323
|
}
|
|
@@ -301,7 +326,7 @@ var de = {
|
|
|
301
326
|
}
|
|
302
327
|
get hoverDelay() {
|
|
303
328
|
if (this.attributes["show-delay"] !== null) return this.showDelay ?? 0;
|
|
304
|
-
let e = getComputedStyle(this.domElement).getPropertyValue(
|
|
329
|
+
let e = getComputedStyle(this.domElement).getPropertyValue(Me).trim(), t = Ne.exec(e);
|
|
305
330
|
return t ? Number(t[1]) * (t[2] === "s" ? 1e3 : 1) : this.showDelay ?? 0;
|
|
306
331
|
}
|
|
307
332
|
onPopupEnter() {
|
|
@@ -313,7 +338,7 @@ var de = {
|
|
|
313
338
|
onPopupFocusOut(e) {
|
|
314
339
|
if (this.trigger !== i.focus) return;
|
|
315
340
|
let t = e.relatedTarget, n = this.targetElement;
|
|
316
|
-
|
|
341
|
+
l.focus.containsDeep(this.domElement, t) || n && t && l.focus.containsDeep(n, t) || this.schedule(!1, 0, e);
|
|
317
342
|
}
|
|
318
343
|
get ariaRole() {
|
|
319
344
|
return this.isInteractive ? "dialog" : "tooltip";
|
|
@@ -321,12 +346,13 @@ var de = {
|
|
|
321
346
|
get accessibleName() {
|
|
322
347
|
return this.isInteractive ? this.heading : void 0;
|
|
323
348
|
}
|
|
324
|
-
onPositionChanged(e) {
|
|
325
|
-
|
|
349
|
+
onPositionChanged(e, t) {
|
|
350
|
+
let n = t ? Ce : e ?? xe;
|
|
351
|
+
this.domElement.style.setProperty("position-area", je[n]);
|
|
326
352
|
}
|
|
327
353
|
get popoverMode() {
|
|
328
354
|
let e = this.trigger;
|
|
329
|
-
return (e === i.hover || e === i.focus) &&
|
|
355
|
+
return (e === i.hover || e === i.focus) && l.browser.supports.popoverHint ? "hint" : "manual";
|
|
330
356
|
}
|
|
331
357
|
onPopoverModeChanged(e) {
|
|
332
358
|
if (!e) return;
|
|
@@ -337,95 +363,95 @@ var de = {
|
|
|
337
363
|
return this.isInteractive ? "auto" : "manual";
|
|
338
364
|
}
|
|
339
365
|
get extraClass() {
|
|
340
|
-
let e = this.position ??
|
|
341
|
-
return this.isVisible ? `${e} ${
|
|
366
|
+
let e = this.point ? `${we} ${Ce}` : this.position ?? xe;
|
|
367
|
+
return this.isVisible ? `${e} ${Te}` : e;
|
|
342
368
|
}
|
|
343
369
|
onMount() {
|
|
344
|
-
return
|
|
370
|
+
return S && this.serverBind(), super.onMount();
|
|
345
371
|
}
|
|
346
372
|
render() {
|
|
347
|
-
if (
|
|
373
|
+
if (S) return this.serverMarkup();
|
|
348
374
|
let e = this;
|
|
349
|
-
var n =
|
|
350
|
-
return
|
|
375
|
+
var n = _e(), r = n.firstChild, i = r.nextSibling;
|
|
376
|
+
return pe(() => (t) => e.box = t, n), x(n, v(g, {
|
|
351
377
|
get when() {
|
|
352
378
|
return e.heading;
|
|
353
379
|
},
|
|
354
380
|
get children() {
|
|
355
|
-
var n =
|
|
356
|
-
return
|
|
357
|
-
e:
|
|
381
|
+
var n = E();
|
|
382
|
+
return x(n, () => e.heading), y(() => ({
|
|
383
|
+
e: C(t),
|
|
358
384
|
t: e.partForName("header")
|
|
359
385
|
}), ({ e, t }, r) => {
|
|
360
|
-
|
|
386
|
+
_(n, e, r?.e), t !== r?.t && w(n, "part", t);
|
|
361
387
|
}), n;
|
|
362
388
|
}
|
|
363
|
-
}), r),
|
|
389
|
+
}), r), x(n, v(g, {
|
|
364
390
|
get when() {
|
|
365
391
|
return e.label;
|
|
366
392
|
},
|
|
367
393
|
get children() {
|
|
368
|
-
var t =
|
|
369
|
-
return
|
|
370
|
-
e:
|
|
394
|
+
var t = E();
|
|
395
|
+
return x(t, () => e.label), y(() => ({
|
|
396
|
+
e: C(p),
|
|
371
397
|
t: e.partForName("content")
|
|
372
398
|
}), ({ e, t: n }, r) => {
|
|
373
|
-
|
|
399
|
+
_(t, e, r?.e), n !== r?.t && w(t, "part", n);
|
|
374
400
|
}), t;
|
|
375
401
|
}
|
|
376
|
-
}), i), i._$owner =
|
|
377
|
-
e:
|
|
402
|
+
}), i), i._$owner = b(), y(() => ({
|
|
403
|
+
e: C(e.rootClass),
|
|
378
404
|
t: e.partForName("popup")
|
|
379
405
|
}), ({ e, t }, r) => {
|
|
380
|
-
|
|
406
|
+
_(n, e, r?.e), t !== r?.t && w(n, "part", t);
|
|
381
407
|
}), n;
|
|
382
408
|
}
|
|
383
409
|
serverMarkup() {
|
|
384
410
|
let e = this;
|
|
385
|
-
var n =
|
|
386
|
-
return
|
|
411
|
+
var n = ve(), r = n.firstChild, i = r.nextSibling;
|
|
412
|
+
return x(n, v(g, {
|
|
387
413
|
get when() {
|
|
388
414
|
return e.heading;
|
|
389
415
|
},
|
|
390
416
|
get children() {
|
|
391
|
-
var n =
|
|
392
|
-
return
|
|
393
|
-
e:
|
|
417
|
+
var n = D();
|
|
418
|
+
return x(n, () => e.heading), y(() => ({
|
|
419
|
+
e: C(t),
|
|
394
420
|
t: e.partForName("header")
|
|
395
421
|
}), ({ e, t }, r) => {
|
|
396
|
-
|
|
422
|
+
_(n, e, r?.e), t !== r?.t && w(n, "part", t);
|
|
397
423
|
}), n;
|
|
398
424
|
}
|
|
399
|
-
}), r),
|
|
425
|
+
}), r), x(n, v(g, {
|
|
400
426
|
get when() {
|
|
401
427
|
return e.label;
|
|
402
428
|
},
|
|
403
429
|
get children() {
|
|
404
|
-
var t =
|
|
405
|
-
return
|
|
406
|
-
e:
|
|
430
|
+
var t = D();
|
|
431
|
+
return x(t, () => e.label), y(() => ({
|
|
432
|
+
e: C(p),
|
|
407
433
|
t: e.partForName("content")
|
|
408
434
|
}), ({ e, t: n }, r) => {
|
|
409
|
-
|
|
435
|
+
_(t, e, r?.e), n !== r?.t && w(t, "part", n);
|
|
410
436
|
}), t;
|
|
411
437
|
}
|
|
412
|
-
}), i), i._$owner =
|
|
413
|
-
e:
|
|
438
|
+
}), i), i._$owner = b(), y(() => ({
|
|
439
|
+
e: C(e.rootClass),
|
|
414
440
|
t: e.partForName("popup"),
|
|
415
441
|
a: e.serverPopover
|
|
416
442
|
}), ({ e, t, a: r }, i) => {
|
|
417
|
-
|
|
443
|
+
_(n, e, i?.e), t !== i?.t && w(n, "part", t), r !== i?.a && w(n, "popover", r);
|
|
418
444
|
}), n;
|
|
419
445
|
}
|
|
420
446
|
static isElement(e) {
|
|
421
447
|
return typeof e == "object" && !!e && e.nodeType === c.element;
|
|
422
448
|
}
|
|
423
449
|
static anchorBoxFor(e) {
|
|
424
|
-
return getComputedStyle(e).display ===
|
|
450
|
+
return getComputedStyle(e).display === Ae ? e.shadowRoot?.firstElementChild ?? e.firstElementChild ?? e : e;
|
|
425
451
|
}
|
|
426
452
|
static ariaTargetFor(e) {
|
|
427
453
|
let t = e.shadowRoot;
|
|
428
|
-
return t?.delegatesFocus &&
|
|
454
|
+
return t?.delegatesFocus && l.focus.first(t) || e;
|
|
429
455
|
}
|
|
430
456
|
static addAnchorName(e, t) {
|
|
431
457
|
let n = e.style;
|
|
@@ -459,27 +485,30 @@ var de = {
|
|
|
459
485
|
};
|
|
460
486
|
}
|
|
461
487
|
static idsIn(e, t) {
|
|
462
|
-
return (e.getAttribute(t) ?? "").split(
|
|
488
|
+
return (e.getAttribute(t) ?? "").split(r).filter(Boolean);
|
|
463
489
|
}
|
|
464
490
|
};
|
|
465
|
-
Y =
|
|
491
|
+
J = fe(q), Y = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), s(J, 1, "watchPlacement", W, Z), s(J, 1, "show", U, Z), s(J, 4, "pointBox", H, Z, Y), s(J, 1, "onPointChanged", V, Z), s(J, 1, "onToggle", B, Z), s(J, 1, "onCommand", z, Z), s(J, 2, "targetElement", R, Z), s(J, 4, "ariaElement", L, Z, X), s(J, 1, "onTargetChanged", ye, Z), s(J, 1, "onExpandedChanged", I, Z), s(J, 1, "onPopupEnter", P, Z), s(J, 1, "onPopupLeave", N, Z), s(J, 1, "onPopupFocusOut", M, Z), s(J, 2, "ariaRole", j, Z), s(J, 2, "accessibleName", A, Z), s(J, 1, "onPositionChanged", k, Z), s(J, 1, "onPopoverModeChanged", O, Z), s(J, 13, "vocabulary", K, Z), s(J, 13, "elementSetup", G, Z), s(J, 5, "onTargetClick", F, Z), ee(J, Z), e(Z, "UIPopup"), a(Z, "vocabulary", u(J, 16, Z, me)), u(J, 19, Z), a(Z, "elementSetup", u(J, 20, Z, {
|
|
466
492
|
styleSheets: {
|
|
467
|
-
popup:
|
|
468
|
-
"popup-anchored":
|
|
493
|
+
popup: he,
|
|
494
|
+
"popup-anchored": ge
|
|
469
495
|
},
|
|
470
496
|
cssStates: ["fluid"],
|
|
471
497
|
delegatesFocus: !1,
|
|
472
498
|
loading: "its own",
|
|
473
499
|
visible: "hidden",
|
|
474
500
|
animation: "scale"
|
|
475
|
-
})),
|
|
476
|
-
var
|
|
501
|
+
})), u(J, 23, Z);
|
|
502
|
+
var be = Z, xe = "top left", Se = {
|
|
503
|
+
preventScroll: !0,
|
|
504
|
+
focusVisible: !1
|
|
505
|
+
}, Ce = "bottom left", we = "basic", Q = "--ui-popup-distance", Te = "visible", Ee = i.hover, $ = "ui-popup", De = {
|
|
477
506
|
attribute: "aria-describedby",
|
|
478
507
|
property: "ariaDescribedByElements"
|
|
479
|
-
},
|
|
508
|
+
}, Oe = {
|
|
480
509
|
attribute: "aria-controls",
|
|
481
510
|
property: "ariaControlsElements"
|
|
482
|
-
},
|
|
511
|
+
}, ke = "closed", Ae = "contents", je = {
|
|
483
512
|
"top left": "top span-right",
|
|
484
513
|
"top center": "top center",
|
|
485
514
|
"top right": "top span-left",
|
|
@@ -492,11 +521,11 @@ var ge = Z, _e = "top left", ve = "visible", ye = i.hover, Q = "ui-popup", be =
|
|
|
492
521
|
"left bottom": "left span-top",
|
|
493
522
|
"right top": "right span-bottom",
|
|
494
523
|
"right bottom": "right span-top"
|
|
495
|
-
},
|
|
524
|
+
}, Me = "--ui-hover-delay", Ne = /^(\d+(?:\.\d+)?)(ms|s)$/;
|
|
496
525
|
//#endregion
|
|
497
526
|
//#region src/components/ui-popup/index.ts
|
|
498
|
-
|
|
527
|
+
be.define();
|
|
499
528
|
//#endregion
|
|
500
|
-
export {
|
|
529
|
+
export { be as UIPopup };
|
|
501
530
|
|
|
502
531
|
//# sourceMappingURL=ui-popup.js.map
|