@esri/calcite-components 1.0.0-next.302 → 1.0.0-next.306

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 (142) 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-63da2e34.system.entry.js +5 -0
  5. package/dist/calcite/p-737fb960.entry.js +5 -0
  6. package/dist/calcite/{p-b2bbac37.system.entry.js → p-7cbc72b6.system.entry.js} +1 -1
  7. package/dist/calcite/p-8603b2e1.entry.js +5 -0
  8. package/dist/calcite/{p-e5932886.system.entry.js → p-88b875d3.system.entry.js} +1 -1
  9. package/dist/calcite/{p-6f1cca21.system.js → p-8e252799.system.js} +1 -1
  10. package/dist/calcite/{p-784e414b.entry.js → p-aa47308a.entry.js} +1 -1
  11. package/dist/calcite/p-dbe899c6.system.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-input.cjs.entry.js +10 -2
  16. package/dist/cjs/calcite-tree_2.cjs.entry.js +1 -1
  17. package/dist/cjs/calcite.cjs.js +1 -1
  18. package/dist/cjs/loader.cjs.js +1 -1
  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/calcite-input.js +13 -8
  22. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +2 -2
  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-tree-item/calcite-tree-item.css +47 -69
  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 +14 -3
  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 +4 -1
  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 +4 -1
  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 +5 -2
  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 +128 -114
  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-input.entry.js +10 -2
  122. package/dist/esm/calcite-tree_2.entry.js +1 -1
  123. package/dist/esm/calcite.js +1 -1
  124. package/dist/esm/loader.js +1 -1
  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-input.entry.js +1 -1
  128. package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
  129. package/dist/extras/docs-json.json +13 -4
  130. package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +0 -1
  131. package/dist/types/components/calcite-input/calcite-input.d.ts +1 -2
  132. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +1 -1
  133. package/dist/types/components/calcite-slider/calcite-slider.d.ts +3 -1
  134. package/dist/types/components.d.ts +6 -2
  135. package/hydrate/index.js +37 -23
  136. package/package.json +9 -9
  137. package/readme.md +2 -2
  138. package/dist/calcite/p-00716aa8.system.entry.js +0 -5
  139. package/dist/calcite/p-2b295331.entry.js +0 -5
  140. package/dist/calcite/p-610789ed.system.entry.js +0 -5
  141. package/dist/calcite/p-99a1c131.entry.js +0 -5
  142. package/dist/calcite/p-e6c84e63.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 { 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":
@@ -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 { g as getElementProp } from './dom.js';
7
7
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
8
8
  import { d as defineCustomElement$4 } from './calcite-button2.js';
@@ -220,6 +220,9 @@ CalciteInlineEditable$1 = /*@__PURE__*/ proxyCustomElement(CalciteInlineEditable
220
220
  "setFocus": [64]
221
221
  }, [[0, "calciteInputBlur", "blurHandler"]]]);
