spell-ui 0.8.15 → 0.8.17
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 +4 -2
- package/README-runtime.md +26 -1
- package/README.md +2 -1
- package/dist/SliderScale-DunjyaDW.js +67 -0
- package/dist/SliderScale-DunjyaDW.js.map +1 -0
- package/dist/{ThemeDraft-CyX3YA_L.js → ThemeDraft-spaNC2dD.js} +2 -2
- package/dist/{ThemeDraft-CyX3YA_L.js.map → ThemeDraft-spaNC2dD.js.map} +1 -1
- package/dist/{UIInput-B3K0w4ow.js → UIInput-8s1aiaw1.js} +2 -2
- package/dist/UIInput-8s1aiaw1.js.map +1 -0
- package/dist/{UIRuntime-DCv4sy30.js → UIRuntime-BaokNnwk.js} +900 -158
- package/dist/UIRuntime-BaokNnwk.js.map +1 -0
- package/dist/_spell-element/UIComponent.d.ts +7 -0
- package/dist/_spell-element/elements.types.d.ts +6 -0
- package/dist/_spell-element/vocabulary.types.d.ts +27 -0
- package/dist/_util/dom.d.ts +7 -0
- package/dist/components/components.es.d.ts +1 -0
- package/dist/components/ui-dial/DialArc.d.ts +43 -0
- package/dist/components/ui-dial/UIDial.d.ts +263 -0
- package/dist/components/ui-dial/UIDial.en.d.ts +149 -0
- package/dist/components/ui-dial/UIDial.es.d.ts +25 -0
- package/dist/components/ui-dial/UIDial.fallback.d.ts +167 -0
- package/dist/components/ui-dial/UIDial.types.d.ts +11 -0
- package/dist/components/ui-dial/index.d.ts +3 -0
- package/dist/components/ui-graph/UIGraph.d.ts +17 -0
- package/dist/components/ui-graph/UIGraph.en.d.ts +17 -0
- package/dist/components/ui-graph/UIGraph.es.d.ts +6 -0
- package/dist/components/ui-input/UIInput.d.ts +46 -3
- package/dist/components/ui-input/UIInput.en.d.ts +6 -1
- package/dist/components/ui-input/UIInput.es.d.ts +1 -0
- package/dist/components/ui-input/UIInput.fallback.d.ts +6 -1
- package/dist/components/ui-json/UIJson.d.ts +5 -4
- package/dist/components/ui-modal/ChoiceRows.d.ts +61 -0
- package/dist/components/ui-modal/ModalDialogs.d.ts +15 -1
- package/dist/components/ui-modal/UIModal.d.ts +6 -2
- package/dist/components/ui-modal/UIModal.en.d.ts +6 -2
- package/dist/components/ui-modal/UIModal.es.d.ts +1 -0
- package/dist/components/ui-page-layout/UIPageLayout.d.ts +141 -8
- package/dist/components/ui-page-layout/UIPageLayout.en.d.ts +51 -2
- package/dist/components/ui-page-layout/UIPageLayout.es.d.ts +3 -0
- package/dist/components/ui-property-editor/UIProperty.d.ts +2 -2
- package/dist/components/ui-site-links/UISiteLinks.d.ts +124 -0
- package/dist/components/ui-site-links/UISiteLinks.en.d.ts +60 -0
- package/dist/components/ui-site-links/UISiteLinks.es.d.ts +26 -0
- package/dist/components/ui-site-links/index.d.ts +1 -0
- package/dist/components/ui-site-nav-button/UISiteNavButton.d.ts +12 -5
- package/dist/components/ui-site-nav-button/UISiteNavButton.en.d.ts +32 -12
- package/dist/components/ui-site-nav-button/UISiteNavButton.es.d.ts +3 -0
- package/dist/components/ui-site-tabs/UISiteTabs.d.ts +13 -0
- package/dist/components/ui-site-tabs/UISiteTabs.en.d.ts +9 -0
- package/dist/components/ui-slider/SliderScale.d.ts +26 -2
- package/dist/components/ui-slider/UISlider.d.ts +0 -2
- 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-toc/TocIndex.d.ts +16 -1
- package/dist/components/ui-toc/UIToc.d.ts +27 -3
- package/dist/components/ui-toc/UIToc.en.d.ts +1 -1
- package/dist/components/ui-toc/UIToc.types.d.ts +5 -0
- package/dist/components/ui-tree/UITree.d.ts +38 -2
- package/dist/components/ui-tree/UITree.en.d.ts +9 -0
- package/dist/components/ui-tree/UITree.es.d.ts +4 -0
- package/dist/components/ui-uploader/UIUploader.d.ts +721 -0
- package/dist/components/ui-uploader/UIUploader.en.d.ts +394 -0
- package/dist/components/ui-uploader/UIUploader.es.d.ts +112 -0
- package/dist/components/ui-uploader/index.d.ts +1 -0
- package/dist/{components.es-DilRG1VO.js → components.es-jY2nBwuP.js} +249 -65
- package/dist/components.es-jY2nBwuP.js.map +1 -0
- package/dist/core.js +605 -571
- package/dist/core.js.map +1 -1
- package/dist/docs-components/docs-components.types.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +101 -97
- package/dist/jsx.d.ts +1138 -21
- package/dist/runtime/DataTooltips.d.ts +10 -0
- package/dist/runtime/Modals.d.ts +7 -2
- package/dist/runtime/Styles.d.ts +7 -1
- package/dist/runtime/UIRuntime.d.ts +6 -0
- package/dist/runtime/runtime.types.d.ts +26 -1
- package/dist/sound-library/back.ogg +0 -0
- package/dist/sound-library/beep.ogg +0 -0
- package/dist/sound-library/bell.ogg +0 -0
- package/dist/sound-library/big-punch.ogg +0 -0
- package/dist/sound-library/bong.ogg +0 -0
- package/dist/sound-library/book-close.ogg +0 -0
- package/dist/sound-library/book-down.ogg +0 -0
- package/dist/sound-library/book-open.ogg +0 -0
- package/dist/sound-library/card-fan-2.ogg +0 -0
- package/dist/sound-library/card-fan.ogg +0 -0
- package/dist/sound-library/card-place-2.ogg +0 -0
- package/dist/sound-library/card-place-3.ogg +0 -0
- package/dist/sound-library/card-place.ogg +0 -0
- package/dist/sound-library/card-shove-2.ogg +0 -0
- package/dist/sound-library/card-shove.ogg +0 -0
- package/dist/sound-library/card-slide-2.ogg +0 -0
- package/dist/sound-library/card-slide-3.ogg +0 -0
- package/dist/sound-library/card-slide-4.ogg +0 -0
- package/dist/sound-library/card-slide.ogg +0 -0
- package/dist/sound-library/chip-down-2.ogg +0 -0
- package/dist/sound-library/chip-down.ogg +0 -0
- package/dist/sound-library/chips-collide.ogg +0 -0
- package/dist/sound-library/chips-handle.ogg +0 -0
- package/dist/sound-library/chips-stack-2.ogg +0 -0
- package/dist/sound-library/chips-stack.ogg +0 -0
- package/dist/sound-library/chop.ogg +0 -0
- package/dist/sound-library/click-2.ogg +0 -0
- package/dist/sound-library/click-3.ogg +0 -0
- package/dist/sound-library/click.ogg +0 -0
- package/dist/sound-library/close.ogg +0 -0
- package/dist/sound-library/cloth.ogg +0 -0
- package/dist/sound-library/coins-2.ogg +0 -0
- package/dist/sound-library/coins.ogg +0 -0
- package/dist/sound-library/confirm-2.ogg +0 -0
- package/dist/sound-library/confirm.ogg +0 -0
- package/dist/sound-library/creak.ogg +0 -0
- package/dist/sound-library/deck-open.ogg +0 -0
- package/dist/sound-library/deck-take-out.ogg +0 -0
- package/dist/sound-library/dice-grab.ogg +0 -0
- package/dist/sound-library/dice-shake-2.ogg +0 -0
- package/dist/sound-library/dice-shake.ogg +0 -0
- package/dist/sound-library/dice-throw-2.ogg +0 -0
- package/dist/sound-library/dice-throw.ogg +0 -0
- package/dist/sound-library/die-throw-2.ogg +0 -0
- package/dist/sound-library/die-throw.ogg +0 -0
- package/dist/sound-library/door-close.ogg +0 -0
- package/dist/sound-library/door-open.ogg +0 -0
- package/dist/sound-library/drop.ogg +0 -0
- package/dist/sound-library/error-2.ogg +0 -0
- package/dist/sound-library/error.ogg +0 -0
- package/dist/sound-library/fail.ogg +0 -0
- package/dist/sound-library/fall.ogg +0 -0
- package/dist/sound-library/glass-break.ogg +0 -0
- package/dist/sound-library/glass-clink.ogg +0 -0
- package/dist/sound-library/glass-tap.ogg +0 -0
- package/dist/sound-library/glass.ogg +0 -0
- package/dist/sound-library/glitch.ogg +0 -0
- package/dist/sound-library/grow.ogg +0 -0
- package/dist/sound-library/high-up.ogg +0 -0
- package/dist/sound-library/hover-2.ogg +0 -0
- package/dist/sound-library/hover.ogg +0 -0
- package/dist/sound-library/jingle-2.ogg +0 -0
- package/dist/sound-library/jingle-3.ogg +0 -0
- package/dist/sound-library/jingle-4.ogg +0 -0
- package/dist/sound-library/jingle.ogg +0 -0
- package/dist/sound-library/jump.ogg +0 -0
- package/dist/sound-library/knife-draw.ogg +0 -0
- package/dist/sound-library/knife-slice.ogg +0 -0
- package/dist/sound-library/laser-2.ogg +0 -0
- package/dist/sound-library/laser.ogg +0 -0
- package/dist/sound-library/latch.ogg +0 -0
- package/dist/sound-library/level-up.ogg +0 -0
- package/dist/sound-library/lose-2.ogg +0 -0
- package/dist/sound-library/lose-3.ogg +0 -0
- package/dist/sound-library/lose-4.ogg +0 -0
- package/dist/sound-library/lose.ogg +0 -0
- package/dist/sound-library/low-down.ogg +0 -0
- package/dist/sound-library/metal-clang.ogg +0 -0
- package/dist/sound-library/metal-click.ogg +0 -0
- package/dist/sound-library/metal-crash.ogg +0 -0
- package/dist/sound-library/metal-tap.ogg +0 -0
- package/dist/sound-library/mouse-click.ogg +0 -0
- package/dist/sound-library/mouse-release.ogg +0 -0
- package/dist/sound-library/open.ogg +0 -0
- package/dist/sound-library/orchestra-hit-2.ogg +0 -0
- package/dist/sound-library/orchestra-hit.ogg +0 -0
- package/dist/sound-library/page-turn-2.ogg +0 -0
- package/dist/sound-library/page-turn.ogg +0 -0
- package/dist/sound-library/pickaxe.ogg +0 -0
- package/dist/sound-library/piece-down-2.ogg +0 -0
- package/dist/sound-library/piece-down-3.ogg +0 -0
- package/dist/sound-library/piece-down.ogg +0 -0
- package/dist/sound-library/piece-take-2.ogg +0 -0
- package/dist/sound-library/piece-take.ogg +0 -0
- package/dist/sound-library/piece-tap-2.ogg +0 -0
- package/dist/sound-library/piece-tap.ogg +0 -0
- package/dist/sound-library/plank.ogg +0 -0
- package/dist/sound-library/plate.ogg +0 -0
- package/dist/sound-library/pluck.ogg +0 -0
- package/dist/sound-library/pot.ogg +0 -0
- package/dist/sound-library/power-up-2.ogg +0 -0
- package/dist/sound-library/power-up-3.ogg +0 -0
- package/dist/sound-library/power-up.ogg +0 -0
- package/dist/sound-library/punch.ogg +0 -0
- package/dist/sound-library/question.ogg +0 -0
- package/dist/sound-library/rise.ogg +0 -0
- package/dist/sound-library/scratch.ogg +0 -0
- package/dist/sound-library/scroll.ogg +0 -0
- package/dist/sound-library/select-2.ogg +0 -0
- package/dist/sound-library/select.ogg +0 -0
- package/dist/sound-library/shrink.ogg +0 -0
- package/dist/sound-library/shuffle.ogg +0 -0
- package/dist/sound-library/soft-thud-2.ogg +0 -0
- package/dist/sound-library/soft-thud.ogg +0 -0
- package/dist/sound-library/space-junk.ogg +0 -0
- package/dist/sound-library/step-2.ogg +0 -0
- package/dist/sound-library/step-on-carpet.ogg +0 -0
- package/dist/sound-library/step-on-grass.ogg +0 -0
- package/dist/sound-library/step-on-snow.ogg +0 -0
- package/dist/sound-library/step-on-stone.ogg +0 -0
- package/dist/sound-library/step-on-wood.ogg +0 -0
- package/dist/sound-library/step.ogg +0 -0
- package/dist/sound-library/switch-2.ogg +0 -0
- package/dist/sound-library/switch.ogg +0 -0
- package/dist/sound-library/tap-2.ogg +0 -0
- package/dist/sound-library/tap.ogg +0 -0
- package/dist/sound-library/three-tones.ogg +0 -0
- package/dist/sound-library/tick-2.ogg +0 -0
- package/dist/sound-library/tick.ogg +0 -0
- package/dist/sound-library/tin.ogg +0 -0
- package/dist/sound-library/toggle-2.ogg +0 -0
- package/dist/sound-library/toggle.ogg +0 -0
- package/dist/sound-library/two-tones.ogg +0 -0
- package/dist/sound-library/win-2.ogg +0 -0
- package/dist/sound-library/win-3.ogg +0 -0
- package/dist/sound-library/win-4.ogg +0 -0
- package/dist/sound-library/win.ogg +0 -0
- package/dist/sound-library/wood-thud.ogg +0 -0
- package/dist/sound-library/zap.ogg +0 -0
- package/dist/sounds/BuiltInSounds.d.ts +41 -0
- package/dist/sounds/index.d.ts +9 -0
- package/dist/sounds/sounds.types.d.ts +22 -0
- package/dist/ui-calendar.js +1 -1
- package/dist/ui-dial.editor-CjjdKi5L.js +5 -0
- package/dist/ui-dial.editor-CjjdKi5L.js.map +1 -0
- package/dist/ui-dial.js +467 -0
- package/dist/ui-dial.js.map +1 -0
- package/dist/ui-graph.js +22 -0
- package/dist/ui-graph.js.map +1 -1
- package/dist/{ui-input.editor-budoNoB0.js → ui-input.editor-D11iRgXR.js} +2 -2
- package/dist/ui-input.editor-D11iRgXR.js.map +1 -0
- package/dist/ui-input.js +84 -54
- package/dist/ui-input.js.map +1 -1
- package/dist/ui-json.js +8 -8
- package/dist/ui-json.js.map +1 -1
- package/dist/ui-modal.js +183 -97
- package/dist/ui-modal.js.map +1 -1
- package/dist/ui-page-layout.editor-IgDEveUY.js +5 -0
- package/dist/ui-page-layout.editor-IgDEveUY.js.map +1 -0
- package/dist/ui-page-layout.js +217 -72
- package/dist/ui-page-layout.js.map +1 -1
- package/dist/ui-popup.js +34 -34
- package/dist/ui-popup.js.map +1 -1
- package/dist/ui-property-editor.js +7 -4
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-root.js +71 -5
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-search.js +1 -1
- package/dist/ui-section.js +97 -96
- package/dist/ui-section.js.map +1 -1
- package/dist/ui-site-links.editor-BME3sw5H.js +5 -0
- package/dist/ui-site-links.editor-BME3sw5H.js.map +1 -0
- package/dist/ui-site-links.js +150 -0
- package/dist/ui-site-links.js.map +1 -0
- package/dist/ui-site-nav-button.editor-ChY4xe1U.js +5 -0
- package/dist/ui-site-nav-button.editor-ChY4xe1U.js.map +1 -0
- package/dist/ui-site-nav-button.js +57 -18
- package/dist/ui-site-nav-button.js.map +1 -1
- package/dist/{ui-site-tabs.editor-DDvQfH6S.js → ui-site-tabs.editor-CdMIw4jw.js} +2 -2
- package/dist/ui-site-tabs.editor-CdMIw4jw.js.map +1 -0
- package/dist/ui-site-tabs.js +30 -14
- package/dist/ui-site-tabs.js.map +1 -1
- package/dist/ui-slider.js +75 -124
- package/dist/ui-slider.js.map +1 -1
- package/dist/ui-statistic.js +1 -0
- package/dist/ui-statistic.js.map +1 -1
- package/dist/ui-theme-editor.js +2 -2
- package/dist/{ui-theme-menu-BZYUMrHe.js → ui-theme-menu-BEBu6dyq.js} +3 -3
- package/dist/{ui-theme-menu-BZYUMrHe.js.map → ui-theme-menu-BEBu6dyq.js.map} +1 -1
- package/dist/ui-toc.js +159 -122
- package/dist/ui-toc.js.map +1 -1
- package/dist/ui-tree.js +142 -87
- package/dist/ui-tree.js.map +1 -1
- package/dist/ui-uploader.editor-DrE80KjL.js +5 -0
- package/dist/ui-uploader.editor-DrE80KjL.js.map +1 -0
- package/dist/ui-uploader.js +1442 -0
- package/dist/ui-uploader.js.map +1 -0
- package/dist/vocabulary/hooks.generated.d.ts +7 -0
- package/package.json +1 -1
- package/dist/UIInput-B3K0w4ow.js.map +0 -1
- package/dist/UIRuntime-DCv4sy30.js.map +0 -1
- package/dist/components.es-DilRG1VO.js.map +0 -1
- package/dist/ui-input.editor-budoNoB0.js.map +0 -1
- package/dist/ui-page-layout.editor-xtQW0FZk.js +0 -5
- package/dist/ui-page-layout.editor-xtQW0FZk.js.map +0 -1
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js +0 -5
- package/dist/ui-site-nav-button.editor-6J-zJLtZ.js.map +0 -1
- package/dist/ui-site-tabs.editor-DDvQfH6S.js.map +0 -1
package/README-components.md
CHANGED
|
@@ -231,7 +231,7 @@ Every family, by group, A-Z inside each.
|
|
|
231
231
|
|
|
232
232
|
<!-- components:start -->
|
|
233
233
|
|
|
234
|
-
|
|
234
|
+
93 families, 145 tags; 4 families in progress.
|
|
235
235
|
|
|
236
236
|
### Elements
|
|
237
237
|
|
|
@@ -301,6 +301,7 @@ Elements with behaviour: they open, pick, move.
|
|
|
301
301
|
| | [Calendar](docs/ui-calendar.html) | `<ui-calendar>` | A calendar lets a person pick a date, a time, or both. | date picker, datepicker, time picker, datetime |
|
|
302
302
|
| <img src="docs/images/components/ui-checkbox.png" alt="Checkbox, its first example" width="200" height="30"> | [Checkbox](docs/ui-checkbox.html) | `<ui-checkbox>` [`<ui-radio>`](docs/ui-radio.html) | A checkbox lets people choose a value from a small set of options, often on or off. | check box, toggle, switch, tick box |
|
|
303
303
|
| | [Components](docs/ui-components.html) | `<ui-components>` | Components name a pack of another package's elements, which the root around them loads on demand, once per page. | component pack, plugin, extension, custom elements |
|
|
304
|
+
| | [Dial](docs/ui-dial.html) | `<ui-dial>` | A dial lets people pick a number by turning it, with its value in the middle and its label under it. | knob, rotary knob, radial slider, circular slider |
|
|
304
305
|
| | [Dimmer](docs/ui-dimmer.html) | `<ui-dimmer>` | A dimmer hides distractions to focus attention on particular content. | overlay, backdrop, scrim, mask |
|
|
305
306
|
| <img src="docs/images/components/ui-dropdown.png" alt="Dropdown, its first example" width="64" height="26"> | [Dropdown](docs/ui-dropdown.html) | `<ui-dropdown>` | A dropdown lets people choose a value from a series of options. | select, combobox, picker, autocomplete |
|
|
306
307
|
| <img src="docs/images/components/ui-embed.png" alt="Embed, its first example" width="171" height="96"> | [Embed](docs/ui-embed.html) | `<ui-embed>` | An embed displays content from other websites, like YouTube videos, loaded only when asked for. | iframe, video, youtube, vimeo |
|
|
@@ -354,8 +355,9 @@ Elements with no Fomantic counterpart.
|
|
|
354
355
|
| <img src="docs/images/components/ui-section.png" alt="Section, its first example" width="200" height="21"> | [Section](docs/ui-section.html) *(In progress)* | `<ui-section>` `<ui-sections>` | A section is a titled block of content that can close and keep its title in view. | section, panel, collapsible, disclosure |
|
|
355
356
|
| | [Sides](docs/ui-sides.html) | `<ui-sides>` | Sides edit four lengths at once, top, left, right and bottom, as a margin or a padding: a number box per side. | margin, padding, box model, spacing |
|
|
356
357
|
| | [Site breadcrumbs](docs/ui-site-breadcrumbs.html) | `<ui-site-breadcrumbs>` | Site breadcrumbs say where you are in a site: the group, the pages above the page shown, then the page (Hardware › Systems), each page above a link. | breadcrumb trail, you are here, location, page path |
|
|
358
|
+
| | [Site links](docs/ui-site-links.html) | `<ui-site-links>` | Site links are the page shown's own links, for an app menu's end: the real page it stands for (its `live` link, Fomantic UI's original for Spell UI's pages), and a way to report a problem with it. | page links, page actions, report a bug, original page |
|
|
357
359
|
| | [Site nav](docs/ui-site-nav.html) | `<ui-site-nav>` | A site nav lists a site's pages as a tree, the page shown marked; a click goes to a page. | site navigation, side navigation, sidebar menu, nav menu |
|
|
358
|
-
| | [Site nav button](docs/ui-site-nav-button.html) | `<ui-site-nav-button>` | A site nav button shows or hides the side navigation of the page layout around it: its icons only and back on a wide page, slid in and out on a narrow one. It's an item, for an app menu. | side bar button, drawer button, hamburger, menu button |
|
|
360
|
+
| | [Site nav button](docs/ui-site-nav-button.html) | `<ui-site-nav-button>` | A site nav button shows or hides the side navigation of the page layout around it: its icons only and back on a wide page, slid in and out on a narrow one; or one of its side bars (`toggles`). It's an item, for an app menu. | side bar button, drawer button, hamburger, menu button |
|
|
359
361
|
| | [Site tabs](docs/ui-site-tabs.html) | `<ui-site-tabs>` | Site tabs show the page's family as a row of tabs: the parent page first, the page shown selected, each a link. | page tabs, section tabs, sub navigation, secondary navigation |
|
|
360
362
|
| | [Space](docs/ui-space.html) | `<ui-space>` | A space is a gap between things. Bare, it is a line break; `inline`, a gap inside the line; `fluid`, it takes the room left in its row or column. It has no look of its own. | spacer, gap, line break, br |
|
|
361
363
|
| | [Split Panel](docs/ui-split-panel.html) | `<ui-split-panel>` | A split panel lays its children out side by side or one above the other, with bars to resize them. | split view, split pane, resizable panes, panes |
|
package/README-runtime.md
CHANGED
|
@@ -69,7 +69,7 @@ so nothing flashes unstyled.
|
|
|
69
69
|
That's one more round trip, which `<ui-root>` covers with skeletons; every element after the first finds the
|
|
70
70
|
runtime already there.
|
|
71
71
|
|
|
72
|
-
##
|
|
72
|
+
## Nineteen services, one field each
|
|
73
73
|
|
|
74
74
|
Each service is a class, built when the runtime is, and held as one of its fields.
|
|
75
75
|
Your own code reads them the way the elements do, once the runtime is in:
|
|
@@ -99,6 +99,7 @@ i18n.register("es", { close: "Cerrar" }) // every family's "Close", in Spanish
|
|
|
99
99
|
| `UI.modals` | dialogs from code that return a promise (`<ui-modal>` provides them) |
|
|
100
100
|
| `UI.api` | `fetch` with URL templates, throttling and abort, after Fomantic's API behaviour |
|
|
101
101
|
| `UI.icons` | the page's icon packs and the SVG cache |
|
|
102
|
+
| `UI.sounds` | Spell's 139 built-in sounds, by name: `UI.sounds.url("card slide")` is where its file is ([Sounds](#sounds), below) |
|
|
102
103
|
| `UI.sources` | the same-origin text files `<ui-include>`, `<ui-code>` and `<ui-markdown>` load and save |
|
|
103
104
|
| `UI.code` | languages `<ui-code>` colours beyond its own: `UI.code.register()` |
|
|
104
105
|
| `UI.propertyControls` | what `<ui-property-editor>` draws, by name: control kinds, choice sources, rules |
|
|
@@ -413,6 +414,30 @@ What it will add:
|
|
|
413
414
|
|
|
414
415
|
None of it is built; today a set gets in as a folder of SVGs (above).
|
|
415
416
|
|
|
417
|
+
## Sounds
|
|
418
|
+
|
|
419
|
+
```js
|
|
420
|
+
const { sounds } = await UI.load()
|
|
421
|
+
new Audio(sounds.url("card slide")).play()
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
_Plays a card sliding across a table: one of the 139 sounds that come with Spell UI._
|
|
425
|
+
|
|
426
|
+
Spell UI carries a library of short sounds, each by a plain name, in English and in Spanish:
|
|
427
|
+
`card slide` / `deslizar carta`, `click` / `clic`, `win` / `ganar`.
|
|
428
|
+
A Spell program plays one by its name, `play "card slide"`, with nothing to download or host.
|
|
429
|
+
- Nine kinds: clicks and switches, cards, dice, chips and coins, board pieces, knocks and hits, footsteps,
|
|
430
|
+
doors and books, beeps and zaps, short tunes.
|
|
431
|
+
The editor's sound picker lists them that way: type `play "` and pick "Pick a sound…".
|
|
432
|
+
- A name finds its sound in any case, with or without accents or dashes: `Card-Slide`, `deslizar carta`.
|
|
433
|
+
- `url()` answers `undefined` for a name Spell has no sound for.
|
|
434
|
+
- The files are Ogg Vorbis, 1.5 MB in all, beside the code that plays them:
|
|
435
|
+
`sound-library/`, next to Spell UI's own chunk, in every build.
|
|
436
|
+
- Safari plays Ogg only from version 18.4.
|
|
437
|
+
- The sounds are [Kenney](https://kenney.nl)'s, from seven of his free packs:
|
|
438
|
+
CC0, public domain, so no credit is needed; we give it gladly.
|
|
439
|
+
Which pack and file each came from: [LICENSE.md](src/sounds/LICENSE.md).
|
|
440
|
+
|
|
416
441
|
## Styles
|
|
417
442
|
|
|
418
443
|
A web component that carries its CSS in a `<style>` puts a copy into every instance's shadow root.
|
package/README.md
CHANGED
|
@@ -513,6 +513,7 @@ each example's plain class markup on the left, the same example as elements on t
|
|
|
513
513
|
| [src/vocabulary/](src/vocabulary/) | the naming layer: value sets, `Vocabulary` (translated names), `Converters` |
|
|
514
514
|
| [src/styles/](src/styles/) | layers, tokens, colours, sizes, reset, typography, utilities, themes; `tokens.css`, `colors.css`, `sizes.css` and the themes' sheets are GENERATED (`yarn gen:styles`) |
|
|
515
515
|
| [src/icons/](src/icons/) | the icon pack format, and the built-in packs (`icon-packs/`, GENERATED by `yarn gen:icons`) |
|
|
516
|
+
| [src/sounds/](src/sounds/) | `spell/ui/sounds`: Spell's 139 built-in sounds, by name (`BuiltInSounds`), their files in `sound-library/`; Kenney's, CC0 ([LICENSE.md](src/sounds/LICENSE.md)) |
|
|
516
517
|
| [src/property/](src/property/) | what `<ui-property-editor>` reads a thing's properties from (a vocabulary, a JSON Schema or a JSON block's values), and an editor's saved page; no Solid, so node tools use it too |
|
|
517
518
|
| [src/static/](src/static/) | the static render (`SSR`, node only): `ui-*` markup to plain HTML |
|
|
518
519
|
| [src/util/](src/util/) | the kit's generic helpers and its element's timing helpers, re-exported, plus `Warnings` |
|
|
@@ -607,7 +608,7 @@ The rest is on the page that owns each one:
|
|
|
607
608
|
| --- | --- |
|
|
608
609
|
| [README.md](README.md) | <ul><li>this page: a page in thirty seconds, every request it made, and two screenshots</li><li>three things that move, by contrast with a component library: tags, the page holding the element, four doors for your CSS</li><li>`<ui-root>`, component packs, the 76 families, other ways to load</li><li>what a page costs and assumes; working on it; 🌱 the first release</li></ul> |
|
|
609
610
|
| [README-components.md](README-components.md) | <ul><li>a family is a folder, and a row</li><li>when two families look alike: Select or Dropdown, Modal or Flyout, Toast or Nag ...</li><li>the catalogue: every family by group, with a picture and what other libraries call it</li><li>how a family is laid out, and adding one step by step; written from the data</li></ul> |
|
|
610
|
-
| [README-runtime.md](README-runtime.md) | <ul><li>one runtime per page, not one per tree:
|
|
611
|
+
| [README-runtime.md](README-runtime.md) | <ul><li>one runtime per page, not one per tree: nineteen services, one field each</li><li>vocabularies and localization; icons, and using another icon set; the built-in sounds</li><li>styles; the static render, served from Python too</li><li>Spell UI's half of the element core; 🌱 named icon sets, rendering from a Python app</li></ul> |
|
|
611
612
|
| [README-themes.md](README-themes.md) | <ul><li>two things that move from MUI or Tailwind: custom properties, one colour value</li><li>what ships: about 400 tokens, dark mode, and Spell's four themes</li><li>five recipes, from tokens on `:root` to the app stylesheet and the theme editor</li><li>the theme menu, `<ui-theme-menu>`</li><li>🌱 themes per component</li></ul> |
|
|
612
613
|
| [README-frameworks.md](README-frameworks.md) | <ul><li>the contract: four rules every element keeps, and who decides the value</li><li>plain JavaScript, React 19, Vue 3 and Solid 2, each checked by a page that runs; Svelte, Angular, Preact</li><li>types: your editor knows every tag, and Solid's JSX does too</li><li>using it today with an import map; what the smoke pages prove, and what they don't</li></ul> |
|
|
613
614
|
| [README-migrating.md](README-migrating.md) | <ul><li>from Semantic UI, Fomantic UI or Semantic UI React: your classes moved inside</li><li>a whole card, three ways; every class word becomes an attribute</li><li>what changes under the words: your CSS, jQuery calls, a few words</li><li>from Semantic UI React, no wrappers; moving a page by hand; 🌱 the migration tool</li></ul> |
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
|
+
import { F as e, clamp as t } from "./core.js";
|
|
3
|
+
// src/components/ui-slider/SliderScale.ts
|
|
4
|
+
var n = class SliderScale {
|
|
5
|
+
min;
|
|
6
|
+
max;
|
|
7
|
+
step;
|
|
8
|
+
tickStep;
|
|
9
|
+
decimals;
|
|
10
|
+
constructor({ min: e, max: t, step: n, tickStep: r }) {
|
|
11
|
+
this.min = Number.isFinite(e) ? e : 0, this.max = Number.isFinite(t) ? Math.max(this.min, t) : this.min, this.step = Number.isFinite(n) && n > 0 ? n : 0, this.tickStep = r !== void 0 && Number.isFinite(r) && r > 0 ? r : this.step, this.decimals = Math.max(SliderScale.decimalsOf(this.step), SliderScale.decimalsOf(this.tickStep), SliderScale.decimalsOf(this.min));
|
|
12
|
+
}
|
|
13
|
+
snap(e) {
|
|
14
|
+
let { min: n, max: r, step: i } = this;
|
|
15
|
+
if (!Number.isFinite(e)) return n;
|
|
16
|
+
let a = t(e, n, r);
|
|
17
|
+
if (!i) return a;
|
|
18
|
+
let o = n + Math.round((a - n) / i) * i;
|
|
19
|
+
return o > r && (o -= i), this.round(o);
|
|
20
|
+
}
|
|
21
|
+
ratio(e) {
|
|
22
|
+
let n = this.max - this.min;
|
|
23
|
+
return n ? t((e - this.min) / n, 0, 1) : 0;
|
|
24
|
+
}
|
|
25
|
+
valueAt(e) {
|
|
26
|
+
return this.snap(this.min + t(e, 0, 1) * (this.max - this.min));
|
|
27
|
+
}
|
|
28
|
+
move(e, t) {
|
|
29
|
+
let n = this.step || (this.max - this.min) / 100;
|
|
30
|
+
return this.snap(e + t * n);
|
|
31
|
+
}
|
|
32
|
+
valueForKey(t, n, r = {}) {
|
|
33
|
+
let { low: i = this.min, high: a = this.max } = r;
|
|
34
|
+
if (t === e.home) return i;
|
|
35
|
+
if (t === e.end) return a;
|
|
36
|
+
let o = SliderScale.stepsForKey(t, r);
|
|
37
|
+
return o ? this.move(n, o) : void 0;
|
|
38
|
+
}
|
|
39
|
+
static stepsForKey(t, { vertical: n = !1, reversed: i = !1 }) {
|
|
40
|
+
let { arrowUp: a, arrowDown: o, arrowLeft: s, arrowRight: c, pageUp: l, pageDown: u } = e;
|
|
41
|
+
return t === (n ? i ? a : o : i ? s : c) || !n && t === a || n && t === c ? 1 : t === (n ? i ? o : a : i ? c : s) || !n && t === o || n && t === s ? -1 : t === l ? r : t === u ? -r : 0;
|
|
42
|
+
}
|
|
43
|
+
get intervals() {
|
|
44
|
+
return Math.max(1, Math.round((this.max - this.min) / (this.tickStep || 1)));
|
|
45
|
+
}
|
|
46
|
+
labelValue(e) {
|
|
47
|
+
return this.round(Math.min(this.max, this.min + e * (this.tickStep || 1)));
|
|
48
|
+
}
|
|
49
|
+
gap(e, t) {
|
|
50
|
+
let { intervals: n } = this;
|
|
51
|
+
if (e <= 0) return 1;
|
|
52
|
+
let r = e / n;
|
|
53
|
+
for (let e = 1; e <= n; e++) if (r * e >= t && n % e === 0) return e;
|
|
54
|
+
return n;
|
|
55
|
+
}
|
|
56
|
+
round(e) {
|
|
57
|
+
let t = 10 ** this.decimals;
|
|
58
|
+
return Math.round(e * t) / t;
|
|
59
|
+
}
|
|
60
|
+
static decimalsOf(e) {
|
|
61
|
+
let [, t = ""] = String(e).split(".");
|
|
62
|
+
return t.length;
|
|
63
|
+
}
|
|
64
|
+
}, r = 2;
|
|
65
|
+
export { n as t };
|
|
66
|
+
|
|
67
|
+
//# sourceMappingURL=SliderScale-DunjyaDW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SliderScale-DunjyaDW.js","names":["E.clamp","UIT.Key","Key","SliderScale","min","max","step","tickStep","value","clamped","clamp","snapped","span","ratio","unit","steps","options","key","low","high","vertical","reversed","arrowUp","arrowDown","arrowLeft","arrowRight","pageUp","PAGE_MULTIPLIER","pageDown","index","length","spacing","intervals","gap","distance","factor","decimals"],"sources":["../src/components/ui-slider/SliderScale.ts"],"sourcesContent":["import { E, UIT } from \"spell/ui/core\"\n\n/****************\n * ### `SliderScale`\n * The number line of a slider: `min` ... `max` in `step`s -- snapping, ratios along the track, which steps get\n * a label, and where a key moves a value.\n * - Pure arithmetic (no DOM; of the core, only `E.clamp()` and `UIT.Key`), so it's tested on its own.\n * - `<ui-slider>`'s and `<ui-dial>`'s: a dial is the same number line, bent round.\n * - Snapping keeps to the step grid from `min`, like a native `<input type=range>`: a `max` off the grid is never\n * reached (the last step below it is). `step` `0` allows any value.\n * - Floating point: results are rounded to the step's own decimals, so `0.1` steps give `0.3`, not\n * `0.30000000000000004`.\n * - Exported from the family barrel: an app can snap values the same way.\n ****************/\nexport class SliderScale {\n /** Lowest value. */\n readonly min: number\n\n /** Highest value (never below `min`). */\n readonly max: number\n\n /** Step; `0` ~== any value. */\n readonly step: number\n\n /** Distance between labels (and ticks): `tickStep`, else `step`; `0` ~== one per unit. */\n readonly tickStep: number\n\n /** Decimal places of `step` / `tickStep`, for rounding. */\n private readonly decimals: number\n\n constructor({ min, max, step, tickStep }: SliderScaleProps) {\n this.min = Number.isFinite(min) ? min : 0\n this.max = Number.isFinite(max) ? Math.max(this.min, max) : this.min\n this.step = Number.isFinite(step) && step > 0 ? step : 0\n this.tickStep = tickStep !== undefined && Number.isFinite(tickStep) && tickStep > 0 ? tickStep : this.step\n this.decimals = Math.max(\n SliderScale.decimalsOf(this.step),\n SliderScale.decimalsOf(this.tickStep),\n SliderScale.decimalsOf(this.min)\n )\n }\n\n /** `value` on the grid, within `min` ... `max`. */\n snap(value: number): number {\n const { min, max, step } = this\n if (!Number.isFinite(value)) return min\n const clamped = E.clamp(value, min, max)\n if (!step) return clamped\n let snapped = min + Math.round((clamped - min) / step) * step\n if (snapped > max) snapped -= step\n return this.round(snapped)\n }\n\n /** Where `value` lies along the track, `0` ... `1`. */\n ratio(value: number): number {\n const span = this.max - this.min\n return span ? E.clamp((value - this.min) / span, 0, 1) : 0\n }\n\n /** The snapped value at `ratio` (`0` ... `1`) along the track. */\n valueAt(ratio: number): number {\n return this.snap(this.min + E.clamp(ratio, 0, 1) * (this.max - this.min))\n }\n\n /** `value` moved by `steps` steps (a percent of the span when `step` is `0`), snapped. */\n move(value: number, steps: number): number {\n const unit = this.step || (this.max - this.min) / 100\n return this.snap(value + steps * unit)\n }\n\n /**\n * The value key `key` moves `value` to, or `undefined` for a key that moves nothing:\n * - arrows step the way they point (Fomantic's `keyMovement`), so on a `reversed` or `vertical` track they follow\n * the thumb, not \"right / up increases\"; the other arrow pair steps too, up / right increasing\n * - PageUp / PageDown take `PAGE_MULTIPLIER` steps (Fomantic's `pageMultiplier`)\n * - Home / End go to `low` / `high` (default `min` / `max`: a range's thumb passes its own bounds)\n * - The result is snapped, but not bounded by `low` / `high` for the step keys: the caller clamps.\n */\n valueForKey(key: string, value: number, options: KeyMoveOptions = {}): number | undefined {\n const { low = this.min, high = this.max } = options\n if (key === UIT.Key.home) return low\n if (key === UIT.Key.end) return high\n const steps = SliderScale.stepsForKey(key, options)\n return steps ? this.move(value, steps) : undefined\n }\n\n /** Steps key `key` takes on a track laid out as `options` say; `0` for keys that don't step. */\n private static stepsForKey(key: string, { vertical = false, reversed = false }: KeyMoveOptions): number {\n // the value grows downward on a vertical slider (min at the top) and leftward on a reversed horizontal one\n const { arrowUp, arrowDown, arrowLeft, arrowRight, pageUp, pageDown } = UIT.Key\n const grows = vertical ? (reversed ? arrowUp : arrowDown) : reversed ? arrowLeft : arrowRight\n const shrinks = vertical ? (reversed ? arrowDown : arrowUp) : reversed ? arrowRight : arrowLeft\n if (key === grows || (!vertical && key === arrowUp) || (vertical && key === arrowRight)) return 1\n if (key === shrinks || (!vertical && key === arrowDown) || (vertical && key === arrowLeft)) return -1\n if (key === pageUp) return PAGE_MULTIPLIER\n if (key === pageDown) return -PAGE_MULTIPLIER\n return 0\n }\n\n /** Number of intervals between labels: one per `tickStep` (per unit, with no step). */\n get intervals(): number {\n return Math.max(1, Math.round((this.max - this.min) / (this.tickStep || 1)))\n }\n\n /** Value of label `index`. */\n labelValue(index: number): number {\n return this.round(Math.min(this.max, this.min + index * (this.tickStep || 1)))\n }\n\n /**\n * Show every `gap()`-th label in full, so neighbours are at least `distance` px apart on a `length` px track\n * (Fomantic's `autoAdjustLabels` / `labelDistance`); the rest become half ticks.\n * - A gap divides the intervals evenly when it can; unmeasured (`length` `0`), every label shows.\n */\n gap(length: number, distance: number): number {\n const { intervals } = this\n if (length <= 0) return 1\n const spacing = length / intervals\n for (let gap = 1; gap <= intervals; gap++) {\n if (spacing * gap >= distance && intervals % gap === 0) return gap\n }\n return intervals\n }\n\n /** `value` rounded to the scale's decimals. */\n private round(value: number): number {\n const factor = 10 ** this.decimals\n return Math.round(value * factor) / factor\n }\n\n /** Decimal places written in `value`. Static: pure, and read in the constructor. */\n private static decimalsOf(value: number): number {\n const [, decimals = \"\"] = String(value).split(\".\")\n return decimals.length\n }\n}\n\n/** Fomantic's `pageMultiplier`: steps per PageUp / PageDown. */\nconst PAGE_MULTIPLIER = 2\n\n/** Constructor props for `SliderScale`. */\nexport type SliderScaleProps = {\n /** lowest value; not finite ~== `0` */\n min: number\n /** highest value; not finite, or below `min`, ~== `min` */\n max: number\n /** step; not finite, or `<= 0`, ~== any value */\n step: number\n /** labels / ticks every this much; absent or `<= 0` ~== every step */\n tickStep?: number\n}\n\n/** How `SliderScale.valueForKey()` reads a key. */\nexport type KeyMoveOptions = {\n /** lowest value Home goes to; default `min` */\n low?: number\n /** highest value End goes to; default `max` */\n high?: number\n /** the track runs upright, min at the top */\n vertical?: boolean\n /** the track runs from the right (or, `vertical`, from the bottom) */\n reversed?: boolean\n}\n"],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as e, n as t } from "./rolldown-runtime-c6e9CmGy.js";
|
|
2
2
|
import { F as n } from "./styles.en-DZlSJiOR.js";
|
|
3
3
|
import { Dt as r, Et as i, Warnings as a, kt as o } from "./core.js";
|
|
4
|
-
import { p as s, u as c } from "./ui-theme-menu-
|
|
4
|
+
import { p as s, u as c } from "./ui-theme-menu-BEBu6dyq.js";
|
|
5
5
|
// src/styles/ThemeFile.ts
|
|
6
6
|
var l = class ThemeFile {
|
|
7
7
|
name;
|
|
@@ -800,4 +800,4 @@ var F = {
|
|
|
800
800
|
}, G = /\{([\w.-]+)\}/g, K = /rgba?\(\s*(\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)\s*(?:[/,]\s*([\d.]+%?)\s*)?\)/g;
|
|
801
801
|
export { l as i, M as n, v as r, N as t };
|
|
802
802
|
|
|
803
|
-
//# sourceMappingURL=ThemeDraft-
|
|
803
|
+
//# sourceMappingURL=ThemeDraft-spaNC2dD.js.map
|