@roadtrip/components 3.45.2 → 3.47.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/index-fee0103c.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-alert.cjs.entry.js +3 -1
- package/dist/cjs/road-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +31 -49
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-button-carousel.cjs.entry.js +73 -0
- package/dist/cjs/road-button-carousel.cjs.entry.js.map +1 -0
- package/dist/cjs/road-button-floating.cjs.entry.js +1 -1
- package/dist/cjs/road-card.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-checkbox.cjs.entry.js +7 -2
- package/dist/cjs/road-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/road-chip.cjs.entry.js +1 -1
- package/dist/cjs/road-collapse.cjs.entry.js +1 -1
- package/dist/cjs/road-content-card.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +3 -3
- package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-duration.cjs.entry.js +1 -1
- package/dist/cjs/road-flap.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation.cjs.entry.js +1 -1
- package/dist/cjs/road-img.cjs.entry.js +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item-v2.cjs.entry.js +2 -2
- package/dist/cjs/road-navbar-item.cjs.entry.js +2 -2
- package/dist/cjs/road-navbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar.cjs.entry.js +1 -1
- package/dist/cjs/road-phone-number-input.cjs.entry.js +2 -2
- package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
- package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-radio-card.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 +2 -2
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
- package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
- 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-status-chip.cjs.entry.js +15 -5
- package/dist/cjs/road-status-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/road-switch.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-button.cjs.entry.js +3 -3
- package/dist/cjs/road-tab-button.cjs.entry.js.map +1 -1
- package/dist/cjs/road-tab.cjs.entry.js +2 -2
- package/dist/cjs/road-table.cjs.entry.js +1 -1
- package/dist/cjs/road-tabs.cjs.entry.js +1 -1
- package/dist/cjs/road-tag.cjs.entry.js +1 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +1 -1
- package/dist/cjs/road-time-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/road-toast.cjs.entry.js +1 -1
- package/dist/cjs/road-toggle.cjs.entry.js +2 -2
- package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/alert/alert.js +3 -1
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/button-carousel/button-carousel.css +119 -0
- package/dist/collection/components/button-carousel/button-carousel.js +195 -0
- package/dist/collection/components/button-carousel/button-carousel.js.map +1 -0
- package/dist/collection/components/button-carousel/button-carousel.stories.js +87 -0
- package/dist/collection/components/button-floating/button-floating.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/carousel/carousel.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.js +2 -2
- package/dist/collection/components/checkbox/checkbox.css +16 -0
- package/dist/collection/components/checkbox/checkbox.js +26 -1
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +10 -0
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/col/col.js +1 -1
- package/dist/collection/components/collapse/collapse.js +1 -1
- package/dist/collection/components/content-card/content-card.js +1 -1
- package/dist/collection/components/counter/counter.js +14 -11
- package/dist/collection/components/counter/counter.js.map +1 -1
- package/dist/collection/components/dialog/dialog.js +3 -3
- package/dist/collection/components/drawer/drawer.js +4 -1
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/duration/duration.js +1 -1
- package/dist/collection/components/flap/flap.js +1 -1
- package/dist/collection/components/global-navigation/global-navigation.js +1 -1
- package/dist/collection/components/global-navigation-v2/global-navigation-v2.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/input-group/input-group.css +8 -18
- package/dist/collection/components/input-group/input-group.js +1 -25
- package/dist/collection/components/input-group/input-group.js.map +1 -1
- package/dist/collection/components/item/item.js +3 -3
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/navbar/navbar.js +1 -1
- package/dist/collection/components/navbar-item/navbar-item.js +2 -2
- package/dist/collection/components/navbar-item-v2/navbar-item-v2.js +2 -2
- package/dist/collection/components/navbar-v2/navbar-v2.js +1 -1
- package/dist/collection/components/phone-number-input/phone-number-input.js +2 -2
- package/dist/collection/components/plate-number/plate-number.js +2 -2
- package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
- package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
- package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
- package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/radio-card/radio-card.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +2 -2
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js +2 -2
- package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
- package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select-filter/select-filter.js +1 -1
- package/dist/collection/components/skeleton/skeleton.js +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/status-chip/status-chip.css +13 -2
- package/dist/collection/components/status-chip/status-chip.js +29 -2
- package/dist/collection/components/status-chip/status-chip.js.map +1 -1
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.css +7 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text/text.js +1 -1
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/time-range-picker/time-range-picker.js +1 -1
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
- package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
- package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/tooltip/tooltip.stories.js +1 -1
- package/dist/esm/index-8dc34f94.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-alert.entry.js +3 -1
- package/dist/esm/road-alert.entry.js.map +1 -1
- package/dist/esm/road-badge_14.entry.js +31 -49
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-button-carousel.entry.js +69 -0
- package/dist/esm/road-button-carousel.entry.js.map +1 -0
- package/dist/esm/road-button-floating.entry.js +1 -1
- package/dist/esm/road-card.entry.js +1 -1
- package/dist/esm/road-carousel-item.entry.js +2 -2
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-checkbox.entry.js +7 -2
- package/dist/esm/road-checkbox.entry.js.map +1 -1
- package/dist/esm/road-chip.entry.js +1 -1
- package/dist/esm/road-collapse.entry.js +1 -1
- package/dist/esm/road-content-card.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js +3 -3
- package/dist/esm/road-dropdown.entry.js +1 -1
- package/dist/esm/road-duration.entry.js +1 -1
- package/dist/esm/road-flap.entry.js +1 -1
- package/dist/esm/road-global-navigation-v2.entry.js +1 -1
- package/dist/esm/road-global-navigation.entry.js +1 -1
- package/dist/esm/road-img.entry.js +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-navbar-item-v2.entry.js +2 -2
- package/dist/esm/road-navbar-item.entry.js +2 -2
- package/dist/esm/road-navbar-v2.entry.js +1 -1
- package/dist/esm/road-navbar.entry.js +1 -1
- package/dist/esm/road-phone-number-input.entry.js +2 -2
- package/dist/esm/road-plate-number.entry.js +2 -2
- package/dist/esm/road-profil-dropdown.entry.js +1 -1
- package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
- package/dist/esm/road-progress-tracker-item.entry.js +1 -1
- package/dist/esm/road-progress-tracker.entry.js +1 -1
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-radio-card.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 +2 -2
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-segmented-button-bar.entry.js +1 -1
- package/dist/esm/road-segmented-button.entry.js +2 -2
- package/dist/esm/road-segmented-buttons.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +1 -1
- 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-status-chip.entry.js +16 -6
- package/dist/esm/road-status-chip.entry.js.map +1 -1
- package/dist/esm/road-switch.entry.js +2 -2
- package/dist/esm/road-tab-bar.entry.js +2 -2
- package/dist/esm/road-tab-button.entry.js +3 -3
- package/dist/esm/road-tab-button.entry.js.map +1 -1
- package/dist/esm/road-tab.entry.js +2 -2
- package/dist/esm/road-table.entry.js +1 -1
- package/dist/esm/road-tabs.entry.js +1 -1
- package/dist/esm/road-tag.entry.js +1 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +1 -1
- package/dist/esm/road-time-range-picker.entry.js +1 -1
- package/dist/esm/road-toast.entry.js +1 -1
- package/dist/esm/road-toggle.entry.js +2 -2
- package/dist/esm/road-toolbar-title-page.entry.js +1 -1
- package/dist/esm/road-toolbar-title.entry.js +1 -1
- package/dist/esm/road-toolbar-v2.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +3 -3
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +38 -0
- package/dist/roadtrip/{p-351b3b04.entry.js → p-0c6ad72e.entry.js} +2 -2
- package/dist/roadtrip/p-0eba704f.entry.js +2 -0
- package/dist/roadtrip/{p-4798ebaa.entry.js → p-12e8e42a.entry.js} +2 -2
- package/dist/roadtrip/{p-944ce861.entry.js → p-163df174.entry.js} +2 -2
- package/dist/roadtrip/p-187ab5f5.entry.js +2 -0
- package/dist/roadtrip/p-187ab5f5.entry.js.map +1 -0
- package/dist/roadtrip/{p-e5f94b35.entry.js → p-1f1021bc.entry.js} +2 -2
- package/dist/roadtrip/{p-7f96eb76.entry.js → p-2301c9e2.entry.js} +2 -2
- package/dist/roadtrip/{p-294a4a83.entry.js → p-23b0d708.entry.js} +2 -2
- package/dist/roadtrip/p-23b0d708.entry.js.map +1 -0
- package/dist/roadtrip/p-249b8592.entry.js +2 -0
- package/dist/roadtrip/{p-b889f575.entry.js → p-2d68aa3a.entry.js} +2 -2
- package/dist/roadtrip/{p-43bb4e97.entry.js → p-335498ee.entry.js} +2 -2
- package/dist/roadtrip/{p-5f6771e5.entry.js → p-39b17e20.entry.js} +2 -2
- package/dist/roadtrip/{p-1ee55ec2.entry.js → p-3b906900.entry.js} +2 -2
- package/dist/roadtrip/{p-0a9d4cd3.entry.js → p-3bac817e.entry.js} +2 -2
- package/dist/roadtrip/{p-61c4b6f1.entry.js → p-3d4cd373.entry.js} +2 -2
- package/dist/roadtrip/{p-c96c0597.entry.js → p-3dfa5636.entry.js} +2 -2
- package/dist/roadtrip/{p-f41d2a41.entry.js → p-4374d63f.entry.js} +2 -2
- package/dist/roadtrip/{p-9c156562.entry.js → p-456f66fc.entry.js} +2 -2
- package/dist/roadtrip/{p-261177f6.entry.js → p-466c0ff9.entry.js} +2 -2
- package/dist/roadtrip/{p-6b0a37ba.entry.js → p-5381957c.entry.js} +2 -2
- package/dist/roadtrip/{p-fcb7a3e5.entry.js → p-596d37d0.entry.js} +2 -2
- package/dist/roadtrip/{p-8fad6cc9.entry.js → p-61190b12.entry.js} +2 -2
- package/dist/roadtrip/{p-1a75a359.entry.js → p-6311f3f0.entry.js} +2 -2
- package/dist/roadtrip/{p-f58f43d0.entry.js → p-6cdb1bf4.entry.js} +2 -2
- package/dist/roadtrip/{p-509ba166.entry.js → p-70909891.entry.js} +2 -2
- package/dist/roadtrip/{p-f157fec0.entry.js → p-718c6406.entry.js} +2 -2
- package/dist/roadtrip/{p-45cabcdf.entry.js → p-741d74fd.entry.js} +2 -2
- package/dist/roadtrip/p-741d74fd.entry.js.map +1 -0
- package/dist/roadtrip/{p-8eb19a44.entry.js → p-7a51b3e1.entry.js} +2 -2
- package/dist/roadtrip/p-7aceed1a.entry.js +2 -0
- package/dist/roadtrip/{p-48ceee77.entry.js.map → p-7aceed1a.entry.js.map} +1 -1
- package/dist/roadtrip/{p-d89d49b2.entry.js → p-7dae0270.entry.js} +2 -2
- package/dist/roadtrip/{p-c2e07db9.entry.js → p-83f9db8d.entry.js} +2 -2
- package/dist/roadtrip/p-8426998b.entry.js +2 -0
- package/dist/roadtrip/p-8426998b.entry.js.map +1 -0
- package/dist/roadtrip/{p-9f7d111d.entry.js → p-85e18b2f.entry.js} +2 -2
- package/dist/roadtrip/{p-77e7dc8a.entry.js → p-8630081f.entry.js} +2 -2
- package/dist/roadtrip/{p-110386d3.entry.js → p-977c467d.entry.js} +2 -2
- package/dist/roadtrip/p-99146e17.entry.js +2 -0
- package/dist/roadtrip/{p-f07047c1.entry.js → p-9a91254d.entry.js} +2 -2
- package/dist/roadtrip/p-9b1fa6a6.entry.js +2 -0
- package/dist/roadtrip/p-9b1fa6a6.entry.js.map +1 -0
- package/dist/roadtrip/{p-f30f96c2.entry.js → p-a1101905.entry.js} +2 -2
- package/dist/roadtrip/{p-395b9785.entry.js → p-ac64606d.entry.js} +2 -2
- package/dist/roadtrip/{p-9d01727d.entry.js → p-ad5538c1.entry.js} +2 -2
- package/dist/roadtrip/{p-9af318e9.entry.js → p-b40d0b3d.entry.js} +2 -2
- package/dist/roadtrip/{p-da60c3a9.entry.js → p-b6e3db42.entry.js} +2 -2
- package/dist/roadtrip/{p-8a806d96.entry.js → p-c0f2eca7.entry.js} +2 -2
- package/dist/roadtrip/{p-68ae654b.entry.js → p-c23dbac2.entry.js} +2 -2
- package/dist/roadtrip/{p-17dc5381.entry.js → p-cc42a593.entry.js} +2 -2
- package/dist/roadtrip/{p-47433b76.entry.js → p-ceb904c0.entry.js} +2 -2
- package/dist/roadtrip/{p-5d1d532a.entry.js → p-d1de4eb6.entry.js} +2 -2
- package/dist/roadtrip/{p-a597e606.entry.js → p-d344a749.entry.js} +2 -2
- package/dist/roadtrip/{p-93c1be55.entry.js → p-d4f30d5d.entry.js} +2 -2
- package/dist/roadtrip/{p-bfe3d3eb.entry.js → p-d7a56b79.entry.js} +2 -2
- package/dist/roadtrip/{p-4a69d010.entry.js → p-da0a75ff.entry.js} +2 -2
- package/dist/roadtrip/{p-cbbfe0ce.entry.js → p-dbb675a2.entry.js} +2 -2
- package/dist/roadtrip/{p-9e8ae5c3.entry.js → p-df4c2ff0.entry.js} +2 -2
- package/dist/roadtrip/{p-246ff4b4.entry.js → p-e2b587b6.entry.js} +4 -4
- package/dist/roadtrip/p-e2b587b6.entry.js.map +1 -0
- package/dist/roadtrip/p-e8d82a2e.entry.js +2 -0
- package/dist/roadtrip/{p-790d848a.entry.js → p-e9480f62.entry.js} +2 -2
- package/dist/roadtrip/{p-943e31a7.entry.js → p-eddc9353.entry.js} +2 -2
- package/dist/roadtrip/{p-f3e5e983.entry.js → p-f0d930e5.entry.js} +2 -2
- package/dist/roadtrip/{p-58b20099.entry.js → p-f2f26300.entry.js} +2 -2
- package/dist/roadtrip/{p-eca24e7d.entry.js → p-f99639e8.entry.js} +2 -2
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/button-carousel/button-carousel.d.ts +35 -0
- package/dist/types/components/checkbox/checkbox.d.ts +4 -0
- package/dist/types/components/input-group/input-group.d.ts +0 -2
- package/dist/types/components/status-chip/status-chip.d.ts +5 -1
- package/dist/types/components.d.ts +79 -0
- package/hydrate/index.js +242 -162
- package/hydrate/index.mjs +242 -162
- package/package.json +1 -1
- package/dist/roadtrip/p-246ff4b4.entry.js.map +0 -1
- package/dist/roadtrip/p-294a4a83.entry.js.map +0 -1
- package/dist/roadtrip/p-382828d4.entry.js +0 -2
- package/dist/roadtrip/p-382828d4.entry.js.map +0 -1
- package/dist/roadtrip/p-45cabcdf.entry.js.map +0 -1
- package/dist/roadtrip/p-47cef871.entry.js +0 -2
- package/dist/roadtrip/p-47cef871.entry.js.map +0 -1
- package/dist/roadtrip/p-48ceee77.entry.js +0 -2
- package/dist/roadtrip/p-7bef34c4.entry.js +0 -2
- package/dist/roadtrip/p-7ed5616c.entry.js +0 -2
- package/dist/roadtrip/p-c1cd98dc.entry.js +0 -2
- package/dist/roadtrip/p-f4da1ccf.entry.js +0 -2
- /package/dist/roadtrip/{p-351b3b04.entry.js.map → p-0c6ad72e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7ed5616c.entry.js.map → p-0eba704f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4798ebaa.entry.js.map → p-12e8e42a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-944ce861.entry.js.map → p-163df174.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e5f94b35.entry.js.map → p-1f1021bc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7f96eb76.entry.js.map → p-2301c9e2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f4da1ccf.entry.js.map → p-249b8592.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b889f575.entry.js.map → p-2d68aa3a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-43bb4e97.entry.js.map → p-335498ee.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5f6771e5.entry.js.map → p-39b17e20.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1ee55ec2.entry.js.map → p-3b906900.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-0a9d4cd3.entry.js.map → p-3bac817e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-61c4b6f1.entry.js.map → p-3d4cd373.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c96c0597.entry.js.map → p-3dfa5636.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f41d2a41.entry.js.map → p-4374d63f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9c156562.entry.js.map → p-456f66fc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-261177f6.entry.js.map → p-466c0ff9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6b0a37ba.entry.js.map → p-5381957c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fcb7a3e5.entry.js.map → p-596d37d0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8fad6cc9.entry.js.map → p-61190b12.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1a75a359.entry.js.map → p-6311f3f0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f58f43d0.entry.js.map → p-6cdb1bf4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-509ba166.entry.js.map → p-70909891.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f157fec0.entry.js.map → p-718c6406.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8eb19a44.entry.js.map → p-7a51b3e1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d89d49b2.entry.js.map → p-7dae0270.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c2e07db9.entry.js.map → p-83f9db8d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9f7d111d.entry.js.map → p-85e18b2f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-77e7dc8a.entry.js.map → p-8630081f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-110386d3.entry.js.map → p-977c467d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c1cd98dc.entry.js.map → p-99146e17.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f07047c1.entry.js.map → p-9a91254d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f30f96c2.entry.js.map → p-a1101905.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-395b9785.entry.js.map → p-ac64606d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9d01727d.entry.js.map → p-ad5538c1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9af318e9.entry.js.map → p-b40d0b3d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-da60c3a9.entry.js.map → p-b6e3db42.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8a806d96.entry.js.map → p-c0f2eca7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-68ae654b.entry.js.map → p-c23dbac2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-17dc5381.entry.js.map → p-cc42a593.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-47433b76.entry.js.map → p-ceb904c0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5d1d532a.entry.js.map → p-d1de4eb6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a597e606.entry.js.map → p-d344a749.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-93c1be55.entry.js.map → p-d4f30d5d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-bfe3d3eb.entry.js.map → p-d7a56b79.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4a69d010.entry.js.map → p-da0a75ff.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cbbfe0ce.entry.js.map → p-dbb675a2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9e8ae5c3.entry.js.map → p-df4c2ff0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7bef34c4.entry.js.map → p-e8d82a2e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-790d848a.entry.js.map → p-e9480f62.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-943e31a7.entry.js.map → p-eddc9353.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f3e5e983.entry.js.map → p-f0d930e5.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-58b20099.entry.js.map → p-f2f26300.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-eca24e7d.entry.js.map → p-f99639e8.entry.js.map} +0 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-fee0103c.js');
|
|
6
|
+
require('./polyfill-8e8d96b1.js');
|
|
7
|
+
|
|
8
|
+
const buttonCarouselCss = ":host{position:fixed;right:1rem;bottom:1rem;z-index:2;box-sizing:border-box;display:block;align-items:center;text-decoration:none;white-space:nowrap;border:1px solid transparent;max-width:3rem;height:3rem;border-radius:2rem}:host(.scroll-up){display:block;max-width:3.5rem}:host(.scroll-down) .button-native{display:flex}:host(.scroll-down){display:flex;max-width:max-content}.button-native{position:relative;display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;margin:0;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;border:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}:host(.btn-outline){background:transparent;color:var(--road-on-overlay-inverse);border-color:var(--road-overlay)}:host([aria-disabled].btn-outline){border-color:var(--road-surface-disabled);background:var(--road-surface-disabled);color:var(--road-on-surface-disabled)}:host(.btn-outline:not([disabled]):hover),:host(.btn-outline:not([disabled]).focus-visible){border-color:var(--road-outline);background:var(--road-surface)}:host(.btn-default){background:var(--road-overlay);color:var(--road-on-overlay);border-color:var(--road-overlay-inverse)}:host([aria-disabled].btn-default){background:var(--road-surface-disabled);color:var(--road-on-surface-disabled)}:host(.btn-default:not([disabled]):hover),:host(.btn-default:not([disabled]).focus-visible){color:var(--road-on-surface);border-color:transparent;background:var(--road-surface)}";
|
|
9
|
+
const RoadButtonCarouselStyle0 = buttonCarouselCss;
|
|
10
|
+
|
|
11
|
+
const Button = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.roadfocus = index.createEvent(this, "roadfocus", 7);
|
|
15
|
+
this.roadFocus = index.createEvent(this, "roadFocus", 7);
|
|
16
|
+
this.roadblur = index.createEvent(this, "roadblur", 7);
|
|
17
|
+
this.roadBlur = index.createEvent(this, "roadBlur", 7);
|
|
18
|
+
/**
|
|
19
|
+
* Set to `false` for a ghost button, set to `true` for a default outline button
|
|
20
|
+
*/
|
|
21
|
+
this.outline = false;
|
|
22
|
+
/**
|
|
23
|
+
* If `true`, the user cannot interact with the button.
|
|
24
|
+
*/
|
|
25
|
+
this.disabled = false;
|
|
26
|
+
this.onClick = (ev) => {
|
|
27
|
+
if (this.el.shadowRoot && this.el.attachShadow) {
|
|
28
|
+
// this button wants to specifically submit a form
|
|
29
|
+
// climb up the dom to see if we're in a <form>
|
|
30
|
+
// and if so, then use JS to submit it
|
|
31
|
+
const form = this.el.closest('form');
|
|
32
|
+
if (form) {
|
|
33
|
+
ev.preventDefault();
|
|
34
|
+
const fakeButton = document.createElement('button');
|
|
35
|
+
fakeButton.style.display = 'none';
|
|
36
|
+
form.appendChild(fakeButton);
|
|
37
|
+
fakeButton.click();
|
|
38
|
+
fakeButton.remove();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
this.onFocus = () => {
|
|
43
|
+
this.roadfocus.emit();
|
|
44
|
+
this.roadFocus.emit();
|
|
45
|
+
};
|
|
46
|
+
this.onBlur = () => {
|
|
47
|
+
this.roadblur.emit();
|
|
48
|
+
this.roadBlur.emit();
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
onScroll() {
|
|
52
|
+
const positionScroll = window.scrollY;
|
|
53
|
+
if (positionScroll < 300) {
|
|
54
|
+
this.el.classList.add("scroll-down");
|
|
55
|
+
this.el.classList.remove("scroll-up");
|
|
56
|
+
}
|
|
57
|
+
if (positionScroll > 300) {
|
|
58
|
+
this.el.classList.add("scroll-up");
|
|
59
|
+
this.el.classList.remove("scroll-down");
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
render() {
|
|
63
|
+
const TagType = 'button';
|
|
64
|
+
const outlineClass = this.outline ? 'btn-outline' : 'btn-default';
|
|
65
|
+
return (index.h(index.Host, { key: '1107b2f89efba230a6d0c207239fb80e90c8b877', onClick: this.onClick, class: [outlineClass].filter(Boolean).join(' '), "aria-disabled": this.disabled ? 'true' : null }, index.h(TagType, { key: '125d636dce50637a3eeb67441db9ebd285b75322', class: "button-native", part: "native", disabled: this.disabled, onFocus: this.onFocus, onBlur: this.onBlur }, index.h("slot", { key: 'a1128035274089a9cfd252027ee25a1164bf1988' }))));
|
|
66
|
+
}
|
|
67
|
+
get el() { return index.getElement(this); }
|
|
68
|
+
};
|
|
69
|
+
Button.style = RoadButtonCarouselStyle0;
|
|
70
|
+
|
|
71
|
+
exports.road_button_carousel = Button;
|
|
72
|
+
|
|
73
|
+
//# sourceMappingURL=road-button-carousel.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"road-button-carousel.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,sqDAAsqD,CAAC;AACjsD,iCAAe,iBAAiB;;MCcnB,MAAM;IALnB;;;;;;;;;QAYU,YAAO,GAAY,KAAK,CAAC;;;;QAKR,aAAQ,GAAY,KAAK,CAAC;QAkC3C,YAAO,GAAG,CAAC,EAAS;YAC1B,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,IAAK,IAAI,CAAC,EAAU,CAAC,YAAY,EAAE;;;;gBAIvD,MAAM,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;gBACrC,IAAI,IAAI,EAAE;oBACR,EAAE,CAAC,cAAc,EAAE,CAAC;oBAEpB,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;oBACpD,UAAU,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;oBAClC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;oBAC7B,UAAU,CAAC,KAAK,EAAE,CAAC;oBACnB,UAAU,CAAC,MAAM,EAAE,CAAC;iBACrB;aACF;SACF,CAAC;QAEM,YAAO,GAAG;YAChB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;YACtB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;SACvB,CAAC;QAEM,WAAM,GAAG;YACf,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;YACrB,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;SACtB,CAAC;KAwBH;IAjEG,QAAQ;QACN,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC;QACtC,IAAI,cAAc,GAAG,GAAG,EAAG;YACvB,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;YACrC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;SACzC;QACD,IAAI,cAAc,GAAG,GAAG,EAAG;YACvB,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;YACnC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;SAC3C;KACF;IAiCH,MAAM;QACJ,MAAM,OAAO,GAAG,QAAQ,CAAC;QACzB,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,GAAG,aAAa,GAAG,aAAa,CAAC;QAElE,QACEA,QAACC,UAAI,qDACH,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,mBAChC,IAAI,CAAC,QAAQ,GAAG,MAAM,GAAG,IAAI,IAE5CD,QAAC,OAAO,qDACN,KAAK,EAAC,eAAe,EACrB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,IAEnBA,oEAAO,CACC,CACL,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/button-carousel/button-carousel.css?tag=road-button-carousel&encapsulation=shadow","src/components/button-carousel/button-carousel.tsx"],"sourcesContent":["/*\n * Button carousel\n *\n *\n * Index\n * - Button\n */\n\n\n/* BUTTON\n -------------------- */\n\n:host {\n position: fixed;\n right: 1rem;\n bottom: 1rem;\n z-index: 2;\n box-sizing: border-box;\n display: block;\n align-items: center;\n text-decoration: none;\n white-space: nowrap;\n border: 1px solid transparent;\n max-width: 3rem;\n height: 3rem;\n border-radius: 2rem;\n}\n\n:host(.scroll-up) {\n display: block;\n max-width: 3.5rem;\n}\n\n\n:host(.scroll-down) .button-native{\n display: flex;\n}\n\n:host(.scroll-down) {\n display: flex;\n max-width: max-content;\n}\n\n\n/**\n * Native button\n */\n\n.button-native {\n position: relative;\n display: flex;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n color: inherit;\n text-align: inherit;\n text-decoration: none;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n letter-spacing: inherit;\n white-space: inherit;\n cursor: pointer;\n background: transparent;\n border: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n\n/* OUTLINE\n -------------------- */\n\n:host(.btn-outline) {\n background: transparent;\n color: var(--road-on-overlay-inverse);\n border-color: var(--road-overlay);\n}\n\n:host([aria-disabled].btn-outline) {\n border-color: var(--road-surface-disabled);\n background: var(--road-surface-disabled);\n color: var(--road-on-surface-disabled);\n}\n\n:host(.btn-outline:not([disabled]):hover),\n:host(.btn-outline:not([disabled]).focus-visible) {\n border-color: var(--road-outline);\n background: var(--road-surface);\n}\n\n/* DEFAULT\n -------------------- */\n\n:host(.btn-default) {\n background: var(--road-overlay);\n color: var(--road-on-overlay);\n border-color: var(--road-overlay-inverse);\n}\n\n:host([aria-disabled].btn-default) {\n background: var(--road-surface-disabled);\n color: var(--road-on-surface-disabled);\n}\n\n:host(.btn-default:not([disabled]):hover),\n:host(.btn-default:not([disabled]).focus-visible) {\n color: var(--road-on-surface);\n border-color: transparent;\n background: var(--road-surface);\n}\n\n","import { Component, Element, Event, EventEmitter, Host, Prop, h, Listen } from '@stencil/core';\n\nimport '../../utils/polyfill';\n\n/**\n * @slot - Content of the carrousel button.\n *\n * @part native - The native HTML button or anchor element that wraps all child elements.\n */\n\n@Component({\n tag: 'road-button-carousel',\n styleUrl: 'button-carousel.css',\n shadow: true,\n})\nexport class Button {\n\n @Element() el!: HTMLRoadButtonElement;\n\n /**\n * Set to `false` for a ghost button, set to `true` for a default outline button\n */\n @Prop() outline: boolean = false;\n\n /**\n * If `true`, the user cannot interact with the button.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Emitted when the button-carousel has focus.\n */\n @Event() roadfocus!: EventEmitter<void>;\n /** @internal */\n @Event() roadFocus!: EventEmitter<void>;\n\n /**\n * Emitted when the button-carousel loses focus.\n */\n @Event() roadblur!: EventEmitter<void>;\n /** @internal */\n @Event() roadBlur!: EventEmitter<void>;\n\n\n @Listen('scroll', {target: 'window'})\n\n onScroll() {\n const positionScroll = window.scrollY;\n if (positionScroll < 300 ) {\n this.el.classList.add(\"scroll-down\");\n this.el.classList.remove(\"scroll-up\");\n }\n if (positionScroll > 300 ) {\n this.el.classList.add(\"scroll-up\");\n this.el.classList.remove(\"scroll-down\");\n }\n }\n\n\n\n\n private onClick = (ev: Event) => {\n if (this.el.shadowRoot && (this.el as any).attachShadow) {\n // this button wants to specifically submit a form\n // climb up the dom to see if we're in a <form>\n // and if so, then use JS to submit it\n const form = this.el.closest('form');\n if (form) {\n ev.preventDefault();\n\n const fakeButton = document.createElement('button');\n fakeButton.style.display = 'none';\n form.appendChild(fakeButton);\n fakeButton.click();\n fakeButton.remove();\n }\n }\n };\n\n private onFocus = () => {\n this.roadfocus.emit();\n this.roadFocus.emit();\n };\n\n private onBlur = () => {\n this.roadblur.emit();\n this.roadBlur.emit();\n };\n\n render() {\n const TagType = 'button';\n const outlineClass = this.outline ? 'btn-outline' : 'btn-default';\n\n return (\n <Host\n onClick={this.onClick}\n class={[outlineClass].filter(Boolean).join(' ')}\n aria-disabled={this.disabled ? 'true' : null}\n >\n <TagType\n class=\"button-native\"\n part=\"native\"\n disabled={this.disabled}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n <slot/>\n </TagType>\n </Host>\n );\n }\n}"],"version":3}
|
|
@@ -58,7 +58,7 @@ const Button = class {
|
|
|
58
58
|
render() {
|
|
59
59
|
const TagType = this.href === undefined ? 'button' : 'a';
|
|
60
60
|
const positionClass = this.position !== undefined ? `position-${this.position}` : '';
|
|
61
|
-
return (index.h(index.Host, { key: '
|
|
61
|
+
return (index.h(index.Host, { key: '80fc92dc2304506cc8d36b1f183af43057c8ed89', onClick: this.onClick, class: `${positionClass}` }, index.h(TagType, { key: 'aeb4f497b2b35208b69a4fb09c28b08d42b1bf94', class: "button-native", part: "native", onFocus: this.onFocus, onBlur: this.onBlur }, index.h("slot", { key: 'fd318fd17487cb99a8d898cfd09f9483963e65af', name: "start" }), index.h("slot", { key: 'f4a7566371471270921991dd553ef201ea07b8b0' }))));
|
|
62
62
|
}
|
|
63
63
|
get el() { return index.getElement(this); }
|
|
64
64
|
};
|
|
@@ -93,7 +93,7 @@ const Card = class {
|
|
|
93
93
|
const selectedClass = this.selected ? "selected" : "";
|
|
94
94
|
const isButtonClass = isButtonMode ? "is-button" : "";
|
|
95
95
|
const disabledClass = isButtonMode && this.disabled ? "is-disabled" : "";
|
|
96
|
-
return (index.h(index.Host, { key: '
|
|
96
|
+
return (index.h(index.Host, { key: '44026953c66e6ee3421d5bbc03c92e60710feb94', class: `${elevationClass} ${selectedClass} ${isButtonClass} ${disabledClass}` }, this.renderCard()));
|
|
97
97
|
}
|
|
98
98
|
get el() { return index.getElement(this); }
|
|
99
99
|
};
|
|
@@ -12,10 +12,10 @@ const CarouselItem = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '66cf75481e1bb831c17a7a7ca01341dfd1f28cae', class: {
|
|
16
16
|
'swiper-slide': true,
|
|
17
17
|
'swiper-zoom-container': true,
|
|
18
|
-
} }, index.h("slot", { key: '
|
|
18
|
+
} }, index.h("slot", { key: 'ace4b6235ef59848e24915b3c8f17a54f78f18a7' })));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
CarouselItem.style = RoadCarouselItemStyle0;
|
|
@@ -6735,7 +6735,7 @@ const Carousel = class {
|
|
|
6735
6735
|
});
|
|
6736
6736
|
}
|
|
6737
6737
|
render() {
|
|
6738
|
-
return (index$1.h(index$1.Host, { key: '
|
|
6738
|
+
return (index$1.h(index$1.Host, { key: '7de13f5ced4a2071d8a520ab9ad134ff0b551d17', class: "swiper-container", tabindex: "0" }, index$1.h("div", { key: '51c9909fcf085e5ee7d4c79b380f7a7edcd0b491', class: "swiper-wrapper" }, index$1.h("slot", { key: '971f91cc7e356f9e9282e36b1de8beb8a8bb9c07' })), this.pager && (index$1.h("div", { key: 'c78672aa427460488b5da344e6db4223040b7a10', class: "swiper-pagination", ref: (el) => (this.paginationEl = el) })), this.arrows && (index$1.h("div", { key: 'aa5732a2c5885602f814e2e853bdb8bd5650f54d', role: "button", class: "swiper-button-prev", tabindex: "0", "aria-label": "Previous slide", onClick: () => this.slidePrev() }, index$1.h("road-icon", { key: '195af2ff8d2319a29dd64d5a4278dcb722cf26d0', icon: index$2.navigationChevron, rotate: "180" }))), this.arrows && (index$1.h("div", { key: '8700c937007ea062e0f3909deee887b8158b7085', role: "button", class: "swiper-button-next", tabindex: "0", "aria-label": "Next slide", onClick: () => this.slideNext() }, index$1.h("road-icon", { key: 'b94e08b955343c34d2b5ecdeb3f385db649aadc5', icon: index$2.navigationChevron })))));
|
|
6739
6739
|
}
|
|
6740
6740
|
get el() { return index$1.getElement(this); }
|
|
6741
6741
|
static get watchers() { return {
|
|
@@ -6,7 +6,7 @@ const index = require('./index-fee0103c.js');
|
|
|
6
6
|
const index$1 = require('./index-0e4df560.js');
|
|
7
7
|
require('./polyfill-8e8d96b1.js');
|
|
8
8
|
|
|
9
|
-
const checkboxCss = ".sc-road-checkbox-h{position:relative;display:block;margin-bottom:1.5rem;font-family:var(--road-font, sans-serif);font-size:var(--road-font-size-16);line-height:1.5;color:var(--road-on-surface)}.form-check-input.sc-road-checkbox{position:absolute;z-index:-1;opacity:0}.form-check-label.sc-road-checkbox{position:relative;display:inline-flex;margin:0;cursor:pointer;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.form-check-label.sc-road-checkbox::before{box-sizing:border-box;display:block;flex-shrink:0;width:1.25rem;height:1.25rem;margin:0 0.75rem 0 0;content:\"\";background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;transition:border 0.2s ease-in-out, background 0.2s ease-in-out}.form-check-label-span.sc-road-checkbox{color:var(--road-on-surface-weak)}.form-check-icon.sc-road-checkbox{position:absolute;top:0;left:0;box-sizing:border-box;display:block;width:1.25rem;height:1.25rem;color:var(--road-primary-contrast);opacity:0;transition:opacity 0.2s ease-in-out}@media (hover: hover){.form-check-input.sc-road-checkbox:not(:disabled)~.form-check-label.sc-road-checkbox:hover::before{border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:not(:disabled):checked~.form-check-label.sc-road-checkbox:hover::before,.form-check-input.sc-road-checkbox:not(:disabled):indeterminate~.form-check-label.sc-road-checkbox:hover::before{background:var(--road-input-surface-variant)}}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{opacity:1}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface);border-color:var(--road-input-surface)}.form-check-input.focus-visible.sc-road-checkbox~.form-check-label.sc-road-checkbox::before{box-shadow:0 0 0 0.125rem var(--road-grey-000), 0 0 0 0.1875rem var(--road-primary-700)}.form-check-input.focus-visible.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.focus-visible.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface-variant);border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox{cursor:not-allowed}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox::before,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox::before{background:var(--road-surface-disabled);border:none}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{fill:var(--road-on-surface-disabled)}.invalid-feedback.sc-road-checkbox{display:none;flex:0 0 100%;width:100%;margin-top:0.5rem;font-size:var(--road-font-size-12);color:var(--road-danger-default)}.form-check-input.is-invalid.sc-road-checkbox~.form-check-label.sc-road-checkbox::before,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.form-check-label.sc-road-checkbox::before{border-color:var(--road-danger-outline)}.form-check-input.is-invalid.sc-road-checkbox~.invalid-feedback.sc-road-checkbox,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.invalid-feedback.sc-road-checkbox{display:block}.form-checkbox-inverse.sc-road-checkbox{display:flex;flex-direction:row-reverse;justify-content:space-between}.form-checkbox-inverse.sc-road-checkbox::before{margin:0 0 0 1rem}.form-checkbox-inverse.sc-road-checkbox .form-check-icon.sc-road-checkbox{right:0;left:auto}.helper.sc-road-checkbox{margin-top:0.5rem;margin-left:2rem;font-size:var(--road-font-size-14);color:var(--road-on-surface-weak)}";
|
|
9
|
+
const checkboxCss = ".sc-road-checkbox-h{position:relative;display:block;margin-bottom:1.5rem;font-family:var(--road-font, sans-serif);font-size:var(--road-font-size-16);line-height:1.5;color:var(--road-on-surface)}.form-check-input.sc-road-checkbox{position:absolute;z-index:-1;opacity:0}.form-check-label.sc-road-checkbox{position:relative;display:inline-flex;margin:0;cursor:pointer;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.form-check-label.sc-road-checkbox::before{box-sizing:border-box;display:block;flex-shrink:0;width:1.25rem;height:1.25rem;margin:0 0.75rem 0 0;content:\"\";background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;transition:border 0.2s ease-in-out, background 0.2s ease-in-out}.form-check-label-span.sc-road-checkbox{color:var(--road-on-surface-weak)}.form-check-icon.sc-road-checkbox{position:absolute;top:0;left:0;box-sizing:border-box;display:block;width:1.25rem;height:1.25rem;color:var(--road-primary-contrast);opacity:0;transition:opacity 0.2s ease-in-out}@media (hover: hover){.form-check-input.sc-road-checkbox:not(:disabled)~.form-check-label.sc-road-checkbox:hover::before{border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:not(:disabled):checked~.form-check-label.sc-road-checkbox:hover::before,.form-check-input.sc-road-checkbox:not(:disabled):indeterminate~.form-check-label.sc-road-checkbox:hover::before{background:var(--road-input-surface-variant)}}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{opacity:1}.form-check-input.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface);border-color:var(--road-input-surface)}.form-check-input.focus-visible.sc-road-checkbox~.form-check-label.sc-road-checkbox::before{box-shadow:0 0 0 0.125rem var(--road-grey-000), 0 0 0 0.1875rem var(--road-primary-700)}.form-check-input.focus-visible.sc-road-checkbox:checked~.form-check-label.sc-road-checkbox::before,.form-check-input.focus-visible.sc-road-checkbox:indeterminate~.form-check-label.sc-road-checkbox::before{background:var(--road-input-surface-variant);border-color:var(--road-input-surface-variant)}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox{cursor:not-allowed}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox::before,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox::before{background:var(--road-surface-disabled);border:none}.form-check-input.sc-road-checkbox:disabled~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox,.form-check-input[readonly].sc-road-checkbox~.form-check-label.sc-road-checkbox .form-check-icon.sc-road-checkbox{fill:var(--road-on-surface-disabled)}.invalid-feedback.sc-road-checkbox{display:none;flex:0 0 100%;width:100%;margin-top:0.5rem;font-size:var(--road-font-size-12);color:var(--road-danger-default)}.form-check-input.is-invalid.sc-road-checkbox~.form-check-label.sc-road-checkbox::before,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.form-check-label.sc-road-checkbox::before{border-color:var(--road-danger-outline)}.form-check-input.is-invalid.sc-road-checkbox~.invalid-feedback.sc-road-checkbox,.was-validated.sc-road-checkbox .form-check-input.sc-road-checkbox:invalid~.invalid-feedback.sc-road-checkbox{display:block}.form-checkbox-inverse.sc-road-checkbox{display:flex;flex-direction:row-reverse;justify-content:space-between}.form-checkbox-inverse.sc-road-checkbox::before{margin:0 0 0 1rem}.form-checkbox-inverse.sc-road-checkbox .form-check-icon.sc-road-checkbox{right:0;left:auto}.helper.sc-road-checkbox{margin-top:0.5rem;margin-left:2rem;font-size:var(--road-font-size-14);color:var(--road-on-surface-weak)}.form-check-label-sm.sc-road-checkbox{font-size:var(--road-body-small)}.form-check-label-md.sc-road-checkbox{font-size:var(--road-body-medium)}.form-check-label-lg.sc-road-checkbox{font-size:var(--road-body-large)}";
|
|
10
10
|
const RoadCheckboxStyle0 = checkboxCss;
|
|
11
11
|
|
|
12
12
|
const Checkbox = class {
|
|
@@ -54,6 +54,10 @@ const Checkbox = class {
|
|
|
54
54
|
* If `true`, the label and the checkbox are inverse and spaced
|
|
55
55
|
*/
|
|
56
56
|
this.inverse = false;
|
|
57
|
+
/**
|
|
58
|
+
* The checkbox label size.
|
|
59
|
+
*/
|
|
60
|
+
this.size = 'md';
|
|
57
61
|
this.onClick = () => {
|
|
58
62
|
this.checked = !this.checked;
|
|
59
63
|
this.indeterminate = false;
|
|
@@ -80,8 +84,9 @@ const Checkbox = class {
|
|
|
80
84
|
render() {
|
|
81
85
|
const labelId = this.checkboxId + '-label';
|
|
82
86
|
const inverseClass = this.inverse && 'form-checkbox-inverse';
|
|
87
|
+
const sizeClass = this.size !== undefined ? `form-check-label-${this.size}` : '';
|
|
83
88
|
const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';
|
|
84
|
-
return (index.h(index.Host, { key: '
|
|
89
|
+
return (index.h(index.Host, { key: '61a1420c717c25c8b09f6ecb52fa281bc7c0a4ff' }, index.h("input", { key: 'b894bdab786b416ab46280c80a344fb1ea97fb82', class: `form-check-input ${isInvalidClass}`, type: "checkbox", id: this.checkboxId, name: this.name, required: this.required, disabled: this.disabled, indeterminate: this.indeterminate, checked: this.checked, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), index.h("label", { key: 'bc0b308f508cfbd15876c97f4dd381cf4f1cabe8', class: `form-check-label ${inverseClass} ${sizeClass}`, id: labelId, htmlFor: this.checkboxId }, index.h("div", { key: 'd78bb31d01f3ad0cbcb51e61f79d00b611599ee9' }, this.label, " ", index.h("span", { key: '5154464b3ff2840408f57891f92b344e1fb0ecbc', class: "form-check-label-span" }, this.secondaryLabel), index.h("slot", { key: '6ed42d75b5bf687a17e30f163a7d5c28a8d6d2e1' })), this.checked && !this.indeterminate && index.h("road-icon", { key: '5dfdae2ea90921103427d2f8fca7b14625a80fc6', class: "form-check-icon", icon: index$1.checkWide }), this.indeterminate && index.h("road-icon", { key: '9e4e76b62f504d24b114d8801cb4fe0c0319365b', class: "form-check-icon", icon: index$1.navigationAddLess })), this.error && this.error !== '' && index.h("p", { key: 'eed17cd5b5aac44c93a02fbfa1eddc68252b6369', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && index.h("p", { key: '89e6e4739b2ddc39a1e850d1a4a55a9a723e6972', class: "helper" }, this.helper)));
|
|
85
90
|
}
|
|
86
91
|
static get watchers() { return {
|
|
87
92
|
"checked": ["checkedChanged"]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"road-checkbox.entry.cjs.js","mappings":"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","names":["h","Host","checkWide","navigationAddLess"],"sources":["src/components/checkbox/checkbox.css?tag=road-checkbox&encapsulation=scoped","src/components/checkbox/checkbox.tsx"],"sourcesContent":["/*\n * Checkbox\n *\n * For accessibility, we provide a style for focus only on Tab,\n * for that add the javascript polyfill for focus-visible\n * (https://github.com/WICG/focus-visible).\n *\n * Index\n * - Checkbox\n * - Label\n * - Error\n * - Helper\n * - Position\n */\n\n\n/* CHECKBOX\n -------------------- */\n\n:host {\n position: relative;\n display: block;\n margin-bottom: 1.5rem;\n font-family: var(--road-font, sans-serif);\n font-size: var(--road-font-size-16);\n line-height: 1.5;\n color: var(--road-on-surface);\n}\n\n/**\n * Hide input\n */\n\n.form-check-input {\n position: absolute;\n z-index: -1;\n opacity: 0;\n}\n\n/* LABEL\n -------------------- */\n\n.form-check-label {\n position: relative;\n display: inline-flex;\n margin: 0;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.form-check-label::before {\n box-sizing: border-box;\n display: block;\n flex-shrink: 0;\n width: 1.25rem;\n height: 1.25rem;\n margin: 0 0.75rem 0 0;\n content: \"\";\n background: var(--road-surface);\n border: 1px solid var(--road-input-outline);\n border-radius: 0.25rem;\n transition: border 0.2s ease-in-out, background 0.2s ease-in-out;\n}\n\n.form-check-label-span {\n color: var(--road-on-surface-weak);\n}\n\n.form-check-icon {\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n display: block;\n width: 1.25rem;\n height: 1.25rem;\n color: var(--road-primary-contrast);\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n\n/**\n * Hover state\n */\n\n@media (hover: hover) {\n\n .form-check-input:not(:disabled) ~ .form-check-label:hover::before {\n border-color: var(--road-input-surface-variant);\n }\n\n .form-check-input:not(:disabled):checked ~ .form-check-label:hover::before,\n .form-check-input:not(:disabled):indeterminate ~ .form-check-label:hover::before {\n background: var(--road-input-surface-variant);\n }\n}\n\n/**\n * Checked state\n */\n\n.form-check-input:checked ~ .form-check-label .form-check-icon,\n.form-check-input:indeterminate ~ .form-check-label .form-check-icon {\n opacity: 1;\n}\n\n.form-check-input:checked ~ .form-check-label::before,\n.form-check-input:indeterminate ~ .form-check-label::before {\n background: var(--road-input-surface);\n border-color: var(--road-input-surface);\n}\n\n/**\n * Focus on Tab\n */\n\n.form-check-input.focus-visible ~ .form-check-label::before {\n box-shadow: 0 0 0 0.125rem var(--road-grey-000), 0 0 0 0.1875rem var(--road-primary-700);\n}\n\n.form-check-input.focus-visible:checked ~ .form-check-label::before,\n.form-check-input.focus-visible:indeterminate ~ .form-check-label::before {\n background: var(--road-input-surface-variant);\n border-color: var(--road-input-surface-variant);\n}\n\n/**\n * Disabled state\n */\n\n.form-check-input:disabled ~ .form-check-label,\n.form-check-input[readonly] ~ .form-check-label {\n cursor: not-allowed;\n}\n\n.form-check-input:disabled ~ .form-check-label::before,\n.form-check-input[readonly] ~ .form-check-label::before {\n background: var(--road-surface-disabled);\n border: none;\n}\n\n.form-check-input:disabled ~ .form-check-label .form-check-icon,\n.form-check-input[readonly] ~ .form-check-label .form-check-icon {\n fill: var(--road-on-surface-disabled);\n}\n\n/* ERROR\n -------------------- */\n\n.invalid-feedback {\n display: none;\n flex: 0 0 100%;\n width: 100%;\n margin-top: 0.5rem;\n font-size: var(--road-font-size-12);\n color: var(--road-danger-default);\n}\n\n.form-check-input.is-invalid ~ .form-check-label::before,\n.was-validated .form-check-input:invalid ~ .form-check-label::before {\n border-color: var(--road-danger-outline);\n}\n\n.form-check-input.is-invalid ~ .invalid-feedback,\n.was-validated .form-check-input:invalid ~ .invalid-feedback {\n display: block;\n}\n\n/* POSITION\n -------------------- */\n\n.form-checkbox-inverse {\n display: flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n}\n\n.form-checkbox-inverse::before {\n margin: 0 0 0 1rem;\n}\n\n.form-checkbox-inverse .form-check-icon {\n right: 0;\n left: auto;\n}\n\n/* HELPER\n -------------------- */\n\n.helper {\n margin-top: 0.5rem;\n margin-left: 2rem;\n font-size: var(--road-font-size-14);\n color: var(--road-on-surface-weak);\n}\n","import { Component, Event, EventEmitter, Host, Prop, Watch, h } from '@stencil/core';\nimport { checkWide, navigationAddLess } from '../../../icons';\n\nimport './../../utils/polyfill';\n\n/**\n * @slot - Adding additional elements next to the label (e.g. number of items in filters).\n */\n\n@Component({\n tag: 'road-checkbox',\n styleUrl: 'checkbox.css',\n scoped: true,\n})\nexport class Checkbox {\n\n /**\n * The id of checkbox\n */\n @Prop() checkboxId: string = `road-checkbox-${checkboxIds++}`;\n\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name: string = this.checkboxId;\n\n /**\n * If `true`, the user must fill in a value before submitting a form.\n */\n @Prop() required: boolean = false;\n\n /**\n * If `true`, the checkbox is checked.\n */\n @Prop({ mutable: true }) checked = false;\n\n /**\n * If `true`, the checkbox will visually appear as indeterminate.\n */\n @Prop() indeterminate: boolean = false;\n\n /**\n * If `true`, the user cannot interact with the checkbox.\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Value the form will get\n */\n @Prop() value: string = 'on';\n\n /**\n * Label for the field\n */\n @Prop() label: string = `${this.checkboxId}-label`;\n\n /**\n * Secondary Label for the field\n */\n @Prop() secondaryLabel?: string;\n\n /**\n * If `true`, the label and the checkbox are inverse and spaced\n */\n @Prop() inverse: boolean = false;\n\n /**\n * Error message for the field\n */\n @Prop() error?: string;\n\n /**\n * Helper message for the field\n */\n @Prop() helper?: string;\n\n /**\n * Emitted when the checked property has changed.\n */\n @Event() roadchange!: EventEmitter<{\n checked: boolean,\n value: string | undefined | null\n }>;\n /** @internal */\n @Event() roadChange!: EventEmitter<{\n checked: boolean,\n value: string | undefined | null\n }>;\n\n /**\n * Emitted when the checkbox has focus.\n */\n @Event() roadfocus!: EventEmitter<void>;\n /** @internal */\n @Event() roadFocus!: EventEmitter<void>;\n\n /**\n * Emitted when the checkbox loses focus.\n */\n @Event() roadblur!: EventEmitter<void>;\n /** @internal */\n @Event() roadBlur!: EventEmitter<void>;\n\n @Watch('checked')\n checkedChanged(isChecked: boolean) {\n this.roadchange.emit({\n checked: isChecked,\n value: this.value,\n });\n this.roadChange.emit({\n checked: isChecked,\n value: this.value,\n });\n }\n\n private onClick = () => {\n this.checked = !this.checked;\n this.indeterminate = false;\n };\n\n private onFocus = () => {\n this.roadfocus.emit();\n this.roadFocus.emit();\n };\n\n private onBlur = () => {\n this.roadblur.emit();\n this.roadBlur.emit();\n };\n\n render() {\n const labelId = this.checkboxId + '-label';\n const inverseClass = this.inverse && 'form-checkbox-inverse';\n const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';\n\n return (\n <Host>\n <input\n class={`form-check-input ${isInvalidClass}`}\n type=\"checkbox\"\n id={this.checkboxId}\n name={this.name}\n required={this.required}\n disabled={this.disabled}\n indeterminate={this.indeterminate}\n checked={this.checked}\n value={this.value}\n aria-checked={`${this.checked}`}\n aria-disabled={this.disabled ? 'true' : null}\n aria-labelledby={labelId}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <label class={`form-check-label ${inverseClass}`} id={labelId} htmlFor={this.checkboxId}>\n <div>\n {this.label} <span class=\"form-check-label-span\">{this.secondaryLabel}</span><slot/>\n </div>\n {this.checked && !this.indeterminate && <road-icon class=\"form-check-icon\" icon={checkWide}></road-icon>}\n {this.indeterminate && <road-icon class=\"form-check-icon\" icon={navigationAddLess}></road-icon>}\n </label>\n {this.error && this.error !== '' && <p class=\"invalid-feedback\">{this.error}</p>}\n {this.helper && this.helper !== '' && <p class=\"helper\">{this.helper}</p>}\n </Host>\n );\n }\n}\n\nlet checkboxIds = 0;\n"],"version":3}
|
|
1
|
+
{"file":"road-checkbox.entry.cjs.js","mappings":"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","names":["h","Host","checkWide","navigationAddLess"],"sources":["src/components/checkbox/checkbox.css?tag=road-checkbox&encapsulation=scoped","src/components/checkbox/checkbox.tsx"],"sourcesContent":["/*\n * Checkbox\n *\n * For accessibility, we provide a style for focus only on Tab,\n * for that add the javascript polyfill for focus-visible\n * (https://github.com/WICG/focus-visible).\n *\n * Index\n * - Checkbox\n * - Label\n * - Error\n * - Helper\n * - Position\n */\n\n\n/* CHECKBOX\n -------------------- */\n\n:host {\n position: relative;\n display: block;\n margin-bottom: 1.5rem;\n font-family: var(--road-font, sans-serif);\n font-size: var(--road-font-size-16);\n line-height: 1.5;\n color: var(--road-on-surface);\n}\n\n/**\n * Hide input\n */\n\n.form-check-input {\n position: absolute;\n z-index: -1;\n opacity: 0;\n}\n\n/* LABEL\n -------------------- */\n\n.form-check-label {\n position: relative;\n display: inline-flex;\n margin: 0;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.form-check-label::before {\n box-sizing: border-box;\n display: block;\n flex-shrink: 0;\n width: 1.25rem;\n height: 1.25rem;\n margin: 0 0.75rem 0 0;\n content: \"\";\n background: var(--road-surface);\n border: 1px solid var(--road-input-outline);\n border-radius: 0.25rem;\n transition: border 0.2s ease-in-out, background 0.2s ease-in-out;\n}\n\n.form-check-label-span {\n color: var(--road-on-surface-weak);\n}\n\n.form-check-icon {\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n display: block;\n width: 1.25rem;\n height: 1.25rem;\n color: var(--road-primary-contrast);\n opacity: 0;\n transition: opacity 0.2s ease-in-out;\n}\n\n/**\n * Hover state\n */\n\n@media (hover: hover) {\n\n .form-check-input:not(:disabled) ~ .form-check-label:hover::before {\n border-color: var(--road-input-surface-variant);\n }\n\n .form-check-input:not(:disabled):checked ~ .form-check-label:hover::before,\n .form-check-input:not(:disabled):indeterminate ~ .form-check-label:hover::before {\n background: var(--road-input-surface-variant);\n }\n}\n\n/**\n * Checked state\n */\n\n.form-check-input:checked ~ .form-check-label .form-check-icon,\n.form-check-input:indeterminate ~ .form-check-label .form-check-icon {\n opacity: 1;\n}\n\n.form-check-input:checked ~ .form-check-label::before,\n.form-check-input:indeterminate ~ .form-check-label::before {\n background: var(--road-input-surface);\n border-color: var(--road-input-surface);\n}\n\n/**\n * Focus on Tab\n */\n\n.form-check-input.focus-visible ~ .form-check-label::before {\n box-shadow: 0 0 0 0.125rem var(--road-grey-000), 0 0 0 0.1875rem var(--road-primary-700);\n}\n\n.form-check-input.focus-visible:checked ~ .form-check-label::before,\n.form-check-input.focus-visible:indeterminate ~ .form-check-label::before {\n background: var(--road-input-surface-variant);\n border-color: var(--road-input-surface-variant);\n}\n\n/**\n * Disabled state\n */\n\n.form-check-input:disabled ~ .form-check-label,\n.form-check-input[readonly] ~ .form-check-label {\n cursor: not-allowed;\n}\n\n.form-check-input:disabled ~ .form-check-label::before,\n.form-check-input[readonly] ~ .form-check-label::before {\n background: var(--road-surface-disabled);\n border: none;\n}\n\n.form-check-input:disabled ~ .form-check-label .form-check-icon,\n.form-check-input[readonly] ~ .form-check-label .form-check-icon {\n fill: var(--road-on-surface-disabled);\n}\n\n/* ERROR\n -------------------- */\n\n.invalid-feedback {\n display: none;\n flex: 0 0 100%;\n width: 100%;\n margin-top: 0.5rem;\n font-size: var(--road-font-size-12);\n color: var(--road-danger-default);\n}\n\n.form-check-input.is-invalid ~ .form-check-label::before,\n.was-validated .form-check-input:invalid ~ .form-check-label::before {\n border-color: var(--road-danger-outline);\n}\n\n.form-check-input.is-invalid ~ .invalid-feedback,\n.was-validated .form-check-input:invalid ~ .invalid-feedback {\n display: block;\n}\n\n/* POSITION\n -------------------- */\n\n.form-checkbox-inverse {\n display: flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n}\n\n.form-checkbox-inverse::before {\n margin: 0 0 0 1rem;\n}\n\n.form-checkbox-inverse .form-check-icon {\n right: 0;\n left: auto;\n}\n\n/* HELPER\n -------------------- */\n\n.helper {\n margin-top: 0.5rem;\n margin-left: 2rem;\n font-size: var(--road-font-size-14);\n color: var(--road-on-surface-weak);\n}\n\n/**\n * Size\n */\n \n .form-check-label-sm {\n font-size: var(--road-body-small);\n }\n\n.form-check-label-md {\n font-size: var(--road-body-medium);\n}\n\n.form-check-label-lg {\n font-size: var(--road-body-large);\n}\n","import { Component, Event, EventEmitter, Host, Prop, Watch, h } from '@stencil/core';\nimport { checkWide, navigationAddLess } from '../../../icons';\n\nimport './../../utils/polyfill';\n\n/**\n * @slot - Adding additional elements next to the label (e.g. number of items in filters).\n */\n\n@Component({\n tag: 'road-checkbox',\n styleUrl: 'checkbox.css',\n scoped: true,\n})\nexport class Checkbox {\n\n /**\n * The id of checkbox\n */\n @Prop() checkboxId: string = `road-checkbox-${checkboxIds++}`;\n\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name: string = this.checkboxId;\n\n /**\n * If `true`, the user must fill in a value before submitting a form.\n */\n @Prop() required: boolean = false;\n\n /**\n * If `true`, the checkbox is checked.\n */\n @Prop({ mutable: true }) checked = false;\n\n /**\n * If `true`, the checkbox will visually appear as indeterminate.\n */\n @Prop() indeterminate: boolean = false;\n\n /**\n * If `true`, the user cannot interact with the checkbox.\n */\n @Prop() disabled: boolean = false;\n\n /**\n * Value the form will get\n */\n @Prop() value: string = 'on';\n\n /**\n * Label for the field\n */\n @Prop() label: string = `${this.checkboxId}-label`;\n\n /**\n * Secondary Label for the field\n */\n @Prop() secondaryLabel?: string;\n\n /**\n * If `true`, the label and the checkbox are inverse and spaced\n */\n @Prop() inverse: boolean = false;\n\n /**\n * Error message for the field\n */\n @Prop() error?: string;\n\n /**\n * Helper message for the field\n */\n @Prop() helper?: string;\n\n /**\n * The checkbox label size.\n */\n @Prop({ reflect: true }) size?: 'sm' | 'md' | 'lg' = 'md';\n\n /**\n * Emitted when the checked property has changed.\n */\n @Event() roadchange!: EventEmitter<{\n checked: boolean,\n value: string | undefined | null\n }>;\n /** @internal */\n @Event() roadChange!: EventEmitter<{\n checked: boolean,\n value: string | undefined | null\n }>;\n\n /**\n * Emitted when the checkbox has focus.\n */\n @Event() roadfocus!: EventEmitter<void>;\n /** @internal */\n @Event() roadFocus!: EventEmitter<void>;\n\n /**\n * Emitted when the checkbox loses focus.\n */\n @Event() roadblur!: EventEmitter<void>;\n /** @internal */\n @Event() roadBlur!: EventEmitter<void>;\n\n @Watch('checked')\n checkedChanged(isChecked: boolean) {\n this.roadchange.emit({\n checked: isChecked,\n value: this.value,\n });\n this.roadChange.emit({\n checked: isChecked,\n value: this.value,\n });\n }\n\n private onClick = () => {\n this.checked = !this.checked;\n this.indeterminate = false;\n };\n\n private onFocus = () => {\n this.roadfocus.emit();\n this.roadFocus.emit();\n };\n\n private onBlur = () => {\n this.roadblur.emit();\n this.roadBlur.emit();\n };\n\n render() {\n const labelId = this.checkboxId + '-label';\n const inverseClass = this.inverse && 'form-checkbox-inverse';\n const sizeClass = this.size !== undefined ? `form-check-label-${this.size}` : '';\n const isInvalidClass = this.error !== undefined && !this.checked && this.error !== '' ? 'is-invalid' : '';\n\n return (\n <Host>\n <input\n class={`form-check-input ${isInvalidClass}`}\n type=\"checkbox\"\n id={this.checkboxId}\n name={this.name}\n required={this.required}\n disabled={this.disabled}\n indeterminate={this.indeterminate}\n checked={this.checked}\n value={this.value}\n aria-checked={`${this.checked}`}\n aria-disabled={this.disabled ? 'true' : null}\n aria-labelledby={labelId}\n onClick={this.onClick}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <label class={`form-check-label ${inverseClass} ${sizeClass}`} id={labelId} htmlFor={this.checkboxId}>\n <div>\n {this.label} <span class=\"form-check-label-span\">{this.secondaryLabel}</span><slot/>\n </div>\n {this.checked && !this.indeterminate && <road-icon class=\"form-check-icon\" icon={checkWide}></road-icon>}\n {this.indeterminate && <road-icon class=\"form-check-icon\" icon={navigationAddLess}></road-icon>}\n </label>\n {this.error && this.error !== '' && <p class=\"invalid-feedback\">{this.error}</p>}\n {this.helper && this.helper !== '' && <p class=\"helper\">{this.helper}</p>}\n </Host>\n );\n }\n}\n\nlet checkboxIds = 0;\n"],"version":3}
|
|
@@ -31,7 +31,7 @@ const Chip = class {
|
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
33
|
const outlineClass = this.outline ? 'chip-outline' : '';
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: 'ded3c67d6a534dfd46c54ecf503767f8283d2822', class: `${outlineClass} chip-${this.color} chip-${this.size}`, tabindex: "0" }, index.h("div", { key: '2ba980cea6242d94be97da8da18d00c88980acc6', class: "chip-description" }, index.h("slot", { key: '1360a26a52fa7f94c76f321f400258a37af29285' })), this.hasCloseIcon && index.h("road-icon", { key: 'f4049de03437098c2e85cf8b7975cfcc408cdbcb', class: "chip-close", icon: index$1.navigationClose })));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
Chip.style = RoadChipStyle0;
|
|
@@ -37,7 +37,7 @@ const Collapse = class {
|
|
|
37
37
|
const isOpenClass = this.isOpen ? 'collapse-open' : '';
|
|
38
38
|
const buttonText = this.isOpen ? this.showLess : this.showMore;
|
|
39
39
|
const centerClass = this.centered ? 'collapse-btn-centered' : '';
|
|
40
|
-
return (index.h(index.Host, { key: '
|
|
40
|
+
return (index.h(index.Host, { key: '6c1f78aea13744aab6d9e39f5c415e38a070026e' }, index.h("slot", { key: '3d369bc22707614e18b0b87b2ac880a696876a10' }), index.h("div", { key: 'a2e58a860c41422159ac8a605431cb747934f1c4', class: `collapsed-content ${isOpenClass}` }, index.h("slot", { key: 'db854e26de30f90268f3c0a209ed946a38fde7b4', name: "collapsed-content" })), index.h("div", { key: '37ab581d3d384433e69ac37993adb116cdf3d787', class: `collapse-btn-wrapper ${centerClass}` }, index.h("road-button", { key: '97d8bb625e6cac6108e0b4dc6263481b20da6f1c', onClick: this.onClick, class: "collapse-btn btn-link" }, buttonText))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
Collapse.style = RoadCollapseStyle0;
|
|
@@ -17,7 +17,7 @@ const ContentCard = class {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const insetImageClass = this.insetImage ? '' : 'content-card-image';
|
|
20
|
-
return (index.h(index.Host, { key: '
|
|
20
|
+
return (index.h(index.Host, { key: '8e0b36b7d5e3906508a99ccd55b5ce38b0d8328d' }, index.h("road-img", { key: '57d11f40a4678f141fdf7952c3663a4c3803bc42', src: "https://s1.medias-norauto.fr/visuals/desktop/fr/banners/blog_loimontagne.png", alt: "loi montagne", class: insetImageClass }), index.h("div", { key: '2050e2fa7a84d84e0737308a1e977fca746eaf4c', class: "content-card-description" }, index.h("road-label", { key: '3fe09993b8bf8c3a82cf8a7ec8efc6eed87fd78b', class: "content-card-description-title" }, index.h("slot", { key: '3a37c63b30c874314aa764210b4b268a83f71645', name: "label" })), index.h("p", { key: 'fb09e79bb1b73656e2bfa9b03a5b822640ec0638', class: "content-card-description-text" }, index.h("slot", { key: '7c8c4ced139302c08dcf4b67436e92780a29ce67', name: "description" })), index.h("div", { key: '209e1873e8f6e4e340109c46a9b11d3587e5a43b', class: "content-card-description-buttons" }, index.h("slot", { key: '2feb58a1893aa6607cd1f89fc28ffb53729f1c6a' })))));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
ContentCard.style = RoadContentCardStyle0;
|
|
@@ -90,11 +90,11 @@ const Dialog = class {
|
|
|
90
90
|
break;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
return (index.h(index.Host, { key: '
|
|
93
|
+
return (index.h(index.Host, { key: '81a8f90ed4049e3485a6ab736accc9fec67d7594', class: `dialog ${modalIsOpenClass} ${modalhasClose}`, role: "alertdialog", "aria-modal": "true", tabindex: "-1", "aria-label": "dialogLabel" }, index.h("div", { key: 'b3225223c0bca4133cf60a748903c1b3011b8760', class: "dialog-overlay", onClick: this.hasCloseIcon === true ? this.onClick : undefined, tabindex: "-1" }), index.h("div", { key: '1488377ca21798d95a54384268a0d365ba54b8ff', class: "dialog-modal", role: "document", tabindex: "0" }, index.h("div", { key: '3ed4499f0462bedb809118f5ba134930cdd3f0fe', class: "dialog-content" }, index.h("header", { key: '9179af253c0babbbd378200dc0b6e53a54421fbd', class: "dialog-header" }, this.hasCloseIcon
|
|
94
94
|
? index.h("button", { type: "button", class: "dialog-close", onClick: this.onClick, "aria-label": "Close" }, index.h("road-icon", { icon: index$1.navigationClose, "aria-hidden": "true" }))
|
|
95
|
-
: ''), index.h("div", { key: '
|
|
95
|
+
: ''), index.h("div", { key: '5c1f4459f65cf0864a4bf257bef0f6682a9ae2c4', class: "dialog-body" }, this.color !== undefined
|
|
96
96
|
? index.h("road-icon", { class: "dialog-icon", part: "dialog-icon", color: this.color, icon: icon, "aria-hidden": "true" })
|
|
97
|
-
: '', index.h("h2", { key: '
|
|
97
|
+
: '', index.h("h2", { key: 'ff143f65b583d0aeed73ea249c5091b8c9e5d64c', class: "dialog-title" }, this.label), index.h("p", { key: 'f404363a6ba5af84300d506b391d986dcd87080a', class: "dialog-description", id: "dialogDesc" }, this.description)), index.h("footer", { key: '50947ca23bb9e9bd5a71c9c48a793f79e3096c89', class: "dialog-footer" }, index.h("slot", { key: '87bcb8232aaba76e3ea703777d67abe220980ed1' }))))));
|
|
98
98
|
}
|
|
99
99
|
get el() { return index.getElement(this); }
|
|
100
100
|
};
|
|
@@ -32,7 +32,7 @@ const Dropdown = class {
|
|
|
32
32
|
const positionClass = this.position ? `position-${this.position}` : '';
|
|
33
33
|
const dropdownClass = this.position ? `dropdown-${this.position}` : '';
|
|
34
34
|
const directionClass = this.direction ? `direction-${this.direction}` : '';
|
|
35
|
-
return (index.h("details", { key: '
|
|
35
|
+
return (index.h("details", { key: '96f98a43d15a43bc4e48354d0ad9734ca502455a', class: "dropdown", open: this.isOpen }, index.h("summary", { key: 'af1ff26056eaf4b6b3ff57cd9308b0f630f42ed1', "aria-expanded": this.isOpen.toString(), tabindex: "0", role: "button", onClick: this.onClick, "tab-index": "0" }, index.h("div", { key: '9e2149f6901a9b9f6b0b946336c8f037f35b1a12', class: `d-flex ${positionClass}` }, index.h("div", { key: 'cc34ac31554224da891175c86ddc4fb0e824a509', class: `${isLightButtonDropDown} ${isMediumButtonDropDown}` }, index.h("road-icon", { key: '25fb15d3fd97ce75d77da1a3cce8f968d76b7ecf', name: "navigation-more", class: "dropdown-button-icon", "aria-hidden": "true" })))), index.h("div", { key: '5d2e08dbd8e1d58eb6f94b2e6f4ae438d48b0ec5', class: `dropdown-menu ${directionClass} ${dropdownClass}` }, index.h("slot", { key: '441c9b8f8177a90ca9d9b26ea2e0f6eab8eda176', name: "list" }))));
|
|
36
36
|
}
|
|
37
37
|
get el() { return index.getElement(this); }
|
|
38
38
|
};
|
|
@@ -52,7 +52,7 @@ const Duration = class {
|
|
|
52
52
|
this.isOpen = false;
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (index.h("road-drawer", { key: '
|
|
55
|
+
return (index.h("road-drawer", { key: '535f8253ed4077add28d3ef7089c41e292ef7d78', "is-open": this.isOpen, position: "bottom", "drawer-title": this.header }, index.h("road-grid", { key: '0b82c91ceb9d64ff3e0ff1462d1197f7607de643' }, index.h("road-row", { key: '0913921ee3b390f33a84b5a008665381e2d8bcea', class: "duration-values" }, Array(Math.floor((this.max - this.min) / this.step) + 1).fill(this.min).map(((item, index) => (item + index * this.step))).map(item => index.h("road-col", { class: "col-3 col-md-2" }, index.h("road-card", { button: true, value: item }, index.h("road-label", null, Math.floor(item / 60).toLocaleString("en-GB", { minimumIntegerDigits: 2, useGrouping: false }), ":", (item % 60).toLocaleString("en-GB", { minimumIntegerDigits: 2, useGrouping: false })))))))));
|
|
56
56
|
}
|
|
57
57
|
get el() { return index.getElement(this); }
|
|
58
58
|
};
|
|
@@ -25,7 +25,7 @@ const Flap = class {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
const colorClass = this.filled ? `flap-${this.color}-filled` : `flap-${this.color}`;
|
|
28
|
-
return (index.h(index.Host, { key: '
|
|
28
|
+
return (index.h(index.Host, { key: 'd20f1aff196fce6d4b5a0abc93c412a8eb25a074', class: `${colorClass} flap-${this.size}` }, index.h("slot", { key: '0be62bb6925782d1109981adbb67de911bcb29f3' })));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
Flap.style = RoadFlapStyle0;
|
|
@@ -132,7 +132,7 @@ const GlobalNavigationV2 = class {
|
|
|
132
132
|
this.selectedTabChanged();
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
return (index.h(index.Host, { key: '
|
|
135
|
+
return (index.h(index.Host, { key: 'f4fb2c22034b13b4937635c6427ce6a1db6da363', role: "application" }, index.h("slot", { key: 'efc105887ec5a4f4ae417d075c30d6b9816b4850' })));
|
|
136
136
|
}
|
|
137
137
|
get host() { return index.getElement(this); }
|
|
138
138
|
static get watchers() { return {
|
|
@@ -31,7 +31,7 @@ const GlobalNavigation = class {
|
|
|
31
31
|
this.selectedTabChanged();
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: '72901e74098db281d77f4200a744a63968f2e28c', role: "application" }, index.h("slot", { key: '6b70d101f1d30a6888dd4176ac87bdc37bb9dd06' })));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -70,7 +70,7 @@ const Img = class {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
const placeholder = this.loadSrc !== undefined ? '' : 'placeholder';
|
|
73
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
return (index.h(index.Host, { key: 'b62aaf9dd6afc9ce4727cd12375f1c4b760f41f2', class: placeholder }, index.h("img", { key: 'e0fca9d6cf0b015e9d6be7d24b37eb7812814897', class: "native-img", decoding: "async", src: this.loadSrc, alt: this.alt, onLoad: this.onLoad, onError: this.loadError, part: "image" })));
|
|
74
74
|
}
|
|
75
75
|
get el() { return index.getElement(this); }
|
|
76
76
|
static get watchers() { return {
|
|
@@ -72,7 +72,7 @@ const Modal = class {
|
|
|
72
72
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
73
73
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
74
74
|
const closeIconElement = this.hasCloseIcon ? index.h("button", { type: "button", class: "modal-close", onClick: this.onClick, "aria-label": "Close" }, index.h("road-icon", { icon: index$1.navigationClose, "aria-hidden": "true" })) : '';
|
|
75
|
-
return (index.h(index.Host, { key: '
|
|
75
|
+
return (index.h(index.Host, { key: '6c244ce1b24c5bf03510f660f15875f0447971b5', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, index.h("div", { key: '8e8dbb9998bac59c729f1aada64bc5b992f61df8', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), index.h("div", { key: '44d711823586fe5ba41e188401d80f50013b0c13', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, index.h("div", { key: '419db268697ee725be611f58a60fabd0c00885c5', class: "modal-content" }, index.h("header", { key: '7c827e7599d584cdd3cf32bea76f4f0eb7f28b92', class: `modal-header ${inverseHeaderClass}` }, index.h("h2", { key: '13c09b08282b8cd1194de014f4ce8d6729adb367', class: "modal-title" }, this.modalTitle), closeIconElement), index.h("div", { key: '7b876b870d1ca06b42af0bc62c778c23da78d6c4', class: "modal-body" }, index.h("slot", { key: '5c1caff28e65e3a9bd256fd583857c590d805184' }))))));
|
|
76
76
|
}
|
|
77
77
|
get el() { return index.getElement(this); }
|
|
78
78
|
};
|
|
@@ -67,11 +67,11 @@ const NavbarItem = class {
|
|
|
67
67
|
rel,
|
|
68
68
|
target,
|
|
69
69
|
};
|
|
70
|
-
return (index.h(index.Host, { key: '
|
|
70
|
+
return (index.h(index.Host, { key: '26cc0ac4caebe985b43b11227634008dbfc58d5c', onClick: this.onClick, onKeyup: this.onKeyUp, role: "menuitem", tabindex: "0", "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `navbar-item-${tab}` : null, disabled: disabled, class: {
|
|
71
71
|
'navbar-item': true,
|
|
72
72
|
'tab-selected': selected,
|
|
73
73
|
'tab-disabled': disabled,
|
|
74
|
-
} }, index.h("a", Object.assign({ key: '
|
|
74
|
+
} }, index.h("a", Object.assign({ key: '1dac4defe0a192239fb2d76770b9b38a4d56767e' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), index.h("span", { key: 'd8a0b012ec8703c8fe46c2f7c98f00352748cc68', class: "button-inner" }, index.h("slot", { key: 'bb3859b51d5d5b411c5490b7456faf51419a12aa' })))));
|
|
75
75
|
}
|
|
76
76
|
get el() { return index.getElement(this); }
|
|
77
77
|
static get watchers() { return {
|
|
@@ -67,11 +67,11 @@ const NavbarItem = class {
|
|
|
67
67
|
rel,
|
|
68
68
|
target,
|
|
69
69
|
};
|
|
70
|
-
return (index.h(index.Host, { key: '
|
|
70
|
+
return (index.h(index.Host, { key: 'fe103b4b40d2a2801b24f00ce2c6bc53052f2391', onClick: this.onClick, onKeyup: this.onKeyUp, role: "menuitem", tabindex: "0", "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `navbar-item-${tab}` : null, disabled: disabled, class: {
|
|
71
71
|
'navbar-item': true,
|
|
72
72
|
'tab-selected': selected,
|
|
73
73
|
'tab-disabled': disabled,
|
|
74
|
-
} }, index.h("a", Object.assign({ key: '
|
|
74
|
+
} }, index.h("a", Object.assign({ key: '6c593b2df20a7a1cd46c2d3260c96ee591cba02f' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), index.h("span", { key: '70ab22ac31e4af63594721b5e4cddf235257c156', class: "button-inner" }, index.h("slot", { key: '3323e0c0aabc071f9aad3689956a9a6a89dba442' })))));
|
|
75
75
|
}
|
|
76
76
|
get el() { return index.getElement(this); }
|
|
77
77
|
static get watchers() { return {
|
|
@@ -36,7 +36,7 @@ const NavbarV2 = class {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
const compactClass = this.compact ? 'compact' : '';
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: 'd8338b69a6dbdd71d1ca39e5ea5fff4c6b0e6de9', role: "menubar", class: `${compactClass}` }, index.h("slot", { key: '59afd9379182b345858fd641aba05177fd8d71de' })));
|
|
40
40
|
}
|
|
41
41
|
static get watchers() { return {
|
|
42
42
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -31,7 +31,7 @@ const Navbar = class {
|
|
|
31
31
|
this.selectedTabChanged();
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h(index.Host, { key: '
|
|
34
|
+
return (index.h(index.Host, { key: '3c4b66461802de4f15cfffaddcd27a4672f5b575', role: "menubar" }, index.h("slot", { key: '56e8f8fc09788ff82386c6cef50be1b984d35a87' })));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"selectedTab": ["selectedTabChanged"]
|
|
@@ -1367,9 +1367,9 @@ const RoadPhoneNumberInput = class {
|
|
|
1367
1367
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
1368
1368
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
1369
1369
|
const sizes = 'xl';
|
|
1370
|
-
return (index.h(index.Host, { key: '
|
|
1370
|
+
return (index.h(index.Host, { key: '552dcc0d24ed4d178f040fe8021050c74d902058' }, index.h("div", { key: '70ca6c4f0bdec5dcebdc4b5591ab06b304cc95e0', class: 'phone-number-inputs-container' }, index.h("div", { key: '4c992e0a1a8c9fa27b68f10c7216b344e6d645b1', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, index.h("select", { key: '5e7261c78dd3d71c28e8dd340dec596a301d27ef', id: selectId, class: `form-select-area has-value`, "aria-disabled": this.disabled ? 'true' : null, disabled: this.disabled, onChange: (event) => this.handleSelect(event), "aria-label": this.codeLabel, tabIndex: this.disabled ? -1 : 0 }, this.countryOptions && this.countryOptions.map(option => (index.h("option", { value: option.value, disabled: option.disabled, selected: option.selected }, option.label)))), index.h("label", { key: '35a5db0450b99e05e76865316ff77261cebbdddf', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), index.h("label", { key: '2cd83c2a7576d7d81d6a0845837093e6f537fc04', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), index.h("input", { key: '141c74565f3d98943c94dc5f8bd0b5e4fd74a7b0', type: 'tel', id: inputId, class: `input-${sizes} phone-number-input-field ${hasValueClass} ${isErrorClass}`, value: this.phoneValue, required: this.required, tabIndex: 0, onInput: (event) => this.handleInput(event) }), index.h("label", { key: '458b36d9170841d8eeedc2888c99b69beb21e013', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
1371
1371
|
&& this.errorMessage !== ''
|
|
1372
|
-
&& index.h("p", { key: '
|
|
1372
|
+
&& index.h("p", { key: '741d9f65e5f74ad938bb84e4d16d83b16e334ae3', class: "invalid-feedback" }, index.h("road-icon", { key: '89b68bd1f9810d5ac495b951796e59dd02cb91f8', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
1373
1373
|
}
|
|
1374
1374
|
get el() { return index.getElement(this); }
|
|
1375
1375
|
};
|
|
@@ -109,10 +109,10 @@ const PlateNumber = class {
|
|
|
109
109
|
render() {
|
|
110
110
|
const value = this.getValue();
|
|
111
111
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
112
|
-
return (index.h("road-input-group", { key: '
|
|
112
|
+
return (index.h("road-input-group", { key: 'edaa7cd8e513932287becfcc4af72d723d7b729f', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, index.h("label", { key: '49d3b7bdb6c63adceab1b13ae16f2bff1903e84c', slot: "prepend", class: "input-group-prepend" }, index.h("div", { key: '39760b0846d83e37e1f450819fe53e99650bab8b', class: "plate-number-start" }, index.h("road-icon", { key: '1d08fc08600b06afa481cbd45df983591057a324', class: "plate-number-icon", icon: index$1.licensePlateStarEu }), index.h("div", { key: 'd8644ec27f56eb9d75f67dff85e39bd17d4b4f6e', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
113
113
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
114
114
|
? (index.h("textarea", { class: "form-control plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, maxlength: "9", rows: 2, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }))
|
|
115
|
-
: (index.h("input", { class: "plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })), index.h("label", { key: '
|
|
115
|
+
: (index.h("input", { class: "plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })), index.h("label", { key: '06b33c03a7eabf6b591b35493e1135f2b5870aff', slot: "append", class: "input-group-append" }, index.h("div", { key: 'eedacf154846a5902aecca99a526c267c416eb35', class: "plate-number-end" }))));
|
|
116
116
|
}
|
|
117
117
|
static get watchers() { return {
|
|
118
118
|
"value": ["valueChanged"]
|
|
@@ -30,7 +30,7 @@ const Dropdown = class {
|
|
|
30
30
|
this.isOpen = false;
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (index.h("details", { key: '
|
|
33
|
+
return (index.h("details", { key: '657ada2de370f6aaf76e2a98895ce3be28cc6f69', class: "dropdown", open: this.isOpen }, index.h("summary", { key: '940d726d7d1c8ea126924b108bf57ab685a2a686', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, index.h("div", { key: '5857ab37b0438b2610d908094bbab9187c46e259', class: `d-flex` }, index.h("div", { key: 'a317e761fa4b6b46097b04ebe309e2f752e2f2e1' }, index.h("road-avatar", { key: 'b25236fa949b54ca0faf7bceb0b635fc4cb6b07b' }, index.h("slot", { key: 'c18965b719882ecd60dcef091298401933f33c88', name: "avatar" }))))), index.h("div", { key: '70fc69f9f0cccac896d5196bee1e6a9c866c6541', class: `dropdown-menu` }, index.h("div", { key: '7d28cb139e59995c972c30217cc0a0fc1f96382c', class: "profil-item" }, index.h("road-avatar", { key: 'f74a21b6c4fcb5e23bb073839fb77b4edd95818a', size: "sm" }, index.h("slot", { key: '3da5faaa271a97c4a016853f77c24c8e5961680d', name: "avatarItem" })), index.h("div", { key: 'd30bf6cb38ffde6720dc48baad4226c7b0cc0188', class: "profil-item-info" }, index.h("span", { key: '676ab7af4733f92f8e9f1e4e11ea85364237068b', class: "profil-item-info-name" }, index.h("slot", { key: '2e4b1a90c2f00e7e67e4db95931aaca9102e776f', name: "name" })), index.h("road-label", { key: 'c09654f005fc0b322fd071e13349731ab16e62f5' }, index.h("slot", { key: '661db4276128da1f7c2c1c6cfc72fd31ef50e413', name: "email" })))), index.h("slot", { key: '22b9d5856379c958ab32fd67ca70eceed2d58725', name: "list" }))));
|
|
34
34
|
}
|
|
35
35
|
get el() { return index.getElement(this); }
|
|
36
36
|
};
|
|
@@ -27,7 +27,7 @@ const Stepper = class {
|
|
|
27
27
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
28
28
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
29
29
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
30
|
-
return (index.h(index.Host, { key: '
|
|
30
|
+
return (index.h(index.Host, { key: 'ccb6347ccc6d69282b0b3de2e6371b4ae0da7d6d' }, index.h("nav", { key: '4025380ac77abef5bf2cc517fe73e11112f768b0' }, index.h("ul", { key: '84fa3d6446fe171ae5c167bec45fdbc8cdb4ce9c', class: `${colorClass}` }, index.h("li", { key: 'a15bf9839e720c4587e06e64285352062a05fed0', class: `${stateClass}` }, index.h("a", { key: '5f8b9233a3c63701d1e689666c295bf8687352b9', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, index.h("span", { key: 'a388162f0a3399cd61f500ca1a6cd2195fc1cfaa', class: "progress-indicator-horizontal-icon" }, index.h("slot", { key: '15c6e61fa315c0685b0163e303edcc6778b4c9a5', name: "progress-indicator-horizontal-icon" })), index.h("span", { key: 'a46cd307a9ea8e6136d6404ef0c5a433ffb87666', class: "progress-indicator-horizontal-title" }, index.h("slot", { key: '9993529c48b5e0b77fc22864d649694cb1c2ee0c', name: "progress-indicator-horizontal-title" })))), index.h("li", { key: '4d64c11c640b2f40f72f6dddd8c33438c4bdeb9b', class: `${stateSecondStepClass}` }, index.h("a", { key: '03d659b8a60172b33c82b3a26957896c25e3b467', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, index.h("span", { key: 'c1f9a3b9c9f0b0a54859ee7a3b0d7e9c2552740b', class: "progress-indicator-horizontal-icon" }, index.h("slot", { key: '08db755e8c6b0a8b5103e4022710fb5e8ed5ae34', name: "progress-indicator-horizontal-icon2" })), index.h("span", { key: '7c458f6a250c5f66b199019babb14e1373fae597', class: "progress-indicator-horizontal-title" }, index.h("slot", { key: 'a2df3767db3baa71ed8e3d5e93f3fb86b2e71f8f', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && index.h("li", { key: 'b7adeb48232b08b3a234829611af3b6a28d00a67', class: `${stateThirdStepClass}` }, index.h("a", { key: 'e7537eddb421180a668ad31eddb034c5bdad4a23', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, index.h("span", { key: 'e0ffebe33d163b2e37e5d8d54dabe96f5b12a171', class: "progress-indicator-horizontal-icon" }, index.h("slot", { key: '2e077ab50eebe1d72e76e9dc04f451cf8c617b9f', name: "progress-indicator-horizontal-icon3" })), index.h("span", { key: '1cad575ca395bb5f2a718c49b32c01952e7faa8c', class: "progress-indicator-horizontal-title" }, index.h("slot", { key: 'ee40e5251b5db0a55fdff81a903af67ac3ca5f93', name: "progress-indicator-horizontal-title3" }))))))));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
Stepper.style = RoadProgressIndicatorHorizontalStyle0;
|
|
@@ -12,7 +12,7 @@ const ProgressIndicatorVerticalItem = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '01e909268830e3729f771371fea8e22672c1f81f' }, index.h("slot", { key: 'd613840f69ca8d4c9b0ae8e1d53b01acc027bcee' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ProgressIndicatorVerticalItem.style = RoadProgressIndicatorVerticalItemStyle0;
|
|
@@ -12,7 +12,7 @@ const ProgressIndicatorVertical = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: '4762ffd8a4fbf70b85dd9d21a370006e9c9f1dde' }, index.h("nav", { key: 'b5582b03ea6525acab65853e3d816b96d7e1fbfc' }, index.h("ul", { key: '3e368e7204eb13839ceac853dbdbe5037c8c11a0' }, index.h("li", { key: '3304843de4f5fdd4b66dd4539b536bc87b506187' }, index.h("slot", { key: 'bbbb9861ece279921924dc9fc04b8a9581783071' }))))));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ProgressIndicatorVertical.style = RoadProgressIndicatorVerticalStyle0;
|
|
@@ -12,7 +12,7 @@ const ProgressTrackerItem = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: 'd7232f28ef30258e59fff790e0a07677eacd13a1' }, index.h("slot", { key: 'cf7e6d62701374235c58ef97f340b99d1b648847' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
ProgressTrackerItem.style = RoadProgressTrackerItemStyle0;
|