@roadtrip/components 3.39.2 → 3.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-b7c6ddf0.js.map +1 -1
- package/dist/cjs/{index-bf8a763e.js → index-0e4df560.js} +3 -1
- package/dist/cjs/index-0e4df560.js.map +1 -0
- package/dist/cjs/index-fee0103c.js +8 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-accordion.cjs.entry.js +1 -1
- package/dist/cjs/road-alert.cjs.entry.js +54 -2
- package/dist/cjs/road-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/road-area-code.cjs.entry.js +1 -1
- package/dist/cjs/road-aspect-ratio.cjs.entry.js +1 -1
- package/dist/cjs/road-autocomplete.cjs.entry.js +2 -2
- package/dist/cjs/road-avatar.cjs.entry.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +24 -19
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-banner.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/road-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/road-chip.cjs.entry.js +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- package/dist/cjs/road-rating.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/road-select.cjs.entry.js.map +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 +28 -0
- package/dist/cjs/road-status-chip.cjs.entry.js.map +1 -0
- 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 +2 -2
- 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 +100 -0
- package/dist/cjs/road-time-range-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/road-toast.cjs.entry.js +2 -2
- 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 +2 -0
- package/dist/collection/components/alert/alert.css +73 -2
- package/dist/collection/components/alert/alert.js +157 -1
- package/dist/collection/components/alert/alert.js.map +1 -1
- package/dist/collection/components/alert/alert.stories.js +27 -12
- package/dist/collection/components/area-code/area-code.js +1 -1
- package/dist/collection/components/aspect-ratio/aspect-ratio.js +1 -1
- package/dist/collection/components/autocomplete/autocomplete.js +2 -2
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/badge/badge.js +1 -1
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- 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.js +1 -1
- 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 +1 -1
- package/dist/collection/components/dialog/dialog.js +3 -3
- package/dist/collection/components/drawer/drawer.js +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.css +8 -0
- package/dist/collection/components/input/input.js +27 -2
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/input.stories.js +11 -0
- package/dist/collection/components/input-group/input-group.js +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/patterns/link.stories.js +5 -0
- 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.css +9 -0
- package/dist/collection/components/select/select.js +20 -1
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/select.stories.js +10 -0
- 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 +94 -0
- package/dist/collection/components/status-chip/status-chip.js +54 -0
- package/dist/collection/components/status-chip/status-chip.js.map +1 -0
- package/dist/collection/components/status-chip/status-chip.stories.js +48 -0
- 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.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.css +43 -0
- package/dist/collection/components/time-range-picker/time-range-picker.js +362 -0
- package/dist/collection/components/time-range-picker/time-range-picker.js.map +1 -0
- package/dist/collection/components/time-range-picker/time-range-picker.stories.js +76 -0
- 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/esm/app-globals-05a7fd2f.js.map +1 -1
- package/dist/esm/{index-f1358629.js → index-6de77b28.js} +3 -2
- package/dist/esm/index-6de77b28.js.map +1 -0
- package/dist/esm/index-8dc34f94.js +8 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-accordion.entry.js +1 -1
- package/dist/esm/road-alert.entry.js +55 -3
- package/dist/esm/road-alert.entry.js.map +1 -1
- package/dist/esm/road-area-code.entry.js +1 -1
- package/dist/esm/road-aspect-ratio.entry.js +1 -1
- package/dist/esm/road-autocomplete.entry.js +2 -2
- package/dist/esm/road-avatar.entry.js +1 -1
- package/dist/esm/road-badge_14.entry.js +24 -19
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-banner.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/road-checkbox.entry.js +2 -2
- package/dist/esm/road-chip.entry.js +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +3 -3
- 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 +3 -3
- package/dist/esm/road-rating.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/road-select.entry.js.map +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 +24 -0
- package/dist/esm/road-status-chip.entry.js.map +1 -0
- 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 +2 -2
- 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 +96 -0
- package/dist/esm/road-time-range-picker.entry.js.map +1 -0
- package/dist/esm/road-toast.entry.js +2 -2
- 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 +184 -79
- package/dist/roadtrip/p-06bfef98.js.map +1 -1
- package/dist/roadtrip/{p-727b8192.entry.js → p-07db2ee1.entry.js} +3 -3
- package/dist/roadtrip/p-07db2ee1.entry.js.map +1 -0
- package/dist/roadtrip/{p-3b05eb04.entry.js → p-11d896b1.entry.js} +2 -2
- package/dist/roadtrip/{p-31837e5f.entry.js → p-1449b7c8.entry.js} +2 -2
- package/dist/roadtrip/p-24196fd2.entry.js +2 -0
- package/dist/roadtrip/p-24196fd2.entry.js.map +1 -0
- package/dist/roadtrip/{p-c2e6b479.entry.js → p-26b852e2.entry.js} +2 -2
- package/dist/roadtrip/{p-a426ec75.entry.js → p-2797e2f2.entry.js} +2 -2
- package/dist/roadtrip/{p-05d0f91d.entry.js → p-29ac611e.entry.js} +2 -2
- package/dist/roadtrip/p-2ae82371.entry.js +2 -0
- package/dist/roadtrip/{p-2722edab.entry.js → p-302f51c6.entry.js} +2 -2
- package/dist/roadtrip/{p-3e076a57.entry.js → p-36288d23.entry.js} +2 -2
- package/dist/roadtrip/{p-3c63b7db.entry.js → p-36f8563a.entry.js} +2 -2
- package/dist/roadtrip/{p-ad5bbf7b.entry.js → p-377d6b5b.entry.js} +2 -2
- package/dist/roadtrip/{p-0c3acb06.entry.js → p-39173ac2.entry.js} +2 -2
- package/dist/roadtrip/p-39173ac2.entry.js.map +1 -0
- package/dist/roadtrip/{p-a065e029.entry.js → p-3a310d3d.entry.js} +2 -2
- package/dist/roadtrip/{p-f293472d.entry.js → p-3dc22d00.entry.js} +2 -2
- package/dist/roadtrip/p-4334d85b.entry.js +2 -0
- package/dist/roadtrip/{p-4543ebe4.entry.js → p-45b9521f.entry.js} +2 -2
- package/dist/roadtrip/{p-773d810b.entry.js → p-45cabcdf.entry.js} +2 -2
- package/dist/roadtrip/{p-ed4c84c4.entry.js → p-4bb49a92.entry.js} +2 -2
- package/dist/roadtrip/{p-713db434.entry.js → p-4e3cc7e9.entry.js} +2 -2
- package/dist/roadtrip/{p-7546dadc.entry.js → p-509ba166.entry.js} +2 -2
- package/dist/roadtrip/{p-c8639b33.entry.js → p-52d56ed2.entry.js} +2 -2
- package/dist/roadtrip/p-55a946f4.js +2 -0
- package/dist/roadtrip/p-55a946f4.js.map +1 -0
- package/dist/roadtrip/{p-47996b6e.entry.js → p-58b20099.entry.js} +2 -2
- package/dist/roadtrip/{p-9fd1a846.entry.js → p-5b738d24.entry.js} +2 -2
- package/dist/roadtrip/{p-14761790.entry.js → p-5f6771e5.entry.js} +2 -2
- package/dist/roadtrip/p-61191773.entry.js +2 -0
- package/dist/roadtrip/{p-1fe92473.entry.js.map → p-61191773.entry.js.map} +1 -1
- package/dist/roadtrip/{p-610216c6.entry.js → p-65dfd1e8.entry.js} +2 -2
- package/dist/roadtrip/{p-a21bce75.entry.js → p-6e9fac54.entry.js} +2 -2
- package/dist/roadtrip/{p-974b5313.entry.js → p-70f4387a.entry.js} +2 -2
- package/dist/roadtrip/{p-4c3c1480.entry.js → p-75ebf102.entry.js} +2 -2
- package/dist/roadtrip/{p-f514f186.entry.js → p-7955499d.entry.js} +2 -2
- package/dist/roadtrip/{p-daeb9c8d.entry.js → p-79c3152e.entry.js} +2 -2
- package/dist/roadtrip/{p-84dc220e.entry.js → p-7e0bdcf9.entry.js} +2 -2
- package/dist/roadtrip/p-8753beba.entry.js +2 -0
- package/dist/roadtrip/{p-fa0d3620.entry.js → p-875b5999.entry.js} +2 -2
- package/dist/roadtrip/{p-8405c529.entry.js → p-8cd69117.entry.js} +2 -2
- package/dist/roadtrip/{p-c75d28ae.entry.js → p-927cf307.entry.js} +2 -2
- package/dist/roadtrip/{p-255f2276.entry.js → p-9cbd5ae9.entry.js} +2 -2
- package/dist/roadtrip/{p-64928ea0.entry.js → p-a264377a.entry.js} +2 -2
- package/dist/roadtrip/{p-64b638e1.entry.js → p-a4e45088.entry.js} +2 -2
- package/dist/roadtrip/{p-47c44b2b.entry.js → p-b292d3fc.entry.js} +2 -2
- package/dist/roadtrip/{p-5cd3095d.entry.js → p-b5b2e36c.entry.js} +2 -2
- package/dist/roadtrip/{p-bfca0abd.entry.js → p-b61abebd.entry.js} +2 -2
- package/dist/roadtrip/{p-d91eccca.entry.js → p-b8132587.entry.js} +2 -2
- package/dist/roadtrip/{p-998e28b4.entry.js → p-c28fbcc0.entry.js} +2 -2
- package/dist/roadtrip/{p-aed4bf52.entry.js → p-c4550384.entry.js} +2 -2
- package/dist/roadtrip/{p-c441209e.entry.js → p-c7dd579d.entry.js} +2 -2
- package/dist/roadtrip/{p-dab34668.entry.js → p-c9527301.entry.js} +2 -2
- package/dist/roadtrip/{p-d62ae6e9.entry.js → p-ca3460a4.entry.js} +2 -2
- package/dist/roadtrip/{p-455e929c.entry.js → p-d1517c27.entry.js} +2 -2
- package/dist/roadtrip/p-d6a7644e.entry.js +2 -0
- package/dist/roadtrip/p-d6a7644e.entry.js.map +1 -0
- package/dist/roadtrip/{p-18c2b855.entry.js → p-d881a66c.entry.js} +2 -2
- package/dist/roadtrip/p-da3bfbfb.entry.js +2 -0
- package/dist/roadtrip/p-da3bfbfb.entry.js.map +1 -0
- package/dist/roadtrip/{p-cfe1ebe3.entry.js → p-de35fded.entry.js} +2 -2
- package/dist/roadtrip/{p-233b3f06.entry.js → p-df4cf8bb.entry.js} +2 -2
- package/dist/roadtrip/p-e2ba76f7.entry.js +2 -0
- package/dist/roadtrip/{p-1cce4f29.entry.js → p-e56c84ec.entry.js} +2 -2
- package/dist/roadtrip/{p-7ff27d65.entry.js → p-e7b4f257.entry.js} +2 -2
- package/dist/roadtrip/{p-b7dc61c8.entry.js → p-e97c8d7f.entry.js} +2 -2
- package/dist/roadtrip/p-eca24e7d.entry.js +2 -0
- package/dist/roadtrip/{p-6c43a952.entry.js.map → p-eca24e7d.entry.js.map} +1 -1
- package/dist/roadtrip/{p-6e09a2ef.entry.js → p-edf07985.entry.js} +2 -2
- package/dist/roadtrip/{p-f7a3a65c.entry.js → p-ef883f08.entry.js} +2 -2
- package/dist/roadtrip/{p-7dc95335.entry.js → p-f30f96c2.entry.js} +2 -2
- package/dist/roadtrip/{p-6bba72da.entry.js → p-f58f43d0.entry.js} +2 -2
- package/dist/roadtrip/{p-090b84ec.entry.js → p-fdcebcc3.entry.js} +2 -2
- package/dist/roadtrip/p-ff189f73.entry.js +2 -0
- 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/alert/alert.d.ts +37 -0
- package/dist/types/components/input/input.d.ts +4 -0
- package/dist/types/components/select/select.d.ts +4 -0
- package/dist/types/components/status-chip/status-chip.d.ts +11 -0
- package/dist/types/components/time-range-picker/time-range-picker.d.ts +57 -0
- package/dist/types/components.d.ts +210 -0
- package/hydrate/index.d.ts +24 -38
- package/hydrate/index.js +20100 -20260
- package/hydrate/index.mjs +20100 -20260
- package/package.json +4 -4
- package/dist/cjs/index-bf8a763e.js.map +0 -1
- package/dist/esm/index-f1358629.js.map +0 -1
- package/dist/roadtrip/p-0c3acb06.entry.js.map +0 -1
- package/dist/roadtrip/p-1fe92473.entry.js +0 -2
- package/dist/roadtrip/p-32685310.entry.js +0 -2
- package/dist/roadtrip/p-64d67d81.entry.js +0 -2
- package/dist/roadtrip/p-6c43a952.entry.js +0 -2
- package/dist/roadtrip/p-6d7895b7.entry.js +0 -2
- package/dist/roadtrip/p-727b8192.entry.js.map +0 -1
- package/dist/roadtrip/p-9e22fa54.entry.js +0 -2
- package/dist/roadtrip/p-a8cfee66.entry.js +0 -2
- package/dist/roadtrip/p-a8cfee66.entry.js.map +0 -1
- package/dist/roadtrip/p-db82e012.js +0 -2
- package/dist/roadtrip/p-db82e012.js.map +0 -1
- package/dist/roadtrip/p-f4b23455.entry.js +0 -2
- /package/dist/roadtrip/{p-3b05eb04.entry.js.map → p-11d896b1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-31837e5f.entry.js.map → p-1449b7c8.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c2e6b479.entry.js.map → p-26b852e2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a426ec75.entry.js.map → p-2797e2f2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-05d0f91d.entry.js.map → p-29ac611e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-32685310.entry.js.map → p-2ae82371.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2722edab.entry.js.map → p-302f51c6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3e076a57.entry.js.map → p-36288d23.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3c63b7db.entry.js.map → p-36f8563a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ad5bbf7b.entry.js.map → p-377d6b5b.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a065e029.entry.js.map → p-3a310d3d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f293472d.entry.js.map → p-3dc22d00.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9e22fa54.entry.js.map → p-4334d85b.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4543ebe4.entry.js.map → p-45b9521f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-773d810b.entry.js.map → p-45cabcdf.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ed4c84c4.entry.js.map → p-4bb49a92.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-713db434.entry.js.map → p-4e3cc7e9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7546dadc.entry.js.map → p-509ba166.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c8639b33.entry.js.map → p-52d56ed2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-47996b6e.entry.js.map → p-58b20099.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-9fd1a846.entry.js.map → p-5b738d24.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-14761790.entry.js.map → p-5f6771e5.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-610216c6.entry.js.map → p-65dfd1e8.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a21bce75.entry.js.map → p-6e9fac54.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-974b5313.entry.js.map → p-70f4387a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4c3c1480.entry.js.map → p-75ebf102.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f514f186.entry.js.map → p-7955499d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-daeb9c8d.entry.js.map → p-79c3152e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-84dc220e.entry.js.map → p-7e0bdcf9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6d7895b7.entry.js.map → p-8753beba.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fa0d3620.entry.js.map → p-875b5999.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8405c529.entry.js.map → p-8cd69117.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c75d28ae.entry.js.map → p-927cf307.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-255f2276.entry.js.map → p-9cbd5ae9.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-64928ea0.entry.js.map → p-a264377a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-64b638e1.entry.js.map → p-a4e45088.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-47c44b2b.entry.js.map → p-b292d3fc.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5cd3095d.entry.js.map → p-b5b2e36c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-bfca0abd.entry.js.map → p-b61abebd.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d91eccca.entry.js.map → p-b8132587.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-998e28b4.entry.js.map → p-c28fbcc0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-aed4bf52.entry.js.map → p-c4550384.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c441209e.entry.js.map → p-c7dd579d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-dab34668.entry.js.map → p-c9527301.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d62ae6e9.entry.js.map → p-ca3460a4.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-455e929c.entry.js.map → p-d1517c27.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-18c2b855.entry.js.map → p-d881a66c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cfe1ebe3.entry.js.map → p-de35fded.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-233b3f06.entry.js.map → p-df4cf8bb.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-64d67d81.entry.js.map → p-e2ba76f7.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-1cce4f29.entry.js.map → p-e56c84ec.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7ff27d65.entry.js.map → p-e7b4f257.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b7dc61c8.entry.js.map → p-e97c8d7f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6e09a2ef.entry.js.map → p-edf07985.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f7a3a65c.entry.js.map → p-ef883f08.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-7dc95335.entry.js.map → p-f30f96c2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6bba72da.entry.js.map → p-f58f43d0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-090b84ec.entry.js.map → p-fdcebcc3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f4b23455.entry.js.map → p-ff189f73.entry.js.map} +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
/**
|
|
3
|
+
* @slot start - Input de début
|
|
4
|
+
* @slot end - Input de fin
|
|
5
|
+
* @slot separator - Label séparateur (optionnel)
|
|
6
|
+
*/
|
|
7
|
+
export declare class RoadTimeRangePicker {
|
|
8
|
+
hostEl: HTMLElement;
|
|
9
|
+
/** Heure de début */
|
|
10
|
+
start?: string;
|
|
11
|
+
/** Heure de fin */
|
|
12
|
+
end?: string;
|
|
13
|
+
/** Désactivation du picker */
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
/** Helper message */
|
|
16
|
+
helper?: string;
|
|
17
|
+
/** Separator label */
|
|
18
|
+
separator?: string;
|
|
19
|
+
/** Si `true`, l’utilisateur doit remplir avant submit */
|
|
20
|
+
required: boolean;
|
|
21
|
+
/** Label global du champ */
|
|
22
|
+
label?: string;
|
|
23
|
+
/** Taille du champ */
|
|
24
|
+
sizes: 'lg' | 'xl';
|
|
25
|
+
/** Error messages */
|
|
26
|
+
error?: string | string[];
|
|
27
|
+
/** Événement quand la plage change */
|
|
28
|
+
roadChange: EventEmitter<{
|
|
29
|
+
start?: string;
|
|
30
|
+
end?: string;
|
|
31
|
+
}>;
|
|
32
|
+
/** Forward des events enfants */
|
|
33
|
+
roadInput: EventEmitter<{
|
|
34
|
+
start?: string;
|
|
35
|
+
end?: string;
|
|
36
|
+
}>;
|
|
37
|
+
roadFocus: EventEmitter<'start' | 'end'>;
|
|
38
|
+
roadBlur: EventEmitter<'start' | 'end'>;
|
|
39
|
+
/** Retourne les messages d'erreur sous forme de tableau */
|
|
40
|
+
private get errorMessages();
|
|
41
|
+
/** Ajoute ou retire la classe error-border sur le road-input */
|
|
42
|
+
private updateInvalidClasses;
|
|
43
|
+
/** Vérifie que start <= end et met à jour l’erreur */
|
|
44
|
+
private validateRange;
|
|
45
|
+
/** Émet les changements */
|
|
46
|
+
private emitChange;
|
|
47
|
+
/** Handle change depuis le slot start */
|
|
48
|
+
private handleStartChange;
|
|
49
|
+
/** Handle change depuis le slot end */
|
|
50
|
+
private handleEndChange;
|
|
51
|
+
componentDidLoad(): void;
|
|
52
|
+
getRange(): Promise<{
|
|
53
|
+
start: string | undefined;
|
|
54
|
+
end: string | undefined;
|
|
55
|
+
}>;
|
|
56
|
+
render(): any;
|
|
57
|
+
}
|
|
@@ -49,10 +49,30 @@ export namespace Components {
|
|
|
49
49
|
* Button display in the alert `<road-button size="sm">Label</road-button>`
|
|
50
50
|
*/
|
|
51
51
|
"button"?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Close the modal
|
|
54
|
+
*/
|
|
55
|
+
"close": () => Promise<void>;
|
|
52
56
|
/**
|
|
53
57
|
* Set the color of alert. e.g. info, success, warning, danger
|
|
54
58
|
*/
|
|
55
59
|
"color": FeedbackColors;
|
|
60
|
+
/**
|
|
61
|
+
* Show / hide close icon
|
|
62
|
+
*/
|
|
63
|
+
"hasCloseIcon": boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
66
|
+
*/
|
|
67
|
+
"has-close-icon"?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Set isOpen propertie to true to show the modal
|
|
70
|
+
*/
|
|
71
|
+
"isOpen": boolean;
|
|
72
|
+
/**
|
|
73
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
74
|
+
*/
|
|
75
|
+
"is-open"?: boolean;
|
|
56
76
|
/**
|
|
57
77
|
* Title display in the alert
|
|
58
78
|
*/
|
|
@@ -61,6 +81,10 @@ export namespace Components {
|
|
|
61
81
|
* Text Link display in the alert
|
|
62
82
|
*/
|
|
63
83
|
"link"?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Open the modal
|
|
86
|
+
*/
|
|
87
|
+
"open": () => Promise<void>;
|
|
64
88
|
/**
|
|
65
89
|
* url display in the link
|
|
66
90
|
*/
|
|
@@ -970,6 +994,10 @@ export namespace Components {
|
|
|
970
994
|
* Works with the min and max attributes to limit the increments at which a value can be set. Possible values are: `"any"` or a positive floating point number.
|
|
971
995
|
*/
|
|
972
996
|
"step"?: string;
|
|
997
|
+
/**
|
|
998
|
+
* The valid fields adopt an appearance that helps the user confirm that their data is formatted properly.
|
|
999
|
+
*/
|
|
1000
|
+
"success": boolean;
|
|
973
1001
|
/**
|
|
974
1002
|
* The type of control to display. The default type is text.
|
|
975
1003
|
*/
|
|
@@ -1646,6 +1674,10 @@ export namespace Components {
|
|
|
1646
1674
|
* Error message for the field
|
|
1647
1675
|
*/
|
|
1648
1676
|
"error"?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* Helper message for the field
|
|
1679
|
+
*/
|
|
1680
|
+
"helper"?: string;
|
|
1649
1681
|
/**
|
|
1650
1682
|
* Label for the field
|
|
1651
1683
|
*/
|
|
@@ -1714,6 +1746,12 @@ export namespace Components {
|
|
|
1714
1746
|
*/
|
|
1715
1747
|
"size"?: 'small' | 'medium' | 'large' | 'xl';
|
|
1716
1748
|
}
|
|
1749
|
+
interface RoadStatusChip {
|
|
1750
|
+
/**
|
|
1751
|
+
* The chip size.
|
|
1752
|
+
*/
|
|
1753
|
+
"size": 'sm' | 'md' | 'lg';
|
|
1754
|
+
}
|
|
1717
1755
|
interface RoadSwitch {
|
|
1718
1756
|
/**
|
|
1719
1757
|
* If `true`, the switch is checked.
|
|
@@ -1967,6 +2005,45 @@ export namespace Components {
|
|
|
1967
2005
|
*/
|
|
1968
2006
|
"wrap"?: 'hard' | 'soft' | 'off';
|
|
1969
2007
|
}
|
|
2008
|
+
interface RoadTimeRangePicker {
|
|
2009
|
+
/**
|
|
2010
|
+
* Désactivation du picker
|
|
2011
|
+
*/
|
|
2012
|
+
"disabled": boolean;
|
|
2013
|
+
/**
|
|
2014
|
+
* Heure de fin
|
|
2015
|
+
*/
|
|
2016
|
+
"end"?: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* Error messages
|
|
2019
|
+
*/
|
|
2020
|
+
"error"?: string | string[];
|
|
2021
|
+
"getRange": () => Promise<{ start: string | undefined; end: string | undefined; }>;
|
|
2022
|
+
/**
|
|
2023
|
+
* Helper message
|
|
2024
|
+
*/
|
|
2025
|
+
"helper"?: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* Label global du champ
|
|
2028
|
+
*/
|
|
2029
|
+
"label"?: string;
|
|
2030
|
+
/**
|
|
2031
|
+
* Si `true`, l’utilisateur doit remplir avant submit
|
|
2032
|
+
*/
|
|
2033
|
+
"required": boolean;
|
|
2034
|
+
/**
|
|
2035
|
+
* Separator label
|
|
2036
|
+
*/
|
|
2037
|
+
"separator"?: string;
|
|
2038
|
+
/**
|
|
2039
|
+
* Taille du champ
|
|
2040
|
+
*/
|
|
2041
|
+
"sizes": 'lg' | 'xl';
|
|
2042
|
+
/**
|
|
2043
|
+
* Heure de début
|
|
2044
|
+
*/
|
|
2045
|
+
"start"?: string;
|
|
2046
|
+
}
|
|
1970
2047
|
interface RoadToast {
|
|
1971
2048
|
/**
|
|
1972
2049
|
* Close the toast
|
|
@@ -2115,6 +2192,10 @@ export namespace Components {
|
|
|
2115
2192
|
"trigger": string;
|
|
2116
2193
|
}
|
|
2117
2194
|
}
|
|
2195
|
+
export interface RoadAlertCustomEvent<T> extends CustomEvent<T> {
|
|
2196
|
+
detail: T;
|
|
2197
|
+
target: HTMLRoadAlertElement;
|
|
2198
|
+
}
|
|
2118
2199
|
export interface RoadAreaCodeCustomEvent<T> extends CustomEvent<T> {
|
|
2119
2200
|
detail: T;
|
|
2120
2201
|
target: HTMLRoadAreaCodeElement;
|
|
@@ -2263,6 +2344,10 @@ export interface RoadTextareaCustomEvent<T> extends CustomEvent<T> {
|
|
|
2263
2344
|
detail: T;
|
|
2264
2345
|
target: HTMLRoadTextareaElement;
|
|
2265
2346
|
}
|
|
2347
|
+
export interface RoadTimeRangePickerCustomEvent<T> extends CustomEvent<T> {
|
|
2348
|
+
detail: T;
|
|
2349
|
+
target: HTMLRoadTimeRangePickerElement;
|
|
2350
|
+
}
|
|
2266
2351
|
export interface RoadToastCustomEvent<T> extends CustomEvent<T> {
|
|
2267
2352
|
detail: T;
|
|
2268
2353
|
target: HTMLRoadToastElement;
|
|
@@ -2278,7 +2363,18 @@ declare global {
|
|
|
2278
2363
|
prototype: HTMLRoadAccordionElement;
|
|
2279
2364
|
new (): HTMLRoadAccordionElement;
|
|
2280
2365
|
};
|
|
2366
|
+
interface HTMLRoadAlertElementEventMap {
|
|
2367
|
+
"close": void;
|
|
2368
|
+
}
|
|
2281
2369
|
interface HTMLRoadAlertElement extends Components.RoadAlert, HTMLStencilElement {
|
|
2370
|
+
addEventListener<K extends keyof HTMLRoadAlertElementEventMap>(type: K, listener: (this: HTMLRoadAlertElement, ev: RoadAlertCustomEvent<HTMLRoadAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2371
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2372
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2373
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2374
|
+
removeEventListener<K extends keyof HTMLRoadAlertElementEventMap>(type: K, listener: (this: HTMLRoadAlertElement, ev: RoadAlertCustomEvent<HTMLRoadAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2375
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2376
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2377
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2282
2378
|
}
|
|
2283
2379
|
var HTMLRoadAlertElement: {
|
|
2284
2380
|
prototype: HTMLRoadAlertElement;
|
|
@@ -3137,6 +3233,12 @@ declare global {
|
|
|
3137
3233
|
prototype: HTMLRoadSpinnerElement;
|
|
3138
3234
|
new (): HTMLRoadSpinnerElement;
|
|
3139
3235
|
};
|
|
3236
|
+
interface HTMLRoadStatusChipElement extends Components.RoadStatusChip, HTMLStencilElement {
|
|
3237
|
+
}
|
|
3238
|
+
var HTMLRoadStatusChipElement: {
|
|
3239
|
+
prototype: HTMLRoadStatusChipElement;
|
|
3240
|
+
new (): HTMLRoadStatusChipElement;
|
|
3241
|
+
};
|
|
3140
3242
|
interface HTMLRoadSwitchElementEventMap {
|
|
3141
3243
|
"roadchange": {
|
|
3142
3244
|
checked: boolean;
|
|
@@ -3273,6 +3375,26 @@ declare global {
|
|
|
3273
3375
|
prototype: HTMLRoadTextareaElement;
|
|
3274
3376
|
new (): HTMLRoadTextareaElement;
|
|
3275
3377
|
};
|
|
3378
|
+
interface HTMLRoadTimeRangePickerElementEventMap {
|
|
3379
|
+
"roadChange": { start?: string; end?: string };
|
|
3380
|
+
"roadInput": { start?: string; end?: string };
|
|
3381
|
+
"roadFocus": 'start' | 'end';
|
|
3382
|
+
"roadBlur": 'start' | 'end';
|
|
3383
|
+
}
|
|
3384
|
+
interface HTMLRoadTimeRangePickerElement extends Components.RoadTimeRangePicker, HTMLStencilElement {
|
|
3385
|
+
addEventListener<K extends keyof HTMLRoadTimeRangePickerElementEventMap>(type: K, listener: (this: HTMLRoadTimeRangePickerElement, ev: RoadTimeRangePickerCustomEvent<HTMLRoadTimeRangePickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3386
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3387
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3388
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3389
|
+
removeEventListener<K extends keyof HTMLRoadTimeRangePickerElementEventMap>(type: K, listener: (this: HTMLRoadTimeRangePickerElement, ev: RoadTimeRangePickerCustomEvent<HTMLRoadTimeRangePickerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3390
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3391
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3392
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3393
|
+
}
|
|
3394
|
+
var HTMLRoadTimeRangePickerElement: {
|
|
3395
|
+
prototype: HTMLRoadTimeRangePickerElement;
|
|
3396
|
+
new (): HTMLRoadTimeRangePickerElement;
|
|
3397
|
+
};
|
|
3276
3398
|
interface HTMLRoadToastElementEventMap {
|
|
3277
3399
|
"close": void;
|
|
3278
3400
|
}
|
|
@@ -3412,6 +3534,7 @@ declare global {
|
|
|
3412
3534
|
"road-select-filter": HTMLRoadSelectFilterElement;
|
|
3413
3535
|
"road-skeleton": HTMLRoadSkeletonElement;
|
|
3414
3536
|
"road-spinner": HTMLRoadSpinnerElement;
|
|
3537
|
+
"road-status-chip": HTMLRoadStatusChipElement;
|
|
3415
3538
|
"road-switch": HTMLRoadSwitchElement;
|
|
3416
3539
|
"road-tab": HTMLRoadTabElement;
|
|
3417
3540
|
"road-tab-bar": HTMLRoadTabBarElement;
|
|
@@ -3421,6 +3544,7 @@ declare global {
|
|
|
3421
3544
|
"road-tag": HTMLRoadTagElement;
|
|
3422
3545
|
"road-text": HTMLRoadTextElement;
|
|
3423
3546
|
"road-textarea": HTMLRoadTextareaElement;
|
|
3547
|
+
"road-time-range-picker": HTMLRoadTimeRangePickerElement;
|
|
3424
3548
|
"road-toast": HTMLRoadToastElement;
|
|
3425
3549
|
"road-toggle": HTMLRoadToggleElement;
|
|
3426
3550
|
"road-toolbar": HTMLRoadToolbarElement;
|
|
@@ -3474,6 +3598,22 @@ declare namespace LocalJSX {
|
|
|
3474
3598
|
* Set the color of alert. e.g. info, success, warning, danger
|
|
3475
3599
|
*/
|
|
3476
3600
|
"color"?: FeedbackColors;
|
|
3601
|
+
/**
|
|
3602
|
+
* Show / hide close icon
|
|
3603
|
+
*/
|
|
3604
|
+
"hasCloseIcon"?: boolean;
|
|
3605
|
+
/**
|
|
3606
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
3607
|
+
*/
|
|
3608
|
+
"has-close-icon"?: boolean;
|
|
3609
|
+
/**
|
|
3610
|
+
* Set isOpen propertie to true to show the modal
|
|
3611
|
+
*/
|
|
3612
|
+
"isOpen"?: boolean;
|
|
3613
|
+
/**
|
|
3614
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
3615
|
+
*/
|
|
3616
|
+
"is-open"?: boolean;
|
|
3477
3617
|
/**
|
|
3478
3618
|
* Title display in the alert
|
|
3479
3619
|
*/
|
|
@@ -3482,6 +3622,10 @@ declare namespace LocalJSX {
|
|
|
3482
3622
|
* Text Link display in the alert
|
|
3483
3623
|
*/
|
|
3484
3624
|
"link"?: string;
|
|
3625
|
+
/**
|
|
3626
|
+
* Indicate when closing the modal
|
|
3627
|
+
*/
|
|
3628
|
+
"onClose"?: (event: RoadAlertCustomEvent<void>) => void;
|
|
3485
3629
|
/**
|
|
3486
3630
|
* url display in the link
|
|
3487
3631
|
*/
|
|
@@ -4477,6 +4621,10 @@ declare namespace LocalJSX {
|
|
|
4477
4621
|
* Works with the min and max attributes to limit the increments at which a value can be set. Possible values are: `"any"` or a positive floating point number.
|
|
4478
4622
|
*/
|
|
4479
4623
|
"step"?: string;
|
|
4624
|
+
/**
|
|
4625
|
+
* The valid fields adopt an appearance that helps the user confirm that their data is formatted properly.
|
|
4626
|
+
*/
|
|
4627
|
+
"success"?: boolean;
|
|
4480
4628
|
/**
|
|
4481
4629
|
* The type of control to display. The default type is text.
|
|
4482
4630
|
*/
|
|
@@ -5197,6 +5345,10 @@ declare namespace LocalJSX {
|
|
|
5197
5345
|
* Error message for the field
|
|
5198
5346
|
*/
|
|
5199
5347
|
"error"?: string;
|
|
5348
|
+
/**
|
|
5349
|
+
* Helper message for the field
|
|
5350
|
+
*/
|
|
5351
|
+
"helper"?: string;
|
|
5200
5352
|
/**
|
|
5201
5353
|
* Label for the field
|
|
5202
5354
|
*/
|
|
@@ -5281,6 +5433,12 @@ declare namespace LocalJSX {
|
|
|
5281
5433
|
*/
|
|
5282
5434
|
"size"?: 'small' | 'medium' | 'large' | 'xl';
|
|
5283
5435
|
}
|
|
5436
|
+
interface RoadStatusChip {
|
|
5437
|
+
/**
|
|
5438
|
+
* The chip size.
|
|
5439
|
+
*/
|
|
5440
|
+
"size"?: 'sm' | 'md' | 'lg';
|
|
5441
|
+
}
|
|
5284
5442
|
interface RoadSwitch {
|
|
5285
5443
|
/**
|
|
5286
5444
|
* If `true`, the switch is checked.
|
|
@@ -5556,6 +5714,54 @@ declare namespace LocalJSX {
|
|
|
5556
5714
|
*/
|
|
5557
5715
|
"wrap"?: 'hard' | 'soft' | 'off';
|
|
5558
5716
|
}
|
|
5717
|
+
interface RoadTimeRangePicker {
|
|
5718
|
+
/**
|
|
5719
|
+
* Désactivation du picker
|
|
5720
|
+
*/
|
|
5721
|
+
"disabled"?: boolean;
|
|
5722
|
+
/**
|
|
5723
|
+
* Heure de fin
|
|
5724
|
+
*/
|
|
5725
|
+
"end"?: string;
|
|
5726
|
+
/**
|
|
5727
|
+
* Error messages
|
|
5728
|
+
*/
|
|
5729
|
+
"error"?: string | string[];
|
|
5730
|
+
/**
|
|
5731
|
+
* Helper message
|
|
5732
|
+
*/
|
|
5733
|
+
"helper"?: string;
|
|
5734
|
+
/**
|
|
5735
|
+
* Label global du champ
|
|
5736
|
+
*/
|
|
5737
|
+
"label"?: string;
|
|
5738
|
+
"onRoadBlur"?: (event: RoadTimeRangePickerCustomEvent<'start' | 'end'>) => void;
|
|
5739
|
+
/**
|
|
5740
|
+
* Événement quand la plage change
|
|
5741
|
+
*/
|
|
5742
|
+
"onRoadChange"?: (event: RoadTimeRangePickerCustomEvent<{ start?: string; end?: string }>) => void;
|
|
5743
|
+
"onRoadFocus"?: (event: RoadTimeRangePickerCustomEvent<'start' | 'end'>) => void;
|
|
5744
|
+
/**
|
|
5745
|
+
* Forward des events enfants
|
|
5746
|
+
*/
|
|
5747
|
+
"onRoadInput"?: (event: RoadTimeRangePickerCustomEvent<{ start?: string; end?: string }>) => void;
|
|
5748
|
+
/**
|
|
5749
|
+
* Si `true`, l’utilisateur doit remplir avant submit
|
|
5750
|
+
*/
|
|
5751
|
+
"required"?: boolean;
|
|
5752
|
+
/**
|
|
5753
|
+
* Separator label
|
|
5754
|
+
*/
|
|
5755
|
+
"separator"?: string;
|
|
5756
|
+
/**
|
|
5757
|
+
* Taille du champ
|
|
5758
|
+
*/
|
|
5759
|
+
"sizes"?: 'lg' | 'xl';
|
|
5760
|
+
/**
|
|
5761
|
+
* Heure de début
|
|
5762
|
+
*/
|
|
5763
|
+
"start"?: string;
|
|
5764
|
+
}
|
|
5559
5765
|
interface RoadToast {
|
|
5560
5766
|
/**
|
|
5561
5767
|
* Set the color of the toast. e.g. info, success, warning, danger
|
|
@@ -5770,6 +5976,7 @@ declare namespace LocalJSX {
|
|
|
5770
5976
|
"road-select-filter": RoadSelectFilter;
|
|
5771
5977
|
"road-skeleton": RoadSkeleton;
|
|
5772
5978
|
"road-spinner": RoadSpinner;
|
|
5979
|
+
"road-status-chip": RoadStatusChip;
|
|
5773
5980
|
"road-switch": RoadSwitch;
|
|
5774
5981
|
"road-tab": RoadTab;
|
|
5775
5982
|
"road-tab-bar": RoadTabBar;
|
|
@@ -5779,6 +5986,7 @@ declare namespace LocalJSX {
|
|
|
5779
5986
|
"road-tag": RoadTag;
|
|
5780
5987
|
"road-text": RoadText;
|
|
5781
5988
|
"road-textarea": RoadTextarea;
|
|
5989
|
+
"road-time-range-picker": RoadTimeRangePicker;
|
|
5782
5990
|
"road-toast": RoadToast;
|
|
5783
5991
|
"road-toggle": RoadToggle;
|
|
5784
5992
|
"road-toolbar": RoadToolbar;
|
|
@@ -5855,6 +6063,7 @@ declare module "@stencil/core" {
|
|
|
5855
6063
|
"road-select-filter": LocalJSX.RoadSelectFilter & JSXBase.HTMLAttributes<HTMLRoadSelectFilterElement>;
|
|
5856
6064
|
"road-skeleton": LocalJSX.RoadSkeleton & JSXBase.HTMLAttributes<HTMLRoadSkeletonElement>;
|
|
5857
6065
|
"road-spinner": LocalJSX.RoadSpinner & JSXBase.HTMLAttributes<HTMLRoadSpinnerElement>;
|
|
6066
|
+
"road-status-chip": LocalJSX.RoadStatusChip & JSXBase.HTMLAttributes<HTMLRoadStatusChipElement>;
|
|
5858
6067
|
"road-switch": LocalJSX.RoadSwitch & JSXBase.HTMLAttributes<HTMLRoadSwitchElement>;
|
|
5859
6068
|
"road-tab": LocalJSX.RoadTab & JSXBase.HTMLAttributes<HTMLRoadTabElement>;
|
|
5860
6069
|
"road-tab-bar": LocalJSX.RoadTabBar & JSXBase.HTMLAttributes<HTMLRoadTabBarElement>;
|
|
@@ -5864,6 +6073,7 @@ declare module "@stencil/core" {
|
|
|
5864
6073
|
"road-tag": LocalJSX.RoadTag & JSXBase.HTMLAttributes<HTMLRoadTagElement>;
|
|
5865
6074
|
"road-text": LocalJSX.RoadText & JSXBase.HTMLAttributes<HTMLRoadTextElement>;
|
|
5866
6075
|
"road-textarea": LocalJSX.RoadTextarea & JSXBase.HTMLAttributes<HTMLRoadTextareaElement>;
|
|
6076
|
+
"road-time-range-picker": LocalJSX.RoadTimeRangePicker & JSXBase.HTMLAttributes<HTMLRoadTimeRangePickerElement>;
|
|
5867
6077
|
"road-toast": LocalJSX.RoadToast & JSXBase.HTMLAttributes<HTMLRoadToastElement>;
|
|
5868
6078
|
"road-toggle": LocalJSX.RoadToggle & JSXBase.HTMLAttributes<HTMLRoadToggleElement>;
|
|
5869
6079
|
"road-toolbar": LocalJSX.RoadToolbar & JSXBase.HTMLAttributes<HTMLRoadToolbarElement>;
|
package/hydrate/index.d.ts
CHANGED
|
@@ -3,18 +3,6 @@
|
|
|
3
3
|
import { Readable } from 'node:stream';
|
|
4
4
|
|
|
5
5
|
export declare function createWindowFromHtml(templateHtml: string, uniqueId: string): any;
|
|
6
|
-
/**
|
|
7
|
-
* Serialize a value to a string that can be deserialized later.
|
|
8
|
-
* @param {unknown} value - The value to serialize.
|
|
9
|
-
* @returns {string} A string that can be deserialized later.
|
|
10
|
-
*/
|
|
11
|
-
export declare function serializeProperty(value: unknown): string | number | boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Deserialize a value from a string that was serialized earlier.
|
|
14
|
-
* @param {string} value - The string to deserialize.
|
|
15
|
-
* @returns {unknown} The deserialized value.
|
|
16
|
-
*/
|
|
17
|
-
export declare function deserializeProperty(value: string): any;
|
|
18
6
|
export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
|
19
7
|
export interface HydrateDocumentOptions {
|
|
20
8
|
/**
|
|
@@ -107,30 +95,6 @@ export interface HydrateDocumentOptions {
|
|
|
107
95
|
* Sets `navigator.userAgent`
|
|
108
96
|
*/
|
|
109
97
|
userAgent?: string;
|
|
110
|
-
/**
|
|
111
|
-
* Configure how Stencil serializes the components shadow root.
|
|
112
|
-
* - If set to `declarative-shadow-dom` the component will be rendered within a Declarative Shadow DOM.
|
|
113
|
-
* - If set to `scoped` Stencil will render the contents of the shadow root as a `scoped: true` component
|
|
114
|
-
* and the shadow DOM will be created during client-side hydration.
|
|
115
|
-
* - Alternatively you can mix and match the two by providing an object with `declarative-shadow-dom` and `scoped` keys,
|
|
116
|
-
* the value arrays containing the tag names of the components that should be rendered in that mode.
|
|
117
|
-
*
|
|
118
|
-
* Examples:
|
|
119
|
-
* - `{ 'declarative-shadow-dom': ['my-component-1', 'another-component'], default: 'scoped' }`
|
|
120
|
-
* Render all components as `scoped` apart from `my-component-1` and `another-component`
|
|
121
|
-
* - `{ 'scoped': ['an-option-component'], default: 'declarative-shadow-dom' }`
|
|
122
|
-
* Render all components within `declarative-shadow-dom` apart from `an-option-component`
|
|
123
|
-
* - `'scoped'` Render all components as `scoped`
|
|
124
|
-
* - `false` disables shadow root serialization
|
|
125
|
-
*
|
|
126
|
-
* *NOTE* `true` has been deprecated in favor of `declarative-shadow-dom` and `scoped`
|
|
127
|
-
* @default 'declarative-shadow-dom'
|
|
128
|
-
*/
|
|
129
|
-
serializeShadowRoot?: "declarative-shadow-dom" | "scoped" | {
|
|
130
|
-
"declarative-shadow-dom"?: string[];
|
|
131
|
-
scoped?: string[];
|
|
132
|
-
default: "declarative-shadow-dom" | "scoped";
|
|
133
|
-
} | boolean;
|
|
134
98
|
}
|
|
135
99
|
export interface SerializeDocumentOptions extends HydrateDocumentOptions {
|
|
136
100
|
/**
|
|
@@ -173,6 +137,30 @@ export interface SerializeDocumentOptions extends HydrateDocumentOptions {
|
|
|
173
137
|
* Remove HTML comments. Defaults to `true`.
|
|
174
138
|
*/
|
|
175
139
|
removeHtmlComments?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Configure how Stencil serializes the components shadow root.
|
|
142
|
+
* - If set to `declarative-shadow-dom` the component will be rendered within a Declarative Shadow DOM.
|
|
143
|
+
* - If set to `scoped` Stencil will render the contents of the shadow root as a `scoped: true` component
|
|
144
|
+
* and the shadow DOM will be created during client-side hydration.
|
|
145
|
+
* - Alternatively you can mix and match the two by providing an object with `declarative-shadow-dom` and `scoped` keys,
|
|
146
|
+
* the value arrays containing the tag names of the components that should be rendered in that mode.
|
|
147
|
+
*
|
|
148
|
+
* Examples:
|
|
149
|
+
* - `{ 'declarative-shadow-dom': ['my-component-1', 'another-component'], default: 'scoped' }`
|
|
150
|
+
* Render all components as `scoped` apart from `my-component-1` and `another-component`
|
|
151
|
+
* - `{ 'scoped': ['an-option-component'], default: 'declarative-shadow-dom' }`
|
|
152
|
+
* Render all components within `declarative-shadow-dom` apart from `an-option-component`
|
|
153
|
+
* - `'scoped'` Render all components as `scoped`
|
|
154
|
+
* - `false` disables shadow root serialization
|
|
155
|
+
*
|
|
156
|
+
* *NOTE* `true` has been deprecated in favor of `declarative-shadow-dom` and `scoped`
|
|
157
|
+
* @default 'declarative-shadow-dom'
|
|
158
|
+
*/
|
|
159
|
+
serializeShadowRoot?: "declarative-shadow-dom" | "scoped" | {
|
|
160
|
+
"declarative-shadow-dom"?: string[];
|
|
161
|
+
scoped?: string[];
|
|
162
|
+
default: "declarative-shadow-dom" | "scoped";
|
|
163
|
+
} | boolean;
|
|
176
164
|
/**
|
|
177
165
|
* The `fullDocument` flag determines the format of the rendered output. Set it to true to
|
|
178
166
|
* generate a complete HTML document, or false to render only the component.
|
|
@@ -254,9 +242,7 @@ export interface HydrateScriptElement extends HydrateElement {
|
|
|
254
242
|
type?: string;
|
|
255
243
|
}
|
|
256
244
|
export interface HydrateStyleElement extends HydrateElement {
|
|
257
|
-
id?: string;
|
|
258
245
|
href?: string;
|
|
259
|
-
content?: string;
|
|
260
246
|
}
|
|
261
247
|
export interface HydrateStaticData {
|
|
262
248
|
id: string;
|