spell-ui 0.8.6 → 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 +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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mockup-83ELBuVr.js","names":["mockup_default"],"sources":["../src/styles/themes/mockup.css?inline"],"sourcesContent":["/* GENERATED by `yarn gen:styles` from `mockup.theme.json5`: edit that file, never this sheet. */\n\n@import \"./palettes/apple.css\";\n@import \"./rules/modern.css\";\n@import \"./rules/states.css\";\n@import \"./rules/mockup.css\";\n\n@layer ui.theme {\n :root {\n --mockup-page: light-dark(#ffffff, #1c1c1c);\n --mockup-inset: light-dark(#f0f0f0, #2a2a2a);\n --mockup-ink: light-dark(#262626, #e6e6e6);\n --mockup-accent: light-dark(#4a4a4a, #cfcfcf);\n --mockup-on-accent: light-dark(#ffffff, #141414);\n --mockup-accent-wash: light-dark(#e2e2e2, #3a3a3a);\n --ui-font-size: 17px;\n --ui-font-family: \"Patrick Hand Mockup\", \"Comic Sans MS\", \"Chalkboard SE\", var(--ui-font-family-rounded);\n --ui-font-family-heading: var(--ui-font-family);\n --ui-font-family-mono: ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;\n --ui-font-family-serif: var(--ui-font-family);\n --ui-font-family-sans: var(--ui-font-family);\n --ui-font-family-typewriter: \"American Typewriter\", \"Courier Prime\", \"Courier New\", Courier, monospace;\n --ui-font-family-subhead: var(--ui-font-family-heading);\n --ui-radius-s: 3px;\n --ui-radius-m: 5px;\n --ui-radius-l: 8px;\n --ui-ink-on-light: #1a1a1a;\n --ui-ink-on-dark: #f2f2f2;\n --ui-text-color: light-dark(#1f1f1f, #ededed);\n --ui-text-dark: light-dark(#000000, #ffffff);\n --ui-text-muted: light-dark(#4d4d4d, #bdbdbd);\n --ui-text-light: light-dark(#595959, #b0b0b0);\n --ui-background: var(--mockup-page);\n --ui-surface: var(--mockup-page);\n --ui-surface-muted: var(--mockup-inset);\n --ui-surface-strong: var(--mockup-page);\n --ui-bar-background: var(--ui-background);\n --ui-code-background: var(--mockup-inset);\n --ui-highlight: var(--mockup-accent-wash);\n --ui-border-width: 2px;\n --ui-border-color: var(--mockup-ink);\n --ui-border-color-strong: var(--mockup-ink);\n --ui-border-color-internal: light-dark(#8c8c8c, #7a7a7a);\n --ui-border-color-selected: var(--mockup-ink);\n --ui-border-color-selected-strong: var(--mockup-ink);\n --ui-primary: var(--mockup-accent);\n --ui-primary-on: var(--mockup-on-accent);\n --ui-primary-text: var(--mockup-ink);\n --ui-primary-background: var(--mockup-accent-wash);\n --ui-primary-inverted: var(--mockup-accent);\n --ui-primary-inverted-on: var(--mockup-on-accent);\n --ui-secondary: var(--mockup-ink);\n --ui-secondary-on: light-dark(#ffffff, #141414);\n --ui-secondary-inverted: var(--mockup-ink);\n --ui-secondary-inverted-on: light-dark(#ffffff, #141414);\n --ui-secondary-hover: light-dark(#3d3d3d, #cccccc);\n --ui-secondary-focus: light-dark(#3d3d3d, #cccccc);\n --ui-secondary-down: light-dark(#000000, #ffffff);\n --ui-secondary-active: light-dark(#000000, #ffffff);\n --ui-link: var(--mockup-ink);\n --ui-link-hover: light-dark(#000000, #ffffff);\n --ui-focus-width: 3px;\n --ui-focus-offset: 2px;\n --ui-focus-color: var(--mockup-accent);\n --ui-focus-border: var(--mockup-ink);\n --ui-shadow-ink: light-dark(#000000, #000000);\n --ui-shadow-subtle: none;\n --ui-shadow-bottom: none;\n --ui-shadow-raised: none;\n --ui-shadow-floating: none;\n --ui-shadow-floating-hover: none;\n --ui-shadow-overlay: none;\n --ui-button-radius: var(--ui-radius-m);\n --ui-button-font-weight: 400;\n --ui-input-radius: var(--ui-radius-m);\n --ui-input-background: var(--mockup-page);\n --ui-input-border-color: var(--mockup-ink);\n --ui-input-border-color-hover: var(--mockup-ink);\n --ui-input-border-color-focus: var(--mockup-ink);\n --ui-dropdown-radius: var(--ui-radius-m);\n --ui-dropdown-border-color: var(--mockup-ink);\n --ui-select-background: var(--ui-input-background);\n --ui-select-border-color: var(--ui-input-border-color);\n --ui-menu-radius: var(--ui-radius-m);\n --ui-menu-text-active-weight: 400;\n --ui-menu-active-background: var(--mockup-accent-wash);\n --ui-menu-active-color: var(--ui-text-dark);\n --ui-menu-segmented-background: var(--mockup-page);\n --ui-menu-segmented-border: 2px solid var(--mockup-ink);\n --ui-menu-segmented-radius: var(--ui-radius-l);\n --ui-menu-segmented-padding: 2px;\n --ui-menu-segmented-item-radius: calc(var(--ui-radius-l) - 4px);\n --ui-menu-segmented-active-background: var(--mockup-accent);\n --ui-menu-segmented-active-color: var(--mockup-on-accent);\n --ui-menu-segmented-active-shadow: none;\n --ui-card-radius: var(--ui-radius-l);\n --ui-card-border-color: var(--mockup-ink);\n --ui-card-hover-border-color: var(--mockup-ink);\n --ui-card-shadow: 0 0 0 2px var(--mockup-ink);\n --ui-card-hover-shadow: 0 0 0 3px var(--mockup-ink);\n --ui-card-raised-shadow: 0 0 0 2px var(--mockup-ink);\n --ui-card-raised-hover-shadow: 0 0 0 3px var(--mockup-ink);\n --ui-segment-radius: var(--ui-radius-l);\n --ui-segment-border-color: var(--mockup-ink);\n --ui-segment-shadow: none;\n --ui-segment-raised-shadow: none;\n --ui-section-radius: var(--ui-radius-l);\n --ui-section-shadow: none;\n --ui-panel-radius: var(--ui-radius-l);\n --ui-panel-shadow: 0 0 0 2px var(--mockup-ink);\n --ui-message-radius: var(--ui-radius-l);\n --ui-popup-radius: var(--ui-radius-m);\n --ui-popup-border-color: var(--mockup-ink);\n --ui-popup-shadow: 0 0 0 2px var(--mockup-ink);\n --ui-toast-shadow: 0 0 0 2px var(--mockup-ink);\n --ui-modal-radius: 10px;\n --ui-modal-shadow: 0 0 0 2px var(--mockup-ink);\n --ui-modal-dimmer-filter: none;\n --ui-dimmer-background: light-dark(#ffffffb3, #000000b3);\n --ui-dimmer-blur: none;\n --ui-bar-panel-background: var(--mockup-page);\n --ui-bar-filter: none;\n --ui-bar-rest-filter: none;\n --ui-docs-nav-background: var(--mockup-page);\n --ui-docs-nav-header-background: var(--mockup-inset);\n --ui-docs-nav-band-background: var(--mockup-inset);\n --ui-docs-nav-band-color: var(--ui-text-dark);\n --ui-docs-nav-border-color: var(--mockup-ink);\n --ui-docs-nav-current-background: var(--mockup-accent-wash);\n --ui-docs-nav-current-color: var(--ui-text-dark);\n --ui-toolbar-button-radius: var(--ui-radius-s);\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/styles/themes/mockup.theme.json5?raw
|
|
2
|
+
var e = "// Mockup: a hand-drawn sketch, as a Spell UI theme (epic `mockup` P7).\n// - One of Spell's own themes, the set `UI.themes.own` lists; applied ON TOP of `classic.css`,\n// so every classic token it replaces is restated here.\n// - Its sheet, `mockup.css`, is GENERATED from this file: `yarn gen:styles` (`ThemeFile`).\n// What values can't say is in its rules sheets: `rules/modern.css`, `rules/states.css` (its secondary's states),\n// `rules/mockup.css` (the handwriting face, the hand-drawn corners).\n// - Owen, 2026-11-07, epic `mockup`'s kickoff: lay out a page's sections on a \"mockup\" theme (sketchy look, e.g.\n// Balsamiq style), so a click-through prototype reads as a sketch and nobody mistakes it for the finished look.\n// - What makes it Mockup:\n// - a sheet of paper: a white page, light grey fills, ink-black 2px lines, no shadows\n// - greys only for Spell's own roles: ONE accent grey for what's chosen (the primary), its pale wash for\n// what's selected; the hues stay the palette's, for a label or a message that means a colour\n// - a handwriting face, Patrick Hand, for every word but code\n// - hand-drawn corners: every box's corners a little uneven (`rules/mockup.css`), so lines look drawn, not ruled;\n// text stays sharp, as no filter touches it\n// - dark: the same sketch on a blackboard, the greys inverted\n// - Built from Crisp (2px lines, no shadows, black on white), with Pop's ink outlines in mind\n// - ONE font file ships: Patrick Hand (`mockup/`, latin only, self-hosted, SIL OFL 1.1); the monospace is the\n// platform's own.\n{\n \"$schema\": \"./theme.schema.json\",\n \"palette\": \"apple\",\n \"rules\": [\"modern\", \"states\", \"mockup\"],\n \"own\": {\n \"mockup-page\": { \"light\": \"#ffffff\", \"dark\": \"#1c1c1c\" },\n // a fill: a panel's well, a tab bar's track, code, a placeholder box\n \"mockup-inset\": { \"light\": \"#f0f0f0\", \"dark\": \"#2a2a2a\" },\n // the pen: every line and outline\n \"mockup-ink\": { \"light\": \"#262626\", \"dark\": \"#e6e6e6\" },\n // the ONE accent: a dark grey, for what's chosen\n \"mockup-accent\": { \"light\": \"#4a4a4a\", \"dark\": \"#cfcfcf\" },\n \"mockup-on-accent\": { \"light\": \"#ffffff\", \"dark\": \"#141414\" },\n // what's selected: a pale grey wash, ink on it\n \"mockup-accent-wash\": { \"light\": \"#e2e2e2\", \"dark\": \"#3a3a3a\" }\n },\n \"typography\": {\n \"size\": \"17px\",\n \"family\": {\n // Patrick Hand (`rules/mockup.css`'s `@font-face`); a rounded system font behind it while it loads\n \"body\": \"\\\"Patrick Hand Mockup\\\", \\\"Comic Sans MS\\\", \\\"Chalkboard SE\\\", {typography.family.rounded}\",\n \"heading\": \"{typography.family.body}\",\n \"mono\": \"ui-monospace, \\\"SF Mono\\\", Menlo, Consolas, monospace\",\n \"serif\": \"{typography.family.body}\",\n \"sans\": \"{typography.family.body}\",\n \"typewriter\": \"\\\"American Typewriter\\\", \\\"Courier Prime\\\", \\\"Courier New\\\", Courier, monospace\",\n \"subhead\": \"{typography.family.heading}\"\n }\n },\n \"radii\": {\n // plain numbers here, as `calc()` reads them; the uneven corners are `rules/mockup.css`'s\n \"s\": \"3px\",\n \"m\": \"5px\",\n \"l\": \"8px\"\n },\n \"text\": {\n \"ink\": { \"light\": \"#1a1a1a\", \"dark\": \"#f2f2f2\" },\n \"body\": { \"light\": \"#1f1f1f\", \"dark\": \"#ededed\" },\n \"strong\": { \"light\": \"#000000\", \"dark\": \"#ffffff\" },\n \"muted\": { \"light\": \"#4d4d4d\", \"dark\": \"#bdbdbd\" },\n \"light\": { \"light\": \"#595959\", \"dark\": \"#b0b0b0\" }\n },\n \"surfaces\": {\n \"page\": \"{own.mockup-page}\",\n \"panel\": \"{own.mockup-page}\",\n \"inset\": \"{own.mockup-inset}\",\n \"strong\": \"{own.mockup-page}\",\n \"bar\": \"{surfaces.page}\",\n \"code\": \"{own.mockup-inset}\",\n \"highlight\": \"{own.mockup-accent-wash}\"\n },\n \"borders\": {\n \"width\": \"2px\",\n \"color\": \"{own.mockup-ink}\",\n \"strong\": \"{own.mockup-ink}\",\n \"internal\": { \"light\": \"#8c8c8c\", \"dark\": \"#7a7a7a\" },\n \"selected\": \"{own.mockup-ink}\",\n \"selected-strong\": \"{own.mockup-ink}\"\n },\n \"brand\": {\n \"primary\": {\n // Primary: the accent grey, white on it in light, near-black on it in dark\n \"color\": \"{own.mockup-accent}\",\n \"on\": \"{own.mockup-on-accent}\",\n \"text\": \"{own.mockup-ink}\",\n \"background\": \"{own.mockup-accent-wash}\",\n \"inverted\": \"{own.mockup-accent}\",\n \"inverted-on\": \"{own.mockup-on-accent}\"\n },\n \"secondary\": {\n // Secondary: the pen itself\n \"color\": \"{own.mockup-ink}\",\n \"on\": { \"light\": \"#ffffff\", \"dark\": \"#141414\" },\n \"inverted\": \"{own.mockup-ink}\",\n \"inverted-on\": { \"light\": \"#ffffff\", \"dark\": \"#141414\" },\n \"hover\": { \"light\": \"#3d3d3d\", \"dark\": \"#cccccc\" },\n \"focus\": { \"light\": \"#3d3d3d\", \"dark\": \"#cccccc\" },\n \"down\": { \"light\": \"#000000\", \"dark\": \"#ffffff\" },\n \"active\": { \"light\": \"#000000\", \"dark\": \"#ffffff\" }\n },\n \"link\": {\n // links: the ink, always underlined (`rules/mockup.css`), as a sketch marks one\n \"color\": \"{own.mockup-ink}\",\n \"hover\": { \"light\": \"#000000\", \"dark\": \"#ffffff\" }\n },\n \"focus\": {\n \"width\": \"3px\",\n \"offset\": \"2px\",\n \"color\": \"{own.mockup-accent}\",\n \"border\": \"{own.mockup-ink}\"\n }\n },\n \"shadows\": {\n // a sketch has no shadows: every edge is a line\n \"ink\": { \"light\": \"#000000\", \"dark\": \"#000000\" },\n \"subtle\": \"none\",\n \"bottom\": \"none\",\n \"raised\": \"none\",\n \"floating\": \"none\",\n \"floating-hover\": \"none\",\n \"overlay\": \"none\"\n },\n \"components\": {\n \"button\": {\n \"radius\": \"{radii.m}\",\n \"font-weight\": 400\n },\n \"input\": {\n \"radius\": \"{radii.m}\",\n \"background\": \"{own.mockup-page}\",\n \"border-color\": \"{own.mockup-ink}\",\n \"border-color-hover\": \"{own.mockup-ink}\",\n \"border-color-focus\": \"{own.mockup-ink}\"\n },\n \"dropdown\": {\n \"radius\": \"{radii.m}\",\n \"border-color\": \"{own.mockup-ink}\"\n },\n \"select\": {\n \"background\": \"{components.input.background}\",\n \"border-color\": \"{components.input.border-color}\"\n },\n \"menu\": {\n \"radius\": \"{radii.m}\",\n \"text-active-weight\": 400,\n \"active-background\": \"{own.mockup-accent-wash}\",\n \"active-color\": \"{text.strong}\",\n // tab bars: an outlined track, the chosen tab the accent grey\n \"segmented-background\": \"{own.mockup-page}\",\n \"segmented-border\": \"2px solid {own.mockup-ink}\",\n \"segmented-radius\": \"{radii.l}\",\n \"segmented-padding\": \"2px\",\n \"segmented-item-radius\": \"calc({radii.l} - 4px)\",\n \"segmented-active-background\": \"{own.mockup-accent}\",\n \"segmented-active-color\": \"{own.mockup-on-accent}\",\n \"segmented-active-shadow\": \"none\"\n },\n \"card\": {\n \"radius\": \"{radii.l}\",\n \"border-color\": \"{own.mockup-ink}\",\n \"hover-border-color\": \"{own.mockup-ink}\",\n \"shadow\": \"0 0 0 2px {own.mockup-ink}\",\n \"hover-shadow\": \"0 0 0 3px {own.mockup-ink}\",\n \"raised-shadow\": \"0 0 0 2px {own.mockup-ink}\",\n \"raised-hover-shadow\": \"0 0 0 3px {own.mockup-ink}\"\n },\n \"segment\": {\n \"radius\": \"{radii.l}\",\n \"border-color\": \"{own.mockup-ink}\",\n \"shadow\": \"none\",\n \"raised-shadow\": \"none\"\n },\n \"section\": {\n \"radius\": \"{radii.l}\",\n \"shadow\": \"none\"\n },\n \"panel\": {\n \"radius\": \"{radii.l}\",\n \"shadow\": \"0 0 0 2px {own.mockup-ink}\"\n },\n \"message\": {\n \"radius\": \"{radii.l}\"\n },\n \"popup\": {\n \"radius\": \"{radii.m}\",\n \"border-color\": \"{own.mockup-ink}\",\n \"shadow\": \"0 0 0 2px {own.mockup-ink}\"\n },\n \"toast\": {\n \"shadow\": \"0 0 0 2px {own.mockup-ink}\"\n },\n \"modal\": {\n \"radius\": \"10px\",\n \"shadow\": \"0 0 0 2px {own.mockup-ink}\",\n \"dimmer-filter\": \"none\"\n },\n \"dimmer\": {\n \"background\": { \"light\": \"#ffffffb3\", \"dark\": \"#000000b3\" },\n \"blur\": \"none\"\n },\n \"bar\": {\n \"panel-background\": \"{own.mockup-page}\",\n \"filter\": \"none\",\n \"rest-filter\": \"none\"\n },\n \"docs-nav\": {\n \"background\": \"{own.mockup-page}\",\n \"header-background\": \"{own.mockup-inset}\",\n \"band-background\": \"{own.mockup-inset}\",\n \"band-color\": \"{text.strong}\",\n \"border-color\": \"{own.mockup-ink}\",\n \"current-background\": \"{own.mockup-accent-wash}\",\n \"current-color\": \"{text.strong}\"\n },\n \"toolbar\": {\n \"button-radius\": \"{radii.s}\"\n }\n }\n}\n";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=mockup.theme-DmpBgGBl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mockup.theme-DmpBgGBl.js","names":["mockup_theme_default"],"sources":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/styles/themes/paper.css?inline
|
|
2
|
+
var e = "@layer ui.theme{.ui:is(.red,.orange,.yellow,.olive,.green,.teal,.blue,.purple,.pink,.brown),.ui:is(.positive,.negative,.info,.warning,.success,.error),:is(.ui-red,.ui-orange,.ui-yellow,.ui-olive,.ui-green,.ui-teal,.ui-blue,.ui-purple,.ui-pink,.ui-brown),:is(.ui-positive,.ui-negative,.ui-info,.ui-warning,.ui-success,.ui-error){--ui-color-hover:light-dark(oklch(from var(--ui-color) calc(l - .05) calc(c * 1.1) h),oklch(from var(--ui-color) calc(l + .05) calc(c * 1.1) h));--ui-color-focus:light-dark(oklch(from var(--ui-color) calc(l - .08) calc(c * 1.2) h),oklch(from var(--ui-color) calc(l + .08) calc(c * 1.2) h));--ui-color-down:light-dark(oklch(from var(--ui-color) calc(l - .1) c h),oklch(from var(--ui-color) calc(l + .1) c h));--ui-color-active:light-dark(oklch(from var(--ui-color) calc(l - .05) calc(c * 1.15) h),oklch(from var(--ui-color) calc(l + .05) calc(c * 1.15) h))}:root{--ui-info-on-light:#0066d6;--ui-info-on-dark:#64d2ff;--ui-info-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-warning-on-light:#c93400;--ui-warning-on-dark:#ff9f0a;--ui-warning-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-red-on-light:#d70015;--ui-red-on-dark:#ff453a;--ui-red-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-orange-on-light:#c93400;--ui-orange-on-dark:#ff9f0a;--ui-orange-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-yellow-on-light:#fc0;--ui-yellow-on-dark:#ffd60a;--ui-yellow-on:var(--ui-ink-on-light);--ui-yellow-text:light-dark(oklch(from var(--ui-yellow) min(l, .5) c h),oklch(from var(--ui-yellow) max(l, .78) c h));--ui-olive-on-light:#5a7d00;--ui-olive-on-dark:#a8e05f;--ui-olive-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-olive-text:light-dark(oklch(from var(--ui-olive) min(l, .5) c h),oklch(from var(--ui-olive) max(l, .78) c h));--ui-green-on-light:#1f8338;--ui-green-on-dark:#30d158;--ui-green-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-green-text:light-dark(oklch(from var(--ui-green) min(l, .5) c h),oklch(from var(--ui-green) max(l, .78) c h));--ui-teal-on-light:#0071a4;--ui-teal-on-dark:#40c8e0;--ui-teal-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-teal-text:light-dark(oklch(from var(--ui-teal) min(l, .5) c h),oklch(from var(--ui-teal) max(l, .78) c h));--ui-blue-on-light:#0066d6;--ui-blue-on-dark:#0a84ff;--ui-blue-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-violet-on-light:#6a3fd6;--ui-violet-on-dark:#7c55e6;--ui-violet-on:oklch(100% 0 0);--ui-violet-inverted:#b79bff;--ui-violet-inverted-on:var(--ui-ink-on-light);--ui-purple-on-light:#8944ab;--ui-purple-on-dark:#bf5af2;--ui-purple-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-pink-on-light:#d30f45;--ui-pink-on-dark:#ff375f;--ui-pink-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-brown-on-light:#7f6545;--ui-brown-on-dark:#ac8e68;--ui-brown-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-grey-on-light:#6e6e73;--ui-grey-on-dark:#636366;--ui-grey-on:oklch(100% 0 0);--ui-grey-inverted:#a1a1a6;--ui-grey-inverted-on:var(--ui-ink-on-light);--ui-black-on-light:#1d1d1f;--ui-black-on-dark:#3a3a3c;--ui-black-on:oklch(100% 0 0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root :where(h1,h2,h3,h4,h5,h6,section,ui-section){scroll-margin-top:calc(var(--spell-site-header-height,0px) + 1em)}:is(.ui.table,:where(ui-table)>table),.ui.statistic,.ui.statistics{font-variant-numeric:tabular-nums}:where(a){text-underline-position:from-font;text-decoration-skip-ink:auto}@media (hover:hover){:where(.ui-typography) :where(a){-webkit-text-decoration-color:color-mix(in oklab, currentColor 40%, transparent);-webkit-text-decoration-color:color-mix(in oklab, currentColor 40%, transparent);text-decoration-color:color-mix(in oklab, currentColor 40%, transparent)}:where(.ui-typography) :where(a:hover){text-decoration-color:currentColor}}:where(img:not(.background)){outline-offset:-1px;outline:1px solid light-dark(#00000014,#ffffff14)}@media (prefers-reduced-motion:no-preference){.ui.button:not(.loading){transition-property:opacity,background-color,color,box-shadow,scale;transition-duration:var(--ui-button-duration,var(--ui-duration-fast)), var(--ui-button-duration,var(--ui-duration-fast)), var(--ui-button-duration,var(--ui-duration-fast)), var(--ui-button-duration,var(--ui-duration-fast)), .2s;transition-timing-function:var(--ui-ease), var(--ui-ease), var(--ui-ease), var(--ui-ease), ease-out}.ui.button:not(.disabled,:disabled,.loading):active{scale:.97}}:root.ui-scheme-switching{--spell-scheme-switching:on}@container style(--spell-scheme-switching:on){*,:before,:after{transition:none!important}}.ui.secondary,.ui-secondary{--ui-color-hover:var(--ui-secondary-hover);--ui-color-focus:var(--ui-secondary-focus);--ui-color-down:var(--ui-secondary-down);--ui-color-active:var(--ui-secondary-active)}:root{background-color:var(--ui-background);font-kerning:normal;font-variant-ligatures:common-ligatures;text-rendering:optimizelegibility}.ui.header,:where(h1,h2,h3,h4,h5,h6){text-wrap-style:balance}:root{--paper-page:light-dark(#f4eedf,#1d1610);--paper-panel:light-dark(#fffcf4,#2a2119);--paper-inset:light-dark(#ece4d1,#241c15);--paper-border:light-dark(#ddd2bb,#43362a);--paper-accent:light-dark(#8b2c2c,#eba493);--paper-on-accent:light-dark(#fff,#24140e);--paper-accent-wash:light-dark(#8b2c2c1a,#eba49329);--paper-accent-text:light-dark(#7d2525,#f1b7a9);--ui-font-size:16px;--ui-font-family:\"Iowan Old Style\", var(--ui-font-family-serif);--ui-font-family-heading:var(--ui-font-family);--ui-font-family-mono:ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;--ui-font-family-serif:Palatino, \"Palatino Linotype\", \"Book Antiqua\", P052, \"URW Palladio L\", Georgia, serif;--ui-font-family-sans:system-ui, -apple-system, \"Segoe UI\", \"Noto Sans\", \"Helvetica Neue\", Arial, sans-serif;--ui-font-family-typewriter:\"American Typewriter\", \"Courier Prime\", \"Courier New\", Courier, monospace;--ui-font-family-subhead:var(--ui-font-family-heading);--ui-line-height:1.55;--ui-line-height-heading:1.2;--ui-radius-s:3px;--ui-radius-m:4px;--ui-radius-l:6px;--ui-ink-on-light:#1c120a;--ui-ink-on-dark:#f3e9d6;--ui-text-color:light-dark(#3a2a1c,#ecdfc8);--ui-text-dark:light-dark(#24170d,#fbf3e3);--ui-text-muted:light-dark(#6b5743,#c3b199);--ui-text-light:light-dark(#76624d,#b09e86);--ui-background:var(--paper-page);--ui-surface:var(--paper-panel);--ui-surface-muted:var(--paper-inset);--ui-surface-strong:var(--paper-panel);--ui-bar-background:var(--ui-background);--ui-code-background:var(--paper-inset);--ui-highlight:var(--paper-accent-wash);--ui-border-color:var(--paper-border);--ui-border-color-strong:light-dark(#c4b597,#5a4936);--ui-border-color-internal:var(--paper-border);--ui-primary:var(--paper-accent);--ui-primary-on:var(--paper-on-accent);--ui-primary-text:var(--paper-accent-text);--ui-primary-background:var(--paper-accent-wash);--ui-primary-inverted:var(--paper-accent);--ui-primary-inverted-on:var(--paper-on-accent);--ui-secondary:light-dark(#5b4634,#c3b199);--ui-secondary-on:light-dark(#fff,#1c120a);--ui-secondary-inverted:light-dark(#5b4634,#c3b199);--ui-secondary-inverted-on:light-dark(#fff,#1c120a);--ui-secondary-hover:light-dark(#4c3a2a,#cdbda6);--ui-secondary-focus:light-dark(#4c3a2a,#cdbda6);--ui-secondary-down:light-dark(#3d2e20,#d8cab5);--ui-secondary-active:light-dark(#3d2e20,#d8cab5);--ui-link:light-dark(#8b2c2c,#f1b7a9);--ui-link-hover:light-dark(#5f1a1a,#fbd5cb);--ui-focus-color:var(--paper-accent);--ui-yellow-text:light-dark(oklch(from var(--ui-yellow) min(l, .46) c h),oklch(from var(--ui-yellow) max(l, .78) c h));--ui-yellow-border:light-dark(oklch(from var(--ui-yellow) min(l, .56) c h),oklch(from var(--ui-yellow) max(l, .7) c h));--ui-olive-text:light-dark(oklch(from var(--ui-olive) min(l, .46) c h),oklch(from var(--ui-olive) max(l, .78) c h));--ui-green-text:light-dark(oklch(from var(--ui-green) min(l, .46) c h),oklch(from var(--ui-green) max(l, .78) c h));--ui-teal-text:light-dark(oklch(from var(--ui-teal) min(l, .46) c h),oklch(from var(--ui-teal) max(l, .78) c h));--ui-brown-text:light-dark(oklch(from var(--ui-brown) min(l, .46) c h),oklch(from var(--ui-brown) max(l, .78) c h));--ui-grey-text:light-dark(oklch(from var(--ui-grey) min(l, .46) c h),oklch(from var(--ui-grey) max(l, .78) c h));--ui-shadow-ink:light-dark(#3c2814,#000);--ui-shadow-subtle:0 1px 1px light-dark(#3c28140f,#0000004d);--ui-shadow-raised:0 0 0 1px var(--paper-border), 0 1px 2px light-dark(#3c28140f,#0000004d);--ui-shadow-floating:0 0 0 1px var(--paper-border), 0 6px 18px light-dark(#3c28141f,#00000073);--ui-shadow-floating-hover:0 0 0 1px var(--ui-border-color-strong), 0 10px 28px light-dark(#3c281429,#00000080);--ui-shadow-overlay:var(--ui-shadow-floating-hover);--ui-button-radius:var(--ui-radius-m);--ui-button-font-family:system-ui, -apple-system, \"Segoe UI\", \"Noto Sans\", sans-serif;--ui-button-font-weight:500;--ui-input-radius:var(--ui-radius-m);--ui-input-background:var(--paper-panel);--ui-input-border-color:var(--paper-border);--ui-dropdown-radius:var(--ui-radius-m);--ui-select-background:var(--ui-input-background);--ui-select-border-color:var(--ui-input-border-color);--ui-menu-radius:var(--ui-radius-m);--ui-menu-active-background:var(--paper-accent-wash);--ui-menu-active-color:var(--paper-accent-text);--ui-menu-segmented-background:var(--paper-inset);--ui-menu-segmented-radius:var(--ui-radius-l);--ui-menu-segmented-padding:2px;--ui-menu-segmented-item-radius:var(--ui-radius-m);--ui-menu-segmented-active-background:var(--paper-panel);--ui-menu-segmented-active-color:var(--ui-text-dark);--ui-menu-segmented-active-shadow:0 0 0 1px var(--paper-border);--ui-menu-segmented-divider:transparent;--ui-card-radius:var(--ui-radius-l);--ui-card-shadow:var(--ui-shadow-raised);--ui-segment-radius:var(--ui-radius-l);--ui-section-radius:var(--ui-radius-l);--ui-panel-radius:var(--ui-radius-l);--ui-panel-shadow:var(--ui-shadow-raised);--ui-message-radius:var(--ui-radius-l);--ui-popup-radius:var(--ui-radius-m);--ui-modal-radius:8px;--ui-bar-panel-background:var(--paper-panel);--ui-docs-nav-background:var(--paper-panel);--ui-docs-nav-header-background:var(--paper-inset);--ui-docs-nav-band-background:var(--paper-inset);--ui-docs-nav-band-color:var(--ui-text-muted);--ui-docs-nav-border-color:var(--ui-border-color);--ui-docs-nav-current-background:var(--paper-accent-wash);--ui-docs-nav-current-color:var(--paper-accent-text);--ui-toolbar-button-radius:var(--ui-radius-s);--ui-header-font-weight:var(--ui-font-weight-semibold);--ui-header-sub-color:var(--ui-text-muted)}}";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=paper-M61nUilz.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paper-
|
|
1
|
+
{"version":3,"file":"paper-M61nUilz.js","names":["paper_default"],"sources":["../src/styles/themes/paper.css?inline"],"sourcesContent":["/* GENERATED by `yarn gen:styles` from `paper.theme.json5`: edit that file, never this sheet. */\n\n@import \"./palettes/apple.css\";\n@import \"./rules/modern.css\";\n@import \"./rules/states.css\";\n@import \"./rules/paper.css\";\n\n@layer ui.theme {\n :root {\n --paper-page: light-dark(#f4eedf, #1d1610);\n --paper-panel: light-dark(#fffcf4, #2a2119);\n --paper-inset: light-dark(#ece4d1, #241c15);\n --paper-border: light-dark(#ddd2bb, #43362a);\n --paper-accent: light-dark(#8b2c2c, #eba493);\n --paper-on-accent: light-dark(#ffffff, #24140e);\n --paper-accent-wash: light-dark(#8b2c2c1a, #eba49329);\n --paper-accent-text: light-dark(#7d2525, #f1b7a9);\n --ui-font-size: 16px;\n --ui-font-family: \"Iowan Old Style\", var(--ui-font-family-serif);\n --ui-font-family-heading: var(--ui-font-family);\n --ui-font-family-mono: ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;\n --ui-font-family-serif: Palatino, \"Palatino Linotype\", \"Book Antiqua\", P052, \"URW Palladio L\", Georgia, serif;\n --ui-font-family-sans: system-ui, -apple-system, \"Segoe UI\", \"Noto Sans\", \"Helvetica Neue\", Arial, sans-serif;\n --ui-font-family-typewriter: \"American Typewriter\", \"Courier Prime\", \"Courier New\", Courier, monospace;\n --ui-font-family-subhead: var(--ui-font-family-heading);\n --ui-line-height: 1.55;\n --ui-line-height-heading: 1.2;\n --ui-radius-s: 3px;\n --ui-radius-m: 4px;\n --ui-radius-l: 6px;\n --ui-ink-on-light: #1c120a;\n --ui-ink-on-dark: #f3e9d6;\n --ui-text-color: light-dark(#3a2a1c, #ecdfc8);\n --ui-text-dark: light-dark(#24170d, #fbf3e3);\n --ui-text-muted: light-dark(#6b5743, #c3b199);\n --ui-text-light: light-dark(#76624d, #b09e86);\n --ui-background: var(--paper-page);\n --ui-surface: var(--paper-panel);\n --ui-surface-muted: var(--paper-inset);\n --ui-surface-strong: var(--paper-panel);\n --ui-bar-background: var(--ui-background);\n --ui-code-background: var(--paper-inset);\n --ui-highlight: var(--paper-accent-wash);\n --ui-border-color: var(--paper-border);\n --ui-border-color-strong: light-dark(#c4b597, #5a4936);\n --ui-border-color-internal: var(--paper-border);\n --ui-primary: var(--paper-accent);\n --ui-primary-on: var(--paper-on-accent);\n --ui-primary-text: var(--paper-accent-text);\n --ui-primary-background: var(--paper-accent-wash);\n --ui-primary-inverted: var(--paper-accent);\n --ui-primary-inverted-on: var(--paper-on-accent);\n --ui-secondary: light-dark(#5b4634, #c3b199);\n --ui-secondary-on: light-dark(#ffffff, #1c120a);\n --ui-secondary-inverted: light-dark(#5b4634, #c3b199);\n --ui-secondary-inverted-on: light-dark(#ffffff, #1c120a);\n --ui-secondary-hover: light-dark(#4c3a2a, #cdbda6);\n --ui-secondary-focus: light-dark(#4c3a2a, #cdbda6);\n --ui-secondary-down: light-dark(#3d2e20, #d8cab5);\n --ui-secondary-active: light-dark(#3d2e20, #d8cab5);\n --ui-link: light-dark(#8b2c2c, #f1b7a9);\n --ui-link-hover: light-dark(#5f1a1a, #fbd5cb);\n --ui-focus-color: var(--paper-accent);\n --ui-yellow-text: light-dark(\n oklch(from var(--ui-yellow) min(l, 0.46) c h),\n oklch(from var(--ui-yellow) max(l, 0.78) c h)\n );\n --ui-yellow-border: light-dark(\n oklch(from var(--ui-yellow) min(l, 0.56) c h),\n oklch(from var(--ui-yellow) max(l, 0.7) c h)\n );\n --ui-olive-text: light-dark(\n oklch(from var(--ui-olive) min(l, 0.46) c h),\n oklch(from var(--ui-olive) max(l, 0.78) c h)\n );\n --ui-green-text: light-dark(\n oklch(from var(--ui-green) min(l, 0.46) c h),\n oklch(from var(--ui-green) max(l, 0.78) c h)\n );\n --ui-teal-text: light-dark(\n oklch(from var(--ui-teal) min(l, 0.46) c h),\n oklch(from var(--ui-teal) max(l, 0.78) c h)\n );\n --ui-brown-text: light-dark(\n oklch(from var(--ui-brown) min(l, 0.46) c h),\n oklch(from var(--ui-brown) max(l, 0.78) c h)\n );\n --ui-grey-text: light-dark(\n oklch(from var(--ui-grey) min(l, 0.46) c h),\n oklch(from var(--ui-grey) max(l, 0.78) c h)\n );\n --ui-shadow-ink: light-dark(#3c2814, #000000);\n --ui-shadow-subtle: 0 1px 1px light-dark(#3c28140f, #0000004d);\n --ui-shadow-raised: 0 0 0 1px var(--paper-border), 0 1px 2px light-dark(#3c28140f, #0000004d);\n --ui-shadow-floating: 0 0 0 1px var(--paper-border), 0 6px 18px light-dark(#3c28141f, #00000073);\n --ui-shadow-floating-hover: 0 0 0 1px var(--ui-border-color-strong), 0 10px 28px light-dark(#3c281429, #00000080);\n --ui-shadow-overlay: var(--ui-shadow-floating-hover);\n --ui-button-radius: var(--ui-radius-m);\n --ui-button-font-family: system-ui, -apple-system, \"Segoe UI\", \"Noto Sans\", sans-serif;\n --ui-button-font-weight: 500;\n --ui-input-radius: var(--ui-radius-m);\n --ui-input-background: var(--paper-panel);\n --ui-input-border-color: var(--paper-border);\n --ui-dropdown-radius: var(--ui-radius-m);\n --ui-select-background: var(--ui-input-background);\n --ui-select-border-color: var(--ui-input-border-color);\n --ui-menu-radius: var(--ui-radius-m);\n --ui-menu-active-background: var(--paper-accent-wash);\n --ui-menu-active-color: var(--paper-accent-text);\n --ui-menu-segmented-background: var(--paper-inset);\n --ui-menu-segmented-radius: var(--ui-radius-l);\n --ui-menu-segmented-padding: 2px;\n --ui-menu-segmented-item-radius: var(--ui-radius-m);\n --ui-menu-segmented-active-background: var(--paper-panel);\n --ui-menu-segmented-active-color: var(--ui-text-dark);\n --ui-menu-segmented-active-shadow: 0 0 0 1px var(--paper-border);\n --ui-menu-segmented-divider: transparent;\n --ui-card-radius: var(--ui-radius-l);\n --ui-card-shadow: var(--ui-shadow-raised);\n --ui-segment-radius: var(--ui-radius-l);\n --ui-section-radius: var(--ui-radius-l);\n --ui-panel-radius: var(--ui-radius-l);\n --ui-panel-shadow: var(--ui-shadow-raised);\n --ui-message-radius: var(--ui-radius-l);\n --ui-popup-radius: var(--ui-radius-m);\n --ui-modal-radius: 8px;\n --ui-bar-panel-background: var(--paper-panel);\n --ui-docs-nav-background: var(--paper-panel);\n --ui-docs-nav-header-background: var(--paper-inset);\n --ui-docs-nav-band-background: var(--paper-inset);\n --ui-docs-nav-band-color: var(--ui-text-muted);\n --ui-docs-nav-border-color: var(--ui-border-color);\n --ui-docs-nav-current-background: var(--paper-accent-wash);\n --ui-docs-nav-current-color: var(--paper-accent-text);\n --ui-toolbar-button-radius: var(--ui-radius-s);\n --ui-header-font-weight: var(--ui-font-weight-semibold);\n --ui-header-sub-color: var(--ui-text-muted);\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../src/util/persist/persist.types.ts
|
|
2
|
+
var e = ["light", "dark"], t = "spell-site:scheme", n = ["spell-ui-site:scheme"], r = "(prefers-color-scheme: dark)", i = {
|
|
3
|
+
light: "ui-light",
|
|
4
|
+
dark: "ui-dark"
|
|
5
|
+
}, a = "pref-saved", o = "spell-server:pref-saved";
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as a, r as i, t as n, a as o, e as r, o as s, i as t };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=persist.types-D2m6wD-S.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persist.types-D2m6wD-S.js","names":["ColorSchemeNames","COLOR_SCHEME_KEY","OLD_COLOR_SCHEME_KEYS","DARK_QUERY","COLOR_SCHEME_CLASSES","PREF_SAVED_EVENT","PREF_SAVED_PAGE_EVENT"],"sources":["../../src/util/persist/persist.types.ts"],"sourcesContent":["/**\n * Types for `spell/util/persist`: what an app keeps for people --\n * their preferences across visits (`PrefStore`), and the history they undo and redo (`UndoStack`).\n * - Generic, like every file of this folder: nothing spell-specific, so Spell UI uses it too.\n * - Types only, apart from the place names and the colour scheme's constants:\n * the folder's other files import it, never the reverse.\n * - Spell UI's runtime reads `DARK_QUERY` from it by file: small, no pref store.\n * - The page server's side of `ServerPlace`'s protocol (spell-app's spaces) imports its types too.\n */\n\n////////////////\n// ## Places\n////////////////\n\n/**\n * The places a `PrefStore` keeps its values, by name -- see `PrefStoreOptions.place`:\n * - `local`: the browser's lasting storage (`localStorage`), per site: it survives a reload and a restart\n * - `session`: the browser's per-tab storage (`sessionStorage`): gone when the tab closes\n * - `memory`: this page only, for this store only: servers, tests\n */\nexport const PrefPlaceNames = [\"local\", \"session\", \"memory\"] as const\n/** One of `PrefPlaceNames`. */\nexport type PrefPlaceName = (typeof PrefPlaceNames)[number]\n\n/**\n * What a `StoragePlace` needs of a web `Storage`.\n * - e.g. `localStorage`, `sessionStorage`, a `MemoryStorage`, or a test's stand-in\n */\nexport type StorageLike = Pick<Storage, \"getItem\" | \"setItem\" | \"removeItem\" | \"key\" | \"length\">\n\n////////////////\n// ## Values\n////////////////\n\n/**\n * What a value's declaration says: its type, its choices, its default -- read by `defaultFor()` and `isAllowed()`.\n * - A pref's (`PrefStore.declare()`), and the same shape a spell property declares (`PropInfo`).\n */\nexport type ValueInfo = {\n /**\n * Its type, as Spell's runtime names it: `number`, `text`, `choice` (true or false).\n * - Any other name (a class's) isn't checked.\n */\n type?: string\n /** Its legal values, e.g. `[\"light\", \"dark\", \"auto\"]`, or a function returning them; the first is the default. */\n oneOf?: readonly unknown[] | (() => readonly unknown[])\n /** Its value while nothing's kept: wins over the first choice and the type's default. */\n default?: unknown\n}\n\n////////////////\n// ## Colour scheme\n////////////////\n\n/** The colour schemes a page shows: `ColorScheme`'s. */\nexport const ColorSchemeNames = [\"light\", \"dark\"] as const\n/** One of `ColorSchemeNames`. */\nexport type ColorSchemeName = (typeof ColorSchemeNames)[number]\n\n/**\n * The key of the chosen colour scheme, in the browser's storage: `light`, `dark`, or absent for the OS's.\n * - ONE key for every Spell site, so a switch on one holds on the others:\n * the site header on the docs, epic pages and saga pages, Spell UI's docs site, the editor app\n * - Plain text, so a page's inline `<head>` script reads it before first paint (Spell UI's `ThemePreference`).\n */\nexport const COLOR_SCHEME_KEY = \"spell-site:scheme\"\n\n/**\n * Keys the scheme lived under before `COLOR_SCHEME_KEY` (2026-10-04):\n * read once while it's absent, the first valid one copied to it, then every one removed (`ColorScheme.chosen()`).\n * - `spell-ui-site:scheme`: Spell UI's docs site (and the Astro site before it)\n * - NOT `spell-site:theme`, the site header's before then:\n * it's the THEME's key since epic `debut` P21 (Spell UI's `ThemePreference`), and a scheme left there is read as no theme\n */\nexport const OLD_COLOR_SCHEME_KEYS = [\"spell-ui-site:scheme\"] as const\n\n/** Media query of the OS's dark scheme: what a page follows while no scheme is chosen. */\nexport const DARK_QUERY = \"(prefers-color-scheme: dark)\"\n\n/**\n * Classes on `<html>` that force a scheme: Spell UI's tokens and `--ui-scheme` follow them.\n * - `ColorScheme.apply()` sets them; so does a page with its own light / dark switch (the editor app's)\n */\nexport const COLOR_SCHEME_CLASSES = { light: \"ui-light\", dark: \"ui-dark\" } as const satisfies Record<\n ColorSchemeName,\n string\n>\n\n/**\n * What `ColorScheme.watch()` heard:\n * - `os`: the OS switched scheme, so a page following it shows the other one\n * - `chosen`: another tab chose a scheme (already applied here)\n */\nexport type ColorSchemeChange = \"os\" | \"chosen\"\n\n////////////////\n// ## The server's protocol\n////////////////\n\n/*\n * What `ServerPlace` asks the page server, under its URL (`/api/prefs` by default); spell-app's spaces answer it.\n * - `GET <url>/load?store=<store>&key=<key>`: a `PrefLoadAnswer`\n * - `POST <url>/save`, a `PrefSaveRequest`: a `PrefLoadAnswer`, the value saved\n * - `GET <url>/keys?store=<store>&under=<prefix>`: a `PrefKeysAnswer`\n * - `POST <url>/forget`, a `PrefForgetRequest`: a `PrefKeysAnswer`, the keys left\n * - A mistake (a store name that can't be one): 400, with the error's message.\n */\n\n/** A store's value under a key: `value` left out when nothing's kept. */\nexport type PrefLoadAnswer = {\n /** The value kept, as JSON. */\n value?: unknown\n}\n\n/** Save `value` under `key` for `store`; `value` left out forgets the key. */\nexport type PrefSaveRequest = {\n /** The store's name, e.g. `spellEditor` or `@owen/solitaire`. */\n store: string\n /** The pref's key, e.g. `mode`. */\n key: string\n /** The value to keep, as JSON. */\n value?: unknown\n}\n\n/** A store's keys, without its name. */\nexport type PrefKeysAnswer = {\n /** The keys, e.g. `[\"layout/left\", \"mode\"]`. */\n keys: string[]\n}\n\n/** Forget every key of `store` that starts with `under`: every key, for `\"\"`. */\nexport type PrefForgetRequest = {\n /** The store's name. */\n store: string\n /** The keys' shared start, e.g. `layout/`. */\n under: string\n}\n\n/**\n * A pref the server saved, as it tells every open page (epic `debut` P21): `PREF_SAVED_EVENT`'s data.\n * - The page server sends it over its live channel (the kit's `LiveReload`);\n * a served page's live client hands it on as a `PREF_SAVED_PAGE_EVENT` on `window`.\n * - So a page showing a pref follows it at once when another page, or another app, changes it.\n */\nexport type PrefSaved = {\n /** The store's name, e.g. `spell-site`. */\n store: string\n /** Its key, e.g. `theme`. */\n key: string\n /** The value saved; left out: forgotten. */\n value?: unknown\n}\n\n/** The live channel's event for a saved pref (`{ event: \"pref-saved\", data: PrefSaved }`). */\nexport const PREF_SAVED_EVENT = \"pref-saved\"\n\n/** The `window` event a served page's live client turns `PREF_SAVED_EVENT` into: a `CustomEvent<PrefSaved>`. */\nexport const PREF_SAVED_PAGE_EVENT = \"spell-server:pref-saved\"\n\n////////////////\n// ## Undo\n////////////////\n\n/**\n * One change `UndoStack` can undo and redo.\n * - What it holds is up to whoever records it: Spell's runtime records the properties an action set.\n * - Both run at once, and must NOT wait: an async action's redo puts its end state back, it doesn't run it again.\n */\nexport type UndoRecord = {\n /** Put things back as they were before the change. */\n undo(): void\n /** Put the change back. */\n redo(): void\n}\n\n/** One step people undo and redo: a title for the Edit menu, and its records, undone last first. */\nexport type UndoStep = {\n /** What people see after \"Undo\": short, capitalized like a menu item, e.g. `Change Margin`, `Turn Card`. */\n title: string\n /**\n * What it changed, so a run of steps with the same title AND target folds into one (typing into one field).\n * - None: it never folds.\n */\n target?: unknown\n /** Its changes, in the order they were made. */\n records: UndoRecord[]\n}\n\n/** The two ways through the history, as `UndoStack.titleFor()` names them. */\nexport const UndoActions = [\"undo\", \"redo\"] as const\n/** One of `UndoActions`. */\nexport type UndoAction = (typeof UndoActions)[number]\n"],"mappings":";AAuDA,IAAaA,IAAmB,CAAC,SAAS,MAAM,GAUnCC,IAAmB,qBASnBC,IAAwB,CAAC,sBAAsB,GAG/CC,IAAa,gCAMbC,IAAuB;CAAE,OAAO;CAAY,MAAM;AAAU,GAuE5DC,IAAmB,cAGnBC,IAAwB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
//#region src/styles/themes/pop.css?inline
|
|
2
|
+
var e = "@layer ui.theme{.ui:is(.red,.orange,.yellow,.olive,.green,.teal,.blue,.purple,.pink,.brown),.ui:is(.positive,.negative,.info,.warning,.success,.error),:is(.ui-red,.ui-orange,.ui-yellow,.ui-olive,.ui-green,.ui-teal,.ui-blue,.ui-purple,.ui-pink,.ui-brown),:is(.ui-positive,.ui-negative,.ui-info,.ui-warning,.ui-success,.ui-error){--ui-color-hover:light-dark(oklch(from var(--ui-color) calc(l - .05) calc(c * 1.1) h),oklch(from var(--ui-color) calc(l + .05) calc(c * 1.1) h));--ui-color-focus:light-dark(oklch(from var(--ui-color) calc(l - .08) calc(c * 1.2) h),oklch(from var(--ui-color) calc(l + .08) calc(c * 1.2) h));--ui-color-down:light-dark(oklch(from var(--ui-color) calc(l - .1) c h),oklch(from var(--ui-color) calc(l + .1) c h));--ui-color-active:light-dark(oklch(from var(--ui-color) calc(l - .05) calc(c * 1.15) h),oklch(from var(--ui-color) calc(l + .05) calc(c * 1.15) h))}:root{--ui-info-on-light:#0066d6;--ui-info-on-dark:#64d2ff;--ui-info-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-warning-on-light:#c93400;--ui-warning-on-dark:#ff9f0a;--ui-warning-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-red-on-light:#d70015;--ui-red-on-dark:#ff453a;--ui-red-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-orange-on-light:#c93400;--ui-orange-on-dark:#ff9f0a;--ui-orange-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-yellow-on-light:#fc0;--ui-yellow-on-dark:#ffd60a;--ui-yellow-on:var(--ui-ink-on-light);--ui-yellow-text:light-dark(oklch(from var(--ui-yellow) min(l, .5) c h),oklch(from var(--ui-yellow) max(l, .78) c h));--ui-olive-on-light:#5a7d00;--ui-olive-on-dark:#a8e05f;--ui-olive-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-olive-text:light-dark(oklch(from var(--ui-olive) min(l, .5) c h),oklch(from var(--ui-olive) max(l, .78) c h));--ui-green-on-light:#1f8338;--ui-green-on-dark:#30d158;--ui-green-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-green-text:light-dark(oklch(from var(--ui-green) min(l, .5) c h),oklch(from var(--ui-green) max(l, .78) c h));--ui-teal-on-light:#0071a4;--ui-teal-on-dark:#40c8e0;--ui-teal-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-teal-text:light-dark(oklch(from var(--ui-teal) min(l, .5) c h),oklch(from var(--ui-teal) max(l, .78) c h));--ui-blue-on-light:#0066d6;--ui-blue-on-dark:#0a84ff;--ui-blue-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-violet-on-light:#6a3fd6;--ui-violet-on-dark:#7c55e6;--ui-violet-on:oklch(100% 0 0);--ui-violet-inverted:#b79bff;--ui-violet-inverted-on:var(--ui-ink-on-light);--ui-purple-on-light:#8944ab;--ui-purple-on-dark:#bf5af2;--ui-purple-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-pink-on-light:#d30f45;--ui-pink-on-dark:#ff375f;--ui-pink-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-brown-on-light:#7f6545;--ui-brown-on-dark:#ac8e68;--ui-brown-on:light-dark(oklch(100% 0 0),var(--ui-ink-on-light));--ui-grey-on-light:#6e6e73;--ui-grey-on-dark:#636366;--ui-grey-on:oklch(100% 0 0);--ui-grey-inverted:#a1a1a6;--ui-grey-inverted-on:var(--ui-ink-on-light);--ui-black-on-light:#1d1d1f;--ui-black-on-dark:#3a3a3c;--ui-black-on:oklch(100% 0 0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root :where(h1,h2,h3,h4,h5,h6,section,ui-section){scroll-margin-top:calc(var(--spell-site-header-height,0px) + 1em)}:is(.ui.table,:where(ui-table)>table),.ui.statistic,.ui.statistics{font-variant-numeric:tabular-nums}:where(a){text-underline-position:from-font;text-decoration-skip-ink:auto}@media (hover:hover){:where(.ui-typography) :where(a){-webkit-text-decoration-color:color-mix(in oklab, currentColor 40%, transparent);-webkit-text-decoration-color:color-mix(in oklab, currentColor 40%, transparent);text-decoration-color:color-mix(in oklab, currentColor 40%, transparent)}:where(.ui-typography) :where(a:hover){text-decoration-color:currentColor}}:where(img:not(.background)){outline-offset:-1px;outline:1px solid light-dark(#00000014,#ffffff14)}@media (prefers-reduced-motion:no-preference){.ui.button:not(.loading){transition-property:opacity,background-color,color,box-shadow,scale;transition-duration:var(--ui-button-duration,var(--ui-duration-fast)), var(--ui-button-duration,var(--ui-duration-fast)), var(--ui-button-duration,var(--ui-duration-fast)), var(--ui-button-duration,var(--ui-duration-fast)), .2s;transition-timing-function:var(--ui-ease), var(--ui-ease), var(--ui-ease), var(--ui-ease), ease-out}.ui.button:not(.disabled,:disabled,.loading):active{scale:.97}}:root.ui-scheme-switching{--spell-scheme-switching:on}@container style(--spell-scheme-switching:on){*,:before,:after{transition:none!important}}.ui.secondary,.ui-secondary{--ui-color-hover:var(--ui-secondary-hover);--ui-color-focus:var(--ui-secondary-focus);--ui-color-down:var(--ui-secondary-down);--ui-color-active:var(--ui-secondary-active)}:root{background-color:var(--ui-background)}.ui.button:not(.basic,.tertiary,.text,.link,.inverted,.icon,.disabled,:disabled){box-shadow:0 0 0 2px var(--pop-ink), 3px 3px 0 2px var(--pop-ink)}@media (prefers-reduced-motion:no-preference){.ui.button:not(.basic,.tertiary,.text,.link,.inverted,.icon,.disabled,:disabled,.loading):active{box-shadow:0 0 0 2px var(--pop-ink), 1px 1px 0 2px var(--pop-ink);translate:2px 2px;scale:none}}.ui.basic.button:not(.icon,.circular,.disabled,:disabled){box-shadow:0 0 0 2px var(--pop-ink)}.ui.header,:where(h1,h2,h3,h4,h5,h6){text-wrap-style:balance}:root{--pop-page:light-dark(#fff5ea,#1d0f27);--pop-panel:light-dark(#fff,#2c1739);--pop-inset:light-dark(#fdebd8,#24122f);--pop-ink:light-dark(#1f1025,#07020b);--pop-accent:light-dark(#c8125d,#ff7ab8);--pop-on-accent:light-dark(#fff,#2a0619);--pop-accent-wash:light-dark(#c8125d1a,#ff7ab829);--pop-accent-text:light-dark(#b0104f,#ff9cca);--pop-outline:0 0 0 2px var(--pop-ink);--pop-sticker:0 0 0 2px var(--pop-ink), 4px 4px 0 0 var(--pop-ink);--pop-sticker-lifted:0 0 0 2px var(--pop-ink), 6px 6px 0 0 var(--pop-ink);--ui-font-size:15px;--ui-font-family:var(--ui-font-family-rounded);--ui-font-family-heading:var(--ui-font-family-rounded);--ui-font-family-mono:ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;--ui-font-family-serif:ui-serif, Palatino, \"Palatino Linotype\", \"Book Antiqua\", P052, \"URW Palladio L\", Georgia, serif;--ui-font-family-sans:system-ui, -apple-system, \"Segoe UI\", \"Noto Sans\", \"Helvetica Neue\", Arial, sans-serif;--ui-font-family-typewriter:\"American Typewriter\", \"Courier Prime\", \"Courier New\", Courier, monospace;--ui-font-family-subhead:var(--ui-font-family-heading);--ui-radius-s:8px;--ui-radius-m:12px;--ui-radius-l:16px;--ui-ink-on-light:#1f1025;--ui-ink-on-dark:#fbefff;--ui-text-color:light-dark(#24122b,#f5e6fb);--ui-text-dark:light-dark(#16091b,#fff);--ui-text-muted:light-dark(#5e4a66,#cdb5d8);--ui-text-light:light-dark(#6b5673,#bba2c7);--ui-background:var(--pop-page);--ui-surface:var(--pop-panel);--ui-surface-muted:var(--pop-inset);--ui-surface-strong:var(--pop-panel);--ui-bar-background:var(--ui-background);--ui-code-background:var(--pop-inset);--ui-highlight:var(--pop-accent-wash);--ui-border-width:2px;--ui-border-color:var(--pop-ink);--ui-border-color-strong:var(--pop-ink);--ui-border-color-internal:light-dark(#e5cfc0,#4a2c5c);--ui-primary:var(--pop-accent);--ui-primary-on:var(--pop-on-accent);--ui-primary-text:var(--pop-accent-text);--ui-primary-background:var(--pop-accent-wash);--ui-primary-inverted:var(--pop-accent);--ui-primary-inverted-on:var(--pop-on-accent);--ui-secondary:var(--ui-blue);--ui-secondary-on:var(--ui-blue-on);--ui-secondary-inverted:var(--ui-blue-inverted);--ui-secondary-inverted-on:var(--ui-blue-inverted-on);--ui-secondary-hover:light-dark(oklch(from var(--ui-blue) calc(l - .05) calc(c * 1.1) h),oklch(from var(--ui-blue) calc(l + .05) calc(c * 1.1) h));--ui-secondary-focus:light-dark(oklch(from var(--ui-blue) calc(l - .08) calc(c * 1.2) h),oklch(from var(--ui-blue) calc(l + .08) calc(c * 1.2) h));--ui-secondary-down:light-dark(oklch(from var(--ui-blue) calc(l - .1) c h),oklch(from var(--ui-blue) calc(l + .1) c h));--ui-secondary-active:light-dark(oklch(from var(--ui-blue) calc(l - .05) calc(c * 1.15) h),oklch(from var(--ui-blue) calc(l + .05) calc(c * 1.15) h));--ui-link:light-dark(#b0104f,#ff9cca);--ui-link-hover:light-dark(#7f0b39,#ffc4df);--ui-focus-width:3px;--ui-focus-color:var(--pop-accent);--ui-yellow-text:light-dark(oklch(from var(--ui-yellow) min(l, .46) c h),oklch(from var(--ui-yellow) max(l, .78) c h));--ui-yellow-border:light-dark(oklch(from var(--ui-yellow) min(l, .56) c h),oklch(from var(--ui-yellow) max(l, .7) c h));--ui-olive-text:light-dark(oklch(from var(--ui-olive) min(l, .46) c h),oklch(from var(--ui-olive) max(l, .78) c h));--ui-green-text:light-dark(oklch(from var(--ui-green) min(l, .46) c h),oklch(from var(--ui-green) max(l, .78) c h));--ui-teal-text:light-dark(oklch(from var(--ui-teal) min(l, .46) c h),oklch(from var(--ui-teal) max(l, .78) c h));--ui-brown-text:light-dark(oklch(from var(--ui-brown) min(l, .46) c h),oklch(from var(--ui-brown) max(l, .78) c h));--ui-grey-text:light-dark(oklch(from var(--ui-grey) min(l, .46) c h),oklch(from var(--ui-grey) max(l, .78) c h));--ui-shadow-ink:var(--pop-ink);--ui-shadow-subtle:none;--ui-shadow-raised:var(--pop-sticker);--ui-shadow-floating:0 0 0 2px var(--pop-ink), 6px 6px 0 0 var(--pop-ink);--ui-shadow-floating-hover:0 0 0 2px var(--pop-ink), 8px 8px 0 0 var(--pop-ink);--ui-shadow-overlay:var(--ui-shadow-floating-hover);--ui-ease-out:cubic-bezier(.34, 1.4, .64, 1);--ui-button-radius:var(--ui-radius-m);--ui-button-font-weight:700;--ui-input-radius:var(--ui-radius-m);--ui-input-background:var(--pop-panel);--ui-input-border-color:var(--pop-ink);--ui-input-border-color-hover:var(--pop-ink);--ui-input-border-color-focus:var(--pop-accent);--ui-dropdown-radius:var(--ui-radius-m);--ui-dropdown-border-color:var(--pop-ink);--ui-select-background:var(--ui-input-background);--ui-select-border-color:var(--ui-input-border-color);--ui-menu-radius:var(--ui-radius-m);--ui-menu-text-active-weight:700;--ui-menu-active-background:var(--pop-accent-wash);--ui-menu-active-color:var(--pop-accent-text);--ui-menu-segmented-background:var(--pop-panel);--ui-menu-segmented-border:2px solid var(--pop-ink);--ui-menu-segmented-radius:var(--ui-radius-l);--ui-menu-segmented-padding:3px;--ui-menu-segmented-item-radius:calc(var(--ui-radius-l) - 5px);--ui-menu-segmented-active-background:var(--pop-accent);--ui-menu-segmented-active-color:var(--pop-on-accent);--ui-menu-segmented-active-shadow:none;--ui-menu-segmented-divider:transparent;--ui-card-radius:var(--ui-radius-l);--ui-card-border-color:var(--pop-ink);--ui-card-hover-border-color:var(--pop-ink);--ui-card-shadow:var(--pop-sticker);--ui-card-hover-shadow:var(--pop-sticker-lifted);--ui-card-raised-shadow:var(--pop-sticker);--ui-card-raised-hover-shadow:var(--pop-sticker-lifted);--ui-segment-radius:var(--ui-radius-l);--ui-segment-border-color:var(--pop-ink);--ui-segment-shadow:var(--pop-outline);--ui-segment-raised-shadow:var(--pop-sticker);--ui-section-radius:var(--ui-radius-l);--ui-panel-radius:var(--ui-radius-l);--ui-panel-shadow:var(--pop-sticker);--ui-message-radius:var(--ui-radius-l);--ui-popup-radius:var(--ui-radius-m);--ui-popup-border-color:var(--pop-ink);--ui-popup-shadow:var(--pop-sticker);--ui-toast-radius:var(--ui-radius-l);--ui-toast-shadow:var(--pop-sticker);--ui-modal-radius:22px;--ui-modal-shadow:var(--ui-shadow-floating-hover);--ui-bar-panel-background:var(--pop-panel);--ui-docs-nav-background:var(--pop-panel);--ui-docs-nav-header-background:var(--pop-inset);--ui-docs-nav-band-background:var(--pop-inset);--ui-docs-nav-band-color:var(--ui-text-muted);--ui-docs-nav-border-color:var(--ui-border-color);--ui-docs-nav-current-background:var(--pop-accent-wash);--ui-docs-nav-current-color:var(--pop-accent-text);--ui-toolbar-button-radius:var(--ui-radius-s);--ui-header-font-weight:var(--ui-font-weight-bold)}}";
|
|
3
|
+
//#endregion
|
|
4
|
+
export { e as default };
|
|
5
|
+
|
|
6
|
+
//# sourceMappingURL=pop-CxXfytjk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pop-
|
|
1
|
+
{"version":3,"file":"pop-CxXfytjk.js","names":["pop_default"],"sources":["../src/styles/themes/pop.css?inline"],"sourcesContent":["/* GENERATED by `yarn gen:styles` from `pop.theme.json5`: edit that file, never this sheet. */\n\n@import \"./palettes/apple.css\";\n@import \"./rules/modern.css\";\n@import \"./rules/states.css\";\n@import \"./rules/pop.css\";\n\n@layer ui.theme {\n :root {\n --pop-page: light-dark(#fff5ea, #1d0f27);\n --pop-panel: light-dark(#ffffff, #2c1739);\n --pop-inset: light-dark(#fdebd8, #24122f);\n --pop-ink: light-dark(#1f1025, #07020b);\n --pop-accent: light-dark(#c8125d, #ff7ab8);\n --pop-on-accent: light-dark(#ffffff, #2a0619);\n --pop-accent-wash: light-dark(#c8125d1a, #ff7ab829);\n --pop-accent-text: light-dark(#b0104f, #ff9cca);\n --pop-outline: 0 0 0 2px var(--pop-ink);\n --pop-sticker: 0 0 0 2px var(--pop-ink), 4px 4px 0 0 var(--pop-ink);\n --pop-sticker-lifted: 0 0 0 2px var(--pop-ink), 6px 6px 0 0 var(--pop-ink);\n --ui-font-size: 15px;\n --ui-font-family: var(--ui-font-family-rounded);\n --ui-font-family-heading: var(--ui-font-family-rounded);\n --ui-font-family-mono: ui-monospace, \"SF Mono\", Menlo, Consolas, monospace;\n --ui-font-family-serif:\n ui-serif, Palatino, \"Palatino Linotype\", \"Book Antiqua\", P052, \"URW Palladio L\", Georgia, serif;\n --ui-font-family-sans: system-ui, -apple-system, \"Segoe UI\", \"Noto Sans\", \"Helvetica Neue\", Arial, sans-serif;\n --ui-font-family-typewriter: \"American Typewriter\", \"Courier Prime\", \"Courier New\", Courier, monospace;\n --ui-font-family-subhead: var(--ui-font-family-heading);\n --ui-radius-s: 8px;\n --ui-radius-m: 12px;\n --ui-radius-l: 16px;\n --ui-ink-on-light: #1f1025;\n --ui-ink-on-dark: #fbefff;\n --ui-text-color: light-dark(#24122b, #f5e6fb);\n --ui-text-dark: light-dark(#16091b, #ffffff);\n --ui-text-muted: light-dark(#5e4a66, #cdb5d8);\n --ui-text-light: light-dark(#6b5673, #bba2c7);\n --ui-background: var(--pop-page);\n --ui-surface: var(--pop-panel);\n --ui-surface-muted: var(--pop-inset);\n --ui-surface-strong: var(--pop-panel);\n --ui-bar-background: var(--ui-background);\n --ui-code-background: var(--pop-inset);\n --ui-highlight: var(--pop-accent-wash);\n --ui-border-width: 2px;\n --ui-border-color: var(--pop-ink);\n --ui-border-color-strong: var(--pop-ink);\n --ui-border-color-internal: light-dark(#e5cfc0, #4a2c5c);\n --ui-primary: var(--pop-accent);\n --ui-primary-on: var(--pop-on-accent);\n --ui-primary-text: var(--pop-accent-text);\n --ui-primary-background: var(--pop-accent-wash);\n --ui-primary-inverted: var(--pop-accent);\n --ui-primary-inverted-on: var(--pop-on-accent);\n --ui-secondary: var(--ui-blue);\n --ui-secondary-on: var(--ui-blue-on);\n --ui-secondary-inverted: var(--ui-blue-inverted);\n --ui-secondary-inverted-on: var(--ui-blue-inverted-on);\n --ui-secondary-hover: light-dark(\n oklch(from var(--ui-blue) calc(l - 0.05) calc(c * 1.1) h),\n oklch(from var(--ui-blue) calc(l + 0.05) calc(c * 1.1) h)\n );\n --ui-secondary-focus: light-dark(\n oklch(from var(--ui-blue) calc(l - 0.08) calc(c * 1.2) h),\n oklch(from var(--ui-blue) calc(l + 0.08) calc(c * 1.2) h)\n );\n --ui-secondary-down: light-dark(\n oklch(from var(--ui-blue) calc(l - 0.1) c h),\n oklch(from var(--ui-blue) calc(l + 0.1) c h)\n );\n --ui-secondary-active: light-dark(\n oklch(from var(--ui-blue) calc(l - 0.05) calc(c * 1.15) h),\n oklch(from var(--ui-blue) calc(l + 0.05) calc(c * 1.15) h)\n );\n --ui-link: light-dark(#b0104f, #ff9cca);\n --ui-link-hover: light-dark(#7f0b39, #ffc4df);\n --ui-focus-width: 3px;\n --ui-focus-color: var(--pop-accent);\n --ui-yellow-text: light-dark(\n oklch(from var(--ui-yellow) min(l, 0.46) c h),\n oklch(from var(--ui-yellow) max(l, 0.78) c h)\n );\n --ui-yellow-border: light-dark(\n oklch(from var(--ui-yellow) min(l, 0.56) c h),\n oklch(from var(--ui-yellow) max(l, 0.7) c h)\n );\n --ui-olive-text: light-dark(\n oklch(from var(--ui-olive) min(l, 0.46) c h),\n oklch(from var(--ui-olive) max(l, 0.78) c h)\n );\n --ui-green-text: light-dark(\n oklch(from var(--ui-green) min(l, 0.46) c h),\n oklch(from var(--ui-green) max(l, 0.78) c h)\n );\n --ui-teal-text: light-dark(\n oklch(from var(--ui-teal) min(l, 0.46) c h),\n oklch(from var(--ui-teal) max(l, 0.78) c h)\n );\n --ui-brown-text: light-dark(\n oklch(from var(--ui-brown) min(l, 0.46) c h),\n oklch(from var(--ui-brown) max(l, 0.78) c h)\n );\n --ui-grey-text: light-dark(\n oklch(from var(--ui-grey) min(l, 0.46) c h),\n oklch(from var(--ui-grey) max(l, 0.78) c h)\n );\n --ui-shadow-ink: var(--pop-ink);\n --ui-shadow-subtle: none;\n --ui-shadow-raised: var(--pop-sticker);\n --ui-shadow-floating: 0 0 0 2px var(--pop-ink), 6px 6px 0 0 var(--pop-ink);\n --ui-shadow-floating-hover: 0 0 0 2px var(--pop-ink), 8px 8px 0 0 var(--pop-ink);\n --ui-shadow-overlay: var(--ui-shadow-floating-hover);\n --ui-ease-out: cubic-bezier(0.34, 1.4, 0.64, 1);\n --ui-button-radius: var(--ui-radius-m);\n --ui-button-font-weight: 700;\n --ui-input-radius: var(--ui-radius-m);\n --ui-input-background: var(--pop-panel);\n --ui-input-border-color: var(--pop-ink);\n --ui-input-border-color-hover: var(--pop-ink);\n --ui-input-border-color-focus: var(--pop-accent);\n --ui-dropdown-radius: var(--ui-radius-m);\n --ui-dropdown-border-color: var(--pop-ink);\n --ui-select-background: var(--ui-input-background);\n --ui-select-border-color: var(--ui-input-border-color);\n --ui-menu-radius: var(--ui-radius-m);\n --ui-menu-text-active-weight: 700;\n --ui-menu-active-background: var(--pop-accent-wash);\n --ui-menu-active-color: var(--pop-accent-text);\n --ui-menu-segmented-background: var(--pop-panel);\n --ui-menu-segmented-border: 2px solid var(--pop-ink);\n --ui-menu-segmented-radius: var(--ui-radius-l);\n --ui-menu-segmented-padding: 3px;\n --ui-menu-segmented-item-radius: calc(var(--ui-radius-l) - 5px);\n --ui-menu-segmented-active-background: var(--pop-accent);\n --ui-menu-segmented-active-color: var(--pop-on-accent);\n --ui-menu-segmented-active-shadow: none;\n --ui-menu-segmented-divider: transparent;\n --ui-card-radius: var(--ui-radius-l);\n --ui-card-border-color: var(--pop-ink);\n --ui-card-hover-border-color: var(--pop-ink);\n --ui-card-shadow: var(--pop-sticker);\n --ui-card-hover-shadow: var(--pop-sticker-lifted);\n --ui-card-raised-shadow: var(--pop-sticker);\n --ui-card-raised-hover-shadow: var(--pop-sticker-lifted);\n --ui-segment-radius: var(--ui-radius-l);\n --ui-segment-border-color: var(--pop-ink);\n --ui-segment-shadow: var(--pop-outline);\n --ui-segment-raised-shadow: var(--pop-sticker);\n --ui-section-radius: var(--ui-radius-l);\n --ui-panel-radius: var(--ui-radius-l);\n --ui-panel-shadow: var(--pop-sticker);\n --ui-message-radius: var(--ui-radius-l);\n --ui-popup-radius: var(--ui-radius-m);\n --ui-popup-border-color: var(--pop-ink);\n --ui-popup-shadow: var(--pop-sticker);\n --ui-toast-radius: var(--ui-radius-l);\n --ui-toast-shadow: var(--pop-sticker);\n --ui-modal-radius: 22px;\n --ui-modal-shadow: var(--ui-shadow-floating-hover);\n --ui-bar-panel-background: var(--pop-panel);\n --ui-docs-nav-background: var(--pop-panel);\n --ui-docs-nav-header-background: var(--pop-inset);\n --ui-docs-nav-band-background: var(--pop-inset);\n --ui-docs-nav-band-color: var(--ui-text-muted);\n --ui-docs-nav-border-color: var(--ui-border-color);\n --ui-docs-nav-current-background: var(--pop-accent-wash);\n --ui-docs-nav-current-color: var(--pop-accent-text);\n --ui-toolbar-button-radius: var(--ui-radius-s);\n --ui-header-font-weight: var(--ui-font-weight-bold);\n }\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Browser } from './Browser';
|
|
2
|
+
/****************
|
|
3
|
+
* ### `DataTooltips`
|
|
4
|
+
* Shows `data-tooltip` in the browser's top layer once the runtime has loaded, so no parent frame can cut it off.
|
|
5
|
+
* - The markup stays as it was: `<button data-tooltip="Add users" data-position="bottom left" data-inverted>`.
|
|
6
|
+
* - `native.css` draws it with `::before` and `::after`, which can't enter the top layer.
|
|
7
|
+
* So `start()` marks the root (`STAND_DOWN`), those rules stand down, and ONE shared bubble shows instead.
|
|
8
|
+
* - A page with no script, or a browser with no popovers or anchor positioning, keeps the CSS tooltip.
|
|
9
|
+
* - `data-variation="visible"` also stays CSS: it's always showing, and there's one bubble.
|
|
10
|
+
* - The bubble and a box over the target live at the end of `<body>`:
|
|
11
|
+
* an anchor name only reaches its own tree, and a target may be in a shadow root.
|
|
12
|
+
* - It takes the target's `--ui-tooltip-*` values as they resolve there, so a theme around the target still shows.
|
|
13
|
+
* - When it shows:
|
|
14
|
+
* - the pointer on a target: after `--ui-tooltip-delay` (by default `--ui-hover-delay`)
|
|
15
|
+
* - on to another target while one is showing: at once
|
|
16
|
+
* - keyboard focus: at once
|
|
17
|
+
* - Escape hides it, until the pointer or the focus comes back
|
|
18
|
+
* - In the runtime, not `core`: it's page-wide, and it only ever runs once the runtime's chunk has loaded.
|
|
19
|
+
* - Plain DOM: no Solid. Listens on the document, for the life of the page.
|
|
20
|
+
* - Pairs with `TopLayerTip`, a component's own tip: this is for a tip anywhere on a page, by attribute.
|
|
21
|
+
****************/
|
|
22
|
+
export declare class DataTooltips {
|
|
23
|
+
/** Feature flags: what says whether it can run at all. */
|
|
24
|
+
private readonly browser;
|
|
25
|
+
/** The shared bubble; made when one first shows. */
|
|
26
|
+
private bubble;
|
|
27
|
+
/** The box over the target that the bubble's anchored to; made with it. */
|
|
28
|
+
private box;
|
|
29
|
+
/** The target the bubble's showing. */
|
|
30
|
+
private shown;
|
|
31
|
+
/** The target under the pointer. */
|
|
32
|
+
private hovered;
|
|
33
|
+
/** The target holding keyboard focus. */
|
|
34
|
+
private focused;
|
|
35
|
+
/** A hover waiting out its delay. */
|
|
36
|
+
private pending;
|
|
37
|
+
/** Follows the shown target's attributes: a changed tooltip shows as it changes. */
|
|
38
|
+
private observer;
|
|
39
|
+
constructor({ browser }: {
|
|
40
|
+
browser: Browser;
|
|
41
|
+
});
|
|
42
|
+
/**
|
|
43
|
+
* Start listening, and have the CSS tooltip stand down.
|
|
44
|
+
* - Does nothing without popovers and anchor positioning, or on a server.
|
|
45
|
+
* - NEVER throws.
|
|
46
|
+
*/
|
|
47
|
+
start(): void;
|
|
48
|
+
private readonly onPointerOver;
|
|
49
|
+
/** The pointer left the window: no `pointerover` comes to say so. */
|
|
50
|
+
private readonly onPointerOut;
|
|
51
|
+
/** Only keyboard focus, so a click on a button doesn't pin its tooltip open. */
|
|
52
|
+
private readonly onFocusIn;
|
|
53
|
+
private readonly onFocusOut;
|
|
54
|
+
private readonly onKeyDown;
|
|
55
|
+
/** Show what should show, or hide: the one place that decides. */
|
|
56
|
+
private update;
|
|
57
|
+
private cancelPending;
|
|
58
|
+
private show;
|
|
59
|
+
private hide;
|
|
60
|
+
/** Make the bubble and its box, and put them back if the page took them away (`<body>` replaced). */
|
|
61
|
+
private ensureBubble;
|
|
62
|
+
/** Copy what `target` says onto the bubble: the text, its position and variations, its resolved colours. */
|
|
63
|
+
private fill;
|
|
64
|
+
/** Put the box over `target`: the browser's own anchor positioning does the rest, flips included. */
|
|
65
|
+
private place;
|
|
66
|
+
/**
|
|
67
|
+
* Say which side of the target the bubble ended up on, and where along it the arrow goes.
|
|
68
|
+
* - Measured: a flip is the browser's, and nothing else says it happened.
|
|
69
|
+
* - The arrow points at the middle of what the bubble and the target share.
|
|
70
|
+
*/
|
|
71
|
+
private pointArrow;
|
|
72
|
+
/** The shown target moved with a scroll or a resize, or has gone. */
|
|
73
|
+
private readonly follow;
|
|
74
|
+
private onTargetChanged;
|
|
75
|
+
}
|
|
@@ -62,11 +62,25 @@ export type PropertyControl = {
|
|
|
62
62
|
* - none: no choices
|
|
63
63
|
*/
|
|
64
64
|
choices?: "items" | "radios";
|
|
65
|
+
/**
|
|
66
|
+
* How much of a row its property takes on a property editor's grid (`columns`, a compact editor's two):
|
|
67
|
+
* `half` (one column) or `full` (the row), the default.
|
|
68
|
+
* - A property's own `width` wins (`width="1/2"`).
|
|
69
|
+
*/
|
|
70
|
+
width?: "half" | "full";
|
|
71
|
+
/** A yes or no: in a compact editor its property draws on one line, the box then its label. */
|
|
72
|
+
inline?: boolean;
|
|
65
73
|
};
|
|
66
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* One choice: a value, or a value and the text people see.
|
|
76
|
+
* - `icon`: an icon's name, drawn before its text (a select), or alone (a segmented row whose choices all have one)
|
|
77
|
+
* - `image`: a picture's URL, drawn round before its text (a hue's chip)
|
|
78
|
+
*/
|
|
67
79
|
export type Choice = string | {
|
|
68
80
|
value: string;
|
|
69
81
|
text: string;
|
|
82
|
+
icon?: string;
|
|
83
|
+
image?: string;
|
|
70
84
|
};
|
|
71
85
|
/** A choice source: the choices, now or later. */
|
|
72
86
|
export type ChoiceSource = () => readonly Choice[] | Promise<readonly Choice[]>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SourceLoadOptions, SourceSaveRequest, SourceSaveResult, SourceSaver, SourceText } from './runtime.types';
|
|
1
|
+
import { InlineSaveRequest, InlineSourceSaver, SourceLoadOptions, SourceSaveRequest, SourceSaveResult, SourceSaver, SourceText } from './runtime.types';
|
|
2
2
|
/****************
|
|
3
3
|
* ### `Sources`
|
|
4
4
|
* Text files elements show and save, as `UI.sources`: `<ui-include>`, `<ui-code>` and `<ui-markdown>` load their
|
|
@@ -13,12 +13,17 @@ import { SourceLoadOptions, SourceSaveRequest, SourceSaveResult, SourceSaver, So
|
|
|
13
13
|
* - A caller's `signal` aborts only ITS wait: the shared fetch carries on for the others.
|
|
14
14
|
* - Saving: `save()` hands the text to `saver`, which a host page registers (`ui` can't know the server); none
|
|
15
15
|
* registered rejects with `no-saver`. A successful save updates the cache, so the next `load()` sees it.
|
|
16
|
+
* - Saving an element's OWN text (no `source`: a `<ui-markdown>` written in the page): `saveInline()` hands it to
|
|
17
|
+
* `inlineSaver`, which writes it into the page's file; the docs pages' finds it there by its text (epic
|
|
18
|
+
* `epic-engine` P60).
|
|
16
19
|
* - NOTE: `ETag`s come from the response headers; a server that sends none still loads, but its saver gets
|
|
17
20
|
* `etag: undefined` and can't detect a conflict.
|
|
18
21
|
****************/
|
|
19
22
|
export declare class Sources {
|
|
20
23
|
/** writes text back; set by the host page, e.g. the docs runtime on the page server */
|
|
21
24
|
saver?: SourceSaver;
|
|
25
|
+
/** writes an element's own text back into the page's file; set by the host page, as `saver` */
|
|
26
|
+
inlineSaver?: InlineSourceSaver;
|
|
22
27
|
/** absolute URL -> its load, in flight or done; a failure isn't kept: the next caller tries again */
|
|
23
28
|
private readonly cache;
|
|
24
29
|
/**
|
|
@@ -48,10 +53,17 @@ export declare class Sources {
|
|
|
48
53
|
*/
|
|
49
54
|
save(request: SourceSaveRequest): Promise<SourceSaveResult>;
|
|
50
55
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
56
|
+
* Save an element's own text (`request.text`) into the page's file through `inlineSaver`; resolves with the
|
|
57
|
+
* page's new version.
|
|
58
|
+
* - Rejects with `SourceError` as `save()`: `no-saver`, or whatever the inline saver threw (`conflict`, `save`).
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
saveInline(request: InlineSaveRequest): Promise<SourceSaveResult>;
|
|
61
|
+
/**
|
|
62
|
+
* A saver's failure as a `SourceError`: its own, or its thrown `{ kind, message, status }` (a classic script's),
|
|
63
|
+
* any other a `save`, kept as `cause.error`.
|
|
64
|
+
* - Static: pure.
|
|
65
|
+
*/
|
|
66
|
+
private static saverFailed;
|
|
55
67
|
/**
|
|
56
68
|
* The `load` `SourceError` a failed fetch throws, the network error (if any) as `cause.error`;
|
|
57
69
|
* its message says `Sources.load()`, the method its callers called.
|
package/dist/runtime/Styles.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { StyleRegisterOptions, StyleSource } from './runtime.types';
|
|
|
8
8
|
* - Order inside every shadow root (`adoptInto()`):
|
|
9
9
|
* 1. foundation sheets, in `setFoundation()` order (layers, tokens, reset ...)
|
|
10
10
|
* 2. the component's own sheets, as passed
|
|
11
|
+
* 2b. the PAGE sheets, only in a root that draws `ui-*` elements in its own light content (`adoptPageSheetsInto()`)
|
|
11
12
|
* 3. any sheets someone else put on the root (kept, not clobbered)
|
|
12
13
|
* 4. utilities (`setUtilities()`, default `["utilities"]`)
|
|
13
14
|
* 5. `shadow: true` sheets (themes), in registration order
|
|
@@ -38,6 +39,8 @@ export declare class Styles {
|
|
|
38
39
|
private readonly roots;
|
|
39
40
|
/** component sheet names per root */
|
|
40
41
|
private readonly rootNames;
|
|
42
|
+
/** roots that also take the page sheets: see `adoptPageSheetsInto()` */
|
|
43
|
+
private readonly pageSheetRoots;
|
|
41
44
|
/** `load` listener armed, so page sheets get re-evaluated once late `<link>`s are in */
|
|
42
45
|
private isWatchingLoad;
|
|
43
46
|
/**
|
|
@@ -88,6 +91,14 @@ export declare class Styles {
|
|
|
88
91
|
* - SIDE EFFECT: first call starts watching `#ui-app-stylesheet`.
|
|
89
92
|
*/
|
|
90
93
|
adoptInto(root: ShadowRoot, names: string[]): void;
|
|
94
|
+
/**
|
|
95
|
+
* `root` takes the PAGE sheets too (`register(..., { page: true })`), now and as more register: for a shadow root
|
|
96
|
+
* that draws `ui-*` elements whose light content a page sheet styles (epic `mockup` P8).
|
|
97
|
+
* - e.g. a drawn view's root holding `<ui-table>` in rows mode: its `<ui-row>`s and `<ui-cell>`s are styled by the
|
|
98
|
+
* table's page sheet, which the document's adopted sheets don't reach inside a shadow root.
|
|
99
|
+
* - Only for a root `adoptInto()` already knows: call it after the component is set up.
|
|
100
|
+
*/
|
|
101
|
+
adoptPageSheetsInto(root: ShadowRoot): void;
|
|
91
102
|
/**
|
|
92
103
|
* Resolves once the app stylesheet reflects `#ui-app-stylesheet` as of its latest change.
|
|
93
104
|
* - SIDE EFFECT: starts watching it, if nothing has yet.
|
package/dist/runtime/Themes.d.ts
CHANGED
|
@@ -33,8 +33,8 @@ import { Styles } from './Styles';
|
|
|
33
33
|
* nested groups; its sheet here is GENERATED from it (`ThemeFile`, `yarn gen:styles`), so this class still
|
|
34
34
|
* reads only sheets
|
|
35
35
|
* - a theme kept under an old name (`studio`, `spell-brand`): `RENAMED`
|
|
36
|
-
* - Registry names in `UI.styles` (`slots`): `classic` (the base)
|
|
37
|
-
* `
|
|
36
|
+
* - Registry names in `UI.styles` (`slots`): `classic` (the base), `theme` (the current theme) and `tint` (a tint
|
|
37
|
+
* worn over it, epic `debut` P23). ONE of each, so switching replaces its text in place.
|
|
38
38
|
****************/
|
|
39
39
|
export declare class Themes {
|
|
40
40
|
/**
|
|
@@ -51,6 +51,7 @@ export declare class Themes {
|
|
|
51
51
|
readonly slots: {
|
|
52
52
|
readonly base: "classic";
|
|
53
53
|
readonly theme: "theme";
|
|
54
|
+
readonly tint: "tint";
|
|
54
55
|
};
|
|
55
56
|
/** every sheet in the folder, `classic` and `dark` included, A-Z */
|
|
56
57
|
readonly sheets: readonly string[];
|
|
@@ -76,8 +77,13 @@ export declare class Themes {
|
|
|
76
77
|
* - `undefined` (or `""`): neither, our own look.
|
|
77
78
|
* - Concurrent calls: the LAST one wins, even if an earlier theme's chunk arrives after it.
|
|
78
79
|
* - Throws a `TypeError` on an unknown name, or `"dark"` (see the class docs).
|
|
80
|
+
* - `tint`: a tint's sheet, worn over the theme in a slot of its own, after it (epic `debut` P23, J90):
|
|
81
|
+
* so a theme and a tint picked in a row land in order; none: the tint taken off.
|
|
82
|
+
* - SIDE EFFECT: once its sheets are on, `UIT.THEME_APPLIED_EVENT` on `document`.
|
|
79
83
|
*/
|
|
80
|
-
apply(name: string | undefined
|
|
84
|
+
apply(name: string | undefined, { tint }?: {
|
|
85
|
+
tint?: string;
|
|
86
|
+
}): Promise<void>;
|
|
81
87
|
/**
|
|
82
88
|
* Theme `name`'s TOKENS, re-declared on `scope` (a selector, e.g. `.Inspector`): CSS text for a page sheet.
|
|
83
89
|
* - So one part of a page wears another theme: its colours, fonts, sizes, radii and shadows,
|
|
@@ -90,7 +96,7 @@ export declare class Themes {
|
|
|
90
96
|
* - Why the foundation too: its tokens are worked out from the theme's (`--ui-primary-hover` ...),
|
|
91
97
|
* and a custom property's `var()` resolves where it's declared: on `:root`, they'd keep the page's.
|
|
92
98
|
* - NOT the theme's class-grammar rules (`.ui.button { ... }`): those go on the whole page or nowhere.
|
|
93
|
-
* - NOT the scheme (`
|
|
99
|
+
* - NOT the scheme or the control cursor (`PAGE_PROPERTIES`): they stay the page's, inherited.
|
|
94
100
|
* - The foundation's `:root { color-scheme: light dark }`, re-declared on `scope`, made it follow the OS:
|
|
95
101
|
* on a page set to dark under a light OS, the Inspector's tree read dark grey on near-black (epic `debut` I80).
|
|
96
102
|
* - Throws a `TypeError` on an unknown name, as `load()`.
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { Api } from '../_util/Api';
|
|
1
2
|
import { Vocabulary } from 'spell/ui/vocabulary';
|
|
2
3
|
import { Disposer, ToastHandle, ToastOptions, VisibilityOptions } from './runtime.types';
|
|
3
|
-
import { Api } from './Api';
|
|
4
4
|
import { Browser } from './Browser';
|
|
5
5
|
import { CodeLanguages } from './CodeLanguages';
|
|
6
|
+
import { DataTooltips } from './DataTooltips';
|
|
6
7
|
import { Focus } from './Focus';
|
|
7
8
|
import { I18n } from './I18n';
|
|
8
9
|
import { IconPacks } from './IconPacks';
|
|
@@ -79,6 +80,8 @@ export declare class UIRuntime {
|
|
|
79
80
|
readonly vocabulary: Vocabulary;
|
|
80
81
|
/** what `<ui-property-editor>` draws and reads by name: control kinds, choice sources, rules, schemas */
|
|
81
82
|
readonly propertyControls: PropertyControls;
|
|
83
|
+
/** `data-tooltip`, shown in the top layer so no parent frame cuts it off */
|
|
84
|
+
readonly dataTooltips: DataTooltips;
|
|
82
85
|
/** Resolves once every service is constructed and the runtime is published on `globalThis`. */
|
|
83
86
|
readonly ready: Promise<void>;
|
|
84
87
|
constructor();
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
export * from './runtime.types';
|
|
14
14
|
export { UI, load as loadUI } from './load';
|
|
15
15
|
export type { UIRuntime } from './UIRuntime';
|
|
16
|
-
export type { Api } from '
|
|
16
|
+
export type { Api } from '../_util/Api';
|
|
17
17
|
export type { AppStylesheet } from './AppStylesheet';
|
|
18
18
|
export type { Browser } from './Browser';
|
|
19
19
|
export type { Chord, ChordModifier } from './Chord';
|