@roadtrip/components 2.24.1 → 2.27.0
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 +5 -5
- 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 +7 -2
- package/dist/cjs/road-avatar.cjs.entry.js +2 -2
- package/dist/cjs/road-badge_11.cjs.entry.js +19 -7
- package/dist/cjs/road-card.cjs.entry.js +9 -4
- package/dist/cjs/road-carousel-item.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js +33 -33
- package/dist/cjs/road-checkbox.cjs.entry.js +11 -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 +8 -4
- package/dist/cjs/road-dialog.cjs.entry.js +1 -1
- package/dist/cjs/road-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/road-duration.cjs.entry.js +60 -0
- package/dist/cjs/road-flap.cjs.entry.js +1 -1
- package/dist/cjs/road-img.cjs.entry.js +7 -1
- package/dist/cjs/road-input-group.cjs.entry.js +1 -1
- package/dist/cjs/road-input.cjs.entry.js +12 -3
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item.cjs.entry.js +7 -1
- package/dist/cjs/road-navbar.cjs.entry.js +5 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +11 -3
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-radio-group.cjs.entry.js +3 -1
- package/dist/cjs/road-radio.cjs.entry.js +5 -1
- package/dist/cjs/road-range.cjs.entry.js +4 -2
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +1798 -3
- package/dist/cjs/road-select.cjs.entry.js +9 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/road-spinner.cjs.entry.js +2 -2
- package/dist/cjs/road-switch.cjs.entry.js +13 -4
- package/dist/cjs/road-tab-bar.cjs.entry.js +5 -1
- package/dist/cjs/road-tab-button.cjs.entry.js +7 -1
- package/dist/cjs/road-tab.cjs.entry.js +1 -1
- package/dist/cjs/road-table.cjs.entry.js +2 -2
- package/dist/cjs/road-tabs.cjs.entry.js +3 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +14 -6
- package/dist/cjs/road-toast.cjs.entry.js +3 -3
- package/dist/cjs/road-toolbar-title.cjs.entry.js +2 -2
- package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/roadtrip.cjs.js +5 -5
- 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 +2 -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.js +31 -3
- package/dist/collection/components/autocomplete/autocomplete.stories.js +51 -21
- package/dist/collection/components/avatar/avatar.js +2 -3
- 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 +57 -9
- package/dist/collection/components/button/button.stories.js +162 -71
- package/dist/collection/components/card/card.js +28 -6
- package/dist/collection/components/card/card.stories.js +3 -3
- package/dist/collection/components/carousel/carousel.css +2 -2
- package/dist/collection/components/carousel/carousel.js +48 -48
- package/dist/collection/components/carousel/carousel.stories.js +332 -88
- package/dist/collection/components/checkbox/checkbox.js +67 -7
- package/dist/collection/components/checkbox/checkbox.stories.js +89 -64
- package/dist/collection/components/chip/chip.js +6 -6
- package/dist/collection/components/chip/chip.stories.js +58 -82
- package/dist/collection/components/col/col.js +2 -3
- 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 +50 -13
- package/dist/collection/components/counter/counter.stories.js +65 -31
- 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 -20
- package/dist/collection/components/duration/duration.css +31 -0
- package/dist/collection/components/duration/duration.js +212 -0
- package/dist/collection/components/duration/duration.stories.js +108 -0
- package/dist/collection/components/flap/flap.stories.js +35 -31
- package/dist/collection/components/grid/grid.js +2 -3
- 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/device-smartphone-music-color.svg +1 -0
- package/dist/collection/components/icon/svg/device-smartphone-music.svg +1 -0
- package/dist/collection/components/icon/svg/mic-off-outline-color.svg +1 -0
- package/dist/collection/components/icon/svg/mic-off-outline.svg +1 -0
- package/dist/collection/components/icon/svg/mic-off.svg +1 -0
- package/dist/collection/components/icon/svg/people-community-outline-color.svg +1 -0
- package/dist/collection/components/icon/svg/people-community-outline.svg +1 -0
- package/dist/collection/components/icon/svg/people-community.svg +1 -0
- package/dist/collection/components/icon/svg/people-coworker-color.svg +1 -1
- package/dist/collection/components/icon/svg/people-coworker.svg +1 -1
- package/dist/collection/components/icon/svg/player-radio-music-outline-color.svg +1 -0
- package/dist/collection/components/icon/svg/player-radio-music-outline.svg +1 -0
- package/dist/collection/components/icon/svg/station-electric-outline-color.svg +1 -0
- package/dist/collection/components/icon/svg/station-electric-outline.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/icon/svg/{vehicle-car-bodyworkoutline-color.svg → vehicle-car-bodywork-outline-color.svg} +0 -0
- package/dist/collection/components/img/img.js +61 -4
- package/dist/collection/components/img/img.stories.js +1 -1
- package/dist/collection/components/input/input.css +4 -4
- package/dist/collection/components/input/input.js +89 -8
- package/dist/collection/components/input/input.stories.js +195 -129
- 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/label/label.js +2 -3
- 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.js +27 -0
- package/dist/collection/components/navbar/navbar.stories.js +41 -24
- package/dist/collection/components/navbar-item/navbar-item.js +30 -1
- package/dist/collection/components/plate-number/plate-number.js +99 -20
- package/dist/collection/components/plate-number/plate-number.stories.js +36 -17
- package/dist/collection/components/progress/progress.stories.js +3 -3
- package/dist/collection/components/radio/radio.js +47 -3
- package/dist/collection/components/radio/radio.stories.js +50 -33
- package/dist/collection/components/radio-group/radio-group.js +21 -2
- package/dist/collection/components/range/range.js +26 -8
- package/dist/collection/components/range/range.stories.js +40 -33
- package/dist/collection/components/rating/rating.stories.js +40 -31
- package/dist/collection/components/select/select.js +64 -5
- package/dist/collection/components/select/select.stories.js +82 -90
- package/dist/collection/components/select-filter/select-filter.js +69 -4
- package/dist/collection/components/select-filter/select-filter.stories.js +82 -106
- package/dist/collection/components/skeleton/skeleton.js +2 -3
- package/dist/collection/components/spinner/spinner.js +3 -4
- package/dist/collection/components/switch/switch.js +71 -11
- package/dist/collection/components/switch/switch.stories.js +96 -84
- package/dist/collection/components/tab-bar/tab-bar.js +21 -0
- package/dist/collection/components/tab-button/tab-button.js +30 -1
- package/dist/collection/components/table/table.js +2 -3
- package/dist/collection/components/table/table.stories.js +15 -6
- package/dist/collection/components/tabs/tabs.js +39 -3
- package/dist/collection/components/tabs/tabs.stories.js +107 -58
- package/dist/collection/components/text/text.stories.js +8 -4
- package/dist/collection/components/textarea/textarea.js +97 -17
- package/dist/collection/components/textarea/textarea.stories.js +135 -113
- 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/toolbar-title/toolbar-title.js +3 -4
- 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 +5 -5
- 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 +7 -2
- package/dist/esm/road-avatar.entry.js +2 -2
- package/dist/esm/road-badge_11.entry.js +19 -7
- package/dist/esm/road-card.entry.js +9 -4
- package/dist/esm/road-carousel-item.entry.js +1 -1
- package/dist/esm/road-carousel.entry.js +33 -33
- package/dist/esm/road-checkbox.entry.js +11 -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 +8 -4
- package/dist/esm/road-dialog.entry.js +1 -1
- package/dist/esm/road-dropdown.entry.js +2 -2
- package/dist/esm/road-duration.entry.js +56 -0
- package/dist/esm/road-flap.entry.js +1 -1
- package/dist/esm/road-img.entry.js +7 -1
- package/dist/esm/road-input-group.entry.js +1 -1
- package/dist/esm/road-input.entry.js +12 -3
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-navbar-item.entry.js +7 -1
- package/dist/esm/road-navbar.entry.js +5 -1
- package/dist/esm/road-plate-number.entry.js +11 -3
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-radio-group.entry.js +3 -1
- package/dist/esm/road-radio.entry.js +5 -1
- package/dist/esm/road-range.entry.js +4 -2
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +1798 -3
- package/dist/esm/road-select.entry.js +9 -1
- package/dist/esm/road-skeleton.entry.js +2 -2
- package/dist/esm/road-spinner.entry.js +2 -2
- package/dist/esm/road-switch.entry.js +13 -4
- package/dist/esm/road-tab-bar.entry.js +5 -1
- package/dist/esm/road-tab-button.entry.js +7 -1
- package/dist/esm/road-tab.entry.js +1 -1
- package/dist/esm/road-table.entry.js +2 -2
- package/dist/esm/road-tabs.entry.js +3 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +14 -6
- package/dist/esm/road-toast.entry.js +3 -3
- package/dist/esm/road-toolbar-title.entry.js +2 -2
- package/dist/esm/road-tooltip.entry.js +3 -3
- package/dist/esm/roadtrip.js +5 -5
- 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-duration.entry.js +1 -0
- 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 +63 -21
- package/dist/icons/icons.svg +1 -1
- package/dist/icons/index.d.ts +20 -1
- package/dist/icons/index.js +22 -3
- package/dist/roadtrip/index.esm.js +1 -1
- package/dist/roadtrip/p-01cebe6a.entry.js +1 -0
- package/dist/roadtrip/p-04deac86.system.entry.js +1 -0
- package/dist/roadtrip/{p-05373846.system.js → p-05961c88.system.js} +1 -1
- package/dist/roadtrip/{p-2cf6206e.system.entry.js → p-06921946.system.entry.js} +1 -1
- package/dist/roadtrip/p-0ada8d41.entry.js +1 -0
- package/dist/roadtrip/{p-13b46f63.system.entry.js → p-0be273e0.system.entry.js} +1 -1
- package/dist/roadtrip/{p-cedaf396.system.entry.js → p-0cfc0efd.system.entry.js} +1 -1
- package/dist/roadtrip/{p-9bbeb646.entry.js → p-0e5cecff.entry.js} +1 -1
- package/dist/roadtrip/p-0e645dfb.system.entry.js +1 -0
- package/dist/roadtrip/p-0f532f30.system.entry.js +1 -0
- 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-1481edc3.entry.js +1 -0
- package/dist/roadtrip/p-1c0851b0.entry.js +1 -0
- package/dist/roadtrip/p-20a7a848.system.entry.js +1 -0
- package/dist/roadtrip/{p-1d83535a.entry.js → p-24234448.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-287f1612.system.entry.js +1 -0
- package/dist/roadtrip/p-299ecdd3.entry.js +1 -0
- package/dist/roadtrip/{p-b1a05290.system.entry.js → p-2f2dc4a0.system.entry.js} +1 -1
- package/dist/roadtrip/{p-8cb74e64.js → p-33e38a04.js} +1 -1
- package/dist/roadtrip/p-354107fa.entry.js +1 -0
- package/dist/roadtrip/{p-c7895d95.system.js → p-3683fe49.system.js} +0 -0
- package/dist/roadtrip/p-3ee7ff2a.system.entry.js +1 -0
- package/dist/roadtrip/{p-388a7f61.system.entry.js → p-42ccd4a2.system.entry.js} +1 -1
- 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-5bcd3e1f.entry.js +1 -0
- package/dist/roadtrip/p-6195c41f.system.entry.js +1 -0
- package/dist/roadtrip/{p-9b04e0cb.system.entry.js → p-646e75cf.system.entry.js} +1 -1
- package/dist/roadtrip/p-6a123e72.system.entry.js +1 -0
- package/dist/roadtrip/p-6bc4c517.system.entry.js +1 -0
- package/dist/roadtrip/p-6deb1943.system.entry.js +1 -0
- package/dist/roadtrip/p-6def92c3.entry.js +1 -0
- package/dist/roadtrip/p-6f248970.entry.js +1 -0
- package/dist/roadtrip/p-7070c8b5.system.entry.js +1 -0
- package/dist/roadtrip/p-7130ff47.entry.js +1 -0
- package/dist/roadtrip/{p-8649dccc.system.js → p-7154119b.system.js} +0 -0
- package/dist/roadtrip/p-7304b650.system.entry.js +1 -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-7765931a.system.entry.js +1 -0
- package/dist/roadtrip/{p-923c9893.entry.js → p-78315356.entry.js} +1 -1
- package/dist/roadtrip/p-7a07a70f.entry.js +1 -0
- 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-6688d8f8.system.entry.js → p-835d550a.system.entry.js} +1 -1
- package/dist/roadtrip/p-83f8960f.entry.js +1 -0
- package/dist/roadtrip/p-87eb24ee.entry.js +1 -0
- package/dist/roadtrip/p-8e21df57.system.entry.js +1 -0
- 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-ffd2a5c1.system.entry.js → p-9afcfc7c.system.entry.js} +1 -1
- package/dist/roadtrip/{p-be0b7289.entry.js → p-9dd72bfa.entry.js} +1 -1
- package/dist/roadtrip/p-a1168bd5.system.entry.js +1 -0
- package/dist/roadtrip/p-a61e04a1.entry.js +1 -0
- package/dist/roadtrip/p-a7ddae1b.system.entry.js +1 -0
- package/dist/roadtrip/{p-8fc0f477.system.entry.js → p-a87e8b19.system.entry.js} +1 -1
- package/dist/roadtrip/{p-0626f8a2.system.entry.js → p-a8db6630.system.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-b0e17e68.entry.js +1 -0
- 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-b205281e.system.js +1 -0
- package/dist/roadtrip/{p-b6ea7ba9.system.entry.js → p-b591a3f7.system.entry.js} +1 -1
- package/dist/roadtrip/p-b6e60fca.system.entry.js +1 -0
- package/dist/roadtrip/p-bcf74e54.system.entry.js +1 -0
- package/dist/roadtrip/{p-d3e3af9e.system.entry.js → p-bd2a89d4.system.entry.js} +1 -1
- package/dist/roadtrip/p-bd4a114b.entry.js +1 -0
- package/dist/roadtrip/p-bebdee1e.entry.js +1 -0
- package/dist/roadtrip/{p-f907849c.system.entry.js → p-c0429d42.system.entry.js} +1 -1
- package/dist/roadtrip/p-c637a847.entry.js +1 -0
- package/dist/roadtrip/{p-f10872aa.entry.js → p-ced4c451.entry.js} +1 -1
- package/dist/roadtrip/{p-cb2bebde.entry.js → p-d06202e7.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-e4f0f0d7.entry.js +1 -0
- package/dist/roadtrip/p-e5756d79.entry.js +1 -0
- package/dist/roadtrip/p-e6664bbe.entry.js +1 -0
- 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-ea45d823.entry.js +1 -0
- package/dist/roadtrip/p-ed2dbf57.entry.js +1 -0
- 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-f20a3658.entry.js +1 -0
- package/dist/roadtrip/p-f22c63b7.entry.js +1 -0
- package/dist/roadtrip/p-f233746c.system.entry.js +1 -0
- package/dist/roadtrip/{p-2b0d3888.system.js → p-f33e4ac5.system.js} +1 -1
- package/dist/roadtrip/{p-41aa7a41.system.entry.js → p-f4f42d5c.system.entry.js} +1 -1
- package/dist/roadtrip/{p-112e8d3f.js → p-f6631560.js} +0 -0
- package/dist/roadtrip/p-fa68c113.entry.js +1 -0
- package/dist/roadtrip/p-fce355f6.entry.js +1 -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/device-smartphone-music-color.svg +1 -0
- package/dist/roadtrip/svg/device-smartphone-music.svg +1 -0
- package/dist/roadtrip/svg/mic-off-outline-color.svg +1 -0
- package/dist/roadtrip/svg/mic-off-outline.svg +1 -0
- package/dist/roadtrip/svg/mic-off.svg +1 -0
- package/dist/roadtrip/svg/people-community-outline-color.svg +1 -0
- package/dist/roadtrip/svg/people-community-outline.svg +1 -0
- package/dist/roadtrip/svg/people-community.svg +1 -0
- package/dist/roadtrip/svg/people-coworker-color.svg +1 -1
- package/dist/roadtrip/svg/people-coworker.svg +1 -1
- package/dist/roadtrip/svg/player-radio-music-outline-color.svg +1 -0
- package/dist/roadtrip/svg/player-radio-music-outline.svg +1 -0
- package/dist/roadtrip/svg/station-electric-outline-color.svg +1 -0
- package/dist/roadtrip/svg/station-electric-outline.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/roadtrip/svg/{vehicle-car-bodyworkoutline-color.svg → vehicle-car-bodywork-outline-color.svg} +0 -0
- package/dist/types/components/accordion/accordion.d.ts +1 -1
- package/dist/types/components/autocomplete/autocomplete.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +6 -2
- package/dist/types/components/card/card.d.ts +5 -0
- package/dist/types/components/carousel/carousel.d.ts +16 -16
- package/dist/types/components/checkbox/checkbox.d.ts +12 -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 +8 -4
- package/dist/types/components/dropdown/dropdown.d.ts +1 -1
- package/dist/types/components/duration/duration.d.ts +44 -0
- package/dist/types/components/img/img.d.ts +15 -3
- package/dist/types/components/input/input.d.ts +10 -0
- package/dist/types/components/navbar/navbar.d.ts +2 -0
- package/dist/types/components/navbar-item/navbar-item.d.ts +2 -0
- package/dist/types/components/plate-number/plate-number.d.ts +10 -0
- package/dist/types/components/radio/radio.d.ts +4 -0
- package/dist/types/components/radio-group/radio-group.d.ts +4 -0
- package/dist/types/components/range/range.d.ts +4 -0
- package/dist/types/components/select/select.d.ts +8 -0
- package/dist/types/components/select-filter/select-filter.d.ts +10 -0
- package/dist/types/components/switch/switch.d.ts +14 -5
- package/dist/types/components/tab-bar/tab-bar.d.ts +2 -0
- package/dist/types/components/tab-button/tab-button.d.ts +2 -0
- package/dist/types/components/tabs/tabs.d.ts +8 -0
- package/dist/types/components/textarea/textarea.d.ts +18 -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 +185 -109
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/icons/icons.svg +1 -1
- package/icons/index.d.ts +20 -1
- package/icons/index.js +22 -3
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +10 -7
- package/dist/esm-es5/app-6a43d362.js +0 -1
- package/dist/roadtrip/p-0205d149.entry.js +0 -1
- package/dist/roadtrip/p-0245b436.system.entry.js +0 -1
- package/dist/roadtrip/p-06049c44.entry.js +0 -1
- package/dist/roadtrip/p-0de3a4c8.system.entry.js +0 -1
- package/dist/roadtrip/p-10cc8504.system.entry.js +0 -1
- package/dist/roadtrip/p-16bce6f9.system.entry.js +0 -1
- package/dist/roadtrip/p-2965ce57.entry.js +0 -1
- package/dist/roadtrip/p-36a7c233.system.js +0 -1
- package/dist/roadtrip/p-3c7147c6.system.entry.js +0 -1
- package/dist/roadtrip/p-3d2cf159.entry.js +0 -1
- package/dist/roadtrip/p-3e56faf1.entry.js +0 -1
- package/dist/roadtrip/p-404509c1.entry.js +0 -1
- package/dist/roadtrip/p-464814f7.system.entry.js +0 -1
- package/dist/roadtrip/p-48a0df03.system.entry.js +0 -1
- package/dist/roadtrip/p-55c19c46.system.entry.js +0 -1
- package/dist/roadtrip/p-57e9b50d.entry.js +0 -1
- package/dist/roadtrip/p-5cfcbccd.system.entry.js +0 -1
- package/dist/roadtrip/p-674922e2.system.entry.js +0 -1
- package/dist/roadtrip/p-694eee8e.system.entry.js +0 -1
- package/dist/roadtrip/p-70b2bc5a.entry.js +0 -1
- package/dist/roadtrip/p-70d0fb28.entry.js +0 -1
- package/dist/roadtrip/p-726b0209.system.entry.js +0 -1
- package/dist/roadtrip/p-78143a79.system.entry.js +0 -1
- package/dist/roadtrip/p-89fb8799.entry.js +0 -1
- package/dist/roadtrip/p-96f5d0f6.entry.js +0 -1
- package/dist/roadtrip/p-9846103f.entry.js +0 -1
- package/dist/roadtrip/p-9d3921a8.system.js +0 -1
- package/dist/roadtrip/p-9faa50e1.system.entry.js +0 -1
- package/dist/roadtrip/p-a082797b.entry.js +0 -1
- package/dist/roadtrip/p-a0cbd965.system.entry.js +0 -1
- package/dist/roadtrip/p-a6827ec2.entry.js +0 -1
- package/dist/roadtrip/p-aa63d5e9.system.entry.js +0 -1
- package/dist/roadtrip/p-acc76968.entry.js +0 -1
- package/dist/roadtrip/p-af6faf9b.system.entry.js +0 -1
- package/dist/roadtrip/p-b0c6bcbf.entry.js +0 -1
- package/dist/roadtrip/p-bf18c600.system.entry.js +0 -1
- package/dist/roadtrip/p-c6b70e6f.js +0 -1
- package/dist/roadtrip/p-c9b37cd7.entry.js +0 -1
- package/dist/roadtrip/p-cd0efcac.system.entry.js +0 -1
- package/dist/roadtrip/p-d11931f0.js +0 -1
- package/dist/roadtrip/p-d39f805b.entry.js +0 -1
- package/dist/roadtrip/p-dad9d770.entry.js +0 -1
- package/dist/roadtrip/p-dd6c27c5.entry.js +0 -1
- package/dist/roadtrip/p-ded9cf97.entry.js +0 -1
- package/dist/roadtrip/p-eadfbbbb.entry.js +0 -1
- package/dist/roadtrip/p-f7547337.entry.js +0 -1
- package/dist/roadtrip/p-f80248b1.entry.js +0 -1
- package/dist/roadtrip/p-fe45a922.entry.js +0 -1
- package/dist/roadtrip/p-ffacdd19.entry.js +0 -1
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const selectCss = ".sc-road-select-h{position:relative;display:block;margin-bottom:1rem;font-family:var(--font, sans-serif);color:var(--text)}.form-select.sc-road-select{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;width:100%;height:3rem;padding:0.75rem 3rem 0 1rem;margin:0;font-size:1rem;line-height:1.5;color:var(--text);background:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0icmdiYSgyMywgMzAsIDUyLCAwLjcyKSI+PHBhdGggZD0iTTIzIDI2bDkgMTIgOS0xMnoiLz48L3N2Zz4=\") no-repeat right 0.5rem center/2rem 2rem;background-color:var(--white);border:1px solid var(--border-form);border-radius:0.25rem;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-select.sc-road-select:-moz-focusring{color:transparent;text-shadow:0 0 0 #000000}.form-select.sc-road-select::-ms-expand{display:none}.form-select.sc-road-select::-webkit-input-placeholder{color:var(--text-second)}.form-select.sc-road-select::-moz-placeholder{color:var(--text-second)}.form-select.sc-road-select:-ms-input-placeholder{color:var(--text-second)}.form-select.sc-road-select::-ms-input-placeholder{color:var(--text-second)}.form-select.sc-road-select::placeholder{color:var(--text-second)}.form-select.sc-road-select:focus~.form-select-label.sc-road-select,.form-select[required].sc-road-select:valid~.form-select-label.sc-road-select,.form-select.has-value.sc-road-select~.form-select-label.sc-road-select{-webkit-transform:scale(0.625) translateY(-0.625rem);transform:scale(0.625) translateY(-0.625rem)}.form-select.sc-road-select:focus{border-color:var(--secondary);outline:0}.form-select.sc-road-select:disabled,.form-select[readonly].sc-road-select{color:var(--text-disabled);cursor:not-allowed;background-color:var(--background-second);opacity:1}.form-select-label.sc-road-select{position:absolute;top:0.75rem;left:1rem;display:block;font-size:1rem;line-height:1.5;color:var(--text-second);pointer-events:none;-webkit-transition:-webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:-webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms, -webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;-webkit-transform-origin:0 0;transform-origin:0 0}.invalid-feedback.sc-road-select{display:none;width:100%;margin-top:0.5rem;font-size:0.75rem;color:var(--danger-text)}.form-select.is-invalid.sc-road-select,.was-validated.sc-road-select .form-select.sc-road-select:invalid{border-color:var(--danger)}.form-select.is-invalid.sc-road-select~.invalid-feedback.sc-road-select,.was-validated.sc-road-select .form-select.sc-road-select:invalid~.invalid-feedback.sc-road-select{display:block}";
|
|
4
4
|
|
|
5
5
|
let Select = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
+
this.roadchange = createEvent(this, "roadchange", 7);
|
|
8
9
|
this.roadChange = createEvent(this, "roadChange", 7);
|
|
10
|
+
this.roadfocus = createEvent(this, "roadfocus", 7);
|
|
9
11
|
this.roadFocus = createEvent(this, "roadFocus", 7);
|
|
12
|
+
this.roadblur = createEvent(this, "roadblur", 7);
|
|
10
13
|
this.roadBlur = createEvent(this, "roadBlur", 7);
|
|
11
14
|
/**
|
|
12
15
|
* The id of select
|
|
@@ -48,13 +51,18 @@ let Select = class {
|
|
|
48
51
|
}
|
|
49
52
|
};
|
|
50
53
|
this.onBlur = () => {
|
|
54
|
+
this.roadblur.emit();
|
|
51
55
|
this.roadBlur.emit();
|
|
52
56
|
};
|
|
53
57
|
this.onFocus = () => {
|
|
58
|
+
this.roadfocus.emit();
|
|
54
59
|
this.roadFocus.emit();
|
|
55
60
|
};
|
|
56
61
|
}
|
|
57
62
|
valueChanged() {
|
|
63
|
+
this.roadchange.emit({
|
|
64
|
+
value: this.value,
|
|
65
|
+
});
|
|
58
66
|
this.roadChange.emit({
|
|
59
67
|
value: this.value,
|
|
60
68
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const skeletonCss = ":host{position:relative;display:block;width:100%;min-height:1rem;background:-webkit-gradient(linear, left top, right top, color-stop(8%, var(--background-second)), color-stop(18%, var(--background)), color-stop(33%, var(--background-second)));background:linear-gradient(to right, var(--background-second) 8%, var(--background) 18%, var(--background-second) 33%);background-size:800px 104px;-webkit-animation:road-skeleton-animation 1s linear infinite;animation:road-skeleton-animation 1s linear infinite}@-webkit-keyframes road-skeleton-animation{0%{background-position:-468px 0}100%{background-position:468px 0}}@keyframes road-skeleton-animation{0%{background-position:-468px 0}100%{background-position:468px 0}}";
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ let Skeleton = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(
|
|
10
|
+
return (h("span", null, "\u00A0"));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
Skeleton.style = skeletonCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const spinnerCss = ":host{display:block}.spinner{width:3rem;height:3rem;-webkit-transform-origin:center;transform-origin:center;-webkit-animation:road-rotate 2s linear infinite;animation:road-rotate 2s linear infinite}.spinner-circle{-webkit-animation:road-dash 1.5s ease-in-out infinite;animation:road-dash 1.5s ease-in-out infinite;fill:none;stroke:var(--secondary);stroke-width:3;stroke-dasharray:1, 200;stroke-dashoffset:0;stroke-linecap:round}@-webkit-keyframes road-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes road-rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes road-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:90, 200;stroke-dashoffset:-35px}100%{stroke-dashoffset:-125px}}@keyframes road-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:90, 200;stroke-dashoffset:-35px}100%{stroke-dashoffset:-125px}}";
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ let Spinner = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(
|
|
10
|
+
return (h("svg", { class: "spinner", viewBox: "25 25 50 50" }, h("circle", { class: "spinner-circle", cx: "50", cy: "50", r: "20" })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
Spinner.style = spinnerCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-0c8a0e04.js';
|
|
2
2
|
import './polyfill-2b159e86.js';
|
|
3
3
|
|
|
4
4
|
const switchCss = ".sc-road-switch-h{--switch-lever-width:4.5rem;position:relative;display:block;margin-bottom:1rem;font-family:var(--font, sans-serif);font-size:0.875rem;color:var(--text)}.form-switch-input.sc-road-switch{position:absolute;z-index:-1;opacity:0}.form-switch-label.sc-road-switch{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;cursor:pointer;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.form-switch-lever.sc-road-switch{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;width:var(--switch-lever-width);height:2rem;padding:0.5rem 0.625rem;margin-right:0.5rem;font-size:0.625rem;font-weight:700;line-height:1.6;content:\"\";background:var(--border);border:0.125rem solid transparent;border-radius:1.125rem;-webkit-transition:background 0.2s ease-in-out;transition:background 0.2s ease-in-out}.form-switch-lever.sc-road-switch::before{font-size:0.625rem;font-weight:700;color:var(--white);text-transform:uppercase;content:attr(data-off)}.form-switch-lever.sc-road-switch::after{position:absolute;top:0.0625rem;left:0.0625rem;display:block;width:1.625rem;height:1.625rem;content:\"\";background:var(--white);border-radius:50%;-webkit-box-shadow:0 0.125rem 0.125rem rgba(0, 0, 0, 0.1);box-shadow:0 0.125rem 0.125rem rgba(0, 0, 0, 0.1);-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out}.form-switch-input.sc-road-switch:checked~.form-switch-label.sc-road-switch .form-switch-lever.sc-road-switch{-ms-flex-pack:start;justify-content:flex-start}.form-switch-input.sc-road-switch:checked~.form-switch-label.sc-road-switch .form-switch-lever.sc-road-switch::before{content:attr(data-on)}.form-switch-input.sc-road-switch:checked~.form-switch-label.sc-road-switch .form-switch-lever.sc-road-switch::after{-webkit-transform:translateX(calc(var(--switch-lever-width) - 2rem));transform:translateX(calc(var(--switch-lever-width) - 2rem))}.form-switch-input.focus-visible.sc-road-switch~.form-switch-label.sc-road-switch .form-switch-lever.sc-road-switch{-webkit-box-shadow:0 0 0 0.125rem var(--white), 0 0 0 0.1875rem var(--secondary);box-shadow:0 0 0 0.125rem var(--white), 0 0 0 0.1875rem var(--secondary)}.form-switch-input.sc-road-switch:checked~.form-switch-secondary.sc-road-switch .form-switch-lever.sc-road-switch{background:var(--secondary)}.form-switch-input.sc-road-switch:checked~.form-switch-secondary.sc-road-switch .form-switch-lever.sc-road-switch::before{color:var(--secondary-contrast)}.form-switch-input.sc-road-switch:checked~.form-switch-info.sc-road-switch .form-switch-lever.sc-road-switch{background:var(--info)}.form-switch-input.sc-road-switch:checked~.form-switch-info.sc-road-switch .form-switch-lever.sc-road-switch::before{color:var(--info-contrast)}.form-switch-input.sc-road-switch:checked~.form-switch-success.sc-road-switch .form-switch-lever.sc-road-switch{background:var(--success)}.form-switch-input.sc-road-switch:checked~.form-switch-success.sc-road-switch .form-switch-lever.sc-road-switch::before{color:var(--success-contrast)}.form-switch-input.sc-road-switch:checked~.form-switch-warning.sc-road-switch .form-switch-lever.sc-road-switch{background:var(--warning)}.form-switch-input.sc-road-switch:checked~.form-switch-warning.sc-road-switch .form-switch-lever.sc-road-switch::before{color:var(--warning-contrast)}.form-switch-input.sc-road-switch:checked~.form-switch-danger.sc-road-switch .form-switch-lever.sc-road-switch{background:var(--danger)}.form-switch-input.sc-road-switch:checked~.form-switch-danger.sc-road-switch .form-switch-lever.sc-road-switch::before{color:var(--danger-contrast)}.form-switch-right.sc-road-switch{margin-right:0;margin-left:0.5rem}.form-switch-spaced.sc-road-switch{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}";
|
|
@@ -6,11 +6,14 @@ const switchCss = ".sc-road-switch-h{--switch-lever-width:4.5rem;position:relati
|
|
|
6
6
|
let Switch = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
+
this.roadchange = createEvent(this, "roadchange", 7);
|
|
9
10
|
this.roadChange = createEvent(this, "roadChange", 7);
|
|
11
|
+
this.roadfocus = createEvent(this, "roadfocus", 7);
|
|
10
12
|
this.roadFocus = createEvent(this, "roadFocus", 7);
|
|
13
|
+
this.roadblur = createEvent(this, "roadblur", 7);
|
|
11
14
|
this.roadBlur = createEvent(this, "roadBlur", 7);
|
|
12
15
|
/**
|
|
13
|
-
* The id of
|
|
16
|
+
* The id of switch
|
|
14
17
|
*/
|
|
15
18
|
this.switchId = `road-switch-${switchIds++}`;
|
|
16
19
|
/**
|
|
@@ -18,11 +21,11 @@ let Switch = class {
|
|
|
18
21
|
*/
|
|
19
22
|
this.name = this.switchId;
|
|
20
23
|
/**
|
|
21
|
-
* If `true`, the
|
|
24
|
+
* If `true`, the switch is checked.
|
|
22
25
|
*/
|
|
23
26
|
this.checked = false;
|
|
24
27
|
/**
|
|
25
|
-
* If `true`, the user cannot interact with the
|
|
28
|
+
* If `true`, the user cannot interact with the switch.
|
|
26
29
|
*/
|
|
27
30
|
this.disabled = false;
|
|
28
31
|
/**
|
|
@@ -57,13 +60,19 @@ let Switch = class {
|
|
|
57
60
|
this.checked = !this.checked;
|
|
58
61
|
};
|
|
59
62
|
this.onFocus = () => {
|
|
63
|
+
this.roadfocus.emit();
|
|
60
64
|
this.roadFocus.emit();
|
|
61
65
|
};
|
|
62
66
|
this.onBlur = () => {
|
|
63
67
|
this.roadBlur.emit();
|
|
68
|
+
this.roadblur.emit();
|
|
64
69
|
};
|
|
65
70
|
}
|
|
66
71
|
checkedChanged(isChecked) {
|
|
72
|
+
this.roadchange.emit({
|
|
73
|
+
checked: isChecked,
|
|
74
|
+
value: this.value,
|
|
75
|
+
});
|
|
67
76
|
this.roadChange.emit({
|
|
68
77
|
checked: isChecked,
|
|
69
78
|
value: this.value,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-0c8a0e04.js';
|
|
2
2
|
import './polyfill-2b159e86.js';
|
|
3
3
|
|
|
4
4
|
const tabBarCss = ":host{--tab-bar-background:var(--white);--tab-color:var(--text-second);--tab-color-selected:var(--text);--tab-underline-selected:var(--secondary);--tab-background:var(--white);--tab-background-hover:var(--background-second);--tab-background-focused:var(--background);display:-ms-flexbox;display:flex;width:100%;padding:0 0.5rem;margin:0;overflow:scroll;overflow-x:inherit;font-family:var(--font, sans-serif);line-height:1.5;color:var(--text);text-transform:uppercase;list-style:none;background:var(--tab-bar-background);border-bottom:1px solid var(--border);fill:currentColor;scrollbar-width:none}:host(::-webkit-scrollbar){display:none}:host(.tab-expand) ::slotted(road-tab-button){-ms-flex-positive:1;flex-grow:1}:host(.tab-center){-ms-flex-pack:center;justify-content:center}";
|
|
@@ -6,6 +6,7 @@ const tabBarCss = ":host{--tab-bar-background:var(--white);--tab-color:var(--tex
|
|
|
6
6
|
let TabBar = class {
|
|
7
7
|
constructor(hostRef) {
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
|
+
this.roadtabbarchanged = createEvent(this, "roadtabbarchanged", 7);
|
|
9
10
|
this.roadTabBarChanged = createEvent(this, "roadTabBarChanged", 7);
|
|
10
11
|
/**
|
|
11
12
|
* Set to `true` to expand buttons width to take the full size of the bar.
|
|
@@ -18,6 +19,9 @@ let TabBar = class {
|
|
|
18
19
|
}
|
|
19
20
|
selectedTabChanged() {
|
|
20
21
|
if (this.selectedTab !== undefined) {
|
|
22
|
+
this.roadtabbarchanged.emit({
|
|
23
|
+
tab: this.selectedTab,
|
|
24
|
+
});
|
|
21
25
|
this.roadTabBarChanged.emit({
|
|
22
26
|
tab: this.selectedTab,
|
|
23
27
|
});
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const tabButtonCss = ":host{-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:700;color:var(--tab-color);outline:0;-webkit-transition:background 0.15s ease-in-out;transition:background 0.15s ease-in-out}:host(.tab-selected){color:var(--tab-color-selected)}:host(.tab-selected) ::slotted(road-icon){color:var(--tab-color-selected)}:host(.tab-selected) .button-native::after{background:var(--tab-underline-selected);opacity:1;-webkit-transform:none;transform:none}:host(:hover){background:var(--tab-background-hover)}:host(.focus-visible){background:var(--tab-background-focused)}.button-native{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-align:inherit;align-items:inherit;-ms-flex-pack:inherit;justify-content:inherit;width:100%;height:100%;min-height:3.5rem;padding:0.75rem var(--padding-end, 1.5rem) 0.75rem var(--padding-start, 1.5rem);margin:0;overflow:hidden;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;-webkit-user-drag:none;border-color:initial;border-style:initial;border-width:0;border-radius:inherit;-o-border-image:initial;border-image:initial;outline:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.button-native::after{position:absolute;bottom:0;left:0;display:block;width:100%;height:2px;content:\"\";opacity:0;-webkit-transition:-webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);-webkit-transform:scaleX(0);transform:scaleX(0);-webkit-transform-origin:center;transform-origin:center}.button-inner{position:relative;z-index:1;display:-ms-flexbox;display:flex;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}:host ::slotted(road-icon){color:var(--tab-color)}:host(.tab-layout-icon-start) ::slotted(road-icon){margin-right:0.5rem}:host(.tab-layout-icon-top) .button-inner{-ms-flex-direction:column;flex-direction:column}:host(.tab-layout-icon-top) ::slotted(road-label){margin-top:0.25rem;font-size:0.625rem}";
|
|
4
4
|
|
|
5
5
|
let TabButton = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
+
this.roadtabbuttonclick = createEvent(this, "roadtabbuttonclick", 7);
|
|
8
9
|
this.roadTabButtonClick = createEvent(this, "roadTabButtonClick", 7);
|
|
9
10
|
/**
|
|
10
11
|
* Set the layout of the text and icon in the tab bar.
|
|
@@ -33,6 +34,11 @@ let TabButton = class {
|
|
|
33
34
|
}
|
|
34
35
|
selectTab(ev) {
|
|
35
36
|
if (this.tab !== undefined) {
|
|
37
|
+
this.roadtabbuttonclick.emit({
|
|
38
|
+
tab: this.tab,
|
|
39
|
+
href: this.href,
|
|
40
|
+
selected: this.selected,
|
|
41
|
+
});
|
|
36
42
|
this.roadTabButtonClick.emit({
|
|
37
43
|
tab: this.tab,
|
|
38
44
|
href: this.href,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const tableCss = ".sc-road-table-h{-webkit-box-sizing:border-box;box-sizing:border-box;display:block}.sc-road-table-s>table{width:100%;font-family:var(--font, sans-serif);font-size:0.875rem;line-height:1.5;color:var(--text);border-collapse:collapse;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.sc-road-table-s>table th,.sc-road-table-s>table td{padding:1.5rem 1.25rem;text-align:left}.sc-road-table-s>table thead tr,.sc-road-table-s>table tbody tr:nth-child(2n){background:var(--background-second)}";
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ let Table = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(
|
|
10
|
+
return (h("slot", null));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
Table.style = tableCss;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, e as getElement } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const tabsCss = ":host{position:relative;display:block}";
|
|
4
4
|
|
|
5
5
|
let Tabs = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
+
this.roadtabswillchange = createEvent(this, "roadtabswillchange", 3);
|
|
8
9
|
this.roadTabsWillChange = createEvent(this, "roadTabsWillChange", 3);
|
|
10
|
+
this.roadtabsdidchange = createEvent(this, "roadtabsdidchange", 3);
|
|
9
11
|
this.roadTabsDidChange = createEvent(this, "roadTabsDidChange", 3);
|
|
10
12
|
this.transitioning = false;
|
|
11
13
|
this.onTabClicked = (ev) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const textCss = ":host(.text-primary){color:var(--primary)}:host(.text-secondary){color:var(--secondary)}:host(.text-accent){color:var(--accent)}:host(.text-info){color:var(--info)}:host(.text-success){color:var(--success)}:host(.text-warning){color:var(--warning)}:host(.text-danger){color:var(--danger)}:host(.text-default){color:var(--text)}:host(.text-default-second){color:var(--text-second)}:host(.text-disabled){color:var(--text-disabled)}:host(.text-white){color:var(--white)}";
|
|
4
4
|
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const textareaCss = ".sc-road-textarea-h{position:relative;display:block;margin-bottom:1rem;font-family:var(--font, sans-serif);color:var(--text)}.form-control.sc-road-textarea{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;width:100%;height:3rem;padding:0.625rem 1rem 0;margin:0;font-size:0.875rem;color:var(--text);background:var(--white);border:1px solid var(--border-form);border-radius:0.25rem;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-control.sc-road-textarea::-webkit-input-placeholder{color:var(--text-second)}.form-control.sc-road-textarea::-moz-placeholder{color:var(--text-second)}.form-control.sc-road-textarea:-ms-input-placeholder{color:var(--text-second)}.form-control.sc-road-textarea::-ms-input-placeholder{color:var(--text-second)}.form-control.sc-road-textarea::placeholder{color:var(--text-second)}.form-control.sc-road-textarea:focus~.form-label.sc-road-textarea,.form-control[required].sc-road-textarea:valid~.form-label.sc-road-textarea,.form-control.has-value.sc-road-textarea~.form-label.sc-road-textarea{-webkit-transform:scale(0.7) translateY(-0.75rem);transform:scale(0.7) translateY(-0.75rem)}.form-control.sc-road-textarea:-moz-placeholder-shown~.form-label.sc-road-textarea{transform:scale(0.7) translateY(-0.75rem)}.form-control.sc-road-textarea:-ms-input-placeholder~.form-label.sc-road-textarea{transform:scale(0.7) translateY(-0.75rem)}.form-control.sc-road-textarea:placeholder-shown~.form-label.sc-road-textarea{-webkit-transform:scale(0.7) translateY(-0.75rem);transform:scale(0.7) translateY(-0.75rem)}.form-control.sc-road-textarea:-ms-input-placeholder~.form-label.sc-road-textarea{transform:scale(0.7) translateY(-0.75rem)}.form-control.sc-road-textarea:focus{border-color:var(--secondary);outline:0}.form-control.sc-road-textarea:disabled,.form-control[readonly].sc-road-textarea{color:var(--text-disabled);cursor:not-allowed;background:var(--background-second)}.textarea-control.sc-road-textarea{height:auto;padding-top:1rem;line-height:1.5}.form-label.sc-road-textarea{position:absolute;top:0.875rem;left:1rem;display:block;font-size:0.875rem;line-height:1.5;color:var(--text-second);pointer-events:none;-webkit-transition:-webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:-webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;transition:transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms, -webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;-webkit-transform-origin:0 0;transform-origin:0 0}.invalid-feedback.sc-road-textarea{display:none;width:100%;margin-top:0.5rem;font-size:0.75rem;color:var(--danger-text)}.form-control.is-invalid.sc-road-textarea,.was-validated.sc-road-textarea .form-control.sc-road-textarea:invalid{border-color:var(--danger)}.form-control.is-invalid.sc-road-textarea~.invalid-feedback.sc-road-textarea,.was-validated.sc-road-textarea .form-control.sc-road-textarea:invalid~.invalid-feedback.sc-road-textarea{display:block}";
|
|
4
4
|
|
|
5
5
|
let Textarea = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
+
this.roadinput = createEvent(this, "roadinput", 7);
|
|
8
9
|
this.roadInput = createEvent(this, "roadInput", 7);
|
|
10
|
+
this.roadchange = createEvent(this, "roadchange", 7);
|
|
9
11
|
this.roadChange = createEvent(this, "roadChange", 7);
|
|
12
|
+
this.roadblur = createEvent(this, "roadblur", 7);
|
|
10
13
|
this.roadBlur = createEvent(this, "roadBlur", 7);
|
|
14
|
+
this.roadfocus = createEvent(this, "roadfocus", 7);
|
|
11
15
|
this.roadFocus = createEvent(this, "roadFocus", 7);
|
|
12
16
|
/**
|
|
13
|
-
* The id of
|
|
17
|
+
* The id of textarea
|
|
14
18
|
*/
|
|
15
19
|
this.textareaId = `road-textarea-${textareaIds++}`;
|
|
16
20
|
/**
|
|
@@ -18,11 +22,11 @@ let Textarea = class {
|
|
|
18
22
|
*/
|
|
19
23
|
this.autocapitalize = 'none';
|
|
20
24
|
/**
|
|
21
|
-
* This Boolean attribute lets you specify that a form control should have
|
|
25
|
+
* This Boolean attribute lets you specify that a form control should have focus when the page loads.
|
|
22
26
|
*/
|
|
23
27
|
this.autofocus = false;
|
|
24
28
|
/**
|
|
25
|
-
* If `true`, the user cannot interact with the
|
|
29
|
+
* If `true`, the user cannot interact with the textarea.
|
|
26
30
|
*/
|
|
27
31
|
this.disabled = false;
|
|
28
32
|
/**
|
|
@@ -42,7 +46,7 @@ let Textarea = class {
|
|
|
42
46
|
*/
|
|
43
47
|
this.spellcheck = false;
|
|
44
48
|
/**
|
|
45
|
-
* The value of the
|
|
49
|
+
* The value of the textarea.
|
|
46
50
|
*/
|
|
47
51
|
this.value = '';
|
|
48
52
|
/**
|
|
@@ -54,19 +58,23 @@ let Textarea = class {
|
|
|
54
58
|
if (input) {
|
|
55
59
|
this.value = input.value || '';
|
|
56
60
|
}
|
|
61
|
+
this.roadinput.emit(ev);
|
|
57
62
|
this.roadInput.emit(ev);
|
|
58
63
|
};
|
|
59
64
|
this.onBlur = () => {
|
|
65
|
+
this.roadblur.emit();
|
|
60
66
|
this.roadBlur.emit();
|
|
61
67
|
};
|
|
62
68
|
this.onFocus = () => {
|
|
69
|
+
this.roadfocus.emit();
|
|
63
70
|
this.roadFocus.emit();
|
|
64
71
|
};
|
|
65
72
|
}
|
|
66
73
|
/**
|
|
67
|
-
* Update the native
|
|
74
|
+
* Update the native textarea element when the value changes
|
|
68
75
|
*/
|
|
69
76
|
valueChanged() {
|
|
77
|
+
this.roadchange.emit({ value: this.value });
|
|
70
78
|
this.roadChange.emit({ value: this.value });
|
|
71
79
|
}
|
|
72
80
|
getValue() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-0c8a0e04.js';
|
|
2
2
|
import { a as navigationClose, g as alertInfo, h as alertDanger, i as alertWarning, j as alertSuccess } from './index-1ea26b25.js';
|
|
3
3
|
|
|
4
4
|
const toastCss = ":host{position:fixed;left:0;z-index:1;display:block;width:100%;visibility:hidden;opacity:0;-webkit-transition:opacity 0.3s ease-in-out, visibility 0.15s, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, visibility 0.15s, -webkit-transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, visibility 0.15s, transform 0.3s ease-in-out;transition:opacity 0.3s ease-in-out, visibility 0.15s, transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out}:host(.toast-top){top:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}:host(.toast-bottom){bottom:0;-webkit-transform:translateY(100%);transform:translateY(100%)}:host(.toast-open){visibility:visible;opacity:1;-webkit-transform:none;transform:none}.toast{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex:0 0 100%;flex:0 0 100%;-ms-flex-align:center;align-items:center;max-width:100%;padding:1.5rem 2rem 1.5rem 3rem;margin-right:0.5rem;margin-left:0.5rem;font-family:var(--font, sans-serif);font-size:0.875rem;line-height:1.4;text-align:left}:host(.toast-top) .toast{border-radius:0 0 0.25rem 0.25rem}:host(.toast-bottom) .toast{border-radius:0.25rem 0.25rem 0 0}@media (min-width: 576px){.toast{-ms-flex:0 0 83.3333%;flex:0 0 83.3333%;-ms-flex-pack:center;justify-content:center;max-width:83.3333%;padding:1rem 2rem;margin-right:auto;margin-left:auto}}.toast-danger{color:var(--danger-contrast);background:var(--danger)}.toast-danger road-icon{color:var(--danger-contrast)}.toast-warning{color:var(--warning-contrast);background:var(--warning)}.toast-warning road-icon{color:var(--white)}.toast-success{color:var(--success-contrast);background:var(--success)}.toast-success road-icon{color:var(--success-contrast)}.toast-info{color:var(--info-contrast);background:var(--info)}.toast-info road-icon{color:var(--info-contrast)}.toast-icon{position:absolute;top:1rem;left:0.5rem}@media (min-width: 576px){.toast-icon{position:relative;top:auto;left:auto;margin-right:0.5rem}}.toast-close{position:absolute;top:4px;right:4px;display:inline-block;padding:0;color:inherit;cursor:pointer;background:none;border:1px solid transparent;border-radius:4px;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.toast-close:focus{border-color:var(--info);outline:none}";
|
|
@@ -8,11 +8,11 @@ let Toast = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
this.onClose = createEvent(this, "close", 7);
|
|
10
10
|
/**
|
|
11
|
-
* Set open propertie to true to
|
|
11
|
+
* Set `open` propertie to `true` to open the toast
|
|
12
12
|
*/
|
|
13
13
|
this.isOpen = false;
|
|
14
14
|
/**
|
|
15
|
-
* Set the color of toast. e.g. info, success, warning, danger
|
|
15
|
+
* Set the color of the toast. e.g. info, success, warning, danger
|
|
16
16
|
*/
|
|
17
17
|
this.color = 'info';
|
|
18
18
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const toolbarTitleCss = ":host{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-align:center;align-items:center;width:100%;height:100%;padding:0 3.5rem;text-align:center}.toolbar-title{display:block;width:100%;overflow:hidden;font-size:1rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto}";
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ let ToolbarTitle = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(
|
|
10
|
+
return (h("div", { class: "toolbar-title" }, h("slot", null)));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
ToolbarTitle.style = toolbarTitleCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, e as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, e as getElement } from './index-0c8a0e04.js';
|
|
2
2
|
|
|
3
3
|
const tooltipCss = ":host{--max-width:16rem;--z-index:1;--width:max-content;position:relative;display:inline-block}.tooltip{position:absolute;top:-0.5rem;left:50%;z-index:1;width:var(--width);max-width:var(--max-width);padding:0.5rem;font-family:var(--font);font-size:0.75rem;color:var(--text);text-align:center;pointer-events:none;background:var(--white);border:1px solid var(--border);border-radius:0.25rem;-webkit-box-shadow:0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16);box-shadow:0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16);opacity:0;-webkit-transition:opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;transition:opacity 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out;transition:opacity 0.2s ease-in-out, transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;-webkit-transform:translateX(-50%) translateY(-100%);transform:translateX(-50%) translateY(-100%)}.tooltip-open{opacity:1}:host([data-tooltip-position=\"top\"]) .tooltip{left:50%;-webkit-transform:translateX(-50%) translateY(-70%);transform:translateX(-50%) translateY(-70%)}:host([data-tooltip-position=\"top\"]) .tooltip-open{left:50%;-webkit-transform:translateX(-50%) translateY(-100%);transform:translateX(-50%) translateY(-100%)}:host([data-tooltip-position=\"left\"]) .tooltip{top:50%;left:0%;margin-left:-0.5rem;-webkit-transform:translateX(-94%) translateY(-55%);transform:translateX(-94%) translateY(-55%)}:host([data-tooltip-position=\"left\"]) .tooltip-open{-webkit-transform:translateX(-100%) translateY(-55%);transform:translateX(-100%) translateY(-55%)}:host([data-tooltip-position=\"bottom\"]) .tooltip{top:100%;left:50%;margin-top:0.375rem;-webkit-transform:translateX(-50%) translateY(-40%);transform:translateX(-50%) translateY(-40%)}:host([data-tooltip-position=\"bottom\"]) .tooltip-open{-webkit-transform:translateX(-50%) translateY(0);transform:translateX(-50%) translateY(0)}:host([data-tooltip-position=\"right\"]) .tooltip{top:50%;left:100%;margin-left:0.5rem;-webkit-transform:translateX(-14%) translateY(-55%);transform:translateX(-14%) translateY(-55%)}:host([data-tooltip-position=\"right\"]) .tooltip-open{-webkit-transform:translateX(0) translateY(-55%);transform:translateX(0) translateY(-55%)}";
|
|
4
4
|
|
|
@@ -44,13 +44,13 @@ let Tooltip = class {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Open the tooltip.
|
|
48
48
|
*/
|
|
49
49
|
async open() {
|
|
50
50
|
this.isOpen = true;
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Close the tooltip.
|
|
54
54
|
*/
|
|
55
55
|
async close() {
|
|
56
56
|
this.isOpen = false;
|
package/dist/esm/roadtrip.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as plt, w as win, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
import './app-
|
|
1
|
+
import { p as plt, w as win, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-0c8a0e04.js';
|
|
2
|
+
import './app-a32f9d74.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v2.
|
|
5
|
+
Stencil Client Patch Browser v2.12.1 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`;
|
|
8
8
|
const patchBrowser = () => {
|
|
@@ -37,7 +37,7 @@ const patchBrowser = () => {
|
|
|
37
37
|
if (!win.customElements) {
|
|
38
38
|
// module support, but no custom elements support (Old Edge)
|
|
39
39
|
// @ts-ignore
|
|
40
|
-
return import(/* webpackChunkName: "polyfills-dom" */ './dom-
|
|
40
|
+
return import(/* webpackChunkName: "polyfills-dom" */ './dom-ba83fb9d.js').then(() => opts);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
return promiseResolve(opts);
|
|
@@ -81,5 +81,5 @@ const patchDynamicImport = (base, orgScriptElm) => {
|
|
|
81
81
|
};
|
|
82
82
|
|
|
83
83
|
patchBrowser().then(options => {
|
|
84
|
-
return bootstrapLazy([["road-badge_11",[[
|
|
84
|
+
return bootstrapLazy([["road-badge_11",[[1,"road-item",{"button":[4],"detail":[4],"active":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"target":[1],"type":[1],"multipleInputs":[32]}],[1,"road-badge",{"color":[1],"bubble":[4]}],[1,"road-list",{"lines":[1]}],[1,"road-toolbar",{"color":[1]}],[33,"road-drawer",{"isOpen":[1028,"is-open"],"position":[1],"drawerWidth":[2,"drawer-width"],"hasInverseHeader":[4,"has-inverse-header"],"hasBackIcon":[4,"has-back-icon"],"backText":[1,"back-text"],"drawerTitle":[1,"drawer-title"],"hasCloseIcon":[4,"has-close-icon"],"open":[64],"close":[64],"back":[64]},[[4,"keyup","onEscape"]]],[1,"road-col"],[1,"road-grid"],[1,"road-label"],[1,"road-row"],[1,"road-button",{"color":[1],"size":[513],"buttonType":[1,"button-type"],"disabled":[516],"expand":[516],"download":[1],"href":[1],"rel":[1],"target":[1],"outline":[4]}],[1,"road-icon",{"color":[1],"ariaLabel":[1537,"aria-label"],"ariaHidden":[513,"aria-hidden"],"name":[1],"src":[1],"icon":[8],"size":[1],"rotate":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]}]]],["road-duration",[[1,"road-duration",{"isOpen":[1028,"is-open"],"header":[1],"min":[2],"max":[2],"step":[2],"open":[64],"close":[64]},[[0,"roadcardclick","handleClick"]]]]],["road-counter",[[2,"road-counter",{"inputId":[1,"input-id"],"min":[1],"max":[1],"step":[1],"value":[2],"size":[1]}]]],["road-plate-number",[[2,"road-plate-number",{"country":[1],"placeholder":[1],"value":[1032],"motorbike":[4]}]]],["road-accordion",[[1,"road-accordion",{"isOpen":[1028,"is-open"]}]]],["road-carousel",[[4,"road-carousel",{"options":[8],"pager":[4],"arrows":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["road-chip",[[1,"road-chip",{"color":[1],"outline":[4],"size":[1],"hasCloseIcon":[4,"has-close-icon"]}]]],["road-collapse",[[1,"road-collapse",{"isOpen":[1028,"is-open"],"showMore":[1,"show-more"],"showLess":[1,"show-less"],"centered":[4]}]]],["road-dialog",[[1,"road-dialog",{"isOpen":[1028,"is-open"],"hasCloseIcon":[4,"has-close-icon"],"color":[1],"icon":[1],"label":[1],"description":[1],"open":[64],"close":[64]},[[4,"keyup","onEscape"]]]]],["road-modal",[[1,"road-modal",{"maxWidth":[2,"max-width"],"isOpen":[1028,"is-open"],"hasInverseHeader":[4,"has-inverse-header"],"modalTitle":[1,"modal-title"],"hasCloseIcon":[4,"has-close-icon"],"open":[64],"close":[64]},[[4,"keyup","onEscape"]]]]],["road-rating",[[1,"road-rating",{"rate":[2],"reviews":[2],"reviewsText":[1,"reviews-text"]}]]],["road-toast",[[1,"road-toast",{"isOpen":[1028,"is-open"],"color":[1],"label":[1],"timeout":[2],"position":[1],"open":[64],"close":[64]}]]],["road-alert",[[1,"road-alert",{"color":[1]}]]],["road-autocomplete",[[6,"road-autocomplete",{"options":[16],"visible":[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[4,"click","onClickOutside"]]]]],["road-avatar",[[1,"road-avatar"]]],["road-carousel-item",[[4,"road-carousel-item"]]],["road-checkbox",[[6,"road-checkbox",{"checkboxId":[1,"checkbox-id"],"name":[1],"required":[4],"checked":[1028],"disabled":[4],"value":[1],"label":[1],"inverse":[4],"error":[1]}]]],["road-dropdown",[[1,"road-dropdown",{"isOpen":[1028,"is-open"]}]]],["road-flap",[[1,"road-flap",{"color":[1]}]]],["road-img",[[1,"road-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],["road-navbar",[[1,"road-navbar",{"selectedTab":[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"],[0,"roadnavbaritemclick","onNavbarChanged"]]]]],["road-navbar-item",[[1,"road-navbar-item",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadNavbarChanged","onNavbarChanged"],[8,"roadnavbarchanged","onNavbarChanged"]]]]],["road-progress",[[1,"road-progress",{"value":[2],"color":[1]}]]],["road-radio",[[2,"road-radio",{"radioId":[1,"radio-id"],"name":[1],"required":[4],"disabled":[4],"value":[8],"label":[1],"inverse":[4],"error":[4],"inline":[4],"checked":[32]},[[8,"roadChange","onRoadChangedChanged"],[8,"roadchange","onRoadChangedChanged"]]]]],["road-radio-group",[[6,"road-radio-group",{"radioGroupId":[1,"radio-group-id"],"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032],"label":[1],"asterisk":[4],"ariaLabel":[513,"aria-label"],"error":[1025]}]]],["road-range",[[2,"road-range",{"rangeId":[1,"range-id"],"value":[1032],"min":[1],"max":[1],"step":[1],"showValue":[4,"show-value"]}]]],["road-select",[[2,"road-select",{"selectId":[1,"select-id"],"options":[16],"autofocus":[4],"disabled":[4],"name":[1],"required":[4],"size":[2],"label":[1],"error":[1],"value":[1032]}]]],["road-select-filter",[[6,"road-select-filter",{"options":[16],"parameters":[8],"onlySelect":[4,"only-select"],"isOpen":[32],"currentValue":[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[0,"roadChange","handleChange"],[0,"roadchange","handleChange"],[4,"click","onClickOutside"]]]]],["road-skeleton",[[1,"road-skeleton"]]],["road-spinner",[[1,"road-spinner"]]],["road-switch",[[2,"road-switch",{"switchId":[1,"switch-id"],"name":[1],"checked":[1028],"disabled":[4],"label":[1],"color":[1],"hasLeftLabel":[4,"has-left-label"],"isSpaced":[4,"is-spaced"],"value":[1],"on":[1],"off":[1]}]]],["road-tab",[[1,"road-tab",{"active":[1028],"tab":[1],"setActive":[64]}]]],["road-tab-bar",[[1,"road-tab-bar",{"expand":[4],"center":[4],"selectedTab":[1,"selected-tab"]}]]],["road-tab-button",[[1,"road-tab-button",{"download":[1],"href":[1],"rel":[1],"layout":[1],"selected":[1028],"tab":[1],"target":[1]},[[8,"roadTabBarChanged","onTabBarChanged"],[8,"roadTabbarchanged","onTabBarChanged"]]]]],["road-table",[[6,"road-table"]]],["road-tabs",[[1,"road-tabs",{"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64]}]]],["road-text",[[1,"road-text",{"color":[1]}]]],["road-textarea",[[2,"road-textarea",{"textareaId":[1,"textarea-id"],"autocapitalize":[1],"autofocus":[4],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"value":[1025],"label":[1],"error":[1]}]]],["road-toolbar-title",[[1,"road-toolbar-title"]]],["road-tooltip",[[1,"road-tooltip",{"tooltipId":[1,"tooltip-id"],"content":[1],"position":[1],"isOpen":[1028,"is-open"],"trigger":[1],"open":[64],"close":[64]}]]],["road-card",[[1,"road-card",{"button":[4],"value":[1],"type":[1],"download":[1],"href":[1],"rel":[1],"target":[1]}]]],["road-input",[[2,"road-input",{"inputId":[1,"input-id"],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"disabled":[4],"enterkeyhint":[1],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"label":[1],"error":[1],"debounce":[2]}]]],["road-input-group",[[1,"road-input-group"]]]], options);
|
|
85
85
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as setMode}from"./index-0c8a0e04.js";setMode((function(e){return e.mode||e.getAttribute("mode")||"light"}));
|
|
File without changes
|
|
File without changes
|