@yaks/ui 0.0.0-stage → 0.2.36
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/Address.css +9 -0
- package/Address.js +32 -0
- package/Address.js.map +1 -0
- package/Address.ts +35 -0
- package/Annotated.css +17 -0
- package/Annotated.js +27 -0
- package/Annotated.js.map +1 -0
- package/Annotated.ts +32 -0
- package/AppShell.css +133 -0
- package/AppShell.js +90 -0
- package/AppShell.js.map +1 -0
- package/AppShell.ts +75 -0
- package/At.css +16 -0
- package/At.js +28 -0
- package/At.js.map +1 -0
- package/At.ts +37 -0
- package/Attachments.css +110 -0
- package/Attachments.js +119 -0
- package/Attachments.js.map +1 -0
- package/Attachments.ts +158 -0
- package/Badge.css +41 -0
- package/Badge.js +49 -0
- package/Badge.js.map +1 -0
- package/Badge.ts +38 -0
- package/Body.css +61 -0
- package/Body.js +103 -0
- package/Body.js.map +1 -0
- package/Body.ts +144 -0
- package/Button.css +121 -0
- package/Button.js +161 -0
- package/Button.js.map +1 -0
- package/Button.ts +92 -0
- package/Card.css +173 -0
- package/Card.js +165 -0
- package/Card.js.map +1 -0
- package/Card.ts +185 -0
- package/Cards.css +16 -0
- package/Cards.js +36 -0
- package/Cards.js.map +1 -0
- package/Cards.ts +64 -0
- package/Catalog.css +53 -0
- package/Catalog.js +55 -0
- package/Catalog.js.map +1 -0
- package/Catalog.ts +77 -0
- package/Chart.css +55 -0
- package/Chart.js +54 -0
- package/Chart.js.map +1 -0
- package/Chart.ts +62 -0
- package/Check.css +27 -0
- package/Check.js +77 -0
- package/Check.js.map +1 -0
- package/Check.ts +109 -0
- package/Chip.css +64 -0
- package/Chip.js +100 -0
- package/Chip.js.map +1 -0
- package/Chip.ts +66 -0
- package/Chips.css +10 -0
- package/Chips.js +41 -0
- package/Chips.js.map +1 -0
- package/Chips.ts +49 -0
- package/Choices.css +59 -0
- package/Choices.js +56 -0
- package/Choices.js.map +1 -0
- package/Choices.ts +73 -0
- package/Combobox.js +115 -0
- package/Combobox.js.map +1 -0
- package/Combobox.ts +230 -0
- package/Composer.css +247 -0
- package/Composer.js +222 -0
- package/Composer.js.map +1 -0
- package/Composer.ts +249 -0
- package/Contents.css +87 -0
- package/Contents.js +85 -0
- package/Contents.js.map +1 -0
- package/Contents.ts +117 -0
- package/Copy.css +28 -0
- package/Copy.js +62 -0
- package/Copy.js.map +1 -0
- package/Copy.ts +76 -0
- package/Doc.css +29 -0
- package/Doc.js +46 -0
- package/Doc.js.map +1 -0
- package/Doc.ts +64 -0
- package/Dock.css +157 -0
- package/Dock.js +229 -0
- package/Dock.js.map +1 -0
- package/Dock.ts +234 -0
- package/Dot.css +132 -0
- package/Dot.js +91 -0
- package/Dot.js.map +1 -0
- package/Dot.ts +72 -0
- package/Drop.css +133 -0
- package/Drop.js +148 -0
- package/Drop.js.map +1 -0
- package/Drop.ts +162 -0
- package/Edit.css +32 -0
- package/Edit.js +77 -0
- package/Edit.js.map +1 -0
- package/Edit.ts +72 -0
- package/Empty.css +32 -0
- package/Empty.js +45 -0
- package/Empty.js.map +1 -0
- package/Empty.ts +61 -0
- package/ErrorNotice.css +107 -0
- package/ErrorNotice.js +127 -0
- package/ErrorNotice.js.map +1 -0
- package/ErrorNotice.ts +133 -0
- package/Field.css +42 -0
- package/Field.js +186 -0
- package/Field.js.map +1 -0
- package/Field.ts +251 -0
- package/Form.css +95 -0
- package/Form.js +158 -0
- package/Form.js.map +1 -0
- package/Form.ts +212 -0
- package/Gallery.css +42 -0
- package/Gallery.js +57 -0
- package/Gallery.js.map +1 -0
- package/Gallery.ts +89 -0
- package/Group.css +8 -0
- package/Group.js +25 -0
- package/Group.js.map +1 -0
- package/Group.ts +40 -0
- package/Head.css +108 -0
- package/Head.js +124 -0
- package/Head.js.map +1 -0
- package/Head.ts +161 -0
- package/Icon.css +14 -0
- package/Icon.js +79 -0
- package/Icon.js.map +1 -0
- package/Icon.ts +78 -0
- package/IconButton.css +32 -0
- package/IconButton.js +74 -0
- package/IconButton.js.map +1 -0
- package/IconButton.ts +55 -0
- package/Id.css +29 -0
- package/Id.js +42 -0
- package/Id.js.map +1 -0
- package/Id.ts +31 -0
- package/Identity.css +122 -0
- package/Identity.js +88 -0
- package/Identity.js.map +1 -0
- package/Identity.ts +100 -0
- package/Index.css +68 -0
- package/Index.js +66 -0
- package/Index.js.map +1 -0
- package/Index.ts +63 -0
- package/LICENSE +202 -0
- package/Layer.css +82 -0
- package/Layer.js +86 -0
- package/Layer.js.map +1 -0
- package/Layer.ts +85 -0
- package/Lightbox.css +86 -0
- package/Lightbox.js +69 -0
- package/Lightbox.js.map +1 -0
- package/Lightbox.ts +79 -0
- package/Loading.css +22 -0
- package/Loading.js +75 -0
- package/Loading.js.map +1 -0
- package/Loading.ts +87 -0
- package/Logo.css +32 -0
- package/Logo.js +69 -0
- package/Logo.js.map +1 -0
- package/Logo.ts +81 -0
- package/Match.css +7 -0
- package/Match.js +51 -0
- package/Match.js.map +1 -0
- package/Match.ts +53 -0
- package/Menu.css +202 -0
- package/Menu.js +197 -0
- package/Menu.js.map +1 -0
- package/Menu.ts +233 -0
- package/Meter.css +49 -0
- package/Meter.js +149 -0
- package/Meter.js.map +1 -0
- package/Meter.ts +126 -0
- package/Metrics.css +43 -0
- package/Metrics.js +72 -0
- package/Metrics.js.map +1 -0
- package/Metrics.ts +66 -0
- package/Modal.css +94 -0
- package/Modal.js +114 -0
- package/Modal.js.map +1 -0
- package/Modal.ts +149 -0
- package/ModalDOM.css +23 -0
- package/More.css +135 -0
- package/More.js +135 -0
- package/More.js.map +1 -0
- package/More.ts +157 -0
- package/Notes.css +51 -0
- package/Notes.js +64 -0
- package/Notes.js.map +1 -0
- package/Notes.ts +95 -0
- package/Notice.css +30 -0
- package/Notice.js +50 -0
- package/Notice.js.map +1 -0
- package/Notice.ts +40 -0
- package/Overlay.css +8 -0
- package/Overlay.js +25 -0
- package/Overlay.js.map +1 -0
- package/Overlay.ts +33 -0
- package/Pager.css +33 -0
- package/Pager.js +44 -0
- package/Pager.js.map +1 -0
- package/Pager.ts +56 -0
- package/Pairs.css +50 -0
- package/Pairs.js +45 -0
- package/Pairs.js.map +1 -0
- package/Pairs.ts +88 -0
- package/Palette.css +77 -0
- package/Palette.js +41 -0
- package/Palette.js.map +1 -0
- package/Palette.ts +44 -0
- package/Panes.css +68 -0
- package/Panes.js +100 -0
- package/Panes.js.map +1 -0
- package/Panes.ts +97 -0
- package/Passage.css +58 -0
- package/Passage.js +80 -0
- package/Passage.js.map +1 -0
- package/Passage.ts +112 -0
- package/Peek.css +75 -0
- package/Peek.js +51 -0
- package/Peek.js.map +1 -0
- package/Peek.ts +74 -0
- package/Pills.css +127 -0
- package/Pills.js +119 -0
- package/Pills.js.map +1 -0
- package/Pills.ts +131 -0
- package/Plan.css +73 -0
- package/Plan.js +62 -0
- package/Plan.js.map +1 -0
- package/Plan.ts +80 -0
- package/Popover.css +47 -0
- package/Popover.js +62 -0
- package/Popover.js.map +1 -0
- package/Popover.ts +80 -0
- package/Preview.css +89 -0
- package/Preview.js +84 -0
- package/Preview.js.map +1 -0
- package/Preview.ts +98 -0
- package/Prop.css +117 -0
- package/Prop.js +94 -0
- package/Prop.js.map +1 -0
- package/Prop.ts +91 -0
- package/Quote.css +55 -0
- package/Quote.js +79 -0
- package/Quote.js.map +1 -0
- package/Quote.ts +85 -0
- package/README.md +596 -2
- package/Report.css +76 -0
- package/Report.js +105 -0
- package/Report.js.map +1 -0
- package/Report.ts +118 -0
- package/Rows.css +289 -0
- package/Rows.js +265 -0
- package/Rows.js.map +1 -0
- package/Rows.ts +337 -0
- package/Save.css +112 -0
- package/Save.js +100 -0
- package/Save.js.map +1 -0
- package/Save.ts +102 -0
- package/Section.css +52 -0
- package/Section.js +73 -0
- package/Section.js.map +1 -0
- package/Section.ts +86 -0
- package/Select.css +140 -0
- package/Select.js +208 -0
- package/Select.js.map +1 -0
- package/Select.ts +238 -0
- package/Shell.css +292 -0
- package/Shell.js +197 -0
- package/Shell.js.map +1 -0
- package/Shell.ts +193 -0
- package/SideNav.css +105 -0
- package/SideNav.js +197 -0
- package/SideNav.js.map +1 -0
- package/SideNav.ts +189 -0
- package/Skip.css +11 -0
- package/Skip.js +18 -0
- package/Skip.js.map +1 -0
- package/Skip.ts +16 -0
- package/Spark.css +14 -0
- package/Spark.js +84 -0
- package/Spark.js.map +1 -0
- package/Spark.ts +67 -0
- package/Stack.css +13 -0
- package/Stack.js +20 -0
- package/Stack.js.map +1 -0
- package/Stack.ts +31 -0
- package/Stamp.css +11 -0
- package/Stamp.js +40 -0
- package/Stamp.js.map +1 -0
- package/Stamp.ts +62 -0
- package/State.css +10 -0
- package/State.js +38 -0
- package/State.js.map +1 -0
- package/State.ts +38 -0
- package/Surface.css +139 -0
- package/Surface.js +79 -0
- package/Surface.js.map +1 -0
- package/Surface.ts +55 -0
- package/Table.css +147 -0
- package/Table.js +289 -0
- package/Table.js.map +1 -0
- package/Table.ts +343 -0
- package/Tabs.css +100 -0
- package/Tabs.js +108 -0
- package/Tabs.js.map +1 -0
- package/Tabs.ts +111 -0
- package/Tile.css +164 -0
- package/Tile.js +211 -0
- package/Tile.js.map +1 -0
- package/Tile.ts +174 -0
- package/Time.css +5 -0
- package/Time.js +80 -0
- package/Time.js.map +1 -0
- package/Time.ts +105 -0
- package/Timeline.css +35 -0
- package/Timeline.js +55 -0
- package/Timeline.js.map +1 -0
- package/Timeline.ts +84 -0
- package/Tip.css +18 -0
- package/Tip.js +24 -0
- package/Tip.js.map +1 -0
- package/Tip.ts +29 -0
- package/Toast.css +25 -0
- package/Toast.js +32 -0
- package/Toast.js.map +1 -0
- package/Toast.ts +34 -0
- package/Toolbar.css +66 -0
- package/Toolbar.js +58 -0
- package/Toolbar.js.map +1 -0
- package/Toolbar.ts +68 -0
- package/Transcript.css +221 -0
- package/Transcript.js +254 -0
- package/Transcript.js.map +1 -0
- package/Transcript.ts +296 -0
- package/Turns.css +49 -0
- package/Turns.js +58 -0
- package/Turns.js.map +1 -0
- package/Turns.ts +67 -0
- package/Value.css +33 -0
- package/Value.js +60 -0
- package/Value.js.map +1 -0
- package/Value.ts +48 -0
- package/_dist/Address.d.ts +3 -0
- package/_dist/Address.d.ts.map +1 -0
- package/_dist/Annotated.d.ts +3 -0
- package/_dist/Annotated.d.ts.map +1 -0
- package/_dist/AppShell.d.ts +3 -0
- package/_dist/AppShell.d.ts.map +1 -0
- package/_dist/At.d.ts +14 -0
- package/_dist/At.d.ts.map +1 -0
- package/_dist/Attachments.d.ts +6 -0
- package/_dist/Attachments.d.ts.map +1 -0
- package/_dist/Badge.d.ts +19 -0
- package/_dist/Badge.d.ts.map +1 -0
- package/_dist/Body.d.ts +5 -0
- package/_dist/Body.d.ts.map +1 -0
- package/_dist/Button.d.ts +18 -0
- package/_dist/Button.d.ts.map +1 -0
- package/_dist/Card.d.ts +28 -0
- package/_dist/Card.d.ts.map +1 -0
- package/_dist/Cards.d.ts +15 -0
- package/_dist/Cards.d.ts.map +1 -0
- package/_dist/Catalog.d.ts +3 -0
- package/_dist/Catalog.d.ts.map +1 -0
- package/_dist/Chart.d.ts +5 -0
- package/_dist/Chart.d.ts.map +1 -0
- package/_dist/Check.d.ts +17 -0
- package/_dist/Check.d.ts.map +1 -0
- package/_dist/Chip.d.ts +22 -0
- package/_dist/Chip.d.ts.map +1 -0
- package/_dist/Chips.d.ts +15 -0
- package/_dist/Chips.d.ts.map +1 -0
- package/_dist/Choices.d.ts +3 -0
- package/_dist/Choices.d.ts.map +1 -0
- package/_dist/Combobox.d.ts +55 -0
- package/_dist/Combobox.d.ts.map +1 -0
- package/_dist/Composer.d.ts +15 -0
- package/_dist/Composer.d.ts.map +1 -0
- package/_dist/Contents.d.ts +20 -0
- package/_dist/Contents.d.ts.map +1 -0
- package/_dist/Copy.d.ts +24 -0
- package/_dist/Copy.d.ts.map +1 -0
- package/_dist/Doc.d.ts +3 -0
- package/_dist/Doc.d.ts.map +1 -0
- package/_dist/Dock.d.ts +29 -0
- package/_dist/Dock.d.ts.map +1 -0
- package/_dist/Dot.d.ts +16 -0
- package/_dist/Dot.d.ts.map +1 -0
- package/_dist/Drop.d.ts +27 -0
- package/_dist/Drop.d.ts.map +1 -0
- package/_dist/Edit.d.ts +3 -0
- package/_dist/Edit.d.ts.map +1 -0
- package/_dist/Empty.d.ts +16 -0
- package/_dist/Empty.d.ts.map +1 -0
- package/_dist/ErrorNotice.d.ts +16 -0
- package/_dist/ErrorNotice.d.ts.map +1 -0
- package/_dist/Field.d.ts +53 -0
- package/_dist/Field.d.ts.map +1 -0
- package/_dist/Form.d.ts +44 -0
- package/_dist/Form.d.ts.map +1 -0
- package/_dist/Gallery.d.ts +3 -0
- package/_dist/Gallery.d.ts.map +1 -0
- package/_dist/Group.d.ts +14 -0
- package/_dist/Group.d.ts.map +1 -0
- package/_dist/Head.d.ts +13 -0
- package/_dist/Head.d.ts.map +1 -0
- package/_dist/Icon.d.ts +23 -0
- package/_dist/Icon.d.ts.map +1 -0
- package/_dist/IconButton.d.ts +8 -0
- package/_dist/IconButton.d.ts.map +1 -0
- package/_dist/Id.d.ts +3 -0
- package/_dist/Id.d.ts.map +1 -0
- package/_dist/Identity.d.ts +15 -0
- package/_dist/Identity.d.ts.map +1 -0
- package/_dist/Index.d.ts +3 -0
- package/_dist/Index.d.ts.map +1 -0
- package/_dist/Layer.d.ts +8 -0
- package/_dist/Layer.d.ts.map +1 -0
- package/_dist/Lightbox.d.ts +27 -0
- package/_dist/Lightbox.d.ts.map +1 -0
- package/_dist/Loading.d.ts +24 -0
- package/_dist/Loading.d.ts.map +1 -0
- package/_dist/Logo.d.ts +26 -0
- package/_dist/Logo.d.ts.map +1 -0
- package/_dist/Match.d.ts +5 -0
- package/_dist/Match.d.ts.map +1 -0
- package/_dist/Menu.d.ts +23 -0
- package/_dist/Menu.d.ts.map +1 -0
- package/_dist/Meter.d.ts +10 -0
- package/_dist/Meter.d.ts.map +1 -0
- package/_dist/Metrics.d.ts +3 -0
- package/_dist/Metrics.d.ts.map +1 -0
- package/_dist/Modal.d.ts +32 -0
- package/_dist/Modal.d.ts.map +1 -0
- package/_dist/More.d.ts +29 -0
- package/_dist/More.d.ts.map +1 -0
- package/_dist/Notes.d.ts +3 -0
- package/_dist/Notes.d.ts.map +1 -0
- package/_dist/Notice.d.ts +15 -0
- package/_dist/Notice.d.ts.map +1 -0
- package/_dist/Overlay.d.ts +3 -0
- package/_dist/Overlay.d.ts.map +1 -0
- package/_dist/Pager.d.ts +3 -0
- package/_dist/Pager.d.ts.map +1 -0
- package/_dist/Pairs.d.ts +3 -0
- package/_dist/Pairs.d.ts.map +1 -0
- package/_dist/Palette.d.ts +3 -0
- package/_dist/Palette.d.ts.map +1 -0
- package/_dist/Panes.d.ts +3 -0
- package/_dist/Panes.d.ts.map +1 -0
- package/_dist/Passage.d.ts +3 -0
- package/_dist/Passage.d.ts.map +1 -0
- package/_dist/Peek.d.ts +3 -0
- package/_dist/Peek.d.ts.map +1 -0
- package/_dist/Pills.d.ts +3 -0
- package/_dist/Pills.d.ts.map +1 -0
- package/_dist/Plan.d.ts +4 -0
- package/_dist/Plan.d.ts.map +1 -0
- package/_dist/Popover.d.ts +3 -0
- package/_dist/Popover.d.ts.map +1 -0
- package/_dist/Preview.d.ts +8 -0
- package/_dist/Preview.d.ts.map +1 -0
- package/_dist/Prop.d.ts +7 -0
- package/_dist/Prop.d.ts.map +1 -0
- package/_dist/Quote.d.ts +3 -0
- package/_dist/Quote.d.ts.map +1 -0
- package/_dist/Report.d.ts +8 -0
- package/_dist/Report.d.ts.map +1 -0
- package/_dist/Rows.d.ts +36 -0
- package/_dist/Rows.d.ts.map +1 -0
- package/_dist/Save.d.ts +4 -0
- package/_dist/Save.d.ts.map +1 -0
- package/_dist/Section.d.ts +3 -0
- package/_dist/Section.d.ts.map +1 -0
- package/_dist/Select.d.ts +29 -0
- package/_dist/Select.d.ts.map +1 -0
- package/_dist/Shell.d.ts +3 -0
- package/_dist/Shell.d.ts.map +1 -0
- package/_dist/SideNav.d.ts +31 -0
- package/_dist/SideNav.d.ts.map +1 -0
- package/_dist/Skip.d.ts +3 -0
- package/_dist/Skip.d.ts.map +1 -0
- package/_dist/Spark.d.ts +9 -0
- package/_dist/Spark.d.ts.map +1 -0
- package/_dist/Stack.d.ts +11 -0
- package/_dist/Stack.d.ts.map +1 -0
- package/_dist/Stamp.d.ts +3 -0
- package/_dist/Stamp.d.ts.map +1 -0
- package/_dist/State.d.ts +16 -0
- package/_dist/State.d.ts.map +1 -0
- package/_dist/Surface.d.ts +7 -0
- package/_dist/Surface.d.ts.map +1 -0
- package/_dist/Table.d.ts +10 -0
- package/_dist/Table.d.ts.map +1 -0
- package/_dist/Tabs.d.ts +30 -0
- package/_dist/Tabs.d.ts.map +1 -0
- package/_dist/Tile.d.ts +3 -0
- package/_dist/Tile.d.ts.map +1 -0
- package/_dist/Time.d.ts +24 -0
- package/_dist/Time.d.ts.map +1 -0
- package/_dist/Timeline.d.ts +3 -0
- package/_dist/Timeline.d.ts.map +1 -0
- package/_dist/Tip.d.ts +3 -0
- package/_dist/Tip.d.ts.map +1 -0
- package/_dist/Toast.d.ts +5 -0
- package/_dist/Toast.d.ts.map +1 -0
- package/_dist/Toolbar.d.ts +3 -0
- package/_dist/Toolbar.d.ts.map +1 -0
- package/_dist/Transcript.d.ts +35 -0
- package/_dist/Transcript.d.ts.map +1 -0
- package/_dist/Turns.d.ts +3 -0
- package/_dist/Turns.d.ts.map +1 -0
- package/_dist/Value.d.ts +3 -0
- package/_dist/Value.d.ts.map +1 -0
- package/_dist/ahead.d.ts +41 -0
- package/_dist/ahead.d.ts.map +1 -0
- package/_dist/chart-marks.d.ts +75 -0
- package/_dist/chart-marks.d.ts.map +1 -0
- package/_dist/clock.d.ts +4 -0
- package/_dist/clock.d.ts.map +1 -0
- package/_dist/contents-browser.d.ts +29 -0
- package/_dist/contents-browser.d.ts.map +1 -0
- package/_dist/contributions.d.ts +5 -0
- package/_dist/contributions.d.ts.map +1 -0
- package/_dist/copy-browser.d.ts +4 -0
- package/_dist/copy-browser.d.ts.map +1 -0
- package/_dist/el.d.ts +58 -0
- package/_dist/el.d.ts.map +1 -0
- package/_dist/everforest.d.ts +8 -0
- package/_dist/everforest.d.ts.map +1 -0
- package/_dist/float.d.ts +55 -0
- package/_dist/float.d.ts.map +1 -0
- package/_dist/gouache.d.ts +9 -0
- package/_dist/gouache.d.ts.map +1 -0
- package/_dist/guide.d.ts +38 -0
- package/_dist/guide.d.ts.map +1 -0
- package/_dist/halved.d.ts +3 -0
- package/_dist/halved.d.ts.map +1 -0
- package/_dist/history.d.ts +15 -0
- package/_dist/history.d.ts.map +1 -0
- package/_dist/interaction.d.ts +15 -0
- package/_dist/interaction.d.ts.map +1 -0
- package/_dist/kit.d.ts +30 -0
- package/_dist/kit.d.ts.map +1 -0
- package/_dist/ledger.d.ts +3 -0
- package/_dist/ledger.d.ts.map +1 -0
- package/_dist/linen.d.ts +8 -0
- package/_dist/linen.d.ts.map +1 -0
- package/_dist/menus-browser.d.ts +2 -0
- package/_dist/menus-browser.d.ts.map +1 -0
- package/_dist/menus.d.ts +6 -0
- package/_dist/menus.d.ts.map +1 -0
- package/_dist/mod.d.ts +47 -0
- package/_dist/mod.d.ts.map +1 -0
- package/_dist/modal-browser.d.ts +2 -0
- package/_dist/modal-browser.d.ts.map +1 -0
- package/_dist/modal-head.d.ts +43 -0
- package/_dist/modal-head.d.ts.map +1 -0
- package/_dist/navigate.d.ts +170 -0
- package/_dist/navigate.d.ts.map +1 -0
- package/_dist/overlays.d.ts +16 -0
- package/_dist/overlays.d.ts.map +1 -0
- package/_dist/palette-browser.d.ts +3 -0
- package/_dist/palette-browser.d.ts.map +1 -0
- package/_dist/panes-browser.d.ts +4 -0
- package/_dist/panes-browser.d.ts.map +1 -0
- package/_dist/paper.d.ts +6 -0
- package/_dist/paper.d.ts.map +1 -0
- package/_dist/parts.d.ts +102 -0
- package/_dist/parts.d.ts.map +1 -0
- package/_dist/pencil.d.ts +6 -0
- package/_dist/pencil.d.ts.map +1 -0
- package/_dist/placement.d.ts +12 -0
- package/_dist/placement.d.ts.map +1 -0
- package/_dist/relative.d.ts +41 -0
- package/_dist/relative.d.ts.map +1 -0
- package/_dist/rosepine.d.ts +8 -0
- package/_dist/rosepine.d.ts.map +1 -0
- package/_dist/routes.d.ts +20 -0
- package/_dist/routes.d.ts.map +1 -0
- package/_dist/sheet.d.ts +44 -0
- package/_dist/sheet.d.ts.map +1 -0
- package/_dist/slide.d.ts +4 -0
- package/_dist/slide.d.ts.map +1 -0
- package/_dist/stock.d.ts +21 -0
- package/_dist/stock.d.ts.map +1 -0
- package/_dist/store.d.ts +2 -0
- package/_dist/store.d.ts.map +1 -0
- package/_dist/theme.d.ts +102 -0
- package/_dist/theme.d.ts.map +1 -0
- package/_dist/ui.d.ts +2 -0
- package/_dist/ui.d.ts.map +1 -0
- package/_dist/video-cover.d.ts +3 -0
- package/_dist/video-cover.d.ts.map +1 -0
- package/_dist/viewport.d.ts +14 -0
- package/_dist/viewport.d.ts.map +1 -0
- package/_dist/wear.d.ts +5 -0
- package/_dist/wear.d.ts.map +1 -0
- package/ahead.js +81 -0
- package/ahead.js.map +1 -0
- package/ahead.ts +102 -0
- package/base.css +220 -0
- package/base.js +129 -0
- package/base.js.map +1 -0
- package/base.ts +127 -0
- package/chart-marks.js +156 -0
- package/chart-marks.js.map +1 -0
- package/chart-marks.ts +221 -0
- package/clock.js +41 -0
- package/clock.js.map +1 -0
- package/clock.ts +39 -0
- package/contents-browser.js +122 -0
- package/contents-browser.js.map +1 -0
- package/contents-browser.ts +135 -0
- package/contributions.js +28 -0
- package/contributions.js.map +1 -0
- package/contributions.ts +21 -0
- package/copy-browser.js +39 -0
- package/copy-browser.js.map +1 -0
- package/copy-browser.ts +44 -0
- package/deno.json +1 -0
- package/derived.css +64 -0
- package/el.js +176 -0
- package/el.js.map +1 -0
- package/el.ts +240 -0
- package/everforest.css +65 -0
- package/everforest.js +54 -0
- package/everforest.js.map +1 -0
- package/everforest.ts +52 -0
- package/float.js +182 -0
- package/float.js.map +1 -0
- package/float.ts +222 -0
- package/gouache.css +62 -0
- package/gouache.js +54 -0
- package/gouache.js.map +1 -0
- package/gouache.ts +52 -0
- package/guide.js +124 -0
- package/guide.js.map +1 -0
- package/guide.ts +222 -0
- package/halved.js +88 -0
- package/halved.js.map +1 -0
- package/halved.ts +102 -0
- package/history.js +11 -0
- package/history.js.map +1 -0
- package/history.ts +22 -0
- package/interaction.js +23 -0
- package/interaction.js.map +1 -0
- package/interaction.ts +43 -0
- package/kit.js +345 -0
- package/kit.js.map +1 -0
- package/kit.ts +408 -0
- package/ledger/Button.css +22 -0
- package/ledger/Head.css +72 -0
- package/ledger/Tabs.css +19 -0
- package/ledger/Tile.css +12 -0
- package/ledger.js +52 -0
- package/ledger.js.map +1 -0
- package/ledger.ts +34 -0
- package/linen.css +71 -0
- package/linen.js +54 -0
- package/linen.js.map +1 -0
- package/linen.ts +52 -0
- package/lucide.d.ts +4 -0
- package/menus-browser.js +72 -0
- package/menus-browser.js.map +1 -0
- package/menus-browser.ts +75 -0
- package/menus.js +84 -0
- package/menus.js.map +1 -0
- package/menus.ts +90 -0
- package/mod.js +46 -0
- package/mod.js.map +1 -0
- package/mod.ts +78 -0
- package/modal-browser.js +29 -0
- package/modal-browser.js.map +1 -0
- package/modal-browser.ts +31 -0
- package/modal-head.js +75 -0
- package/modal-head.js.map +1 -0
- package/modal-head.ts +81 -0
- package/navigate.js +934 -0
- package/navigate.js.map +1 -0
- package/navigate.ts +1177 -0
- package/overlays.js +177 -0
- package/overlays.js.map +1 -0
- package/overlays.ts +257 -0
- package/package.json +280 -4
- package/palette-browser.js +52 -0
- package/palette-browser.js.map +1 -0
- package/palette-browser.ts +54 -0
- package/panes-browser.js +40 -0
- package/panes-browser.js.map +1 -0
- package/panes-browser.ts +59 -0
- package/paper/base.css +28 -0
- package/paper/grain.css +18 -0
- package/paper.js +14 -0
- package/paper.js.map +1 -0
- package/paper.ts +16 -0
- package/parts.js +102 -0
- package/parts.js.map +1 -0
- package/parts.ts +117 -0
- package/pencil/Address.css +5 -0
- package/pencil/At.css +14 -0
- package/pencil/Body.css +10 -0
- package/pencil/Button.css +81 -0
- package/pencil/Card.css +175 -0
- package/pencil/Chart.css +31 -0
- package/pencil/Check.css +66 -0
- package/pencil/Chip.css +100 -0
- package/pencil/Chips.css +6 -0
- package/pencil/Copy.css +33 -0
- package/pencil/Drop.css +145 -0
- package/pencil/Empty.css +48 -0
- package/pencil/Field.css +42 -0
- package/pencil/Form.css +88 -0
- package/pencil/Loading.css +14 -0
- package/pencil/Menu.css +26 -0
- package/pencil/More.css +41 -0
- package/pencil/Report.css +11 -0
- package/pencil/Rows.css +48 -0
- package/pencil/SideNav.css +173 -0
- package/pencil/State.css +28 -0
- package/pencil/Surface.css +69 -0
- package/pencil/Tabs.css +137 -0
- package/pencil/base.css +19 -0
- package/pencil/paper.webp +0 -0
- package/pencil/pencil.svg +181 -0
- package/pencil.js +81 -0
- package/pencil.js.map +1 -0
- package/pencil.ts +34 -0
- package/placement.js +62 -0
- package/placement.js.map +1 -0
- package/placement.ts +93 -0
- package/relative.js +150 -0
- package/relative.js.map +1 -0
- package/relative.ts +186 -0
- package/resizes.js +23 -0
- package/resizes.js.map +1 -0
- package/resizes.ts +37 -0
- package/rosepine.css +59 -0
- package/rosepine.js +54 -0
- package/rosepine.js.map +1 -0
- package/rosepine.ts +52 -0
- package/routes.js +136 -0
- package/routes.js.map +1 -0
- package/routes.ts +190 -0
- package/sheet.js +7 -0
- package/sheet.js.map +1 -0
- package/sheet.ts +72 -0
- package/slide.js +37 -0
- package/slide.js.map +1 -0
- package/slide.ts +41 -0
- package/stock.js +38 -0
- package/stock.js.map +1 -0
- package/stock.ts +54 -0
- package/store.js +6 -0
- package/store.js.map +1 -0
- package/store.ts +14 -0
- package/theme.js +21 -0
- package/theme.js.map +1 -0
- package/theme.ts +159 -0
- package/ui.js +2 -0
- package/ui.js.map +1 -0
- package/ui.ts +2 -0
- package/video-cover.js +55 -0
- package/video-cover.js.map +1 -0
- package/video-cover.ts +72 -0
- package/viewport.js +56 -0
- package/viewport.js.map +1 -0
- package/viewport.ts +61 -0
- package/wear-build.ts +12 -0
- package/wear.js +40 -0
- package/wear.js.map +1 -0
- package/wear.ts +65 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Section.d.ts","sources":["../Section.ts"],"names":[],"mappings":"AAeA,SAAgB,KAAK,IAAI,kBAAiB;AAG1C,eAAe,GACf,OAAO,YAAI,SACP,OACA,OAAO,UAAU,UAAU,SAAS,OAAO,MAS5C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A select: one choice among several, shown in a box as tall as every
|
|
3
|
+
* control beside it (--control-height), its words at the start and its caret (a
|
|
4
|
+
* chevron up and down) at the end. It is pressed like a button, and opens a
|
|
5
|
+
* list of its choices, the kit's `Menu`.
|
|
6
|
+
*
|
|
7
|
+
* `<Select name value onChange>` holds a native `<select>` (`Select_Native`)
|
|
8
|
+
* given every prop but the box's own (`mod`, `className`, `style`), and its
|
|
9
|
+
* `option`s: a form sends it, a script reads its value and hears its
|
|
10
|
+
* `change`, a screen reader names it, and a phone opens its own sheet on a
|
|
11
|
+
* tap. Where the pointer is fine, @yaks/ux/select opens the kit's list in its
|
|
12
|
+
* place (`Select.List`, `Select.Option`).
|
|
13
|
+
*
|
|
14
|
+
* A Select whose choices go somewhere (the space switcher) is a `Menu.Fold`
|
|
15
|
+
* holding a `Select.Button` and a `Select.List` of `Select.Option` links.
|
|
16
|
+
* `Select-bare` is the box with no edge or fill, for a choice inside a part
|
|
17
|
+
* already drawn.
|
|
18
|
+
*
|
|
19
|
+
* @module
|
|
20
|
+
*/ import type { Sheet } from "./sheet.js";
|
|
21
|
+
import { type Part } from "./el.js";
|
|
22
|
+
import type { Colors, Specimen } from "./theme.js";
|
|
23
|
+
/** One choice among several. */ export declare let Select: Part & Record<'Button' | 'List' | 'Option' | 'Value' | 'Native', Part>;
|
|
24
|
+
/** What it is, in a line. */ export declare let description: string;
|
|
25
|
+
/** A terminal paints a native select's chosen option and its own ▾; the
|
|
26
|
+
* caret is a glyph it has no lines for. */ export declare let sheet: (c: Colors) => Sheet;
|
|
27
|
+
/** Closed and open, beside every other control at each size, as the space
|
|
28
|
+
* switcher, bare, and light and dark. */ export declare let specimens: () => Specimen[];
|
|
29
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sources":["../Select.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;CAmBC,GAED,cAAc,KAAK,qBAAoB;AAavC,SAAoB,KAAK,IAAI,kBAA6B;AAC1D,cAAc,MAAM,EAAE,QAAQ,qBAAoB;AAiBlD,8BAA8B,GAC9B,OAAO,YAAI,QACP,OACA,OAAO,WAAW,SAAS,WAAW,UAAU,UAAU,MAkCzD;AAEL,2BAA2B,GAC3B,OAAO,YAAI,oBACqE;AAEhF;yCACyC,GACzC,OAAO,YAAI,QAAS,GAAG,WAAS,MAI9B;AA6EF;uCACuC,GACvC,OAAO,YAAI,iBAAgB,WAyD1B"}
|
package/_dist/Shell.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type Part } from "./el.js";
|
|
2
|
+
/** The frame. */ export declare let Shell: Part & Record<'Side' | 'Brand' | 'Find' | 'Item' | 'Icon' | 'Glyph' | 'Label' | 'Count' | 'Shade' | 'Main' | 'Bar' | 'Menu' | 'Title' | 'Tools' | 'Body' | 'Content' | 'Grip' | 'Aside', Part>;
|
|
3
|
+
//# sourceMappingURL=Shell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Shell.d.ts","sources":["../Shell.ts"],"names":[],"mappings":"AAiCA,SAAgB,KAAK,IAAI,kBAAiB;AAK1C,eAAe,GACf,OAAO,YAAI,OACP,OACA,OACE,SACA,UACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,SACA,QACA,SACA,UACA,UACA,SACA,YACA,SACA,SACF,MAoBA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A column of links to one place's pages, beside the page they open: a
|
|
3
|
+
* `SideNav.Link` each, the page you are on wearing `Link-on` (and, the
|
|
4
|
+
* caller's, `aria-current="page"`), and a `SideNav.Rule` between groups of
|
|
5
|
+
* them. A link's words are its `SideNav.Label`, beside its `SideNav.Mark`: the
|
|
6
|
+
* slot its icon sits centered in, one width whatever the icon (a line glyph,
|
|
7
|
+
* an app's picture), so every link's words start at one place. `SideNav-rail`
|
|
8
|
+
* is the column collapsed to its icons: each label is still the link's
|
|
9
|
+
* accessible text, only not shown, and the caller gives each link its label
|
|
10
|
+
* as a `title` too, its tooltip. Where there is no room beside the page (a
|
|
11
|
+
* phone) the column is a row that wraps, its words shown, rail or not;
|
|
12
|
+
* `SideNav-column` stays a column at every width. The same links make a
|
|
13
|
+
* list of people or things pressed to open them (yaks.app's friends, a
|
|
14
|
+
* space's members): a person's `Identity.Avatar` `small` in the mark, and
|
|
15
|
+
* under the words a `SideNav.Note`, a quieter line cut to fit.
|
|
16
|
+
* `SideNav.Edge` holds a whole sidebar when its edge must run past the
|
|
17
|
+
* links; its navs share that edge. `SideNav-alone` leans against no panel,
|
|
18
|
+
* such as links in a card: no edge, and its current link a closed box.
|
|
19
|
+
*
|
|
20
|
+
* @module
|
|
21
|
+
*/ import type { Sheet } from "./sheet.js";
|
|
22
|
+
import { type Part } from "./el.js";
|
|
23
|
+
import type { Colors, Specimen } from "./theme.js";
|
|
24
|
+
/** A side navigation. */ export declare let SideNav: Part & Record<'Link' | 'Mark' | 'Label' | 'Note' | 'Rule' | 'Edge', Part>;
|
|
25
|
+
/** Mark the current link across the navigation groups in `side`. */ export declare let selectSideLink: (side: ParentNode, href: string) => void;
|
|
26
|
+
/** What it is, in a line. */ export declare let description: string;
|
|
27
|
+
/** A link is a line of its own; the one you are on stands out. */ export declare let sheet: (c: Colors) => Sheet;
|
|
28
|
+
/** Two groups, the page you are on in the first, one link under the
|
|
29
|
+
* pointer; links whose marks differ, an app's picture and line glyphs, their
|
|
30
|
+
* words in one column; and a rail, the column collapsed to its icons. */ export declare let specimens: () => Specimen[];
|
|
31
|
+
//# sourceMappingURL=SideNav.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SideNav.d.ts","sources":["../SideNav.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;CAoBC,GAED,cAAc,KAAK,qBAAoB;AAQvC,SAAgB,KAAK,IAAI,kBAAiB;AAG1C,cAAc,MAAM,EAAE,QAAQ,qBAAoB;AAElD,uBAAuB,GACvB,OAAO,YAAI,SACP,OACA,OAAO,SAAS,SAAS,UAAU,SAAS,SAAS,QAAQ,MAW9D;AAEH,kEAAkE,GAClE,OAAO,YAAI,iBAAkB,MAAM,YAAY,MAAM,MAAM,KAAG,IAAI,CASjE;AAED,2BAA2B,GAC3B,OAAO,YAAI,oBACsD;AAEjE,gEAAgE,GAChE,OAAO,YAAI,QAAS,GAAG,WAAS,MAM9B;AAiBF;;uEAEuE,GACvE,OAAO,YAAI,iBAAgB,WA8F1B"}
|
package/_dist/Skip.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skip.d.ts","sources":["../Skip.ts"],"names":[],"mappings":"AAGA,SAAgB,KAAK,IAAI,kBAAiB;AAG1C,mEAAmE,GACnE,OAAO,YAAI,MAAM,KAA6B"}
|
package/_dist/Spark.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type FunctionComponent } from "@types/react";
|
|
2
|
+
import { type Props } from "./el.js";
|
|
3
|
+
/** What a spark is drawn with: its values, the top they are read against,
|
|
4
|
+
* and anything a part takes. */ export type SparkProps = Props & {
|
|
5
|
+
values?: number[];
|
|
6
|
+
max?: number;
|
|
7
|
+
};
|
|
8
|
+
/** A series, a character a value. */ export declare let Spark: FunctionComponent<SparkProps>;
|
|
9
|
+
//# sourceMappingURL=Spark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spark.d.ts","sources":["../Spark.ts"],"names":[],"mappings":"AAW0C,SAA6B,KAAK,iBAAiB,uBAA0B;AAEvH,SAA2B,KAAK,KAAK,kBAAiB;AAQtD;8BAC8B,GAC9B,YAAY,aAAa;EAAU,SAAS,MAAM;EAAI,MAAM,MAAM;;AAElE,mCAAmC,GACnC,OAAO,YAAI,OAAO,kBAAkB,YAqBnC"}
|
package/_dist/Stack.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** A column of siblings spaced with the theme's gap.
|
|
2
|
+
*
|
|
3
|
+
* @module
|
|
4
|
+
*/ import type { Sheet } from "./sheet.js";
|
|
5
|
+
import { type Part } from "./el.js";
|
|
6
|
+
import type { Specimen } from "./theme.js";
|
|
7
|
+
/** A vertical layout for page sections. */ export declare let Stack: Part;
|
|
8
|
+
/** What it is, in a line. */ export declare let description: string;
|
|
9
|
+
/** A blank line between sections. */ export declare let sheet: () => Sheet;
|
|
10
|
+
/** Two cards sharing one parent gap. */ export declare let specimens: () => Specimen[];
|
|
11
|
+
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sources":["../Stack.ts"],"names":[],"mappings":"AAAA;;;CAGC,GACD,cAAc,KAAK,qBAAoB;AAGvC,SAAa,KAAK,IAAI,kBAAiB;AACvC,cAAc,QAAQ,qBAAoB;AAE1C,yCAAyC,GACzC,OAAO,YAAI,OAAO,KAAyB;AAE3C,2BAA2B,GAC3B,OAAO,YAAI,oBAA0D;AAErE,mCAAmC,GACnC,OAAO,YAAI,aAAY,MAAmC;AAE1D,sCAAsC,GACtC,OAAO,YAAI,iBAAgB,WAU1B"}
|
package/_dist/Stamp.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stamp.d.ts","sources":["../Stamp.ts"],"names":[],"mappings":"AAWA,SAAa,KAAK,IAAI,kBAAiB;AAGvC,cAAc,GACd,OAAO,YAAI,OAAO,KAA0B"}
|
package/_dist/State.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How something stands, in a word beside a `Dot`: `<State mod='positive'>
|
|
3
|
+
* Connected</State>`. Its tone is a `Dot`'s (`positive` when it works,
|
|
4
|
+
* `negative` when it needs the person, and the rest), and the dot wears it
|
|
5
|
+
* too, so a terminal colours the pip as a browser does. What the word is,
|
|
6
|
+
* and which tone says it, is the caller's.
|
|
7
|
+
*
|
|
8
|
+
* @module
|
|
9
|
+
*/ import type { Sheet } from "./sheet.js";
|
|
10
|
+
import { type Part } from "./el.js";
|
|
11
|
+
import type { Colors, Specimen } from "./theme.js";
|
|
12
|
+
/** A state in a word, its dot first. */ export declare let State: Part;
|
|
13
|
+
/** What it is, in a line. */ export declare let description: string;
|
|
14
|
+
/** The word describes, so it is muted; the dot carries the tone. */ export declare let sheet: (c: Colors) => Sheet;
|
|
15
|
+
/** One untoned, then every tone. */ export declare let specimens: () => Specimen[];
|
|
16
|
+
//# sourceMappingURL=State.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"State.d.ts","sources":["../State.ts"],"names":[],"mappings":"AAAA;;;;;;;;CAQC,GAED,cAAc,KAAK,qBAAoB;AAGvC,SAAa,KAAK,IAAI,kBAAiB;AACvC,cAAc,MAAM,EAAE,QAAQ,qBAAoB;AAIlD,sCAAsC,GACtC,OAAO,YAAI,OAAO,KACsC;AAExD,2BAA2B,GAC3B,OAAO,YAAI,oBAA6D;AAExE,kEAAkE,GAClE,OAAO,YAAI,QAAS,GAAG,WAAS,MAE9B;AAEF,kCAAkC,GAClC,OAAO,YAAI,iBAAgB,WAM1B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Part } from "./el.js";
|
|
2
|
+
/** A flat surface, an elevated surface, a press and an input well, and the
|
|
3
|
+
* head and foot of one, each ruled off from what it holds. */ export declare let Surface: Part & Record<'Raised' | 'Press' | 'Well' | 'Head' | 'Foot', Part>;
|
|
4
|
+
/** `look`, one of these surfaces, in `tag` unless it is given another
|
|
5
|
+
* element: `tagged(Surface.Raised, 'aside')` is a part whose root is a
|
|
6
|
+
* raised surface and an aside. */ export declare let tagged: (look: Part, tag: string) => Part;
|
|
7
|
+
//# sourceMappingURL=Surface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Surface.d.ts","sources":["../Surface.ts"],"names":[],"mappings":"AAGA,SAAa,KAAK,IAAI,kBAAiB;AAIvC;4DAC4D,GAC5D,OAAO,YAAI,SACP,OACA,OAAO,WAAW,UAAU,SAAS,SAAS,QAAQ,MAOpD;AAEN;;gCAEgC,GAChC,OAAO,YAAI,SAAU,MAAM,MAAM,KAAK,MAAM,KAAG,KACT"}
|
package/_dist/Table.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type FunctionComponent } from "@types/react";
|
|
2
|
+
import { type Part, type Props } from "./el.js";
|
|
3
|
+
/** What a column holds: the variant its cells wear (`num`, `key`,
|
|
4
|
+
* `prose`), or nothing for text. */ export type Col = string | false | null | undefined;
|
|
5
|
+
/** What a table is drawn with: what each of its columns holds, and anything
|
|
6
|
+
* a part takes. */ export type TableProps = Props & {
|
|
7
|
+
cols?: Col[];
|
|
8
|
+
};
|
|
9
|
+
/** A table. */ export declare let Table: FunctionComponent<TableProps> & Record<'Scroll' | 'Head' | 'Body' | 'Row' | 'Heading' | 'Cell' | 'Toggle' | 'Sort' | 'Indent', Part>;
|
|
10
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sources":["../Table.ts"],"names":[],"mappings":"AAuC0C,SAA6B,KAAK,iBAAiB,uBAA0B;AACvH,SAAgB,KAAK,IAAI,EAAE,KAAK,KAAK,kBAAiB;AAItD;kCACkC,GAClC,YAAY,MAAM,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS;AAEnD;iBACiB,GACjB,YAAY,aAAa;EAAU,OAAO;;AA2B1C,aAAa,GACb,OAAO,YAAI,OACP,kBAAkB,cAClB,OACE,WACA,SACA,SACA,QACA,YACA,SACA,WACA,SACA,UACF,MA0BC"}
|
package/_dist/Tabs.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A row of tabs, one of them on:
|
|
3
|
+
* `<Tabs><Tabs.Tab mod='on'>…</Tabs.Tab></Tabs>`. A tab's face is the
|
|
4
|
+
* caller's (an icon, a word), and so is what pressing it does. `Tabs.Badge`,
|
|
5
|
+
* inside a tab, counts what waits behind it.
|
|
6
|
+
*
|
|
7
|
+
* `Tab-line` gives each control its own line in a terminal.
|
|
8
|
+
*
|
|
9
|
+
* Tabs can hold what they show: a `TabSet` is the same block on a fieldset,
|
|
10
|
+
* `TabSet.Legend` naming the choice and each `TabSet.Item` a radio, its `Tab`
|
|
11
|
+
* (the radio's label) and its `Panel`. The radios own which tab is on, arrow
|
|
12
|
+
* keys and all, so the set works without script; the checked one's panel
|
|
13
|
+
* shows under the row. A panel holding a card's worth is drawn as one:
|
|
14
|
+
* `<TabSet.Panel as={Card}>`.
|
|
15
|
+
*
|
|
16
|
+
* @module
|
|
17
|
+
*/ import type { Sheet } from "./sheet.js";
|
|
18
|
+
import { type Part } from "./el.js";
|
|
19
|
+
import type { Colors, Specimen } from "./theme.js";
|
|
20
|
+
/** A row of tabs. */ export declare let Tabs: Part & Record<'Tab' | 'Badge', Part>;
|
|
21
|
+
/** Tabs holding their panels: the same block on a form's elements, the row
|
|
22
|
+
* a fieldset, each tab the label of its radio. */ export declare let TabSet: Part & Record<'Legend' | 'Item' | 'Input' | 'Tab' | 'Badge' | 'Panel', Part>;
|
|
23
|
+
/** What it is, in a line. */ export declare let description: string;
|
|
24
|
+
/** A tab is its face, a space between two where a browser pads them, and
|
|
25
|
+
* one between its face and its badge where a browser's gap is; the lit one
|
|
26
|
+
* is raised. A terminal has no checked radio to show one panel by, so a set
|
|
27
|
+
* reads as its radios, each with its panel under it. */ export declare let sheet: (c: Colors) => Sheet;
|
|
28
|
+
/** A row with one tab on, one under the pointer, and one with a badge; and
|
|
29
|
+
* a set whose first tab is checked. */ export declare let specimens: () => Specimen[];
|
|
30
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sources":["../Tabs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;CAgBC,GAED,cAAc,KAAK,qBAAoB;AAEvC,SAAgB,KAAK,IAAI,kBAAiB;AAC1C,cAAc,MAAM,EAAE,QAAQ,qBAAoB;AAElD,mBAAmB,GACnB,OAAO,YAAI,MAAM,OAAO,OAAO,QAAQ,SAAS,MAG9C;AAEF;gDACgD,GAChD,OAAO,YAAI,QACP,OACA,OAAO,WAAW,SAAS,UAAU,QAAQ,UAAU,SAAS,MAY/D;AAEL,2BAA2B,GAC3B,OAAO,YAAI,oBAA8C;AAEzD;;;sDAGsD,GACtD,OAAO,YAAI,QAAS,GAAG,WAAS,MAU9B;AAcF;qCACqC,GACrC,OAAO,YAAI,iBAAgB,WA8B1B"}
|
package/_dist/Tile.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tile.d.ts","sources":["../Tile.ts"],"names":[],"mappings":"AA+BA,SAAoB,KAAK,IAAI,kBAA6B;AAiC1D,YAAY,GACZ,OAAO,YAAI,MACP,OACA,OACA,SAAS,OAAO,SAAS,UAAU,SAAS,UAAU,QAAQ,OAC9D,MAYD"}
|
package/_dist/Time.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/** A date's shared face: its age, its day, or how long since it, with the
|
|
2
|
+
* full timestamp in a kit tooltip.
|
|
3
|
+
* @module
|
|
4
|
+
*/ import { type FunctionComponent } from "@types/react";
|
|
5
|
+
import type { Clock } from "@yaks/fp";
|
|
6
|
+
import type { H } from "@yaks/render";
|
|
7
|
+
import type { Sheet } from "./sheet.js";
|
|
8
|
+
import { type Props } from "./el.js";
|
|
9
|
+
import { type Face } from "./relative.js";
|
|
10
|
+
import type { Colors, Specimen } from "./theme.js";
|
|
11
|
+
export { useNow } from "./clock.js";
|
|
12
|
+
/** The moment and, for a controlled rendering, the clock it is read against.
|
|
13
|
+
* `written` says its day instead of its age, `lasting` how long it has
|
|
14
|
+
* been since, and `short` its age in a letter (`2d ago`). */ export type TimeProps = Props & Face & {
|
|
15
|
+
clock?: Clock;
|
|
16
|
+
at?: string | null;
|
|
17
|
+
};
|
|
18
|
+
/** The kit face through a portable renderer's hyperscript. */ export declare let time: <N>(h: H<N>, {}: TimeProps) => N | null;
|
|
19
|
+
/** A moment in words, focusable so its tooltip is available by keyboard. A
|
|
20
|
+
* duration is read every second, an age every minute. */ export declare let Time: FunctionComponent<TimeProps>;
|
|
21
|
+
/** What it is, in a line. */ export declare let description: string;
|
|
22
|
+
/** The surrounding line owns its size and colour. */ export declare let sheet: (_c: Colors) => Sheet;
|
|
23
|
+
/** An age, a written date, a duration and a short age. */ export declare let specimens: () => Specimen[];
|
|
24
|
+
//# sourceMappingURL=Time.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Time.d.ts","sources":["../Time.ts"],"names":[],"mappings":"AAAA;;;CAGC,GACyC,SAA6B,KAAK,iBAAiB,uBAA0B;AACvH,cAAc,KAAK,wBAA6B;AAEhD,cAAc,CAAC,4BAAiC;AAChD,cAAc,KAAK,qBAAoB;AACvC,SAAS,KAAK,KAAK,kBAAiB;AACpC,SAAS,KAAK,IAAI,wBAAkC;AACpD,cAAc,MAAM,EAAE,QAAQ,qBAAoB;AAClD,SAAS,MAAM,qBAAoB;AAEnC;;2DAE2D,GAC3D,YAAY,YAAY,QAAQ;EAC9B,QAAQ;EACR,KAAK,MAAM,GAAG,IAAI;;AAGpB,4DAA4D,GAC5D,OAAO,YAAI,OAAQ,GACjB,GAAG,EAAE,IACL,IAWG,SAAS,KACX,IAAI,IAAI,CAgBV;AAED;uDACuD,GACvD,OAAO,YAAI,MAAM,kBAAkB,WAGlC;AAED,2BAA2B,GAC3B,OAAO,YAAI,oBACgE;AAC3E,mDAAmD,GACnD,OAAO,YAAI,QAAS,IAAI,WAAS,MAAa;AAC9C,wDAAwD,GACxD,OAAO,YAAI,iBAAgB,WAoC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Timeline.d.ts","sources":["../Timeline.ts"],"names":[],"mappings":"AAUA,SAAgB,KAAK,IAAI,kBAAiB;AAM1C,gBAAgB,GAChB,OAAO,YAAI,UAAU,OAAO,OAAO,SAAS,SAAS,QAAQ,QAAQ,MAMjE"}
|
package/_dist/Tip.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tip.d.ts","sources":["../Tip.ts"],"names":[],"mappings":"AAUA,SAAa,KAAK,IAAI,kBAAiB;AAIvC,6DAA6D,GAC7D,OAAO,YAAI,KAAK,KAAgC"}
|
package/_dist/Toast.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sources":["../Toast.ts"],"names":[],"mappings":"AAGA,SAAgB,KAAK,IAAI,kBAA6B;AAMtD,OAAO,YAAI,OAAO;EAAS,MAAM;EAShC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sources":["../Toolbar.ts"],"names":[],"mappings":"AAKA,SAAgB,KAAK,IAAI,kBAAiB;AAK1C,iDAAiD,GACjD,OAAO,YAAI,SAAS,OAAO,OAAO,SAAS,UAAU,QAAQ,SAAS,MAMlE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Messages, their replies and the marks describing each entry. A message's
|
|
3
|
+
* bubble stands at the right; one said by the other person in a
|
|
4
|
+
* conversation between people (`Transcript_Entry-other`) at the left.
|
|
5
|
+
*
|
|
6
|
+
* @module
|
|
7
|
+
*/ import type { Sheet } from "./sheet.js";
|
|
8
|
+
import { type FunctionComponent, type ReactNode } from "@types/react";
|
|
9
|
+
import { type Part } from "./el.js";
|
|
10
|
+
import { type IconProps } from "./Icon.js";
|
|
11
|
+
import type { Colors, Native, Specimen } from "./theme.js";
|
|
12
|
+
/** Messages, their replies and the marks describing each entry. */ export declare let Transcript: Part & Record<'Lines' | 'Row' | 'Content' | 'Bubble' | 'Via' | 'Entry' | 'Meta' | 'When' | 'Divider' | 'Step' | 'StepText' | 'Note' | 'Source' | 'Origin' | 'App' | 'AppIcon' | 'Reply' | 'Activity' | 'Jump' | 'Newest' | 'Status' | 'Error', Part>;
|
|
13
|
+
/** The app in which a message was sent. */ export type MessageApp = {
|
|
14
|
+
title: string;
|
|
15
|
+
href: string;
|
|
16
|
+
icon: string;
|
|
17
|
+
};
|
|
18
|
+
export declare let MessageOrigin: FunctionComponent<{
|
|
19
|
+
app: MessageApp;
|
|
20
|
+
mine?: boolean;
|
|
21
|
+
}>;
|
|
22
|
+
/** The one-line label of a step or an activity fold. */ export declare let StepLabel: FunctionComponent<{
|
|
23
|
+
children?: ReactNode;
|
|
24
|
+
group?: boolean;
|
|
25
|
+
}>;
|
|
26
|
+
/** The channel a message came through, named on hover and keyboard focus. */ export declare let ChannelBadge: FunctionComponent<{
|
|
27
|
+
of: IconProps['of'];
|
|
28
|
+
label: string;
|
|
29
|
+
}>;
|
|
30
|
+
/** What this part presents. */ export declare let description: string;
|
|
31
|
+
/** The same parts in a terminal. */ export declare let sheet: (c: Colors) => Sheet;
|
|
32
|
+
/** A complete example. */ export declare let specimens: () => Specimen[];
|
|
33
|
+
/** The same interface on a native host. */ export declare let native: (c: Colors) => Native;
|
|
34
|
+
/** The native parts a transcript composes, without loading a stylesheet. */ export declare let transcriptLook: (c: Colors) => Native;
|
|
35
|
+
//# sourceMappingURL=Transcript.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Transcript.d.ts","sources":["../Transcript.ts"],"names":[],"mappings":"AAKA;;;;;;CAMC,GACD,cAAc,KAAK,qBAAoB;AACG,SAExC,KAAK,iBAAiB,EACtB,KAAK,SAAS,uBACS;AACzB,SAAgB,KAAK,IAAI,kBAAiB;AAC1C,SAAwB,KAAK,SAAS,oBAAmB;AACzD,cAAc,MAAM,EAAE,MAAM,EAAE,QAAQ,qBAAoB;AAmB1D,iEAAiE,GACjE,OAAO,YAAI,YACP,OACA,OACE,UACA,QACA,YACA,WACA,QACA,UACA,SACA,SACA,YACA,SACA,aACA,SACA,WACA,WACA,QACA,YACA,UACA,aACA,SACA,WACA,WACA,SACF,MAwBA;AAEJ,yCAAyC,GACzC,YAAY;EAAe,OAAO,MAAM;EAAE,MAAM,MAAM;EAAE,MAAM,MAAM;;AAEpE,OAAO,YAAI,eAAe;EACtB,KAAK;EAAY,OAAO,OAAO;GAYhC;AAEH,sDAAsD,GACtD,OAAO,YAAI,WAAW;EACpB,WAAW;EACX,QAAQ,OAAO;GAOd;AACH,2EAA2E,GAC3E,OAAO,YAAI,cAAc;EACvB,IAAI,UAAU;EACd,OAAO,MAAM;GAMZ;AAEH,6BAA6B,GAC7B,OAAO,YAAI,oBACqD;AAChE,kCAAkC,GAClC,OAAO,YAAI,QAAS,GAAG,WAAS,MAY9B;AACF,wBAAwB,GACxB,OAAO,YAAI,iBAAgB,WA0G1B;AAED,yCAAyC,GACzC,OAAO,YAAI,SAAU,GAAG,WAAS,OA2B/B;AAEF,0EAA0E,GAC1E,OAAO,YAAI,iBAAkB,GAAG,WAAS,OAOvC"}
|
package/_dist/Turns.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Turns.d.ts","sources":["../Turns.ts"],"names":[],"mappings":"AAaA,SAAgB,KAAK,IAAI,kBAAiB;AAG1C,iCAAiC,GACjC,OAAO,YAAI,OAAO,OAAO,OAAO,SAAS,QAAQ,SAAS,QAAQ,MASjE"}
|
package/_dist/Value.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Value.d.ts","sources":["../Value.ts"],"names":[],"mappings":"AAWA,SAAa,KAAK,IAAI,kBAAiB;AAGvC,aAAa,GACb,OAAO,YAAI,OAAO,KAA0B"}
|
package/_dist/ahead.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Asking ahead for what a press will need, before the press. A link names
|
|
3
|
+
* an address to warm in `data-warm` (`WARM`); warming it is a HEAD, which
|
|
4
|
+
* wakes what serves it and fills the edge's copy of a page kept there,
|
|
5
|
+
* marked as a look ahead (`AHEAD`), so the server counts no visit for it.
|
|
6
|
+
* The navigator (navigate.ts) warms the links of the pages it holds; a page
|
|
7
|
+
* without the navigator warms its own with `warmAhead`.
|
|
8
|
+
*
|
|
9
|
+
* @module
|
|
10
|
+
*/ /** The header a page fetched ahead carries: the person has not opened it
|
|
11
|
+
* yet, so the server reads it without doing what opening it does (marking
|
|
12
|
+
* what it shows read, counting a view). Browsers' own prefetches say so in
|
|
13
|
+
* `Sec-Purpose`, which a script cannot set. */ export declare let AHEAD: string;
|
|
14
|
+
/** Whether a request only looks ahead at a page (`AHEAD`, or a browser's
|
|
15
|
+
* own prefetch), rather than a person opening it. */ export declare let lookingAhead: (req: Request) => boolean;
|
|
16
|
+
/** A link's lightweight warm address, asked ahead of a press on it. */ export declare let WARM: string;
|
|
17
|
+
/** What warming needs of the window around it. */ export type Warming = {
|
|
18
|
+
fetch: typeof fetch;
|
|
19
|
+
location: {
|
|
20
|
+
href: string;
|
|
21
|
+
origin: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
/** A function that warms one link's address (`WARM`), at most once in
|
|
25
|
+
* `fresh` milliseconds, remembering the last `most` addresses. One of the
|
|
26
|
+
* page's own origin says it looks ahead (`AHEAD`); another's can carry no
|
|
27
|
+
* such header, so it goes without. */ export declare let warmer: (win: Warming, now: () => number, fresh?: number, most?: number) => (link: Element) => void;
|
|
28
|
+
/** What `warmAhead` needs of the window: the page, its events and a way to
|
|
29
|
+
* hear a link come near the screen. */ export type Ahead = Warming & {
|
|
30
|
+
document: Pick<Document, 'querySelectorAll'>;
|
|
31
|
+
addEventListener: Window['addEventListener'];
|
|
32
|
+
IntersectionObserver?: typeof IntersectionObserver;
|
|
33
|
+
performance: {
|
|
34
|
+
now: () => number;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
/** Warm the page's `WARM` links ahead of a press: each once it comes near
|
|
38
|
+
* the screen, and again when a pointer, a finger or the keyboard comes to
|
|
39
|
+
* it. For a page without the navigator whose links lead to pages the server
|
|
40
|
+
* is slow to draw the first time. */ export declare let warmAhead: (win: Ahead) => void;
|
|
41
|
+
//# sourceMappingURL=ahead.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ahead.d.ts","sources":["../ahead.ts"],"names":[],"mappings":"AAAA;;;;;;;;;CASC,GAED;;;6CAG6C,GAC7C,OAAO,YAAI,cAAiB;AAE5B;mDACmD,GAGnD,OAAO,YAAI,eAAgB,KAAK,YAAU,OAAO,CAG9C;AAEH,qEAAqE,GACrE,OAAO,YAAI,aAAkB;AAE7B,gDAAgD,GAChD,YAAY;EACV,cAAc;EACd;IAAY,MAAM,MAAM;IAAE,QAAQ,MAAM;;;AAG1C;;;oCAGoC,GACpC,OAAO,YAAI,SACT,KAAK,SACL,WAAW,MAAM,EACjB,gBACA,mBACE,MAAM,YAAY,IAAI,CAoBzB;AAED;qCACqC,GACrC,YAAY,QAAQ;EAClB,UAAU,KAAK,UAAU;EACzB,kBAAkB,OAAO;EACzB,8BAA8B;EAC9B;IAAe,WAAW,MAAM;;;AAGlC;;;mCAGmC,GACnC,OAAO,YAAI,YAAa,KAAK,UAAQ,IAAI,CAsBxC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a chart draws, through whichever `h` the page renders with: a
|
|
3
|
+
* sparkline, a few characters wide beside the number it explains, and day
|
|
4
|
+
* columns, as wide as the page. Both are SVG with no library. A series drawn
|
|
5
|
+
* in characters instead, for a line of text, is its `bars`. Each carries its
|
|
6
|
+
* series in `data-` attributes, so a page's one listener (yaks.app's
|
|
7
|
+
* public/chart.js) answers a pointer, a finger or an arrow key with the point
|
|
8
|
+
* there, and a chart costs nothing until somebody asks it.
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* import { series, summed } from '@yaks/ui/chart'
|
|
12
|
+
* import { equal } from '@yaks/testing'
|
|
13
|
+
*
|
|
14
|
+
* let now = Date.parse('2026-10-03T12:00:00Z')
|
|
15
|
+
* equal(series({ '2026-10-03': 4, '2026-10-01': 2 }, 3, now), {
|
|
16
|
+
* from: '2026-10-01',
|
|
17
|
+
* values: [2, 0, 4],
|
|
18
|
+
* })
|
|
19
|
+
* equal(summed([{ a: 1 }, { a: 2, b: 3 }, undefined]), { a: 3, b: 3 })
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @module
|
|
23
|
+
*/ import type { H } from "@yaks/render";
|
|
24
|
+
/** Counts by day, `YYYY-MM-DD`; a day nothing happened is absent. */ export type ByDay = Record<string, number>;
|
|
25
|
+
/** A dense run of days, and the day it starts on. */ export type Days = {
|
|
26
|
+
from: string;
|
|
27
|
+
values: number[];
|
|
28
|
+
};
|
|
29
|
+
/** A chart's series and what its numbers count: a `noun` said one at a time
|
|
30
|
+
* ("request"), or `money` for dollars. */ export type Series = Days & {
|
|
31
|
+
noun?: string;
|
|
32
|
+
money?: boolean;
|
|
33
|
+
};
|
|
34
|
+
/** The last `days` days up to `now`, oldest first, a quiet day a zero. */ export declare let series: (byDay: ByDay | null | undefined, days: number, now?: number) => Days;
|
|
35
|
+
/**
|
|
36
|
+
* The characters a series draws: an eighth of a cell for each eighth of the
|
|
37
|
+
* top, at least one for anything at all.
|
|
38
|
+
*
|
|
39
|
+
* ```ts
|
|
40
|
+
* import { bars } from '@yaks/ui/chart'
|
|
41
|
+
* import { equal } from '@yaks/testing'
|
|
42
|
+
*
|
|
43
|
+
* equal(bars([0, 1, 2, 4]), '▁▂▄█')
|
|
44
|
+
* equal(bars([1, 2], 16), '▁▁')
|
|
45
|
+
* ```
|
|
46
|
+
*/ export declare let bars: (values: number[], max?: number) => string;
|
|
47
|
+
/** Several rows' days added up: a person's spend over the spaces they own. */ export declare let summed: (all: (ByDay | null | undefined)[]) => ByDay;
|
|
48
|
+
/** These days and `n` more of what they count on the day of `on` (today
|
|
49
|
+
* where absent), past `days` days forgotten, so what a row keeps stays small.
|
|
50
|
+
* An `n` for a day already forgotten is dropped with it.
|
|
51
|
+
*
|
|
52
|
+
* ```ts
|
|
53
|
+
* import { kept } from '@yaks/ui/chart'
|
|
54
|
+
* import { equal } from '@yaks/testing'
|
|
55
|
+
*
|
|
56
|
+
* let now = Date.parse('2026-10-31T12:00:00Z')
|
|
57
|
+
* equal(kept({ '2026-10-31': 1, '2026-09-01': 9 }, 2, now), { '2026-10-31': 3 })
|
|
58
|
+
* let yesterday = now - 86_400_000
|
|
59
|
+
* equal(kept({ '2026-10-30': 5 }, -4, now, 30, yesterday), { '2026-10-30': 1 })
|
|
60
|
+
* equal(kept({}, 4, now, 30, Date.parse('2026-09-01')), {})
|
|
61
|
+
* ```
|
|
62
|
+
*/ export declare let kept: (byDay: ByDay | null | undefined, n: number, now?: number, days?: number, on?: number) => ByDay;
|
|
63
|
+
/** The whole series in a sentence, for anyone who cannot see the marks. */ export declare let said: (s: Series) => string;
|
|
64
|
+
/** Where each value sits in the sparkline's box: a value of nothing on the
|
|
65
|
+
* floor, the largest at the top, with room for the line's own width. */ export declare let points: (values: number[]) => [number, number][];
|
|
66
|
+
/**
|
|
67
|
+
* A line, small enough to sit beside a number, ending in a dot on today. A
|
|
68
|
+
* series with nothing in it draws nothing: a list of mostly quiet rows reads
|
|
69
|
+
* as the few that are not.
|
|
70
|
+
*/ export declare let sparkline: <Node>(h: H<Node>, s: Series) => Node | null;
|
|
71
|
+
/**
|
|
72
|
+
* A column a day, stretched to the width there is: the viewBox is one unit a
|
|
73
|
+
* day, and a rectangle stretched is still a rectangle.
|
|
74
|
+
*/ export declare let columns: <Node>(h: H<Node>, s: Series) => Node;
|
|
75
|
+
//# sourceMappingURL=chart-marks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-marks.d.ts","sources":["../chart-marks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;CAsBC,GAED,cAAc,CAAC,4BAAiC;AAEhD,mEAAmE,GACnE,YAAY,QAAQ,OAAO,MAAM,EAAE,MAAM;AAEzC,mDAAmD,GACnD,YAAY;EAAS,MAAM,MAAM;EAAE,QAAQ,MAAM;;AAEjD;wCACwC,GACxC,YAAY,SAAS;EAAS,OAAO,MAAM;EAAE,QAAQ,OAAO;;AAO5D,wEAAwE,GACxE,OAAO,YAAI,SACT,OAAO,QAAQ,IAAI,GAAG,SAAS,EAC/B,MAAM,MAAM,EACZ,MAAK,MAAM,KACV,KAMF;AAID;;;;;;;;;;;CAWC,GACD,OAAO,YAAI,OACT,QAAQ,MAAM,IACd,MAAK,MAAM,KACV,MAAM,CAKG;AAEZ,4EAA4E,GAC5E,OAAO,YAAI,SAAU,MAAM,QAAQ,IAAI,GAAG,SAAS,QAAM,MAQxD;AAED;;;;;;;;;;;;;;CAcC,GACD,OAAO,YAAI,OACT,OAAO,QAAQ,IAAI,GAAG,SAAS,EAC/B,GAAG,MAAM,EACT,MAAK,MAAM,EACX,eACA,KAAI,MAAM,KACT,MAQF;AAOD,yEAAyE,GACzE,OAAO,YAAI,OAAQ,GAAG,WAAS,MAAM,CAMpC;AAkBD;sEACsE,GACtE,OAAO,YAAI,SAAU,QAAQ,MAAM,QAAM,MAAM,EAAE,MAAM,IAQtD;AAED;;;;CAIC,GACD,OAAO,YAAI,YAAa,MAAM,GAAG,EAAE,OAAO,GAAG,WAAS,OAAO,IAAI,CAuBhE;AAED;;;CAGC,GACD,OAAO,YAAI,UAAW,MAAM,GAAG,EAAE,OAAO,GAAG,WAAS,KAwBnD"}
|
package/_dist/clock.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clock.d.ts","sources":["../clock.ts"],"names":[],"mappings":"AAMA,SAAS,KAAK,KAAK,wBAAqC;AAmBxD;8CAC8C,GAC9C,OAAO,YAAI,SAAU,QAAO,OAAgB,mBAAiB,MAAM,CAWlE"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What a contents list (@yaks/ui `Contents`) does in a browser. `fill` makes
|
|
3
|
+
* an empty one's entries from the headings its `data-contents` selector names,
|
|
4
|
+
* giving each an anchor from its words where it has none. `watch` lights the
|
|
5
|
+
* entry of the section in view as the page scrolls, with an
|
|
6
|
+
* IntersectionObserver and no scroll handler, and closes a phone's menu once
|
|
7
|
+
* an entry in it is pressed. Loading the module does both for every contents
|
|
8
|
+
* list on the page, and follows a `#section` address to an anchor made here.
|
|
9
|
+
*
|
|
10
|
+
* `current` is the choice itself, kept pure: given which headings are at or
|
|
11
|
+
* above the top of the view, the one whose section is in view.
|
|
12
|
+
*
|
|
13
|
+
* @module
|
|
14
|
+
*/ import type { Entry } from "./Contents.js";
|
|
15
|
+
/** Fewer sections than this need no contents: the page shows them all. */ export declare let FEW: number;
|
|
16
|
+
/** The section in view: the last of the headings, in the page's order, that
|
|
17
|
+
* has reached the band at the top of the view, else the first. */ export declare let current: (passed: boolean[]) => number;
|
|
18
|
+
/** An anchor from a heading's words: lower case, a hyphen between words. */ export declare let anchor: (words: string) => string;
|
|
19
|
+
/** The headings a selector names under `root`, each with an anchor: its own,
|
|
20
|
+
* or one made from its words, unique on the page. */ export declare let headings: (root: ParentNode, from: string) => Entry[];
|
|
21
|
+
/** Fill a contents list drawn empty from the headings its `data-contents`
|
|
22
|
+
* names, under `root`; one with too few sections stays hidden. */ export declare let fill: (nav: HTMLElement, root: ParentNode) => void;
|
|
23
|
+
/** Light the entry of the section in view as the page scrolls. The band is
|
|
24
|
+
* the top quarter of the view: a heading that has reached it has begun the
|
|
25
|
+
* section being read. */ export declare let watch: (nav: HTMLElement, signal?: AbortSignal) => void;
|
|
26
|
+
/** Every contents list on the page, filled and watched until `signal`
|
|
27
|
+
* aborts; and an address's `#section` followed, where its anchor was only
|
|
28
|
+
* made now. */ export declare let start: (doc: Document, signal?: AbortSignal) => void;
|
|
29
|
+
//# sourceMappingURL=contents-browser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contents-browser.d.ts","sources":["../contents-browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;CAaC,GAED,cAAc,KAAK,wBAAuB;AAG1C,wEAAwE,GACxE,OAAO,YAAI,YAAO;AAElB;gEACgE,GAChE,OAAO,YAAI,UAAW,QAAQ,OAAO,OAAK,MAAM,CACT;AAEvC,0EAA0E,GAC1E,OAAO,YAAI,SAAU,OAAO,MAAM,KAAG,MAAM,CAEwB;AAOnE;mDACmD,GACnD,OAAO,YAAI,WAAY,MAAM,YAAY,MAAM,MAAM,KAAG,QAWvD;AAiBD;gEACgE,GAChE,OAAO,YAAI,OAAQ,KAAK,aAAa,MAAM,eAAa,IAAI,CAM3D;AAYD;;uBAEuB,GACvB,OAAO,YAAI,QAAS,KAAK,aAAa,SAAS,gBAAc,IAAI,CAuBhE;AAED;;aAEa,GACb,OAAO,YAAI,QAAS,KAAK,UAAU,SAAS,gBAAc,IAAI,CAQ7D"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Browser-safe facet gathering, without loading any painter. */ import type { Contributions } from "./theme.js";
|
|
2
|
+
/** Gather installed facets. Duplicate contribution names are an error rather
|
|
3
|
+
* than an order-dependent choice of someone else's kit. */ export declare let gather: (facets: Contributions[]) => Contributions;
|
|
4
|
+
export type { Contributions } from "./theme.js";
|
|
5
|
+
//# sourceMappingURL=contributions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contributions.d.ts","sources":["../contributions.ts"],"names":[],"mappings":"AAAA,+DAA+D,GAC/D,cAAc,aAAa,qBAAoB;AAE/C;yDACyD,GACzD,OAAO,YAAI,SAAU,QAAQ,oBAAkB,cAa9C;AAED,cAAc,aAAa,qBAAoB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Show the copy buttons in `root`; call it again once `root` is drawn anew. */ export declare let shown: (root: ParentNode) => void;
|
|
2
|
+
/** Work every copy button in `root`, now and as it is drawn again. The
|
|
3
|
+
* answer lets go of it. */ export declare let copying: (root: HTMLElement) => () => void;
|
|
4
|
+
//# sourceMappingURL=copy-browser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-browser.d.ts","sources":["../copy-browser.ts"],"names":[],"mappings":"AA0BA,8EAA8E,GAC9E,OAAO,YAAI,QAAS,MAAM,eAAa,IAAI,CAI1C;AAED;yBACyB,GACzB,OAAO,YAAI,UAAW,MAAM,sBAAoB,IAAI,CAQnD"}
|
package/_dist/el.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The two builders every UI component is made from. They speak the
|
|
3
|
+
* `Block_Element-modifier` class names a stylesheet and a terminal sheet both
|
|
4
|
+
* read: `el('span', 'Dot')` is a component rendering `<span class="Dot">`, and
|
|
5
|
+
* its `mod` prop adds variants, `<Dot mod='ring' />` rendering
|
|
6
|
+
* `<span class="Dot Dot-ring">`. `block()` hangs a block's elements on it.
|
|
7
|
+
*
|
|
8
|
+
* A part is paint. Everything a caller passes besides `mod`, `className` (or
|
|
9
|
+
* `class`), `elRef`, `href` and `as` (a style, a handler, `draggable`, `type`) lands on the
|
|
10
|
+
* element as given; what a click on it means is the caller's business. `as`
|
|
11
|
+
* names the element where the page's outline wants another than the part's
|
|
12
|
+
* own: a card's title as an `h3` under the page's `h2`, a card as an `li` of
|
|
13
|
+
* a list.
|
|
14
|
+
*
|
|
15
|
+
* A part can be another part too, drawn as it and wearing both classes. `as`
|
|
16
|
+
* given a part draws this one as it, in this one's element:
|
|
17
|
+
* `<TabSet.Panel as={Card}>` renders `<section class="Card Tabs_Panel">`, a
|
|
18
|
+
* panel that is a card. A part made of one (`el(Button, 'Copy_Go')`, or a
|
|
19
|
+
* block's element given a part) always is it, in that part's element. Its
|
|
20
|
+
* variants are its own; the part it is drawn as is plain.
|
|
21
|
+
*
|
|
22
|
+
* Links nest the way HTML allows. A part given an `href` renders as an `<a>`
|
|
23
|
+
* and becomes the link around its children ({@link Surround}). Inside it, a
|
|
24
|
+
* part naming the same href is not a second link, and one naming another
|
|
25
|
+
* keeps its tag and says `role="link"` and `data-href`: nested `<a>` is
|
|
26
|
+
* invalid HTML, so following it is left to the application, which listens
|
|
27
|
+
* for `[data-href]` once for the whole document. A link to another site opens
|
|
28
|
+
* in a new tab (@yaks/markdown/away), by the page's `Site` where one is given,
|
|
29
|
+
* unless the caller names its own target.
|
|
30
|
+
*
|
|
31
|
+
* @module
|
|
32
|
+
*/ import { type Context, type FunctionComponent, type ReactNode } from "@types/react";
|
|
33
|
+
import { type OverlayOptions } from "./overlays.js";
|
|
34
|
+
type Mod = string | false | null | undefined;
|
|
35
|
+
/** What a part takes: its variants, and anything else an element does. */ export type Props = {
|
|
36
|
+
/** variants, each adding `Base-variant` to the class; falsy ones drop */ mod?: Mod | Mod[];
|
|
37
|
+
/** more classes, after the part's own */ className?: string;
|
|
38
|
+
/** more classes, as HTML names them: `className` too */ class?: string;
|
|
39
|
+
/** the element itself, as `ref` would give it (a function component
|
|
40
|
+
* cannot forward `ref`) */ elRef?: unknown;
|
|
41
|
+
/** where this part links to */ href?: string;
|
|
42
|
+
/** the element to render, where the page's outline wants another, or a
|
|
43
|
+
* part to draw this one as */ as?: string | Part;
|
|
44
|
+
children?: ReactNode;
|
|
45
|
+
/** Escape behavior for a part that takes onCancel. */ overlay?: Pick<OverlayOptions, 'opener' | 'blur'>;
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
/** A component `el()` made. */ export type Part = FunctionComponent<Props>;
|
|
49
|
+
/** The link around this point of the tree: what an `href` inside it means. */ export declare let Surround: Context<{
|
|
50
|
+
href?: string;
|
|
51
|
+
}>;
|
|
52
|
+
/** A part: `tag` (an element, or a part it is drawn as), wearing the class
|
|
53
|
+
* `base`. */ export declare let el: <P extends Props = Props>(tag: string | FunctionComponent<P>, base: string) => FunctionComponent<P>;
|
|
54
|
+
/** A block and its elements: `block('section', 'Card', { Head: 'header' })`
|
|
55
|
+
* renders `<section class="Card">`, and carries `Card.Head`, rendering
|
|
56
|
+
* `<header class="Card_Head">`. Each key is the element's name, its value
|
|
57
|
+
* the element's tag, or the part it is. */ export declare let block: <K extends string>(tag: string | Part, base: string, kids: Record<K, string | Part>) => Part & Record<K, Part>;
|
|
58
|
+
//# sourceMappingURL=el.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"el.d.ts","sources":["../el.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BC,GAEyC,SACxC,KAAK,OAAO,EAGZ,KAAK,iBAAiB,EACtB,KAAK,SAAS,uBAKS;AAGzB,SAEE,KAAK,cAAc,wBAGC;KAEjB,MAAM,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS;AAE5C,wEAAwE,GACxE,YAAY;EACV,uEAAuE,GACvE,MAAM,MAAM;EACZ,uCAAuC,GACvC,YAAY,MAAM;EAClB,sDAAsD,GACtD,QAAQ,MAAM;EACd;2BACyB,GACzB,QAAQ,OAAO;EACf,6BAA6B,GAC7B,OAAO,MAAM;EACb;8BAC4B,GAC5B,KAAK,MAAM,GAAG;EACd,WAAW;EACX,oDAAoD,GACpD,UAAU,KAAK,gBAAgB,WAAW;GACzC,GAAG,MAAM,GAAG,OAAO;;AAGtB,6BAA6B,GAC7B,YAAY,OAAO,kBAAkB;AAErC,4EAA4E,GAC5E,OAAO,YAAI,UAAU;EAAU,OAAO,MAAM;GAAuB;AA6GnE;WACW,GACX,OAAO,YAAI,KAAM,UAAU,QAAQ,OACjC,KAAK,MAAM,GAAG,kBAAkB,IAChC,MAAM,MAAM,KACX,kBAAkB,GA0BpB;AAED;;;yCAGyC,GACzC,OAAO,YAAI,QAAS,UAAU,MAAM,EAClC,KAAK,MAAM,GAAG,MACd,MAAM,MAAM,EACZ,MAAM,OAAO,GAAG,MAAM,GAAG,UACxB,OAAO,OAAO,GAAG,MAQjB"}
|