@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/ErrorNotice.css
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
.ErrorNotice {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
gap: var(--half-gap);
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
min-inline-size: 0;
|
|
8
|
+
border: 1px solid var(--negative);
|
|
9
|
+
border-radius: var(--radius);
|
|
10
|
+
padding: var(--half-gap);
|
|
11
|
+
background: color-mix(in srgb, var(--negative) 8%, var(--bg));
|
|
12
|
+
color: var(--text);
|
|
13
|
+
text-align: start;
|
|
14
|
+
font-size: var(--small);
|
|
15
|
+
overflow-wrap: anywhere;
|
|
16
|
+
}
|
|
17
|
+
.ErrorNotice_Mark {
|
|
18
|
+
flex: none;
|
|
19
|
+
margin-block-start: .12em;
|
|
20
|
+
color: var(--negative);
|
|
21
|
+
}
|
|
22
|
+
.ErrorNotice_Text {
|
|
23
|
+
flex: 1 1 auto;
|
|
24
|
+
min-inline-size: 0;
|
|
25
|
+
}
|
|
26
|
+
.ErrorNotice_Dismiss {
|
|
27
|
+
flex: none;
|
|
28
|
+
}
|
|
29
|
+
.ErrorNotice-float {
|
|
30
|
+
inline-size: max-content;
|
|
31
|
+
max-inline-size: min(27rem, calc(100vw - 1rem));
|
|
32
|
+
box-shadow: var(--shadow);
|
|
33
|
+
}
|
|
34
|
+
.ErrorNotice:has(.ErrorNotice_Text:empty) {
|
|
35
|
+
position: absolute;
|
|
36
|
+
inline-size: 0;
|
|
37
|
+
block-size: 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
border: 0;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
}
|
|
42
|
+
.ErrorNotice:has(.ErrorNotice_Text:empty) :is(.ErrorNotice_Mark, .ErrorNotice_Dismiss),
|
|
43
|
+
.ErrorNotice_Dismiss[hidden] {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
.ErrorNotice_Slot {
|
|
47
|
+
position: relative;
|
|
48
|
+
flex: none;
|
|
49
|
+
inline-size: 100%;
|
|
50
|
+
block-size: 0;
|
|
51
|
+
min-inline-size: 0;
|
|
52
|
+
justify-self: stretch;
|
|
53
|
+
}
|
|
54
|
+
.ErrorNotice_Slot > .ErrorNotice {
|
|
55
|
+
position: absolute;
|
|
56
|
+
z-index: 5;
|
|
57
|
+
inset-block-start: .25rem;
|
|
58
|
+
inset-inline-start: 0;
|
|
59
|
+
box-shadow: var(--shadow);
|
|
60
|
+
}
|
|
61
|
+
.ErrorNotice_Slot > .ErrorNotice:has(.ErrorNotice_Text:not(:empty)) {
|
|
62
|
+
inline-size: min(100%, 30rem);
|
|
63
|
+
}
|
|
64
|
+
.ErrorNotice_Slot-above > .ErrorNotice {
|
|
65
|
+
inset-block: auto .25rem;
|
|
66
|
+
}
|
|
67
|
+
.ErrorNotice_Slot-end {
|
|
68
|
+
flex: none;
|
|
69
|
+
inline-size: 0;
|
|
70
|
+
align-self: end;
|
|
71
|
+
justify-self: end;
|
|
72
|
+
}
|
|
73
|
+
.ErrorNotice_Slot-end > .ErrorNotice {
|
|
74
|
+
inset-inline: auto 0;
|
|
75
|
+
}
|
|
76
|
+
.ErrorNotice_Slot-end > .ErrorNotice:has(.ErrorNotice_Text:not(:empty)) {
|
|
77
|
+
inline-size: min(19rem, 75vw);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* A Rows action leaves the rest of its row available for feedback. */
|
|
81
|
+
.ErrorNotice_Slot-side {
|
|
82
|
+
position: absolute;
|
|
83
|
+
inset-block-start: 50%;
|
|
84
|
+
inset-inline: 0;
|
|
85
|
+
inline-size: auto;
|
|
86
|
+
}
|
|
87
|
+
.ErrorNotice_Slot-side > .ErrorNotice {
|
|
88
|
+
inset-block: 0 auto;
|
|
89
|
+
inset-inline: auto calc(100% + var(--half-gap));
|
|
90
|
+
transform: translateY(-50%);
|
|
91
|
+
}
|
|
92
|
+
.ErrorNotice_Slot-side > .ErrorNotice:has(.ErrorNotice_Text:not(:empty)) {
|
|
93
|
+
inline-size: min(26rem, calc(100cqi - 100% - var(--half-gap)));
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* A full-width space beside controls that have no room for an overlay. */
|
|
97
|
+
.ErrorNotice_Slot-reserved {
|
|
98
|
+
block-size: auto;
|
|
99
|
+
block-size: calc(4lh + var(--gap));
|
|
100
|
+
font-size: var(--small);
|
|
101
|
+
}
|
|
102
|
+
.ErrorNotice_Slot-reserved > .ErrorNotice {
|
|
103
|
+
inset: 0 auto auto 0;
|
|
104
|
+
max-block-size: 100%;
|
|
105
|
+
overflow: auto;
|
|
106
|
+
box-shadow: none;
|
|
107
|
+
}
|
package/ErrorNotice.js
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/** A failure beside an action or across a page. @module */ /* @ts-types="npm:@types/react@19.3.0" */ import { createElement as h } from "react";
|
|
2
|
+
// @ts-types="./lucide.d.ts"
|
|
3
|
+
import alert from "lucide/dist/esm/icons/circle-alert.mjs";
|
|
4
|
+
// @ts-types="./lucide.d.ts"
|
|
5
|
+
import close from "lucide/dist/esm/icons/x.mjs";
|
|
6
|
+
import { el } from "./el.js";
|
|
7
|
+
import { Icon } from "./Icon.js";
|
|
8
|
+
import { Button } from "./Button.js";
|
|
9
|
+
import { Form } from "./Form.js";
|
|
10
|
+
let Frame = el('div', 'ErrorNotice');
|
|
11
|
+
let Text = el('span', 'ErrorNotice_Text');
|
|
12
|
+
let Dismiss = el(Button, 'ErrorNotice_Dismiss');
|
|
13
|
+
let Slot = el('div', 'ErrorNotice_Slot');
|
|
14
|
+
/** A page banner or action feedback in a floating or reserved slot. */ export let ErrorNotice = Object.assign(({ children, onDismiss, ...props })=>/*#__PURE__*/ h(Frame, {
|
|
15
|
+
...props,
|
|
16
|
+
'data-error-notice': ''
|
|
17
|
+
}, /*#__PURE__*/ h(Icon, {
|
|
18
|
+
of: alert,
|
|
19
|
+
className: 'ErrorNotice_Mark'
|
|
20
|
+
}), /*#__PURE__*/ h(Text, {
|
|
21
|
+
role: 'alert',
|
|
22
|
+
'data-error-text': ''
|
|
23
|
+
}, children), /*#__PURE__*/ h(Dismiss, {
|
|
24
|
+
type: 'button',
|
|
25
|
+
mod: 'quiet',
|
|
26
|
+
'aria-label': 'Dismiss error',
|
|
27
|
+
'data-error-dismiss': '',
|
|
28
|
+
hidden: !onDismiss,
|
|
29
|
+
onClick: onDismiss
|
|
30
|
+
}, /*#__PURE__*/ h(Icon, {
|
|
31
|
+
of: close
|
|
32
|
+
}))), {
|
|
33
|
+
Slot
|
|
34
|
+
});
|
|
35
|
+
/** Update an existing notice in a DOM view. Give the notice text meant for
|
|
36
|
+
* the person and send diagnostic details to the tracker at the catch. */ export let showError = (scope, words = '')=>{
|
|
37
|
+
let text = scope?.querySelector('[data-error-text]');
|
|
38
|
+
if (!text || text.textContent == words) return;
|
|
39
|
+
text.textContent = words;
|
|
40
|
+
let button = text.parentElement?.querySelector('[data-error-dismiss]');
|
|
41
|
+
if (button && words) {
|
|
42
|
+
button.hidden = false;
|
|
43
|
+
button.onclick = ()=>showError(text.parentElement);
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
export let description = 'A page failure or a failure beside its action.';
|
|
47
|
+
export let sheet = (c)=>({
|
|
48
|
+
ErrorNotice: {
|
|
49
|
+
row: true,
|
|
50
|
+
spaced: true
|
|
51
|
+
},
|
|
52
|
+
ErrorNotice_Text: {
|
|
53
|
+
fg: c.negative
|
|
54
|
+
},
|
|
55
|
+
ErrorNotice_Slot: {
|
|
56
|
+
col: true
|
|
57
|
+
},
|
|
58
|
+
ErrorNotice_Dismiss: {
|
|
59
|
+
hidden: true
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
// As wide as a dialog's line, so a notice beside it wraps as it would there.
|
|
63
|
+
let wide = {
|
|
64
|
+
inlineSize: '20rem',
|
|
65
|
+
maxInlineSize: '100%'
|
|
66
|
+
};
|
|
67
|
+
export let specimens = ()=>[
|
|
68
|
+
[
|
|
69
|
+
'Page error banner',
|
|
70
|
+
/*#__PURE__*/ h(ErrorNotice, null, 'People could not load. Refresh the page to try again.')
|
|
71
|
+
],
|
|
72
|
+
[
|
|
73
|
+
'Notice in an overlay',
|
|
74
|
+
/*#__PURE__*/ h(ErrorNotice, {
|
|
75
|
+
mod: 'float',
|
|
76
|
+
onDismiss: ()=>{}
|
|
77
|
+
}, 'The invitation could not be sent. Try again.')
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
'Error above the button',
|
|
81
|
+
/*#__PURE__*/ h('div', {
|
|
82
|
+
style: {
|
|
83
|
+
paddingBlockStart: '4rem'
|
|
84
|
+
}
|
|
85
|
+
}, /*#__PURE__*/ h(ErrorNotice.Slot, {
|
|
86
|
+
mod: 'above'
|
|
87
|
+
}, /*#__PURE__*/ h(ErrorNotice, null, 'The message could not be sent. Try again.')), /*#__PURE__*/ h(Button, {
|
|
88
|
+
type: 'button'
|
|
89
|
+
}, 'Send'))
|
|
90
|
+
],
|
|
91
|
+
[
|
|
92
|
+
'Error at the end of an action row',
|
|
93
|
+
/*#__PURE__*/ h('div', {
|
|
94
|
+
style: {
|
|
95
|
+
paddingBlockEnd: '4rem',
|
|
96
|
+
textAlign: 'end'
|
|
97
|
+
}
|
|
98
|
+
}, /*#__PURE__*/ h(Button, {
|
|
99
|
+
type: 'button'
|
|
100
|
+
}, 'Disconnect'), /*#__PURE__*/ h(ErrorNotice.Slot, {
|
|
101
|
+
mod: 'end',
|
|
102
|
+
style: {
|
|
103
|
+
marginInlineStart: 'auto'
|
|
104
|
+
}
|
|
105
|
+
}, /*#__PURE__*/ h(ErrorNotice, null, 'Disconnect failed. Try again.')))
|
|
106
|
+
],
|
|
107
|
+
[
|
|
108
|
+
'Error beside an action',
|
|
109
|
+
/*#__PURE__*/ h('div', {
|
|
110
|
+
style: {
|
|
111
|
+
...wide,
|
|
112
|
+
paddingBlockEnd: 'calc(4lh + var(--gap))'
|
|
113
|
+
}
|
|
114
|
+
}, /*#__PURE__*/ h('span', null, 'Send invitation'), /*#__PURE__*/ h(ErrorNotice.Slot, null, /*#__PURE__*/ h(ErrorNotice, null, 'The invitation could not be sent. Try again.')))
|
|
115
|
+
],
|
|
116
|
+
[
|
|
117
|
+
'Error at the foot of a dialog',
|
|
118
|
+
/*#__PURE__*/ h(Form, {
|
|
119
|
+
style: wide
|
|
120
|
+
}, /*#__PURE__*/ h(Form.Actions, null, /*#__PURE__*/ h(Button, {
|
|
121
|
+
type: 'button'
|
|
122
|
+
}, 'Save')), /*#__PURE__*/ h(ErrorNotice.Slot, {
|
|
123
|
+
mod: 'reserved'
|
|
124
|
+
}, /*#__PURE__*/ h(ErrorNotice, null, 'Changes could not be saved. Check the address and try again.')))
|
|
125
|
+
]
|
|
126
|
+
];
|
|
127
|
+
//# sourceMappingURL=ErrorNotice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorNotice.js","sources":["./ErrorNotice.ts"],"names":[],"mappings":"AAAA,yDAAyD,GACzD,uCAAuC,GAAG,SAAS,iBAAiB,CAAC,gBAAkD;AAEvH,4BAA4B;AAC5B,OAAO,oDAA8D;AACrE,4BAA4B;AAC5B,OAAO,yCAAmD;AAC1D,SAAS,EAAE,kBAAwC;AACnD,SAAS,IAAI,oBAAmB;AAChC,SAAS,MAAM,sBAAqB;AACpC,SAAS,IAAI,oBAAmB;AAGhC,IAAI,QAAQ,GAAG,OAAO;AACtB,IAAI,OAAO,GAAG,QAAQ;AACtB,IAAI,UAAU,GAAG,QAAQ;AACzB,IAAI,OAAa,GAAG,OAAO;AAI3B,qEAAqE,GACrE,OAAO,IAAI,cACT,OAAO,MAAM,CACV,CAAC,EAAE,QAAQ,EAAE,SAAS,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,KAAK;MAAQ,iBACf,EAAE,aAAa,MAAM,6DAEvB,EAAE,QAAQ;QAAE,MAAM;MAAS,GAAG;KAEjC;IAAE;MACD;oBACA,EACE,OACA;QAAE,OAAO;UAAE,iBAAiB;UAAQ,WAAW;QAAM;MAAE,iBACvD,EAAE,QAAQ;QAAE,MAAM;MAAS,GAAG,6BAC9B,EACE,YAAY,IAAI,EAChB;QAAE,KAAK;QAAO,OAAO;UAAE,mBAAmB;QAAO;MAAE,iBACnD,EAAE,aAAa,MAAM;KAG1B;IAAE;MACD;oBACA,EACE,OACA;QACE,OAAO;UAAE,GAAG,IAAI;UAAE,iBAAiB;QAAyB;MAC9D,iBACA,EAAE,QAAQ,MAAM,kCAChB,EACE,YAAY,IAAI,EAChB,oBACA,EAAE,aAAa,MAAM;KAG1B;IAAE;MACD;oBACA,EACE,MACA;QAAE,OAAO;MAAK,iBACd,EAAE,KAAK,OAAO,EAAE,oBAAM,EAAE,QAAQ;QAAE,MAAM;MAAS,GAAG,wBACpD,EACE,YAAY,IAAI,EAChB;QAAE,KAAK;MAAW,iBAClB,EACE,aACA,MACA;KAIP;GAAC,CAAA"}
|
package/ErrorNotice.ts
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/** A failure beside an action or across a page. @module */
|
|
2
|
+
/* @ts-types="npm:@types/react@19.3.0" */ import { createElement as h, type FunctionComponent } from 'react'
|
|
3
|
+
import type { Sheet } from './sheet.ts'
|
|
4
|
+
// @ts-types="./lucide.d.ts"
|
|
5
|
+
import alert from 'lucide/dist/esm/icons/circle-alert.mjs'
|
|
6
|
+
// @ts-types="./lucide.d.ts"
|
|
7
|
+
import close from 'lucide/dist/esm/icons/x.mjs'
|
|
8
|
+
import { el, type Part, type Props } from './el.js'
|
|
9
|
+
import { Icon } from './Icon.js'
|
|
10
|
+
import { Button } from './Button.js'
|
|
11
|
+
import { Form } from './Form.js'
|
|
12
|
+
import type { Colors, Specimen } from './theme.ts'
|
|
13
|
+
|
|
14
|
+
let Frame = el('div', 'ErrorNotice')
|
|
15
|
+
let Text = el('span', 'ErrorNotice_Text')
|
|
16
|
+
let Dismiss = el(Button, 'ErrorNotice_Dismiss')
|
|
17
|
+
let Slot: Part = el('div', 'ErrorNotice_Slot')
|
|
18
|
+
|
|
19
|
+
type ErrorNoticeProps = Props & { onDismiss?: () => void }
|
|
20
|
+
|
|
21
|
+
/** A page banner or action feedback in a floating or reserved slot. */
|
|
22
|
+
export let ErrorNotice: FunctionComponent<ErrorNoticeProps> & { Slot: Part } =
|
|
23
|
+
Object.assign(
|
|
24
|
+
(({ children, onDismiss, ...props }) =>
|
|
25
|
+
h(
|
|
26
|
+
Frame,
|
|
27
|
+
{ ...props, 'data-error-notice': '' },
|
|
28
|
+
h(Icon, { of: alert, className: 'ErrorNotice_Mark' }),
|
|
29
|
+
h(Text, { role: 'alert', 'data-error-text': '' }, children),
|
|
30
|
+
h(Dismiss, {
|
|
31
|
+
type: 'button',
|
|
32
|
+
mod: 'quiet',
|
|
33
|
+
'aria-label': 'Dismiss error',
|
|
34
|
+
'data-error-dismiss': '',
|
|
35
|
+
hidden: !onDismiss,
|
|
36
|
+
onClick: onDismiss,
|
|
37
|
+
}, h(Icon, { of: close })),
|
|
38
|
+
)) as FunctionComponent<ErrorNoticeProps>,
|
|
39
|
+
{ Slot },
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
/** Update an existing notice in a DOM view. Give the notice text meant for
|
|
43
|
+
* the person and send diagnostic details to the tracker at the catch. */
|
|
44
|
+
export let showError = (scope: Element | null, words = ''): void => {
|
|
45
|
+
let text = scope?.querySelector<HTMLElement>('[data-error-text]')
|
|
46
|
+
if (!text || text.textContent == words) return
|
|
47
|
+
text.textContent = words
|
|
48
|
+
let button = text.parentElement?.querySelector<HTMLButtonElement>(
|
|
49
|
+
'[data-error-dismiss]',
|
|
50
|
+
)
|
|
51
|
+
if (button && words) {
|
|
52
|
+
button.hidden = false
|
|
53
|
+
button.onclick = () => showError(text.parentElement)
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export let description = 'A page failure or a failure beside its action.'
|
|
58
|
+
|
|
59
|
+
export let sheet = (c: Colors): Sheet => ({
|
|
60
|
+
ErrorNotice: { row: true, spaced: true },
|
|
61
|
+
ErrorNotice_Text: { fg: c.negative },
|
|
62
|
+
ErrorNotice_Slot: { col: true },
|
|
63
|
+
ErrorNotice_Dismiss: { hidden: true },
|
|
64
|
+
})
|
|
65
|
+
|
|
66
|
+
// As wide as a dialog's line, so a notice beside it wraps as it would there.
|
|
67
|
+
let wide = { inlineSize: '20rem', maxInlineSize: '100%' }
|
|
68
|
+
|
|
69
|
+
export let specimens = (): Specimen[] => [[
|
|
70
|
+
'Page error banner',
|
|
71
|
+
h(ErrorNotice, null, 'People could not load. Refresh the page to try again.'),
|
|
72
|
+
], [
|
|
73
|
+
'Notice in an overlay',
|
|
74
|
+
h(
|
|
75
|
+
ErrorNotice,
|
|
76
|
+
{ mod: 'float', onDismiss: () => {} },
|
|
77
|
+
'The invitation could not be sent. Try again.',
|
|
78
|
+
),
|
|
79
|
+
], [
|
|
80
|
+
'Error above the button',
|
|
81
|
+
h(
|
|
82
|
+
'div',
|
|
83
|
+
{ style: { paddingBlockStart: '4rem' } },
|
|
84
|
+
h(
|
|
85
|
+
ErrorNotice.Slot,
|
|
86
|
+
{ mod: 'above' },
|
|
87
|
+
h(ErrorNotice, null, 'The message could not be sent. Try again.'),
|
|
88
|
+
),
|
|
89
|
+
h(Button, { type: 'button' }, 'Send'),
|
|
90
|
+
),
|
|
91
|
+
], [
|
|
92
|
+
'Error at the end of an action row',
|
|
93
|
+
h(
|
|
94
|
+
'div',
|
|
95
|
+
{ style: { paddingBlockEnd: '4rem', textAlign: 'end' } },
|
|
96
|
+
h(Button, { type: 'button' }, 'Disconnect'),
|
|
97
|
+
h(
|
|
98
|
+
ErrorNotice.Slot,
|
|
99
|
+
{ mod: 'end', style: { marginInlineStart: 'auto' } },
|
|
100
|
+
h(ErrorNotice, null, 'Disconnect failed. Try again.'),
|
|
101
|
+
),
|
|
102
|
+
),
|
|
103
|
+
], [
|
|
104
|
+
'Error beside an action',
|
|
105
|
+
h(
|
|
106
|
+
'div',
|
|
107
|
+
{
|
|
108
|
+
style: { ...wide, paddingBlockEnd: 'calc(4lh + var(--gap))' },
|
|
109
|
+
},
|
|
110
|
+
h('span', null, 'Send invitation'),
|
|
111
|
+
h(
|
|
112
|
+
ErrorNotice.Slot,
|
|
113
|
+
null,
|
|
114
|
+
h(ErrorNotice, null, 'The invitation could not be sent. Try again.'),
|
|
115
|
+
),
|
|
116
|
+
),
|
|
117
|
+
], [
|
|
118
|
+
'Error at the foot of a dialog',
|
|
119
|
+
h(
|
|
120
|
+
Form,
|
|
121
|
+
{ style: wide },
|
|
122
|
+
h(Form.Actions, null, h(Button, { type: 'button' }, 'Save')),
|
|
123
|
+
h(
|
|
124
|
+
ErrorNotice.Slot,
|
|
125
|
+
{ mod: 'reserved' },
|
|
126
|
+
h(
|
|
127
|
+
ErrorNotice,
|
|
128
|
+
null,
|
|
129
|
+
'Changes could not be saved. Check the address and try again.',
|
|
130
|
+
),
|
|
131
|
+
),
|
|
132
|
+
),
|
|
133
|
+
]]
|
package/Field.css
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* A field has a visible edge before focus, so an empty placeholder is still
|
|
2
|
+
recognizably a control. Bare fields belong inside an already framed part. */
|
|
3
|
+
:is(.Field, :where([data-yak-kit]) :where(select:not(.Select_Native), textarea, input:not([type='hidden'], [type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='image'], [type='button'], [type='submit'], [type='reset']))) {
|
|
4
|
+
font: inherit;
|
|
5
|
+
color: var(--text);
|
|
6
|
+
background: var(--surface);
|
|
7
|
+
border: 1px solid var(--border);
|
|
8
|
+
border-radius: var(--radius);
|
|
9
|
+
outline: 0;
|
|
10
|
+
padding: 4px var(--half-gap);
|
|
11
|
+
resize: none;
|
|
12
|
+
cursor: text;
|
|
13
|
+
user-select: text;
|
|
14
|
+
text-align: left;
|
|
15
|
+
|
|
16
|
+
&::placeholder {
|
|
17
|
+
color: var(--muted);
|
|
18
|
+
}
|
|
19
|
+
&:focus {
|
|
20
|
+
border-color: var(--accent);
|
|
21
|
+
outline: 2px solid var(--accent);
|
|
22
|
+
outline-offset: 1px;
|
|
23
|
+
}
|
|
24
|
+
:where([data-yak-kit]) &[aria-invalid='true'] {
|
|
25
|
+
border-color: var(--negative);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
/* A native select a page wrote by hand is pressed, not typed in; the kit's
|
|
29
|
+
is a Select (Select.css). */
|
|
30
|
+
:where([data-yak-kit]) select:not(.Select_Native) {
|
|
31
|
+
cursor: pointer;
|
|
32
|
+
}
|
|
33
|
+
.Field-bare,
|
|
34
|
+
.Field-bare:focus {
|
|
35
|
+
background: none;
|
|
36
|
+
border: 0;
|
|
37
|
+
border-radius: 0;
|
|
38
|
+
box-shadow: none;
|
|
39
|
+
filter: none;
|
|
40
|
+
outline: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
}
|
package/Field.js
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A text field: one line to type in, or several (`lines`), showing `value`
|
|
3
|
+
* and, while it is empty, its `placeholder`; or, given `choose`, the kit's
|
|
4
|
+
* `Select` (./Select.ts), its options its children. What typing means is the
|
|
5
|
+
* caller's. `caret` is where the caret stands while the field has the
|
|
6
|
+
* keyboard: a browser shows its own, and a terminal, which has no focus to
|
|
7
|
+
* show it by, paints a cursor there (@yaks/tui reads it as `data-caret`).
|
|
8
|
+
*
|
|
9
|
+
* Once drawn, a text field owns what is typed in it. A `value` is shown when
|
|
10
|
+
* it changes, as a draft synced from elsewhere does, and the caret and
|
|
11
|
+
* selection move with the text around them (`moved`), so typing in the
|
|
12
|
+
* middle of a line goes on where it was. A value that arrives in the middle
|
|
13
|
+
* of a composition (an IME, a phone's keyboard) waits until it ends. Drawing
|
|
14
|
+
* again with the same value never writes over what was typed since.
|
|
15
|
+
*
|
|
16
|
+
* @module
|
|
17
|
+
*/ /* @ts-types="npm:@types/react@19.3.0" */ import { createElement as h, useLayoutEffect, useMemo, useRef } from "react";
|
|
18
|
+
import { Surface } from "./Surface.js";
|
|
19
|
+
import { Select } from "./Select.js";
|
|
20
|
+
import { el } from "./el.js";
|
|
21
|
+
let name = 'Field';
|
|
22
|
+
let Input = el(Surface.Well, name);
|
|
23
|
+
let tagOf = (lines)=>lines ? 'textarea' : 'input';
|
|
24
|
+
/** Where offset `at` in `was` stands once it reads `now`: before the one
|
|
25
|
+
* span that changed it stays, after it it moves by what the span grew, and
|
|
26
|
+
* inside it it goes to the span's end. */ export let moved = (was, now, at)=>{
|
|
27
|
+
let n = Math.min(was.length, now.length);
|
|
28
|
+
let a = 0;
|
|
29
|
+
while(a < n && was[a] == now[a])a++;
|
|
30
|
+
let z = 0;
|
|
31
|
+
while(z < n - a && was.at(-1 - z) == now.at(-1 - z))z++;
|
|
32
|
+
return at <= a ? at : at >= was.length - z ? at + now.length - was.length : now.length - z;
|
|
33
|
+
};
|
|
34
|
+
// `value` shown in `el`, its selection moved with the text around it. A
|
|
35
|
+
// textarea's newlines are \n whatever it was given, so a \r\n is no change.
|
|
36
|
+
let show = (el, value)=>{
|
|
37
|
+
let was = el.value;
|
|
38
|
+
if (was == value.replace(/\r\n?/g, '\n')) return;
|
|
39
|
+
let { selectionStart: from, selectionEnd: to, selectionDirection } = el;
|
|
40
|
+
el.value = value;
|
|
41
|
+
if (from == null || to == null || !el.setSelectionRange) return;
|
|
42
|
+
let now = el.value;
|
|
43
|
+
el.setSelectionRange(moved(was, now, from), moved(was, now, to), selectionDirection ?? undefined);
|
|
44
|
+
};
|
|
45
|
+
/** A text field, or a Select given `choose`. */ export let Field = (props)=>props.choose ? /*#__PURE__*/ h(Select, {
|
|
46
|
+
...props,
|
|
47
|
+
choose: undefined,
|
|
48
|
+
as: undefined
|
|
49
|
+
}) : /*#__PURE__*/ h(Typing, props);
|
|
50
|
+
let Typing = ({ lines, caret, as, elRef, value, autoFocus, autofocus, ...p })=>{
|
|
51
|
+
let el = useRef(null);
|
|
52
|
+
// the text it is to show; none for a field picked in
|
|
53
|
+
let given = useRef(undefined);
|
|
54
|
+
// a composition is under way, and whether a value waits for its end
|
|
55
|
+
let composing = useRef(false);
|
|
56
|
+
given.current = typeof value == 'string' ? value : undefined;
|
|
57
|
+
let focus = Boolean(autoFocus ?? autofocus);
|
|
58
|
+
let ref = useMemo(()=>(node)=>{
|
|
59
|
+
if (focus) node?.setAttribute('autofocus', '');
|
|
60
|
+
el.current = node;
|
|
61
|
+
let r = elRef;
|
|
62
|
+
if (typeof r == 'function') r(node);
|
|
63
|
+
else if (r) r.current = node;
|
|
64
|
+
}, [
|
|
65
|
+
elRef,
|
|
66
|
+
focus
|
|
67
|
+
]);
|
|
68
|
+
let shown = ()=>{
|
|
69
|
+
let node = el.current, text = given.current;
|
|
70
|
+
if (!node || text == null) return;
|
|
71
|
+
if (composing.current) composing.current.waits = true;
|
|
72
|
+
else show(node, text);
|
|
73
|
+
};
|
|
74
|
+
useLayoutEffect(shown, [
|
|
75
|
+
value
|
|
76
|
+
]);
|
|
77
|
+
useLayoutEffect(()=>{
|
|
78
|
+
let node = el.current;
|
|
79
|
+
if (!node?.addEventListener) return;
|
|
80
|
+
let start = ()=>void (composing.current = {
|
|
81
|
+
waits: false
|
|
82
|
+
});
|
|
83
|
+
let end = ()=>{
|
|
84
|
+
let waited = composing.current && composing.current.waits;
|
|
85
|
+
composing.current = false;
|
|
86
|
+
if (waited) shown();
|
|
87
|
+
};
|
|
88
|
+
node.addEventListener('compositionstart', start);
|
|
89
|
+
node.addEventListener('compositionend', end);
|
|
90
|
+
return ()=>{
|
|
91
|
+
node.removeEventListener('compositionstart', start);
|
|
92
|
+
node.removeEventListener('compositionend', end);
|
|
93
|
+
};
|
|
94
|
+
}, []);
|
|
95
|
+
return /*#__PURE__*/ h(Input, {
|
|
96
|
+
...p,
|
|
97
|
+
as: as ?? tagOf(lines),
|
|
98
|
+
elRef: ref,
|
|
99
|
+
...focus && {
|
|
100
|
+
autoFocus: true
|
|
101
|
+
},
|
|
102
|
+
// Drawn, a text field is told what it already shows, so drawing it
|
|
103
|
+
// again never writes over typing; `show` puts a new value in. A field
|
|
104
|
+
// given none carries no `value`, so its `defaultValue` is what it shows.
|
|
105
|
+
...value !== undefined && {
|
|
106
|
+
value: given.current != null && el.current ? el.current.value : value
|
|
107
|
+
},
|
|
108
|
+
'data-caret': caret
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
/** An input that a person cannot type into, for hosts that build DOM nodes directly. */ export let drawNativeInput = (draw, props)=>draw('input', props);
|
|
112
|
+
/** A field for hosts that build DOM nodes directly. */ export let drawField = (draw, { lines, className, class: named, ...props }, ...children)=>{
|
|
113
|
+
let extra = [
|
|
114
|
+
className,
|
|
115
|
+
named
|
|
116
|
+
].filter(Boolean).join(' ');
|
|
117
|
+
return draw(tagOf(lines), {
|
|
118
|
+
...props,
|
|
119
|
+
class: extra ? `Surface_Well ${name} ${extra}` : `Surface_Well ${name}`
|
|
120
|
+
}, ...children);
|
|
121
|
+
};
|
|
122
|
+
/** What it is, in a line. */ export let description = 'A text field: one line to type in, or several.';
|
|
123
|
+
/** Typed text is ink, whatever it sits in. */ export let sheet = (c)=>({
|
|
124
|
+
Field: {
|
|
125
|
+
fg: c.text,
|
|
126
|
+
bg: c.surface,
|
|
127
|
+
border: c.border
|
|
128
|
+
},
|
|
129
|
+
'Field-bare': {
|
|
130
|
+
fg: c.text
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
/** A field on a phone types in the text's ink. */ export let native = (c)=>({
|
|
134
|
+
Field: {
|
|
135
|
+
color: c.text
|
|
136
|
+
},
|
|
137
|
+
'Field-bare': {
|
|
138
|
+
color: c.text
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
/** Empty, typed in, typed in with the caret shown, and bare. */ export let specimens = ()=>[
|
|
142
|
+
[
|
|
143
|
+
'Field, empty',
|
|
144
|
+
/*#__PURE__*/ h(Field, {
|
|
145
|
+
value: '',
|
|
146
|
+
placeholder: 'filter…',
|
|
147
|
+
'aria-label': 'Filter'
|
|
148
|
+
})
|
|
149
|
+
],
|
|
150
|
+
[
|
|
151
|
+
'Field',
|
|
152
|
+
/*#__PURE__*/ h(Field, {
|
|
153
|
+
placeholder: 'Filter by status…',
|
|
154
|
+
value: '.task.status=open',
|
|
155
|
+
'aria-label': 'Filter by status'
|
|
156
|
+
})
|
|
157
|
+
],
|
|
158
|
+
[
|
|
159
|
+
'Field, caret',
|
|
160
|
+
/*#__PURE__*/ h(Field, {
|
|
161
|
+
placeholder: 'Filter by status…',
|
|
162
|
+
value: '.task.status=open',
|
|
163
|
+
caret: 12,
|
|
164
|
+
'aria-label': 'Filter by status'
|
|
165
|
+
})
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
'Field-bare, lines',
|
|
169
|
+
/*#__PURE__*/ h(Field, {
|
|
170
|
+
mod: 'bare',
|
|
171
|
+
lines: true,
|
|
172
|
+
placeholder: 'Write a note…',
|
|
173
|
+
value: 'set',
|
|
174
|
+
'aria-label': 'Note'
|
|
175
|
+
})
|
|
176
|
+
],
|
|
177
|
+
[
|
|
178
|
+
'Invalid',
|
|
179
|
+
/*#__PURE__*/ h(Field, {
|
|
180
|
+
placeholder: 'Name',
|
|
181
|
+
'aria-label': 'Name',
|
|
182
|
+
'aria-invalid': 'true'
|
|
183
|
+
})
|
|
184
|
+
]
|
|
185
|
+
];
|
|
186
|
+
//# sourceMappingURL=Field.js.map
|
package/Field.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Field.js","sources":["./Field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;CAgBC,GAGD,uCAAuC,GAAG,SACxC,iBAAiB,CAAC,EAElB,eAAe,EACf,OAAO,EACP,MAAM,gBACiB;AACzB,SA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