@esri/calcite-components 1.0.0-next.305 → 1.0.0-next.309

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 (161) 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-362cb320.entry.js +5 -0
  5. package/dist/calcite/{p-e62a9b1d.system.entry.js → p-4778c5cf.system.entry.js} +1 -1
  6. package/dist/calcite/{p-9f240615.system.entry.js → p-59a285d8.system.entry.js} +1 -1
  7. package/dist/calcite/p-688f06b9.entry.js +5 -0
  8. package/dist/calcite/p-8c02f97a.entry.js +5 -0
  9. package/dist/calcite/p-8e252799.system.js +5 -0
  10. package/dist/calcite/{p-243d95ab.system.entry.js → p-a5e8f022.system.entry.js} +2 -2
  11. package/dist/calcite/{p-88b875d3.system.entry.js → p-b0e21c19.system.entry.js} +1 -1
  12. package/dist/calcite/p-c61ebee9.entry.js +5 -0
  13. package/dist/calcite/p-ca6025ab.system.entry.js +5 -0
  14. package/dist/calcite/p-dbe899c6.system.entry.js +5 -0
  15. package/dist/calcite/p-e616f9b5.entry.js +5 -0
  16. package/dist/cjs/calcite-alert.cjs.entry.js +22 -5
  17. package/dist/cjs/calcite-graph_2.cjs.entry.js +18 -10
  18. package/dist/cjs/calcite-input.cjs.entry.js +16 -14
  19. package/dist/cjs/calcite-radio_2.cjs.entry.js +3 -7
  20. package/dist/cjs/calcite-shell_3.cjs.entry.js +156 -5
  21. package/dist/cjs/calcite-tile-select_2.cjs.entry.js +2 -2
  22. package/dist/cjs/calcite.cjs.js +2 -2
  23. package/dist/cjs/loader.cjs.js +2 -2
  24. package/dist/collection/collection-manifest.json +1 -1
  25. package/dist/collection/components/calcite-alert/calcite-alert.js +23 -4
  26. package/dist/collection/components/calcite-input/calcite-input.js +16 -14
  27. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +3 -7
  28. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +43 -0
  29. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +194 -5
  30. package/dist/collection/components/calcite-shell-panel/resources.js +5 -1
  31. package/dist/collection/components/calcite-slider/calcite-slider.css +1 -0
  32. package/dist/collection/components/calcite-slider/calcite-slider.js +19 -9
  33. package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +16 -4
  34. package/dist/components/calcite-accordion-item.js +4 -1
  35. package/dist/components/calcite-accordion.js +4 -1
  36. package/dist/components/calcite-action-bar.js +4 -1
  37. package/dist/components/calcite-action-group2.js +4 -1
  38. package/dist/components/calcite-action-menu2.js +4 -1
  39. package/dist/components/calcite-action-pad.js +4 -1
  40. package/dist/components/calcite-action2.js +4 -1
  41. package/dist/components/calcite-alert.js +26 -6
  42. package/dist/components/calcite-avatar.js +4 -1
  43. package/dist/components/calcite-block-section.js +4 -1
  44. package/dist/components/calcite-block.js +4 -1
  45. package/dist/components/calcite-button2.js +5 -2
  46. package/dist/components/calcite-card.js +4 -1
  47. package/dist/components/calcite-checkbox2.js +4 -1
  48. package/dist/components/calcite-chip2.js +4 -1
  49. package/dist/components/calcite-color-picker-hex-input2.js +4 -1
  50. package/dist/components/calcite-color-picker-swatch2.js +4 -1
  51. package/dist/components/calcite-color-picker.js +4 -1
  52. package/dist/components/calcite-combobox-item-group.js +4 -1
  53. package/dist/components/calcite-combobox-item.js +4 -1
  54. package/dist/components/calcite-combobox.js +4 -1
  55. package/dist/components/calcite-date-picker-day2.js +4 -1
  56. package/dist/components/calcite-date-picker-month-header2.js +4 -1
  57. package/dist/components/calcite-date-picker-month2.js +4 -1
  58. package/dist/components/calcite-date-picker2.js +4 -1
  59. package/dist/components/calcite-dropdown-group.js +4 -1
  60. package/dist/components/calcite-dropdown-item.js +4 -1
  61. package/dist/components/calcite-dropdown2.js +4 -1
  62. package/dist/components/calcite-fab.js +4 -1
  63. package/dist/components/calcite-filter2.js +4 -1
  64. package/dist/components/calcite-flow.js +4 -1
  65. package/dist/components/calcite-graph2.js +4 -1
  66. package/dist/components/calcite-handle2.js +4 -1
  67. package/dist/components/calcite-icon2.js +4 -1
  68. package/dist/components/calcite-inline-editable.js +4 -1
  69. package/dist/components/calcite-input-date-picker.js +4 -1
  70. package/dist/components/calcite-input-message.js +4 -1
  71. package/dist/components/calcite-input-time-picker.js +4 -1
  72. package/dist/components/calcite-input2.js +20 -15
  73. package/dist/components/calcite-label2.js +4 -1
  74. package/dist/components/calcite-link2.js +4 -1
  75. package/dist/components/calcite-list-item-group.js +4 -1
  76. package/dist/components/calcite-list-item.js +4 -1
  77. package/dist/components/calcite-list.js +4 -1
  78. package/dist/components/calcite-loader2.js +4 -1
  79. package/dist/components/calcite-modal.js +4 -1
  80. package/dist/components/calcite-notice.js +4 -1
  81. package/dist/components/calcite-option-group.js +4 -1
  82. package/dist/components/calcite-option.js +4 -1
  83. package/dist/components/calcite-pagination.js +4 -1
  84. package/dist/components/calcite-panel.js +4 -1
  85. package/dist/components/calcite-pick-list-group.js +4 -1
  86. package/dist/components/calcite-pick-list-item2.js +4 -1
  87. package/dist/components/calcite-pick-list.js +4 -1
  88. package/dist/components/calcite-popover-manager.js +4 -1
  89. package/dist/components/calcite-popover2.js +4 -1
  90. package/dist/components/calcite-progress2.js +4 -1
  91. package/dist/components/calcite-radio-button-group.js +4 -1
  92. package/dist/components/calcite-radio-button.js +7 -8
  93. package/dist/components/calcite-radio-group-item.js +4 -1
  94. package/dist/components/calcite-radio-group.js +4 -1
  95. package/dist/components/calcite-radio2.js +4 -1
  96. package/dist/components/calcite-rating.js +4 -1
  97. package/dist/components/calcite-scrim2.js +4 -1
  98. package/dist/components/calcite-select.js +4 -1
  99. package/dist/components/calcite-shell-center-row.js +4 -1
  100. package/dist/components/calcite-shell-panel.js +164 -7
  101. package/dist/components/calcite-shell.js +4 -1
  102. package/dist/components/calcite-slider.js +22 -11
  103. package/dist/components/calcite-sortable-list.js +4 -1
  104. package/dist/components/calcite-split-button.js +4 -1
  105. package/dist/components/calcite-stepper-item.js +4 -1
  106. package/dist/components/calcite-stepper.js +4 -1
  107. package/dist/components/calcite-switch2.js +4 -1
  108. package/dist/components/calcite-tab-nav2.js +4 -1
  109. package/dist/components/calcite-tab-title2.js +4 -1
  110. package/dist/components/calcite-tab2.js +4 -1
  111. package/dist/components/calcite-tabs2.js +4 -1
  112. package/dist/components/calcite-tile-select-group.js +4 -1
  113. package/dist/components/calcite-tile-select.js +7 -4
  114. package/dist/components/calcite-tile2.js +4 -1
  115. package/dist/components/calcite-time-picker2.js +4 -1
  116. package/dist/components/calcite-tip-group.js +4 -1
  117. package/dist/components/calcite-tip-manager.js +4 -1
  118. package/dist/components/calcite-tip.js +4 -1
  119. package/dist/components/calcite-tooltip-manager2.js +4 -1
  120. package/dist/components/calcite-tooltip.js +4 -1
  121. package/dist/components/calcite-tree-item.js +4 -1
  122. package/dist/components/calcite-tree.js +4 -1
  123. package/dist/components/calcite-value-list-item.js +4 -1
  124. package/dist/components/calcite-value-list.js +4 -1
  125. package/dist/custom-elements/index.js +403 -230
  126. package/dist/esm/calcite-alert.entry.js +22 -5
  127. package/dist/esm/calcite-graph_2.entry.js +18 -10
  128. package/dist/esm/calcite-input.entry.js +16 -14
  129. package/dist/esm/calcite-radio_2.entry.js +3 -7
  130. package/dist/esm/calcite-shell_3.entry.js +157 -6
  131. package/dist/esm/calcite-tile-select_2.entry.js +2 -2
  132. package/dist/esm/calcite.js +2 -2
  133. package/dist/esm/loader.js +2 -2
  134. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  135. package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
  136. package/dist/esm-es5/calcite-input.entry.js +1 -1
  137. package/dist/esm-es5/calcite-radio_2.entry.js +1 -1
  138. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  139. package/dist/esm-es5/calcite-tile-select_2.entry.js +1 -1
  140. package/dist/esm-es5/calcite.js +1 -1
  141. package/dist/esm-es5/loader.js +1 -1
  142. package/dist/extras/docs-json.json +51 -2
  143. package/dist/types/components/calcite-alert/calcite-alert.d.ts +3 -0
  144. package/dist/types/components/calcite-input/calcite-input.d.ts +1 -1
  145. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +31 -0
  146. package/dist/types/components/calcite-shell-panel/resources.d.ts +4 -0
  147. package/dist/types/components/calcite-slider/calcite-slider.d.ts +3 -1
  148. package/dist/types/components/calcite-tile-select/calcite-tile-select.d.ts +2 -2
  149. package/dist/types/components.d.ts +18 -0
  150. package/hydrate/index.js +316 -140
  151. package/package.json +10 -10
  152. package/readme.md +2 -2
  153. package/dist/calcite/p-3eb1dc0f.entry.js +0 -5
  154. package/dist/calcite/p-42696c81.system.entry.js +0 -5
  155. package/dist/calcite/p-56e28cef.entry.js +0 -5
  156. package/dist/calcite/p-5c0c29bc.entry.js +0 -5
  157. package/dist/calcite/p-5f817b79.entry.js +0 -5
  158. package/dist/calcite/p-6f1cca21.system.js +0 -5
  159. package/dist/calcite/p-737fb960.entry.js +0 -5
  160. package/dist/calcite/p-82139130.entry.js +0 -5
  161. package/dist/calcite/p-b1a96c72.system.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, 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';
