@roadtrip/components 2.25.0 → 2.25.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/dist/cjs/{app-04553107.js → app-79994847.js} +1 -1
- package/dist/cjs/{css-shim-cf2d8057.js → css-shim-9a05bb86.js} +1 -1
- package/dist/cjs/{dom-ba87b185.js → dom-417ccd20.js} +1 -1
- package/dist/cjs/{index-d47fa3c0.js → index-9b63596c.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/road-accordion.cjs.entry.js +3 -3
- package/dist/cjs/road-alert.cjs.entry.js +1 -1
- package/dist/cjs/road-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/road-avatar.cjs.entry.js +1 -1
- package/dist/cjs/road-badge_11.cjs.entry.js +12 -4
- package/dist/cjs/road-card.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/road-chip.cjs.entry.js +4 -4
- package/dist/cjs/road-collapse.cjs.entry.js +4 -4
- package/dist/cjs/road-counter.cjs.entry.js +3 -3
- package/dist/cjs/road-dialog.cjs.entry.js +1 -1
- package/dist/cjs/road-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/road-flap.cjs.entry.js +1 -1
- package/dist/cjs/road-img.cjs.entry.js +1 -1
- package/dist/cjs/road-input-group.cjs.entry.js +1 -1
- package/dist/cjs/road-input.cjs.entry.js +2 -2
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar.cjs.entry.js +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/road-radio.cjs.entry.js +1 -1
- package/dist/cjs/road-range.cjs.entry.js +1 -1
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +44 -47
- package/dist/cjs/road-select.cjs.entry.js +1 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/road-spinner.cjs.entry.js +1 -1
- package/dist/cjs/road-switch.cjs.entry.js +4 -4
- package/dist/cjs/road-tab-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-tab-button.cjs.entry.js +1 -1
- package/dist/cjs/road-tab.cjs.entry.js +1 -1
- package/dist/cjs/road-table.cjs.entry.js +1 -1
- package/dist/cjs/road-tabs.cjs.entry.js +1 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +6 -6
- package/dist/cjs/road-toast.cjs.entry.js +3 -3
- package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/roadtrip.cjs.js +4 -4
- package/dist/cjs/{shadow-css-7fb0b43f.js → shadow-css-432b27e3.js} +1 -1
- package/dist/cjs/{utils-ade59127.js → utils-90171b88.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/accordion/accordion.css +6 -6
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/accordion.stories.js +81 -37
- package/dist/collection/components/alert/alert.stories.js +51 -45
- package/dist/collection/components/autocomplete/autocomplete.stories.js +50 -18
- package/dist/collection/components/avatar/avatar.stories.js +39 -14
- package/dist/collection/components/badge/badge.stories.js +33 -35
- package/dist/collection/components/button/button.css +4 -4
- package/dist/collection/components/button/button.js +16 -6
- package/dist/collection/components/button/button.stories.js +161 -70
- package/dist/collection/components/carousel/carousel.css +2 -2
- package/dist/collection/components/carousel/carousel.stories.js +317 -73
- package/dist/collection/components/checkbox/checkbox.js +4 -4
- package/dist/collection/components/checkbox/checkbox.stories.js +88 -63
- package/dist/collection/components/chip/chip.js +6 -6
- package/dist/collection/components/chip/chip.stories.js +58 -82
- package/dist/collection/components/collapse/collapse.js +7 -7
- package/dist/collection/components/collapse/collapse.stories.js +141 -126
- package/dist/collection/components/counter/counter.js +4 -4
- package/dist/collection/components/counter/counter.stories.js +64 -30
- package/dist/collection/components/dialog/dialog.stories.js +81 -37
- package/dist/collection/components/drawer/drawer.stories.js +187 -79
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown/dropdown.stories.js +41 -21
- package/dist/collection/components/flap/flap.stories.js +35 -31
- package/dist/collection/components/grid/grid.stories.js +5 -5
- package/dist/collection/components/icon/icon.stories.js +88 -62
- package/dist/collection/components/icon/svg/attachment.svg +1 -0
- package/dist/collection/components/icon/svg/check-list-color.svg +1 -0
- package/dist/collection/components/icon/svg/check-list.svg +1 -0
- package/dist/collection/components/icon/svg/vehicle-car-all-authorize-outline-color.svg +1 -0
- package/dist/collection/components/icon/svg/vehicle-car-all-authorize-outline.svg +1 -0
- package/dist/collection/components/icon/svg/vehicle-car-all-unauthorize-outline-color.svg +1 -0
- package/dist/collection/components/icon/svg/vehicle-car-all-unauthorize-outline.svg +1 -0
- package/dist/collection/components/input/input.css +4 -4
- package/dist/collection/components/input/input.stories.js +192 -126
- package/dist/collection/components/input-group/input-group.stories.js +44 -35
- package/dist/collection/components/item/item.css +2 -2
- package/dist/collection/components/item/item.stories.js +118 -24
- package/dist/collection/components/list/list.stories.js +48 -46
- package/dist/collection/components/modal/modal.stories.js +46 -30
- package/dist/collection/components/navbar/navbar.stories.js +40 -23
- package/dist/collection/components/plate-number/plate-number.stories.js +33 -14
- package/dist/collection/components/progress/progress.stories.js +3 -3
- package/dist/collection/components/radio/radio.stories.js +47 -30
- package/dist/collection/components/range/range.stories.js +39 -32
- package/dist/collection/components/rating/rating.stories.js +40 -31
- package/dist/collection/components/select/select.stories.js +81 -89
- package/dist/collection/components/select-filter/select-filter.stories.js +81 -100
- package/dist/collection/components/switch/switch.js +8 -8
- package/dist/collection/components/switch/switch.stories.js +94 -82
- package/dist/collection/components/table/table.stories.js +15 -6
- package/dist/collection/components/tabs/tabs.stories.js +106 -57
- package/dist/collection/components/text/text.stories.js +8 -4
- package/dist/collection/components/textarea/textarea.js +12 -12
- package/dist/collection/components/textarea/textarea.stories.js +132 -110
- package/dist/collection/components/toast/toast.js +4 -4
- package/dist/collection/components/toast/toast.stories.js +60 -46
- package/dist/collection/components/toolbar/toolbar.stories.js +50 -13
- package/dist/collection/components/tooltip/tooltip.js +4 -4
- package/dist/collection/components/tooltip/tooltip.stories.js +78 -11
- package/dist/esm/{app-6a43d362.js → app-a32f9d74.js} +1 -1
- package/dist/esm/{css-shim-aea0f6cc.js → css-shim-17041dc7.js} +1 -1
- package/dist/esm/{dom-c7604576.js → dom-ba83fb9d.js} +1 -1
- package/dist/esm/{index-4e5ea092.js → index-0c8a0e04.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/road-accordion.entry.js +3 -3
- package/dist/esm/road-alert.entry.js +1 -1
- package/dist/esm/road-autocomplete.entry.js +1 -1
- package/dist/esm/road-avatar.entry.js +1 -1
- package/dist/esm/road-badge_11.entry.js +12 -4
- package/dist/esm/road-card.entry.js +1 -1
- package/dist/esm/road-carousel-item.entry.js +1 -1
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-checkbox.entry.js +2 -2
- package/dist/esm/road-chip.entry.js +4 -4
- package/dist/esm/road-collapse.entry.js +4 -4
- package/dist/esm/road-counter.entry.js +3 -3
- package/dist/esm/road-dialog.entry.js +1 -1
- package/dist/esm/road-dropdown.entry.js +2 -2
- package/dist/esm/road-flap.entry.js +1 -1
- package/dist/esm/road-img.entry.js +1 -1
- package/dist/esm/road-input-group.entry.js +1 -1
- package/dist/esm/road-input.entry.js +2 -2
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-navbar-item.entry.js +1 -1
- package/dist/esm/road-navbar.entry.js +1 -1
- package/dist/esm/road-plate-number.entry.js +1 -1
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-radio-group.entry.js +1 -1
- package/dist/esm/road-radio.entry.js +1 -1
- package/dist/esm/road-range.entry.js +1 -1
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +44 -47
- package/dist/esm/road-select.entry.js +1 -1
- package/dist/esm/road-skeleton.entry.js +1 -1
- package/dist/esm/road-spinner.entry.js +1 -1
- package/dist/esm/road-switch.entry.js +4 -4
- package/dist/esm/road-tab-bar.entry.js +1 -1
- package/dist/esm/road-tab-button.entry.js +1 -1
- package/dist/esm/road-tab.entry.js +1 -1
- package/dist/esm/road-table.entry.js +1 -1
- package/dist/esm/road-tabs.entry.js +1 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +6 -6
- package/dist/esm/road-toast.entry.js +3 -3
- package/dist/esm/road-toolbar-title.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +3 -3
- package/dist/esm/roadtrip.js +4 -4
- package/dist/esm/{shadow-css-83bb1d14.js → shadow-css-bfd5796e.js} +1 -1
- package/dist/esm/{utils-23aa19c1.js → utils-39de47f7.js} +1 -1
- package/dist/esm-es5/app-a32f9d74.js +1 -0
- package/dist/esm-es5/{css-shim-aea0f6cc.js → css-shim-17041dc7.js} +0 -0
- package/dist/esm-es5/{dom-c7604576.js → dom-ba83fb9d.js} +0 -0
- package/dist/esm-es5/{index-4e5ea092.js → index-0c8a0e04.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/road-accordion.entry.js +1 -1
- package/dist/esm-es5/road-alert.entry.js +1 -1
- package/dist/esm-es5/road-autocomplete.entry.js +1 -1
- package/dist/esm-es5/road-avatar.entry.js +1 -1
- package/dist/esm-es5/road-badge_11.entry.js +1 -1
- package/dist/esm-es5/road-card.entry.js +1 -1
- package/dist/esm-es5/road-carousel-item.entry.js +1 -1
- package/dist/esm-es5/road-carousel.entry.js +1 -1
- package/dist/esm-es5/road-checkbox.entry.js +1 -1
- package/dist/esm-es5/road-chip.entry.js +1 -1
- package/dist/esm-es5/road-collapse.entry.js +1 -1
- package/dist/esm-es5/road-counter.entry.js +1 -1
- package/dist/esm-es5/road-dialog.entry.js +1 -1
- package/dist/esm-es5/road-dropdown.entry.js +1 -1
- package/dist/esm-es5/road-flap.entry.js +1 -1
- package/dist/esm-es5/road-img.entry.js +1 -1
- package/dist/esm-es5/road-input-group.entry.js +1 -1
- package/dist/esm-es5/road-input.entry.js +1 -1
- package/dist/esm-es5/road-modal.entry.js +1 -1
- package/dist/esm-es5/road-navbar-item.entry.js +1 -1
- package/dist/esm-es5/road-navbar.entry.js +1 -1
- package/dist/esm-es5/road-plate-number.entry.js +1 -1
- package/dist/esm-es5/road-progress.entry.js +1 -1
- package/dist/esm-es5/road-radio-group.entry.js +1 -1
- package/dist/esm-es5/road-radio.entry.js +1 -1
- package/dist/esm-es5/road-range.entry.js +1 -1
- package/dist/esm-es5/road-rating.entry.js +1 -1
- package/dist/esm-es5/road-select-filter.entry.js +1 -1
- package/dist/esm-es5/road-select.entry.js +1 -1
- package/dist/esm-es5/road-skeleton.entry.js +1 -1
- package/dist/esm-es5/road-spinner.entry.js +1 -1
- package/dist/esm-es5/road-switch.entry.js +1 -1
- package/dist/esm-es5/road-tab-bar.entry.js +1 -1
- package/dist/esm-es5/road-tab-button.entry.js +1 -1
- package/dist/esm-es5/road-tab.entry.js +1 -1
- package/dist/esm-es5/road-table.entry.js +1 -1
- package/dist/esm-es5/road-tabs.entry.js +1 -1
- package/dist/esm-es5/road-text.entry.js +1 -1
- package/dist/esm-es5/road-textarea.entry.js +1 -1
- package/dist/esm-es5/road-toast.entry.js +1 -1
- package/dist/esm-es5/road-toolbar-title.entry.js +1 -1
- package/dist/esm-es5/road-tooltip.entry.js +1 -1
- package/dist/esm-es5/roadtrip.js +1 -1
- package/dist/esm-es5/{shadow-css-83bb1d14.js → shadow-css-bfd5796e.js} +0 -0
- package/dist/esm-es5/{utils-23aa19c1.js → utils-39de47f7.js} +1 -1
- package/dist/html.html-data.json +24 -21
- package/dist/icons/icons.svg +1 -1
- package/dist/icons/index.d.ts +7 -0
- package/dist/icons/index.js +7 -0
- package/dist/roadtrip/index.esm.js +1 -1
- package/dist/roadtrip/{p-05373846.system.js → p-05961c88.system.js} +1 -1
- package/dist/roadtrip/{p-b1a05290.system.entry.js → p-06a743b4.system.entry.js} +1 -1
- package/dist/roadtrip/{p-78143a79.system.entry.js → p-093a2288.system.entry.js} +1 -1
- package/dist/roadtrip/{p-88179272.entry.js → p-0a5f2c0f.entry.js} +1 -1
- package/dist/roadtrip/{p-aa63d5e9.system.entry.js → p-0b4b6077.system.entry.js} +1 -1
- package/dist/roadtrip/{p-9bbeb646.entry.js → p-0e5cecff.entry.js} +1 -1
- package/dist/roadtrip/{p-cb2bebde.entry.js → p-0f8da68b.entry.js} +1 -1
- package/dist/roadtrip/p-102d3882.system.js +1 -0
- package/dist/roadtrip/{p-79a745a7.entry.js → p-1347a27e.entry.js} +1 -1
- package/dist/roadtrip/{p-f62ebe3f.system.entry.js → p-13c18cec.system.entry.js} +1 -1
- package/dist/roadtrip/{p-d39f805b.entry.js → p-16a1b3cb.entry.js} +1 -1
- package/dist/roadtrip/{p-0205d149.entry.js → p-194b2934.entry.js} +1 -1
- package/dist/roadtrip/{p-0245b436.system.entry.js → p-19c89e8f.system.entry.js} +1 -1
- package/dist/roadtrip/p-1c0851b0.entry.js +1 -0
- package/dist/roadtrip/{p-bc8a92cf.system.entry.js → p-1ef8acf8.system.entry.js} +1 -1
- package/dist/roadtrip/{p-1d83535a.entry.js → p-24234448.entry.js} +1 -1
- package/dist/roadtrip/{p-cedaf396.system.entry.js → p-25c303d8.system.entry.js} +1 -1
- package/dist/roadtrip/{p-45b87537.system.entry.js → p-26b3aa33.system.entry.js} +1 -1
- package/dist/roadtrip/{p-e5eda362.system.entry.js → p-2740d308.system.entry.js} +1 -1
- package/dist/roadtrip/{p-d5da11ca.system.entry.js → p-287f1612.system.entry.js} +1 -1
- package/dist/roadtrip/{p-8cb74e64.js → p-33e38a04.js} +1 -1
- package/dist/roadtrip/{p-c7895d95.system.js → p-3683fe49.system.js} +0 -0
- package/dist/roadtrip/p-3cb3107f.entry.js +1 -0
- package/dist/roadtrip/{p-8374797d.entry.js → p-44576eac.entry.js} +1 -1
- package/dist/roadtrip/p-46c22946.js +1 -0
- package/dist/roadtrip/{p-41bcd21c.system.entry.js → p-4742a822.system.entry.js} +1 -1
- package/dist/roadtrip/{p-a082797b.entry.js → p-4ef3684e.entry.js} +1 -1
- package/dist/roadtrip/{p-5cfcbccd.system.entry.js → p-52f05a7c.system.entry.js} +1 -1
- package/dist/roadtrip/{p-41aa7a41.system.entry.js → p-54635daa.system.entry.js} +1 -1
- package/dist/roadtrip/{p-adfa74db.entry.js → p-5bcd3e1f.entry.js} +1 -1
- package/dist/roadtrip/{p-694eee8e.system.entry.js → p-5e8571d3.system.entry.js} +1 -1
- package/dist/roadtrip/p-6195c41f.system.entry.js +1 -0
- package/dist/roadtrip/{p-c9b37cd7.entry.js → p-63aa411f.entry.js} +1 -1
- package/dist/roadtrip/{p-3d2cf159.entry.js → p-68af3047.entry.js} +1 -1
- package/dist/roadtrip/{p-43da88c6.system.entry.js → p-6a123e72.system.entry.js} +1 -1
- package/dist/roadtrip/{p-0626f8a2.system.entry.js → p-6cf85ea2.system.entry.js} +1 -1
- package/dist/roadtrip/{p-fe45a922.entry.js → p-6f744bd8.entry.js} +1 -1
- package/dist/roadtrip/{p-8649dccc.system.js → p-7154119b.system.js} +0 -0
- package/dist/roadtrip/{p-a1f59f11.system.entry.js → p-74218654.system.entry.js} +1 -1
- package/dist/roadtrip/{p-085aad0a.system.entry.js → p-766f8a2a.system.entry.js} +1 -1
- package/dist/roadtrip/{p-628f5836.system.entry.js → p-76885294.system.entry.js} +1 -1
- package/dist/roadtrip/{p-8b445fbd.entry.js → p-768d1a90.entry.js} +1 -1
- package/dist/roadtrip/{p-ffd2a5c1.system.entry.js → p-76f26f2b.system.entry.js} +1 -1
- package/dist/roadtrip/{p-923c9893.entry.js → p-78315356.entry.js} +1 -1
- package/dist/roadtrip/p-7b733694.js +1 -0
- package/dist/roadtrip/{p-ad3b839e.entry.js → p-7fe4f8f3.entry.js} +1 -1
- package/dist/roadtrip/{p-89fb8799.entry.js → p-82a07b27.entry.js} +1 -1
- package/dist/roadtrip/{p-6688d8f8.system.entry.js → p-835d550a.system.entry.js} +1 -1
- package/dist/roadtrip/{p-acc76968.entry.js → p-8d18ebce.entry.js} +1 -1
- package/dist/roadtrip/{p-11db7868.system.entry.js → p-8e21df57.system.entry.js} +1 -1
- package/dist/roadtrip/{p-dad9d770.entry.js → p-92300d3f.entry.js} +1 -1
- package/dist/roadtrip/{p-8067c254.system.entry.js → p-93345613.system.entry.js} +1 -1
- package/dist/roadtrip/{p-9846103f.entry.js → p-93ccfda6.entry.js} +1 -1
- package/dist/roadtrip/{p-356163fb.js → p-93dab753.js} +0 -0
- package/dist/roadtrip/{p-39dd9c7f.entry.js → p-9567d161.entry.js} +1 -1
- package/dist/roadtrip/{p-a671df87.entry.js → p-9a1a293c.entry.js} +1 -1
- package/dist/roadtrip/p-9a36bd11.system.entry.js +1 -0
- package/dist/roadtrip/{p-be0b7289.entry.js → p-9dd72bfa.entry.js} +1 -1
- package/dist/roadtrip/{p-25ea233f.system.entry.js → p-a1168bd5.system.entry.js} +1 -1
- package/dist/roadtrip/{p-2cf6206e.system.entry.js → p-a1628953.system.entry.js} +1 -1
- package/dist/roadtrip/p-a3bc0e5b.entry.js +1 -0
- package/dist/roadtrip/{p-3c7147c6.system.entry.js → p-a467913d.system.entry.js} +1 -1
- package/dist/roadtrip/{p-a567cedb.entry.js → p-a61e04a1.entry.js} +1 -1
- package/dist/roadtrip/{p-85aa4543.system.entry.js → p-a64c67ad.system.entry.js} +1 -1
- package/dist/roadtrip/{p-06049c44.entry.js → p-a7dc1c0c.entry.js} +1 -1
- package/dist/roadtrip/{p-8fc0f477.system.entry.js → p-a87e8b19.system.entry.js} +1 -1
- package/dist/roadtrip/{p-f95a155f.entry.js → p-a9c74737.entry.js} +1 -1
- package/dist/roadtrip/{p-ad4a83f1.js → p-ac0761c3.js} +0 -0
- package/dist/roadtrip/{p-b862fe1a.system.js → p-ad92df4f.system.js} +1 -1
- package/dist/roadtrip/{p-d0a42614.entry.js → p-adbaa790.entry.js} +1 -1
- package/dist/roadtrip/{p-84578822.system.entry.js → p-b0ec7122.system.entry.js} +1 -1
- package/dist/roadtrip/{p-17ed8237.entry.js → p-b0ed748a.entry.js} +1 -1
- package/dist/roadtrip/{p-36a7c233.system.js → p-b205281e.system.js} +1 -1
- package/dist/roadtrip/{p-a6827ec2.entry.js → p-b501c4b2.entry.js} +1 -1
- package/dist/roadtrip/{p-b6ea7ba9.system.entry.js → p-b591a3f7.system.entry.js} +1 -1
- package/dist/roadtrip/{p-c873409a.system.entry.js → p-b6e60fca.system.entry.js} +1 -1
- package/dist/roadtrip/{p-ffacdd19.entry.js → p-bba29599.entry.js} +1 -1
- package/dist/roadtrip/{p-d3e3af9e.system.entry.js → p-bd2a89d4.system.entry.js} +1 -1
- package/dist/roadtrip/{p-f907849c.system.entry.js → p-c0429d42.system.entry.js} +1 -1
- package/dist/roadtrip/{p-f10872aa.entry.js → p-ced4c451.entry.js} +1 -1
- package/dist/roadtrip/{p-9b04e0cb.system.entry.js → p-cf4b48af.system.entry.js} +1 -1
- package/dist/roadtrip/p-d5607a82.system.entry.js +1 -0
- package/dist/roadtrip/{p-790067ad.system.entry.js → p-d861032d.system.entry.js} +1 -1
- package/dist/roadtrip/{p-f6d6d227.entry.js → p-dcfc236e.entry.js} +1 -1
- package/dist/roadtrip/{p-13b46f63.system.entry.js → p-de1a3a53.system.entry.js} +1 -1
- package/dist/roadtrip/{p-3e56faf1.entry.js → p-e4b0578a.entry.js} +1 -1
- package/dist/roadtrip/{p-f0704f07.system.entry.js → p-e56b3c0f.system.entry.js} +1 -1
- package/dist/roadtrip/{p-0bc3262d.entry.js → p-e5756d79.entry.js} +1 -1
- package/dist/roadtrip/{p-82d3347b.entry.js → p-e70b2a21.entry.js} +1 -1
- package/dist/roadtrip/{p-2d8ba6be.entry.js → p-e9a6f1fb.entry.js} +1 -1
- package/dist/roadtrip/{p-388a7f61.system.entry.js → p-eaf8ddaf.system.entry.js} +1 -1
- package/dist/roadtrip/{p-e719a34e.entry.js → p-ed2dbf57.entry.js} +1 -1
- package/dist/roadtrip/{p-72b3db6d.system.js → p-efa19d38.system.js} +0 -0
- package/dist/roadtrip/{p-9233dfbe.entry.js → p-f0ec3a64.entry.js} +1 -1
- package/dist/roadtrip/{p-8a9626cc.entry.js → p-f22c63b7.entry.js} +1 -1
- package/dist/roadtrip/p-f2593f4b.system.entry.js +1 -0
- package/dist/roadtrip/{p-2b0d3888.system.js → p-f33e4ac5.system.js} +1 -1
- package/dist/roadtrip/{p-112e8d3f.js → p-f6631560.js} +0 -0
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.js +1 -1
- package/dist/roadtrip/svg/attachment.svg +1 -0
- package/dist/roadtrip/svg/check-list-color.svg +1 -0
- package/dist/roadtrip/svg/check-list.svg +1 -0
- package/dist/roadtrip/svg/vehicle-car-all-authorize-outline-color.svg +1 -0
- package/dist/roadtrip/svg/vehicle-car-all-authorize-outline.svg +1 -0
- package/dist/roadtrip/svg/vehicle-car-all-unauthorize-outline-color.svg +1 -0
- package/dist/roadtrip/svg/vehicle-car-all-unauthorize-outline.svg +1 -0
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +2 -2
- package/dist/types/components/checkbox/checkbox.d.ts +3 -3
- package/dist/types/components/chip/chip.d.ts +3 -3
- package/dist/types/components/collapse/collapse.d.ts +4 -4
- package/dist/types/components/counter/counter.d.ts +2 -2
- package/dist/types/components/dropdown/dropdown.d.ts +1 -1
- package/dist/types/components/switch/switch.d.ts +5 -5
- package/dist/types/components/textarea/textarea.d.ts +8 -8
- package/dist/types/components/toast/toast.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +2 -2
- package/dist/types/components.d.ts +53 -53
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/icons/icons.svg +1 -1
- package/icons/index.d.ts +7 -0
- package/icons/index.js +7 -0
- package/package.json +7 -6
- package/dist/esm-es5/app-6a43d362.js +0 -1
- package/dist/roadtrip/p-10cc8504.system.entry.js +0 -1
- package/dist/roadtrip/p-55c19c46.system.entry.js +0 -1
- package/dist/roadtrip/p-70d0fb28.entry.js +0 -1
- package/dist/roadtrip/p-95dd1ee4.system.entry.js +0 -1
- package/dist/roadtrip/p-9d3921a8.system.js +0 -1
- package/dist/roadtrip/p-c6b70e6f.js +0 -1
- package/dist/roadtrip/p-c94f70de.entry.js +0 -1
- package/dist/roadtrip/p-d11931f0.js +0 -1
- package/dist/roadtrip/p-da3ea4e5.entry.js +0 -1
- package/dist/roadtrip/p-fe70fb94.system.entry.js +0 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { html } from 'lit-html';
|
|
2
|
+
import { ifDefined } from 'lit-html/directives/if-defined';
|
|
3
|
+
import { list } from '../../../.storybook/list';
|
|
2
4
|
|
|
3
5
|
export default {
|
|
4
6
|
title: 'Media/Icon',
|
|
@@ -6,23 +8,32 @@ export default {
|
|
|
6
8
|
};
|
|
7
9
|
|
|
8
10
|
export const Playground = ({ color, name, size, rotate, lazy }) => html`
|
|
9
|
-
|
|
11
|
+
<road-icon
|
|
12
|
+
color="${ifDefined(color)}"
|
|
13
|
+
name="${ifDefined(name)}"
|
|
14
|
+
size="${ifDefined(size)}"
|
|
15
|
+
rotate="${ifDefined(rotate)}"
|
|
16
|
+
lazy="${ifDefined(lazy)}"
|
|
17
|
+
></road-icon>
|
|
10
18
|
`;
|
|
11
19
|
Playground.args = {
|
|
12
|
-
color: '
|
|
13
|
-
name: 'alert-info',
|
|
14
|
-
size:
|
|
15
|
-
lazy:
|
|
20
|
+
color: 'default',
|
|
21
|
+
name: 'alert-info-outline',
|
|
22
|
+
size: null,
|
|
23
|
+
lazy: null,
|
|
16
24
|
};
|
|
17
25
|
Playground.argTypes = {
|
|
18
26
|
color: {
|
|
19
|
-
options: ['primary', 'secondary', 'accent', 'info', 'success', 'warning', 'danger', 'white'],
|
|
27
|
+
options: ['primary', 'secondary', 'accent', 'info', 'success', 'warning', 'danger', 'default', 'white'],
|
|
20
28
|
control: {
|
|
21
29
|
type: 'select',
|
|
22
30
|
},
|
|
23
31
|
},
|
|
24
32
|
name: {
|
|
25
|
-
|
|
33
|
+
options: list,
|
|
34
|
+
control: {
|
|
35
|
+
type: 'select',
|
|
36
|
+
},
|
|
26
37
|
},
|
|
27
38
|
size: {
|
|
28
39
|
options: ['sm', 'md', 'lg', '3x', '4x'],
|
|
@@ -36,94 +47,109 @@ Playground.argTypes = {
|
|
|
36
47
|
type: 'select',
|
|
37
48
|
},
|
|
38
49
|
},
|
|
50
|
+
icon: {
|
|
51
|
+
control: 'text',
|
|
52
|
+
},
|
|
39
53
|
lazy: {
|
|
40
54
|
control: 'boolean',
|
|
41
55
|
},
|
|
56
|
+
'aria-label': {
|
|
57
|
+
control: 'text',
|
|
58
|
+
},
|
|
59
|
+
'aria-hidden': {
|
|
60
|
+
control: 'text',
|
|
61
|
+
},
|
|
62
|
+
src: {
|
|
63
|
+
control: 'text',
|
|
64
|
+
},
|
|
65
|
+
sanitize: {
|
|
66
|
+
control: 'boolean',
|
|
67
|
+
},
|
|
42
68
|
};
|
|
43
69
|
|
|
44
70
|
export const Sizes = () => html`
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
71
|
+
<road-icon name="alert-success" size="sm"></road-icon>
|
|
72
|
+
<road-icon name="alert-success" size="md"></road-icon>
|
|
73
|
+
<road-icon name="alert-success" size="lg"></road-icon>
|
|
74
|
+
<road-icon name="alert-success" size="3x"></road-icon>
|
|
75
|
+
<road-icon name="alert-success" size="4x"></road-icon>
|
|
50
76
|
`;
|
|
51
77
|
|
|
52
78
|
export const Rotate = () => html`
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
79
|
+
<road-icon name="navigation-chevron"></road-icon>
|
|
80
|
+
<road-icon name="navigation-chevron" rotate="90"></road-icon>
|
|
81
|
+
<road-icon name="navigation-chevron" rotate="180"></road-icon>
|
|
82
|
+
<road-icon name="navigation-chevron" rotate="270"></road-icon>
|
|
57
83
|
`;
|
|
58
84
|
|
|
59
85
|
export const Colors = () => html`
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
86
|
+
<road-icon name="location-pin-garage-norauto" color="primary"></road-icon>
|
|
87
|
+
<road-icon name="location-pin-garage" color="secondary"></road-icon>
|
|
88
|
+
<road-icon name="location-pin-all" color="accent"></road-icon>
|
|
63
89
|
|
|
64
|
-
|
|
90
|
+
<br/>
|
|
65
91
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
92
|
+
<road-icon name="alert-info" color="info"></road-icon>
|
|
93
|
+
<road-icon name="alert-success" color="success"></road-icon>
|
|
94
|
+
<road-icon name="alert-warning" color="warning"></road-icon>
|
|
95
|
+
<road-icon name="alert-danger" color="danger"></road-icon>
|
|
70
96
|
|
|
71
|
-
|
|
97
|
+
<br/>
|
|
72
98
|
|
|
73
|
-
|
|
74
|
-
|
|
99
|
+
<road-icon name="navigation-back"></road-icon>
|
|
100
|
+
<road-icon name="navigation-back" color="white" class="bg-primary"></road-icon>
|
|
75
101
|
`;
|
|
76
102
|
|
|
77
103
|
export const MultipleColors = () => html`
|
|
78
|
-
|
|
79
|
-
|
|
104
|
+
<road-icon name="vehicle-3-doors-color" size="4x"></road-icon>
|
|
105
|
+
<road-icon name="vehicle-3-doors-hatchback-color" size="4x"></road-icon>
|
|
80
106
|
|
|
81
|
-
|
|
107
|
+
<br/>
|
|
82
108
|
|
|
83
|
-
|
|
84
|
-
|
|
109
|
+
<road-icon name="vehicle-5-doors-color" size="4x"></road-icon>
|
|
110
|
+
<road-icon name="vehicle-5-doors-hatchback-color" size="4x"></road-icon>
|
|
85
111
|
|
|
86
|
-
|
|
112
|
+
<br/>
|
|
87
113
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
114
|
+
<road-icon name="vehicle-tires-front-color" size="4x"></road-icon>
|
|
115
|
+
<road-icon name="vehicle-tires-back-color" size="4x"></road-icon>
|
|
116
|
+
<road-icon name="vehicle-tires-all-color" size="4x"></road-icon>
|
|
91
117
|
|
|
92
|
-
|
|
118
|
+
<br/>
|
|
93
119
|
|
|
94
|
-
|
|
95
|
-
|
|
120
|
+
<road-icon name="car-wiper-front-color" size="4x"></road-icon>
|
|
121
|
+
<road-icon name="car-wiper-back-color" size="4x"></road-icon>
|
|
96
122
|
|
|
97
|
-
|
|
123
|
+
<br/>
|
|
98
124
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
125
|
+
<road-icon name="vehicle-car-light-front-color" size="4x"></road-icon>
|
|
126
|
+
<road-icon name="vehicle-car-light-back-color" size="4x"></road-icon>
|
|
127
|
+
<road-icon name="vehicle-car-light-inside-color" size="4x"></road-icon>
|
|
102
128
|
|
|
103
|
-
|
|
129
|
+
<br/>
|
|
104
130
|
|
|
105
|
-
|
|
106
|
-
|
|
131
|
+
<road-icon name="brake-color" size="4x"></road-icon>
|
|
132
|
+
<road-icon name="brake" color="secondary" size="4x"></road-icon>
|
|
107
133
|
|
|
108
|
-
|
|
134
|
+
<br/>
|
|
109
135
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
136
|
+
<div class="bg-primary">
|
|
137
|
+
<road-icon name="location-pin-outline-color" color="white" size="4x"></road-icon>
|
|
138
|
+
<road-icon name="vehicle-car-add-outline-color" color="white" size="4x"></road-icon>
|
|
139
|
+
<road-icon name="vehicle-car-checked-outline-color" color="white" size="4x"></road-icon>
|
|
140
|
+
</div>
|
|
115
141
|
|
|
116
|
-
|
|
142
|
+
<br/>
|
|
117
143
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
144
|
+
<road-icon name="weather-sun-snow-color" size="4x"></road-icon>
|
|
145
|
+
<road-icon name="weather-sun-color" size="4x"></road-icon>
|
|
146
|
+
<road-icon name="weather-snow-color" size="4x"></road-icon>
|
|
121
147
|
|
|
122
|
-
|
|
148
|
+
<br/>
|
|
123
149
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
150
|
+
<road-icon name="people-outline" color="primary" size="4x"></road-icon>
|
|
151
|
+
<road-icon name="people-vip-outline-color" size="4x"></road-icon>
|
|
152
|
+
<road-icon name="people-card-color" size="4x"></road-icon>
|
|
153
|
+
<road-icon name="people-car-fleet-color" size="4x"></road-icon>
|
|
154
|
+
<road-icon name="people-coworker-norauto-color" size="4x"></road-icon>
|
|
129
155
|
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M50.357,8.541a6.75,6.75,0,0,0-9.546,0l-5.593,5.593-1.768-1.768,5.593-5.593a9.25,9.25,0,0,1,13.082,0l4.186,4.186a9.25,9.25,0,0,1,0,13.082L24.041,56.312a9.25,9.25,0,0,1-13.082,0L6.773,52.125a9.25,9.25,0,0,1,0-13.081L26.995,18.822a5.25,5.25,0,0,1,7.425,0l4.222,4.222a5.25,5.25,0,0,1,0,7.425L20.348,48.761l-1.768-1.768L36.874,28.7a2.75,2.75,0,0,0,0-3.889L32.652,20.59a2.75,2.75,0,0,0-3.889,0L8.541,40.812a6.75,6.75,0,0,0,0,9.546l4.186,4.186a6.75,6.75,0,0,0,9.546,0L54.544,22.273a6.75,6.75,0,0,0,0-9.546Z" transform="translate(0.937 0.936)" fill-rule="evenodd"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><g transform="translate(10.32 8.483)"><path d="M39.839,56.71H3.519A3.524,3.524,0,0,1,0,53.19v-42a3.524,3.524,0,0,1,3.519-3.52H37.3v2.5H3.519A1.021,1.021,0,0,0,2.5,11.195v42a1.021,1.021,0,0,0,1.019,1.02h36.32a1.023,1.023,0,0,0,1.021-1.02v-42a1.022,1.022,0,0,0-1.021-1.02H37.3v-2.5h2.54a3.525,3.525,0,0,1,3.521,3.52v42a3.525,3.525,0,0,1-3.521,3.52" transform="translate(0 -7.675)"/><path d="M59,139.5v-3.855h3.855V139.5Zm10.7-.6v-2.527H84.932V138.9Zm-10.638-9.526v-3.855h3.855v3.855Zm10.638-.6v-2.527H84.932v2.527Zm0-10.126v-2.527H84.932v2.527Z" transform="translate(-50.253 -102.628)"/><path d="M2.624,9.152H0v-2.5H2.624V0h2.5V9.152Z" transform="translate(13.34 7.948) rotate(45)" fill="var(--accent-hover, rgb(236, 160, 0))"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><g transform="translate(10.32 8.483)"><path d="M39.839,56.71H3.519A3.524,3.524,0,0,1,0,53.19v-42a3.524,3.524,0,0,1,3.519-3.52H37.3v2.5H3.519A1.021,1.021,0,0,0,2.5,11.195v42a1.021,1.021,0,0,0,1.019,1.02h36.32a1.023,1.023,0,0,0,1.021-1.02v-42a1.022,1.022,0,0,0-1.021-1.02H37.3v-2.5h2.54a3.525,3.525,0,0,1,3.521,3.52v42a3.525,3.525,0,0,1-3.521,3.52" transform="translate(0 -7.675)"/><path d="M59,139.5v-3.855h3.855V139.5Zm10.7-.6v-2.527H84.932V138.9Zm-10.638-9.526v-3.855h3.855v3.855Zm10.638-.6v-2.527H84.932v2.527Zm0-10.126v-2.527H84.932v2.527Z" transform="translate(-50.253 -102.628)"/><path d="M2.624,9.152H0v-2.5H2.624V0h2.5V9.152Z" transform="translate(13.34 7.948) rotate(45)"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M3508.261,2594.013a3.053,3.053,0,0,1-3.05-3.05v-1.32h-23.888v1.32a3.051,3.051,0,0,1-6.1,0v-14.987h-1.311a1.062,1.062,0,0,1,0-2.123h1.61l3.353-10a3.089,3.089,0,0,1,2.931-2.108h22.914a3.107,3.107,0,0,1,2.893,1.994,13.069,13.069,0,0,0,2.551,7.64l1.15,3.449v16.134A3.053,3.053,0,0,1,3508.261,2594.013Zm-30.915-4.37v1.32a.928.928,0,1,0,1.854,0v-1.32Zm29.985,0v1.32a.927.927,0,0,0,1.855,0v-1.32Zm-29.986-13.667v11.548h31.841v-11.548Zm4.466-12.112a.971.971,0,0,0-.922.665l-3.13,9.325h31.012l-3.131-9.325a.97.97,0,0,0-.921-.665Zm41.967,28.393a1.063,1.063,0,0,1-1.062-1.062v-1.644h-9.458v-2.123h9.458v-6.347h-9.458v-2.123h9.043l-.741-2.207a13.281,13.281,0,0,0,2.139-.3l.84,2.5h.708a1.062,1.062,0,1,1,0,2.123h-.409V2591.2A1.063,1.063,0,0,1,3523.778,2592.258Zm-4.346-6.452a1.486,1.486,0,1,1,1.486-1.487A1.489,1.489,0,0,1,3519.432,2585.805Zm-36.134-.051a3.9,3.9,0,1,1,2.756-1.142A3.9,3.9,0,0,1,3483.3,2585.755Zm0-5.674a1.775,1.775,0,1,0,1.775,1.775A1.777,1.777,0,0,0,3483.3,2580.081Zm19.935,5.63a3.9,3.9,0,1,1,3.9-3.9A3.9,3.9,0,0,1,3503.233,2585.711Zm0-5.673a1.775,1.775,0,1,0,1.775,1.775A1.777,1.777,0,0,0,3503.233,2580.038Zm17.59-5.484h0l-.282-.84a.2.2,0,0,0-.187-.134h-4.076a10.964,10.964,0,0,1-3.114-2.123h7.189a2.317,2.317,0,0,1,2.2,1.581l.436,1.3A11.071,11.071,0,0,1,3520.823,2574.554Z" transform="translate(-3471 -2541.056)"/><g transform="translate(36.61 9.327)"><g transform="translate(0 0)"><path d="M3405.476,2373.845a12.087,12.087,0,1,1,8.546-3.541A12.008,12.008,0,0,1,3405.476,2373.845Zm-4.943-13.17h0l-1.3,1.289,4.453,4.453,8.029-8.028-1.289-1.289-6.74,6.729-3.154-3.155Z" transform="translate(-3392.281 -2348.564)" fill="var(--success, rgb(0, 188, 13))"/></g></g><g transform="translate(8.398 36.859)"><path d="M12.137,33.25a3.9,3.9,0,1,0,3.9,3.9,3.9,3.9,0,0,0-3.9-3.9Zm0,5.674a1.775,1.775,0,1,1,1.775-1.775,1.775,1.775,0,0,1-1.775,1.775Z" transform="translate(-8.237 -33.208)" fill="var(--accent-hover, rgb(236, 160, 0))"/><path d="M35.61,33.2a3.9,3.9,0,1,0,3.9,3.9,3.9,3.9,0,0,0-3.9-3.9Zm0,5.672A1.775,1.775,0,1,1,37.384,37.1a1.775,1.775,0,0,1-1.775,1.775Z" transform="translate(-11.775 -33.2)" fill="var(--accent-hover, rgb(236, 160, 0))"/></g><circle cx="1.486" cy="1.486" r="1.486" transform="translate(46.945 41.776)" fill="var(--accent-hover, rgb(236, 160, 0))"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M3508.261,2594.013a3.053,3.053,0,0,1-3.05-3.05v-1.32h-23.888v1.32a3.051,3.051,0,0,1-6.1,0v-14.987h-1.311a1.062,1.062,0,0,1,0-2.123h1.61l3.353-10a3.089,3.089,0,0,1,2.931-2.108h22.914a3.107,3.107,0,0,1,2.893,1.994,13.069,13.069,0,0,0,2.551,7.64l1.15,3.449v16.134A3.053,3.053,0,0,1,3508.261,2594.013Zm-30.915-4.37v1.32a.928.928,0,1,0,1.854,0v-1.32Zm29.985,0v1.32a.927.927,0,0,0,1.855,0v-1.32Zm-29.986-13.667v11.548h31.841v-11.548Zm4.466-12.112a.971.971,0,0,0-.922.665l-3.13,9.325h31.012l-3.131-9.325a.97.97,0,0,0-.921-.665Zm41.967,28.393a1.063,1.063,0,0,1-1.062-1.062v-1.644h-9.458v-2.123h9.458v-6.347h-9.458v-2.123h9.043l-.78-2.205a13.3,13.3,0,0,0,2.146-.29l.872,2.5h.708a1.062,1.062,0,1,1,0,2.123h-.409V2591.2A1.063,1.063,0,0,1,3523.778,2592.258Zm-4.346-6.452a1.486,1.486,0,1,1,1.486-1.487A1.489,1.489,0,0,1,3519.432,2585.805Zm-36.134-.051a3.9,3.9,0,1,1,2.756-1.142A3.9,3.9,0,0,1,3483.3,2585.755Zm0-5.674a1.775,1.775,0,1,0,1.775,1.775A1.777,1.777,0,0,0,3483.3,2580.081Zm19.935,5.63a3.9,3.9,0,1,1,3.9-3.9A3.9,3.9,0,0,1,3503.233,2585.711Zm0-5.673a1.775,1.775,0,1,0,1.775,1.775A1.777,1.777,0,0,0,3503.233,2580.038Z" transform="translate(-3471 -2541.056)"/><g transform="translate(36.61 9.327)"><g transform="translate(0 0)"><path d="M3405.476,2373.845a12.087,12.087,0,1,1,8.546-3.541A12.008,12.008,0,0,1,3405.476,2373.845Zm-4.943-13.17h0l-1.3,1.289,4.453,4.453,8.029-8.028-1.289-1.289-6.74,6.729-3.154-3.155Z" transform="translate(-3392.281 -2348.564)"/></g></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M3657.261,2397.677a3.054,3.054,0,0,1-3.05-3.05v-1.32h-23.888v1.32a3.05,3.05,0,0,1-6.1,0V2379.64h-1.312a1.062,1.062,0,0,1,0-2.123h1.61l3.353-10a3.089,3.089,0,0,1,2.931-2.108h22.914a3.107,3.107,0,0,1,2.893,2,13.071,13.071,0,0,0,2.549,7.635l1.151,3.451v16.133A3.054,3.054,0,0,1,3657.261,2397.677Zm-30.915-4.37v1.32a.927.927,0,1,0,1.853,0v-1.32Zm29.985,0v1.32a.927.927,0,0,0,1.855,0v-1.32Zm-29.986-13.667v11.548h31.841V2379.64Zm4.465-12.112a.97.97,0,0,0-.922.666l-3.13,9.324h31.011l-3.131-9.324a.97.97,0,0,0-.921-.666Zm41.967,28.393a1.063,1.063,0,0,1-1.062-1.062v-1.643h-9.458v-2.123h9.458v-6.347h-9.458v-2.123h9.043l-.741-2.206a13.312,13.312,0,0,0,2.139-.3l.84,2.5h.709a1.062,1.062,0,1,1,0,2.123h-.409v10.114A1.063,1.063,0,0,1,3672.778,2395.92Zm-4.346-6.452a1.486,1.486,0,1,1,1.485-1.486A1.489,1.489,0,0,1,3668.432,2389.469Zm-36.134-.05a3.9,3.9,0,1,1,2.757-1.142A3.9,3.9,0,0,1,3632.3,2389.419Zm0-5.674a1.775,1.775,0,1,0,1.775,1.776A1.777,1.777,0,0,0,3632.3,2383.745Zm19.935,5.63a3.9,3.9,0,1,1,3.9-3.9A3.9,3.9,0,0,1,3652.233,2389.375Zm0-5.672a1.775,1.775,0,1,0,1.775,1.775A1.777,1.777,0,0,0,3652.233,2383.7Zm17.59-5.484h0l-.282-.84a.2.2,0,0,0-.187-.134h-4.077a10.961,10.961,0,0,1-3.114-2.123h7.19a2.316,2.316,0,0,1,2.2,1.582l.436,1.3A11.059,11.059,0,0,1,3669.823,2378.218Z" transform="translate(-3619.87 -2344.416)"/><g transform="translate(37.849 10.739)"><path d="M3596.237,2372.432a12.087,12.087,0,1,1,8.546-3.54A12.006,12.006,0,0,1,3596.237,2372.432Zm-.9-7.549v2h1.8v-2Zm0-11.072v8.412h1.8v-8.412Z" transform="translate(-3584.151 -2348.261)" fill="var(--danger, rgb(255, 64, 59))"/></g><g transform="translate(8.528 37.163)"><path d="M12.137,33.25a3.9,3.9,0,1,0,3.9,3.9,3.9,3.9,0,0,0-3.9-3.9Zm0,5.674a1.775,1.775,0,1,1,1.775-1.775,1.775,1.775,0,0,1-1.775,1.775Z" transform="translate(-8.237 -33.208)" fill="var(--accent-hover, rgb(236, 160, 0))"/><path d="M35.61,33.2a3.9,3.9,0,1,0,3.9,3.9,3.9,3.9,0,0,0-3.9-3.9Zm0,5.672A1.775,1.775,0,1,1,37.384,37.1a1.775,1.775,0,0,1-1.775,1.775Z" transform="translate(-11.775 -33.2)" fill="var(--accent-hover, rgb(236, 160, 0))"/></g><circle cx="1.486" cy="1.486" r="1.486" transform="translate(47.075 42.08)" fill="var(--accent-hover, rgb(236, 160, 0))"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M3657.261,2397.677a3.054,3.054,0,0,1-3.05-3.05v-1.32h-23.888v1.32a3.05,3.05,0,0,1-6.1,0V2379.64h-1.312a1.062,1.062,0,0,1,0-2.123h1.61l3.353-10a3.089,3.089,0,0,1,2.931-2.108h22.914a3.107,3.107,0,0,1,2.893,2,13.071,13.071,0,0,0,2.549,7.635l1.151,3.451v16.133A3.054,3.054,0,0,1,3657.261,2397.677Zm-30.915-4.37v1.32a.927.927,0,1,0,1.853,0v-1.32Zm29.985,0v1.32a.927.927,0,0,0,1.855,0v-1.32Zm-29.986-13.667v11.548h31.841V2379.64Zm4.465-12.112a.97.97,0,0,0-.922.666l-3.13,9.324h31.011l-3.131-9.324a.97.97,0,0,0-.921-.666Zm41.967,28.393a1.063,1.063,0,0,1-1.062-1.062v-1.643h-9.458v-2.123h9.458v-6.347h-9.458v-2.123h9.043l-.781-2.2a13.329,13.329,0,0,0,2.146-.29l.873,2.494h.709a1.062,1.062,0,1,1,0,2.123h-.409v10.114A1.063,1.063,0,0,1,3672.778,2395.92Zm-4.346-6.452a1.486,1.486,0,1,1,1.485-1.486A1.489,1.489,0,0,1,3668.432,2389.469Zm-36.134-.05a3.9,3.9,0,1,1,2.757-1.142A3.9,3.9,0,0,1,3632.3,2389.419Zm0-5.674a1.775,1.775,0,1,0,1.775,1.776A1.777,1.777,0,0,0,3632.3,2383.745Zm19.935,5.63a3.9,3.9,0,1,1,3.9-3.9A3.9,3.9,0,0,1,3652.233,2389.375Zm0-5.672a1.775,1.775,0,1,0,1.775,1.775A1.777,1.777,0,0,0,3652.233,2383.7Z" transform="translate(-3619.87 -2344.416)"/><g transform="translate(37.849 10.739)"><path d="M3596.237,2372.432a12.087,12.087,0,1,1,8.546-3.54A12.006,12.006,0,0,1,3596.237,2372.432Zm-.9-7.549v2h1.8v-2Zm0-11.072v8.412h1.8v-8.412Z" transform="translate(-3584.151 -2348.261)"/></g></svg>
|
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* @prop --input-text-align: align the content of the field
|
|
13
12
|
* @prop --border-radius: Border radius of the field
|
|
14
|
-
* @prop --margin-bottom: Bottom margin of the field
|
|
15
13
|
* @prop --height: height of the field
|
|
14
|
+
* @prop --input-text-align: align the content of the field
|
|
15
|
+
* @prop --margin-bottom: Bottom margin of the field
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
:host {
|
|
20
|
-
--
|
|
20
|
+
--height: 3rem;
|
|
21
21
|
--border-radius: 0.25rem;
|
|
22
|
+
--input-text-align: left;
|
|
22
23
|
--margin-bottom: 1rem;
|
|
23
|
-
--height: 3rem;
|
|
24
24
|
|
|
25
25
|
position: relative;
|
|
26
26
|
display: block;
|
|
@@ -9,14 +9,172 @@ export default {
|
|
|
9
9
|
handles: ['roadBlur', 'roadFocus'],
|
|
10
10
|
},
|
|
11
11
|
},
|
|
12
|
+
argTypes: {
|
|
13
|
+
disabled: {
|
|
14
|
+
control: 'boolean',
|
|
15
|
+
},
|
|
16
|
+
readonly: {
|
|
17
|
+
control: 'boolean',
|
|
18
|
+
},
|
|
19
|
+
required: {
|
|
20
|
+
control: 'boolean',
|
|
21
|
+
},
|
|
22
|
+
autofocus: {
|
|
23
|
+
control: 'boolean',
|
|
24
|
+
},
|
|
25
|
+
spellcheck: {
|
|
26
|
+
control: 'boolean',
|
|
27
|
+
},
|
|
28
|
+
error: {
|
|
29
|
+
control: 'text',
|
|
30
|
+
},
|
|
31
|
+
label: {
|
|
32
|
+
control: 'text',
|
|
33
|
+
},
|
|
34
|
+
name: {
|
|
35
|
+
control: 'text',
|
|
36
|
+
},
|
|
37
|
+
placeholder: {
|
|
38
|
+
control: 'text',
|
|
39
|
+
},
|
|
40
|
+
size: {
|
|
41
|
+
control: 'number',
|
|
42
|
+
},
|
|
43
|
+
min: {
|
|
44
|
+
control: 'text',
|
|
45
|
+
},
|
|
46
|
+
minlength: {
|
|
47
|
+
control: 'number',
|
|
48
|
+
},
|
|
49
|
+
max: {
|
|
50
|
+
control: 'text',
|
|
51
|
+
},
|
|
52
|
+
maxlength: {
|
|
53
|
+
control: 'number',
|
|
54
|
+
},
|
|
55
|
+
step: {
|
|
56
|
+
control: 'number',
|
|
57
|
+
},
|
|
58
|
+
pattern: {
|
|
59
|
+
control: 'text',
|
|
60
|
+
},
|
|
61
|
+
value: {
|
|
62
|
+
control: 'number',
|
|
63
|
+
},
|
|
64
|
+
type: {
|
|
65
|
+
options: ['date', 'email', 'number', 'password', 'search', 'tel', 'text', 'url', 'time'],
|
|
66
|
+
control: {
|
|
67
|
+
type: 'select',
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
autocapitalize: {
|
|
71
|
+
options: ['on', 'off'],
|
|
72
|
+
control: {
|
|
73
|
+
type: 'select',
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
autocomplete: {
|
|
77
|
+
options: ['on', 'off', 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name', 'honorific-suffix', 'nickname', 'email', 'username', 'new-password', 'current-password', 'one-time-code', 'organization-title', 'organization', 'street-address', 'address-line1', 'address-line2', 'address-line3', 'address-level4', 'address-level3', 'address-level2', 'address-level1', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name', 'cc-additional-name', 'cc-family-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday', 'bday-day', 'bday-month', 'bday-year', 'sex', 'tel', 'tel-country-code', 'tel-national', 'tel-area-code', 'tel-local', 'tel-extension', 'impp', 'url', 'photo'],
|
|
78
|
+
control: {
|
|
79
|
+
type: 'select',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
autocorrect: {
|
|
83
|
+
options: ['on', 'off'],
|
|
84
|
+
control: {
|
|
85
|
+
type: 'select',
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
enterkeyhint: {
|
|
89
|
+
options: ['enter', 'done', 'go', 'next', 'previous', 'search', 'send'],
|
|
90
|
+
control: {
|
|
91
|
+
type: 'select',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
inputmode: {
|
|
95
|
+
options: ['none', 'text', 'tel', 'url', 'email', 'numeric', 'decimal', 'search'],
|
|
96
|
+
control: {
|
|
97
|
+
type: 'select',
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
debounce: {
|
|
101
|
+
control: 'number',
|
|
102
|
+
},
|
|
103
|
+
'input-id': {
|
|
104
|
+
control: 'text',
|
|
105
|
+
},
|
|
106
|
+
roadBlur: {
|
|
107
|
+
control: {
|
|
108
|
+
type: null,
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
roadFocus: {
|
|
112
|
+
control: {
|
|
113
|
+
type: null,
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
roadChange: {
|
|
117
|
+
action: 'roadChange',
|
|
118
|
+
control: {
|
|
119
|
+
type: null,
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
roadInput: {
|
|
123
|
+
action: 'roadInput',
|
|
124
|
+
control: {
|
|
125
|
+
type: null,
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
'--height': {
|
|
129
|
+
table: {
|
|
130
|
+
defaultValue: { summary: '3rem' },
|
|
131
|
+
},
|
|
132
|
+
control: {
|
|
133
|
+
type: null,
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
'--border-radius': {
|
|
137
|
+
table: {
|
|
138
|
+
defaultValue: { summary: '0.25rem' },
|
|
139
|
+
},
|
|
140
|
+
control: {
|
|
141
|
+
type: null,
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
'--input-text-align': {
|
|
145
|
+
table: {
|
|
146
|
+
defaultValue: { summary: 'left' },
|
|
147
|
+
},
|
|
148
|
+
control: {
|
|
149
|
+
type: null,
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
'--margin-bottom': {
|
|
153
|
+
table: {
|
|
154
|
+
defaultValue: { summary: '1rem' },
|
|
155
|
+
},
|
|
156
|
+
control: {
|
|
157
|
+
type: null,
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
args: {
|
|
162
|
+
label: 'Label',
|
|
163
|
+
disabled: null,
|
|
164
|
+
readonly: null,
|
|
165
|
+
required: null,
|
|
166
|
+
autofocus: null,
|
|
167
|
+
spellcheck: null,
|
|
168
|
+
},
|
|
12
169
|
};
|
|
13
170
|
|
|
14
|
-
|
|
171
|
+
const Template = (args) => html`
|
|
15
172
|
<road-input
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
173
|
+
input-id="${ifDefined(args['input-id'])}"
|
|
174
|
+
label="${ifDefined(args.label)}"
|
|
175
|
+
disabled="${ifDefined(args.disabled)}"
|
|
176
|
+
required="${ifDefined(args.required)}"
|
|
177
|
+
autofocus="${ifDefined(args.autofocus)}"
|
|
20
178
|
error="${ifDefined(args.error)}"
|
|
21
179
|
size="${ifDefined(args.size)}"
|
|
22
180
|
min="${ifDefined(args.min)}"
|
|
@@ -25,136 +183,44 @@ export const Playground = (args) => html`
|
|
|
25
183
|
minlength="${ifDefined(args.minlength)}"
|
|
26
184
|
step="${ifDefined(args.step)}"
|
|
27
185
|
value="${ifDefined(args.value)}"
|
|
28
|
-
|
|
186
|
+
pattern="${ifDefined(args.pattern)}"
|
|
187
|
+
spellcheck="${ifDefined(args.spellcheck)}"
|
|
29
188
|
placeholder="${ifDefined(args.placeholder)}"
|
|
30
|
-
type="${args.type}"
|
|
31
|
-
autocapitalize="${args.autocapitalize}"
|
|
32
|
-
autocomplete="${args.autocomplete}"
|
|
33
|
-
autocorrect="${args.autocorrect}"
|
|
189
|
+
type="${ifDefined(args.type)}"
|
|
190
|
+
autocapitalize="${ifDefined(args.autocapitalize)}"
|
|
191
|
+
autocomplete="${ifDefined(args.autocomplete)}"
|
|
192
|
+
autocorrect="${ifDefined(args.autocorrect)}"
|
|
34
193
|
enterkeyhint="${ifDefined(args.enterkeyhint)}"
|
|
35
194
|
inputmode="${ifDefined(args.inputmode)}"
|
|
36
|
-
|
|
37
|
-
debounce="${args.debounce}"
|
|
195
|
+
readonly="${ifDefined(args.readonly)}"
|
|
196
|
+
debounce="${ifDefined(args.debounce)}"
|
|
38
197
|
@roadChange=${event => args.roadChange(event.detail.value)}
|
|
39
198
|
@roadInput=${event => args.roadInput(event.target.value)}
|
|
40
199
|
></road-input>
|
|
41
200
|
`;
|
|
42
|
-
Playground.args = {
|
|
43
|
-
label: 'Label',
|
|
44
|
-
type: 'text',
|
|
45
|
-
};
|
|
46
|
-
Playground.argTypes = {
|
|
47
|
-
disabled: {
|
|
48
|
-
control: 'boolean',
|
|
49
|
-
},
|
|
50
|
-
readonly: {
|
|
51
|
-
control: 'boolean',
|
|
52
|
-
},
|
|
53
|
-
required: {
|
|
54
|
-
control: 'boolean',
|
|
55
|
-
},
|
|
56
|
-
autofocus: {
|
|
57
|
-
control: 'boolean',
|
|
58
|
-
},
|
|
59
|
-
spellcheck: {
|
|
60
|
-
control: 'boolean',
|
|
61
|
-
},
|
|
62
|
-
error: {
|
|
63
|
-
control: 'text',
|
|
64
|
-
},
|
|
65
|
-
label: {
|
|
66
|
-
control: 'text',
|
|
67
|
-
},
|
|
68
|
-
name: {
|
|
69
|
-
control: 'text',
|
|
70
|
-
},
|
|
71
|
-
placeholder: {
|
|
72
|
-
control: 'text',
|
|
73
|
-
},
|
|
74
|
-
size: {
|
|
75
|
-
control: 'number',
|
|
76
|
-
},
|
|
77
|
-
min: {
|
|
78
|
-
control: 'number',
|
|
79
|
-
},
|
|
80
|
-
minlength: {
|
|
81
|
-
control: 'number',
|
|
82
|
-
},
|
|
83
|
-
max: {
|
|
84
|
-
control: 'number',
|
|
85
|
-
},
|
|
86
|
-
maxlength: {
|
|
87
|
-
control: 'number',
|
|
88
|
-
},
|
|
89
|
-
step: {
|
|
90
|
-
control: 'number',
|
|
91
|
-
},
|
|
92
|
-
value: {
|
|
93
|
-
control: 'number',
|
|
94
|
-
},
|
|
95
|
-
type: {
|
|
96
|
-
options: ['date', 'email', 'number', 'password', 'search', 'tel', 'text', 'url', 'time'],
|
|
97
|
-
control: {
|
|
98
|
-
type: 'select',
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
autocapitalize: {
|
|
102
|
-
options: ['on', 'off'],
|
|
103
|
-
control: {
|
|
104
|
-
type: 'select',
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
autocomplete: {
|
|
108
|
-
options: ['on', 'off', 'name', 'honorific-prefix', 'given-name', 'additional-name', 'family-name', 'honorific-suffix', 'nickname', 'email', 'username', 'new-password', 'current-password', 'one-time-code', 'organization-title', 'organization', 'street-address', 'address-line1', 'address-line2', 'address-line3', 'address-level4', 'address-level3', 'address-level2', 'address-level1', 'country', 'country-name', 'postal-code', 'cc-name', 'cc-given-name', 'cc-additional-name', 'cc-family-name', 'cc-family-name', 'cc-number', 'cc-exp', 'cc-exp-month', 'cc-exp-year', 'cc-csc', 'cc-type', 'transaction-currency', 'transaction-amount', 'language', 'bday', 'bday-day', 'bday-month', 'bday-year', 'sex', 'tel', 'tel-country-code', 'tel-national', 'tel-area-code', 'tel-local', 'tel-extension', 'impp', 'url', 'photo'],
|
|
109
|
-
control: {
|
|
110
|
-
type: 'select',
|
|
111
|
-
},
|
|
112
|
-
},
|
|
113
|
-
autocorrect: {
|
|
114
|
-
options: ['on', 'off'],
|
|
115
|
-
control: {
|
|
116
|
-
type: 'select',
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
enterkeyhint: {
|
|
120
|
-
options: ['enter', 'done', 'go', 'next', 'previous', 'search', 'send'],
|
|
121
|
-
control: {
|
|
122
|
-
type: 'select',
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
inputmode: {
|
|
126
|
-
options: ['none', 'text', 'tel', 'url', 'email', 'numeric', 'decimal', 'search'],
|
|
127
|
-
control: {
|
|
128
|
-
type: 'select',
|
|
129
|
-
},
|
|
130
|
-
},
|
|
131
|
-
debounce: {
|
|
132
|
-
control: 'number'
|
|
133
|
-
},
|
|
134
|
-
roadChange: {
|
|
135
|
-
action: 'roadChange',
|
|
136
|
-
},
|
|
137
|
-
roadInput: {
|
|
138
|
-
action: 'roadInput',
|
|
139
|
-
},
|
|
140
|
-
};
|
|
141
201
|
|
|
142
|
-
export const
|
|
143
|
-
<road-input label="Label"></road-input>
|
|
144
|
-
`;
|
|
202
|
+
export const Playground = Template.bind({});
|
|
145
203
|
|
|
146
|
-
export const WithValue = ()
|
|
147
|
-
|
|
148
|
-
|
|
204
|
+
export const WithValue = Template.bind({});
|
|
205
|
+
WithValue.args = {
|
|
206
|
+
value: 'Value',
|
|
207
|
+
};
|
|
149
208
|
|
|
150
|
-
export const Date = ()
|
|
151
|
-
|
|
152
|
-
|
|
209
|
+
export const Date = Template.bind({});
|
|
210
|
+
Date.args = {
|
|
211
|
+
label: 'Date',
|
|
212
|
+
type: 'date',
|
|
213
|
+
value: '2021-04-21',
|
|
214
|
+
min: '2021-01-01',
|
|
215
|
+
max: '2021-12-31',
|
|
216
|
+
};
|
|
153
217
|
|
|
154
|
-
export const Disabled = ()
|
|
155
|
-
|
|
156
|
-
|
|
218
|
+
export const Disabled = Template.bind({});
|
|
219
|
+
Disabled.args = {
|
|
220
|
+
disabled: true,
|
|
221
|
+
};
|
|
157
222
|
|
|
158
|
-
export const Error = ()
|
|
159
|
-
|
|
160
|
-
|
|
223
|
+
export const Error = Template.bind({});
|
|
224
|
+
Error.args = {
|
|
225
|
+
error: 'This field is required',
|
|
226
|
+
};
|