@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,173 @@
|
|
|
1
|
+
/* Pencil's side navigation: a column of links beside an edge, the edge
|
|
2
|
+
between this nav and the panel it leans against. The current link is a
|
|
3
|
+
tab drawn in pencil and filled with the panel's fill (Surface.css), and it covers the edge, so
|
|
4
|
+
it opens into the panel, which is what makes it read as the page you are
|
|
5
|
+
on. A nav with no panel beside it points --nav-edge and --nav-panel at
|
|
6
|
+
nothing, and --nav-shut at --stroke to close the tab's open side, so its
|
|
7
|
+
current link is a pencil box (every nav on a phone, and any page's that
|
|
8
|
+
says so). */
|
|
9
|
+
.SideNav {
|
|
10
|
+
--nav-panel: var(--card-fill);
|
|
11
|
+
--nav-edge: var(--graphite);
|
|
12
|
+
--nav-shut: 0;
|
|
13
|
+
--nav-tip: 0;
|
|
14
|
+
position: relative;
|
|
15
|
+
display: grid;
|
|
16
|
+
gap: .15rem;
|
|
17
|
+
grid-template-columns: minmax(0, 1fr); /* a link no wider than the column */
|
|
18
|
+
}
|
|
19
|
+
.SideNav_Edge {
|
|
20
|
+
position: relative;
|
|
21
|
+
}
|
|
22
|
+
.SideNav_Edge .SideNav {
|
|
23
|
+
--nav-edge: transparent;
|
|
24
|
+
}
|
|
25
|
+
/* The stroke ends at the box's edge; the filter's room straddles it. */
|
|
26
|
+
.SideNav::after,
|
|
27
|
+
.SideNav_Edge::after {
|
|
28
|
+
content: '';
|
|
29
|
+
position: absolute;
|
|
30
|
+
inset: 0 calc(-1 * var(--room)) 0 auto;
|
|
31
|
+
width: calc(var(--stroke) + 2 * var(--room));
|
|
32
|
+
background: linear-gradient(var(--nav-edge, var(--graphite)) 0 0) center /
|
|
33
|
+
var(--stroke)
|
|
34
|
+
100% no-repeat;
|
|
35
|
+
filter: var(--drawn);
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
}
|
|
38
|
+
/* Drawn as a list, it is still a column of links, with no bullets. */
|
|
39
|
+
.SideNav:where(ul, ol) {
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
list-style: none;
|
|
43
|
+
}
|
|
44
|
+
.SideNav_Link {
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
position: relative;
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
gap: .65rem;
|
|
50
|
+
padding: .45rem .6rem;
|
|
51
|
+
border: 1px solid transparent;
|
|
52
|
+
border-radius: var(--radius);
|
|
53
|
+
background: transparent;
|
|
54
|
+
color: var(--text);
|
|
55
|
+
font: inherit;
|
|
56
|
+
font-weight: 700;
|
|
57
|
+
text-align: left;
|
|
58
|
+
text-decoration: none;
|
|
59
|
+
-webkit-user-select: none;
|
|
60
|
+
user-select: none;
|
|
61
|
+
}
|
|
62
|
+
/* The slot a link's icon sits centered in, one width whatever the icon, so
|
|
63
|
+
every link's words start at one place. */
|
|
64
|
+
.SideNav_Mark {
|
|
65
|
+
display: grid;
|
|
66
|
+
flex: none;
|
|
67
|
+
place-items: center;
|
|
68
|
+
width: 1.5rem;
|
|
69
|
+
}
|
|
70
|
+
/* Only a link or button is pressed; a row drawn as a link holds its own
|
|
71
|
+
presses (a space's member, with theirs). */
|
|
72
|
+
.SideNav_Link:where(a, button) {
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
}
|
|
75
|
+
.SideNav_Link:where(button) {
|
|
76
|
+
width: 100%;
|
|
77
|
+
}
|
|
78
|
+
/* A link's words may shrink, so a line under them is cut, not the row. */
|
|
79
|
+
.SideNav_Label {
|
|
80
|
+
min-width: 0;
|
|
81
|
+
}
|
|
82
|
+
.SideNav_Label:has(> .SideNav_Note) {
|
|
83
|
+
line-height: 1.25;
|
|
84
|
+
}
|
|
85
|
+
/* A line under a link's words, quieter: when someone was last on, what
|
|
86
|
+
they last said. */
|
|
87
|
+
.SideNav_Note {
|
|
88
|
+
display: block;
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
color: var(--muted);
|
|
91
|
+
font-size: var(--fine, var(--small));
|
|
92
|
+
font-weight: 400;
|
|
93
|
+
white-space: nowrap;
|
|
94
|
+
text-overflow: ellipsis;
|
|
95
|
+
}
|
|
96
|
+
@media (hover: hover) and (pointer: fine) {
|
|
97
|
+
.SideNav_Link:where(a, button):hover:not(.SideNav_Link-on) {
|
|
98
|
+
background: color-mix(in srgb, var(--card) 60%, transparent);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
.SideNav_Link-hover:not(.SideNav_Link-on) {
|
|
102
|
+
background: color-mix(in srgb, var(--card) 60%, transparent);
|
|
103
|
+
}
|
|
104
|
+
.SideNav_Link-on {
|
|
105
|
+
background: var(--nav-panel);
|
|
106
|
+
color: var(--text);
|
|
107
|
+
z-index: 1;
|
|
108
|
+
}
|
|
109
|
+
.SideNav_Link-on::after {
|
|
110
|
+
content: '';
|
|
111
|
+
position: absolute;
|
|
112
|
+
inset: -1px;
|
|
113
|
+
border: var(--stroke) solid var(--graphite);
|
|
114
|
+
border-right-width: var(--nav-shut);
|
|
115
|
+
border-radius: var(--radius) var(--nav-tip) var(--nav-tip) var(--radius);
|
|
116
|
+
filter: var(--drawn);
|
|
117
|
+
pointer-events: none;
|
|
118
|
+
}
|
|
119
|
+
/* The gap the current tab opens in the edge. */
|
|
120
|
+
.SideNav_Link-on::before {
|
|
121
|
+
content: '';
|
|
122
|
+
position: absolute;
|
|
123
|
+
inset: 2px calc(-1.5 * var(--room)) 2px auto;
|
|
124
|
+
width: calc(3 * var(--room));
|
|
125
|
+
background: var(--nav-panel);
|
|
126
|
+
}
|
|
127
|
+
/* A rule between groups of links, stopping short of the edge. */
|
|
128
|
+
.SideNav_Rule {
|
|
129
|
+
height: calc(var(--stroke) + 2 * var(--room));
|
|
130
|
+
margin: calc(1rem - var(--room)) .6rem;
|
|
131
|
+
border: 0;
|
|
132
|
+
background: var(--rule);
|
|
133
|
+
filter: var(--drawn);
|
|
134
|
+
}
|
|
135
|
+
/* A nav beside no panel: no edge, its current link a closed box. */
|
|
136
|
+
.SideNav-alone {
|
|
137
|
+
--nav-panel: transparent;
|
|
138
|
+
--nav-edge: transparent;
|
|
139
|
+
--nav-shut: var(--stroke);
|
|
140
|
+
--nav-tip: var(--radius);
|
|
141
|
+
}
|
|
142
|
+
@media (max-width: 700px) {
|
|
143
|
+
.SideNav_Edge::after {
|
|
144
|
+
content: none;
|
|
145
|
+
}
|
|
146
|
+
.SideNav {
|
|
147
|
+
--nav-panel: transparent;
|
|
148
|
+
--nav-edge: transparent;
|
|
149
|
+
--nav-shut: var(--stroke);
|
|
150
|
+
--nav-tip: var(--radius);
|
|
151
|
+
}
|
|
152
|
+
.SideNav:not(.SideNav-column) {
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-wrap: wrap;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
/* The column collapsed to a rail of its icons: each link a square around
|
|
158
|
+
its icon, its label kept for a screen reader and said by its title. A
|
|
159
|
+
phone's row has its words, whatever the rail. */
|
|
160
|
+
@media (min-width: 701px) {
|
|
161
|
+
.SideNav-rail .SideNav_Link {
|
|
162
|
+
justify-content: center;
|
|
163
|
+
padding-inline: .6rem;
|
|
164
|
+
}
|
|
165
|
+
.SideNav-rail .SideNav_Label {
|
|
166
|
+
position: absolute;
|
|
167
|
+
width: 1px;
|
|
168
|
+
height: 1px;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
clip-path: inset(50%);
|
|
171
|
+
white-space: nowrap;
|
|
172
|
+
}
|
|
173
|
+
}
|
package/pencil/State.css
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* Active labels use muted text. The dot carries the working tone. */
|
|
2
|
+
.State {
|
|
3
|
+
gap: 0.35rem;
|
|
4
|
+
color: var(--state, var(--muted));
|
|
5
|
+
font-size: var(--fine, var(--small));
|
|
6
|
+
font-weight: 700;
|
|
7
|
+
}
|
|
8
|
+
.State > .Dot {
|
|
9
|
+
width: 0.5rem;
|
|
10
|
+
height: 0.5rem;
|
|
11
|
+
border: 0;
|
|
12
|
+
}
|
|
13
|
+
.State-positive,
|
|
14
|
+
.State-accent {
|
|
15
|
+
--state: var(--accent);
|
|
16
|
+
}
|
|
17
|
+
.State-negative {
|
|
18
|
+
--state: var(--negative);
|
|
19
|
+
}
|
|
20
|
+
.State-info {
|
|
21
|
+
--state: var(--info);
|
|
22
|
+
}
|
|
23
|
+
.State-caution {
|
|
24
|
+
--state: var(--caution);
|
|
25
|
+
}
|
|
26
|
+
.State-special {
|
|
27
|
+
--state: var(--special);
|
|
28
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* Pencil paint for every surface, independent of the parts a page wears. */
|
|
2
|
+
:root {
|
|
3
|
+
/* The tile carries its own opacity so it can also paint scroll backgrounds. */
|
|
4
|
+
--grain: url(paper.webp);
|
|
5
|
+
--grain-opacity: 1;
|
|
6
|
+
/* A surface's fill: its colour with the paper's texture over it, as one
|
|
7
|
+
background. Every surface fills with one of these, and whatever opens
|
|
8
|
+
into a surface (a sidebar's current tab, a lit tab, a gap in an edge)
|
|
9
|
+
fills with that surface's, so the two cannot differ. A part never pairs
|
|
10
|
+
a colour with the grain itself. --texture is none where the grain lies
|
|
11
|
+
over the whole page, and the grain where each pane paints its own. */
|
|
12
|
+
--texture: none;
|
|
13
|
+
--bg-fill: var(--texture), var(--bg);
|
|
14
|
+
--surface-fill: var(--texture), var(--surface);
|
|
15
|
+
--card-fill: var(--texture), var(--card);
|
|
16
|
+
--popover-background: var(--bg-fill);
|
|
17
|
+
--drawn: url(pencil.svg#line);
|
|
18
|
+
--surface-outline: '';
|
|
19
|
+
--surface-border: transparent;
|
|
20
|
+
--edge-width: var(--stroke);
|
|
21
|
+
--edge-color: var(--graphite);
|
|
22
|
+
--edge-filter: var(--drawn);
|
|
23
|
+
--well-filter: url(pencil.svg#edge);
|
|
24
|
+
--raised-shadow: none;
|
|
25
|
+
--raised-hatch: var(--hatch); /* its lines, as a mask */
|
|
26
|
+
--raised-ink: var(--text); /* what they are drawn in */
|
|
27
|
+
--raised-lift: 4px;
|
|
28
|
+
--raised-hover-lift: 5px;
|
|
29
|
+
--raised-down-lift: 1.5px;
|
|
30
|
+
--press-shift: translate(-1px, -1px);
|
|
31
|
+
--press-down: translate(2.5px, 2.5px);
|
|
32
|
+
--press-wash: white;
|
|
33
|
+
--press-wash-weight: 10%;
|
|
34
|
+
--hover: var(--well);
|
|
35
|
+
|
|
36
|
+
--graphite: color-mix(in srgb, var(--text) 88%, transparent);
|
|
37
|
+
--stroke: 1.5px; /* the weight of a drawn line */
|
|
38
|
+
--lift: 4px; /* how far what can be pressed sits off its hatch */
|
|
39
|
+
--hatch: repeating-linear-gradient(-45deg, var(--graphite) 0 1px,
|
|
40
|
+
transparent 1px 3px);
|
|
41
|
+
/* A drawn rule is a line through the middle of a box --room taller on
|
|
42
|
+
each side, so the pencil's wander stays inside what it draws. */
|
|
43
|
+
--room: 4px;
|
|
44
|
+
--rule: linear-gradient(var(--graphite) 0 0) center / 100% var(--stroke)
|
|
45
|
+
no-repeat;
|
|
46
|
+
/* A well: a fill a little darker than the paper, pressed in. */
|
|
47
|
+
--well: light-dark(
|
|
48
|
+
color-mix(in srgb, var(--card), var(--border) 45%),
|
|
49
|
+
color-mix(in srgb, var(--card), var(--bg) 65%)
|
|
50
|
+
);
|
|
51
|
+
--shade: light-dark(
|
|
52
|
+
color-mix(in srgb, #523828 24%, transparent),
|
|
53
|
+
color-mix(in srgb, #1d1714 70%, transparent)
|
|
54
|
+
); /* coffee; soot: what a well's hollow is */
|
|
55
|
+
--hollow: inset 0 2px 4px var(--shade); /* how deep a well sits */
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* In an active Shell the panes scroll apart, so the grain cannot lie over the page:
|
|
59
|
+
each surface paints it, scrolling with what it holds (`local`). Panes beside
|
|
60
|
+
each other then meet in two tiles that do not line up, which noise hides,
|
|
61
|
+
but never in two tones, which it does not: a tab opening into a pane is
|
|
62
|
+
attached to itself, so it keeps the pane's fill however either scrolls.
|
|
63
|
+
An inert view can warm its Shell while the page still wears the overlay. */
|
|
64
|
+
:root:has(.Shell:not(:where([inert], [inert] *))) {
|
|
65
|
+
--texture: var(--grain) 0 0 / 256px local;
|
|
66
|
+
}
|
|
67
|
+
:root:has(.Shell:not(:where([inert], [inert] *)))::after {
|
|
68
|
+
content: none;
|
|
69
|
+
}
|
package/pencil/Tabs.css
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/* Pencil's tabs: physical tabs on one sheet. Each tab is drawn in pencil on
|
|
2
|
+
its top and sides; the panel's own top line is every tab's foot, and the
|
|
3
|
+
lit tab covers it, so tab and panel are one sheet. In a set (`TabSet`)
|
|
4
|
+
native radios own selection, arrow keys too, so it works without script:
|
|
5
|
+
the checked radio's tab is the lit one. */
|
|
6
|
+
.Tabs {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
column-gap: .3rem;
|
|
10
|
+
position: relative;
|
|
11
|
+
min-width: 0;
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
border: 0;
|
|
15
|
+
}
|
|
16
|
+
.Tabs_Legend {
|
|
17
|
+
margin-bottom: 1rem;
|
|
18
|
+
padding: 0;
|
|
19
|
+
color: var(--text);
|
|
20
|
+
font-weight: 800;
|
|
21
|
+
text-align: left;
|
|
22
|
+
}
|
|
23
|
+
.Tabs_Item {
|
|
24
|
+
display: contents;
|
|
25
|
+
}
|
|
26
|
+
.Tabs_Input {
|
|
27
|
+
position: absolute;
|
|
28
|
+
width: 1px;
|
|
29
|
+
height: 1px;
|
|
30
|
+
opacity: 0;
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
}
|
|
33
|
+
.Tabs_Tab {
|
|
34
|
+
flex: 1 1 auto;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
position: relative;
|
|
39
|
+
min-width: 0;
|
|
40
|
+
min-height: 3rem;
|
|
41
|
+
overflow-wrap: normal;
|
|
42
|
+
margin: .35rem 0 0;
|
|
43
|
+
padding: .55rem .45rem;
|
|
44
|
+
border: 1px solid transparent;
|
|
45
|
+
border-bottom: 0;
|
|
46
|
+
border-radius: var(--radius) var(--radius) 0 0;
|
|
47
|
+
background: var(--surface-fill);
|
|
48
|
+
color: var(--muted);
|
|
49
|
+
font: inherit; /* a button's, as a label's is */
|
|
50
|
+
font-size: .85rem;
|
|
51
|
+
font-weight: 700;
|
|
52
|
+
line-height: 1.25;
|
|
53
|
+
text-align: center;
|
|
54
|
+
text-decoration: none; /* a tab that links reads as a tab */
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
-webkit-user-select: none;
|
|
57
|
+
user-select: none;
|
|
58
|
+
}
|
|
59
|
+
.Tabs_Tab::after {
|
|
60
|
+
content: '';
|
|
61
|
+
position: absolute;
|
|
62
|
+
inset: -1px -1px 0;
|
|
63
|
+
border: var(--stroke) solid var(--graphite);
|
|
64
|
+
border-bottom: 0;
|
|
65
|
+
border-radius: var(--radius) var(--radius) 0 0;
|
|
66
|
+
filter: var(--drawn);
|
|
67
|
+
pointer-events: none;
|
|
68
|
+
}
|
|
69
|
+
@media (max-width: 480px) {
|
|
70
|
+
.Tabs_Tab {
|
|
71
|
+
padding-inline: .3rem;
|
|
72
|
+
font-size: .8rem;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
@media (hover: hover) and (pointer: fine) {
|
|
76
|
+
.Tabs_Tab:hover {
|
|
77
|
+
color: var(--text);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
.Tabs_Tab-hover {
|
|
81
|
+
color: var(--text);
|
|
82
|
+
}
|
|
83
|
+
.Tabs_Panel {
|
|
84
|
+
order: 1;
|
|
85
|
+
flex: 1 1 100%;
|
|
86
|
+
min-width: 0;
|
|
87
|
+
position: relative;
|
|
88
|
+
margin: 0;
|
|
89
|
+
text-align: left;
|
|
90
|
+
z-index: 1;
|
|
91
|
+
}
|
|
92
|
+
.Tabs_Tab-on,
|
|
93
|
+
.Tabs_Input:checked ~ .Tabs_Tab {
|
|
94
|
+
margin-top: 0;
|
|
95
|
+
padding-top: .9rem;
|
|
96
|
+
background: var(--card-fill);
|
|
97
|
+
color: var(--text);
|
|
98
|
+
z-index: 2;
|
|
99
|
+
}
|
|
100
|
+
/* The gap the lit tab opens in the panel's line. It stops short of the
|
|
101
|
+
tab's sides, so they meet the line, and the first tab's meets the panel's
|
|
102
|
+
corner. */
|
|
103
|
+
.Tabs_Tab-on::before,
|
|
104
|
+
.Tabs_Input:checked ~ .Tabs_Tab::before {
|
|
105
|
+
content: '';
|
|
106
|
+
position: absolute;
|
|
107
|
+
inset: auto 2px calc(-1.5 * var(--room));
|
|
108
|
+
height: calc(3 * var(--room));
|
|
109
|
+
background: var(--card-fill);
|
|
110
|
+
}
|
|
111
|
+
/* Only the checked radio's panel shows. Hiding the rest outranks a card's
|
|
112
|
+
own display, wherever the card's rule comes. */
|
|
113
|
+
.Tabs_Input:not(:checked) ~ .Tabs_Panel {
|
|
114
|
+
display: none;
|
|
115
|
+
}
|
|
116
|
+
.Tabs_Input:checked ~ .Tabs_Panel {
|
|
117
|
+
display: grid;
|
|
118
|
+
}
|
|
119
|
+
.Tabs_Input:focus-visible ~ .Tabs_Tab {
|
|
120
|
+
outline: 3px solid var(--accent);
|
|
121
|
+
outline-offset: -5px;
|
|
122
|
+
}
|
|
123
|
+
/* Raised like a superscript; the shift is paint only, so the line keeps
|
|
124
|
+
its height. */
|
|
125
|
+
.Tabs_Badge {
|
|
126
|
+
position: relative;
|
|
127
|
+
top: -0.5em;
|
|
128
|
+
min-width: 1.1em;
|
|
129
|
+
padding: 0 0.25em;
|
|
130
|
+
border-radius: 1em;
|
|
131
|
+
background: var(--accent);
|
|
132
|
+
color: var(--bg);
|
|
133
|
+
font-size: 0.65em;
|
|
134
|
+
line-height: 1.5;
|
|
135
|
+
font-variant-numeric: tabular-nums;
|
|
136
|
+
text-align: center;
|
|
137
|
+
}
|
package/pencil/base.css
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* Document defaults. Surface.css supplies the skin's shared paint. */
|
|
2
|
+
:where(body) {
|
|
3
|
+
margin: 0;
|
|
4
|
+
background: var(--bg);
|
|
5
|
+
color: var(--text);
|
|
6
|
+
font: var(--size) / 1.6 var(--font);
|
|
7
|
+
-webkit-font-smoothing: antialiased;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:where([hidden]) {
|
|
11
|
+
display: none !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* A control is pressed, not read: clicking or tapping one never selects its
|
|
15
|
+
words. Links in prose, addresses, numbers and code stay selectable. */
|
|
16
|
+
:where(button, summary, label, select, [role='button'], [role='tab'], [role='menuitem'], .Button) {
|
|
17
|
+
-webkit-user-select: none;
|
|
18
|
+
user-select: none;
|
|
19
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<!-- The pencil every drawn line goes through (pencil/base.css, the
|
|
3
|
+
pencil's tokens). The line is drawn twice: once firmly, with a slow, slight
|
|
4
|
+
wander, so a straight line reads as drawn against a ruler rather than
|
|
5
|
+
set by a machine, and once faintly, a little further off true. The
|
|
6
|
+
paper's tooth then thins the graphite where the paper is rough.
|
|
7
|
+
|
|
8
|
+
A displacement moves each pixel by a whole pixel, the nearest, so a
|
|
9
|
+
line that wanders by a pixel or two steps from row to row, and where
|
|
10
|
+
the wander changes across the line a row of it is moved out from under
|
|
11
|
+
itself and leaves a hole. So each line is displaced four times (the
|
|
12
|
+
faint one twice), each a quarter of a pixel further along, and the
|
|
13
|
+
copies averaged: a step becomes a slope in four shades, and no row is
|
|
14
|
+
lost from all four. A blur of a third of a pixel softens what is left,
|
|
15
|
+
and a gain on the alpha gives the line back its weight.
|
|
16
|
+
|
|
17
|
+
`line` draws all it is given: a rule, an outline, a mark. `edge` is
|
|
18
|
+
for a filled box (a field's well and what is typed in it): it draws
|
|
19
|
+
only the edge and keeps what lies more than 4px inside exactly as it
|
|
20
|
+
is. Keeping the inside is most of the filter's cost to the browser,
|
|
21
|
+
which works it out again for each element each time a view shows, so
|
|
22
|
+
a line never goes through `edge`.
|
|
23
|
+
|
|
24
|
+
A browser that cannot load this draws the same lines clean. -->
|
|
25
|
+
<filter id="line" color-interpolation-filters="sRGB">
|
|
26
|
+
<feTurbulence type="fractalNoise" baseFrequency=".015" numOctaves="2"
|
|
27
|
+
seed="2" />
|
|
28
|
+
<feColorMatrix type="matrix" result="wander"
|
|
29
|
+
values="1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1" />
|
|
30
|
+
<!-- The firm line: scale 3, so a pixel is a third of the map. -->
|
|
31
|
+
<feComponentTransfer in="wander" result="w1">
|
|
32
|
+
<feFuncR type="linear" intercept="-.125" />
|
|
33
|
+
<feFuncG type="linear" intercept="-.125" />
|
|
34
|
+
</feComponentTransfer>
|
|
35
|
+
<feComponentTransfer in="wander" result="w2">
|
|
36
|
+
<feFuncR type="linear" intercept="-.0417" />
|
|
37
|
+
<feFuncG type="linear" intercept="-.0417" />
|
|
38
|
+
</feComponentTransfer>
|
|
39
|
+
<feComponentTransfer in="wander" result="w3">
|
|
40
|
+
<feFuncR type="linear" intercept=".0417" />
|
|
41
|
+
<feFuncG type="linear" intercept=".0417" />
|
|
42
|
+
</feComponentTransfer>
|
|
43
|
+
<feComponentTransfer in="wander" result="w4">
|
|
44
|
+
<feFuncR type="linear" intercept=".125" />
|
|
45
|
+
<feFuncG type="linear" intercept=".125" />
|
|
46
|
+
</feComponentTransfer>
|
|
47
|
+
<feDisplacementMap in="SourceGraphic" in2="w1" scale="3"
|
|
48
|
+
xChannelSelector="R" yChannelSelector="G" result="d1" />
|
|
49
|
+
<feDisplacementMap in="SourceGraphic" in2="w2" scale="3"
|
|
50
|
+
xChannelSelector="R" yChannelSelector="G" result="d2" />
|
|
51
|
+
<feDisplacementMap in="SourceGraphic" in2="w3" scale="3"
|
|
52
|
+
xChannelSelector="R" yChannelSelector="G" result="d3" />
|
|
53
|
+
<feDisplacementMap in="SourceGraphic" in2="w4" scale="3"
|
|
54
|
+
xChannelSelector="R" yChannelSelector="G" result="d4" />
|
|
55
|
+
<feComposite in="d1" in2="d2" operator="arithmetic" k2=".5" k3=".5"
|
|
56
|
+
result="d12" />
|
|
57
|
+
<feComposite in="d3" in2="d4" operator="arithmetic" k2=".5" k3=".5"
|
|
58
|
+
result="d34" />
|
|
59
|
+
<feComposite in="d12" in2="d34" operator="arithmetic" k2=".5" k3=".5"
|
|
60
|
+
result="firm" />
|
|
61
|
+
|
|
62
|
+
<!-- The faint line: its own wander, scale 7, half a pixel apart. -->
|
|
63
|
+
<feTurbulence type="fractalNoise" baseFrequency=".02" numOctaves="2"
|
|
64
|
+
seed="41" />
|
|
65
|
+
<feColorMatrix type="matrix" result="stray"
|
|
66
|
+
values="1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1" />
|
|
67
|
+
<feComponentTransfer in="stray" result="s1">
|
|
68
|
+
<feFuncR type="linear" intercept="-.0357" />
|
|
69
|
+
<feFuncG type="linear" intercept="-.0357" />
|
|
70
|
+
</feComponentTransfer>
|
|
71
|
+
<feComponentTransfer in="stray" result="s2">
|
|
72
|
+
<feFuncR type="linear" intercept=".0357" />
|
|
73
|
+
<feFuncG type="linear" intercept=".0357" />
|
|
74
|
+
</feComponentTransfer>
|
|
75
|
+
<feDisplacementMap in="SourceGraphic" in2="s1" scale="7"
|
|
76
|
+
xChannelSelector="R" yChannelSelector="G" result="e1" />
|
|
77
|
+
<feDisplacementMap in="SourceGraphic" in2="s2" scale="7"
|
|
78
|
+
xChannelSelector="R" yChannelSelector="G" result="e2" />
|
|
79
|
+
<feComposite in="e1" in2="e2" operator="arithmetic" k2=".5" k3=".5"
|
|
80
|
+
result="loose" />
|
|
81
|
+
<feComponentTransfer in="loose" result="faint">
|
|
82
|
+
<feFuncA type="linear" slope=".45" />
|
|
83
|
+
</feComponentTransfer>
|
|
84
|
+
|
|
85
|
+
<feMerge result="both">
|
|
86
|
+
<feMergeNode in="faint" />
|
|
87
|
+
<feMergeNode in="firm" />
|
|
88
|
+
</feMerge>
|
|
89
|
+
<feTurbulence type="fractalNoise" baseFrequency=".6" numOctaves="2"
|
|
90
|
+
seed="9" result="tooth" />
|
|
91
|
+
<feColorMatrix in="tooth" type="matrix" result="grain"
|
|
92
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 .35" />
|
|
93
|
+
<feComposite in="both" in2="grain" operator="in" />
|
|
94
|
+
<feGaussianBlur stdDeviation=".3" />
|
|
95
|
+
<feComponentTransfer result="drawn">
|
|
96
|
+
<feFuncA type="linear" slope="1.3" />
|
|
97
|
+
</feComponentTransfer>
|
|
98
|
+
</filter>
|
|
99
|
+
<filter id="edge" color-interpolation-filters="sRGB">
|
|
100
|
+
<feTurbulence type="fractalNoise" baseFrequency=".015" numOctaves="2"
|
|
101
|
+
seed="2" />
|
|
102
|
+
<feColorMatrix type="matrix" result="wander"
|
|
103
|
+
values="1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1" />
|
|
104
|
+
<!-- The firm line: scale 3, so a pixel is a third of the map. -->
|
|
105
|
+
<feComponentTransfer in="wander" result="w1">
|
|
106
|
+
<feFuncR type="linear" intercept="-.125" />
|
|
107
|
+
<feFuncG type="linear" intercept="-.125" />
|
|
108
|
+
</feComponentTransfer>
|
|
109
|
+
<feComponentTransfer in="wander" result="w2">
|
|
110
|
+
<feFuncR type="linear" intercept="-.0417" />
|
|
111
|
+
<feFuncG type="linear" intercept="-.0417" />
|
|
112
|
+
</feComponentTransfer>
|
|
113
|
+
<feComponentTransfer in="wander" result="w3">
|
|
114
|
+
<feFuncR type="linear" intercept=".0417" />
|
|
115
|
+
<feFuncG type="linear" intercept=".0417" />
|
|
116
|
+
</feComponentTransfer>
|
|
117
|
+
<feComponentTransfer in="wander" result="w4">
|
|
118
|
+
<feFuncR type="linear" intercept=".125" />
|
|
119
|
+
<feFuncG type="linear" intercept=".125" />
|
|
120
|
+
</feComponentTransfer>
|
|
121
|
+
<feDisplacementMap in="SourceGraphic" in2="w1" scale="3"
|
|
122
|
+
xChannelSelector="R" yChannelSelector="G" result="d1" />
|
|
123
|
+
<feDisplacementMap in="SourceGraphic" in2="w2" scale="3"
|
|
124
|
+
xChannelSelector="R" yChannelSelector="G" result="d2" />
|
|
125
|
+
<feDisplacementMap in="SourceGraphic" in2="w3" scale="3"
|
|
126
|
+
xChannelSelector="R" yChannelSelector="G" result="d3" />
|
|
127
|
+
<feDisplacementMap in="SourceGraphic" in2="w4" scale="3"
|
|
128
|
+
xChannelSelector="R" yChannelSelector="G" result="d4" />
|
|
129
|
+
<feComposite in="d1" in2="d2" operator="arithmetic" k2=".5" k3=".5"
|
|
130
|
+
result="d12" />
|
|
131
|
+
<feComposite in="d3" in2="d4" operator="arithmetic" k2=".5" k3=".5"
|
|
132
|
+
result="d34" />
|
|
133
|
+
<feComposite in="d12" in2="d34" operator="arithmetic" k2=".5" k3=".5"
|
|
134
|
+
result="firm" />
|
|
135
|
+
|
|
136
|
+
<!-- The faint line: its own wander, scale 7, half a pixel apart. -->
|
|
137
|
+
<feTurbulence type="fractalNoise" baseFrequency=".02" numOctaves="2"
|
|
138
|
+
seed="41" />
|
|
139
|
+
<feColorMatrix type="matrix" result="stray"
|
|
140
|
+
values="1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1" />
|
|
141
|
+
<feComponentTransfer in="stray" result="s1">
|
|
142
|
+
<feFuncR type="linear" intercept="-.0357" />
|
|
143
|
+
<feFuncG type="linear" intercept="-.0357" />
|
|
144
|
+
</feComponentTransfer>
|
|
145
|
+
<feComponentTransfer in="stray" result="s2">
|
|
146
|
+
<feFuncR type="linear" intercept=".0357" />
|
|
147
|
+
<feFuncG type="linear" intercept=".0357" />
|
|
148
|
+
</feComponentTransfer>
|
|
149
|
+
<feDisplacementMap in="SourceGraphic" in2="s1" scale="7"
|
|
150
|
+
xChannelSelector="R" yChannelSelector="G" result="e1" />
|
|
151
|
+
<feDisplacementMap in="SourceGraphic" in2="s2" scale="7"
|
|
152
|
+
xChannelSelector="R" yChannelSelector="G" result="e2" />
|
|
153
|
+
<feComposite in="e1" in2="e2" operator="arithmetic" k2=".5" k3=".5"
|
|
154
|
+
result="loose" />
|
|
155
|
+
<feComponentTransfer in="loose" result="faint">
|
|
156
|
+
<feFuncA type="linear" slope=".45" />
|
|
157
|
+
</feComponentTransfer>
|
|
158
|
+
|
|
159
|
+
<feMerge result="both">
|
|
160
|
+
<feMergeNode in="faint" />
|
|
161
|
+
<feMergeNode in="firm" />
|
|
162
|
+
</feMerge>
|
|
163
|
+
<feTurbulence type="fractalNoise" baseFrequency=".6" numOctaves="2"
|
|
164
|
+
seed="9" result="tooth" />
|
|
165
|
+
<feColorMatrix in="tooth" type="matrix" result="grain"
|
|
166
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 .35" />
|
|
167
|
+
<feComposite in="both" in2="grain" operator="in" />
|
|
168
|
+
<feGaussianBlur stdDeviation=".3" />
|
|
169
|
+
<feComponentTransfer result="drawn">
|
|
170
|
+
<feFuncA type="linear" slope="1.3" />
|
|
171
|
+
</feComponentTransfer>
|
|
172
|
+
<feMorphology in="SourceAlpha" operator="erode" radius="4"
|
|
173
|
+
result="inside" />
|
|
174
|
+
<feComposite in="SourceGraphic" in2="inside" operator="in" result="kept" />
|
|
175
|
+
<feComposite in="drawn" in2="inside" operator="out" result="edge" />
|
|
176
|
+
<feMerge>
|
|
177
|
+
<feMergeNode in="edge" />
|
|
178
|
+
<feMergeNode in="kept" />
|
|
179
|
+
</feMerge>
|
|
180
|
+
</filter>
|
|
181
|
+
</svg>
|
package/pencil.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/** Pencil, yaks.app's skin. Its Surface entry sets the shared paint: drawn
|
|
2
|
+
* edges, hatched elevation and inset wells. Those tokens reach every kit,
|
|
3
|
+
* including parts this skin does not name. Entries below supply layout and
|
|
4
|
+
* component-specific details. */ import { beside } from "./theme.js";
|
|
5
|
+
let at = beside(import.meta.url);
|
|
6
|
+
export let pencil = {
|
|
7
|
+
Surface: {
|
|
8
|
+
over: at('./pencil/Surface.css')
|
|
9
|
+
},
|
|
10
|
+
base: {
|
|
11
|
+
css: at('./pencil/base.css'),
|
|
12
|
+
over: at('./paper/grain.css')
|
|
13
|
+
},
|
|
14
|
+
Tabs: {
|
|
15
|
+
css: at('./pencil/Tabs.css')
|
|
16
|
+
},
|
|
17
|
+
SideNav: {
|
|
18
|
+
css: at('./pencil/SideNav.css')
|
|
19
|
+
},
|
|
20
|
+
Body: {
|
|
21
|
+
over: at('./pencil/Body.css')
|
|
22
|
+
},
|
|
23
|
+
Field: {
|
|
24
|
+
css: at('./pencil/Field.css')
|
|
25
|
+
},
|
|
26
|
+
At: {
|
|
27
|
+
css: at('./pencil/At.css')
|
|
28
|
+
},
|
|
29
|
+
Check: {
|
|
30
|
+
css: at('./pencil/Check.css')
|
|
31
|
+
},
|
|
32
|
+
Form: {
|
|
33
|
+
css: at('./pencil/Form.css')
|
|
34
|
+
},
|
|
35
|
+
Drop: {
|
|
36
|
+
css: at('./pencil/Drop.css')
|
|
37
|
+
},
|
|
38
|
+
Menu: {
|
|
39
|
+
over: at('./pencil/Menu.css')
|
|
40
|
+
},
|
|
41
|
+
More: {
|
|
42
|
+
over: at('./pencil/More.css')
|
|
43
|
+
},
|
|
44
|
+
Button: {
|
|
45
|
+
css: at('./pencil/Button.css')
|
|
46
|
+
},
|
|
47
|
+
Chip: {
|
|
48
|
+
css: at('./pencil/Chip.css')
|
|
49
|
+
},
|
|
50
|
+
Chips: {
|
|
51
|
+
css: at('./pencil/Chips.css')
|
|
52
|
+
},
|
|
53
|
+
Address: {
|
|
54
|
+
over: at('./pencil/Address.css')
|
|
55
|
+
},
|
|
56
|
+
Copy: {
|
|
57
|
+
css: at('./pencil/Copy.css')
|
|
58
|
+
},
|
|
59
|
+
Card: {
|
|
60
|
+
css: at('./pencil/Card.css')
|
|
61
|
+
},
|
|
62
|
+
Report: {
|
|
63
|
+
over: at('./pencil/Report.css')
|
|
64
|
+
},
|
|
65
|
+
Empty: {
|
|
66
|
+
css: at('./pencil/Empty.css')
|
|
67
|
+
},
|
|
68
|
+
Rows: {
|
|
69
|
+
over: at('./pencil/Rows.css')
|
|
70
|
+
},
|
|
71
|
+
State: {
|
|
72
|
+
over: at('./pencil/State.css')
|
|
73
|
+
},
|
|
74
|
+
Chart: {
|
|
75
|
+
over: at('./pencil/Chart.css')
|
|
76
|
+
},
|
|
77
|
+
Loading: {
|
|
78
|
+
css: at('./pencil/Loading.css')
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=pencil.js.map
|