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-tab.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import "./rolldown-runtime-CYGlBXrH.js";
|
|
2
|
-
import { A as e,
|
|
3
|
-
import { t as
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { A as e, AddressParameter as t, Bt as n, C as r, ClassBuilder as i, Converters as a, Ht as o, IconGlyph as s, Lt as c, N as ee, P as l, PartContext as u, Queued as d, Rt as f, SlotContent as te, UI as p, UIComponent as m, Ut as h, Vt as g, afterSolidUpdate as _, aria as ne, beforeNextPaint as re, controlled as ie, cssState as v, derived as y, isSameList as ae, onChange as b, proto as x, protoMerged as S, s as C, state as oe, untracked as w, z as se, zt as ce } from "./core.js";
|
|
3
|
+
import { t as le } from "./UISegment-CMMIW7cZ.js";
|
|
4
|
+
import { n as ue, t as de } from "./UIMenu-zdcAtwTa.js";
|
|
5
|
+
import { n as fe, r as pe, t as me } from "./ScrollingRow-7n7Z-HIE.js";
|
|
6
|
+
import { For as he, Show as ge, flush as _e } from "solid-js";
|
|
7
|
+
import { addEvent as ve, className as T, createComponent as ye, delegateEvents as be, effect as E, getOwner as D, insert as O, isServer as k, memo as xe, readShallow as A, ref as j, setAttribute as M, template as N } from "@solidjs/web";
|
|
7
8
|
//#region src/components/ui-tab/UITab.en.ts
|
|
8
|
-
var
|
|
9
|
+
var P = {
|
|
9
10
|
tag: "ui-tab",
|
|
11
|
+
icon: "folder outline",
|
|
10
12
|
topics: [
|
|
11
13
|
"navigation",
|
|
12
14
|
"containers",
|
|
@@ -134,12 +136,12 @@ var _e = {
|
|
|
134
136
|
}
|
|
135
137
|
],
|
|
136
138
|
texts: []
|
|
137
|
-
},
|
|
139
|
+
}, Se = "menu", F = "basic", I = "@layer ui.components.tab.types{:host{display:block}.ui.tabs{--_ui-tabs-pane-margin:var(--ui-tabs-pane-margin,1em 0 0);--_ui-tabs-menu-margin:var(--ui-tabs-menu-margin,0);--_ui-tabs-bar-gap:var(--ui-tabs-bar-gap,1em);--_ui-tabs-pane-flex:0 1 auto;flex-direction:column;max-width:100%;display:flex}.ui.tabs>.ui.menu{margin-block:var(--_ui-tabs-menu-margin);flex:none}:host(:state(bar-only))>.ui.tabs{margin-block-end:var(--_ui-tabs-bar-gap)}.ui.tabs>.ui.compact.menu{align-self:flex-start}.ui.menu>.item>.icon{flex:none;align-items:center;display:inline-flex}.ui.menu>.item>.icon>svg{fill:currentColor;width:1em;height:1em;display:block}:host(:state(pane)){display:block}:host(:state(pane):not(:state(selected))),:host(:state(pane)[hidden]),:host(:state(pane):empty){display:none}:host(:focus-visible)>.ui.tab{outline:var(--ui-focus-width) solid var(--ui-focus-color);outline-offset:calc(var(--ui-focus-width) * -1)}.ui.tab{display:none}:host(:state(in-tabs)){flex:var(--_ui-tabs-pane-flex);min-width:var(--_ui-tabs-pane-min-width,0)}:host(:state(in-tabs))>.ui.tab{--ui-color:initial;margin:var(--_ui-tabs-pane-margin)}.ui.tabs>.ui.tab{flex:var(--_ui-tabs-pane-flex);min-width:0;margin:var(--_ui-tabs-pane-margin)}}@layer ui.components.tab.content;@layer ui.components.tab.variations{.ui[class*=top\\ attached].tabs,.ui[class*=bottom\\ attached].tabs{--_ui-tabs-pane-margin:0}.ui.vertical.tabs{--_ui-tabs-pane-margin:0;--_ui-tabs-pane-flex:1 1 0%;--_ui-tabs-pane-min-width:12em;flex-flow:wrap;align-items:stretch}.ui.vertical.tabs>.ui.menu{flex:none;width:max-content;max-width:100%;margin:0}.ui.vertical.tabs>.ui.menu>.item{--_ui-menu-item-width:-webkit-fill-available}@supports (width:stretch){.ui.vertical.tabs>.ui.menu>.item{--_ui-menu-item-width:stretch}}.ui.tabs>.ui.menu:not(.fluid,.tabular,.secondary,.text,.vertical,.pointing){width:fit-content;max-width:100%}.ui.inverted.tabs{--ui-inverted:1;--ui-scheme:dark;color-scheme:dark}}@layer ui.components.tab.states{.ui.tab.active,.ui.tab.open{display:block}.ui.menu>.disabled.item{cursor:default}.ui.tab.loading{min-height:5em;display:block;position:relative;overflow:hidden}.ui.tab.loading>*,.ui.tab.loading>::slotted(*){visibility:hidden}.ui.tab.loading:before,.ui.tab.loading:after{content:\"\";border-radius:var(--ui-radius-circle);box-sizing:border-box;width:2.5em;height:2.5em;margin:-1.25em 0 0 -1.25em;position:absolute;top:50%;left:50%}.ui.tab.loading:before{border:.2em solid oklch(from var(--ui-shadow-ink) l c h / .1)}.ui.tab.loading:after{border:.2em solid #0000;border-top-color:var(--ui-text-light);animation:.6s linear infinite ui-tab-spin;box-shadow:0 0 0 1px #0000}}@layer ui.base{.ui.menu>button.item{font:inherit;color:inherit;text-align:inherit;letter-spacing:inherit;appearance:none;cursor:var(--ui-control-cursor);background:0 0;border:none;border-radius:0;margin:0}}@keyframes ui-tab-spin{to{rotate:1turn}}", Ce = /* @__PURE__ */ N("<div><slot>"), L, R, z, B, we, Te, Ee, De, Oe, ke, V, H, U = class _UITab extends (V = m, ke = [x], Oe = [S], De = [v("pane")], Ee = [ne("role")], Te = [ne("label")], we = [b("owner", { writesDOMElement: !0 })], B = [y], z = [v("selected")], R = [b("isShown")], L = [w], V) {
|
|
138
140
|
constructor() {
|
|
139
|
-
super(...arguments),
|
|
141
|
+
super(...arguments), h(H, 5, this), o(this, "context", new u({
|
|
140
142
|
domElement: this.domElement,
|
|
141
143
|
noun: this.vocabulary.noun
|
|
142
|
-
})),
|
|
144
|
+
})), o(this, "tabIndexIsOurs", !1), o(this, "slots", new te(this.domElement)), o(this, "wasShownBefore", !1);
|
|
143
145
|
}
|
|
144
146
|
get isPane() {
|
|
145
147
|
return !0;
|
|
@@ -158,15 +160,18 @@ var _e = {
|
|
|
158
160
|
let { domElement: t } = this, n = !!e;
|
|
159
161
|
n && !t.hasAttribute("tabindex") ? (t.tabIndex = 0, this.tabIndexIsOurs = !0) : !n && this.tabIndexIsOurs && (t.removeAttribute("tabindex"), this.tabIndexIsOurs = !1);
|
|
160
162
|
}
|
|
163
|
+
get hasContent() {
|
|
164
|
+
return this.slots.hasContent("");
|
|
165
|
+
}
|
|
161
166
|
get isMarkedSelected() {
|
|
162
|
-
return this.selected ||
|
|
167
|
+
return this.selected || a.boolean(this.attributes.active, "active");
|
|
163
168
|
}
|
|
164
169
|
get paneState() {
|
|
165
170
|
let e = this.owner;
|
|
166
171
|
return e ? e.paneState(this.domElement) : {
|
|
167
172
|
selected: this.isMarkedSelected,
|
|
168
173
|
attached: this.attach,
|
|
169
|
-
basic: String(this.appearance ?? "").split(" ").includes(
|
|
174
|
+
basic: String(this.appearance ?? "").split(" ").includes(F),
|
|
170
175
|
inverted: this.inverted
|
|
171
176
|
};
|
|
172
177
|
}
|
|
@@ -175,10 +180,10 @@ var _e = {
|
|
|
175
180
|
}
|
|
176
181
|
classValue(e) {
|
|
177
182
|
let t = this.paneState;
|
|
178
|
-
return e === "selected" ? t.selected : e === "attach" ? t.attached : e === "appearance" ? t.basic ?
|
|
183
|
+
return e === "selected" ? t.selected : e === "attach" ? t.attached : e === "appearance" ? t.basic ? F : void 0 : e === "inverted" ? t.inverted : super.classValue(e);
|
|
179
184
|
}
|
|
180
185
|
get classNoun() {
|
|
181
|
-
return
|
|
186
|
+
return Ae;
|
|
182
187
|
}
|
|
183
188
|
get extraClass() {
|
|
184
189
|
return this.vocabulary.noun;
|
|
@@ -191,7 +196,7 @@ var _e = {
|
|
|
191
196
|
}
|
|
192
197
|
onShown() {
|
|
193
198
|
let e = !this.wasShownBefore;
|
|
194
|
-
if (this.wasShownBefore = !0, e && this.lazy) for (let e of this.domElement.querySelectorAll(
|
|
199
|
+
if (this.wasShownBefore = !0, e && this.lazy) for (let e of this.domElement.querySelectorAll(je)) this.domElement.append(e.content.cloneNode(!0));
|
|
195
200
|
let t = this.owner, n = {
|
|
196
201
|
value: t ? t.valueFor(this.domElement) : this.value ?? "",
|
|
197
202
|
first: e
|
|
@@ -200,26 +205,28 @@ var _e = {
|
|
|
200
205
|
}
|
|
201
206
|
render() {
|
|
202
207
|
let e = this;
|
|
203
|
-
var t =
|
|
204
|
-
return n._$owner =
|
|
205
|
-
e:
|
|
208
|
+
var t = Ce(), n = t.firstChild;
|
|
209
|
+
return n._$owner = D(), E(() => ({
|
|
210
|
+
e: A(e.rootClass),
|
|
206
211
|
t: e.partForName("tab"),
|
|
207
212
|
a: e.loading ? "true" : void 0
|
|
208
213
|
}), ({ e, t: n, a: r }, i) => {
|
|
209
|
-
|
|
214
|
+
T(t, e, i?.e), n !== i?.t && M(t, "part", n), r !== i?.a && M(t, "aria-busy", r);
|
|
210
215
|
}), t;
|
|
211
216
|
}
|
|
212
217
|
};
|
|
213
|
-
|
|
218
|
+
H = ce(V), c(H, 2, "isPane", De, U), c(H, 2, "ariaRole", Ee, U), c(H, 2, "accessibleName", Te, U), c(H, 1, "onOwnerChanged", we, U), c(H, 2, "paneState", B, U), c(H, 2, "isSelected", z, U), c(H, 1, "onShownChanged", R, U), c(H, 1, "onShown", L, U), c(H, 13, "vocabulary", ke, U), c(H, 13, "elementSetup", Oe, U), f(H, U), n(U, "UITab"), o(U, "vocabulary", h(H, 8, U, P)), h(H, 11, U), o(U, "elementSetup", h(H, 12, U, {
|
|
214
219
|
styleSheets: {
|
|
215
|
-
segment:
|
|
216
|
-
tab:
|
|
220
|
+
segment: le,
|
|
221
|
+
tab: I
|
|
217
222
|
},
|
|
218
223
|
delegatesFocus: !1,
|
|
219
224
|
loading: "its own"
|
|
220
|
-
})),
|
|
221
|
-
var
|
|
225
|
+
})), h(H, 15, U);
|
|
226
|
+
var W = U, Ae = "segment", je = ":scope > template", Me = {
|
|
222
227
|
tag: "ui-tabs",
|
|
228
|
+
icon: "folder open outline",
|
|
229
|
+
formControl: !0,
|
|
223
230
|
topics: [
|
|
224
231
|
"navigation",
|
|
225
232
|
"menus",
|
|
@@ -306,7 +313,7 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
306
313
|
group: "layout",
|
|
307
314
|
kind: "valueAndKey",
|
|
308
315
|
key: "aligned",
|
|
309
|
-
values:
|
|
316
|
+
values: l,
|
|
310
317
|
replaces: ["alignment"],
|
|
311
318
|
description: "Where the tabs sit: `fluid` -- they fill the row; `left` / `center` / `right` -- packed at that end (a `segmented` tab list moves as a whole). Ignored when `direction=\"vertical\"`. Its old name was `alignment`."
|
|
312
319
|
},
|
|
@@ -349,19 +356,38 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
349
356
|
name: "history",
|
|
350
357
|
group: "advanced",
|
|
351
358
|
kind: "boolean",
|
|
352
|
-
description: "Mirror the selected pane in the URL hash (`#value`): selecting pushes a history entry, Back / Forward and links to `#value` select the pane, and a page opened on `#value` starts there."
|
|
359
|
+
description: "Mirror the selected pane in the URL hash (`#value`): selecting pushes a history entry, Back / Forward and links to `#value` select the pane, and a page opened on `#value` starts there. `parameter` wins over it."
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
name: "name",
|
|
363
|
+
group: "form",
|
|
364
|
+
kind: "string",
|
|
365
|
+
description: "Its name in a form: the form reads the selected pane's `value` and writes it back, as a select's, so a program follows which tab is chosen (`<form value={it}><tabs name=\"tab\">`)."
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
...r.parameter,
|
|
369
|
+
group: "advanced",
|
|
370
|
+
description: "Keep the selected pane in the page's address, as this query parameter (`parameter=\"section\"` => `?section=second`): selecting pushes a history entry, Back / Forward select the pane it names, and a page opened on the address starts there. Other parameters, and the hash, are kept."
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
events: [
|
|
374
|
+
{
|
|
375
|
+
name: "ui-changing",
|
|
376
|
+
detail: "{ value: string, tab: Element, originalEvent?: Event }",
|
|
377
|
+
cancelable: !0,
|
|
378
|
+
description: "A pane is about to be selected (click, key, or the URL hash with `history`); `preventDefault()` keeps the current one."
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
name: "ui-changed",
|
|
382
|
+
detail: "{ value: string, tab: Element, originalEvent?: Event }",
|
|
383
|
+
description: "A pane was selected: after `ui-changing`, unless it was cancelled."
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
name: "ui-form-value",
|
|
387
|
+
detail: "{}",
|
|
388
|
+
description: "Tabs with a `name` are drawn, so they hold a form value now: a `<ui-form>` around them binds it."
|
|
353
389
|
}
|
|
354
390
|
],
|
|
355
|
-
events: [{
|
|
356
|
-
name: "ui-changing",
|
|
357
|
-
detail: "{ value: string, tab: Element, originalEvent?: Event }",
|
|
358
|
-
cancelable: !0,
|
|
359
|
-
description: "A pane is about to be selected (click, key, or the URL hash with `history`); `preventDefault()` keeps the current one."
|
|
360
|
-
}, {
|
|
361
|
-
name: "ui-changed",
|
|
362
|
-
detail: "{ value: string, tab: Element, originalEvent?: Event }",
|
|
363
|
-
description: "A pane was selected: after `ui-changing`, unless it was cancelled."
|
|
364
|
-
}],
|
|
365
391
|
slots: [{
|
|
366
392
|
name: "",
|
|
367
393
|
description: "`<ui-tab>` panes; each one's `label` becomes a tab."
|
|
@@ -382,30 +408,64 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
382
408
|
{
|
|
383
409
|
name: "icon",
|
|
384
410
|
description: "A tab's icon, from its pane's `icon`."
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
name: "scroll-start",
|
|
414
|
+
description: "The `‹` key, shown while the tab list has more to scroll back to."
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
name: "scroll-end",
|
|
418
|
+
description: "The `›` key, shown while the tab list has more to scroll on to."
|
|
385
419
|
}
|
|
386
420
|
],
|
|
387
|
-
states: [
|
|
388
|
-
|
|
389
|
-
|
|
421
|
+
states: [
|
|
422
|
+
{
|
|
423
|
+
name: "vertical",
|
|
424
|
+
description: "Tabs in a column (`direction=\"vertical\"`)."
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
name: "overflowing",
|
|
428
|
+
description: "Its tabs don't all fit in a row: they scroll sideways, with a `‹` / `›` key at each end."
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
name: "bar-only",
|
|
432
|
+
description: "The chosen pane has nothing in it (tabs that only choose): the set is only its bar, with room under it (`--ui-tabs-bar-gap`)."
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
name: "form-value",
|
|
436
|
+
description: "Has a `name`: a `<ui-form>` around it reads and writes the selected `value`."
|
|
437
|
+
}
|
|
438
|
+
],
|
|
439
|
+
texts: [{
|
|
440
|
+
key: "scrollStart",
|
|
441
|
+
text: "Scroll back",
|
|
442
|
+
description: "Accessible name and tooltip of the `‹` key."
|
|
443
|
+
}, {
|
|
444
|
+
key: "scrollEnd",
|
|
445
|
+
text: "Scroll on",
|
|
446
|
+
description: "Accessible name and tooltip of the `›` key."
|
|
390
447
|
}],
|
|
391
|
-
texts: [],
|
|
392
448
|
ownsParts: ["tab"]
|
|
393
|
-
},
|
|
449
|
+
}, Ne = /* @__PURE__ */ N("<div role=tablist>"), Pe = /* @__PURE__ */ N("<slot>"), Fe = /* @__PURE__ */ N("<div>"), Ie = /* @__PURE__ */ N("<button type=button role=tab><!><!>"), Le = /* @__PURE__ */ N("<i>"), Re, ze, Be, Ve, He, Ue, We, Ge, Ke, qe, Je, Ye, Xe, Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, ct, lt, ut, dt, ft, G, pt, mt, ht, gt, K, q, J, Y, X, Z = class _UITabs extends (K = m, gt = [x], ht = [S], mt = [x], pt = [oe({ equals: !1 })], G = [y({ equals: ae })], ft = [y], dt = [w], ut = [ie("value")], lt = [y], ct = [y], st = [w], ot = [oe], at = [v("form-value")], it = [b("isAFormValue", "isReady", { defer: !0 })], rt = [b("isAFormValue", "selectedValue")], nt = [b("selectedValue")], tt = [w], et = [w], $e = [w], Qe = [v("vertical")], Ze = [y], Xe = [v("bar-only")], Ye = [v("overflowing")], Je = [b("isReady", "isConnected", "isVertical")], qe = [b("selectedIndex", "isReady", "isConnected")], Ke = [b("hasThumb")], Ge = [b("selectedIndex", "tabs", { defer: !0 })], We = [b("isReady", "isConnected", "isVertical", "tabs", "selectedIndex")], Ue = [w], He = [w], Ve = [w], Be = [b("parameter", "history", "isReady", "isConnected")], ze = [w], Re = [b("tabs", { defer: !0 })], K) {
|
|
394
450
|
constructor() {
|
|
395
|
-
super(...arguments),
|
|
396
|
-
when:
|
|
397
|
-
run: /* @__PURE__ */
|
|
398
|
-
})),
|
|
451
|
+
super(...arguments), h(q, 5, this), g(this, J, h(q, 8, this, this.readPanes())), h(q, 11, this), o(this, "paneRefresh", new d({
|
|
452
|
+
when: _,
|
|
453
|
+
run: /* @__PURE__ */ n(() => this.refreshPanes(), "run")
|
|
454
|
+
})), g(this, Y, h(q, 12, this)), h(q, 15, this), g(this, X, h(q, 16, this)), h(q, 19, this), o(this, "bar"), o(this, "scrolling", new pe({ owner: this })), o(this, "hasShownChosenTab", !1), o(this, "thumb"), o(this, "rovingTabindex"), o(this, "focusMovingKey"), o(this, "onKeyDown", /* @__PURE__ */ n((e) => {
|
|
399
455
|
this.focusMovingKey = e;
|
|
400
|
-
}, "onKeyDown")),
|
|
456
|
+
}, "onKeyDown")), o(this, "onFocusOut", h(q, 32, this, /* @__PURE__ */ n((e) => {
|
|
401
457
|
let t = e.relatedTarget;
|
|
402
458
|
if (t && this.bar?.contains(t)) return;
|
|
403
459
|
let n = this.rovingTabindex;
|
|
404
460
|
n && n.activeIndex !== this.selectedIndex && this.startRoving();
|
|
405
|
-
}, "onFocusOut"))),
|
|
461
|
+
}, "onFocusOut"))), h(q, 35, this), o(this, "address", new t({
|
|
462
|
+
domElement: this.domElement,
|
|
463
|
+
read: /* @__PURE__ */ n(() => this.selectedValue, "read"),
|
|
464
|
+
show: /* @__PURE__ */ n((e, t) => this.selectFromAddress(e, t), "show")
|
|
465
|
+
})), o(this, "paneFromAddress");
|
|
406
466
|
}
|
|
407
467
|
get tabs() {
|
|
408
|
-
return this.panes.filter((e) => e.component instanceof
|
|
468
|
+
return this.panes.filter((e) => e.component instanceof W);
|
|
409
469
|
}
|
|
410
470
|
get values() {
|
|
411
471
|
return this.tabs.map((e, t) => _UITabs.componentOf(e).value ?? String(t));
|
|
@@ -414,7 +474,7 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
414
474
|
this.panes = this.readPanes();
|
|
415
475
|
}
|
|
416
476
|
queueRefresh() {
|
|
417
|
-
|
|
477
|
+
k || this.paneRefresh.ask();
|
|
418
478
|
}
|
|
419
479
|
readPanes() {
|
|
420
480
|
return [...this.domElement.children].filter(_UITabs.isPane);
|
|
@@ -425,8 +485,8 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
425
485
|
let n = this.menuEdge;
|
|
426
486
|
return {
|
|
427
487
|
selected: t >= 0 && this.values[t] === this.displayedValue,
|
|
428
|
-
attached: n ? n === "top" ?
|
|
429
|
-
basic: this.hasLook(
|
|
488
|
+
attached: n ? n === "top" ? C : "top" : void 0,
|
|
489
|
+
basic: this.hasLook(F),
|
|
430
490
|
inverted: this.inverted
|
|
431
491
|
};
|
|
432
492
|
}
|
|
@@ -440,11 +500,11 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
440
500
|
return i >= 0 ? e[i] : void 0;
|
|
441
501
|
}
|
|
442
502
|
get selectedIndex() {
|
|
443
|
-
return this.values.indexOf(this.selectedValue ??
|
|
503
|
+
return this.values.indexOf(this.selectedValue ?? $);
|
|
444
504
|
}
|
|
445
505
|
select(e, t) {
|
|
446
506
|
let n = e.component;
|
|
447
|
-
if (!(n instanceof
|
|
507
|
+
if (!(n instanceof W) || n.disabled) return !1;
|
|
448
508
|
let r = this.valueFor(e);
|
|
449
509
|
if (r === this.selectedValue) return !1;
|
|
450
510
|
let i = {
|
|
@@ -452,13 +512,25 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
452
512
|
tab: e,
|
|
453
513
|
originalEvent: t
|
|
454
514
|
}, a = this.requestChange("value", r, () => this.send("ui-changing", i));
|
|
455
|
-
return a && this.send("ui-changed", i), a && this.
|
|
515
|
+
return a && this.send("ui-changed", i), a && this.address.record(this.addressPlace), a;
|
|
456
516
|
}
|
|
457
517
|
get displayedValue() {
|
|
458
518
|
return this.shownValue ?? this.selectedValue;
|
|
459
519
|
}
|
|
520
|
+
get isAFormValue() {
|
|
521
|
+
return !!this.attributes.name;
|
|
522
|
+
}
|
|
523
|
+
onFormValueChanged(e, t) {
|
|
524
|
+
e && t && _(() => this.send("ui-form-value", {}));
|
|
525
|
+
}
|
|
526
|
+
onSubmissionChanged(e, t) {
|
|
527
|
+
this.domElement.internals.setFormValue(e && t != null ? t : null);
|
|
528
|
+
}
|
|
460
529
|
onSelectedValueChanged(e) {
|
|
461
|
-
this.show(e);
|
|
530
|
+
this.show(e), this.recordChoice();
|
|
531
|
+
}
|
|
532
|
+
recordChoice() {
|
|
533
|
+
this.address.record(this.addressPlace);
|
|
462
534
|
}
|
|
463
535
|
show(e) {
|
|
464
536
|
let t = this.shownValue;
|
|
@@ -467,15 +539,15 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
467
539
|
return;
|
|
468
540
|
}
|
|
469
541
|
this.domElement.ownerDocument.startViewTransition(() => {
|
|
470
|
-
this.shownValue = e,
|
|
542
|
+
this.shownValue = e, _e();
|
|
471
543
|
}).ready.catch(() => void 0);
|
|
472
544
|
}
|
|
473
545
|
get canTransition() {
|
|
474
546
|
let { domElement: e } = this;
|
|
475
|
-
return !this.isReady || !e.isConnected || e.ownerDocument.visibilityState !== "visible" ? !1 :
|
|
547
|
+
return !this.isReady || !e.isConnected || e.ownerDocument.visibilityState !== "visible" ? !1 : p.browser.supports.viewTransitions && !p.browser.isReducedMotion;
|
|
476
548
|
}
|
|
477
549
|
get isVertical() {
|
|
478
|
-
return this.direction ===
|
|
550
|
+
return this.direction === yt;
|
|
479
551
|
}
|
|
480
552
|
hasLook(e) {
|
|
481
553
|
return String(this.appearance ?? "").split(" ").includes(e);
|
|
@@ -485,7 +557,7 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
485
557
|
}
|
|
486
558
|
get menuEdge() {
|
|
487
559
|
let e = this.attach;
|
|
488
|
-
if (e && !this.isVertical) return e === "bottom" ?
|
|
560
|
+
if (e && !this.isVertical) return e === "bottom" ? C : "top";
|
|
489
561
|
}
|
|
490
562
|
get menuAlignment() {
|
|
491
563
|
return this.isVertical ? void 0 : this.align;
|
|
@@ -511,39 +583,60 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
511
583
|
this.bar = e, e.addEventListener("keydown", this.onKeyDown, { capture: !0 });
|
|
512
584
|
}
|
|
513
585
|
buttons() {
|
|
514
|
-
return this.bar ? [...this.bar.querySelectorAll(
|
|
586
|
+
return this.bar ? [...this.bar.querySelectorAll(_t)] : [];
|
|
587
|
+
}
|
|
588
|
+
get isBarOnly() {
|
|
589
|
+
let e = this.tabs[this.values.indexOf(this.displayedValue ?? $)];
|
|
590
|
+
return !!e && !_UITabs.componentOf(e).hasContent;
|
|
591
|
+
}
|
|
592
|
+
get isOverflowing() {
|
|
593
|
+
return this.scrolling.isOverflowing;
|
|
594
|
+
}
|
|
595
|
+
onScrollingChanged(e, t, n) {
|
|
596
|
+
let r = this.bar;
|
|
597
|
+
if (e && t && !n && r) return this.scrolling.follow(r);
|
|
598
|
+
}
|
|
599
|
+
onChosenTabToView(e, t, n) {
|
|
600
|
+
if (!t || !n || e < 0) return;
|
|
601
|
+
let r = this.hasShownChosenTab;
|
|
602
|
+
this.hasShownChosenTab = !0, _(() => {
|
|
603
|
+
re(() => {
|
|
604
|
+
let t = this.buttons()[e];
|
|
605
|
+
t && !this.isVertical && this.scrolling.bringIntoView(t, { smoothly: r });
|
|
606
|
+
});
|
|
607
|
+
});
|
|
515
608
|
}
|
|
516
609
|
get hasThumb() {
|
|
517
|
-
return this.hasLook(
|
|
610
|
+
return this.hasLook(vt) && this.isReady && this.isConnected;
|
|
518
611
|
}
|
|
519
612
|
onThumbChanged(e) {
|
|
520
613
|
let t = this.bar;
|
|
521
614
|
if (!e || !t) return;
|
|
522
|
-
let
|
|
615
|
+
let r = new ue({
|
|
523
616
|
track: t,
|
|
524
|
-
chosenBox: /* @__PURE__ */
|
|
617
|
+
chosenBox: /* @__PURE__ */ n(() => this.buttons()[this.selectedIndex], "chosenBox")
|
|
525
618
|
});
|
|
526
|
-
this.thumb =
|
|
527
|
-
let
|
|
619
|
+
this.thumb = r;
|
|
620
|
+
let i = r.start();
|
|
528
621
|
return () => {
|
|
529
|
-
|
|
622
|
+
i(), this.thumb = void 0;
|
|
530
623
|
};
|
|
531
624
|
}
|
|
532
625
|
onChosenTabChanged() {
|
|
533
626
|
this.thumb?.update();
|
|
534
627
|
}
|
|
535
628
|
onRovingChanged(e, t) {
|
|
536
|
-
if (e && t) return
|
|
629
|
+
if (e && t) return _(() => this.startRoving()), () => this.stopRoving();
|
|
537
630
|
}
|
|
538
631
|
startRoving() {
|
|
539
632
|
this.stopRoving();
|
|
540
633
|
let e = this.bar;
|
|
541
|
-
e && this.domElement.isConnected && (this.rovingTabindex =
|
|
634
|
+
e && this.domElement.isConnected && (this.rovingTabindex = p.focus.roving({
|
|
542
635
|
container: e,
|
|
543
|
-
items: /* @__PURE__ */
|
|
636
|
+
items: /* @__PURE__ */ n(() => this.buttons(), "items"),
|
|
544
637
|
orientation: this.isVertical ? "vertical" : "horizontal",
|
|
545
638
|
activeIndex: Math.max(0, this.selectedIndex),
|
|
546
|
-
onChange: /* @__PURE__ */
|
|
639
|
+
onChange: /* @__PURE__ */ n((e, t) => this.onRovingChange(t), "onChange")
|
|
547
640
|
}));
|
|
548
641
|
}
|
|
549
642
|
stopRoving() {
|
|
@@ -555,112 +648,111 @@ var G = W, xe = "segment", Se = ":scope > template", K = {
|
|
|
555
648
|
let n = this.tabs[e];
|
|
556
649
|
n && this.select(n, t);
|
|
557
650
|
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
651
|
+
get addressPlace() {
|
|
652
|
+
let e = this.parameter?.trim();
|
|
653
|
+
return e ? { parameter: e } : this.history ? { hash: !0 } : void 0;
|
|
654
|
+
}
|
|
655
|
+
onAddressChanged(e, t, n, r) {
|
|
656
|
+
return n && r ? this.address.follow(this.addressPlace) : void 0;
|
|
563
657
|
}
|
|
564
|
-
|
|
565
|
-
let
|
|
566
|
-
|
|
658
|
+
selectFromAddress(e, t) {
|
|
659
|
+
let n = this.tabs[this.values.indexOf(e ?? $)];
|
|
660
|
+
this.paneFromAddress = n || this.tabs.length ? void 0 : e, n && this.select(n, t);
|
|
567
661
|
}
|
|
568
|
-
|
|
569
|
-
|
|
662
|
+
onPanesForAddress() {
|
|
663
|
+
let e = this.paneFromAddress;
|
|
664
|
+
e !== void 0 && (this.paneFromAddress = void 0, this.selectFromAddress(e));
|
|
570
665
|
}
|
|
571
666
|
render() {
|
|
572
667
|
let e = this;
|
|
573
|
-
var t =
|
|
574
|
-
|
|
668
|
+
var t = Ne();
|
|
669
|
+
ve(t, "focusout", e.onFocusOut, !0), j(() => (t) => e.attachBar(t), t), O(t, ye(he, {
|
|
575
670
|
get each() {
|
|
576
671
|
return e.tabs;
|
|
577
672
|
},
|
|
578
673
|
children: (t, n) => e.tab(t, n)
|
|
579
|
-
})),
|
|
580
|
-
e:
|
|
674
|
+
})), E(() => ({
|
|
675
|
+
e: A(e.menuClasses),
|
|
581
676
|
t: e.partForName("menu"),
|
|
582
677
|
a: e.attributes["aria-label"] ?? void 0,
|
|
583
678
|
o: e.isVertical ? "vertical" : void 0
|
|
584
679
|
}), ({ e, t: n, a: r, o: i }, a) => {
|
|
585
|
-
|
|
680
|
+
T(t, e, a?.e), n !== a?.t && M(t, "part", n), r !== a?.a && M(t, "aria-label", r), i !== a?.o && M(t, "aria-orientation", i);
|
|
586
681
|
});
|
|
587
|
-
let n = t, r =
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
682
|
+
let n = t, r = [
|
|
683
|
+
this.scrolling.key(fe),
|
|
684
|
+
n,
|
|
685
|
+
this.scrolling.key("end")
|
|
686
|
+
], i = this;
|
|
687
|
+
var a = Pe();
|
|
688
|
+
a.addEventListener("slotchange", () => i.refreshPanes()), a._$owner = D();
|
|
689
|
+
let o = a, s = this;
|
|
690
|
+
var c = Fe();
|
|
691
|
+
return O(c, (() => {
|
|
692
|
+
var e = xe(() => s.menuEdge === C);
|
|
693
|
+
return () => e() ? [o, ...r] : [...r, o];
|
|
694
|
+
})()), E(() => ({
|
|
695
|
+
e: A([s.rootClass, { [bt]: s.isOverflowing }]),
|
|
696
|
+
t: s.partForName("tabs")
|
|
595
697
|
}), ({ e, t }, n) => {
|
|
596
|
-
|
|
597
|
-
}),
|
|
698
|
+
T(c, e, n?.e), t !== n?.t && M(c, "part", t);
|
|
699
|
+
}), c;
|
|
598
700
|
}
|
|
599
|
-
tab(t,
|
|
600
|
-
let
|
|
701
|
+
tab(t, r) {
|
|
702
|
+
let i = _UITabs.componentOf(t), a = /* @__PURE__ */ n(() => r() === this.selectedIndex, "isSelected"), o = new s({
|
|
601
703
|
owner: this,
|
|
602
|
-
name: /* @__PURE__ */
|
|
603
|
-
}),
|
|
604
|
-
var
|
|
605
|
-
return
|
|
704
|
+
name: /* @__PURE__ */ n(() => i.icon, "name")
|
|
705
|
+
}), c = this;
|
|
706
|
+
var l = Ie(), u = l.firstChild, d = u.nextSibling;
|
|
707
|
+
return l._$$click = (e) => c.select(t, e), j(() => (e) => e.ariaControlsElements = [t], l), O(l, ye(ge, {
|
|
606
708
|
get when() {
|
|
607
709
|
return o.svg;
|
|
608
710
|
},
|
|
609
711
|
children: (t) => (() => {
|
|
610
|
-
var n =
|
|
611
|
-
return
|
|
612
|
-
e:
|
|
613
|
-
t:
|
|
712
|
+
var n = Le();
|
|
713
|
+
return O(n, t), E(() => ({
|
|
714
|
+
e: A(e),
|
|
715
|
+
t: c.partForName("icon")
|
|
614
716
|
}), ({ e, t }, r) => {
|
|
615
|
-
|
|
717
|
+
T(n, e, r?.e), t !== r?.t && M(n, "part", t);
|
|
616
718
|
}), n;
|
|
617
719
|
})()
|
|
618
|
-
}),
|
|
619
|
-
e:
|
|
620
|
-
|
|
621
|
-
|
|
720
|
+
}), u), O(l, () => i.label ?? c.values[r()], d), E(() => ({
|
|
721
|
+
e: A([
|
|
722
|
+
a() && "active",
|
|
723
|
+
i.disabled && "disabled",
|
|
622
724
|
ee
|
|
623
725
|
].filter(Boolean).join(" ")),
|
|
624
|
-
t:
|
|
625
|
-
a:
|
|
626
|
-
o:
|
|
627
|
-
i:
|
|
726
|
+
t: c.partForName("tab"),
|
|
727
|
+
a: a() ? "true" : "false",
|
|
728
|
+
o: i.disabled ? "true" : void 0,
|
|
729
|
+
i: k ? p.ids.ensure(t, xt) : void 0
|
|
628
730
|
}), ({ e, t, a: n, o: r, i }, a) => {
|
|
629
|
-
|
|
630
|
-
}),
|
|
731
|
+
T(l, e, a?.e), t !== a?.t && M(l, "part", t), n !== a?.a && M(l, "aria-selected", n), r !== a?.o && M(l, "aria-disabled", r), i !== a?.i && M(l, "aria-controls", i);
|
|
732
|
+
}), l;
|
|
631
733
|
}
|
|
632
734
|
static isPane(e) {
|
|
633
|
-
return
|
|
735
|
+
return m.registry.definitions.get(e.localName)?.vocabulary.noun === P.noun;
|
|
634
736
|
}
|
|
635
737
|
static componentOf(e) {
|
|
636
738
|
return e.component;
|
|
637
739
|
}
|
|
638
|
-
static hashValue(e = window.location) {
|
|
639
|
-
let t = e.hash.slice(1);
|
|
640
|
-
if (t) try {
|
|
641
|
-
return decodeURIComponent(t);
|
|
642
|
-
} catch {
|
|
643
|
-
return t;
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
static pushHash(e, t = window) {
|
|
647
|
-
let n = `#${encodeURIComponent(e)}`, { history: r, location: i } = t;
|
|
648
|
-
i.hash !== n && r.pushState(r.state, "", n);
|
|
649
|
-
}
|
|
650
740
|
};
|
|
651
|
-
|
|
741
|
+
q = ce(K), J = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap(), c(q, 4, "panes", pt, Z, J), c(q, 2, "tabs", G, Z), c(q, 2, "values", ft, Z), c(q, 1, "valueFor", dt, Z), c(q, 4, "value", ut, Z, Y), c(q, 2, "selectedValue", lt, Z), c(q, 2, "selectedIndex", ct, Z), c(q, 1, "select", st, Z), c(q, 4, "shownValue", ot, Z, X), c(q, 2, "isAFormValue", at, Z), c(q, 1, "onFormValueChanged", it, Z), c(q, 1, "onSubmissionChanged", rt, Z), c(q, 1, "onSelectedValueChanged", nt, Z), c(q, 1, "recordChoice", tt, Z), c(q, 1, "show", et, Z), c(q, 2, "canTransition", $e, Z), c(q, 2, "isVertical", Qe, Z), c(q, 2, "menuClasses", Ze, Z), c(q, 2, "isBarOnly", Xe, Z), c(q, 2, "isOverflowing", Ye, Z), c(q, 1, "onScrollingChanged", Je, Z), c(q, 1, "onChosenTabToView", qe, Z), c(q, 1, "onThumbChanged", Ke, Z), c(q, 1, "onChosenTabChanged", Ge, Z), c(q, 1, "onRovingChanged", We, Z), c(q, 1, "startRoving", Ue, Z), c(q, 1, "onRovingChange", He, Z), c(q, 1, "onAddressChanged", Be, Z), c(q, 1, "selectFromAddress", ze, Z), c(q, 1, "onPanesForAddress", Re, Z), c(q, 13, "vocabulary", gt, Z), c(q, 13, "elementSetup", ht, Z), c(q, 13, "menuClassBuilder", mt, Z), c(q, 5, "onFocusOut", Ve, Z), f(q, Z), n(Z, "UITabs"), o(Z, "vocabulary", h(q, 20, Z, Me)), h(q, 23, Z), o(Z, "elementSetup", h(q, 24, Z, {
|
|
652
742
|
styleSheets: {
|
|
653
|
-
menu:
|
|
654
|
-
|
|
743
|
+
menu: de,
|
|
744
|
+
scrollingRow: me,
|
|
745
|
+
tab: I
|
|
655
746
|
},
|
|
747
|
+
isAFormControl: !0,
|
|
656
748
|
delegatesFocus: !1
|
|
657
|
-
})),
|
|
658
|
-
...
|
|
659
|
-
noun:
|
|
660
|
-
}))),
|
|
661
|
-
var
|
|
662
|
-
|
|
749
|
+
})), h(q, 27, Z), o(Z, "menuClassBuilder", h(q, 28, Z, new i({
|
|
750
|
+
...Me,
|
|
751
|
+
noun: Se
|
|
752
|
+
}))), h(q, 31, Z);
|
|
753
|
+
var Q = Z, _t = ":scope > [role=tab]", vt = "segmented", yt = "vertical", bt = "scrolling-row", $ = "\0", xt = "ui-tab";
|
|
754
|
+
be(["focusout", "click"]), W.define(), Q.define();
|
|
663
755
|
//#endregion
|
|
664
|
-
export {
|
|
756
|
+
export { W as UITab, Q as UITabs };
|
|
665
757
|
|
|
666
758
|
//# sourceMappingURL=ui-tab.js.map
|