@cupra/ui-kit 2.0.0-canary.58 → 2.0.0-canary.59
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/components/ds-accordion/theme-config.cjs +1 -1
- package/dist/cjs/components/ds-drawer/theme-config.cjs +1 -1
- package/dist/cjs/components/ds-icon/iconNames.cjs +1 -1
- package/dist/cjs/components/ds-map-pin/ds-map-pin.cjs +1 -6
- package/dist/cjs/components/ds-map-pin/styles/common.styles.cjs +3 -4
- package/dist/cjs/components/ds-media-control/styles/common.styles.cjs +1 -1
- package/dist/cjs/components/ds-theme-provider/ds-theme-provider.cjs +1 -1
- package/dist/cjs/components/ds-tooltip/ds-tooltip.cjs +2 -2
- package/dist/cjs/utils/IconsManager.cjs +1 -1
- package/dist/cjs/utils/PubSub.cjs +1 -1
- package/dist/cjs/utils/StylesRegistry/StylesRegistry.cjs +1 -1
- package/dist/cjs/utils/cssWithTokens.cjs +1 -1
- package/dist/cjs/utils/htmlWithTokens.cjs +1 -1
- package/dist/esm/components/ds-accordion/theme-config.js +5 -5
- package/dist/esm/components/ds-drawer/theme-config.js +1 -1
- package/dist/esm/components/ds-icon/iconNames.js +1 -0
- package/dist/esm/components/ds-map-pin/ds-map-pin.js +4 -9
- package/dist/esm/components/ds-map-pin/styles/common.styles.js +4 -5
- package/dist/esm/components/ds-media-control/styles/common.styles.js +4 -4
- package/dist/esm/components/ds-theme-provider/ds-theme-provider.js +1 -1
- package/dist/esm/components/ds-tooltip/ds-tooltip.js +10 -10
- package/dist/esm/utils/IconsManager.js +1 -1
- package/dist/esm/utils/PubSub.js +1 -1
- package/dist/esm/utils/StylesRegistry/StylesRegistry.js +1 -1
- package/dist/esm/utils/cssWithTokens.js +1 -1
- package/dist/esm/utils/htmlWithTokens.js +1 -1
- package/dist/types/components/ds-icon/Icons.type.d.ts +1 -1
- package/dist/types/components/ds-icon/iconNames.d.ts +1 -1
- package/dist-react/cjs/components/ds-accordion/theme-config.cjs +1 -1
- package/dist-react/cjs/components/ds-drawer/theme-config.cjs +1 -1
- package/dist-react/cjs/components/ds-icon/iconNames.cjs +1 -1
- package/dist-react/cjs/components/ds-map-pin/ds-map-pin.cjs +1 -6
- package/dist-react/cjs/components/ds-map-pin/styles/common.styles.cjs +3 -4
- package/dist-react/cjs/components/ds-media-control/styles/common.styles.cjs +1 -1
- package/dist-react/cjs/components/ds-theme-provider/ds-theme-provider.cjs +1 -1
- package/dist-react/cjs/components/ds-tooltip/ds-tooltip.cjs +2 -2
- package/dist-react/cjs/utils/IconsManager.cjs +1 -1
- package/dist-react/cjs/utils/PubSub.cjs +1 -1
- package/dist-react/cjs/utils/StylesRegistry/StylesRegistry.cjs +1 -1
- package/dist-react/cjs/utils/cssWithTokens.cjs +1 -1
- package/dist-react/cjs/utils/htmlWithTokens.cjs +1 -1
- package/dist-react/esm/components/ds-accordion/theme-config.js +5 -5
- package/dist-react/esm/components/ds-drawer/theme-config.js +1 -1
- package/dist-react/esm/components/ds-icon/iconNames.js +1 -0
- package/dist-react/esm/components/ds-map-pin/ds-map-pin.js +4 -9
- package/dist-react/esm/components/ds-map-pin/styles/common.styles.js +4 -5
- package/dist-react/esm/components/ds-media-control/styles/common.styles.js +4 -4
- package/dist-react/esm/components/ds-theme-provider/ds-theme-provider.js +1 -1
- package/dist-react/esm/components/ds-tooltip/ds-tooltip.js +10 -10
- package/dist-react/esm/utils/IconsManager.js +1 -1
- package/dist-react/esm/utils/PubSub.js +1 -1
- package/dist-react/esm/utils/StylesRegistry/StylesRegistry.js +1 -1
- package/dist-react/esm/utils/cssWithTokens.js +1 -1
- package/dist-react/esm/utils/htmlWithTokens.js +1 -1
- package/dist-react/types/components/ds-icon/Icons.type.d.ts +1 -1
- package/dist-react/types/components/ds-icon/iconNames.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={cupra:{"icon-names":{open:"minus",close:"plus"},"icon-button-variant":"secondary"},"cupra-diagonal":{"icon-names":{open:"arrow-up",close:"arrow-down"},"icon-button-variant":"primary"},seat:{"icon-names":{open:"arrow-up",close:"arrow-down"},"icon-button-variant":"primary"}};exports.themeConfig=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={cupra:{"icon-button-variant":"primary"},"cupra-diagonal":{"icon-button-variant":"tertiary"},seat:{"icon-button-variant":"
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={cupra:{"icon-button-variant":"primary"},"cupra-diagonal":{"icon-button-variant":"tertiary"},seat:{"icon-button-variant":"tertiary"}};exports.themeConfig=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=["9-circles","ad-color","ae-color","af-color","ag-color","ai-color","al-color","am-color","an-color","ao-color","ar-color","arrow-down","arrow-down-line","arrow-download","arrow-exit","arrow-expand","arrow-external-link","arrow-left","arrow-left-line","arrow-reload","arrow-right","arrow-right-line","arrow-rotate-360","arrow-rotate-360-horizontal","arrow-switch","arrow-up","arrow-up-line","arrow-upload","at-color","au-color","aw-color","ax-color","az-color","b-color","ba-color","battery-g-4-01","battery-inclined-fill","battery-vertical-100","battery-2-sub-arrows-up","battery-3-sub-arrows-up","bb-color","bd-color","be-color","bell","bf-color","bg-color","bh-color","bi-color","bill","bin","bj-color","bm-color","bn-color","bo-color","book-mark","box","br-color","bs-color","bt-color","bw-color","by-color","bz-color","c-color","ca-color","cable","caf-color","calendar","camera","car-arrow-down","car-compare","car-door","car-frontal","car-imodel","car-in-window","car-lateral","car-model","car-seat","cart","cart-down","cas-color","cd-color","cercle-ribbon-check","ceu-color","cf-color","cg-color","ch-color","charger-acc","charger-type-2","chat-bubble","check","check-mark-circle","ci-color","city","cl-color","clock","cloud-co-2","cm-color","cn-color","cna-color","co-color","coc-color","computer-display","cr-color","credit-card","cross","cross-circle","csa-color","cu-color","cv-color","cy-color","cz-color","de-color","dj-color","dk-color","dm-color","do-color","document","document-check","document-copy","document-download","document-time","dot","dz-color","ec-color","eco-color","ee-color","eg-color","electric-station","engine","envelope","equals-sign","er-color","es-color","et-color","eu-color","euro","exclamation-mark-circle","exclamation-mark-triangle","eye","eye-crossed-out","facebook","fi-color","filter","fj-color","fk-color","fm-color","fr-color","fuel-station","ga-color","garage","gb-color","gd-color","ge-color","gear","gg-color","gh-color","gi-color","globe","gm-color","gn-color","gq-color","gr-color","gt-color","gw-color","gy-color","half-star-filled","headlight","heart","heart-filled","highway","hk-color","hn-color","hr-color","ht-color","hu-color","id-color","ie-color","il-color","im-color","in-color","info-circle","info-triangle","instagram","iq-color","ir-color","is-color","it-color","je-color","jm-color","jo-color","jp-color","ke-color","key","kg-color","kh-color","km-color","kn-color","kp-color","kr-color","kw-color","ky-color","kz-color","la-color","label-a-color","label-b-color","label-c-color","label-d-color","label-e-color","label-f-color","label-g-color","label-h-color","label-i-color","label-j-color","label-k-color","label-l-color","label-m-color","lb-color","lc-color","li-color","light","lightning","link","linkedin","list","lk-color","loader","location-poi","lock-locked","lock-unlocked","logo","logo-light","logo-lockup","logo-wordmark","lr-color","ls-color","lt-color","lu-color","lv-color","ly-color","ma-color","magnifying-glass","magnifying-glass-minus","magnifying-glass-plus","math-symbols-square","mc-color","md-color","me-color","menu","mg-color","micro","micro-crossed-out","minus","mk-color","ml-color","mm-color","mn-color","mo-color","mobile","moon","mountains","mr-color","ms-color","mt-color","mu-color","mv-color","mw-color","mx-color","my-color","mz-color","na-color","ne-color","ng-color","ni-color","nl-color","no-color","np-color","nz-color","om-color","pa-color","parking","pause","pause-loading","pcircle","pe-color","pen","pen-paper","person-open-arms","pf-color","pg-color","ph-color","phone-contact","pig-coin","pk-color","pl-color","play","play-circle","plug-regular","plus","position","pr-color","pt-color","pw-color","py-color","qa-color","question-mark","ro-color","road","road-mountain","rs-color","ru-color","rw-color","sa-color","sb-color","scan-qr","sc-color","sd-color","se-color","seat-front","sg-color","sh-color","share","shopping-bag","si-color","sk-color","sl-color","sm-color","sn-color","so-color","speaker","speaker-crossed-out","spray","sr-color","st-color","star","star-filled","store","suitcase","sun","sv-color","sy-color","sz-color","tag","tc-color","td-color","telegram","tg-color","th-color","ticket","tj-color","tl-color","tm-color","tn-color","to-color","tr-color","transmission-automatic","transmission-manual","triple-dot-h","triple-dot-v","tt-color","tw-color","twitter","tz-color","ua-color","ug-color","us-color","user","uy-color","uz-color","vc-color","ve-color","vg-color","video-camera","video-camera-crossed-out","vimeo","vn-color","vu-color","wall-charger","whatsapp","wheel","wifi","wrench-hammer","ws-color","ww-color","ye-color","youtube","za-color","zero-color","zm-color","zw-color"];exports.iconNames=o;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=["9-circles","ad-color","ae-color","af-color","ag-color","ai-color","al-color","am-color","an-color","ao-color","ar-color","arrow-down","arrow-down-line","arrow-download","arrow-exit","arrow-expand","arrow-external-link","arrow-left","arrow-left-line","arrow-reload","arrow-right","arrow-right-line","arrow-rotate-360","arrow-rotate-360-horizontal","arrow-switch","arrow-up","arrow-up-line","arrow-upload","at-color","au-color","aw-color","ax-color","az-color","b-color","ba-color","battery-g-4-01","battery-inclined-fill","battery-vertical-100","battery-2-sub-arrows-up","battery-3-sub-arrows-up","bb-color","bd-color","be-color","bell","bf-color","bg-color","bh-color","bi-color","bill","bin","bj-color","bm-color","bn-color","bo-color","book-mark","box","br-color","bs-color","bt-color","bw-color","by-color","bz-color","c-color","ca-color","cable","caf-color","calendar","camera","car-arrow-down","car-compare","car-door","car-frontal","car-imodel","car-in-window","car-lateral","car-model","car-seat","cart","cart-down","cas-color","cd-color","cercle-ribbon-check","ceu-color","cf-color","cg-color","ch-color","charger-acc","charger-type-2","chat-bubble","check","check-mark-circle","ci-color","city","cl-color","clock","cloud-co-2","cm-color","cn-color","cna-color","co-color","coc-color","computer-display","cr-color","credit-card","cross","cross-circle","csa-color","cu-color","cv-color","cy-color","cz-color","de-color","dj-color","dk-color","dm-color","do-color","document","document-check","document-copy","document-download","document-time","dot","dz-color","ec-color","eco-color","ee-color","eg-color","electric-station","engine","envelope","equals-sign","er-color","es-color","et-color","eu-color","euro","exclamation-mark-circle","exclamation-mark-triangle","eye","eye-crossed-out","facebook","fi-color","filter","fj-color","fk-color","fm-color","fr-color","fuel-station","ga-color","garage","gb-color","gd-color","ge-color","gear","gg-color","gh-color","gi-color","globe","gm-color","gn-color","gq-color","gr-color","gt-color","gw-color","gy-color","half-star-filled","headlight","heart","heart-filled","highway","hk-color","hn-color","hr-color","ht-color","hu-color","id-color","ie-color","il-color","im-color","in-color","info-circle","info-triangle","instagram","iq-color","ir-color","is-color","it-color","je-color","jm-color","jo-color","jp-color","ke-color","key","kg-color","kh-color","km-color","kn-color","kp-color","kr-color","kw-color","ky-color","kz-color","la-color","label-a-color","label-b-color","label-c-color","label-d-color","label-e-color","label-f-color","label-g-color","label-h-color","label-i-color","label-j-color","label-k-color","label-l-color","label-m-color","lb-color","lc-color","li-color","light","lightning","link","linkedin","list","lk-color","loader","location-poi","lock-locked","lock-unlocked","logo","logo-light","logo-lockup","logo-wordmark","lr-color","ls-color","lt-color","lu-color","lv-color","ly-color","ma-color","magnifying-glass","magnifying-glass-minus","magnifying-glass-plus","math-symbols-square","mc-color","md-color","me-color","menu","mg-color","micro","micro-crossed-out","minus","mk-color","ml-color","mm-color","mn-color","mo-color","mobile","moon","mountains","mr-color","ms-color","mt-color","mu-color","mv-color","mw-color","mx-color","my-color","mz-color","na-color","ne-color","ng-color","ni-color","nl-color","no-color","np-color","nz-color","om-color","pa-color","parking","pause","pause-loading","pcircle","pe-color","pen","pen-paper","person-open-arms","pf-color","pg-color","ph-color","phone-contact","pig-coin","pk-color","pl-color","play","play-circle","plug-charge","plug-regular","plus","position","pr-color","pt-color","pw-color","py-color","qa-color","question-mark","ro-color","road","road-mountain","rs-color","ru-color","rw-color","sa-color","sb-color","scan-qr","sc-color","sd-color","se-color","seat-front","sg-color","sh-color","share","shopping-bag","si-color","sk-color","sl-color","sm-color","sn-color","so-color","speaker","speaker-crossed-out","spray","sr-color","st-color","star","star-filled","store","suitcase","sun","sv-color","sy-color","sz-color","tag","tc-color","td-color","telegram","tg-color","th-color","ticket","tj-color","tl-color","tm-color","tn-color","to-color","tr-color","transmission-automatic","transmission-manual","triple-dot-h","triple-dot-v","tt-color","tw-color","twitter","tz-color","ua-color","ug-color","us-color","user","uy-color","uz-color","vc-color","ve-color","vg-color","video-camera","video-camera-crossed-out","vimeo","vn-color","vu-color","wall-charger","whatsapp","wheel","wifi","wrench-hammer","ws-color","ww-color","ye-color","youtube","za-color","zero-color","zm-color","zw-color"];exports.iconNames=o;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../base/UiKitElement.cjs"),u=require("../../decorators/customUiKitElement.cjs"),h=require("../../utils/booleanConverter.cjs");require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.cjs");const r=require("../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs");require("../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs");const i=require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.cjs"),m=require("../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.cjs"),y=require("./styles/common.styles.cjs");var d=Object.defineProperty,b=Object.getOwnPropertyDescriptor,e=(o,s,c,n)=>{for(var t=n>1?void 0:n?b(s,c):s,p=o.length-1,a;p>=0;p--)(a=o[p])&&(t=(n?a(s,c,t):a(t))||t);return n&&t&&d(s,c,t),t};exports.DsMapPin=class extends l.UiKitElement{constructor(){super(...arguments),this.width=48,this.height=48,this.checked=!1,this.iconSize=24,this.iconTop=8}get iconTemplate(){return this.iconName?this.componentFactory.createIcon({class:"icon","icon-name":this.iconName,size:this.iconSize}):r.nothing}get clusterNumberTemplate(){return this.clusterCount?r.html`
|
|
2
2
|
<div class='cluster-count'>
|
|
3
3
|
${this.clusterCount}
|
|
4
4
|
</div>
|
|
5
5
|
`:r.nothing}handleClick(){this.checked=!this.checked,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{checked:this.checked}}))}get styleTokens(){return r.html`
|
|
6
6
|
<style>
|
|
7
|
-
:host{
|
|
8
|
-
--ui-kit-icon-color: var(--ui-kit-map-pin-icon-color);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
7
|
.icon {
|
|
12
8
|
top: ${this.iconTop}px;
|
|
13
9
|
}
|
|
@@ -27,7 +23,6 @@
|
|
|
27
23
|
fill-rule="evenodd"
|
|
28
24
|
clip-rule="evenodd"
|
|
29
25
|
d="M24.1599 48.6467C26.4109 38.2008 41.9998 30.5848 41.9998 18.5849C41.9998 8.74991 33.9409 0.777954 23.9999 0.777954C14.059 0.777954 6 8.74991 6 18.5849C6 31.2298 21.5719 37.9948 23.5469 48.6077C23.7759 48.8277 23.8869 48.8277 24.1599 48.6467Z"
|
|
30
|
-
fill="#1B1B1B"
|
|
31
26
|
/>
|
|
32
27
|
</svg>
|
|
33
28
|
${this.iconTemplate}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.cjs");require("../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs");require("../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs");const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.cjs");require("../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs");require("../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs");const i=require("../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.cjs"),t=i.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-block;
|
|
4
|
+
--ui-kit-icon-color: var(--ui-kit-map-pin-icon-color);
|
|
4
5
|
}
|
|
5
6
|
|
|
6
7
|
.container {
|
|
@@ -24,7 +25,5 @@
|
|
|
24
25
|
right: -6px;
|
|
25
26
|
width: 24px;
|
|
26
27
|
height: 24px;
|
|
27
|
-
font-style: normal;
|
|
28
|
-
font-weight: 400;
|
|
29
28
|
}
|
|
30
|
-
`;exports.mapPinStyles=
|
|
29
|
+
`;exports.mapPinStyles=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../../core/theme.constants.cjs"),p=require("../../decorators/customUiKitElement.cjs"),f=require("../../node_modules/.pnpm/@lit_context@1.1.6/node_modules/@lit/context/lib/decorators/provide.cjs"),y=require("../../utils/PubSub.cjs"),m=require("../../utils/booleanConverter.cjs");require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.cjs");const l=require("../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs"),v=require("../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs"),h=require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.cjs"),u=require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.cjs"),$=require("../../styles/source/shared/fonts-config.cjs"),T=require("./themeContext.cjs");var b=Object.defineProperty,P=Object.getOwnPropertyDescriptor,d=(a,e,s,o)=>{for(var t=o>1?void 0:o?P(e,s):e,r=a.length-1,n;r>=0;r--)(n=a[r])&&(t=(o?n(e,s,t):n(t))||t);return o&&t&&b(e,s,t),t};exports.DsThemeProvider=class extends v.LitElement{constructor(){super(...arguments),this.loadFonts=!0,this.loadStyles=!0,this.cssLoaded=!1,this.loadedFonts=new Set}updated(e){super.updated(e),e.has("theme")&&(y.pubSub.publish("theme",this.theme),sessionStorage==null||sessionStorage.setItem(c.THEME_STORAGE_KEY,this.theme),typeof FontFace<"u"&&(document!=null&&document.fonts)&&this.loadThemeFonts(),this.loadThemeStyles().then(()=>{this.cssLoaded=!0,this.dispatchEvent(new CustomEvent("ui-kit:ready",{bubbles:!0,composed:!0}))}))}loadThemeFonts(){var e;(e=$.fontsConfig[this.theme])==null||e.fonts.forEach(s=>{this.loadThemeFont(s)})}async loadThemeFont({weight:e,name:s,file:o}){if(!this.loadFonts)return Promise.resolve();const t=`${s}-${e}`;if(this.loadedFonts.has(t))return;const r=new FontFace(s,`url('https://ds-assets.cupra.com/fonts/${this.theme}/${o}.woff2') format('woff2'),
|
|
2
2
|
url('https://ds-assets.cupra.com/fonts/${this.theme}/${o}.woff') format('woff'),
|
|
3
3
|
url('https://ds-assets.cupra.com/fonts/${this.theme}/${o}.ttf') format('truetype'),
|
|
4
|
-
url('https://ds-assets.cupra.com/fonts/${this.theme}/${o}.otf') format('opentype')`,{style:"normal",weight:e,display:"swap"});try{await r.load(),document.fonts.add(r),this.loadedFonts.add(t)}catch(n){console.error(`Error loading "${s}" font with "${e}" weight:`,n)}}loadThemeStyles(){return this.loadStyles?new Promise((e,s)=>{const o="/2.0.0-canary.
|
|
4
|
+
url('https://ds-assets.cupra.com/fonts/${this.theme}/${o}.otf') format('opentype')`,{style:"normal",weight:e,display:"swap"});try{await r.load(),document.fonts.add(r),this.loadedFonts.add(t)}catch(n){console.error(`Error loading "${s}" font with "${e}" weight:`,n)}}loadThemeStyles(){return this.loadStyles?new Promise((e,s)=>{const o="/2.0.0-canary.59",t=`https://ds-assets.cupra.com${o}/styles/${this.theme}/theme.css`;if(document.head.querySelector(`link[href="${t}"]`))e();else{const r=`ui-kit-theme-${o}`,n=document.getElementById(r),i=document.createElement("link");i.id=r,i.rel="stylesheet",i.href=t,i.onload=()=>e(),i.onerror=()=>s(new Error(`Failed to load theme CSS: ${t}`)),document.head.appendChild(i),n==null||n.remove()}}):Promise.resolve()}render(){return this.cssLoaded?l.html`<slot></slot>`:l.nothing}};d([h.property({type:Boolean,converter:m.booleanConverter,attribute:"load-fonts"})],exports.DsThemeProvider.prototype,"loadFonts",2);d([h.property({type:Boolean,converter:m.booleanConverter,attribute:"load-styles"})],exports.DsThemeProvider.prototype,"loadStyles",2);d([f.provide({context:T.themeContext}),h.property({type:String})],exports.DsThemeProvider.prototype,"theme",2);d([u.state()],exports.DsThemeProvider.prototype,"cssLoaded",2);d([u.state()],exports.DsThemeProvider.prototype,"loadedFonts",2);exports.DsThemeProvider=d([p.customUiKitElement("ds-theme-provider")],exports.DsThemeProvider);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../base/UiKitElement.cjs"),b=require("../../decorators/customUiKitElement.cjs"),r=require("../../node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs"),c=require("../../utils/booleanConverter.cjs"),g=require("../../utils/debounce.cjs"),P=require("../../utils/htmlWithTokens.cjs");require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.cjs");const a=require("../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs");require("../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs");const h=require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.cjs"),y=require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.cjs"),m=require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query.cjs"),p=require("../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-elements.cjs"),d=require("../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.cjs"),$=require("./styles/common.styles.cjs");var D=Object.defineProperty,E=Object.getOwnPropertyDescriptor,o=(u,e,t,s)=>{for(var i=s>1?void 0:s?E(e,t):e,n=u.length-1,l;n>=0;n--)(l=u[n])&&(i=(s?l(e,t,i):l(i))||i);return s&&i&&D(e,t,i),i};exports.DsTooltip=class extends v.UiKitElement{constructor(){super(...arguments),this.mode="light",this.show=!1,this.disableHoverListener=!1,this.disableFocusListener=!1,this.disablePressListener=!1,this.tooltipId=`ds-tooltip-${Date.now()}-${Math.floor(Math.random()*1e6)}`,this.usingKeyboard=!1,this.handleKeyDown=()=>{this.usingKeyboard=!0},this.handlePointerDown=()=>{this.usingKeyboard=!1},this.handleTooltipPointerDown=e=>{e.stopImmediatePropagation()},this.handleResize=g.debounce({func:()=>this.requestUpdate()}),this.handleClose=()=>{this.show=!1},this.handleAnchorPointerDown=e=>{this.disablePressListener||e.button===0&&(this.show=!this.show)},this.handleAnchorMouseOver=()=>{this.disableHoverListener||(this.show=!0)},this.handleAnchorMouseOut=()=>{this.disableHoverListener||setTimeout(()=>{var e,t,s,i,n;!((t=(e=this.container)==null?void 0:e.matches)!=null&&t.call(e,":hover"))&&!((i=(s=this.arrow)==null?void 0:s.matches)!=null&&i.call(s,":hover"))&&!((n=this==null?void 0:this.matches)!=null&&n.call(this,":hover"))&&(this.show=!1)},150)},this.handleAnchorFocusIn=()=>{this.usingKeyboard&&(this.disableFocusListener||(this.show=!0))},this.handleAnchorFocusOut=()=>{this.usingKeyboard&&(this.disableFocusListener||(this.show=!1))},this.handlePressOutside=e=>{var s;if(this.disablePressListener||e.button!==0)return;const t=e.target;t===this||this.contains(t)||(s=this.shadowRoot)!=null&&s.contains(t)||this.anchorElements[0]===t||this.anchorElements[0].contains(t)||(this.show=!1)}}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.container)!=null&&e.matches(":popover-open")&&this.container.hidePopover(),window.removeEventListener("resize",this.handleResize),document.removeEventListener("pointerdown",this.handlePressOutside),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("pointerdown",this.handlePointerDown)}updated(e){var t;document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("pointerdown",this.handlePointerDown),this.show&&this.container&&!this.container.matches(":popover-open")?this.container.showPopover():!this.show&&((t=this.container)!=null&&t.matches(":popover-open"))&&this.container.hidePopover(),this.updatePosition(),e.has("show")&&(this.show?(window.addEventListener("resize",this.handleResize),document.addEventListener("pointerdown",this.handlePressOutside)):(window.removeEventListener("resize",this.handleResize),document.removeEventListener("pointerdown",this.handlePressOutside)))}updatePosition(){requestAnimationFrame(()=>{var e;!this.anchorContainer||!this.container||!this.show||!((e=this.anchorElements)!=null&&e[0])||!(this.anchorContainer instanceof Element)||!(this.container instanceof Element)||!(this.arrow instanceof Element)||(r.computePosition(this.anchorContainer,this.container,{strategy:"fixed",placement:"bottom-start",middleware:[r.flip(),r.shift(),r.offset({mainAxis:8,crossAxis:-8}),r.arrow({element:this.arrow}),r.size({apply({availableWidth:t,availableHeight:s,elements:i}){Object.assign(i.floating.style,{maxWidth:`${Math.min(240,t-8)}px`,maxHeight:`${Math.max(0,s-8)}px`})}})]}).then(t=>{const{x:s,y:i,middlewareData:n,placement:l}=t;if(this.tooltopPlacement=l,Object.assign(this.container.style,{left:`${s??0}px`,top:`${i??0}px`}),n.arrow){const{x:w,y:f}=n.arrow;Object.assign(this.arrow.style,{left:w!=null?`${w}px`:"",top:f!=null?`${f}px`:""})}}),this.requestUpdate())})}get arrowClasses(){var e;return{arrow:!0,[this.mode]:!0,"not-positionable":(this==null?void 0:this.offsetWidth)>((e=this.container)==null?void 0:e.offsetWidth)}}get containerClasses(){return{container:!0,[this.tooltopPlacement]:!!this.tooltopPlacement,[this.mode]:!0}}get headerClasses(){var e,t;return{"header-container":!0,hidden:((e=this.headerElements)==null?void 0:e.length)===0&&((t=this.closeButtonElements)==null?void 0:t.length)===0}}get contentClasses(){var e;return{"content-container":!0,"ds-scroll":!0,"ds-scroll--size-s":!0,hidden:((e=this.contentElements)==null?void 0:e.length)===0}}get arrowTemplate(){return a.html`
|
|
2
2
|
<svg id="arrow" xmlns="http://www.w3.org/2000/svg" width="17" height="9" viewBox="0 0 17 9" fill="none" class=${d.classMap(this.arrowClasses)} @mouseout="${this.handleAnchorMouseOut}" aria-hidden="true" focusable="false">
|
|
3
|
-
<path d="M5.77946 4.38048L0.5 9L16 9L11.1427 4.46656C9.88663 3.29419 9.25858 2.708 8.48883 2.69565C7.71909 2.68329 7.07255 3.24902 5.77946 4.38048Z"
|
|
4
|
-
<path d="M0.5 8.5L5.89467 4.11683C7.1398 3.10516 7.76236 2.59933 8.49029 2.6109C9.21822 2.62246 9.8244 3.14782 11.0368 4.19853L16 8.5" stroke
|
|
3
|
+
<path d="M5.77946 4.38048L0.5 9L16 9L11.1427 4.46656C9.88663 3.29419 9.25858 2.708 8.48883 2.69565C7.71909 2.68329 7.07255 3.24902 5.77946 4.38048Z" class="ds-tooltip-arrow-background"/>
|
|
4
|
+
<path d="M0.5 8.5L5.89467 4.11683C7.1398 3.10516 7.76236 2.59933 8.49029 2.6109C9.21822 2.62246 9.8244 3.14782 11.0368 4.19853L16 8.5" stroke-opacity="1" stroke-linecap="round" class="ds-tooltip-arrow-border"/>
|
|
5
5
|
</svg>`}get tooltipTemplate(){return a.html`
|
|
6
6
|
<div
|
|
7
7
|
id=${this.tooltipId}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../core/theme.constants.cjs"),l=require("./PubSub.cjs");class u{constructor(){this.icons={},this.handleChangeTheme=e=>{if(this.theme===e)return;this.theme=e;const n=Object.keys(this.icons);this.icons={},n.forEach(s=>this.fetchIcon(s))},this.fetchIcon=async(e,n={})=>{const s=typeof sessionStorage<"u"?sessionStorage==null?void 0:sessionStorage.getItem(r.THEME_STORAGE_KEY):null;!this.theme&&s&&(this.theme=s);const t=this.icons[e];if(t)return await t;const i=this.loadIcon(e,n).catch(a=>{throw delete this.icons[e],a});return this.icons[e]=i,i},this.loadIcon=(e,{cache:n="force-cache",...s})=>!this.theme||typeof fetch>"u"?Promise.resolve('<svg class="ds-icon"></svg>'):fetch(`https://ds-assets.cupra.com/icons/${this.theme}/${e}.svg`,{cache:n,...s}).then(t=>t.text()).catch(t=>{if((t==null?void 0:t.name)==="AbortError")throw t;return console.error(`Failed to fetch icon "${e}":`,t),""}),l.pubSub.subscribe("theme",this.handleChangeTheme)}}const o=Symbol.for("@cupra/ui-kit/icons-manager/2.0.0-canary.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../core/theme.constants.cjs"),l=require("./PubSub.cjs");class u{constructor(){this.icons={},this.handleChangeTheme=e=>{if(this.theme===e)return;this.theme=e;const n=Object.keys(this.icons);this.icons={},n.forEach(s=>this.fetchIcon(s))},this.fetchIcon=async(e,n={})=>{const s=typeof sessionStorage<"u"?sessionStorage==null?void 0:sessionStorage.getItem(r.THEME_STORAGE_KEY):null;!this.theme&&s&&(this.theme=s);const t=this.icons[e];if(t)return await t;const i=this.loadIcon(e,n).catch(a=>{throw delete this.icons[e],a});return this.icons[e]=i,i},this.loadIcon=(e,{cache:n="force-cache",...s})=>!this.theme||typeof fetch>"u"?Promise.resolve('<svg class="ds-icon"></svg>'):fetch(`https://ds-assets.cupra.com/icons/${this.theme}/${e}.svg`,{cache:n,...s}).then(t=>t.text()).catch(t=>{if((t==null?void 0:t.name)==="AbortError")throw t;return console.error(`Failed to fetch icon "${e}":`,t),""}),l.pubSub.subscribe("theme",this.handleChangeTheme)}}const o=Symbol.for("@cupra/ui-kit/icons-manager/2.0.0-canary.59"),h=globalThis;let c=h[o];c||(c=new u,Object.defineProperty(h,o,{value:c,writable:!1,configurable:!1,enumerable:!1}));const f=c;exports.iconsManager=f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class u{constructor(){this.subscribers={},this.lastPublishedData={}}subscribe(s,r){return this.subscribers[s]||(this.subscribers[s]=[]),this.subscribers[s].push(r),this.lastPublishedData[s]}unsubscribe(s,r){this.subscribers[s]&&(this.subscribers[s]=this.subscribers[s].filter(i=>i!==r))}publish(s,r){this.lastPublishedData[s]=r,this.subscribers[s]&&this.subscribers[s].forEach(i=>{try{i(r)}catch(c){console.error(`Error in subscriber for event "${s}":`,c)}})}}const t=Symbol.for("@cupra/ui-kit/pubsub/2.0.0-canary.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class u{constructor(){this.subscribers={},this.lastPublishedData={}}subscribe(s,r){return this.subscribers[s]||(this.subscribers[s]=[]),this.subscribers[s].push(r),this.lastPublishedData[s]}unsubscribe(s,r){this.subscribers[s]&&(this.subscribers[s]=this.subscribers[s].filter(i=>i!==r))}publish(s,r){this.lastPublishedData[s]=r,this.subscribers[s]&&this.subscribers[s].forEach(i=>{try{i(r)}catch(c){console.error(`Error in subscriber for event "${s}":`,c)}})}}const t=Symbol.for("@cupra/ui-kit/pubsub/2.0.0-canary.59"),e=globalThis;let b=e[t];b||(b=new u,Object.defineProperty(e,t,{value:b,writable:!1,configurable:!1,enumerable:!1}));const l=b;exports.PubSub=u;exports.pubSub=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class s{constructor(){this.stylePromises=new Map,this.getStyles=async({componentName:e,theme:t})=>{if(!t||!e)return;const r=`https://ds-assets.cupra.com/2.0.0-canary.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class s{constructor(){this.stylePromises=new Map,this.getStyles=async({componentName:e,theme:t})=>{if(!t||!e)return;const r=`https://ds-assets.cupra.com/2.0.0-canary.59/styles/${t}/components/${e}.css`,c=this.getCachedStyleSheetPromise({url:r});if(c)return c;const i=this.fetchStyle({url:r}).then(n=>(n||this.stylePromises.delete(r),n));return this.stylePromises.set(r,i),this.stylePromises.get(r)}}async fetchStyle({url:e}){try{if(typeof fetch>"u")return;const t=await fetch(e,{cache:"force-cache"});if(t.ok)return t.text()}catch(t){console.error(`Failed to fetch Style Sheet "${e}":`,t)}}getCachedStyleSheetPromise({url:e}){return this.stylePromises.get(e)}static getInstance(){return s.instance||(s.instance=new s),s.instance}}const o=s.getInstance();exports.stylesRegistry=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.cjs");require("../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs");require("../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs");const e=require("../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.cjs");function i(r,...t){const s=String.raw({raw:r},...t).replace(/(--private-[\w-]+)(?=\s*[):,])/g,"$1-v2-0-0-canary-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.cjs");require("../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs");require("../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs");const e=require("../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.cjs");function i(r,...t){const s=String.raw({raw:r},...t).replace(/(--private-[\w-]+)(?=\s*[):,])/g,"$1-v2-0-0-canary-59"),n=e.unsafeCSS(s);return e.css`${n}`}exports.cssWithTokens=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.cjs");const i=require("../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs");require("../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs");const o=require("../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.cjs");function a(e,...t){const r=String.raw({raw:e},...t).replace(/(--private-[\w-]+)(?=\s*[):,])/g,"$1-v2-0-0-canary-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.cjs");const i=require("../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.cjs");require("../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.cjs");const o=require("../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.cjs");function a(e,...t){const r=String.raw({raw:e},...t).replace(/(--private-[\w-]+)(?=\s*[):,])/g,"$1-v2-0-0-canary-59"),n=o.unsafeHTML(r);return i.html`${n}`}exports.htmlWithTokens=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const o = {
|
|
2
2
|
cupra: {
|
|
3
3
|
"icon-names": {
|
|
4
4
|
open: "minus",
|
|
@@ -15,12 +15,12 @@ const n = {
|
|
|
15
15
|
},
|
|
16
16
|
seat: {
|
|
17
17
|
"icon-names": {
|
|
18
|
-
open: "
|
|
19
|
-
close: "
|
|
18
|
+
open: "arrow-up",
|
|
19
|
+
close: "arrow-down"
|
|
20
20
|
},
|
|
21
|
-
"icon-button-variant": "
|
|
21
|
+
"icon-button-variant": "primary"
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
o as themeConfig
|
|
26
26
|
};
|
|
@@ -7,10 +7,10 @@ import "../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-
|
|
|
7
7
|
import { property as r } from "../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";
|
|
8
8
|
import { classMap as y } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";
|
|
9
9
|
import { mapPinStyles as b } from "./styles/common.styles.js";
|
|
10
|
-
var f = Object.defineProperty, v = Object.getOwnPropertyDescriptor, e = (l,
|
|
11
|
-
for (var i =
|
|
12
|
-
(p = l[
|
|
13
|
-
return
|
|
10
|
+
var f = Object.defineProperty, v = Object.getOwnPropertyDescriptor, e = (l, s, n, o) => {
|
|
11
|
+
for (var i = o > 1 ? void 0 : o ? v(s, n) : s, c = l.length - 1, p; c >= 0; c--)
|
|
12
|
+
(p = l[c]) && (i = (o ? p(s, n, i) : p(i)) || i);
|
|
13
|
+
return o && i && f(s, n, i), i;
|
|
14
14
|
};
|
|
15
15
|
let t = class extends u {
|
|
16
16
|
constructor() {
|
|
@@ -44,10 +44,6 @@ let t = class extends u {
|
|
|
44
44
|
get styleTokens() {
|
|
45
45
|
return h`
|
|
46
46
|
<style>
|
|
47
|
-
:host{
|
|
48
|
-
--ui-kit-icon-color: var(--ui-kit-map-pin-icon-color);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
47
|
.icon {
|
|
52
48
|
top: ${this.iconTop}px;
|
|
53
49
|
}
|
|
@@ -77,7 +73,6 @@ let t = class extends u {
|
|
|
77
73
|
fill-rule="evenodd"
|
|
78
74
|
clip-rule="evenodd"
|
|
79
75
|
d="M24.1599 48.6467C26.4109 38.2008 41.9998 30.5848 41.9998 18.5849C41.9998 8.74991 33.9409 0.777954 23.9999 0.777954C14.059 0.777954 6 8.74991 6 18.5849C6 31.2298 21.5719 37.9948 23.5469 48.6077C23.7759 48.8277 23.8869 48.8277 24.1599 48.6467Z"
|
|
80
|
-
fill="#1B1B1B"
|
|
81
76
|
/>
|
|
82
77
|
</svg>
|
|
83
78
|
${this.iconTemplate}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import "../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
2
|
import "../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";
|
|
3
3
|
import "../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
|
|
4
|
-
import { css as
|
|
5
|
-
const
|
|
4
|
+
import { css as i } from "../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";
|
|
5
|
+
const r = i`
|
|
6
6
|
:host {
|
|
7
7
|
display: inline-block;
|
|
8
|
+
--ui-kit-icon-color: var(--ui-kit-map-pin-icon-color);
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
.container {
|
|
@@ -28,10 +29,8 @@ const s = t`
|
|
|
28
29
|
right: -6px;
|
|
29
30
|
width: 24px;
|
|
30
31
|
height: 24px;
|
|
31
|
-
font-style: normal;
|
|
32
|
-
font-weight: 400;
|
|
33
32
|
}
|
|
34
33
|
`;
|
|
35
34
|
export {
|
|
36
|
-
|
|
35
|
+
r as mapPinStyles
|
|
37
36
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";
|
|
2
2
|
import "../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";
|
|
3
3
|
import "../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
|
|
4
|
-
import { css as
|
|
5
|
-
const
|
|
4
|
+
import { css as t } from "../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";
|
|
5
|
+
const s = t`
|
|
6
6
|
:host {
|
|
7
7
|
display: contents;
|
|
8
8
|
}
|
|
@@ -40,7 +40,7 @@ const n = r`
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
.progress .indicator {
|
|
43
|
-
stroke: var(--
|
|
43
|
+
stroke: var(--ds-color-icon-default-subtlest, #d3d6d9);
|
|
44
44
|
stroke-width: 1.5px;
|
|
45
45
|
transform: rotate(-90deg);
|
|
46
46
|
}
|
|
@@ -50,5 +50,5 @@ const n = r`
|
|
|
50
50
|
}
|
|
51
51
|
`;
|
|
52
52
|
export {
|
|
53
|
-
|
|
53
|
+
s as commonStyles
|
|
54
54
|
};
|
|
@@ -54,7 +54,7 @@ let m = class extends v {
|
|
|
54
54
|
}
|
|
55
55
|
loadThemeStyles() {
|
|
56
56
|
return this.loadStyles ? new Promise((t, o) => {
|
|
57
|
-
const s = "/2.0.0-canary.
|
|
57
|
+
const s = "/2.0.0-canary.59", r = `https://ds-assets.cupra.com${s}/styles/${this.theme}/theme.css`;
|
|
58
58
|
if (document.head.querySelector(`link[href="${r}"]`)) t();
|
|
59
59
|
else {
|
|
60
60
|
const e = `ui-kit-theme-${s}`, a = document.getElementById(e), n = document.createElement("link");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { UiKitElement as b } from "../base/UiKitElement.js";
|
|
2
2
|
import { customUiKitElement as y } from "../../decorators/customUiKitElement.js";
|
|
3
|
-
import { computePosition as g, flip as P, shift as $, offset as L, arrow as E, size as
|
|
3
|
+
import { computePosition as g, flip as P, shift as $, offset as L, arrow as E, size as x } from "../../node_modules/.pnpm/@floating-ui_dom@1.7.4/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
4
4
|
import { booleanConverter as c } from "../../utils/booleanConverter.js";
|
|
5
|
-
import { debounce as
|
|
6
|
-
import { htmlWithTokens as
|
|
5
|
+
import { debounce as C } from "../../utils/debounce.js";
|
|
6
|
+
import { htmlWithTokens as O } from "../../utils/htmlWithTokens.js";
|
|
7
7
|
import "../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";
|
|
8
8
|
import { html as u, nothing as m } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";
|
|
9
9
|
import "../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
|
|
@@ -12,7 +12,7 @@ import { state as v } from "../../node_modules/.pnpm/@lit_reactive-element@2.1.1
|
|
|
12
12
|
import { query as f } from "../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query.js";
|
|
13
13
|
import { queryAssignedElements as p } from "../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js";
|
|
14
14
|
import { classMap as d } from "../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/class-map.js";
|
|
15
|
-
import { commonStyles as
|
|
15
|
+
import { commonStyles as A } from "./styles/common.styles.js";
|
|
16
16
|
var D = Object.defineProperty, M = Object.getOwnPropertyDescriptor, i = (e, t, o, n) => {
|
|
17
17
|
for (var r = n > 1 ? void 0 : n ? M(t, o) : t, h = e.length - 1, a; h >= 0; h--)
|
|
18
18
|
(a = e[h]) && (r = (n ? a(t, o, r) : a(r)) || r);
|
|
@@ -26,7 +26,7 @@ let s = class extends b {
|
|
|
26
26
|
this.usingKeyboard = !1;
|
|
27
27
|
}, this.handleTooltipPointerDown = (e) => {
|
|
28
28
|
e.stopImmediatePropagation();
|
|
29
|
-
}, this.handleResize =
|
|
29
|
+
}, this.handleResize = C({ func: () => this.requestUpdate() }), this.handleClose = () => {
|
|
30
30
|
this.show = !1;
|
|
31
31
|
}, this.handleAnchorPointerDown = (e) => {
|
|
32
32
|
this.disablePressListener || e.button === 0 && (this.show = !this.show);
|
|
@@ -67,7 +67,7 @@ let s = class extends b {
|
|
|
67
67
|
$(),
|
|
68
68
|
L({ mainAxis: 8, crossAxis: -8 }),
|
|
69
69
|
E({ element: this.arrow }),
|
|
70
|
-
|
|
70
|
+
x({
|
|
71
71
|
apply({ availableWidth: t, availableHeight: o, elements: n }) {
|
|
72
72
|
Object.assign(n.floating.style, {
|
|
73
73
|
maxWidth: `${Math.min(240, t - 8)}px`,
|
|
@@ -125,8 +125,8 @@ let s = class extends b {
|
|
|
125
125
|
get arrowTemplate() {
|
|
126
126
|
return u`
|
|
127
127
|
<svg id="arrow" xmlns="http://www.w3.org/2000/svg" width="17" height="9" viewBox="0 0 17 9" fill="none" class=${d(this.arrowClasses)} @mouseout="${this.handleAnchorMouseOut}" aria-hidden="true" focusable="false">
|
|
128
|
-
<path d="M5.77946 4.38048L0.5 9L16 9L11.1427 4.46656C9.88663 3.29419 9.25858 2.708 8.48883 2.69565C7.71909 2.68329 7.07255 3.24902 5.77946 4.38048Z"
|
|
129
|
-
<path d="M0.5 8.5L5.89467 4.11683C7.1398 3.10516 7.76236 2.59933 8.49029 2.6109C9.21822 2.62246 9.8244 3.14782 11.0368 4.19853L16 8.5" stroke
|
|
128
|
+
<path d="M5.77946 4.38048L0.5 9L16 9L11.1427 4.46656C9.88663 3.29419 9.25858 2.708 8.48883 2.69565C7.71909 2.68329 7.07255 3.24902 5.77946 4.38048Z" class="ds-tooltip-arrow-background"/>
|
|
129
|
+
<path d="M0.5 8.5L5.89467 4.11683C7.1398 3.10516 7.76236 2.59933 8.49029 2.6109C9.21822 2.62246 9.8244 3.14782 11.0368 4.19853L16 8.5" stroke-opacity="1" stroke-linecap="round" class="ds-tooltip-arrow-border"/>
|
|
130
130
|
</svg>`;
|
|
131
131
|
}
|
|
132
132
|
get tooltipTemplate() {
|
|
@@ -153,7 +153,7 @@ let s = class extends b {
|
|
|
153
153
|
`;
|
|
154
154
|
}
|
|
155
155
|
get styleTokens() {
|
|
156
|
-
return
|
|
156
|
+
return O`
|
|
157
157
|
<style>
|
|
158
158
|
:host {
|
|
159
159
|
color-scheme: ${this.mode};
|
|
@@ -190,7 +190,7 @@ let s = class extends b {
|
|
|
190
190
|
`;
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
|
-
s.styles = [
|
|
193
|
+
s.styles = [A];
|
|
194
194
|
i([
|
|
195
195
|
l({ type: String, reflect: !0 })
|
|
196
196
|
], s.prototype, "mode", 2);
|
|
@@ -25,7 +25,7 @@ class l {
|
|
|
25
25
|
}), f.subscribe("theme", this.handleChangeTheme);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
const c = Symbol.for("@cupra/ui-kit/icons-manager/2.0.0-canary.
|
|
28
|
+
const c = Symbol.for("@cupra/ui-kit/icons-manager/2.0.0-canary.59"), h = globalThis;
|
|
29
29
|
let i = h[c];
|
|
30
30
|
i || (i = new l(), Object.defineProperty(h, c, {
|
|
31
31
|
value: i,
|
package/dist/esm/utils/PubSub.js
CHANGED
|
@@ -18,7 +18,7 @@ class e {
|
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
const u = Symbol.for("@cupra/ui-kit/pubsub/2.0.0-canary.
|
|
21
|
+
const u = Symbol.for("@cupra/ui-kit/pubsub/2.0.0-canary.59"), t = globalThis;
|
|
22
22
|
let b = t[u];
|
|
23
23
|
b || (b = new e(), Object.defineProperty(t, u, {
|
|
24
24
|
value: b,
|
|
@@ -5,7 +5,7 @@ class s {
|
|
|
5
5
|
theme: t
|
|
6
6
|
}) => {
|
|
7
7
|
if (!t || !e) return;
|
|
8
|
-
const r = `https://ds-assets.cupra.com/2.0.0-canary.
|
|
8
|
+
const r = `https://ds-assets.cupra.com/2.0.0-canary.59/styles/${t}/components/${e}.css`, c = this.getCachedStyleSheetPromise({ url: r });
|
|
9
9
|
if (c) return c;
|
|
10
10
|
const i = this.fetchStyle({ url: r }).then((n) => (n || this.stylePromises.delete(r), n));
|
|
11
11
|
return this.stylePromises.set(r, i), this.stylePromises.get(r);
|
|
@@ -3,7 +3,7 @@ import "../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";
|
|
|
3
3
|
import "../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
|
|
4
4
|
import { unsafeCSS as n, css as o } from "../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";
|
|
5
5
|
function x(t, ...r) {
|
|
6
|
-
const e = String.raw({ raw: t }, ...r).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v2-0-0-canary-
|
|
6
|
+
const e = String.raw({ raw: t }, ...r).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v2-0-0-canary-59"), i = n(e);
|
|
7
7
|
return o`${i}`;
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
@@ -3,7 +3,7 @@ import { html as n } from "../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit
|
|
|
3
3
|
import "../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";
|
|
4
4
|
import { unsafeHTML as i } from "../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js";
|
|
5
5
|
function x(t, ...r) {
|
|
6
|
-
const o = String.raw({ raw: t }, ...r).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v2-0-0-canary-
|
|
6
|
+
const o = String.raw({ raw: t }, ...r).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v2-0-0-canary-59"), e = i(o);
|
|
7
7
|
return n`${e}`;
|
|
8
8
|
}
|
|
9
9
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Icons = '9-circles' | 'ad-color' | 'ae-color' | 'af-color' | 'ag-color' | 'ai-color' | 'al-color' | 'am-color' | 'an-color' | 'ao-color' | 'ar-color' | 'arrow-down-line' | 'arrow-down' | 'arrow-download' | 'arrow-exit' | 'arrow-expand' | 'arrow-external-link' | 'arrow-left-line' | 'arrow-left' | 'arrow-reload' | 'arrow-right-line' | 'arrow-right' | 'arrow-rotate-360-horizontal' | 'arrow-rotate-360' | 'arrow-switch' | 'arrow-up-line' | 'arrow-up' | 'arrow-upload' | 'at-color' | 'au-color' | 'aw-color' | 'ax-color' | 'az-color' | 'b-color' | 'ba-color' | 'battery-g-4-01' | 'battery-inclined-fill' | 'battery-vertical-100' | 'battery-2-sub-arrows-up' | 'battery-3-sub-arrows-up' | 'bb-color' | 'bd-color' | 'be-color' | 'bell' | 'bf-color' | 'bg-color' | 'bh-color' | 'bi-color' | 'bill' | 'bin' | 'bj-color' | 'bm-color' | 'bn-color' | 'bo-color' | 'book-mark' | 'box' | 'br-color' | 'bs-color' | 'bt-color' | 'bw-color' | 'by-color' | 'bz-color' | 'c-color' | 'ca-color' | 'cable' | 'caf-color' | 'calendar' | 'camera' | 'car-arrow-down' | 'car-compare' | 'car-door' | 'car-frontal' | 'car-imodel' | 'car-in-window' | 'car-lateral' | 'car-model' | 'car-seat' | 'cart-down' | 'cart' | 'cas-color' | 'cd-color' | 'cercle-ribbon-check' | 'ceu-color' | 'cf-color' | 'cg-color' | 'ch-color' | 'charger-acc' | 'charger-type-2' | 'chat-bubble' | 'check' | 'check-mark-circle' | 'ci-color' | 'city' | 'cl-color' | 'clock' | 'cloud-co-2' | 'cm-color' | 'cn-color' | 'cna-color' | 'co-color' | 'coc-color' | 'computer-display' | 'cr-color' | 'credit-card' | 'cross-circle' | 'cross' | 'csa-color' | 'cu-color' | 'cv-color' | 'cy-color' | 'cz-color' | 'de-color' | 'dj-color' | 'dk-color' | 'dm-color' | 'do-color' | 'document-check' | 'document-copy' | 'document-download' | 'document-time' | 'document' | 'dot' | 'dz-color' | 'ec-color' | 'eco-color' | 'ee-color' | 'eg-color' | 'electric-station' | 'engine' | 'envelope' | 'equals-sign' | 'er-color' | 'es-color' | 'et-color' | 'eu-color' | 'euro' | 'exclamation-mark-circle' | 'exclamation-mark-triangle' | 'eye-crossed-out' | 'eye' | 'facebook' | 'fi-color' | 'filter' | 'fj-color' | 'fk-color' | 'fm-color' | 'fr-color' | 'fuel-station' | 'ga-color' | 'garage' | 'gb-color' | 'gd-color' | 'ge-color' | 'gear' | 'gg-color' | 'gh-color' | 'gi-color' | 'globe' | 'gm-color' | 'gn-color' | 'gq-color' | 'gr-color' | 'gt-color' | 'gw-color' | 'gy-color' | 'half-star-filled' | 'headlight' | 'heart-filled' | 'heart' | 'highway' | 'hk-color' | 'hn-color' | 'hr-color' | 'ht-color' | 'hu-color' | 'id-color' | 'ie-color' | 'il-color' | 'im-color' | 'in-color' | 'info-circle' | 'info-triangle' | 'instagram' | 'iq-color' | 'ir-color' | 'is-color' | 'it-color' | 'je-color' | 'jm-color' | 'jo-color' | 'jp-color' | 'ke-color' | 'key' | 'kg-color' | 'kh-color' | 'km-color' | 'kn-color' | 'kp-color' | 'kr-color' | 'kw-color' | 'ky-color' | 'kz-color' | 'la-color' | 'label-a-color' | 'label-b-color' | 'label-c-color' | 'label-d-color' | 'label-e-color' | 'label-f-color' | 'label-g-color' | 'label-h-color' | 'label-i-color' | 'label-j-color' | 'label-k-color' | 'label-l-color' | 'label-m-color' | 'lb-color' | 'lc-color' | 'li-color' | 'light' | 'lightning' | 'link' | 'linkedin' | 'list' | 'lk-color' | 'loader' | 'location-poi' | 'lock-locked' | 'lock-unlocked' | 'logo-light' | 'logo-lockup' | 'logo-wordmark' | 'logo' | 'lr-color' | 'ls-color' | 'lt-color' | 'lu-color' | 'lv-color' | 'ly-color' | 'ma-color' | 'magnifying-glass-minus' | 'magnifying-glass-plus' | 'magnifying-glass' | 'math-symbols-square' | 'mc-color' | 'md-color' | 'me-color' | 'menu' | 'mg-color' | 'micro-crossed-out' | 'micro' | 'minus' | 'mk-color' | 'ml-color' | 'mm-color' | 'mn-color' | 'mo-color' | 'mobile' | 'moon' | 'mountains' | 'mr-color' | 'ms-color' | 'mt-color' | 'mu-color' | 'mv-color' | 'mw-color' | 'mx-color' | 'my-color' | 'mz-color' | 'na-color' | 'ne-color' | 'ng-color' | 'ni-color' | 'nl-color' | 'no-color' | 'np-color' | 'nz-color' | 'om-color' | 'pa-color' | 'parking' | 'pause-loading' | 'pause' | 'pcircle' | 'pe-color' | 'pen-paper' | 'pen' | 'person-open-arms' | 'pf-color' | 'pg-color' | 'ph-color' | 'phone-contact' | 'pig-coin' | 'pk-color' | 'pl-color' | 'play' | 'play-circle' | 'plug-regular' | 'plus' | 'position' | 'pr-color' | 'pt-color' | 'pw-color' | 'py-color' | 'qa-color' | 'question-mark' | 'ro-color' | 'road-mountain' | 'road' | 'rs-color' | 'ru-color' | 'rw-color' | 'sa-color' | 'sb-color' | 'scan-qr' | 'sc-color' | 'sd-color' | 'se-color' | 'seat-front' | 'sg-color' | 'sh-color' | 'share' | 'shopping-bag' | 'si-color' | 'sk-color' | 'sl-color' | 'sm-color' | 'sn-color' | 'so-color' | 'speaker-crossed-out' | 'speaker' | 'spray' | 'sr-color' | 'st-color' | 'star-filled' | 'star' | 'store' | 'suitcase' | 'sun' | 'sv-color' | 'sy-color' | 'sz-color' | 'tag' | 'tc-color' | 'td-color' | 'telegram' | 'tg-color' | 'th-color' | 'ticket' | 'tj-color' | 'tl-color' | 'tm-color' | 'tn-color' | 'to-color' | 'tr-color' | 'transmission-automatic' | 'transmission-manual' | 'triple-dot-h' | 'triple-dot-v' | 'tt-color' | 'tw-color' | 'twitter' | 'tz-color' | 'ua-color' | 'ug-color' | 'us-color' | 'user' | 'uy-color' | 'uz-color' | 'vc-color' | 've-color' | 'vg-color' | 'video-camera-crossed-out' | 'video-camera' | 'vimeo' | 'vn-color' | 'vu-color' | 'wall-charger' | 'whatsapp' | 'wheel' | 'wifi' | 'wrench-hammer' | 'ws-color' | 'ww-color' | 'ye-color' | 'youtube' | 'za-color' | 'zero-color' | 'zm-color' | 'zw-color';
|
|
1
|
+
export type Icons = '9-circles' | 'ad-color' | 'ae-color' | 'af-color' | 'ag-color' | 'ai-color' | 'al-color' | 'am-color' | 'an-color' | 'ao-color' | 'ar-color' | 'arrow-down-line' | 'arrow-down' | 'arrow-download' | 'arrow-exit' | 'arrow-expand' | 'arrow-external-link' | 'arrow-left-line' | 'arrow-left' | 'arrow-reload' | 'arrow-right-line' | 'arrow-right' | 'arrow-rotate-360-horizontal' | 'arrow-rotate-360' | 'arrow-switch' | 'arrow-up-line' | 'arrow-up' | 'arrow-upload' | 'at-color' | 'au-color' | 'aw-color' | 'ax-color' | 'az-color' | 'b-color' | 'ba-color' | 'battery-g-4-01' | 'battery-inclined-fill' | 'battery-vertical-100' | 'battery-2-sub-arrows-up' | 'battery-3-sub-arrows-up' | 'bb-color' | 'bd-color' | 'be-color' | 'bell' | 'bf-color' | 'bg-color' | 'bh-color' | 'bi-color' | 'bill' | 'bin' | 'bj-color' | 'bm-color' | 'bn-color' | 'bo-color' | 'book-mark' | 'box' | 'br-color' | 'bs-color' | 'bt-color' | 'bw-color' | 'by-color' | 'bz-color' | 'c-color' | 'ca-color' | 'cable' | 'caf-color' | 'calendar' | 'camera' | 'car-arrow-down' | 'car-compare' | 'car-door' | 'car-frontal' | 'car-imodel' | 'car-in-window' | 'car-lateral' | 'car-model' | 'car-seat' | 'cart-down' | 'cart' | 'cas-color' | 'cd-color' | 'cercle-ribbon-check' | 'ceu-color' | 'cf-color' | 'cg-color' | 'ch-color' | 'charger-acc' | 'charger-type-2' | 'chat-bubble' | 'check' | 'check-mark-circle' | 'ci-color' | 'city' | 'cl-color' | 'clock' | 'cloud-co-2' | 'cm-color' | 'cn-color' | 'cna-color' | 'co-color' | 'coc-color' | 'computer-display' | 'cr-color' | 'credit-card' | 'cross-circle' | 'cross' | 'csa-color' | 'cu-color' | 'cv-color' | 'cy-color' | 'cz-color' | 'de-color' | 'dj-color' | 'dk-color' | 'dm-color' | 'do-color' | 'document-check' | 'document-copy' | 'document-download' | 'document-time' | 'document' | 'dot' | 'dz-color' | 'ec-color' | 'eco-color' | 'ee-color' | 'eg-color' | 'electric-station' | 'engine' | 'envelope' | 'equals-sign' | 'er-color' | 'es-color' | 'et-color' | 'eu-color' | 'euro' | 'exclamation-mark-circle' | 'exclamation-mark-triangle' | 'eye-crossed-out' | 'eye' | 'facebook' | 'fi-color' | 'filter' | 'fj-color' | 'fk-color' | 'fm-color' | 'fr-color' | 'fuel-station' | 'ga-color' | 'garage' | 'gb-color' | 'gd-color' | 'ge-color' | 'gear' | 'gg-color' | 'gh-color' | 'gi-color' | 'globe' | 'gm-color' | 'gn-color' | 'gq-color' | 'gr-color' | 'gt-color' | 'gw-color' | 'gy-color' | 'half-star-filled' | 'headlight' | 'heart-filled' | 'heart' | 'highway' | 'hk-color' | 'hn-color' | 'hr-color' | 'ht-color' | 'hu-color' | 'id-color' | 'ie-color' | 'il-color' | 'im-color' | 'in-color' | 'info-circle' | 'info-triangle' | 'instagram' | 'iq-color' | 'ir-color' | 'is-color' | 'it-color' | 'je-color' | 'jm-color' | 'jo-color' | 'jp-color' | 'ke-color' | 'key' | 'kg-color' | 'kh-color' | 'km-color' | 'kn-color' | 'kp-color' | 'kr-color' | 'kw-color' | 'ky-color' | 'kz-color' | 'la-color' | 'label-a-color' | 'label-b-color' | 'label-c-color' | 'label-d-color' | 'label-e-color' | 'label-f-color' | 'label-g-color' | 'label-h-color' | 'label-i-color' | 'label-j-color' | 'label-k-color' | 'label-l-color' | 'label-m-color' | 'lb-color' | 'lc-color' | 'li-color' | 'light' | 'lightning' | 'link' | 'linkedin' | 'list' | 'lk-color' | 'loader' | 'location-poi' | 'lock-locked' | 'lock-unlocked' | 'logo-light' | 'logo-lockup' | 'logo-wordmark' | 'logo' | 'lr-color' | 'ls-color' | 'lt-color' | 'lu-color' | 'lv-color' | 'ly-color' | 'ma-color' | 'magnifying-glass-minus' | 'magnifying-glass-plus' | 'magnifying-glass' | 'math-symbols-square' | 'mc-color' | 'md-color' | 'me-color' | 'menu' | 'mg-color' | 'micro-crossed-out' | 'micro' | 'minus' | 'mk-color' | 'ml-color' | 'mm-color' | 'mn-color' | 'mo-color' | 'mobile' | 'moon' | 'mountains' | 'mr-color' | 'ms-color' | 'mt-color' | 'mu-color' | 'mv-color' | 'mw-color' | 'mx-color' | 'my-color' | 'mz-color' | 'na-color' | 'ne-color' | 'ng-color' | 'ni-color' | 'nl-color' | 'no-color' | 'np-color' | 'nz-color' | 'om-color' | 'pa-color' | 'parking' | 'pause-loading' | 'pause' | 'pcircle' | 'pe-color' | 'pen-paper' | 'pen' | 'person-open-arms' | 'pf-color' | 'pg-color' | 'ph-color' | 'phone-contact' | 'pig-coin' | 'pk-color' | 'pl-color' | 'play' | 'play-circle' | 'plug-charge' | 'plug-regular' | 'plus' | 'position' | 'pr-color' | 'pt-color' | 'pw-color' | 'py-color' | 'qa-color' | 'question-mark' | 'ro-color' | 'road-mountain' | 'road' | 'rs-color' | 'ru-color' | 'rw-color' | 'sa-color' | 'sb-color' | 'scan-qr' | 'sc-color' | 'sd-color' | 'se-color' | 'seat-front' | 'sg-color' | 'sh-color' | 'share' | 'shopping-bag' | 'si-color' | 'sk-color' | 'sl-color' | 'sm-color' | 'sn-color' | 'so-color' | 'speaker-crossed-out' | 'speaker' | 'spray' | 'sr-color' | 'st-color' | 'star-filled' | 'star' | 'store' | 'suitcase' | 'sun' | 'sv-color' | 'sy-color' | 'sz-color' | 'tag' | 'tc-color' | 'td-color' | 'telegram' | 'tg-color' | 'th-color' | 'ticket' | 'tj-color' | 'tl-color' | 'tm-color' | 'tn-color' | 'to-color' | 'tr-color' | 'transmission-automatic' | 'transmission-manual' | 'triple-dot-h' | 'triple-dot-v' | 'tt-color' | 'tw-color' | 'twitter' | 'tz-color' | 'ua-color' | 'ug-color' | 'us-color' | 'user' | 'uy-color' | 'uz-color' | 'vc-color' | 've-color' | 'vg-color' | 'video-camera-crossed-out' | 'video-camera' | 'vimeo' | 'vn-color' | 'vu-color' | 'wall-charger' | 'whatsapp' | 'wheel' | 'wifi' | 'wrench-hammer' | 'ws-color' | 'ww-color' | 'ye-color' | 'youtube' | 'za-color' | 'zero-color' | 'zm-color' | 'zw-color';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const iconNames: readonly ["9-circles", "ad-color", "ae-color", "af-color", "ag-color", "ai-color", "al-color", "am-color", "an-color", "ao-color", "ar-color", "arrow-down", "arrow-down-line", "arrow-download", "arrow-exit", "arrow-expand", "arrow-external-link", "arrow-left", "arrow-left-line", "arrow-reload", "arrow-right", "arrow-right-line", "arrow-rotate-360", "arrow-rotate-360-horizontal", "arrow-switch", "arrow-up", "arrow-up-line", "arrow-upload", "at-color", "au-color", "aw-color", "ax-color", "az-color", "b-color", "ba-color", "battery-g-4-01", "battery-inclined-fill", "battery-vertical-100", "battery-2-sub-arrows-up", "battery-3-sub-arrows-up", "bb-color", "bd-color", "be-color", "bell", "bf-color", "bg-color", "bh-color", "bi-color", "bill", "bin", "bj-color", "bm-color", "bn-color", "bo-color", "book-mark", "box", "br-color", "bs-color", "bt-color", "bw-color", "by-color", "bz-color", "c-color", "ca-color", "cable", "caf-color", "calendar", "camera", "car-arrow-down", "car-compare", "car-door", "car-frontal", "car-imodel", "car-in-window", "car-lateral", "car-model", "car-seat", "cart", "cart-down", "cas-color", "cd-color", "cercle-ribbon-check", "ceu-color", "cf-color", "cg-color", "ch-color", "charger-acc", "charger-type-2", "chat-bubble", "check", "check-mark-circle", "ci-color", "city", "cl-color", "clock", "cloud-co-2", "cm-color", "cn-color", "cna-color", "co-color", "coc-color", "computer-display", "cr-color", "credit-card", "cross", "cross-circle", "csa-color", "cu-color", "cv-color", "cy-color", "cz-color", "de-color", "dj-color", "dk-color", "dm-color", "do-color", "document", "document-check", "document-copy", "document-download", "document-time", "dot", "dz-color", "ec-color", "eco-color", "ee-color", "eg-color", "electric-station", "engine", "envelope", "equals-sign", "er-color", "es-color", "et-color", "eu-color", "euro", "exclamation-mark-circle", "exclamation-mark-triangle", "eye", "eye-crossed-out", "facebook", "fi-color", "filter", "fj-color", "fk-color", "fm-color", "fr-color", "fuel-station", "ga-color", "garage", "gb-color", "gd-color", "ge-color", "gear", "gg-color", "gh-color", "gi-color", "globe", "gm-color", "gn-color", "gq-color", "gr-color", "gt-color", "gw-color", "gy-color", "half-star-filled", "headlight", "heart", "heart-filled", "highway", "hk-color", "hn-color", "hr-color", "ht-color", "hu-color", "id-color", "ie-color", "il-color", "im-color", "in-color", "info-circle", "info-triangle", "instagram", "iq-color", "ir-color", "is-color", "it-color", "je-color", "jm-color", "jo-color", "jp-color", "ke-color", "key", "kg-color", "kh-color", "km-color", "kn-color", "kp-color", "kr-color", "kw-color", "ky-color", "kz-color", "la-color", "label-a-color", "label-b-color", "label-c-color", "label-d-color", "label-e-color", "label-f-color", "label-g-color", "label-h-color", "label-i-color", "label-j-color", "label-k-color", "label-l-color", "label-m-color", "lb-color", "lc-color", "li-color", "light", "lightning", "link", "linkedin", "list", "lk-color", "loader", "location-poi", "lock-locked", "lock-unlocked", "logo", "logo-light", "logo-lockup", "logo-wordmark", "lr-color", "ls-color", "lt-color", "lu-color", "lv-color", "ly-color", "ma-color", "magnifying-glass", "magnifying-glass-minus", "magnifying-glass-plus", "math-symbols-square", "mc-color", "md-color", "me-color", "menu", "mg-color", "micro", "micro-crossed-out", "minus", "mk-color", "ml-color", "mm-color", "mn-color", "mo-color", "mobile", "moon", "mountains", "mr-color", "ms-color", "mt-color", "mu-color", "mv-color", "mw-color", "mx-color", "my-color", "mz-color", "na-color", "ne-color", "ng-color", "ni-color", "nl-color", "no-color", "np-color", "nz-color", "om-color", "pa-color", "parking", "pause", "pause-loading", "pcircle", "pe-color", "pen", "pen-paper", "person-open-arms", "pf-color", "pg-color", "ph-color", "phone-contact", "pig-coin", "pk-color", "pl-color", "play", "play-circle", "plug-regular", "plus", "position", "pr-color", "pt-color", "pw-color", "py-color", "qa-color", "question-mark", "ro-color", "road", "road-mountain", "rs-color", "ru-color", "rw-color", "sa-color", "sb-color", "scan-qr", "sc-color", "sd-color", "se-color", "seat-front", "sg-color", "sh-color", "share", "shopping-bag", "si-color", "sk-color", "sl-color", "sm-color", "sn-color", "so-color", "speaker", "speaker-crossed-out", "spray", "sr-color", "st-color", "star", "star-filled", "store", "suitcase", "sun", "sv-color", "sy-color", "sz-color", "tag", "tc-color", "td-color", "telegram", "tg-color", "th-color", "ticket", "tj-color", "tl-color", "tm-color", "tn-color", "to-color", "tr-color", "transmission-automatic", "transmission-manual", "triple-dot-h", "triple-dot-v", "tt-color", "tw-color", "twitter", "tz-color", "ua-color", "ug-color", "us-color", "user", "uy-color", "uz-color", "vc-color", "ve-color", "vg-color", "video-camera", "video-camera-crossed-out", "vimeo", "vn-color", "vu-color", "wall-charger", "whatsapp", "wheel", "wifi", "wrench-hammer", "ws-color", "ww-color", "ye-color", "youtube", "za-color", "zero-color", "zm-color", "zw-color"];
|
|
1
|
+
export declare const iconNames: readonly ["9-circles", "ad-color", "ae-color", "af-color", "ag-color", "ai-color", "al-color", "am-color", "an-color", "ao-color", "ar-color", "arrow-down", "arrow-down-line", "arrow-download", "arrow-exit", "arrow-expand", "arrow-external-link", "arrow-left", "arrow-left-line", "arrow-reload", "arrow-right", "arrow-right-line", "arrow-rotate-360", "arrow-rotate-360-horizontal", "arrow-switch", "arrow-up", "arrow-up-line", "arrow-upload", "at-color", "au-color", "aw-color", "ax-color", "az-color", "b-color", "ba-color", "battery-g-4-01", "battery-inclined-fill", "battery-vertical-100", "battery-2-sub-arrows-up", "battery-3-sub-arrows-up", "bb-color", "bd-color", "be-color", "bell", "bf-color", "bg-color", "bh-color", "bi-color", "bill", "bin", "bj-color", "bm-color", "bn-color", "bo-color", "book-mark", "box", "br-color", "bs-color", "bt-color", "bw-color", "by-color", "bz-color", "c-color", "ca-color", "cable", "caf-color", "calendar", "camera", "car-arrow-down", "car-compare", "car-door", "car-frontal", "car-imodel", "car-in-window", "car-lateral", "car-model", "car-seat", "cart", "cart-down", "cas-color", "cd-color", "cercle-ribbon-check", "ceu-color", "cf-color", "cg-color", "ch-color", "charger-acc", "charger-type-2", "chat-bubble", "check", "check-mark-circle", "ci-color", "city", "cl-color", "clock", "cloud-co-2", "cm-color", "cn-color", "cna-color", "co-color", "coc-color", "computer-display", "cr-color", "credit-card", "cross", "cross-circle", "csa-color", "cu-color", "cv-color", "cy-color", "cz-color", "de-color", "dj-color", "dk-color", "dm-color", "do-color", "document", "document-check", "document-copy", "document-download", "document-time", "dot", "dz-color", "ec-color", "eco-color", "ee-color", "eg-color", "electric-station", "engine", "envelope", "equals-sign", "er-color", "es-color", "et-color", "eu-color", "euro", "exclamation-mark-circle", "exclamation-mark-triangle", "eye", "eye-crossed-out", "facebook", "fi-color", "filter", "fj-color", "fk-color", "fm-color", "fr-color", "fuel-station", "ga-color", "garage", "gb-color", "gd-color", "ge-color", "gear", "gg-color", "gh-color", "gi-color", "globe", "gm-color", "gn-color", "gq-color", "gr-color", "gt-color", "gw-color", "gy-color", "half-star-filled", "headlight", "heart", "heart-filled", "highway", "hk-color", "hn-color", "hr-color", "ht-color", "hu-color", "id-color", "ie-color", "il-color", "im-color", "in-color", "info-circle", "info-triangle", "instagram", "iq-color", "ir-color", "is-color", "it-color", "je-color", "jm-color", "jo-color", "jp-color", "ke-color", "key", "kg-color", "kh-color", "km-color", "kn-color", "kp-color", "kr-color", "kw-color", "ky-color", "kz-color", "la-color", "label-a-color", "label-b-color", "label-c-color", "label-d-color", "label-e-color", "label-f-color", "label-g-color", "label-h-color", "label-i-color", "label-j-color", "label-k-color", "label-l-color", "label-m-color", "lb-color", "lc-color", "li-color", "light", "lightning", "link", "linkedin", "list", "lk-color", "loader", "location-poi", "lock-locked", "lock-unlocked", "logo", "logo-light", "logo-lockup", "logo-wordmark", "lr-color", "ls-color", "lt-color", "lu-color", "lv-color", "ly-color", "ma-color", "magnifying-glass", "magnifying-glass-minus", "magnifying-glass-plus", "math-symbols-square", "mc-color", "md-color", "me-color", "menu", "mg-color", "micro", "micro-crossed-out", "minus", "mk-color", "ml-color", "mm-color", "mn-color", "mo-color", "mobile", "moon", "mountains", "mr-color", "ms-color", "mt-color", "mu-color", "mv-color", "mw-color", "mx-color", "my-color", "mz-color", "na-color", "ne-color", "ng-color", "ni-color", "nl-color", "no-color", "np-color", "nz-color", "om-color", "pa-color", "parking", "pause", "pause-loading", "pcircle", "pe-color", "pen", "pen-paper", "person-open-arms", "pf-color", "pg-color", "ph-color", "phone-contact", "pig-coin", "pk-color", "pl-color", "play", "play-circle", "plug-charge", "plug-regular", "plus", "position", "pr-color", "pt-color", "pw-color", "py-color", "qa-color", "question-mark", "ro-color", "road", "road-mountain", "rs-color", "ru-color", "rw-color", "sa-color", "sb-color", "scan-qr", "sc-color", "sd-color", "se-color", "seat-front", "sg-color", "sh-color", "share", "shopping-bag", "si-color", "sk-color", "sl-color", "sm-color", "sn-color", "so-color", "speaker", "speaker-crossed-out", "spray", "sr-color", "st-color", "star", "star-filled", "store", "suitcase", "sun", "sv-color", "sy-color", "sz-color", "tag", "tc-color", "td-color", "telegram", "tg-color", "th-color", "ticket", "tj-color", "tl-color", "tm-color", "tn-color", "to-color", "tr-color", "transmission-automatic", "transmission-manual", "triple-dot-h", "triple-dot-v", "tt-color", "tw-color", "twitter", "tz-color", "ua-color", "ug-color", "us-color", "user", "uy-color", "uz-color", "vc-color", "ve-color", "vg-color", "video-camera", "video-camera-crossed-out", "vimeo", "vn-color", "vu-color", "wall-charger", "whatsapp", "wheel", "wifi", "wrench-hammer", "ws-color", "ww-color", "ye-color", "youtube", "za-color", "zero-color", "zm-color", "zw-color"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o={cupra:{"icon-names":{open:"minus",close:"plus"},"icon-button-variant":"secondary"},"cupra-diagonal":{"icon-names":{open:"arrow-up",close:"arrow-down"},"icon-button-variant":"primary"},seat:{"icon-names":{open:"arrow-up",close:"arrow-down"},"icon-button-variant":"primary"}};exports.themeConfig=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={cupra:{"icon-button-variant":"primary"},"cupra-diagonal":{"icon-button-variant":"tertiary"},seat:{"icon-button-variant":"
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t={cupra:{"icon-button-variant":"primary"},"cupra-diagonal":{"icon-button-variant":"tertiary"},seat:{"icon-button-variant":"tertiary"}};exports.themeConfig=t;
|