@roadtrip/components 3.45.2 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-fee0103c.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-alert.cjs.entry.js +3 -1
- package/dist/cjs/road-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +31 -49
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-button-carousel.cjs.entry.js +73 -0
- package/dist/cjs/road-button-carousel.cjs.entry.js.map +1 -0
- package/dist/cjs/road-button-floating.cjs.entry.js +1 -1
- package/dist/cjs/road-card.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-checkbox.cjs.entry.js +7 -2
- package/dist/cjs/road-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/road-chip.cjs.entry.js +1 -1
- package/dist/cjs/road-collapse.cjs.entry.js +1 -1
- package/dist/cjs/road-content-card.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +3 -3
- package/dist/cjs/road-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-duration.cjs.entry.js +1 -1
- package/dist/cjs/road-flap.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-global-navigation.cjs.entry.js +1 -1
- package/dist/cjs/road-img.cjs.entry.js +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar-item-v2.cjs.entry.js +2 -2
- package/dist/cjs/road-navbar-item.cjs.entry.js +2 -2
- package/dist/cjs/road-navbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-navbar.cjs.entry.js +1 -1
- package/dist/cjs/road-phone-number-input.cjs.entry.js +2 -2
- package/dist/cjs/road-plate-number.cjs.entry.js +2 -2
- package/dist/cjs/road-profil-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-indicator-vertical.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker-item.cjs.entry.js +1 -1
- package/dist/cjs/road-progress-tracker.cjs.entry.js +1 -1
- package/dist/cjs/road-progress.cjs.entry.js +1 -1
- package/dist/cjs/road-radio-card.cjs.entry.js +1 -1
- package/dist/cjs/road-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/road-radio.cjs.entry.js +1 -1
- package/dist/cjs/road-range.cjs.entry.js +2 -2
- package/dist/cjs/road-rating.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button-bar.cjs.entry.js +1 -1
- package/dist/cjs/road-segmented-button.cjs.entry.js +2 -2
- package/dist/cjs/road-segmented-buttons.cjs.entry.js +1 -1
- package/dist/cjs/road-select-filter.cjs.entry.js +1 -1
- package/dist/cjs/road-select.cjs.entry.js +1 -1
- package/dist/cjs/road-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/road-spinner.cjs.entry.js +1 -1
- package/dist/cjs/road-status-chip.cjs.entry.js +15 -5
- package/dist/cjs/road-status-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/road-switch.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/road-tab-button.cjs.entry.js +3 -3
- package/dist/cjs/road-tab-button.cjs.entry.js.map +1 -1
- package/dist/cjs/road-tab.cjs.entry.js +2 -2
- package/dist/cjs/road-table.cjs.entry.js +1 -1
- package/dist/cjs/road-tabs.cjs.entry.js +1 -1
- package/dist/cjs/road-tag.cjs.entry.js +1 -1
- package/dist/cjs/road-text.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +1 -1
- package/dist/cjs/road-time-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/road-toast.cjs.entry.js +1 -1
- package/dist/cjs/road-toggle.cjs.entry.js +2 -2
- package/dist/cjs/road-toolbar-title-page.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-title.cjs.entry.js +1 -1
- package/dist/cjs/road-toolbar-v2.cjs.entry.js +1 -1
- package/dist/cjs/road-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/alert/alert.js +3 -1
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/button-carousel/button-carousel.css +119 -0
- package/dist/collection/components/button-carousel/button-carousel.js +195 -0
- package/dist/collection/components/button-carousel/button-carousel.js.map +1 -0
- package/dist/collection/components/button-carousel/button-carousel.stories.js +87 -0
- package/dist/collection/components/button-floating/button-floating.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/carousel/carousel.js +1 -1
- package/dist/collection/components/carousel-item/carousel-item.js +2 -2
- package/dist/collection/components/checkbox/checkbox.css +16 -0
- package/dist/collection/components/checkbox/checkbox.js +26 -1
- package/dist/collection/components/checkbox/checkbox.js.map +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +10 -0
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/col/col.js +1 -1
- package/dist/collection/components/collapse/collapse.js +1 -1
- package/dist/collection/components/content-card/content-card.js +1 -1
- package/dist/collection/components/counter/counter.js +14 -11
- package/dist/collection/components/counter/counter.js.map +1 -1
- package/dist/collection/components/dialog/dialog.js +3 -3
- package/dist/collection/components/drawer/drawer.js +4 -1
- package/dist/collection/components/drawer/drawer.js.map +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/duration/duration.js +1 -1
- package/dist/collection/components/flap/flap.js +1 -1
- package/dist/collection/components/global-navigation/global-navigation.js +1 -1
- package/dist/collection/components/global-navigation-v2/global-navigation-v2.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/input-group/input-group.css +8 -18
- package/dist/collection/components/input-group/input-group.js +1 -25
- package/dist/collection/components/input-group/input-group.js.map +1 -1
- package/dist/collection/components/item/item.js +3 -3
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/list/list.js +2 -2
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/navbar/navbar.js +1 -1
- package/dist/collection/components/navbar-item/navbar-item.js +2 -2
- package/dist/collection/components/navbar-item-v2/navbar-item-v2.js +2 -2
- package/dist/collection/components/navbar-v2/navbar-v2.js +1 -1
- package/dist/collection/components/phone-number-input/phone-number-input.js +2 -2
- package/dist/collection/components/plate-number/plate-number.js +2 -2
- package/dist/collection/components/profil-dropdown/profil-dropdown.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js +1 -1
- package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js +1 -1
- package/dist/collection/components/progress-indicator-vertical-item/progress-indicator-vertical-item.js +1 -1
- package/dist/collection/components/progress-tracker/progress-tracker.js +1 -1
- package/dist/collection/components/progress-tracker-item/progress-tracker-item.js +1 -1
- package/dist/collection/components/radio/radio.js +1 -1
- package/dist/collection/components/radio-card/radio-card.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +2 -2
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/segmented-button/segmented-button.js +2 -2
- package/dist/collection/components/segmented-button-bar/segmented-button-bar.js +1 -1
- package/dist/collection/components/segmented-buttons/segmented-buttons.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/select-filter/select-filter.js +1 -1
- package/dist/collection/components/skeleton/skeleton.js +1 -1
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/status-chip/status-chip.css +13 -2
- package/dist/collection/components/status-chip/status-chip.js +29 -2
- package/dist/collection/components/status-chip/status-chip.js.map +1 -1
- package/dist/collection/components/switch/switch.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.css +7 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/table/table.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tag/tag.js +1 -1
- package/dist/collection/components/text/text.js +1 -1
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/collection/components/time-range-picker/time-range-picker.js +1 -1
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toolbar/toolbar.js +1 -1
- package/dist/collection/components/toolbar-title/toolbar-title.js +1 -1
- package/dist/collection/components/toolbar-title-page/toolbar-title-page.js +1 -1
- package/dist/collection/components/toolbar-v2/toolbar-v2.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/collection/components/tooltip/tooltip.stories.js +1 -1
- package/dist/esm/index-8dc34f94.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-alert.entry.js +3 -1
- package/dist/esm/road-alert.entry.js.map +1 -1
- package/dist/esm/road-badge_14.entry.js +31 -49
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-button-carousel.entry.js +69 -0
- package/dist/esm/road-button-carousel.entry.js.map +1 -0
- package/dist/esm/road-button-floating.entry.js +1 -1
- package/dist/esm/road-card.entry.js +1 -1
- package/dist/esm/road-carousel-item.entry.js +2 -2
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-checkbox.entry.js +7 -2
- package/dist/esm/road-checkbox.entry.js.map +1 -1
- package/dist/esm/road-chip.entry.js +1 -1
- package/dist/esm/road-collapse.entry.js +1 -1
- package/dist/esm/road-content-card.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js +3 -3
- package/dist/esm/road-dropdown.entry.js +1 -1
- package/dist/esm/road-duration.entry.js +1 -1
- package/dist/esm/road-flap.entry.js +1 -1
- package/dist/esm/road-global-navigation-v2.entry.js +1 -1
- package/dist/esm/road-global-navigation.entry.js +1 -1
- package/dist/esm/road-img.entry.js +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-navbar-item-v2.entry.js +2 -2
- package/dist/esm/road-navbar-item.entry.js +2 -2
- package/dist/esm/road-navbar-v2.entry.js +1 -1
- package/dist/esm/road-navbar.entry.js +1 -1
- package/dist/esm/road-phone-number-input.entry.js +2 -2
- package/dist/esm/road-plate-number.entry.js +2 -2
- package/dist/esm/road-profil-dropdown.entry.js +1 -1
- package/dist/esm/road-progress-indicator-horizontal.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical-item.entry.js +1 -1
- package/dist/esm/road-progress-indicator-vertical.entry.js +1 -1
- package/dist/esm/road-progress-tracker-item.entry.js +1 -1
- package/dist/esm/road-progress-tracker.entry.js +1 -1
- package/dist/esm/road-progress.entry.js +1 -1
- package/dist/esm/road-radio-card.entry.js +1 -1
- package/dist/esm/road-radio-group.entry.js +1 -1
- package/dist/esm/road-radio.entry.js +1 -1
- package/dist/esm/road-range.entry.js +2 -2
- package/dist/esm/road-rating.entry.js +1 -1
- package/dist/esm/road-segmented-button-bar.entry.js +1 -1
- package/dist/esm/road-segmented-button.entry.js +2 -2
- package/dist/esm/road-segmented-buttons.entry.js +1 -1
- package/dist/esm/road-select-filter.entry.js +1 -1
- package/dist/esm/road-select.entry.js +1 -1
- package/dist/esm/road-skeleton.entry.js +1 -1
- package/dist/esm/road-spinner.entry.js +1 -1
- package/dist/esm/road-status-chip.entry.js +16 -6
- package/dist/esm/road-status-chip.entry.js.map +1 -1
- package/dist/esm/road-switch.entry.js +2 -2
- package/dist/esm/road-tab-bar.entry.js +2 -2
- package/dist/esm/road-tab-button.entry.js +3 -3
- package/dist/esm/road-tab-button.entry.js.map +1 -1
- package/dist/esm/road-tab.entry.js +2 -2
- package/dist/esm/road-table.entry.js +1 -1
- package/dist/esm/road-tabs.entry.js +1 -1
- package/dist/esm/road-tag.entry.js +1 -1
- package/dist/esm/road-text.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js +1 -1
- package/dist/esm/road-time-range-picker.entry.js +1 -1
- package/dist/esm/road-toast.entry.js +1 -1
- package/dist/esm/road-toggle.entry.js +2 -2
- package/dist/esm/road-toolbar-title-page.entry.js +1 -1
- package/dist/esm/road-toolbar-title.entry.js +1 -1
- package/dist/esm/road-toolbar-v2.entry.js +1 -1
- package/dist/esm/road-tooltip.entry.js +3 -3
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +38 -0
- package/dist/roadtrip/{p-351b3b04.entry.js → p-0c6ad72e.entry.js} +2 -2
- package/dist/roadtrip/p-0eba704f.entry.js +2 -0
- package/dist/roadtrip/{p-4798ebaa.entry.js → p-12e8e42a.entry.js} +2 -2
- package/dist/roadtrip/{p-944ce861.entry.js → p-163df174.entry.js} +2 -2
- package/dist/roadtrip/p-187ab5f5.entry.js +2 -0
- package/dist/roadtrip/p-187ab5f5.entry.js.map +1 -0
- package/dist/roadtrip/{p-e5f94b35.entry.js → p-1f1021bc.entry.js} +2 -2
- package/dist/roadtrip/{p-7f96eb76.entry.js → p-2301c9e2.entry.js} +2 -2
- package/dist/roadtrip/{p-294a4a83.entry.js → p-23b0d708.entry.js} +2 -2
- package/dist/roadtrip/p-23b0d708.entry.js.map +1 -0
- package/dist/roadtrip/p-249b8592.entry.js +2 -0
- package/dist/roadtrip/{p-b889f575.entry.js → p-2d68aa3a.entry.js} +2 -2
- package/dist/roadtrip/{p-43bb4e97.entry.js → p-335498ee.entry.js} +2 -2
- package/dist/roadtrip/{p-5f6771e5.entry.js → p-39b17e20.entry.js} +2 -2
- package/dist/roadtrip/{p-1ee55ec2.entry.js → p-3b906900.entry.js} +2 -2
- package/dist/roadtrip/{p-0a9d4cd3.entry.js → p-3bac817e.entry.js} +2 -2
- package/dist/roadtrip/{p-61c4b6f1.entry.js → p-3d4cd373.entry.js} +2 -2
- package/dist/roadtrip/{p-c96c0597.entry.js → p-3dfa5636.entry.js} +2 -2
- package/dist/roadtrip/{p-f41d2a41.entry.js → p-4374d63f.entry.js} +2 -2
- package/dist/roadtrip/{p-9c156562.entry.js → p-456f66fc.entry.js} +2 -2
- package/dist/roadtrip/{p-261177f6.entry.js → p-466c0ff9.entry.js} +2 -2
- package/dist/roadtrip/{p-6b0a37ba.entry.js → p-5381957c.entry.js} +2 -2
- package/dist/roadtrip/{p-fcb7a3e5.entry.js → p-596d37d0.entry.js} +2 -2
- package/dist/roadtrip/{p-8fad6cc9.entry.js → p-61190b12.entry.js} +2 -2
- package/dist/roadtrip/{p-1a75a359.entry.js → p-6311f3f0.entry.js} +2 -2
- package/dist/roadtrip/{p-f58f43d0.entry.js → p-6cdb1bf4.entry.js} +2 -2
- package/dist/roadtrip/{p-509ba166.entry.js → p-70909891.entry.js} +2 -2
- package/dist/roadtrip/{p-f157fec0.entry.js → p-718c6406.entry.js} +2 -2
- package/dist/roadtrip/{p-45cabcdf.entry.js → p-741d74fd.entry.js} +2 -2
- package/dist/roadtrip/p-741d74fd.entry.js.map +1 -0
- package/dist/roadtrip/{p-8eb19a44.entry.js → p-7a51b3e1.entry.js} +2 -2
- package/dist/roadtrip/p-7aceed1a.entry.js +2 -0
- package/dist/roadtrip/{p-48ceee77.entry.js.map → p-7aceed1a.entry.js.map} +1 -1
- package/dist/roadtrip/{p-d89d49b2.entry.js → p-7dae0270.entry.js} +2 -2
- package/dist/roadtrip/{p-c2e07db9.entry.js → p-83f9db8d.entry.js} +2 -2
- package/dist/roadtrip/p-8426998b.entry.js +2 -0
- package/dist/roadtrip/p-8426998b.entry.js.map +1 -0
- package/dist/roadtrip/{p-9f7d111d.entry.js → p-85e18b2f.entry.js} +2 -2
- package/dist/roadtrip/{p-77e7dc8a.entry.js → p-8630081f.entry.js} +2 -2
- package/dist/roadtrip/{p-110386d3.entry.js → p-977c467d.entry.js} +2 -2
- package/dist/roadtrip/p-99146e17.entry.js +2 -0
- package/dist/roadtrip/{p-f07047c1.entry.js → p-9a91254d.entry.js} +2 -2
- package/dist/roadtrip/p-9b1fa6a6.entry.js +2 -0
- package/dist/roadtrip/p-9b1fa6a6.entry.js.map +1 -0
- package/dist/roadtrip/{p-f30f96c2.entry.js → p-a1101905.entry.js} +2 -2
- package/dist/roadtrip/{p-395b9785.entry.js → p-ac64606d.entry.js} +2 -2
- package/dist/roadtrip/{p-9d01727d.entry.js → p-ad5538c1.entry.js} +2 -2
- package/dist/roadtrip/{p-9af318e9.entry.js → p-b40d0b3d.entry.js} +2 -2
- package/dist/roadtrip/{p-da60c3a9.entry.js → p-b6e3db42.entry.js} +2 -2
- package/dist/roadtrip/{p-8a806d96.entry.js → p-c0f2eca7.entry.js} +2 -2
- package/dist/roadtrip/{p-68ae654b.entry.js → p-c23dbac2.entry.js} +2 -2
- package/dist/roadtrip/{p-17dc5381.entry.js → p-cc42a593.entry.js} +2 -2
- package/dist/roadtrip/{p-47433b76.entry.js → p-ceb904c0.entry.js} +2 -2
- package/dist/roadtrip/{p-5d1d532a.entry.js → p-d1de4eb6.entry.js} +2 -2
- package/dist/roadtrip/{p-a597e606.entry.js → p-d344a749.entry.js} +2 -2
- package/dist/roadtrip/{p-93c1be55.entry.js → p-d4f30d5d.entry.js} +2 -2
- package/dist/roadtrip/{p-bfe3d3eb.entry.js → p-d7a56b79.entry.js} +2 -2
- package/dist/roadtrip/{p-4a69d010.entry.js → p-da0a75ff.entry.js} +2 -2
- package/dist/roadtrip/{p-cbbfe0ce.entry.js → p-dbb675a2.entry.js} +2 -2
- package/dist/roadtrip/{p-9e8ae5c3.entry.js → p-df4c2ff0.entry.js} +2 -2
- package/dist/roadtrip/{p-246ff4b4.entry.js → p-e2b587b6.entry.js} +4 -4
- package/dist/roadtrip/p-e2b587b6.entry.js.map +1 -0
- package/dist/roadtrip/p-e8d82a2e.entry.js +2 -0
- package/dist/roadtrip/{p-790d848a.entry.js → p-e9480f62.entry.js} +2 -2
- package/dist/roadtrip/{p-943e31a7.entry.js → p-eddc9353.entry.js} +2 -2
- package/dist/roadtrip/{p-f3e5e983.entry.js → p-f0d930e5.entry.js} +2 -2
- package/dist/roadtrip/{p-58b20099.entry.js → p-f2f26300.entry.js} +2 -2
- package/dist/roadtrip/{p-eca24e7d.entry.js → p-f99639e8.entry.js} +2 -2
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/types/components/button-carousel/button-carousel.d.ts +35 -0
- package/dist/types/components/checkbox/checkbox.d.ts +4 -0
- package/dist/types/components/input-group/input-group.d.ts +0 -2
- package/dist/types/components/status-chip/status-chip.d.ts +5 -1
- package/dist/types/components.d.ts +79 -0
- package/hydrate/index.js +242 -162
- package/hydrate/index.mjs +242 -162
- package/package.json +1 -1
- package/dist/roadtrip/p-246ff4b4.entry.js.map +0 -1
- package/dist/roadtrip/p-294a4a83.entry.js.map +0 -1
- package/dist/roadtrip/p-382828d4.entry.js +0 -2
- package/dist/roadtrip/p-382828d4.entry.js.map +0 -1
- package/dist/roadtrip/p-45cabcdf.entry.js.map +0 -1
- package/dist/roadtrip/p-47cef871.entry.js +0 -2
- package/dist/roadtrip/p-47cef871.entry.js.map +0 -1
- package/dist/roadtrip/p-48ceee77.entry.js +0 -2
- package/dist/roadtrip/p-7bef34c4.entry.js +0 -2
- package/dist/roadtrip/p-7ed5616c.entry.js +0 -2
- package/dist/roadtrip/p-c1cd98dc.entry.js +0 -2
- package/dist/roadtrip/p-f4da1ccf.entry.js +0 -2
- /package/dist/roadtrip/{p-351b3b04.entry.js.map → p-0c6ad72e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7ed5616c.entry.js.map → p-0eba704f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4798ebaa.entry.js.map → p-12e8e42a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-944ce861.entry.js.map → p-163df174.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e5f94b35.entry.js.map → p-1f1021bc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7f96eb76.entry.js.map → p-2301c9e2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f4da1ccf.entry.js.map → p-249b8592.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b889f575.entry.js.map → p-2d68aa3a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-43bb4e97.entry.js.map → p-335498ee.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5f6771e5.entry.js.map → p-39b17e20.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1ee55ec2.entry.js.map → p-3b906900.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-0a9d4cd3.entry.js.map → p-3bac817e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-61c4b6f1.entry.js.map → p-3d4cd373.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c96c0597.entry.js.map → p-3dfa5636.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f41d2a41.entry.js.map → p-4374d63f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9c156562.entry.js.map → p-456f66fc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-261177f6.entry.js.map → p-466c0ff9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6b0a37ba.entry.js.map → p-5381957c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fcb7a3e5.entry.js.map → p-596d37d0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8fad6cc9.entry.js.map → p-61190b12.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1a75a359.entry.js.map → p-6311f3f0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f58f43d0.entry.js.map → p-6cdb1bf4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-509ba166.entry.js.map → p-70909891.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f157fec0.entry.js.map → p-718c6406.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8eb19a44.entry.js.map → p-7a51b3e1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d89d49b2.entry.js.map → p-7dae0270.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c2e07db9.entry.js.map → p-83f9db8d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9f7d111d.entry.js.map → p-85e18b2f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-77e7dc8a.entry.js.map → p-8630081f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-110386d3.entry.js.map → p-977c467d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c1cd98dc.entry.js.map → p-99146e17.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f07047c1.entry.js.map → p-9a91254d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f30f96c2.entry.js.map → p-a1101905.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-395b9785.entry.js.map → p-ac64606d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9d01727d.entry.js.map → p-ad5538c1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9af318e9.entry.js.map → p-b40d0b3d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-da60c3a9.entry.js.map → p-b6e3db42.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8a806d96.entry.js.map → p-c0f2eca7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-68ae654b.entry.js.map → p-c23dbac2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-17dc5381.entry.js.map → p-cc42a593.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-47433b76.entry.js.map → p-ceb904c0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5d1d532a.entry.js.map → p-d1de4eb6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a597e606.entry.js.map → p-d344a749.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-93c1be55.entry.js.map → p-d4f30d5d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-bfe3d3eb.entry.js.map → p-d7a56b79.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4a69d010.entry.js.map → p-da0a75ff.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cbbfe0ce.entry.js.map → p-dbb675a2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9e8ae5c3.entry.js.map → p-df4c2ff0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7bef34c4.entry.js.map → p-e8d82a2e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-790d848a.entry.js.map → p-e9480f62.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-943e31a7.entry.js.map → p-eddc9353.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f3e5e983.entry.js.map → p-f0d930e5.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-58b20099.entry.js.map → p-f2f26300.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-eca24e7d.entry.js.map → p-f99639e8.entry.js.map} +0 -0
|
@@ -51,20 +51,12 @@
|
|
|
51
51
|
border-color: var(--road-input-outline);
|
|
52
52
|
border-top-right-radius: 0;
|
|
53
53
|
border-bottom-right-radius: 0;
|
|
54
|
-
position: absolute;
|
|
55
|
-
left: 0;
|
|
56
|
-
top: 0;
|
|
57
|
-
bottom: 0;
|
|
58
54
|
}
|
|
59
55
|
|
|
60
56
|
::slotted([slot="append"]) {
|
|
61
57
|
margin-left: -0.25rem;
|
|
62
58
|
border-color: var(--road-input-outline);
|
|
63
59
|
border-left-width: 0;
|
|
64
|
-
position: absolute;
|
|
65
|
-
right: 0;
|
|
66
|
-
top: 0;
|
|
67
|
-
bottom: 0;
|
|
68
60
|
}
|
|
69
61
|
|
|
70
62
|
/**
|
|
@@ -72,7 +64,6 @@
|
|
|
72
64
|
*/
|
|
73
65
|
|
|
74
66
|
@media (hover: hover) {
|
|
75
|
-
|
|
76
67
|
.input-group:not(.is-disabled):hover ::slotted([slot="prepend"]) {
|
|
77
68
|
border-right-color: transparent;
|
|
78
69
|
}
|
|
@@ -81,7 +72,9 @@
|
|
|
81
72
|
border-left-color: transparent;
|
|
82
73
|
}
|
|
83
74
|
|
|
84
|
-
:host(.phone-number-group)
|
|
75
|
+
:host(.phone-number-group)
|
|
76
|
+
.input-group:not(.is-disabled):hover
|
|
77
|
+
::slotted([slot="prepend"]) {
|
|
85
78
|
border-color: var(--road-input-outline-variant);
|
|
86
79
|
}
|
|
87
80
|
}
|
|
@@ -92,7 +85,9 @@
|
|
|
92
85
|
/* Pour les éléments slottés [slot="prepend"] */
|
|
93
86
|
|
|
94
87
|
.input-group:focus-within ::slotted([slot="prepend"]),
|
|
95
|
-
:host(.phone-number-group)
|
|
88
|
+
:host(.phone-number-group)
|
|
89
|
+
.input-group:focus-within
|
|
90
|
+
::slotted([slot="prepend"]) {
|
|
96
91
|
border-color: var(--road-grey-0);
|
|
97
92
|
border-width: 2px;
|
|
98
93
|
border-right-color: transparent;
|
|
@@ -116,9 +111,6 @@
|
|
|
116
111
|
outline: none; /* Active le contour d'accessibilité par défaut */
|
|
117
112
|
}
|
|
118
113
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
114
|
/* PREPEND - APPEND
|
|
123
115
|
-------------------- */
|
|
124
116
|
|
|
@@ -171,6 +163,8 @@
|
|
|
171
163
|
text-align: center;
|
|
172
164
|
white-space: nowrap;
|
|
173
165
|
cursor: text;
|
|
166
|
+
background: var(--road-surface);
|
|
167
|
+
border: 1px solid var(--road-input-outline);
|
|
174
168
|
border-radius: 0.25rem;
|
|
175
169
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
176
170
|
}
|
|
@@ -224,7 +218,6 @@
|
|
|
224
218
|
background-color: var(--road-button-ghost-variant);
|
|
225
219
|
}
|
|
226
220
|
|
|
227
|
-
|
|
228
221
|
/* SIZES
|
|
229
222
|
-------------------- */
|
|
230
223
|
|
|
@@ -275,6 +268,3 @@
|
|
|
275
268
|
:host([disabled]) road-icon {
|
|
276
269
|
color: var(--road-on-surface-disabled);
|
|
277
270
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
@@ -25,32 +25,8 @@ export class InputGroup {
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
/** Vérifie et applique le `text-indent` si `prepend` est présent */
|
|
29
|
-
updateIndentation() {
|
|
30
|
-
const hasPrepend = !!this.el.querySelector('[slot="prepend"]');
|
|
31
|
-
const formControl = this.el.querySelector('.form-control');
|
|
32
|
-
const formLabel = this.el.querySelector('.form-label');
|
|
33
|
-
const formSelect = this.el.querySelector('.form-select');
|
|
34
|
-
const formSelectLabel = this.el.querySelector('.form-select-label');
|
|
35
|
-
if (formControl) {
|
|
36
|
-
formControl.style.textIndent = hasPrepend ? '2.1rem' : '';
|
|
37
|
-
}
|
|
38
|
-
if (formSelect) {
|
|
39
|
-
formSelect.style.textIndent = hasPrepend ? '2.1rem' : '';
|
|
40
|
-
}
|
|
41
|
-
if (formLabel) {
|
|
42
|
-
formLabel.style.textIndent = hasPrepend ? '2.8rem' : '';
|
|
43
|
-
}
|
|
44
|
-
if (formSelectLabel) {
|
|
45
|
-
formSelectLabel.style.textIndent = hasPrepend ? '2.8rem' : '';
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
28
|
componentDidLoad() {
|
|
49
29
|
this.updateDisabledState(this.disabled);
|
|
50
|
-
this.updateIndentation(); // Appliquer les styles au montage
|
|
51
|
-
// Observer les mutations (au cas où des éléments sont ajoutés dynamiquement)
|
|
52
|
-
const observer = new MutationObserver(() => this.updateIndentation());
|
|
53
|
-
observer.observe(this.el, { childList: true, subtree: true });
|
|
54
30
|
}
|
|
55
31
|
render() {
|
|
56
32
|
const errorClass = this.el.querySelector('road-input[error]') ? 'is-invalid' : '';
|
|
@@ -58,7 +34,7 @@ export class InputGroup {
|
|
|
58
34
|
? `size-${this.el.querySelector('road-input').sizes}`
|
|
59
35
|
: '';
|
|
60
36
|
const disabledClass = this.disabled ? 'is-disabled' : '';
|
|
61
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: '4bf7967be1d576ea1d2c2d0871da504e88d414fa', class: `input-group ${errorClass} ${disabledClass} ${sizeClass}` }, h("div", { key: 'd61b7eaa8e5f95e9aba082adcef54e0cd96c6941', class: "input-group-prepend" }, h("slot", { key: '49a6f9fb20adfbc558819db64b3d4150bf4b125d', name: "prepend" })), h("slot", { key: 'e48b70e4ed7f7b52212ebb48a31a5421ac79dd0e' }), h("div", { key: '8c6ab40b303c23ab7e4a68b8bdc952e39482c930', class: "input-group-append" }, h("slot", { key: '76909512fc0ece8ee25a69716cefae2dda8ad308', name: "append" }))));
|
|
62
38
|
}
|
|
63
39
|
static get is() { return "road-input-group"; }
|
|
64
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-group.js","sourceRoot":"","sources":["../../../src/components/input-group/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEnE;;;;GAIG;AAOH,MAAM,OAAO,UAAU;IALvB;QAQE,4EAA4E;QACpE,aAAQ,GAAY,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"input-group.js","sourceRoot":"","sources":["../../../src/components/input-group/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEnE;;;;GAIG;AAOH,MAAM,OAAO,UAAU;IALvB;QAQE,4EAA4E;QACpE,aAAQ,GAAY,KAAK,CAAC;KA2CnC;IAzCC,6EAA6E;IAE7E,oBAAoB,CAAC,QAAiB;QACpC,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IACrC,CAAC;IAED,yCAAyC;IACjC,mBAAmB,CAAC,UAAmB;QAC7C,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,sCAAsC,CAAC,CAAC;QAClF,QAAQ,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACvB,IAAI,UAAU,EAAE,CAAC;gBACf,KAAK,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;YACrC,CAAC;iBAAM,CAAC;gBACN,KAAK,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;YACpC,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1C,CAAC;IAED,MAAM;QACJ,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;QAClF,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,mBAAmB,CAAC;YAC1D,CAAC,CAAC,QAAS,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,YAAY,CAA0B,CAAC,KAAK,EAAE;YAC/E,CAAC,CAAC,EAAE,CAAC;QACP,MAAM,aAAa,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;QAEzD,OAAO,CACL,4DAAK,KAAK,EAAE,eAAe,UAAU,IAAI,aAAa,IAAI,SAAS,EAAE;YACnE,4DAAK,KAAK,EAAC,qBAAqB;gBAC9B,6DAAM,IAAI,EAAC,SAAS,GAAG,CACnB;YACN,8DAAQ;YACR,4DAAK,KAAK,EAAC,oBAAoB;gBAC7B,6DAAM,IAAI,EAAC,QAAQ,GAAG,CAClB,CACF,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Prop, Watch } 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 @Element() el!: HTMLRoadInputGroupElement;\n\n /** Disables the entire input group and propagates the state to children. */\n @Prop() disabled: boolean = false;\n\n /** Watches for changes in the `disabled` prop and updates child elements. */\n @Watch('disabled')\n handleDisabledChange(newValue: boolean) {\n this.updateDisabledState(newValue);\n }\n\n /** Applique le `disabled` aux enfants */\n private updateDisabledState(isDisabled: boolean) {\n const children = this.el.querySelectorAll('road-input, road-button, road-select');\n children.forEach(child => {\n if (isDisabled) {\n child.setAttribute('disabled', '');\n } else {\n child.removeAttribute('disabled');\n }\n });\n }\n\n componentDidLoad() {\n this.updateDisabledState(this.disabled);\n }\n\n render() {\n const errorClass = this.el.querySelector('road-input[error]') ? 'is-invalid' : '';\n const sizeClass = this.el.querySelector('road-input[sizes]')\n ? `size-${(this.el.querySelector('road-input') as HTMLRoadInputElement).sizes}`\n : '';\n const disabledClass = this.disabled ? 'is-disabled' : '';\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"]}
|
|
@@ -57,13 +57,13 @@ export class Item {
|
|
|
57
57
|
target,
|
|
58
58
|
};
|
|
59
59
|
const showDetail = detail !== undefined && detail;
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: 'ccd1ac1ac2751e8085ae02bb5b6b04e4778321b5', "aria-disabled": disabled ? 'true' : null, class: {
|
|
61
61
|
[`item-lines-${lines}`]: lines !== undefined,
|
|
62
|
-
} }, h(TagType, Object.assign({ key: '
|
|
62
|
+
} }, h(TagType, Object.assign({ key: 'beec26f56f8ec5bd1f4b20d4fb8127d27c05f6a9' }, attrs, { class: {
|
|
63
63
|
'item-native': true,
|
|
64
64
|
'item-active': this.active,
|
|
65
65
|
[`layout-${layout}`]: layout !== undefined,
|
|
66
|
-
}, part: "native", disabled: disabled }), h("slot", { key: '
|
|
66
|
+
}, part: "native", disabled: disabled }), h("slot", { key: '0d1f89c92d86782deb1e88c8cea28536c233a595', name: "start" }), h("div", { key: 'a6f5e7032bb24f46a387abf47ec96d9b1c8dafba', class: "item-inner" }, h("div", { key: '0157361f18a9cc95ea60a49e7677b0fb7f8f67cb', class: "input-wrapper" }, h("slot", { key: '5aceb63fb6478d65fc9f495643c6698b62e68000' }), h("div", { key: 'b8ad344270a7f30692fe96dfc6ad2048a835cf3a', class: "input-wrapper-info" }, h("road-label", { key: '49b1e772e543af7cda1ca054586500c7ddced2c3', class: "input-wrapper-info-title" }, this.titleItem), h("p", { key: '3b7dd8f10a01a91c90de9d08835af3ed55a4eecd', class: "input-wrapper-info-text" }, this.text))), h("slot", { key: '6294b507ed5e61a75dd989400da387e0c0917368', name: "end" }), showDetail && h("road-icon", { key: '52655a6718fb66600b70c9b375f118b66092911b', icon: detailIcon, lazy: false, class: "item-detail-icon" })))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "road-item"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class Label {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("slot", { key: '
|
|
7
|
+
return (h("slot", { key: '7676729c25af1f6fdd2d421926efb47074382fb8' }));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "road-label"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,9 +5,9 @@ import { Host, h } from "@stencil/core";
|
|
|
5
5
|
export class List {
|
|
6
6
|
render() {
|
|
7
7
|
const { lines } = this;
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '7d0cd12eaa7420a9576b3adf922f686888177d11', class: {
|
|
9
9
|
[`list-lines-${lines}`]: lines !== undefined,
|
|
10
|
-
} }, h("slot", { key: '
|
|
10
|
+
} }, h("slot", { key: '5efe956c54bfd4713250c6e2c0afaa7a078cb691' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "road-list"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,7 +65,7 @@ export class Modal {
|
|
|
65
65
|
const modalIsOpenClass = this.isOpen ? 'modal-open' : '';
|
|
66
66
|
const inverseHeaderClass = this.hasInverseHeader ? 'modal-header-inverse' : '';
|
|
67
67
|
const closeIconElement = this.hasCloseIcon ? h("button", { type: "button", class: "modal-close", onClick: this.onClick, "aria-label": "Close" }, h("road-icon", { icon: navigationClose, "aria-hidden": "true" })) : '';
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '6c244ce1b24c5bf03510f660f15875f0447971b5', class: `modal ${modalIsOpenClass}`, tabindex: "-1", role: "dialog", "aria-label": "modal" }, h("div", { key: '8e8dbb9998bac59c729f1aada64bc5b992f61df8', class: "modal-overlay", onClick: this.onClick, tabindex: "-1" }), h("div", { key: '44d711823586fe5ba41e188401d80f50013b0c13', class: "modal-dialog", style: { maxWidth: `${this.maxWidth}px` }, role: "document", tabindex: "0" }, h("div", { key: '419db268697ee725be611f58a60fabd0c00885c5', class: "modal-content" }, h("header", { key: '7c827e7599d584cdd3cf32bea76f4f0eb7f28b92', class: `modal-header ${inverseHeaderClass}` }, h("h2", { key: '13c09b08282b8cd1194de014f4ce8d6729adb367', class: "modal-title" }, this.modalTitle), closeIconElement), h("div", { key: '7b876b870d1ca06b42af0bc62c778c23da78d6c4', class: "modal-body" }, h("slot", { key: '5c1caff28e65e3a9bd256fd583857c590d805184' }))))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "road-modal"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class Navbar {
|
|
|
21
21
|
this.selectedTabChanged();
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '3c4b66461802de4f15cfffaddcd27a4672f5b575', role: "menubar" }, h("slot", { key: '56e8f8fc09788ff82386c6cef50be1b984d35a87' })));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "road-navbar"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,11 +61,11 @@ export class NavbarItem {
|
|
|
61
61
|
rel,
|
|
62
62
|
target,
|
|
63
63
|
};
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: 'fe103b4b40d2a2801b24f00ce2c6bc53052f2391', onClick: this.onClick, onKeyup: this.onKeyUp, role: "menuitem", tabindex: "0", "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `navbar-item-${tab}` : null, disabled: disabled, class: {
|
|
65
65
|
'navbar-item': true,
|
|
66
66
|
'tab-selected': selected,
|
|
67
67
|
'tab-disabled': disabled,
|
|
68
|
-
} }, h("a", Object.assign({ key: '
|
|
68
|
+
} }, h("a", Object.assign({ key: '6c593b2df20a7a1cd46c2d3260c96ee591cba02f' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '70ab22ac31e4af63594721b5e4cddf235257c156', class: "button-inner" }, h("slot", { key: '3323e0c0aabc071f9aad3689956a9a6a89dba442' })))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "road-navbar-item"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,11 +61,11 @@ export class NavbarItem {
|
|
|
61
61
|
rel,
|
|
62
62
|
target,
|
|
63
63
|
};
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: '26cc0ac4caebe985b43b11227634008dbfc58d5c', onClick: this.onClick, onKeyup: this.onKeyUp, role: "menuitem", tabindex: "0", "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `navbar-item-${tab}` : null, disabled: disabled, class: {
|
|
65
65
|
'navbar-item': true,
|
|
66
66
|
'tab-selected': selected,
|
|
67
67
|
'tab-disabled': disabled,
|
|
68
|
-
} }, h("a", Object.assign({ key: '
|
|
68
|
+
} }, h("a", Object.assign({ key: '1dac4defe0a192239fb2d76770b9b38a4d56767e' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: 'd8a0b012ec8703c8fe46c2f7c98f00352748cc68', class: "button-inner" }, h("slot", { key: 'bb3859b51d5d5b411c5490b7456faf51419a12aa' })))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "road-navbar-item-v2"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,7 +28,7 @@ export class NavbarV2 {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const compactClass = this.compact ? 'compact' : '';
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: 'd8338b69a6dbdd71d1ca39e5ea5fff4c6b0e6de9', role: "menubar", class: `${compactClass}` }, h("slot", { key: '59afd9379182b345858fd641aba05177fd8d71de' })));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "road-navbar-v2"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -154,9 +154,9 @@ export class RoadPhoneNumberInput {
|
|
|
154
154
|
const isErrorClass = this.errorMessage.length ? 'is-error' : '';
|
|
155
155
|
const hasValueClass = this.hasValue() ? 'has-value' : '';
|
|
156
156
|
const sizes = 'xl';
|
|
157
|
-
return (h(Host, { key: '
|
|
157
|
+
return (h(Host, { key: '552dcc0d24ed4d178f040fe8021050c74d902058' }, h("div", { key: '70ca6c4f0bdec5dcebdc4b5591ab06b304cc95e0', class: 'phone-number-inputs-container' }, h("div", { key: '4c992e0a1a8c9fa27b68f10c7216b344e6d645b1', class: `road-phone-input-select ${isErrorClass} ${isInvalidClass}`, slot: "prepend" }, h("select", { key: '5e7261c78dd3d71c28e8dd340dec596a301d27ef', id: selectId, class: `form-select-area has-value`, "aria-disabled": this.disabled ? 'true' : null, disabled: this.disabled, onChange: (event) => this.handleSelect(event), "aria-label": this.codeLabel, tabIndex: this.disabled ? -1 : 0 }, this.countryOptions && this.countryOptions.map(option => (h("option", { value: option.value, disabled: option.disabled, selected: option.selected }, option.label)))), h("label", { key: '35a5db0450b99e05e76865316ff77261cebbdddf', class: "form-select-area-label", id: labelId, htmlFor: selectId }, this.codeLabel), h("label", { key: '2cd83c2a7576d7d81d6a0845837093e6f537fc04', class: "form-select-area-value", id: valueId, htmlFor: selectId }, "+", this.selectedCountryCode)), h("input", { key: '141c74565f3d98943c94dc5f8bd0b5e4fd74a7b0', type: 'tel', id: inputId, class: `input-${sizes} phone-number-input-field ${hasValueClass} ${isErrorClass}`, value: this.phoneValue, required: this.required, tabIndex: 0, onInput: (event) => this.handleInput(event) }), h("label", { key: '458b36d9170841d8eeedc2888c99b69beb21e013', class: "phone-number-input-label", id: labelId, htmlFor: inputId }, this.phoneLabel)), this.errorMessage
|
|
158
158
|
&& this.errorMessage !== ''
|
|
159
|
-
&& h("p", { key: '
|
|
159
|
+
&& h("p", { key: '741d9f65e5f74ad938bb84e4d16d83b16e334ae3', class: "invalid-feedback" }, h("road-icon", { key: '89b68bd1f9810d5ac495b951796e59dd02cb91f8', slot: "start", color: 'danger', name: "alert-error-solid", "aria-hidden": "true", size: "sm" }), this.errorMessage)));
|
|
160
160
|
}
|
|
161
161
|
static get is() { return "road-phone-number-input"; }
|
|
162
162
|
static get encapsulation() { return "scoped"; }
|
|
@@ -92,10 +92,10 @@ export class PlateNumber {
|
|
|
92
92
|
render() {
|
|
93
93
|
const value = this.getValue();
|
|
94
94
|
const motorbikeClass = this.motorbike ? 'motorbike-plate' : '';
|
|
95
|
-
return (h("road-input-group", { key: '
|
|
95
|
+
return (h("road-input-group", { key: 'edaa7cd8e513932287becfcc4af72d723d7b729f', class: `plate-number plate-number-${this.country.toLowerCase()} ${motorbikeClass}` }, h("label", { key: '49d3b7bdb6c63adceab1b13ae16f2bff1903e84c', slot: "prepend", class: "input-group-prepend" }, h("div", { key: '39760b0846d83e37e1f450819fe53e99650bab8b', class: "plate-number-start" }, h("road-icon", { key: '1d08fc08600b06afa481cbd45df983591057a324', class: "plate-number-icon", icon: licensePlateStarEu }), h("div", { key: 'd8644ec27f56eb9d75f67dff85e39bd17d4b4f6e', class: "plate-number-location", "aria-label": this.country, role: "img" }, this.countries
|
|
96
96
|
.filter(item => item.country === this.country)[0].letter))), this.motorbike
|
|
97
97
|
? (h("textarea", { class: "form-control plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, maxlength: "9", rows: 2, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }))
|
|
98
|
-
: (h("input", { class: "plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })), h("label", { key: '
|
|
98
|
+
: (h("input", { class: "plate-number-input mb-0", disabled: this.disabled, placeholder: this.placeholder != null ? this.placeholder : this.countries.filter(item => item.country === this.country)[0].placeholder, readOnly: this.readonly, value: value, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus })), h("label", { key: '06b33c03a7eabf6b591b35493e1135f2b5870aff', slot: "append", class: "input-group-append" }, h("div", { key: 'eedacf154846a5902aecca99a526c267c416eb35', class: "plate-number-end" }))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "road-plate-number"; }
|
|
101
101
|
static get encapsulation() { return "scoped"; }
|
|
@@ -31,7 +31,7 @@ export class Dropdown {
|
|
|
31
31
|
this.isOpen = false;
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("details", { key: '
|
|
34
|
+
return (h("details", { key: '657ada2de370f6aaf76e2a98895ce3be28cc6f69', class: "dropdown", open: this.isOpen }, h("summary", { key: '940d726d7d1c8ea126924b108bf57ab685a2a686', "aria-expanded": `${this.isOpen}`, tabindex: "0", role: "button", onClick: this.onClick }, h("div", { key: '5857ab37b0438b2610d908094bbab9187c46e259', class: `d-flex` }, h("div", { key: 'a317e761fa4b6b46097b04ebe309e2f752e2f2e1' }, h("road-avatar", { key: 'b25236fa949b54ca0faf7bceb0b635fc4cb6b07b' }, h("slot", { key: 'c18965b719882ecd60dcef091298401933f33c88', name: "avatar" }))))), h("div", { key: '70fc69f9f0cccac896d5196bee1e6a9c866c6541', class: `dropdown-menu` }, h("div", { key: '7d28cb139e59995c972c30217cc0a0fc1f96382c', class: "profil-item" }, h("road-avatar", { key: 'f74a21b6c4fcb5e23bb073839fb77b4edd95818a', size: "sm" }, h("slot", { key: '3da5faaa271a97c4a016853f77c24c8e5961680d', name: "avatarItem" })), h("div", { key: 'd30bf6cb38ffde6720dc48baad4226c7b0cc0188', class: "profil-item-info" }, h("span", { key: '676ab7af4733f92f8e9f1e4e11ea85364237068b', class: "profil-item-info-name" }, h("slot", { key: '2e4b1a90c2f00e7e67e4db95931aaca9102e776f', name: "name" })), h("road-label", { key: 'c09654f005fc0b322fd071e13349731ab16e62f5' }, h("slot", { key: '661db4276128da1f7c2c1c6cfc72fd31ef50e413', name: "email" })))), h("slot", { key: '22b9d5856379c958ab32fd67ca70eceed2d58725', name: "list" }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "road-profil-dropdown"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,7 +54,7 @@ export class ProgressBar {
|
|
|
54
54
|
let step = Math.ceil((this.value / 100) * this.numbersteps);
|
|
55
55
|
step = Math.min(step, this.numbersteps);
|
|
56
56
|
step = Math.max(step, 0);
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'afaa397b17cba4c71cf8b9899ea0272869ceace6', class: "progress-element" }, h("div", { key: '8b049a8b3d40c3c23ceca9fd931be9e028f1a919', class: `${light} progress-${this.color} ${animation}` }, h("div", { key: '05c9a7efd42334e449cc9394dcaa4ed173e70870', class: "progress-bar", role: "progressbar", style: { width: `${progressBarFilledPercentage}%` }, "aria-valuenow": progressBarFilledPercentage, "aria-valuemin": "0", "aria-valuemax": "100", "aria-labelledby": "loadinglabel", "aria-label": "progress bar" })), h("div", { key: '57c7b9d84886d5c96d633d3d85e95059cb113f2b', class: `${fullwidth}` }, h("span", { key: 'befe4e5d339847a04bfa246edc0c809523e40aa9', id: "loadinglabel", class: "progress-element-label" }, this.label), this.showstep && (h("span", { key: '6eb7e35b57306e67f5bf5ff45d592b926669f63a', class: "progress-element-step" }, step, "/", this.numbersteps)))));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "road-progress"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/progress-indicator-horizontal/progress-indicator-horizontal.js
CHANGED
|
@@ -29,7 +29,7 @@ export class Stepper {
|
|
|
29
29
|
const urlStep1 = this.urlStep1 !== undefined ? `${this.urlStep1}` : '#';
|
|
30
30
|
const urlStep2 = this.urlStep2 !== undefined ? `${this.urlStep2}` : '#';
|
|
31
31
|
const urlStep3 = this.urlStep3 !== undefined ? `${this.urlStep3}` : '#';
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: 'ccb6347ccc6d69282b0b3de2e6371b4ae0da7d6d' }, h("nav", { key: '4025380ac77abef5bf2cc517fe73e11112f768b0' }, h("ul", { key: '84fa3d6446fe171ae5c167bec45fdbc8cdb4ce9c', class: `${colorClass}` }, h("li", { key: 'a15bf9839e720c4587e06e64285352062a05fed0', class: `${stateClass}` }, h("a", { key: '5f8b9233a3c63701d1e689666c295bf8687352b9', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, h("span", { key: 'a388162f0a3399cd61f500ca1a6cd2195fc1cfaa', class: "progress-indicator-horizontal-icon" }, h("slot", { key: '15c6e61fa315c0685b0163e303edcc6778b4c9a5', name: "progress-indicator-horizontal-icon" })), h("span", { key: 'a46cd307a9ea8e6136d6404ef0c5a433ffb87666', class: "progress-indicator-horizontal-title" }, h("slot", { key: '9993529c48b5e0b77fc22864d649694cb1c2ee0c', name: "progress-indicator-horizontal-title" })))), h("li", { key: '4d64c11c640b2f40f72f6dddd8c33438c4bdeb9b', class: `${stateSecondStepClass}` }, h("a", { key: '03d659b8a60172b33c82b3a26957896c25e3b467', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, h("span", { key: 'c1f9a3b9c9f0b0a54859ee7a3b0d7e9c2552740b', class: "progress-indicator-horizontal-icon" }, h("slot", { key: '08db755e8c6b0a8b5103e4022710fb5e8ed5ae34', name: "progress-indicator-horizontal-icon2" })), h("span", { key: '7c458f6a250c5f66b199019babb14e1373fae597', class: "progress-indicator-horizontal-title" }, h("slot", { key: 'a2df3767db3baa71ed8e3d5e93f3fb86b2e71f8f', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && h("li", { key: 'b7adeb48232b08b3a234829611af3b6a28d00a67', class: `${stateThirdStepClass}` }, h("a", { key: 'e7537eddb421180a668ad31eddb034c5bdad4a23', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, h("span", { key: 'e0ffebe33d163b2e37e5d8d54dabe96f5b12a171', class: "progress-indicator-horizontal-icon" }, h("slot", { key: '2e077ab50eebe1d72e76e9dc04f451cf8c617b9f', name: "progress-indicator-horizontal-icon3" })), h("span", { key: '1cad575ca395bb5f2a718c49b32c01952e7faa8c', class: "progress-indicator-horizontal-title" }, h("slot", { key: 'ee40e5251b5db0a55fdff81a903af67ac3ca5f93', name: "progress-indicator-horizontal-title3" }))))))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "road-progress-indicator-horizontal"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/progress-indicator-vertical/progress-indicator-vertical.js
CHANGED
|
@@ -12,7 +12,7 @@ import { Host, h } from "@stencil/core";
|
|
|
12
12
|
*/
|
|
13
13
|
export class ProgressIndicatorVertical {
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '4762ffd8a4fbf70b85dd9d21a370006e9c9f1dde' }, h("nav", { key: 'b5582b03ea6525acab65853e3d816b96d7e1fbfc' }, h("ul", { key: '3e368e7204eb13839ceac853dbdbe5037c8c11a0' }, h("li", { key: '3304843de4f5fdd4b66dd4539b536bc87b506187' }, h("slot", { key: 'bbbb9861ece279921924dc9fc04b8a9581783071' }))))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "road-progress-indicator-vertical"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class ProgressIndicatorVerticalItem {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '01e909268830e3729f771371fea8e22672c1f81f' }, h("slot", { key: 'd613840f69ca8d4c9b0ae8e1d53b01acc027bcee' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "road-progress-indicator-vertical-item"; }
|
|
10
10
|
static get originalStyleUrls() {
|
|
@@ -9,7 +9,7 @@ import { Host, h } from "@stencil/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export class ProgressTracker {
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: 'd90d4f149d2d2565b50258fa240ffe48510726d2' }, h("nav", { key: '5b3a49448b26a10f6f9b237f91d8ca965744b62e' }, h("ul", { key: '424fd565e2ef9fd7fa59196d8719563c6b6e8e61' }, h("li", { key: '917ec2b3312c4569b0a8e3e5a1989116e815406d' }, h("slot", { key: 'c0b16be12f3732882cee034adb66ce8aa78664f1' }))))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "road-progress-tracker"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,7 +12,7 @@ import { Host, h } from "@stencil/core";
|
|
|
12
12
|
*/
|
|
13
13
|
export class ProgressTrackerItem {
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'd7232f28ef30258e59fff790e0a07677eacd13a1' }, h("slot", { key: 'cf7e6d62701374235c58ef97f340b99d1b648847' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "road-progress-tracker-item"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -72,7 +72,7 @@ export class Radio {
|
|
|
72
72
|
const inverseClass = this.inverse && 'form-radio-inverse';
|
|
73
73
|
const isInvalidClass = this.error ? 'is-invalid' : '';
|
|
74
74
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '1b2343fc9a114afc9506ff040f28a6061a5c9f56', class: `form-radio ${inlineClass}` }, h("input", { key: 'ada87aa55c1d5a778e40fd25c103d0229ecfeec6', class: `form-radio-input ${isInvalidClass}`, type: "radio", id: this.radioId, name: this.name, required: this.required, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null, checked: this.checked, "aria-checked": `${this.checked}`, "aria-labelledby": labelId, value: this.value, onFocus: this.onFocus, onBlur: this.onBlur }), h("label", { key: '5690c2d0fc4a0c7b6e03c5fa3c1603a61a2a906f', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", h("span", { key: '84ce9ad88d4a2612a176b0420ac114c1a648a5a8', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "road-radio"; }
|
|
78
78
|
static get encapsulation() { return "scoped"; }
|
|
@@ -49,7 +49,7 @@ export class RadioCard {
|
|
|
49
49
|
const inlineClass = this.inline ? 'form-radio-inline' : '';
|
|
50
50
|
const selectedClass = this.isSelected || this.selected ? 'radio-card-selected' : '';
|
|
51
51
|
const disabledClass = this.disabled ? 'radio-card-disabled' : '';
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '5895d04cdb20013dc850dbded6005cd7280838af', class: `form-radio ${inlineClass}` }, h("div", { key: 'd12cd0ba4ec697307f833afec78c7bbe058cb782', class: `radio-card ${selectedClass} ${disabledClass}`, onClick: this.onClick }, h("input", { key: '30ff38097eeb93342dcfe8358642f8910bbd7a05', ref: el => this.inputEl = el, class: "form-radio-input", type: "radio", id: this.radioId, name: this.name, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, checked: this.isSelected || this.selected, "aria-labelledby": labelId, value: this.value, onFocus: this.onFocus, onBlur: this.onBlur, onChange: () => { } }), h("label", { key: '43e6a5f291aa394da3b0100c7c915987090dd863', class: "form-radio-label", htmlFor: this.radioId, id: labelId }, h("div", { key: '49a9e20e549ed5d79943a3fce2aa3f234774a76a', class: "slot-wrapper" }, h("slot", { key: 'cbc19c8a4fa7a6be3511d5790247b39e5ded48a4' }))))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "road-radio-card"; }
|
|
55
55
|
static get encapsulation() { return "scoped"; }
|
|
@@ -66,7 +66,7 @@ export class RadioGroup {
|
|
|
66
66
|
render() {
|
|
67
67
|
const labelId = `${this.radioGroupId}-label`;
|
|
68
68
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'ee8965fbe7b9072e38258f08d913dce16499de1c', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && h("p", { key: 'fc61d22496e8055fd10da0299d5ecb58b749bf5b', class: "text-content", id: labelId }, this.label, " ", this.asterisk && h("span", { key: '5dbb41cab5c73fea7f3123f412d38914b7f2f5de', class: "asterisk" }, "*")), h("slot", { key: '8ce125c2d08a3cfe325569d51c256e7d38c8ba6c' }), this.error && this.error !== '' && h("p", { key: '468c378dc679b42e35118666a917c50c558f8f47', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: 'e453fd6c032ed75bb44099260fd40b033c5fa748', class: "helper" }, this.helper)));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "road-radio-group"; }
|
|
72
72
|
static get encapsulation() { return "scoped"; }
|
|
@@ -95,14 +95,14 @@ export class Range {
|
|
|
95
95
|
render() {
|
|
96
96
|
const value = this.getValue();
|
|
97
97
|
const datalist = this.showLabels !== undefined ? `tickmarks` : "";
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: 'c3920abc285183763dbc8f2aa4773cca370bcd07', tabindex: "0", class: { disabled: this.disabled } }, h("div", { key: 'dd1886b51d24f6c964d589759c69ee01984f8e37', class: "form-group d-flex align-items-end" }, this.showTick && (h("road-icon", { key: '55aa2746dd83c6145722eb580a811607cb5dc07f', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), h("div", { key: 'd17f88478bd99fca6656a9d14dc173e84e377310', class: "form-range", style: {
|
|
99
99
|
"--min": this.min,
|
|
100
100
|
"--max": this.max,
|
|
101
101
|
"--value": value,
|
|
102
102
|
"--background-color": this.disabled
|
|
103
103
|
? "var(--road-surface-disabled)"
|
|
104
104
|
: "initial",
|
|
105
|
-
} }, this.showValue && h("output", { key: '
|
|
105
|
+
} }, this.showValue && h("output", { key: '85a0ba0f128f123b97ba55420bccfd39eb889c39' }), this.showLabels && h("slot", { key: 'ff35158ff5adf21ce51b01ed74d109a3db0944be', name: "datalist" }), h("input", { key: '5e6d7d1812c96be847f091003c0cb36ebc390802', type: "range", class: "form-range-input", id: this.rangeId, min: this.min, max: this.max, value: value, onInput: this.onInput, list: datalist, "aria-label": "Valeur", tabindex: "0", disabled: this.disabled }), h("label", { key: 'd0c8ec02d5ab901104b0d75a2b03ec759db92869', class: "form-range-label" }, "Valeur"), h("div", { key: 'e95ec94dd77494301597108e379db793571aabaf', class: "form-range-progress" })), this.showTick && (h("road-icon", { key: 'e3b009fb2cacb8e2b0bbc22fa99dda889911ebc6', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "road-range"; }
|
|
108
108
|
static get encapsulation() { return "scoped"; }
|
|
@@ -37,7 +37,7 @@ export class Rating {
|
|
|
37
37
|
const sizeRatingStarsClass = this.size !== undefined ? `rating-stars rating-stars--${this.size}` : 'rating-stars';
|
|
38
38
|
const sizeRatingNumberClass = this.size !== undefined ? `rating-number rating-number--${this.size}` : 'rating-number';
|
|
39
39
|
const readOnly = this.readonly == true ? `readonly` : '';
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'f746ba94159c130ca443d88ff3cb2f19183f014a' }, h("div", { key: 'bd36bdd0b94d67ed435554a674a4a9aba0a12c2f', class: `${sizeRatingStarsClass}` }, [...Array(rate)].map(() => h("road-icon", { icon: star, size: "sm", color: "warning" })), [...Array(rateDecimale)].map(() => h("road-icon", { icon: starHalfColor, size: "sm", class: "rating-star" })), [...Array(5 - rate - rateDecimale)].map(() => h("road-icon", { icon: star, size: "sm", class: "rating-star" }))), this.readonly == false && this.showreviews && h("a", { key: '432a059b4b6e69201f90d0e807b6e30b25bd9b55', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && h("road-label", { key: '65aedc2c22b39e22b48afed4595a0db0829e373a', class: `${sizeRatingNumberClass} ${readOnly}` }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")")));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "road-rating"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class Row {
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '69fff326414139d63af822fff7704e092100924e' }, h("slot", { key: '31bacdec0c2661d6bf417dc79693f8f6e7b5276c' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "road-row"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,10 +52,10 @@ export class SegmentedButton {
|
|
|
52
52
|
render() {
|
|
53
53
|
const { tabIndex, selected, tab } = this;
|
|
54
54
|
const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '20194d71e8ca1c839c4a6287511fcb9ad1318e67', onClick: this.onClick, onKeyup: this.onKeyUp, role: "tab", tabindex: tabIndex, "aria-selected": selected ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
56
56
|
'tab-selected': selected,
|
|
57
57
|
[`${sizeClass}`]: true,
|
|
58
|
-
} }, h("span", { key: '
|
|
58
|
+
} }, h("span", { key: 'cf51481805c04571bc3ef97a150b011bd8c0e79e', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("span", { key: '595aae2ef9621aa6a39ef2388373ec3708972bbb', class: "button-content" }, h("slot", { key: '9b6e874b79e88265b6c56465e9f84a5849363016' })))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "road-segmented-button"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class ButtonBar {
|
|
|
18
18
|
this.selectedTabChanged();
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '9d6937fa6b2840970dd93648f1e79724562d91bf', role: "tablist" }, h("slot", { key: '63de3253cb8eb6e9d4fa2374a1fab04ff64b174a' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "road-segmented-button-bar"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -86,7 +86,7 @@ export class Tabs {
|
|
|
86
86
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
87
87
|
}
|
|
88
88
|
render() {
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: 'df0d2cbe2bf0647686439e58ab7e47067bb85a18', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: '0181d346ee8cf63cab8eac42c8932e1f5477288f', name: "top" }), h("slot", { key: 'c3c0f5c41618721ace911e149d1218b0f8412369' })));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "road-segmented-buttons"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -92,7 +92,7 @@ export class Select {
|
|
|
92
92
|
const labelId = this.selectId + '-label';
|
|
93
93
|
const hasValueClass = this.value && this.value !== '' ? 'has-value' : '';
|
|
94
94
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
95
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: 'e86d30d1fe1fd95d7b70140a57d76f3992cbc035', class: this.sizes && `select-${this.sizes}` }, h("select", { key: '9a438873eedc20213b7e6c8bae2c648c9c1e0ad1', class: `form-select ${hasValueClass} ${isInvalidClass}`, id: this.selectId, "aria-disabled": this.disabled ? 'true' : null, autoFocus: this.autofocus, disabled: this.disabled, name: this.name, required: this.required, size: this.size, onChange: this.onChange, onFocus: this.onFocus, onBlur: this.onBlur }, h("option", { key: '67d63f752f9f0fa2d48ee4ec07029c7e43706729', selected: !this.value, disabled: true, hidden: true, style: { display: 'none' }, value: "" }), this.options && this.options.map(option => (h("option", { value: option.value, selected: this.value !== null && option.value == this.value }, option.label)))), h("label", { key: 'c07e091eb4b6da4ab793c2056131c16bf9ee4723', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && h("p", { key: 'd01132cad717c35ca5a5afe2ad8effb697037a13', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '2f884ebd87cf990ab093ee5a023cd698c6883a8f', class: "helper" }, this.helper)));
|
|
96
96
|
}
|
|
97
97
|
static get is() { return "road-select"; }
|
|
98
98
|
static get encapsulation() { return "scoped"; }
|
|
@@ -179,7 +179,7 @@ export class SelectFilter {
|
|
|
179
179
|
const options = this.filteredOptions;
|
|
180
180
|
const isActive = this.isActive ? 'true' : 'false';
|
|
181
181
|
const notActive = this.isActive ? '' : 'not-active';
|
|
182
|
-
return (h(Host, { key: '
|
|
182
|
+
return (h(Host, { key: '5d0540d59c53f2506b97fdaa40a1fae6381098f5', "is-active": isActive }, h("slot", { key: 'e7b5e449426fe5364b5a12a5aa408a98a033869e' }), this.isOpen && (h("div", { key: '01f532bba66042887e23c5892609e4dd174d8330', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.length === 0 ? (h("div", { class: "select-filter-empty" }, "Aucune option")) : (h("ul", { class: "pl-0" }, options.map((option, idx) => (h("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: (e) => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, ''), e), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 })))))))));
|
|
183
183
|
}
|
|
184
184
|
static get is() { return "road-select-filter"; }
|
|
185
185
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class Skeleton {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("span", { key: '
|
|
4
|
+
return (h("span", { key: 'ec2419ddcf62a6b2aeedd68ec0c1eb8e430f8185' }, "\u00A0"));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "road-skeleton"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,7 +13,7 @@ export class Spinner {
|
|
|
13
13
|
render() {
|
|
14
14
|
const sizeClass = this.size !== undefined ? `spinner spinner--${this.size}` : 'spinner';
|
|
15
15
|
const colorClass = this.size !== undefined ? `spinner-circle spinner-circle--${this.color}` : 'spinner-circle';
|
|
16
|
-
return (h("svg", { key: '
|
|
16
|
+
return (h("svg", { key: 'fc286db53f3b74155c3221474abb9472d774e89d', class: `${sizeClass}`, viewBox: "25 25 50 50" }, h("circle", { key: 'a40ef2366ff12fe69486f3db0d92b7d49affd370', class: `${colorClass}`, cx: "50", cy: "50", r: "20" })));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "road-spinner"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|