222
222
  function defineCustomElement$1() {
223
+ if (typeof customElements === "undefined") {
224
+ return;
225
+ }
223
226
  const components = ["calcite-inline-editable", "calcite-button", "calcite-icon", "calcite-loader"];
224
227
  components.forEach(tagName => { switch (tagName) {
225
228
  case "calcite-inline-editable":
@@ -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, Build, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { T as TEXT, g as getLocaleData, d as defineCustomElement$8 } from './calcite-date-picker2.js';
7
7
  import { a as getElementDir } from './dom.js';
8
8
  import { d as dateToISO, a as dateFromISO, b as dateFromRange, s as sameDate, f as parseDateString, i as inRange } from './date.js';
@@ -475,6 +475,9 @@ CalciteInputDatePicker$1 = /*@__PURE__*/ proxyCustomElement(CalciteInputDatePick
475
475
  "reposition": [64]
476
476
  }, [[0, "calciteDaySelect", "calciteDaySelectHandler"]]]);
477
477
  function defineCustomElement$1() {
478
+ if (typeof customElements === "undefined") {
479
+ return;
480
+ }
478
481
  const components = ["calcite-input-date-picker", "calcite-date-picker", "calcite-date-picker-day", "calcite-date-picker-month", "calcite-date-picker-month-header", "calcite-icon", "calcite-input", "calcite-progress"];
479
482
  components.forEach(tagName => { switch (tagName) {
480
483
  case "calcite-input-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 { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { s as setRequestedIcon, g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
8
8
 
@@ -75,6 +75,9 @@ CalciteInputMessage$1 = /*@__PURE__*/ proxyCustomElement(CalciteInputMessage$1,
75
75
  "type": [513]
76
76
  }]);
77
77
  function defineCustomElement$1() {
78
+ if (typeof customElements === "undefined") {
79
+ return;
80
+ }
78
81
  const components = ["calcite-input-message", "calcite-icon"];
79
82
  components.forEach(tagName => { switch (tagName) {
80
83
  case "calcite-input-message":
@@ -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 { g as getKey } from './key.js';
8
8
  import { f as formatTimeString, p as parseTimeString, g as getMeridiemHour, a as getMeridiem, d as defineCustomElement$2 } from './calcite-time-picker2.js';
@@ -42,7 +42,7 @@ let CalciteInputTimePicker$1 = class extends HTMLElement {
42
42
  this.required = false;
43
43
  /** The scale (size) of the time input */
44
44
  this.scale = "m";
45
- /** number that specifies the granularity that the value must adhere to */
45
+ /** number (seconds) that specifies the granularity that the value must adhere to */
46
46
  this.step = 60;
47
47
  /** The selected time (always 24-hour format)*/
48
48
  this.value = null;
@@ -236,6 +236,9 @@ CalciteInputTimePicker$1 = /*@__PURE__*/ proxyCustomElement(CalciteInputTimePick
236
236
  "setFocus": [64]
237
237
  }, [[0, "keyup", "keyUpHandler"], [0, "calciteTimePickerBlur", "timePickerBlurHandler"], [0, "calciteTimePickerChange", "timePickerChangeHandler"], [0, "calciteTimePickerFocus", "timePickerFocusHandler"]]]);
238
238
  function defineCustomElement$1() {
239
+ if (typeof customElements === "undefined") {
240
+ return;
241
+ }
239
242
  const components = ["calcite-input-time-picker", "calcite-action", "calcite-icon", "calcite-input", "calcite-loader", "calcite-popover", "calcite-progress", "calcite-time-picker"];
240
243
  components.forEach(tagName => { switch (tagName) {
241
244
  case "calcite-input-time-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 { T as TEXT, s as setRequestedIcon, g as getElementProp, a as getElementDir, C as CSS_UTILITY } from './dom.js';
7
7
  import { g as getKey, n as numberKeys } from './key.js';
8
8
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
@@ -113,6 +113,10 @@ let CalciteInput = class extends HTMLElement {
113
113
  //
114
114
  //--------------------------------------------------------------------------
115
115
  this.keyDownHandler = (event) => {
116
+ /* prevent default behavior for input to move the cursor to the beginning of the input with every ArrowUp press */
117
+ if (event.key === "ArrowUp") {
118
+ event.preventDefault();
119
+ }
116
120
  if (this.readOnly || this.disabled) {
117
121
  return;
118
122
  }
@@ -227,10 +231,14 @@ let CalciteInput = class extends HTMLElement {
227
231
  }
228
232
  const inputMax = this.maxString ? parseFloat(this.maxString) : null;
229
233
  const inputMin = this.minString ? parseFloat(this.minString) : null;
230
- const valueNudgeDelayInMs = 500;
234
+ const valueNudgeDelayInMs = 100;
231
235
  this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
236
+ let nudgeNumberValueIntervalCount = 0;
232
237
  this.nudgeNumberValueIntervalId = setInterval(() => {
233
- this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
238
+ nudgeNumberValueIntervalCount !== 0
239
+ ? this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent)
240
+ : null;
241
+ nudgeNumberValueIntervalCount++;
234
242
  }, valueNudgeDelayInMs);
235
243
  };
236
244
  this.numberButtonMouseUpAndMouseOutHandler = () => {
@@ -506,6 +514,9 @@ CalciteInput = /*@__PURE__*/ proxyCustomElement(CalciteInput, [1, "calcite-input
506
514
  "setFocus": [64]
507
515
  }]);
508
516
  function defineCustomElement() {
517
+ if (typeof customElements === "undefined") {
518
+ return;
519
+ }
509
520
  const components = ["calcite-input", "calcite-icon", "calcite-progress"];
510
521
  components.forEach(tagName => { switch (tagName) {
511
522
  case "calcite-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 { 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, C as CSS_UTILITY } from './dom.js';
7
7
 
8
8
  const CSS = {
@@ -67,6 +67,9 @@ CalciteLabel = /*@__PURE__*/ proxyCustomElement(CalciteLabel, [1, "calcite-label
67
67
  "disabled": [516]
68
68
  }]);
69
69
  function defineCustomElement() {
70
+ if (typeof customElements === "undefined") {
71
+ return;
72
+ }
70
73
  const components = ["calcite-label"];
71
74
  components.forEach(tagName => { switch (tagName) {
72
75
  case "calcite-label":
@@ -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, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, C as CSS_UTILITY, f as focusElement } from './dom.js';
7
7
  import { d as defineCustomElement$1 } from './calcite-icon2.js';
8
8
 
@@ -78,6 +78,9 @@ CalciteLink = /*@__PURE__*/ proxyCustomElement(CalciteLink, [1, "calcite-link",
78
78
  "setFocus": [64]
79
79
  }]);
80
80
  function defineCustomElement() {
81
+ if (typeof customElements === "undefined") {
82
+ return;
83
+ }
81
84
  const components = ["calcite-link", "calcite-icon"];
82
85
  components.forEach(tagName => { switch (tagName) {
83
86
  case "calcite-link":
@@ -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, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { C as CalciteHeading, c as constrainHeadingLevel } from './CalciteHeading.js';
7
7
 
8
8
  const CSS = {
@@ -40,6 +40,9 @@ CalciteListItemGroup$1 = /*@__PURE__*/ proxyCustomElement(CalciteListItemGroup$1
40
40
  "headingLevel": [2, "heading-level"]
41
41
  }]);
42
42
  function defineCustomElement$1() {
43
+ if (typeof customElements === "undefined") {
44
+ return;
45
+ }
43
46
  const components = ["calcite-list-item-group"];
44
47
  components.forEach(tagName => { switch (tagName) {
45
48
  case "calcite-list-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 { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { b as getSlotted } from './dom.js';
7
7
 
8
8
  const CSS = {
@@ -100,6 +100,9 @@ CalciteListItem$1 = /*@__PURE__*/ proxyCustomElement(CalciteListItem$1, [1, "cal
100
100
  "setFocus": [64]
101
101
  }]);
102
102
  function defineCustomElement$1() {
103
+ if (typeof customElements === "undefined") {
104
+ return;
105
+ }
103
106
  const components = ["calcite-list-item"];
104
107
  components.forEach(tagName => { switch (tagName) {
105
108
  case "calcite-list-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 { h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
 
7
7
  const CSS = {
8
8
  container: "container"
@@ -42,6 +42,9 @@ CalciteList$1 = /*@__PURE__*/ proxyCustomElement(CalciteList$1, [1, "calcite-lis
42
42
  "setFocus": [64]
43
43
  }]);
44
44
  function defineCustomElement$1() {
45
+ if (typeof customElements === "undefined") {
46
+ return;
47
+ }
45
48
  const components = ["calcite-list"];
46
49
  components.forEach(tagName => { switch (tagName) {
47
50
  case "calcite-list":
@@ -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, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { g as guid } from './guid.js';
7
7
 
8
8
  const calciteLoaderCss = "@charset \"UTF-8\";@-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{-ms-flex-align:center;align-items:center;position:relative;-ms-flex-pack:center;justify-content:center;display:none;margin-left:auto;margin-right:auto;opacity:1;padding-top:4rem;padding-bottom:4rem;min-height:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-ui-brand);stroke-width:3;fill:none;-webkit-transform:scale(1, 1);transform:scale(1, 1);animation:loader-color-shift 6s alternate-reverse infinite linear}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--2);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.25rem}:host([no-padding]){padding-top:0;padding-bottom:0}:host([active]){display:-ms-flexbox;display:flex}.loader__text{display:block;font-size:var(--calcite-font-size--2);line-height:1rem;text-align:center;color:var(--calcite-ui-text-1);margin-top:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{display:block;position:absolute;color:var(--calcite-ui-text-1);text-align:center;font-size:var(--calcite-loader-font-size);width:var(--calcite-loader-size);left:50%;margin-left:calc(var(--calcite-loader-size) / 2 * -1);line-height:0.25;-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svgs{position:absolute;overflow:visible;opacity:1;width:var(--calcite-loader-size);height:var(--calcite-loader-size);left:50%;margin-left:calc(var(--calcite-loader-size) / 2 * -1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}.loader__svg{position:absolute;overflow:visible;top:0;left:0;-webkit-transform-origin:center;transform-origin:center;width:var(--calcite-loader-size);height:var(--calcite-loader-size);-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-name:loader-clockwise;animation-name:loader-clockwise}@supports (display: grid){.loader__svg--1{-webkit-animation-name:loader-offset-1;animation-name:loader-offset-1}.loader__svg--2{-webkit-animation-name:loader-offset-2;animation-name:loader-offset-2}.loader__svg--3{-webkit-animation-name:loader-offset-3;animation-name:loader-offset-3}}:host([type=determinate]){-webkit-animation:none;animation:none;stroke:var(--calcite-ui-border-3)}:host([type=determinate]) .loader__svg--3{-webkit-animation:none;animation:none;stroke:var(--calcite-ui-brand);stroke-dasharray:150.79632;-webkit-transform:rotate(-90deg);transform:rotate(-90deg);-webkit-transition:all 100ms linear;transition:all 100ms linear}:host([inline]){position:relative;margin:0;padding-top:0;padding-bottom:0;-webkit-animation:none;animation:none;stroke:currentColor;stroke-width:2;height:var(--calcite-loader-size-inline);min-height:var(--calcite-loader-size-inline);width:var(--calcite-loader-size-inline);margin-right:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([inline][dir=rtl]){margin-right:0;margin-left:calc(var(--calcite-loader-size-inline) * 0.5)}:host([active][inline]){display:inline-block}:host([inline]) .loader__svgs{top:0;left:0;margin:0;width:var(--calcite-loader-size-inline);height:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{width:var(--calcite-loader-size-inline);height:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity 200ms linear 1000ms, -webkit-transform 200ms linear 1000ms;transition:opacity 200ms linear 1000ms, -webkit-transform 200ms linear 1000ms;transition:opacity 200ms linear 1000ms, transform 200ms linear 1000ms;transition:opacity 200ms linear 1000ms, transform 200ms linear 1000ms, -webkit-transform 200ms linear 1000ms}:host([complete]) .loader__svgs{opacity:0;-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:opacity 180ms linear 800ms, -webkit-transform 180ms linear 800ms;transition:opacity 180ms linear 800ms, -webkit-transform 180ms linear 800ms;transition:opacity 180ms linear 800ms, transform 180ms linear 800ms;transition:opacity 180ms linear 800ms, transform 180ms linear 800ms, -webkit-transform 180ms linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-ui-brand);-webkit-transform:scale(1.05, 1.05);transform:scale(1.05, 1.05);-webkit-transform-origin:center;transform-origin:center;-webkit-transition:color 200ms linear, -webkit-transform 200ms linear;transition:color 200ms linear, -webkit-transform 200ms linear;transition:color 200ms linear, transform 200ms linear;transition:color 200ms linear, transform 200ms linear, -webkit-transform 200ms linear}.loader__svg--1{stroke-dasharray:27.9252444444% 139.6262222222%;-webkit-animation-duration:0.72s;animation-duration:0.72s}@-webkit-keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-83.7757333333%}100%{stroke-dasharray:27.9252444444% 251.3272%;stroke-dashoffset:-279.2524444444%}}.loader__svg--2{stroke-dasharray:55.8504888889% 139.6262222222%;-webkit-animation-duration:0.96s;animation-duration:0.96s}@-webkit-keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-97.7383555556%}100%{stroke-dasharray:55.8504888889% 223.4019555556%;stroke-dashoffset:-279.2524444444%}}.loader__svg--3{stroke-dasharray:13.9626222222% 139.6262222222%;-webkit-animation-duration:1.16s;animation-duration:1.16s}@-webkit-keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222% 139.6262222222%;stroke-dashoffset:-76.7944222222%}100%{stroke-dasharray:13.9626222222% 265.2898222222%;stroke-dashoffset:-279.2524444444%}}@-webkit-keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@keyframes loader-color-shift{0%{stroke:var(--calcite-ui-brand)}33%{stroke:var(--calcite-ui-brand-press)}66%{stroke:var(--calcite-ui-brand-hover)}100%{stroke:var(--calcite-ui-brand)}}@-webkit-keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loader-clockwise{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}";
@@ -93,6 +93,9 @@ CalciteLoader = /*@__PURE__*/ proxyCustomElement(CalciteLoader, [1, "calcite-loa
93
93
  "noPadding": [4, "no-padding"]
94
94
  }]);
95
95
  function defineCustomElement() {
96
+ if (typeof customElements === "undefined") {
97
+ return;
98
+ }
96
99
  const components = ["calcite-loader"];
97
100
  components.forEach(tagName => { switch (tagName) {
98
101
  case "calcite-loader":