spell-ui 0.8.6 → 0.8.8
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 +13 -3
- 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 +22 -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 +530 -24
- 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 +124 -92
- 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
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
****************/
|
|
15
15
|
export declare const valueVocabulary: {
|
|
16
16
|
readonly tag: "ui-value";
|
|
17
|
+
readonly icon: "hashtag";
|
|
17
18
|
readonly topics: readonly ["content parts", "data display"];
|
|
18
19
|
readonly aka: readonly ["statistic value", "number", "metric value"];
|
|
19
20
|
readonly noun: "value";
|
|
@@ -14,6 +14,7 @@ import { placeholderVocabulary } from './UIPlaceholder.en';
|
|
|
14
14
|
export declare class UIPlaceholder extends E.UIComponent<typeof placeholderVocabulary> {
|
|
15
15
|
static vocabulary: {
|
|
16
16
|
readonly tag: "ui-placeholder";
|
|
17
|
+
readonly icon: "ellipsis horizontal";
|
|
17
18
|
readonly topics: readonly ["loading", "feedback", "elements"];
|
|
18
19
|
readonly aka: readonly ["skeleton", "shimmer", "ghost", "loading placeholder", "content loader"];
|
|
19
20
|
readonly noun: "placeholder";
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
****************/
|
|
20
20
|
export declare const placeholderVocabulary: {
|
|
21
21
|
readonly tag: "ui-placeholder";
|
|
22
|
+
readonly icon: "ellipsis horizontal";
|
|
22
23
|
readonly topics: readonly ["loading", "feedback", "elements"];
|
|
23
24
|
readonly aka: readonly ["skeleton", "shimmer", "ghost", "loading placeholder", "content loader"];
|
|
24
25
|
readonly noun: "placeholder";
|
|
@@ -10,6 +10,7 @@ import { placeholderHeaderVocabulary } from './UIPlaceholderHeader.en';
|
|
|
10
10
|
export declare class UIPlaceholderHeader extends PlaceholderShape<typeof placeholderHeaderVocabulary> {
|
|
11
11
|
static vocabulary: {
|
|
12
12
|
readonly tag: "ui-placeholder-header";
|
|
13
|
+
readonly icon: "heading";
|
|
13
14
|
readonly topics: readonly ["loading", "content parts", "elements"];
|
|
14
15
|
readonly aka: readonly ["skeleton heading"];
|
|
15
16
|
readonly noun: "header";
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
****************/
|
|
13
13
|
export declare const placeholderHeaderVocabulary: {
|
|
14
14
|
readonly tag: "ui-placeholder-header";
|
|
15
|
+
readonly icon: "heading";
|
|
15
16
|
readonly topics: readonly ["loading", "content parts", "elements"];
|
|
16
17
|
readonly aka: readonly ["skeleton heading"];
|
|
17
18
|
readonly noun: "header";
|
|
@@ -9,6 +9,7 @@ import { placeholderImageVocabulary } from './UIPlaceholderImage.en';
|
|
|
9
9
|
export declare class UIPlaceholderImage extends PlaceholderShape<typeof placeholderImageVocabulary> {
|
|
10
10
|
static vocabulary: {
|
|
11
11
|
readonly tag: "ui-placeholder-image";
|
|
12
|
+
readonly icon: "image outline";
|
|
12
13
|
readonly topics: readonly ["loading", "images", "elements"];
|
|
13
14
|
readonly aka: readonly ["skeleton image", "image placeholder"];
|
|
14
15
|
readonly noun: "image";
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
****************/
|
|
13
13
|
export declare const placeholderImageVocabulary: {
|
|
14
14
|
readonly tag: "ui-placeholder-image";
|
|
15
|
+
readonly icon: "image outline";
|
|
15
16
|
readonly topics: readonly ["loading", "images", "elements"];
|
|
16
17
|
readonly aka: readonly ["skeleton image", "image placeholder"];
|
|
17
18
|
readonly noun: "image";
|
|
@@ -10,6 +10,7 @@ import { placeholderLineVocabulary } from './UIPlaceholderLine.en';
|
|
|
10
10
|
export declare class UIPlaceholderLine extends PlaceholderShape<typeof placeholderLineVocabulary> {
|
|
11
11
|
static vocabulary: {
|
|
12
12
|
readonly tag: "ui-placeholder-line";
|
|
13
|
+
readonly icon: "minus";
|
|
13
14
|
readonly topics: readonly ["loading", "content parts", "elements"];
|
|
14
15
|
readonly aka: readonly ["skeleton line"];
|
|
15
16
|
readonly noun: "line";
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
****************/
|
|
12
12
|
export declare const placeholderLineVocabulary: {
|
|
13
13
|
readonly tag: "ui-placeholder-line";
|
|
14
|
+
readonly icon: "minus";
|
|
14
15
|
readonly topics: readonly ["loading", "content parts", "elements"];
|
|
15
16
|
readonly aka: readonly ["skeleton line"];
|
|
16
17
|
readonly noun: "line";
|
|
@@ -9,6 +9,7 @@ import { placeholderParagraphVocabulary } from './UIPlaceholderParagraph.en';
|
|
|
9
9
|
export declare class UIPlaceholderParagraph extends PlaceholderShape<typeof placeholderParagraphVocabulary> {
|
|
10
10
|
static vocabulary: {
|
|
11
11
|
readonly tag: "ui-placeholder-paragraph";
|
|
12
|
+
readonly icon: "align left";
|
|
12
13
|
readonly topics: readonly ["loading", "content parts", "elements"];
|
|
13
14
|
readonly aka: readonly ["skeleton text", "skeleton paragraph"];
|
|
14
15
|
readonly noun: "paragraph";
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
****************/
|
|
13
13
|
export declare const placeholderParagraphVocabulary: {
|
|
14
14
|
readonly tag: "ui-placeholder-paragraph";
|
|
15
|
+
readonly icon: "align left";
|
|
15
16
|
readonly topics: readonly ["loading", "content parts", "elements"];
|
|
16
17
|
readonly aka: readonly ["skeleton text", "skeleton paragraph"];
|
|
17
18
|
readonly noun: "paragraph";
|
|
@@ -20,6 +20,11 @@ import { popupVocabulary } from './UIPopup.en';
|
|
|
20
20
|
* `hoverable="false"` gives Fomantic's behaviour back:
|
|
21
21
|
* it hides as the pointer leaves the target, after `hide-delay`.
|
|
22
22
|
*
|
|
23
|
+
* - `at`, a point in the window (`{ x, y }`), in place of a target: a right click's menu.
|
|
24
|
+
* - It opens with its corner there, staying inside the window, and takes focus, which goes back when it closes.
|
|
25
|
+
* - The point is a box the popup puts on the page while it's open (`placeAtPoint()`): anchor positioning needs one.
|
|
26
|
+
* - Written with `open-on="manual"`, and with `visible` to open: it has no target to listen to.
|
|
27
|
+
*
|
|
23
28
|
* - Invoker commands (`<button commandfor="id" command="--toggle">`, `UIT.ToggleCommands`)
|
|
24
29
|
* are a person's actions too: the popup opens at ITS target, whichever button sent the command.
|
|
25
30
|
*
|
|
@@ -34,7 +39,8 @@ import { popupVocabulary } from './UIPopup.en';
|
|
|
34
39
|
* the component follows (with a `ui-closing` that can no longer veto).
|
|
35
40
|
*
|
|
36
41
|
* - Accessibility, by `open-on`:
|
|
37
|
-
* - `hover` / `focus` / `manual`: the DOM element is `role=tooltip`; the target is `aria-describedby` it
|
|
42
|
+
* - `hover` / `focus` / `manual`: the DOM element is `role=tooltip`; the target is `aria-describedby` it;
|
|
43
|
+
* `at` is interactive, as `click`
|
|
38
44
|
* - `click`: the DOM element is `role=dialog` (non-modal, named by `header` or its `aria-label`);
|
|
39
45
|
* the target gets `aria-haspopup=dialog`, `aria-expanded`, `aria-controls`
|
|
40
46
|
* - the ARIA goes on the element that takes focus: a `delegatesFocus` target's (`<ui-button>`'s) first focusable,
|
|
@@ -47,6 +53,7 @@ import { popupVocabulary } from './UIPopup.en';
|
|
|
47
53
|
export declare class UIPopup extends E.UIComponent<Vocabulary> {
|
|
48
54
|
static vocabulary: {
|
|
49
55
|
readonly tag: "ui-popup";
|
|
56
|
+
readonly icon: "comment outline";
|
|
50
57
|
readonly topics: readonly ["popups", "overlays", "feedback", "modules"];
|
|
51
58
|
readonly aka: readonly ["tooltip", "popover", "hint", "hover card", "info bubble"];
|
|
52
59
|
readonly noun: "popup";
|
|
@@ -159,6 +166,12 @@ export declare class UIPopup extends E.UIComponent<Vocabulary> {
|
|
|
159
166
|
readonly kind: "json";
|
|
160
167
|
readonly reflect: false;
|
|
161
168
|
readonly description: "The target as a PROPERTY (an `Element`); wins over `for`.";
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "at";
|
|
171
|
+
readonly group: "behaviour";
|
|
172
|
+
readonly kind: "json";
|
|
173
|
+
readonly reflect: false;
|
|
174
|
+
readonly 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.";
|
|
162
175
|
}];
|
|
163
176
|
readonly events: readonly [{
|
|
164
177
|
readonly name: "ui-opening";
|
|
@@ -240,6 +253,20 @@ export declare class UIPopup extends E.UIComponent<Vocabulary> {
|
|
|
240
253
|
private show;
|
|
241
254
|
/** Hide the popover and leave `UI.overlays`. */
|
|
242
255
|
private hide;
|
|
256
|
+
/** `at`, when it's a point. */
|
|
257
|
+
get point(): UIT.PopupPoint | undefined;
|
|
258
|
+
/** The box at `point`, while it's open: what it's anchored to. */
|
|
259
|
+
accessor pointBox: HTMLElement | undefined;
|
|
260
|
+
/**
|
|
261
|
+
* Put the box at `point`, and make it the target, its anchor name on it already: `bind()` comes a moment later.
|
|
262
|
+
* - In the popup's own tree: an anchor name reaches only there.
|
|
263
|
+
* - SIDE EFFECT: no pointing arrow and no gap; `removePointBox()` undoes it.
|
|
264
|
+
*/
|
|
265
|
+
private placeAtPoint;
|
|
266
|
+
/** Take the box away. */
|
|
267
|
+
private removePointBox;
|
|
268
|
+
/** Told of a new point while it's open: it moves there. */
|
|
269
|
+
protected onPointChanged(): void;
|
|
243
270
|
/**
|
|
244
271
|
* The popover's `toggle`: the browser closed it (a `hint` popover's light dismiss)
|
|
245
272
|
* while the element thinks it's open -- follow, announcing a `ui-closing` that can't veto any more.
|
|
@@ -254,7 +281,7 @@ export declare class UIPopup extends E.UIComponent<Vocabulary> {
|
|
|
254
281
|
get targetElement(): Element | undefined;
|
|
255
282
|
/** What opens it. */
|
|
256
283
|
get trigger(): UIT.PopupTrigger;
|
|
257
|
-
/** A click popup: a non-modal dialog with interactive content, not a tooltip. */
|
|
284
|
+
/** A click popup, or one at a point: a non-modal dialog with interactive content, not a tooltip. */
|
|
258
285
|
get isInteractive(): boolean;
|
|
259
286
|
/** Element carrying the target's ARIA (see class docs), while bound. */
|
|
260
287
|
accessor ariaElement: Element | undefined;
|
|
@@ -302,7 +329,7 @@ export declare class UIPopup extends E.UIComponent<Vocabulary> {
|
|
|
302
329
|
/** A click popup's dialog is named by `header`. */
|
|
303
330
|
protected get accessibleName(): string | undefined;
|
|
304
331
|
/** SIDE EFFECT: the DOM element's `position-area` follows `position`. */
|
|
305
|
-
protected onPositionChanged(position: string | undefined): void;
|
|
332
|
+
protected onPositionChanged(position: string | undefined, point: UIT.PopupPoint | undefined): void;
|
|
306
333
|
/**
|
|
307
334
|
* `popover` mode for the current trigger, see class docs.
|
|
308
335
|
* - `manual` popups too stay `manual`:
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
****************/
|
|
21
21
|
export declare const popupVocabulary: {
|
|
22
22
|
readonly tag: "ui-popup";
|
|
23
|
+
readonly icon: "comment outline";
|
|
23
24
|
readonly topics: readonly ["popups", "overlays", "feedback", "modules"];
|
|
24
25
|
readonly aka: readonly ["tooltip", "popover", "hint", "hover card", "info bubble"];
|
|
25
26
|
readonly noun: "popup";
|
|
@@ -132,6 +133,12 @@ export declare const popupVocabulary: {
|
|
|
132
133
|
readonly kind: "json";
|
|
133
134
|
readonly reflect: false;
|
|
134
135
|
readonly description: "The target as a PROPERTY (an `Element`); wins over `for`.";
|
|
136
|
+
}, {
|
|
137
|
+
readonly name: "at";
|
|
138
|
+
readonly group: "behaviour";
|
|
139
|
+
readonly kind: "json";
|
|
140
|
+
readonly reflect: false;
|
|
141
|
+
readonly 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.";
|
|
135
142
|
}];
|
|
136
143
|
readonly events: readonly [{
|
|
137
144
|
readonly name: "ui-opening";
|
|
@@ -10,6 +10,7 @@ export declare const popupEs: {
|
|
|
10
10
|
readonly name: "emergente";
|
|
11
11
|
readonly aka: readonly ["ventana emergente", "información sobre herramientas", "tooltip", "globo", "sugerencia"];
|
|
12
12
|
readonly attributes: {
|
|
13
|
+
readonly at: "en";
|
|
13
14
|
readonly flowing: "extendido";
|
|
14
15
|
readonly "open-on": "abrir-al";
|
|
15
16
|
readonly hoverable: "mantener-abierto";
|
|
@@ -34,6 +34,8 @@ import { progressVocabulary } from './UIProgress.en';
|
|
|
34
34
|
export declare class UIProgress extends E.UIComponent<typeof progressVocabulary> {
|
|
35
35
|
static vocabulary: {
|
|
36
36
|
readonly tag: "ui-progress";
|
|
37
|
+
readonly icon: "tasks";
|
|
38
|
+
readonly snippet: "<ui-progress percent=\"50\"></ui-progress>";
|
|
37
39
|
readonly topics: readonly ["progress", "loading", "feedback", "status", "modules"];
|
|
38
40
|
readonly aka: readonly ["progress bar", "meter", "percent bar", "upload progress"];
|
|
39
41
|
readonly skeleton: "2 tall";
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
****************/
|
|
16
16
|
export declare const progressVocabulary: {
|
|
17
17
|
readonly tag: "ui-progress";
|
|
18
|
+
readonly icon: "tasks";
|
|
19
|
+
readonly snippet: "<ui-progress percent=\"50\"></ui-progress>";
|
|
18
20
|
readonly topics: readonly ["progress", "loading", "feedback", "status", "modules"];
|
|
19
21
|
readonly aka: readonly ["progress bar", "meter", "percent bar", "upload progress"];
|
|
20
22
|
readonly skeleton: "2 tall";
|
|
@@ -8,6 +8,7 @@ export declare const progressEs: {
|
|
|
8
8
|
readonly lang: "es";
|
|
9
9
|
readonly tag: "ui-progress";
|
|
10
10
|
readonly name: "progreso";
|
|
11
|
+
readonly snippet: "<es-progreso></es-progreso>";
|
|
11
12
|
readonly aka: readonly ["progreso", "barra de progreso", "medidor", "porcentaje", "progreso de subida"];
|
|
12
13
|
readonly attributes: {
|
|
13
14
|
readonly indicating: "indicador";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { JSX } from '@solidjs/web';
|
|
1
2
|
import { E } from 'spell/ui/core';
|
|
2
3
|
import { DOMFieldElement, UIField } from 'spell/ui/components/ui-form';
|
|
3
4
|
import { fieldVocabulary } from 'spell/ui/components/ui-form/UIField.en';
|
|
4
5
|
import { AttributeSpec, PropertySchema, ValueType } from 'spell/ui/vocabulary';
|
|
5
|
-
import { Choice } from 'spell/ui/runtime';
|
|
6
|
+
import { Choice, PropertyControl } from 'spell/ui/runtime';
|
|
7
|
+
import { PropertyOrigin } from './UIPropertyEditor.types';
|
|
6
8
|
/****************
|
|
7
9
|
* ### `DOMPropertyElement`
|
|
8
10
|
* The DOM element of `<ui-property>`: a field's (`showErrors()`, `errors`), plus what its editor reads of it.
|
|
@@ -16,6 +18,8 @@ export declare class DOMPropertyElement extends DOMFieldElement {
|
|
|
16
18
|
get schemaRules(): readonly E.ValidationRule[] | undefined;
|
|
17
19
|
/** Show it as holding an edit not saved yet (`:state(changed)`); the editor says. */
|
|
18
20
|
markChanged(isChanged: boolean): void;
|
|
21
|
+
/** Its form showed a value in its control (`FormBinding`): `:state(set)` reads it again. */
|
|
22
|
+
valueShown(): void;
|
|
19
23
|
}
|
|
20
24
|
/****************
|
|
21
25
|
* ### `UIProperty`
|
|
@@ -38,6 +42,20 @@ export declare class DOMPropertyElement extends DOMFieldElement {
|
|
|
38
42
|
* - SIDE EFFECT: adds and removes elements in its light DOM, marked `data-ui-made`.
|
|
39
43
|
* - `readonly` nests: its own, or a `readonly` group or editor around it, makes the control readonly.
|
|
40
44
|
* - `:state(changed)`: its edit is held, not saved yet (the editor says, `markChanged()`).
|
|
45
|
+
* - Its look in its editor (epic `debut` P31):
|
|
46
|
+
* - `:state(half)`: half a row on the editor's grid, by its control's kind (a number, a select) or its `width`
|
|
47
|
+
* - in a `compact` editor (`:state(compact)`): a yes or no on one line, the box then its label; its hint at the
|
|
48
|
+
* label row's end
|
|
49
|
+
* - `:state(set)`: its value isn't its default (`default`, else the schema's); bold under `show-defaults`
|
|
50
|
+
* - where its value comes from, when its editor says (`PropertyOrigin`): `:state(here)`, a dot by its label;
|
|
51
|
+
* `:state(inherited)`, a quieter label; `worked out`, read only; its label's tooltip says where, and a small
|
|
52
|
+
* button at the row's end says it was pressed (`ui-reset`, `ui-show-code`)
|
|
53
|
+
* - `data`: kept in a place outside the program, `:state(data)`; its `mark` at the row's end says where in short,
|
|
54
|
+
* and is its button when it offers one; an origin's `readonly` makes it read only, whatever its kind
|
|
55
|
+
* - a run of three or more yes-or-no properties in one group is ONE select of pills (`FlagRun`):
|
|
56
|
+
* the first draws it (`:state(flags)`), the rest hide (`:state(flag)`), each still its own property
|
|
57
|
+
* - choices carry their icons (`ValueSets.iconsFor()`), a hue its colour's chip; four or fewer, all with
|
|
58
|
+
* icons, draw as a segmented row of icons (`buttons`)
|
|
41
59
|
****************/
|
|
42
60
|
export declare class UIProperty extends UIField {
|
|
43
61
|
static vocabulary: typeof fieldVocabulary;
|
|
@@ -61,12 +79,20 @@ export declare class UIProperty extends UIField {
|
|
|
61
79
|
* so a translated one is found too (`<es-editor-propiedades>`), before its state is drawn.
|
|
62
80
|
*/
|
|
63
81
|
protected watchEditor(): () => void;
|
|
82
|
+
/** Why a change here can't be saved: its own `unsaved`, else its editor's. */
|
|
83
|
+
get unsavedText(): string | undefined;
|
|
64
84
|
/** What the schema says of its property, if the editor has a schema that names it. */
|
|
65
85
|
get spec(): AttributeSpec | undefined;
|
|
66
|
-
/** Its label:
|
|
86
|
+
/** Its label: its own (`ownLabel`); "Options" while it heads a run of pills. */
|
|
67
87
|
get labelText(): string | undefined;
|
|
68
|
-
/** Its
|
|
88
|
+
/** Its own label: the field's `label`, else the schema's (or one made from its name). */
|
|
89
|
+
get ownLabel(): string | undefined;
|
|
90
|
+
/** Its tip: the field's own `description`, else the schema's `tip`; the pills' row has none of its own. */
|
|
69
91
|
get descriptionText(): string | undefined;
|
|
92
|
+
/** Its hint: the field's own `hint`, else the schema's. */
|
|
93
|
+
get hintText(): string | undefined;
|
|
94
|
+
/** In a compact editor, its hint sits at the label row's end. */
|
|
95
|
+
get hasHintInRow(): boolean;
|
|
70
96
|
/** Its value's type, as a form edits it: the schema's, else `text`. */
|
|
71
97
|
get valueType(): ValueType;
|
|
72
98
|
/**
|
|
@@ -80,6 +106,24 @@ export declare class UIProperty extends UIField {
|
|
|
80
106
|
/** Always `:state(property)`: how its family finds it, whatever its tag is called (`PROPERTY_SELECTOR`). */
|
|
81
107
|
get isProperty(): boolean;
|
|
82
108
|
get isReadOnly(): boolean;
|
|
109
|
+
/** Where its editor says its value comes from; `undefined` when it doesn't say. */
|
|
110
|
+
get origin(): PropertyOrigin | undefined;
|
|
111
|
+
/** `:state(here)`: its value is set on this thing. */
|
|
112
|
+
get isSetHere(): boolean;
|
|
113
|
+
/** `:state(inherited)`: its value comes from somewhere else. */
|
|
114
|
+
get isInherited(): boolean;
|
|
115
|
+
/** `:state(data)`: its value is kept in a place outside the program, a back-end. */
|
|
116
|
+
get isData(): boolean;
|
|
117
|
+
/** The label's tooltip says where. */
|
|
118
|
+
get labelTitle(): string | undefined;
|
|
119
|
+
/** Glyph of the button its origin offers. */
|
|
120
|
+
private readonly originGlyph;
|
|
121
|
+
/** What its origin shows at the row's end: its `mark`, else the small button it offers. */
|
|
122
|
+
protected rowEnd(): JSX.Element;
|
|
123
|
+
/** Its origin's `mark`, at the row's end: its button, when it offers one, else plain words. */
|
|
124
|
+
private originMark;
|
|
125
|
+
/** The small button its origin offers. */
|
|
126
|
+
private originButton;
|
|
83
127
|
/** `:state(changed)`: its edit is held, not saved yet. */
|
|
84
128
|
accessor isChanged: boolean;
|
|
85
129
|
/**
|
|
@@ -87,6 +131,8 @@ export declare class UIProperty extends UIField {
|
|
|
87
131
|
* - `undefined` until the page's runtime has loaded.
|
|
88
132
|
*/
|
|
89
133
|
get controlKind(): string | undefined;
|
|
134
|
+
/** What its kind draws, while the runtime is in. */
|
|
135
|
+
get control(): PropertyControl | undefined;
|
|
90
136
|
/** `:state(buttons)`: its control is a row of choices (a kind drawn as `radios`). */
|
|
91
137
|
get isButtonRow(): boolean;
|
|
92
138
|
/** Choices loaded from a source (`options`, `choicesFrom`), once they arrive. */
|
|
@@ -97,8 +143,12 @@ export declare class UIProperty extends UIField {
|
|
|
97
143
|
* (`ValueSets.setFor()`): a tag's `size` is the sizes, its `color` the hues.
|
|
98
144
|
* Without the kind's set, a tag's own schema drew its selects with nothing to choose (Owen: "dropdowns don't
|
|
99
145
|
* have options").
|
|
146
|
+
* - Each shown by its words, `valueLabels`, when the schema gives them (`up` shows as `arriba`; epic `language` T73);
|
|
147
|
+
* its value stays the value.
|
|
100
148
|
*/
|
|
101
149
|
get choices(): readonly Choice[] | undefined;
|
|
150
|
+
/** Its choices are colours: each drawn with a chip of its hue (`hueChip()`). */
|
|
151
|
+
get isHueChoice(): boolean;
|
|
102
152
|
/** A choice source to load: `options` naming one, else the schema's `choicesFrom`. */
|
|
103
153
|
protected onChoiceSourceChanged(text: string | undefined, spec: AttributeSpec | undefined, isReady: boolean): (() => void) | undefined;
|
|
104
154
|
/** Make (or make again) its control as the kind, choices, name, readonly state or limits change. */
|
|
@@ -119,6 +169,68 @@ export declare class UIProperty extends UIField {
|
|
|
119
169
|
* - SIDE EFFECT: writes its light DOM.
|
|
120
170
|
*/
|
|
121
171
|
private removeMadeControls;
|
|
172
|
+
/** `:state(compact)`: its editor is `compact`. */
|
|
173
|
+
get isCompact(): boolean;
|
|
174
|
+
/** `:state(show-defaults)`: its editor bolds a value other than its default. */
|
|
175
|
+
get showsDefaults(): boolean;
|
|
176
|
+
/**
|
|
177
|
+
* `:state(half)`: half a row on its editor's grid (one column): its own `width` (`1/2`, `8` of 16 or less),
|
|
178
|
+
* else its kind's (`PropertyControl.width`). The pills' row takes the whole.
|
|
179
|
+
*/
|
|
180
|
+
get isHalf(): boolean;
|
|
181
|
+
/** In a compact editor, a yes or no draws on one line: the field's `inline`, the box before its label. */
|
|
182
|
+
get isInlineCheck(): boolean;
|
|
183
|
+
protected classValue(name: E.AttributeName<typeof fieldVocabulary>): unknown;
|
|
184
|
+
/** Moves each time its control's value may have: a person's edit, or its form showing one. */
|
|
185
|
+
private accessor valueVersion;
|
|
186
|
+
/** Its control's value may have changed: `:state(set)` reads it again. */
|
|
187
|
+
noteValueChanged(): void;
|
|
188
|
+
/**
|
|
189
|
+
* Its controls' values were set as attributes (a page drawing its own control, `value={...}`), or controls came
|
|
190
|
+
* and went: read again.
|
|
191
|
+
*/
|
|
192
|
+
protected onControlsMutated(): void;
|
|
193
|
+
/** A person edited its control. */
|
|
194
|
+
protected onValueEdited(): void;
|
|
195
|
+
/** Its default: its own `default`, else the schema's; `undefined` for none. */
|
|
196
|
+
get defaultValue(): string | number | boolean | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* `:state(set)`: its value isn't its default (any value at all, with none).
|
|
199
|
+
* - Never while its things disagree (`mixed`), or it's readonly.
|
|
200
|
+
* - Read from its control, the way its form reads it (`FormFields.valueFor()`).
|
|
201
|
+
*/
|
|
202
|
+
get isSet(): boolean;
|
|
203
|
+
/**
|
|
204
|
+
* `value` isn't `fallback`: a yes or no compared as one, anything else as text.
|
|
205
|
+
* - STATIC: pure.
|
|
206
|
+
*/
|
|
207
|
+
static differs(value: E.FieldValue, fallback: string | number | boolean | undefined): boolean;
|
|
208
|
+
/** The properties its pills stand for, while it heads a run (`:state(flags)`); set by `FlagRun`. */
|
|
209
|
+
accessor flagRun: readonly UIProperty[] | undefined;
|
|
210
|
+
/** The property heading its run, while it's in one and doesn't head it (`:state(flag)`, hidden). */
|
|
211
|
+
accessor isFlagMember: boolean;
|
|
212
|
+
/** `:state(flags)`: it heads a run, drawing its pills. */
|
|
213
|
+
get isFlagLead(): boolean;
|
|
214
|
+
/** A yes or no that may join a run: its control is a checkbox kind, its own (not the author's). */
|
|
215
|
+
get canJoinFlags(): boolean;
|
|
216
|
+
/** Its checkbox's chosen state: read again with its value. */
|
|
217
|
+
get isChosen(): boolean;
|
|
218
|
+
/** The checkbox it made. */
|
|
219
|
+
private get madeCheckbox();
|
|
220
|
+
/** The names of its run's properties that are on: the pills shown. */
|
|
221
|
+
get chosenFlags(): readonly string[];
|
|
222
|
+
/** The pills' select, while it heads a run. */
|
|
223
|
+
private flagsSelect;
|
|
224
|
+
/** Heading a run, or no longer: make the pills' select, or take it away. */
|
|
225
|
+
protected onFlagRunChanged(run: readonly UIProperty[] | undefined): (() => void) | undefined;
|
|
226
|
+
/** The pills shown follow its run's checkboxes. */
|
|
227
|
+
protected onChosenFlagsChanged(chosen: readonly string[]): void;
|
|
228
|
+
/**
|
|
229
|
+
* A pill added or removed: turn each of its run's checkboxes on or off to match, as a person's click would,
|
|
230
|
+
* so its form writes each property back.
|
|
231
|
+
* - Its own `ui-changed` stops here: the select is no control of the form's.
|
|
232
|
+
*/
|
|
233
|
+
private readonly onFlagsPicked;
|
|
122
234
|
/** The editor around `element`, the nearest with a schema (`currentSchema`) -- `undefined` if none. */
|
|
123
235
|
static editorAround(element: Element): DOMEditorLike | undefined;
|
|
124
236
|
/**
|
|
@@ -126,13 +238,28 @@ export declare class UIProperty extends UIField {
|
|
|
126
238
|
* - STATIC: pure.
|
|
127
239
|
*/
|
|
128
240
|
static specFor(schema: PropertySchema, name: string): AttributeSpec | undefined;
|
|
129
|
-
/** A choice's value and text. */
|
|
241
|
+
/** A choice's value and text (and its icon and image, if it has them). */
|
|
130
242
|
private static choiceParts;
|
|
131
|
-
/** A
|
|
243
|
+
/** A choice with an icon of its own. */
|
|
244
|
+
private static hasIcon;
|
|
245
|
+
/**
|
|
246
|
+
* A `<ui-item value>` for a choice, with its icon (and image);
|
|
247
|
+
* `iconOnly`: its icon alone, its text its tooltip and name.
|
|
248
|
+
*/
|
|
132
249
|
private static item;
|
|
250
|
+
/**
|
|
251
|
+
* A round chip of `hue`'s colour, as an SVG `data:` URL: a hue's choice shows it before its name.
|
|
252
|
+
* - The colour is worked out on a probe inside `near`, so it's the colour the theme there paints;
|
|
253
|
+
* grey where it can't be read.
|
|
254
|
+
* - SIDE EFFECT: adds and removes the probe.
|
|
255
|
+
*/
|
|
256
|
+
static hueChip(hue: string, near: Element): string;
|
|
133
257
|
}
|
|
134
258
|
/** What a property reads of its editor's DOM element. */
|
|
135
259
|
type DOMEditorLike = HTMLElement & {
|
|
136
260
|
readonly currentSchema?: PropertySchema;
|
|
261
|
+
readonly currentOrigins?: Readonly<Record<string, PropertyOrigin>>;
|
|
262
|
+
readonly isCompact?: boolean;
|
|
263
|
+
readonly showsDefaults?: boolean;
|
|
137
264
|
};
|
|
138
265
|
export {};
|
|
@@ -6,6 +6,7 @@ import { E } from 'spell/ui/core';
|
|
|
6
6
|
****************/
|
|
7
7
|
export declare const propertyVocabulary: {
|
|
8
8
|
readonly tag: "ui-property";
|
|
9
|
+
readonly icon: "sliders horizontal";
|
|
9
10
|
readonly topics: readonly ["forms", "inputs"];
|
|
10
11
|
readonly aka: readonly ["property", "inspector row", "setting", "schema field"];
|
|
11
12
|
readonly description: "A property is one field of a property editor: its label, tip, choices and rules come from the editor's schema.";
|
|
@@ -14,54 +15,20 @@ export declare const propertyVocabulary: {
|
|
|
14
15
|
readonly name: "ui-changed";
|
|
15
16
|
readonly detail: "{ name: string, value: unknown }";
|
|
16
17
|
readonly description: "Its property was written (on Save, with `apply=\"on save\"`).";
|
|
18
|
+
}, {
|
|
19
|
+
readonly name: "ui-reset";
|
|
20
|
+
readonly detail: "{ name: string }";
|
|
21
|
+
readonly description: "Its reset button was pressed (its editor's `origins`).";
|
|
22
|
+
}, {
|
|
23
|
+
readonly name: "ui-show-code";
|
|
24
|
+
readonly detail: "{ name: string }";
|
|
25
|
+
readonly description: "Its code button was pressed (its editor's `origins`).";
|
|
17
26
|
}];
|
|
27
|
+
readonly parts: E.PartSpec[];
|
|
18
28
|
readonly slots: E.SlotSpec[];
|
|
19
29
|
readonly states: E.StateSpec[];
|
|
30
|
+
readonly texts: E.TextSpec[];
|
|
20
31
|
readonly skeleton: "4.5 tall";
|
|
21
32
|
readonly noun: "field";
|
|
22
33
|
readonly ui: false;
|
|
23
|
-
readonly parts: readonly [{
|
|
24
|
-
readonly name: "field";
|
|
25
|
-
readonly description: "The field box.";
|
|
26
|
-
}, {
|
|
27
|
-
readonly name: "row";
|
|
28
|
-
readonly description: "The label row.";
|
|
29
|
-
}, {
|
|
30
|
-
readonly name: "label";
|
|
31
|
-
readonly description: "The label.";
|
|
32
|
-
}, {
|
|
33
|
-
readonly name: "actions";
|
|
34
|
-
readonly description: "The actions, at the end of the label row.";
|
|
35
|
-
}, {
|
|
36
|
-
readonly name: "output";
|
|
37
|
-
readonly description: "The output.";
|
|
38
|
-
}, {
|
|
39
|
-
readonly name: "info";
|
|
40
|
-
readonly description: "The info icon.";
|
|
41
|
-
}, {
|
|
42
|
-
readonly name: "tip";
|
|
43
|
-
readonly description: "The tip, shown from the info icon.";
|
|
44
|
-
}, {
|
|
45
|
-
readonly name: "control";
|
|
46
|
-
readonly description: "Around the control(s) under a label row; no box of its own (`display: contents`).";
|
|
47
|
-
}, {
|
|
48
|
-
readonly name: "hint";
|
|
49
|
-
readonly description: "The hint.";
|
|
50
|
-
}, {
|
|
51
|
-
readonly name: "error";
|
|
52
|
-
readonly description: "The error lines.";
|
|
53
|
-
}];
|
|
54
|
-
readonly texts: readonly [{
|
|
55
|
-
readonly key: "info";
|
|
56
|
-
readonly text: "More about {label}";
|
|
57
|
-
readonly description: "The info icon's name; `{label}` is the label.";
|
|
58
|
-
}, {
|
|
59
|
-
readonly key: "mixed";
|
|
60
|
-
readonly text: "Mixed";
|
|
61
|
-
readonly description: "The placeholder of a control whose things disagree.";
|
|
62
|
-
}, {
|
|
63
|
-
readonly key: "none";
|
|
64
|
-
readonly text: "none";
|
|
65
|
-
readonly description: "What a property's select shows, in italics, when it has no value and no default.";
|
|
66
|
-
}];
|
|
67
34
|
};
|
|
@@ -11,10 +11,14 @@ export declare const propertyEs: {
|
|
|
11
11
|
readonly aka: readonly ["campo", "propiedad", "ajuste", "fila del inspector", "campo de esquema"];
|
|
12
12
|
readonly attributes: {
|
|
13
13
|
readonly as: "como";
|
|
14
|
+
readonly default: "predeterminado";
|
|
14
15
|
};
|
|
15
16
|
readonly texts: {
|
|
16
17
|
readonly info: "Más sobre {label}";
|
|
17
18
|
readonly mixed: "Varios";
|
|
18
19
|
readonly none: "ninguno";
|
|
20
|
+
readonly flags: "Opciones";
|
|
21
|
+
readonly reset: "Restablecer {label}";
|
|
22
|
+
readonly showCode: "Mostrar el código de {label}";
|
|
19
23
|
};
|
|
20
24
|
};
|
|
@@ -3,6 +3,7 @@ import { E } from 'spell/ui/core';
|
|
|
3
3
|
import { DOMFormElement, UIForm } from 'spell/ui/components/ui-form';
|
|
4
4
|
import { formVocabulary } from 'spell/ui/components/ui-form/UIForm.en';
|
|
5
5
|
import { PropertySchema } from 'spell/ui/vocabulary';
|
|
6
|
+
import { PropertyOrigin } from './UIPropertyEditor.types';
|
|
6
7
|
/****************
|
|
7
8
|
* ### `DOMPropertyEditorElement`
|
|
8
9
|
* The DOM element of `<ui-property-editor>`: a form's (`validate()`, `save()`, `cancel()`, `values` ...),
|
|
@@ -12,6 +13,16 @@ import { PropertySchema } from 'spell/ui/vocabulary';
|
|
|
12
13
|
export declare class DOMPropertyEditorElement extends DOMFormElement {
|
|
13
14
|
/** The schema it draws from, resolved (`schema`); each `<ui-property>` reads its own attribute's here. */
|
|
14
15
|
get currentSchema(): PropertySchema | undefined;
|
|
16
|
+
/** Compact (`compact`): its groups and properties draw tight. */
|
|
17
|
+
get isCompact(): boolean;
|
|
18
|
+
/** Its properties lay out on columns (`columns`, or `compact`). */
|
|
19
|
+
get isGrid(): boolean;
|
|
20
|
+
/** Its column count, for a group without `columns` of its own. */
|
|
21
|
+
get columnCount(): number;
|
|
22
|
+
/** A value other than its default shows bold (`show-defaults`). */
|
|
23
|
+
get showsDefaults(): boolean;
|
|
24
|
+
/** Where each property's value comes from (`origins`); each `<ui-property>` reads its own here. */
|
|
25
|
+
get currentOrigins(): Readonly<Record<string, PropertyOrigin>> | undefined;
|
|
15
26
|
}
|
|
16
27
|
/****************
|
|
17
28
|
* ### `UIPropertyEditor`
|
|
@@ -47,6 +58,14 @@ export declare class DOMPropertyEditorElement extends DOMFormElement {
|
|
|
47
58
|
* - `apply="on save"`: Save and Cancel under the properties (`part="footer"`).
|
|
48
59
|
* - `readonly`: every property in it is readonly (read as each connects).
|
|
49
60
|
* - A NESTED editor, made by a property (`as="editor"`), edits that property's thing: its `value` unless given.
|
|
61
|
+
* - `compact` (epic `debut` P31): the tight look of an inspector, which its groups and properties read from it.
|
|
62
|
+
* - Its properties lay out on `columns` (2 when compact): a short one (a number, a select) one column, the rest
|
|
63
|
+
* a row; a group's own `columns` wins in it.
|
|
64
|
+
* - `show-defaults`: a value other than its property's default shows bold.
|
|
65
|
+
* - `origins`: where each property's value comes from, handed in by whoever knows (`PropertyOrigin`):
|
|
66
|
+
* each property shows it, and a button it offers only says it was pressed.
|
|
67
|
+
* - `writer`: writes a property's value to its thing in place of the plain set, when it says it did (`PropertyWriter`):
|
|
68
|
+
* for a value kept somewhere that wants each change held, as an inspector's back-end data does.
|
|
50
69
|
****************/
|
|
51
70
|
export declare class UIPropertyEditor extends UIForm {
|
|
52
71
|
static vocabulary: typeof formVocabulary;
|
|
@@ -79,6 +98,8 @@ export declare class UIPropertyEditor extends UIForm {
|
|
|
79
98
|
* - SIDE EFFECT: writes its light DOM.
|
|
80
99
|
*/
|
|
81
100
|
private removeMadeProperties;
|
|
101
|
+
/** Where each property's value comes from: `origins`, as given. */
|
|
102
|
+
get currentOrigins(): Readonly<Record<string, PropertyOrigin>> | undefined;
|
|
82
103
|
/** Load the layout page as `source` or `select` changes, while connected (see the class doc). */
|
|
83
104
|
protected onSourceChanged(url: string | undefined, selector: string | undefined, isConnected: boolean): (() => void) | undefined;
|
|
84
105
|
/** `source`. */
|
|
@@ -116,6 +137,16 @@ export declare class UIPropertyEditor extends UIForm {
|
|
|
116
137
|
/** Always `:state(property-editor)`: how its family finds it, whatever its tag is called (`EDITOR_SELECTOR`). */
|
|
117
138
|
get isPropertyEditor(): boolean;
|
|
118
139
|
get isReadOnly(): boolean;
|
|
140
|
+
/** `:state(compact)`: `compact`, the tight look its groups and properties read too. */
|
|
141
|
+
get isCompact(): boolean;
|
|
142
|
+
/** How many columns its properties lay out on: `columns`, else 2 when compact, else 1. */
|
|
143
|
+
get columnCount(): number;
|
|
144
|
+
/** `:state(grid)`: its properties lay out on columns. */
|
|
145
|
+
get isGrid(): boolean;
|
|
146
|
+
/** `:state(show-defaults)`: a value other than its default shows bold. */
|
|
147
|
+
get showsDefaults(): boolean;
|
|
148
|
+
/** A `columns` attribute's count, `undefined` for none (or nonsense). */
|
|
149
|
+
static columnsFrom(text: string | null | undefined): number | undefined;
|
|
119
150
|
render(): JSX.Element;
|
|
120
151
|
/**
|
|
121
152
|
* The section's named slots it has content for, passed on: only those, so an empty one never hides the
|
|
@@ -126,6 +157,8 @@ export declare class UIPropertyEditor extends UIForm {
|
|
|
126
157
|
private body;
|
|
127
158
|
/** Its `output` (in the title bar's actions) and `error` (a line under the title). */
|
|
128
159
|
private outputAndError;
|
|
160
|
+
/** `writer`, when it's given one: it writes a property's value to its thing, in place of the plain set. */
|
|
161
|
+
protected writesItself(target: object, name: string, value: unknown): boolean;
|
|
129
162
|
/** A property was written: `ui-changed` from the editor and the property, then its "on change" rules. */
|
|
130
163
|
protected onWritten({ control, name, value, things }: WrittenProperty): void;
|
|
131
164
|
/** A field was checked: its group shows the error state, and hears `ui-invalid`. */
|
|
@@ -145,4 +178,9 @@ type WrittenProperty = {
|
|
|
145
178
|
value: unknown;
|
|
146
179
|
things: readonly object[];
|
|
147
180
|
};
|
|
181
|
+
/**
|
|
182
|
+
* Where its column count reaches its grid, and its groups': inherited, so a group without `columns` takes it.
|
|
183
|
+
* - Plumbing, never set by a page: `columns` is the API.
|
|
184
|
+
*/
|
|
185
|
+
export declare const COLUMNS_PROPERTY = "--_property-editor-columns";
|
|
148
186
|
export {};
|
|
@@ -5,6 +5,7 @@ import { E } from 'spell/ui/core';
|
|
|
5
5
|
****************/
|
|
6
6
|
export declare const propertyEditorVocabulary: {
|
|
7
7
|
readonly tag: "ui-property-editor";
|
|
8
|
+
readonly icon: "sliders horizontal";
|
|
8
9
|
readonly topics: readonly ["forms", "inputs", "collections"];
|
|
9
10
|
readonly aka: readonly ["inspector", "property sheet", "properties panel", "settings form", "object editor"];
|
|
10
11
|
readonly skeleton: "header, 3 line paragraph";
|