godown 3.0.0-canary.9 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -9
- package/alert.d.ts +1 -0
- package/alert.d.ts.map +1 -1
- package/alert.js +1 -5
- package/alert.js.map +1 -1
- package/avatar.d.ts +1 -0
- package/avatar.d.ts.map +1 -1
- package/avatar.js +1 -5
- package/avatar.js.map +1 -1
- package/badge.d.ts +9 -0
- package/badge.d.ts.map +1 -0
- package/badge.js +2 -0
- package/badge.js.map +1 -0
- package/breath.js +1 -5
- package/breath.js.map +1 -1
- package/build/godown+lit.iife.js +59 -0
- package/build/godown+lit.iife.js.map +1 -0
- package/build/godown+lit.js +59 -0
- package/build/godown+lit.js.map +1 -0
- package/build/godown+lit.umd.js +59 -0
- package/build/godown+lit.umd.js.map +1 -0
- package/build/godown.iife.js +47 -0
- package/build/godown.js +48 -0
- package/build/godown.js.map +1 -0
- package/build/godown.umd.js +48 -0
- package/build/godown.umd.js.map +1 -0
- package/button.d.ts +1 -0
- package/button.d.ts.map +1 -1
- package/button.js +1 -5
- package/button.js.map +1 -1
- package/card.d.ts +1 -0
- package/card.d.ts.map +1 -1
- package/card.js +1 -5
- package/card.js.map +1 -1
- package/carousel.d.ts +1 -0
- package/carousel.d.ts.map +1 -1
- package/carousel.js +1 -5
- package/carousel.js.map +1 -1
- package/components/alert.d.ts +4 -1
- package/components/alert.d.ts.map +1 -1
- package/components/alert.js +1 -176
- package/components/alert.js.map +1 -1
- package/components/avatar.d.ts +7 -2
- package/components/avatar.d.ts.map +1 -1
- package/components/avatar.js +1 -62
- package/components/avatar.js.map +1 -1
- package/components/badge.d.ts +23 -0
- package/components/badge.d.ts.map +1 -0
- package/components/badge.js +2 -0
- package/components/badge.js.map +1 -0
- package/components/breath.d.ts +6 -4
- package/components/breath.d.ts.map +1 -1
- package/components/breath.js +1 -80
- package/components/breath.js.map +1 -1
- package/components/button.d.ts +8 -5
- package/components/button.d.ts.map +1 -1
- package/components/button.js +1 -168
- package/components/button.js.map +1 -1
- package/components/card.d.ts +3 -1
- package/components/card.d.ts.map +1 -1
- package/components/card.js +1 -48
- package/components/card.js.map +1 -1
- package/components/carousel.d.ts +5 -1
- package/components/carousel.d.ts.map +1 -1
- package/components/carousel.js +1 -113
- package/components/carousel.js.map +1 -1
- package/components/details.d.ts +4 -3
- package/components/details.d.ts.map +1 -1
- package/components/details.js +1 -52
- package/components/details.js.map +1 -1
- package/components/dialog.d.ts +4 -2
- package/components/dialog.d.ts.map +1 -1
- package/components/dialog.js +1 -96
- package/components/dialog.js.map +1 -1
- package/components/divider.d.ts +3 -3
- package/components/divider.d.ts.map +1 -1
- package/components/divider.js +1 -36
- package/components/divider.js.map +1 -1
- package/components/dragbox.d.ts +4 -2
- package/components/dragbox.d.ts.map +1 -1
- package/components/dragbox.js +1 -109
- package/components/dragbox.js.map +1 -1
- package/components/flex.d.ts +3 -1
- package/components/flex.d.ts.map +1 -1
- package/components/flex.js +1 -62
- package/components/flex.js.map +1 -1
- package/components/form.d.ts +3 -1
- package/components/form.d.ts.map +1 -1
- package/components/form.js +1 -75
- package/components/form.js.map +1 -1
- package/components/grid.d.ts +3 -1
- package/components/grid.d.ts.map +1 -1
- package/components/grid.js +1 -56
- package/components/grid.js.map +1 -1
- package/components/heading.d.ts +29 -0
- package/components/heading.d.ts.map +1 -0
- package/components/heading.js +2 -0
- package/components/heading.js.map +1 -0
- package/components/input.d.ts +5 -1
- package/components/input.d.ts.map +1 -1
- package/components/input.js +1 -50
- package/components/input.js.map +1 -1
- package/components/layout.d.ts +6 -4
- package/components/layout.d.ts.map +1 -1
- package/components/layout.js +1 -58
- package/components/layout.js.map +1 -1
- package/components/link.d.ts +5 -0
- package/components/link.d.ts.map +1 -1
- package/components/link.js +1 -44
- package/components/link.js.map +1 -1
- package/components/progress.d.ts +3 -1
- package/components/progress.d.ts.map +1 -1
- package/components/progress.js +1 -58
- package/components/progress.js.map +1 -1
- package/components/range.d.ts +10 -4
- package/components/range.d.ts.map +1 -1
- package/components/range.js +1 -266
- package/components/range.js.map +1 -1
- package/components/rotate.d.ts +3 -1
- package/components/rotate.d.ts.map +1 -1
- package/components/rotate.js +1 -56
- package/components/rotate.js.map +1 -1
- package/components/router.d.ts +27 -34
- package/components/router.d.ts.map +1 -1
- package/components/router.js +1 -250
- package/components/router.js.map +1 -1
- package/components/select.d.ts +7 -2
- package/components/select.d.ts.map +1 -1
- package/components/select.js +1 -211
- package/components/select.js.map +1 -1
- package/components/skeleton.d.ts +3 -1
- package/components/skeleton.d.ts.map +1 -1
- package/components/skeleton.js +1 -54
- package/components/skeleton.js.map +1 -1
- package/components/split.d.ts +8 -2
- package/components/split.d.ts.map +1 -1
- package/components/split.js +1 -153
- package/components/split.js.map +1 -1
- package/components/switch.d.ts +5 -2
- package/components/switch.d.ts.map +1 -1
- package/components/switch.js +1 -92
- package/components/switch.js.map +1 -1
- package/components/text.d.ts +3 -1
- package/components/text.d.ts.map +1 -1
- package/components/text.js +1 -43
- package/components/text.js.map +1 -1
- package/components/time.d.ts +4 -2
- package/components/time.d.ts.map +1 -1
- package/components/time.js +1 -77
- package/components/time.js.map +1 -1
- package/components/tooltip.d.ts +4 -2
- package/components/tooltip.d.ts.map +1 -1
- package/components/tooltip.js +1 -80
- package/components/tooltip.js.map +1 -1
- package/components/typewriter.d.ts +6 -12
- package/components/typewriter.d.ts.map +1 -1
- package/components/typewriter.js +1 -129
- package/components/typewriter.js.map +1 -1
- package/core/global-style.d.ts +2 -2
- package/core/global-style.d.ts.map +1 -1
- package/core/global-style.js +1 -52
- package/core/global-style.js.map +1 -1
- package/core/super-anchor.d.ts +2 -1
- package/core/super-anchor.d.ts.map +1 -1
- package/core/super-anchor.js +1 -38
- package/core/super-anchor.js.map +1 -1
- package/core/super-input.d.ts +4 -3
- package/core/super-input.d.ts.map +1 -1
- package/core/super-input.js +1 -111
- package/core/super-input.js.map +1 -1
- package/core/super-openable.d.ts +1 -1
- package/core/super-openable.d.ts.map +1 -1
- package/core/super-openable.js +1 -37
- package/core/super-openable.js.map +1 -1
- package/custom-elements.json +1 -1
- package/details.d.ts +1 -0
- package/details.d.ts.map +1 -1
- package/details.js +1 -5
- package/details.js.map +1 -1
- package/dev/alert.d.ts +1 -0
- package/dev/alert.d.ts.map +1 -1
- package/dev/alert.js +1 -0
- package/dev/alert.js.map +1 -1
- package/dev/avatar.d.ts +1 -0
- package/dev/avatar.d.ts.map +1 -1
- package/dev/avatar.js +1 -0
- package/dev/avatar.js.map +1 -1
- package/dev/badge.d.ts +9 -0
- package/dev/badge.d.ts.map +1 -0
- package/dev/badge.js +5 -0
- package/dev/badge.js.map +1 -0
- package/dev/button.d.ts +1 -0
- package/dev/button.d.ts.map +1 -1
- package/dev/button.js +1 -0
- package/dev/button.js.map +1 -1
- package/dev/card.d.ts +1 -0
- package/dev/card.d.ts.map +1 -1
- package/dev/card.js +1 -0
- package/dev/card.js.map +1 -1
- package/dev/carousel.d.ts +1 -0
- package/dev/carousel.d.ts.map +1 -1
- package/dev/carousel.js +1 -0
- package/dev/carousel.js.map +1 -1
- package/dev/components/alert.d.ts +4 -1
- package/dev/components/alert.d.ts.map +1 -1
- package/dev/components/alert.js +87 -77
- package/dev/components/alert.js.map +1 -1
- package/dev/components/avatar.d.ts +7 -2
- package/dev/components/avatar.d.ts.map +1 -1
- package/dev/components/avatar.js +60 -32
- package/dev/components/avatar.js.map +1 -1
- package/dev/components/badge.d.ts +23 -0
- package/dev/components/badge.d.ts.map +1 -0
- package/dev/components/badge.js +114 -0
- package/dev/components/badge.js.map +1 -0
- package/dev/components/breath.d.ts +6 -4
- package/dev/components/breath.d.ts.map +1 -1
- package/dev/components/breath.js +40 -31
- package/dev/components/breath.js.map +1 -1
- package/dev/components/button.d.ts +8 -5
- package/dev/components/button.d.ts.map +1 -1
- package/dev/components/button.js +38 -21
- package/dev/components/button.js.map +1 -1
- package/dev/components/card.d.ts +3 -1
- package/dev/components/card.d.ts.map +1 -1
- package/dev/components/card.js +43 -41
- package/dev/components/card.js.map +1 -1
- package/dev/components/carousel.d.ts +5 -1
- package/dev/components/carousel.d.ts.map +1 -1
- package/dev/components/carousel.js +81 -55
- package/dev/components/carousel.js.map +1 -1
- package/dev/components/details.d.ts +4 -3
- package/dev/components/details.d.ts.map +1 -1
- package/dev/components/details.js +76 -70
- package/dev/components/details.js.map +1 -1
- package/dev/components/dialog.d.ts +4 -2
- package/dev/components/dialog.d.ts.map +1 -1
- package/dev/components/dialog.js +65 -60
- package/dev/components/dialog.js.map +1 -1
- package/dev/components/divider.d.ts +3 -3
- package/dev/components/divider.d.ts.map +1 -1
- package/dev/components/divider.js +27 -10
- package/dev/components/divider.js.map +1 -1
- package/dev/components/dragbox.d.ts +4 -2
- package/dev/components/dragbox.d.ts.map +1 -1
- package/dev/components/dragbox.js +22 -13
- package/dev/components/dragbox.js.map +1 -1
- package/dev/components/flex.d.ts +3 -1
- package/dev/components/flex.d.ts.map +1 -1
- package/dev/components/flex.js +22 -9
- package/dev/components/flex.js.map +1 -1
- package/dev/components/form.d.ts +3 -1
- package/dev/components/form.d.ts.map +1 -1
- package/dev/components/form.js +6 -7
- package/dev/components/form.js.map +1 -1
- package/dev/components/grid.d.ts +3 -1
- package/dev/components/grid.d.ts.map +1 -1
- package/dev/components/grid.js +22 -10
- package/dev/components/grid.js.map +1 -1
- package/dev/components/heading.d.ts +29 -0
- package/dev/components/heading.d.ts.map +1 -0
- package/dev/components/heading.js +125 -0
- package/dev/components/heading.js.map +1 -0
- package/dev/components/input.d.ts +5 -1
- package/dev/components/input.d.ts.map +1 -1
- package/dev/components/input.js +36 -28
- package/dev/components/input.js.map +1 -1
- package/dev/components/layout.d.ts +6 -4
- package/dev/components/layout.d.ts.map +1 -1
- package/dev/components/layout.js +53 -39
- package/dev/components/layout.js.map +1 -1
- package/dev/components/link.d.ts +5 -0
- package/dev/components/link.d.ts.map +1 -1
- package/dev/components/link.js +13 -3
- package/dev/components/link.js.map +1 -1
- package/dev/components/progress.d.ts +3 -1
- package/dev/components/progress.d.ts.map +1 -1
- package/dev/components/progress.js +20 -8
- package/dev/components/progress.js.map +1 -1
- package/dev/components/range.d.ts +10 -4
- package/dev/components/range.d.ts.map +1 -1
- package/dev/components/range.js +69 -64
- package/dev/components/range.js.map +1 -1
- package/dev/components/rotate.d.ts +3 -1
- package/dev/components/rotate.d.ts.map +1 -1
- package/dev/components/rotate.js +14 -9
- package/dev/components/rotate.js.map +1 -1
- package/dev/components/router.d.ts +27 -34
- package/dev/components/router.d.ts.map +1 -1
- package/dev/components/router.js +25 -38
- package/dev/components/router.js.map +1 -1
- package/dev/components/select.d.ts +7 -2
- package/dev/components/select.d.ts.map +1 -1
- package/dev/components/select.js +79 -58
- package/dev/components/select.js.map +1 -1
- package/dev/components/skeleton.d.ts +3 -1
- package/dev/components/skeleton.d.ts.map +1 -1
- package/dev/components/skeleton.js +67 -63
- package/dev/components/skeleton.js.map +1 -1
- package/dev/components/split.d.ts +8 -2
- package/dev/components/split.d.ts.map +1 -1
- package/dev/components/split.js +67 -51
- package/dev/components/split.js.map +1 -1
- package/dev/components/switch.d.ts +5 -2
- package/dev/components/switch.d.ts.map +1 -1
- package/dev/components/switch.js +91 -85
- package/dev/components/switch.js.map +1 -1
- package/dev/components/text.d.ts +3 -1
- package/dev/components/text.d.ts.map +1 -1
- package/dev/components/text.js +56 -53
- package/dev/components/text.js.map +1 -1
- package/dev/components/time.d.ts +4 -2
- package/dev/components/time.d.ts.map +1 -1
- package/dev/components/time.js +19 -6
- package/dev/components/time.js.map +1 -1
- package/dev/components/tooltip.d.ts +4 -2
- package/dev/components/tooltip.d.ts.map +1 -1
- package/dev/components/tooltip.js +45 -27
- package/dev/components/tooltip.js.map +1 -1
- package/dev/components/typewriter.d.ts +6 -12
- package/dev/components/typewriter.d.ts.map +1 -1
- package/dev/components/typewriter.js +48 -54
- package/dev/components/typewriter.js.map +1 -1
- package/dev/core/global-style.d.ts +2 -2
- package/dev/core/global-style.d.ts.map +1 -1
- package/dev/core/global-style.js +19 -14
- package/dev/core/global-style.js.map +1 -1
- package/dev/core/super-anchor.d.ts +2 -1
- package/dev/core/super-anchor.d.ts.map +1 -1
- package/dev/core/super-anchor.js +15 -12
- package/dev/core/super-anchor.js.map +1 -1
- package/dev/core/super-input.d.ts +4 -3
- package/dev/core/super-input.d.ts.map +1 -1
- package/dev/core/super-input.js +64 -42
- package/dev/core/super-input.js.map +1 -1
- package/dev/core/super-openable.d.ts +1 -1
- package/dev/core/super-openable.d.ts.map +1 -1
- package/dev/core/super-openable.js +1 -2
- package/dev/core/super-openable.js.map +1 -1
- package/dev/details.d.ts +1 -0
- package/dev/details.d.ts.map +1 -1
- package/dev/details.js +1 -0
- package/dev/details.js.map +1 -1
- package/dev/dialog.d.ts +1 -0
- package/dev/dialog.d.ts.map +1 -1
- package/dev/dialog.js +1 -0
- package/dev/dialog.js.map +1 -1
- package/dev/divider.d.ts +1 -0
- package/dev/divider.d.ts.map +1 -1
- package/dev/divider.js +1 -0
- package/dev/divider.js.map +1 -1
- package/dev/dragbox.d.ts +1 -0
- package/dev/dragbox.d.ts.map +1 -1
- package/dev/dragbox.js +1 -0
- package/dev/dragbox.js.map +1 -1
- package/dev/flex.d.ts +1 -0
- package/dev/flex.d.ts.map +1 -1
- package/dev/flex.js +1 -0
- package/dev/flex.js.map +1 -1
- package/dev/form.d.ts +1 -0
- package/dev/form.d.ts.map +1 -1
- package/dev/form.js +1 -0
- package/dev/form.js.map +1 -1
- package/dev/grid.d.ts +1 -0
- package/dev/grid.d.ts.map +1 -1
- package/dev/grid.js +1 -0
- package/dev/grid.js.map +1 -1
- package/dev/heading.d.ts +9 -0
- package/dev/heading.d.ts.map +1 -0
- package/dev/heading.js +5 -0
- package/dev/heading.js.map +1 -0
- package/dev/index.d.ts +2 -0
- package/dev/index.d.ts.map +1 -1
- package/dev/index.js +2 -0
- package/dev/index.js.map +1 -1
- package/dev/layout.d.ts.map +1 -1
- package/dev/progress.d.ts.map +1 -1
- package/dev/router.d.ts.map +1 -1
- package/dev/split.d.ts +1 -1
- package/dev/split.d.ts.map +1 -1
- package/dev/typewriter.d.ts +1 -0
- package/dev/typewriter.d.ts.map +1 -1
- package/dev/typewriter.js +1 -0
- package/dev/typewriter.js.map +1 -1
- package/dialog.d.ts +1 -0
- package/dialog.d.ts.map +1 -1
- package/dialog.js +1 -5
- package/dialog.js.map +1 -1
- package/divider.d.ts +1 -0
- package/divider.d.ts.map +1 -1
- package/divider.js +1 -5
- package/divider.js.map +1 -1
- package/dragbox.d.ts +1 -0
- package/dragbox.d.ts.map +1 -1
- package/dragbox.js +1 -5
- package/dragbox.js.map +1 -1
- package/flex.d.ts +1 -0
- package/flex.d.ts.map +1 -1
- package/flex.js +1 -5
- package/flex.js.map +1 -1
- package/form.d.ts +1 -0
- package/form.d.ts.map +1 -1
- package/form.js +1 -5
- package/form.js.map +1 -1
- package/grid.d.ts +1 -0
- package/grid.d.ts.map +1 -1
- package/grid.js +1 -5
- package/grid.js.map +1 -1
- package/heading.d.ts +9 -0
- package/heading.d.ts.map +1 -0
- package/heading.js +2 -0
- package/heading.js.map +1 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -56
- package/index.js.map +1 -1
- package/input.js +1 -5
- package/input.js.map +1 -1
- package/layout.d.ts.map +1 -1
- package/layout.js +1 -5
- package/layout.js.map +1 -1
- package/link.js +1 -5
- package/link.js.map +1 -1
- package/package.json +13 -8
- package/progress.d.ts.map +1 -1
- package/progress.js +1 -5
- package/progress.js.map +1 -1
- package/range.js +1 -5
- package/range.js.map +1 -1
- package/rotate.js +1 -5
- package/rotate.js.map +1 -1
- package/router.d.ts.map +1 -1
- package/router.js +1 -5
- package/router.js.map +1 -1
- package/select.js +1 -5
- package/select.js.map +1 -1
- package/skeleton.js +1 -5
- package/skeleton.js.map +1 -1
- package/split.d.ts +1 -1
- package/split.d.ts.map +1 -1
- package/split.js +1 -5
- package/split.js.map +1 -1
- package/src/alert.ts +2 -0
- package/src/avatar.ts +2 -0
- package/src/badge.ts +13 -0
- package/src/button.ts +2 -0
- package/src/card.ts +2 -0
- package/src/carousel.ts +2 -0
- package/src/components/alert.ts +92 -86
- package/src/components/avatar.ts +65 -39
- package/src/components/badge.ts +110 -0
- package/src/components/breath.ts +47 -38
- package/src/components/button.ts +38 -36
- package/src/components/card.ts +45 -46
- package/src/components/carousel.ts +91 -66
- package/src/components/details.ts +79 -75
- package/src/components/dialog.ts +74 -73
- package/src/components/divider.ts +28 -13
- package/src/components/dragbox.ts +30 -25
- package/src/components/flex.ts +35 -22
- package/src/components/form.ts +12 -15
- package/src/components/grid.ts +35 -23
- package/src/components/heading.ts +123 -0
- package/src/components/input.ts +43 -37
- package/src/components/layout.ts +52 -44
- package/src/components/link.ts +13 -4
- package/src/components/progress.ts +22 -10
- package/src/components/range.ts +107 -108
- package/src/components/rotate.ts +24 -18
- package/src/components/router.ts +64 -67
- package/src/components/select.ts +94 -78
- package/src/components/skeleton.ts +70 -68
- package/src/components/split.ts +81 -67
- package/src/components/switch.ts +97 -93
- package/src/components/text.ts +55 -58
- package/src/components/time.ts +26 -13
- package/src/components/tooltip.ts +44 -32
- package/src/components/typewriter.ts +54 -61
- package/src/core/global-style.ts +34 -21
- package/src/core/super-anchor.ts +17 -14
- package/src/core/super-input.ts +76 -63
- package/src/core/super-openable.ts +8 -14
- package/src/details.ts +2 -0
- package/src/dialog.ts +2 -0
- package/src/divider.ts +2 -0
- package/src/dragbox.ts +2 -0
- package/src/flex.ts +2 -0
- package/src/form.ts +2 -0
- package/src/grid.ts +2 -0
- package/src/heading.ts +13 -0
- package/src/index.ts +2 -0
- package/src/layout.ts +1 -0
- package/src/progress.ts +1 -0
- package/src/router.ts +1 -0
- package/src/split.ts +1 -1
- package/src/typewriter.ts +2 -0
- package/switch.js +1 -5
- package/switch.js.map +1 -1
- package/text.js +1 -5
- package/text.js.map +1 -1
- package/time.js +1 -5
- package/time.js.map +1 -1
- package/tooltip.js +1 -5
- package/tooltip.js.map +1 -1
- package/typewriter.d.ts +1 -0
- package/typewriter.d.ts.map +1 -1
- package/typewriter.js +1 -5
- package/typewriter.js.map +1 -1
- package/vscode.html-custom-data.json +1 -1
- package/web-types.json +1 -1
package/components/form.js
CHANGED
@@ -1,76 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
import { godown } from '@godown/element/decorators/godown.js';
|
3
|
-
import { styles } from '@godown/element/decorators/styles.js';
|
4
|
-
import { htmlSlot } from '@godown/element/directives/html-slot.js';
|
5
|
-
import { css } from 'lit';
|
6
|
-
import { property } from 'lit/decorators.js';
|
7
|
-
import { GlobalStyle } from '../core/global-style.js';
|
8
|
-
|
9
|
-
var Form_1;
|
10
|
-
const protoName = "form";
|
11
|
-
/**
|
12
|
-
* {@linkcode Form} Gets child element key-value object,
|
13
|
-
* which will be nested if the child element is the same as this element.
|
14
|
-
*
|
15
|
-
* @category form
|
16
|
-
*/
|
17
|
-
let Form = Form_1 = class Form extends GlobalStyle {
|
18
|
-
constructor() {
|
19
|
-
super(...arguments);
|
20
|
-
this.name = "";
|
21
|
-
this.nameValue = this.namevalue;
|
22
|
-
}
|
23
|
-
get value() {
|
24
|
-
return Form_1.buildValue(this._slot.assignedElements());
|
25
|
-
}
|
26
|
-
render() {
|
27
|
-
return htmlSlot();
|
28
|
-
}
|
29
|
-
reset() {
|
30
|
-
this.deepQuerySelectorAll("*").forEach((el) => {
|
31
|
-
if (el.tagName === this.tagName) {
|
32
|
-
return;
|
33
|
-
}
|
34
|
-
if (el.reset) {
|
35
|
-
el.reset();
|
36
|
-
}
|
37
|
-
});
|
38
|
-
}
|
39
|
-
namevalue() {
|
40
|
-
return [this.name, this.value];
|
41
|
-
}
|
42
|
-
static buildValue(elements) {
|
43
|
-
const result = {};
|
44
|
-
for (const el of elements) {
|
45
|
-
if (el.tagName === "FORM") {
|
46
|
-
Object.assign(result, Object.fromEntries(new FormData(el).entries()));
|
47
|
-
}
|
48
|
-
else if (el.namevalue) {
|
49
|
-
const [name, value] = el.namevalue();
|
50
|
-
if (name) {
|
51
|
-
result[name] = value;
|
52
|
-
}
|
53
|
-
}
|
54
|
-
else if (el.name && el.value !== undefined) {
|
55
|
-
result[el.name] = el.value;
|
56
|
-
}
|
57
|
-
else if (el.shadowRoot) {
|
58
|
-
for (const slot of el.shadowRoot.querySelectorAll("slot")) {
|
59
|
-
Object.assign(result, this.buildValue(slot.assignedElements()));
|
60
|
-
}
|
61
|
-
}
|
62
|
-
}
|
63
|
-
return result;
|
64
|
-
}
|
65
|
-
};
|
66
|
-
__decorate([
|
67
|
-
property()
|
68
|
-
], Form.prototype, "name", void 0);
|
69
|
-
Form = Form_1 = __decorate([
|
70
|
-
godown(protoName),
|
71
|
-
styles(css `:host{display:block}`)
|
72
|
-
], Form);
|
73
|
-
var Form$1 = Form;
|
74
|
-
|
75
|
-
export { Form$1 as default };
|
1
|
+
import{__decorate as e}from"tslib";import{godown as t,styles as s,htmlSlot as o}from"@godown/element";import{css as a}from"lit";import{property as r}from"lit/decorators.js";import{GlobalStyle as l}from"../core/global-style.js";var i;let n=i=class Form extends l{constructor(){super(...arguments),this.name="",this.nameValue=this.namevalue}get value(){return i.buildValue(this._slot.assignedElements())}render(){return o()}reset(){this.deepQuerySelectorAll("*").forEach((e=>{e.tagName!==this.tagName&&e.reset&&e.reset()}))}namevalue(){return[this.name,this.value]}static buildValue(e){const t={};for(const s of e)if("FORM"===s.tagName)Object.assign(t,Object.fromEntries(new FormData(s).entries()));else if(s.namevalue){const[e,o]=s.namevalue();e&&(t[e]=o)}else if(s.name&&void 0!==s.value)t[s.name]=s.value;else if(s.shadowRoot)for(const e of s.shadowRoot.querySelectorAll("slot"))Object.assign(t,this.buildValue(e.assignedElements()));return t}};e([r()],n.prototype,"name",void 0),n=i=e([t("form"),s(a`:host{display:block}`)],n);var m=n;export{n as Form,m as default};
|
76
2
|
//# sourceMappingURL=form.js.map
|
package/components/form.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"form.js","sources":["../src/components/form.ts"],"sourcesContent":null,"names":[
|
1
|
+
{"version":3,"file":"form.js","sources":["../src/components/form.ts"],"sourcesContent":null,"names":["Form","Form_1","GlobalStyle","constructor","this","name","nameValue","namevalue","value","buildValue","_slot","assignedElements","render","htmlSlot","reset","deepQuerySelectorAll","forEach","el","tagName","elements","result","Object","assign","fromEntries","FormData","entries","undefined","shadowRoot","slot","querySelectorAll","__decorate","property","prototype","godown","styles","css","Form$1"],"mappings":"yOAgBA,IAAMA,EAAIC,EAAV,MAAMD,aAAyBE,EAA/B,WAAAC,uBAEEC,KAAIC,KAAG,GAMPD,KAAAE,UAA+BF,KAAKG,UAJpC,SAAIC,GACF,OAAOP,EAAKQ,WAAWL,KAAKM,MAAMC,oBAK1B,MAAAC,GACR,OAAOC,IAGT,KAAAC,GACEV,KAAKW,qBAA2D,KAAKC,SAASC,IACxEA,EAAGC,UAAYd,KAAKc,SAGpBD,EAAGH,OACLG,EAAGH,WAKT,SAAAP,GACE,MAAO,CAACH,KAAKC,KAAMD,KAAKI,OAG1B,iBAAOC,CACLU,GAMA,MAAMC,EAAS,CAAE,EACjB,IAAK,MAAMH,KAAME,EACf,GAAmB,SAAfF,EAAGC,QACLG,OAAOC,OAAOF,EAAQC,OAAOE,YAAY,IAAIC,SAASP,GAAuBQ,iBACxE,GAAIR,EAAGV,UAAW,CACvB,MAAOF,EAAMG,GAASS,EAAGV,YACrBF,IACFe,EAAOf,GAAQG,QAEZ,GAAIS,EAAGZ,WAAqBqB,IAAbT,EAAGT,MACvBY,EAAOH,EAAGZ,MAAQY,EAAGT,WAChB,GAAIS,EAAGU,WACZ,IAAK,MAAMC,KAAQX,EAAGU,WAAWE,iBAAiB,QAChDR,OAAOC,OAAOF,EAAQhB,KAAKK,WAAWmB,EAAKjB,qBAIjD,OAAOS,IAnDTU,EAAA,CADCC,KACQ/B,EAAAgC,UAAA,YAAAN,GAFL1B,EAAIC,EAAA6B,EAAA,CAFTG,EARiB,QASjBC,EAAOC,CAAG,yBACLnC,GAyDN,IAAAoC,EAAepC"}
|
package/components/grid.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { type TemplateResult } from "lit";
|
1
2
|
import { GlobalStyle } from "../core/global-style.js";
|
2
3
|
/**
|
3
4
|
* {@linkcode Grid} provides gird layout.
|
@@ -30,7 +31,8 @@ declare class Grid extends GlobalStyle {
|
|
30
31
|
* CSS property `place-items` (`align-items justify-items`).
|
31
32
|
*/
|
32
33
|
items: string;
|
33
|
-
protected render():
|
34
|
+
protected render(): TemplateResult<1>;
|
34
35
|
}
|
35
36
|
export default Grid;
|
37
|
+
export { Grid };
|
36
38
|
//# sourceMappingURL=grid.d.ts.map
|
package/components/grid.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../src/components/grid.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../src/components/grid.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAa,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD;;;;;GAKG;AACH,cAEM,IAAK,SAAQ,WAAW;IAC5B;;OAEG;IAEH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;OAIG;IAEH,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IAEzB;;;;OAIG;IAEH,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAEtB;;OAEG;IAEH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAC;IAEd,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;CAgBtC;AAED,eAAe,IAAI,CAAC;AACpB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
package/components/grid.js
CHANGED
@@ -1,57 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
import { godown } from '@godown/element/decorators/godown.js';
|
3
|
-
import { styles } from '@godown/element/decorators/styles.js';
|
4
|
-
import { htmlSlot } from '@godown/element/directives/html-slot.js';
|
5
|
-
import { htmlStyle } from '@godown/element/directives/html-style.js';
|
6
|
-
import { joinRules } from '@godown/element/tools/css.js';
|
7
|
-
import { isNumerical } from '@godown/element/tools/lib.js';
|
8
|
-
import { css } from 'lit';
|
9
|
-
import { property } from 'lit/decorators.js';
|
10
|
-
import { GlobalStyle } from '../core/global-style.js';
|
11
|
-
|
12
|
-
const protoName = "grid";
|
13
|
-
/**
|
14
|
-
* {@linkcode Grid} provides gird layout.
|
15
|
-
*
|
16
|
-
* @slot - Grid items.
|
17
|
-
* @category layout
|
18
|
-
*/
|
19
|
-
let Grid = class Grid extends GlobalStyle {
|
20
|
-
render() {
|
21
|
-
return [
|
22
|
-
htmlSlot(),
|
23
|
-
htmlStyle(joinRules({
|
24
|
-
":host": {
|
25
|
-
gap: this.gap,
|
26
|
-
"grid-template-columns": isNumerical(this.columns) ? `repeat(${this.columns},1fr)` : this.columns,
|
27
|
-
"grid-template-rows": isNumerical(this.rows) ? `repeat(${this.rows},1fr)` : this.rows,
|
28
|
-
"place-content": this.content,
|
29
|
-
"place-items": this.items,
|
30
|
-
},
|
31
|
-
})),
|
32
|
-
];
|
33
|
-
}
|
34
|
-
};
|
35
|
-
__decorate([
|
36
|
-
property()
|
37
|
-
], Grid.prototype, "gap", void 0);
|
38
|
-
__decorate([
|
39
|
-
property()
|
40
|
-
], Grid.prototype, "columns", void 0);
|
41
|
-
__decorate([
|
42
|
-
property()
|
43
|
-
], Grid.prototype, "rows", void 0);
|
44
|
-
__decorate([
|
45
|
-
property()
|
46
|
-
], Grid.prototype, "content", void 0);
|
47
|
-
__decorate([
|
48
|
-
property()
|
49
|
-
], Grid.prototype, "items", void 0);
|
50
|
-
Grid = __decorate([
|
51
|
-
godown(protoName),
|
52
|
-
styles(css `:host{display:grid}`)
|
53
|
-
], Grid);
|
54
|
-
var Grid$1 = Grid;
|
55
|
-
|
56
|
-
export { Grid$1 as default };
|
1
|
+
import{__decorate as t}from"tslib";import{godown as o,styles as r,attr as e,htmlSlot as s,htmlStyle as i,joinRules as p,isNumerical as d}from"@godown/element";import{css as l,html as m}from"lit";import{property as a}from"lit/decorators.js";import{GlobalStyle as n}from"../core/global-style.js";let c=class Grid extends n{render(){return m`<div part="root" ${e(this.observedRecord)}>${[s(),i(p({":host":{gap:this.gap,"grid-template-columns":d(this.columns)?`repeat(${this.columns},1fr)`:this.columns,"grid-template-rows":d(this.rows)?`repeat(${this.rows},1fr)`:this.rows,"place-content":this.content,"place-items":this.items}}))]}</div>`}};t([a()],c.prototype,"gap",void 0),t([a()],c.prototype,"columns",void 0),t([a()],c.prototype,"rows",void 0),t([a()],c.prototype,"content",void 0),t([a()],c.prototype,"items",void 0),c=t([o("grid"),r(l`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],c);var h=c;export{c as Grid,h as default};
|
57
2
|
//# sourceMappingURL=grid.js.map
|
package/components/grid.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"grid.js","sources":["../src/components/grid.ts"],"sourcesContent":null,"names":[
|
1
|
+
{"version":3,"file":"grid.js","sources":["../src/components/grid.ts"],"sourcesContent":null,"names":["Grid","GlobalStyle","render","html","attr","this","observedRecord","htmlSlot","htmlStyle","joinRules","gap","isNumerical","columns","rows","content","items","__decorate","property","prototype","undefined","godown","styles","css","Grid$1"],"mappings":"sSAgBA,IAAMA,EAAN,MAAMA,aAAaC,EAmCP,MAAAC,GACR,OAAOC,CAAI,oBAGLC,EAAKC,KAAKC,mBAEV,CACAC,IACAC,EACEC,EAAU,CACR,QAAS,CACPC,IAAKL,KAAKK,IACV,wBAAyBC,EAAYN,KAAKO,SAAW,UAAUP,KAAKO,eAAiBP,KAAKO,QAC1F,qBAAsBD,EAAYN,KAAKQ,MAAQ,UAAUR,KAAKQ,YAAcR,KAAKQ,KACjF,gBAAiBR,KAAKS,QACtB,cAAeT,KAAKU,qBA7ClCC,EAAA,CADCC,KACUjB,EAAAkB,UAAA,WAAAC,GAQXH,EAAA,CADCC,KACuBjB,EAAAkB,UAAA,eAAAC,GAQxBH,EAAA,CADCC,KACoBjB,EAAAkB,UAAA,YAAAC,GAMrBH,EAAA,CADCC,KACcjB,EAAAkB,UAAA,eAAAC,GAMfH,EAAA,CADCC,KACYjB,EAAAkB,UAAA,aAAAC,GAjCTnB,EAAIgB,EAAA,CAFTI,EARiB,QASjBC,EAAOC,CAAG,mFACLtB,GA4DN,IAAAuB,EAAevB"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { type TemplateResult } from "lit";
|
2
|
+
import { GlobalStyle } from "../core/global-style.js";
|
3
|
+
/**
|
4
|
+
* {@linkcode Heading} renders a heading.
|
5
|
+
*
|
6
|
+
* If the id is provided, the anchor will be displayed.
|
7
|
+
*
|
8
|
+
* @slot - Heading content.
|
9
|
+
* @category layout
|
10
|
+
*/
|
11
|
+
declare class Heading extends GlobalStyle {
|
12
|
+
/**
|
13
|
+
* The heading level.
|
14
|
+
*/
|
15
|
+
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
16
|
+
/**
|
17
|
+
* The anchor prefix.
|
18
|
+
*/
|
19
|
+
anchor: string;
|
20
|
+
/**
|
21
|
+
* The anchor side.
|
22
|
+
*/
|
23
|
+
side: "left" | "right";
|
24
|
+
protected render(): TemplateResult<1>;
|
25
|
+
protected wrapHeading(...children: any[]): TemplateResult<1>;
|
26
|
+
}
|
27
|
+
export default Heading;
|
28
|
+
export { Heading };
|
29
|
+
//# sourceMappingURL=heading.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../src/components/heading.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAsB,MAAM,KAAK,CAAC;AAG9D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD;;;;;;;GAOG;AACH,cAEM,OAAQ,SAAQ,WAAW;IAC/B;;OAEG;IAEH,EAAE,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAEnD;;OAEG;IAEH,MAAM,SAAO;IAEb;;OAEG;IAEH,IAAI,EAAE,MAAM,GAAG,OAAO,CAAU;IAEhC,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;IASrC,SAAS,CAAC,WAAW,CAAC,GAAG,QAAQ,EAAE,GAAG,EAAE,GAAG,cAAc,CAAC,CAAC,CAAC;CAgB7D;AAED,eAAe,OAAO,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
import{__decorate as t}from"tslib";import{godown as r,styles as e,attr as i,htmlSlot as o}from"@godown/element";import{css as h,html as a,nothing as s}from"lit";import{property as n}from"lit/decorators.js";import{GlobalStyle as d}from"../core/global-style.js";let c=class Heading extends d{constructor(){super(...arguments),this.as="h1",this.anchor="#",this.side="left"}render(){return a`<a part="root" href="${this.id?"#"+this.id:s}" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?a`<i part="anchor">${this.anchor}</i>`:"")}</a>`}wrapHeading(...t){switch(this.as){case"h2":return a`<h2>${t}</h2>`;case"h3":return a`<h3>${t}</h3>`;case"h4":return a`<h4>${t}</h4>`;case"h5":return a`<h5>${t}</h5>`;case"h6":return a`<h6>${t}</h6>`;default:return a`<h1>${t}</h1>`}}};t([n()],c.prototype,"as",void 0),t([n()],c.prototype,"anchor",void 0),t([n()],c.prototype,"side",void 0),c=t([r("heading"),e(h`:host{display:block;text-align:start}[part=anchor]{min-width:1.25em;position:absolute;right:100%;text-align:center}[side=left] [part=anchor]{right:100%}[side=right] [part=anchor]{left:100%}a{color:inherit}h1,h2,h3,h4,h5,h6{direction:ltr;font-size:revert;position:relative;width:-moz-fit-content;width:fit-content}`)],c);var p=c;export{c as Heading,p as default};
|
2
|
+
//# sourceMappingURL=heading.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"heading.js","sources":["../src/components/heading.ts"],"sourcesContent":null,"names":["Heading","GlobalStyle","constructor","this","as","anchor","side","render","html","id","nothing","attr","observedRecord","wrapHeading","htmlSlot","children","__decorate","property","prototype","undefined","godown","styles","css","Heading$1"],"mappings":"oQAkBA,IAAMA,EAAN,MAAMA,gBAAgBC,EAAtB,WAAAC,uBAKEC,KAAEC,GAA4C,KAM9CD,KAAME,OAAG,IAMTF,KAAIG,KAAqB,OAEf,MAAAC,GACR,OAAOC,CAAI,wBAGCL,KAAKM,GAAK,IAAMN,KAAKM,GAAKC,MAChCC,EAAKR,KAAKS,mBAEVT,KAAKU,YACLC,IACAX,KAAKM,GACDD,CAAI,oBACiBL,KAAKE,aAE1B,UAMF,WAAAQ,IAAeE,GACvB,OAAQZ,KAAKC,IACX,IAAK,KACH,OAAOI,CAAI,OACHO,SAEV,IAAK,KACH,OAAOP,CAAI,OACHO,SAEV,IAAK,KACH,OAAOP,CAAI,OACHO,SAEV,IAAK,KACH,OAAOP,CAAI,OACHO,SAEV,IAAK,KACH,OAAOP,CAAI,OACHO,SAEV,QACE,OAAOP,CAAI,OACHO,YAzDdC,EAAA,CADCC,KACiDjB,EAAAkB,UAAA,UAAAC,GAMlDH,EAAA,CADCC,KACWjB,EAAAkB,UAAA,cAAAC,GAMZH,EAAA,CADCC,KAC8BjB,EAAAkB,UAAA,YAAAC,GAjB3BnB,EAAOgB,EAAA,CAFZI,EAViB,WAWjBC,EAAOC,CAAG,8TACLtB,GAoEN,IAAAuB,EAAevB"}
|
package/components/input.d.ts
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
+
import { type TemplateResult } from "lit";
|
1
2
|
import SuperInput from "../core/super-input.js";
|
2
3
|
/**
|
3
4
|
* {@linkcode Input} renders a text input.
|
4
5
|
*
|
6
|
+
* @fires input - Fires when the input value changes.
|
7
|
+
* @fires change - Fires when the input value changes.
|
5
8
|
* @category input
|
6
9
|
*/
|
7
10
|
declare class Input extends SuperInput {
|
@@ -12,8 +15,9 @@ declare class Input extends SuperInput {
|
|
12
15
|
*/
|
13
16
|
variant: "default" | "outline";
|
14
17
|
protected _input: HTMLInputElement;
|
15
|
-
protected render():
|
18
|
+
protected render(): TemplateResult<1>;
|
16
19
|
reset(): void;
|
17
20
|
}
|
18
21
|
export default Input;
|
22
|
+
export { Input };
|
19
23
|
//# sourceMappingURL=input.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../src/components/input.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../src/components/input.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAsB,MAAM,KAAK,CAAC;AAI9D,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAIhD;;;;;;GAMG;AACH,cAEM,KAAM,SAAQ,UAAU;IAC5B,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,OAAO,GAAG,UAAU,CAAU;IAExE,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IAEH,OAAO,EAAE,SAAS,GAAG,SAAS,CAAa;IAG3C,SAAS,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAEnC,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;IAQrC,KAAK,IAAI,IAAI;CAId;AAED,eAAe,KAAK,CAAC;AACrB,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
package/components/input.js
CHANGED
@@ -1,51 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
import { godown } from '@godown/element/decorators/godown.js';
|
3
|
-
import { part } from '@godown/element/decorators/part.js';
|
4
|
-
import { styles } from '@godown/element/decorators/styles.js';
|
5
|
-
import { classList } from '@godown/element/directives/class-list.js';
|
6
|
-
import { html, nothing, css } from 'lit';
|
7
|
-
import { property } from 'lit/decorators.js';
|
8
|
-
import { cssGlobalVars } from '../core/global-style.js';
|
9
|
-
import SuperInput from '../core/super-input.js';
|
10
|
-
|
11
|
-
const protoName = "input";
|
12
|
-
/**
|
13
|
-
* {@linkcode Input} renders a text input.
|
14
|
-
*
|
15
|
-
* @category input
|
16
|
-
*/
|
17
|
-
let Input = class Input extends SuperInput {
|
18
|
-
constructor() {
|
19
|
-
super(...arguments);
|
20
|
-
this.type = "text";
|
21
|
-
/**
|
22
|
-
* If outline, the outline is always present.
|
23
|
-
*/
|
24
|
-
this.variant = "default";
|
25
|
-
}
|
26
|
-
render() {
|
27
|
-
return html `<div part="root" class="${classList("input-field", this.variant)}">${[
|
28
|
-
this._renderPrefix(),
|
29
|
-
html `<input part="input" type="${this.type}" id="${this.makeId}" .value="${this.value}" placeholder="${this.placeholder || nothing}" ?autofocus="${this.autofocus}" autocapitalize="${this.autocapitalize || nothing}" autocomplete="${this.autocomplete || nothing}" ?disabled="${this.disabled}" @input="${this._handleInput}">`,
|
30
|
-
this._renderSuffix(),
|
31
|
-
]}</div>`;
|
32
|
-
}
|
33
|
-
reset() {
|
34
|
-
this._input.value = this.default;
|
35
|
-
this.value = this.default;
|
36
|
-
}
|
37
|
-
};
|
38
|
-
__decorate([
|
39
|
-
property()
|
40
|
-
], Input.prototype, "variant", void 0);
|
41
|
-
__decorate([
|
42
|
-
part("input")
|
43
|
-
], Input.prototype, "_input", void 0);
|
44
|
-
Input = __decorate([
|
45
|
-
godown(protoName),
|
46
|
-
styles(css `:host{width:var(${cssGlobalVars.input}-width);height:var(${cssGlobalVars.input}-height);color:var(${cssGlobalVars.foreground});background:var(${cssGlobalVars.input}-background);border-radius:var(${cssGlobalVars.input}-radius);display:block}`)
|
47
|
-
], Input);
|
48
|
-
var Input$1 = Input;
|
49
|
-
|
50
|
-
export { Input$1 as default };
|
1
|
+
import{__decorate as t}from"tslib";import{part as i,godown as e,styles as r,attr as o,classList as a}from"@godown/element";import{css as s,html as u,nothing as p}from"lit";import{property as d}from"lit/decorators.js";import{cssGlobalVars as l}from"../core/global-style.js";import n from"../core/super-input.js";let h=class Input extends n{constructor(){super(...arguments),this.type="text",this.variant="default"}render(){return u`<div part="root" ${o(this.observedRecord)} class="${a("input-field",this.variant)}">${[this._renderPrefix(),u`<input part="input" type="${this.type}" .value="${this.value}" ?autofocus="${this.autofocus}" ?disabled="${this.disabled}" autocapitalize="${this.autocapitalize||p}" autocomplete="${this.autocomplete||p}" placeholder="${this.placeholder||p}" id="${this.makeId}" @input="${this._handleInput}">`,this._renderSuffix()]}</div>`}reset(){this._input.value=this.default,this.value=this.default}};t([d()],h.prototype,"variant",void 0),t([i("input")],h.prototype,"_input",void 0),h=t([e("input"),r(s`:host{background:var(${l.input}-background);border-radius:var(${l.input}-radius);color:var(${l.foreground});display:block;height:var(${l.input}-height);width:var(${l.input}-width)}`)],h);var c=h;export{h as Input,c as default};
|
51
2
|
//# sourceMappingURL=input.js.map
|
package/components/input.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"input.js","sources":["../src/components/input.ts"],"sourcesContent":null,"names":[
|
1
|
+
{"version":3,"file":"input.js","sources":["../src/components/input.ts"],"sourcesContent":null,"names":["Input","SuperInput","constructor","this","type","variant","render","html","attr","observedRecord","classList","_renderPrefix","value","autofocus","disabled","autocapitalize","nothing","autocomplete","placeholder","makeId","_handleInput","_renderSuffix","reset","_input","default","__decorate","property","prototype","undefined","part","godown","styles","css","cssGlobalVars","input","foreground","Input$1"],"mappings":"uTAkBA,IAAMA,EAAN,MAAMA,cAAcC,EAApB,WAAAC,uBACEC,KAAIC,KAA6D,OAQjED,KAAOE,QAA0B,UAKvB,MAAAC,GACR,OAAOC,CAAI,oBAGLC,EAAKL,KAAKM,0BACHC,EAAU,cAAeP,KAAKE,aAErC,CACAF,KAAKQ,gBACLJ,CAAI,6BAGQJ,KAAKC,iBACHD,KAAKS,sBACDT,KAAKU,yBACNV,KAAKW,6BACAX,KAAKY,gBAAkBC,oBACzBb,KAAKc,cAAgBD,mBACtBb,KAAKe,aAAeF,UAC7Bb,KAAKgB,mBACDhB,KAAKiB,iBAGnBjB,KAAKkB,yBAMb,KAAAC,GACEnB,KAAKoB,OAAOX,MAAQT,KAAKqB,QACzBrB,KAAKS,MAAQT,KAAKqB,UApCpBC,EAAA,CADCC,KACyC1B,EAAA2B,UAAA,eAAAC,GAGhCH,EAAA,CADTI,EAAK,UAC4B7B,EAAA2B,UAAA,cAAAC,GAZ9B5B,EAAKyB,EAAA,CAFVK,EATiB,SAUjBC,EAAOC,CAAG,wBAAwBC,EAAcC,uCAAuCD,EAAcC,2BAA2BD,EAAcE,wCAAwCF,EAAcC,2BAA2BD,EAAcC,kBACxOlC,GAiDN,IAAAoC,EAAepC"}
|
package/components/layout.d.ts
CHANGED
@@ -1,13 +1,14 @@
|
|
1
|
+
import { type TemplateResult } from "lit";
|
1
2
|
import { GlobalStyle } from "../core/global-style.js";
|
2
3
|
/**
|
3
|
-
* {@linkcode
|
4
|
+
* {@linkcode Layout} renders slot and optional top header, bottom footer.
|
4
5
|
*
|
5
6
|
* @slot - The main content of the layout.
|
6
7
|
* @slot header - The header of the layout.
|
7
8
|
* @slot footer - The footer of the layout.
|
8
9
|
* @category layout
|
9
10
|
*/
|
10
|
-
declare class
|
11
|
+
declare class Layout extends GlobalStyle {
|
11
12
|
/**
|
12
13
|
* If true, remove the header slot.
|
13
14
|
*/
|
@@ -20,7 +21,8 @@ declare class NavLayout extends GlobalStyle {
|
|
20
21
|
* If true, header will sticky.
|
21
22
|
*/
|
22
23
|
sticky: boolean;
|
23
|
-
protected render():
|
24
|
+
protected render(): TemplateResult<1>;
|
24
25
|
}
|
25
|
-
export default
|
26
|
+
export default Layout;
|
27
|
+
export { Layout };
|
26
28
|
//# sourceMappingURL=layout.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../src/components/layout.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../src/components/layout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAa,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD;;;;;;;GAOG;AACH,cAEM,MAAO,SAAQ,WAAW;IAC9B;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,MAAM,UAAS;IAEf,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;CAOtC;AAED,eAAe,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
package/components/layout.js
CHANGED
@@ -1,59 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
import { godown } from '@godown/element/decorators/godown.js';
|
3
|
-
import { styles } from '@godown/element/decorators/styles.js';
|
4
|
-
import { classList } from '@godown/element/directives/class-list.js';
|
5
|
-
import { htmlSlot } from '@godown/element/directives/html-slot.js';
|
6
|
-
import { html, css } from 'lit';
|
7
|
-
import { property } from 'lit/decorators.js';
|
8
|
-
import { GlobalStyle } from '../core/global-style.js';
|
9
|
-
|
10
|
-
const protoName = "layout";
|
11
|
-
/**
|
12
|
-
* {@linkcode NavLayout} renders slot and optional top header, bottom footer.
|
13
|
-
*
|
14
|
-
* @slot - The main content of the layout.
|
15
|
-
* @slot header - The header of the layout.
|
16
|
-
* @slot footer - The footer of the layout.
|
17
|
-
* @category layout
|
18
|
-
*/
|
19
|
-
let NavLayout = class NavLayout extends GlobalStyle {
|
20
|
-
constructor() {
|
21
|
-
super(...arguments);
|
22
|
-
/**
|
23
|
-
* If true, remove the header slot.
|
24
|
-
*/
|
25
|
-
this.noHeader = false;
|
26
|
-
/**
|
27
|
-
* If true, remove the footer slot.
|
28
|
-
*/
|
29
|
-
this.noFooter = false;
|
30
|
-
/**
|
31
|
-
* If true, header will sticky.
|
32
|
-
*/
|
33
|
-
this.sticky = false;
|
34
|
-
}
|
35
|
-
render() {
|
36
|
-
return html `${!this.noHeader
|
37
|
-
? html `<header part="header" class="${classList({ sticky: this.sticky })}">${htmlSlot("header")}</header>`
|
38
|
-
: ""}<main part="main">${htmlSlot()}</main>${!this.noFooter
|
39
|
-
? html `<footer part="footer">${htmlSlot("footer")}</footer>`
|
40
|
-
: ""}`;
|
41
|
-
}
|
42
|
-
};
|
43
|
-
__decorate([
|
44
|
-
property({ type: Boolean })
|
45
|
-
], NavLayout.prototype, "noHeader", void 0);
|
46
|
-
__decorate([
|
47
|
-
property({ type: Boolean })
|
48
|
-
], NavLayout.prototype, "noFooter", void 0);
|
49
|
-
__decorate([
|
50
|
-
property({ type: Boolean })
|
51
|
-
], NavLayout.prototype, "sticky", void 0);
|
52
|
-
NavLayout = __decorate([
|
53
|
-
godown(protoName),
|
54
|
-
styles(css `:host{min-height:100%;display:flex;flex-direction:column}.sticky{position:sticky;top:0;z-index:1}[part=main]{position:relative;flex:1;width:100%}footer,header,main{width:100%}`)
|
55
|
-
], NavLayout);
|
56
|
-
var Layout = NavLayout;
|
57
|
-
|
58
|
-
export { Layout as default };
|
1
|
+
import{__decorate as o}from"tslib";import{godown as t,styles as e,attr as r,htmlSlot as i}from"@godown/element";import{css as a,html as n}from"lit";import{property as s}from"lit/decorators.js";import{GlobalStyle as p}from"../core/global-style.js";let d=class Layout extends p{constructor(){super(...arguments),this.noHeader=!1,this.noFooter=!1,this.sticky=!1}render(){return n`<div part="root" ${r(this.observedRecord)}>${this.noHeader?"":n`<header part="header">${i("header")}</header>`}<main part="main">${i()}</main>${this.noFooter?"":n`<footer part="footer">${i("footer")}</footer>`}</div>`}};o([s({type:Boolean})],d.prototype,"noHeader",void 0),o([s({type:Boolean})],d.prototype,"noFooter",void 0),o([s({type:Boolean})],d.prototype,"sticky",void 0),d=o([t("layout"),e(a`:host,:host([contents]) [part=root]{display:flex;flex-direction:column;min-height:100%}[part=root]{display:contents}[sticky] header{position:sticky;top:0;z-index:1}[part=main]{flex:1;position:relative;width:100%}footer,header,main{width:100%}`)],d);var l=d;export{d as Layout,l as default};
|
59
2
|
//# sourceMappingURL=layout.js.map
|
package/components/layout.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"layout.js","sources":["../src/components/layout.ts"],"sourcesContent":null,"names":[
|
1
|
+
{"version":3,"file":"layout.js","sources":["../src/components/layout.ts"],"sourcesContent":null,"names":["Layout","GlobalStyle","constructor","this","noHeader","noFooter","sticky","render","html","attr","observedRecord","htmlSlot","__decorate","property","type","Boolean","prototype","undefined","godown","styles","css","Layout$1"],"mappings":"uPAkBA,IAAMA,EAAN,MAAMA,eAAeC,EAArB,WAAAC,uBAKEC,KAAQC,UAAG,EAMXD,KAAQE,UAAG,EAMXF,KAAMG,QAAG,EAEC,MAAAC,GACR,OAAOC,CAAI,oBAGLC,EAAKN,KAAKO,mBAETP,KAAKC,SAIJ,GAHAI,CAAI,yBACsBG,EAAS,yCAGnBA,aACjBR,KAAKE,SAIJ,GAHAG,CAAI,yBACsBG,EAAS,+BA5B7CC,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACFf,EAAAgB,UAAA,gBAAAC,GAMhBL,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACFf,EAAAgB,UAAA,gBAAAC,GAMhBL,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACJf,EAAAgB,UAAA,cAAAC,GAjBVjB,EAAMY,EAAA,CAFXM,EAViB,UAWjBC,EAAOC,CAAG,uPACLpB,GAyCN,IAAAqB,EAAerB"}
|
package/components/link.d.ts
CHANGED
@@ -16,7 +16,12 @@ declare class Link extends SuperAnchor {
|
|
16
16
|
* If "normal", behave like a normal anchor.
|
17
17
|
*/
|
18
18
|
type: "push" | "replace" | "normal";
|
19
|
+
/**
|
20
|
+
* Suppress the update of the {@linkcode Router}.
|
21
|
+
*/
|
22
|
+
suppress: boolean;
|
19
23
|
protected _handleClick(e: MouseEvent): void;
|
20
24
|
}
|
21
25
|
export default Link;
|
26
|
+
export { Link };
|
22
27
|
//# sourceMappingURL=link.d.ts.map
|
package/components/link.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../src/components/link.ts"],"names":[],"mappings":"AAGA,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAKlD;;;;;;;GAOG;AACH,cACM,IAAK,SAAQ,WAAW;IAC5B;;;;;;OAMG;IAEH,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAY;IAE/C,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU;
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../src/components/link.ts"],"names":[],"mappings":"AAGA,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAKlD;;;;;;;GAOG;AACH,cACM,IAAK,SAAQ,WAAW;IAC5B;;;;;;OAMG;IAEH,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAY;IAE/C;;OAEG;IAEH,QAAQ,UAAS;IAEjB,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;CAS5C;AAED,eAAe,IAAI,CAAC;AACpB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
package/components/link.js
CHANGED
@@ -1,45 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
import { godown } from '@godown/element/decorators/godown.js';
|
3
|
-
import { property } from 'lit/decorators.js';
|
4
|
-
import SuperAnchor from '../core/super-anchor.js';
|
5
|
-
import Router from './router.js';
|
6
|
-
|
7
|
-
const protoName = "link";
|
8
|
-
/**
|
9
|
-
* {@linkcode Link} is used for link jumping.
|
10
|
-
*
|
11
|
-
* Set `type` to `"push" `or `"replace"`,
|
12
|
-
* will invoke the history api and trigger the {@linkcode Router.updateAll}.
|
13
|
-
*
|
14
|
-
* @category navigation
|
15
|
-
*/
|
16
|
-
let Link = class Link extends SuperAnchor {
|
17
|
-
constructor() {
|
18
|
-
super(...arguments);
|
19
|
-
/**
|
20
|
-
* If "push", call `history.pushState`.
|
21
|
-
*
|
22
|
-
* If "replace", call `history.replaceState`.
|
23
|
-
*
|
24
|
-
* If "normal", behave like a normal anchor.
|
25
|
-
*/
|
26
|
-
this.type = "normal";
|
27
|
-
}
|
28
|
-
_handleClick(e) {
|
29
|
-
if (this.type === "push" || this.type === "replace") {
|
30
|
-
e.preventDefault();
|
31
|
-
(history[`${this.type}State`])(null, "", this.href);
|
32
|
-
Router.updateAll();
|
33
|
-
}
|
34
|
-
}
|
35
|
-
};
|
36
|
-
__decorate([
|
37
|
-
property()
|
38
|
-
], Link.prototype, "type", void 0);
|
39
|
-
Link = __decorate([
|
40
|
-
godown(protoName)
|
41
|
-
], Link);
|
42
|
-
var Link$1 = Link;
|
43
|
-
|
44
|
-
export { Link$1 as default };
|
1
|
+
import{__decorate as t}from"tslib";import{godown as e}from"@godown/element";import{property as r}from"lit/decorators.js";import o from"../core/super-anchor.js";import s from"./router.js";let p=class Link extends o{constructor(){super(...arguments),this.type="normal",this.suppress=!1}_handleClick(t){"push"!==this.type&&"replace"!==this.type||(t.preventDefault(),history[`${this.type}State`](null,"",this.href),this.suppress||s.updateAll())}};t([r()],p.prototype,"type",void 0),t([r({type:Boolean})],p.prototype,"suppress",void 0),p=t([e("link")],p);var i=p;export{p as Link,i as default};
|
45
2
|
//# sourceMappingURL=link.js.map
|
package/components/link.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"link.js","sources":["../src/components/link.ts"],"sourcesContent":null,"names":[
|
1
|
+
{"version":3,"file":"link.js","sources":["../src/components/link.ts"],"sourcesContent":null,"names":["Link","SuperAnchor","constructor","this","type","suppress","_handleClick","e","preventDefault","history","href","Router","updateAll","__decorate","property","prototype","undefined","Boolean","godown","Link$1"],"mappings":"2LAiBA,IAAMA,EAAN,MAAMA,aAAaC,EAAnB,WAAAC,uBASEC,KAAIC,KAAkC,SAMtCD,KAAQE,UAAG,EAED,YAAAC,CAAaC,GACH,SAAdJ,KAAKC,MAAiC,YAAdD,KAAKC,OAC/BG,EAAEC,iBACFC,QAAQ,GAAGN,KAAKC,aAAa,KAAM,GAAID,KAAKO,MACvCP,KAAKE,UACRM,EAAOC,eAbbC,EAAA,CADCC,KAC6Cd,EAAAe,UAAA,YAAAC,GAM9CH,EAAA,CADCC,EAAS,CAAEV,KAAMa,WACFjB,EAAAe,UAAA,gBAAAC,GAfZhB,EAAIa,EAAA,CADTK,EAViB,SAWZlB,GA4BN,IAAAmB,EAAenB"}
|
package/components/progress.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { type TemplateResult } from "lit";
|
1
2
|
import { GlobalStyle } from "../core/global-style.js";
|
2
3
|
/**
|
3
4
|
* {@linkcode Progress} similar to `<progress>`.
|
@@ -8,7 +9,7 @@ declare class Progress extends GlobalStyle {
|
|
8
9
|
max: number;
|
9
10
|
min: number;
|
10
11
|
value: number;
|
11
|
-
protected render():
|
12
|
+
protected render(): TemplateResult<1>;
|
12
13
|
/**
|
13
14
|
* Convert s to a percentage without a percent sign.
|
14
15
|
*
|
@@ -18,4 +19,5 @@ declare class Progress extends GlobalStyle {
|
|
18
19
|
parsePercent(s?: string | number): number;
|
19
20
|
}
|
20
21
|
export default Progress;
|
22
|
+
export { Progress };
|
21
23
|
//# sourceMappingURL=progress.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../src/components/progress.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../src/components/progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAa,MAAM,KAAK,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAiB,MAAM,yBAAyB,CAAC;AAIrE;;;;GAIG;AACH,cAEM,QAAS,SAAQ,WAAW;IAEhC,GAAG,SAAK;IAGR,GAAG,SAAK;IAGR,KAAK,EAAE,MAAM,CAAC;IAEd,SAAS,CAAC,MAAM,IAAI,cAAc,CAAC,CAAC,CAAC;IAUrC;;;;;OAKG;IACH,YAAY,CAAC,CAAC,GAAE,MAAM,GAAG,MAAY,GAAG,MAAM;CAM/C;AAED,eAAe,QAAQ,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
package/components/progress.js
CHANGED
@@ -1,59 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
import { godown } from '@godown/element/decorators/godown.js';
|
3
|
-
import { styles } from '@godown/element/decorators/styles.js';
|
4
|
-
import { isNil } from '@godown/element/tools/lib.js';
|
5
|
-
import { html, css } from 'lit';
|
6
|
-
import { property } from 'lit/decorators.js';
|
7
|
-
import { GlobalStyle, cssGlobalVars } from '../core/global-style.js';
|
8
|
-
|
9
|
-
const protoName = "progress";
|
10
|
-
/**
|
11
|
-
* {@linkcode Progress} similar to `<progress>`.
|
12
|
-
*
|
13
|
-
* @category feedback
|
14
|
-
*/
|
15
|
-
let Progress = class Progress extends GlobalStyle {
|
16
|
-
constructor() {
|
17
|
-
super(...arguments);
|
18
|
-
this.max = 1;
|
19
|
-
this.min = 0;
|
20
|
-
}
|
21
|
-
render() {
|
22
|
-
let width = 20;
|
23
|
-
let className;
|
24
|
-
if (!isNil(this.value)) {
|
25
|
-
width = this.parsePercent(this.value);
|
26
|
-
className = "static";
|
27
|
-
}
|
28
|
-
return html `<div part="root" class="${className}"><i part="value" style="width:${width}"></i></div>`;
|
29
|
-
}
|
30
|
-
/**
|
31
|
-
* Convert s to a percentage without a percent sign.
|
32
|
-
*
|
33
|
-
* @param s String or number to convert.
|
34
|
-
* @returns Percentage without a percent sign.
|
35
|
-
*/
|
36
|
-
parsePercent(s = "0") {
|
37
|
-
if (String(s).includes("%")) {
|
38
|
-
return parseFloat(String(s));
|
39
|
-
}
|
40
|
-
return (parseFloat(String(s)) / (this.max - this.min)) * 100;
|
41
|
-
}
|
42
|
-
};
|
43
|
-
__decorate([
|
44
|
-
property({ type: Number })
|
45
|
-
], Progress.prototype, "max", void 0);
|
46
|
-
__decorate([
|
47
|
-
property({ type: Number })
|
48
|
-
], Progress.prototype, "min", void 0);
|
49
|
-
__decorate([
|
50
|
-
property({ type: Number })
|
51
|
-
], Progress.prototype, "value", void 0);
|
52
|
-
Progress = __decorate([
|
53
|
-
godown(protoName),
|
54
|
-
styles(css `:host{width:100%;height:.5em;display:inline-block;border-radius:.25em;background:var(${cssGlobalVars.passive});color:var(${cssGlobalVars.active})}[part=root]{height:inherit;z-index:1;position:relative;border-radius:inherit}[part=value]{position:absolute;z-index:2;top:0;left:0;height:100%;border-radius:inherit;transition:all .3s;animation:progress 1.8s ease-in-out infinite alternate;background:currentColor}@keyframes progress{from{left:0}to{left:80%}}.static [part=value]{animation:none}`)
|
55
|
-
], Progress);
|
56
|
-
var Progress$1 = Progress;
|
57
|
-
|
58
|
-
export { Progress$1 as default };
|
1
|
+
import{__decorate as t}from"tslib";import{godown as r,styles as e,isNil as i,attr as o}from"@godown/element";import{css as s,html as a}from"lit";import{property as n}from"lit/decorators.js";import{cssGlobalVars as l,GlobalStyle as p}from"../core/global-style.js";let d=class Progress extends p{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;return i(this.value)||(r=this.parsePercent(this.value),t="static"),a`<div part="root" ${o(this.observedRecord)} class="${t}"><i part="value" style="width:${r}"></i></div>`}parsePercent(t="0"){return String(t).includes("%")?parseFloat(String(t)):parseFloat(String(t))/(this.max-this.min)*100}};t([n({type:Number})],d.prototype,"max",void 0),t([n({type:Number})],d.prototype,"min",void 0),t([n({type:Number})],d.prototype,"value",void 0),d=t([r("progress"),e(s`:host{background:var(${l.passive});border-radius:.25em;color:var(${l.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;height:inherit;position:relative;z-index:1}[part=value]{animation:progress 1.8s ease-in-out infinite alternate;background:currentColor;border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:all .3s;z-index:2}@keyframes progress{0%{left:0}to{left:80%}}.static [part=value]{animation:none}`)],d);var m=d;export{d as Progress,m as default};
|
59
2
|
//# sourceMappingURL=progress.js.map
|