@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
package/el.ts
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
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
|
+
*/
|
|
33
|
+
|
|
34
|
+
/* @ts-types="npm:@types/react@19.3.0" */ import {
|
|
35
|
+
type Context,
|
|
36
|
+
createContext,
|
|
37
|
+
createElement as h,
|
|
38
|
+
type FunctionComponent,
|
|
39
|
+
type ReactNode,
|
|
40
|
+
useContext,
|
|
41
|
+
useLayoutEffect,
|
|
42
|
+
useMemo,
|
|
43
|
+
useRef,
|
|
44
|
+
} from 'react'
|
|
45
|
+
import { away } from '@yaks/markdown/away'
|
|
46
|
+
import { Site } from '@yaks/markdown/site'
|
|
47
|
+
import {
|
|
48
|
+
openOverlay,
|
|
49
|
+
type OverlayOptions,
|
|
50
|
+
overlays,
|
|
51
|
+
requestCancel,
|
|
52
|
+
} from './overlays.js'
|
|
53
|
+
|
|
54
|
+
type Mod = string | false | null | undefined
|
|
55
|
+
|
|
56
|
+
/** What a part takes: its variants, and anything else an element does. */
|
|
57
|
+
export type Props = {
|
|
58
|
+
/** variants, each adding `Base-variant` to the class; falsy ones drop */
|
|
59
|
+
mod?: Mod | Mod[]
|
|
60
|
+
/** more classes, after the part's own */
|
|
61
|
+
className?: string
|
|
62
|
+
/** more classes, as HTML names them: `className` too */
|
|
63
|
+
class?: string
|
|
64
|
+
/** the element itself, as `ref` would give it (a function component
|
|
65
|
+
* cannot forward `ref`) */
|
|
66
|
+
elRef?: unknown
|
|
67
|
+
/** where this part links to */
|
|
68
|
+
href?: string
|
|
69
|
+
/** the element to render, where the page's outline wants another, or a
|
|
70
|
+
* part to draw this one as */
|
|
71
|
+
as?: string | Part
|
|
72
|
+
children?: ReactNode
|
|
73
|
+
/** Escape behavior for a part that takes onCancel. */
|
|
74
|
+
overlay?: Pick<OverlayOptions, 'opener' | 'blur'>
|
|
75
|
+
[x: string]: unknown
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/** A component `el()` made. */
|
|
79
|
+
export type Part = FunctionComponent<Props>
|
|
80
|
+
|
|
81
|
+
/** The link around this point of the tree: what an `href` inside it means. */
|
|
82
|
+
export let Surround: Context<{ href?: string }> = createContext({})
|
|
83
|
+
|
|
84
|
+
let face = (
|
|
85
|
+
props: Record<string, unknown>,
|
|
86
|
+
className: string,
|
|
87
|
+
ref: unknown,
|
|
88
|
+
children: ReactNode,
|
|
89
|
+
): Record<string, unknown> => ({
|
|
90
|
+
...props,
|
|
91
|
+
ref,
|
|
92
|
+
className,
|
|
93
|
+
...(children !== undefined && { children }),
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
type Attrs = Record<string, unknown>
|
|
97
|
+
type Cancel = (event: Event) => void
|
|
98
|
+
|
|
99
|
+
// Layers dispatch cancel on their own element, including those using an
|
|
100
|
+
// element other than dialog. Listen there so both renderers hear the event.
|
|
101
|
+
let OverlayPart = ({ tag, attrs, cancel, overlay }: {
|
|
102
|
+
tag: string
|
|
103
|
+
attrs: Attrs
|
|
104
|
+
cancel?: Cancel
|
|
105
|
+
overlay?: Props['overlay']
|
|
106
|
+
}) => {
|
|
107
|
+
let node = useRef<HTMLElement | null>(null)
|
|
108
|
+
let current = useRef({ cancel, overlay })
|
|
109
|
+
current.current = { cancel, overlay }
|
|
110
|
+
let ref = useMemo(() => (at: HTMLElement | null) => {
|
|
111
|
+
node.current = at
|
|
112
|
+
let given = attrs.ref
|
|
113
|
+
if (typeof given == 'function') return given(at)
|
|
114
|
+
if (given) (given as { current: Element | null }).current = at
|
|
115
|
+
}, [attrs.ref])
|
|
116
|
+
useLayoutEffect(() => {
|
|
117
|
+
let at = node.current
|
|
118
|
+
if (!at) return
|
|
119
|
+
overlays(at.ownerDocument, at)
|
|
120
|
+
let handle = (e: Event) => {
|
|
121
|
+
if (e.target == at) current.current.cancel?.(e)
|
|
122
|
+
}
|
|
123
|
+
at.addEventListener('cancel', handle)
|
|
124
|
+
let drop = cancel && tag != 'dialog' && attrs.popover == null &&
|
|
125
|
+
!attrs.hidden
|
|
126
|
+
? openOverlay(at, () => requestCancel(at), current.current.overlay)
|
|
127
|
+
: undefined
|
|
128
|
+
return () => {
|
|
129
|
+
drop?.()
|
|
130
|
+
at.removeEventListener('cancel', handle)
|
|
131
|
+
}
|
|
132
|
+
}, [tag, !!cancel, attrs.popover, attrs.hidden])
|
|
133
|
+
return h(tag, { ...attrs, ref })
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
let element = (tag: string, attrs: Attrs) => {
|
|
137
|
+
let { onCancel, overlay, ...rest } = attrs
|
|
138
|
+
let cancel = typeof onCancel == 'function' ? onCancel as Cancel : undefined
|
|
139
|
+
return cancel || tag == 'dialog' || rest.popover != null ||
|
|
140
|
+
tag == 'details' &&
|
|
141
|
+
String(rest.className).split(' ').includes('Menu_Fold')
|
|
142
|
+
? h(OverlayPart, {
|
|
143
|
+
tag,
|
|
144
|
+
attrs: rest,
|
|
145
|
+
cancel,
|
|
146
|
+
overlay: overlay as Props['overlay'],
|
|
147
|
+
})
|
|
148
|
+
: h(tag, rest)
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
let Linked = ({ href, props, names, elRef, children }: {
|
|
152
|
+
href: string
|
|
153
|
+
props: Record<string, unknown>
|
|
154
|
+
names: string
|
|
155
|
+
elRef: unknown
|
|
156
|
+
children: ReactNode
|
|
157
|
+
}) => {
|
|
158
|
+
let site = useContext(Site)
|
|
159
|
+
let surround = useMemo(() => ({ href }), [href])
|
|
160
|
+
return h(
|
|
161
|
+
Surround.Provider,
|
|
162
|
+
{ value: surround },
|
|
163
|
+
element('a', face(away({ ...props, href }, site), names, elRef, children)),
|
|
164
|
+
)
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/** The classes a part wears for its variants. */
|
|
168
|
+
export let classes = (
|
|
169
|
+
base: string,
|
|
170
|
+
mod: Props['mod'],
|
|
171
|
+
extra?: string,
|
|
172
|
+
): string => {
|
|
173
|
+
let names = base
|
|
174
|
+
if (Array.isArray(mod)) {
|
|
175
|
+
for (let m of mod) if (m) names += ` ${base}-${m}`
|
|
176
|
+
} else if (mod) {
|
|
177
|
+
names += ` ${base}-${mod}`
|
|
178
|
+
}
|
|
179
|
+
return extra ? `${names} ${extra}` : names
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// Which of a part's own tag and the `as` it is given is the element, and
|
|
183
|
+
// which the part it is drawn as.
|
|
184
|
+
let drawn = (tag: string | Part, as?: string | Part) =>
|
|
185
|
+
typeof as == 'function'
|
|
186
|
+
? { look: as, tag: typeof tag == 'string' ? tag : undefined }
|
|
187
|
+
: typeof tag == 'function'
|
|
188
|
+
? { look: tag, tag: as }
|
|
189
|
+
: { tag: as ?? tag }
|
|
190
|
+
|
|
191
|
+
/** A part: `tag` (an element, or a part it is drawn as), wearing the class
|
|
192
|
+
* `base`. */
|
|
193
|
+
export let el = <P extends Props = Props>(
|
|
194
|
+
tag: string | FunctionComponent<P>,
|
|
195
|
+
base: string,
|
|
196
|
+
): FunctionComponent<P> =>
|
|
197
|
+
(
|
|
198
|
+
{ mod, className, class: named, elRef, children, href, as, ...props }: Props,
|
|
199
|
+
) => {
|
|
200
|
+
let extra = className && named ? `${className} ${named}` : className || named
|
|
201
|
+
let names = classes(base, mod, extra)
|
|
202
|
+
let outer = useContext(Surround).href
|
|
203
|
+
let d = drawn(tag as string | Part, as)
|
|
204
|
+
// Drawn as another part, which makes the element and its link.
|
|
205
|
+
if (d.look) {
|
|
206
|
+
return h(d.look, {
|
|
207
|
+
...props,
|
|
208
|
+
as: d.tag,
|
|
209
|
+
className: names,
|
|
210
|
+
elRef,
|
|
211
|
+
href,
|
|
212
|
+
children,
|
|
213
|
+
})
|
|
214
|
+
}
|
|
215
|
+
// A part given no children passes none, rather than children that are
|
|
216
|
+
// nothing: a textarea's `value` is its content only when it has none.
|
|
217
|
+
if (href && !outer) return h(Linked, { href, props, names, elRef, children })
|
|
218
|
+
if (href && href != outer) {
|
|
219
|
+
props = { ...props, role: 'link', tabIndex: 0, 'data-href': href }
|
|
220
|
+
}
|
|
221
|
+
return element(d.tag!, face(props, names, elRef, children))
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/** A block and its elements: `block('section', 'Card', { Head: 'header' })`
|
|
225
|
+
* renders `<section class="Card">`, and carries `Card.Head`, rendering
|
|
226
|
+
* `<header class="Card_Head">`. Each key is the element's name, its value
|
|
227
|
+
* the element's tag, or the part it is. */
|
|
228
|
+
export let block = <K extends string>(
|
|
229
|
+
tag: string | Part,
|
|
230
|
+
base: string,
|
|
231
|
+
kids: Record<K, string | Part>,
|
|
232
|
+
): Part & Record<K, Part> =>
|
|
233
|
+
Object.assign(
|
|
234
|
+
el(tag, base),
|
|
235
|
+
Object.fromEntries(
|
|
236
|
+
Object.entries<string | Part>(kids).map((
|
|
237
|
+
[k, t],
|
|
238
|
+
) => [k, el(t, `${base}_${k}`)]),
|
|
239
|
+
) as Record<K, Part>,
|
|
240
|
+
)
|
package/everforest.css
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* Everforest (medium): the custom properties every component reads. Names
|
|
2
|
+
are the promise and values are not: a theme sets these names and nothing
|
|
3
|
+
else, and every rule in the kit stays as it is. Each colour is a
|
|
4
|
+
light-dark() pair, Everforest light then dark, and the page's
|
|
5
|
+
color-scheme picks one: the system's, unless the page says. Light borders
|
|
6
|
+
step up to bg3/bg4, because light bg2 is bg_dim and a border the colour of
|
|
7
|
+
the floor is not one. everforest.ts holds the dark colours for a
|
|
8
|
+
terminal.
|
|
9
|
+
|
|
10
|
+
Every colour is one sainnhe/everforest's palette.md publishes. Light's
|
|
11
|
+
inks step one shade down that palette, so what a thing says and what
|
|
12
|
+
describes it read: the text is Everforest dark's bg1 (9:1 on the floor),
|
|
13
|
+
muted is light's fg (4.7:1), dim its grey2. Light's hues are Everforest's
|
|
14
|
+
own, and soft on its floor (1.9 to 3.1:1). */
|
|
15
|
+
:root {
|
|
16
|
+
color-scheme: light dark; /* native widgets and scrollbars follow */
|
|
17
|
+
--gap: 0.75rem;
|
|
18
|
+
--radius: 6px;
|
|
19
|
+
--measure: 90ch; /* the readable line length running prose caps at */
|
|
20
|
+
--shadow: 0 8px 30px light-dark(#5c6a7233, #00000073); /* under a raised box */
|
|
21
|
+
|
|
22
|
+
/* Prose reads proportional; mono is kept for what is copied or typed:
|
|
23
|
+
ids, shas, code, command surfaces. */
|
|
24
|
+
--font: system-ui, -apple-system, 'Segoe UI', sans-serif;
|
|
25
|
+
--mono: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
26
|
+
|
|
27
|
+
--bg: light-dark(#efebd4, #232a2e);
|
|
28
|
+
--surface: light-dark(#fdf6e3, #2d353b);
|
|
29
|
+
--card: light-dark(#f4f0d9, #343f44);
|
|
30
|
+
--border: light-dark(#e6e2cc, #3d484d);
|
|
31
|
+
--border2: light-dark(#e0dcc7, #475258);
|
|
32
|
+
|
|
33
|
+
--text: light-dark(#343f44, #d3c6aa);
|
|
34
|
+
--muted: light-dark(#5c6a72, #9da9a0);
|
|
35
|
+
--dim: light-dark(#829181, #7a8478);
|
|
36
|
+
|
|
37
|
+
--accent: light-dark(#8da101, #a7c080); /* green */
|
|
38
|
+
--link: light-dark(#3a94c5, #7fbbb3); /* blue */
|
|
39
|
+
--heading: light-dark(#343f44, #d3c6aa); /* the text's own ink */
|
|
40
|
+
|
|
41
|
+
--info: light-dark(#3a94c5, #7fbbb3); /* blue */
|
|
42
|
+
--active: light-dark(#dfa000, #dbbc7f); /* yellow */
|
|
43
|
+
--positive: light-dark(#8da101, #a7c080); /* green */
|
|
44
|
+
--negative: light-dark(#f85552, #e67e80); /* red */
|
|
45
|
+
--caution: light-dark(#f57d26, #e69875); /* orange */
|
|
46
|
+
--special: light-dark(#df69ba, #d699b6); /* purple */
|
|
47
|
+
|
|
48
|
+
--number: light-dark(#df69ba, #d699b6); /* purple */
|
|
49
|
+
--literal: light-dark(#f57d26, #e69875); /* orange */
|
|
50
|
+
--time: light-dark(#3a94c5, #7fbbb3); /* blue */
|
|
51
|
+
--who: light-dark(#3a94c5, #7fbbb3); /* blue */
|
|
52
|
+
|
|
53
|
+
--keyword: light-dark(#f85552, #e67e80); /* red */
|
|
54
|
+
--string: light-dark(#8da101, #a7c080); /* green */
|
|
55
|
+
--fn: light-dark(#3a94c5, #7fbbb3); /* blue */
|
|
56
|
+
--type: light-dark(#dfa000, #dbbc7f); /* yellow */
|
|
57
|
+
--attr: light-dark(#f57d26, #e69875); /* orange */
|
|
58
|
+
|
|
59
|
+
--hue-0: light-dark(#3a94c5, #7fbbb3); /* blue */
|
|
60
|
+
--hue-1: light-dark(#dfa000, #dbbc7f); /* yellow */
|
|
61
|
+
--hue-2: light-dark(#df69ba, #d699b6); /* purple */
|
|
62
|
+
--hue-3: light-dark(#8da101, #a7c080); /* green */
|
|
63
|
+
--hue-4: light-dark(#f57d26, #e69875); /* orange */
|
|
64
|
+
--hue-5: light-dark(#f85552, #e67e80); /* red */
|
|
65
|
+
}
|
package/everforest.js
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Everforest, the first theme: everforest.css for a browser, and its dark
|
|
3
|
+
* palette for a terminal.
|
|
4
|
+
*
|
|
5
|
+
* @module
|
|
6
|
+
*/ import { beside } from "./theme.js";
|
|
7
|
+
let at = beside(import.meta.url);
|
|
8
|
+
let red = '#e67e80';
|
|
9
|
+
let orange = '#e69875';
|
|
10
|
+
let yellow = '#dbbc7f';
|
|
11
|
+
let green = '#a7c080';
|
|
12
|
+
let blue = '#7fbbb3';
|
|
13
|
+
let purple = '#d699b6';
|
|
14
|
+
let fg = '#d3c6aa';
|
|
15
|
+
/** Everforest dark (medium). */ export let everforest = {
|
|
16
|
+
css: at('./everforest.css'),
|
|
17
|
+
colors: {
|
|
18
|
+
bg: '#232a2e',
|
|
19
|
+
surface: '#2d353b',
|
|
20
|
+
card: '#343f44',
|
|
21
|
+
border: '#3d484d',
|
|
22
|
+
border2: '#475258',
|
|
23
|
+
text: fg,
|
|
24
|
+
muted: '#9da9a0',
|
|
25
|
+
dim: '#7a8478',
|
|
26
|
+
accent: green,
|
|
27
|
+
link: blue,
|
|
28
|
+
heading: fg,
|
|
29
|
+
info: blue,
|
|
30
|
+
active: yellow,
|
|
31
|
+
positive: green,
|
|
32
|
+
negative: red,
|
|
33
|
+
caution: orange,
|
|
34
|
+
special: purple,
|
|
35
|
+
number: purple,
|
|
36
|
+
literal: orange,
|
|
37
|
+
time: blue,
|
|
38
|
+
who: blue,
|
|
39
|
+
keyword: red,
|
|
40
|
+
string: green,
|
|
41
|
+
fn: blue,
|
|
42
|
+
type: yellow,
|
|
43
|
+
attr: orange,
|
|
44
|
+
hues: [
|
|
45
|
+
blue,
|
|
46
|
+
yellow,
|
|
47
|
+
purple,
|
|
48
|
+
green,
|
|
49
|
+
orange,
|
|
50
|
+
red
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=everforest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"everforest.js","sources":["./everforest.ts"],"names":[],"mappings":"AAAA;;;;;CAKC,GAED,SAAS,MAAM,qBAAgC;AAE/C,IAAI,KAAK,OAAO,YAAY,GAAG;AAE/B,IAAI,MAAM;AACV,IAAI,SAAS;AACb,IAAI,SAAS;AACb,IAAI,QAAQ;AACZ,IAAI,OAAO;AACX,IAAI,SAAS;AACb,IAAI,KAAK;AAET,8BAA8B,GAC9B,OAAO,IAAI,aAAoB;EAC7B,KAAK,GAAG;EACR,QAAQ;IACN,IAAI;IACJ,SAAS;IACT,MAAM;IACN,QAAQ;IACR,SAAS;IACT,MAAM;IACN,OAAO;IACP,KAAK;IACL,QAAQ;IACR,MAAM;IACN,SAAS;IACT,MAAM;IACN,QAAQ;IACR,UAAU;IACV,UAAU;IACV,SAAS;IACT,SAAS;IACT,QAAQ;IACR,SAAS;IACT,MAAM;IACN,KAAK;IACL,SAAS;IACT,QAAQ;IACR,IAAI;IACJ,MAAM;IACN,MAAM;IACN,MAAM;MAAC;MAAM;MAAQ;MAAQ;MAAO;MAAQ;KAAI;EAClD;AACF,EAAC"}
|
package/everforest.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Everforest, the first theme: everforest.css for a browser, and its dark
|
|
3
|
+
* palette for a terminal.
|
|
4
|
+
*
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { beside, type Theme } from './theme.js'
|
|
9
|
+
|
|
10
|
+
let at = beside(import.meta.url)
|
|
11
|
+
|
|
12
|
+
let red = '#e67e80'
|
|
13
|
+
let orange = '#e69875'
|
|
14
|
+
let yellow = '#dbbc7f'
|
|
15
|
+
let green = '#a7c080'
|
|
16
|
+
let blue = '#7fbbb3'
|
|
17
|
+
let purple = '#d699b6'
|
|
18
|
+
let fg = '#d3c6aa'
|
|
19
|
+
|
|
20
|
+
/** Everforest dark (medium). */
|
|
21
|
+
export let everforest: Theme = {
|
|
22
|
+
css: at('./everforest.css'),
|
|
23
|
+
colors: {
|
|
24
|
+
bg: '#232a2e',
|
|
25
|
+
surface: '#2d353b',
|
|
26
|
+
card: '#343f44',
|
|
27
|
+
border: '#3d484d',
|
|
28
|
+
border2: '#475258',
|
|
29
|
+
text: fg,
|
|
30
|
+
muted: '#9da9a0',
|
|
31
|
+
dim: '#7a8478',
|
|
32
|
+
accent: green,
|
|
33
|
+
link: blue,
|
|
34
|
+
heading: fg,
|
|
35
|
+
info: blue,
|
|
36
|
+
active: yellow,
|
|
37
|
+
positive: green,
|
|
38
|
+
negative: red,
|
|
39
|
+
caution: orange,
|
|
40
|
+
special: purple,
|
|
41
|
+
number: purple,
|
|
42
|
+
literal: orange,
|
|
43
|
+
time: blue,
|
|
44
|
+
who: blue,
|
|
45
|
+
keyword: red,
|
|
46
|
+
string: green,
|
|
47
|
+
fn: blue,
|
|
48
|
+
type: yellow,
|
|
49
|
+
attr: orange,
|
|
50
|
+
hues: [blue, yellow, purple, green, orange, red],
|
|
51
|
+
},
|
|
52
|
+
}
|
package/float.js
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What floats, in a browser: the popover primitive (D-58967), whose terminal
|
|
3
|
+
* form is the flow itself. A card on web's canvas lives in a scaled and
|
|
4
|
+
* scrolled plane, and a position:absolute popover is clipped by any overflow
|
|
5
|
+
* ancestor, so tooltips and pickers get cut off. Two escapes are both shut:
|
|
6
|
+
* CSS anchor() won't resolve inside a transformed ancestor (the plane), and
|
|
7
|
+
* position:fixed takes the transformed plane as its containing block, not the
|
|
8
|
+
* viewport.
|
|
9
|
+
*
|
|
10
|
+
* The one door out: getBoundingClientRect() already returns post-transform
|
|
11
|
+
* viewport coordinates, so a node portaled into document.body and fixed at
|
|
12
|
+
* that rect lands on the trigger from anywhere in the plane, and renders at
|
|
13
|
+
* 1:1 whatever the zoom, which is the feature (a picker at zoom 0.4 stays
|
|
14
|
+
* readable). We portal into an `Overlay` within the anchor's native layer
|
|
15
|
+
* or the body. What floats reads the same
|
|
16
|
+
* providers as what stayed.
|
|
17
|
+
*
|
|
18
|
+
* - `Float`: children floated beside an anchor.
|
|
19
|
+
* - `place`, `placeAt`, `usePlaceAt`: a fixed element put on a rect or a
|
|
20
|
+
* point, clamped to the viewport.
|
|
21
|
+
* - `tips`: the house tooltip, for every `[data-tip]`.
|
|
22
|
+
*
|
|
23
|
+
* @module
|
|
24
|
+
*/ /* @ts-types="npm:@types/react@19.3.0" */ import { createElement as h, Fragment, useLayoutEffect, useRef } from "react";
|
|
25
|
+
/* @ts-types="npm:@types/react-dom@19.3.0" */ import { createPortal } from "react-dom";
|
|
26
|
+
import { system } from "@yaks/fp";
|
|
27
|
+
import { openOverlay } from "./overlays.js";
|
|
28
|
+
import { place, placeAt } from "./placement.js";
|
|
29
|
+
import { resizes } from "./resizes.js";
|
|
30
|
+
export { place, placeAt } from "./placement.js";
|
|
31
|
+
let moved = 'yak-float-move';
|
|
32
|
+
/** `placeAt` as a hook: placed after mount, and again whenever the box
|
|
33
|
+
* resizes, since a popover's height is not known until it renders. */ export let usePlaceAt = (ref, at)=>useLayoutEffect(()=>{
|
|
34
|
+
let el = ref.current;
|
|
35
|
+
if (!el || !at || typeof ResizeObserver != 'function') return;
|
|
36
|
+
let put = ()=>placeAt(el, at.x, at.y, at.align);
|
|
37
|
+
put();
|
|
38
|
+
let ro = resizes(el.ownerDocument.defaultView ?? globalThis, put);
|
|
39
|
+
ro.observe(el);
|
|
40
|
+
return ()=>ro.disconnect();
|
|
41
|
+
}, [
|
|
42
|
+
at
|
|
43
|
+
]);
|
|
44
|
+
/**
|
|
45
|
+
* `<Float anchor={ref} side>{…}</Float>` positions a fixed `Overlay` on the
|
|
46
|
+
* anchor's live rect. The
|
|
47
|
+
* anchor is a ref, not an element: the child that owns it may mount in the
|
|
48
|
+
* same commit as this Float, so `.current` is read in the layout effect,
|
|
49
|
+
* after the DOM exists. The children keep their own focus, keys and state,
|
|
50
|
+
* as any children do.
|
|
51
|
+
*/ export let Float = ({ anchor, side = 'above', align = 'center', children })=>{
|
|
52
|
+
// A terminal's document has no body: children stay in the flow. Hooks
|
|
53
|
+
// still run in either host, but only the browser attaches a portal.
|
|
54
|
+
let host = useRef(null);
|
|
55
|
+
if (!host.current && globalThis.document?.body && typeof ResizeObserver == 'function') {
|
|
56
|
+
host.current = document.createElement('div');
|
|
57
|
+
host.current.className = 'Overlay';
|
|
58
|
+
}
|
|
59
|
+
let put = (el)=>{
|
|
60
|
+
if (!anchor.current) return;
|
|
61
|
+
let { left, top } = el.style;
|
|
62
|
+
place(el, anchor.current.getBoundingClientRect(), side, align);
|
|
63
|
+
if (left != el.style.left || top != el.style.top) {
|
|
64
|
+
let Event = el.ownerDocument.defaultView?.Event ?? globalThis.Event;
|
|
65
|
+
el.dispatchEvent(new Event(moved));
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
// Live for the life of the component: attach on mount, tear the portal
|
|
69
|
+
// down on unmount. A ResizeObserver re-places when the children resize —
|
|
70
|
+
// a picker's list grows without the parent hearing of it. Window resizes
|
|
71
|
+
// and scrolling containers can also move the anchor.
|
|
72
|
+
useLayoutEffect(()=>{
|
|
73
|
+
let el = host.current;
|
|
74
|
+
if (!el) return;
|
|
75
|
+
let trigger = anchor.current;
|
|
76
|
+
let parent = trigger?.closest('.Overlay');
|
|
77
|
+
let layer = trigger?.closest('dialog[open], [popover]') ?? document.body;
|
|
78
|
+
let visible = el.ownerDocument.defaultView?.visualViewport;
|
|
79
|
+
layer.appendChild(el);
|
|
80
|
+
let follow = ()=>put(el);
|
|
81
|
+
let ro = resizes(el.ownerDocument.defaultView ?? globalThis, follow);
|
|
82
|
+
ro.observe(el);
|
|
83
|
+
if (trigger) ro.observe(trigger);
|
|
84
|
+
parent?.addEventListener(moved, follow);
|
|
85
|
+
visible?.addEventListener('resize', follow);
|
|
86
|
+
visible?.addEventListener('scroll', follow);
|
|
87
|
+
addEventListener('resize', follow);
|
|
88
|
+
addEventListener('scroll', follow, {
|
|
89
|
+
capture: true,
|
|
90
|
+
passive: true
|
|
91
|
+
});
|
|
92
|
+
return ()=>{
|
|
93
|
+
ro.disconnect();
|
|
94
|
+
parent?.removeEventListener(moved, follow);
|
|
95
|
+
visible?.removeEventListener('resize', follow);
|
|
96
|
+
visible?.removeEventListener('scroll', follow);
|
|
97
|
+
removeEventListener('resize', follow);
|
|
98
|
+
removeEventListener('scroll', follow, true);
|
|
99
|
+
el.remove();
|
|
100
|
+
};
|
|
101
|
+
}, [
|
|
102
|
+
anchor,
|
|
103
|
+
side,
|
|
104
|
+
align
|
|
105
|
+
]);
|
|
106
|
+
// Every commit: re-place, so an anchor that moved is tracked immediately.
|
|
107
|
+
useLayoutEffect(()=>{
|
|
108
|
+
let el = host.current;
|
|
109
|
+
if (el) put(el);
|
|
110
|
+
});
|
|
111
|
+
return host.current ? /*#__PURE__*/ createPortal(children, host.current) : /*#__PURE__*/ h(Fragment, null, children);
|
|
112
|
+
};
|
|
113
|
+
let tipped = new WeakSet();
|
|
114
|
+
/** One delegated kit tooltip per document, shown on hover or keyboard focus,
|
|
115
|
+
* above its anchor and outside clipping ancestors. */ export let tips = (doc = globalThis.document, clock = system)=>{
|
|
116
|
+
if (!doc?.body || tipped.has(doc)) return;
|
|
117
|
+
tipped.add(doc);
|
|
118
|
+
let tip = doc.createElement('div');
|
|
119
|
+
tip.className = 'Surface_Raised Overlay Tip';
|
|
120
|
+
tip.id = 'yak-tip';
|
|
121
|
+
tip.setAttribute('role', 'tooltip');
|
|
122
|
+
tip.setAttribute('popover', 'manual');
|
|
123
|
+
let host = null;
|
|
124
|
+
let cancel;
|
|
125
|
+
let drop;
|
|
126
|
+
let hide = ()=>{
|
|
127
|
+
drop?.();
|
|
128
|
+
drop = undefined;
|
|
129
|
+
cancel?.();
|
|
130
|
+
tip.remove();
|
|
131
|
+
if (host) {
|
|
132
|
+
let ids = (host.getAttribute('aria-describedby') ?? '').split(' ').filter((id)=>id && id != tip.id);
|
|
133
|
+
if (ids.length) host.setAttribute('aria-describedby', ids.join(' '));
|
|
134
|
+
else host.removeAttribute('aria-describedby');
|
|
135
|
+
}
|
|
136
|
+
host = null;
|
|
137
|
+
};
|
|
138
|
+
let show = (next, wait)=>{
|
|
139
|
+
hide();
|
|
140
|
+
host = next;
|
|
141
|
+
if (!next) return;
|
|
142
|
+
let put = ()=>{
|
|
143
|
+
if (host != next) return;
|
|
144
|
+
tip.textContent = next.getAttribute('data-tip') ?? '';
|
|
145
|
+
// Stay in the dialog's or popover's accessible scope, then above it in
|
|
146
|
+
// the top layer.
|
|
147
|
+
let layer = next.closest('dialog[open], [popover]') ?? doc.body;
|
|
148
|
+
layer.appendChild(tip);
|
|
149
|
+
drop = openOverlay(tip, hide, {
|
|
150
|
+
opener: null
|
|
151
|
+
});
|
|
152
|
+
tip.showPopover?.();
|
|
153
|
+
let ids = next.getAttribute('aria-describedby');
|
|
154
|
+
next.setAttribute('aria-describedby', [
|
|
155
|
+
ids,
|
|
156
|
+
tip.id
|
|
157
|
+
].filter(Boolean).join(' '));
|
|
158
|
+
place(tip, next.getBoundingClientRect(), 'above');
|
|
159
|
+
};
|
|
160
|
+
if (wait == null) put();
|
|
161
|
+
else cancel = clock.after(wait, put);
|
|
162
|
+
};
|
|
163
|
+
let target = (e)=>e.target?.closest?.('[data-tip]') ?? null;
|
|
164
|
+
doc.addEventListener('pointerover', (e)=>{
|
|
165
|
+
if (e.pointerType != 'mouse') return;
|
|
166
|
+
let next = target(e);
|
|
167
|
+
if (next != host) show(next, 300);
|
|
168
|
+
});
|
|
169
|
+
doc.addEventListener('pointerout', (e)=>{
|
|
170
|
+
if (e.pointerType == 'mouse' && host && !host.contains(e.relatedTarget)) {
|
|
171
|
+
hide();
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
// Focus that a dialog or popover moves as it opens arrives while it is
|
|
175
|
+
// still opening, when no other popover may open, and its microtasks run
|
|
176
|
+
// before that is done; so the tip of what took focus opens in the next
|
|
177
|
+
// task, unless focus has left it by then (`hide` cancels it).
|
|
178
|
+
doc.addEventListener('focusin', (e)=>show(target(e), 0));
|
|
179
|
+
doc.addEventListener('focusout', hide);
|
|
180
|
+
doc.addEventListener('pointerdown', hide, true);
|
|
181
|
+
};
|
|
182
|
+
//# sourceMappingURL=float.js.map
|
package/float.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"float.js","sources":["./float.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;CAuBC,GAED,uCAAuC,GAAG,SACxC,iBAAiB,CAAC,EAClB,QAAQ,EAGR,eAAe,EACf,MAAM,gBACiB;AACzB,2CAA2C,GAAG,SAAS,YAAY,oBAA8B;AACjG,SAAqB,MAAM,wBAA6B;AACxD,SAAS,WAAW,wBAAuB;AAE3C,SAAqB,KAAK,EAAE,OAAO,yBAAwB;AAC3D,SAAS,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