@esri/calcite-components 1.0.0-next.303 → 1.0.0-next.307

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 (144) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/calcite.js +1 -1
  3. package/dist/calcite/p-2a714a22.entry.js +5 -0
  4. package/dist/calcite/{p-e62a9b1d.system.entry.js → p-4778c5cf.system.entry.js} +1 -1
  5. package/dist/calcite/{p-9f240615.system.entry.js → p-59a285d8.system.entry.js} +1 -1
  6. package/dist/calcite/{p-b2bbac37.system.entry.js → p-7cbc72b6.system.entry.js} +1 -1
  7. package/dist/calcite/p-8e252799.system.js +5 -0
  8. package/dist/calcite/{p-784e414b.entry.js → p-aa47308a.entry.js} +1 -1
  9. package/dist/calcite/p-c61ebee9.entry.js +5 -0
  10. package/dist/calcite/p-dbe899c6.system.entry.js +5 -0
  11. package/dist/calcite/p-e616f9b5.entry.js +5 -0
  12. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +4 -6
  13. package/dist/cjs/calcite-graph_2.cjs.entry.js +20 -12
  14. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +1 -1
  15. package/dist/cjs/calcite-radio_2.cjs.entry.js +3 -7
  16. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +2 -2
  17. package/dist/cjs/calcite.cjs.js +2 -2
  18. package/dist/cjs/loader.cjs.js +2 -2
  19. package/dist/collection/collection-manifest.json +1 -1
  20. package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +4 -6
  21. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +2 -2
  22. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +3 -7
  23. package/dist/collection/components/calcite-slider/calcite-slider.css +1 -0
  24. package/dist/collection/components/calcite-slider/calcite-slider.js +21 -11
  25. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +16 -4
  26. package/dist/components/calcite-accordion-item.js +4 -1
  27. package/dist/components/calcite-accordion.js +4 -1
  28. package/dist/components/calcite-action-bar.js +4 -1
  29. package/dist/components/calcite-action-group2.js +4 -1
  30. package/dist/components/calcite-action-menu2.js +4 -1
  31. package/dist/components/calcite-action-pad.js +4 -1
  32. package/dist/components/calcite-action2.js +4 -1
  33. package/dist/components/calcite-alert.js +4 -1
  34. package/dist/components/calcite-avatar.js +4 -1
  35. package/dist/components/calcite-block-section.js +4 -1
  36. package/dist/components/calcite-block.js +4 -1
  37. package/dist/components/calcite-button2.js +5 -2
  38. package/dist/components/calcite-card.js +4 -1
  39. package/dist/components/calcite-checkbox2.js +4 -1
  40. package/dist/components/calcite-chip2.js +4 -1
  41. package/dist/components/calcite-color-picker-hex-input2.js +4 -1
  42. package/dist/components/calcite-color-picker-swatch2.js +4 -1
  43. package/dist/components/calcite-color-picker.js +8 -7
  44. package/dist/components/calcite-combobox-item-group.js +4 -1
  45. package/dist/components/calcite-combobox-item.js +4 -1
  46. package/dist/components/calcite-combobox.js +4 -1
  47. package/dist/components/calcite-date-picker-day2.js +4 -1
  48. package/dist/components/calcite-date-picker-month-header2.js +4 -1
  49. package/dist/components/calcite-date-picker-month2.js +4 -1
  50. package/dist/components/calcite-date-picker2.js +4 -1
  51. package/dist/components/calcite-dropdown-group.js +4 -1
  52. package/dist/components/calcite-dropdown-item.js +4 -1
  53. package/dist/components/calcite-dropdown2.js +4 -1
  54. package/dist/components/calcite-fab.js +4 -1
  55. package/dist/components/calcite-filter2.js +4 -1
  56. package/dist/components/calcite-flow.js +4 -1
  57. package/dist/components/calcite-graph2.js +4 -1
  58. package/dist/components/calcite-handle2.js +4 -1
  59. package/dist/components/calcite-icon2.js +4 -1
  60. package/dist/components/calcite-inline-editable.js +4 -1
  61. package/dist/components/calcite-input-date-picker.js +4 -1
  62. package/dist/components/calcite-input-message.js +4 -1
  63. package/dist/components/calcite-input-time-picker.js +5 -2
  64. package/dist/components/calcite-input2.js +4 -1
  65. package/dist/components/calcite-label2.js +4 -1
  66. package/dist/components/calcite-link2.js +4 -1
  67. package/dist/components/calcite-list-item-group.js +4 -1
  68. package/dist/components/calcite-list-item.js +4 -1
  69. package/dist/components/calcite-list.js +4 -1
  70. package/dist/components/calcite-loader2.js +4 -1
  71. package/dist/components/calcite-modal.js +4 -1
  72. package/dist/components/calcite-notice.js +4 -1
  73. package/dist/components/calcite-option-group.js +4 -1
  74. package/dist/components/calcite-option.js +4 -1
  75. package/dist/components/calcite-pagination.js +4 -1
  76. package/dist/components/calcite-panel.js +4 -1
  77. package/dist/components/calcite-pick-list-group.js +4 -1
  78. package/dist/components/calcite-pick-list-item2.js +4 -1
  79. package/dist/components/calcite-pick-list.js +4 -1
  80. package/dist/components/calcite-popover-manager.js +4 -1
  81. package/dist/components/calcite-popover2.js +4 -1
  82. package/dist/components/calcite-progress2.js +4 -1
  83. package/dist/components/calcite-radio-button-group.js +4 -1
  84. package/dist/components/calcite-radio-button.js +7 -8
  85. package/dist/components/calcite-radio-group-item.js +4 -1
  86. package/dist/components/calcite-radio-group.js +4 -1
  87. package/dist/components/calcite-radio2.js +4 -1
  88. package/dist/components/calcite-rating.js +4 -1
  89. package/dist/components/calcite-scrim2.js +4 -1
  90. package/dist/components/calcite-select.js +4 -1
  91. package/dist/components/calcite-shell-center-row.js +4 -1
  92. package/dist/components/calcite-shell-panel.js +4 -1
  93. package/dist/components/calcite-shell.js +4 -1
  94. package/dist/components/calcite-slider.js +24 -13
  95. package/dist/components/calcite-sortable-list.js +4 -1
  96. package/dist/components/calcite-split-button.js +4 -1
  97. package/dist/components/calcite-stepper-item.js +4 -1
  98. package/dist/components/calcite-stepper.js +4 -1
  99. package/dist/components/calcite-switch2.js +4 -1
  100. package/dist/components/calcite-tab-nav2.js +4 -1
  101. package/dist/components/calcite-tab-title2.js +4 -1
  102. package/dist/components/calcite-tab2.js +4 -1
  103. package/dist/components/calcite-tabs2.js +4 -1
  104. package/dist/components/calcite-tile-select-group.js +4 -1
  105. package/dist/components/calcite-tile-select.js +7 -4
  106. package/dist/components/calcite-tile2.js +4 -1
  107. package/dist/components/calcite-time-picker2.js +4 -1
  108. package/dist/components/calcite-tip-group.js +4 -1
  109. package/dist/components/calcite-tip-manager.js +4 -1
  110. package/dist/components/calcite-tip.js +4 -1
  111. package/dist/components/calcite-tooltip-manager2.js +4 -1
  112. package/dist/components/calcite-tooltip.js +4 -1
  113. package/dist/components/calcite-tree-item.js +4 -1
  114. package/dist/components/calcite-tree.js +4 -1
  115. package/dist/components/calcite-value-list-item.js +4 -1
  116. package/dist/components/calcite-value-list.js +4 -1
  117. package/dist/custom-elements/index.js +123 -121
  118. package/dist/esm/calcite-color-picker_3.entry.js +4 -6
  119. package/dist/esm/calcite-graph_2.entry.js +20 -12
  120. package/dist/esm/calcite-input-time-picker_2.entry.js +1 -1
  121. package/dist/esm/calcite-radio_2.entry.js +3 -7
  122. package/dist/esm/calcite-tile-select_2.entry.js +2 -2
  123. package/dist/esm/calcite.js +2 -2
  124. package/dist/esm/loader.js +2 -2
  125. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  126. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  127. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  128. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  129. package/dist/esm-es5/calcite.js +1 -1
  130. package/dist/esm-es5/loader.js +1 -1
  131. package/dist/extras/docs-json.json +13 -3
  132. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +0 -1
  133. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +1 -1
  134. package/dist/types/components/calcite-slider/calcite-slider.d.ts +3 -1
  135. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +2 -2
  136. package/dist/types/components.d.ts +2 -2
  137. package/hydrate/index.js +32 -30
  138. package/package.json +11 -11
  139. package/readme.md +2 -2
  140. package/dist/calcite/p-2b295331.entry.js +0 -5
  141. package/dist/calcite/p-3eb1dc0f.entry.js +0 -5
  142. package/dist/calcite/p-610789ed.system.entry.js +0 -5
  143. package/dist/calcite/p-6f1cca21.system.js +0 -5
  144. package/dist/calcite/p-82139130.entry.js +0 -5
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, c as getThemeName } from './dom.js';
7
7
  import { h as hexToRGB, i as isValidHex } from './utils.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
