@roadtrip/components 3.15.0 → 3.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index-fb57f684.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +20 -6
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-dropdown.cjs.entry.js +15 -9
- package/dist/cjs/road-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +29 -19
- package/dist/collection/components/dropdown/dropdown.js.map +1 -1
- package/dist/collection/components/icon/svg/check-list-solid.svg +1 -0
- package/dist/collection/components/icon/svg/vehicle-car-search-color.svg +1 -1
- package/dist/collection/components/icon/svg/world-solid.svg +1 -0
- package/dist/collection/components/input/input.js +17 -7
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/item/item.css +47 -22
- package/dist/collection/components/item/item.js +60 -2
- package/dist/collection/components/item/item.js.map +1 -1
- package/dist/collection/components/item/item.stories.js +32 -15
- package/dist/esm/index-891decf5.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-badge_14.entry.js +20 -6
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-dropdown.entry.js +16 -10
- package/dist/esm/road-dropdown.entry.js.map +1 -1
- package/dist/esm/roadtrip.js +1 -1
- package/dist/html.html-data.json +25 -5
- package/dist/icons/icons.svg +1 -1
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +3 -1
- package/dist/roadtrip/p-73fe2357.js.map +1 -1
- package/dist/roadtrip/{p-f3da3f10.entry.js → p-afe28f05.entry.js} +2 -2
- package/dist/roadtrip/p-afe28f05.entry.js.map +1 -0
- package/dist/roadtrip/p-faba450c.entry.js +2 -0
- package/dist/roadtrip/p-faba450c.entry.js.map +1 -0
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/roadtrip/roadtrip.esm.js.map +1 -1
- package/dist/roadtrip/svg/check-list-solid.svg +1 -0
- package/dist/roadtrip/svg/vehicle-car-search-color.svg +1 -1
- package/dist/roadtrip/svg/world-solid.svg +1 -0
- package/dist/types/components/dropdown/dropdown.d.ts +2 -23
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/item/item.d.ts +12 -0
- package/dist/types/components.d.ts +27 -33
- package/hydrate/index.js +39 -21
- package/icons/icons.svg +1 -1
- package/icons/index.d.ts +2 -0
- package/icons/index.js +3 -1
- package/package.json +1 -1
- package/dist/roadtrip/p-9d62ca01.entry.js +0 -2
- package/dist/roadtrip/p-9d62ca01.entry.js.map +0 -1
- package/dist/roadtrip/p-f3da3f10.entry.js.map +0 -1
package/icons/index.d.ts
CHANGED
|
@@ -175,6 +175,7 @@ export declare const certifiedWarningSolid: string
|
|
|
175
175
|
export declare const certifiedWarning: string
|
|
176
176
|
export declare const certified: string
|
|
177
177
|
export declare const checkListColor: string
|
|
178
|
+
export declare const checkListSolid: string
|
|
178
179
|
export declare const checkList: string
|
|
179
180
|
export declare const checkPointColor: string
|
|
180
181
|
export declare const checkPointLocationColor: string
|
|
@@ -2067,6 +2068,7 @@ export declare const workOrderWaitToApproveOutline: string
|
|
|
2067
2068
|
export declare const workOrderWaitToApproveSolid: string
|
|
2068
2069
|
export declare const worldColor: string
|
|
2069
2070
|
export declare const worldOutline: string
|
|
2071
|
+
export declare const worldSolid: string
|
|
2070
2072
|
export declare const world: string
|
|
2071
2073
|
export declare const wrenchColor: string
|
|
2072
2074
|
export declare const wrenchDualColor: string
|
package/icons/index.js
CHANGED
|
@@ -175,6 +175,7 @@ export const certifiedWarningSolid = 'data:image/svg+xml;utf8,<svg viewBox="0 0
|
|
|
175
175
|
export const certifiedWarning = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="m32.494 55.708-.316-.083C31.19 55.364 13 46.357 13 38.487V17.976h1.251c5.087 0 15.811-4.619 17.231-6.578l1.013-1.4 1.012 1.4c1.421 1.959 12.146 6.58 17.233 6.58h1.249v20.51c0 7.937-18.191 16.882-19.179 17.138l-.316.083Zm-1.2-14.117v3.328h3v-3.328Zm0-18.436v14h3v-14Z" stroke="rgba(0,0,0,0)" stroke-miterlimit="10"/></svg>'
|
|
176
176
|
export const certified = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="m32.495 55.707-.316-.083c-.988-.26-19.177-9.255-19.177-17.138V17.974h1.25c5.089 0 15.813-4.618 17.233-6.577l1.013-1.4 1.013 1.4c1.42 1.96 12.145 6.581 17.232 6.581h1.25v20.508c0 1.813-.961 3.827-2.858 5.985a35.8 35.8 0 0 1-6.362 5.46 59.652 59.652 0 0 1-9.961 5.693l-.316.083Zm-7.593-24.2-1.768 1.767 6.962 6.962 14.399-14.403-1.768-1.767-12.638 12.64Z" stroke="rgba(0,0,0,0)" stroke-miterlimit="10"/></svg>'
|
|
177
177
|
export const checkListColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M50.159 57.518h-36.32a3.524 3.524 0 0 1-3.519-3.52v-42a3.524 3.524 0 0 1 3.519-3.52H47.62v2.5H13.839a1.021 1.021 0 0 0-1.019 1.025v42a1.021 1.021 0 0 0 1.019 1.02h36.32a1.023 1.023 0 0 0 1.021-1.02v-42a1.022 1.022 0 0 0-1.021-1.02H47.62v-2.5h2.54a3.525 3.525 0 0 1 3.521 3.52v42a3.525 3.525 0 0 1-3.521 3.52"/><path d="M19.067 45.355V41.5h3.855v3.855Zm10.7-.6v-2.527h15.232v2.527Zm-10.638-9.526v-3.855h3.855v3.855Zm10.638-.6v-2.527h15.232v2.527Zm0-10.126v-2.527h15.232v2.527Z"/><path d="m19.044 24.758-1.855-1.856 1.767-1.767 1.856 1.855 4.703-4.704 1.768 1.768-6.471 6.472Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/></svg>'
|
|
178
|
+
export const checkListSolid = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path fill-rule="evenodd" clip-rule="evenodd" d="M50.16 57.518H13.84a3.524 3.524 0 0 1-3.52-3.52v-42a3.524 3.524 0 0 1 3.52-3.52h33.78v.005h2.54a3.525 3.525 0 0 1 3.521 3.52v42a3.526 3.526 0 0 1-3.52 3.52l-.002-.005ZM18.955 21.135l-1.767 1.767 3.623 3.624 6.471-6.472-1.768-1.768-4.703 4.704-1.856-1.855Zm.111 20.365v3.855h3.855V41.5h-3.855Zm10.7.728v2.527H45v-2.527H29.767ZM19.13 31.374v3.855h3.855v-3.855H19.13Zm10.638.728v2.527H45v-2.527H29.767Zm0-10.126v2.527H45v-2.527H29.767Z"/></svg>'
|
|
178
179
|
export const checkList = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M50.159 57.518h-36.32a3.524 3.524 0 0 1-3.519-3.52v-42a3.524 3.524 0 0 1 3.519-3.52H47.62v2.5H13.839a1.021 1.021 0 0 0-1.019 1.025v42a1.021 1.021 0 0 0 1.019 1.02h36.32a1.023 1.023 0 0 0 1.021-1.02v-42a1.022 1.022 0 0 0-1.021-1.02H47.62v-2.5h2.54a3.525 3.525 0 0 1 3.521 3.52v42a3.525 3.525 0 0 1-3.521 3.52"/><path d="M19.067 45.355V41.5h3.855v3.855Zm10.7-.6v-2.527h15.232v2.527Zm-10.638-9.526v-3.855h3.855v3.855Zm10.638-.6v-2.527h15.232v2.527Zm0-10.126v-2.527h15.232v2.527Zm-10.723.255-1.855-1.856 1.767-1.767 1.856 1.855 4.703-4.704 1.768 1.768-6.471 6.472Z"/></svg>'
|
|
179
180
|
export const checkPointColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M23.901 48.693h-2.5v2.677h2.5v-2.677Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/><path d="M27.92 58.22h-2.5V41.912h-9.55V58.22h-2.5V39.412h14.55V58.22Zm22.018-47.254h-2.5V7.5H16.602v3.466h-2.5V5h35.836v5.966Z"/><path d="M49.938 10.966H14.102l-10.1 10.1v3.107H60.04v-3.106L49.938 10.966Zm-28.718 2.5h5.53v1.3l-1.313 6.572v.334h-8.074l3.857-6.433v-1.773Zm8.006 1.671.014-1.671h5.542v1.426l1.338 6.782h-8.2l1.306-6.537Zm8.056-.369v-1.3h5.538v1.773l3.861 6.435H38.62v-.091l-1.338-6.817Zm-22.149-1.3h3.587v1.08l-4.016 6.692v.436H6.929l8.204-8.208Zm34.2 8.208v-.436l-4.013-6.694v-1.08h3.587l8.208 8.208-7.782.002ZM50.67 52.62h-19.9V39.412h19.9V52.62Zm-17.4-2.5h14.9v-8.208h-14.9v8.208Z"/><path d="M53.52 36.554v21.6h-43v-21.6a6.573 6.573 0 0 1-2.5-.529V60.65h48V36.025c-.79.338-1.64.518-2.5.529Z"/><path d="M57.54 24.174v5.78a4.104 4.104 0 0 1-8.208 0v-2.677h-2.5v2.677a4.104 4.104 0 0 1-8.208 0v-2.677H36.12v2.677a4.103 4.103 0 1 1-8.208 0v-2.677H25.42v2.677a4.104 4.104 0 0 1-8.208 0v-2.677h-2.5v2.677a4.104 4.104 0 0 1-8.208 0v-5.78H4v5.78a6.6 6.6 0 0 0 11.958 3.862 6.6 6.6 0 0 0 10.708 0 6.6 6.6 0 0 0 10.708 0 6.6 6.6 0 0 0 10.708 0 6.6 6.6 0 0 0 11.958-3.862v-5.78h-2.5Z"/></svg>'
|
|
180
181
|
export const checkPointLocationColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M52.05 16.993a4.363 4.363 0 1 1-.002-8.725 4.363 4.363 0 0 1 .002 8.725Zm0-6.225a1.863 1.863 0 1 0-.002 3.726 1.863 1.863 0 0 0 .002-3.726ZM21.667 48.515h-2.5v2.541h2.5v-2.54Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/><path d="M52.05 31.437a1.25 1.25 0 0 1-.962-.452c-2.245-2.706-9.568-12.038-9.568-18.492A10.49 10.49 0 0 1 52.05 2.081h.015a10.5 10.5 0 0 1 7.43 3.056 10.3 10.3 0 0 1 3.084 7.372c0 6.44-7.323 15.77-9.567 18.476a1.252 1.252 0 0 1-.962.452Zm0-26.856a7.985 7.985 0 0 0-8.03 7.913c0 4.135 3.987 10.61 8.03 15.71 4.043-5.1 8.029-11.57 8.029-15.696a7.81 7.81 0 0 0-2.344-5.6 8.016 8.016 0 0 0-5.671-2.332l-.014.005ZM25.479 57.46h-2.5V42.142h-8.934V57.46h-2.5V39.643h13.934V57.46Z"/><path d="M50.8 34.738v22.69H8.312V37.061a6.298 6.298 0 0 1-2.5-.526v23.393H53.3v-25.19h-2.5Z"/><path d="M47.075 52.306H28.058V39.643h19.017v12.663Zm-16.517-2.5h14.017v-7.663H30.558v7.663Zm12.094-21.618v2.541a3.832 3.832 0 0 1-7.663 0v-2.54h-2.5v2.54a3.832 3.832 0 1 1-7.663 0v-2.54h-2.5v2.54a3.832 3.832 0 0 1-7.663 0v-2.54h-2.5v2.54a3.832 3.832 0 1 1-7.663 0v-6.372h36.166v-2.5h-5.677v-.02l-1.27-6.476v-1.167h3.2v-2.5H14.045V7.357h24.273v-2.5H11.545v6.878h.039L2 21.32v9.41a6.329 6.329 0 0 0 11.413 3.77 6.326 6.326 0 0 0 10.163 0 6.326 6.326 0 0 0 10.163 0 6.329 6.329 0 0 0 11.413-3.774v-2.538h-2.5ZM26.072 15.73l.014-1.536h5.133v1.291l1.25 6.372h-7.622l1.225-6.127Zm-7.6-1.536h5.122v1.167l-1.246 6.231-.005.265h-7.485l3.616-6.025-.002-1.638Zm-5.815 0h3.315v.945l-3.809 6.351v.367H4.997l7.66-7.663Z"/></svg>'
|
|
@@ -1636,7 +1637,7 @@ export const vehicleCarSadColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64
|
|
|
1636
1637
|
export const vehicleCarSadOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M17.95 43.86c-2.89 0-5.25-2.36-5.25-5.25s2.36-5.25 5.25-5.25 5.25 2.36 5.25 5.25-2.36 5.25-5.25 5.25Zm0-8c-1.52 0-2.75 1.23-2.75 2.75s1.23 2.75 2.75 2.75 2.75-1.23 2.75-2.75-1.23-2.75-2.75-2.75Zm28.1 7.93c-2.89 0-5.25-2.36-5.25-5.25s2.36-5.25 5.25-5.25 5.25 2.36 5.25 5.25-2.36 5.25-5.25 5.25Zm0-8c-1.52 0-2.75 1.23-2.75 2.75s1.23 2.75 2.75 2.75 2.75-1.23 2.75-2.75-1.23-2.75-2.75-2.75Z"/><path d="M59.29 27.57h-2.45L52.05 13.3a4.108 4.108 0 0 0-3.9-2.81h-32.3c-1.77 0-3.34 1.13-3.9 2.81L7.16 27.57H4.71a1.25 1.25 0 0 0 0 2.5h2.1v21.39c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05v-2.11h34.18v2.11c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05V30.07h2.1a1.25 1.25 0 0 0 0-2.5ZM14.32 14.09c.22-.66.84-1.1 1.53-1.1h32.3c.7 0 1.31.44 1.53 1.1l4.52 13.47H9.79l4.52-13.47h.01Zm-1.9 37.36c0 .86-.7 1.55-1.55 1.55-.85 0-1.55-.7-1.55-1.55v-2.11h3.11v2.11h-.01Zm42.28 0c0 .86-.7 1.55-1.55 1.55-.85 0-1.55-.7-1.55-1.55v-2.11h3.11v2.11h-.01Zm0-4.61H9.3V30.07h45.4v16.78-.01Z"/><path d="M27.3 44.81c0-2.07 2.11-3.75 4.7-3.75 2.59 0 4.7 1.68 4.7 3.75h2.5c0-3.45-3.23-6.25-7.2-6.25s-7.2 2.8-7.2 6.25h2.5Z"/></svg>'
|
|
1637
1638
|
export const vehicleCarSadSolid = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M59.29 27.57h-2.45L52.05 13.3a4.108 4.108 0 0 0-3.9-2.81h-32.3c-1.77 0-3.34 1.13-3.9 2.81L7.16 27.57H4.71a1.25 1.25 0 0 0 0 2.5h2.1v21.39c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05v-2.11h34.18v2.11c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05V30.07h2.1a1.25 1.25 0 0 0 0-2.5ZM17.94 42.61c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4Zm18.76 2.2c0-2.07-2.11-3.75-4.7-3.75-2.59 0-4.7 1.68-4.7 3.75h-2.5c0-3.45 3.23-6.25 7.2-6.25s7.2 2.8 7.2 6.25h-2.5Zm9.35-2.26c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4ZM9.79 27.57l4.52-13.48c.22-.66.84-1.1 1.53-1.1h32.31c.7 0 1.31.44 1.53 1.1l4.52 13.48H9.79Z"/></svg>'
|
|
1638
1639
|
export const vehicleCarSad = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M52.529 28.027h-2.732l-3.452-10.043a2.668 2.668 0 0 0-2.906-1.968H21.501a2.667 2.667 0 0 0-2.906 1.968l-3.452 10.043h-2.732A1.411 1.411 0 0 0 11 29.438v1.151A1.411 1.411 0 0 0 12.411 32h2.059v14.016a1.921 1.921 0 0 0 1.969 1.968h2.062a1.922 1.922 0 0 0 1.969-1.968v-2.063h24v2.063a1.921 1.921 0 0 0 1.969 1.968h2.062a1.922 1.922 0 0 0 1.969-1.968V32h2.059a1.411 1.411 0 0 0 1.411-1.411v-1.151a1.411 1.411 0 0 0-1.411-1.411Zm-28.918 9.035A2.983 2.983 0 1 1 21.005 32h.991a2.977 2.977 0 0 1 1.615 5.062Zm14.636 3.891c0-.978-2.251-2.4-5.777-2.4s-5.777 1.42-5.777 2.4h-2c0-2.507 3.343-4.4 7.777-4.4s7.777 1.891 7.777 4.4Zm7.3-3.891A2.983 2.983 0 1 1 42.943 32h.991a2.976 2.976 0 0 1 1.614 5.062Zm-27.046-9.046 3-9h21.938l3 9Z"/></svg>'
|
|
1639
|
-
export const vehicleCarSearchColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M52.7 46.85H7.3V30.07h29.54a1.25 1.25 0 0 0 0-2.5H7.79l4.52-13.47c.22-.66.84-1.1 1.53-1.1h17.45v-2.5H13.85c-1.77 0-3.34 1.13-3.9 2.81L5.16 27.58H2.71a1.25 1.25 0 0 0 0 2.5h2.1v21.39c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05v-2.11h34.18v2.11c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05v-19.7h-2.5v15.08h.01Zm-42.28 4.61c0 .86-.7 1.55-1.55 1.55-.85 0-1.55-.7-1.55-1.55v-2.11h3.11v2.11h-.01Zm42.28 0c0 .86-.7 1.55-1.55 1.55-.85 0-1.55-.7-1.55-1.55v-2.11h3.11v2.11h-.01Z"
|
|
1640
|
+
export const vehicleCarSearchColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M52.7 46.85H7.3V30.07h29.54a1.25 1.25 0 0 0 0-2.5H7.79l4.52-13.47c.22-.66.84-1.1 1.53-1.1h17.45v-2.5H13.85c-1.77 0-3.34 1.13-3.9 2.81L5.16 27.58H2.71a1.25 1.25 0 0 0 0 2.5h2.1v21.39c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05v-2.11h34.18v2.11c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05v-19.7h-2.5v15.08h.01Zm-42.28 4.61c0 .86-.7 1.55-1.55 1.55-.85 0-1.55-.7-1.55-1.55v-2.11h3.11v2.11h-.01Zm42.28 0c0 .86-.7 1.55-1.55 1.55-.85 0-1.55-.7-1.55-1.55v-2.11h3.11v2.11h-.01Z"/><path d="M10.7 38.61c0 2.89 2.36 5.25 5.25 5.25s5.25-2.36 5.25-5.25-2.36-5.25-5.25-5.25-5.25 2.36-5.25 5.25Zm8 0c0 1.52-1.23 2.75-2.75 2.75s-2.75-1.23-2.75-2.75 1.23-2.75 2.75-2.75 2.75 1.23 2.75 2.75Zm30.6-.07c0-2.89-2.36-5.25-5.25-5.25s-5.25 2.36-5.25 5.25 2.36 5.25 5.25 5.25 5.25-2.36 5.25-5.25Zm-8 0c0-1.52 1.23-2.75 2.75-2.75s2.75 1.23 2.75 2.75-1.23 2.75-2.75 2.75-2.75-1.23-2.75-2.75Z"/><path d="m63.32 29.64-7.25-7.25c1.63-2.02 2.61-4.58 2.61-7.37 0-6.48-5.27-11.75-11.75-11.75S35.18 8.54 35.18 15.02s5.27 11.75 11.75 11.75c2.79 0 5.35-.98 7.37-2.61l7.25 7.25 1.77-1.77Zm-16.38-5.37c-5.1 0-9.25-4.15-9.25-9.25s4.15-9.25 9.25-9.25 9.25 4.15 9.25 9.25-4.15 9.25-9.25 9.25Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/></svg>'
|
|
1640
1641
|
export const vehicleCarSearchOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M52.7 46.85H7.3V30.07h29.54a1.25 1.25 0 0 0 0-2.5H7.79l4.52-13.47c.22-.66.84-1.1 1.53-1.1h17.45v-2.5H13.85c-1.77 0-3.34 1.13-3.9 2.81L5.16 27.58H2.71a1.25 1.25 0 0 0 0 2.5h2.1v21.39c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05v-2.11h34.18v2.11c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05v-19.7h-2.5v15.08h.01Zm-42.28 4.61c0 .86-.7 1.55-1.55 1.55-.85 0-1.55-.7-1.55-1.55v-2.11h3.11v2.11h-.01Zm42.28 0c0 .86-.7 1.55-1.55 1.55-.85 0-1.55-.7-1.55-1.55v-2.11h3.11v2.11h-.01Z"/><path d="M10.7 38.61c0 2.89 2.36 5.25 5.25 5.25s5.25-2.36 5.25-5.25-2.36-5.25-5.25-5.25-5.25 2.36-5.25 5.25Zm8 0c0 1.52-1.23 2.75-2.75 2.75s-2.75-1.23-2.75-2.75 1.23-2.75 2.75-2.75 2.75 1.23 2.75 2.75Zm30.6-.07c0-2.89-2.36-5.25-5.25-5.25s-5.25 2.36-5.25 5.25 2.36 5.25 5.25 5.25 5.25-2.36 5.25-5.25Zm-8 0c0-1.52 1.23-2.75 2.75-2.75s2.75 1.23 2.75 2.75-1.23 2.75-2.75 2.75-2.75-1.23-2.75-2.75Zm22.02-8.9-7.25-7.25c1.63-2.02 2.61-4.58 2.61-7.37 0-6.48-5.27-11.75-11.75-11.75S35.18 8.54 35.18 15.02s5.27 11.75 11.75 11.75c2.79 0 5.35-.98 7.37-2.61l7.25 7.25 1.77-1.77Zm-16.38-5.37c-5.1 0-9.25-4.15-9.25-9.25s4.15-9.25 9.25-9.25 9.25 4.15 9.25 9.25-4.15 9.25-9.25 9.25Z"/></svg>'
|
|
1641
1642
|
export const vehicleCarSearchSolid = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M54.17 27.57h-.51a14.225 14.225 0 0 1-6.73 1.71c-2.35 0-4.74-.62-6.75-1.71H9.79l4.52-13.48c.22-.66.84-1.1 1.53-1.1h17c.12-.86.32-1.7.59-2.5H15.85c-1.77 0-3.34 1.13-3.9 2.81L7.16 27.57H4.71a1.25 1.25 0 0 0 0 2.5h2.1v21.39c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05v-2.11h34.18v2.11c0 2.24 1.82 4.05 4.05 4.05 2.23 0 4.05-1.82 4.05-4.05V30.59l-3.02-3.02ZM17.94 42.61c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4Zm28.11-.06c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4Z"/><path d="m63.32 29.64-7.25-7.25c1.63-2.02 2.61-4.58 2.61-7.37 0-6.48-5.27-11.75-11.75-11.75S35.18 8.54 35.18 15.02s5.27 11.75 11.75 11.75c2.79 0 5.35-.98 7.37-2.61l7.25 7.25 1.77-1.77Zm-16.38-5.37c-5.1 0-9.25-4.15-9.25-9.25s4.15-9.25 9.25-9.25 9.25 4.15 9.25 9.25-4.15 9.25-9.25 9.25Z"/></svg>'
|
|
1642
1643
|
export const vehicleCarSearch = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M46.741 27.987h-2.732v-.012h-31.3l3-9h16.03v-3H15.713a2.666 2.666 0 0 0-2.906 1.969L9.355 27.987H6.623A1.411 1.411 0 0 0 5.212 29.4v1.15a1.412 1.412 0 0 0 1.411 1.41h2.059v14.015a1.922 1.922 0 0 0 1.968 1.969h2.063a1.924 1.924 0 0 0 1.969-1.969v-2.062h24v2.062a1.922 1.922 0 0 0 1.968 1.969h2.063a1.924 1.924 0 0 0 1.969-1.969V31.96h2.059a1.412 1.412 0 0 0 1.411-1.412V29.4a1.411 1.411 0 0 0-1.411-1.413Zm-28.919 9.035a2.983 2.983 0 1 1-2.6-5.062h.991a2.976 2.976 0 0 1 1.614 5.062Zm21.938 0a2.983 2.983 0 1 1-2.6-5.062h.99a2.977 2.977 0 0 1 1.615 5.062Z"/><path d="M51.9 22.466h-1.089l-.386-.372a8.985 8.985 0 1 0-.966.966l.372.386v1.09l6.9 6.887 2.056-2.056Zm-8.281 0a6.2 6.2 0 1 1 4.4-1.817 6.2 6.2 0 0 1-4.4 1.817Z"/></svg>'
|
|
@@ -2067,6 +2068,7 @@ export const workOrderWaitToApproveOutline = 'data:image/svg+xml;utf8,<svg viewB
|
|
|
2067
2068
|
export const workOrderWaitToApproveSolid = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M44.78 60.806H15.25a1.25 1.25 0 1 1 0-2.5h29.53a1.25 1.25 0 0 1 0 2.5Zm.29-26.19-.92-.68c-4.28-3.17-4.2-3.38-2.68-8.05a39.41 39.41 0 0 1 3.69-7.8 22.628 22.628 0 0 0 2.59-5.53 7.8 7.8 0 0 0-15.07-4 23.313 23.313 0 0 0-.51 6.08c.09 2.88-.146 5.762-.7 8.59-1 4.84-1.06 5-6.34 5.63l-1.18.11c-4.73.52-7.86.86-8.95 4.93l-2 7.53 2.53.68v.18a5.9 5.9 0 0 0 4.15 7.27l18.85 5a5.9 5.9 0 0 0 7.23-4.18v-.17l2.53.68 2-7.54c1.16-4.05-1.34-5.91-5.22-8.73Zm-11.86 12.22-15.26-4.08.65-2.42h-.05l15.31 4.1-.65 2.4Zm10.18 2.72-3.85-1 .64-2.42 3.86 1-.65 2.42Z"/></svg>'
|
|
2068
2069
|
export const worldColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M41.56 32.25c0 10.413-2.952 19.843-7.045 22.637a22.56 22.56 0 0 0 4.237-.84c3.265-4.625 5.308-12.678 5.308-21.8 0-9.12-2.043-17.17-5.31-21.795a22.579 22.579 0 0 0-4.237-.84c4.095 2.795 7.047 12.226 7.047 22.638Zm-18.619 0c0-10.412 2.951-19.843 7.043-22.637a22.572 22.572 0 0 0-4.236.839c-3.265 4.626-5.307 12.679-5.307 21.8 0 9.12 2.042 17.172 5.307 21.8 1.382.414 2.8.695 4.236.839-4.092-2.798-7.043-12.23-7.043-22.641Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/><path d="M53.658 24.556a22.422 22.422 0 0 0-1.079-2.5H11.921c-.41.81-.77 1.646-1.079 2.5h42.816ZM10.842 39.943c.309.854.67 1.689 1.079 2.5h40.658c.41-.81.77-1.646 1.079-2.5H10.842Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/><path d="M32.25 57.5A25.278 25.278 0 0 1 7 32.25 25.278 25.278 0 0 1 32.25 7 25.278 25.278 0 0 1 57.5 32.25 25.278 25.278 0 0 1 32.25 57.5Zm0-48A22.776 22.776 0 0 0 9.5 32.25 22.776 22.776 0 0 0 32.25 55 22.775 22.775 0 0 0 55 32.25 22.776 22.776 0 0 0 32.25 9.5Z"/></svg>'
|
|
2069
2070
|
export const worldOutline = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M41.56 32.25c0 10.413-2.952 19.843-7.045 22.637a22.56 22.56 0 0 0 4.237-.84c3.265-4.625 5.308-12.678 5.308-21.8 0-9.12-2.043-17.17-5.31-21.795a22.579 22.579 0 0 0-4.237-.84c4.095 2.795 7.047 12.226 7.047 22.638Zm-18.619 0c0-10.412 2.951-19.843 7.043-22.637a22.572 22.572 0 0 0-4.236.839c-3.265 4.626-5.307 12.679-5.307 21.8 0 9.12 2.042 17.172 5.307 21.8 1.382.414 2.8.695 4.236.839-4.092-2.798-7.043-12.23-7.043-22.641Z"/><path d="M53.658 24.556a22.422 22.422 0 0 0-1.079-2.5H11.921c-.41.81-.77 1.646-1.079 2.5h42.816ZM10.842 39.943c.309.854.67 1.689 1.079 2.5h40.658c.41-.81.77-1.646 1.079-2.5H10.842Z"/><path d="M32.25 57.5A25.278 25.278 0 0 1 7 32.25 25.278 25.278 0 0 1 32.25 7 25.278 25.278 0 0 1 57.5 32.25 25.278 25.278 0 0 1 32.25 57.5Zm0-48A22.776 22.776 0 0 0 9.5 32.25 22.776 22.776 0 0 0 32.25 55 22.775 22.775 0 0 0 55 32.25 22.776 22.776 0 0 0 32.25 9.5Z"/></svg>'
|
|
2071
|
+
export const worldSolid = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M23.488 39.943h17.524c.355-2.437.548-5.033.548-7.693 0-2.66-.193-5.256-.548-7.694H23.49a53.653 53.653 0 0 0-.548 7.694c0 2.66.193 5.255.547 7.693Z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M14.404 50.096A25.278 25.278 0 0 0 32.25 57.5 25.278 25.278 0 0 0 57.5 32.25 25.278 25.278 0 0 0 32.25 7 25.278 25.278 0 0 0 7 32.25a25.278 25.278 0 0 0 7.404 17.846Zm15.58-40.483c-2.68 1.83-4.871 6.508-6.064 12.443h16.66c-1.193-5.935-3.385-10.613-6.067-12.443a22.58 22.58 0 0 1 4.237.839c1.972 2.793 3.499 6.833 4.398 11.604h9.431c.41.81.77 1.646 1.079 2.5H43.553c.331 2.432.507 5.016.507 7.692 0 2.677-.176 5.262-.507 7.695h10.105c-.309.855-.669 1.69-1.079 2.5h-9.43c-.9 4.771-2.426 8.813-4.397 11.605a22.555 22.555 0 0 1-4.237.839c2.681-1.83 4.873-6.508 6.066-12.444H23.92c1.192 5.936 3.383 10.615 6.063 12.448a22.56 22.56 0 0 1-4.236-.839c-1.971-2.794-3.497-6.837-4.396-11.609H11.92a22.55 22.55 0 0 1-1.079-2.5h10.105a57.273 57.273 0 0 1-.506-7.691c0-2.677.176-5.262.507-7.696H10.842c.31-.854.67-1.689 1.079-2.5h9.431c.9-4.77 2.425-8.812 4.396-11.604 1.382-.414 2.8-.695 4.236-.839Z" /></svg>'
|
|
2070
2072
|
export const world = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M41.31 32c0 10.413-2.952 19.843-7.045 22.637a22.562 22.562 0 0 0 4.237-.839c3.265-4.626 5.308-12.679 5.308-21.8s-2.043-17.17-5.31-21.796a22.578 22.578 0 0 0-4.237-.839C38.358 12.157 41.31 21.588 41.31 32Zm-18.619 0c0-10.412 2.951-19.843 7.043-22.637a22.567 22.567 0 0 0-4.236.839c-3.265 4.626-5.307 12.679-5.307 21.8s2.042 17.172 5.307 21.8a22.567 22.567 0 0 0 4.236.839C25.642 51.843 22.691 42.412 22.691 32Z"/><path d="M53.408 24.306a22.45 22.45 0 0 0-1.079-2.5H11.671a22.638 22.638 0 0 0-1.079 2.5ZM10.592 39.693a22.556 22.556 0 0 0 1.079 2.5h40.658a22.369 22.369 0 0 0 1.079-2.5Z"/><path d="M32 57.25A25.278 25.278 0 0 1 6.75 32 25.278 25.278 0 0 1 32 6.75 25.278 25.278 0 0 1 57.25 32 25.278 25.278 0 0 1 32 57.25Zm0-48A22.776 22.776 0 0 0 9.25 32 22.776 22.776 0 0 0 32 54.75 22.775 22.775 0 0 0 54.75 32 22.776 22.776 0 0 0 32 9.25Z"/></svg>'
|
|
2071
2073
|
export const wrenchColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M10.076 60.403a6.076 6.076 0 0 1-4.3-10.373l28.665-28.66A13.284 13.284 0 0 1 49.677 4.254a2.462 2.462 0 0 1 1.26 4.155l-5.521 5.52 5.12 5.06 5.46-5.522a2.462 2.462 0 0 1 4.155 1.26 13.312 13.312 0 0 1-17.13 15.26L14.373 58.626a6.036 6.036 0 0 1-4.297 1.778ZM47.202 6.466a10.965 10.965 0 0 0-7.76 3.2 10.778 10.778 0 0 0-2.64 10.954 2.473 2.473 0 0 1-.589 2.517L7.548 51.803a3.573 3.573 0 0 0 0 5.057 3.658 3.658 0 0 0 5.057 0l28.663-28.664a2.467 2.467 0 0 1 2.517-.59 10.809 10.809 0 0 0 13.917-12.393l-5.46 5.544a2.46 2.46 0 0 1-3.473 0l-5.121-5.121a2.459 2.459 0 0 1 0-3.472l5.523-5.523a11.063 11.063 0 0 0-1.969-.175Z"/><path d="m13.018 53.25-1.768-1.768-1.768 1.768 1.768 1.768 1.768-1.768Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/></svg>'
|
|
2072
2074
|
export const wrenchDualColor = 'data:image/svg+xml;utf8,<svg viewBox="0 0 64 64" aria-hidden="true" ><path d="M13.753 63.57c-.87 0-1.74-.086-2.594-.254A2.461 2.461 0 0 1 9.9 59.16l5.52-5.521-5.12-5.058L4.84 54.1a2.46 2.46 0 0 1-4.156-1.26 13.308 13.308 0 0 1 17.13-15.258L37.607 17.8A13.28 13.28 0 0 1 52.841.684a2.465 2.465 0 0 1 1.26 4.155l-5.524 5.522 5.123 5.058 5.46-5.52a2.464 2.464 0 0 1 4.156 1.264 13.309 13.309 0 0 1-17.13 15.258L26.394 46.2a13.28 13.28 0 0 1-12.64 17.37ZM10.33 46.094a2.44 2.44 0 0 1 1.738.719l5.12 5.119a2.46 2.46 0 0 1 0 3.475l-5.522 5.522a11.01 11.01 0 0 0 9.726-3.03 10.779 10.779 0 0 0 2.646-10.955 2.472 2.472 0 0 1 .59-2.517l19.805-19.801a2.466 2.466 0 0 1 2.518-.59 10.807 10.807 0 0 0 13.913-12.393l-5.456 5.544a2.516 2.516 0 0 1-3.475 0l-5.118-5.118a2.456 2.456 0 0 1 0-3.474l5.52-5.521a10.982 10.982 0 0 0-9.726 3.023 10.78 10.78 0 0 0-2.646 10.956 2.474 2.474 0 0 1-.588 2.516L19.568 39.374a2.477 2.477 0 0 1-2.517.589A10.807 10.807 0 0 0 3.137 52.356l5.456-5.543a2.437 2.437 0 0 1 1.736-.72Z"/><path d="M26.58 38.67c-.32 0-.64-.12-.88-.37a1.25 1.25 0 0 1 0-1.77L36.53 25.7a1.25 1.25 0 0 1 1.77 0c.49.49.49 1.28 0 1.77L27.47 38.3c-.24.24-.56.37-.88.37h-.01Z" fill="var(--road-icon-variant, rgb(252, 183, 49))"/></svg>'
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r}from"./p-f3d586b3.js";const t=":host{--margin-top:0.5rem;display:block}.dropdown{position:relative;font-family:var(--road-font)}.dropdown summary{display:block;outline:none}.dropdown summary::-webkit-details-marker{display:none}.dropdown-button{position:relative;display:flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;cursor:pointer;border-radius:0.25rem}.dropdown-medium-button{width:2.5rem;height:2.5rem}.dropdown-button:hover{background:var(--road-grey-200)}.position-right{display:flex;justify-content:flex-end}.bg-white{background:var(--road-grey-000)}.dropdown-button-icon{width:2.5rem;height:2.5rem}.dropdown-medium-button .dropdown-button-icon{width:1.75rem;height:1.75rem}.dropdown[open] .dropdown-menu{transform:scaleY(1)}.dropdown[open] .dropdown-menu.direction-top{position:absolute;bottom:0;left:0;transform:translate3d(0, -56px, 0);will-change:transform}.dropdown-menu{position:absolute;z-index:1;display:flex;flex-direction:column;width:100%;min-width:16.875rem;padding:0.5rem 0;color:var(--road-on-surface);background:var(--road-surface);border:1px solid;border-color:var(--road-outline-weak);border-radius:0.25rem;box-shadow:var(--road-elevation-low);transition:transform 0.2s ease-in-out;transform:scaleY(0);transform-origin:0 0}.dropdown-left{left:0}.dropdown-right{right:0}.dropdown-item{min-height:40px;padding:0 1rem;font-size:var(--road-body-medium);line-height:1.5;color:var(--road-on-surface);text-align:left;text-decoration:none;cursor:pointer;background:var(--road-surface);border:none;outline:none}.dropdown-item-border{border-color:var(--road-outline-weak);border-bottom:1px solid}.dropdown-item:hover,.dropdown-item.focus-visible{background:var(--road-surface-inverse)}";const n=class{constructor(r){o(this,r);this.onClick=()=>{this.isOpen=!this.isOpen};this.isOpen=false;this.isLight=false;this.isMedium=false;this.position=undefined;this.direction="bottom"}render(){const o=this.isLight==true?`dropdown-button`:"dropdown-button bg-white";const t=this.isMedium==true?`dropdown-medium-button dropdown-button`:"dropdown-button bg-white";const n=this.position!==undefined?`position-${this.position}`:"";const e=this.position!==undefined?`dropdown-${this.position}`:"";const d=this.direction!==undefined?`direction-${this.direction}`:"";return r("details",{class:"dropdown",open:this.isOpen},r("summary",{"aria-expanded":`${this.isOpen}`,tabindex:"0",role:"button",onClick:this.onClick},r("div",{class:`d-flex ${n}`},r("div",{class:`${o} ${t}`},r("road-icon",{name:"navigation-more",class:"dropdown-button-icon"})))),r("div",{class:`dropdown-menu ${d} ${e}`},r("slot",{name:"list"})))}};n.style=t;export{n as road_dropdown};
|
|
2
|
-
//# sourceMappingURL=p-9d62ca01.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["dropdownCss","Dropdown","this","onClick","isOpen","render","isLightButtonDropDown","isLight","isMediumButtonDropDown","isMedium","positionClass","position","undefined","dropdownClass","directionClass","direction","h","class","open","tabindex","role","name"],"sources":["src/components/dropdown/dropdown.css?tag=road-dropdown&encapsulation=shadow","src/components/dropdown/dropdown.tsx"],"sourcesContent":["/*\n * Dropdown\n *\n * Index\n * - Dropdown\n * - Dropdown menu\n */\n\n/**\n * @prop --margin-top: Top margin of the menu\n */\n\n/* DROPDOWN\n -------------------- */\n\n:host {\n --margin-top: 0.5rem;\n display: block;\n}\n\n.dropdown {\n position: relative;\n font-family: var(--road-font);\n}\n\n.dropdown summary {\n display: block;\n outline: none;\n}\n\n.dropdown summary::-webkit-details-marker { /* remove native arrow */\n display: none;\n}\n\n.dropdown-button{\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 3.5rem;\n height: 3.5rem;\n cursor: pointer;\n border-radius: 0.25rem;\n}\n\n.dropdown-medium-button{\n width: 2.5rem;\n height: 2.5rem;\n}\n\n.dropdown-button:hover{\n background: var(--road-grey-200);\n}\n\n.position-right{\n display: flex;\n justify-content: flex-end;\n}\n\n.bg-white{\n background: var(--road-grey-000);\n}\n\n.dropdown-button-icon{\n width: 2.5rem;\n height: 2.5rem;\n}\n\n.dropdown-medium-button .dropdown-button-icon{\n width: 1.75rem;\n height: 1.75rem;\n}\n\n/**\n * Open state\n */\n\n.dropdown[open] .dropdown-menu {\n transform: scaleY(1);\n}\n\n.dropdown[open] .dropdown-menu.direction-top {\n position: absolute;\n bottom: 0;\n left: 0;\n transform: translate3d(0, -56px, 0);\n will-change: transform;\n}\n\n/* MENU\n -------------------- */\n\n.dropdown-menu {\n position: absolute;\n z-index: 1;\n display: flex;\n flex-direction: column;\n width: 100%;\n min-width: 16.875rem;\n padding: 0.5rem 0;\n color: var(--road-on-surface);\n background: var(--road-surface);\n border: 1px solid;\n border-color: var(--road-outline-weak);\n border-radius: 0.25rem;\n box-shadow: var(--road-elevation-low);\n transition: transform 0.2s ease-in-out;\n transform: scaleY(0);\n transform-origin: 0 0;\n}\n\n.dropdown-left {\n left: 0;\n}\n\n.dropdown-right {\n right: 0;\n}\n\n\n/* ITEM\n -------------------- */\n\n.dropdown-item {\n min-height: 40px;\n padding: 0 1rem;\n font-size: var(--road-body-medium);\n line-height: 1.5;\n color: var(--road-on-surface);\n text-align: left;\n text-decoration: none;\n cursor: pointer;\n background: var(--road-surface);\n border: none;\n outline: none;\n}\n\n.dropdown-item-border {\n border-color: var(--road-outline-weak);\n border-bottom: 1px solid;\n}\n\n/**\n * Hover state\n */\n\n.dropdown-item:hover,\n.dropdown-item.focus-visible {\n background: var(--road-surface-inverse);\n}\n\n\n","import { Component, h, Prop } from '@stencil/core';\n\n/**\n * @slot - Element how will open the dropdown when clicked\n * @slot list - List of item values (you can add border with lines=`full` but not on the last item)\n)\n */\n\n@Component({\n tag: 'road-dropdown',\n styleUrl: 'dropdown.css',\n shadow: true,\n})\nexport class Dropdown {\n\n /**\n * Set to `true` to open the dropdown menu and to `false` to close it.\n */\n @Prop({ mutable: true }) isOpen : boolean = false;\n\n /**\n * If you want to remove background of the dropdown button\n */\n @Prop() isLight : boolean = false;\n \n /**\n * If you want a medium dropdown\n */\n @Prop() isMedium : boolean = false;\n\n /**\n * The button position.\n */\n @Prop({ reflect: true }) position?: 'left' | 'right';\n\n /**\n * The opening direction.\n */\n @Prop({ reflect: true }) direction?: 'top' | 'bottom' = 'bottom';\n\n /**\n * Toggle the display when clicking element in slot\n */\n private onClick = () => {\n this.isOpen = !this.isOpen;\n };\n\n render() {\n\n const isLightButtonDropDown = this.isLight == true ? `dropdown-button` : 'dropdown-button bg-white';\n const isMediumButtonDropDown = this.isMedium == true ? `dropdown-medium-button dropdown-button` : 'dropdown-button bg-white';\n const positionClass = this.position !== undefined ? `position-${this.position}` : '';\n const dropdownClass = this.position !== undefined ? `dropdown-${this.position}` : '';\n const directionClass = this.direction !== undefined ? `direction-${this.direction}` : '';\n\n\n return (\n <details class=\"dropdown\" open={this.isOpen}>\n <summary aria-expanded={`${this.isOpen}`} tabindex=\"0\" role=\"button\" onClick={this.onClick}>\n <div class={`d-flex ${positionClass}`}>\n <div class={`${isLightButtonDropDown} ${isMediumButtonDropDown}`}>\n <road-icon name=\"navigation-more\" class=\"dropdown-button-icon\"></road-icon>\n </div>\n </div>\n </summary>\n <div class={`dropdown-menu ${directionClass} ${dropdownClass}`}>\n <slot name=\"list\"/>\n </div>\n </details>\n );\n }\n\n}\n"],"mappings":"2CAAA,MAAMA,EAAc,kqD,MCaPC,EAAQ,M,yBA8BXC,KAAAC,QAAU,KAChBD,KAAKE,QAAUF,KAAKE,MAAM,E,YA1BgB,M,aAKd,M,cAKC,M,uCAU2B,Q,CAS1D,MAAAC,GAEE,MAAMC,EAAwBJ,KAAKK,SAAW,KAAO,kBAAoB,2BACzE,MAAMC,EAAyBN,KAAKO,UAAY,KAAO,yCAA2C,2BAClG,MAAMC,EAAgBR,KAAKS,WAAaC,UAAY,YAAYV,KAAKS,WAAa,GAClF,MAAME,EAAgBX,KAAKS,WAAaC,UAAY,YAAYV,KAAKS,WAAa,GAClF,MAAMG,EAAiBZ,KAAKa,YAAcH,UAAY,aAAaV,KAAKa,YAAc,GAGtF,OACEC,EAAA,WAASC,MAAM,WAAWC,KAAMhB,KAAKE,QACnCY,EAAA,2BAAwB,GAAGd,KAAKE,SAAUe,SAAS,IAAIC,KAAK,SAASjB,QAASD,KAAKC,SACjFa,EAAA,OAAKC,MAAO,UAAUP,KACpBM,EAAA,OAAKC,MAAO,GAAGX,KAAyBE,KACtCQ,EAAA,aAAWK,KAAK,kBAAkBJ,MAAM,4BAI9CD,EAAA,OAAKC,MAAO,iBAAiBH,KAAkBD,KAC7CG,EAAA,QAAMK,KAAK,U"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["badgeCss","Badge","render","colorClass","this","color","undefined","bubbleClass","bubble","h","Host","class","buttonCss","Button","onClick","ev","el","shadowRoot","attachShadow","form","closest","preventDefault","fakeButton","document","createElement","type","buttonType","style","display","appendChild","click","remove","onFocus","roadfocus","emit","roadFocus","onBlur","roadblur","roadBlur","disabled","href","rel","target","TagType","attrs","download","outline","sizeClass","size","expandClass","expand","iconOnlyClass","iconOnly","Object","assign","part","name","colCss","Col","counterCss","Counter","setIsDustbinVisible","valueInput","min","isDustbinVisible","dustbin","increase","inputElement","querySelector","stepUp","parseInt","value","onValueChange","roadIncrease","decrease","roadDustbinClick","stepDown","roadDecrease","checkValue","input","toString","max","onRoadChange","stopPropagation","roadChange","counterIds","setIconsClasses","leftIconClasses","rightIconClasses","componentWillLoad","dataCi","slot","ref","iconCounterLess","step","onKeyUp","readonly","drawerCss","Drawer","close","onClickBack","event","back","open","isOpen","onBack","handleOpen","openValue","onOpen","addEventListener","onClose","scrollTop","once","onEscape","key","componentDidLoad","querySelectorAll","forEach","item","drawerIsOpenClass","inverseHeaderClass","hasInverseHeader","drawerDelimiterClass","drawerTitle","backIconElement","hasBackIcon","icon","navigationChevron","rotate","backText","closeIconElement","hasCloseIcon","navigationClose","drawerWidthValue","position","drawerWidth","tabindex","role","maxWidth","gridCss","Grid","validateContent","svgContent","div","innerHTML","i","childNodes","length","nodeName","toLowerCase","removeChild","svgElm","firstElementChild","svgClass","getAttribute","setAttribute","trim","isValid","elm","nodeType","attributes","val","isStr","indexOf","roadiconContent","Map","requests","getSvgContent","url","sanitize","req","get","fetch","then","rsp","ok","text","set","Promise","resolve","iconCss","Icon","waitUntilVisible","isVisible","loadIcon","disconnectedCallback","io","disconnect","rootMargin","cb","lazy","window","IntersectionObserver","data","isIntersecting","observe","getUrl","has","ariaLabel","ariaHidden","label","getName","replace","rotateClass","inputCss","debounceEvent","wait","original","_original","debounce","bind","func","timer","args","clearTimeout","setTimeout","Input","onInput","roadinput","roadInput","inputIds","inputId","debounceChanged","roadchange","valueChanged","getValue","enforceMinMax","minValue","maxValue","labelId","hasValueClass","lessLabelClass","isInvalidClass","error","sizes","id","autoCapitalize","autocapitalize","autoComplete","autocomplete","autoCorrect","autocorrect","enterKeyHint","enterkeyhint","autoFocus","autofocus","inputMode","inputmode","minLength","minlength","maxLength","maxlength","pattern","placeholder","readOnly","required","spellcheck","htmlFor","helper","inputGroupCss","InputGroup","_a","errorClass","disabledClass","itemCss","Item","isClickable","button","detail","detailIcon","lines","clickable","showDetail","active","labelCss","Label","listCss","List","rowCss","Row","toolbarCss","Toolbar"],"sources":["src/components/badge/badge.css?tag=road-badge&encapsulation=shadow","src/components/badge/badge.tsx","src/components/button/button.css?tag=road-button&encapsulation=shadow","src/components/button/button.tsx","src/components/col/col.css?tag=road-col&encapsulation=shadow","src/components/col/col.tsx","src/components/counter/counter.css?tag=road-counter&encapsulation=scoped","src/components/counter/counter.tsx","src/components/drawer/drawer.css?tag=road-drawer&encapsulation=shadow","src/components/drawer/drawer.tsx","src/components/grid/grid.css?tag=road-grid&encapsulation=shadow","src/components/grid/grid.tsx","src/components/icon/validate.ts","src/components/icon/request.ts","src/components/icon/icon.css?tag=road-icon&encapsulation=shadow","src/components/icon/icon.tsx","src/components/input/input.css?tag=road-input&encapsulation=scoped","src/components/input/input.tsx","src/components/input-group/input-group.css?tag=road-input-group&encapsulation=shadow","src/components/input-group/input-group.tsx","src/components/item/item.css?tag=road-item&encapsulation=shadow","src/components/item/item.tsx","src/components/label/label.css?tag=road-label&encapsulation=shadow","src/components/label/label.tsx","src/components/list/list.css?tag=road-list&encapsulation=shadow","src/components/list/list.tsx","src/components/row/row.css?tag=road-row&encapsulation=shadow","src/components/row/row.tsx","src/components/toolbar/toolbar.css?tag=road-toolbar&encapsulation=shadow","src/components/toolbar/toolbar.tsx"],"sourcesContent":["/*\n * Badge\n *\n * Index\n * - Badge\n * - Status\n */\n\n\n/* BADGE\n -------------------- */\n\n:host {\n box-sizing: border-box;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 1rem;\n min-height: 1rem;\n padding: 0 0.3125rem;\n font-family: var(--road-font, sans-serif);\n font-size: var(--road-font-size-10);\n font-weight: 700;\n white-space: nowrap;\n border-radius: 1rem;\n}\n\n/**\n * Badge bubble\n */\n\n:host(.badge-bubble) {\n min-width: 0.25rem;\n min-height: 0.25rem;\n padding: 0;\n}\n\n/* STATUS\n -------------------- */\n\n/**\n * Primary\n */\n\n:host(.badge-primary) {\n color: var(--road-on-primary);\n background-color: var(--road-primary);\n}\n\n/**\n * Secondary\n */\n\n:host(.badge-secondary) {\n color: var(--road-on-secondary);\n background-color: var(--road-secondary);\n}\n\n/**\n * Accent\n */\n\n:host(.badge-accent) {\n color: var(--road-on-warning-surface-inverse);\n background-color: var(--road-warning-surface-inverse);\n}\n\n/**\n * Info\n */\n\n:host(.badge-info) {\n color: var(--road-on-info-surface-inverse);\n background-color: var(--road-info-surface-inverse);\n}\n\n/**\n * Success\n */\n\n:host(.badge-success) {\n color: var(--road-on-success-surface-inverse);\n background-color: var(--road-success-surface-inverse);\n}\n\n/**\n * Warning\n */\n\n:host(.badge-warning) {\n color: var(--road-on-warning-surface-inverse);\n background-color: var(--road-warning-surface-inverse);\n}\n\n/**\n * Danger\n */\n\n:host(.badge-danger) {\n color: var(--road-on-danger-surface-inverse);\n background-color: var(--road-danger-surface-inverse);\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\nimport { Color } from '../../interface';\n\n/**\n * @slot - Content of the badge, it could be a number or a text.\n */\n\n@Component({\n tag: 'road-badge',\n styleUrl: 'badge.css',\n shadow: true,\n})\nexport class Badge {\n\n /**\n * Color of the badge\n */\n @Prop() color?: Color = 'secondary';\n\n /**\n * if `true` the badge will be displayed has a little bubble\n */\n @Prop() bubble?: boolean = false;\n\n render() {\n const colorClass = this.color !== undefined ? `badge-${this.color}` : '';\n const bubbleClass = this.bubble ? 'badge-bubble' : '';\n\n return (\n <Host class={`${colorClass} ${bubbleClass}`}>\n <slot/>\n </Host>\n );\n }\n\n}\n","/*\n * Button\n *\n * Use custom button styles for actions in forms, dialogs, and more\n * with support for multiple sizes, states, and more.\n *\n * Index\n * - Button\n * - Plain\n * - Outline\n * - Disabled\n * - Sizes\n * - Badge\n */\n\n\n/**\n * @prop --border-radius: Border radius of the button\n * @prop --font-size: Font size of the text button\n * @prop --margin-bottom: Bottom margin of the button\n * @prop --padding-start: Left padding of the button\n * @prop --padding-end: Right padding of the button\n */\n\n\n/* BUTTON\n -------------------- */\n\n:host {\n --border-radius: 0.25rem;\n --font-size: var(--road-button-medium);\n --margin-bottom: 1rem;\n --padding-start: 1.5rem;\n --padding-end: 1.5rem;\n\n box-sizing: border-box;\n display: inline-flex;\n display: -webkit-inline-flex;\n align-items: center;\n justify-content: center;\n height: 3rem;\n padding: 0;\n margin-bottom: var(--margin-bottom);\n font-family: var(--road-font, sans-serif);\n font-size: var(--font-size);\n font-weight: 700;\n line-height: 1.375;\n color: var(--road-grey-10);\n text-decoration: none;\n white-space: nowrap;\n vertical-align: middle;\n background: transparent;\n border: 1px solid transparent;\n border-radius: var(--border-radius);\n transition: background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n}\n\n\n/**\n * Fix states\n */\n\n:host(:hover) {\n text-decoration: none;\n}\n\n:host(.focus-visible) {\n outline: 0;\n}\n\n/**\n * Native button\n */\n\n.button-native {\n position: relative;\n display: flex;\n flex-flow: row nowrap;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n padding: 0 var(--padding-end) 0 var(--padding-start);\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-weight: inherit;\n color: inherit;\n text-align: inherit;\n text-decoration: none;\n text-indent: inherit;\n text-overflow: inherit;\n text-transform: inherit;\n letter-spacing: inherit;\n white-space: inherit;\n cursor: pointer;\n background: transparent;\n border: none;\n outline: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n/* PLAIN\n -------------------- */\n\n/**\n * Default\n */\n\n:host(.btn-default:not([disabled]).focus-visible) {\n background: var(--road-grey-80);\n}\n\n/**\n * Primary\n */\n\n:host(.btn-primary) {\n color: var(--road-on-button-primary);\n background: var(--road-button-primary);\n}\n\n:host(.btn-primary) ::slotted(road-icon) {\n color: var(--road-on-button-primary);\n}\n\n:host(.btn-primary:not([disabled]):hover),\n:host(.btn-primary:not([disabled]).focus-visible) {\n background: var(--road-button-primary-variant);\n}\n\n/**\n * Secondary\n */\n\n:host(.btn-secondary) {\n color: var(--road-on-button-secondary);\n background: var(--road-button-secondary);\n}\n\n:host(.btn-secondary) ::slotted(road-icon) {\n color: var(--road-on-button-secondary);\n}\n\n:host(.btn-secondary:not([disabled]):hover),\n:host(.btn-secondary:not([disabled]).focus-visible) {\n background: var(--road-button-secondary-variant);\n}\n\n/**\n * Link\n */\n\n:host(.btn-link) {\n font-weight: 400;\n color: var(--road-link-primary);\n text-decoration: underline;\n background: transparent;\n}\n\n:host(.btn-link:not([disabled]):hover),\n:host(.btn-link:not([disabled]).focus-visible) {\n color: var(--road-primary-30);\n}\n\n/* OUTLINE\n -------------------- */\n\n:host(.btn-outline-primary),\n:host(.btn-outline-secondary),\n:host(.btn-outline-default) {\n background: transparent;\n}\n\n/**\n * Outline default\n */\n\n:host(.btn-outline-default) {\n color: var(--road-on-surface-weak);\n background: var(--road-surface);\n border-color: var(--road-outline);\n}\n\n:host(.btn-outline-default) ::slotted(road-icon) {\n color: var(--road-on-surface-weak);\n}\n\n:host(.btn-outline-default:hover),\n:host(.btn-outline-default.focus-visible) {\n background: var(--road-grey-80);\n}\n\n/**\n * Ghost\n */\n\n\n:host(.btn-ghost) ::slotted(road-icon) {\n color: var(--road-icon);\n}\n\n:host(.btn-ghost:hover),\n:host(.btn-ghost.focus-visible) {\n background: var(--road-button-ghost-variant);\n}\n\n/**\n * Outline primary\n */\n\n:host(.btn-outline-primary) {\n color: var(--road-button-primary);\n border-color: var(--road-button-primary);\n}\n\n:host(.btn-outline-primary) ::slotted(road-icon) {\n color: var(--road-button-primary);\n}\n\n:host(.btn-outline-primary:hover),\n:host(.btn-outline-primary.focus-visible) {\n background: var(--road-button-tertiary-variant);\n}\n\n/**\n * Outline secondary\n */\n\n:host(.btn-outline-secondary) {\n color: var(--road-button-secondary);\n border-color: var(--road-button-secondary);\n}\n\n:host(.btn-outline-secondary) ::slotted(road-icon) {\n color: var(--road-button-secondary);\n}\n\n:host(.btn-outline-secondary:hover),\n:host(.btn-outline-secondary.focus-visible) {\n background: var(--road-button-tertiary-variant);\n}\n\n/* DISABLED\n -------------------- */\n\n:host([aria-disabled]) {\n color: var(--road-on-surface-disabled);\n pointer-events: none;\n cursor: not-allowed;\n background-color: var(--road-surface-disabled);\n border-color: 1px solid var(--road-surface-disabled);\n}\n\n:host([aria-disabled]) ::slotted(road-icon){\n color: var(--road-on-surface-disabled);\n}\n\n.button-native:disabled {\n cursor: not-allowed;\n}\n\n/* SIZES\n -------------------- */\n\n::slotted([slot=\"start\"]) {\n margin-right: 0.5rem;\n}\n\n::slotted([slot=\"end\"]) {\n margin-left: 0.5rem;\n}\n\n/**\n * Extra Large\n */\n\n:host(.btn-xl) {\n height: 3.5rem;\n}\n\n:host(.btn-xl) ::slotted(road-icon) {\n width: 2rem;\n height: 2rem;\n}\n\n:host(.btn-icon.btn-xl) {\n width: 56px;\n}\n\n\n/**\n * Large\n */\n\n:host(.btn-lg) {\n height: 3rem;\n}\n\n:host(.btn-lg) ::slotted(road-icon) {\n width: 2rem;\n height: 2rem;\n}\n\n\n:host(.btn-icon.btn-lg) {\n width: 48px;\n}\n\n/**\n * Medium\n */\n\n:host(.btn-md) {\n --font-size: var(--road-font-size-14);\n\n height: 2.5rem;\n}\n\n:host(.btn-md) ::slotted(road-icon) {\n width: 1.5rem;\n height: 1.5rem;\n}\n\n:host(.btn-icon.btn-md) {\n width: 40px;\n}\n\n/**\n * Small\n */\n\n:host(.btn-sm) {\n --font-size: var(--road-font-size-14);\n\n height: 2rem;\n}\n\n:host(.btn-sm) ::slotted(road-icon) {\n width: 1.25rem;\n height: 1.25rem;\n}\n\n:host(.btn-icon.btn-sm) {\n width: 32px;\n}\n\n/**\n * Button block\n */\n\n:host(.btn-block) {\n width: 100%;\n}\n\n:host(.btn-icon) .button-native{\n padding: 0;\n}\n\n\n/* BADGE\n -------------------- */\n\n::slotted(road-badge) {\n position: absolute;\n top: 4px;\n left: calc(50% + 0.375rem);\n box-sizing: border-box;\n height: auto;\n}\n","import { Component, Element, Event, EventEmitter, Host, Prop, h } from '@stencil/core';\n\nimport './../../utils/polyfill';\n\n/**\n * @slot - Content of the button.\n * ex if onlyIcon `<road-icon name=\"shopping-cart-add\"></road-icon>`\n * @slot start - Left content of the button text, usually for icon.\n * @slot end - Right content of the button text, usually icon.\n *\n * @part native - The native HTML button or anchor element that wraps all child elements.\n */\n\n@Component({\n tag: 'road-button',\n styleUrl: 'button.css',\n shadow: true,\n})\nexport class Button {\n\n @Element() el!: HTMLRoadButtonElement;\n\n /**\n * The color to use from your application's color palette.\n */\n @Prop() color?: 'primary' | 'secondary' | 'ghost' |'default' = 'default';\n\n /**\n * The button size.\n */\n @Prop({ reflect: true }) size?: 'sm' | 'md' | 'lg' | 'xl' = 'lg';\n\n /**\n * The type of the button.\n */\n @Prop() buttonType: 'submit' | 'reset' | 'button' = 'button';\n\n /**\n * If `true`, display only an icon in the button.\n */\n @Prop({ reflect: true }) iconOnly: boolean = false;\n\n /**\n * If `true`, the user cannot interact with the button.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Set to `true` for a full-width button.\n */\n @Prop({ reflect: true }) expand: boolean = false;\n\n /**\n * This attribute instructs browsers to download a URL instead of navigating to\n * it, so the user will be prompted to save it as a local file. If the attribute\n * has a value, it is used as the pre-filled file name in the Save prompt\n * (the user can still change the file name if they want).\n */\n @Prop() download: string | undefined;\n\n /**\n * Contains a URL or a URL fragment that the hyperlink points to.\n * If this property is set, an anchor tag will be rendered.\n */\n @Prop() href?: string;\n\n /**\n * Specifies the relationship of the target object to the link object.\n * The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\n */\n @Prop() rel?: string;\n\n /**\n * Specifies where to display the linked URL.\n * Only applies when an `href` is provided.\n * Special keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`.\n */\n @Prop() target?: string;\n\n /**\n * Set to `false` for a ghost button, set to `true` for a default outline button\n */\n @Prop() outline: boolean = false;\n\n /**\n * Emitted when the button has focus.\n */\n @Event() roadfocus!: EventEmitter<void>;\n /** @internal */\n @Event() roadFocus!: EventEmitter<void>;\n\n /**\n * Emitted when the button loses focus.\n */\n @Event() roadblur!: EventEmitter<void>;\n /** @internal */\n @Event() roadBlur!: EventEmitter<void>;\n\n private onClick = (ev: Event) => {\n if (this.el.shadowRoot && (this.el as any).attachShadow) {\n // this button wants to specifically submit a form\n // climb up the dom to see if we're in a <form>\n // and if so, then use JS to submit it\n const form = this.el.closest('form');\n if (form) {\n ev.preventDefault();\n\n const fakeButton = document.createElement('button');\n fakeButton.type = this.buttonType;\n fakeButton.style.display = 'none';\n form.appendChild(fakeButton);\n fakeButton.click();\n fakeButton.remove();\n }\n }\n };\n\n private onFocus = () => {\n this.roadfocus.emit();\n this.roadFocus.emit();\n };\n\n private onBlur = () => {\n this.roadblur.emit();\n this.roadBlur.emit();\n };\n\n render() {\n const { buttonType, disabled, href, rel, target, color } = this;\n const TagType = this.href === undefined ? 'button' : 'a' as any;\n const attrs = (TagType === 'button')\n ? { type: buttonType }\n : {\n download: this.download,\n href,\n rel,\n target,\n };\n const colorClass = this.outline ? `btn-outline-${color}` : `btn-${color}`;\n const sizeClass = this.size !== undefined ? `btn-${this.size}` : '';\n const expandClass = this.expand ? 'btn-block' : '';\n const iconOnlyClass = this.iconOnly ? 'btn-icon' : '';\n\n return (\n <Host\n class={`${colorClass} ${sizeClass} ${expandClass} ${iconOnlyClass}`}\n onClick={this.onClick}\n aria-disabled={disabled ? 'true' : null}\n >\n <TagType\n {...attrs}\n class=\"button-native\"\n part=\"native\"\n disabled={disabled}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n >\n <slot name=\"start\"/>\n <slot/>\n <slot name=\"end\"/>\n </TagType>\n </Host>\n );\n }\n}",":host {\n position: relative;\n flex-basis: 0;\n flex-grow: 1;\n width: 100%;\n max-width: 100%;\n min-height: 1px;\n padding-right: 8px;\n padding-left: 8px;\n}\n\n:host(.col-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n}\n\n:host(.col-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n}\n\n:host(.col-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n}\n\n:host(.col-3) {\n flex: 0 0 25%;\n max-width: 25%;\n}\n\n:host(.col-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n}\n\n:host(.col-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n}\n\n:host(.col-6) {\n flex: 0 0 50%;\n max-width: 50%;\n}\n\n:host(.col-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n}\n\n:host(.col-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n}\n\n:host(.col-9) {\n flex: 0 0 75%;\n max-width: 75%;\n}\n\n:host(.col-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n}\n\n:host(.col-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n}\n\n:host(.col-12) {\n flex: 0 0 100%;\n max-width: 100%;\n}\n\n:host(.offset-1) {\n margin-left: 8.3333%;\n}\n\n:host(.offset-2) {\n margin-left: 16.6667%;\n}\n\n:host(.offset-3) {\n margin-left: 25%;\n}\n\n:host(.offset-4) {\n margin-left: 33.3333%;\n}\n\n:host(.offset-5) {\n margin-left: 41.6667%;\n}\n\n:host(.offset-6) {\n margin-left: 50%;\n}\n\n:host(.offset-7) {\n margin-left: 58.3333%;\n}\n\n:host(.offset-8) {\n margin-left: 66.6667%;\n}\n\n:host(.offset-9) {\n margin-left: 75%;\n}\n\n:host(.offset-10) {\n margin-left: 83.3333%;\n}\n\n:host(.offset-11) {\n margin-left: 91.6667%;\n}\n\n@media (min-width: 576px) {\n\n :host(.col-sm) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-sm-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-sm-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-sm-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-sm-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-sm-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-sm-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-sm-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-sm-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-sm-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-sm-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-sm-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-sm-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-sm-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-sm-0) {\n margin-left: 0;\n }\n\n :host(.offset-sm-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-sm-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-sm-3) {\n margin-left: 25%;\n }\n\n :host(.offset-sm-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-sm-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-sm-6) {\n margin-left: 50%;\n }\n\n :host(.offset-sm-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-sm-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-sm-9) {\n margin-left: 75%;\n }\n\n :host(.offset-sm-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-sm-11) {\n margin-left: 91.6667%;\n }\n}\n\n@media (min-width: 768px) {\n\n :host(.col-md) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-md-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-md-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-md-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-md-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-md-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-md-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-md-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-md-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-md-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-md-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-md-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-md-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-md-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-md-0) {\n margin-left: 0;\n }\n\n :host(.offset-md-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-md-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-md-3) {\n margin-left: 25%;\n }\n\n :host(.offset-md-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-md-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-md-6) {\n margin-left: 50%;\n }\n\n :host(.offset-md-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-md-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-md-9) {\n margin-left: 75%;\n }\n\n :host(.offset-md-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-md-11) {\n margin-left: 91.6667%;\n }\n}\n\n@media (min-width: 992px) {\n\n :host(.col-lg) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-lg-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-lg-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-lg-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-lg-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-lg-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-lg-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-lg-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-lg-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-lg-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-lg-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-lg-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-lg-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-lg-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-lg-0) {\n margin-left: 0;\n }\n\n :host(.offset-lg-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-lg-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-lg-3) {\n margin-left: 25%;\n }\n\n :host(.offset-lg-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-lg-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-lg-6) {\n margin-left: 50%;\n }\n\n :host(.offset-lg-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-lg-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-lg-9) {\n margin-left: 75%;\n }\n\n :host(.offset-lg-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-lg-11) {\n margin-left: 91.6667%;\n }\n}\n\n@media (min-width: 1200px) {\n\n :host(.col-xl) {\n flex-basis: 0;\n flex-grow: 1;\n max-width: 100%;\n }\n\n :host(.col-xl-auto) {\n flex: 0 0 auto;\n width: auto;\n max-width: none;\n }\n\n :host(.col-xl-1) {\n flex: 0 0 8.3333%;\n max-width: 8.3333%;\n }\n\n :host(.col-xl-2) {\n flex: 0 0 16.6667%;\n max-width: 16.6667%;\n }\n\n :host(.col-xl-3) {\n flex: 0 0 25%;\n max-width: 25%;\n }\n\n :host(.col-xl-4) {\n flex: 0 0 33.3333%;\n max-width: 33.3333%;\n }\n\n :host(.col-xl-5) {\n flex: 0 0 41.6667%;\n max-width: 41.6667%;\n }\n\n :host(.col-xl-6) {\n flex: 0 0 50%;\n max-width: 50%;\n }\n\n :host(.col-xl-7) {\n flex: 0 0 58.3333%;\n max-width: 58.3333%;\n }\n\n :host(.col-xl-8) {\n flex: 0 0 66.6667%;\n max-width: 66.6667%;\n }\n\n :host(.col-xl-9) {\n flex: 0 0 75%;\n max-width: 75%;\n }\n\n :host(.col-xl-10) {\n flex: 0 0 83.3333%;\n max-width: 83.3333%;\n }\n\n :host(.col-xl-11) {\n flex: 0 0 91.6667%;\n max-width: 91.6667%;\n }\n\n :host(.col-xl-12) {\n flex: 0 0 100%;\n max-width: 100%;\n }\n\n :host(.offset-xl-0) {\n margin-left: 0;\n }\n\n :host(.offset-xl-1) {\n margin-left: 8.3333%;\n }\n\n :host(.offset-xl-2) {\n margin-left: 16.6667%;\n }\n\n :host(.offset-xl-3) {\n margin-left: 25%;\n }\n\n :host(.offset-xl-4) {\n margin-left: 33.3333%;\n }\n\n :host(.offset-xl-5) {\n margin-left: 41.6667%;\n }\n\n :host(.offset-xl-6) {\n margin-left: 50%;\n }\n\n :host(.offset-xl-7) {\n margin-left: 58.3333%;\n }\n\n :host(.offset-xl-8) {\n margin-left: 66.6667%;\n }\n\n :host(.offset-xl-9) {\n margin-left: 75%;\n }\n\n :host(.offset-xl-10) {\n margin-left: 83.3333%;\n }\n\n :host(.offset-xl-11) {\n margin-left: 91.6667%;\n }\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @slot - Content of the column.\n */\n\n@Component({\n tag: 'road-col',\n styleUrl: 'col.css',\n shadow: true,\n})\nexport class Col {\n\n render() {\n return (\n <slot/>\n );\n }\n\n}\n","/*\n * Counter\n *\n * Index\n * - Input\n * - Buttons\n * - Sizes\n */\n\n/**\n * @prop --counter-margin-bottom: margin bottom of the field\n */\n\n:host {\n position: relative;\n z-index: 0;\n display: block;\n}\n\n/* INPUT\n -------------------- */\n\nroad-input {\n --input-text-align: center;\n --border-radius: 0;\n --margin-bottom: 0;\n}\n\n/* BUTTONS\n -------------------- */\n\nroad-button {\n width: 3rem;\n font-size: var(--road-font-size-24);\n line-height: 1.4;\n background: var(--road-surface);\n border: 1px solid var(--road-button-tertiary-outline);\n}\n\nroad-button:hover,\nroad-button:focus {\n background: var(--road-button-tertiary-variant);\n}\n\nroad-button road-icon{\n display: flex;\n fill: var(--road-primary);\n}\n\n.disabled {\n margin-right: -1px;\n margin-left: -1px;\n pointer-events: none;\n cursor: not-allowed;\n background: var(--road-surface-disabled);\n border: 1px solid var(--road-on-surface-disabled);\n opacity: inherit;\n}\n\n.disabled:focus {\n background: var(--road-disabled);\n}\n\n.disabled road-icon {\n fill: var(--road-grey-50);\n}\n\n\n/* SIZES\n -------------------- */\n\nroad-button.btn-md{\n width: 2.5rem;\n}\n\nroad-button.btn-sm{\n width: 2rem;\n}\n\n.counter-md {\n height: 2.5rem;\n}\n\n.counter-sm {\n height: 2rem;\n}\n\n.counter-md road-input {\n --height: 2.5rem;\n}\n\n.counter-md road-button {\n min-width: 2.5rem;\n}\n\n.counter-sm road-input {\n --height: 2rem;\n}\n\n.counter-sm road-button {\n min-width: 2rem;\n}\n","import { Component, h, Prop, Element, Event, EventEmitter, State, Watch } from '@stencil/core';\n\n@Component({\n tag: 'road-counter',\n styleUrl: 'counter.css',\n scoped: true,\n})\nexport class Counter {\n\n @Element() el!: HTMLRoadCounterElement;\n\n iconCounterLess!: HTMLRoadIconElement;\n\n inputElement!: HTMLRoadInputElement;\n\n @State() leftIconClasses: string = \"\";\n\n @State() rightIconClasses: string = \"\";\n\n @State() isDustbinVisible: boolean = false;\n\n /**\n * The id of counter\n */\n @Prop() inputId: string = `road-counter-${counterIds++}`;\n\n /**\n * The minimum value, which must not be greater than its maximum (max attribute) value.\n */\n @Prop() min: number = 0;\n\n /**\n * The maximum value, which must not be less than its minimum (min attribute) value.\n */\n @Prop() max?: number;\n\n /**\n * Works with the min and max attributes to limit the increments at which a value can be set.\n * Possible values are: `\"any\"` or a positive floating point number.\n */\n @Prop() step?: string;\n\n /**\n * The value of the counter.\n */\n @Prop() value: number = 1;\n\n /**\n * The size of the counter.\n */\n @Prop() size?: 'sm' | 'md' | 'lg' = \"lg\";\n\n /**\n * Set to `true` to add the dustbin icon if the value is equal to the min.\n */\n @Prop() dustbin: boolean = false;\n\n /**\n * Set to `true` to not modify the input field\n */\n @Prop() readonly: boolean = false;\n\n /**\n * Emitted when the plus button is clicked\n */\n @Event() roadIncrease!: EventEmitter<{\n value: number | undefined | null;\n }>;\n\n /**\n * Emitted when the minus button is clicked\n */\n @Event() roadDecrease!: EventEmitter<{\n value: number | undefined | null;\n }>;\n\n /**\n * Emitted when the minus button is clicked\n */\n @Event() roadChange!: EventEmitter<{\n value: number | undefined | null;\n }>;\n\n /**\n * Emitted when the dustbin is clicked\n */\n @Event() roadDustbinClick!: EventEmitter<void>;\n\n @Watch('value')\n private onValueChange(valueInput: number) {\n this.setIsDustbinVisible(valueInput);\n this.setIconsClasses(valueInput);\n }\n\n private setIconsClasses(valueInput?: number) {\n valueInput = valueInput ?? parseInt(this.inputElement.querySelector('input')!.value as string);\n\n this.leftIconClasses = valueInput <= this.min && !this.dustbin ? \"disabled\" : \"\";\n this.rightIconClasses = this.max && valueInput >= this.max ? \"disabled\" : \"\";\n }\n\n private setIsDustbinVisible = (valueInput: number) => {\n if (valueInput > this.min) {\n this.isDustbinVisible = false;\n } else if (this.dustbin) {\n this.isDustbinVisible = true;\n }\n else {\n this.isDustbinVisible = false;\n }\n }\n\n private increase = () => {\n (this.inputElement as unknown as HTMLInputElement).querySelector('input')!.stepUp();\n let valueInput = parseInt(this.inputElement.querySelector('input')!.value as string);\n if(!valueInput) {\n valueInput = this.min\n };\n this.onValueChange(valueInput);\n this.roadIncrease.emit({ value: valueInput });\n };\n\n private decrease = () => {\n if(this.isDustbinVisible){\n this.roadDustbinClick.emit();\n return;\n }\n\n (this.inputElement as unknown as HTMLInputElement).querySelector('input')!.stepDown();\n\n let valueInput = parseInt(this.inputElement.querySelector('input')!.value as string);\n if(!valueInput) {\n valueInput = this.min\n };\n this.onValueChange(valueInput);\n\n this.roadDecrease.emit({ value: valueInput });\n };\n\n private checkValue = (ev: Event) => {\n const input = ev.target as HTMLInputElement;\n const value = input.value && parseInt(input.value)\n\n if (value == null || value === \"\") return;\n\n if (value < this.min) {\n input.value = this.min.toString()\n }\n else if (this.max && value > this.max) {\n input.value = this.max.toString()\n }\n\n this.onValueChange(parseInt(input.value));\n }\n\n private onRoadChange = (ev: Event) => {\n ev.stopPropagation();\n const input = ev.target as HTMLInputElement;\n const value = input.value && parseInt(input.value)\n if (value !== null && value !== \"\") {\n if (value < this.min) {\n this.roadChange.emit({ value: this.min });\n }\n else if (this.max && value > this.max) {\n this.roadChange.emit({ value: this.max });\n }\n else {\n this.roadChange.emit({ value: parseInt(input.value) });\n }\n }\n else {\n this.roadChange.emit({ value: null });\n }\n };\n\n componentWillLoad() {\n this.onValueChange(this.value);\n }\n render() {\n\n const dataCi = this.isDustbinVisible ? \"road-dustbin\" : \"\";\n\n\n return (\n <road-input-group\n class={this.size && `counter-${this.size}`}\n >\n <road-button\n slot=\"prepend\"\n size={this.size}\n onClick={this.decrease}\n class={this.leftIconClasses}\n data-cy=\"road-decrease\"\n >\n <road-icon\n name={this.isDustbinVisible ? \"delete-forever\" : \"navigation-add-less\"}\n ref={(el) => this.iconCounterLess = el as HTMLRoadIconElement}\n size={this.size}\n data-cy={dataCi}\n />\n </road-button>\n <road-input\n ref={(el) => this.inputElement = el as HTMLRoadInputElement}\n type=\"number\"\n min={this.min.toString()}\n max={(this.max && this.max.toString()) as string}\n step={this.step}\n value={this.value}\n onRoadChange={this.onRoadChange}\n onKeyUp={this.checkValue}\n data-cy=\"road-input-counter\"\n readonly={this.readonly}\n />\n <road-button\n slot=\"append\"\n size={this.size}\n onClick={this.increase}\n class={this.rightIconClasses}\n data-cy=\"road-increase\"\n >\n <road-icon\n name=\"navigation-add-more\"\n size={this.size}\n />\n </road-button>\n </road-input-group>\n );\n }\n}\n\nlet counterIds = 0;\n","/*\n * Drawer\n *\n * Index\n * - Overlay\n * - Drawer\n * - Position\n * - Content\n * - Header\n * - Actions\n * - Title\n * - Body\n * - Open state\n */\n\n/**\n * @prop --background: background color of the content of the drawer.\n * @prop --color: text color of the content of the drawer.\n * @prop --header-icon: color of the header icons.\n * @prop --header-color: color of the header text.\n * @prop --header-background: color of the header background.\n * @prop --header-delimiter: size of the border delimiter (in px) at the bottom of the header\n * @prop --back-chevron-color: color of back chevron\n * @prop --max-height: max-height of the drawer for bottom position\n * @prop --z-index: The z-index of the Drawer.\n */\n\n/* OVERLAY\n -------------------- */\n\n:host {\n --background: var(--road-surface);\n --color: var(--road-on-surface);\n --header-icon: var(--road-on-surface);\n --header-color: var(--road-on-surface);\n --header-background: var(--road-surface);\n --header-delimiter: 0;\n --back-chevron-color: var(--road-icon);\n --max-height: auto;\n --z-index: 10;\n\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--z-index);\n display: flex;\n justify-content: flex-start;\n width: 100%;\n height: 100%;\n overflow: hidden;\n font-family: var(--road-font, sans-serif);\n line-height: 1.5;\n color: var(--color);\n visibility: hidden !important;\n opacity: 0;\n transition: opacity 0.15s linear, visibility 0.15s;\n}\n\n/* OVERLAY\n -------------------- */\n\n.drawer-overlay {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n touch-action: none;\n cursor: pointer;\n background: var(--road-overlay);\n}\n\n/* DRAWER\n -------------------- */\n\n.drawer-dialog {\n position: relative;\n width: 100%;\n pointer-events: none;\n transition: transform 0.3s ease-out;\n transform: translateX(-100%);\n}\n\n/* POSITION\n -------------------- */\n\n:host(.drawer-right) {\n justify-content: flex-end;\n}\n\n:host(.drawer-right) .drawer-dialog {\n transform: translateX(100%);\n}\n\n/**\n * Bottom position\n */\n\n:host(.drawer-bottom) {\n align-items: flex-end;\n}\n\n:host(.drawer-bottom) .drawer-dialog {\n width: 100%;\n max-height: var(--max-height);\n transform: translateY(100%);\n}\n\n:host(.drawer-bottom) .drawer-content {\n height: auto;\n}\n\n/* CONTENT\n -------------------- */\n\n.drawer-content {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100vh;\n pointer-events: auto;\n background-color: var(--background);\n background-clip: padding-box;\n box-shadow: var(--road-elevation-hight);\n}\n\n/* HEADER\n -------------------- */\n\n.drawer-header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: flex-end;\n height: 3.5rem;\n color: var(--header-color);\n background: var(--header-background);\n border-color: var(--road-grey-300);\n border-style: solid;\n border-width: var(--header-delimiter);\n}\n\n.drawer-header road-icon {\n flex-shrink: 0;\n color: var(--header-icon);\n}\n\n/**\n * Header inverse colors\n */\n\n.drawer-header-inverse {\n --header-icon: var(--road-on-primary);\n --header-color: var(--road-on-primary);\n --header-background: var(--road-primary-variant);\n\n margin-bottom: 2.5rem;\n}\n\n/* ACTIONS\n -------------------- */\n\n.drawer-action,\n.drawer-close {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 3.5rem;\n padding: 0.5rem;\n font-family: inherit;\n font-size: 0.875rem;\n color: inherit;\n cursor: pointer;\n background: transparent;\n border: 0;\n appearance: none;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n.drawer-header:not(.drawer-header-inverse) .drawer-action road-icon {\n color: var(--back-chevron-color);\n}\n\n.drawer-action ~ .drawer-title,\n.drawer-close ~ .drawer-title {\n padding-left: 0;\n}\n\n.drawer-action-left,\n.drawer-close-left {\n margin-right: auto;\n}\n\n/* TITLE\n -------------------- */\n\n.drawer-title {\n display: flex;\n flex-grow: 1;\n align-items: center;\n justify-content: center;\n height: 3.5rem;\n padding-left: 3.5rem;\n margin: 0;\n font-size: var(--road-body-medium);\n}\n\n/* BODY\n -------------------- */\n\n.drawer-body {\n overflow-y: auto;\n}\n\n:host(.drawer-right) .drawer-body,\n:host(.drawer-left) .drawer-body {\n height: calc(100vh - 3.5rem);\n}\n\n.drawer-inner {\n padding: 0 1rem 2.5rem;\n}\n\n@media (min-width: 768px) {\n\n .drawer-inner {\n padding: 0 2rem 2.5rem;\n }\n}\n\n/* OPEN STATE\n -------------------- */\n\n:host(.drawer-open) {\n visibility: visible !important;\n opacity: 1;\n}\n\n:host(.drawer-open) .drawer-dialog {\n transform: none;\n}\n","import { Component, Element, Event, EventEmitter, Listen, Method, Prop, h, Host, Watch } from '@stencil/core';\nimport { navigationClose, navigationChevron } from '../../../icons';\n\n/**\n * @slot - Content of the drawer.\n * @slot title - replace the title with a custom title section when `'drawerTitle'` is not set\n *\n */\n\n@Component({\n tag: 'road-drawer',\n styleUrl: 'drawer.css',\n shadow: true,\n})\nexport class Drawer {\n\n /**\n * Current reference of the drawer\n */\n @Element() el!: HTMLRoadDrawerElement;\n\n /**\n * Set isOpen property to true to open the drawer\n */\n @Prop({ mutable: true }) isOpen: boolean = false;\n\n /**\n * position of the drawer. e.g. left, right, bottom\n */\n @Prop() position: string = 'left';\n\n /**\n * Width of the drawer\n */\n @Prop() drawerWidth: number = 480;\n\n /**\n * Inverse header colors\n */\n @Prop() hasInverseHeader: boolean = false;\n\n /**\n * Show / hide back icon\n */\n @Prop() hasBackIcon: boolean = false;\n\n /**\n * Show / hide back icon\n */\n @Prop() backText?: string;\n\n /**\n * Title of the drawer in the header bar\n */\n @Prop() drawerTitle?: string;\n\n /**\n * Show / hide close icon\n */\n @Prop() hasCloseIcon: boolean = true;\n\n /**\n * Indicate when opening the drawer\n */\n @Event({ eventName: 'open' }) onOpen!: EventEmitter<void>;\n\n /**\n * Indicate when closing the drawer\n */\n @Event({ eventName: 'close' }) onClose!: EventEmitter<void>;\n\n /**\n * Indicate when return to previous state of the drawer content\n */\n @Event({ eventName: 'back' }) onBack!: EventEmitter<void>;\n\n /**\n * Open the drawer\n */\n @Method()\n async open() {\n this.isOpen = true;\n }\n\n /**\n * Close the drawer\n */\n @Method()\n async close() {\n this.isOpen = false;\n }\n\n /**\n * Return to previous state of the drawer content\n */\n @Method()\n async back() {\n this.onBack.emit();\n }\n\n @Watch('isOpen')\n handleOpen(openValue: boolean) {\n if(openValue === true) {\n this.onOpen.emit();\n } else {\n this.el.addEventListener('transitionend', () => {\n this.onClose.emit();\n this.el.shadowRoot && ((this.el.shadowRoot.querySelector('.drawer-body') as HTMLElement).scrollTop = 0);\n }, { once: true});\n }\n }\n\n /**\n * Close the dialog when clicking on the cross or layer\n */\n private onClick = (ev: UIEvent) => {\n ev.stopPropagation();\n ev.preventDefault();\n\n this.close();\n };\n\n /**\n * Close the dialog when clicking on the cross or layer\n */\n private onClickBack = (event: MouseEvent) => {\n event.stopPropagation();\n event.preventDefault();\n\n this.back();\n };\n\n /**\n * Close the dialog when press Escape key\n */\n @Listen('keyup', { target: 'document' })\n onEscape(event: KeyboardEvent) {\n if (event.key === 'Escape' || event.key === \"Esc\") {\n this.close();\n }\n }\n\n /**\n * Call close function when clicking an element with data-dismiss=\"modal\" attribute\n */\n componentDidLoad() {\n this.el.querySelectorAll('[data-dismiss=\"modal\"]').forEach(item => {\n item.addEventListener('click', () => this.close());\n });\n }\n\n render() {\n const drawerIsOpenClass = this.isOpen ? 'drawer-open' : '';\n const inverseHeaderClass = this.hasInverseHeader ? 'drawer-header-inverse' : '';\n const drawerDelimiterClass = this.drawerTitle !== undefined && !this.hasInverseHeader ? 'drawer-delimiter' : '';\n const backIconElement = this.hasBackIcon ? <button type=\"button\" class=\"drawer-action\" aria-label=\"Back\" onClick={this.onClickBack}><road-icon icon={navigationChevron} rotate=\"180\"></road-icon>{this.backText}</button> : '';\n const closeIconElement = this.hasCloseIcon ? <button type=\"button\" class=\"drawer-close\" onClick={this.onClick} aria-label=\"Close\"><road-icon icon={navigationClose} aria-hidden=\"true\"></road-icon></button> : '';\n const drawerWidthValue = this.position === 'bottom' ? '100%' : this.drawerWidth + 'px';\n\n return (\n <Host class={`${drawerIsOpenClass} drawer-${this.position}`} tabindex=\"-1\" role=\"dialog\">\n <div class=\"drawer-overlay\" onClick={this.onClick} tabindex=\"-1\"></div>\n <div class=\"drawer-dialog\" style={{ maxWidth: `${drawerWidthValue}` }} role=\"document\" tabindex=\"0\">\n <div class=\"drawer-content\">\n <header class={`drawer-header ${inverseHeaderClass} ${drawerDelimiterClass}`}>\n {backIconElement}\n {this.drawerTitle !== undefined ? <h2 class=\"drawer-title\">{this.drawerTitle}</h2> : <div class=\"drawer-title\"><slot name=\"title\" /></div>}\n {closeIconElement}\n </header>\n <div class=\"drawer-body\">\n <slot/>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}",":host {\n box-sizing: border-box;\n display: block;\n width: 100%;\n padding-right: 8px;\n padding-left: 8px;\n margin-right: auto;\n margin-left: auto;\n}\n\n\n@media (min-width: 768px) {\n\n :host {\n padding-right: 24px;\n padding-left: 24px;\n }\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @slot - Content to add row components.\n */\n\n@Component({\n tag: 'road-grid',\n styleUrl: 'grid.css',\n shadow: true,\n})\nexport class Grid {\n\n render() {\n return (\n <slot/>\n );\n }\n\n}\n","import { isStr } from './utils';\n\nexport const validateContent = (svgContent: string) => {\n const div = document.createElement('div');\n div.innerHTML = svgContent;\n\n // setup this way to ensure it works on our buddy IE\n for (let i = div.childNodes.length - 1; i >= 0; i--) {\n if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {\n div.removeChild(div.childNodes[i]);\n }\n }\n\n // must only have 1 root element\n const svgElm = div.firstElementChild;\n if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {\n const svgClass = svgElm.getAttribute('class') || '';\n svgElm.setAttribute('class', (svgClass + ' s-ion-icon').trim());\n\n // root element must be an svg\n // lets double check we've got valid elements\n // do not allow scripts\n if (isValid(svgElm as any)) {\n return div.innerHTML;\n }\n }\n return '';\n};\n\nexport const isValid = (elm: HTMLElement) => {\n if (elm.nodeType === 1) {\n if (elm.nodeName.toLowerCase() === 'script') {\n return false;\n }\n\n for (let i = 0; i < elm.attributes.length; i++) {\n const val = elm.attributes[i].value;\n if (isStr(val) && val.toLowerCase().indexOf('on') === 0) {\n return false;\n }\n }\n\n for (let i = 0; i < elm.childNodes.length; i++) {\n if (!isValid(elm.childNodes[i] as any)) {\n return false;\n }\n }\n }\n return true;\n};\n","import { validateContent } from './validate';\n\nexport const roadiconContent = new Map<string, string>();\nconst requests = new Map<string, Promise<any>>();\n\nexport const getSvgContent = (url: string, sanitize: boolean) => {\n // see if we already have a request for this url\n let req = requests.get(url);\n\n if (!req) {\n if (typeof fetch !== 'undefined' && typeof document !== 'undefined') {\n // we don't already have a request\n // @ts-ignore\n req = fetch(url).then((rsp) => {\n if (rsp.ok) {\n return rsp.text().then((svgContent) => {\n if (svgContent && sanitize !== false) {\n svgContent = validateContent(svgContent);\n }\n roadiconContent.set(url, svgContent || '');\n });\n }\n roadiconContent.set(url, '');\n });\n\n // cache for the same requests\n requests.set(url, req);\n } else {\n // set to empty for ssr scenarios and resolve promise\n roadiconContent.set(url, '');\n return Promise.resolve();\n }\n }\n\n return req;\n};\n","/*\n * Icon\n *\n * Index\n * - Sizes\n * - Colors\n * - Rotation\n */\n\n:host {\n box-sizing: content-box;\n display: inline-block;\n color: var(--road-icon);\n transition: fill 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;\n fill: currentColor;\n contain: strict;\n}\n\n:host svg {\n display: block;\n width: 100%;\n height: 100%;\n}\n\n/* SIZES\n -------------------- */\n\n:host(.icon-sm) {\n width: 1.25rem;\n height: 1.25rem;\n}\n\n:host(.icon-md) {\n width: 1.5rem;\n height: 1.5rem;\n}\n\n:host(.icon-lg) {\n width: 2rem;\n height: 2rem;\n}\n\n:host(.icon-3x) {\n width: 3rem;\n height: 3rem;\n}\n\n:host(.icon-4x) {\n width: 4rem;\n height: 4rem;\n}\n\n/* COLORS\n -------------------- */\n\n:host(.icon-primary) {\n color: var(--road-primary-50);\n fill: currentColor;\n}\n\n:host(.icon-secondary) {\n color: var(--road-secondary-50);\n fill: currentColor;\n}\n\n:host(.icon-accent) {\n color: var(--road-secondary-50);\n fill: currentColor;\n}\n\n:host(.icon-info) {\n color: var(--road-info-default);\n fill: currentColor;\n}\n\n:host(.icon-success) {\n color: var(--road-success-default);\n fill: currentColor;\n}\n\n:host(.icon-warning) {\n color: var(--road-warning-default);\n fill: currentColor;\n}\n\n:host(.icon-danger) {\n color: var(--road-danger-default);\n fill: currentColor;\n}\n\n:host(.icon-default) {\n color: var(--road-icon);\n fill: currentColor;\n}\n\n:host(.icon-white) {\n color: var(--road-icon-inverse);\n fill: currentColor;\n}\n\n/* ROTATION\n -------------------- */\n\n:host(.icon-rotate-90) {\n transform: rotate(90deg);\n}\n\n:host(.icon-rotate-180) {\n transform: rotate(180deg);\n}\n\n:host(.icon-rotate-270) {\n transform: rotate(270deg);\n}\n","import { Build, Component, Element, Host, Prop, State, Watch, h } from '@stencil/core';\nimport { getSvgContent, roadiconContent } from './request';\nimport { getName, getUrl } from './utils';\n\nimport { Color } from '../../interface';\n\n@Component({\n tag: 'road-icon',\n assetsDirs: ['svg'],\n styleUrl: 'icon.css',\n shadow: true,\n})\nexport class Icon {\n private io?: IntersectionObserver;\n\n @Element() el!: HTMLRoadIconElement;\n\n @State() private svgContent?: string;\n\n @State() private isVisible = false;\n\n /**\n * Color of the icon\n */\n @Prop() color?: Color | 'white';\n\n /**\n * Specifies the label to use for accessibility. Defaults to the icon name.\n */\n @Prop({ mutable: true, reflect: true }) ariaLabel?: string;\n\n /**\n * Set the icon to hidden, respectively `true`, to remove it from the accessibility tree.\n */\n @Prop({ reflect: true }) ariaHidden?: string;\n\n /**\n * Specifies which icon to use from the built-in set of icons.\n */\n @Prop() name?: string;\n\n /**\n * Specifies the exact `src` of an SVG file to use.\n */\n @Prop() src?: string;\n\n /**\n * A combination of both `name` and `src`. If a `src` url is detected\n * it will set the `src` property. Otherwise it assumes it's a built-in named\n * SVG and set the `name` property.\n */\n @Prop() icon?: any;\n\n /**\n * The size of the icon.\n * Available options are: `\"sm\"`, `\"md\"`, `\"lg\"`, `\"3x\"` and `\"4x\"`.\n */\n @Prop() size?: 'sm' | 'md' | 'lg' | '3x' | '4x' = \"lg\";\n\n /**\n * The rotation of the icon.\n * Available options are: `\"90\"`, `\"180\"`, `\"270\"`.\n */\n @Prop() rotate?: '90' | '180' | '270';\n\n /**\n * If enabled, road-icon will be loaded lazily when it's visible in the viewport.\n * Default, `false`.\n */\n @Prop() lazy: boolean = false;\n\n /**\n * When set to `false`, SVG content that is HTTP fetched will not be checked\n * if the response SVG content has any `<script>` elements, or any attributes\n * that start with `on`, such as `onclick`.\n */\n @Prop() sanitize = true;\n\n componentWillLoad() {\n\n this.waitUntilVisible(this.el, '50px', () => {\n this.isVisible = true;\n this.loadIcon();\n });\n }\n\n disconnectedCallback() {\n if (this.io) {\n this.io.disconnect();\n this.io = undefined;\n }\n }\n\n private waitUntilVisible(el: HTMLRoadIconElement, rootMargin: string, cb: () => void) {\n if (this.lazy && (window as any).IntersectionObserver) {\n const io = this.io = new (window as any).IntersectionObserver((data: IntersectionObserverEntry[]) => {\n if (data[0].isIntersecting) {\n io.disconnect();\n this.io = undefined;\n cb();\n }\n }, { rootMargin });\n\n io.observe(el);\n\n } else {\n // browser doesn't support IntersectionObserver\n // so just fallback to always show it\n cb();\n }\n }\n\n @Watch('name')\n @Watch('src')\n @Watch('icon')\n loadIcon() {\n if (Build.isBrowser && this.isVisible) {\n const url = getUrl(this);\n if (url) {\n if (roadiconContent.has(url)) {\n // sync if it's already loaded\n this.svgContent = roadiconContent.get(url);\n } else {\n // async if it hasn't been loaded\n getSvgContent(url, this.sanitize).then(() => (this.svgContent = roadiconContent.get(url)));\n }\n }\n }\n\n if (!this.ariaLabel && this.ariaHidden !== 'true') {\n const label = getName(this.name, this.icon);\n // user did not provide a label\n // come up with the label based on the icon name\n if (label) {\n this.ariaLabel = label.replace(/-/g, ' ');\n }\n }\n }\n\n render() {\n const colorClass = this.color !== undefined ? `icon-${this.color}` : '';\n const sizeClass = this.size !== undefined ? `icon-${this.size}` : '';\n const rotateClass = this.rotate !== undefined ? `icon-rotate-${this.rotate}` : '';\n\n return (\n <Host class={`${colorClass} ${sizeClass} ${rotateClass}`} aria-hidden=\"true\">\n {(\n (this.svgContent !== '')\n ? <div class=\"icon-inner\" innerHTML={this.svgContent}></div>\n : <div class=\"icon-inner\"></div>\n )}\n </Host>\n );\n }\n}","/*\n * Input\n *\n * Index\n * - Input\n * - Textarea\n * - Label\n * - Sizes\n * - Error\n * - Helper\n */\n\n/**\n * @prop --border-radius: Border radius of the field\n * @prop --height: height of the field\n * @prop --input-text-align: align the content of the field\n * @prop --margin-bottom: Bottom margin of the field\n */\n\n\n:host {\n --height: 3rem;\n --border-radius: 0.25rem;\n --input-text-align: left;\n --margin-bottom: 1rem;\n\n position: relative;\n display: block;\n margin-bottom: var(--margin-bottom);\n font-family: var(--road-font, sans-serif);\n color: var(--road-grey-10);\n}\n\n/* INPUT\n -------------------- */\n\n.form-control {\n box-sizing: border-box;\n display: block;\n width: 100%;\n height: var(--height);\n padding: 0.75rem 1rem 0;\n margin: 0;\n font-size: var(--road-body-medium);\n color: var(--road-on-surface);\n text-align: var(--input-text-align);\n background: var(--road-surface);\n border: 1px solid var(--road-input-outline);\n border-radius: var(--border-radius);\n box-shadow: none;\n appearance: none;\n}\n\n/**\n * Remove native arrow on type number\n */\n\n.form-control[type=\"number\"] {\n appearance: textfield;\n}\n\n/**\n * Fix position of chrome native icon on type date and time\n */\n\n.form-control::-webkit-calendar-picker-indicator {\n margin-top: -0.75rem;\n}\n\n/**\n * Fix position of iOS date and time value\n */\n\n.form-control::-webkit-date-and-time-value {\n padding-top: 0.625rem;\n}\n\n/**\n * Placeholder\n */\n\n.form-control::placeholder {\n color: var(--road-on-surface-extra-weak);\n opacity: 1;\n}\n\n/**\n * Hover state\n */\n\n@media (hover: hover) {\n\n .form-control:not(:disabled):hover {\n border-color: var(--road-input-outline-variant);\n }\n}\n\n/**\n * Focus state\n */\n\n.form-control:focus ~ .form-label,\n.form-control[required]:valid ~ .form-label,\n.form-control.has-value ~ .form-label,\n.form-control[type=\"date\"] ~ .form-label,\n.form-control[type=\"time\"] ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n\n.form-control:placeholder-shown ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n\n/* stylelint-disable */\n\n/* IE FIX */\n\n.form-control:-ms-input-placeholder ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n/* stylelint-enable */\n\n.form-control:not(:disabled):focus,\n.form-control[autofocus] {\n border-color: var(--road-input-outline-variant);\n outline: 0;\n}\n\n/**\n * Disabled state\n */\n\n.form-control:disabled,\n.form-control[readonly] {\n cursor: not-allowed;\n background: var(--road-surface-disabled);\n opacity: 1;\n}\n\n/* LABEL\n -------------------- */\n\n.form-label {\n position: absolute;\n top: 0.75rem;\n left: 1rem;\n display: block;\n font-size: var(--road-body-medium);\n line-height: 1.5;\n color: var(--road-on-surface-extra-weak);\n pointer-events: none;\n transition: transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;\n transform-origin: 0 0;\n}\n\n.form-control:required ~ .form-label::after{\n color: var(--road-danger-default);\n content: \" *\";\n}\n\n/**\n * less label\n */\n\n.less-label {\n padding-top: 0;\n}\n\n/* SIZES\n -------------------- */\n\n:host(.input-xl) {\n --height: 3.5rem;\n}\n\n:host(.input-xl) .form-control {\n padding: 1rem 1rem 0;\n}\n\n:host(.phone-number) .form-control {\n padding-left: 2rem;\n}\n\n:host(.phone-number) .form-label {\n left: 2rem;\n}\n\n:host(.input-xl) .form-label {\n top: 1rem;\n}\n\n:host(.input-xl) .form-control:focus ~ .form-label,\n:host(.input-xl) .form-control[autofocus] ~ .form-label,\n:host(.input-xl) .form-control[required]:valid ~ .form-label,\n:host(.input-xl) .form-control.has-value ~ .form-label,\n:host(.input-xl) .form-control[type=\"date\"] ~ .form-label,\n:host(.input-xl) .form-control[type=\"time\"] ~ .form-label {\n transform: scale(0.75) translateY(-0.625rem);\n}\n\n:host(.input-xl) .form-control:placeholder-shown ~ .form-label {\n transform: scale(0.625) translateY(-0.625rem);\n}\n\n\n/* ERROR\n -------------------- */\n\n.invalid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.5rem;\n font-size: var(--road-helper-medium);\n color: var(--road-on-danger-surface);\n}\n\n.form-control.is-invalid,\n.was-validated .form-control:invalid {\n border-color: var(--road-danger-outline);\n}\n\n.form-control.is-invalid ~ .invalid-feedback,\n.was-validated .form-control:invalid ~ .invalid-feedback {\n display: block;\n}\n\n/* HELPER\n -------------------- */\n\n.helper {\n margin-top: 0.5rem;\n font-size: var(--road-body-small);\n color: var(--road-on-surface-weak);\n}\n\n\n/* PASSWORD\n -------------------- */\n\n.form-control[type=\"password\"] ~ .checklist-password .invalid{\n color: var(--road-on-surface-weak);\n}\n","import { Component, Event, EventEmitter, Host, Prop, Watch, h } from '@stencil/core';\n\nimport { AutocompleteTypes, TextFieldTypes } from '../../interface';\n\nconst debounceEvent = (event: EventEmitter, wait: number): EventEmitter => {\n const original = (event as any)._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait),\n } as EventEmitter;\n};\n\nconst debounce = (func: (...args: any[]) => void, wait = 0) => {\n let timer: any;\n return (...args: any[]): any => {\n clearTimeout(timer);\n timer = setTimeout(func, wait, ...args);\n };\n};\n\n/**\n * @slot checklistPassword - Content the checklist Password exemple.\n * `<div class=\"checklist-password mt-16\" slot=\"checklistPassword\">`\n ` <span class=\"checklist-password-label\"><strong>Low Safety</strong></span>`\n `<road-progress color=\"danger\" value=\"25\" class=\"mt-8 mb-16\"></road-progress>`\n `<p class=\"text-medium mb-8\">For optimal safety your password must have at least :</p>`\n `<ul class=\"m-0 pl-16\">`\n `<li id=\"letter\" class=\"invalid mb-8\">1 lowercase and 1 uppercase</li>`\n `<li id=\"number\" class=\"invalid mb-8\">1 digit</li>`\n `<li id=\"length\" class=\"invalid\">8 characters minimum</li>`\n `</ul>`\n `</div>`\n */\n\n@Component({\n tag: 'road-input',\n styleUrl: 'input.css',\n scoped: true,\n})\nexport class Input {\n\n /**\n * The id of input\n */\n @Prop() inputId: string = `road-input-${inputIds++}`;\n\n /**\n * Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\n */\n @Prop() autocapitalize = 'off';\n\n /**\n * Indicates whether the value of the control can be automatically completed by the browser.\n */\n @Prop() autocomplete: AutocompleteTypes = 'off';\n\n /**\n * Whether auto correction should be enabled when the user is entering/editing the text value.\n */\n @Prop() autocorrect: 'on' | 'off' = 'off';\n\n /**\n * This Boolean attribute lets you specify that a form control should have input focus when the page loads.\n */\n @Prop() autofocus = false;\n\n /**\n * If `true`, the user cannot interact with the input.\n */\n @Prop() disabled = false;\n\n /**\n * A hint to the browser for which enter key to display.\n * Possible values: `\"enter\"`, `\"done\"`, `\"go\"`, `\"next\"`,\n * `\"previous\"`, `\"search\"`, and `\"send\"`.\n */\n @Prop() enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /**\n * A hint to the browser for which keyboard to display.\n * This attribute applies when the value of the type attribute is `\"text\"`, `\"password\"`, `\"email\"`, or `\"url\"`. Possible values are: `\"verbatim\"`, `\"latin\"`, `\"latin-name\"`, `\"latin-prose\"`, `\"full-width-latin\"`, `\"kana\"`, `\"katakana\"`, `\"numeric\"`, `\"tel\"`, `\"email\"`, `\"url\"`.\n */\n @Prop() inputmode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';\n\n /**\n * The maximum value, which must not be less than its minimum (min attribute) value.\n */\n @Prop() max?: string;\n\n /**\n * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the maximum number of characters that the user can enter.\n */\n @Prop() maxlength?: number;\n\n /**\n * The minimum value, which must not be greater than its maximum (max attribute) value.\n */\n @Prop() min?: string;\n\n /**\n * If the value of the type attribute is `text`, `email`, `search`, `password`, `tel`, or `url`, this attribute specifies the minimum number of characters that the user can enter.\n */\n @Prop() minlength?: number;\n\n /**\n * The name of the control, which is submitted with the form data.\n */\n @Prop() name: string = this.inputId;\n\n /**\n * A regular expression that the value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.\n */\n @Prop() pattern?: string;\n\n /**\n * Instructional text that shows before the input has a value.\n */\n @Prop() placeholder?: string;\n\n /**\n * If `true`, the user cannot modify the value.\n */\n @Prop() readonly = false;\n\n /**\n * If `true`, the user must fill in a value before submitting a form.\n */\n @Prop() required = false;\n\n /**\n * If `true`, the element will have its spelling and grammar checked.\n */\n @Prop() spellcheck = false;\n\n /**\n * Works with the min and max attributes to limit the increments at which a value can be set.\n * Possible values are: `\"any\"` or a positive floating point number.\n */\n @Prop() step?: string;\n\n /**\n * The initial size of the control. This value is in pixels unless the value of the type attribute is `\"text\"` or `\"password\"`, in which case it is an integer number of characters. This attribute applies only when the `type` attribute is set to `\"text\"`, `\"search\"`, `\"tel\"`, `\"url\"`, `\"email\"`, or `\"password\"`, otherwise it is ignored.\n */\n @Prop() size?: number;\n\n /**\n * The sizes of the input.\n */\n @Prop() sizes: 'lg' | 'xl' = 'lg';\n\n /**\n * The type of control to display. The default type is text.\n */\n @Prop() type: TextFieldTypes = 'text';\n\n /**\n * The value of the input.\n */\n @Prop({ mutable: true }) value?: string | number | null = '';\n\n /**\n * Label for the field\n */\n @Prop() label?: string = '';\n\n /**\n * Error message for the field\n */\n @Prop() error?: string;\n\n /**\n * Helper message for the field\n */\n @Prop() helper?: string;\n\n /**\n * Set the amount of time, in milliseconds, to wait to trigger the `roadChange` event after each keystroke.\n */\n @Prop() debounce = 0;\n\n @Watch('debounce')\n protected debounceChanged() {\n this.roadchange = debounceEvent(this.roadchange, this.debounce);\n this.roadChange = debounceEvent(this.roadChange, this.debounce);\n }\n\n /**\n * Update the native input element when the value changes\n */\n @Watch('value')\n protected valueChanged() {\n this.roadchange.emit({ value: this.value == null ? this.value : this.value.toString() });\n this.roadChange.emit({ value: this.value == null ? this.value : this.value.toString() });\n }\n\n /**\n * Emitted when a keyboard input occurred.\n */\n @Event() roadinput!: EventEmitter<KeyboardEvent>;\n /** @internal */\n @Event() roadInput!: EventEmitter<KeyboardEvent>;\n\n /**\n * Emitted when the value has changed.\n */\n @Event() roadchange!: EventEmitter<{\n value: string | undefined | null;\n }>;\n /** @internal */\n @Event() roadChange!: EventEmitter<{\n value: string | undefined | null;\n }>;\n\n /**\n * Emitted when the input loses focus.\n */\n @Event() roadblur!: EventEmitter<void>;\n /** @internal */\n @Event() roadBlur!: EventEmitter<void>;\n\n /**\n * Emitted when the input has focus.\n */\n @Event() roadfocus!: EventEmitter<void>;\n /** @internal */\n @Event() roadFocus!: EventEmitter<void>;\n\n private getValue(): string {\n return typeof this.value === 'number'\n ? this.value.toString()\n : (this.value || '').toString();\n }\n\n private onInput = (ev: Event) => {\n const input = ev.target as HTMLInputElement | null;\n if (input) {\n this.value = input.value || \"\";\n }\n this.roadinput.emit(ev as KeyboardEvent);\n this.roadInput.emit(ev as KeyboardEvent);\n };\n\n private onBlur = () => {\n this.roadblur.emit();\n this.roadBlur.emit();\n };\n\n private onFocus = () => {\n this.roadfocus.emit();\n this.roadFocus.emit();\n };\n\n private enforceMinMax(el: HTMLInputElement): void {\n if (el.value !== \"\") {\n const value: number = parseInt(el.value);\n const minValue: number = parseInt(el.min);\n const maxValue: number = parseInt(el.max);\n\n if (value < minValue) {\n el.value = el.min;\n }\n\n if (value > maxValue) {\n el.value = el.max;\n }\n }\n}\n\n render() {\n const value = this.getValue();\n const labelId = this.inputId + '-label';\n const hasValueClass = this.value !== '' ? 'has-value' : '';\n const lessLabelClass = this.label !== '' ? '' : 'less-label';\n const isInvalidClass = this.error !== undefined && this.error !== '' ? 'is-invalid' : '';\n\n return (\n <Host aria-disabled={this.disabled ? 'true' : null} class={this.sizes && `input-${this.sizes}`}>\n <input\n class={`form-control ${hasValueClass} ${isInvalidClass} ${lessLabelClass}`}\n id={this.inputId}\n aria-disabled={this.disabled ? 'true' : null}\n aria-labelledby={labelId}\n disabled={this.disabled}\n autoCapitalize={this.autocapitalize}\n autoComplete={this.autocomplete}\n autoCorrect={this.autocorrect}\n enterKeyHint={this.enterkeyhint}\n autoFocus={this.autofocus}\n inputMode={this.inputmode}\n min={this.min}\n max={this.max}\n minLength={this.minlength}\n maxLength={this.maxlength}\n name={this.name}\n pattern={this.pattern}\n placeholder={this.placeholder}\n readOnly={this.readonly}\n required={this.required}\n spellcheck={this.spellcheck}\n step={this.step}\n size={this.size}\n type={this.type}\n value={value}\n onInput={this.onInput}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n onKeyUp={(event: Event) => this.enforceMinMax(event.target as HTMLInputElement)}\n data-cy='road-input'\n\n />\n <label class=\"form-label\" id={labelId} htmlFor={this.inputId}>{this.label}</label>\n {this.error && this.error !== '' && <p class=\"invalid-feedback\">{this.error}</p>}\n {this.helper && this.helper !== '' && <p class=\"helper\">{this.helper}</p>}\n {this.type && this.type == 'password' &&\n <slot name=\"checklistPassword\"/>}\n </Host>\n );\n }\n}\n\nlet inputIds = 0;\n","/*\n * Input Group\n *\n * Easily extend form controls\n * by adding text, buttons, or button groups\n * on either side of textual inputs, custom selects, and custom file inputs.\n *\n * Index\n * - Input group\n * - Prepend / append\n * - Text or icon addon\n * - Round corners\n * - Error\n * - Disabled\n */\n\n:host {\n display: block;\n}\n\n/* INPUT GROUP\n -------------------- */\n\n.input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n font-family: var(--road-font, sans-serif);\n}\n\n::slotted(road-input),\n::slotted(input),\n::slotted(textarea),\n::slotted(road-select) {\n position: relative;\n flex: 1 1 auto;\n width: 1%;\n margin-bottom: 0;\n}\n\n/**\n * Remove border for append and prepend element\n * with white background\n */\n\n::slotted([slot=\"prepend\"]) {\n margin-right: -3px;\n border-color: var(--road-input-outline);\n border-right-color: transparent;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n::slotted([slot=\"append\"]) {\n margin-left: -0.25rem;\n border-color: var(--road-input-outline);\n border-left-width: 0;\n}\n\n/**\n * Hover state\n */\n\n@media (hover: hover) {\n\n .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n border-right-color: transparent;\n }\n\n .input-group:not(.is-disabled):hover ::slotted([slot=\"append\"]) {\n border-color: var(--road-input-outline-variant);\n border-left-color: transparent;\n }\n\n :host(.phone-number-group) .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n }\n}\n\n/**\n * Focus state\n */\n\n.input-group:focus-within ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n border-right-color: transparent;\n}\n\n:host(.phone-number-group) .input-group:focus-within ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-input-outline-variant);\n border-right-color: transparent;\n}\n\n.input-group:focus-within ::slotted([slot=\"append\"]) {\n border-color: var(--road-input-outline-variant);\n border-left-color: transparent;\n}\n\n/* PREPEND - APPEND\n -------------------- */\n\n.input-group-prepend,\n.input-group-append {\n display: flex;\n height: 3rem;\n}\n\n::slotted(road-button) {\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n\n position: relative;\n z-index: 2;\n min-width: 3rem;\n margin: 0;\n font-size: var(--road-font-size-14);\n}\n\n.input-group-prepend {\n z-index: 1;\n order: -1;\n}\n\n.input-group-prepend ~ .form-label {\n left: calc(3rem + 1px);\n}\n\n.input-group-append {\n position: relative;\n z-index: 1;\n border-radius: 0 0.25rem 0.25rem 0;\n}\n\n/* TEXT OR ICON ADDON\n -------------------- */\n\n::slotted(label) {\n display: flex;\n align-items: center;\n padding: 0 0.5rem;\n margin-bottom: 0;\n color: var(--road-on-surface);\n text-align: center;\n white-space: nowrap;\n cursor: text;\n background: var(--road-surface);\n border: 1px solid var(--road-input-outline);\n border-radius: 0.25rem;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n/* ROUND CORNERS\n -------------------- */\n\n::slotted(road-input:not(:first-child)),\n::slotted(road-select:not(:first-child)) {\n border-radius: 0;\n}\n\n.input-group-append ::slotted([slot=\"append\"]) {\n border-left: 0;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.input-group-prepend ::slotted([slot=\"prepend\"]) {\n border-right: 0;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n:host(.phone-number-group) .input-group-prepend ::slotted([slot=\"prepend\"]) {\n border-right: 1px solid var(--road-input-outline);\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.input-group-prepend ::slotted(label) {\n margin-right: calc(-1rem + 1px);\n}\n\n.input-group-append ::slotted(road-button) {\n background-color: var(--road-surface);\n}\n\n/* SIZES\n -------------------- */\n\n.size-xl .input-group-prepend,\n.size-xl .input-group-append {\n height: 3.5rem;\n}\n\n.size-xl ::slotted(road-button) {\n height: 3.5rem;\n}\n\n/* ERROR\n -------------------- */\n\n.input-group.is-invalid ::slotted([slot=\"append\"]),\n.input-group.is-invalid ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-danger-outline);\n}\n\n:host(.phone-number-group) .input-group.is-invalid ::slotted([slot=\"prepend\"]) {\n border-color: var(--road-danger-outline);\n}\n\n/* DISABLED\n -------------------- */\n\n.input-group.is-disabled ::slotted([slot=\"append\"]),\n.input-group.is-disabled ::slotted([slot=\"prepend\"]) {\n cursor: not-allowed;\n background: #e4e5e9;\n}\n\n.is-disabled ::slotted(road-button) {\n opacity: 1;\n}\n","import { Component, Element, h } from '@stencil/core';\n\n/**\n * @slot prepend - Add icon or button before the field.\n * @slot - Add the road-input or road-select here.\n * @slot append - Add icon or button after the field.\n */\n\n@Component({\n tag: 'road-input-group',\n styleUrl: 'input-group.css',\n shadow: true,\n})\nexport class InputGroup {\n\n @Element() el!: HTMLRoadInputGroupElement;\n\n componentDidLoad() {\n if(this.el.querySelector(\"road-input[disabled]\")) {\n this.el.querySelector(\"road-button\")?.setAttribute('disabled', \"\");\n }\n }\n\n\n render() {\n const errorClass = this.el.querySelector(\"road-input[error]\") ? 'is-invalid' : '';\n const disabledClass = this.el.querySelector(\"road-input[disabled]\") ? 'is-disabled' : '';\n const sizeClass = this.el.querySelector(\"road-input[sizes]\") ? `size-${(this.el.querySelector(\"road-input\") as HTMLRoadInputElement).sizes}` : '';\n\n return (\n <div class={`input-group ${errorClass} ${disabledClass} ${sizeClass}`}>\n <slot/>\n <div class=\"input-group-prepend\">\n <slot name=\"prepend\"/>\n </div>\n <div class=\"input-group-append\">\n <slot name=\"append\"/>\n </div>\n </div>\n );\n }\n}\n","/*\n * Item\n *\n * Index\n * - Native\n * - Inner\n * - Input\n * - Icons\n * - Buttons\n * - Lines\n */\n\n/**\n * @prop --border-radius: Radius of the item border\n * @prop --background-color: Background of the item\n * @prop --min-height: Minimum height of the item\n * @prop --padding-left: Padding left of the native element\n * @prop --inner-padding: inner padding of the item\n * @prop --detail-color: color of the detail icon\n */\n\n:host {\n --border-radius: 0.25rem;\n --background-color: transparent;\n --detail-color: var(--road-icon);\n --inner-padding: 1rem 0.5rem 1rem 0;\n --min-height: 3.5rem;\n --padding-left: 1rem;\n\n position: relative;\n box-sizing: border-box;\n display: flex;\n align-items: center;\n justify-content: space-between;\n overflow: hidden;\n text-decoration: none;\n outline: none;\n}\n\n/* NATIVE\n -------------------- */\n\n.item-native {\n position: relative;\n z-index: 1;\n box-sizing: border-box;\n display: flex;\n align-items: inherit;\n justify-content: inherit;\n width: 100%;\n min-height: var(--min-height);\n padding: 0 0 0 var(--padding-left);\n margin: 0;\n overflow: inherit;\n font-family: inherit;\n font-size: inherit;\n color: var(--road-on-surface);\n background-color: var(--background-color);\n border-color: var(--road-grey-70);\n border-style: solid;\n border-width: var(--border-width, 0);\n border-radius: var(--border-radius);\n outline: none;\n transition: background 0.15s ease-in-out;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\n/**\n * Active state\n */\n\n.item-active {\n background-color: var(--road-grey-90);\n}\n\n/**\n * Hover / Focus state\n */\n\nbutton.item-native:not(:disabled):not(.item-active):hover,\nbutton.item-native:not(:disabled):not(.item-active):focus {\n background-color: var(--road-grey-90);\n}\n\n/**\n * Reset native behaviours\n */\n\n.item-native::-moz-focus-inner {\n border: 0;\n}\n\nbutton,\na {\n cursor: pointer;\n user-select: none;\n\n -webkit-user-drag: none;\n}\n\n/* INNER\n -------------------- */\n\n.item-inner {\n position: relative;\n box-sizing: border-box;\n display: flex;\n flex: 1;\n flex-direction: inherit;\n align-items: center;\n align-self: stretch;\n width: 100%;\n min-height: inherit;\n padding: var(--inner-padding);\n overflow: inherit;\n text-align: inherit;\n text-decoration: none;\n border-color: var(--road-grey-70);\n border-style: solid;\n border-width: var(--inner-border-width, 0);\n outline: 0;\n}\n\n/* INPUT\n -------------------- */\n\n.input-wrapper {\n box-sizing: border-box;\n display: flex;\n flex: 1;\n flex-direction: inherit;\n align-items: inherit;\n align-self: stretch;\n overflow: inherit;\n text-overflow: ellipsis;\n}\n\n/* ICONS\n -------------------- */\n\n.item-detail-icon {\n color: var(--detail-color);\n}\n\n::slotted(road-icon) {\n flex-shrink: 0;\n margin-right: 0.5rem;\n}\n\n/* IMAGE\n -------------------- */\n\n::slotted(road-img) {\n flex-shrink: 0;\n width: 3rem;\n height: 3rem;\n object-fit: cover;\n min-height: inherit;\n margin-right: 1rem;\n}\n\n/* BUTTONS\n -------------------- */\n\n::slotted(road-button) {\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n --margin-bottom: 0;\n}\n\n/* LINES\n -------------------- */\n\n/**\n * No lines list\n */\n\n:host(.item-lines-none) {\n --border-width: 0 !important;\n --inner-border-width: 0 !important;\n}\n\n/**\n * Full lines list\n */\n\n:host(.item-lines-full) {\n --border-width: 0 0 1px 0 !important;\n --inner-border-width: 0 !important;\n}\n\n/**\n * Inset lines list\n */\n\n:host(.item-lines-inset) {\n --inner-border-width: 0 0 1px 0 !important;\n}\n","import { Component, Host, h, Prop, State, Element } from '@stencil/core';\nimport { navigationChevron } from '../../../icons';\n\n/**\n * @slot start - Placed to the left of all other content.\n * @slot - Content of the item.\n * @slot end - Placed to the right of all other content.\n *\n * @part native - The native HTML button, anchor or div element that wraps all child elements.\n */\n\n@Component({\n tag: 'road-item',\n styleUrl: 'item.css',\n shadow: true,\n})\nexport class Item {\n\n @Element() el!: HTMLRoadItemElement;\n\n @State() multipleInputs = false;\n\n /**\n * If `true`, a button tag will be rendered and the item will be tappable.\n */\n @Prop() button = false;\n\n /**\n * If `true`, a detail arrow will appear on the item. Defaults to `false` unless the `mode`\n * is `ios` and an `href` or `button` property is present.\n */\n @Prop() detail?: boolean;\n\n /**\n * If `true`, display an active state item\n */\n @Prop() active?: boolean;\n\n /**\n * The icon to use when `detail` is set to `true`.\n */\n @Prop() detailIcon = navigationChevron;\n\n /**\n * If `true`, the user cannot interact with the item.\n */\n @Prop() disabled = false;\n\n /**\n * This attribute instructs browsers to download a URL instead of navigating to\n * it, so the user will be prompted to save it as a local file. If the attribute\n * has a value, it is used as the pre-filled file name in the Save prompt\n * (the user can still change the file name if they want).\n */\n @Prop() download: string | undefined;\n\n /**\n * Contains a URL or a URL fragment that the hyperlink points to.\n * If this property is set, an anchor tag will be rendered.\n */\n @Prop() href: string | undefined;\n\n /**\n * Specifies the relationship of the target object to the link object.\n * The value is a space-separated list of [link types](https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types).\n */\n @Prop() rel: string | undefined;\n\n /**\n * How the bottom border should be displayed on the item.\n */\n @Prop() lines?: 'full' | 'inset' | 'none';\n\n /**\n * Specifies where to display the linked URL.\n * Only applies when an `href` is provided.\n * Special keywords: `\"_blank\"`, `\"_self\"`, `\"_parent\"`, `\"_top\"`.\n */\n @Prop() target: string | undefined;\n\n /**\n * The type of the button. Only used when an `onclick` or `button` property is present.\n */\n @Prop() type: 'submit' | 'reset' | 'button' = 'button';\n\n // If the item has an href or button property it will render a native\n // anchor or button that is clickable\n private isClickable(): boolean {\n return (this.href !== undefined || this.button);\n }\n\n render() {\n const { detail, detailIcon, download, lines, disabled, href, rel, target } = this;\n const clickable = this.isClickable();\n const TagType = clickable ? (href === undefined ? 'button' : 'a') : 'div' as any;\n const attrs = (TagType === 'button')\n ? { type: this.type }\n : {\n download,\n href,\n rel,\n target,\n };\n const showDetail = detail !== undefined && detail;\n\n return (\n <Host\n aria-disabled={disabled ? 'true' : null}\n class={{\n [`item-lines-${lines}`]: lines !== undefined,\n }}\n >\n <TagType\n {...attrs}\n class={{\n 'item-native': true,\n 'item-active': this.active,\n }}\n part=\"native\"\n disabled={disabled}\n >\n <slot name=\"start\"/>\n <div class=\"item-inner\">\n <div class=\"input-wrapper\">\n <slot/>\n </div>\n <slot name=\"end\"/>\n {showDetail && <road-icon icon={detailIcon} lazy={false} class=\"item-detail-icon\"></road-icon>}\n </div>\n </TagType>\n </Host>\n );\n }\n\n}\n","/*\n * Label\n *\n */\n\n:host {\n box-sizing: border-box;\n display: block;\n overflow: hidden;\n font-size: var(--road-font-size-14);\n color: currentColor;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n","import { Component, h } from '@stencil/core';\n\n/**\n * @slot - Content of the label.\n */\n@Component({\n tag: 'road-label',\n styleUrl: 'label.css',\n shadow: true,\n})\nexport class Label {\n\n render() {\n return (\n <slot/>\n );\n }\n\n}\n","/*\n * Item\n *\n * Index\n * - List\n * - Lines\n */\n\n/* LIST\n -------------------- */\n\n:host {\n display: block;\n contain: content;\n list-style-type: none;\n}\n\n/* LINES\n -------------------- */\n\n/**\n * No lines list\n */\n\n:host(.list-lines-none) ::slotted(road-item) {\n --border-width: 0;\n --inner-border-width: 0;\n}\n\n/**\n * Full lines list\n */\n\n:host(.list-lines-full) {\n border: 1px solid var(--road-outline);\n border-bottom: 0;\n}\n\n:host(.list-lines-full),\n:host(.list-lines-full) ::slotted(road-item) {\n --border-width: 0 0 1px 0;\n --inner-border-width: 0;\n}\n\n\n/**\n * Inset lines list\n */\n\n:host(.item-lines-inset),\n:host(.list-lines-inset) ::slotted(road-item) {\n --inner-border-width: 0 0 1px 0;\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n/**\n * @slot - Content of the list, it should be road-item elements.\n */\n\n@Component({\n tag: 'road-list',\n styleUrl: 'list.css',\n shadow: true,\n})\nexport class List {\n\n /**\n * How the bottom border should be displayed on all items.\n */\n @Prop() lines?: 'full' | 'inset' | 'none';\n\n render() {\n const { lines } = this;\n\n return (\n <Host\n class={{\n [`list-lines-${lines}`]: lines !== undefined,\n }}\n >\n <slot/>\n </Host>\n );\n }\n\n}\n",":host {\n display: flex;\n flex-wrap: wrap;\n max-width: 1440px;\n margin-right: -8px;\n margin-left: -8px;\n}\n\n@media (min-width: 1440px) {\n\n :host {\n margin-right: auto;\n margin-left: auto;\n }\n}\n\n/*\n * Flexbox utilities\n *\n * Index\n * - Flex wrap\n * - Justify content\n * - Align items\n */\n\n/* FLEX WRAP\n -------------------- */\n\n:host(.flex-wrap) {\n flex-wrap: wrap;\n}\n\n:host(.flex-nowrap) {\n flex-wrap: nowrap;\n}\n\n/* JUSTIFY CONTENT\n -------------------- */\n\n:host(.justify-content-start) {\n justify-content: flex-start;\n}\n\n:host(.justify-content-end) {\n justify-content: flex-end;\n}\n\n:host(.justify-content-center) {\n justify-content: center;\n}\n\n:host(.justify-content-between) {\n justify-content: space-between;\n}\n\n:host(.justify-content-around) {\n justify-content: space-around;\n}\n\n/* ALIGN ITEMS\n -------------------- */\n\n:host(.align-items-start) {\n align-items: flex-start;\n}\n\n:host(.align-items-end) {\n align-items: flex-end;\n}\n\n:host(.align-items-center) {\n align-items: center;\n}\n\n:host(.align-items-baseline) {\n align-items: baseline;\n}\n\n:host(.align-items-stretch) {\n align-items: stretch;\n}\n\n@media (min-width: 576px) {\n\n :host(.flex-sm-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-sm-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-sm-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-sm-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-sm-center) {\n justify-content: center;\n }\n\n :host(.justify-content-sm-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-sm-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-sm-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-sm-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-sm-center) {\n align-items: center;\n }\n\n :host(.align-items-sm-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-sm-stretch) {\n align-items: stretch;\n }\n}\n\n@media (min-width: 768px) {\n\n :host(.flex-md-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-md-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-md-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-md-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-md-center) {\n justify-content: center;\n }\n\n :host(.justify-content-md-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-md-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-md-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-md-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-md-center) {\n align-items: center;\n }\n\n :host(.align-items-md-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-md-stretch) {\n align-items: stretch;\n }\n}\n\n@media (min-width: 992px) {\n\n :host(.flex-lg-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-lg-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-lg-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-lg-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-lg-center) {\n justify-content: center;\n }\n\n :host(.justify-content-lg-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-lg-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-lg-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-lg-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-lg-center) {\n align-items: center;\n }\n\n :host(.align-items-lg-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-lg-stretch) {\n align-items: stretch;\n }\n}\n\n@media (min-width: 1200px) {\n\n :host(.flex-xl-wrap) {\n flex-wrap: wrap;\n }\n\n :host(.flex-xl-nowrap) {\n flex-wrap: nowrap;\n }\n\n :host(.justify-content-xl-start) {\n justify-content: flex-start;\n }\n\n :host(.justify-content-xl-end) {\n justify-content: flex-end;\n }\n\n :host(.justify-content-xl-center) {\n justify-content: center;\n }\n\n :host(.justify-content-xl-between) {\n justify-content: space-between;\n }\n\n :host(.justify-content-xl-around) {\n justify-content: space-around;\n }\n\n :host(.align-items-xl-start) {\n align-items: flex-start;\n }\n\n :host(.align-items-xl-end) {\n align-items: flex-end;\n }\n\n :host(.align-items-xl-center) {\n align-items: center;\n }\n\n :host(.align-items-xl-baseline) {\n align-items: baseline;\n }\n\n :host(.align-items-xl-stretch) {\n align-items: stretch;\n }\n}\n\n:host(.align-content-start) {\n align-content: flex-start;\n}\n\n:host(.align-content-end) {\n align-content: flex-end;\n}\n\n:host(.align-content-center) {\n align-content: center;\n}\n\n:host(.align-content-between) {\n align-content: space-between;\n}\n\n:host(.align-content-around) {\n align-content: space-around;\n}\n\n:host(.align-content-stretch) {\n align-content: stretch;\n}\n\n:host(.align-self-auto) {\n align-self: auto;\n}\n\n:host(.align-self-start) {\n align-self: flex-start;\n}\n\n:host(.align-self-end) {\n align-self: flex-end;\n}\n\n:host(.align-self-center) {\n align-self: center;\n}\n\n:host(.align-self-baseline) {\n align-self: baseline;\n}\n\n:host(.align-self-stretch) {\n align-self: stretch;\n}\n","import { Component, Host, h } from '@stencil/core';\n\n/**\n * @slot - Used to be able to add multiple columns for a row.\n */\n\n@Component({\n tag: 'road-row',\n styleUrl: 'row.css',\n shadow: true,\n})\nexport class Row {\n\n render() {\n return (\n <Host>\n <slot/>\n </Host>\n );\n }\n\n}\n","/*\n * Toolbar\n *\n * Index\n * - Container\n * - Content\n * - Buttons\n * - Colors\n */\n\n:host {\n position: relative;\n box-sizing: border-box;\n display: block;\n width: 100%;\n contain: content;\n color: var(--road-on-surface);\n background: var(--road-surface);\n border-bottom: 1px solid var(--road-outline);\n}\n\n/* CONTAINER\n -------------------- */\n\n.toolbar-container {\n position: relative;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n min-height: 3.73rem;\n contain: content;\n overflow: hidden;\n}\n\n/* TOOLBAR TITLE CONTAINER\n -------------------- */\n\n.toolbar-title-container {\n position: relative;\n top: 0;\n left: 0;\n display: flex;\n flex: 1;\n align-items: center;\n width: 100%;\n height: 100%;\n text-align: center;\n}\n\n/* TOOLBAR TITLE\n -------------------- */\n\n.toolbar-title {\n display: block;\n width: 100%;\n font-size: var(--road-font-size-18);\n font-weight: 700;\n text-align: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: auto;\n}\n\n@media (min-width: 1200px) {\n\n .toolbar-title {\n font-size: var(--road-font-size-21);\n text-align: center;\n }\n}\n\n/* CONTENT\n -------------------- */\n\n.toolbar-content {\n flex: 1 1 0%;\n min-width: 0;\n max-width: 100%;\n}\n\n/* TOOLBAR LOGO\n -------------------- */\n\n.toolbar .logo {\n position: relative;\n z-index: 1;\n padding-left: 1rem;\n margin-bottom: 0;\n font-size: var(--road-font-size-14);\n font-weight: 400;\n}\n\n.toolbar .app-name {\n margin-left: 1rem;\n font-size: var(--road-font-size-20);\n font-weight: 700;\n}\n\n/* BUTTONS\n -------------------- */\n\n::slotted([slot=\"start\"]) {\n --margin-bottom: 0;\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n\n align-self: auto;\n font-size: var(--road-font-size-14);\n font-weight: 400;\n background: var(--road-surface);\n border-right: 1px solid var(--road-outline);\n border-radius: 0;\n}\n\n::slotted([slot=\"end\"]),\n::slotted([slot=\"secondary\"]) {\n --margin-bottom: 0;\n --padding-start: 0.5rem;\n --padding-end: 0.5rem;\n\n font-size: var(--road-font-size-14);\n font-weight: 400;\n background: var(--road-surface);\n border-left: 1px solid var(--road-outline);\n border-radius: 0;\n}\n\n/* COLORS\n -------------------- */\n\n:host(.toolbar-primary) {\n color: var(--road-on-header-surface);\n background: var(--road-header-surface);\n}\n\n:host(.toolbar-secondary) {\n color: var(--road-on-secondary);\n background: var(--road-secondary);\n}\n","import { Component, Host, h, Prop } from '@stencil/core';\n\n/**\n *\n * @slot - Content is placed between the named slots if provided without a slot.\n * @slot start - Content is placed to the left of the toolbar text and left to primery slot if provided.\n * @slot primary - Content is placed to the left of the toolbar text.\n * @slot secondary - Content is placed to the right of the toolbar text.\n * @slot end - Content is placed to the right of the toolbar text and right to secondary slot if provided.\n */\n\n@Component({\n tag: 'road-toolbar',\n styleUrl: 'toolbar.css',\n shadow: true,\n})\nexport class Toolbar {\n\n /**\n * Background color of the toolbar\n */\n @Prop() color?: 'primary' | 'secondary';\n\n render() {\n const colorClass = this.color !== undefined ? `toolbar-${this.color}` : '';\n\n return (\n <Host class={colorClass}>\n <div class=\"toolbar-container\">\n <slot name=\"start\"/>\n <sl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