@@ -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';
@@ -233,12 +233,13 @@ let CalciteInput = class extends HTMLElement {
233
233
  const inputMin = this.minString ? parseFloat(this.minString) : null;
234
234
  const valueNudgeDelayInMs = 100;
235
235
  this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
236
- let nudgeNumberValueIntervalCount = 0;
236
+ let firstValueNudge = true;
237
237
  this.nudgeNumberValueIntervalId = setInterval(() => {
238
- nudgeNumberValueIntervalCount !== 0
239
- ? this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent)
240
- : null;
241
- nudgeNumberValueIntervalCount++;
238
+ if (firstValueNudge) {
239
+ firstValueNudge = false;
240
+ return;
241
+ }
242
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
242
243
  }, valueNudgeDelayInMs);
243
244
  };
244
245
  this.numberButtonMouseUpAndMouseOutHandler = () => {
@@ -383,17 +384,18 @@ let CalciteInput = class extends HTMLElement {
383
384
  this.setFocus();
384
385
  }
385
386
  incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
386
- const value = this.value;
387
+ const { value } = this;
387
388
  const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
388
389
  const inputVal = value && value !== "" ? parseFloat(value) : 0;
389
- let newValue = value;
390
- if (direction === "up" && ((!inputMax && inputMax !== 0) || inputVal < inputMax)) {
391
- newValue = (inputVal + inputStep).toFixed(decimalPlaces(inputStep)).toString();
392
- }
393
- if (direction === "down" && ((!inputMin && inputMin !== 0) || inputVal > inputMin)) {
394
- newValue = (inputVal - inputStep).toFixed(decimalPlaces(inputStep)).toString();
395
- }
396
- this.setValue(newValue, nativeEvent, true);
390
+ const adjustment = direction === "up" ? 1 : -1;
391
+ const nudgedValue = inputVal + inputStep * adjustment;
392
+ const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
393
+ (typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
394
+ ? inputVal
395
+ : nudgedValue;
396
+ const inputValPlaces = decimalPlaces(inputVal);
397
+ const inputStepPlaces = decimalPlaces(inputStep);
398
+ this.setValue(finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces)), nativeEvent, true);
397
399
  }