@@ -149,6 +149,9 @@ CalciteAvatar$1 = /*@__PURE__*/ proxyCustomElement(CalciteAvatar$1, [1, "calcite
149
149
  "error": [32]
150
150
  }]);
151
151
  function defineCustomElement$1() {
152
+ if (typeof customElements === "undefined") {
153
+ return;
154
+ }
152
155
  const components = ["calcite-avatar", "calcite-icon"];
153
156
  components.forEach(tagName => { switch (tagName) {
154
157
  case "calcite-avatar":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { d as defineCustomElement$3 } from './calcite-icon2.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-switch2.js';
@@ -112,6 +112,9 @@ CalciteBlockSection$1 = /*@__PURE__*/ proxyCustomElement(CalciteBlockSection$1,
112
112
  "toggleDisplay": [513, "toggle-display"]
113
113
  }]);
114
114
  function defineCustomElement$1() {
115
+ if (typeof customElements === "undefined") {
116
+ return;
117
+ }
115
118
  const components = ["calcite-block-section", "calcite-icon", "calcite-switch"];
116
119
  components.forEach(tagName => { switch (tagName) {
117
120
  case "calcite-block-section":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { b as getSlotted } from './dom.js';
7
7
  import { C as CalciteHeading } from './CalciteHeading.js';
8
8
  import { d as defineCustomElement$9 } from './calcite-action2.js';
@@ -157,6 +157,9 @@ CalciteBlock$1 = /*@__PURE__*/ proxyCustomElement(CalciteBlock$1, [1, "calcite-b
157
157
  "summary": [1]
158
158
  }]);
159
159
  function defineCustomElement$1() {
160
+ if (typeof customElements === "undefined") {
161
+ return;
162
+ }
160
163
  const components = ["calcite-block", "calcite-action", "calcite-action-menu", "calcite-handle", "calcite-icon", "calcite-loader", "calcite-popover", "calcite-scrim", "calcite-tooltip-manager"];
161
164
  components.forEach(tagName => { switch (tagName) {
162
165
  case "calcite-block":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { Build, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement as HTMLElement$1, Build, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { d as closestElementCrossShadowBoundary, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
8
8
  import { c as createObserver } from './observers.js';
@@ -53,7 +53,7 @@ const TEXT = {
53
53
 
54
54
  const calciteButtonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;width:auto;vertical-align:middle}:host([round]){border-radius:50px}:host([round]) a,:host([round]) button{border-radius:50px}:host button,:host a{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host button:focus,:host a:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}:host button,:host a{--calcite-button-content-margin:0.5rem;--calcite-button-padding-x:7px;--calcite-button-padding-y:3px;padding:var(--calcite-button-padding-y) var(--calcite-button-padding-x) var(--calcite-button-padding-y) var(--calcite-button-padding-x);position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;text-decoration:none;width:100%;height:100%;border-radius:0;border-style:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:inherit;font-weight:var(--calcite-font-weight-normal);-webkit-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out, -webkit-box-shadow 0.15s ease-in-out}:host button:hover,:host a:hover{text-decoration:none}.content{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--calcite-button-content-margin);margin-right:var(--calcite-button-content-margin)}:host([scale=m]) button,:host([scale=m]) a{--calcite-button-content-margin:0.75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-button-content-margin:1rem}:host(:not([icon-start])) .content{margin-left:unset}:host(:not([icon-end])) .content{margin-right:unset}:host([icon-start]:not([icon-end])) .calcite--rtl .content{margin-left:unset;margin-right:var(--calcite-button-content-margin)}:host([icon-end]:not([icon-start])) .calcite--rtl .content{margin-right:unset;margin-left:var(--calcite-button-content-margin)}:host([width=auto]){width:auto}:host([width=half]){width:50%}:host([width=full]){width:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{-ms-flex-pack:center;justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{-ms-flex-pack:start;justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{-ms-flex-pack:justify;justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-right:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-left:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-start-space-between]:not([width=auto])) .calcite--rtl .icon--start{margin-right:unset;margin-left:auto}:host([alignment=icon-end-space-between]:not([width=auto])) .calcite--rtl .icon--end{margin-left:unset;margin-right:auto}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-left:var(--calcite-button-content-margin)}:host([alignment=center]) a.calcite--rtl:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button.calcite--rtl:not(.content--slotted) .icon--start+.icon--end{margin-left:unset;margin-right:var(--calcite-button-content-margin)}.icon{display:-ms-inline-flexbox;display:inline-flex;position:relative;margin:0;font-weight:var(--calcite-font-weight-normal);line-height:inherit}:host([loading]),:host([disabled]){pointer-events:none}:host([loading]) button,:host([loading]) a,:host([disabled]) button,:host([disabled]) a{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}@-webkit-keyframes loader-in{0%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes loader-in{0%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}100%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}@keyframes loader-out{0%{width:1em;opacity:1;-webkit-transform:scale(1);transform:scale(1)}100%{width:0;opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}}.calcite-button--loader{display:-ms-flexbox;display:flex}.calcite-button--loader calcite-loader{margin:0;-webkit-transition:width 300ms ease-in-out, opacity 300ms ease-in-out, -webkit-transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, -webkit-transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out;transition:width 300ms ease-in-out, opacity 300ms ease-in-out, transform 300ms ease-in-out, -webkit-transform 300ms ease-in-out}.calcite-button--loader calcite-loader.loading-in{-webkit-animation-name:loader-in;animation-name:loader-in;-webkit-animation-duration:310ms;animation-duration:310ms}.calcite-button--loader calcite-loader.loading-out{-webkit-animation-name:loader-out;animation-name:loader-out;-webkit-animation-duration:310ms;animation-duration:310ms}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{-webkit-margin-end:var(--calcite-button-content-margin);margin-inline-end:var(--calcite-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance=solid]) button,:host([appearance=solid]) a{border-width:1px;border-style:solid;border-color:transparent}:host([appearance=solid][color=blue]) button,:host([appearance=solid][color=blue]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-brand)}:host([appearance=solid][color=blue]) button:hover,:host([appearance=solid][color=blue]) button:focus,:host([appearance=solid][color=blue]) a:hover,:host([appearance=solid][color=blue]) a:focus{background-color:var(--calcite-ui-brand-hover)}:host([appearance=solid][color=blue]) button:active,:host([appearance=solid][color=blue]) a:active{background-color:var(--calcite-ui-brand-press)}:host([appearance=solid][color=blue]) button calcite-loader,:host([appearance=solid][color=blue]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=red]) button,:host([appearance=solid][color=red]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-danger)}:host([appearance=solid][color=red]) button:hover,:host([appearance=solid][color=red]) button:focus,:host([appearance=solid][color=red]) a:hover,:host([appearance=solid][color=red]) a:focus{background-color:var(--calcite-ui-danger-hover)}:host([appearance=solid][color=red]) button:active,:host([appearance=solid][color=red]) a:active{background-color:var(--calcite-ui-danger-press)}:host([appearance=solid][color=red]) button calcite-loader,:host([appearance=solid][color=red]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=solid][color=neutral]) button,:host([appearance=solid][color=neutral]) a{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}:host([appearance=solid][color=neutral]) button:hover,:host([appearance=solid][color=neutral]) button:focus,:host([appearance=solid][color=neutral]) a:hover,:host([appearance=solid][color=neutral]) a:focus{background-color:var(--calcite-ui-foreground-2)}:host([appearance=solid][color=neutral]) button:active,:host([appearance=solid][color=neutral]) a:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=solid][color=neutral]) button calcite-loader,:host([appearance=solid][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=solid][color=inverse]) button,:host([appearance=solid][color=inverse]) a{color:var(--calcite-ui-text-inverse);background-color:var(--calcite-ui-inverse)}:host([appearance=solid][color=inverse]) button:hover,:host([appearance=solid][color=inverse]) button:focus,:host([appearance=solid][color=inverse]) a:hover,:host([appearance=solid][color=inverse]) a:focus{background-color:var(--calcite-ui-inverse-hover)}:host([appearance=solid][color=inverse]) button:active,:host([appearance=solid][color=inverse]) a:active{background-color:var(--calcite-ui-inverse-press)}:host([appearance=solid][color=inverse]) button calcite-loader,:host([appearance=solid][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-inverse)}:host([appearance=outline]) button,:host([appearance=outline]) a{background-color:var(--calcite-ui-foreground-1);border-width:1px;border-style:solid;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=outline][color=blue]) button,:host([appearance=outline][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:hover,:host([appearance=outline][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=outline][color=blue]) button:focus,:host([appearance=outline][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=outline][color=blue]) button:active,:host([appearance=outline][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=outline][color=blue]) button calcite-loader,:host([appearance=outline][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=outline][color=red]) button,:host([appearance=outline][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:hover,:host([appearance=outline][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=outline][color=red]) button:focus,:host([appearance=outline][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=outline][color=red]) button:active,:host([appearance=outline][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=outline][color=red]) button calcite-loader,:host([appearance=outline][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=outline][color=neutral]) button,:host([appearance=outline][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:hover,:host([appearance=outline][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:focus,:host([appearance=outline][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button:active,:host([appearance=outline][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=outline][color=neutral]) button calcite-loader,:host([appearance=outline][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][color=inverse]) button,:host([appearance=outline][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:hover,:host([appearance=outline][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=outline][color=inverse]) button:focus,:host([appearance=outline][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=outline][color=inverse]) button:active,:host([appearance=outline][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=outline][color=inverse]) button calcite-loader,:host([appearance=outline][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear]) button,:host([appearance=clear]) a{background-color:transparent;border-width:1px;border-style:solid;-webkit-box-shadow:inset 0 0 0 1px transparent;box-shadow:inset 0 0 0 1px transparent}:host([appearance=clear][color=blue]) button,:host([appearance=clear][color=blue]) a{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:hover,:host([appearance=clear][color=blue]) a:hover{border-color:var(--calcite-ui-brand-hover);color:var(--calcite-ui-brand-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand-hover)}:host([appearance=clear][color=blue]) button:focus,:host([appearance=clear][color=blue]) a:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-brand);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([appearance=clear][color=blue]) button:active,:host([appearance=clear][color=blue]) a:active{border-color:var(--calcite-ui-brand-press);color:var(--calcite-ui-brand-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand-press)}:host([appearance=clear][color=blue]) button calcite-loader,:host([appearance=clear][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=clear][color=red]) button,:host([appearance=clear][color=red]) a{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:hover,:host([appearance=clear][color=red]) a:hover{border-color:var(--calcite-ui-danger-hover);color:var(--calcite-ui-danger-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-danger-hover)}:host([appearance=clear][color=red]) button:focus,:host([appearance=clear][color=red]) a:focus{border-color:var(--calcite-ui-danger);color:var(--calcite-ui-danger);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger)}:host([appearance=clear][color=red]) button:active,:host([appearance=clear][color=red]) a:active{border-color:var(--calcite-ui-danger-press);color:var(--calcite-ui-danger-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-danger-press)}:host([appearance=clear][color=red]) button calcite-loader,:host([appearance=clear][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=clear][color=neutral]) button,:host([appearance=clear][color=neutral]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:hover,:host([appearance=clear][color=neutral]) a:hover{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 1px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:focus,:host([appearance=clear][color=neutral]) a:focus{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button:active,:host([appearance=clear][color=neutral]) a:active{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-3)}:host([appearance=clear][color=neutral]) button calcite-loader,:host([appearance=clear][color=neutral]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=clear][color=inverse]) button,:host([appearance=clear][color=inverse]) a{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:hover,:host([appearance=clear][color=inverse]) a:hover{border-color:var(--calcite-ui-inverse-hover);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover);box-shadow:inset 0 0 0 1px var(--calcite-ui-inverse-hover)}:host([appearance=clear][color=inverse]) button:focus,:host([appearance=clear][color=inverse]) a:focus{border-color:var(--calcite-ui-inverse);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse)}:host([appearance=clear][color=inverse]) button:active,:host([appearance=clear][color=inverse]) a:active{border-color:var(--calcite-ui-inverse-press);-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press);box-shadow:inset 0 0 0 2px var(--calcite-ui-inverse-press)}:host([appearance=clear][color=inverse]) button calcite-loader,:host([appearance=clear][color=inverse]) a calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=outline][split-child=primary]) button,:host([appearance=clear][split-child=primary]) button{border-right-width:0;border-left-width:1px}:host([appearance=outline][split-child=primary]) button.calcite--rtl,:host([appearance=clear][split-child=primary]) button.calcite--rtl{border-left-width:0;border-right-width:1px}:host([appearance=outline][split-child=secondary]) button,:host([appearance=clear][split-child=secondary]) button{border-left-width:0;border-right-width:1px}:host([appearance=outline][split-child=secondary]) button.calcite--rtl,:host([appearance=clear][split-child=secondary]) button.calcite--rtl{border-right-width:0;border-left-width:1px}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:transparent}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) button:focus,:host([appearance=transparent]:not(.enable-editing-button)) a:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:focus{background-color:var(--calcite-button-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-button-transparent-press)}:host([appearance=transparent][color=blue]) button,:host([appearance=transparent][color=blue]) a{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:hover,:host([appearance=transparent][color=blue]) a:hover{color:var(--calcite-ui-brand-hover)}:host([appearance=transparent][color=blue]) button:focus,:host([appearance=transparent][color=blue]) a:focus{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=blue]) button:active,:host([appearance=transparent][color=blue]) a:active{color:var(--calcite-ui-brand-press)}:host([appearance=transparent][color=blue]) button calcite-loader,:host([appearance=transparent][color=blue]) a calcite-loader{color:var(--calcite-ui-brand)}:host([appearance=transparent][color=red]) button,:host([appearance=transparent][color=red]) a{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:hover,:host([appearance=transparent][color=red]) a:hover{color:var(--calcite-ui-danger-hover)}:host([appearance=transparent][color=red]) button:focus,:host([appearance=transparent][color=red]) a:focus{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=red]) button:active,:host([appearance=transparent][color=red]) a:active{color:var(--calcite-ui-danger-press)}:host([appearance=transparent][color=red]) button calcite-loader,:host([appearance=transparent][color=red]) a calcite-loader{color:var(--calcite-ui-danger)}:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][color=neutral]:not(.cancel-editing-button)) calcite-loader{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].cancel-editing-button) button{color:var(--calcite-ui-text-3);border-top-width:1px;border-top-color:var(--calcite-ui-border-input);border-bottom-width:1px;border-bottom-color:var(--calcite-ui-border-input);border-bottom-style:solid;border-top-style:solid}:host([appearance=transparent][color=neutral].cancel-editing-button) button:not(.content--slotted){--calcite-button-padding-y:0}:host([appearance=transparent][color=neutral].cancel-editing-button) button:hover{color:var(--calcite-ui-text-1)}:host([appearance=transparent][color=neutral].enable-editing-button) button{background-color:transparent}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][color=inverse]) button,:host([appearance=transparent][color=inverse]) a,:host([appearance=transparent][color=inverse]) calcite-loader{color:var(--calcite-ui-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.5rem;--calcite-button-padding-y:0.25rem}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-button-padding-x:11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]:not([appearance=transparent])) button.content--slotted,:host([scale=m]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:0.75rem;--calcite-button-padding-y:0.5rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-button-padding-x:15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]:not([appearance=transparent])) button.content--slotted,:host([scale=l]:not([appearance=transparent])) a.content--slotted{--calcite-button-padding-y:11px}:host([scale=l][appearance=transparent]) button.content--slotted,:host([scale=l][appearance=transparent]) a.content--slotted{--calcite-button-padding-x:1rem;--calcite-button-padding-y:0.75rem}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:3px;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:1.5rem;min-height:1.5rem}:host([scale=s][appearance=transparent]) button:not(.content--slotted),:host([scale=s][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.25rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:7px;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:2rem;min-height:2rem}:host([scale=m][appearance=transparent]) button:not(.content--slotted),:host([scale=m][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.5rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-button-padding-x:0.125rem;--calcite-button-padding-y:9px;font-size:var(--calcite-font-size-0);line-height:1.25rem;width:2.75rem;min-height:2.75rem}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-y:0.625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:23px;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:1.5rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:2rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-button-padding-x:43px;font-size:var(--calcite-font-size-0);line-height:1.25rem;height:2.75rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{-webkit-margin-start:1rem;margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-button-padding-x:2.75rem}";
55
55
 
56
- let CalciteButton = class extends HTMLElement {
56
+ let CalciteButton = class extends HTMLElement$1 {
57
57
  constructor() {
58
58
  super();
59
59
  this.__registerHost();
@@ -219,6 +219,9 @@ CalciteButton = /*@__PURE__*/ proxyCustomElement(CalciteButton, [1, "calcite-but
219
219
  "setFocus": [64]
220
220
  }]);
221
221
  function defineCustomElement() {
222
+ if (typeof customElements === "undefined") {
223
+ return;
224
+ }
222
225
  const components = ["calcite-button", "calcite-icon", "calcite-loader"];
223
226
  components.forEach(tagName => { switch (tagName) {
224
227
  case "calcite-button":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { d as defineCustomElement$4 } from './calcite-checkbox2.js';
@@ -130,6 +130,9 @@ CalciteCard$1 = /*@__PURE__*/ proxyCustomElement(CalciteCard$1, [1, "calcite-car
130
130
  "intlDeselect": [1, "intl-deselect"]
131
131
  }]);
132
132
  function defineCustomElement$1() {
133
+ if (typeof customElements === "undefined") {
134
+ return;
135
+ }
133
136
  const components = ["calcite-card", "calcite-checkbox", "calcite-label", "calcite-loader"];
134
137
  components.forEach(tagName => { switch (tagName) {
135
138
  case "calcite-card":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
7
  import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form.js';
8
8
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
@@ -139,6 +139,9 @@ CalciteCheckbox = /*@__PURE__*/ proxyCustomElement(CalciteCheckbox, [1, "calcite
139
139
  "setFocus": [64]
140
140
  }]);
141
141
  function defineCustomElement() {
142
+ if (typeof customElements === "undefined") {
143
+ return;
144
+ }
142
145
  const components = ["calcite-checkbox"];
143
146
  components.forEach(tagName => { switch (tagName) {
144
147
  case "calcite-checkbox":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { b as getSlotted, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { g as guid } from './guid.js';
8
8
  import { d as defineCustomElement$1 } from './calcite-icon2.js';
@@ -102,6 +102,9 @@ CalciteChip = /*@__PURE__*/ proxyCustomElement(CalciteChip, [1, "calcite-chip",
102
102
  "setFocus": [64]
103
103
  }]);
104
104
  function defineCustomElement() {
105
+ if (typeof customElements === "undefined") {
106
+ return;
107
+ }
105
108
  const components = ["calcite-chip", "calcite-icon"];
106
109
  components.forEach(tagName => { switch (tagName) {
107
110
  case "calcite-chip":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { n as normalizeHex, i as isValidHex, a as isLonghandHex, r as rgbToHex, h as hexToRGB, b as hexChar } from './utils.js';
7
7
  import { c as color, d as defineCustomElement$4 } from './calcite-color-picker-swatch2.js';
8
8
  import { a as getElementDir, f as focusElement } from './dom.js';
@@ -315,6 +315,9 @@ CalciteColorPickerHexInput = /*@__PURE__*/ proxyCustomElement(CalciteColorPicker
315
315
  "setFocus": [64]
316
316
  }, [[2, "keydown", "onInputKeyDown"]]]);
317
317
  function defineCustomElement() {
318
+ if (typeof customElements === "undefined") {
319
+ return;
320
+ }
318
321
  const components = ["calcite-color-picker-hex-input", "calcite-color-picker-swatch", "calcite-icon", "calcite-input", "calcite-progress"];
319
322
  components.forEach(tagName => { switch (tagName) {
320
323
  case "calcite-color-picker-hex-input":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { c as getThemeName } from './dom.js';
7
7
 
8
8
  function createCommonjsModule(fn, basedir, module) {
@@ -2162,6 +2162,9 @@ CalciteColorPickerSwatch = /*@__PURE__*/ proxyCustomElement(CalciteColorPickerSw
2162
2162
  "scale": [513]
2163
2163
  }]);
2164
2164
  function defineCustomElement() {
2165
+ if (typeof customElements === "undefined") {
2166
+ return;
2167
+ }
2165
2168
  const components = ["calcite-color-picker-swatch"];
2166
2169
  components.forEach(tagName => { switch (tagName) {
2167
2170
  case "calcite-color-picker-swatch":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { c as color, d as defineCustomElement$a } from './calcite-color-picker-swatch2.js';
7
7
  import { D as DEFAULT_COLOR, T as TEXT, a as DIMENSIONS, H as HSV_LIMITS, C as CSS, d as defineCustomElement$b, b as DEFAULT_STORAGE_KEY_PREFIX, R as RGB_LIMITS } from './calcite-color-picker-hex-input2.js';
8
8
  import { f as focusElement, a as getElementDir, C as CSS_UTILITY } from './dom.js';
@@ -626,12 +626,6 @@ let CalciteColorPicker$1 = class extends HTMLElement {
626
626
  //
627
627
  //--------------------------------------------------------------------------
628
628
  componentWillLoad() {
629
- const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;
630
- if (this.storageId && localStorage.getItem(storageKey)) {
631
- this.savedColors = JSON.parse(localStorage.getItem(storageKey));
632
- }
633
- }
634
- connectedCallback() {
635
629
  const { allowEmpty, color: color$1, format, value } = this;
636
630
  const willSetNoColor = allowEmpty && !value;
637
631
  const parsedMode = parseMode(value);
@@ -643,6 +637,10 @@ let CalciteColorPicker$1 = class extends HTMLElement {
643
637
  this.setMode(format);
644
638
  this.internalColorSet(initialColor, false, "initial");
645
639
  this.updateDimensions(this.scale);
640
+ const storageKey = `${DEFAULT_STORAGE_KEY_PREFIX}${this.storageId}`;
641
+ if (this.storageId && localStorage.getItem(storageKey)) {
642
+ this.savedColors = JSON.parse(localStorage.getItem(storageKey));
643
+ }
646
644
  }
647
645
  disconnectedCallback() {
648
646
  document.removeEventListener("mousemove", this.globalMouseMoveHandler);
@@ -897,6 +895,9 @@ CalciteColorPicker$1 = /*@__PURE__*/ proxyCustomElement(CalciteColorPicker$1, [1
897
895
  "setFocus": [64]
898
896
  }, [[2, "keydown", "handleChannelKeyUpOrDown"], [2, "keyup", "handleChannelKeyUpOrDown"]]]);
899
897
  function defineCustomElement$1() {
898
+ if (typeof customElements === "undefined") {
899
+ return;
900
+ }
900
901
  const components = ["calcite-color-picker", "calcite-button", "calcite-color-picker-hex-input", "calcite-color-picker-swatch", "calcite-icon", "calcite-input", "calcite-loader", "calcite-progress", "calcite-tab", "calcite-tab-nav", "calcite-tab-title", "calcite-tabs"];
901
902
  components.forEach(tagName => { switch (tagName) {
902
903
  case "calcite-color-picker":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { e as getAncestors, f as getDepth } from './utils2.js';
7
7
  import { g as guid } from './guid.js';
8
8
  import { g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
@@ -51,6 +51,9 @@ CalciteComboboxItemGroup$1 = /*@__PURE__*/ proxyCustomElement(CalciteComboboxIte
51
51
  "label": [1]
52
52
  }]);
53
53
  function defineCustomElement$1() {
54
+ if (typeof customElements === "undefined") {
55
+ return;
56
+ }
54
57
  const components = ["calcite-combobox-item-group"];
55
58
  components.forEach(tagName => { switch (tagName) {
56
59
  case "calcite-combobox-item-group":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { g as guid } from './guid.js';
8
8
  import { e as getAncestors, f as getDepth } from './utils2.js';
@@ -146,6 +146,9 @@ CalciteComboboxItem$1 = /*@__PURE__*/ proxyCustomElement(CalciteComboboxItem$1,
146
146
  "toggleSelected": [64]
147
147
  }]);
148
148
  function defineCustomElement$1() {
149
+ if (typeof customElements === "undefined") {
150
+ return;
151
+ }
149
152
  const components = ["calcite-combobox-item", "calcite-icon"];
150
153
  components.forEach(tagName => { switch (tagName) {
151
154
  case "calcite-combobox-item":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as isSymbol, S as Symbol, d as debounce } from './debounce.js';
7
7
  import { i as isArray, f as forIn } from './forIn.js';
8
8
  import { a as getElementDir } from './dom.js';
@@ -906,6 +906,9 @@ CalciteCombobox$1 = /*@__PURE__*/ proxyCustomElement(CalciteCombobox$1, [1, "cal
906
906
  "setFocus": [64]
907
907
  }, [[4, "click", "documentClickHandler"], [0, "calciteComboboxItemChange", "calciteComboboxItemChangeHandler"]]]);
908
908
  function defineCustomElement$1() {
909
+ if (typeof customElements === "undefined") {
910
+ return;
911
+ }
909
912
  const components = ["calcite-combobox", "calcite-chip", "calcite-icon"];
910
913
  components.forEach(tagName => { switch (tagName) {
911
914
  case "calcite-combobox":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as getKey } from './key.js';
7
7
  import { a as getElementDir, C as CSS_UTILITY } from './dom.js';
8
8
 
@@ -85,6 +85,9 @@ CalciteDatePickerDay = /*@__PURE__*/ proxyCustomElement(CalciteDatePickerDay, [1
85
85
  "value": [16]
86
86
  }, [[1, "mouseover", "mouseoverHandler"]]]);
87
87
  function defineCustomElement() {
88
+ if (typeof customElements === "undefined") {
89
+ return;
90
+ }
88
91
  const components = ["calcite-date-picker-day"];
89
92
  components.forEach(tagName => { switch (tagName) {
90
93
  case "calcite-date-picker-day":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir } from './dom.js';
7
7
  import { l as localizeNumber, c as getOrder, b as dateFromRange, n as nextMonth, p as prevMonth, e as parseNumber } from './date.js';
8
8
  import { g as getKey } from './key.js';
@@ -151,6 +151,9 @@ CalciteDatePickerMonthHeader = /*@__PURE__*/ proxyCustomElement(CalciteDatePicke
151
151
  "prevMonthDate": [32]
152
152
  }]);
153
153
  function defineCustomElement() {
154
+ if (typeof customElements === "undefined") {
155
+ return;
156
+ }
154
157
  const components = ["calcite-date-picker-month-header", "calcite-icon"];
155
158
  components.forEach(tagName => { switch (tagName) {
156
159
  case "calcite-date-picker-month-header":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { s as sameDate, b as dateFromRange, i as inRange } from './date.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { a as getElementDir } from './dom.js';
@@ -294,6 +294,9 @@ CalciteDatePickerMonth = /*@__PURE__*/ proxyCustomElement(CalciteDatePickerMonth
294
294
  "hoverRange": [16]
295
295
  }, [[1, "mouseout", "mouseoutHandler"]]]);
296
296
  function defineCustomElement() {
297
+ if (typeof customElements === "undefined") {
298
+ return;
299
+ }
297
300
  const components = ["calcite-date-picker-month", "calcite-date-picker-day"];
298
301
  components.forEach(tagName => { switch (tagName) {
299
302
  case "calcite-date-picker-month":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { getAssetPath, createEvent, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { getAssetPath, HTMLElement, createEvent, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as locales } from './locale.js';
7
7
  import { a as getElementDir } from './dom.js';
8
8
  import { g as getDaysDiff, d as dateToISO, a as dateFromISO, b as dateFromRange } from './date.js';
@@ -470,6 +470,9 @@ CalciteDatePicker = /*@__PURE__*/ proxyCustomElement(CalciteDatePicker, [1, "cal
470
470
  "hoverRange": [32]
471
471
  }]);
472
472
  function defineCustomElement() {
473
+ if (typeof customElements === "undefined") {
474
+ return;
475
+ }
473
476
  const components = ["calcite-date-picker", "calcite-date-picker-day", "calcite-date-picker-month", "calcite-date-picker-month-header", "calcite-icon"];
474
477
  components.forEach(tagName => { switch (tagName) {
475
478
  case "calcite-date-picker":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, g as getElementProp } from './dom.js';
7
7
 
8
8
  const CSS = {
@@ -73,6 +73,9 @@ CalciteDropdownGroup$1 = /*@__PURE__*/ proxyCustomElement(CalciteDropdownGroup$1
73
73
  "scale": [513]
74
74
  }, [[0, "calciteDropdownItemSelect", "updateActiveItemOnChange"]]]);
75
75
  function defineCustomElement$1() {
76
+ if (typeof customElements === "undefined") {
77
+ return;
78
+ }
76
79
  const components = ["calcite-dropdown-group"];
77
80
  components.forEach(tagName => { switch (tagName) {
78
81
  case "calcite-dropdown-group":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
@@ -180,6 +180,9 @@ CalciteDropdownItem$1 = /*@__PURE__*/ proxyCustomElement(CalciteDropdownItem$1,
180
180
  "setFocus": [64]
181
181
  }, [[0, "click", "onClick"], [0, "keydown", "keyDownHandler"], [16, "calciteDropdownItemChange", "updateActiveItemOnChange"]]]);
182
182
  function defineCustomElement$1() {
183
+ if (typeof customElements === "undefined") {
184
+ return;
185
+ }
183
186
  const components = ["calcite-dropdown-item", "calcite-icon"];
184
187
  components.forEach(tagName => { switch (tagName) {
185
188
  case "calcite-dropdown-item":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as getKey } from './key.js';
7
7
  import { a as getElementDir, C as CSS_UTILITY, f as focusElement } from './dom.js';
8
8
  import { C as CSS, u as updatePopper, c as createPopper } from './popper.js';
@@ -376,6 +376,9 @@ CalciteDropdown = /*@__PURE__*/ proxyCustomElement(CalciteDropdown, [1, "calcite
376
376
  "reposition": [64]
377
377
  }, [[8, "click", "closeCalciteDropdownOnClick"], [0, "calciteDropdownCloseRequest", "closeCalciteDropdownOnEvent"], [8, "calciteDropdownOpen", "closeCalciteDropdownOnOpenEvent"], [1, "mouseenter", "mouseEnterHandler"], [1, "mouseleave", "mouseLeaveHandler"], [0, "calciteDropdownItemKeyEvent", "calciteDropdownItemKeyEvent"], [0, "calciteDropdownItemSelect", "handleItemSelect"]]]);
378
378
  function defineCustomElement() {
379
+ if (typeof customElements === "undefined") {
380
+ return;
381
+ }
379
382
  const components = ["calcite-dropdown"];
380
383
  components.forEach(tagName => { switch (tagName) {
381
384
  case "calcite-dropdown":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { f as focusElement, a as getElementDir } from './dom.js';
7
7
  import { d as defineCustomElement$4 } from './calcite-button2.js';
8
8
  import { d as defineCustomElement$3 } from './calcite-icon2.js';
@@ -95,6 +95,9 @@ CalciteFab$1 = /*@__PURE__*/ proxyCustomElement(CalciteFab$1, [1, "calcite-fab",
95
95
  "setFocus": [64]
96
96
  }]);
97
97
  function defineCustomElement$1() {
98
+ if (typeof customElements === "undefined") {
99
+ return;
100
+ }
98
101
  const components = ["calcite-fab", "calcite-button", "calcite-icon", "calcite-loader"];
99
102
  components.forEach(tagName => { switch (tagName) {
100
103
  case "calcite-fab":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { f as focusElement, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { d as defineCustomElement$5 } from './calcite-icon2.js';
8
8
  import { d as defineCustomElement$4 } from './calcite-input2.js';
@@ -157,6 +157,9 @@ CalciteFilter = /*@__PURE__*/ proxyCustomElement(CalciteFilter, [1, "calcite-fil
157
157
  "setFocus": [64]
158
158
  }]);
159
159
  function defineCustomElement() {
160
+ if (typeof customElements === "undefined") {
161
+ return;
162
+ }
160
163
  const components = ["calcite-filter", "calcite-icon", "calcite-input", "calcite-loader", "calcite-progress", "calcite-scrim"];
161
164
  components.forEach(tagName => { switch (tagName) {
162
165
  case "calcite-filter":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { c as createObserver } from './observers.js';
7
7
 
8
8
  const CSS = {
@@ -121,6 +121,9 @@ CalciteFlow$1 = /*@__PURE__*/ proxyCustomElement(CalciteFlow$1, [1, "calcite-flo
121
121
  "back": [64]
122
122
  }, [[0, "calcitePanelBackClick", "handleCalcitePanelBackClick"]]]);
123
123
  function defineCustomElement$1() {
124
+ if (typeof customElements === "undefined") {
125
+ return;
126
+ }
124
127
  const components = ["calcite-flow"];
125
128
  components.forEach(tagName => { switch (tagName) {
126
129
  case "calcite-flow":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
7
 
8
8
  /**
@@ -199,6 +199,9 @@ CalciteGraph = /*@__PURE__*/ proxyCustomElement(CalciteGraph, [1, "calcite-graph
199
199
  "max": [2]
200
200
  }]);
201
201
  function defineCustomElement() {
202
+ if (typeof customElements === "undefined") {
203
+ return;
204
+ }
202
205
  const components = ["calcite-graph"];
203
206
  components.forEach(tagName => { switch (tagName) {
204
207
  case "calcite-graph":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { d as defineCustomElement$1 } from './calcite-icon2.js';
7
7
 
8
8
  const CSS = {
@@ -88,6 +88,9 @@ CalciteHandle = /*@__PURE__*/ proxyCustomElement(CalciteHandle, [1, "calcite-han
88
88
  "setFocus": [64]
89
89
  }]);
90
90
  function defineCustomElement() {
91
+ if (typeof customElements === "undefined") {
92
+ return;
93
+ }
91
94
  const components = ["calcite-handle", "calcite-icon"];
92
95
  components.forEach(tagName => { switch (tagName) {
93
96
  case "calcite-handle":
@@ -2,7 +2,7 @@
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
4
4
  */
5
- import { getAssetPath, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { getAssetPath, HTMLElement, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir } from './dom.js';
7
7
  import { c as createObserver } from './observers.js';
8
8
 
@@ -171,6 +171,9 @@ CalciteIcon = /*@__PURE__*/ proxyCustomElement(CalciteIcon, [1, "calcite-icon",
171
171
  "visible": [32]
172
172
  }]);
173
173
  function defineCustomElement() {
174
+ if (typeof customElements === "undefined") {
175
+ return;
176
+ }
174
177
  const components = ["calcite-icon"];
175
178
  components.forEach(tagName => { switch (tagName) {
176
179
  case "calcite-icon":