@rededor/cura 1.6.0-alpha.4 → 1.6.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/cura-accordion_18.cjs.entry.js +49 -48
- package/dist/cjs/cura-accordion_18.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-alert.cjs.entry.js +1 -1
- package/dist/cjs/cura-badge-counter.cjs.entry.js +1 -1
- package/dist/cjs/cura-badge-dot.cjs.entry.js +1 -1
- package/dist/cjs/cura-badge-pill.cjs.entry.js +1 -1
- package/dist/cjs/cura-button-outline.cjs.entry.js +1 -1
- package/dist/cjs/cura-button-select.cjs.entry.js +1 -1
- package/dist/cjs/cura-calendar.cjs.entry.js +1 -1
- package/dist/cjs/cura-card.cjs.entry.js +1 -1
- package/dist/cjs/cura-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/cura-display.cjs.entry.js +2 -2
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +1 -1
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-icons-view.cjs.entry.js +1 -1
- package/dist/cjs/cura-input-date.cjs.entry.js +2 -2
- package/dist/cjs/cura-loader-bar.cjs.entry.js +2 -2
- package/dist/cjs/cura-modal.cjs.entry.js +1 -1
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/cura-radio.cjs.entry.js +2 -2
- package/dist/cjs/cura-stepper.cjs.entry.js +1 -1
- package/dist/cjs/cura-switch.cjs.entry.js +2 -2
- package/dist/cjs/cura-toast.cjs.entry.js +1 -1
- package/dist/cjs/cura-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/cura.cjs.js +2 -2
- package/dist/cjs/{index-12d54921.js → index-60783089.js} +2 -5
- package/dist/cjs/index-60783089.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +4 -7
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.js.map +1 -0
- package/dist/collection/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +1 -0
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +1 -0
- package/dist/collection/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +2 -2
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +1 -0
- package/dist/collection/components/{cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.css → cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css} +2 -0
- package/dist/collection/components/{cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.js → cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js} +6 -6
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +1 -0
- package/dist/collection/components/{cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.js → cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js} +5 -5
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +1 -0
- package/dist/collection/components/{cura-dropdown-search-new/cura-dropdown-search-new.js → cura-dropdown-search/cura-dropdown-search.js} +11 -10
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +1 -0
- package/dist/collection/components/{cura-dropdown-search-new/cura-dropdown-search-new.stories.js → cura-dropdown-search/cura-dropdown-search.stories.js} +25 -25
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.stories.js.map +1 -0
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
- package/dist/collection/components/forms/cura-label/cura-label.css +1 -0
- package/dist/collection/components/forms/cura-label/cura-label.js +1 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
- package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
- package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
- package/dist/collection/components/text/cura-display/cura-display.js +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.css +1 -0
- package/dist/collection/components/text/cura-heading/cura-heading.js +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +3 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +1 -1
- package/dist/components/cura-display.js +1 -1
- package/dist/components/cura-dropdown-search-category.js.map +1 -1
- package/dist/components/cura-dropdown-search-not-found.js.map +1 -1
- package/dist/components/cura-dropdown-search-option.js +40 -52
- package/dist/components/cura-dropdown-search-option.js.map +1 -1
- package/dist/components/cura-dropdown-search.js +283 -236
- package/dist/components/cura-dropdown-search.js.map +1 -1
- package/dist/components/cura-heading2.js +2 -2
- package/dist/components/cura-heading2.js.map +1 -1
- package/dist/components/cura-input-date.js +1 -1
- package/dist/components/cura-input-text2.js +38 -38
- package/dist/components/cura-input-text2.js.map +1 -1
- package/dist/components/cura-label2.js +2 -2
- package/dist/components/cura-label2.js.map +1 -1
- package/dist/components/cura-loader-bar2.js +1 -1
- package/dist/components/cura-loader-circle2.js +1 -1
- package/dist/components/cura-paragraph2.js +2 -2
- package/dist/components/cura-paragraph2.js.map +1 -1
- package/dist/components/cura-radio.js +1 -1
- package/dist/components/cura-select-option2.js +1 -1
- package/dist/components/cura-select2.js +3 -3
- package/dist/components/cura-switch.js +1 -1
- package/dist/components/index.js +0 -6
- package/dist/components/index.js.map +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/cura.esm.js.map +1 -1
- package/dist/cura/{p-5afb630e.entry.js → p-07817634.entry.js} +2 -2
- package/dist/cura/{p-24cd591e.entry.js → p-1016108a.entry.js} +2 -2
- package/dist/cura/{p-fc9584dd.entry.js → p-174d220e.entry.js} +2 -2
- package/dist/cura/{p-d227469a.entry.js → p-186392b7.entry.js} +2 -2
- package/dist/cura/{p-d25142cd.entry.js → p-197213c0.entry.js} +2 -2
- package/dist/cura/{p-bf69b32f.entry.js → p-25932952.entry.js} +2 -2
- package/dist/cura/{p-89671cd4.entry.js → p-3519d0ba.entry.js} +2 -2
- package/dist/cura/{p-02c2b948.entry.js → p-38777561.entry.js} +2 -2
- package/dist/cura/{p-6243742a.entry.js → p-3c305dbd.entry.js} +2 -2
- package/dist/cura/{p-f1098b41.entry.js → p-405a50de.entry.js} +2 -2
- package/dist/cura/{p-af3ac476.js → p-4ee8efca.js} +3 -3
- package/dist/cura/p-4ee8efca.js.map +1 -0
- package/dist/cura/{p-bfaf9964.entry.js → p-53d68d72.entry.js} +2 -2
- package/dist/cura/p-5b928e46.entry.js +2 -0
- package/dist/cura/p-5b928e46.entry.js.map +1 -0
- package/dist/cura/{p-506747fb.entry.js → p-62c1b0f4.entry.js} +2 -2
- package/dist/cura/{p-0a391c03.entry.js → p-6f7f157e.entry.js} +2 -2
- package/dist/cura/{p-635c0f4d.entry.js → p-777decf9.entry.js} +2 -2
- package/dist/cura/{p-8fb3bede.entry.js → p-a1782f0e.entry.js} +2 -2
- package/dist/cura/{p-d2da92d9.entry.js → p-ac0c90af.entry.js} +2 -2
- package/dist/cura/{p-86d317f3.entry.js → p-b254bbe4.entry.js} +2 -2
- package/dist/cura/p-b254bbe4.entry.js.map +1 -0
- package/dist/cura/{p-9214ee88.entry.js → p-d77df3f0.entry.js} +2 -2
- package/dist/cura/{p-18af52e4.entry.js → p-d7f46266.entry.js} +2 -2
- package/dist/cura/{p-02717e7d.entry.js → p-e1916252.entry.js} +2 -2
- package/dist/cura/{p-500f1256.entry.js → p-fc1fd622.entry.js} +2 -2
- package/dist/esm/cura-accordion_18.entry.js +48 -47
- package/dist/esm/cura-accordion_18.entry.js.map +1 -1
- package/dist/esm/cura-alert.entry.js +1 -1
- package/dist/esm/cura-badge-counter.entry.js +1 -1
- package/dist/esm/cura-badge-dot.entry.js +1 -1
- package/dist/esm/cura-badge-pill.entry.js +1 -1
- package/dist/esm/cura-button-outline.entry.js +1 -1
- package/dist/esm/cura-button-select.entry.js +1 -1
- package/dist/esm/cura-calendar.entry.js +1 -1
- package/dist/esm/cura-card.entry.js +1 -1
- package/dist/esm/cura-checkbox.entry.js +1 -1
- package/dist/esm/cura-display.entry.js +2 -2
- package/dist/esm/cura-dropdown-search-not-found.entry.js +1 -1
- package/dist/esm/cura-dropdown-search-not-found.entry.js.map +1 -1
- package/dist/esm/cura-icons-view.entry.js +1 -1
- package/dist/esm/cura-input-date.entry.js +2 -2
- package/dist/esm/cura-loader-bar.entry.js +2 -2
- package/dist/esm/cura-modal.entry.js +1 -1
- package/dist/esm/cura-progress-bar_2.entry.js +1 -1
- package/dist/esm/cura-radio.entry.js +2 -2
- package/dist/esm/cura-stepper.entry.js +1 -1
- package/dist/esm/cura-switch.entry.js +2 -2
- package/dist/esm/cura-toast.entry.js +1 -1
- package/dist/esm/cura-tooltip.entry.js +1 -1
- package/dist/esm/cura.js +3 -3
- package/dist/esm/{index-717b36df.js → index-21683715.js} +2 -5
- package/dist/esm/index-21683715.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/{cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.d.ts → cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.d.ts} +1 -1
- package/dist/types/components/{cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.d.ts → cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.d.ts} +1 -1
- package/dist/types/components/{cura-dropdown-search-new/cura-dropdown-search-new.d.ts → cura-dropdown-search/cura-dropdown-search.d.ts} +1 -1
- package/dist/types/components.d.ts +12 -211
- package/package.json +2 -2
- package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +0 -22
- package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +0 -65
- package/dist/cjs/cura-dropdown-search-option.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-dropdown-search.cjs.entry.js +0 -285
- package/dist/cjs/cura-dropdown-search.cjs.entry.js.map +0 -1
- package/dist/cjs/index-12d54921.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.js.map +0 -1
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.js.map +0 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +0 -76
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +0 -164
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js.map +0 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js +0 -65
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.js.map +0 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.css +0 -10
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +0 -19
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js.map +0 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.css +0 -158
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +0 -534
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js.map +0 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js +0 -218
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.stories.js.map +0 -1
- package/dist/components/cura-dropdown-search-new.d.ts +0 -11
- package/dist/components/cura-dropdown-search-new.js +0 -400
- package/dist/components/cura-dropdown-search-new.js.map +0 -1
- package/dist/components/cura-dropdown-search-option-new.d.ts +0 -11
- package/dist/components/cura-dropdown-search-option-new.js +0 -81
- package/dist/components/cura-dropdown-search-option-new.js.map +0 -1
- package/dist/components/cura-dropdown-search-option-title.d.ts +0 -11
- package/dist/components/cura-dropdown-search-option-title.js +0 -42
- package/dist/components/cura-dropdown-search-option-title.js.map +0 -1
- package/dist/cura/p-46994182.entry.js +0 -2
- package/dist/cura/p-46994182.entry.js.map +0 -1
- package/dist/cura/p-86d317f3.entry.js.map +0 -1
- package/dist/cura/p-af3ac476.js.map +0 -1
- package/dist/cura/p-b1d6ee8d.entry.js +0 -2
- package/dist/cura/p-b1d6ee8d.entry.js.map +0 -1
- package/dist/cura/p-b3582389.entry.js +0 -2
- package/dist/cura/p-b3582389.entry.js.map +0 -1
- package/dist/cura/p-ee7328a5.entry.js +0 -2
- package/dist/cura/p-ee7328a5.entry.js.map +0 -1
- package/dist/esm/cura-dropdown-search-option-title.entry.js +0 -18
- package/dist/esm/cura-dropdown-search-option-title.entry.js.map +0 -1
- package/dist/esm/cura-dropdown-search-option.entry.js +0 -61
- package/dist/esm/cura-dropdown-search-option.entry.js.map +0 -1
- package/dist/esm/cura-dropdown-search.entry.js +0 -281
- package/dist/esm/cura-dropdown-search.entry.js.map +0 -1
- package/dist/esm/index-717b36df.js.map +0 -1
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.d.ts +0 -31
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.stories.d.ts +0 -55
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.d.ts +0 -3
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.d.ts +0 -142
- package/dist/types/components/forms/cura-dropdown-search/cura-dropdown-search.stories.d.ts +0 -157
- /package/dist/collection/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-category/cura-dropdown-search-category.css +0 -0
- /package/dist/collection/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-category/cura-dropdown-search-category.js +0 -0
- /package/dist/collection/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-not-found/cura-dropdown-search-not-found.css +0 -0
- /package/dist/collection/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +0 -0
- /package/dist/collection/components/{cura-dropdown-search-new/cura-dropdown-search-new.css → cura-dropdown-search/cura-dropdown-search.css} +0 -0
- /package/dist/cura/{p-5afb630e.entry.js.map → p-07817634.entry.js.map} +0 -0
- /package/dist/cura/{p-24cd591e.entry.js.map → p-1016108a.entry.js.map} +0 -0
- /package/dist/cura/{p-fc9584dd.entry.js.map → p-174d220e.entry.js.map} +0 -0
- /package/dist/cura/{p-d227469a.entry.js.map → p-186392b7.entry.js.map} +0 -0
- /package/dist/cura/{p-d25142cd.entry.js.map → p-197213c0.entry.js.map} +0 -0
- /package/dist/cura/{p-bf69b32f.entry.js.map → p-25932952.entry.js.map} +0 -0
- /package/dist/cura/{p-89671cd4.entry.js.map → p-3519d0ba.entry.js.map} +0 -0
- /package/dist/cura/{p-02c2b948.entry.js.map → p-38777561.entry.js.map} +0 -0
- /package/dist/cura/{p-6243742a.entry.js.map → p-3c305dbd.entry.js.map} +0 -0
- /package/dist/cura/{p-f1098b41.entry.js.map → p-405a50de.entry.js.map} +0 -0
- /package/dist/cura/{p-bfaf9964.entry.js.map → p-53d68d72.entry.js.map} +0 -0
- /package/dist/cura/{p-506747fb.entry.js.map → p-62c1b0f4.entry.js.map} +0 -0
- /package/dist/cura/{p-0a391c03.entry.js.map → p-6f7f157e.entry.js.map} +0 -0
- /package/dist/cura/{p-635c0f4d.entry.js.map → p-777decf9.entry.js.map} +0 -0
- /package/dist/cura/{p-8fb3bede.entry.js.map → p-a1782f0e.entry.js.map} +0 -0
- /package/dist/cura/{p-d2da92d9.entry.js.map → p-ac0c90af.entry.js.map} +0 -0
- /package/dist/cura/{p-9214ee88.entry.js.map → p-d77df3f0.entry.js.map} +0 -0
- /package/dist/cura/{p-18af52e4.entry.js.map → p-d7f46266.entry.js.map} +0 -0
- /package/dist/cura/{p-02717e7d.entry.js.map → p-e1916252.entry.js.map} +0 -0
- /package/dist/cura/{p-500f1256.entry.js.map → p-fc1fd622.entry.js.map} +0 -0
- /package/dist/types/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-category/cura-dropdown-search-category.d.ts +0 -0
- /package/dist/types/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-category/cura-dropdown-search-category.stories.d.ts +0 -0
- /package/dist/types/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-not-found/cura-dropdown-search-not-found.d.ts +0 -0
- /package/dist/types/components/{cura-dropdown-search-new → cura-dropdown-search}/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.d.ts +0 -0
- /package/dist/types/components/{cura-dropdown-search-new/cura-dropdown-search-new.stories.d.ts → cura-dropdown-search/cura-dropdown-search.stories.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-21683715.js';
|
|
2
2
|
import { l as labelSizes } from './cura-button.definitions-617d3bad.js';
|
|
3
3
|
import { S as Static } from './static-061aa850.js';
|
|
4
4
|
import { i as iconSizes } from './cura-icon.definitions-a892c0e2.js';
|
|
@@ -430,26 +430,6 @@ const CuraButtonTransparent = class {
|
|
|
430
430
|
};
|
|
431
431
|
CuraButtonTransparent.style = CuraButtonTransparentStyle0;
|
|
432
432
|
|
|
433
|
-
const curaDropdownSearchCategoryCss = ":host{display:block;box-sizing:border-box}:host .component-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;min-height:calc(var(--cura-spacing-base) * 10px);padding:0 calc(var(--cura-spacing-base) * 1px);border-bottom:1px solid var(--neutral-light);padding:calc(var(--cura-spacing-base) * 3px) 0}:host(:last-child) .component-container{border-bottom:none !important}";
|
|
434
|
-
const CuraDropdownSearchCategoryStyle0 = curaDropdownSearchCategoryCss;
|
|
435
|
-
|
|
436
|
-
const CuraDropdownSearchCategory = class {
|
|
437
|
-
constructor(hostRef) {
|
|
438
|
-
registerInstance(this, hostRef);
|
|
439
|
-
this.styles = {};
|
|
440
|
-
this.theme = window.CuraAPI.theme;
|
|
441
|
-
}
|
|
442
|
-
connectedCallback() {
|
|
443
|
-
this.styles = {
|
|
444
|
-
'--neutral-light': this.theme.colors.getColor('neutral-light')
|
|
445
|
-
};
|
|
446
|
-
}
|
|
447
|
-
render() {
|
|
448
|
-
return (h(Host, { key: '511391a8c6c1c998b04e3093838173ae76549715' }, h("div", { key: '63da720bb3d2cc354ef5f1e9ceaf0f2f9c396f4e', class: "component-container", style: this.styles }, h("cura-heading", { key: 'ba003607e581d4abaf2e6d617f94e3174d04a4b3', size: 'xsmall', weight: 'bold', color: 'neutral-dark', marginBlock: '0', lineHeight: '1em' }, h("slot", { key: '80b14ff99b42a64082895db81b4dbe78cd7545a3' })))));
|
|
449
|
-
}
|
|
450
|
-
};
|
|
451
|
-
CuraDropdownSearchCategory.style = CuraDropdownSearchCategoryStyle0;
|
|
452
|
-
|
|
453
433
|
function checkMobile() {
|
|
454
434
|
return (window === null || window === void 0 ? void 0 : window.innerWidth) < Static.breakpoints.medium.min;
|
|
455
435
|
}
|
|
@@ -541,10 +521,10 @@ class FixedElementScrollBehavior {
|
|
|
541
521
|
}
|
|
542
522
|
}
|
|
543
523
|
|
|
544
|
-
const
|
|
545
|
-
const
|
|
524
|
+
const curaDropdownSearchCss = ":host{display:block;box-sizing:border-box;position:relative}:host .component-controls{display:flex;align-items:center;justify-content:center;gap:calc(var(--cura-spacing-base) * 1px)}:host .component-controls #button-back{padding:0 0 0 calc(var(--cura-spacing-base) * 3px);width:max-content}:host .component-container{box-sizing:border-box;width:100%;position:relative;display:grid;grid-template-columns:1fr;grid-template-rows:min-content 1fr}:host .component-container.zoom{position:fixed;top:0;left:0;width:100vw;background:var(--purewhite);height:var(--height);z-index:9999;overscroll-behavior:contain}:host .component-container.zoom .component-controls{border-bottom:2px solid var(--primary);padding:calc(var(--cura-spacing-base) * 3px) 0}:host .component-container.zoom.error .component-controls{border-bottom:2px solid var(--error-dark);background-color:var(--error-lighter)}:host .component-container .dropdown-container{box-sizing:border-box;width:100%;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;padding:calc(var(--cura-spacing-base) * 3px);overscroll-behavior:contain}:host .component-container:not(.zoom) .dropdown-container{box-shadow:0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16));position:absolute;bottom:0;left:0;transform:translateY(100%);max-height:var(--max-height);background-color:var(--purewhite);border-radius:0px 0px calc(var(--cura-spacing-base) * 1px) calc(var(--cura-spacing-base) * 1px);border-bottom:2px solid var(--neutral-light);border-left:2px solid var(--neutral-light);border-right:2px solid var(--neutral-light);display:none;z-index:9997}:host .component-container:not(.zoom).dropdown-visible ::part(cura-input-field){border-radius:4px 4px 0px 0px}:host .component-container:not(.zoom).dropdown-visible ::part(cura-input-text-helper){height:0px;overflow:hidden;margin-top:0px}:host .component-container:not(.zoom).dropdown-visible .dropdown-container{display:block}";
|
|
525
|
+
const CuraDropdownSearchStyle0 = curaDropdownSearchCss;
|
|
546
526
|
|
|
547
|
-
const
|
|
527
|
+
const CuraDropdownSearch = class {
|
|
548
528
|
constructor(hostRef) {
|
|
549
529
|
registerInstance(this, hostRef);
|
|
550
530
|
this.termchange = createEvent(this, "termchange", 7);
|
|
@@ -699,8 +679,9 @@ const CuraDropdownSearchNew = class {
|
|
|
699
679
|
this.clearHighlight();
|
|
700
680
|
return;
|
|
701
681
|
}
|
|
702
|
-
|
|
703
|
-
|
|
682
|
+
const selectableItemsLastPosition = this.dropdownSelectableItems.length - 1;
|
|
683
|
+
if (position > selectableItemsLastPosition)
|
|
684
|
+
position = selectableItemsLastPosition;
|
|
704
685
|
if (this.highlightedElement)
|
|
705
686
|
this.highlightedElement.highlighted = false;
|
|
706
687
|
this.highlightedIndex = position;
|
|
@@ -770,7 +751,7 @@ const CuraDropdownSearchNew = class {
|
|
|
770
751
|
.assignedElements()
|
|
771
752
|
.forEach(item => {
|
|
772
753
|
elements.push(item);
|
|
773
|
-
if (item.localName === 'cura-dropdown-search-option
|
|
754
|
+
if (item.localName === 'cura-dropdown-search-option' && item["selectable"])
|
|
774
755
|
selectable.push(item);
|
|
775
756
|
if (item.localName === 'cura-dropdown-search-not-found')
|
|
776
757
|
hasNotFound = true;
|
|
@@ -788,7 +769,7 @@ const CuraDropdownSearchNew = class {
|
|
|
788
769
|
exitZoom() {
|
|
789
770
|
this.scrollBehavior.enableScroll();
|
|
790
771
|
this.setZoomHeight();
|
|
791
|
-
this.zoomState = false;
|
|
772
|
+
setTimeout(() => { this.zoomState = false; }, 300);
|
|
792
773
|
}
|
|
793
774
|
setZoomHeight() {
|
|
794
775
|
var _a;
|
|
@@ -810,16 +791,36 @@ const CuraDropdownSearchNew = class {
|
|
|
810
791
|
};
|
|
811
792
|
}
|
|
812
793
|
render() {
|
|
813
|
-
return (h(Host, { key: '
|
|
794
|
+
return (h(Host, { key: '936c26e5c23d95d8e905f66d8bcf7c636781351e', style: this.getHostCSSProperties() }, h("div", { key: '6bd541e66e07d4db99af875886fbfaba5915fd48', class: this.getClasses(), style: this.styles }, h("div", { key: '4b5036b41878c317bc3b6716bf8590f1d672d21e', class: "component-controls" }, this.isMobile && this.zoomState ? (h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', h("cura-input-text", { key: '7d0d8f3090389570d51612ad89cedda9c452527f', disabled: this.disabled, label: this.label, part: "cura-input-field", mode: this.zoomState ? 'transparent' : 'default', required: this.required, iconName: this.icon || 'search', value: this.value, status: this.status, onValueChange: (ev) => this.handleInputValueChange(ev), onInput: (ev) => this._preventEvent(ev), onFocus: () => this.handleFocus(), onClick: (ev) => this._preventEvent(ev), onBlur: () => this.handleBlur(), onFocusout: () => this.handleFocusout(), onInputClear: (ev) => this.handleInputClear(ev), placeholder: this.placeholder, size: this.size, onKeyDown: (ev) => this.handleKeyDown(ev) }, h("slot", { key: 'e9cbf139d9b16a50bf0ca547246a66132e722add', name: "helperText" }))), h("div", { key: 'd8d83a726ef6e87740240b9fb637742bc52151e2', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, h("slot", { key: '7cf5efd8ca64c1f07a19bf0ae6dfcdaeb057c04b', onSlotchange: () => this.handleSlotChange() })))));
|
|
814
795
|
}
|
|
815
796
|
get host() { return getElement(this); }
|
|
816
797
|
};
|
|
817
|
-
|
|
798
|
+
CuraDropdownSearch.style = CuraDropdownSearchStyle0;
|
|
799
|
+
|
|
800
|
+
const curaDropdownSearchCategoryCss = ":host{display:block;box-sizing:border-box}:host .component-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;min-height:calc(var(--cura-spacing-base) * 10px);padding:0 calc(var(--cura-spacing-base) * 1px);border-bottom:1px solid var(--neutral-light);padding:calc(var(--cura-spacing-base) * 3px) 0}:host(:last-child) .component-container{border-bottom:none !important}";
|
|
801
|
+
const CuraDropdownSearchCategoryStyle0 = curaDropdownSearchCategoryCss;
|
|
802
|
+
|
|
803
|
+
const CuraDropdownSearchCategory = class {
|
|
804
|
+
constructor(hostRef) {
|
|
805
|
+
registerInstance(this, hostRef);
|
|
806
|
+
this.styles = {};
|
|
807
|
+
this.theme = window.CuraAPI.theme;
|
|
808
|
+
}
|
|
809
|
+
connectedCallback() {
|
|
810
|
+
this.styles = {
|
|
811
|
+
'--neutral-light': this.theme.colors.getColor('neutral-light')
|
|
812
|
+
};
|
|
813
|
+
}
|
|
814
|
+
render() {
|
|
815
|
+
return (h(Host, { key: '511391a8c6c1c998b04e3093838173ae76549715' }, h("div", { key: '63da720bb3d2cc354ef5f1e9ceaf0f2f9c396f4e', class: "component-container", style: this.styles }, h("cura-heading", { key: 'ba003607e581d4abaf2e6d617f94e3174d04a4b3', size: 'xsmall', weight: 'bold', color: 'neutral-dark', marginBlock: '0', lineHeight: '1em' }, h("slot", { key: '80b14ff99b42a64082895db81b4dbe78cd7545a3' })))));
|
|
816
|
+
}
|
|
817
|
+
};
|
|
818
|
+
CuraDropdownSearchCategory.style = CuraDropdownSearchCategoryStyle0;
|
|
818
819
|
|
|
819
|
-
const
|
|
820
|
-
const
|
|
820
|
+
const curaDropdownSearchOptionCss = ":host{display:block;box-sizing:border-box}:host .component-container{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;min-height:calc(var(--cura-spacing-base) * 10px);padding:0 calc(var(--cura-spacing-base) * 1px);border-bottom:1px solid var(--neutral-light);transition:background-color 0.15s linear}:host .component-container:not(.selected):not(.not-selectable):has(.selectable-container:hover),:host .component-container:not(.selected):not(.not-selectable).highlighted{background-color:var(--neutral-white)}:host .selectable-container{flex:1;display:flex;align-items:center;justify-content:flex-start;padding:calc(var(--cura-spacing-base) * 3px) 0;min-height:calc(var(--cura-spacing-base) * 10px);min-width:0;gap:calc(var(--cura-spacing-base) * 1px);cursor:pointer}:host .selectable-container .content{flex:1;align-items:center;justify-content:flex-end;padding-right:calc(var(--cura-spacing-base) * 1px);min-width:0}:host .selectable-container ::slotted(cura-icon){--color:var(--neutral-dark) !important;margin:0 10px}:host .selectable-container ::slotted(cura-avatar){margin:0 calc(var(--cura-spacing-base) * 1px)}:host .selectable-container ::slotted(cura-heading),:host .selectable-container ::slotted(cura-paragraph){--margin-block:0 !important;--color-spot:var(--primary) !important}:host .selectable-container ::slotted(cura-heading){--color-body:var(--neutral-black) !important}:host .selectable-container ::slotted(cura-paragraph){--color-body:var(--neutral-dark) !important}:host .selected{background-color:var(--primary-lighter-50);border-bottom-color:var(--primary-light)}:host .selected .selectable-container{cursor:default}:host .selected .selectable-container ::slotted(cura-icon){--color:var(--primary) !important}:host .selected .selectable-container ::slotted(cura-heading){--color-body:var(--primary) !important}:host .actions-container{display:flex}:host .actions-container ::slotted(*){padding-left:calc(var(--cura-spacing-base) * 1px)}:host .not-selectable .selectable-container{cursor:default}:host(:last-child) .component-container{border-bottom:none !important}";
|
|
821
|
+
const CuraDropdownSearchOptionStyle0 = curaDropdownSearchOptionCss;
|
|
821
822
|
|
|
822
|
-
const
|
|
823
|
+
const CuraDropdownSearchOption = class {
|
|
823
824
|
constructor(hostRef) {
|
|
824
825
|
registerInstance(this, hostRef);
|
|
825
826
|
this.actionclick = createEvent(this, "actionclick", 7);
|
|
@@ -863,12 +864,12 @@ const CuraDropdownSearchOptionNew = class {
|
|
|
863
864
|
};
|
|
864
865
|
}
|
|
865
866
|
render() {
|
|
866
|
-
return (h(Host, { key: '
|
|
867
|
+
return (h(Host, { key: '6168a95a628d07878f472c310390bf9c45bd5057' }, h("div", { key: '29763282f101a9fbe205c91e7b3c70fa51878e63', class: this.getClasses(), style: this.styles }, h("div", { key: '46bd7a250ad866b984e6f4184aa4800e89b741c9', class: "selectable-container", onClick: () => this.handleSelect() }, h("slot", { key: '77088405f3cc4f077e49a4266fb926348774d9e9', name: 'image' }), h("div", { key: '96baef2af4ffe7c5ec809a5adbd0512120b6c71c', class: "content" }, h("slot", { key: 'e41794e8eaff6bfe1516e88e8591ca915eb7ad3f' }))), h("div", { key: '991bca3b0956519b531d576a1738bc3f200cc73f', class: "actions-container", onClick: () => this.handleActionsClick() }, h("slot", { key: '098e8c29ab48ef8e0cfff2a48a31860eafb62487', name: 'actions' })))));
|
|
867
868
|
}
|
|
868
869
|
};
|
|
869
|
-
|
|
870
|
+
CuraDropdownSearchOption.style = CuraDropdownSearchOptionStyle0;
|
|
870
871
|
|
|
871
|
-
const curaHeadingCss = ":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.714em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.bold-weight,:host h2.bold-weight,:host h3.bold-weight,:host h4.bold-weight,:host h5.bold-weight,:host h6.bold-weight{font-weight:var(--font-weight-medium)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.071em;letter-spacing:-0.58px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:calc(var(--line-height) + 20%)}:host h1.small.bold-weight,:host h1.small ::slotted(b),:host h1.small ::slotted(strong),:host h2.small.bold-weight,:host h2.small ::slotted(b),:host h2.small ::slotted(strong),:host h3.small.bold-weight,:host h3.small ::slotted(b),:host h3.small ::slotted(strong),:host h4.small.bold-weight,:host h4.small ::slotted(b),:host h4.small ::slotted(strong),:host h5.small.bold-weight,:host h5.small ::slotted(b),:host h5.small ::slotted(strong),:host h6.small.bold-weight,:host h6.small ::slotted(b),:host h6.small ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.8571428571em;font-weight:var(--font-weight-medium);letter-spacing:0.6px}:host h1.xsmall.bold-weight,:host h1.xsmall ::slotted(b),:host h1.xsmall ::slotted(strong),:host h2.xsmall.bold-weight,:host h2.xsmall ::slotted(b),:host h2.xsmall ::slotted(strong),:host h3.xsmall.bold-weight,:host h3.xsmall ::slotted(b),:host h3.xsmall ::slotted(strong),:host h4.xsmall.bold-weight,:host h4.xsmall ::slotted(b),:host h4.xsmall ::slotted(strong),:host h5.xsmall.bold-weight,:host h5.xsmall ::slotted(b),:host h5.xsmall ::slotted(strong),:host h6.xsmall.bold-weight,:host h6.xsmall ::slotted(b),:host h6.xsmall ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.textoverflow-single,:host h2.textoverflow-single,:host h3.textoverflow-single,:host h4.textoverflow-single,:host h5.textoverflow-single,:host h6.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host h1 ::slotted(b),:host h1 ::slotted(strong),:host h2 ::slotted(b),:host h2 ::slotted(strong),:host h3 ::slotted(b),:host h3 ::slotted(strong),:host h4 ::slotted(b),:host h4 ::slotted(strong),:host h5 ::slotted(b),:host h5 ::slotted(strong),:host h6 ::slotted(b),:host h6 ::slotted(strong){font-weight:var(--font-weight-medium)}:host h1 ::slotted(a),:host h2 ::slotted(a),:host h3 ::slotted(a),:host h4 ::slotted(a),:host h5 ::slotted(a),:host h6 ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-spot);text-underline-offset:10%;cursor:pointer}:host h1 ::slotted(u),:host h2 ::slotted(u),:host h3 ::slotted(u),:host h4 ::slotted(u),:host h5 ::slotted(u),:host h6 ::slotted(u){text-underline-offset:10%}:host h1 ::slotted(abbr),:host h2 ::slotted(abbr),:host h3 ::slotted(abbr),:host h4 ::slotted(abbr),:host h5 ::slotted(abbr),:host h6 ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}:host h1 ::slotted(i),:host h2 ::slotted(i),:host h3 ::slotted(i),:host h4 ::slotted(i),:host h5 ::slotted(i),:host h6 ::slotted(i){font-weight:var(--font-weight-medium)}:host h1 ::slotted(em),:host h2 ::slotted(em),:host h3 ::slotted(em),:host h4 ::slotted(em),:host h5 ::slotted(em),:host h6 ::slotted(em){color:var(--color-spot);font-weight:var(--font-weight-bold);font-style:normal}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.357em;letter-spacing:-0.66px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) + 3%);letter-spacing:0.72px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:calc(var(--line-height) + 5%);letter-spacing:-0.82px}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.929em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.714em;line-height:calc(var(--line-height) + 30%);letter-spacing:0%}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:1em;line-height:calc(var(--line-height) + 12.857%);letter-spacing:0.28px}}";
|
|
872
|
+
const curaHeadingCss = ":host{display:block;font-size:var(--font-size-base)}:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-family:var(--font-family);font-size:1.714em;font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0px}:host h1.bold-weight,:host h2.bold-weight,:host h3.bold-weight,:host h4.bold-weight,:host h5.bold-weight,:host h6.bold-weight{font-weight:var(--font-weight-medium)}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.071em;letter-spacing:-0.58px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.214em;line-height:calc(var(--line-height) + 20%)}:host h1.small.bold-weight,:host h1.small ::slotted(b),:host h1.small ::slotted(strong),:host h2.small.bold-weight,:host h2.small ::slotted(b),:host h2.small ::slotted(strong),:host h3.small.bold-weight,:host h3.small ::slotted(b),:host h3.small ::slotted(strong),:host h4.small.bold-weight,:host h4.small ::slotted(b),:host h4.small ::slotted(strong),:host h5.small.bold-weight,:host h5.small ::slotted(b),:host h5.small ::slotted(strong),:host h6.small.bold-weight,:host h6.small ::slotted(b),:host h6.small ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.8571428571em;font-weight:var(--font-weight-medium);letter-spacing:0.6px}:host h1.xsmall.bold-weight,:host h1.xsmall ::slotted(b),:host h1.xsmall ::slotted(strong),:host h2.xsmall.bold-weight,:host h2.xsmall ::slotted(b),:host h2.xsmall ::slotted(strong),:host h3.xsmall.bold-weight,:host h3.xsmall ::slotted(b),:host h3.xsmall ::slotted(strong),:host h4.xsmall.bold-weight,:host h4.xsmall ::slotted(b),:host h4.xsmall ::slotted(strong),:host h5.xsmall.bold-weight,:host h5.xsmall ::slotted(b),:host h5.xsmall ::slotted(strong),:host h6.xsmall.bold-weight,:host h6.xsmall ::slotted(b),:host h6.xsmall ::slotted(strong){font-weight:var(--font-weight-bold)}:host h1.textoverflow-single,:host h2.textoverflow-single,:host h3.textoverflow-single,:host h4.textoverflow-single,:host h5.textoverflow-single,:host h6.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host h1 ::slotted(b),:host h1 ::slotted(strong),:host h2 ::slotted(b),:host h2 ::slotted(strong),:host h3 ::slotted(b),:host h3 ::slotted(strong),:host h4 ::slotted(b),:host h4 ::slotted(strong),:host h5 ::slotted(b),:host h5 ::slotted(strong),:host h6 ::slotted(b),:host h6 ::slotted(strong){font-weight:var(--font-weight-medium)}:host h1 ::slotted(a),:host h2 ::slotted(a),:host h3 ::slotted(a),:host h4 ::slotted(a),:host h5 ::slotted(a),:host h6 ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-spot);text-underline-offset:10%;cursor:pointer}:host h1 ::slotted(u),:host h2 ::slotted(u),:host h3 ::slotted(u),:host h4 ::slotted(u),:host h5 ::slotted(u),:host h6 ::slotted(u){text-underline-offset:10%}:host h1 ::slotted(abbr),:host h2 ::slotted(abbr),:host h3 ::slotted(abbr),:host h4 ::slotted(abbr),:host h5 ::slotted(abbr),:host h6 ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}:host h1 ::slotted(i),:host h2 ::slotted(i),:host h3 ::slotted(i),:host h4 ::slotted(i),:host h5 ::slotted(i),:host h6 ::slotted(i){font-weight:var(--font-weight-medium)}:host h1 ::slotted(em),:host h2 ::slotted(em),:host h3 ::slotted(em),:host h4 ::slotted(em),:host h5 ::slotted(em),:host h6 ::slotted(em){color:var(--color-spot);font-weight:var(--font-weight-bold);font-style:normal}@media (min-width: 769px) and (max-width: 1920px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2em}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.357em;letter-spacing:-0.66px}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.357em}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) + 3%);letter-spacing:0.72px}}@media (min-width: 1921px){:host h1,:host h2,:host h3,:host h4,:host h5,:host h6{font-size:2.5em;line-height:calc(var(--line-height) + 5%);letter-spacing:-0.82px}:host h1.large,:host h2.large,:host h3.large,:host h4.large,:host h5.large,:host h6.large{font-size:2.929em}:host h1.small,:host h2.small,:host h3.small,:host h4.small,:host h5.small,:host h6.small{font-size:1.714em;line-height:calc(var(--line-height) + 30%);letter-spacing:0%}:host h1.xsmall,:host h2.xsmall,:host h3.xsmall,:host h4.xsmall,:host h5.xsmall,:host h6.xsmall{font-size:1em;line-height:calc(var(--line-height) + 12.857%);letter-spacing:0.28px}}";
|
|
872
873
|
const CuraHeadingStyle0 = curaHeadingCss;
|
|
873
874
|
|
|
874
875
|
const CuraHeading = class {
|
|
@@ -932,7 +933,7 @@ const CuraHeading = class {
|
|
|
932
933
|
return tags[`${this.level}`] || tags['default'];
|
|
933
934
|
}
|
|
934
935
|
render() {
|
|
935
|
-
return (h(Host, { key: '
|
|
936
|
+
return (h(Host, { key: 'e79594795b4b4f7ba5402556d70ab39677da948e', style: this.hostCSSProperties() }, this.getHeadingTag()));
|
|
936
937
|
}
|
|
937
938
|
get host() { return getElement(this); }
|
|
938
939
|
};
|
|
@@ -4953,7 +4954,7 @@ const CuraInputText = class {
|
|
|
4953
4954
|
};
|
|
4954
4955
|
CuraInputText.style = CuraInputTextStyle0;
|
|
4955
4956
|
|
|
4956
|
-
const curaLabelCss = ":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:1.143em;font-weight:var(--font-weight-medium);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.32px}:host p.bold-weight,:host p ::slotted(b),:host p ::slotted(strong),:host p ::slotted(u){font-weight:var(--font-weight-bold)}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:0.56px}:host p.xsmall{font-size:0.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:0.72px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host p ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%}:host p ::slotted(u){text-underline-offset:10%}:host p ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";
|
|
4957
|
+
const curaLabelCss = ":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:1.143em;font-weight:var(--font-weight-medium);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.32px}:host p.bold-weight,:host p ::slotted(b),:host p ::slotted(strong),:host p ::slotted(u){font-weight:var(--font-weight-bold)}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) - 4%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 4%);letter-spacing:0.56px}:host p.xsmall{font-size:0.857em;line-height:calc(var(--line-height) - 17%);letter-spacing:0.72px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-link);text-underline-offset:10%}:host p ::slotted(u){text-underline-offset:10%}:host p ::slotted(abbr){color:var(--color-link);text-decoration:underline dashed 1px var(--color-link);text-underline-offset:10%;cursor:default}";
|
|
4957
4958
|
const CuraLabelStyle0 = curaLabelCss;
|
|
4958
4959
|
|
|
4959
4960
|
const CuraLabel = class {
|
|
@@ -5008,7 +5009,7 @@ const CuraLabel = class {
|
|
|
5008
5009
|
};
|
|
5009
5010
|
}
|
|
5010
5011
|
render() {
|
|
5011
|
-
return (h(Host, { key: '
|
|
5012
|
+
return (h(Host, { key: '3b60258fa4dd9330296e8112a763b2242771c6fc', style: this.hostCSSProperties() }, h("p", { key: 'dbfc16e29a61c0f116d2055bdc1e3b61d79908b8', style: this.styles, class: this.getClasses() }, h("slot", { key: '032986e008067aae5b6b17b1e5fa70decf64d9e0' }))));
|
|
5012
5013
|
}
|
|
5013
5014
|
get host() { return getElement(this); }
|
|
5014
5015
|
static get watchers() { return {
|
|
@@ -5042,7 +5043,7 @@ const CuraLoaderCircle = class {
|
|
|
5042
5043
|
};
|
|
5043
5044
|
}
|
|
5044
5045
|
render() {
|
|
5045
|
-
return (h(Host, { key: '
|
|
5046
|
+
return (h(Host, { key: '32dd500d10e563701364bb6670a40ac9ccd0c2a6', style: this.getStyles() }, h("svg", { key: '68c958972419a1f93009f2ea09cc957e6ca5ec82', viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { key: '16c8878c324b2eebf8c28d61c7fcf372ab348d60' }, h("circle", { key: 'c26fade05ef6ec1861e14b6831b31922be12bc05', cx: "8", cy: "8", r: "7", stroke: "url(#paint0_linear_13485_11488)", "stroke-width": "2" }), h("path", { key: 'd7880ecb0164a214fbcabed606265bd3c349e858', d: "M1 8C1 4.13401 4.11877 1 7.96596 1C9.53445 1 10.9819 1.52093 12.1462 2.4C12.8959 2.96601 13.5282 3.68049 14 4.5", "stroke-width": "2" })), h("defs", { key: '4483e24d036775acdeba084ea8c6f2f18589ef3b' }, h("linearGradient", { key: '3d629d00197dabe1fae8b02ebe521c0fa1c248d3', id: "paint0_linear_13485_11488", x1: "15.7", y1: "4.5", x2: "4.15", y2: "11.5", gradientUnits: "userSpaceOnUse" }, h("stop", { key: 'd4df4cdb7d37a6d455b008488bc6a826f95708d3' }), h("stop", { key: 'b79b8bf6ad212ebd6bae7fad917984e64aded96e', offset: "1" }))))));
|
|
5046
5047
|
}
|
|
5047
5048
|
};
|
|
5048
5049
|
CuraLoaderCircle.style = CuraLoaderCircleStyle0;
|
|
@@ -5072,7 +5073,7 @@ const CuraPageTemplate = class {
|
|
|
5072
5073
|
};
|
|
5073
5074
|
CuraPageTemplate.style = CuraPageTemplateStyle0;
|
|
5074
5075
|
|
|
5075
|
-
const curaParagraphCss = ":host{display:block;font-size:var(--font-size-base)}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.28px}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.48px}:host p.caption,:host p.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.6px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host p ::slotted(b),:host p ::slotted(strong){font-weight:var(--font-weight-bold)}:host p ::slotted(a),:host p ::slotted(a:-webkit-any-link){font-weight:var(--font-weight-medium);color:var(--color-spot);text-underline-offset:10%}:host p ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host p ::slotted(i){font-style:italic}:host p ::slotted(em){font-weight:var(--font-weight-bold);color:var(--color-spot);font-style:normal}:host p ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.56px}:host p.caption,:host p.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.28px}}";
|
|
5076
|
+
const curaParagraphCss = ":host{display:block;font-size:var(--font-size-base);min-width:0}:host p{font-family:var(--font-family);font-size:var(--font-size-base);font-weight:var(--font-weight-regular);color:var(--color-body);line-height:var(--line-height);margin-block:var(--margin-block);letter-spacing:0.28px;width:100%}:host p.large{font-size:1.214em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:0.85em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.48px}:host p.caption,:host p.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.6px}:host p.textoverflow-single{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}:host p ::slotted(b),:host p ::slotted(strong){font-weight:var(--font-weight-bold)}:host p ::slotted(a),:host p ::slotted(a:-webkit-any-link){font-weight:var(--font-weight-medium);color:var(--color-spot);text-underline-offset:10%}:host p ::slotted(u){font-weight:var(--font-weight-medium);text-underline-offset:10%}:host p ::slotted(i){font-style:italic}:host p ::slotted(em){font-weight:var(--font-weight-bold);color:var(--color-spot);font-style:normal}:host p ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}@media (min-width: 769px) and (max-width: 1920px){:host p{font-size:1.143em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.32px}:host p.large{font-size:1.357em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.small{font-size:1em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.56px}:host p.caption,:host p.xsmall{font-size:0.8571428571em;line-height:calc(var(--line-height) - 5%);letter-spacing:0.72px}}@media (min-width: 1921px){:host p{font-size:1.429em;line-height:calc(var(--line-height) + 10%);letter-spacing:0px}:host p.large{font-size:1.714em;line-height:calc(var(--line-height) + 20%)}:host p.small{font-size:1.21em;line-height:calc(var(--line-height) + 5%);letter-spacing:0px}:host p.caption,:host p.xsmall{font-size:1em;line-height:calc(var(--line-height) + 5%);letter-spacing:0.28px}}";
|
|
5076
5077
|
const CuraParagraphStyle0 = curaParagraphCss;
|
|
5077
5078
|
|
|
5078
5079
|
const CuraParagraph = class {
|
|
@@ -5120,7 +5121,7 @@ const CuraParagraph = class {
|
|
|
5120
5121
|
return classes;
|
|
5121
5122
|
}
|
|
5122
5123
|
render() {
|
|
5123
|
-
return (h(Host, { key: '
|
|
5124
|
+
return (h(Host, { key: '82a00d925fb71039df0ae6f2e3a5d9cca5303088', style: this.hostCSSProperties() }, h("p", { key: 'f4254d6492ffcd18f5f8fe1c50337b57e70124b7', style: this.styles, class: this.getClasses() }, h("slot", { key: 'a1fde2f7ce4185535c204e06883ce3588e6023c8' }))));
|
|
5124
5125
|
}
|
|
5125
5126
|
get host() { return getElement(this); }
|
|
5126
5127
|
};
|
|
@@ -5430,13 +5431,13 @@ const CuraSelect = class {
|
|
|
5430
5431
|
return h("cura-icon", { class: "feedback-icon", name: icon, iconset: "default", size: this.size === 'large' ? 20 : 16, color: this.getColor('icon'), style: this.styles });
|
|
5431
5432
|
}
|
|
5432
5433
|
render() {
|
|
5433
|
-
return (h(Host, { key: '
|
|
5434
|
+
return (h(Host, { key: 'd3f5e8b4c914f900a0b5472531fd0d74f6d8f7b3', style: this.styles }, h("div", { key: '20dfeb3b9a24eec62ff8c5eae761b43fdfe4d11f', class: this.getClasses(), onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), onClick: this.handleClick }, this.label && (h("cura-label", { key: '2018bf563e3a2bedc7d918f566805b70a75b9aec', class: "label", weight: "bold", size: this.size === 'large' ? 'small' : 'xsmall', color: this.getColor('label') }, this.label, " ", this.required && h("span", { key: '0e9495c89ac0897062d247f89d3c3b3f85541283', class: "required" }, "* "))), h("div", { key: 'e967796b98e74112d0f36e22d2b82591645416ab', class: {
|
|
5434
5435
|
'cura-input-field': true,
|
|
5435
5436
|
'open': this.isOpen,
|
|
5436
|
-
} }, this.renderIcon(), h("input", { key: '
|
|
5437
|
+
} }, this.renderIcon(), h("input", { key: 'dbf6bbb693f9d395bebd7ee376c4e38753e25fa3', type: "text", autocomplete: "off", onFocus: () => (this.isFocused = true), onBlur: () => (this.isFocused = false), onKeyDown: this.handleKeyNavigation, "aria-required": String(this.required), "aria-disabled": String(this.disabled), "aria-invalid": String(this.status === 'error'), onInput: this.handleInputChange, style: this.styles, placeholder: this.placeholder, disabled: this.disabled, required: this.required, value: this.textInput, readonly: this.searchBehavior ? null : true }), h("button", { key: 'f03d55a13bc8c51d63a31f57f6d661453ee8c93b', class: "up-down-button" }, h("cura-icon", { key: 'c6c583d2d54063e5cfe0576f69d83b9125407157', name: this.isOpen ? 'up' : 'down', class: "up-down-icon", color: this.disabled ? 'neutral-dark' : 'primary-base', size: 16, iconset: "default" }))), h("cura-label", { key: '8457e91bcb1c1152dd263346434f79d994a77817', class: "helper-text", size: "xsmall", color: this.getColor('text'), weight: this.mode === 'transparent' ? 'bold' : 'regular' }, h("slot", { key: 'c4850de138a69d39bfd74942c7ca814b6c525c07' })), this.isOpen && (h("div", { key: '8fdbde63603a7a33fac2836b5e9f0041395d6f9a', class: {
|
|
5437
5438
|
menu: true,
|
|
5438
5439
|
open: this.isOpen,
|
|
5439
|
-
} }, h("slot", { key: '
|
|
5440
|
+
} }, h("slot", { key: '2267652be709728cddf39d5b4df6c99e4a75e072', name: "option" }))))));
|
|
5440
5441
|
}
|
|
5441
5442
|
static get formAssociated() { return true; }
|
|
5442
5443
|
get host() { return getElement(this); }
|
|
@@ -5486,7 +5487,7 @@ const CuraSelectOption = class {
|
|
|
5486
5487
|
};
|
|
5487
5488
|
}
|
|
5488
5489
|
render() {
|
|
5489
|
-
return (h(Host, { key: '
|
|
5490
|
+
return (h(Host, { key: 'e03173e6697b1983f3fb7efabd4a902e1c4f13f1', slot: "option" }, h("div", { key: '61334a4cd07414a4382b809f258e7783da73b1a9', class: this.getClasses(), style: this.styles }, h("cura-label", { key: 'f2e22cb02da86f7d44ee36e1aff6a8da9a19bff2', color: `${this.selected ? 'primary-base' : 'neutral-black'}`, size: this.getSize('label'), "margin-block": "0" }, h("slot", { key: '5e6f042d7a1223f1b9ceb43bdfa2f0dbe9b255de' })), this.selected && h("cura-icon", { key: '19b57d12d5d470e58c9c90f66ebf36f98866541e', name: 'check', size: this.getSize('icon'), color: "primary-base" }))));
|
|
5490
5491
|
}
|
|
5491
5492
|
get host() { return getElement(this); }
|
|
5492
5493
|
static get watchers() { return {
|
|
@@ -5495,6 +5496,6 @@ const CuraSelectOption = class {
|
|
|
5495
5496
|
};
|
|
5496
5497
|
CuraSelectOption.style = CuraSelectOptionStyle0;
|
|
5497
5498
|
|
|
5498
|
-
export { CuraAccordion as cura_accordion, CuraAccordionItem as cura_accordion_item, CuraAvatar as cura_avatar, CuraDistance as cura_badge_distance, CuraButton as cura_button, CuraButtonTransparent as cura_button_transparent,
|
|
5499
|
+
export { CuraAccordion as cura_accordion, CuraAccordionItem as cura_accordion_item, CuraAvatar as cura_avatar, CuraDistance as cura_badge_distance, CuraButton as cura_button, CuraButtonTransparent as cura_button_transparent, CuraDropdownSearch as cura_dropdown_search, CuraDropdownSearchCategory as cura_dropdown_search_category, CuraDropdownSearchOption as cura_dropdown_search_option, CuraHeading as cura_heading, CuraIcon as cura_icon, CuraInputText as cura_input_text, CuraLabel as cura_label, CuraLoaderCircle as cura_loader_circle, CuraPageTemplate as cura_page_template, CuraParagraph as cura_paragraph, CuraSelect as cura_select, CuraSelectOption as cura_select_option };
|
|
5499
5500
|
|
|
5500
5501
|
//# sourceMappingURL=cura-accordion_18.entry.js.map
|