@roadtrip/components 2.38.0 → 2.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/road-alert.cjs.entry.js +2 -2
- package/dist/cjs/road-stepper.cjs.entry.js +37 -0
- package/dist/cjs/roadtrip.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/alert/alert.css +18 -0
- package/dist/collection/components/alert/alert.js +56 -2
- package/dist/collection/components/alert/alert.stories.js +10 -1
- package/dist/collection/components/stepper/stepper.css +212 -0
- package/dist/collection/components/stepper/stepper.js +181 -0
- package/dist/collection/components/stepper/stepper.stories.js +201 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/road-alert.entry.js +2 -2
- package/dist/esm/road-stepper.entry.js +33 -0
- package/dist/esm/roadtrip.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/road-alert.entry.js +1 -1
- package/dist/esm-es5/road-stepper.entry.js +1 -0
- package/dist/esm-es5/roadtrip.js +1 -1
- package/dist/html.html-data.json +92 -0
- package/dist/roadtrip/p-52cf548c.entry.js +1 -0
- package/dist/roadtrip/p-864ed7f9.system.entry.js +1 -0
- package/dist/roadtrip/p-a82fd96a.entry.js +1 -0
- package/dist/roadtrip/p-b205281e.system.js +1 -1
- package/dist/roadtrip/p-e2a9123a.system.entry.js +1 -0
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/dist/types/components/alert/alert.d.ts +12 -0
- package/dist/types/components/stepper/stepper.d.ts +47 -0
- package/dist/types/components.d.ts +85 -0
- package/package.json +1 -1
- package/dist/roadtrip/p-2f361b1a.entry.js +0 -1
- package/dist/roadtrip/p-3d1a68f7.system.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as registerInstance,h,H as Host}from"./index-0c8a0e04.js";var stepperCss=':host{display:block}.stepper{display:-ms-flexbox;display:flex;padding-left:0;margin:0;font-family:var(--road-font);line-height:1.5;list-style:none}.stepper-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;text-align:center}.stepper-item:not(:last-child)::after{position:relative;top:1rem;left:50%;-ms-flex-order:-1;order:-1;height:2px;content:"";background:var(--road-grey-200)}.stepper-outline-light .stepper-item:not(:last-child)::after,.stepper-secondary-outline-light .stepper-item:not(:last-child)::after{left:calc(50% + calc(2rem / 2));width:calc(100% - 2rem)}.stepper-item:not(.completed) .stepper-link{cursor:not-allowed}.stepper-link{z-index:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.stepper-icon{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:2rem;height:2rem;font-size:1rem;font-weight:700;color:var(--road-grey-500);background:var(--road-grey-200);border-radius:50%;fill:currentColor}::slotted(.stepper-icon) road-icon{color:var(--road-secondary-600)}.stepper-outline .stepper-icon,.stepper-secondary.stepper-outline .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-grey-500);background:var(--road-grey-000);border:2px solid var(--road-grey-500);fill:currentColor}.stepper-outline-light .stepper-icon,.stepper-secondary.stepper-outline-light .stepper-icon{color:var(--road-grey-500);background:none;border:2px solid var(--road-grey-500);fill:currentColor}.stepper-title{display:block;margin-top:0.25rem;font-size:0.875rem;font-weight:700;color:var(--road-grey-600)}.stepper-title span{display:block;font-size:0.875rem;font-weight:400;color:var(--road-grey-600)}.completed:not(:last-child)::after{background:var(--road-primary-500)}.stepper-secondary .completed:not(:last-child)::after,.stepper-secondary.stepper-outline .completed:not(:last-child)::after,.stepper-secondary.stepper-outline-light .completed:not(:last-child)::after{background:var(--road-secondary-600)}.completed .stepper-icon,.current .stepper-icon{width:2rem;height:2rem;color:var(--road-primary-contrast);background:var(--road-primary-500);border:0}.stepper-outline .completed .stepper-icon{color:var(--road-primary-500);background:var(--road-grey-000);border:2px solid var(--road-primary-500)}.stepper-outline-light .completed .stepper-icon{color:var(--road-primary-500);background:none;border:2px solid var(--road-primary-500)}.stepper-secondary .completed .stepper-icon{color:var(--road-grey-900);background:var(--road-secondary-600);border:0}.stepper-secondary.stepper-outline .completed .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-secondary-600);background:var(--road-grey-000);border:2px solid var(--road-secondary-600)}.stepper-secondary.stepper-outline-light .completed .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-secondary-600);background:none;border:2px solid var(--road-secondary-600)}.stepper-secondary .current .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-grey-900);background:var(--road-secondary-600);border:2px solid var(--road-secondary-600)}.stepper-secondary.stepper-outline .current .stepper-icon{color:var(--road-grey-900);background:var(--road-secondary-600)}.stepper-secondary.stepper-outline-light .current .stepper-icon{color:var(--road-grey-900);background:var(--road-secondary-600)}.current .stepper-title{font-weight:700;color:var(--road-grey-900)}';var Stepper=function(){function e(e){registerInstance(this,e);this.color="default";this.light=false;this.outline=false}e.prototype.render=function(){var e=this.color!==undefined?"stepper stepper-"+this.color:"stepper";var r=this.outline==true?"stepper stepper-outline":"stepper";var t=this.light==true?"stepper stepper-outline-light":"stepper";var o=this.stateFirstStep!==undefined?"stepper-item "+this.stateFirstStep:"stepper-item";var p=this.stateSecondStep!==undefined?"stepper-item "+this.stateSecondStep:"stepper-item";var s=this.stateSecondStep!==undefined?"stepper-item "+this.stateThirdStep:"stepper-item";return h(Host,null,h("nav",null,h("ul",{class:e+" "+r+" "+t},h("li",{class:""+o},h("a",{class:"stepper-link"},h("span",{class:"stepper-icon"},h("slot",{name:"stepper-icon"})),h("span",{class:"stepper-title"},h("slot",{name:"stepper-title"})))),h("li",{class:""+p},h("a",{class:"stepper-link"},h("span",{class:"stepper-icon"},h("slot",{name:"stepper-icon2"})),h("span",{class:"stepper-title"},h("slot",{name:"stepper-title2"})))),h("li",{class:""+s},h("a",{class:"stepper-link"},h("span",{class:"stepper-icon"},h("slot",{name:"stepper-icon3"})),h("span",{class:"stepper-title"},h("slot",{name:"stepper-title3"})))))))};return e}();Stepper.style=stepperCss;export{Stepper as road_stepper};
|
package/dist/esm-es5/roadtrip.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as plt,w as win,d as doc,N as NAMESPACE,a as promiseResolve,b as bootstrapLazy}from"./index-0c8a0e04.js";import"./app-a32f9d74.js";var getDynamicImportFunction=function(e){return"__sc_import_"+e.replace(/\s|-/g,"_")};var patchBrowser=function(){{plt.$cssShim$=win.__cssshim}var e=Array.from(doc.querySelectorAll("script")).find((function(e){return new RegExp("/"+NAMESPACE+"(\\.esm)?\\.js($|\\?|#)").test(e.src)||e.getAttribute("data-stencil-namespace")===NAMESPACE}));var a={};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{a.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,win.location.href)).href;{patchDynamicImport(a.resourcesUrl,e)}if(!win.customElements){return import("./dom-ba83fb9d.js").then((function(){return a}))}}return promiseResolve(a)};var patchDynamicImport=function(e,a){var o=getDynamicImportFunction(NAMESPACE);try{win[o]=new Function("w","return import(w);//"+Math.random())}catch(t){var r=new Map;win[o]=function(t){var d=new URL(t,e).href;var i=r.get(d);if(!i){var n=doc.createElement("script");n.type="module";n.crossOrigin=a.crossOrigin;n.src=URL.createObjectURL(new Blob(["import * as m from '"+d+"'; window."+o+".m = m;"],{type:"application/javascript"}));i=new Promise((function(e){n.onload=function(){e(win[o].m);n.remove()}}));r.set(d,i);doc.head.appendChild(n)}return i}}};patchBrowser().then((function(e){return bootstrapLazy([["road-badge_11",[[1,"road-item",{button:[4],detail:[4],active:[4],detailIcon:[1,"detail-icon"],disabled:[4],download:[1],href:[1],rel:[1],lines:[1],target:[1],type:[1],multipleInputs:[32]}],[1,"road-badge",{color:[1],bubble:[4]}],[1,"road-list",{lines:[1]}],[1,"road-toolbar",{color:[1]}],[33,"road-drawer",{isOpen:[1028,"is-open"],position:[1],drawerWidth:[2,"drawer-width"],hasInverseHeader:[4,"has-inverse-header"],hasBackIcon:[4,"has-back-icon"],backText:[1,"back-text"],drawerTitle:[1,"drawer-title"],hasCloseIcon:[4,"has-close-icon"],open:[64],close:[64],back:[64]},[[4,"keyup","onEscape"]]],[1,"road-col"],[1,"road-grid"],[1,"road-label"],[1,"road-row"],[1,"road-button",{color:[1],size:[513],buttonType:[1,"button-type"],disabled:[516],expand:[516],download:[1],href:[1],rel:[1],target:[1],outline:[4]}],[1,"road-icon",{color:[1],ariaLabel:[1537,"aria-label"],ariaHidden:[513,"aria-hidden"],name:[1],src:[1],icon:[8],size:[1],rotate:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]}]]],["road-duration",[[1,"road-duration",{isOpen:[1028,"is-open"],header:[1],min:[2],max:[2],step:[2],open:[64],close:[64]},[[0,"roadcardclick","handleClick"]]]]],["road-counter",[[2,"road-counter",{inputId:[1,"input-id"],min:[1],max:[1],step:[1],value:[2],size:[1]}]]],["road-plate-number",[[2,"road-plate-number",{country:[1],disabled:[4],placeholder:[1],readonly:[4],value:[1032],motorbike:[4]}]]],["road-accordion",[[1,"road-accordion",{isOpen:[1028,"is-open"],isLight:[4,"is-light"]}]]],["road-banner",[[1,"road-banner",{isOpen:[1028,"is-open"],label:[1],link:[1],url:[1],close:[64]}]]],["road-carousel",[[4,"road-carousel",{options:[8],pager:[4],arrows:[4],update:[64],updateAutoHeight:[64],slideTo:[64],slideNext:[64],slidePrev:[64],getActiveIndex:[64],getPreviousIndex:[64],length:[64],isEnd:[64],isBeginning:[64],startAutoplay:[64],stopAutoplay:[64],lockSwipeToNext:[64],lockSwipeToPrev:[64],lockSwipes:[64],getSwiper:[64]}]]],["road-checkbox",[[6,"road-checkbox",{checkboxId:[1,"checkbox-id"],name:[1],required:[4],checked:[1028],indeterminate:[4],disabled:[4],value:[1],label:[1],inverse:[4],error:[1],helper:[1]}]]],["road-chip",[[1,"road-chip",{color:[1],outline:[4],size:[1],hasCloseIcon:[4,"has-close-icon"]}]]],["road-collapse",[[1,"road-collapse",{isOpen:[1028,"is-open"],showMore:[1,"show-more"],showLess:[1,"show-less"],centered:[4]}]]],["road-dialog",[[1,"road-dialog",{isOpen:[1028,"is-open"],hasCloseIcon:[4,"has-close-icon"],color:[1],icon:[1],label:[1],description:[1],open:[64],close:[64]},[[4,"keyup","onEscape"]]]]],["road-dropdown",[[1,"road-dropdown",{isOpen:[1028,"is-open"],isLight:[4,"is-light"],position:[513],direction:[513]}]]],["road-modal",[[1,"road-modal",{maxWidth:[2,"max-width"],isOpen:[1028,"is-open"],hasInverseHeader:[4,"has-inverse-header"],modalTitle:[1,"modal-title"],hasCloseIcon:[4,"has-close-icon"],open:[64],close:[64]},[[4,"keyup","onEscape"]]]]],["road-range",[[2,"road-range",{rangeId:[1,"range-id"],value:[1032],min:[1],max:[1],step:[1],showValue:[4,"show-value"],showTick:[4,"show-tick"]}]]],["road-rating",[[1,"road-rating",{size:[513],rate:[2],reviews:[2],reviewsText:[1,"reviews-text"]}]]],["road-toast",[[1,"road-toast",{isOpen:[1028,"is-open"],color:[1],label:[1],timeout:[2],open:[64],close:[64]}]]],["road-alert",[[1,"road-alert",{color:[1]}]]],["road-autocomplete",[[6,"road-autocomplete",{options:[16],visible:[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[4,"click","onClickOutside"]]]]],["road-avatar",[[1,"road-avatar"]]],["road-carousel-item",[[4,"road-carousel-item"]]],["road-flap",[[1,"road-flap",{color:[1],size:[513]}]]],["road-img",[[1,"road-img",{alt:[1],src:[1],loadSrc:[32],loadError:[32]}]]],["road-navbar",[[1,"road-navbar",{selectedTab:[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"],[0,"roadnavbaritemclick","onNavbarChanged"]]]]],["road-navbar-item",[[1,"road-navbar-item",{disabled:[4],download:[1],href:[1],rel:[1],selected:[1028],tab:[1],target:[1]},[[8,"roadNavbarChanged","onNavbarChanged"],[8,"roadnavbarchanged","onNavbarChanged"]]]]],["road-progress",[[1,"road-progress",{value:[2],label:[1],color:[1]}]]],["road-radio",[[2,"road-radio",{radioId:[1,"radio-id"],name:[1],required:[4],disabled:[4],value:[8],label:[1],inverse:[4],error:[4],helper:[1],inline:[4],checked:[32]},[[8,"roadChange","onRoadChangedChanged"],[8,"roadchange","onRoadChangedChanged"]]]]],["road-radio-group",[[6,"road-radio-group",{radioGroupId:[1,"radio-group-id"],allowEmptySelection:[4,"allow-empty-selection"],name:[1],value:[1032],label:[1],asterisk:[4],ariaLabel:[513,"aria-label"],error:[1025],helper:[1]}]]],["road-select",[[2,"road-select",{selectId:[1,"select-id"],options:[16],autofocus:[4],disabled:[4],name:[1],required:[4],size:[2],sizes:[1],label:[1],error:[1],value:[1032]}]]],["road-select-filter",[[6,"road-select-filter",{options:[16],parameters:[8],isActive:[4,"is-active"],onlySelect:[4,"only-select"],isOpen:[32],currentValue:[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[0,"roadBlur","handleBlur"],[0,"roadblur","handleBlur"],[0,"roadChange","handleChange"],[0,"roadchange","handleChange"],[4,"click","onClickOutside"]]]]],["road-skeleton",[[1,"road-skeleton"]]],["road-spinner",[[1,"road-spinner",{size:[513],color:[513]}]]],["road-switch",[[2,"road-switch",{switchId:[1,"switch-id"],name:[1],checked:[1028],disabled:[4],label:[1],color:[1],hasLeftLabel:[4,"has-left-label"],isSpaced:[4,"is-spaced"],value:[1],on:[1],off:[1]}]]],["road-tab",[[1,"road-tab",{active:[1028],tab:[1],setActive:[64]}]]],["road-tab-bar",[[1,"road-tab-bar",{secondary:[4],expand:[4],center:[4],selectedTab:[1,"selected-tab"]}]]],["road-tab-button",[[1,"road-tab-button",{download:[1],href:[1],rel:[1],layout:[1],selected:[1028],tab:[1],target:[1]},[[8,"roadTabBarChanged","onTabBarChanged"],[8,"roadTabbarchanged","onTabBarChanged"]]]]],["road-table",[[6,"road-table"]]],["road-tabs",[[1,"road-tabs",{selectedTab:[32],select:[64],getTab:[64],getSelected:[64]}]]],["road-text",[[1,"road-text",{color:[1]}]]],["road-textarea",[[2,"road-textarea",{textareaId:[1,"textarea-id"],autocapitalize:[1],autofocus:[4],disabled:[4],inputmode:[1],enterkeyhint:[1],maxlength:[2],minlength:[2],name:[1],placeholder:[1],sizes:[1],readonly:[4],required:[4],spellcheck:[4],cols:[2],rows:[2],wrap:[1],value:[1025],label:[1],error:[1],helper:[1]}]]],["road-toggle",[[2,"road-toggle",{toggleId:[1,"toggle-id"],name:[1],checked:[1028],disabled:[4],label:[1],color:[1],hasLeftLabel:[4,"has-left-label"],isSpaced:[4,"is-spaced"],value:[1],on:[1],off:[1]}]]],["road-toolbar-title",[[1,"road-toolbar-title"]]],["road-tooltip",[[1,"road-tooltip",{tooltipId:[1,"tooltip-id"],content:[1],position:[1],contentAlign:[1,"content-align"],isOpen:[1028,"is-open"],trigger:[1],open:[64],close:[64]}]]],["road-card",[[1,"road-card",{button:[4],value:[1],type:[1],download:[1],href:[1],rel:[1],target:[1]}]]],["road-input",[[6,"road-input",{inputId:[1,"input-id"],autocapitalize:[1],autocomplete:[1],autocorrect:[1],autofocus:[4],disabled:[4],enterkeyhint:[1],inputmode:[1],max:[1],maxlength:[2],min:[1],minlength:[2],name:[1],pattern:[1],placeholder:[1],readonly:[4],required:[4],spellcheck:[4],step:[1],size:[2],sizes:[1],type:[1],value:[1032],label:[1],error:[1],helper:[1],debounce:[2]}]]],["road-input-group",[[1,"road-input-group"]]]],e)}));
|
|
1
|
+
import{p as plt,w as win,d as doc,N as NAMESPACE,a as promiseResolve,b as bootstrapLazy}from"./index-0c8a0e04.js";import"./app-a32f9d74.js";var getDynamicImportFunction=function(e){return"__sc_import_"+e.replace(/\s|-/g,"_")};var patchBrowser=function(){{plt.$cssShim$=win.__cssshim}var e=Array.from(doc.querySelectorAll("script")).find((function(e){return new RegExp("/"+NAMESPACE+"(\\.esm)?\\.js($|\\?|#)").test(e.src)||e.getAttribute("data-stencil-namespace")===NAMESPACE}));var a={};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{a.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,win.location.href)).href;{patchDynamicImport(a.resourcesUrl,e)}if(!win.customElements){return import("./dom-ba83fb9d.js").then((function(){return a}))}}return promiseResolve(a)};var patchDynamicImport=function(e,a){var o=getDynamicImportFunction(NAMESPACE);try{win[o]=new Function("w","return import(w);//"+Math.random())}catch(t){var r=new Map;win[o]=function(t){var d=new URL(t,e).href;var i=r.get(d);if(!i){var n=doc.createElement("script");n.type="module";n.crossOrigin=a.crossOrigin;n.src=URL.createObjectURL(new Blob(["import * as m from '"+d+"'; window."+o+".m = m;"],{type:"application/javascript"}));i=new Promise((function(e){n.onload=function(){e(win[o].m);n.remove()}}));r.set(d,i);doc.head.appendChild(n)}return i}}};patchBrowser().then((function(e){return bootstrapLazy([["road-badge_11",[[1,"road-item",{button:[4],detail:[4],active:[4],detailIcon:[1,"detail-icon"],disabled:[4],download:[1],href:[1],rel:[1],lines:[1],target:[1],type:[1],multipleInputs:[32]}],[1,"road-badge",{color:[1],bubble:[4]}],[1,"road-list",{lines:[1]}],[1,"road-toolbar",{color:[1]}],[33,"road-drawer",{isOpen:[1028,"is-open"],position:[1],drawerWidth:[2,"drawer-width"],hasInverseHeader:[4,"has-inverse-header"],hasBackIcon:[4,"has-back-icon"],backText:[1,"back-text"],drawerTitle:[1,"drawer-title"],hasCloseIcon:[4,"has-close-icon"],open:[64],close:[64],back:[64]},[[4,"keyup","onEscape"]]],[1,"road-col"],[1,"road-grid"],[1,"road-label"],[1,"road-row"],[1,"road-button",{color:[1],size:[513],buttonType:[1,"button-type"],disabled:[516],expand:[516],download:[1],href:[1],rel:[1],target:[1],outline:[4]}],[1,"road-icon",{color:[1],ariaLabel:[1537,"aria-label"],ariaHidden:[513,"aria-hidden"],name:[1],src:[1],icon:[8],size:[1],rotate:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]}]]],["road-duration",[[1,"road-duration",{isOpen:[1028,"is-open"],header:[1],min:[2],max:[2],step:[2],open:[64],close:[64]},[[0,"roadcardclick","handleClick"]]]]],["road-counter",[[2,"road-counter",{inputId:[1,"input-id"],min:[1],max:[1],step:[1],value:[2],size:[1]}]]],["road-plate-number",[[2,"road-plate-number",{country:[1],disabled:[4],placeholder:[1],readonly:[4],value:[1032],motorbike:[4]}]]],["road-accordion",[[1,"road-accordion",{isOpen:[1028,"is-open"],isLight:[4,"is-light"]}]]],["road-banner",[[1,"road-banner",{isOpen:[1028,"is-open"],label:[1],link:[1],url:[1],close:[64]}]]],["road-carousel",[[4,"road-carousel",{options:[8],pager:[4],arrows:[4],update:[64],updateAutoHeight:[64],slideTo:[64],slideNext:[64],slidePrev:[64],getActiveIndex:[64],getPreviousIndex:[64],length:[64],isEnd:[64],isBeginning:[64],startAutoplay:[64],stopAutoplay:[64],lockSwipeToNext:[64],lockSwipeToPrev:[64],lockSwipes:[64],getSwiper:[64]}]]],["road-checkbox",[[6,"road-checkbox",{checkboxId:[1,"checkbox-id"],name:[1],required:[4],checked:[1028],indeterminate:[4],disabled:[4],value:[1],label:[1],inverse:[4],error:[1],helper:[1]}]]],["road-chip",[[1,"road-chip",{color:[1],outline:[4],size:[1],hasCloseIcon:[4,"has-close-icon"]}]]],["road-collapse",[[1,"road-collapse",{isOpen:[1028,"is-open"],showMore:[1,"show-more"],showLess:[1,"show-less"],centered:[4]}]]],["road-dialog",[[1,"road-dialog",{isOpen:[1028,"is-open"],hasCloseIcon:[4,"has-close-icon"],color:[1],icon:[1],label:[1],description:[1],open:[64],close:[64]},[[4,"keyup","onEscape"]]]]],["road-dropdown",[[1,"road-dropdown",{isOpen:[1028,"is-open"],isLight:[4,"is-light"],position:[513],direction:[513]}]]],["road-modal",[[1,"road-modal",{maxWidth:[2,"max-width"],isOpen:[1028,"is-open"],hasInverseHeader:[4,"has-inverse-header"],modalTitle:[1,"modal-title"],hasCloseIcon:[4,"has-close-icon"],open:[64],close:[64]},[[4,"keyup","onEscape"]]]]],["road-range",[[2,"road-range",{rangeId:[1,"range-id"],value:[1032],min:[1],max:[1],step:[1],showValue:[4,"show-value"],showTick:[4,"show-tick"]}]]],["road-rating",[[1,"road-rating",{size:[513],rate:[2],reviews:[2],reviewsText:[1,"reviews-text"]}]]],["road-toast",[[1,"road-toast",{isOpen:[1028,"is-open"],color:[1],label:[1],timeout:[2],open:[64],close:[64]}]]],["road-alert",[[1,"road-alert",{color:[1],label:[1],link:[1],url:[1]}]]],["road-autocomplete",[[6,"road-autocomplete",{options:[16],visible:[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[4,"click","onClickOutside"]]]]],["road-avatar",[[1,"road-avatar"]]],["road-carousel-item",[[4,"road-carousel-item"]]],["road-flap",[[1,"road-flap",{color:[1],size:[513]}]]],["road-img",[[1,"road-img",{alt:[1],src:[1],loadSrc:[32],loadError:[32]}]]],["road-navbar",[[1,"road-navbar",{selectedTab:[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"],[0,"roadnavbaritemclick","onNavbarChanged"]]]]],["road-navbar-item",[[1,"road-navbar-item",{disabled:[4],download:[1],href:[1],rel:[1],selected:[1028],tab:[1],target:[1]},[[8,"roadNavbarChanged","onNavbarChanged"],[8,"roadnavbarchanged","onNavbarChanged"]]]]],["road-progress",[[1,"road-progress",{value:[2],label:[1],color:[1]}]]],["road-radio",[[2,"road-radio",{radioId:[1,"radio-id"],name:[1],required:[4],disabled:[4],value:[8],label:[1],inverse:[4],error:[4],helper:[1],inline:[4],checked:[32]},[[8,"roadChange","onRoadChangedChanged"],[8,"roadchange","onRoadChangedChanged"]]]]],["road-radio-group",[[6,"road-radio-group",{radioGroupId:[1,"radio-group-id"],allowEmptySelection:[4,"allow-empty-selection"],name:[1],value:[1032],label:[1],asterisk:[4],ariaLabel:[513,"aria-label"],error:[1025],helper:[1]}]]],["road-select",[[2,"road-select",{selectId:[1,"select-id"],options:[16],autofocus:[4],disabled:[4],name:[1],required:[4],size:[2],sizes:[1],label:[1],error:[1],value:[1032]}]]],["road-select-filter",[[6,"road-select-filter",{options:[16],parameters:[8],isActive:[4,"is-active"],onlySelect:[4,"only-select"],isOpen:[32],currentValue:[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[0,"roadBlur","handleBlur"],[0,"roadblur","handleBlur"],[0,"roadChange","handleChange"],[0,"roadchange","handleChange"],[4,"click","onClickOutside"]]]]],["road-skeleton",[[1,"road-skeleton"]]],["road-spinner",[[1,"road-spinner",{size:[513],color:[513]}]]],["road-stepper",[[1,"road-stepper",{color:[513],light:[4],outline:[4],stateFirstStep:[1,"state-first-step"],stateSecondStep:[1,"state-second-step"],stateThirdStep:[1,"state-third-step"]}]]],["road-switch",[[2,"road-switch",{switchId:[1,"switch-id"],name:[1],checked:[1028],disabled:[4],label:[1],color:[1],hasLeftLabel:[4,"has-left-label"],isSpaced:[4,"is-spaced"],value:[1],on:[1],off:[1]}]]],["road-tab",[[1,"road-tab",{active:[1028],tab:[1],setActive:[64]}]]],["road-tab-bar",[[1,"road-tab-bar",{secondary:[4],expand:[4],center:[4],selectedTab:[1,"selected-tab"]}]]],["road-tab-button",[[1,"road-tab-button",{download:[1],href:[1],rel:[1],layout:[1],selected:[1028],tab:[1],target:[1]},[[8,"roadTabBarChanged","onTabBarChanged"],[8,"roadTabbarchanged","onTabBarChanged"]]]]],["road-table",[[6,"road-table"]]],["road-tabs",[[1,"road-tabs",{selectedTab:[32],select:[64],getTab:[64],getSelected:[64]}]]],["road-text",[[1,"road-text",{color:[1]}]]],["road-textarea",[[2,"road-textarea",{textareaId:[1,"textarea-id"],autocapitalize:[1],autofocus:[4],disabled:[4],inputmode:[1],enterkeyhint:[1],maxlength:[2],minlength:[2],name:[1],placeholder:[1],sizes:[1],readonly:[4],required:[4],spellcheck:[4],cols:[2],rows:[2],wrap:[1],value:[1025],label:[1],error:[1],helper:[1]}]]],["road-toggle",[[2,"road-toggle",{toggleId:[1,"toggle-id"],name:[1],checked:[1028],disabled:[4],label:[1],color:[1],hasLeftLabel:[4,"has-left-label"],isSpaced:[4,"is-spaced"],value:[1],on:[1],off:[1]}]]],["road-toolbar-title",[[1,"road-toolbar-title"]]],["road-tooltip",[[1,"road-tooltip",{tooltipId:[1,"tooltip-id"],content:[1],position:[1],contentAlign:[1,"content-align"],isOpen:[1028,"is-open"],trigger:[1],open:[64],close:[64]}]]],["road-card",[[1,"road-card",{button:[4],value:[1],type:[1],download:[1],href:[1],rel:[1],target:[1]}]]],["road-input",[[6,"road-input",{inputId:[1,"input-id"],autocapitalize:[1],autocomplete:[1],autocorrect:[1],autofocus:[4],disabled:[4],enterkeyhint:[1],inputmode:[1],max:[1],maxlength:[2],min:[1],minlength:[2],name:[1],pattern:[1],placeholder:[1],readonly:[4],required:[4],spellcheck:[4],step:[1],size:[2],sizes:[1],type:[1],value:[1032],label:[1],error:[1],helper:[1],debounce:[2]}]]],["road-input-group",[[1,"road-input-group"]]]],e)}));
|
package/dist/html.html-data.json
CHANGED
|
@@ -48,6 +48,18 @@
|
|
|
48
48
|
"name": "warning"
|
|
49
49
|
}
|
|
50
50
|
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "label",
|
|
54
|
+
"description": "Title display in the alert"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "link",
|
|
58
|
+
"description": "Text Link display in the alert"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "url",
|
|
62
|
+
"description": "url display in the link"
|
|
51
63
|
}
|
|
52
64
|
],
|
|
53
65
|
"references": [
|
|
@@ -2020,6 +2032,86 @@
|
|
|
2020
2032
|
}
|
|
2021
2033
|
]
|
|
2022
2034
|
},
|
|
2035
|
+
{
|
|
2036
|
+
"name": "road-stepper",
|
|
2037
|
+
"description": {
|
|
2038
|
+
"kind": "markdown",
|
|
2039
|
+
"value": ""
|
|
2040
|
+
},
|
|
2041
|
+
"attributes": [
|
|
2042
|
+
{
|
|
2043
|
+
"name": "color",
|
|
2044
|
+
"description": "The color stepper.",
|
|
2045
|
+
"values": [
|
|
2046
|
+
{
|
|
2047
|
+
"name": "default"
|
|
2048
|
+
},
|
|
2049
|
+
{
|
|
2050
|
+
"name": "secondary"
|
|
2051
|
+
}
|
|
2052
|
+
]
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"name": "light",
|
|
2056
|
+
"description": "Display an outline without background."
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"name": "outline",
|
|
2060
|
+
"description": "Display an outline style ."
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
"name": "state-first-step",
|
|
2064
|
+
"description": "The color of the first step.",
|
|
2065
|
+
"values": [
|
|
2066
|
+
{
|
|
2067
|
+
"name": "comleted"
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"name": "current"
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"name": "default"
|
|
2074
|
+
}
|
|
2075
|
+
]
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"name": "state-second-step",
|
|
2079
|
+
"description": "The color of the second step.",
|
|
2080
|
+
"values": [
|
|
2081
|
+
{
|
|
2082
|
+
"name": "comleted"
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"name": "current"
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"name": "default"
|
|
2089
|
+
}
|
|
2090
|
+
]
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"name": "state-third-step",
|
|
2094
|
+
"description": "The color of the third step.",
|
|
2095
|
+
"values": [
|
|
2096
|
+
{
|
|
2097
|
+
"name": "comleted"
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"name": "current"
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "default"
|
|
2104
|
+
}
|
|
2105
|
+
]
|
|
2106
|
+
}
|
|
2107
|
+
],
|
|
2108
|
+
"references": [
|
|
2109
|
+
{
|
|
2110
|
+
"name": "Source code",
|
|
2111
|
+
"url": "./https:/gitlab.com/mobivia-design/roadtrip/components/-/blob/master/src/components/stepper/stepper.tsx"
|
|
2112
|
+
}
|
|
2113
|
+
]
|
|
2114
|
+
},
|
|
2023
2115
|
{
|
|
2024
2116
|
"name": "road-switch",
|
|
2025
2117
|
"description": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,H as t}from"./p-33e38a04.js";let o=class{constructor(r){e(this,r),this.color="default",this.light=!1,this.outline=!1}render(){const e=void 0!==this.stateSecondStep?`stepper-item ${this.stateSecondStep}`:"stepper-item",o=void 0!==this.stateSecondStep?`stepper-item ${this.stateThirdStep}`:"stepper-item";return r(t,null,r("nav",null,r("ul",{class:`${void 0!==this.color?`stepper stepper-${this.color}`:"stepper"} ${1==this.outline?"stepper stepper-outline":"stepper"} ${1==this.light?"stepper stepper-outline-light":"stepper"}`},r("li",{class:""+(void 0!==this.stateFirstStep?`stepper-item ${this.stateFirstStep}`:"stepper-item")},r("a",{class:"stepper-link"},r("span",{class:"stepper-icon"},r("slot",{name:"stepper-icon"})),r("span",{class:"stepper-title"},r("slot",{name:"stepper-title"})))),r("li",{class:`${e}`},r("a",{class:"stepper-link"},r("span",{class:"stepper-icon"},r("slot",{name:"stepper-icon2"})),r("span",{class:"stepper-title"},r("slot",{name:"stepper-title2"})))),r("li",{class:`${o}`},r("a",{class:"stepper-link"},r("span",{class:"stepper-icon"},r("slot",{name:"stepper-icon3"})),r("span",{class:"stepper-title"},r("slot",{name:"stepper-title3"})))))))}};o.style=':host{display:block}.stepper{display:-ms-flexbox;display:flex;padding-left:0;margin:0;font-family:var(--road-font);line-height:1.5;list-style:none}.stepper-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;text-align:center}.stepper-item:not(:last-child)::after{position:relative;top:1rem;left:50%;-ms-flex-order:-1;order:-1;height:2px;content:"";background:var(--road-grey-200)}.stepper-outline-light .stepper-item:not(:last-child)::after,.stepper-secondary-outline-light .stepper-item:not(:last-child)::after{left:calc(50% + calc(2rem / 2));width:calc(100% - 2rem)}.stepper-item:not(.completed) .stepper-link{cursor:not-allowed}.stepper-link{z-index:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.stepper-icon{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:2rem;height:2rem;font-size:1rem;font-weight:700;color:var(--road-grey-500);background:var(--road-grey-200);border-radius:50%;fill:currentColor}::slotted(.stepper-icon) road-icon{color:var(--road-secondary-600)}.stepper-outline .stepper-icon,.stepper-secondary.stepper-outline .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-grey-500);background:var(--road-grey-000);border:2px solid var(--road-grey-500);fill:currentColor}.stepper-outline-light .stepper-icon,.stepper-secondary.stepper-outline-light .stepper-icon{color:var(--road-grey-500);background:none;border:2px solid var(--road-grey-500);fill:currentColor}.stepper-title{display:block;margin-top:0.25rem;font-size:0.875rem;font-weight:700;color:var(--road-grey-600)}.stepper-title span{display:block;font-size:0.875rem;font-weight:400;color:var(--road-grey-600)}.completed:not(:last-child)::after{background:var(--road-primary-500)}.stepper-secondary .completed:not(:last-child)::after,.stepper-secondary.stepper-outline .completed:not(:last-child)::after,.stepper-secondary.stepper-outline-light .completed:not(:last-child)::after{background:var(--road-secondary-600)}.completed .stepper-icon,.current .stepper-icon{width:2rem;height:2rem;color:var(--road-primary-contrast);background:var(--road-primary-500);border:0}.stepper-outline .completed .stepper-icon{color:var(--road-primary-500);background:var(--road-grey-000);border:2px solid var(--road-primary-500)}.stepper-outline-light .completed .stepper-icon{color:var(--road-primary-500);background:none;border:2px solid var(--road-primary-500)}.stepper-secondary .completed .stepper-icon{color:var(--road-grey-900);background:var(--road-secondary-600);border:0}.stepper-secondary.stepper-outline .completed .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-secondary-600);background:var(--road-grey-000);border:2px solid var(--road-secondary-600)}.stepper-secondary.stepper-outline-light .completed .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-secondary-600);background:none;border:2px solid var(--road-secondary-600)}.stepper-secondary .current .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-grey-900);background:var(--road-secondary-600);border:2px solid var(--road-secondary-600)}.stepper-secondary.stepper-outline .current .stepper-icon{color:var(--road-grey-900);background:var(--road-secondary-600)}.stepper-secondary.stepper-outline-light .current .stepper-icon{color:var(--road-grey-900);background:var(--road-secondary-600)}.current .stepper-title{font-weight:700;color:var(--road-grey-900)}';export{o as road_stepper}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-f33e4ac5.system.js"],(function(r){"use strict";var a,e,o;return{setters:[function(r){a=r.r;e=r.h;o=r.H}],execute:function(){var t=":host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;padding:0.5rem 1rem 0.5rem 0.5rem;font-family:var(--road-font, sans-serif);font-size:1rem;line-height:1.25;color:var(--road-grey-900);border:1px solid transparent;border-radius:0.25rem}.alert-icon{-ms-flex-negative:0;flex-shrink:0;width:2rem;height:2rem;margin-right:0.5rem}.alert-title{padding:0.375rem 0 0;font-weight:700}.alert-link{display:block;margin:0;color:var(--road-grey-900);text-decoration:underline}.alert-description{padding:0.375rem 0;margin:0}:host(.alert-info){background:var(--road-info-background);border-color:var(--road-info-default)}:host(.alert-info) ::slotted(road-icon){color:var(--road-info-default)}:host(.alert-success){background:var(--road-success-background);border-color:var(--road-success-default)}:host(.alert-success) ::slotted(road-icon){color:var(--road-success-default)}:host(.alert-warning){background:var(--road-warning-background);border-color:var(--road-warning-default)}:host(.alert-warning) ::slotted(road-icon){color:var(--road-warning-default)}:host(.alert-danger){background:var(--road-danger-background);border-color:var(--road-danger-default)}:host(.alert-danger) ::slotted(road-icon){color:var(--road-danger-default)}";var l=r("road_alert",function(){function r(r){a(this,r);this.color="info"}r.prototype.render=function(){var r=this.color!==undefined?"alert-"+this.color:"";return e(o,{class:r,role:"alert"},e("div",{class:"alert-icon"},e("slot",{name:"icon"})),e("div",null,this.label&&e("span",{class:"alert-title d-block"},this.label),e("p",{class:"alert-description"},e("slot",null),this.link&&e("a",{href:this.url,class:"alert-link link link-default"},this.link))))};return r}());l.style=t}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as a,H as o}from"./p-33e38a04.js";let e=class{constructor(a){r(this,a),this.color="info"}render(){return a(o,{class:void 0!==this.color?`alert-${this.color}`:"",role:"alert"},a("div",{class:"alert-icon"},a("slot",{name:"icon"})),a("div",null,this.label&&a("span",{class:"alert-title d-block"},this.label),a("p",{class:"alert-description"},a("slot",null),this.link&&a("a",{href:this.url,class:"alert-link link link-default"},this.link))))}};e.style=":host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;padding:0.5rem 1rem 0.5rem 0.5rem;font-family:var(--road-font, sans-serif);font-size:1rem;line-height:1.25;color:var(--road-grey-900);border:1px solid transparent;border-radius:0.25rem}.alert-icon{-ms-flex-negative:0;flex-shrink:0;width:2rem;height:2rem;margin-right:0.5rem}.alert-title{padding:0.375rem 0 0;font-weight:700}.alert-link{display:block;margin:0;color:var(--road-grey-900);text-decoration:underline}.alert-description{padding:0.375rem 0;margin:0}:host(.alert-info){background:var(--road-info-background);border-color:var(--road-info-default)}:host(.alert-info) ::slotted(road-icon){color:var(--road-info-default)}:host(.alert-success){background:var(--road-success-background);border-color:var(--road-success-default)}:host(.alert-success) ::slotted(road-icon){color:var(--road-success-default)}:host(.alert-warning){background:var(--road-warning-background);border-color:var(--road-warning-default)}:host(.alert-warning) ::slotted(road-icon){color:var(--road-warning-default)}:host(.alert-danger){background:var(--road-danger-background);border-color:var(--road-danger-default)}:host(.alert-danger) ::slotted(road-icon){color:var(--road-danger-default)}";export{e as road_alert}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-f33e4ac5.system.js","./p-05961c88.system.js"],(function(e,a){"use strict";var o,r,
|
|
1
|
+
System.register(["./p-f33e4ac5.system.js","./p-05961c88.system.js"],(function(e,a){"use strict";var o,t,r,s,i,n;return{setters:[function(e){o=e.p;t=e.w;r=e.d;s=e.N;i=e.a;n=e.b},function(){}],execute:function(){var e=function(e){return"__sc_import_"+e.replace(/\s|-/g,"_")};var d=function(){{o.$cssShim$=t.__cssshim}var e=Array.from(r.querySelectorAll("script")).find((function(e){return new RegExp("/"+s+"(\\.esm)?\\.js($|\\?|#)").test(e.src)||e.getAttribute("data-stencil-namespace")===s}));var n={};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{n.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,t.location.href)).href;{l(n.resourcesUrl,e)}if(!t.customElements){return a.import("./p-7154119b.system.js").then((function(){return n}))}}return i(n)};var l=function(a,o){var i=e(s);try{t[i]=new Function("w","return import(w);//"+Math.random())}catch(d){var n=new Map;t[i]=function(e){var s=new URL(e,a).href;var d=n.get(s);if(!d){var l=r.createElement("script");l.type="module";l.crossOrigin=o.crossOrigin;l.src=URL.createObjectURL(new Blob(["import * as m from '"+s+"'; window."+i+".m = m;"],{type:"application/javascript"}));d=new Promise((function(e){l.onload=function(){e(t[i].m);l.remove()}}));n.set(s,d);r.head.appendChild(l)}return d}}};d().then((function(e){return n([["p-405b32a3.system",[[1,"road-item",{button:[4],detail:[4],active:[4],detailIcon:[1,"detail-icon"],disabled:[4],download:[1],href:[1],rel:[1],lines:[1],target:[1],type:[1],multipleInputs:[32]}],[1,"road-badge",{color:[1],bubble:[4]}],[1,"road-list",{lines:[1]}],[1,"road-toolbar",{color:[1]}],[33,"road-drawer",{isOpen:[1028,"is-open"],position:[1],drawerWidth:[2,"drawer-width"],hasInverseHeader:[4,"has-inverse-header"],hasBackIcon:[4,"has-back-icon"],backText:[1,"back-text"],drawerTitle:[1,"drawer-title"],hasCloseIcon:[4,"has-close-icon"],open:[64],close:[64],back:[64]},[[4,"keyup","onEscape"]]],[1,"road-col"],[1,"road-grid"],[1,"road-label"],[1,"road-row"],[1,"road-button",{color:[1],size:[513],buttonType:[1,"button-type"],disabled:[516],expand:[516],download:[1],href:[1],rel:[1],target:[1],outline:[4]}],[1,"road-icon",{color:[1],ariaLabel:[1537,"aria-label"],ariaHidden:[513,"aria-hidden"],name:[1],src:[1],icon:[8],size:[1],rotate:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]}]]],["p-76bede83.system",[[1,"road-duration",{isOpen:[1028,"is-open"],header:[1],min:[2],max:[2],step:[2],open:[64],close:[64]},[[0,"roadcardclick","handleClick"]]]]],["p-cf019857.system",[[2,"road-counter",{inputId:[1,"input-id"],min:[1],max:[1],step:[1],value:[2],size:[1]}]]],["p-76b0bdf2.system",[[2,"road-plate-number",{country:[1],disabled:[4],placeholder:[1],readonly:[4],value:[1032],motorbike:[4]}]]],["p-4ef35d16.system",[[1,"road-accordion",{isOpen:[1028,"is-open"],isLight:[4,"is-light"]}]]],["p-08ce3656.system",[[1,"road-banner",{isOpen:[1028,"is-open"],label:[1],link:[1],url:[1],close:[64]}]]],["p-9cedf0d5.system",[[4,"road-carousel",{options:[8],pager:[4],arrows:[4],update:[64],updateAutoHeight:[64],slideTo:[64],slideNext:[64],slidePrev:[64],getActiveIndex:[64],getPreviousIndex:[64],length:[64],isEnd:[64],isBeginning:[64],startAutoplay:[64],stopAutoplay:[64],lockSwipeToNext:[64],lockSwipeToPrev:[64],lockSwipes:[64],getSwiper:[64]}]]],["p-b0fcc599.system",[[6,"road-checkbox",{checkboxId:[1,"checkbox-id"],name:[1],required:[4],checked:[1028],indeterminate:[4],disabled:[4],value:[1],label:[1],inverse:[4],error:[1],helper:[1]}]]],["p-d3a9746d.system",[[1,"road-chip",{color:[1],outline:[4],size:[1],hasCloseIcon:[4,"has-close-icon"]}]]],["p-13c18cec.system",[[1,"road-collapse",{isOpen:[1028,"is-open"],showMore:[1,"show-more"],showLess:[1,"show-less"],centered:[4]}]]],["p-0f993961.system",[[1,"road-dialog",{isOpen:[1028,"is-open"],hasCloseIcon:[4,"has-close-icon"],color:[1],icon:[1],label:[1],description:[1],open:[64],close:[64]},[[4,"keyup","onEscape"]]]]],["p-cc00e9dc.system",[[1,"road-dropdown",{isOpen:[1028,"is-open"],isLight:[4,"is-light"],position:[513],direction:[513]}]]],["p-04a4b4f6.system",[[1,"road-modal",{maxWidth:[2,"max-width"],isOpen:[1028,"is-open"],hasInverseHeader:[4,"has-inverse-header"],modalTitle:[1,"modal-title"],hasCloseIcon:[4,"has-close-icon"],open:[64],close:[64]},[[4,"keyup","onEscape"]]]]],["p-8346b2d0.system",[[2,"road-range",{rangeId:[1,"range-id"],value:[1032],min:[1],max:[1],step:[1],showValue:[4,"show-value"],showTick:[4,"show-tick"]}]]],["p-1a7b3723.system",[[1,"road-rating",{size:[513],rate:[2],reviews:[2],reviewsText:[1,"reviews-text"]}]]],["p-8ada8080.system",[[1,"road-toast",{isOpen:[1028,"is-open"],color:[1],label:[1],timeout:[2],open:[64],close:[64]}]]],["p-864ed7f9.system",[[1,"road-alert",{color:[1],label:[1],link:[1],url:[1]}]]],["p-f95a5e84.system",[[6,"road-autocomplete",{options:[16],visible:[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[4,"click","onClickOutside"]]]]],["p-dfa3c709.system",[[1,"road-avatar"]]],["p-b591a3f7.system",[[4,"road-carousel-item"]]],["p-57e46bbc.system",[[1,"road-flap",{color:[1],size:[513]}]]],["p-701cba5a.system",[[1,"road-img",{alt:[1],src:[1],loadSrc:[32],loadError:[32]}]]],["p-bd6463ab.system",[[1,"road-navbar",{selectedTab:[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"],[0,"roadnavbaritemclick","onNavbarChanged"]]]]],["p-a7565a49.system",[[1,"road-navbar-item",{disabled:[4],download:[1],href:[1],rel:[1],selected:[1028],tab:[1],target:[1]},[[8,"roadNavbarChanged","onNavbarChanged"],[8,"roadnavbarchanged","onNavbarChanged"]]]]],["p-9337ed51.system",[[1,"road-progress",{value:[2],label:[1],color:[1]}]]],["p-7f2cba6f.system",[[2,"road-radio",{radioId:[1,"radio-id"],name:[1],required:[4],disabled:[4],value:[8],label:[1],inverse:[4],error:[4],helper:[1],inline:[4],checked:[32]},[[8,"roadChange","onRoadChangedChanged"],[8,"roadchange","onRoadChangedChanged"]]]]],["p-3e953654.system",[[6,"road-radio-group",{radioGroupId:[1,"radio-group-id"],allowEmptySelection:[4,"allow-empty-selection"],name:[1],value:[1032],label:[1],asterisk:[4],ariaLabel:[513,"aria-label"],error:[1025],helper:[1]}]]],["p-604a0940.system",[[2,"road-select",{selectId:[1,"select-id"],options:[16],autofocus:[4],disabled:[4],name:[1],required:[4],size:[2],sizes:[1],label:[1],error:[1],value:[1032]}]]],["p-288298fa.system",[[6,"road-select-filter",{options:[16],parameters:[8],isActive:[4,"is-active"],onlySelect:[4,"only-select"],isOpen:[32],currentValue:[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[0,"roadBlur","handleBlur"],[0,"roadblur","handleBlur"],[0,"roadChange","handleChange"],[0,"roadchange","handleChange"],[4,"click","onClickOutside"]]]]],["p-ad1136ff.system",[[1,"road-skeleton"]]],["p-f00aa43f.system",[[1,"road-spinner",{size:[513],color:[513]}]]],["p-e2a9123a.system",[[1,"road-stepper",{color:[513],light:[4],outline:[4],stateFirstStep:[1,"state-first-step"],stateSecondStep:[1,"state-second-step"],stateThirdStep:[1,"state-third-step"]}]]],["p-d18db10c.system",[[2,"road-switch",{switchId:[1,"switch-id"],name:[1],checked:[1028],disabled:[4],label:[1],color:[1],hasLeftLabel:[4,"has-left-label"],isSpaced:[4,"is-spaced"],value:[1],on:[1],off:[1]}]]],["p-6195c41f.system",[[1,"road-tab",{active:[1028],tab:[1],setActive:[64]}]]],["p-ee1e6fe7.system",[[1,"road-tab-bar",{secondary:[4],expand:[4],center:[4],selectedTab:[1,"selected-tab"]}]]],["p-c9409f80.system",[[1,"road-tab-button",{download:[1],href:[1],rel:[1],layout:[1],selected:[1028],tab:[1],target:[1]},[[8,"roadTabBarChanged","onTabBarChanged"],[8,"roadTabbarchanged","onTabBarChanged"]]]]],["p-40fc1632.system",[[6,"road-table"]]],["p-3ee7ff2a.system",[[1,"road-tabs",{selectedTab:[32],select:[64],getTab:[64],getSelected:[64]}]]],["p-7cb7d25b.system",[[1,"road-text",{color:[1]}]]],["p-d42af23b.system",[[2,"road-textarea",{textareaId:[1,"textarea-id"],autocapitalize:[1],autofocus:[4],disabled:[4],inputmode:[1],enterkeyhint:[1],maxlength:[2],minlength:[2],name:[1],placeholder:[1],sizes:[1],readonly:[4],required:[4],spellcheck:[4],cols:[2],rows:[2],wrap:[1],value:[1025],label:[1],error:[1],helper:[1]}]]],["p-467f5310.system",[[2,"road-toggle",{toggleId:[1,"toggle-id"],name:[1],checked:[1028],disabled:[4],label:[1],color:[1],hasLeftLabel:[4,"has-left-label"],isSpaced:[4,"is-spaced"],value:[1],on:[1],off:[1]}]]],["p-6a123e72.system",[[1,"road-toolbar-title"]]],["p-83926ef1.system",[[1,"road-tooltip",{tooltipId:[1,"tooltip-id"],content:[1],position:[1],contentAlign:[1,"content-align"],isOpen:[1028,"is-open"],trigger:[1],open:[64],close:[64]}]]],["p-85c918f6.system",[[1,"road-card",{button:[4],value:[1],type:[1],download:[1],href:[1],rel:[1],target:[1]}]]],["p-5a426113.system",[[6,"road-input",{inputId:[1,"input-id"],autocapitalize:[1],autocomplete:[1],autocorrect:[1],autofocus:[4],disabled:[4],enterkeyhint:[1],inputmode:[1],max:[1],maxlength:[2],min:[1],minlength:[2],name:[1],pattern:[1],placeholder:[1],readonly:[4],required:[4],spellcheck:[4],step:[1],size:[2],sizes:[1],type:[1],value:[1032],label:[1],error:[1],helper:[1],debounce:[2]}]]],["p-731c9b95.system",[[1,"road-input-group"]]]],e)}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-f33e4ac5.system.js"],(function(e){"use strict";var r,t,o;return{setters:[function(e){r=e.r;t=e.h;o=e.H}],execute:function(){var p=':host{display:block}.stepper{display:-ms-flexbox;display:flex;padding-left:0;margin:0;font-family:var(--road-font);line-height:1.5;list-style:none}.stepper-item{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;text-align:center}.stepper-item:not(:last-child)::after{position:relative;top:1rem;left:50%;-ms-flex-order:-1;order:-1;height:2px;content:"";background:var(--road-grey-200)}.stepper-outline-light .stepper-item:not(:last-child)::after,.stepper-secondary-outline-light .stepper-item:not(:last-child)::after{left:calc(50% + calc(2rem / 2));width:calc(100% - 2rem)}.stepper-item:not(.completed) .stepper-link{cursor:not-allowed}.stepper-link{z-index:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.stepper-icon{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:2rem;height:2rem;font-size:1rem;font-weight:700;color:var(--road-grey-500);background:var(--road-grey-200);border-radius:50%;fill:currentColor}::slotted(.stepper-icon) road-icon{color:var(--road-secondary-600)}.stepper-outline .stepper-icon,.stepper-secondary.stepper-outline .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-grey-500);background:var(--road-grey-000);border:2px solid var(--road-grey-500);fill:currentColor}.stepper-outline-light .stepper-icon,.stepper-secondary.stepper-outline-light .stepper-icon{color:var(--road-grey-500);background:none;border:2px solid var(--road-grey-500);fill:currentColor}.stepper-title{display:block;margin-top:0.25rem;font-size:0.875rem;font-weight:700;color:var(--road-grey-600)}.stepper-title span{display:block;font-size:0.875rem;font-weight:400;color:var(--road-grey-600)}.completed:not(:last-child)::after{background:var(--road-primary-500)}.stepper-secondary .completed:not(:last-child)::after,.stepper-secondary.stepper-outline .completed:not(:last-child)::after,.stepper-secondary.stepper-outline-light .completed:not(:last-child)::after{background:var(--road-secondary-600)}.completed .stepper-icon,.current .stepper-icon{width:2rem;height:2rem;color:var(--road-primary-contrast);background:var(--road-primary-500);border:0}.stepper-outline .completed .stepper-icon{color:var(--road-primary-500);background:var(--road-grey-000);border:2px solid var(--road-primary-500)}.stepper-outline-light .completed .stepper-icon{color:var(--road-primary-500);background:none;border:2px solid var(--road-primary-500)}.stepper-secondary .completed .stepper-icon{color:var(--road-grey-900);background:var(--road-secondary-600);border:0}.stepper-secondary.stepper-outline .completed .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-secondary-600);background:var(--road-grey-000);border:2px solid var(--road-secondary-600)}.stepper-secondary.stepper-outline-light .completed .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-secondary-600);background:none;border:2px solid var(--road-secondary-600)}.stepper-secondary .current .stepper-icon{width:calc(2rem - 4px);height:calc(2rem - 4px);color:var(--road-grey-900);background:var(--road-secondary-600);border:2px solid var(--road-secondary-600)}.stepper-secondary.stepper-outline .current .stepper-icon{color:var(--road-grey-900);background:var(--road-secondary-600)}.stepper-secondary.stepper-outline-light .current .stepper-icon{color:var(--road-grey-900);background:var(--road-secondary-600)}.current .stepper-title{font-weight:700;color:var(--road-grey-900)}';var s=e("road_stepper",function(){function e(e){r(this,e);this.color="default";this.light=false;this.outline=false}e.prototype.render=function(){var e=this.color!==undefined?"stepper stepper-"+this.color:"stepper";var r=this.outline==true?"stepper stepper-outline":"stepper";var p=this.light==true?"stepper stepper-outline-light":"stepper";var s=this.stateFirstStep!==undefined?"stepper-item "+this.stateFirstStep:"stepper-item";var a=this.stateSecondStep!==undefined?"stepper-item "+this.stateSecondStep:"stepper-item";var l=this.stateSecondStep!==undefined?"stepper-item "+this.stateThirdStep:"stepper-item";return t(o,null,t("nav",null,t("ul",{class:e+" "+r+" "+p},t("li",{class:""+s},t("a",{class:"stepper-link"},t("span",{class:"stepper-icon"},t("slot",{name:"stepper-icon"})),t("span",{class:"stepper-title"},t("slot",{name:"stepper-title"})))),t("li",{class:""+a},t("a",{class:"stepper-link"},t("span",{class:"stepper-icon"},t("slot",{name:"stepper-icon2"})),t("span",{class:"stepper-title"},t("slot",{name:"stepper-title2"})))),t("li",{class:""+l},t("a",{class:"stepper-link"},t("span",{class:"stepper-icon"},t("slot",{name:"stepper-icon3"})),t("span",{class:"stepper-title"},t("slot",{name:"stepper-title3"})))))))};return e}());s.style=p}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,w as a,d as o,N as r,a as
|
|
1
|
+
import{p as e,w as a,d as o,N as r,a as t,b as d}from"./p-33e38a04.js";import"./p-46c22946.js";(()=>{e.o=a.__cssshim;const d=Array.from(o.querySelectorAll("script")).find((e=>new RegExp(`/${r}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===r)),l={};return"onbeforeload"in d&&!history.scrollRestoration?{then(){}}:(l.resourcesUrl=new URL(".",new URL(d.getAttribute("data-resources-url")||d.src,a.location.href)).href,((e,t)=>{const d=`__sc_import_${r.replace(/\s|-/g,"_")}`;try{a[d]=new Function("w",`return import(w);//${Math.random()}`)}catch(l){const r=new Map;a[d]=l=>{const i=new URL(l,e).href;let s=r.get(i);if(!s){const e=o.createElement("script");e.type="module",e.crossOrigin=t.crossOrigin,e.src=URL.createObjectURL(new Blob([`import * as m from '${i}'; window.${d}.m = m;`],{type:"application/javascript"})),s=new Promise((o=>{e.onload=()=>{o(a[d].m),e.remove()}})),r.set(i,s),o.head.appendChild(e)}return s}}})(l.resourcesUrl,d),a.customElements?t(l):__sc_import_roadtrip("./p-ac0761c3.js").then((()=>l)))})().then((e=>d([["p-9d148792",[[1,"road-item",{button:[4],detail:[4],active:[4],detailIcon:[1,"detail-icon"],disabled:[4],download:[1],href:[1],rel:[1],lines:[1],target:[1],type:[1],multipleInputs:[32]}],[1,"road-badge",{color:[1],bubble:[4]}],[1,"road-list",{lines:[1]}],[1,"road-toolbar",{color:[1]}],[33,"road-drawer",{isOpen:[1028,"is-open"],position:[1],drawerWidth:[2,"drawer-width"],hasInverseHeader:[4,"has-inverse-header"],hasBackIcon:[4,"has-back-icon"],backText:[1,"back-text"],drawerTitle:[1,"drawer-title"],hasCloseIcon:[4,"has-close-icon"],open:[64],close:[64],back:[64]},[[4,"keyup","onEscape"]]],[1,"road-col"],[1,"road-grid"],[1,"road-label"],[1,"road-row"],[1,"road-button",{color:[1],size:[513],buttonType:[1,"button-type"],disabled:[516],expand:[516],download:[1],href:[1],rel:[1],target:[1],outline:[4]}],[1,"road-icon",{color:[1],ariaLabel:[1537,"aria-label"],ariaHidden:[513,"aria-hidden"],name:[1],src:[1],icon:[8],size:[1],rotate:[1],lazy:[4],sanitize:[4],svgContent:[32],isVisible:[32]}]]],["p-688e41f2",[[1,"road-duration",{isOpen:[1028,"is-open"],header:[1],min:[2],max:[2],step:[2],open:[64],close:[64]},[[0,"roadcardclick","handleClick"]]]]],["p-93eaf8f0",[[2,"road-counter",{inputId:[1,"input-id"],min:[1],max:[1],step:[1],value:[2],size:[1]}]]],["p-7c238437",[[2,"road-plate-number",{country:[1],disabled:[4],placeholder:[1],readonly:[4],value:[1032],motorbike:[4]}]]],["p-33736a71",[[1,"road-accordion",{isOpen:[1028,"is-open"],isLight:[4,"is-light"]}]]],["p-36282c04",[[1,"road-banner",{isOpen:[1028,"is-open"],label:[1],link:[1],url:[1],close:[64]}]]],["p-d2972ca0",[[4,"road-carousel",{options:[8],pager:[4],arrows:[4],update:[64],updateAutoHeight:[64],slideTo:[64],slideNext:[64],slidePrev:[64],getActiveIndex:[64],getPreviousIndex:[64],length:[64],isEnd:[64],isBeginning:[64],startAutoplay:[64],stopAutoplay:[64],lockSwipeToNext:[64],lockSwipeToPrev:[64],lockSwipes:[64],getSwiper:[64]}]]],["p-ba161705",[[6,"road-checkbox",{checkboxId:[1,"checkbox-id"],name:[1],required:[4],checked:[1028],indeterminate:[4],disabled:[4],value:[1],label:[1],inverse:[4],error:[1],helper:[1]}]]],["p-cd6f88a0",[[1,"road-chip",{color:[1],outline:[4],size:[1],hasCloseIcon:[4,"has-close-icon"]}]]],["p-78315356",[[1,"road-collapse",{isOpen:[1028,"is-open"],showMore:[1,"show-more"],showLess:[1,"show-less"],centered:[4]}]]],["p-a6c7ad99",[[1,"road-dialog",{isOpen:[1028,"is-open"],hasCloseIcon:[4,"has-close-icon"],color:[1],icon:[1],label:[1],description:[1],open:[64],close:[64]},[[4,"keyup","onEscape"]]]]],["p-697078eb",[[1,"road-dropdown",{isOpen:[1028,"is-open"],isLight:[4,"is-light"],position:[513],direction:[513]}]]],["p-f0b277b1",[[1,"road-modal",{maxWidth:[2,"max-width"],isOpen:[1028,"is-open"],hasInverseHeader:[4,"has-inverse-header"],modalTitle:[1,"modal-title"],hasCloseIcon:[4,"has-close-icon"],open:[64],close:[64]},[[4,"keyup","onEscape"]]]]],["p-9620b172",[[2,"road-range",{rangeId:[1,"range-id"],value:[1032],min:[1],max:[1],step:[1],showValue:[4,"show-value"],showTick:[4,"show-tick"]}]]],["p-e0514de4",[[1,"road-rating",{size:[513],rate:[2],reviews:[2],reviewsText:[1,"reviews-text"]}]]],["p-9dbe2062",[[1,"road-toast",{isOpen:[1028,"is-open"],color:[1],label:[1],timeout:[2],open:[64],close:[64]}]]],["p-a82fd96a",[[1,"road-alert",{color:[1],label:[1],link:[1],url:[1]}]]],["p-4e8c413a",[[6,"road-autocomplete",{options:[16],visible:[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[4,"click","onClickOutside"]]]]],["p-382e4c17",[[1,"road-avatar"]]],["p-1347a27e",[[4,"road-carousel-item"]]],["p-e82b49d1",[[1,"road-flap",{color:[1],size:[513]}]]],["p-1108fffd",[[1,"road-img",{alt:[1],src:[1],loadSrc:[32],loadError:[32]}]]],["p-e18fa251",[[1,"road-navbar",{selectedTab:[1,"selected-tab"]},[[0,"roadNavbarItemClick","onNavbarChanged"],[0,"roadnavbaritemclick","onNavbarChanged"]]]]],["p-896f49f2",[[1,"road-navbar-item",{disabled:[4],download:[1],href:[1],rel:[1],selected:[1028],tab:[1],target:[1]},[[8,"roadNavbarChanged","onNavbarChanged"],[8,"roadnavbarchanged","onNavbarChanged"]]]]],["p-ee16482c",[[1,"road-progress",{value:[2],label:[1],color:[1]}]]],["p-a00ea5b7",[[2,"road-radio",{radioId:[1,"radio-id"],name:[1],required:[4],disabled:[4],value:[8],label:[1],inverse:[4],error:[4],helper:[1],inline:[4],checked:[32]},[[8,"roadChange","onRoadChangedChanged"],[8,"roadchange","onRoadChangedChanged"]]]]],["p-cab68ba7",[[6,"road-radio-group",{radioGroupId:[1,"radio-group-id"],allowEmptySelection:[4,"allow-empty-selection"],name:[1],value:[1032],label:[1],asterisk:[4],ariaLabel:[513,"aria-label"],error:[1025],helper:[1]}]]],["p-ea1fe2a5",[[2,"road-select",{selectId:[1,"select-id"],options:[16],autofocus:[4],disabled:[4],name:[1],required:[4],size:[2],sizes:[1],label:[1],error:[1],value:[1032]}]]],["p-22ff574e",[[6,"road-select-filter",{options:[16],parameters:[8],isActive:[4,"is-active"],onlySelect:[4,"only-select"],isOpen:[32],currentValue:[32]},[[0,"roadFocus","handleFocus"],[0,"roadfocus","handleFocus"],[0,"roadBlur","handleBlur"],[0,"roadblur","handleBlur"],[0,"roadChange","handleChange"],[0,"roadchange","handleChange"],[4,"click","onClickOutside"]]]]],["p-f7f442a7",[[1,"road-skeleton"]]],["p-39a93000",[[1,"road-spinner",{size:[513],color:[513]}]]],["p-52cf548c",[[1,"road-stepper",{color:[513],light:[4],outline:[4],stateFirstStep:[1,"state-first-step"],stateSecondStep:[1,"state-second-step"],stateThirdStep:[1,"state-third-step"]}]]],["p-19f72337",[[2,"road-switch",{switchId:[1,"switch-id"],name:[1],checked:[1028],disabled:[4],label:[1],color:[1],hasLeftLabel:[4,"has-left-label"],isSpaced:[4,"is-spaced"],value:[1],on:[1],off:[1]}]]],["p-f0ec3a64",[[1,"road-tab",{active:[1028],tab:[1],setActive:[64]}]]],["p-21acc566",[[1,"road-tab-bar",{secondary:[4],expand:[4],center:[4],selectedTab:[1,"selected-tab"]}]]],["p-f5d32536",[[1,"road-tab-button",{download:[1],href:[1],rel:[1],layout:[1],selected:[1028],tab:[1],target:[1]},[[8,"roadTabBarChanged","onTabBarChanged"],[8,"roadTabbarchanged","onTabBarChanged"]]]]],["p-dbee6661",[[6,"road-table"]]],["p-e6664bbe",[[1,"road-tabs",{selectedTab:[32],select:[64],getTab:[64],getSelected:[64]}]]],["p-a9538932",[[1,"road-text",{color:[1]}]]],["p-9309300a",[[2,"road-textarea",{textareaId:[1,"textarea-id"],autocapitalize:[1],autofocus:[4],disabled:[4],inputmode:[1],enterkeyhint:[1],maxlength:[2],minlength:[2],name:[1],placeholder:[1],sizes:[1],readonly:[4],required:[4],spellcheck:[4],cols:[2],rows:[2],wrap:[1],value:[1025],label:[1],error:[1],helper:[1]}]]],["p-af49dca4",[[2,"road-toggle",{toggleId:[1,"toggle-id"],name:[1],checked:[1028],disabled:[4],label:[1],color:[1],hasLeftLabel:[4,"has-left-label"],isSpaced:[4,"is-spaced"],value:[1],on:[1],off:[1]}]]],["p-e5756d79",[[1,"road-toolbar-title"]]],["p-7118c44a",[[1,"road-tooltip",{tooltipId:[1,"tooltip-id"],content:[1],position:[1],contentAlign:[1,"content-align"],isOpen:[1028,"is-open"],trigger:[1],open:[64],close:[64]}]]],["p-1f1464ba",[[1,"road-card",{button:[4],value:[1],type:[1],download:[1],href:[1],rel:[1],target:[1]}]]],["p-d492d058",[[6,"road-input",{inputId:[1,"input-id"],autocapitalize:[1],autocomplete:[1],autocorrect:[1],autofocus:[4],disabled:[4],enterkeyhint:[1],inputmode:[1],max:[1],maxlength:[2],min:[1],minlength:[2],name:[1],pattern:[1],placeholder:[1],readonly:[4],required:[4],spellcheck:[4],step:[1],size:[2],sizes:[1],type:[1],value:[1032],label:[1],error:[1],helper:[1],debounce:[2]}]]],["p-5f21ee83",[[1,"road-input-group"]]]],e)));
|
|
@@ -8,5 +8,17 @@ export declare class Alert {
|
|
|
8
8
|
* Set the color of alert. e.g. info, success, warning, danger
|
|
9
9
|
*/
|
|
10
10
|
color: FeedbackColors;
|
|
11
|
+
/**
|
|
12
|
+
* Title display in the alert
|
|
13
|
+
*/
|
|
14
|
+
label?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Text Link display in the alert
|
|
17
|
+
*/
|
|
18
|
+
link?: string;
|
|
19
|
+
/**
|
|
20
|
+
* url display in the link
|
|
21
|
+
*/
|
|
22
|
+
url?: string;
|
|
11
23
|
render(): any;
|
|
12
24
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @slot stepper-icon - if the state of the step 1 is completed add
|
|
3
|
+
* `<road-icon name="check-small" class="d-block" color="white"></road-icon>` by default.
|
|
4
|
+
* `<road-icon name="check-small" class="d-block" color="secondary"></road-icon>` if is outline.
|
|
5
|
+
* `<road-icon name="check-small" class="d-block" color="defaut"></road-icon>` if the color is secondary.
|
|
6
|
+
* `<road-icon name="check-small" class="d-block" color="warning"></road-icon>` if the color is secondary and outline.
|
|
7
|
+
* @slot stepper-title - content not visible when collapsed.
|
|
8
|
+
* @slot stepper-icon2 - content not visible when collapsed.
|
|
9
|
+
* `<road-icon name="check-small" class="d-block" color="white"></road-icon>` by default.
|
|
10
|
+
* `<road-icon name="check-small" class="d-block" color="secondary"></road-icon>` if is outline.
|
|
11
|
+
* `<road-icon name="check-small" class="d-block" color="defaut"></road-icon>` if the color is secondary.
|
|
12
|
+
* `<road-icon name="check-small" class="d-block" color="warning"></road-icon>` if the color is secondary and outline.
|
|
13
|
+
* @slot stepper-title2 - content not visible when collapsed.
|
|
14
|
+
* @slot stepper-icon3 - content not visible when collapsed.
|
|
15
|
+
* `<road-icon name="check-small" class="d-block" color="white"></road-icon>` by default.
|
|
16
|
+
* `<road-icon name="check-small" class="d-block" color="secondary"></road-icon>` if is outline.
|
|
17
|
+
* `<road-icon name="check-small" class="d-block" color="defaut"></road-icon>` if the color is secondary.
|
|
18
|
+
* `<road-icon name="check-small" class="d-block" color="warning"></road-icon>` if the color is secondary and outline.
|
|
19
|
+
* @slot stepper-title3 - content not visible when collapsed.
|
|
20
|
+
*/
|
|
21
|
+
export declare class Stepper {
|
|
22
|
+
/**
|
|
23
|
+
* The color stepper.
|
|
24
|
+
*/
|
|
25
|
+
color?: 'default' | 'secondary';
|
|
26
|
+
/**
|
|
27
|
+
* Display an outline without background.
|
|
28
|
+
*/
|
|
29
|
+
light: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Display an outline style .
|
|
32
|
+
*/
|
|
33
|
+
outline: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* The color of the first step.
|
|
36
|
+
*/
|
|
37
|
+
stateFirstStep?: 'default' | 'current' | 'comleted';
|
|
38
|
+
/**
|
|
39
|
+
* The color of the second step.
|
|
40
|
+
*/
|
|
41
|
+
stateSecondStep?: 'default' | 'current' | 'comleted';
|
|
42
|
+
/**
|
|
43
|
+
* The color of the third step.
|
|
44
|
+
*/
|
|
45
|
+
stateThirdStep?: 'default' | 'current' | 'comleted';
|
|
46
|
+
render(): any;
|
|
47
|
+
}
|
|
@@ -22,6 +22,18 @@ export namespace Components {
|
|
|
22
22
|
* Set the color of alert. e.g. info, success, warning, danger
|
|
23
23
|
*/
|
|
24
24
|
"color": FeedbackColors;
|
|
25
|
+
/**
|
|
26
|
+
* Title display in the alert
|
|
27
|
+
*/
|
|
28
|
+
"label"?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Text Link display in the alert
|
|
31
|
+
*/
|
|
32
|
+
"link"?: string;
|
|
33
|
+
/**
|
|
34
|
+
* url display in the link
|
|
35
|
+
*/
|
|
36
|
+
"url"?: string;
|
|
25
37
|
}
|
|
26
38
|
interface RoadAutocomplete {
|
|
27
39
|
/**
|
|
@@ -1020,6 +1032,32 @@ export namespace Components {
|
|
|
1020
1032
|
*/
|
|
1021
1033
|
"size"?: 'small' | 'medium' | 'large' | 'xl';
|
|
1022
1034
|
}
|
|
1035
|
+
interface RoadStepper {
|
|
1036
|
+
/**
|
|
1037
|
+
* The color stepper.
|
|
1038
|
+
*/
|
|
1039
|
+
"color"?: 'default' | 'secondary';
|
|
1040
|
+
/**
|
|
1041
|
+
* Display an outline without background.
|
|
1042
|
+
*/
|
|
1043
|
+
"light": boolean;
|
|
1044
|
+
/**
|
|
1045
|
+
* Display an outline style .
|
|
1046
|
+
*/
|
|
1047
|
+
"outline": boolean;
|
|
1048
|
+
/**
|
|
1049
|
+
* The color of the first step.
|
|
1050
|
+
*/
|
|
1051
|
+
"stateFirstStep"?: 'default' | 'current' | 'comleted';
|
|
1052
|
+
/**
|
|
1053
|
+
* The color of the second step.
|
|
1054
|
+
*/
|
|
1055
|
+
"stateSecondStep"?: 'default' | 'current' | 'comleted';
|
|
1056
|
+
/**
|
|
1057
|
+
* The color of the third step.
|
|
1058
|
+
*/
|
|
1059
|
+
"stateThirdStep"?: 'default' | 'current' | 'comleted';
|
|
1060
|
+
}
|
|
1023
1061
|
interface RoadSwitch {
|
|
1024
1062
|
/**
|
|
1025
1063
|
* If `true`, the switch is checked.
|
|
@@ -1607,6 +1645,12 @@ declare global {
|
|
|
1607
1645
|
prototype: HTMLRoadSpinnerElement;
|
|
1608
1646
|
new (): HTMLRoadSpinnerElement;
|
|
1609
1647
|
};
|
|
1648
|
+
interface HTMLRoadStepperElement extends Components.RoadStepper, HTMLStencilElement {
|
|
1649
|
+
}
|
|
1650
|
+
var HTMLRoadStepperElement: {
|
|
1651
|
+
prototype: HTMLRoadStepperElement;
|
|
1652
|
+
new (): HTMLRoadStepperElement;
|
|
1653
|
+
};
|
|
1610
1654
|
interface HTMLRoadSwitchElement extends Components.RoadSwitch, HTMLStencilElement {
|
|
1611
1655
|
}
|
|
1612
1656
|
var HTMLRoadSwitchElement: {
|
|
@@ -1728,6 +1772,7 @@ declare global {
|
|
|
1728
1772
|
"road-select-filter": HTMLRoadSelectFilterElement;
|
|
1729
1773
|
"road-skeleton": HTMLRoadSkeletonElement;
|
|
1730
1774
|
"road-spinner": HTMLRoadSpinnerElement;
|
|
1775
|
+
"road-stepper": HTMLRoadStepperElement;
|
|
1731
1776
|
"road-switch": HTMLRoadSwitchElement;
|
|
1732
1777
|
"road-tab": HTMLRoadTabElement;
|
|
1733
1778
|
"road-tab-bar": HTMLRoadTabBarElement;
|
|
@@ -1759,6 +1804,18 @@ declare namespace LocalJSX {
|
|
|
1759
1804
|
* Set the color of alert. e.g. info, success, warning, danger
|
|
1760
1805
|
*/
|
|
1761
1806
|
"color"?: FeedbackColors;
|
|
1807
|
+
/**
|
|
1808
|
+
* Title display in the alert
|
|
1809
|
+
*/
|
|
1810
|
+
"label"?: string;
|
|
1811
|
+
/**
|
|
1812
|
+
* Text Link display in the alert
|
|
1813
|
+
*/
|
|
1814
|
+
"link"?: string;
|
|
1815
|
+
/**
|
|
1816
|
+
* url display in the link
|
|
1817
|
+
*/
|
|
1818
|
+
"url"?: string;
|
|
1762
1819
|
}
|
|
1763
1820
|
interface RoadAutocomplete {
|
|
1764
1821
|
/**
|
|
@@ -2871,6 +2928,32 @@ declare namespace LocalJSX {
|
|
|
2871
2928
|
*/
|
|
2872
2929
|
"size"?: 'small' | 'medium' | 'large' | 'xl';
|
|
2873
2930
|
}
|
|
2931
|
+
interface RoadStepper {
|
|
2932
|
+
/**
|
|
2933
|
+
* The color stepper.
|
|
2934
|
+
*/
|
|
2935
|
+
"color"?: 'default' | 'secondary';
|
|
2936
|
+
/**
|
|
2937
|
+
* Display an outline without background.
|
|
2938
|
+
*/
|
|
2939
|
+
"light"?: boolean;
|
|
2940
|
+
/**
|
|
2941
|
+
* Display an outline style .
|
|
2942
|
+
*/
|
|
2943
|
+
"outline"?: boolean;
|
|
2944
|
+
/**
|
|
2945
|
+
* The color of the first step.
|
|
2946
|
+
*/
|
|
2947
|
+
"stateFirstStep"?: 'default' | 'current' | 'comleted';
|
|
2948
|
+
/**
|
|
2949
|
+
* The color of the second step.
|
|
2950
|
+
*/
|
|
2951
|
+
"stateSecondStep"?: 'default' | 'current' | 'comleted';
|
|
2952
|
+
/**
|
|
2953
|
+
* The color of the third step.
|
|
2954
|
+
*/
|
|
2955
|
+
"stateThirdStep"?: 'default' | 'current' | 'comleted';
|
|
2956
|
+
}
|
|
2874
2957
|
interface RoadSwitch {
|
|
2875
2958
|
/**
|
|
2876
2959
|
* If `true`, the switch is checked.
|
|
@@ -3272,6 +3355,7 @@ declare namespace LocalJSX {
|
|
|
3272
3355
|
"road-select-filter": RoadSelectFilter;
|
|
3273
3356
|
"road-skeleton": RoadSkeleton;
|
|
3274
3357
|
"road-spinner": RoadSpinner;
|
|
3358
|
+
"road-stepper": RoadStepper;
|
|
3275
3359
|
"road-switch": RoadSwitch;
|
|
3276
3360
|
"road-tab": RoadTab;
|
|
3277
3361
|
"road-tab-bar": RoadTabBar;
|
|
@@ -3333,6 +3417,7 @@ declare module "@stencil/core" {
|
|
|
3333
3417
|
"road-select-filter": LocalJSX.RoadSelectFilter & JSXBase.HTMLAttributes<HTMLRoadSelectFilterElement>;
|
|
3334
3418
|
"road-skeleton": LocalJSX.RoadSkeleton & JSXBase.HTMLAttributes<HTMLRoadSkeletonElement>;
|
|
3335
3419
|
"road-spinner": LocalJSX.RoadSpinner & JSXBase.HTMLAttributes<HTMLRoadSpinnerElement>;
|
|
3420
|
+
"road-stepper": LocalJSX.RoadStepper & JSXBase.HTMLAttributes<HTMLRoadStepperElement>;
|
|
3336
3421
|
"road-switch": LocalJSX.RoadSwitch & JSXBase.HTMLAttributes<HTMLRoadSwitchElement>;
|
|
3337
3422
|
"road-tab": LocalJSX.RoadTab & JSXBase.HTMLAttributes<HTMLRoadTabElement>;
|
|
3338
3423
|
"road-tab-bar": LocalJSX.RoadTabBar & JSXBase.HTMLAttributes<HTMLRoadTabBarElement>;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as a,H as o}from"./p-33e38a04.js";let e=class{constructor(a){r(this,a),this.color="info"}render(){return a(o,{class:void 0!==this.color?`alert-${this.color}`:"",role:"alert"},a("div",{class:"alert-icon"},a("slot",{name:"icon"})),a("p",{class:"alert-description"},a("slot",null)))}};e.style=":host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;padding:0.5rem 1rem 0.5rem 0.5rem;font-family:var(--road-font, sans-serif);font-size:1rem;line-height:1.25;color:var(--road-grey-900);border:1px solid transparent;border-radius:0.25rem}.alert-icon{-ms-flex-negative:0;flex-shrink:0;width:2rem;height:2rem;margin-right:0.5rem}.alert-description{padding:0.375rem 0;margin:0}:host(.alert-info){background:var(--road-info-background);border-color:var(--road-info-default)}:host(.alert-info) ::slotted(road-icon){color:var(--road-info-default)}:host(.alert-success){background:var(--road-success-background);border-color:var(--road-success-default)}:host(.alert-success) ::slotted(road-icon){color:var(--road-success-default)}:host(.alert-warning){background:var(--road-warning-background);border-color:var(--road-warning-default)}:host(.alert-warning) ::slotted(road-icon){color:var(--road-warning-default)}:host(.alert-danger){background:var(--road-danger-background);border-color:var(--road-danger-default)}:host(.alert-danger) ::slotted(road-icon){color:var(--road-danger-default)}";export{e as road_alert}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-f33e4ac5.system.js"],(function(r){"use strict";var o,a,e;return{setters:[function(r){o=r.r;a=r.h;e=r.H}],execute:function(){var t=":host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;padding:0.5rem 1rem 0.5rem 0.5rem;font-family:var(--road-font, sans-serif);font-size:1rem;line-height:1.25;color:var(--road-grey-900);border:1px solid transparent;border-radius:0.25rem}.alert-icon{-ms-flex-negative:0;flex-shrink:0;width:2rem;height:2rem;margin-right:0.5rem}.alert-description{padding:0.375rem 0;margin:0}:host(.alert-info){background:var(--road-info-background);border-color:var(--road-info-default)}:host(.alert-info) ::slotted(road-icon){color:var(--road-info-default)}:host(.alert-success){background:var(--road-success-background);border-color:var(--road-success-default)}:host(.alert-success) ::slotted(road-icon){color:var(--road-success-default)}:host(.alert-warning){background:var(--road-warning-background);border-color:var(--road-warning-default)}:host(.alert-warning) ::slotted(road-icon){color:var(--road-warning-default)}:host(.alert-danger){background:var(--road-danger-background);border-color:var(--road-danger-default)}:host(.alert-danger) ::slotted(road-icon){color:var(--road-danger-default)}";var n=r("road_alert",function(){function r(r){o(this,r);this.color="info"}r.prototype.render=function(){var r=this.color!==undefined?"alert-"+this.color:"";return a(e,{class:r,role:"alert"},a("div",{class:"alert-icon"},a("slot",{name:"icon"})),a("p",{class:"alert-description"},a("slot",null)))};return r}());n.style=t}}}));
|