@roadtrip/components 3.17.0 → 3.18.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/loader.cjs.js +1 -1
- package/dist/cjs/road-accordion.cjs.entry.js +1 -1
- package/dist/cjs/road-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/road-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/road-autocomplete.cjs.entry.js.map +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +40 -8
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-banner.cjs.entry.js +1 -1
- package/dist/cjs/road-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/road-button-floating.cjs.entry.js +1 -1
- package/dist/cjs/road-button-floating.cjs.entry.js.map +1 -1
- package/dist/cjs/road-card.cjs.entry.js +1 -1
- package/dist/cjs/road-card.cjs.entry.js.map +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js +30 -118
- package/dist/cjs/road-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/road-chip.cjs.entry.js +2 -2
- package/dist/cjs/road-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/road-collapse.cjs.entry.js +1 -1
- package/dist/cjs/road-collapse.cjs.entry.js.map +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +2 -2
- package/dist/cjs/road-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/road-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/road-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/road-global-navigation.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/road-illustration.cjs.entry.js +1 -1
- package/dist/cjs/road-illustration.cjs.entry.js.map +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/road-navbar-item.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/road-navbar.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar.cjs.entry.js.map +1 -1
- package/dist/cjs/road-phone-number-input.cjs.entry.js +41 -5
- package/dist/cjs/road-phone-number-input.cjs.entry.js.map +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
- package/dist/cjs/road-plate-number.cjs.entry.js.map +1 -1
- package/dist/cjs/road-profil-dropdown.cjs.entry.js +10 -1
- package/dist/cjs/road-profil-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +2 -2
- package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/road-progress-tracker.cjs.entry.js +2 -2
- package/dist/cjs/road-progress-tracker.cjs.entry.js.map +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/road-range.cjs.entry.js +26 -2
- package/dist/cjs/road-range.cjs.entry.js.map +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js.map +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +34 -4
- package/dist/cjs/road-select-filter.cjs.entry.js.map +1 -1
- package/dist/cjs/road-select.cjs.entry.js +1 -1
- package/dist/cjs/road-select.cjs.entry.js.map +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion.css +4 -0
- package/dist/collection/components/accordion/accordion.stories.js +1 -1
- package/dist/collection/components/alert/alert.stories.js +1 -1
- package/dist/collection/components/autocomplete/autocomplete.js +1 -1
- package/dist/collection/components/autocomplete/autocomplete.js.map +1 -1
- package/dist/collection/components/autocomplete/autocomplete.stories.js +2 -2
- package/dist/collection/components/avatar/avatar.stories.js +1 -1
- package/dist/collection/components/badge/badge.stories.js +2 -2
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/banner/banner.js.map +1 -1
- package/dist/collection/components/button/button.stories.js +6 -6
- package/dist/collection/components/button-floating/button-floating.css +0 -4
- package/dist/collection/components/button-floating/button-floating.stories.js +2 -2
- package/dist/collection/components/card/card.css +4 -0
- package/dist/collection/components/card/card.stories.js +4 -4
- package/dist/collection/components/carousel/carousel.css +4 -1
- package/dist/collection/components/carousel/carousel.js +93 -250
- package/dist/collection/components/carousel/carousel.js.map +1 -1
- package/dist/collection/components/chip/chip.css +2 -2
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/chip.js.map +1 -1
- package/dist/collection/components/chip/chip.stories.js +26 -1
- package/dist/collection/components/collapse/collapse.css +4 -0
- package/dist/collection/components/collapse/collapse.stories.js +8 -8
- package/dist/collection/components/counter/counter.css +5 -0
- package/dist/collection/components/counter/counter.js +19 -1
- package/dist/collection/components/counter/counter.js.map +1 -1
- package/dist/collection/components/dialog/dialog.js +2 -2
- package/dist/collection/components/dialog/dialog.js.map +1 -1
- package/dist/collection/components/drawer/drawer.js +1 -1
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/drawer/drawer.stories.js +2 -2
- package/dist/collection/components/dropdown/dropdown.css +9 -4
- package/dist/collection/components/dropdown/dropdown.js +3 -3
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.stories.js +4 -4
- package/dist/collection/components/global-navigation/global-navigation.js +1 -1
- package/dist/collection/components/global-navigation/global-navigation.js.map +1 -1
- package/dist/collection/components/global-navigation/global-navigation.stories.js +39 -39
- package/dist/collection/components/icon/icon.stories.js +44 -43
- package/dist/collection/components/illustration/illustration.js +1 -1
- package/dist/collection/components/illustration/illustration.js.map +1 -1
- package/dist/collection/components/input/input.css +8 -2
- package/dist/collection/components/input/input.js +16 -2
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input-group/input-group.js +1 -1
- package/dist/collection/components/input-group/input-group.js.map +1 -1
- package/dist/collection/components/input-group/input-group.stories.js +4 -4
- package/dist/collection/components/item/item.stories.js +9 -9
- package/dist/collection/components/list/list.stories.js +8 -8
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/modal/modal.js.map +1 -1
- package/dist/collection/components/navbar/navbar.js +1 -1
- package/dist/collection/components/navbar/navbar.js.map +1 -1
- package/dist/collection/components/navbar/navbar.stories.js +84 -63
- package/dist/collection/components/navbar-item/navbar-item.js +1 -1
- package/dist/collection/components/navbar-item/navbar-item.js.map +1 -1
- package/dist/collection/components/patterns/link.stories.js +2 -2
- package/dist/collection/components/phone-number-input/phone-number-input.css +0 -1
- package/dist/collection/components/phone-number-input/phone-number-input.js +40 -4
- package/dist/collection/components/phone-number-input/phone-number-input.js.map +1 -1
- package/dist/collection/components/plate-number/plate-number.css +1 -1
- package/dist/collection/components/plate-number/plate-number.js +1 -1
- package/dist/collection/components/plate-number/plate-number.js.map +1 -1
- package/dist/collection/components/profil-dropdown/profil-dropdown.css +8 -0
- package/dist/collection/components/profil-dropdown/profil-dropdown.js +18 -0
- package/dist/collection/components/profil-dropdown/profil-dropdown.js.map +1 -1
- package/dist/collection/components/profil-dropdown/profil-dropdown.stories.js +4 -4
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/progress/progress.js.map +1 -1
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.css +5 -0
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js.map +1 -1
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.stories.js +20 -20
- package/dist/collection/components/progress-tracker/progress-tracker.css +4 -0
- package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
- package/dist/collection/components/progress-tracker/progress-tracker.js.map +1 -1
- package/dist/collection/components/range/range.css +17 -2
- package/dist/collection/components/range/range.js +41 -2
- package/dist/collection/components/range/range.js.map +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js.map +1 -1
- package/dist/collection/components/select/select.css +1 -1
- package/dist/collection/components/select-filter/select-filter.css +5 -0
- package/dist/collection/components/select-filter/select-filter.js +43 -9
- package/dist/collection/components/select-filter/select-filter.js.map +1 -1
- package/dist/collection/components/select-filter/select-filter.stories.js +8 -8
- package/dist/collection/components/tabs/tabs.stories.js +5 -5
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/toolbar/toolbar.css +0 -2
- package/dist/collection/components/toolbar/toolbar.stories.js +8 -8
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.stories.js +3 -3
- package/dist/esm/{index-891decf5.js → index-7a0158a4.js} +2 -2
- package/dist/esm/{index-891decf5.js.map → index-7a0158a4.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-accordion.entry.js +2 -2
- package/dist/esm/road-accordion.entry.js.map +1 -1
- package/dist/esm/road-autocomplete.entry.js +1 -1
- package/dist/esm/road-autocomplete.entry.js.map +1 -1
- package/dist/esm/road-badge_14.entry.js +41 -9
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-banner.entry.js +2 -2
- package/dist/esm/road-banner.entry.js.map +1 -1
- package/dist/esm/road-button-floating.entry.js +1 -1
- package/dist/esm/road-button-floating.entry.js.map +1 -1
- package/dist/esm/road-card.entry.js +1 -1
- package/dist/esm/road-card.entry.js.map +1 -1
- package/dist/esm/road-carousel.entry.js +31 -119
- package/dist/esm/road-carousel.entry.js.map +1 -1
- package/dist/esm/road-checkbox.entry.js +1 -1
- package/dist/esm/road-chip.entry.js +3 -3
- package/dist/esm/road-chip.entry.js.map +1 -1
- package/dist/esm/road-collapse.entry.js +1 -1
- package/dist/esm/road-collapse.entry.js.map +1 -1
- package/dist/esm/road-dialog.entry.js +3 -3
- package/dist/esm/road-dialog.entry.js.map +1 -1
- package/dist/esm/road-dropdown.entry.js +4 -4
- package/dist/esm/road-dropdown.entry.js.map +1 -1
- package/dist/esm/road-global-navigation.entry.js +1 -1
- package/dist/esm/road-global-navigation.entry.js.map +1 -1
- package/dist/esm/road-illustration.entry.js +1 -1
- package/dist/esm/road-illustration.entry.js.map +1 -1
- package/dist/esm/road-modal.entry.js +2 -2
- package/dist/esm/road-modal.entry.js.map +1 -1
- package/dist/esm/road-navbar-item.entry.js +1 -1
- package/dist/esm/road-navbar-item.entry.js.map +1 -1
- package/dist/esm/road-navbar.entry.js +1 -1
- package/dist/esm/road-navbar.entry.js.map +1 -1
- package/dist/esm/road-phone-number-input.entry.js +41 -5
- package/dist/esm/road-phone-number-input.entry.js.map +1 -1
- package/dist/esm/road-plate-number.entry.js +3 -3
- package/dist/esm/road-plate-number.entry.js.map +1 -1
- package/dist/esm/road-profil-dropdown.entry.js +11 -2
- package/dist/esm/road-profil-dropdown.entry.js.map +1 -1
- package/dist/esm/road-progress-indicator-vertical.entry.js +2 -2
- package/dist/esm/road-progress-indicator-vertical.entry.js.map +1 -1
- package/dist/esm/road-progress-tracker.entry.js +2 -2
- package/dist/esm/road-progress-tracker.entry.js.map +1 -1
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-progress.entry.js.map +1 -1
- package/dist/esm/road-range.entry.js +28 -4
- package/dist/esm/road-range.entry.js.map +1 -1
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-segmented-button.entry.js +1 -1
- package/dist/esm/road-segmented-button.entry.js.map +1 -1
- package/dist/esm/road-select-filter.entry.js +34 -4
- package/dist/esm/road-select-filter.entry.js.map +1 -1
- package/dist/esm/road-select.entry.js +1 -1
- package/dist/esm/road-select.entry.js.map +1 -1
- package/dist/esm/road-textarea.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js.map +1 -1
- package/dist/esm/road-toast.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js.map +1 -1
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +3 -3
- package/dist/roadtrip/p-054acf61.entry.js +2 -0
- package/dist/roadtrip/p-054acf61.entry.js.map +1 -0
- package/dist/roadtrip/{p-ea28a425.entry.js → p-08b0be1b.entry.js} +2 -2
- package/dist/roadtrip/p-08b0be1b.entry.js.map +1 -0
- package/dist/roadtrip/{p-1a761fc0.entry.js → p-0fd454dc.entry.js} +2 -2
- package/dist/roadtrip/p-0fd454dc.entry.js.map +1 -0
- package/dist/roadtrip/{p-60e25858.entry.js → p-14ecc91e.entry.js} +2 -2
- package/dist/roadtrip/{p-60e25858.entry.js.map → p-14ecc91e.entry.js.map} +1 -1
- package/dist/roadtrip/{p-82919e58.entry.js → p-16c934bc.entry.js} +2 -2
- package/dist/roadtrip/p-17ae87b0.entry.js +2 -0
- package/dist/roadtrip/p-17ae87b0.entry.js.map +1 -0
- package/dist/roadtrip/{p-6e3e0b40.entry.js → p-18967429.entry.js} +2 -2
- package/dist/roadtrip/{p-6e3e0b40.entry.js.map → p-18967429.entry.js.map} +1 -1
- package/dist/roadtrip/p-27d2770a.entry.js +2 -0
- package/dist/roadtrip/p-27d2770a.entry.js.map +1 -0
- package/dist/roadtrip/{p-4f47f4f7.entry.js → p-31cf9b61.entry.js} +2 -2
- package/dist/roadtrip/p-31cf9b61.entry.js.map +1 -0
- package/dist/roadtrip/{p-dcb280e3.entry.js → p-3bce3bdc.entry.js} +2 -2
- package/dist/roadtrip/p-3bce3bdc.entry.js.map +1 -0
- package/dist/roadtrip/p-4a2f2612.entry.js +2 -0
- package/dist/roadtrip/p-4a2f2612.entry.js.map +1 -0
- package/dist/roadtrip/p-5203acea.entry.js +2 -0
- package/dist/roadtrip/p-5203acea.entry.js.map +1 -0
- package/dist/roadtrip/{p-a73ef7de.entry.js → p-61d87e64.entry.js} +2 -2
- package/dist/roadtrip/{p-a73ef7de.entry.js.map → p-61d87e64.entry.js.map} +1 -1
- package/dist/roadtrip/p-6ad5091d.entry.js +2 -0
- package/dist/roadtrip/p-6ad5091d.entry.js.map +1 -0
- package/dist/roadtrip/{p-2c132382.entry.js → p-72b3b34a.entry.js} +2 -2
- package/dist/roadtrip/p-72b3b34a.entry.js.map +1 -0
- package/dist/roadtrip/p-7a14e5b7.entry.js +2 -0
- package/dist/roadtrip/p-7a14e5b7.entry.js.map +1 -0
- package/dist/roadtrip/{p-c3c92152.entry.js → p-7f1d9286.entry.js} +2 -2
- package/dist/roadtrip/p-7f1d9286.entry.js.map +1 -0
- package/dist/roadtrip/p-9a929988.entry.js +2 -0
- package/dist/roadtrip/p-9a929988.entry.js.map +1 -0
- package/dist/roadtrip/{p-336aa5f6.entry.js → p-9ff79904.entry.js} +2 -2
- package/dist/roadtrip/{p-336aa5f6.entry.js.map → p-9ff79904.entry.js.map} +1 -1
- package/dist/roadtrip/p-a5eee655.entry.js +2 -0
- package/dist/roadtrip/{p-40daa53b.entry.js.map → p-a5eee655.entry.js.map} +1 -1
- package/dist/roadtrip/{p-73fe2357.js → p-ac7a8bca.js} +2 -2
- package/dist/roadtrip/{p-6177bb46.entry.js → p-b510e552.entry.js} +2 -2
- package/dist/roadtrip/{p-6177bb46.entry.js.map → p-b510e552.entry.js.map} +1 -1
- package/dist/roadtrip/{p-46cccafc.entry.js → p-c096723c.entry.js} +2 -2
- package/dist/roadtrip/{p-46cccafc.entry.js.map → p-c096723c.entry.js.map} +1 -1
- package/dist/roadtrip/p-c7866ae4.entry.js +2 -0
- package/dist/roadtrip/p-c7866ae4.entry.js.map +1 -0
- package/dist/roadtrip/p-cdefa79c.entry.js +2 -0
- package/dist/roadtrip/p-cdefa79c.entry.js.map +1 -0
- package/dist/roadtrip/{p-cbc00bfb.entry.js → p-cfc0a3a7.entry.js} +2 -2
- package/dist/roadtrip/p-dcbaee2f.entry.js +2 -0
- package/dist/roadtrip/p-dcbaee2f.entry.js.map +1 -0
- package/dist/roadtrip/{p-7048f786.entry.js → p-dcbb0d20.entry.js} +2 -2
- package/dist/roadtrip/p-dcbb0d20.entry.js.map +1 -0
- package/dist/roadtrip/{p-414a2791.entry.js → p-e8c9c816.entry.js} +2 -2
- package/dist/roadtrip/{p-f5cce766.entry.js → p-ebd19369.entry.js} +2 -2
- package/dist/roadtrip/{p-f5cce766.entry.js.map → p-ebd19369.entry.js.map} +1 -1
- package/dist/roadtrip/p-f7b4f1fa.entry.js +2 -0
- package/dist/roadtrip/p-f7b4f1fa.entry.js.map +1 -0
- package/dist/roadtrip/p-f90af0e1.entry.js +2 -0
- package/dist/roadtrip/p-f90af0e1.entry.js.map +1 -0
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/carousel/carousel.d.ts +1 -131
- package/dist/types/components/counter/counter.d.ts +1 -0
- package/dist/types/components/phone-number-input/phone-number-input.d.ts +1 -0
- package/dist/types/components/profil-dropdown/profil-dropdown.d.ts +2 -0
- package/dist/types/components/range/range.d.ts +3 -0
- package/dist/types/components/select-filter/select-filter.d.ts +16 -4
- package/dist/types/components.d.ts +4 -128
- package/hydrate/index.js +216 -175
- package/package.json +1 -1
- package/dist/roadtrip/p-1a761fc0.entry.js.map +0 -1
- package/dist/roadtrip/p-2b5974fc.entry.js +0 -2
- package/dist/roadtrip/p-2b5974fc.entry.js.map +0 -1
- package/dist/roadtrip/p-2c132382.entry.js.map +0 -1
- package/dist/roadtrip/p-2c8a6854.entry.js +0 -2
- package/dist/roadtrip/p-2c8a6854.entry.js.map +0 -1
- package/dist/roadtrip/p-2e25c08d.entry.js +0 -2
- package/dist/roadtrip/p-2e25c08d.entry.js.map +0 -1
- package/dist/roadtrip/p-33002e9d.entry.js +0 -2
- package/dist/roadtrip/p-33002e9d.entry.js.map +0 -1
- package/dist/roadtrip/p-372fcb4d.entry.js +0 -2
- package/dist/roadtrip/p-372fcb4d.entry.js.map +0 -1
- package/dist/roadtrip/p-40daa53b.entry.js +0 -2
- package/dist/roadtrip/p-4f47f4f7.entry.js.map +0 -1
- package/dist/roadtrip/p-5053b01a.entry.js +0 -2
- package/dist/roadtrip/p-5053b01a.entry.js.map +0 -1
- package/dist/roadtrip/p-7048f786.entry.js.map +0 -1
- package/dist/roadtrip/p-9bef58e1.entry.js +0 -2
- package/dist/roadtrip/p-9bef58e1.entry.js.map +0 -1
- package/dist/roadtrip/p-a44a569a.entry.js +0 -2
- package/dist/roadtrip/p-a44a569a.entry.js.map +0 -1
- package/dist/roadtrip/p-acbc0a14.entry.js +0 -2
- package/dist/roadtrip/p-acbc0a14.entry.js.map +0 -1
- package/dist/roadtrip/p-b2e7bfcb.entry.js +0 -2
- package/dist/roadtrip/p-b2e7bfcb.entry.js.map +0 -1
- package/dist/roadtrip/p-c3c92152.entry.js.map +0 -1
- package/dist/roadtrip/p-dcb280e3.entry.js.map +0 -1
- package/dist/roadtrip/p-e2149bdf.entry.js +0 -2
- package/dist/roadtrip/p-e2149bdf.entry.js.map +0 -1
- package/dist/roadtrip/p-ea28a425.entry.js.map +0 -1
- package/dist/roadtrip/p-ee7aaee5.entry.js +0 -2
- package/dist/roadtrip/p-ee7aaee5.entry.js.map +0 -1
- package/dist/roadtrip/p-faba450c.entry.js +0 -2
- package/dist/roadtrip/p-faba450c.entry.js.map +0 -1
- /package/dist/roadtrip/{p-82919e58.entry.js.map → p-16c934bc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-73fe2357.js.map → p-ac7a8bca.js.map} +0 -0
- /package/dist/roadtrip/{p-cbc00bfb.entry.js.map → p-cfc0a3a7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-414a2791.entry.js.map → p-e8c9c816.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"road-badge.road-button.road-col.road-counter.road-draw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D,EACP;GACH;;;;;;","names":[],"sources":["src/components/badge/badge.css?tag=road-badge&encapsulation=shadow","src/components/badge/badge.tsx","src/components/button/button.css?tag=road-button&encapsulation=shadow","src/components/button/button.tsx","src/components/col/col.css?tag=road-col&encapsulation=shadow","src/components/col/col.tsx","src/components/counter/counter.css?tag=road-counter&encapsulation=scoped","src/components/counter/counter.tsx","src/components/drawer/drawer.css?tag=road-drawer&encapsulation=shadow","src/components/drawer/drawer.tsx","src/components/grid/grid.css?tag=road-grid&encapsulation=shadow","src/components/grid/grid.tsx","src/components/icon/validate.ts","src/components/icon/request.ts","src/components/icon/icon.css?tag=road-icon&encapsulation=shadow","src/components/icon/icon.tsx","src/components/input/input.css?tag=road-input&encapsulation=scoped","src/components/input/input.tsx","src/components/input-group/input-group.css?tag=road-input-group&encapsulation=shadow","src/components/input-group/input-group.tsx","src/components/item/item.css?tag=road-item&encapsulation=shadow","src/components/item/item.tsx","src/components/label/label.css?tag=road-label&encapsulation=shadow","src/components/label/label.tsx","src/components/list/list.css?tag=road-list&encapsulation=shadow","src/components/list/list.tsx","src/components/row/row.css?tag=road-row&encapsulation=shadow","src/components/row/row.tsx","src/components/toolbar/toolbar.css?tag=road-toolbar&encapsulation=shadow","src/components/toolbar/toolbar.tsx"],"sourcesContent":["/*\n * Badge\n *\n * Index\n * - Badge\n * - Status\n */\n\n\n/* BADGE\n -------------------- */\n\n:host {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 1rem;\n min-height: 1rem;\n padding: 0 0.3125rem;\n font-family: var(--road-font, sans-serif);\n font-size: var(--road-font-size-10);\n font-weight: 700;\n white-space: nowrap;\n border-radius: 1rem;\n}\n\n/**\n * Badge bubble\n */\n\n:host(.badge-bubble) {\n min-width: 0.25rem;\n min-height: 0.25rem;\n padding: 0;\n}\n\n/* STATUS\n -------------------- */\n\n/**\n * Primary\n */\n\n:host(.badge-primary) {\n color: var(--road-on-primary);\n background-color: var(--road-primary);\n}\n\n/**\n * Secondary\n */\n\n:host(.badge-secondary) {\n color: var(--road-on-secondary);\n background-color: var(--road-secondary);\n}\n\n/**\n * Accent\n */\n\n:host(.badge-accent) {\n color: var(--road-on-warning-surface-inverse);\n background-color: var(--road-warning-surface-inverse);\n}\n\n/**\n * Info\n */\n\n:host(.badge-info) {\n color: var(--road-on-info-surface-inverse);\n background-color: var(--road-info-surface-inverse);\n}\n\n/**\n * Success\n */\n\n:host(.badge-success) {\n color: var(--road-on-success-surface-inverse);\n background-color: var(--road-success-surface-inverse);\n}\n\n/**\n * Warning\n */\n\n:host(.badge-warning) {\n color: var(--road-on-warning-surface-inverse);\n background-color: var(--road-warning-surface-inverse);\n}\n\n/**\n * Danger\n */\n\n:host(.badge-danger) {\n color: var(--road-on-danger-surface-inverse);\n background-color: var(--road-danger-surface-inverse);\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\nimport { Color } from '../../interface';\n\n/**\n * @slot - Content of the badge, it could be a number or a text.\n */\n\n@Component({\n tag: 'road-badge',\n styleUrl: 'badge.css',\n shadow: true,\n})\nexport class Badge {\n\n /**\n * Color of the badge\n */\n @Prop() color?: Color = 'secondary';\n\n /**\n * if `true` the badge will be displayed has a little bubble\n */\n @Prop() bubble?: boolean = false;\n\n render() {\n const colorClass = this.color !== undefined ? `badge-${this.color}` : '';\n const bubbleClass = this.bubble ? 'badge-bubble' : '';\n\n return (\n <Host class={`${colorClass} ${bubbleClass}`}>\n <slot/>\n </Host>\n );\n }\n\n}\n","/*\n * Button\n *\n * Use custom button styles for actions in forms, dialogs, and more\n * with support for multiple sizes, states, and more.\n *\n * Index\n * - Button\n * - Plain\n * - Outline\n * - Disabled\n * - Sizes\n * - Badge\n */\n\n\n/**\n * @prop --border-radius: Border radius of the button\n * @prop --font-size: Font size of the text button\n * @prop --margin-bottom: Bottom margin of the button\n * @prop --padding-start: Left padding of the button\n * @prop --padding-end: Right padding of the button\n */\n\n\n/* BUTTON\n -------------------- */\n\n:host {\n --border-radius: 0.25rem;\n --font-size: var(--road-button-medium);\n --margin-bottom: 1rem;\n --padding-start: 1.5rem;\n --padding-end: 1.5rem;\n\n box-sizing: border-box;\n display: inline-flex;\n display: -webkit-inline-flex;\n align-items: center;\n justify-content: center;\n height: 3rem;\n padding: 0;\n margin-bottom: var(--margin-bottom);\n font-family: var(--road-font, sans-serif);\n font-size: var(--font-size);\n font-weight: 700;\n line-height: 1.375;\n color: var(--road-grey-10);\n text-decoration: none;\n white-space: nowrap;\n vertical-align: middle;\n background: transparent;\n border: 1px solid transparent;\n border-radius: var(--border-radius);\n transition: background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n}\n\n\n/**\n * Fix states\n */\n\n:host(:hover) {\n text-decoration: none;\n}\n\n:host(.focus-visible) {\n outline: 0;\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 padding: 0 var(--padding-end) 0 var(--padding-start);\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 outline: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n/* PLAIN\n -------------------- */\n\n/**\n * Default\n */\n\n:host(.btn-default:not([disabled]).focus-visible) {\n background: var(--road-grey-80);\n}\n\n/**\n * Primary\n */\n\n:host(.btn-primary) {\n color: var(--road-on-button-primary);\n background: var(--road-button-primary);\n}\n\n:host(.btn-primary) ::slotted(road-icon) {\n color: var(--road-on-button-primary);\n}\n\n:host(.btn-primary:not([disabled]):hover),\n:host(.btn-primary:not([disabled]).focus-visible) {\n background: var(--road-button-primary-variant);\n}\n\n/**\n * Secondary\n */\n\n:host(.btn-secondary) {\n color: var(--road-on-button-secondary);\n background: var(--road-button-secondary);\n}\n\n:host(.btn-secondary) ::slotted(road-icon) {\n color: var(--road-on-button-secondary);\n}\n\n:host(.btn-secondary:not([disabled]):hover),\n:host(.btn-secondary:not([disabled]).focus-visible) {\n background: var(--road-button-secondary-variant);\n}\n\n/**\n * Link\n */\n\n:host(.btn-link) {\n font-weight: 400;\n color: var(--road-link-primary);\n text-decoration: underline;\n background: transparent;\n}\n\n:host(.btn-link:not([disabled]):hover),\n:host(.btn-link:not([disabled]).focus-visible) {\n color: var(--road-primary-30);\n}\n\n/* OUTLINE\n -------------------- */\n\n:host(.btn-outline-primary),\n:host(.btn-outline-secondary),\n:host(.btn-outline-default) {\n background: transparent;\n}\n\n/**\n * Outline default\n */\n\n:host(.btn-outline-default) {\n color: var(--road-on-surface-weak);\n background: var(--road-surface);\n border-color: var(--road-outline);\n}\n\n:host(.btn-outline-default) ::slotted(road-icon) {\n color: var(--road-on-surface-weak);\n}\n\n:host(.btn-outline-default:hover),\n:host(.btn-outline-default.focus-visible) {\n background: var(--road-grey-80);\n}\n\n/**\n * Ghost\n */\n\n\n:host(.btn-ghost) ::slotted(road-icon) {\n color: var(--road-icon);\n}\n\n:host(.btn-ghost:hover),\n:host(.btn-ghost.focus-visible) {\n background: var(--road-button-ghost-variant);\n}\n\n/**\n * Outline primary\n */\n\n:host(.btn-outline-primary) {\n color: var(--road-button-primary);\n border-color: var(--road-button-primary);\n}\n\n:host(.btn-outline-primary) ::slotted(road-icon) {\n color: var(--road-button-primary);\n}\n\n:host(.btn-outline-primary:hover),\n:host(.btn-outline-primary.focus-visible) {\n background: var(--road-button-tertiary-variant);\n}\n\n/**\n * Outline secondary\n */\n\n:host(.btn-outline-secondary) {\n color: var(--road-button-secondary);\n border-color: var(--road-button-secondary);\n}\n\n:host(.btn-outline-secondary) ::slotted(road-icon) {\n color: var(--road-button-secondary);\n}\n\n:host(.btn-outline-secondary:hover),\n:host(.btn-outline-secondary.focus-visible) {\n background: var(--road-button-tertiary-variant);\n}\n\n/* DISABLED\n -------------------- */\n\n:host([aria-disabled]) {\n color: var(--road-on-surface-disabled);\n pointer-events: none;\n cursor: not-allowed;\n background-color: var(--road-surface-disabled);\n border-color: 1px solid var(--road-surface-disabled);\n}\n\n:host([aria-disabled]) ::slotted(road-icon){\n color: var(--road-on-surface-disabled);\n}\n\n.button-native:disabled {\n cursor: not-allowed;\n}\n\n/* SIZES\n -------------------- */\n\n::slotted([slot=\"start\"]) {\n margin-right: 0.5rem;\n}\n\n::slotted([slot=\"end\"]) {\n margin-left: 0.5rem;\n}\n\n/**\n * Extra Large\n */\n\n:host(.btn-xl) {\n height: 3.5rem;\n}\n\n:host(.btn-xl) ::slotted(road-icon) {\n width: 2rem;\n height: 2rem;\n}\n\n:host(.btn-icon.btn-xl) {\n width: 56px;\n}\n\n\n/**\n * Large\n */\n\n:host(.btn-lg) {\n height: 3rem;\n}\n\n:host(.btn-lg) ::slotted(road-icon) {\n width: 2rem;\n height: 2rem;\n}\n\n\n:host(.btn-icon.btn-lg) {\n width: 48px;\n}\n\n/**\n * Medium\n */\n\n:host(.btn-md) {\n --font-size: var(--road-font-size-14);\n\n height: 2.5rem;\n}\n\n:host(.btn-md) ::slotted(road-icon) {\n width: 1.5rem;\n height: 1.5rem;\n}\n\n:host(.btn-icon.btn-md) {\n width: 40px;\n}\n\n/**\n * Small\n */\n\n:host(.btn-sm) {\n --font-size: var(--road-font-size-14);\n\n height: 2rem;\n}\n\n:host(.btn-sm) ::slotted(road-icon) {\n width: 1.25rem;\n height: 1.25rem;\n}\n\n:host(.btn-icon.btn-sm) {\n width: 32px;\n}\n\n/**\n * Button block\n */\n\n:host(.btn-block) {\n width: 100%;\n}\n\n:host(.btn-icon) .button-native{\n padding: 0;\n}\n\n\n/* BADGE\n -------------------- */\n\n::slotted(road-badge) {\n position: absolute;\n top: 4px;\n left: calc(50% + 0.375rem);\n box-sizing: border-box;\n height: auto;\n}\n","import { Component, Element, Event, EventEmitter, Host, Prop, h } from '@stencil/core';\n\nimport './../../utils/polyfill';\n\n/**\n * @slot - Content of the button.\n * ex if onlyIcon `<road-icon name=\"shopping-cart-add\"></road-icon>`\n * @slot start - Left content of the button text, usually for icon.\n * @slot end - Right content of the button text, usually icon.\n *\n * @part native - The native HTML button or anchor element that wraps all child elements.\n */\n\n@Component({\n tag: 'road-button',\n styleUrl: 'button.css',\n shadow: true,\n})\nexport class Button {\n\n @Element() el!: HTMLRoadButtonElement;\n\n /**\n * The color to use from your application's color palette.\n */\n @Prop() color?: 'primary' | 'secondary' | 'ghost' |'default' = 'default';\n\n /**\n * The button size.\n */\n @Prop({ reflect: true }) size?: 'sm' | 'md' | 'lg' | 'xl' = 'lg';\n\n /**\n * The type of the button.\n */\n @Prop() buttonType: 'submit' | 'reset' | 'button' = 'button';\n\n /**\n * If `true`, display only an icon in the button.\n */\n @Prop({ reflect: true }) iconOnly: 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 * Set to `true` for a full-width button.\n */\n @Prop({ reflect: true }) expand: boolean = false;\n\n /**\n * This attribute instructs browsers to download a URL instead of navigating to\n * it, so the user will be prompted to save it as a local file. If the attribute\n * has a value, it is used as the pre-filled file name in the Save prompt\n * (the user can still change the file name if they want).\n */\n @Prop() download: string | undefined;\n\n /**\n * Contains a URL or a URL fragment that the hyperlink points to.\n * If this property is set, an anchor tag will be rendered.\n */\n @Prop() href?: string;\n\n /**\n * Specifies the relationship of the target object to the link object.\n * The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\n */\n @Prop() rel?: string;\n\n /**\n * Specifies where to display the linked URL.\n * Only applies when an `href` is provided.\n * Special keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`.\n */\n @Prop() target?: string;\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 * Emitted when the button has focus.\n */\n @Event() roadfocus!: EventEmitter<void>;\n /** @internal */\n @Event() roadFocus!: EventEmitter<void>;\n\n /**\n * Emitted when the button loses focus.\n */\n @Event() roadblur!: EventEmitter<void>;\n /** @internal */\n @Event() roadBlur!: EventEmitter<void>;\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.type = this.buttonType;\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 { buttonType, disabled, href, rel, target, color } = this;\n const TagType = this.href === undefined ? 'button' : 'a' as any;\n const attrs = (TagType === 'button')\n ? { type: buttonType }\n : {\n download: this.download,\n href,\n rel,\n target,\n };\n const colorClass = this.outline ? `btn-outline-${color}` : `btn-${color}`;\n const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';\n const expandClass = this.expand ? 'btn-block' : '';\n const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';\n\n return (\n <Host\n class={`${colorClass} ${sizeClass} ${expandClass} ${iconOnlyClass}`}\n onClick={this.onClick}\n aria-disabled={disabled ? 'true' : null}\n >\n <TagType\n {...attrs}\n class=\"button-native\"\n part=\"native\"\n disabled={disabled}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n <slot name=\"start\"/>\n <slot/>\n <slot name=\"end\"/>\n </TagType>\n </Host>\n );\n }\n}",":host {\n position: relative;\n flex-basis: 0;\n flex-grow: 1;\n width: 100%;\n max-width: 100%;\n min-height: 1px;\n padding-right: 8px;\n padding-left: 8px;\n}\n\n:host(.col-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n}\n\n:host(.col-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n}\n\n:host(.col-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n}\n\n:host(.col-3) {\n flex: 0 0 25%;\n max-width: 25%;\n}\n\n:host(.col-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n}\n\n:host(.col-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n}\n\n:host(.col-6) {\n flex: 0 0 50%;\n max-width: 50%;\n}\n\n:host(.col-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n}\n\n:host(.col-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n}\n\n:host(.col-9) {\n flex: 0 0 75%;\n max-width: 75%;\n}\n\n:host(.col-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n}\n\n:host(.col-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n}\n\n:host(.col-12) {\n flex: 0 0 100%;\n max-width: 100%;\n}\n\n:host(.offset-1) {\n margin-left: 8.3333%;\n}\n\n:host(.offset-2) {\n margin-left: 16.6667%;\n}\n\n:host(.offset-3) {\n margin-left: 25%;\n}\n\n:host(.offset-4) {\n margin-left: 33.3333%;\n}\n\n:host(.offset-5) {\n margin-left: 41.6667%;\n}\n\n:host(.offset-6) {\n margin-left: 50%;\n}\n\n:host(.offset-7) {\n margin-left: 58.3333%;\n}\n\n:host(.offset-8) {\n margin-left: 66.6667%;\n}\n\n:host(.offset-9) {\n margin-left: 75%;\n}\n\n:host(.offset-10) {\n margin-left: 83.3333%;\n}\n\n:host(.offset-11) {\n margin-left: 91.6667%;\n}\n\n@media (min-width: 576px) {\n\n :host(.col-sm) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-sm-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-sm-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-sm-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-sm-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-sm-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-sm-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-sm-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-sm-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-sm-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-sm-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-sm-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-sm-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-sm-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-sm-0) {\n margin-left: 0;\n }\n\n :host(.offset-sm-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-sm-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-sm-3) {\n margin-left: 25%;\n }\n\n :host(.offset-sm-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-sm-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-sm-6) {\n margin-left: 50%;\n }\n\n :host(.offset-sm-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-sm-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-sm-9) {\n margin-left: 75%;\n }\n\n :host(.offset-sm-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-sm-11) {\n margin-left: 91.6667%;\n }\n}\n\n@media (min-width: 768px) {\n\n :host(.col-md) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-md-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-md-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-md-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-md-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-md-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-md-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-md-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-md-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-md-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-md-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-md-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-md-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-md-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-md-0) {\n margin-left: 0;\n }\n\n :host(.offset-md-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-md-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-md-3) {\n margin-left: 25%;\n }\n\n :host(.offset-md-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-md-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-md-6) {\n margin-left: 50%;\n }\n\n :host(.offset-md-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-md-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-md-9) {\n margin-left: 75%;\n }\n\n :host(.offset-md-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-md-11) {\n margin-left: 91.6667%;\n }\n}\n\n@media (min-width: 992px) {\n\n :host(.col-lg) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-lg-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-lg-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-lg-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-lg-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-lg-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-lg-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-lg-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-lg-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-lg-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-lg-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-lg-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-lg-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-lg-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-lg-0) {\n margin-left: 0;\n }\n\n :host(.offset-lg-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-lg-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-lg-3) {\n margin-left: 25%;\n }\n\n :host(.offset-lg-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-lg-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-lg-6) {\n margin-left: 50%;\n }\n\n :host(.offset-lg-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-lg-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-lg-9) {\n margin-left: 75%;\n }\n\n :host(.offset-lg-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-lg-11) {\n margin-left: 91.6667%;\n }\n}\n\n@media (min-width: 1200px) {\n\n :host(.col-xl) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-xl-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-xl-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-xl-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-xl-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-xl-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-xl-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-xl-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-xl-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-xl-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-xl-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-xl-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-xl-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-xl-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-xl-0) {\n margin-left: 0;\n }\n\n :host(.offset-xl-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-xl-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-xl-3) {\n margin-left: 25%;\n }\n\n :host(.offset-xl-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-xl-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-xl-6) {\n margin-left: 50%;\n }\n\n :host(.offset-xl-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-xl-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-xl-9) {\n margin-left: 75%;\n }\n\n :host(.offset-xl-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-xl-11) {\n margin-left: 91.6667%;\n }\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @slot - Content of the column.\n */\n\n@Component({\n tag: 'road-col',\n styleUrl: 'col.css',\n shadow: true,\n})\nexport class Col {\n\n render() {\n return (\n <slot/>\n );\n }\n\n}\n","/*\n * Counter\n *\n * Index\n * - Input\n * - Buttons\n * - Sizes\n */\n\n/**\n * @prop --counter-margin-bottom: margin bottom of the field\n */\n\n:host {\n position: relative;\n z-index: 0;\n display: block;\n}\n\n/* INPUT\n -------------------- */\n\nroad-input {\n --input-text-align: center;\n --border-radius: 0;\n --margin-bottom: 0;\n}\n\n/* BUTTONS\n -------------------- */\n\nroad-button {\n width: 3rem;\n font-size: var(--road-font-size-24);\n line-height: 1.4;\n background: var(--road-surface);\n border: 1px solid var(--road-button-tertiary-outline);\n}\n\nroad-button:hover,\nroad-button:focus {\n background: var(--road-button-tertiary-variant);\n}\n\nroad-button road-icon{\n display: flex;\n fill: var(--road-primary);\n}\n\n.disabled {\n margin-right: -1px;\n margin-left: -1px;\n pointer-events: none;\n cursor: not-allowed;\n background: var(--road-surface-disabled);\n border: 1px solid var(--road-on-surface-disabled);\n opacity: inherit;\n}\n\n.disabled:focus {\n background: var(--road-disabled);\n}\n\n.disabled road-icon {\n fill: var(--road-grey-50);\n}\n\n\n/* SIZES\n -------------------- */\n\nroad-button.btn-md{\n width: 2.5rem;\n}\n\nroad-button.btn-sm{\n width: 2rem;\n}\n\n.counter-md {\n height: 2.5rem;\n}\n\n.counter-sm {\n height: 2rem;\n}\n\n.counter-md road-input {\n --height: 2.5rem;\n}\n\n.counter-md road-button {\n min-width: 2.5rem;\n}\n\n.counter-sm road-input {\n --height: 2rem;\n}\n\n.counter-sm road-button {\n min-width: 2rem;\n}\n","import { Component, h, Prop, Element, Event, EventEmitter, State, Watch } from '@stencil/core';\n\n@Component({\n tag: 'road-counter',\n styleUrl: 'counter.css',\n scoped: true,\n})\nexport class Counter {\n\n @Element() el!: HTMLRoadCounterElement;\n\n iconCounterLess!: HTMLRoadIconElement;\n\n inputElement!: HTMLRoadInputElement;\n\n @State() leftIconClasses: string = \"\";\n\n @State() rightIconClasses: string = \"\";\n\n @State() isDustbinVisible: boolean = false;\n\n /**\n * The id of counter\n */\n @Prop() inputId: string = `road-counter-${counterIds++}`;\n\n /**\n * The minimum value, which must not be greater than its maximum (max attribute) value.\n */\n @Prop() min: number = 0;\n\n /**\n * The maximum value, which must not be less than its minimum (min attribute) value.\n */\n @Prop() max?: number;\n\n /**\n * Works with the min and max attributes to limit the increments at which a value can be set.\n * Possible values are: `\"any\"` or a positive floating point number.\n */\n @Prop() step?: string;\n\n /**\n * The value of the counter.\n */\n @Prop() value: number = 1;\n\n /**\n * The size of the counter.\n */\n @Prop() size?: 'sm' | 'md' | 'lg' = \"lg\";\n\n /**\n * Set to `true` to add the dustbin icon if the value is equal to the min.\n */\n @Prop() dustbin: boolean = false;\n\n /**\n * Set to `true` to not modify the input field\n */\n @Prop() readonly: boolean = false;\n\n /**\n * Emitted when the plus button is clicked\n */\n @Event() roadIncrease!: EventEmitter<{\n value: number | undefined | null;\n }>;\n\n /**\n * Emitted when the minus button is clicked\n */\n @Event() roadDecrease!: EventEmitter<{\n value: number | undefined | null;\n }>;\n\n /**\n * Emitted when the minus button is clicked\n */\n @Event() roadChange!: EventEmitter<{\n value: number | undefined | null;\n }>;\n\n /**\n * Emitted when the dustbin is clicked\n */\n @Event() roadDustbinClick!: EventEmitter<void>;\n\n @Watch('value')\n private onValueChange(valueInput: number) {\n this.setIsDustbinVisible(valueInput);\n this.setIconsClasses(valueInput);\n }\n\n private setIconsClasses(valueInput?: number) {\n valueInput = valueInput ?? parseInt(this.inputElement.querySelector('input')!.value as string);\n\n this.leftIconClasses = valueInput <= this.min && !this.dustbin ? \"disabled\" : \"\";\n this.rightIconClasses = this.max && valueInput >= this.max ? \"disabled\" : \"\";\n }\n\n private setIsDustbinVisible = (valueInput: number) => {\n if (valueInput > this.min) {\n this.isDustbinVisible = false;\n } else if (this.dustbin) {\n this.isDustbinVisible = true;\n }\n else {\n this.isDustbinVisible = false;\n }\n }\n\n private increase = () => {\n (this.inputElement as unknown as HTMLInputElement).querySelector('input')!.stepUp();\n let valueInput = parseInt(this.inputElement.querySelector('input')!.value as string);\n if(!valueInput) {\n valueInput = this.min\n };\n this.onValueChange(valueInput);\n this.roadIncrease.emit({ value: valueInput });\n };\n\n private decrease = () => {\n if(this.isDustbinVisible){\n this.roadDustbinClick.emit();\n return;\n }\n\n (this.inputElement as unknown as HTMLInputElement).querySelector('input')!.stepDown();\n\n let valueInput = parseInt(this.inputElement.querySelector('input')!.value as string);\n if(!valueInput) {\n valueInput = this.min\n };\n this.onValueChange(valueInput);\n\n this.roadDecrease.emit({ value: valueInput });\n };\n\n private checkValue = (ev: Event) => {\n const input = ev.target as HTMLInputElement;\n const value = input.value && parseInt(input.value)\n\n if (value == null || value === \"\") return;\n\n if (value < this.min) {\n input.value = this.min.toString()\n }\n else if (this.max && value > this.max) {\n input.value = this.max.toString()\n }\n\n this.onValueChange(parseInt(input.value));\n }\n\n private onRoadChange = (ev: Event) => {\n ev.stopPropagation();\n const input = ev.target as HTMLInputElement;\n const value = input.value && parseInt(input.value)\n if (value !== null && value !== \"\") {\n if (value < this.min) {\n this.roadChange.emit({ value: this.min });\n }\n else if (this.max && value > this.max) {\n this.roadChange.emit({ value: this.max });\n }\n else {\n this.roadChange.emit({ value: parseInt(input.value) });\n }\n }\n else {\n this.roadChange.emit({ value: null });\n }\n };\n\n componentWillLoad() {\n this.onValueChange(this.value);\n }\n render() {\n\n const dataCi = this.isDustbinVisible ? \"road-dustbin\" : \"\";\n\n\n return (\n <road-input-group\n class={this.size && `counter-${this.size}`}\n >\n <road-button\n slot=\"prepend\"\n size={this.size}\n onClick={this.decrease}\n class={this.leftIconClasses}\n data-cy=\"road-decrease\"\n >\n <road-icon\n name={this.isDustbinVisible ? \"delete-forever\" : \"navigation-add-less\"}\n ref={(el) => this.iconCounterLess = el as HTMLRoadIconElement}\n size={this.size}\n data-cy={dataCi}\n />\n </road-button>\n <road-input\n ref={(el) => this.inputElement = el as HTMLRoadInputElement}\n type=\"number\"\n min={this.min.toString()}\n max={(this.max && this.max.toString()) as string}\n step={this.step}\n value={this.value}\n onRoadChange={this.onRoadChange}\n onKeyUp={this.checkValue}\n data-cy=\"road-input-counter\"\n readonly={this.readonly}\n />\n <road-button\n slot=\"append\"\n size={this.size}\n onClick={this.increase}\n class={this.rightIconClasses}\n data-cy=\"road-increase\"\n >\n <road-icon\n name=\"navigation-add-more\"\n size={this.size}\n />\n </road-button>\n </road-input-group>\n );\n }\n}\n\nlet counterIds = 0;\n","/*\n * Drawer\n *\n * Index\n * - Overlay\n * - Drawer\n * - Position\n * - Content\n * - Header\n * - Actions\n * - Title\n * - Body\n * - Open state\n */\n\n/**\n * @prop --background: background color of the content of the drawer.\n * @prop --color: text color of the content of the drawer.\n * @prop --header-icon: color of the header icons.\n * @prop --header-color: color of the header text.\n * @prop --header-background: color of the header background.\n * @prop --header-delimiter: size of the border delimiter (in px) at the bottom of the header\n * @prop --back-chevron-color: color of back chevron\n * @prop --max-height: max-height of the drawer for bottom position\n * @prop --z-index: The z-index of the Drawer.\n */\n\n/* OVERLAY\n -------------------- */\n\n:host {\n --background: var(--road-surface);\n --color: var(--road-on-surface);\n --header-icon: var(--road-on-surface);\n --header-color: var(--road-on-surface);\n --header-background: var(--road-surface);\n --header-delimiter: 0;\n --back-chevron-color: var(--road-icon);\n --max-height: auto;\n --z-index: 10;\n\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--z-index);\n display: flex;\n justify-content: flex-start;\n width: 100%;\n height: 100%;\n overflow: hidden;\n font-family: var(--road-font, sans-serif);\n line-height: 1.5;\n color: var(--color);\n visibility: hidden !important;\n opacity: 0;\n transition: opacity 0.15s linear, visibility 0.15s;\n}\n\n/* OVERLAY\n -------------------- */\n\n.drawer-overlay {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n touch-action: none;\n cursor: pointer;\n background: var(--road-overlay);\n}\n\n/* DRAWER\n -------------------- */\n\n.drawer-dialog {\n position: relative;\n width: 100%;\n pointer-events: none;\n transition: transform 0.3s ease-out;\n transform: translateX(-100%);\n}\n\n/* POSITION\n -------------------- */\n\n:host(.drawer-right) {\n justify-content: flex-end;\n}\n\n:host(.drawer-right) .drawer-dialog {\n transform: translateX(100%);\n}\n\n/**\n * Bottom position\n */\n\n:host(.drawer-bottom) {\n align-items: flex-end;\n}\n\n:host(.drawer-bottom) .drawer-dialog {\n width: 100%;\n max-height: var(--max-height);\n transform: translateY(100%);\n}\n\n:host(.drawer-bottom) .drawer-content {\n height: auto;\n}\n\n/* CONTENT\n -------------------- */\n\n.drawer-content {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100vh;\n pointer-events: auto;\n background-color: var(--background);\n background-clip: padding-box;\n box-shadow: var(--road-elevation-hight);\n}\n\n/* HEADER\n -------------------- */\n\n.drawer-header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: flex-end;\n height: 3.5rem;\n color: var(--header-color);\n background: var(--header-background);\n border-color: var(--road-grey-300);\n border-style: solid;\n border-width: var(--header-delimiter);\n}\n\n.drawer-header road-icon {\n flex-shrink: 0;\n color: var(--header-icon);\n}\n\n/**\n * Header inverse colors\n */\n\n.drawer-header-inverse {\n --header-icon: var(--road-on-primary);\n --header-color: var(--road-on-primary);\n --header-background: var(--road-primary-variant);\n\n margin-bottom: 2.5rem;\n}\n\n/* ACTIONS\n -------------------- */\n\n.drawer-action,\n.drawer-close {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 3.5rem;\n padding: 0.5rem;\n font-family: inherit;\n font-size: 0.875rem;\n color: inherit;\n cursor: pointer;\n background: transparent;\n border: 0;\n appearance: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.drawer-header:not(.drawer-header-inverse) .drawer-action road-icon {\n color: var(--back-chevron-color);\n}\n\n.drawer-action ~ .drawer-title,\n.drawer-close ~ .drawer-title {\n padding-left: 0;\n}\n\n.drawer-action-left,\n.drawer-close-left {\n margin-right: auto;\n}\n\n/* TITLE\n -------------------- */\n\n.drawer-title {\n display: flex;\n flex-grow: 1;\n align-items: center;\n justify-content: center;\n height: 3.5rem;\n padding-left: 3.5rem;\n margin: 0;\n font-size: var(--road-body-medium);\n}\n\n/* BODY\n -------------------- */\n\n.drawer-body {\n overflow-y: auto;\n}\n\n:host(.drawer-right) .drawer-body,\n:host(.drawer-left) .drawer-body {\n height: calc(100vh - 3.5rem);\n}\n\n.drawer-inner {\n padding: 0 1rem 2.5rem;\n}\n\n@media (min-width: 768px) {\n\n .drawer-inner {\n padding: 0 2rem 2.5rem;\n }\n}\n\n/* OPEN STATE\n -------------------- */\n\n:host(.drawer-open) {\n visibility: visible !important;\n opacity: 1;\n}\n\n:host(.drawer-open) .drawer-dialog {\n transform: none;\n}\n","import { Component, Element, Event, EventEmitter, Listen, Method, Prop, h, Host, Watch } from '@stencil/core';\nimport { navigationClose, navigationChevron } from '../../../icons';\n\n/**\n * @slot - Content of the drawer.\n * @slot title - replace the title with a custom title section when `'drawerTitle'` is not set\n *\n */\n\n@Component({\n tag: 'road-drawer',\n styleUrl: 'drawer.css',\n shadow: true,\n})\nexport class Drawer {\n\n /**\n * Current reference of the drawer\n */\n @Element() el!: HTMLRoadDrawerElement;\n\n /**\n * Set isOpen property to true to open the drawer\n */\n @Prop({ mutable: true }) isOpen: boolean = false;\n\n /**\n * position of the drawer. e.g. left, right, bottom\n */\n @Prop() position: string = 'left';\n\n /**\n * Width of the drawer\n */\n @Prop() drawerWidth: number = 480;\n\n /**\n * Inverse header colors\n */\n @Prop() hasInverseHeader: boolean = false;\n\n /**\n * Show / hide back icon\n */\n @Prop() hasBackIcon: boolean = false;\n\n /**\n * Show / hide back icon\n */\n @Prop() backText?: string;\n\n /**\n * Title of the drawer in the header bar\n */\n @Prop() drawerTitle?: string;\n\n /**\n * Show / hide close icon\n */\n @Prop() hasCloseIcon: boolean = true;\n\n /**\n * Indicate when opening the drawer\n */\n @Event({ eventName: 'open' }) onOpen!: EventEmitter<void>;\n\n /**\n * Indicate when closing the drawer\n */\n @Event({ eventName: 'close' }) onClose!: EventEmitter<void>;\n\n /**\n * Indicate when return to previous state of the drawer content\n */\n @Event({ eventName: 'back' }) onBack!: EventEmitter<void>;\n\n /**\n * Open the drawer\n */\n @Method()\n async open() {\n this.isOpen = true;\n }\n\n /**\n * Close the drawer\n */\n @Method()\n async close() {\n this.isOpen = false;\n }\n\n /**\n * Return to previous state of the drawer content\n */\n @Method()\n async back() {\n this.onBack.emit();\n }\n\n @Watch('isOpen')\n handleOpen(openValue: boolean) {\n if(openValue === true) {\n this.onOpen.emit();\n } else {\n this.el.addEventListener('transitionend', () => {\n this.onClose.emit();\n this.el.shadowRoot && ((this.el.shadowRoot.querySelector('.drawer-body') as HTMLElement).scrollTop = 0);\n }, { once: true});\n }\n }\n\n /**\n * Close the dialog when clicking on the cross or layer\n */\n private onClick = (ev: UIEvent) => {\n ev.stopPropagation();\n ev.preventDefault();\n\n this.close();\n };\n\n /**\n * Close the dialog when clicking on the cross or layer\n */\n private onClickBack = (event: MouseEvent) => {\n event.stopPropagation();\n event.preventDefault();\n\n this.back();\n };\n\n /**\n * Close the dialog when press Escape key\n */\n @Listen('keyup', { target: 'document' })\n onEscape(event: KeyboardEvent) {\n if (event.key === 'Escape' || event.key === \"Esc\") {\n this.close();\n }\n }\n\n /**\n * Call close function when clicking an element with data-dismiss=\"modal\" attribute\n */\n componentDidLoad() {\n this.el.querySelectorAll('[data-dismiss=\"modal\"]').forEach(item => {\n item.addEventListener('click', () => this.close());\n });\n }\n\n render() {\n const drawerIsOpenClass = this.isOpen ? 'drawer-open' : '';\n const inverseHeaderClass = this.hasInverseHeader ? 'drawer-header-inverse' : '';\n const drawerDelimiterClass = this.drawerTitle !== undefined && !this.hasInverseHeader ? 'drawer-delimiter' : '';\n const backIconElement = this.hasBackIcon ? <button type=\"button\" class=\"drawer-action\" aria-label=\"Back\" onClick={this.onClickBack}><road-icon icon={navigationChevron} rotate=\"180\"></road-icon>{this.backText}</button> : '';\n const closeIconElement = this.hasCloseIcon ? <button type=\"button\" class=\"drawer-close\" onClick={this.onClick} aria-label=\"Close\"><road-icon icon={navigationClose} aria-hidden=\"true\"></road-icon></button> : '';\n const drawerWidthValue = this.position === 'bottom' ? '100%' : this.drawerWidth + 'px';\n\n return (\n <Host class={`${drawerIsOpenClass} drawer-${this.position}`} tabindex=\"-1\" role=\"dialog\">\n <div class=\"drawer-overlay\" onClick={this.onClick} tabindex=\"-1\"></div>\n <div class=\"drawer-dialog\" style={{ maxWidth: `${drawerWidthValue}` }} role=\"document\" tabindex=\"0\">\n <div class=\"drawer-content\">\n <header class={`drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}`}>\n {backIconElement}\n {this.drawerTitle !== undefined ? <h2 class=\"drawer-title\">{this.drawerTitle}</h2> : <div class=\"drawer-title\"><slot name=\"title\" /></div>}\n {closeIconElement}\n </header>\n <div class=\"drawer-body\">\n <slot/>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}",":host {\n box-sizing: border-box;\n display: block;\n width: 100%;\n padding-right: 8px;\n padding-left: 8px;\n margin-right: auto;\n margin-left: auto;\n}\n\n\n@media (min-width: 768px) {\n\n :host {\n padding-right: 24px;\n padding-left: 24px;\n }\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @slot - Content to add row components.\n */\n\n@Component({\n tag: 'road-grid',\n styleUrl: 'grid.css',\n shadow: true,\n})\nexport class Grid {\n\n render() {\n return (\n <slot/>\n );\n }\n\n}\n","import { isStr } from './utils';\n\nexport const validateContent = (svgContent: string) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-ion-icon').trim());\n\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm as any)) {\n return div.innerHTML;\n }\n }\n return '';\n};\n\nexport const isValid = (elm: HTMLElement) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n\n for (let i = 0; i < elm.attributes.length; i++) {\n const val = elm.attributes[i].value;\n if (isStr(val) && val.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i] as any)) {\n return false;\n }\n }\n }\n return true;\n};\n","import { validateContent } from './validate';\n\nexport const roadiconContent = new Map<string, string>();\nconst requests = new Map<string, Promise<any>>();\n\nexport const getSvgContent = (url: string, sanitize: boolean) => {\n // see if we already have a request for this url\n let req = requests.get(url);\n\n if (!req) {\n if (typeof fetch !== 'undefined' && typeof document !== 'undefined') {\n // we don't already have a request\n // @ts-ignore\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n roadiconContent.set(url, svgContent || '');\n });\n }\n roadiconContent.set(url, '');\n });\n\n // cache for the same requests\n requests.set(url, req);\n } else {\n // set to empty for ssr scenarios and resolve promise\n roadiconContent.set(url, '');\n return Promise.resolve();\n }\n }\n\n return req;\n};\n","/*\n * Icon\n *\n * Index\n * - Sizes\n * - Colors\n * - Rotation\n */\n\n:host {\n box-sizing: content-box;\n display: inline-block;\n color: var(--road-icon);\n transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n fill: currentColor;\n contain: strict;\n}\n\n:host svg {\n display: block;\n width: 100%;\n height: 100%;\n}\n\n/* SIZES\n -------------------- */\n\n:host(.icon-sm) {\n width: 1.25rem;\n height: 1.25rem;\n}\n\n:host(.icon-md) {\n width: 1.5rem;\n height: 1.5rem;\n}\n\n:host(.icon-lg) {\n width: 2rem;\n height: 2rem;\n}\n\n:host(.icon-3x) {\n width: 3rem;\n height: 3rem;\n}\n\n:host(.icon-4x) {\n width: 4rem;\n height: 4rem;\n}\n\n/* COLORS\n -------------------- */\n\n:host(.icon-primary) {\n color: var(--road-primary-50);\n fill: currentColor;\n}\n\n:host(.icon-secondary) {\n color: var(--road-secondary-50);\n fill: currentColor;\n}\n\n:host(.icon-accent) {\n color: var(--road-secondary-50);\n fill: currentColor;\n}\n\n:host(.icon-info) {\n color: var(--road-info-default);\n fill: currentColor;\n}\n\n:host(.icon-success) {\n color: var(--road-success-default);\n fill: currentColor;\n}\n\n:host(.icon-warning) {\n color: var(--road-warning-default);\n fill: currentColor;\n}\n\n:host(.icon-danger) {\n color: var(--road-danger-default);\n fill: currentColor;\n}\n\n:host(.icon-default) {\n color: var(--road-icon);\n fill: currentColor;\n}\n\n:host(.icon-white) {\n color: var(--road-icon-inverse);\n fill: currentColor;\n}\n\n/* ROTATION\n -------------------- */\n\n:host(.icon-rotate-90) {\n transform: rotate(90deg);\n}\n\n:host(.icon-rotate-180) {\n transform: rotate(180deg);\n}\n\n:host(.icon-rotate-270) {\n transform: rotate(270deg);\n}\n","import { Build, Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\nimport { getSvgContent, roadiconContent } from './request';\nimport { getName, getUrl } from './utils';\n\nimport { Color } from '../../interface';\n\n@Component({\n tag: 'road-icon',\n assetsDirs: ['svg'],\n styleUrl: 'icon.css',\n shadow: true,\n})\nexport class Icon {\n private io?: IntersectionObserver;\n\n @Element() el!: HTMLRoadIconElement;\n\n @State() private svgContent?: string;\n\n @State() private isVisible = false;\n\n /**\n * Color of the icon\n */\n @Prop() color?: Color | 'white';\n\n /**\n * Specifies the label to use for accessibility. Defaults to the icon name.\n */\n @Prop({ mutable: true, reflect: true }) ariaLabel?: string;\n\n /**\n * Set the icon to hidden, respectively `true`, to remove it from the accessibility tree.\n */\n @Prop({ reflect: true }) ariaHidden?: string;\n\n /**\n * Specifies which icon to use from the built-in set of icons.\n */\n @Prop() name?: string;\n\n /**\n * Specifies the exact `src` of an SVG file to use.\n */\n @Prop() src?: string;\n\n /**\n * A combination of both `name` and `src`. If a `src` url is detected\n * it will set the `src` property. Otherwise it assumes it's a built-in named\n * SVG and set the `name` property.\n */\n @Prop() icon?: any;\n\n /**\n * The size of the icon.\n * Available options are: `\"sm\"`, `\"md\"`, `\"lg\"`, `\"3x\"` and `\"4x\"`.\n */\n @Prop() size?: 'sm' | 'md' | 'lg' | '3x' | '4x' = \"lg\";\n\n /**\n * The rotation of the icon.\n * Available options are: `\"90\"`, `\"180\"`, `\"270\"`.\n */\n @Prop() rotate?: '90' | '180' | '270';\n\n /**\n * If enabled, road-icon will be loaded lazily when it's visible in the viewport.\n * Default, `false`.\n */\n @Prop() lazy: boolean = false;\n\n /**\n * When set to `false`, SVG content that is HTTP fetched will not be checked\n * if the response SVG content has any `<script>` elements, or any attributes\n * that start with `on`, such as `onclick`.\n */\n @Prop() sanitize = true;\n\n componentWillLoad() {\n\n this.waitUntilVisible(this.el, '50px', () => {\n this.isVisible = true;\n this.loadIcon();\n });\n }\n\n disconnectedCallback() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n\n private waitUntilVisible(el: HTMLRoadIconElement, rootMargin: string, cb: () => void) {\n if (this.lazy && (window as any).IntersectionObserver) {\n const io = this.io = new (window as any).IntersectionObserver((data: IntersectionObserverEntry[]) => {\n if (data[0].isIntersecting) {\n io.disconnect();\n this.io = undefined;\n cb();\n }\n }, { rootMargin });\n\n io.observe(el);\n\n } else {\n // browser doesn't support IntersectionObserver\n // so just fallback to always show it\n cb();\n }\n }\n\n @Watch('name')\n @Watch('src')\n @Watch('icon')\n loadIcon() {\n if (Build.isBrowser && this.isVisible) {\n const url = getUrl(this);\n if (url) {\n if (roadiconContent.has(url)) {\n // sync if it's already loaded\n this.svgContent = roadiconContent.get(url);\n } else {\n // async if it hasn't been loaded\n getSvgContent(url, this.sanitize).then(() => (this.svgContent = roadiconContent.get(url)));\n }\n }\n }\n\n if (!this.ariaLabel && this.ariaHidden !== 'true') {\n const label = getName(this.name, this.icon);\n // user did not provide a label\n // come up with the label based on the icon name\n if (label) {\n this.ariaLabel = label.replace(/-/g, ' ');\n }\n }\n }\n\n render() {\n const colorClass = this.color !== undefined ? `icon-${this.color}` : '';\n const sizeClass = this.size !== undefined ? `icon-${this.size}` : '';\n const rotateClass = this.rotate !== undefined ? `icon-rotate-${this.rotate}` : '';\n\n return (\n <Host class={`${colorClass} ${sizeClass} ${rotateClass}`} aria-hidden=\"true\">\n {(\n (this.svgContent !== '')\n ? <div class=\"icon-inner\" innerHTML={this.svgContent}></div>\n : <div class=\"icon-inner\"></div>\n )}\n </Host>\n );\n }\n}","/*\n * Input\n *\n * Index\n * - Input\n * - Textarea\n * - Label\n * - Sizes\n * - Error\n * - Helper\n */\n\n/**\n * @prop --border-radius: Border radius of the field\n * @prop --height: height of the field\n * @prop --input-text-align: align the content of the field\n * @prop --margin-bottom: Bottom margin of the field\n */\n\n\n:host {\n --height: 3rem;\n --border-radius: 0.25rem;\n --input-text-align: left;\n --margin-bottom: 1rem;\n\n position: relative;\n display: block;\n margin-bottom: var(--margin-bottom);\n font-family: var(--road-font, sans-serif);\n color: var(--road-grey-10);\n}\n\n/* INPUT\n -------------------- */\n\n.form-control {\n box-sizing: border-box;\n display: block;\n width: 100%;\n height: var(--height);\n padding: 0.75rem 1rem 0;\n margin: 0;\n font-size: var(--road-body-medium);\n color: var(--road-on-surface);\n text-align: var(--input-text-align);\n background: var(--road-surface);\n border: 1px solid var(--road-input-outline);\n border-radius: var(--border-radius);\n box-shadow: none;\n appearance: none;\n}\n\n/**\n * Remove native arrow on type number\n */\n\n.form-control[type=\"number\"] {\n appearance: textfield;\n}\n\n/**\n * Fix position of chrome native icon on type date and time\n */\n\n.form-control::-webkit-calendar-picker-indicator {\n margin-top: -0.75rem;\n}\n\n/**\n * Fix position of iOS date and time value\n */\n\n.form-control::-webkit-date-and-time-value {\n padding-top: 0.625rem;\n}\n\n/**\n * Placeholder\n */\n\n.form-control::placeholder {\n color: var(--road-on-surface-extra-weak);\n opacity: 1;\n}\n\n/**\n * Hover state\n */\n\n@media (hover: hover) {\n\n .form-control:not(:disabled):hover {\n border-color: var(--road-input-outline-variant);\n }\n}\n\n/**\n * Focus state\n */\n\n.form-control:focus ~ .form-label,\n.form-control[required]:valid ~ .form-label,\n.form-control.has-value ~ .form-label,\n.form-control[type=\"date\"] ~ .form-label,\n.form-control[type=\"time\"] ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n\n.form-control:placeholder-shown ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n\n/* stylelint-disable */\n\n/* IE FIX */\n\n.form-control:-ms-input-placeholder ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n/* stylelint-enable */\n\n.form-control:not(:disabled):focus,\n.form-control[autofocus] {\n border-color: var(--road-input-outline-variant);\n outline: 0;\n}\n\n/**\n * Disabled state\n */\n\n.form-control:disabled,\n.form-control[readonly] {\n cursor: not-allowed;\n background: var(--road-surface-disabled);\n opacity: 1;\n}\n\n/* LABEL\n -------------------- */\n\n.form-label {\n position: absolute;\n top: 0.75rem;\n left: 1rem;\n display: block;\n font-size: var(--road-body-medium);\n line-height: 1.5;\n color: var(--road-on-surface-extra-weak);\n pointer-events: none;\n transition: transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;\n transform-origin: 0 0;\n}\n\n.form-control:required ~ .form-label::after{\n color: var(--road-danger-default);\n content: \" *\";\n}\n\n/**\n * less label\n */\n\n.less-label {\n padding-top: 0;\n}\n\n/* SIZES\n -------------------- */\n\n:host(.input-xl) {\n --height: 3.5rem;\n}\n\n:host(.input-xl) .form-control {\n padding: 1rem 1rem 0;\n}\n\n:host(.phone-number) .form-control {\n padding-left: 2rem;\n}\n\n:host(.phone-number) .form-label {\n left: 2rem;\n}\n\n:host(.input-xl) .form-label {\n top: 1rem;\n}\n\n:host(.input-xl) .form-control:focus ~ .form-label,\n:host(.input-xl) .form-control[autofocus] ~ .form-label,\n:host(.input-xl) .form-control[required]:valid ~ .form-label,\n:host(.input-xl) .form-control.has-value ~ .form-label,\n:host(.input-xl) .form-control[type=\"date\"] ~ .form-label,\n:host(.input-xl) .form-control[type=\"time\"] ~ .form-label {\n transform: scale(0.75) translateY(-0.625rem);\n}\n\n:host(.input-xl) .form-control:placeholder-shown ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n\n\n/* ERROR\n -------------------- */\n\n.invalid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.5rem;\n font-size: var(--road-helper-medium);\n color: var(--road-on-danger-surface);\n}\n\n.form-control.is-invalid,\n.was-validated .form-control:invalid {\n border-color: var(--road-danger-outline);\n}\n\n.form-control.is-invalid ~ .invalid-feedback,\n.was-validated .form-control:invalid ~ .invalid-feedback {\n display: block;\n}\n\n/* HELPER\n -------------------- */\n\n.helper {\n margin-top: 0.5rem;\n font-size: var(--road-body-small);\n color: var(--road-on-surface-weak);\n}\n\n\n/* PASSWORD\n -------------------- */\n\n.form-control[type=\"password\"] ~ .checklist-password .invalid{\n color: var(--road-on-surface-weak);\n}\n","import { Component, Event, EventEmitter, Host, Prop, Watch, h } from '@stencil/core';\n\nimport { AutocompleteTypes, TextFieldTypes } from '../../interface';\n\nconst debounceEvent = (event: EventEmitter, wait: number): EventEmitter => {\n const original = (event as any)._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait),\n } as EventEmitter;\n};\n\nconst debounce = (func: (...args: any[]) => void, wait = 0) => {\n let timer: any;\n return (...args: any[]): any => {\n clearTimeout(timer);\n timer = setTimeout(func, wait, ...args);\n };\n};\n\n/**\n * @slot checklistPassword - Content the checklist Password exemple.\n * `<div class=\"checklist-password mt-16\" slot=\"checklistPassword\">`\n ` <span class=\"checklist-password-label\"><strong>Low Safety</strong></span>`\n `<road-progress color=\"danger\" value=\"25\" class=\"mt-8 mb-16\"></road-progress>`\n `<p class=\"text-medium mb-8\">For optimal safety your password must have at least :</p>`\n `<ul class=\"m-0 pl-16\">`\n `<li id=\"letter\" class=\"invalid mb-8\">1 lowercase and 1 uppercase</li>`\n `<li id=\"number\" class=\"invalid mb-8\">1 digit</li>`\n `<li id=\"length\" class=\"invalid\">8 characters minimum</li>`\n `</ul>`\n `</div>`\n */\n\n@Component({\n tag: 'road-input',\n styleUrl: 'input.css',\n scoped: true,\n})\nexport class Input {\n\n /**\n * The id of input\n */\n @Prop() inputId: string = `road-input-${inputIds++}`;\n\n /**\n * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\n */\n @Prop() autocapitalize = 'off';\n\n /**\n * Indicates whether the value of the control can be automatically completed by the browser.\n */\n @Prop() autocomplete: AutocompleteTypes = 'off';\n\n /**\n * Whether auto correction should be enabled when the user is entering/editing the text value.\n */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /**\n * This Boolean attribute lets you specify that a form control should have input focus when the page loads.\n */\n @Prop() autofocus = false;\n\n /**\n * If `true`, the user cannot interact with the input.\n */\n @Prop() disabled = false;\n\n /**\n * A hint to the browser for which enter key to display.\n * Possible values: `\"enter\"`, `\"done\"`, `\"go\"`, `\"next\"`,\n * `\"previous\"`, `\"search\"`, and `\"send\"`.\n */\n @Prop() enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /**\n * A hint to the browser for which keyboard to display.\n * This attribute applies when the value of the type attribute is `\"text\"`, `\"password\"`, `\"email\"`, or `\"url\"`. Possible values are: `\"verbatim\"`, `\"latin\"`, `\"latin-name\"`, `\"latin-prose\"`, `\"full-width-latin\"`, `\"kana\"`, `\"katakana\"`, `\"numeric\"`, `\"tel\"`, `\"email\"`, `\"url\"`.\n */\n @Prop() inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';\n\n /**\n * The maximum value, which must not be less than its minimum (min attribute) value.\n */\n @Prop() max?: string;\n\n /**\n * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.\n */\n @Prop() maxlength?: number;\n\n /**\n * The minimum value, which must not be greater than its maximum (max attribute) value.\n */\n @Prop() min?: string;\n\n /**\n * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.\n */\n @Prop() minlength?: number;\n\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name: string = this.inputId;\n\n /**\n * A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.\n */\n @Prop() pattern?: string;\n\n /**\n * Instructional text that shows before the input has a value.\n */\n @Prop() placeholder?: string;\n\n /**\n * If `true`, the user cannot modify the value.\n */\n @Prop() readonly = false;\n\n /**\n * If `true`, the user must fill in a value before submitting a form.\n */\n @Prop() required = false;\n\n /**\n * If `true`, the element will have its spelling and grammar checked.\n */\n @Prop() spellcheck = false;\n\n /**\n * Works with the min and max attributes to limit the increments at which a value can be set.\n * Possible values are: `\"any\"` or a positive floating point number.\n */\n @Prop() step?: string;\n\n /**\n * The initial size of the control. This value is in pixels unless the value of the type attribute is `\"text\"` or `\"password\"`, in which case it is an integer number of characters. This attribute applies only when the `type` attribute is set to `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.\n */\n @Prop() size?: number;\n\n /**\n * The sizes of the input.\n */\n @Prop() sizes: 'lg' | 'xl' = 'lg';\n\n /**\n * The type of control to display. The default type is text.\n */\n @Prop() type: TextFieldTypes = 'text';\n\n /**\n * The value of the input.\n */\n @Prop({ mutable: true }) value?: string | number | null = '';\n\n /**\n * Label for the field\n */\n @Prop() label?: string = '';\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 * Set the amount of time, in milliseconds, to wait to trigger the `roadChange` event after each keystroke.\n */\n @Prop() debounce = 0;\n\n @Watch('debounce')\n protected debounceChanged() {\n this.roadchange = debounceEvent(this.roadchange, this.debounce);\n this.roadChange = debounceEvent(this.roadChange, this.debounce);\n }\n\n /**\n * Update the native input element when the value changes\n */\n @Watch('value')\n protected valueChanged() {\n this.roadchange.emit({ value: this.value == null ? this.value : this.value.toString() });\n this.roadChange.emit({ value: this.value == null ? this.value : this.value.toString() });\n }\n\n /**\n * Emitted when a keyboard input occurred.\n */\n @Event() roadinput!: EventEmitter<KeyboardEvent>;\n /** @internal */\n @Event() roadInput!: EventEmitter<KeyboardEvent>;\n\n /**\n * Emitted when the value has changed.\n */\n @Event() roadchange!: EventEmitter<{\n value: string | undefined | null;\n }>;\n /** @internal */\n @Event() roadChange!: EventEmitter<{\n value: string | undefined | null;\n }>;\n\n /**\n * Emitted when the input loses focus.\n */\n @Event() roadblur!: EventEmitter<string | null>; // Déclare roadblur pour transporter une valeur de type string ou null\n /** @internal */\n @Event() roadBlur!: EventEmitter<string | null>; // Déclare roadblur pour transporter une valeur de type string ou null\n\n /**\n * Emitted when the input has focus.\n */\n @Event() roadfocus!: EventEmitter<void>;\n /** @internal */\n @Event() roadFocus!: EventEmitter<void>;\n\n private getValue(): string {\n return typeof this.value === 'number'\n ? this.value.toString()\n : (this.value || '').toString();\n }\n\n private onInput = (ev: Event) => {\n const input = ev.target as HTMLInputElement | null;\n if (input) {\n this.value = input.value || \"\";\n }\n this.roadinput.emit(ev as KeyboardEvent);\n this.roadInput.emit(ev as KeyboardEvent);\n };\n\n private onBlur = () => {\n let value = this.getValue();\n \n // Vérifier si les contraintes min et max sont définies\n if (this.min !== undefined && value !== '' && parseFloat(value) < parseFloat(this.min)) {\n value = this.min; // Ajuster la valeur à la valeur minimale\n }\n \n if (this.max !== undefined && value !== '' && parseFloat(value) > parseFloat(this.max)) {\n value = this.max; // Ajuster la valeur à la valeur maximale\n }\n \n this.value = value; // Mettre à jour la valeur avec la valeur ajustée\n \n // Émettre l'événement roadblur avec la valeur ajustée\n this.roadblur.emit(this.value);\n this.roadBlur.emit(this.value);\n };\n\n private onFocus = () => {\n this.roadfocus.emit();\n this.roadFocus.emit();\n };\n\n private enforceMinMax(el: HTMLInputElement): void {\n if (el.value !== \"\") {\n const value: number = parseInt(el.value);\n const minValue: number = parseInt(el.min);\n const maxValue: number = parseInt(el.max);\n\n if (value < minValue) {\n el.value = el.min;\n }\n\n if (value > maxValue) {\n el.value = el.max;\n }\n }\n}\n\n render() {\n const value = this.getValue();\n const labelId = this.inputId + '-label';\n const hasValueClass = this.value !== '' ? 'has-value' : '';\n const lessLabelClass = this.label !== '' ? '' : 'less-label';\n const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';\n\n return (\n <Host aria-disabled={this.disabled ? 'true' : null} class={this.sizes && `input-${this.sizes}`} value={value}>\n <input\n class={`form-control ${hasValueClass} ${isInvalidClass} ${lessLabelClass}`}\n id={this.inputId}\n aria-disabled={this.disabled ? 'true' : null}\n aria-labelledby={labelId}\n disabled={this.disabled}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n enterKeyHint={this.enterkeyhint}\n autoFocus={this.autofocus}\n inputMode={this.inputmode}\n min={this.min}\n max={this.max}\n minLength={this.minlength}\n maxLength={this.maxlength}\n name={this.name}\n pattern={this.pattern}\n placeholder={this.placeholder}\n readOnly={this.readonly}\n required={this.required}\n spellcheck={this.spellcheck}\n step={this.step}\n size={this.size}\n type={this.type}\n value={value}\n onInput={this.onInput}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n onKeyUp={(event: Event) => this.enforceMinMax(event.target as HTMLInputElement)}\n data-cy='road-input'\n\n />\n <label class=\"form-label\" id={labelId} htmlFor={this.inputId}>{this.label}</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 {this.type && this.type == 'password' &&\n <slot name=\"checklistPassword\"/>}\n </Host>\n );\n }\n}\n\nlet inputIds = 0;\n","/*\n * Input Group\n *\n * Easily extend form controls\n * by adding text, buttons, or button groups\n * on either side of textual inputs, custom selects, and custom file inputs.\n *\n * Index\n * - Input group\n * - Prepend / append\n * - Text or icon addon\n * - Round corners\n * - Error\n * - Disabled\n */\n\n:host {\n display: block;\n}\n\n/* INPUT GROUP\n -------------------- */\n\n.input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n font-family: var(--road-font, sans-serif);\n}\n\n::slotted(road-input),\n::slotted(input),\n::slotted(textarea),\n::slotted(road-select) {\n position: relative;\n flex: 1 1 auto;\n width: 1%;\n margin-bottom: 0;\n}\n\n/**\n * Remove border for append and prepend element\n * with white background\n */\n\n::slotted([slot=\"prepend\"]) {\n margin-right: -3px;\n border-color: var(--road-input-outline);\n border-right-color: transparent;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n::slotted([slot=\"append\"]) {\n margin-left: -0.25rem;\n border-color: var(--road-input-outline);\n border-left-width: 0;\n}\n\n/**\n * Hover state\n */\n\n@media (hover: hover) {\n\n .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n border-right-color: transparent;\n }\n\n .input-group:not(.is-disabled):hover ::slotted([slot=\"append\"]) {\n border-color: var(--road-input-outline-variant);\n border-left-color: transparent;\n }\n\n :host(.phone-number-group) .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n }\n}\n\n/**\n * Focus state\n */\n\n.input-group:focus-within ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n border-right-color: transparent;\n}\n\n:host(.phone-number-group) .input-group:focus-within ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n border-right-color: transparent;\n}\n\n.input-group:focus-within ::slotted([slot=\"append\"]) {\n border-color: var(--road-input-outline-variant);\n border-left-color: transparent;\n}\n\n/* PREPEND - APPEND\n -------------------- */\n\n.input-group-prepend,\n.input-group-append {\n display: flex;\n height: 3rem;\n}\n\n::slotted(road-button) {\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n\n position: relative;\n z-index: 2;\n min-width: 3rem;\n margin: 0;\n font-size: var(--road-font-size-14);\n}\n\n.input-group-prepend {\n z-index: 1;\n order: -1;\n}\n\n.input-group-prepend ~ .form-label {\n left: calc(3rem + 1px);\n}\n\n.input-group-append {\n position: relative;\n z-index: 1;\n border-radius: 0 0.25rem 0.25rem 0;\n}\n\n/* TEXT OR ICON ADDON\n -------------------- */\n\n::slotted(label) {\n display: flex;\n align-items: center;\n padding: 0 0.5rem;\n margin-bottom: 0;\n color: var(--road-on-surface);\n text-align: center;\n white-space: nowrap;\n cursor: text;\n background: var(--road-surface);\n border: 1px solid var(--road-input-outline);\n border-radius: 0.25rem;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n/* ROUND CORNERS\n -------------------- */\n\n::slotted(road-input:not(:first-child)),\n::slotted(road-select:not(:first-child)) {\n border-radius: 0;\n}\n\n.input-group-append ::slotted([slot=\"append\"]) {\n border-left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.input-group-prepend ::slotted([slot=\"prepend\"]) {\n border-right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n:host(.phone-number-group) .input-group-prepend ::slotted([slot=\"prepend\"]) {\n border-right: 1px solid var(--road-input-outline);\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group-prepend ::slotted(label) {\n margin-right: calc(-1rem + 1px);\n}\n\n.input-group-append ::slotted(road-button) {\n background-color: var(--road-surface);\n}\n\n/* SIZES\n -------------------- */\n\n.size-xl .input-group-prepend,\n.size-xl .input-group-append {\n height: 3.5rem;\n}\n\n.size-xl ::slotted(road-button) {\n height: 3.5rem;\n}\n\n/* ERROR\n -------------------- */\n\n.input-group.is-invalid ::slotted([slot=\"append\"]),\n.input-group.is-invalid ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-danger-outline);\n}\n\n:host(.phone-number-group) .input-group.is-invalid ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-danger-outline);\n}\n\n/* DISABLED\n -------------------- */\n\n.input-group.is-disabled ::slotted([slot=\"append\"]),\n.input-group.is-disabled ::slotted([slot=\"prepend\"]) {\n cursor: not-allowed;\n background: #e4e5e9;\n}\n\n.is-disabled ::slotted(road-button) {\n opacity: 1;\n}\n","import { Component, Element, h } from '@stencil/core';\n\n/**\n * @slot prepend - Add icon or button before the field.\n * @slot - Add the road-input or road-select here.\n * @slot append - Add icon or button after the field.\n */\n\n@Component({\n tag: 'road-input-group',\n styleUrl: 'input-group.css',\n shadow: true,\n})\nexport class InputGroup {\n\n @Element() el!: HTMLRoadInputGroupElement;\n\n componentDidLoad() {\n if(this.el.querySelector(\"road-input[disabled]\")) {\n this.el.querySelector(\"road-button\")?.setAttribute('disabled', \"\");\n }\n }\n\n\n render() {\n const errorClass = this.el.querySelector(\"road-input[error]\") ? 'is-invalid' : '';\n const disabledClass = this.el.querySelector(\"road-input[disabled]\") ? 'is-disabled' : '';\n const sizeClass = this.el.querySelector(\"road-input[sizes]\") ? `size-${(this.el.querySelector(\"road-input\") as HTMLRoadInputElement).sizes}` : '';\n\n return (\n <div class={`input-group ${errorClass} ${disabledClass} ${sizeClass}`}>\n <slot/>\n <div class=\"input-group-prepend\">\n <slot name=\"prepend\"/>\n </div>\n <div class=\"input-group-append\">\n <slot name=\"append\"/>\n </div>\n </div>\n );\n }\n}\n","/*\n * Item\n *\n * Index\n * - Native\n * - Inner\n * - Input\n * - Icons\n * - Buttons\n * - Lines\n */\n\n/**\n * @prop --border-radius: Radius of the item border\n * @prop --background-color: Background of the item\n * @prop --min-height: Minimum height of the item\n * @prop --padding-left: Padding left of the native element\n * @prop --inner-padding: inner padding of the item\n * @prop --detail-color: color of the detail icon\n */\n\n:host {\n --border-radius: var(--road-spacing-02);\n --background-color: var(--road-surface);\n --detail-color: var(--road-icon);\n\n position: relative;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n overflow: hidden;\n font-size: var(--road-font-size-14);\n text-decoration: none;\n border: 1px solid var(--road-outline-weak);\n border-radius: var(--border-radius);\n outline: none;\n}\n\n.layout-vertical{\n display: flex;\n flex-direction: column;\n max-width: 224px;\n}\n\n.layout-vertical .item-inner {\n align-items: flex-start;\n}\n\n/* NATIVE\n -------------------- */\n\n.item-native {\n position: relative;\n z-index: 1;\n box-sizing: border-box;\n display: flex;\n align-items: inherit;\n justify-content: inherit;\n width: 100%;\n padding: var(--road-spacing-05);\n margin: 0;\n overflow: inherit;\n font-family: inherit;\n font-size: inherit;\n color: var(--road-on-surface);\n text-align: left;\n background-color: var(--background-color);\n border: 2px solid var(--road-surface);\n outline: none;\n transition: background 0.15s ease-in-out;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n/**\n * Active state\n */\n\n.item-active {\n border: 2px solid var(--road-outline-variant);\n}\n\n/**\n * Hover / Focus state\n */\n\nbutton.item-native:not(:disabled):not(.item-active):hover,\nbutton.item-native:not(:disabled):not(.item-active):focus {\n border: 2px solid var(--road-outline-variant);\n}\n\n/**\n * Reset native behaviours\n */\n\n.item-native::-moz-focus-inner {\n border: 0;\n}\n\nbutton,\na {\n cursor: pointer;\n user-select: none;\n\n -webkit-user-drag: none;\n}\n\n/* INNER\n -------------------- */\n\n.item-inner {\n position: relative;\n box-sizing: border-box;\n display: flex;\n flex: 1;\n flex-direction: inherit;\n align-items: center;\n align-self: stretch;\n width: 100%;\n min-height: inherit;\n padding: var(--inner-padding);\n overflow: inherit;\n text-align: inherit;\n text-decoration: none;\n border-color: var(--road-grey-70);\n border-style: solid;\n border-width: var(--inner-border-width, 0);\n outline: 0;\n}\n\n/* INPUT\n -------------------- */\n\n.input-wrapper {\n box-sizing: border-box;\n display: flex;\n flex: 1;\n flex-direction: inherit;\n align-items: inherit;\n align-self: stretch;\n overflow: inherit;\n text-overflow: ellipsis;\n}\n\n.input-wrapper-info-title {\n font-size: var(--road-font-size-16);\n font-weight: 700;\n\n}\n\n.input-wrapper-info-text {\n margin: 0;\n font-size: var(--road-font-size-16);\n font-weight: 400;\n color: var(--road-on-surface-weak);\n}\n\n\n/* ICONS /IMG\n -------------------- */\n\n.item-detail-icon {\n color: var(--detail-color);\n}\n\n::slotted(road-icon) {\n flex-shrink: 0;\n margin-right: 0.5rem;\n}\n\n::slotted(road-img) {\n flex-shrink: 0;\n margin-right: 0.5rem;\n}\n\n.layout-vertical ::slotted(road-img) {\n margin-bottom: 0.5rem;\n}\n\n::slotted(road-label) p{\n color: var(--road-on-surface-weak);\n}\n\n/* IMAGE\n -------------------- */\n\n\n\n/* BUTTONS\n -------------------- */\n\n::slotted(road-button) {\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n --margin-bottom: 0;\n}\n\n/* LINES\n -------------------- */\n\n/**\n * No lines list\n */\n\n:host(.item-lines-none) {\n --border-width: 0 !important;\n --inner-border-width: 0 !important;\n}\n\n/**\n * Full lines list\n */\n\n:host(.item-lines-full) {\n --border-width: 0 0 1px 0 !important;\n --inner-border-width: 0 !important;\n}\n\n/**\n * Inset lines list\n */\n\n:host(.item-lines-inset) {\n --inner-border-width: 0 0 1px 0 !important;\n}\n","import { Component, Host, h, Prop, State, Element } from '@stencil/core';\nimport { navigationChevron } from '../../../icons';\n\n/**\n * @slot start - Placed to the left of all other content.\n * @slot - Content of the item.\n * @slot end - Placed to the right of all other content.\n *\n * @part native - The native HTML button, anchor or div element that wraps all child elements.\n */\n\n@Component({\n tag: 'road-item',\n styleUrl: 'item.css',\n shadow: true,\n})\nexport class Item {\n\n @Element() el!: HTMLRoadItemElement;\n\n @State() multipleInputs = false;\n\n /**\n * Title for the item\n */\n @Prop() titleItem?: string = '';\n\n /**\n * Description for the item\n */\n @Prop() text?: string = '';\n\n /**\n * If `true`, a button tag will be rendered and the item will be tappable.\n */\n @Prop() button = false;\n\n /**\n * If `true`, a detail arrow will appear on the item. Defaults to `false` unless the `mode`\n * is `ios` and an `href` or `button` property is present.\n */\n @Prop() detail?: boolean;\n\n /**\n * If `true`, display an active state item\n */\n @Prop() active?: boolean;\n\n /**\n * The icon to use when `detail` is set to `true`.\n */\n @Prop() detailIcon = navigationChevron;\n\n /**\n * If `true`, the user cannot interact with the item.\n */\n @Prop() disabled = false;\n\n /**\n * This attribute instructs browsers to download a URL instead of navigating to\n * it, so the user will be prompted to save it as a local file. If the attribute\n * has a value, it is used as the pre-filled file name in the Save prompt\n * (the user can still change the file name if they want).\n */\n @Prop() download: string | undefined;\n\n /**\n * Contains a URL or a URL fragment that the hyperlink points to.\n * If this property is set, an anchor tag will be rendered.\n */\n @Prop() href: string | undefined;\n\n /**\n * Specifies the relationship of the target object to the link object.\n * The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\n */\n @Prop() rel: string | undefined;\n\n /**\n * How the bottom border should be displayed on the item.\n */\n @Prop() lines?: 'full' | 'inset' | 'none';\n \n /**\n * How the bottom border should be displayed on the item.\n */\n @Prop() layout?: 'horizontal' | 'vertical' = 'horizontal';\n\n /**\n * Specifies where to display the linked URL.\n * Only applies when an `href` is provided.\n * Special keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`.\n */\n @Prop() target: string | undefined;\n\n /**\n * The type of the button. Only used when an `onclick` or `button` property is present.\n */\n @Prop() type: 'submit' | 'reset' | 'button' = 'button';\n\n // If the item has an href or button property it will render a native\n // anchor or button that is clickable\n private isClickable(): boolean {\n return (this.href !== undefined || this.button);\n }\n\n render() {\n const { detail, detailIcon, download, layout, lines, disabled, href, rel, target } = this;\n const clickable = this.isClickable();\n const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div' as any;\n const attrs = (TagType === 'button')\n ? { type: this.type }\n : {\n download,\n href,\n rel,\n target,\n };\n const showDetail = detail !== undefined && detail;\n\n return (\n <Host\n aria-disabled={disabled ? 'true' : null}\n class={{\n [`item-lines-${lines}`]: lines !== undefined,\n }}\n >\n <TagType\n {...attrs}\n class={{\n 'item-native': true,\n 'item-active': this.active,\n [`layout-${layout}`]: layout !== undefined,\n }}\n part=\"native\"\n disabled={disabled}\n >\n <slot name=\"start\"/>\n <div class=\"item-inner\">\n <div class=\"input-wrapper\">\n <slot/>\n <div class=\"input-wrapper-info\">\n <road-label class=\"input-wrapper-info-title\">{this.titleItem}</road-label>\n <p class=\"input-wrapper-info-text\">{this.text}</p>\n </div>\n </div>\n <slot name=\"end\"/>\n {showDetail && <road-icon icon={detailIcon} lazy={false} class=\"item-detail-icon\"></road-icon>}\n </div>\n </TagType>\n </Host>\n );\n }\n\n}\n","/*\n * Label\n *\n */\n\n:host {\n box-sizing: border-box;\n display: block;\n overflow: hidden;\n font-size: var(--road-font-size-14);\n color: currentColor;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @slot - Content of the label.\n */\n@Component({\n tag: 'road-label',\n styleUrl: 'label.css',\n shadow: true,\n})\nexport class Label {\n\n render() {\n return (\n <slot/>\n );\n }\n\n}\n","/*\n * Item\n *\n * Index\n * - List\n * - Lines\n */\n\n/* LIST\n -------------------- */\n\n:host {\n display: block;\n contain: content;\n list-style-type: none;\n}\n\n/* LINES\n -------------------- */\n\n/**\n * No lines list\n */\n\n:host(.list-lines-none) ::slotted(road-item) {\n --border-width: 0;\n --inner-border-width: 0;\n}\n\n/**\n * Full lines list\n */\n\n:host(.list-lines-full) {\n border: 1px solid var(--road-outline);\n border-bottom: 0;\n}\n\n:host(.list-lines-full),\n:host(.list-lines-full) ::slotted(road-item) {\n --border-width: 0 0 1px 0;\n --inner-border-width: 0;\n}\n\n\n/**\n * Inset lines list\n */\n\n:host(.item-lines-inset),\n:host(.list-lines-inset) ::slotted(road-item) {\n --inner-border-width: 0 0 1px 0;\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n/**\n * @slot - Content of the list, it should be road-item elements.\n */\n\n@Component({\n tag: 'road-list',\n styleUrl: 'list.css',\n shadow: true,\n})\nexport class List {\n\n /**\n * How the bottom border should be displayed on all items.\n */\n @Prop() lines?: 'full' | 'inset' | 'none';\n\n render() {\n const { lines } = this;\n\n return (\n <Host\n class={{\n [`list-lines-${lines}`]: lines !== undefined,\n }}\n >\n <slot/>\n </Host>\n );\n }\n\n}\n",":host {\n display: flex;\n flex-wrap: wrap;\n max-width: 1440px;\n margin-right: -8px;\n margin-left: -8px;\n}\n\n@media (min-width: 1440px) {\n\n :host {\n margin-right: auto;\n margin-left: auto;\n }\n}\n\n/*\n * Flexbox utilities\n *\n * Index\n * - Flex wrap\n * - Justify content\n * - Align items\n */\n\n/* FLEX WRAP\n -------------------- */\n\n:host(.flex-wrap) {\n flex-wrap: wrap;\n}\n\n:host(.flex-nowrap) {\n flex-wrap: nowrap;\n}\n\n/* JUSTIFY CONTENT\n -------------------- */\n\n:host(.justify-content-start) {\n justify-content: flex-start;\n}\n\n:host(.justify-content-end) {\n justify-content: flex-end;\n}\n\n:host(.justify-content-center) {\n justify-content: center;\n}\n\n:host(.justify-content-between) {\n justify-content: space-between;\n}\n\n:host(.justify-content-around) {\n justify-content: space-around;\n}\n\n/* ALIGN ITEMS\n -------------------- */\n\n:host(.align-items-start) {\n align-items: flex-start;\n}\n\n:host(.align-items-end) {\n align-items: flex-end;\n}\n\n:host(.align-items-center) {\n align-items: center;\n}\n\n:host(.align-items-baseline) {\n align-items: baseline;\n}\n\n:host(.align-items-stretch) {\n align-items: stretch;\n}\n\n@media (min-width: 576px) {\n\n :host(.flex-sm-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-sm-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-sm-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-sm-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-sm-center) {\n justify-content: center;\n }\n\n :host(.justify-content-sm-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-sm-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-sm-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-sm-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-sm-center) {\n align-items: center;\n }\n\n :host(.align-items-sm-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-sm-stretch) {\n align-items: stretch;\n }\n}\n\n@media (min-width: 768px) {\n\n :host(.flex-md-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-md-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-md-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-md-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-md-center) {\n justify-content: center;\n }\n\n :host(.justify-content-md-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-md-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-md-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-md-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-md-center) {\n align-items: center;\n }\n\n :host(.align-items-md-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-md-stretch) {\n align-items: stretch;\n }\n}\n\n@media (min-width: 992px) {\n\n :host(.flex-lg-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-lg-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-lg-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-lg-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-lg-center) {\n justify-content: center;\n }\n\n :host(.justify-content-lg-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-lg-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-lg-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-lg-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-lg-center) {\n align-items: center;\n }\n\n :host(.align-items-lg-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-lg-stretch) {\n align-items: stretch;\n }\n}\n\n@media (min-width: 1200px) {\n\n :host(.flex-xl-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-xl-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-xl-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-xl-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-xl-center) {\n justify-content: center;\n }\n\n :host(.justify-content-xl-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-xl-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-xl-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-xl-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-xl-center) {\n align-items: center;\n }\n\n :host(.align-items-xl-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-xl-stretch) {\n align-items: stretch;\n }\n}\n\n:host(.align-content-start) {\n align-content: flex-start;\n}\n\n:host(.align-content-end) {\n align-content: flex-end;\n}\n\n:host(.align-content-center) {\n align-content: center;\n}\n\n:host(.align-content-between) {\n align-content: space-between;\n}\n\n:host(.align-content-around) {\n align-content: space-around;\n}\n\n:host(.align-content-stretch) {\n align-content: stretch;\n}\n\n:host(.align-self-auto) {\n align-self: auto;\n}\n\n:host(.align-self-start) {\n align-self: flex-start;\n}\n\n:host(.align-self-end) {\n align-self: flex-end;\n}\n\n:host(.align-self-center) {\n align-self: center;\n}\n\n:host(.align-self-baseline) {\n align-self: baseline;\n}\n\n:host(.align-self-stretch) {\n align-self: stretch;\n}\n","import { Component, Host, h } from '@stencil/core';\n\n/**\n * @slot - Used to be able to add multiple columns for a row.\n */\n\n@Component({\n tag: 'road-row',\n styleUrl: 'row.css',\n shadow: true,\n})\nexport class Row {\n\n render() {\n return (\n <Host>\n <slot/>\n </Host>\n );\n }\n\n}\n","/*\n * Toolbar\n *\n * Index\n * - Container\n * - Content\n * - Buttons\n * - Colors\n */\n\n:host {\n position: relative;\n box-sizing: border-box;\n display: block;\n width: 100%;\n contain: content;\n color: var(--road-on-surface);\n background: var(--road-surface);\n border-bottom: 1px solid var(--road-outline);\n}\n\n/* CONTAINER\n -------------------- */\n\n.toolbar-container {\n position: relative;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n min-height: 3.73rem;\n contain: content;\n overflow: hidden;\n}\n\n/* TOOLBAR TITLE CONTAINER\n -------------------- */\n\n.toolbar-title-container {\n position: relative;\n top: 0;\n left: 0;\n display: flex;\n flex: 1;\n align-items: center;\n width: 100%;\n height: 100%;\n text-align: center;\n}\n\n/* TOOLBAR TITLE\n -------------------- */\n\n.toolbar-title {\n display: block;\n width: 100%;\n font-size: var(--road-font-size-18);\n font-weight: 700;\n text-align: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: auto;\n}\n\n@media (min-width: 1200px) {\n\n .toolbar-title {\n font-size: var(--road-font-size-21);\n text-align: center;\n }\n}\n\n/* CONTENT\n -------------------- */\n\n.toolbar-content {\n flex: 1 1 0%;\n min-width: 0;\n max-width: 100%;\n}\n\n/* TOOLBAR LOGO\n -------------------- */\n\n.toolbar .logo {\n position: relative;\n z-index: 1;\n padding-left: 1rem;\n margin-bottom: 0;\n font-size: var(--road-font-size-14);\n font-weight: 400;\n}\n\n.toolbar .app-name {\n margin-left: 1rem;\n font-size: var(--road-font-size-20);\n font-weight: 700;\n}\n\n/* BUTTONS\n -------------------- */\n\n::slotted([slot=\"start\"]) {\n --margin-bottom: 0;\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n\n align-self: auto;\n font-size: var(--road-font-size-14);\n font-weight: 400;\n background: var(--road-surface);\n border-right: 1px solid var(--road-outline);\n border-radius: 0;\n}\n\n::slotted([slot=\"end\"]),\n::slotted([slot=\"secondary\"]) {\n --margin-bottom: 0;\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n\n font-size: var(--road-font-size-14);\n font-weight: 400;\n background: var(--road-surface);\n border-left: 1px solid var(--road-outline);\n border-radius: 0;\n}\n\n/* COLORS\n -------------------- */\n\n:host(.toolbar-primary) {\n color: var(--road-on-header-surface);\n background: var(--road-header-surface);\n}\n\n:host(.toolbar-secondary) {\n color: var(--road-on-secondary);\n background: var(--road-secondary);\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n/**\n *\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot start - Content is placed to the left of the toolbar text and left to primery slot if provided.\n * @slot primary - Content is placed to the left of the toolbar text.\n * @slot secondary - Content is placed to the right of the toolbar text.\n * @slot end - Content is placed to the right of the toolbar text and right to secondary slot if provided.\n */\n\n@Component({\n tag: 'road-toolbar',\n styleUrl: 'toolbar.css',\n shadow: true,\n})\nexport class Toolbar {\n\n /**\n * Background color of the toolbar\n */\n @Prop() color?: 'primary' | 'secondary';\n\n render() {\n const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';\n\n return (\n <Host class={colorClass}>\n <div class=\"toolbar-container\">\n <slot name=\"start\"/>\n <slot name=\"primary\"/>\n <div class=\"toolbar-content\">\n <slot/>\n </div>\n <slot name=\"secondary\"/>\n <slot name=\"end\"/>\n </div>\n </Host>\n );\n }\n\n}\n"],"version":3}
|
|
1
|
+
{"file":"road-badge.road-button.road-col.road-counter.road-drawer.road-grid.road-icon.road-input.road-input-group.road-item.road-label.road-list.road-row.road-toolbar.entry.js","mappings":";;;;;AAAA,MAAM,QAAQ,GAAG,slCAAslC;;MCa1lC,KAAK;;;iBAKQ,WAAW;kBAKR,KAAK;;EAEhC,MAAM;IACJ,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,KAAK,SAAS,GAAG,SAAS,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC;IACzE,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,GAAG,cAAc,GAAG,EAAE,CAAC;IAEtD,QACE,EAAC,IAAI,IAAC,KAAK,EAAE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;;;;EAOf,MAAM;IACJ,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAEvB,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,cAAc,KAAK,EAAE,GAAG,KAAK,KAAK,SAAS;OAC7C,IAED,eAAO,CACF,EACP;GACH;;;;AC9BH,MAAM,MAAM,GAAG,83HAA83H;;MCWh4H,GAAG;;;;EAEd,MAAM;IACJ,QACE,EAAC,IAAI,QACH,eAAO,CACF,EACP;GACH;;;;ACnBH,MAAM,UAAU,GAAG,oqDAAoqD;;MCgB1qD,OAAO;;;;;EAOlB,MAAM;IACJ,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,KAAK,SAAS,GAAG,WAAW,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC;IAE3E,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,UAAU,IACrB,WAAK,KAAK,EAAC,mBAAmB,IAC5B,YAAM,IAAI,EAAC,OAAO,GAAE,EACpB,YAAM,IAAI,EAAC,SAAS,GAAE,EACtB,WAAK,KAAK,EAAC,iBAAiB,IAC1B,eAAO,CACH,EACN,YAAM,IAAI,EAAC,WAAW,GAAE,EACxB,YAAM,IAAI,EAAC,KAAK,GAAE,CACd,CACD,EACP;GACH;;;;;;","names":[],"sources":["src/components/badge/badge.css?tag=road-badge&encapsulation=shadow","src/components/badge/badge.tsx","src/components/button/button.css?tag=road-button&encapsulation=shadow","src/components/button/button.tsx","src/components/col/col.css?tag=road-col&encapsulation=shadow","src/components/col/col.tsx","src/components/counter/counter.css?tag=road-counter&encapsulation=scoped","src/components/counter/counter.tsx","src/components/drawer/drawer.css?tag=road-drawer&encapsulation=shadow","src/components/drawer/drawer.tsx","src/components/grid/grid.css?tag=road-grid&encapsulation=shadow","src/components/grid/grid.tsx","src/components/icon/validate.ts","src/components/icon/request.ts","src/components/icon/icon.css?tag=road-icon&encapsulation=shadow","src/components/icon/icon.tsx","src/components/input/input.css?tag=road-input&encapsulation=scoped","src/components/input/input.tsx","src/components/input-group/input-group.css?tag=road-input-group&encapsulation=shadow","src/components/input-group/input-group.tsx","src/components/item/item.css?tag=road-item&encapsulation=shadow","src/components/item/item.tsx","src/components/label/label.css?tag=road-label&encapsulation=shadow","src/components/label/label.tsx","src/components/list/list.css?tag=road-list&encapsulation=shadow","src/components/list/list.tsx","src/components/row/row.css?tag=road-row&encapsulation=shadow","src/components/row/row.tsx","src/components/toolbar/toolbar.css?tag=road-toolbar&encapsulation=shadow","src/components/toolbar/toolbar.tsx"],"sourcesContent":["/*\n * Badge\n *\n * Index\n * - Badge\n * - Status\n */\n\n\n/* BADGE\n -------------------- */\n\n:host {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 1rem;\n min-height: 1rem;\n padding: 0 0.3125rem;\n font-family: var(--road-font, sans-serif);\n font-size: var(--road-font-size-10);\n font-weight: 700;\n white-space: nowrap;\n border-radius: 1rem;\n}\n\n/**\n * Badge bubble\n */\n\n:host(.badge-bubble) {\n min-width: 0.25rem;\n min-height: 0.25rem;\n padding: 0;\n}\n\n/* STATUS\n -------------------- */\n\n/**\n * Primary\n */\n\n:host(.badge-primary) {\n color: var(--road-on-primary);\n background-color: var(--road-primary);\n}\n\n/**\n * Secondary\n */\n\n:host(.badge-secondary) {\n color: var(--road-on-secondary);\n background-color: var(--road-secondary);\n}\n\n/**\n * Accent\n */\n\n:host(.badge-accent) {\n color: var(--road-on-warning-surface-inverse);\n background-color: var(--road-warning-surface-inverse);\n}\n\n/**\n * Info\n */\n\n:host(.badge-info) {\n color: var(--road-on-info-surface-inverse);\n background-color: var(--road-info-surface-inverse);\n}\n\n/**\n * Success\n */\n\n:host(.badge-success) {\n color: var(--road-on-success-surface-inverse);\n background-color: var(--road-success-surface-inverse);\n}\n\n/**\n * Warning\n */\n\n:host(.badge-warning) {\n color: var(--road-on-warning-surface-inverse);\n background-color: var(--road-warning-surface-inverse);\n}\n\n/**\n * Danger\n */\n\n:host(.badge-danger) {\n color: var(--road-on-danger-surface-inverse);\n background-color: var(--road-danger-surface-inverse);\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\nimport { Color } from '../../interface';\n\n/**\n * @slot - Content of the badge, it could be a number or a text.\n */\n\n@Component({\n tag: 'road-badge',\n styleUrl: 'badge.css',\n shadow: true,\n})\nexport class Badge {\n\n /**\n * Color of the badge\n */\n @Prop() color?: Color = 'secondary';\n\n /**\n * if `true` the badge will be displayed has a little bubble\n */\n @Prop() bubble?: boolean = false;\n\n render() {\n const colorClass = this.color !== undefined ? `badge-${this.color}` : '';\n const bubbleClass = this.bubble ? 'badge-bubble' : '';\n\n return (\n <Host class={`${colorClass} ${bubbleClass}`}>\n <slot/>\n </Host>\n );\n }\n\n}\n","/*\n * Button\n *\n * Use custom button styles for actions in forms, dialogs, and more\n * with support for multiple sizes, states, and more.\n *\n * Index\n * - Button\n * - Plain\n * - Outline\n * - Disabled\n * - Sizes\n * - Badge\n */\n\n\n/**\n * @prop --border-radius: Border radius of the button\n * @prop --font-size: Font size of the text button\n * @prop --margin-bottom: Bottom margin of the button\n * @prop --padding-start: Left padding of the button\n * @prop --padding-end: Right padding of the button\n */\n\n\n/* BUTTON\n -------------------- */\n\n:host {\n --border-radius: 0.25rem;\n --font-size: var(--road-button-medium);\n --margin-bottom: 1rem;\n --padding-start: 1.5rem;\n --padding-end: 1.5rem;\n\n box-sizing: border-box;\n display: inline-flex;\n display: -webkit-inline-flex;\n align-items: center;\n justify-content: center;\n height: 3rem;\n padding: 0;\n margin-bottom: var(--margin-bottom);\n font-family: var(--road-font, sans-serif);\n font-size: var(--font-size);\n font-weight: 700;\n line-height: 1.375;\n color: var(--road-grey-10);\n text-decoration: none;\n white-space: nowrap;\n vertical-align: middle;\n background: transparent;\n border: 1px solid transparent;\n border-radius: var(--border-radius);\n transition: background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n}\n\n\n/**\n * Fix states\n */\n\n:host(:hover) {\n text-decoration: none;\n}\n\n:host(.focus-visible) {\n outline: 0;\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 padding: 0 var(--padding-end) 0 var(--padding-start);\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 outline: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n/* PLAIN\n -------------------- */\n\n/**\n * Default\n */\n\n:host(.btn-default:not([disabled]).focus-visible) {\n background: var(--road-grey-80);\n}\n\n/**\n * Primary\n */\n\n:host(.btn-primary) {\n color: var(--road-on-button-primary);\n background: var(--road-button-primary);\n}\n\n:host(.btn-primary) ::slotted(road-icon) {\n color: var(--road-on-button-primary);\n}\n\n:host(.btn-primary:not([disabled]):hover),\n:host(.btn-primary:not([disabled]).focus-visible) {\n background: var(--road-button-primary-variant);\n}\n\n/**\n * Secondary\n */\n\n:host(.btn-secondary) {\n color: var(--road-on-button-secondary);\n background: var(--road-button-secondary);\n}\n\n:host(.btn-secondary) ::slotted(road-icon) {\n color: var(--road-on-button-secondary);\n}\n\n:host(.btn-secondary:not([disabled]):hover),\n:host(.btn-secondary:not([disabled]).focus-visible) {\n background: var(--road-button-secondary-variant);\n}\n\n/**\n * Link\n */\n\n:host(.btn-link) {\n font-weight: 400;\n color: var(--road-link-primary);\n text-decoration: underline;\n background: transparent;\n}\n\n:host(.btn-link:not([disabled]):hover),\n:host(.btn-link:not([disabled]).focus-visible) {\n color: var(--road-primary-30);\n}\n\n/* OUTLINE\n -------------------- */\n\n:host(.btn-outline-primary),\n:host(.btn-outline-secondary),\n:host(.btn-outline-default) {\n background: transparent;\n}\n\n/**\n * Outline default\n */\n\n:host(.btn-outline-default) {\n color: var(--road-on-surface-weak);\n background: var(--road-surface);\n border-color: var(--road-outline);\n}\n\n:host(.btn-outline-default) ::slotted(road-icon) {\n color: var(--road-on-surface-weak);\n}\n\n:host(.btn-outline-default:hover),\n:host(.btn-outline-default.focus-visible) {\n background: var(--road-grey-80);\n}\n\n/**\n * Ghost\n */\n\n\n:host(.btn-ghost) ::slotted(road-icon) {\n color: var(--road-icon);\n}\n\n:host(.btn-ghost:hover),\n:host(.btn-ghost.focus-visible) {\n background: var(--road-button-ghost-variant);\n}\n\n/**\n * Outline primary\n */\n\n:host(.btn-outline-primary) {\n color: var(--road-button-primary);\n border-color: var(--road-button-primary);\n}\n\n:host(.btn-outline-primary) ::slotted(road-icon) {\n color: var(--road-button-primary);\n}\n\n:host(.btn-outline-primary:hover),\n:host(.btn-outline-primary.focus-visible) {\n background: var(--road-button-tertiary-variant);\n}\n\n/**\n * Outline secondary\n */\n\n:host(.btn-outline-secondary) {\n color: var(--road-button-secondary);\n border-color: var(--road-button-secondary);\n}\n\n:host(.btn-outline-secondary) ::slotted(road-icon) {\n color: var(--road-button-secondary);\n}\n\n:host(.btn-outline-secondary:hover),\n:host(.btn-outline-secondary.focus-visible) {\n background: var(--road-button-tertiary-variant);\n}\n\n/* DISABLED\n -------------------- */\n\n:host([aria-disabled]) {\n color: var(--road-on-surface-disabled);\n pointer-events: none;\n cursor: not-allowed;\n background-color: var(--road-surface-disabled);\n border-color: 1px solid var(--road-surface-disabled);\n}\n\n:host([aria-disabled]) ::slotted(road-icon){\n color: var(--road-on-surface-disabled);\n}\n\n.button-native:disabled {\n cursor: not-allowed;\n}\n\n/* SIZES\n -------------------- */\n\n::slotted([slot=\"start\"]) {\n margin-right: 0.5rem;\n}\n\n::slotted([slot=\"end\"]) {\n margin-left: 0.5rem;\n}\n\n/**\n * Extra Large\n */\n\n:host(.btn-xl) {\n height: 3.5rem;\n}\n\n:host(.btn-xl) ::slotted(road-icon) {\n width: 2rem;\n height: 2rem;\n}\n\n:host(.btn-icon.btn-xl) {\n width: 56px;\n}\n\n\n/**\n * Large\n */\n\n:host(.btn-lg) {\n height: 3rem;\n}\n\n:host(.btn-lg) ::slotted(road-icon) {\n width: 2rem;\n height: 2rem;\n}\n\n\n:host(.btn-icon.btn-lg) {\n width: 48px;\n}\n\n/**\n * Medium\n */\n\n:host(.btn-md) {\n --font-size: var(--road-font-size-14);\n\n height: 2.5rem;\n}\n\n:host(.btn-md) ::slotted(road-icon) {\n width: 1.5rem;\n height: 1.5rem;\n}\n\n:host(.btn-icon.btn-md) {\n width: 40px;\n}\n\n/**\n * Small\n */\n\n:host(.btn-sm) {\n --font-size: var(--road-font-size-14);\n\n height: 2rem;\n}\n\n:host(.btn-sm) ::slotted(road-icon) {\n width: 1.25rem;\n height: 1.25rem;\n}\n\n:host(.btn-icon.btn-sm) {\n width: 32px;\n}\n\n/**\n * Button block\n */\n\n:host(.btn-block) {\n width: 100%;\n}\n\n:host(.btn-icon) .button-native{\n padding: 0;\n}\n\n\n/* BADGE\n -------------------- */\n\n::slotted(road-badge) {\n position: absolute;\n top: 4px;\n left: calc(50% + 0.375rem);\n box-sizing: border-box;\n height: auto;\n}\n","import { Component, Element, Event, EventEmitter, Host, Prop, h } from '@stencil/core';\n\nimport './../../utils/polyfill';\n\n/**\n * @slot - Content of the button.\n * ex if onlyIcon `<road-icon name=\"shopping-cart-add\"></road-icon>`\n * @slot start - Left content of the button text, usually for icon.\n * @slot end - Right content of the button text, usually icon.\n *\n * @part native - The native HTML button or anchor element that wraps all child elements.\n */\n\n@Component({\n tag: 'road-button',\n styleUrl: 'button.css',\n shadow: true,\n})\nexport class Button {\n\n @Element() el!: HTMLRoadButtonElement;\n\n /**\n * The color to use from your application's color palette.\n */\n @Prop() color?: 'primary' | 'secondary' | 'ghost' |'default' = 'default';\n\n /**\n * The button size.\n */\n @Prop({ reflect: true }) size?: 'sm' | 'md' | 'lg' | 'xl' = 'lg';\n\n /**\n * The type of the button.\n */\n @Prop() buttonType: 'submit' | 'reset' | 'button' = 'button';\n\n /**\n * If `true`, display only an icon in the button.\n */\n @Prop({ reflect: true }) iconOnly: 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 * Set to `true` for a full-width button.\n */\n @Prop({ reflect: true }) expand: boolean = false;\n\n /**\n * This attribute instructs browsers to download a URL instead of navigating to\n * it, so the user will be prompted to save it as a local file. If the attribute\n * has a value, it is used as the pre-filled file name in the Save prompt\n * (the user can still change the file name if they want).\n */\n @Prop() download: string | undefined;\n\n /**\n * Contains a URL or a URL fragment that the hyperlink points to.\n * If this property is set, an anchor tag will be rendered.\n */\n @Prop() href?: string;\n\n /**\n * Specifies the relationship of the target object to the link object.\n * The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\n */\n @Prop() rel?: string;\n\n /**\n * Specifies where to display the linked URL.\n * Only applies when an `href` is provided.\n * Special keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`.\n */\n @Prop() target?: string;\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 * Emitted when the button has focus.\n */\n @Event() roadfocus!: EventEmitter<void>;\n /** @internal */\n @Event() roadFocus!: EventEmitter<void>;\n\n /**\n * Emitted when the button loses focus.\n */\n @Event() roadblur!: EventEmitter<void>;\n /** @internal */\n @Event() roadBlur!: EventEmitter<void>;\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.type = this.buttonType;\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 { buttonType, disabled, href, rel, target, color } = this;\n const TagType = this.href === undefined ? 'button' : 'a' as any;\n const attrs = (TagType === 'button')\n ? { type: buttonType }\n : {\n download: this.download,\n href,\n rel,\n target,\n };\n const colorClass = this.outline ? `btn-outline-${color}` : `btn-${color}`;\n const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';\n const expandClass = this.expand ? 'btn-block' : '';\n const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';\n\n return (\n <Host\n class={`${colorClass} ${sizeClass} ${expandClass} ${iconOnlyClass}`}\n onClick={this.onClick}\n aria-disabled={disabled ? 'true' : null}\n >\n <TagType\n {...attrs}\n class=\"button-native\"\n part=\"native\"\n disabled={disabled}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n <slot name=\"start\"/>\n <slot/>\n <slot name=\"end\"/>\n </TagType>\n </Host>\n );\n }\n}",":host {\n position: relative;\n flex-basis: 0;\n flex-grow: 1;\n width: 100%;\n max-width: 100%;\n min-height: 1px;\n padding-right: 8px;\n padding-left: 8px;\n}\n\n:host(.col-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n}\n\n:host(.col-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n}\n\n:host(.col-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n}\n\n:host(.col-3) {\n flex: 0 0 25%;\n max-width: 25%;\n}\n\n:host(.col-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n}\n\n:host(.col-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n}\n\n:host(.col-6) {\n flex: 0 0 50%;\n max-width: 50%;\n}\n\n:host(.col-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n}\n\n:host(.col-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n}\n\n:host(.col-9) {\n flex: 0 0 75%;\n max-width: 75%;\n}\n\n:host(.col-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n}\n\n:host(.col-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n}\n\n:host(.col-12) {\n flex: 0 0 100%;\n max-width: 100%;\n}\n\n:host(.offset-1) {\n margin-left: 8.3333%;\n}\n\n:host(.offset-2) {\n margin-left: 16.6667%;\n}\n\n:host(.offset-3) {\n margin-left: 25%;\n}\n\n:host(.offset-4) {\n margin-left: 33.3333%;\n}\n\n:host(.offset-5) {\n margin-left: 41.6667%;\n}\n\n:host(.offset-6) {\n margin-left: 50%;\n}\n\n:host(.offset-7) {\n margin-left: 58.3333%;\n}\n\n:host(.offset-8) {\n margin-left: 66.6667%;\n}\n\n:host(.offset-9) {\n margin-left: 75%;\n}\n\n:host(.offset-10) {\n margin-left: 83.3333%;\n}\n\n:host(.offset-11) {\n margin-left: 91.6667%;\n}\n\n@media (min-width: 576px) {\n\n :host(.col-sm) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-sm-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-sm-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-sm-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-sm-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-sm-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-sm-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-sm-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-sm-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-sm-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-sm-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-sm-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-sm-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-sm-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-sm-0) {\n margin-left: 0;\n }\n\n :host(.offset-sm-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-sm-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-sm-3) {\n margin-left: 25%;\n }\n\n :host(.offset-sm-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-sm-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-sm-6) {\n margin-left: 50%;\n }\n\n :host(.offset-sm-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-sm-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-sm-9) {\n margin-left: 75%;\n }\n\n :host(.offset-sm-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-sm-11) {\n margin-left: 91.6667%;\n }\n}\n\n@media (min-width: 768px) {\n\n :host(.col-md) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-md-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-md-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-md-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-md-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-md-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-md-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-md-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-md-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-md-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-md-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-md-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-md-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-md-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-md-0) {\n margin-left: 0;\n }\n\n :host(.offset-md-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-md-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-md-3) {\n margin-left: 25%;\n }\n\n :host(.offset-md-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-md-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-md-6) {\n margin-left: 50%;\n }\n\n :host(.offset-md-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-md-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-md-9) {\n margin-left: 75%;\n }\n\n :host(.offset-md-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-md-11) {\n margin-left: 91.6667%;\n }\n}\n\n@media (min-width: 992px) {\n\n :host(.col-lg) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-lg-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-lg-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-lg-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-lg-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-lg-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-lg-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-lg-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-lg-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-lg-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-lg-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-lg-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-lg-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-lg-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-lg-0) {\n margin-left: 0;\n }\n\n :host(.offset-lg-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-lg-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-lg-3) {\n margin-left: 25%;\n }\n\n :host(.offset-lg-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-lg-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-lg-6) {\n margin-left: 50%;\n }\n\n :host(.offset-lg-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-lg-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-lg-9) {\n margin-left: 75%;\n }\n\n :host(.offset-lg-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-lg-11) {\n margin-left: 91.6667%;\n }\n}\n\n@media (min-width: 1200px) {\n\n :host(.col-xl) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-xl-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-xl-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-xl-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-xl-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-xl-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-xl-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-xl-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-xl-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-xl-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-xl-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-xl-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-xl-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-xl-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-xl-0) {\n margin-left: 0;\n }\n\n :host(.offset-xl-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-xl-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-xl-3) {\n margin-left: 25%;\n }\n\n :host(.offset-xl-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-xl-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-xl-6) {\n margin-left: 50%;\n }\n\n :host(.offset-xl-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-xl-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-xl-9) {\n margin-left: 75%;\n }\n\n :host(.offset-xl-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-xl-11) {\n margin-left: 91.6667%;\n }\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @slot - Content of the column.\n */\n\n@Component({\n tag: 'road-col',\n styleUrl: 'col.css',\n shadow: true,\n})\nexport class Col {\n\n render() {\n return (\n <slot/>\n );\n }\n\n}\n","/*\n * Counter\n *\n * Index\n * - Input\n * - Buttons\n * - Sizes\n */\n\n/**\n * @prop --counter-margin-bottom: margin bottom of the field\n */\n\n:host {\n position: relative;\n z-index: 0;\n display: block;\n}\n\n/* INPUT\n -------------------- */\n\nroad-input {\n --input-text-align: center;\n --border-radius: 0;\n --margin-bottom: 0;\n}\n\n.test{\ndisplay: none;\n}\n\n\n/* BUTTONS\n -------------------- */\n\nroad-button {\n width: 3rem;\n font-size: var(--road-font-size-24);\n line-height: 1.4;\n background: var(--road-surface);\n border: 1px solid var(--road-button-tertiary-outline);\n}\n\nroad-button:hover,\nroad-button:focus {\n background: var(--road-button-tertiary-variant);\n}\n\nroad-button road-icon{\n display: flex;\n fill: var(--road-primary);\n}\n\n.disabled {\n margin-right: -1px;\n margin-left: -1px;\n pointer-events: none;\n cursor: not-allowed;\n background: var(--road-surface-disabled);\n border: 1px solid var(--road-on-surface-disabled);\n opacity: inherit;\n}\n\n.disabled:focus {\n background: var(--road-disabled);\n}\n\n.disabled road-icon {\n fill: var(--road-grey-50);\n}\n\n\n/* SIZES\n -------------------- */\n\nroad-button.btn-md{\n width: 2.5rem;\n}\n\nroad-button.btn-sm{\n width: 2rem;\n}\n\n.counter-md {\n height: 2.5rem;\n}\n\n.counter-sm {\n height: 2rem;\n}\n\n.counter-md road-input {\n --height: 2.5rem;\n}\n\n.counter-md road-button {\n min-width: 2.5rem;\n}\n\n.counter-sm road-input {\n --height: 2rem;\n}\n\n.counter-sm road-button {\n min-width: 2rem;\n}\n","import { Component, h, Prop, Element, Event, EventEmitter, State, Watch } from '@stencil/core';\n\n@Component({\n tag: 'road-counter',\n styleUrl: 'counter.css',\n scoped: true,\n})\nexport class Counter {\n\n @Element() el!: HTMLRoadCounterElement;\n\n iconCounterLess!: HTMLRoadIconElement;\n\n inputElement!: HTMLRoadInputElement;\n\n @State() leftIconClasses: string = \"\";\n\n @State() rightIconClasses: string = \"\";\n\n @State() isDustbinVisible: boolean = false;\n\n /**\n * The id of counter\n */\n @Prop() inputId: string = `road-counter-${counterIds++}`;\n\n /**\n * The minimum value, which must not be greater than its maximum (max attribute) value.\n */\n @Prop() min: number = 0;\n\n /**\n * The maximum value, which must not be less than its minimum (min attribute) value.\n */\n @Prop() max?: number;\n\n /**\n * Works with the min and max attributes to limit the increments at which a value can be set.\n * Possible values are: `\"any\"` or a positive floating point number.\n */\n @Prop() step?: string;\n\n /**\n * The value of the counter.\n */\n @Prop() value: number = 1;\n\n /**\n * The size of the counter.\n */\n @Prop() size?: 'sm' | 'md' | 'lg' = \"lg\";\n\n /**\n * Set to `true` to add the dustbin icon if the value is equal to the min.\n */\n @Prop() dustbin: boolean = false;\n\n /**\n * Set to `true` to not modify the input field\n */\n @Prop() readonly: boolean = false;\n\n /**\n * Emitted when the plus button is clicked\n */\n @Event() roadIncrease!: EventEmitter<{\n value: number | undefined | null;\n }>;\n\n /**\n * Emitted when the minus button is clicked\n */\n @Event() roadDecrease!: EventEmitter<{\n value: number | undefined | null;\n }>;\n\n /**\n * Emitted when the minus button is clicked\n */\n @Event() roadChange!: EventEmitter<{\n value: number | undefined | null;\n }>;\n\n /**\n * Emitted when the dustbin is clicked\n */\n @Event() roadDustbinClick!: EventEmitter<void>;\n\n @Watch('value')\n private onValueChange(valueInput: number) {\n this.setIsDustbinVisible(valueInput);\n this.setIconsClasses(valueInput);\n }\n\n private setIconsClasses(valueInput?: number) {\n valueInput = valueInput ?? parseInt(this.inputElement.querySelector('input')!.value as string);\n\n this.leftIconClasses = valueInput <= this.min && !this.dustbin ? \"disabled\" : \"\";\n this.rightIconClasses = this.max && valueInput >= this.max ? \"disabled\" : \"\";\n }\n\n private setIsDustbinVisible = (valueInput: number) => {\n if (valueInput > this.min) {\n this.isDustbinVisible = false;\n } else if (this.dustbin) {\n this.isDustbinVisible = true;\n }\n else {\n this.isDustbinVisible = false;\n }\n }\n\n private increase = () => {\n (this.inputElement as unknown as HTMLInputElement).querySelector('input')!.stepUp();\n let valueInput = parseInt(this.inputElement.querySelector('input')!.value as string);\n if(!valueInput) {\n valueInput = this.min\n };\n this.onValueChange(valueInput);\n this.roadIncrease.emit({ value: valueInput });\n };\n\n private decrease = () => {\n if(this.isDustbinVisible){\n this.roadDustbinClick.emit();\n return;\n }\n\n (this.inputElement as unknown as HTMLInputElement).querySelector('input')!.stepDown();\n\n let valueInput = parseInt(this.inputElement.querySelector('input')!.value as string);\n if(!valueInput) {\n valueInput = this.min\n };\n this.onValueChange(valueInput);\n\n this.roadDecrease.emit({ value: valueInput });\n };\n\n private checkValue = (ev: Event) => {\n const input = ev.target as HTMLInputElement;\n const value = input.value && parseInt(input.value)\n\n if (value == null || value === \"\") return;\n\n if (value < this.min) {\n input.value = this.min.toString()\n }\n else if (this.max && value > this.max) {\n input.value = this.max.toString()\n }\n\n this.onValueChange(parseInt(input.value));\n }\n\n private onRoadChange = (ev: Event) => {\n ev.stopPropagation();\n const input = ev.target as HTMLInputElement;\n const value = input.value && parseInt(input.value)\n if (value !== null && value !== \"\") {\n if (value < this.min) {\n this.roadChange.emit({ value: this.min });\n }\n else if (this.max && value > this.max) {\n this.roadChange.emit({ value: this.max });\n }\n else {\n this.roadChange.emit({ value: parseInt(input.value) });\n }\n }\n else {\n this.roadChange.emit({ value: null });\n }\n };\n\n componentWillLoad() {\n this.onValueChange(this.value);\n }\n\n componentDidLoad() {\n // Cacher le label pour accessibilité\n\n const label = this.el.querySelector('.form-label') as HTMLElement;\n const input = this.el.querySelector('.form-control.sc-road-input') as HTMLElement;\n if (label) {\n label.style.clip = 'rect(0 0 0 0)';\n label.style.border = '0';\n label.style.height = '1px';\n label.style.left = '0';\n label.style.margin = '-1px';\n label.style.overflow = 'hidden';\n label.style.padding = '0';\n label.style.position = 'absolute';\n label.style.top = '0';\n label.style.width = '1px';\n\n input.style.padding = '0 1rem 0';\n \n }\n }\n\n render() {\n\n const dataCi = this.isDustbinVisible ? \"road-dustbin\" : \"\";\n\n return (\n <road-input-group\n class={this.size && `counter-${this.size}`}\n >\n <road-button\n slot=\"prepend\"\n size={this.size}\n onClick={this.decrease}\n class={this.leftIconClasses}\n data-cy=\"road-decrease\"\n >\n <road-icon\n name={this.isDustbinVisible ? \"delete-forever\" : \"navigation-add-less\"}\n ref={(el) => this.iconCounterLess = el as HTMLRoadIconElement}\n size={this.size}\n data-cy={dataCi}\n role=\"button\"\n />\n </road-button>\n <road-input\n ref={(el) => this.inputElement = el as HTMLRoadInputElement}\n type=\"number\"\n min={this.min.toString()}\n max={(this.max && this.max.toString()) as string}\n step={this.step}\n value={this.value}\n onRoadChange={this.onRoadChange}\n onKeyUp={this.checkValue}\n data-cy=\"road-input-counter\"\n readonly={this.readonly}\n label=\"Quantité\"\n />\n <road-button\n slot=\"append\"\n size={this.size}\n onClick={this.increase}\n class={this.rightIconClasses}\n data-cy=\"road-increase\"\n >\n <road-icon\n name=\"navigation-add-more\"\n size={this.size}\n role=\"button\"\n />\n </road-button>\n </road-input-group>\n );\n }\n}\n\nlet counterIds = 0;\n","/*\n * Drawer\n *\n * Index\n * - Overlay\n * - Drawer\n * - Position\n * - Content\n * - Header\n * - Actions\n * - Title\n * - Body\n * - Open state\n */\n\n/**\n * @prop --background: background color of the content of the drawer.\n * @prop --color: text color of the content of the drawer.\n * @prop --header-icon: color of the header icons.\n * @prop --header-color: color of the header text.\n * @prop --header-background: color of the header background.\n * @prop --header-delimiter: size of the border delimiter (in px) at the bottom of the header\n * @prop --back-chevron-color: color of back chevron\n * @prop --max-height: max-height of the drawer for bottom position\n * @prop --z-index: The z-index of the Drawer.\n */\n\n/* OVERLAY\n -------------------- */\n\n:host {\n --background: var(--road-surface);\n --color: var(--road-on-surface);\n --header-icon: var(--road-on-surface);\n --header-color: var(--road-on-surface);\n --header-background: var(--road-surface);\n --header-delimiter: 0;\n --back-chevron-color: var(--road-icon);\n --max-height: auto;\n --z-index: 10;\n\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--z-index);\n display: flex;\n justify-content: flex-start;\n width: 100%;\n height: 100%;\n overflow: hidden;\n font-family: var(--road-font, sans-serif);\n line-height: 1.5;\n color: var(--color);\n visibility: hidden !important;\n opacity: 0;\n transition: opacity 0.15s linear, visibility 0.15s;\n}\n\n/* OVERLAY\n -------------------- */\n\n.drawer-overlay {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n touch-action: none;\n cursor: pointer;\n background: var(--road-overlay);\n}\n\n/* DRAWER\n -------------------- */\n\n.drawer-dialog {\n position: relative;\n width: 100%;\n pointer-events: none;\n transition: transform 0.3s ease-out;\n transform: translateX(-100%);\n}\n\n/* POSITION\n -------------------- */\n\n:host(.drawer-right) {\n justify-content: flex-end;\n}\n\n:host(.drawer-right) .drawer-dialog {\n transform: translateX(100%);\n}\n\n/**\n * Bottom position\n */\n\n:host(.drawer-bottom) {\n align-items: flex-end;\n}\n\n:host(.drawer-bottom) .drawer-dialog {\n width: 100%;\n max-height: var(--max-height);\n transform: translateY(100%);\n}\n\n:host(.drawer-bottom) .drawer-content {\n height: auto;\n}\n\n/* CONTENT\n -------------------- */\n\n.drawer-content {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100vh;\n pointer-events: auto;\n background-color: var(--background);\n background-clip: padding-box;\n box-shadow: var(--road-elevation-hight);\n}\n\n/* HEADER\n -------------------- */\n\n.drawer-header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: flex-end;\n height: 3.5rem;\n color: var(--header-color);\n background: var(--header-background);\n border-color: var(--road-grey-300);\n border-style: solid;\n border-width: var(--header-delimiter);\n}\n\n.drawer-header road-icon {\n flex-shrink: 0;\n color: var(--header-icon);\n}\n\n/**\n * Header inverse colors\n */\n\n.drawer-header-inverse {\n --header-icon: var(--road-on-primary);\n --header-color: var(--road-on-primary);\n --header-background: var(--road-primary-variant);\n\n margin-bottom: 2.5rem;\n}\n\n/* ACTIONS\n -------------------- */\n\n.drawer-action,\n.drawer-close {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 3.5rem;\n padding: 0.5rem;\n font-family: inherit;\n font-size: 0.875rem;\n color: inherit;\n cursor: pointer;\n background: transparent;\n border: 0;\n appearance: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.drawer-header:not(.drawer-header-inverse) .drawer-action road-icon {\n color: var(--back-chevron-color);\n}\n\n.drawer-action ~ .drawer-title,\n.drawer-close ~ .drawer-title {\n padding-left: 0;\n}\n\n.drawer-action-left,\n.drawer-close-left {\n margin-right: auto;\n}\n\n/* TITLE\n -------------------- */\n\n.drawer-title {\n display: flex;\n flex-grow: 1;\n align-items: center;\n justify-content: center;\n height: 3.5rem;\n padding-left: 3.5rem;\n margin: 0;\n font-size: var(--road-body-medium);\n}\n\n/* BODY\n -------------------- */\n\n.drawer-body {\n overflow-y: auto;\n}\n\n:host(.drawer-right) .drawer-body,\n:host(.drawer-left) .drawer-body {\n height: calc(100vh - 3.5rem);\n}\n\n.drawer-inner {\n padding: 0 1rem 2.5rem;\n}\n\n@media (min-width: 768px) {\n\n .drawer-inner {\n padding: 0 2rem 2.5rem;\n }\n}\n\n/* OPEN STATE\n -------------------- */\n\n:host(.drawer-open) {\n visibility: visible !important;\n opacity: 1;\n}\n\n:host(.drawer-open) .drawer-dialog {\n transform: none;\n}\n","import { Component, Element, Event, EventEmitter, Listen, Method, Prop, h, Host, Watch } from '@stencil/core';\nimport { navigationClose, navigationChevron } from '../../../icons';\n\n/**\n * @slot - Content of the drawer.\n * @slot title - replace the title with a custom title section when `'drawerTitle'` is not set\n *\n */\n\n@Component({\n tag: 'road-drawer',\n styleUrl: 'drawer.css',\n shadow: true,\n})\nexport class Drawer {\n\n /**\n * Current reference of the drawer\n */\n @Element() el!: HTMLRoadDrawerElement;\n\n /**\n * Set isOpen property to true to open the drawer\n */\n @Prop({ mutable: true }) isOpen: boolean = false;\n\n /**\n * position of the drawer. e.g. left, right, bottom\n */\n @Prop() position: string = 'left';\n\n /**\n * Width of the drawer\n */\n @Prop() drawerWidth: number = 480;\n\n /**\n * Inverse header colors\n */\n @Prop() hasInverseHeader: boolean = false;\n\n /**\n * Show / hide back icon\n */\n @Prop() hasBackIcon: boolean = false;\n\n /**\n * Show / hide back icon\n */\n @Prop() backText?: string;\n\n /**\n * Title of the drawer in the header bar\n */\n @Prop() drawerTitle?: string;\n\n /**\n * Show / hide close icon\n */\n @Prop() hasCloseIcon: boolean = true;\n\n /**\n * Indicate when opening the drawer\n */\n @Event({ eventName: 'open' }) onOpen!: EventEmitter<void>;\n\n /**\n * Indicate when closing the drawer\n */\n @Event({ eventName: 'close' }) onClose!: EventEmitter<void>;\n\n /**\n * Indicate when return to previous state of the drawer content\n */\n @Event({ eventName: 'back' }) onBack!: EventEmitter<void>;\n\n /**\n * Open the drawer\n */\n @Method()\n async open() {\n this.isOpen = true;\n }\n\n /**\n * Close the drawer\n */\n @Method()\n async close() {\n this.isOpen = false;\n }\n\n /**\n * Return to previous state of the drawer content\n */\n @Method()\n async back() {\n this.onBack.emit();\n }\n\n @Watch('isOpen')\n handleOpen(openValue: boolean) {\n if(openValue === true) {\n this.onOpen.emit();\n } else {\n this.el.addEventListener('transitionend', () => {\n this.onClose.emit();\n this.el.shadowRoot && ((this.el.shadowRoot.querySelector('.drawer-body') as HTMLElement).scrollTop = 0);\n }, { once: true});\n }\n }\n\n /**\n * Close the dialog when clicking on the cross or layer\n */\n private onClick = (ev: UIEvent) => {\n ev.stopPropagation();\n ev.preventDefault();\n\n this.close();\n };\n\n /**\n * Close the dialog when clicking on the cross or layer\n */\n private onClickBack = (event: MouseEvent) => {\n event.stopPropagation();\n event.preventDefault();\n\n this.back();\n };\n\n /**\n * Close the dialog when press Escape key\n */\n @Listen('keyup', { target: 'document' })\n onEscape(event: KeyboardEvent) {\n if (event.key === 'Escape' || event.key === \"Esc\") {\n this.close();\n }\n }\n\n /**\n * Call close function when clicking an element with data-dismiss=\"modal\" attribute\n */\n componentDidLoad() {\n this.el.querySelectorAll('[data-dismiss=\"modal\"]').forEach(item => {\n item.addEventListener('click', () => this.close());\n });\n }\n\n render() {\n const drawerIsOpenClass = this.isOpen ? 'drawer-open' : '';\n const inverseHeaderClass = this.hasInverseHeader ? 'drawer-header-inverse' : '';\n const drawerDelimiterClass = this.drawerTitle !== undefined && !this.hasInverseHeader ? 'drawer-delimiter' : '';\n const backIconElement = this.hasBackIcon ? <button type=\"button\" class=\"drawer-action\" aria-label=\"Back\" onClick={this.onClickBack}><road-icon icon={navigationChevron} rotate=\"180\"></road-icon>{this.backText}</button> : '';\n const closeIconElement = this.hasCloseIcon ? <button type=\"button\" class=\"drawer-close\" onClick={this.onClick} aria-label=\"Close\"><road-icon icon={navigationClose} aria-hidden=\"true\"></road-icon></button> : '';\n const drawerWidthValue = this.position === 'bottom' ? '100%' : this.drawerWidth + 'px';\n\n return (\n <Host class={`${drawerIsOpenClass} drawer-${this.position}`} tabindex=\"0\" role=\"dialog\" aria-label=\"drawer\">\n <div class=\"drawer-overlay\" onClick={this.onClick} tabindex=\"-1\"></div>\n <div class=\"drawer-dialog\" style={{ maxWidth: `${drawerWidthValue}` }} role=\"document\" tabindex=\"0\">\n <div class=\"drawer-content\">\n <header class={`drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}`}>\n {backIconElement}\n {this.drawerTitle !== undefined ? <h2 class=\"drawer-title\">{this.drawerTitle}</h2> : <div class=\"drawer-title\"><slot name=\"title\" /></div>}\n {closeIconElement}\n </header>\n <div class=\"drawer-body\">\n <slot/>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}",":host {\n box-sizing: border-box;\n display: block;\n width: 100%;\n padding-right: 8px;\n padding-left: 8px;\n margin-right: auto;\n margin-left: auto;\n}\n\n\n@media (min-width: 768px) {\n\n :host {\n padding-right: 24px;\n padding-left: 24px;\n }\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @slot - Content to add row components.\n */\n\n@Component({\n tag: 'road-grid',\n styleUrl: 'grid.css',\n shadow: true,\n})\nexport class Grid {\n\n render() {\n return (\n <slot/>\n );\n }\n\n}\n","import { isStr } from './utils';\n\nexport const validateContent = (svgContent: string) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-ion-icon').trim());\n\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm as any)) {\n return div.innerHTML;\n }\n }\n return '';\n};\n\nexport const isValid = (elm: HTMLElement) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n\n for (let i = 0; i < elm.attributes.length; i++) {\n const val = elm.attributes[i].value;\n if (isStr(val) && val.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i] as any)) {\n return false;\n }\n }\n }\n return true;\n};\n","import { validateContent } from './validate';\n\nexport const roadiconContent = new Map<string, string>();\nconst requests = new Map<string, Promise<any>>();\n\nexport const getSvgContent = (url: string, sanitize: boolean) => {\n // see if we already have a request for this url\n let req = requests.get(url);\n\n if (!req) {\n if (typeof fetch !== 'undefined' && typeof document !== 'undefined') {\n // we don't already have a request\n // @ts-ignore\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n roadiconContent.set(url, svgContent || '');\n });\n }\n roadiconContent.set(url, '');\n });\n\n // cache for the same requests\n requests.set(url, req);\n } else {\n // set to empty for ssr scenarios and resolve promise\n roadiconContent.set(url, '');\n return Promise.resolve();\n }\n }\n\n return req;\n};\n","/*\n * Icon\n *\n * Index\n * - Sizes\n * - Colors\n * - Rotation\n */\n\n:host {\n box-sizing: content-box;\n display: inline-block;\n color: var(--road-icon);\n transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n fill: currentColor;\n contain: strict;\n}\n\n:host svg {\n display: block;\n width: 100%;\n height: 100%;\n}\n\n/* SIZES\n -------------------- */\n\n:host(.icon-sm) {\n width: 1.25rem;\n height: 1.25rem;\n}\n\n:host(.icon-md) {\n width: 1.5rem;\n height: 1.5rem;\n}\n\n:host(.icon-lg) {\n width: 2rem;\n height: 2rem;\n}\n\n:host(.icon-3x) {\n width: 3rem;\n height: 3rem;\n}\n\n:host(.icon-4x) {\n width: 4rem;\n height: 4rem;\n}\n\n/* COLORS\n -------------------- */\n\n:host(.icon-primary) {\n color: var(--road-primary-50);\n fill: currentColor;\n}\n\n:host(.icon-secondary) {\n color: var(--road-secondary-50);\n fill: currentColor;\n}\n\n:host(.icon-accent) {\n color: var(--road-secondary-50);\n fill: currentColor;\n}\n\n:host(.icon-info) {\n color: var(--road-info-default);\n fill: currentColor;\n}\n\n:host(.icon-success) {\n color: var(--road-success-default);\n fill: currentColor;\n}\n\n:host(.icon-warning) {\n color: var(--road-warning-default);\n fill: currentColor;\n}\n\n:host(.icon-danger) {\n color: var(--road-danger-default);\n fill: currentColor;\n}\n\n:host(.icon-default) {\n color: var(--road-icon);\n fill: currentColor;\n}\n\n:host(.icon-white) {\n color: var(--road-icon-inverse);\n fill: currentColor;\n}\n\n/* ROTATION\n -------------------- */\n\n:host(.icon-rotate-90) {\n transform: rotate(90deg);\n}\n\n:host(.icon-rotate-180) {\n transform: rotate(180deg);\n}\n\n:host(.icon-rotate-270) {\n transform: rotate(270deg);\n}\n","import { Build, Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\nimport { getSvgContent, roadiconContent } from './request';\nimport { getName, getUrl } from './utils';\n\nimport { Color } from '../../interface';\n\n@Component({\n tag: 'road-icon',\n assetsDirs: ['svg'],\n styleUrl: 'icon.css',\n shadow: true,\n})\nexport class Icon {\n private io?: IntersectionObserver;\n\n @Element() el!: HTMLRoadIconElement;\n\n @State() private svgContent?: string;\n\n @State() private isVisible = false;\n\n /**\n * Color of the icon\n */\n @Prop() color?: Color | 'white';\n\n /**\n * Specifies the label to use for accessibility. Defaults to the icon name.\n */\n @Prop({ mutable: true, reflect: true }) ariaLabel?: string;\n\n /**\n * Set the icon to hidden, respectively `true`, to remove it from the accessibility tree.\n */\n @Prop({ reflect: true }) ariaHidden?: string;\n\n /**\n * Specifies which icon to use from the built-in set of icons.\n */\n @Prop() name?: string;\n\n /**\n * Specifies the exact `src` of an SVG file to use.\n */\n @Prop() src?: string;\n\n /**\n * A combination of both `name` and `src`. If a `src` url is detected\n * it will set the `src` property. Otherwise it assumes it's a built-in named\n * SVG and set the `name` property.\n */\n @Prop() icon?: any;\n\n /**\n * The size of the icon.\n * Available options are: `\"sm\"`, `\"md\"`, `\"lg\"`, `\"3x\"` and `\"4x\"`.\n */\n @Prop() size?: 'sm' | 'md' | 'lg' | '3x' | '4x' = \"lg\";\n\n /**\n * The rotation of the icon.\n * Available options are: `\"90\"`, `\"180\"`, `\"270\"`.\n */\n @Prop() rotate?: '90' | '180' | '270';\n\n /**\n * If enabled, road-icon will be loaded lazily when it's visible in the viewport.\n * Default, `false`.\n */\n @Prop() lazy: boolean = false;\n\n /**\n * When set to `false`, SVG content that is HTTP fetched will not be checked\n * if the response SVG content has any `<script>` elements, or any attributes\n * that start with `on`, such as `onclick`.\n */\n @Prop() sanitize = true;\n\n componentWillLoad() {\n\n this.waitUntilVisible(this.el, '50px', () => {\n this.isVisible = true;\n this.loadIcon();\n });\n }\n\n disconnectedCallback() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n\n private waitUntilVisible(el: HTMLRoadIconElement, rootMargin: string, cb: () => void) {\n if (this.lazy && (window as any).IntersectionObserver) {\n const io = this.io = new (window as any).IntersectionObserver((data: IntersectionObserverEntry[]) => {\n if (data[0].isIntersecting) {\n io.disconnect();\n this.io = undefined;\n cb();\n }\n }, { rootMargin });\n\n io.observe(el);\n\n } else {\n // browser doesn't support IntersectionObserver\n // so just fallback to always show it\n cb();\n }\n }\n\n @Watch('name')\n @Watch('src')\n @Watch('icon')\n loadIcon() {\n if (Build.isBrowser && this.isVisible) {\n const url = getUrl(this);\n if (url) {\n if (roadiconContent.has(url)) {\n // sync if it's already loaded\n this.svgContent = roadiconContent.get(url);\n } else {\n // async if it hasn't been loaded\n getSvgContent(url, this.sanitize).then(() => (this.svgContent = roadiconContent.get(url)));\n }\n }\n }\n\n if (!this.ariaLabel && this.ariaHidden !== 'true') {\n const label = getName(this.name, this.icon);\n // user did not provide a label\n // come up with the label based on the icon name\n if (label) {\n this.ariaLabel = label.replace(/-/g, ' ');\n }\n }\n }\n\n render() {\n const colorClass = this.color !== undefined ? `icon-${this.color}` : '';\n const sizeClass = this.size !== undefined ? `icon-${this.size}` : '';\n const rotateClass = this.rotate !== undefined ? `icon-rotate-${this.rotate}` : '';\n\n return (\n <Host class={`${colorClass} ${sizeClass} ${rotateClass}`} aria-hidden=\"true\">\n {(\n (this.svgContent !== '')\n ? <div class=\"icon-inner\" innerHTML={this.svgContent}></div>\n : <div class=\"icon-inner\"></div>\n )}\n </Host>\n );\n }\n}","/*\n * Input\n *\n * Index\n * - Input\n * - Textarea\n * - Label\n * - Sizes\n * - Error\n * - Helper\n */\n\n/**\n * @prop --border-radius: Border radius of the field\n * @prop --height: height of the field\n * @prop --input-text-align: align the content of the field\n * @prop --margin-bottom: Bottom margin of the field\n */\n\n\n:host {\n --height: 3rem;\n --border-radius: 0.25rem;\n --input-text-align: left;\n --margin-bottom: 1rem;\n\n position: relative;\n display: block;\n margin-bottom: var(--margin-bottom);\n font-family: var(--road-font, sans-serif);\n color: var(--road-grey-10);\n}\n\n/* INPUT\n -------------------- */\n\n.form-control {\n box-sizing: border-box;\n display: block;\n width: 100%;\n height: var(--height);\n padding: 0.75rem 1rem 0;\n margin: 0;\n font-size: var(--road-body-medium);\n color: var(--road-on-surface);\n text-align: var(--input-text-align);\n background: var(--road-surface);\n border: 1px solid var(--road-input-outline);\n border-radius: var(--border-radius);\n box-shadow: none;\n appearance: none;\n}\n\n/**\n * Remove native arrow on type number\n */\n\n.form-control[type=\"number\"] {\n appearance: textfield;\n}\n\n/**\n * Fix position of chrome native icon on type date and time\n */\n\n.form-control::-webkit-calendar-picker-indicator {\n margin-top: -0.75rem;\n}\n\n/**\n * Fix position of iOS date and time value\n */\n\n.form-control::-webkit-date-and-time-value {\n padding-top: 0.625rem;\n}\n\n/**\n * Placeholder\n */\n\n.form-control::placeholder {\n color: var(--road-on-surface-extra-weak);\n opacity: 1;\n}\n\n/**\n * Hover state\n */\n\n@media (hover: hover) {\n\n .form-control:not(:disabled):hover {\n border-color: var(--road-input-outline-variant);\n }\n}\n\n/**\n * Focus state\n */\n\n.form-control:focus ~ .form-label,\n.form-control[required]:valid ~ .form-label,\n.form-control.has-value ~ .form-label,\n.form-control[type=\"date\"] ~ .form-label,\n.form-control[type=\"time\"] ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n\n.form-control:placeholder-shown ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n\n/* stylelint-disable */\n\n/* IE FIX */\n\n.form-control:-ms-input-placeholder ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n/* stylelint-enable */\n\n.form-control:not(:disabled):focus,\n.form-control[autofocus] {\n border-color: var(--road-input-outline-variant);\n outline: 0;\n}\n\n/**\n * Disabled state\n */\n\n.form-control:disabled,\n.form-control[readonly] {\n cursor: not-allowed;\n background: var(--road-surface-disabled);\n opacity: 1;\n}\n\n/* LABEL\n -------------------- */\n\n.form-label {\n position: absolute;\n top: 0.75rem;\n left: 1rem;\n display: block;\n font-size: var(--road-body-medium);\n line-height: 1.5;\n color: var(--road-on-surface-weak);\n pointer-events: none;\n transition: transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;\n transform-origin: 0 0;\n}\n\n.form-control:required ~ .form-label::after{\n color: var(--road-danger-default);\n content: \" *\";\n}\n\n/**\n * less label\n */\n\n.less-label {\n padding-top: 0;\n}\n\n/* SIZES\n -------------------- */\n\n:host(.input-xl) {\n --height: 3.5rem;\n}\n\n:host(.input-xl) .form-control {\n padding: 1rem 1rem 0;\n}\n\n:host(.phone-number) .form-control {\n padding-left: 2rem;\n}\n\n:host(.phone-number) .form-label {\n left: 2rem;\n}\n\n:host(.input-xl) .form-label {\n top: 1rem;\n}\n\n:host(.input-xl) .form-control:focus ~ .form-label,\n:host(.input-xl) .form-control[autofocus] ~ .form-label,\n:host(.input-xl) .form-control[required]:valid ~ .form-label,\n:host(.input-xl) .form-control.has-value ~ .form-label,\n:host(.input-xl) .form-control[type=\"date\"] ~ .form-label,\n:host(.input-xl) .form-control[type=\"time\"] ~ .form-label {\n transform: scale(0.75) translateY(-0.625rem);\n}\n\n:host(.input-xl) .form-control:placeholder-shown ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n\n\n/* ERROR\n -------------------- */\n\n.invalid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.5rem;\n font-size: var(--road-helper-medium);\n color: var(--road-on-danger-surface);\n}\n\n.invalid-feedback road-icon{\n color: var(--road-danger-icon);\n margin-right: var(--road-spacing-02);\n}\n\n\n.form-control.is-invalid,\n.was-validated .form-control:invalid {\n border-color: var(--road-danger-outline);\n}\n\n.form-control.is-invalid ~ .invalid-feedback,\n.was-validated .form-control:invalid ~ .invalid-feedback {\n display: flex;\n}\n\n/* HELPER\n -------------------- */\n\n.helper {\n margin-top: 0.5rem;\n font-size: var(--road-body-small);\n color: var(--road-on-surface-weak);\n}\n\n\n/* PASSWORD\n -------------------- */\n\n.form-control[type=\"password\"] ~ .checklist-password .invalid{\n color: var(--road-on-surface-weak);\n}\n","import { Component, Event, EventEmitter, Host, Prop, Watch, h } from '@stencil/core';\n\nimport { AutocompleteTypes, TextFieldTypes } from '../../interface';\n\nconst debounceEvent = (event: EventEmitter, wait: number): EventEmitter => {\n const original = (event as any)._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait),\n } as EventEmitter;\n};\n\nconst debounce = (func: (...args: any[]) => void, wait = 0) => {\n let timer: any;\n return (...args: any[]): any => {\n clearTimeout(timer);\n timer = setTimeout(func, wait, ...args);\n };\n};\n\n/**\n * @slot checklistPassword - Content the checklist Password exemple.\n * `<div class=\"checklist-password mt-16\" slot=\"checklistPassword\">`\n ` <span class=\"checklist-password-label\"><strong>Low Safety</strong></span>`\n `<road-progress color=\"danger\" value=\"25\" class=\"mt-8 mb-16\"></road-progress>`\n `<p class=\"text-medium mb-8\">For optimal safety your password must have at least :</p>`\n `<ul class=\"m-0 pl-16\">`\n `<li id=\"letter\" class=\"invalid mb-8\">1 lowercase and 1 uppercase</li>`\n `<li id=\"number\" class=\"invalid mb-8\">1 digit</li>`\n `<li id=\"length\" class=\"invalid\">8 characters minimum</li>`\n `</ul>`\n `</div>`\n */\n\n@Component({\n tag: 'road-input',\n styleUrl: 'input.css',\n scoped: true,\n})\nexport class Input {\n\n /**\n * The id of input\n */\n @Prop() inputId: string = `road-input-${inputIds++}`;\n\n /**\n * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\n */\n @Prop() autocapitalize = 'off';\n\n /**\n * Indicates whether the value of the control can be automatically completed by the browser.\n */\n @Prop() autocomplete: AutocompleteTypes = 'off';\n\n /**\n * Whether auto correction should be enabled when the user is entering/editing the text value.\n */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /**\n * This Boolean attribute lets you specify that a form control should have input focus when the page loads.\n */\n @Prop() autofocus = false;\n\n /**\n * If `true`, the user cannot interact with the input.\n */\n @Prop() disabled = false;\n\n /**\n * A hint to the browser for which enter key to display.\n * Possible values: `\"enter\"`, `\"done\"`, `\"go\"`, `\"next\"`,\n * `\"previous\"`, `\"search\"`, and `\"send\"`.\n */\n @Prop() enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /**\n * A hint to the browser for which keyboard to display.\n * This attribute applies when the value of the type attribute is `\"text\"`, `\"password\"`, `\"email\"`, or `\"url\"`. Possible values are: `\"verbatim\"`, `\"latin\"`, `\"latin-name\"`, `\"latin-prose\"`, `\"full-width-latin\"`, `\"kana\"`, `\"katakana\"`, `\"numeric\"`, `\"tel\"`, `\"email\"`, `\"url\"`.\n */\n @Prop() inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';\n\n /**\n * The maximum value, which must not be less than its minimum (min attribute) value.\n */\n @Prop() max?: string;\n\n /**\n * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.\n */\n @Prop() maxlength?: number;\n\n /**\n * The minimum value, which must not be greater than its maximum (max attribute) value.\n */\n @Prop() min?: string;\n\n /**\n * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.\n */\n @Prop() minlength?: number;\n\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name: string = this.inputId;\n\n /**\n * A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.\n */\n @Prop() pattern?: string;\n\n /**\n * Instructional text that shows before the input has a value.\n */\n @Prop() placeholder?: string;\n\n /**\n * If `true`, the user cannot modify the value.\n */\n @Prop() readonly = false;\n\n /**\n * If `true`, the user must fill in a value before submitting a form.\n */\n @Prop() required = false;\n\n /**\n * If `true`, the element will have its spelling and grammar checked.\n */\n @Prop() spellcheck = false;\n\n /**\n * Works with the min and max attributes to limit the increments at which a value can be set.\n * Possible values are: `\"any\"` or a positive floating point number.\n */\n @Prop() step?: string;\n\n /**\n * The initial size of the control. This value is in pixels unless the value of the type attribute is `\"text\"` or `\"password\"`, in which case it is an integer number of characters. This attribute applies only when the `type` attribute is set to `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.\n */\n @Prop() size?: number;\n\n /**\n * The sizes of the input.\n */\n @Prop() sizes: 'lg' | 'xl' = 'lg';\n\n /**\n * The type of control to display. The default type is text.\n */\n @Prop() type: TextFieldTypes = 'text';\n\n /**\n * The value of the input.\n */\n @Prop({ mutable: true }) value?: string | number | null = '';\n\n /**\n * Label for the field\n */\n @Prop() label?: string = '';\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 * Set the amount of time, in milliseconds, to wait to trigger the `roadChange` event after each keystroke.\n */\n @Prop() debounce = 0;\n\n @Watch('debounce')\n protected debounceChanged() {\n this.roadchange = debounceEvent(this.roadchange, this.debounce);\n this.roadChange = debounceEvent(this.roadChange, this.debounce);\n }\n\n /**\n * Update the native input element when the value changes\n */\n @Watch('value')\n protected valueChanged() {\n this.roadchange.emit({ value: this.value == null ? this.value : this.value.toString() });\n this.roadChange.emit({ value: this.value == null ? this.value : this.value.toString() });\n }\n\n /**\n * Emitted when a keyboard input occurred.\n */\n @Event() roadinput!: EventEmitter<KeyboardEvent>;\n /** @internal */\n @Event() roadInput!: EventEmitter<KeyboardEvent>;\n\n /**\n * Emitted when the value has changed.\n */\n @Event() roadchange!: EventEmitter<{\n value: string | undefined | null;\n }>;\n /** @internal */\n @Event() roadChange!: EventEmitter<{\n value: string | undefined | null;\n }>;\n\n /**\n * Emitted when the input loses focus.\n */\n @Event() roadblur!: EventEmitter<string | null>; // Déclare roadblur pour transporter une valeur de type string ou null\n /** @internal */\n @Event() roadBlur!: EventEmitter<string | null>; // Déclare roadblur pour transporter une valeur de type string ou null\n\n /**\n * Emitted when the input has focus.\n */\n @Event() roadfocus!: EventEmitter<void>;\n /** @internal */\n @Event() roadFocus!: EventEmitter<void>;\n\n private getValue(): string {\n return typeof this.value === 'number'\n ? this.value.toString()\n : (this.value || '').toString();\n }\n\n // private onInput = (ev: Event) => {\n // const input = ev.target as HTMLInputElement | null;\n // if (input) {\n // this.value = input.value || \"\";\n // }\n // this.roadinput.emit(ev as KeyboardEvent);\n // this.roadInput.emit(ev as KeyboardEvent);\n // };\n\n private onInput = (ev: Event) => {\n const input = ev.target as HTMLInputElement | null;\n if (input) {\n let value = input.value || \"\";\n \n // Si le type est \"tel\", on vérifie si la valeur contient uniquement des chiffres ou le symbole \"+\"\n if (this.type === 'tel' && !/^\\+?[0-9]*$/.test(value)) {\n // Si la valeur n'est pas conforme, on ne la met pas à jour et on arrête la fonction\n return;\n }\n \n this.value = value;\n }\n this.roadinput.emit(ev as KeyboardEvent);\n this.roadInput.emit(ev as KeyboardEvent);\n };\n\n private onBlur = () => {\n let value = this.getValue();\n \n // Vérifier si les contraintes min et max sont définies\n if (this.min !== undefined && value !== '' && parseFloat(value) < parseFloat(this.min)) {\n value = this.min; // Ajuster la valeur à la valeur minimale\n }\n \n if (this.max !== undefined && value !== '' && parseFloat(value) > parseFloat(this.max)) {\n value = this.max; // Ajuster la valeur à la valeur maximale\n }\n \n this.value = value; // Mettre à jour la valeur avec la valeur ajustée\n \n // Émettre l'événement roadblur avec la valeur ajustée\n this.roadblur.emit(this.value);\n this.roadBlur.emit(this.value);\n };\n\n private onFocus = () => {\n this.roadfocus.emit();\n this.roadFocus.emit();\n };\n\n private enforceMinMax(el: HTMLInputElement): void {\n if (el.value !== \"\") {\n const value: number = parseInt(el.value);\n const minValue: number = parseInt(el.min);\n const maxValue: number = parseInt(el.max);\n\n if (value < minValue) {\n el.value = el.min;\n }\n\n if (value > maxValue) {\n el.value = el.max;\n }\n }\n}\n\n render() {\n const value = this.getValue();\n const labelId = this.inputId + '-label';\n const hasValueClass = this.value !== '' ? 'has-value' : '';\n const lessLabelClass = this.label !== '' ? '' : 'less-label';\n const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';\n\n return (\n <Host aria-disabled={this.disabled ? 'true' : null} class={this.sizes && `input-${this.sizes}`} value={value}>\n <input\n class={`form-control ${hasValueClass} ${isInvalidClass} ${lessLabelClass}`}\n id={this.inputId}\n aria-disabled={this.disabled ? 'true' : null}\n aria-labelledby={labelId}\n disabled={this.disabled}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n enterKeyHint={this.enterkeyhint}\n autoFocus={this.autofocus}\n inputMode={this.inputmode}\n min={this.min}\n max={this.max}\n minLength={this.minlength}\n maxLength={this.maxlength}\n name={this.name}\n pattern={this.pattern}\n placeholder={this.placeholder}\n readOnly={this.readonly}\n required={this.required}\n spellcheck={this.spellcheck}\n step={this.step}\n size={this.size}\n type={this.type}\n value={value}\n onInput={this.onInput}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n onKeyUp={(event: Event) => this.enforceMinMax(event.target as HTMLInputElement)}\n data-cy='road-input'\n\n />\n <label class=\"form-label\" id={labelId} htmlFor={this.inputId}>{this.label}</label>\n {this.error && this.error !== '' && <p class=\"invalid-feedback\"><road-icon slot=\"start\" name=\"alert-error-solid\" aria-hidden=\"true\" size=\"sm\"></road-icon>{this.error}</p>}\n {this.helper && this.helper !== '' && <p class=\"helper\">{this.helper}</p>}\n {this.type && this.type == 'password' &&\n <slot name=\"checklistPassword\"/>}\n </Host>\n );\n }\n}\n\nlet inputIds = 0;\n","/*\n * Input Group\n *\n * Easily extend form controls\n * by adding text, buttons, or button groups\n * on either side of textual inputs, custom selects, and custom file inputs.\n *\n * Index\n * - Input group\n * - Prepend / append\n * - Text or icon addon\n * - Round corners\n * - Error\n * - Disabled\n */\n\n:host {\n display: block;\n}\n\n/* INPUT GROUP\n -------------------- */\n\n.input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n font-family: var(--road-font, sans-serif);\n}\n\n::slotted(road-input),\n::slotted(input),\n::slotted(textarea),\n::slotted(road-select) {\n position: relative;\n flex: 1 1 auto;\n width: 1%;\n margin-bottom: 0;\n}\n\n/**\n * Remove border for append and prepend element\n * with white background\n */\n\n::slotted([slot=\"prepend\"]) {\n margin-right: -3px;\n border-color: var(--road-input-outline);\n border-right-color: transparent;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n::slotted([slot=\"append\"]) {\n margin-left: -0.25rem;\n border-color: var(--road-input-outline);\n border-left-width: 0;\n}\n\n/**\n * Hover state\n */\n\n@media (hover: hover) {\n\n .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n border-right-color: transparent;\n }\n\n .input-group:not(.is-disabled):hover ::slotted([slot=\"append\"]) {\n border-color: var(--road-input-outline-variant);\n border-left-color: transparent;\n }\n\n :host(.phone-number-group) .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n }\n}\n\n/**\n * Focus state\n */\n\n.input-group:focus-within ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n border-right-color: transparent;\n}\n\n:host(.phone-number-group) .input-group:focus-within ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n border-right-color: transparent;\n}\n\n.input-group:focus-within ::slotted([slot=\"append\"]) {\n border-color: var(--road-input-outline-variant);\n border-left-color: transparent;\n}\n\n/* PREPEND - APPEND\n -------------------- */\n\n.input-group-prepend,\n.input-group-append {\n display: flex;\n height: 3rem;\n}\n\n::slotted(road-button) {\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n\n position: relative;\n z-index: 2;\n min-width: 3rem;\n margin: 0;\n font-size: var(--road-font-size-14);\n}\n\n.input-group-prepend {\n z-index: 1;\n order: -1;\n}\n\n.input-group-prepend ~ .form-label {\n left: calc(3rem + 1px);\n}\n\n.input-group-append {\n position: relative;\n z-index: 1;\n border-radius: 0 0.25rem 0.25rem 0;\n}\n\n/* TEXT OR ICON ADDON\n -------------------- */\n\n::slotted(label) {\n display: flex;\n align-items: center;\n padding: 0 0.5rem;\n margin-bottom: 0;\n color: var(--road-on-surface);\n text-align: center;\n white-space: nowrap;\n cursor: text;\n background: var(--road-surface);\n border: 1px solid var(--road-input-outline);\n border-radius: 0.25rem;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n/* ROUND CORNERS\n -------------------- */\n\n::slotted(road-input:not(:first-child)),\n::slotted(road-select:not(:first-child)) {\n border-radius: 0;\n}\n\n.input-group-append ::slotted([slot=\"append\"]) {\n border-left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.input-group-prepend ::slotted([slot=\"prepend\"]) {\n border-right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n:host(.phone-number-group) .input-group-prepend ::slotted([slot=\"prepend\"]) {\n border-right: 1px solid var(--road-input-outline);\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group-prepend ::slotted(label) {\n margin-right: calc(-1rem + 1px);\n}\n\n.input-group-append ::slotted(road-button) {\n background-color: var(--road-surface);\n}\n\n/* SIZES\n -------------------- */\n\n.size-xl .input-group-prepend,\n.size-xl .input-group-append {\n height: 3.5rem;\n}\n\n.size-xl ::slotted(road-button) {\n height: 3.5rem;\n}\n\n/* ERROR\n -------------------- */\n\n.input-group.is-invalid ::slotted([slot=\"append\"]),\n.input-group.is-invalid ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-danger-outline);\n}\n\n:host(.phone-number-group) .input-group.is-invalid ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-danger-outline);\n}\n\n/* DISABLED\n -------------------- */\n\n.input-group.is-disabled ::slotted([slot=\"append\"]),\n.input-group.is-disabled ::slotted([slot=\"prepend\"]) {\n cursor: not-allowed;\n background: #e4e5e9;\n}\n\n.is-disabled ::slotted(road-button) {\n opacity: 1;\n}\n","import { Component, Element, h } from '@stencil/core';\n\n/**\n * @slot prepend - Add icon or button before the field.\n * @slot - Add the road-input or road-select here.\n * @slot append - Add icon or button after the field.\n */\n\n@Component({\n tag: 'road-input-group',\n styleUrl: 'input-group.css',\n shadow: true,\n})\nexport class InputGroup {\n\n @Element() el!: HTMLRoadInputGroupElement;\n\n componentDidLoad() {\n if(this.el.querySelector(\"road-input[disabled]\")) {\n this.el.querySelector(\"road-button\")?.setAttribute('disabled', \"\");\n }\n }\n\n\n render() {\n const errorClass = this.el.querySelector(\"road-input[error]\") ? 'is-invalid' : '';\n const disabledClass = this.el.querySelector(\"road-input[disabled]\") ? 'is-disabled' : '';\n const sizeClass = this.el.querySelector(\"road-input[sizes]\") ? `size-${(this.el.querySelector(\"road-input\") as HTMLRoadInputElement).sizes}` : '';\n\n return (\n <div class={`input-group ${errorClass} ${disabledClass} ${sizeClass}`}>\n <div class=\"input-group-prepend\">\n <slot name=\"prepend\"/>\n </div>\n <slot/>\n <div class=\"input-group-append\">\n <slot name=\"append\"/>\n </div>\n </div>\n );\n }\n}\n","/*\n * Item\n *\n * Index\n * - Native\n * - Inner\n * - Input\n * - Icons\n * - Buttons\n * - Lines\n */\n\n/**\n * @prop --border-radius: Radius of the item border\n * @prop --background-color: Background of the item\n * @prop --min-height: Minimum height of the item\n * @prop --padding-left: Padding left of the native element\n * @prop --inner-padding: inner padding of the item\n * @prop --detail-color: color of the detail icon\n */\n\n:host {\n --border-radius: var(--road-spacing-02);\n --background-color: var(--road-surface);\n --detail-color: var(--road-icon);\n\n position: relative;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n overflow: hidden;\n font-size: var(--road-font-size-14);\n text-decoration: none;\n border: 1px solid var(--road-outline-weak);\n border-radius: var(--border-radius);\n outline: none;\n}\n\n.layout-vertical{\n display: flex;\n flex-direction: column;\n max-width: 224px;\n}\n\n.layout-vertical .item-inner {\n align-items: flex-start;\n}\n\n/* NATIVE\n -------------------- */\n\n.item-native {\n position: relative;\n z-index: 1;\n box-sizing: border-box;\n display: flex;\n align-items: inherit;\n justify-content: inherit;\n width: 100%;\n padding: var(--road-spacing-05);\n margin: 0;\n overflow: inherit;\n font-family: inherit;\n font-size: inherit;\n color: var(--road-on-surface);\n text-align: left;\n background-color: var(--background-color);\n border: 2px solid var(--road-surface);\n outline: none;\n transition: background 0.15s ease-in-out;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n/**\n * Active state\n */\n\n.item-active {\n border: 2px solid var(--road-outline-variant);\n}\n\n/**\n * Hover / Focus state\n */\n\nbutton.item-native:not(:disabled):not(.item-active):hover,\nbutton.item-native:not(:disabled):not(.item-active):focus {\n border: 2px solid var(--road-outline-variant);\n}\n\n/**\n * Reset native behaviours\n */\n\n.item-native::-moz-focus-inner {\n border: 0;\n}\n\nbutton,\na {\n cursor: pointer;\n user-select: none;\n\n -webkit-user-drag: none;\n}\n\n/* INNER\n -------------------- */\n\n.item-inner {\n position: relative;\n box-sizing: border-box;\n display: flex;\n flex: 1;\n flex-direction: inherit;\n align-items: center;\n align-self: stretch;\n width: 100%;\n min-height: inherit;\n padding: var(--inner-padding);\n overflow: inherit;\n text-align: inherit;\n text-decoration: none;\n border-color: var(--road-grey-70);\n border-style: solid;\n border-width: var(--inner-border-width, 0);\n outline: 0;\n}\n\n/* INPUT\n -------------------- */\n\n.input-wrapper {\n box-sizing: border-box;\n display: flex;\n flex: 1;\n flex-direction: inherit;\n align-items: inherit;\n align-self: stretch;\n overflow: inherit;\n text-overflow: ellipsis;\n}\n\n.input-wrapper-info-title {\n font-size: var(--road-font-size-16);\n font-weight: 700;\n\n}\n\n.input-wrapper-info-text {\n margin: 0;\n font-size: var(--road-font-size-16);\n font-weight: 400;\n color: var(--road-on-surface-weak);\n}\n\n\n/* ICONS /IMG\n -------------------- */\n\n.item-detail-icon {\n color: var(--detail-color);\n}\n\n::slotted(road-icon) {\n flex-shrink: 0;\n margin-right: 0.5rem;\n}\n\n::slotted(road-img) {\n flex-shrink: 0;\n margin-right: 0.5rem;\n}\n\n.layout-vertical ::slotted(road-img) {\n margin-bottom: 0.5rem;\n}\n\n::slotted(road-label) p{\n color: var(--road-on-surface-weak);\n}\n\n/* IMAGE\n -------------------- */\n\n\n\n/* BUTTONS\n -------------------- */\n\n::slotted(road-button) {\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n --margin-bottom: 0;\n}\n\n/* LINES\n -------------------- */\n\n/**\n * No lines list\n */\n\n:host(.item-lines-none) {\n --border-width: 0 !important;\n --inner-border-width: 0 !important;\n}\n\n/**\n * Full lines list\n */\n\n:host(.item-lines-full) {\n --border-width: 0 0 1px 0 !important;\n --inner-border-width: 0 !important;\n}\n\n/**\n * Inset lines list\n */\n\n:host(.item-lines-inset) {\n --inner-border-width: 0 0 1px 0 !important;\n}\n","import { Component, Host, h, Prop, State, Element } from '@stencil/core';\nimport { navigationChevron } from '../../../icons';\n\n/**\n * @slot start - Placed to the left of all other content.\n * @slot - Content of the item.\n * @slot end - Placed to the right of all other content.\n *\n * @part native - The native HTML button, anchor or div element that wraps all child elements.\n */\n\n@Component({\n tag: 'road-item',\n styleUrl: 'item.css',\n shadow: true,\n})\nexport class Item {\n\n @Element() el!: HTMLRoadItemElement;\n\n @State() multipleInputs = false;\n\n /**\n * Title for the item\n */\n @Prop() titleItem?: string = '';\n\n /**\n * Description for the item\n */\n @Prop() text?: string = '';\n\n /**\n * If `true`, a button tag will be rendered and the item will be tappable.\n */\n @Prop() button = false;\n\n /**\n * If `true`, a detail arrow will appear on the item. Defaults to `false` unless the `mode`\n * is `ios` and an `href` or `button` property is present.\n */\n @Prop() detail?: boolean;\n\n /**\n * If `true`, display an active state item\n */\n @Prop() active?: boolean;\n\n /**\n * The icon to use when `detail` is set to `true`.\n */\n @Prop() detailIcon = navigationChevron;\n\n /**\n * If `true`, the user cannot interact with the item.\n */\n @Prop() disabled = false;\n\n /**\n * This attribute instructs browsers to download a URL instead of navigating to\n * it, so the user will be prompted to save it as a local file. If the attribute\n * has a value, it is used as the pre-filled file name in the Save prompt\n * (the user can still change the file name if they want).\n */\n @Prop() download: string | undefined;\n\n /**\n * Contains a URL or a URL fragment that the hyperlink points to.\n * If this property is set, an anchor tag will be rendered.\n */\n @Prop() href: string | undefined;\n\n /**\n * Specifies the relationship of the target object to the link object.\n * The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\n */\n @Prop() rel: string | undefined;\n\n /**\n * How the bottom border should be displayed on the item.\n */\n @Prop() lines?: 'full' | 'inset' | 'none';\n \n /**\n * How the bottom border should be displayed on the item.\n */\n @Prop() layout?: 'horizontal' | 'vertical' = 'horizontal';\n\n /**\n * Specifies where to display the linked URL.\n * Only applies when an `href` is provided.\n * Special keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`.\n */\n @Prop() target: string | undefined;\n\n /**\n * The type of the button. Only used when an `onclick` or `button` property is present.\n */\n @Prop() type: 'submit' | 'reset' | 'button' = 'button';\n\n // If the item has an href or button property it will render a native\n // anchor or button that is clickable\n private isClickable(): boolean {\n return (this.href !== undefined || this.button);\n }\n\n render() {\n const { detail, detailIcon, download, layout, lines, disabled, href, rel, target } = this;\n const clickable = this.isClickable();\n const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div' as any;\n const attrs = (TagType === 'button')\n ? { type: this.type }\n : {\n download,\n href,\n rel,\n target,\n };\n const showDetail = detail !== undefined && detail;\n\n return (\n <Host\n aria-disabled={disabled ? 'true' : null}\n class={{\n [`item-lines-${lines}`]: lines !== undefined,\n }}\n >\n <TagType\n {...attrs}\n class={{\n 'item-native': true,\n 'item-active': this.active,\n [`layout-${layout}`]: layout !== undefined,\n }}\n part=\"native\"\n disabled={disabled}\n >\n <slot name=\"start\"/>\n <div class=\"item-inner\">\n <div class=\"input-wrapper\">\n <slot/>\n <div class=\"input-wrapper-info\">\n <road-label class=\"input-wrapper-info-title\">{this.titleItem}</road-label>\n <p class=\"input-wrapper-info-text\">{this.text}</p>\n </div>\n </div>\n <slot name=\"end\"/>\n {showDetail && <road-icon icon={detailIcon} lazy={false} class=\"item-detail-icon\"></road-icon>}\n </div>\n </TagType>\n </Host>\n );\n }\n\n}\n","/*\n * Label\n *\n */\n\n:host {\n box-sizing: border-box;\n display: block;\n overflow: hidden;\n font-size: var(--road-font-size-14);\n color: currentColor;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @slot - Content of the label.\n */\n@Component({\n tag: 'road-label',\n styleUrl: 'label.css',\n shadow: true,\n})\nexport class Label {\n\n render() {\n return (\n <slot/>\n );\n }\n\n}\n","/*\n * Item\n *\n * Index\n * - List\n * - Lines\n */\n\n/* LIST\n -------------------- */\n\n:host {\n display: block;\n contain: content;\n list-style-type: none;\n}\n\n/* LINES\n -------------------- */\n\n/**\n * No lines list\n */\n\n:host(.list-lines-none) ::slotted(road-item) {\n --border-width: 0;\n --inner-border-width: 0;\n}\n\n/**\n * Full lines list\n */\n\n:host(.list-lines-full) {\n border: 1px solid var(--road-outline);\n border-bottom: 0;\n}\n\n:host(.list-lines-full),\n:host(.list-lines-full) ::slotted(road-item) {\n --border-width: 0 0 1px 0;\n --inner-border-width: 0;\n}\n\n\n/**\n * Inset lines list\n */\n\n:host(.item-lines-inset),\n:host(.list-lines-inset) ::slotted(road-item) {\n --inner-border-width: 0 0 1px 0;\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n/**\n * @slot - Content of the list, it should be road-item elements.\n */\n\n@Component({\n tag: 'road-list',\n styleUrl: 'list.css',\n shadow: true,\n})\nexport class List {\n\n /**\n * How the bottom border should be displayed on all items.\n */\n @Prop() lines?: 'full' | 'inset' | 'none';\n\n render() {\n const { lines } = this;\n\n return (\n <Host\n class={{\n [`list-lines-${lines}`]: lines !== undefined,\n }}\n >\n <slot/>\n </Host>\n );\n }\n\n}\n",":host {\n display: flex;\n flex-wrap: wrap;\n max-width: 1440px;\n margin-right: -8px;\n margin-left: -8px;\n}\n\n@media (min-width: 1440px) {\n\n :host {\n margin-right: auto;\n margin-left: auto;\n }\n}\n\n/*\n * Flexbox utilities\n *\n * Index\n * - Flex wrap\n * - Justify content\n * - Align items\n */\n\n/* FLEX WRAP\n -------------------- */\n\n:host(.flex-wrap) {\n flex-wrap: wrap;\n}\n\n:host(.flex-nowrap) {\n flex-wrap: nowrap;\n}\n\n/* JUSTIFY CONTENT\n -------------------- */\n\n:host(.justify-content-start) {\n justify-content: flex-start;\n}\n\n:host(.justify-content-end) {\n justify-content: flex-end;\n}\n\n:host(.justify-content-center) {\n justify-content: center;\n}\n\n:host(.justify-content-between) {\n justify-content: space-between;\n}\n\n:host(.justify-content-around) {\n justify-content: space-around;\n}\n\n/* ALIGN ITEMS\n -------------------- */\n\n:host(.align-items-start) {\n align-items: flex-start;\n}\n\n:host(.align-items-end) {\n align-items: flex-end;\n}\n\n:host(.align-items-center) {\n align-items: center;\n}\n\n:host(.align-items-baseline) {\n align-items: baseline;\n}\n\n:host(.align-items-stretch) {\n align-items: stretch;\n}\n\n@media (min-width: 576px) {\n\n :host(.flex-sm-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-sm-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-sm-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-sm-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-sm-center) {\n justify-content: center;\n }\n\n :host(.justify-content-sm-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-sm-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-sm-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-sm-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-sm-center) {\n align-items: center;\n }\n\n :host(.align-items-sm-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-sm-stretch) {\n align-items: stretch;\n }\n}\n\n@media (min-width: 768px) {\n\n :host(.flex-md-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-md-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-md-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-md-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-md-center) {\n justify-content: center;\n }\n\n :host(.justify-content-md-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-md-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-md-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-md-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-md-center) {\n align-items: center;\n }\n\n :host(.align-items-md-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-md-stretch) {\n align-items: stretch;\n }\n}\n\n@media (min-width: 992px) {\n\n :host(.flex-lg-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-lg-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-lg-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-lg-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-lg-center) {\n justify-content: center;\n }\n\n :host(.justify-content-lg-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-lg-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-lg-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-lg-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-lg-center) {\n align-items: center;\n }\n\n :host(.align-items-lg-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-lg-stretch) {\n align-items: stretch;\n }\n}\n\n@media (min-width: 1200px) {\n\n :host(.flex-xl-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-xl-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-xl-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-xl-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-xl-center) {\n justify-content: center;\n }\n\n :host(.justify-content-xl-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-xl-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-xl-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-xl-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-xl-center) {\n align-items: center;\n }\n\n :host(.align-items-xl-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-xl-stretch) {\n align-items: stretch;\n }\n}\n\n:host(.align-content-start) {\n align-content: flex-start;\n}\n\n:host(.align-content-end) {\n align-content: flex-end;\n}\n\n:host(.align-content-center) {\n align-content: center;\n}\n\n:host(.align-content-between) {\n align-content: space-between;\n}\n\n:host(.align-content-around) {\n align-content: space-around;\n}\n\n:host(.align-content-stretch) {\n align-content: stretch;\n}\n\n:host(.align-self-auto) {\n align-self: auto;\n}\n\n:host(.align-self-start) {\n align-self: flex-start;\n}\n\n:host(.align-self-end) {\n align-self: flex-end;\n}\n\n:host(.align-self-center) {\n align-self: center;\n}\n\n:host(.align-self-baseline) {\n align-self: baseline;\n}\n\n:host(.align-self-stretch) {\n align-self: stretch;\n}\n","import { Component, Host, h } from '@stencil/core';\n\n/**\n * @slot - Used to be able to add multiple columns for a row.\n */\n\n@Component({\n tag: 'road-row',\n styleUrl: 'row.css',\n shadow: true,\n})\nexport class Row {\n\n render() {\n return (\n <Host>\n <slot/>\n </Host>\n );\n }\n\n}\n","/*\n * Toolbar\n *\n * Index\n * - Container\n * - Content\n * - Buttons\n * - Colors\n */\n\n:host {\n position: relative;\n box-sizing: border-box;\n display: block;\n width: 100%;\n contain: content;\n color: var(--road-on-surface);\n background: var(--road-surface);\n border-bottom: 1px solid var(--road-outline);\n}\n\n/* CONTAINER\n -------------------- */\n\n.toolbar-container {\n position: relative;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n min-height: 3.73rem;\n contain: content;\n overflow: hidden;\n}\n\n/* TOOLBAR TITLE CONTAINER\n -------------------- */\n\n.toolbar-title-container {\n position: relative;\n top: 0;\n left: 0;\n display: flex;\n flex: 1;\n align-items: center;\n width: 100%;\n height: 100%;\n text-align: center;\n}\n\n/* TOOLBAR TITLE\n -------------------- */\n\n.toolbar-title {\n display: block;\n width: 100%;\n font-size: var(--road-font-size-18);\n font-weight: 700;\n text-align: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: auto;\n}\n\n@media (min-width: 1200px) {\n\n .toolbar-title {\n font-size: var(--road-font-size-21);\n text-align: center;\n }\n}\n\n/* CONTENT\n -------------------- */\n\n.toolbar-content {\n flex: 1 1 0%;\n min-width: 0;\n max-width: 100%;\n}\n\n/* TOOLBAR LOGO\n -------------------- */\n\n.toolbar .logo {\n position: relative;\n z-index: 1;\n padding-left: 1rem;\n margin-bottom: 0;\n font-size: var(--road-font-size-14);\n font-weight: 400;\n}\n\n.toolbar .app-name {\n margin-left: 1rem;\n font-size: var(--road-font-size-20);\n font-weight: 700;\n}\n\n/* BUTTONS\n -------------------- */\n\n::slotted([slot=\"start\"]) {\n --margin-bottom: 0;\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n\n align-self: auto;\n font-size: var(--road-font-size-14);\n font-weight: 400;\n border-right: 1px solid var(--road-outline);\n border-radius: 0;\n}\n\n::slotted([slot=\"end\"]),\n::slotted([slot=\"secondary\"]) {\n --margin-bottom: 0;\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n\n font-size: var(--road-font-size-14);\n font-weight: 400;\n border-left: 1px solid var(--road-outline);\n border-radius: 0;\n}\n\n/* COLORS\n -------------------- */\n\n:host(.toolbar-primary) {\n color: var(--road-on-header-surface);\n background: var(--road-header-surface);\n}\n\n:host(.toolbar-secondary) {\n color: var(--road-on-secondary);\n background: var(--road-secondary);\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n/**\n *\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot start - Content is placed to the left of the toolbar text and left to primery slot if provided.\n * @slot primary - Content is placed to the left of the toolbar text.\n * @slot secondary - Content is placed to the right of the toolbar text.\n * @slot end - Content is placed to the right of the toolbar text and right to secondary slot if provided.\n */\n\n@Component({\n tag: 'road-toolbar',\n styleUrl: 'toolbar.css',\n shadow: true,\n})\nexport class Toolbar {\n\n /**\n * Background color of the toolbar\n */\n @Prop() color?: 'primary' | 'secondary';\n\n render() {\n const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';\n\n return (\n <Host class={colorClass}>\n <div class=\"toolbar-container\">\n <slot name=\"start\"/>\n <slot name=\"primary\"/>\n <div class=\"toolbar-content\">\n <slot/>\n </div>\n <slot name=\"secondary\"/>\n <slot name=\"end\"/>\n </div>\n </Host>\n );\n }\n\n}\n"],"version":3}
|