@rededor/cura 1.6.0-alpha.0 → 1.6.0-alpha.2

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.
Files changed (88) hide show
  1. package/dist/cjs/cura-accordion_18.cjs.entry.js +12 -15
  2. package/dist/cjs/cura-accordion_18.cjs.entry.js.map +1 -1
  3. package/dist/cjs/cura-alert.cjs.entry.js +1 -1
  4. package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
  5. package/dist/cjs/cura-calendar.cjs.entry.js +12 -7
  6. package/dist/cjs/cura-calendar.cjs.entry.js.map +1 -1
  7. package/dist/cjs/cura-toast.cjs.entry.js +7 -1
  8. package/dist/cjs/cura-toast.cjs.entry.js.map +1 -1
  9. package/dist/cjs/cura-tooltip.cjs.entry.js +1 -1
  10. package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -1
  11. package/dist/cjs/cura.cjs.js +1 -1
  12. package/dist/cjs/loader.cjs.js +1 -1
  13. package/dist/collection/components/cura-alert/cura-alert.js +1 -1
  14. package/dist/collection/components/cura-alert/cura-alert.js.map +1 -1
  15. package/dist/collection/components/cura-avatar/cura-avatar.js +4 -4
  16. package/dist/collection/components/cura-avatar/cura-avatar.js.map +1 -1
  17. package/dist/collection/components/cura-calendar/cura-calendar.css +17 -16
  18. package/dist/collection/components/cura-calendar/cura-calendar.js +30 -7
  19. package/dist/collection/components/cura-calendar/cura-calendar.js.map +1 -1
  20. package/dist/collection/components/cura-calendar/cura-calendar.stories.js +12 -0
  21. package/dist/collection/components/cura-calendar/cura-calendar.stories.js.map +1 -1
  22. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.js +7 -13
  23. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.js.map +1 -1
  24. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.js +14 -3
  25. package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.js.map +1 -1
  26. package/dist/collection/components/cura-icon/cura-icon.css +1 -0
  27. package/dist/collection/components/cura-toast/cura-toast.js +28 -1
  28. package/dist/collection/components/cura-toast/cura-toast.js.map +1 -1
  29. package/dist/collection/components/cura-toast/cura-toast.stories.js +7 -0
  30. package/dist/collection/components/cura-toast/cura-toast.stories.js.map +1 -1
  31. package/dist/collection/components/cura-tooltip/cura-tooltip.css +1 -1
  32. package/dist/collection/components/text/cura-heading/cura-heading.css +26 -26
  33. package/dist/components/cura-alert.js +6 -6
  34. package/dist/components/cura-alert.js.map +1 -1
  35. package/dist/components/cura-avatar.js +4 -4
  36. package/dist/components/cura-avatar.js.map +1 -1
  37. package/dist/components/cura-calendar2.js +14 -8
  38. package/dist/components/cura-calendar2.js.map +1 -1
  39. package/dist/components/cura-dropdown-search-new.js +7 -12
  40. package/dist/components/cura-dropdown-search-new.js.map +1 -1
  41. package/dist/components/cura-heading2.js +1 -1
  42. package/dist/components/cura-heading2.js.map +1 -1
  43. package/dist/components/cura-icon2.js +1 -1
  44. package/dist/components/cura-icon2.js.map +1 -1
  45. package/dist/components/cura-toast.js +9 -2
  46. package/dist/components/cura-toast.js.map +1 -1
  47. package/dist/components/cura-tooltip.js +1 -1
  48. package/dist/components/cura-tooltip.js.map +1 -1
  49. package/dist/cura/cura.esm.js +1 -1
  50. package/dist/cura/cura.esm.js.map +1 -1
  51. package/dist/cura/p-02c2b948.entry.js +2 -0
  52. package/dist/cura/p-02c2b948.entry.js.map +1 -0
  53. package/dist/cura/p-506747fb.entry.js +2 -0
  54. package/dist/cura/p-506747fb.entry.js.map +1 -0
  55. package/dist/cura/p-823d0bb5.entry.js +2 -0
  56. package/dist/cura/p-823d0bb5.entry.js.map +1 -0
  57. package/dist/cura/{p-e98a1ad2.entry.js → p-89671cd4.entry.js} +2 -2
  58. package/dist/cura/{p-e98a1ad2.entry.js.map → p-89671cd4.entry.js.map} +1 -1
  59. package/dist/cura/{p-c0f445b5.entry.js → p-bf69b32f.entry.js} +2 -2
  60. package/dist/cura/p-bf69b32f.entry.js.map +1 -0
  61. package/dist/esm/cura-accordion_18.entry.js +12 -15
  62. package/dist/esm/cura-accordion_18.entry.js.map +1 -1
  63. package/dist/esm/cura-alert.entry.js +1 -1
  64. package/dist/esm/cura-alert.entry.js.map +1 -1
  65. package/dist/esm/cura-calendar.entry.js +12 -7
  66. package/dist/esm/cura-calendar.entry.js.map +1 -1
  67. package/dist/esm/cura-toast.entry.js +7 -1
  68. package/dist/esm/cura-toast.entry.js.map +1 -1
  69. package/dist/esm/cura-tooltip.entry.js +1 -1
  70. package/dist/esm/cura-tooltip.entry.js.map +1 -1
  71. package/dist/esm/cura.js +1 -1
  72. package/dist/esm/loader.js +1 -1
  73. package/dist/types/components/cura-avatar/cura-avatar.d.ts +1 -0
  74. package/dist/types/components/cura-calendar/cura-calendar.d.ts +8 -7
  75. package/dist/types/components/cura-calendar/cura-calendar.stories.d.ts +15 -0
  76. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-new.d.ts +3 -1
  77. package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.d.ts +12 -0
  78. package/dist/types/components/cura-toast/cura-toast.d.ts +4 -0
  79. package/dist/types/components/cura-toast/cura-toast.stories.d.ts +7 -0
  80. package/dist/types/components.d.ts +6 -0
  81. package/package.json +2 -2
  82. package/dist/cura/p-24d9f1f4.entry.js +0 -2
  83. package/dist/cura/p-24d9f1f4.entry.js.map +0 -1
  84. package/dist/cura/p-2afb14e9.entry.js +0 -2
  85. package/dist/cura/p-2afb14e9.entry.js.map +0 -1
  86. package/dist/cura/p-3576b633.entry.js +0 -2
  87. package/dist/cura/p-3576b633.entry.js.map +0 -1
  88. package/dist/cura/p-c0f445b5.entry.js.map +0 -1
