@roadtrip/components 3.33.7 → 3.34.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/road-badge_14.cjs.entry.js +14 -10
- package/dist/cjs/road-badge_14.cjs.entry.js.map +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-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 +2 -2
- 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-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-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 +4 -4
- package/dist/cjs/road-tooltip.cjs.entry.js.map +1 -1
- package/dist/collection/components/input/input.css +1 -0
- package/dist/collection/components/input/input.js +8 -4
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/input/input.stories.js +25 -9
- 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/modal/modal.stories.js +4 -3
- 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/plate-number/plate-number.stories.js +18 -12
- 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/radio.stories.js +12 -6
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +2 -2
- package/dist/collection/components/range/range.stories.js +4 -3
- 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/select.stories.js +12 -7
- package/dist/collection/components/select-filter/select-filter.js +2 -2
- package/dist/collection/components/select-filter/select-filter.stories.js +4 -2
- package/dist/collection/components/skeleton/skeleton.js +1 -1
- package/dist/collection/components/spinner/spinner.js +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.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/textarea/textarea.stories.js +18 -12
- package/dist/collection/components/toast/toast.js +1 -1
- package/dist/collection/components/toast/toast.stories.js +4 -2
- package/dist/collection/components/toggle/toggle.js +2 -2
- package/dist/collection/components/toggle/toggle.stories.js +12 -7
- 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.css +31 -0
- package/dist/collection/components/tooltip/tooltip.js +5 -5
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/components/tooltip/tooltip.stories.js +1 -1
- package/dist/esm/road-badge_14.entry.js +14 -10
- package/dist/esm/road-badge_14.entry.js.map +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-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 +2 -2
- 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-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-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 +4 -4
- package/dist/esm/road-tooltip.entry.js.map +1 -1
- package/dist/html.html-data.json +13 -1
- package/dist/roadtrip/p-061f6889.entry.js +2 -0
- package/dist/roadtrip/{p-6d3d947e.entry.js.map → p-061f6889.entry.js.map} +1 -1
- package/dist/roadtrip/{p-03656f9a.entry.js → p-0a6c9571.entry.js} +2 -2
- package/dist/roadtrip/{p-e0421465.entry.js → p-0d7b6e32.entry.js} +2 -2
- package/dist/roadtrip/{p-6ff3b37c.entry.js → p-0de7b85d.entry.js} +2 -2
- package/dist/roadtrip/p-16726940.entry.js +2 -0
- package/dist/roadtrip/{p-06fbd2ea.entry.js → p-2f89b651.entry.js} +2 -2
- package/dist/roadtrip/{p-60bd73ad.entry.js → p-327d424c.entry.js} +2 -2
- package/dist/roadtrip/{p-e75ec60f.entry.js → p-38fd91b3.entry.js} +2 -2
- package/dist/roadtrip/p-3aa617b1.entry.js +2 -0
- package/dist/roadtrip/{p-449affa6.entry.js → p-41bab704.entry.js} +2 -2
- package/dist/roadtrip/p-4329a5ff.entry.js +2 -0
- package/dist/roadtrip/{p-a67eaba7.entry.js → p-4765c524.entry.js} +3 -3
- package/dist/roadtrip/p-4765c524.entry.js.map +1 -0
- package/dist/roadtrip/p-50d9ed52.entry.js +2 -0
- package/dist/roadtrip/{p-db77c354.entry.js.map → p-50d9ed52.entry.js.map} +1 -1
- package/dist/roadtrip/{p-c28e7add.entry.js → p-5ed9e829.entry.js} +2 -2
- package/dist/roadtrip/{p-d80e7563.entry.js → p-6fb0f8b8.entry.js} +2 -2
- package/dist/roadtrip/{p-6c617506.entry.js → p-78e6204e.entry.js} +2 -2
- package/dist/roadtrip/{p-99a6faae.entry.js → p-7a7b1fb6.entry.js} +2 -2
- package/dist/roadtrip/{p-b5fa8c5a.entry.js → p-7d693464.entry.js} +2 -2
- package/dist/roadtrip/{p-3dcaa947.entry.js → p-7e1e110f.entry.js} +2 -2
- package/dist/roadtrip/{p-517aeeca.entry.js → p-7ea16bfa.entry.js} +2 -2
- package/dist/roadtrip/p-8c6ad79a.entry.js +2 -0
- package/dist/roadtrip/{p-b8c5d292.entry.js → p-93272a9d.entry.js} +2 -2
- package/dist/roadtrip/p-97245610.entry.js +2 -0
- package/dist/roadtrip/{p-a254df6d.entry.js → p-a0c91322.entry.js} +2 -2
- package/dist/roadtrip/{p-c465f551.entry.js → p-a406a342.entry.js} +2 -2
- package/dist/roadtrip/{p-e6e9882b.entry.js → p-a5c363f2.entry.js} +2 -2
- package/dist/roadtrip/{p-fe40ab3d.entry.js → p-ab550b59.entry.js} +2 -2
- package/dist/roadtrip/{p-5fea6a74.entry.js → p-ad9055c1.entry.js} +2 -2
- package/dist/roadtrip/{p-2e049c8e.entry.js → p-c4d3dda1.entry.js} +2 -2
- package/dist/roadtrip/{p-3f5dff96.entry.js → p-cb8924ee.entry.js} +2 -2
- package/dist/roadtrip/p-ce386f80.entry.js +2 -0
- package/dist/roadtrip/p-dc9509b1.entry.js +2 -0
- package/dist/roadtrip/p-dc9509b1.entry.js.map +1 -0
- package/dist/roadtrip/{p-c6824205.entry.js → p-df897815.entry.js} +2 -2
- package/dist/roadtrip/{p-eac313e4.entry.js → p-e82c8ca0.entry.js} +2 -2
- package/dist/roadtrip/{p-ea1a175d.entry.js → p-e8bcf7a0.entry.js} +2 -2
- package/dist/roadtrip/{p-37430583.entry.js → p-ebada9f6.entry.js} +2 -2
- package/dist/roadtrip/{p-950b8a43.entry.js → p-f1ef265d.entry.js} +2 -2
- package/dist/roadtrip/{p-167cd2fc.entry.js → p-f5bcb8d6.entry.js} +2 -2
- package/dist/roadtrip/{p-fd3c58b6.entry.js → p-f9ba8499.entry.js} +2 -2
- package/dist/roadtrip/{p-c47ccbf2.entry.js → p-fafcecb2.entry.js} +2 -2
- package/dist/roadtrip/{p-f1b53143.entry.js → p-ff430279.entry.js} +2 -2
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/tooltip/tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +12 -4
- package/hydrate/index.js +69 -65
- package/hydrate/index.mjs +69 -65
- package/package.json +1 -1
- package/dist/roadtrip/p-215afdbd.entry.js +0 -2
- package/dist/roadtrip/p-4675ea6d.entry.js +0 -2
- package/dist/roadtrip/p-65f9bd9c.entry.js +0 -2
- package/dist/roadtrip/p-6d3d947e.entry.js +0 -2
- package/dist/roadtrip/p-85b1e505.entry.js +0 -2
- package/dist/roadtrip/p-8b04fc62.entry.js +0 -2
- package/dist/roadtrip/p-a67eaba7.entry.js.map +0 -1
- package/dist/roadtrip/p-cfd2919e.entry.js +0 -2
- package/dist/roadtrip/p-db77c354.entry.js +0 -2
- package/dist/roadtrip/p-e6c4c576.entry.js +0 -2
- package/dist/roadtrip/p-e6c4c576.entry.js.map +0 -1
- /package/dist/roadtrip/{p-03656f9a.entry.js.map → p-0a6c9571.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e0421465.entry.js.map → p-0d7b6e32.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6ff3b37c.entry.js.map → p-0de7b85d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-65f9bd9c.entry.js.map → p-16726940.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-06fbd2ea.entry.js.map → p-2f89b651.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-60bd73ad.entry.js.map → p-327d424c.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e75ec60f.entry.js.map → p-38fd91b3.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-85b1e505.entry.js.map → p-3aa617b1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-449affa6.entry.js.map → p-41bab704.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-215afdbd.entry.js.map → p-4329a5ff.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c28e7add.entry.js.map → p-5ed9e829.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-d80e7563.entry.js.map → p-6fb0f8b8.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-6c617506.entry.js.map → p-78e6204e.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-99a6faae.entry.js.map → p-7a7b1fb6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b5fa8c5a.entry.js.map → p-7d693464.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3dcaa947.entry.js.map → p-7e1e110f.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-517aeeca.entry.js.map → p-7ea16bfa.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-4675ea6d.entry.js.map → p-8c6ad79a.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-b8c5d292.entry.js.map → p-93272a9d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-8b04fc62.entry.js.map → p-97245610.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-a254df6d.entry.js.map → p-a0c91322.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c465f551.entry.js.map → p-a406a342.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-e6e9882b.entry.js.map → p-a5c363f2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fe40ab3d.entry.js.map → p-ab550b59.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-5fea6a74.entry.js.map → p-ad9055c1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-2e049c8e.entry.js.map → p-c4d3dda1.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-3f5dff96.entry.js.map → p-cb8924ee.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-cfd2919e.entry.js.map → p-ce386f80.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c6824205.entry.js.map → p-df897815.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-eac313e4.entry.js.map → p-e82c8ca0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-ea1a175d.entry.js.map → p-e8bcf7a0.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-37430583.entry.js.map → p-ebada9f6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-950b8a43.entry.js.map → p-f1ef265d.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-167cd2fc.entry.js.map → p-f5bcb8d6.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-fd3c58b6.entry.js.map → p-f9ba8499.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-c47ccbf2.entry.js.map → p-fafcecb2.entry.js.map} +0 -0
- /package/dist/roadtrip/{p-f1b53143.entry.js.map → p-ff430279.entry.js.map} +0 -0
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: '3a324a39e9084c89d10cb395ddc2d6259964fb3b' }, h("nav", { key: 'cbbfb7023a1d6355e3a73673f1f12b729e7bf45a' }, h("ul", { key: '13d66d84cca5817fffef3b145fec52d4051693df', class: `${colorClass}` }, h("li", { key: 'a193befac4f459adb7fe2cf1b411a8ed3049e152', class: `${stateClass}` }, h("a", { key: '0b947059548ae146a24edde30365b1b9bf2e2eec', class: "progress-indicator-horizontal-link", href: `${urlStep1}` }, h("span", { key: '5f30e93a8dcdcfa10a3b9d25a79b9b8001fa5935', class: "progress-indicator-horizontal-icon" }, h("slot", { key: 'dbe960eca33e08ab40348188010b8dd926d607fe', name: "progress-indicator-horizontal-icon" })), h("span", { key: 'd3b1ac0ca97375278663599a284c908c745ecab3', class: "progress-indicator-horizontal-title" }, h("slot", { key: '59019872b7db4a65b717ded6af8976b8bbbf97a3', name: "progress-indicator-horizontal-title" })))), h("li", { key: 'ec083a98b0a64eca04c02b9cf7e9022bdea70485', class: `${stateSecondStepClass}` }, h("a", { key: '6d0083729e39293509b45a869fa893d398e33f5b', class: "progress-indicator-horizontal-link", href: `${urlStep2}` }, h("span", { key: '82a87245b2b01f71b2237c71310b05ffa77fd977', class: "progress-indicator-horizontal-icon" }, h("slot", { key: 'bfaeebcee669e2370da7d7253180a8b9813dc399', name: "progress-indicator-horizontal-icon2" })), h("span", { key: '449e13e3beaa66b16a7d1fc6def8796888b671a2', class: "progress-indicator-horizontal-title" }, h("slot", { key: 'f9312792d7e400d0a044d00f251e621b3c23cc70', name: "progress-indicator-horizontal-title2" })))), this.numberStep == 3 && h("li", { key: '5cce8b0fc91b8ec4a3d79362eb67e2290d3ce4c1', class: `${stateThirdStepClass}` }, h("a", { key: '7501ccbc3c739689c687794ba3530d62fa9f5cc3', class: "progress-indicator-horizontal-link", href: `${urlStep3}` }, h("span", { key: '896343b2c095ea44c4442dacbac62b36380de6d6', class: "progress-indicator-horizontal-icon" }, h("slot", { key: '6b3581003a6eeee6c1c8ac96f3d86866588496ba', name: "progress-indicator-horizontal-icon3" })), h("span", { key: '3a254af95b70e84e048597b8af5549c3966aa717', class: "progress-indicator-horizontal-title" }, h("slot", { key: 'bdb1c23a6eb4e3d3e189b9855e91e955efaefd75', 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: '5dd7b6e9f50befbfda7194c326ff263015b798b8' }, h("nav", { key: '4410e7821c405e9e1cb1fff7ff6360a71dcc793f' }, h("ul", { key: '52179d2713e247e6c8b587816f032b432883b844' }, h("li", { key: 'a2e1151dba8017dc7ba50d8cbac7cce4dd707d5a' }, h("slot", { key: '67225f4646a498b1c84070b18406c0073eff173c' }))))));
|
|
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: '681a6c70caee4d2b12dfe5cb85faa3240da79261' }, h("slot", { key: 'edbc178bba91172a49760d40b55e55b56634dea1' })));
|
|
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: '3056137a4ac9e08c6875527ec6fc206291e502ff' }, h("nav", { key: 'ecccabc164e4f6a0438523746613ee3255a02f2c' }, h("ul", { key: 'a4c6c472aac39a85db1fbce327244dcf235417fe' }, h("li", { key: '7c6a8b6c278e362bc409007aadd0c5bb4ec8966e' }, h("slot", { key: 'fa4a84917302767f34ec63441d65e797832d0e12' }))))));
|
|
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: '9912365dc36705af52ede8cdb4ecf963a5a11d83' }, h("slot", { key: '38a27cd97a75a0621926a32ecbcef7f78cc38330' })));
|
|
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: '6543b37f5327ae2665e1fca3c9d91412e2581ef9', class: `form-radio ${inlineClass}` }, h("input", { key: '669e121aec0cfc722419d051204d350450d6d4e5', 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: 'd3056e531cc3826a3291af9a95585c6620b86745', class: `form-radio-label ${inverseClass}`, id: labelId, htmlFor: this.radioId }, this.label, " ", h("span", { key: '4d1242c623b26517d9f88c6962335ea6ce364abf', class: "form-radio-label-span" }, this.secondaryLabel))));
|
|
76
76
|
}
|
|
77
77
|
static get is() { return "road-radio"; }
|
|
78
78
|
static get encapsulation() { return "scoped"; }
|
|
@@ -99,21 +99,27 @@ Playground.argTypes = {
|
|
|
99
99
|
control: 'text',
|
|
100
100
|
},
|
|
101
101
|
roadblur: {
|
|
102
|
+
action: 'roadblur',
|
|
102
103
|
description: "Emitted when the radio button loses focus.",
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
table: {
|
|
105
|
+
category: 'Events',
|
|
106
|
+
type: { summary: 'CustomEvent' },
|
|
105
107
|
},
|
|
106
108
|
},
|
|
107
109
|
roadfocus: {
|
|
110
|
+
action: 'roadfocus',
|
|
108
111
|
description: "Emitted when the radio button has focus.",
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
table: {
|
|
113
|
+
category: 'Events',
|
|
114
|
+
type: { summary: 'CustomEvent' },
|
|
111
115
|
},
|
|
112
116
|
},
|
|
113
117
|
roadchange: {
|
|
114
118
|
action: 'roadchange',
|
|
115
|
-
|
|
116
|
-
|
|
119
|
+
description: "Emitted when the value has changed.",
|
|
120
|
+
table: {
|
|
121
|
+
category: 'Events',
|
|
122
|
+
type: { summary: 'CustomEvent' },
|
|
117
123
|
},
|
|
118
124
|
},
|
|
119
125
|
};
|
|
@@ -59,7 +59,7 @@ export class RadioGroup {
|
|
|
59
59
|
render() {
|
|
60
60
|
const labelId = `${this.radioGroupId}-label`;
|
|
61
61
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '4bdcce655bfa14696ea85dc3bebf8cb0211d872b', role: "radiogroup", class: `form-group ${isInvalidClass}`, "aria-label": this.ariaLabel, onClick: this.onClick }, this.label && h("p", { key: '7882a85ab9d9e4be07b7ae08ec986d1cd3073951', class: "text-content", id: labelId }, this.label, " ", this.asterisk && h("span", { key: 'c5d121db534b7e207aa4b60c8c9534399ed2edf7', class: "asterisk" }, "*")), h("slot", { key: 'e4fb2070693e91af8772c8d2ed556b6c6b09bda7' }), this.error && this.error !== '' && h("p", { key: '361cfc55ad976730645f88e1a3b0d75da7d34a5f', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: '2e6c420d699283ef203e264995a06b514ce9da7a', class: "helper" }, this.helper)));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "road-radio-group"; }
|
|
65
65
|
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: 'b9bf2e10c86f928712def9dd10e123bf6bd62d46', tabindex: "0", class: { disabled: this.disabled } }, h("div", { key: '9e6c1bac87a60accb176f416726a63319f1e00a2', class: "form-group d-flex align-items-end" }, this.showTick && (h("road-icon", { key: '0c9947463651c065b386fb126a646f39359f32cd', icon: navigationAddLessSolid, class: "mr-8", size: "sm" })), h("div", { key: 'f792239e07e2fb7c7a5c8c6b6629e199ce24d560', 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: '7468eb63d48e3dd4add1dbdb72b4a29eaa6644ea' }), this.showLabels && h("slot", { key: '77d9511bc01e48d1cef2f577fdb5d6d2782d756b', name: "datalist" }), h("input", { key: 'dcba864aaaf01686c7205b33f49f0437aff45efc', 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: 'a524dd016f0236cfc053e415a118fed7960515ea', class: "form-range-label" }, "Valeur"), h("div", { key: 'ca307d8df415ed2a77b7774791387f5bd6ab5d14', class: "form-range-progress" })), this.showTick && (h("road-icon", { key: 'f2a35383d6cbae76a337b78b53cd9ffa15a7daef', icon: navigationAddMoreSolid, class: "ml-8", size: "sm" })))));
|
|
106
106
|
}
|
|
107
107
|
static get is() { return "road-range"; }
|
|
108
108
|
static get encapsulation() { return "scoped"; }
|
|
@@ -43,10 +43,11 @@ export default {
|
|
|
43
43
|
control: 'text',
|
|
44
44
|
},
|
|
45
45
|
roadchange: {
|
|
46
|
-
description: "Emitted when the value has changed.",
|
|
47
46
|
action: 'roadchange',
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
description: "Emitted when the value has changed.",
|
|
48
|
+
table: {
|
|
49
|
+
category: 'Events',
|
|
50
|
+
type: { summary: 'CustomEvent' },
|
|
50
51
|
},
|
|
51
52
|
},
|
|
52
53
|
disabled: {
|
|
@@ -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: '3384a50bdc4f0dc8d992ca8160dbe77a8c6ed891' }, h("div", { key: 'f905f3c7c16744d6bd8c34c31e2bec493169b71f', 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: '3f973733bb91d8243a84d4b12708a69921858fff', class: `${sizeRatingNumberClass}`, href: this.url }, "(", this.reviews, this.reviewsText && ` ${this.reviewsText}`, ")"), this.readonly == true && this.showreviews && h("road-label", { key: '66f1c7954279baba6b9be9e40af220f77c42cd8f', 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: '4d56e5a10387b76a5b9848b29b66b5d1893c1b39' }, h("slot", { key: 'ba686ef7958ff67384c6ca8d88767f1dd55e9f5a' })));
|
|
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: 'ea3ccb61b3e95bb8b266e1e47ecbd5a795a78f62', 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: 'f32414ad539917d0266447d41411eae0cd1f5926', tabIndex: -1, class: "button-native", part: "native", "aria-hidden": "true" }, h("slot", { key: '2a6270a073b709201505490b242e9b2425745779' }))));
|
|
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: '2427e30d3c49f36fcf017f1312d92b46b92e5f13', role: "tablist" }, h("slot", { key: '7e058b2ec325091ec5e30f0db30d893547e13e49' })));
|
|
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: 'dc63c94596a53cd134f9327dd7fafcf70b94486b', onRoadSegmentedButtonClick: this.onTabClicked }, h("slot", { key: 'cd32b915b40f0d0ae2a5bd377a68f9ce4e41d363', name: "top" }), h("slot", { key: 'cfb4c62f06a98490ca37f27038737174641c8d4d' })));
|
|
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: 'd4d455ace814f7a19cb9e683fb103f43b6d4783b', class: this.sizes && `select-${this.sizes}` }, h("select", { key: '4432e042ced51b80b81832e8495e1dd060fc7952', 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: '2244f8e581db9229442d60fff809e07ade736091', 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: '72d9295f23671d0113b3b12f61aa13448d6f80f0', class: "form-select-label", id: labelId, htmlFor: this.selectId }, this.label), this.error && this.error !== '' && h("p", { key: 'b97bd0875b474013c3824f9fdb87390262e9f144', class: "invalid-feedback" }, this.error)));
|
|
96
96
|
}
|
|
97
97
|
static get is() { return "road-select"; }
|
|
98
98
|
static get encapsulation() { return "scoped"; }
|
|
@@ -54,22 +54,27 @@ export default {
|
|
|
54
54
|
control: 'text',
|
|
55
55
|
},
|
|
56
56
|
roadblur: {
|
|
57
|
+
action: 'roadblur',
|
|
57
58
|
description: "Emitted when the select loses focus.",
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
table: {
|
|
60
|
+
category: 'Events',
|
|
61
|
+
type: { summary: 'CustomEvent' },
|
|
60
62
|
},
|
|
61
63
|
},
|
|
62
64
|
roadfocus: {
|
|
65
|
+
action: 'roadfocus',
|
|
63
66
|
description: "Emitted when the select has focus.",
|
|
64
|
-
|
|
65
|
-
|
|
67
|
+
table: {
|
|
68
|
+
category: 'Events',
|
|
69
|
+
type: { summary: 'CustomEvent' },
|
|
66
70
|
},
|
|
67
71
|
},
|
|
68
72
|
roadchange: {
|
|
69
|
-
description: "Emitted when the value has changed.",
|
|
70
73
|
action: 'roadchange',
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
description: "Emitted when the value has changed.",
|
|
75
|
+
table: {
|
|
76
|
+
category: 'Events',
|
|
77
|
+
type: { summary: 'CustomEvent' },
|
|
73
78
|
},
|
|
74
79
|
},
|
|
75
80
|
},
|
|
@@ -107,8 +107,8 @@ export class SelectFilter {
|
|
|
107
107
|
const options = this.filteredOptions;
|
|
108
108
|
const isActive = this.isActive ? 'true' : 'false';
|
|
109
109
|
const notActive = this.isActive ? '' : 'not-active';
|
|
110
|
-
return (h(Host, { key: '
|
|
111
|
-
h("ul", { key: '
|
|
110
|
+
return (h(Host, { key: 'fff9f64f26850281576ed7de2e8104fad18862f9', "is-active": isActive }, h("slot", { key: 'a66b13f411768a00e0d45ed9801a84f3b2684f75' }), this.isOpen &&
|
|
111
|
+
h("ul", { key: '5230013f47dccc082c73abfb8474a0791a7e992b', class: `${notActive} select-filter-list`, role: "listbox", onMouseLeave: this.handleMouseLeave }, options.map((option, idx) => (h("li", { class: `select-filter-item ${this.activeIndex === idx ? 'active' : ''}`, role: "option", "aria-selected": this.activeIndex === idx ? 'true' : 'false', onClick: () => this.handleOptionClick(option.item.value, option.item.label.replace(/(<([^>]+)>)/gi, "")), onMouseOver: () => this.handleOptionMouseOver(idx), innerHTML: option.item.label, tabindex: this.activeIndex === idx ? 0 : -1 }))))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "road-select-filter"; }
|
|
114
114
|
static get encapsulation() { return "scoped"; }
|
|
@@ -29,8 +29,10 @@ export default {
|
|
|
29
29
|
},
|
|
30
30
|
roadselected: {
|
|
31
31
|
action: 'roadselected',
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
description: 'Emitted when the value is selected.',
|
|
33
|
+
table: {
|
|
34
|
+
category: 'Events',
|
|
35
|
+
type: { summary: 'CustomEvent' },
|
|
34
36
|
},
|
|
35
37
|
},
|
|
36
38
|
'--margin-top': {
|
|
@@ -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: '03bd8098ff469f17744141c229b9b3ad863b0124' }, "\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: '5ad4972d7d49afc0c31aa2771c10361cee7f7a25', class: `${sizeClass}`, viewBox: "25 25 50 50" }, h("circle", { key: '842b8a3563edc3ada7f2450e0ef9724c9141bfa0', 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"; }
|
|
@@ -70,11 +70,11 @@ export class Switch {
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
const labelId = this.switchId + '-label';
|
|
73
|
-
const textLabel = h("label", { key: '
|
|
73
|
+
const textLabel = h("label", { key: '54f56dec9c84250081ebfadd296e7d7488a31175', class: "form-switch-label", id: labelId, htmlFor: this.switchId }, this.label);
|
|
74
74
|
const colorClass = this.color !== undefined ? 'form-switch-' + this.color : '';
|
|
75
75
|
const isSpacedClass = this.isSpaced && 'form-switch-spaced';
|
|
76
76
|
const rightSwitchClass = this.hasLeftLabel ? 'form-switch-right' : '';
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'd4c7bbfdcda90e98bb16805048d9f121fe3bf5dc' }, h("input", { key: '46041634cfc030ef1abefa55946672b744d941ec', class: "form-switch-input", type: "checkbox", id: this.switchId, name: this.name, checked: this.checked, disabled: this.disabled, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), h("label", { key: '280bce0f99cd8c0b16c5dbb45bb6ae4facbac82f', class: `form-switch-label ${isSpacedClass} ${colorClass}`, htmlFor: this.switchId }, this.hasLeftLabel && textLabel, h("div", { key: 'fa649be434996ef636b323481027f48ea755d16d', class: `form-switch-lever ${rightSwitchClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
78
78
|
}
|
|
79
79
|
static get is() { return "road-switch"; }
|
|
80
80
|
static get encapsulation() { return "scoped"; }
|
|
@@ -21,9 +21,9 @@ export class Tab {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const { tab, active } = this;
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'be0ce5a323e835e0e17bcfc23c010876518f705f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
25
25
|
'tab-hidden': !active,
|
|
26
|
-
} }, h("slot", { key: '
|
|
26
|
+
} }, h("slot", { key: 'b3e5f1b7811c480cbf5971293c95a244354d37b1' })));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "road-tab"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,11 +36,11 @@ export class TabBar {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
const { expand, center, secondary } = this;
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '5b37e3605410e8cbb5a953216957bd49ed348949', role: "tablist", class: {
|
|
40
40
|
'tab-expand': expand,
|
|
41
41
|
'tab-center': center,
|
|
42
42
|
'tab-secondary': secondary,
|
|
43
|
-
} }, h("slot", { key: '
|
|
43
|
+
} }, h("slot", { key: '40f8b74647a678eae3e772d67fdef3e285c91250' })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "road-tab-bar"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,7 +71,7 @@ export class TabButton {
|
|
|
71
71
|
rel,
|
|
72
72
|
target,
|
|
73
73
|
};
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'd75aef7fd1d24c4d510b81110769176be7c94b86', onClick: (ev) => !disabled && this.onClick(ev), onKeyup: (ev) => !disabled && this.onKeyUp(ev), role: "tab", tabindex: disabled ? -1 : tabIndex, "aria-selected": selected ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
75
75
|
'tab-selected': selected,
|
|
76
76
|
'tab-has-label': hasLabel,
|
|
77
77
|
'tab-has-icon': hasIcon,
|
|
@@ -79,7 +79,7 @@ export class TabButton {
|
|
|
79
79
|
'tab-has-icon-only': hasIcon && !hasLabel,
|
|
80
80
|
[`tab-layout-${layout}`]: true,
|
|
81
81
|
'tab-disabled': disabled, // Classe CSS pour les styles désactivés
|
|
82
|
-
} }, h("a", Object.assign({ key: '
|
|
82
|
+
} }, h("a", Object.assign({ key: '0674b22edd491c00bd4b748bd3db998dcb16a550' }, attrs, { tabIndex: -1, class: "button-native", part: "native" }), h("span", { key: '3c8fb23151939c48dd4239240385a995daed93e8', class: "button-inner" }, h("slot", { key: 'df8b3f6c3087b0f7ced5f6cb38733c9ee50db760' })))));
|
|
83
83
|
}
|
|
84
84
|
static get is() { return "road-tab-button"; }
|
|
85
85
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class Table {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("slot", { key: '
|
|
7
|
+
return (h("slot", { key: 'e732734d32731bf220436443f306c3a57b3da9b4' }));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "road-table"; }
|
|
10
10
|
static get encapsulation() { return "scoped"; }
|
|
@@ -99,7 +99,7 @@ export class Tabs {
|
|
|
99
99
|
return Array.from(this.el.querySelectorAll('road-tab'));
|
|
100
100
|
}
|
|
101
101
|
render() {
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '6775e9080b20a46712a1b0d2de49a89977c840f9', onRoadTabButtonClick: this.onTabClicked }, h("slot", { key: 'c32dc3dbb5a97dc1b699ebfadf784b7f794520c8', name: "top" }), h("div", { key: 'd523d47374ce745ef869a3d92c012a8c9089652d', class: "tabs-inner" }, h("slot", { key: '7d049210173976a8906e8009c1ae65d284399d7d' }))));
|
|
103
103
|
}
|
|
104
104
|
static get is() { return "road-tabs"; }
|
|
105
105
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,7 +16,7 @@ export class Tag {
|
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
18
|
const contrastClass = this.contrast ? `tag-${this.color} tag-${this.color}-contrast` : `tag-${this.color}`;
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '2b3a5ad4c33944c258767549bc5c5b47088e9e79', class: `${contrastClass}` }, h("slot", { key: 'c6b1754daf6f0beccdf7b41bf72a2d478222380e' })));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "road-tag"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,7 +11,7 @@ export class Text {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
const colorClass = this.color !== undefined ? `text-${this.color}` : '';
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '16ef8fa74811821df230a167c40e25871de4762c', class: `${colorClass}` }, h("slot", { key: '74bfd011e67ebb720bc91e8cb682abd9b7629340' })));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "road-text"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,7 +82,7 @@ export class Textarea {
|
|
|
82
82
|
const hasValueClass = this.value !== '' ? 'has-value' : '';
|
|
83
83
|
const noResizeClass = this.resize == false ? 'no-resize' : '';
|
|
84
84
|
const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '5940308a9e1f7ed1672cd03a83e55ddd05056111', "aria-disabled": this.disabled ? 'true' : null, class: this.sizes && `input-${this.sizes}` }, h("textarea", { key: '0fa4446695b94cbe652f81fab4e36a6f6f8cf11a', class: `form-control textarea-control ${hasValueClass} ${noResizeClass} ${isInvalidClass}`, id: this.textareaId, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, disabled: this.disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, maxLength: this.maxlength, minLength: this.minlength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, value: value, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus }), h("label", { key: 'fb2e631bd65dabff36792f56d7959f25c73b06ff', class: "form-label", id: labelId, htmlFor: this.textareaId }, this.label), this.error && this.error !== '' && h("p", { key: 'be5ac6f2e132cd7a9abf0eb1514d78ed8fabc03b', class: "invalid-feedback" }, this.error), this.helper && this.helper !== '' && h("p", { key: 'c61c6a1855748a295db996cf15bb2af3ba73988b', class: "helper" }, this.helper)));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "road-textarea"; }
|
|
88
88
|
static get encapsulation() { return "scoped"; }
|
|
@@ -120,29 +120,35 @@ export default {
|
|
|
120
120
|
},
|
|
121
121
|
},
|
|
122
122
|
roadblur: {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
action: 'roadblur',
|
|
124
|
+
description: 'Emitted when the input loses focus.',
|
|
125
|
+
table: {
|
|
126
|
+
category: 'Events',
|
|
127
|
+
type: { summary: 'CustomEvent' },
|
|
126
128
|
},
|
|
127
129
|
},
|
|
128
130
|
roadfocus: {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
131
|
+
action: 'roadfocus',
|
|
132
|
+
description: 'Emitted when the input loses focus.',
|
|
133
|
+
table: {
|
|
134
|
+
category: 'Events',
|
|
135
|
+
type: { summary: 'CustomEvent' },
|
|
132
136
|
},
|
|
133
137
|
},
|
|
134
138
|
roadchange: {
|
|
135
|
-
description: "Emitted when the value has changed.",
|
|
136
139
|
action: 'roadchange',
|
|
137
|
-
|
|
138
|
-
|
|
140
|
+
description: 'Emitted when the value has changed.',
|
|
141
|
+
table: {
|
|
142
|
+
category: 'Events',
|
|
143
|
+
type: { summary: 'CustomEvent' },
|
|
139
144
|
},
|
|
140
145
|
},
|
|
141
146
|
roadinput: {
|
|
142
|
-
description: "Emitted when a keyboard input occurred.",
|
|
143
147
|
action: 'roadinput',
|
|
144
|
-
|
|
145
|
-
|
|
148
|
+
description: "Emitted when a keyboard input occurred.",
|
|
149
|
+
table: {
|
|
150
|
+
category: 'Events',
|
|
151
|
+
type: { summary: 'CustomEvent' },
|
|
146
152
|
},
|
|
147
153
|
},
|
|
148
154
|
},
|
|
@@ -86,7 +86,7 @@ export class Toast {
|
|
|
86
86
|
if (this.color == 'danger') {
|
|
87
87
|
this.timeout = 0;
|
|
88
88
|
}
|
|
89
|
-
return (h(Host, { key: '
|
|
89
|
+
return (h(Host, { key: '89d5c219c4d138ddc853a53eb366942515b0bff5', class: `${toastIsOpenClass}`, role: "alert" }, h("div", { key: '4d2e2d14b9025b9428329cfe998a7bd8970a3623', class: `toast toast-${this.color}` }, h("road-icon", { key: '94c8ff89697fdd6aaf7303f86780fe0c28c06dfe', class: "toast-icon", icon: icon, "aria-hidden": "true" }), h("p", { key: 'a09e63015b675404efcc89320707d08676f2877f', class: "toast-label" }, this.label), h("button", { key: '1911957ac22296c6585275b453dadc513fc192d3', type: "button", class: "toast-close", "aria-label": "Close", onClick: this.onClick }, h("road-icon", { key: 'df64d98907d013e84ce2b485b5a431d35be953d4', icon: navigationClose, size: "md" })), h("slot", { key: '4fe59f168f7b15152ae5ce372798e69577568069', name: "progress" }))));
|
|
90
90
|
}
|
|
91
91
|
static get is() { return "road-toast"; }
|
|
92
92
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,9 +37,11 @@ export default {
|
|
|
37
37
|
},
|
|
38
38
|
close: {
|
|
39
39
|
description: "Indicate when closing the toast",
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
table: {
|
|
41
|
+
category: 'Events',
|
|
42
|
+
type: { summary: 'CustomEvent' },
|
|
42
43
|
},
|
|
44
|
+
control: { type: null }, // Désactive l'affichage du contrôle dans Storybook
|
|
43
45
|
},
|
|
44
46
|
progress: {
|
|
45
47
|
description: "the progress bar in the toast.\ncolor=\"info\" for Info\ncolor=\"success\" for success\ncolor=\"warning\" for warning\ncolor=\"danger\" for danger",
|
|
@@ -66,11 +66,11 @@ export class toggle {
|
|
|
66
66
|
}
|
|
67
67
|
render() {
|
|
68
68
|
const labelId = this.toggleId + '-label';
|
|
69
|
-
const textLabel = h("label", { key: '
|
|
69
|
+
const textLabel = h("label", { key: 'fc640d3b84b175679ffbd7be8b6e56ae0298b07c', class: "form-toggle-label", id: labelId, htmlFor: this.toggleId }, this.label);
|
|
70
70
|
const isSpacedClass = this.isSpaced && 'form-toggle-spaced';
|
|
71
71
|
const righttoggleClass = this.hasLeftLabel ? 'form-toggle-right' : '';
|
|
72
72
|
const disabledClass = this.disabled ? 'disabled' : '';
|
|
73
|
-
return (h(Host, { key: '
|
|
73
|
+
return (h(Host, { key: 'b70c71787640105ee246d1ce65dc1eed67ef2541' }, h("input", { key: 'd2921d1eb0a92347acae978122d647e390d4519a', class: "form-toggle-input", type: "checkbox", id: this.toggleId, name: this.name, checked: this.checked, disabled: this.disabled, value: this.value, "aria-checked": `${this.checked}`, "aria-disabled": this.disabled ? 'true' : null, "aria-labelledby": labelId, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }), h("label", { key: 'da00339aaf756ab5c888d1bc467ef43c9f1c7f86', class: `form-toggle-label ${isSpacedClass} ${disabledClass}`, htmlFor: this.toggleId }, this.hasLeftLabel && textLabel, h("div", { key: '82a8d49761061494d3c5d8868c3f1ed6145d7c0b', class: `form-toggle-lever ${righttoggleClass}`, "data-off": this.off, "data-on": this.on }), this.hasLeftLabel ? '' : textLabel)));
|
|
74
74
|
}
|
|
75
75
|
static get is() { return "road-toggle"; }
|
|
76
76
|
static get encapsulation() { return "scoped"; }
|
|
@@ -51,22 +51,27 @@ export default {
|
|
|
51
51
|
control: 'boolean',
|
|
52
52
|
},
|
|
53
53
|
roadblur: {
|
|
54
|
+
action: 'roadblur',
|
|
54
55
|
description: "Emitted when the toggle loses focus.",
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
table: {
|
|
57
|
+
category: 'Events',
|
|
58
|
+
type: { summary: 'CustomEvent' },
|
|
57
59
|
},
|
|
58
60
|
},
|
|
59
61
|
roadfocus: {
|
|
62
|
+
action: 'roadfocus',
|
|
60
63
|
description: "Emitted when the toggle has focus.",
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
table: {
|
|
65
|
+
category: 'Events',
|
|
66
|
+
type: { summary: 'CustomEvent' },
|
|
63
67
|
},
|
|
64
68
|
},
|
|
65
69
|
roadchange: {
|
|
66
|
-
description: "Emitted when the checked property has changed.",
|
|
67
70
|
action: 'roadchange',
|
|
68
|
-
|
|
69
|
-
|
|
71
|
+
description: "Emitted when the checked property has changed.",
|
|
72
|
+
table: {
|
|
73
|
+
category: 'Events',
|
|
74
|
+
type: { summary: 'CustomEvent' },
|
|
70
75
|
},
|
|
71
76
|
},
|
|
72
77
|
'--toggle-lever-width': {
|
|
@@ -10,7 +10,7 @@ import { Host, h } from "@stencil/core";
|
|
|
10
10
|
export class Toolbar {
|
|
11
11
|
render() {
|
|
12
12
|
const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '1666aad03b553002af15625a73060f5dbf4601b8', class: colorClass }, h("div", { key: 'e627795b3897fe397d86a9c879ea2df29ca40a30', class: "toolbar-container" }, h("slot", { key: '123ce565840045140bf2271fada84db838c1b0d6', name: "start" }), h("slot", { key: '115bb3ee9c656a81b61a601a319ec6923657894a', name: "primary" }), h("div", { key: '123ec182ca9d3dfd6bb2437c5689cce4c6e63069', class: "toolbar-content" }, h("slot", { key: '9c7a630301f524c0adef6bbc6ca6e89cabcba81a' })), h("slot", { key: 'a37d49d76f8df43da0e2969e17497f06e0eae184', name: "secondary" }), h("slot", { key: '62e6e5cbd5d9b1fdc2dead440ef9e60425796f75', name: "end" }))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "road-toolbar"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|