398
400
  onFormReset() {
399
401
  this.setValue(this.defaultValue);
@@ -514,6 +516,9 @@ CalciteInput = /*@__PURE__*/ proxyCustomElement(CalciteInput, [1, "calcite-input
514
516
  "setFocus": [64]
515
517
  }]);
516
518
  function defineCustomElement() {
519
+ if (typeof customElements === "undefined") {
520
+ return;
521
+ }
517
522
  const components = ["calcite-input", "calcite-icon", "calcite-progress"];
518
523
  components.forEach(tagName => { switch (tagName) {
519
524
  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":
@@ -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 { f as focusElement, a as getElementDir, C as CSS_UTILITY, b as getSlotted, h as ensureId, i as isCalciteFocusable } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { c as createObserver } from './observers.js';
@@ -385,6 +385,9 @@ CalciteModal$1 = /*@__PURE__*/ proxyCustomElement(CalciteModal$1, [1, "calcite-m
385
385
  "scrollContent": [64]
386
386
  }, [[8, "keyup", "handleEscape"]]]);
387
387
  function defineCustomElement$1() {
388
+ if (typeof customElements === "undefined") {
389
+ return;
390
+ }
388
391
  const components = ["calcite-modal", "calcite-icon", "calcite-loader", "calcite-scrim"];
389
392
  components.forEach(tagName => { switch (tagName) {
390
393
  case "calcite-modal":
@@ -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 { S as StatusIcons } from './interfaces.js';
7
7
  import { s as setRequestedIcon, a as getElementDir, b as getSlotted, C as CSS_UTILITY } from './dom.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
@@ -118,6 +118,9 @@ CalciteNotice$1 = /*@__PURE__*/ proxyCustomElement(CalciteNotice$1, [1, "calcite
118
118
  "setFocus": [64]
119
119
  }]);
120
120
  function defineCustomElement$1() {
121
+ if (typeof customElements === "undefined") {
122
+ return;
123
+ }
121
124
  const components = ["calcite-notice", "calcite-icon"];
122
125
  components.forEach(tagName => { switch (tagName) {
123
126
  case "calcite-notice":
@@ -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
 
7
7
  const calciteOptionGroupCss = "@-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:block}";
8
8
 
@@ -44,6 +44,9 @@ CalciteOptionGroup$1 = /*@__PURE__*/ proxyCustomElement(CalciteOptionGroup$1, [1
44
44
  "label": [1]
45
45
  }]);
46
46
  function defineCustomElement$1() {
47
+ if (typeof customElements === "undefined") {
48
+ return;
49
+ }
47
50
  const components = ["calcite-option-group"];
48
51
  components.forEach(tagName => { switch (tagName) {
49
52
  case "calcite-option-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, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { c as createObserver } from './observers.js';
7
7
 
8
8
  const calciteOptionCss = "@-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:block}";
@@ -90,6 +90,9 @@ CalciteOption$1 = /*@__PURE__*/ proxyCustomElement(CalciteOption$1, [1, "calcite
90
90
  "value": [1032]
91
91
  }]);
92
92
  function defineCustomElement$1() {
93
+ if (typeof customElements === "undefined") {
94
+ return;
95
+ }
93
96
  const components = ["calcite-option"];
94
97
  components.forEach(tagName => { switch (tagName) {
95
98
  case "calcite-option":
@@ -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 { d as defineCustomElement$2 } from './calcite-icon2.js';
8
8
 
@@ -185,6 +185,9 @@ CalcitePagination$1 = /*@__PURE__*/ proxyCustomElement(CalcitePagination$1, [1,
185
185
  "previousPage": [64]
186
186
  }]);
187
187
  function defineCustomElement$1() {
188
+ if (typeof customElements === "undefined") {
189
+ return;
190
+ }
188
191
  const components = ["calcite-pagination", "calcite-icon"];
189
192
  components.forEach(tagName => { switch (tagName) {
190
193
  case "calcite-pagination":
@@ -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, b as getSlotted, C as CSS_UTILITY } from './dom.js';
7
7
  import { C as CalciteHeading } from './CalciteHeading.js';
8
8
  import { S as SLOTS$1, d as defineCustomElement$7 } from './calcite-action-menu2.js';
@@ -258,6 +258,9 @@ CalcitePanel$1 = /*@__PURE__*/ proxyCustomElement(CalcitePanel$1, [1, "calcite-p
258
258
  "setFocus": [64]
259
259
  }]);
260
260
  function defineCustomElement$1() {
261
+ if (typeof customElements === "undefined") {
262
+ return;
263
+ }
261
264
  const components = ["calcite-panel", "calcite-action", "calcite-action-menu", "calcite-icon", "calcite-loader", "calcite-popover", "calcite-scrim", "calcite-tooltip-manager"];
262
265
  components.forEach(tagName => { switch (tagName) {
263
266
  case "calcite-panel":
@@ -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, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir, b as getSlotted, C as CSS_UTILITY } from './dom.js';
7
7
  import { C as CalciteHeading, c as constrainHeadingLevel } from './CalciteHeading.js';
8
8
 
@@ -53,6 +53,9 @@ CalcitePickListGroup$1 = /*@__PURE__*/ proxyCustomElement(CalcitePickListGroup$1
53
53
  "headingLevel": [2, "heading-level"]
54
54
  }]);
55
55
  function defineCustomElement$1() {
56
+ if (typeof customElements === "undefined") {
57
+ return;
58
+ }
56
59
  const components = ["calcite-pick-list-group"];
57
60
  components.forEach(tagName => { switch (tagName) {
58
61
  case "calcite-pick-list-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, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Fragment, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { I as ICON_TYPES } from './resources3.js';
7
7
  import { b as getSlotted } from './dom.js';
8
8
  import { d as defineCustomElement$3 } from './calcite-action2.js';
@@ -201,6 +201,9 @@ CalcitePickListItem = /*@__PURE__*/ proxyCustomElement(CalcitePickListItem, [1,
201
201
  "setFocus": [64]
202
202
  }]);
203
203
  function defineCustomElement() {
204
+ if (typeof customElements === "undefined") {
205
+ return;
206
+ }
204
207
  const components = ["calcite-pick-list-item", "calcite-action", "calcite-icon", "calcite-loader"];
205
208
  components.forEach(tagName => { switch (tagName) {
206
209
  case "calcite-pick-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 { createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { I as ICON_TYPES } from './resources3.js';
7
7
  import { m as mutationObserverCallback, d as deselectSiblingItems, s as selectSiblings, h as handleFilter, g as getItemData, k as keyDownHandler, i as initialize, a as initializeObserver, c as cleanUpObserver, r as removeItem, b as calciteListItemChangeHandler, e as calciteListItemValueChangeHandler, f as calciteListFocusOutHandler, j as setUpItems, l as setFocus, L as List } from './shared-list-render.js';
8
8
  import { c as createObserver } from './observers.js';
@@ -149,6 +149,9 @@ CalcitePickList$1 = /*@__PURE__*/ proxyCustomElement(CalcitePickList$1, [1, "cal
149
149
  "setFocus": [64]
150
150
  }, [[0, "calciteListItemRemove", "calciteListItemRemoveHandler"], [0, "calciteListItemChange", "calciteListItemChangeHandler"], [0, "calciteListItemPropsChange", "calciteListItemPropsChangeHandler"], [0, "calciteListItemValueChange", "calciteListItemValueChangeHandler"], [0, "focusout", "calciteListFocusOutHandler"]]]);
151
151
  function defineCustomElement$1() {
152
+ if (typeof customElements === "undefined") {
153
+ return;
154
+ }
152
155
  const components = ["calcite-pick-list", "calcite-filter", "calcite-icon", "calcite-input", "calcite-loader", "calcite-progress", "calcite-scrim"];
153
156
  components.forEach(tagName => { switch (tagName) {
154
157
  case "calcite-pick-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, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { P as POPOVER_REFERENCE } from './resources.js';
7
7
  import { q as queryElementRoots, j as queryElementsRoots } from './dom.js';
8
8
 
@@ -76,6 +76,9 @@ CalcitePopoverManager$1 = /*@__PURE__*/ proxyCustomElement(CalcitePopoverManager
76
76
  "autoClose": [516, "auto-close"]
77
77
  }, [[10, "click", "closeOpenPopovers"]]]);
78
78
  function defineCustomElement$1() {
79
+ if (typeof customElements === "undefined") {
80
+ return;
81
+ }
79
82
  const components = ["calcite-popover-manager"];
80
83
  components.forEach(tagName => { switch (tagName) {
81
84
  case "calcite-popover-manager":
@@ -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, forceUpdate, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, forceUpdate, h, Host, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { T as TEXT, A as ARIA_EXPANDED, P as POPOVER_REFERENCE, a as ARIA_CONTROLS, C as CSS, H as HEADING_LEVEL } from './resources.js';
7
7
  import { d as defaultOffsetDistance, u as updatePopper, c as createPopper, C as CSS$1 } from './popper.js';
8
8
  import { g as guid } from './guid.js';
@@ -303,6 +303,9 @@ CalcitePopover = /*@__PURE__*/ proxyCustomElement(CalcitePopover, [1, "calcite-p
303
303
  "toggle": [64]
304
304
  }]);
305
305
  function defineCustomElement() {
306
+ if (typeof customElements === "undefined") {
307
+ return;
308
+ }
306
309
  const components = ["calcite-popover", "calcite-action", "calcite-icon", "calcite-loader"];
307
310
  components.forEach(tagName => { switch (tagName) {
308
311
  case "calcite-popover":
@@ -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
 
7
7
  const calciteProgressCss = "@-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{position:relative;display:block;width:100%}.track,.bar{position:absolute;top:0;height:2px}.track{z-index:0;width:100%;overflow:hidden;background:var(--calcite-ui-border-3)}.bar{background-color:var(--calcite-ui-brand);z-index:0}.indeterminate{width:20%;-webkit-animation:looping-progress-bar-ani 2200ms linear infinite;animation:looping-progress-bar-ani 2200ms linear infinite}.reversed{animation-direction:reverse}.text{padding-top:1rem;padding-bottom:0;padding-left:0;padding-right:0;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium)}@-webkit-keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{width:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}@keyframes looping-progress-bar-ani{0%{-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0)}50%{width:40%}100%{-webkit-transform:translate3d(600%, 0, 0);transform:translate3d(600%, 0, 0)}}";
8
8
 
@@ -38,6 +38,9 @@ CalciteProgress = /*@__PURE__*/ proxyCustomElement(CalciteProgress, [1, "calcite
38
38
  "reversed": [4]
39
39
  }]);
40
40
  function defineCustomElement() {
41
+ if (typeof customElements === "undefined") {
42
+ return;
43
+ }
41
44
  const components = ["calcite-progress"];
42
45
  components.forEach(tagName => { switch (tagName) {
43
46
  case "calcite-progress":
@@ -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
 
7
7
  const calciteRadioButtonGroupCss = "@-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:-ms-flexbox;display:flex;max-width:100vw}:host([layout=horizontal]){-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}:host([layout=horizontal][scale=s]){grid-gap:1rem;gap:1rem}:host([layout=horizontal][scale=m]){grid-gap:1.25rem;gap:1.25rem}:host([layout=horizontal][scale=l]){grid-gap:1.5rem;gap:1.5rem}:host([layout=vertical]){-ms-flex-direction:column;flex-direction:column}";
8
8
 
@@ -99,6 +99,9 @@ CalciteRadioButtonGroup$1 = /*@__PURE__*/ proxyCustomElement(CalciteRadioButtonG
99
99
  "scale": [513]
100
100
  }, [[0, "calciteRadioButtonChange", "radioButtonChangeHandler"]]]);
101
101
  function defineCustomElement$1() {
102
+ if (typeof customElements === "undefined") {
103
+ return;
104
+ }
102
105
  const components = ["calcite-radio-button-group"];
103
106
  components.forEach(tagName => { switch (tagName) {
104
107
  case "calcite-radio-button-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 guid } from './guid.js';
7
7
  import { a as getElementDir, f as focusElement } from './dom.js';
8
8
  import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label.js';
@@ -57,11 +57,7 @@ let CalciteRadioButton$1 = class extends HTMLElement {
57
57
  //
58
58
  //--------------------------------------------------------------------------
59
59
  this.selectItem = (items, selectedIndex) => {
60
- items.forEach((item, index) => {
61
- const selected = index === selectedIndex;
62
- item.checked = selected;
63
- item.focused = selected;
64
- });
60
+ items[selectedIndex].click();
65
61
  };
66
62
  this.queryButtons = () => {
67
63
  return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden]")).filter((radioButton) => radioButton.name === this.name);
@@ -76,8 +72,8 @@ let CalciteRadioButton$1 = class extends HTMLElement {
76
72
  }
77
73
  this.uncheckAllRadioButtonsInGroup();
78
74
  this.checked = true;
79
- this.focused = true;
80
75
  this.calciteRadioButtonChange.emit();
76
+ this.setFocus();
81
77
  };
82
78
  this.clickHandler = () => {
83
79
  this.check();
@@ -238,7 +234,7 @@ let CalciteRadioButton$1 = class extends HTMLElement {
238
234
  }
239
235
  componentDidLoad() {
240
236
  if (this.focused) {
241
- this.containerEl.focus();
237
+ this.setFocus();
242
238
  }
243
239
  }
244
240
  disconnectedCallback() {
@@ -276,6 +272,9 @@ CalciteRadioButton$1 = /*@__PURE__*/ proxyCustomElement(CalciteRadioButton$1, [1
276
272
  "emitCheckedChange": [64]
277
273
  }, [[1, "mouseenter", "mouseenter"], [1, "mouseleave", "mouseleave"]]]);
278
274
  function defineCustomElement$1() {
275
+ if (typeof customElements === "undefined") {
276
+ return;
277
+ }
279
278
  const components = ["calcite-radio-button", "calcite-radio"];
280
279
  components.forEach(tagName => { switch (tagName) {
281
280
  case "calcite-radio-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, 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
  import { c as createObserver } from './observers.js';
8
8
  import { d as defineCustomElement$2 } from './calcite-icon2.js';
@@ -117,6 +117,9 @@ CalciteRadioGroupItem$1 = /*@__PURE__*/ proxyCustomElement(CalciteRadioGroupItem
117
117
  "useFallback": [32]
118
118
  }]);
119
119
  function defineCustomElement$1() {
120
+ if (typeof customElements === "undefined") {
121
+ return;
122
+ }
120
123
  const components = ["calcite-radio-group-item", "calcite-icon"];
121
124
  components.forEach(tagName => { switch (tagName) {
122
125
  case "calcite-radio-group-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, Build, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, createEvent, h, Host, Build, proxyCustomElement } from '@stencil/core/internal/client';
6
6
  import { a as getElementDir } from './dom.js';
7
7
  import { g as getKey } from './key.js';
8
8
  import { c as connectLabel, d as disconnectLabel } from './label.js';
@@ -214,6 +214,9 @@ CalciteRadioGroup$1 = /*@__PURE__*/ proxyCustomElement(CalciteRadioGroup$1, [1,
214
214
  "setFocus": [64]
215
215
  }, [[0, "calciteRadioGroupItemChange", "handleSelected"], [0, "keydown", "handleKeyDown"]]]);
216
216
  function defineCustomElement$1() {
217
+ if (typeof customElements === "undefined") {
218
+ return;
219
+ }
217
220
  const components = ["calcite-radio-group"];
218
221
  components.forEach(tagName => { switch (tagName) {
219
222
  case "calcite-radio-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, proxyCustomElement } from '@stencil/core/internal/client';
5
+ import { HTMLElement, h, proxyCustomElement } from '@stencil/core/internal/client';
6
6
 
7
7
  const calciteRadioCss = "@-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:block}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([hidden]){display:none}";
8
8
 
@@ -54,6 +54,9 @@ CalciteRadio = /*@__PURE__*/ proxyCustomElement(CalciteRadio, [1, "calcite-radio
54
54
  "scale": [513]
55
55
  }]);
56
56
  function defineCustomElement() {
57
+ if (typeof customElements === "undefined") {
58
+ return;
59
+ }
57
60
  const components = ["calcite-radio"];
58
61
  components.forEach(tagName => { switch (tagName) {
59
62
  case "calcite-radio":