@@ -157,9 +157,7 @@ const CuraAvatar = class {
157
157
  this.styles = {};
158
158
  }
159
159
  sizeHandler(size) {
160
- const avatarSize = avatarSizes[size];
161
- this.styles['--border'] = this.border && `${avatarSize.border}px`;
162
- this.styles['--size'] = `${this.size}px`;
160
+ this.styles = Object.assign(Object.assign({}, this.styles), { '--size': `${size}px` });
163
161
  }
164
162
  getClasses() {
165
163
  const classes = {};
@@ -172,17 +170,19 @@ const CuraAvatar = class {
172
170
  this.sizeHandler(this.size);
173
171
  }
174
172
  hostCSSProperties() {
173
+ const avatarSize = avatarSizes[this.size];
175
174
  return {
176
175
  '--background-color': window.CuraAPI.theme.colors.getColor(this.backgroundColor),
177
176
  '--border-color': window.CuraAPI.theme.colors.getColor(this.borderColor),
178
177
  '--border-radius': `${this.borderRadius}`,
178
+ '--border': this.border ? `${avatarSize.border}px` : '0',
179
179
  };
180
180
  }
181
181
  onSrcError() {
182
182
  this.imageSrc = this.imageSrcDefault || `${this.assetsPath}/images/avatar/patient-default.svg`;
183
183
  }
184
184
  render() {
185
- return (index.h(index.Host, { key: '467e74004b400e80a2d7f8e1a40cd9d7e782ff8a', style: this.hostCSSProperties(), role: "img" }, index.h("div", { key: 'c38a163b8aeebd07f8aece7aea9889c336df92a5', class: this.getClasses(), style: this.styles }, index.h("img", { key: 'a22868d4aae4029afb9b325a5c8f5556fa8984ea', src: this.imageSrc || this.imageSrcDefault || `${this.assetsPath}/images/avatar/patient-default.svg`, onError: () => this.onSrcError() }))));
185
+ return (index.h(index.Host, { key: '4e81726b8f163587f37fc80a537470147ca0b8f8', style: this.hostCSSProperties(), role: "img" }, index.h("div", { key: '0e844cd40171f401e51fef97a434e4ffbad1c946', class: this.getClasses(), style: this.styles }, index.h("img", { key: '92e0ecfb0996f822b53bcb41e91b92f619e1fbf6', src: this.imageSrc || this.imageSrcDefault || `${this.assetsPath}/images/avatar/patient-default.svg`, onError: () => this.onSrcError() }))));
186
186
  }
187
187
  get host() { return index.getElement(this); }
188
188
  static get watchers() { return {
@@ -653,10 +653,6 @@ const CuraDropdownSearchNew = class {
653
653
  this.isOnFocus = false;
654
654
  this.dropdownItems = [];
655
655
  }
656
- handleMaxHeightChange(newValue, oldValue) {
657
- if (newValue !== oldValue)
658
- this.styles = Object.assign(Object.assign({}, this.styles), { '--max-height': newValue });
659
- }
660
656
  /**
661
657
  * Set focus to input field.
662
658
  */
@@ -683,7 +679,6 @@ const CuraDropdownSearchNew = class {
683
679
  this.styles['--font-size'] = window.CuraAPI.theme.fonts.getSize();
684
680
  this.styles['--font-family'] = window.CuraAPI.theme.fonts.getFamily();
685
681
  this.styles['--font-weight-medium'] = this.weights.medium;
686
- this.handleMaxHeightChange(this.maxheight, '');
687
682
  window === null || window === void 0 ? void 0 : window.addEventListener('resize', this.handleWindowResize);
688
683
  window === null || window === void 0 ? void 0 : window.addEventListener('orientationchange', this.handleWindowResize);
689
684
  this.isMobile = checkMobile();
@@ -814,13 +809,15 @@ const CuraDropdownSearchNew = class {
814
809
  "error": this.status === 'error'
815
810
  };
816
811
  }
812
+ getHostCSSProperties() {
813
+ return {
814
+ '--max-height': this.maxheight || '400px'
815
+ };
816
+ }
817
817
  render() {
818
- return (index.h(index.Host, { key: '2fddf33d55ce7fd0e9648270012a462827fed62b' }, index.h("div", { key: 'c45c76906309db7a3bd9789bc87bebeef5fdfdb0', class: this.getClasses(), style: this.styles }, index.h("div", { key: 'be29c3debdb21abcdf90dd2446dfef2de8f1f5f6', class: "component-controls" }, this.isMobile && this.zoomState ? (index.h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', index.h("cura-input-text", { key: 'a27635ad3101a80d7116c3d6a605d37577b45893', 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) }, index.h("slot", { key: 'b96c64c5f5b01a487c6fc190e19af136576eb45f', name: "helperText" }))), index.h("div", { key: '249a0fd49fd854c7b69565194a06b27781b93b9b', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, index.h("slot", { key: '9e2e0ea5eaaade2a22956383baab4d8fc84d35a2', onSlotchange: () => this.handleSlotChange() })))));
818
+ return (index.h(index.Host, { key: '1ebfc600579b7a386966dcf00cf7136085e13709', style: this.getHostCSSProperties() }, index.h("div", { key: '80dcb14a6abaa3128197884188ef1f1ebd08d019', class: this.getClasses(), style: this.styles }, index.h("div", { key: '1255e6429cad5132e46c6492e379393632d30297', class: "component-controls" }, this.isMobile && this.zoomState ? (index.h("cura-button-transparent", { fontColor: "dark", onClick: () => this.handleBackClick(), iconName: "arrowLeft", size: "large", iconOnly: true, color: "primary", id: "button-back" })) : '', index.h("cura-input-text", { key: 'e603b95729405c50726a68897d543355cb131f3f', 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) }, index.h("slot", { key: 'a5a0f6df5162929eba35f75db09b2f7bf2f25636', name: "helperText" }))), index.h("div", { key: 'c39b6cf44904bbd755bb43791055d925ffb78d2b', class: "dropdown-container", onMouseOver: () => this.handleDropdownMouseOver() }, index.h("slot", { key: 'd0fc526af6d27f793d195030165be8224ebd356c', onSlotchange: () => this.handleSlotChange() })))));
819
819
  }
820
820
  get host() { return index.getElement(this); }
821
- static get watchers() { return {
822
- "maxheight": ["handleMaxHeightChange"]
823
- }; }
824
821
  };
825
822
  CuraDropdownSearchNew.style = CuraDropdownSearchNewStyle0;
826
823
 
@@ -876,7 +873,7 @@ const CuraDropdownSearchOptionNew = class {
876
873
  };
877
874
  CuraDropdownSearchOptionNew.style = CuraDropdownSearchOptionNewStyle0;
878
875
 
879
- 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)}@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}}:host ::slotted(b),:host ::slotted(strong){font-weight:var(--font-weight-medium)}:host ::slotted(a){font-weight:var(--font-weight-bold);color:var(--color-spot);text-underline-offset:10%;cursor:pointer}:host ::slotted(u){text-underline-offset:10%}:host ::slotted(abbr){color:var(--color-spot);text-decoration:underline dashed 1px var(--color-spot);text-underline-offset:10%;cursor:default}:host ::slotted(i){font-weight:var(--font-weight-medium)}:host ::slotted(em){color:var(--color-spot);font-weight:var(--font-weight-bold);font-style:normal}";
876
+ 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 ::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}}";
880
877
  const CuraHeadingStyle0 = curaHeadingCss;
881
878
 
882
879
  const CuraHeading = class {
@@ -943,7 +940,7 @@ const CuraHeading = class {
943
940
  };
944
941
  CuraHeading.style = CuraHeadingStyle0;
945
942
 
946
- const curaIconCss = ":host{width:var(--size);height:var(--size)}:host svg{display:inline-block;stroke:var(--color);width:var(--size);height:var(--size);stroke-width:var(--stroke);fill:none}";
943
+ const curaIconCss = ":host{width:var(--size);height:var(--size);display:inline-block}:host svg{display:inline-block;stroke:var(--color);width:var(--size);height:var(--size);stroke-width:var(--stroke);fill:none}";
947
944
  const CuraIconStyle0 = curaIconCss;
948
945
 
949
946
  const CuraIcon = class {