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

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 (220) hide show
  1. package/dist/calcite/assets/calcite-icon/checkSquareF16.json +1 -0
  2. package/dist/calcite/assets/calcite-icon/checkSquareF24.json +1 -0
  3. package/dist/calcite/assets/calcite-icon/checkSquareF32.json +1 -0
  4. package/dist/calcite/assets/calcite-icon/cloudy16.json +1 -0
  5. package/dist/calcite/assets/calcite-icon/cloudy24.json +1 -0
  6. package/dist/calcite/assets/calcite-icon/cloudy32.json +1 -0
  7. package/dist/calcite/assets/calcite-icon/displaySelectionLock16.json +1 -0
  8. package/dist/calcite/assets/calcite-icon/displaySelectionLock24.json +1 -0
  9. package/dist/calcite/assets/calcite-icon/displaySelectionLock32.json +1 -0
  10. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  11. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  12. package/dist/calcite/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  13. package/dist/calcite/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  14. package/dist/calcite/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  15. package/dist/calcite/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  16. package/dist/calcite/assets/calcite-icon/fog16.json +1 -0
  17. package/dist/calcite/assets/calcite-icon/fog24.json +1 -0
  18. package/dist/calcite/assets/calcite-icon/fog32.json +1 -0
  19. package/dist/calcite/assets/calcite-icon/heavyRain16.json +1 -0
  20. package/dist/calcite/assets/calcite-icon/heavyRain24.json +1 -0
  21. package/dist/calcite/assets/calcite-icon/heavyRain32.json +1 -0
  22. package/dist/calcite/assets/calcite-icon/heavySnow16.json +1 -0
  23. package/dist/calcite/assets/calcite-icon/heavySnow24.json +1 -0
  24. package/dist/calcite/assets/calcite-icon/heavySnow32.json +1 -0
  25. package/dist/calcite/assets/calcite-icon/lightRain16.json +1 -0
  26. package/dist/calcite/assets/calcite-icon/lightRain24.json +1 -0
  27. package/dist/calcite/assets/calcite-icon/lightRain32.json +1 -0
  28. package/dist/calcite/assets/calcite-icon/lightSnow16.json +1 -0
  29. package/dist/calcite/assets/calcite-icon/lightSnow24.json +1 -0
  30. package/dist/calcite/assets/calcite-icon/lightSnow32.json +1 -0
  31. package/dist/calcite/assets/calcite-icon/lineSolid4.json +1 -0
  32. package/dist/calcite/assets/calcite-icon/partlyCloud16.json +1 -0
  33. package/dist/calcite/assets/calcite-icon/partlyCloud24.json +1 -0
  34. package/dist/calcite/assets/calcite-icon/partlyCloud32.json +1 -0
  35. package/dist/calcite/assets/calcite-icon/rain16.json +1 -0
  36. package/dist/calcite/assets/calcite-icon/rain24.json +1 -0
  37. package/dist/calcite/assets/calcite-icon/rain32.json +1 -0
  38. package/dist/calcite/assets/calcite-icon/rainSnow16.json +1 -0
  39. package/dist/calcite/assets/calcite-icon/rainSnow24.json +1 -0
  40. package/dist/calcite/assets/calcite-icon/rainSnow32.json +1 -0
  41. package/dist/calcite/assets/calcite-icon/rainThunder16.json +1 -0
  42. package/dist/calcite/assets/calcite-icon/rainThunder24.json +1 -0
  43. package/dist/calcite/assets/calcite-icon/rainThunder32.json +1 -0
  44. package/dist/calcite/assets/calcite-icon/ringsThreshold16.json +1 -0
  45. package/dist/calcite/assets/calcite-icon/ringsThreshold24.json +1 -0
  46. package/dist/calcite/assets/calcite-icon/ringsThreshold32.json +1 -0
  47. package/dist/calcite/assets/calcite-icon/selectVisible16.json +1 -0
  48. package/dist/calcite/assets/calcite-icon/selectVisible24.json +1 -0
  49. package/dist/calcite/assets/calcite-icon/selectVisible32.json +1 -0
  50. package/dist/calcite/assets/calcite-icon/snow16.json +1 -0
  51. package/dist/calcite/assets/calcite-icon/snow24.json +1 -0
  52. package/dist/calcite/assets/calcite-icon/snow32.json +1 -0
  53. package/dist/calcite/assets/calcite-icon/snowThunder16.json +1 -0
  54. package/dist/calcite/assets/calcite-icon/snowThunder24.json +1 -0
  55. package/dist/calcite/assets/calcite-icon/snowThunder32.json +1 -0
  56. package/dist/calcite/assets/calcite-icon/squareF16.json +1 -0
  57. package/dist/calcite/assets/calcite-icon/squareF24.json +1 -0
  58. package/dist/calcite/assets/calcite-icon/squareF32.json +1 -0
  59. package/dist/calcite/assets/calcite-icon/xHexagon16.json +1 -0
  60. package/dist/calcite/assets/calcite-icon/xHexagon24.json +1 -0
  61. package/dist/calcite/assets/calcite-icon/xHexagon32.json +1 -0
  62. package/dist/calcite/assets/calcite-icon/xHexagonF16.json +1 -0
  63. package/dist/calcite/assets/calcite-icon/xHexagonF24.json +1 -0
  64. package/dist/calcite/assets/calcite-icon/xHexagonF32.json +1 -0
  65. package/dist/calcite/assets/calcite-icon/xOctagonF16.json +1 -0
  66. package/dist/calcite/assets/calcite-icon/xOctagonF24.json +1 -0
  67. package/dist/calcite/assets/calcite-icon/xOctagonF32.json +1 -0
  68. package/dist/calcite/calcite.esm.js +1 -1
  69. package/dist/calcite/p-0229a408.js +5 -0
  70. package/dist/calcite/{p-54394dfe.system.entry.js → p-0d807182.system.entry.js} +1 -1
  71. package/dist/calcite/p-0f014648.entry.js +5 -0
  72. package/dist/calcite/p-0fa1ba75.entry.js +5 -0
  73. package/dist/calcite/{p-b1351c3e.system.entry.js → p-21290fba.system.entry.js} +1 -1
  74. package/dist/calcite/{p-a8dc2982.system.entry.js → p-25caf637.system.entry.js} +1 -1
  75. package/dist/calcite/{p-3a592bf3.system.entry.js → p-34038a94.system.entry.js} +1 -1
  76. package/dist/calcite/{p-d550ee4d.entry.js → p-34e89de8.entry.js} +1 -1
  77. package/dist/calcite/p-35a5c74c.system.js +5 -0
  78. package/dist/calcite/{p-688f06b9.entry.js → p-3b29e94a.entry.js} +1 -1
  79. package/dist/calcite/{p-fc643963.entry.js → p-45b4443f.entry.js} +1 -1
  80. package/dist/calcite/{p-dd464e44.system.entry.js → p-55a5535b.system.entry.js} +1 -1
  81. package/dist/calcite/p-8e252799.system.js +1 -1
  82. package/dist/calcite/{p-502ea583.entry.js → p-9a3bed69.entry.js} +1 -1
  83. package/dist/calcite/p-a19e423a.entry.js +5 -0
  84. package/dist/calcite/p-a46c3870.system.entry.js +5 -0
  85. package/dist/calcite/{p-109049e6.system.entry.js → p-aaec0d11.system.entry.js} +1 -1
  86. package/dist/calcite/{p-75264173.entry.js → p-bab99544.entry.js} +1 -1
  87. package/dist/calcite/{p-968ea270.entry.js → p-bdb92546.entry.js} +1 -1
  88. package/dist/calcite/{p-ca6025ab.system.entry.js → p-cbbfa133.system.entry.js} +1 -1
  89. package/dist/calcite/p-f1e111f4.system.entry.js +5 -0
  90. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -11
  91. package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
  92. package/dist/cjs/calcite-dropdown_3.cjs.entry.js +1 -1
  93. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +1 -1
  94. package/dist/cjs/calcite-input.cjs.entry.js +5 -5
  95. package/dist/cjs/calcite-popover_2.cjs.entry.js +1 -1
  96. package/dist/cjs/calcite-shell_3.cjs.entry.js +1 -1
  97. package/dist/cjs/calcite-split-button.cjs.entry.js +3 -1
  98. package/dist/cjs/calcite-tooltip_2.cjs.entry.js +1 -1
  99. package/dist/cjs/calcite.cjs.js +1 -1
  100. package/dist/cjs/loader.cjs.js +1 -1
  101. package/dist/cjs/{popper-87bf13e6.js → popper-a7580aca.js} +90 -64
  102. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF16.json +1 -0
  103. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF24.json +1 -0
  104. package/dist/collection/components/calcite-icon/assets/calcite-icon/checkSquareF32.json +1 -0
  105. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy16.json +1 -0
  106. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy24.json +1 -0
  107. package/dist/collection/components/calcite-icon/assets/calcite-icon/cloudy32.json +1 -0
  108. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock16.json +1 -0
  109. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock24.json +1 -0
  110. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionLock32.json +1 -0
  111. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock16.json +1 -0
  112. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock24.json +1 -0
  113. package/dist/collection/components/calcite-icon/assets/calcite-icon/displaySelectionUnlock32.json +1 -0
  114. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold16.json +1 -0
  115. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold24.json +1 -0
  116. package/dist/collection/components/calcite-icon/assets/calcite-icon/driveTimeThreshold32.json +1 -0
  117. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog16.json +1 -0
  118. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog24.json +1 -0
  119. package/dist/collection/components/calcite-icon/assets/calcite-icon/fog32.json +1 -0
  120. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain16.json +1 -0
  121. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain24.json +1 -0
  122. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavyRain32.json +1 -0
  123. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow16.json +1 -0
  124. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow24.json +1 -0
  125. package/dist/collection/components/calcite-icon/assets/calcite-icon/heavySnow32.json +1 -0
  126. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain16.json +1 -0
  127. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain24.json +1 -0
  128. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightRain32.json +1 -0
  129. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow16.json +1 -0
  130. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow24.json +1 -0
  131. package/dist/collection/components/calcite-icon/assets/calcite-icon/lightSnow32.json +1 -0
  132. package/dist/collection/components/calcite-icon/assets/calcite-icon/lineSolid4.json +1 -0
  133. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud16.json +1 -0
  134. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud24.json +1 -0
  135. package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloud32.json +1 -0
  136. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain16.json +1 -0
  137. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain24.json +1 -0
  138. package/dist/collection/components/calcite-icon/assets/calcite-icon/rain32.json +1 -0
  139. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow16.json +1 -0
  140. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow24.json +1 -0
  141. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainSnow32.json +1 -0
  142. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder16.json +1 -0
  143. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder24.json +1 -0
  144. package/dist/collection/components/calcite-icon/assets/calcite-icon/rainThunder32.json +1 -0
  145. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold16.json +1 -0
  146. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold24.json +1 -0
  147. package/dist/collection/components/calcite-icon/assets/calcite-icon/ringsThreshold32.json +1 -0
  148. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible16.json +1 -0
  149. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible24.json +1 -0
  150. package/dist/collection/components/calcite-icon/assets/calcite-icon/selectVisible32.json +1 -0
  151. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow16.json +1 -0
  152. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow24.json +1 -0
  153. package/dist/collection/components/calcite-icon/assets/calcite-icon/snow32.json +1 -0
  154. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder16.json +1 -0
  155. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder24.json +1 -0
  156. package/dist/collection/components/calcite-icon/assets/calcite-icon/snowThunder32.json +1 -0
  157. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF16.json +1 -0
  158. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF24.json +1 -0
  159. package/dist/collection/components/calcite-icon/assets/calcite-icon/squareF32.json +1 -0
  160. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon16.json +1 -0
  161. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon24.json +1 -0
  162. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagon32.json +1 -0
  163. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF16.json +1 -0
  164. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF24.json +1 -0
  165. package/dist/collection/components/calcite-icon/assets/calcite-icon/xHexagonF32.json +1 -0
  166. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF16.json +1 -0
  167. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF24.json +1 -0
  168. package/dist/collection/components/calcite-icon/assets/calcite-icon/xOctagonF32.json +1 -0
  169. package/dist/collection/components/calcite-input/calcite-input.css +2 -0
  170. package/dist/collection/components/calcite-input/calcite-input.js +4 -4
  171. package/dist/collection/components/calcite-label/interfaces.js +1 -0
  172. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +1 -0
  173. package/dist/collection/components/calcite-split-button/calcite-split-button.js +26 -1
  174. package/dist/collection/demos/_assets/demo-spacer.js +17 -0
  175. package/dist/collection/demos/_assets/demo-template.js +13 -0
  176. package/dist/collection/demos/_assets/head.js +45 -0
  177. package/dist/components/calcite-color-picker-swatch2.js +19 -11
  178. package/dist/components/calcite-input2.js +5 -5
  179. package/dist/components/calcite-shell-panel.js +1 -1
  180. package/dist/components/calcite-split-button.js +4 -1
  181. package/dist/components/popper.js +90 -64
  182. package/dist/custom-elements/index.js +119 -83
  183. package/dist/esm/calcite-color-picker_3.entry.js +19 -11
  184. package/dist/esm/calcite-combobox_3.entry.js +1 -1
  185. package/dist/esm/calcite-dropdown_3.entry.js +1 -1
  186. package/dist/esm/calcite-input-date-picker.entry.js +1 -1
  187. package/dist/esm/calcite-input.entry.js +5 -5
  188. package/dist/esm/calcite-popover_2.entry.js +1 -1
  189. package/dist/esm/calcite-shell_3.entry.js +1 -1
  190. package/dist/esm/calcite-split-button.entry.js +3 -1
  191. package/dist/esm/calcite-tooltip_2.entry.js +1 -1
  192. package/dist/esm/calcite.js +1 -1
  193. package/dist/esm/loader.js +1 -1
  194. package/dist/esm/{popper-dc4b45cf.js → popper-f5caedc4.js} +90 -64
  195. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  196. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  197. package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
  198. package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
  199. package/dist/esm-es5/calcite-input.entry.js +1 -1
  200. package/dist/esm-es5/calcite-popover_2.entry.js +1 -1
  201. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  202. package/dist/esm-es5/calcite-split-button.entry.js +1 -1
  203. package/dist/esm-es5/calcite-tooltip_2.entry.js +1 -1
  204. package/dist/esm-es5/calcite.js +1 -1
  205. package/dist/esm-es5/loader.js +1 -1
  206. package/dist/esm-es5/popper-f5caedc4.js +5 -0
  207. package/dist/extras/docs-json.json +23 -1
  208. package/dist/types/components/calcite-split-button/calcite-split-button.d.ts +3 -0
  209. package/dist/types/components.d.ts +8 -0
  210. package/hydrate/index.js +119 -82
  211. package/package.json +16 -16
  212. package/readme.md +2 -2
  213. package/dist/calcite/p-08d707c4.entry.js +0 -5
  214. package/dist/calcite/p-7cbc72b6.system.entry.js +0 -5
  215. package/dist/calcite/p-8c02f97a.entry.js +0 -5
  216. package/dist/calcite/p-aa47308a.entry.js +0 -5
  217. package/dist/calcite/p-b0e21c19.system.entry.js +0 -5
  218. package/dist/calcite/p-b1f88d45.system.js +0 -5
  219. package/dist/calcite/p-d53cc958.js +0 -5
  220. package/dist/esm-es5/popper-dc4b45cf.js +0 -5
@@ -4255,12 +4255,13 @@ var colorString = createCommonjsModule(function (module) {
4255
4255
  /* MIT license */
4256
4256
 
4257
4257
 
4258
+ var hasOwnProperty = Object.hasOwnProperty;
4258
4259
 
4259
4260
  var reverseNames = {};
4260
4261
 
4261
4262
  // create a list of reverse color names
4262
4263
  for (var name in colorName$1) {
4263
- if (colorName$1.hasOwnProperty(name)) {
4264
+ if (hasOwnProperty.call(colorName$1, name)) {
4264
4265
  reverseNames[colorName$1[name]] = name;
4265
4266
  }
4266
4267
  }
@@ -4303,9 +4304,9 @@ cs.get.rgb = function (string) {
4303
4304
 
4304
4305
  var abbr = /^#([a-f0-9]{3,4})$/i;
4305
4306
  var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
4306
- var rgba = /^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
4307
- var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
4308
- var keyword = /(\D+)/;
4307
+ var rgba = /^rgba?\(\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
4308
+ var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
4309
+ var keyword = /^(\w+)$/;
4309
4310
 
4310
4311
  var rgb = [0, 0, 0, 1];
4311
4312
  var match;
@@ -4342,7 +4343,11 @@ cs.get.rgb = function (string) {
4342
4343
  }
4343
4344
 
4344
4345
  if (match[4]) {
4345
- rgb[3] = parseFloat(match[4]);
4346
+ if (match[5]) {
4347
+ rgb[3] = parseFloat(match[4]) * 0.01;
4348
+ } else {
4349
+ rgb[3] = parseFloat(match[4]);
4350
+ }
4346
4351
  }
4347
4352
  } else if (match = string.match(per)) {
4348
4353
  for (i = 0; i < 3; i++) {
@@ -4350,19 +4355,22 @@ cs.get.rgb = function (string) {
4350
4355
  }
4351
4356
 
4352
4357
  if (match[4]) {
4353
- rgb[3] = parseFloat(match[4]);
4358
+ if (match[5]) {
4359
+ rgb[3] = parseFloat(match[4]) * 0.01;
4360
+ } else {
4361
+ rgb[3] = parseFloat(match[4]);
4362
+ }
4354
4363
  }
4355
4364
  } else if (match = string.match(keyword)) {
4356
4365
  if (match[1] === 'transparent') {
4357
4366
  return [0, 0, 0, 0];
4358
4367
  }
4359
4368
 
4360
- rgb = colorName$1[match[1]];
4361
-
4362
- if (!rgb) {
4369
+ if (!hasOwnProperty.call(colorName$1, match[1])) {
4363
4370
  return null;
4364
4371
  }
4365
4372
 
4373
+ rgb = colorName$1[match[1]];
4366
4374
  rgb[3] = 1;
4367
4375
 
4368
4376
  return rgb;
@@ -4388,7 +4396,7 @@ cs.get.hsl = function (string) {
4388
4396
 
4389
4397
  if (match) {
4390
4398
  var alpha = parseFloat(match[4]);
4391
- var h = (parseFloat(match[1]) + 360) % 360;
4399
+ var h = ((parseFloat(match[1]) % 360) + 360) % 360;
4392
4400
  var s = clamp(parseFloat(match[2]), 0, 100);
4393
4401
  var l = clamp(parseFloat(match[3]), 0, 100);
4394
4402
  var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
@@ -4483,7 +4491,7 @@ function clamp(num, min, max) {
4483
4491
  }
4484
4492
 
4485
4493
  function hexDouble(num) {
4486
- var str = num.toString(16).toUpperCase();
4494
+ var str = Math.round(num).toString(16).toUpperCase();
4487
4495
  return (str.length < 2) ? '0' + str : str;
4488
4496
  }
4489
4497
  });
@@ -7463,29 +7471,32 @@ function getBasePlacement(placement) {
7463
7471
  return placement.split('-')[0];
7464
7472
  }
7465
7473
 
7466
- // import { isHTMLElement } from './instanceOf';
7467
- function getBoundingClientRect(element, // eslint-disable-next-line unused-imports/no-unused-vars
7468
- includeScale) {
7474
+ var max = Math.max;
7475
+ var min = Math.min;
7476
+ var round = Math.round;
7477
+
7478
+ function getBoundingClientRect(element, includeScale) {
7479
+ if (includeScale === void 0) {
7480
+ includeScale = false;
7481
+ }
7469
7482
 
7470
7483
  var rect = element.getBoundingClientRect();
7471
7484
  var scaleX = 1;
7472
- var scaleY = 1; // FIXME:
7473
- // `offsetWidth` returns an integer while `getBoundingClientRect`
7474
- // returns a float. This results in `scaleX` or `scaleY` being
7475
- // non-1 when it should be for elements that aren't a full pixel in
7476
- // width or height.
7477
- // if (isHTMLElement(element) && includeScale) {
7478
- // const offsetHeight = element.offsetHeight;
7479
- // const offsetWidth = element.offsetWidth;
7480
- // // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
7481
- // // Fallback to 1 in case both values are `0`
7482
- // if (offsetWidth > 0) {
7483
- // scaleX = rect.width / offsetWidth || 1;
7484
- // }
7485
- // if (offsetHeight > 0) {
7486
- // scaleY = rect.height / offsetHeight || 1;
7487
- // }
7488
- // }
7485
+ var scaleY = 1;
7486
+
7487
+ if (isHTMLElement(element) && includeScale) {
7488
+ var offsetHeight = element.offsetHeight;
7489
+ var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
7490
+ // Fallback to 1 in case both values are `0`
7491
+
7492
+ if (offsetWidth > 0) {
7493
+ scaleX = round(rect.width) / offsetWidth || 1;
7494
+ }
7495
+
7496
+ if (offsetHeight > 0) {
7497
+ scaleY = round(rect.height) / offsetHeight || 1;
7498
+ }
7499
+ }
7489
7500
 
7490
7501
  return {
7491
7502
  width: rect.width / scaleX,
@@ -7640,13 +7651,13 @@ function getMainAxisFromPlacement(placement) {
7640
7651
  return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
7641
7652
  }
7642
7653
 
7643
- var max = Math.max;
7644
- var min = Math.min;
7645
- var round = Math.round;
7646
-
7647
7654
  function within(min$1, value, max$1) {
7648
7655
  return max(min$1, min(value, max$1));
7649
7656
  }
7657
+ function withinMaxClamp(min, value, max) {
7658
+ var v = within(min, value, max);
7659
+ return v > max ? max : v;
7660
+ }
7650
7661
 
7651
7662
  function getFreshSideObject() {
7652
7663
  return {
@@ -7769,8 +7780,8 @@ function roundOffsetsByDPR(_ref) {
7769
7780
  var win = window;
7770
7781
  var dpr = win.devicePixelRatio || 1;
7771
7782
  return {
7772
- x: round(round(x * dpr) / dpr) || 0,
7773
- y: round(round(y * dpr) / dpr) || 0
7783
+ x: round(x * dpr) / dpr || 0,
7784
+ y: round(y * dpr) / dpr || 0
7774
7785
  };
7775
7786
  }
7776
7787
 
@@ -7785,7 +7796,8 @@ function mapToStyles(_ref2) {
7785
7796
  position = _ref2.position,
7786
7797
  gpuAcceleration = _ref2.gpuAcceleration,
7787
7798
  adaptive = _ref2.adaptive,
7788
- roundOffsets = _ref2.roundOffsets;
7799
+ roundOffsets = _ref2.roundOffsets,
7800
+ isFixed = _ref2.isFixed;
7789
7801
 
7790
7802
  var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
7791
7803
  _ref3$x = _ref3.x,
@@ -7817,16 +7829,18 @@ function mapToStyles(_ref2) {
7817
7829
  offsetParent = offsetParent;
7818
7830
 
7819
7831
  if (placement === top || (placement === left || placement === right) && variation === end) {
7820
- sideY = bottom; // $FlowFixMe[prop-missing]
7821
-
7822
- y -= offsetParent[heightProp] - popperRect.height;
7832
+ sideY = bottom;
7833
+ var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
7834
+ offsetParent[heightProp];
7835
+ y -= offsetY - popperRect.height;
7823
7836
  y *= gpuAcceleration ? 1 : -1;
7824
7837
  }
7825
7838
 
7826
7839
  if (placement === left || (placement === top || placement === bottom) && variation === end) {
7827
- sideX = right; // $FlowFixMe[prop-missing]
7828
-
7829
- x -= offsetParent[widthProp] - popperRect.width;
7840
+ sideX = right;
7841
+ var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
7842
+ offsetParent[widthProp];
7843
+ x -= offsetX - popperRect.width;
7830
7844
  x *= gpuAcceleration ? 1 : -1;
7831
7845
  }
7832
7846
  }
@@ -7859,7 +7873,8 @@ function computeStyles(_ref4) {
7859
7873
  variation: getVariation(state.placement),
7860
7874
  popper: state.elements.popper,
7861
7875
  popperRect: state.rects.popper,
7862
- gpuAcceleration: gpuAcceleration
7876
+ gpuAcceleration: gpuAcceleration,
7877
+ isFixed: state.options.strategy === 'fixed'
7863
7878
  };
7864
7879
 
7865
7880
  if (state.modifiersData.popperOffsets != null) {
@@ -8117,7 +8132,7 @@ function getInnerBoundingClientRect(element) {
8117
8132
  }
8118
8133
 
8119
8134
  function getClientRectFromMixedType(element, clippingParent) {
8120
- return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
8135
+ return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
8121
8136
  } // A "clipping parent" is an overflowable container with the characteristic of
8122
8137
  // clipping (or hiding) overflowing elements with a position different from
8123
8138
  // `initial`
@@ -8134,7 +8149,7 @@ function getClippingParents(element) {
8134
8149
 
8135
8150
 
8136
8151
  return clippingParents.filter(function (clippingParent) {
8137
- return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
8152
+ return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
8138
8153
  });
8139
8154
  } // Gets the maximum area that the element is visible in due to any number of
8140
8155
  // clipping parents
@@ -8630,6 +8645,14 @@ function preventOverflow(_ref) {
8630
8645
  var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
8631
8646
  placement: state.placement
8632
8647
  })) : tetherOffset;
8648
+ var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
8649
+ mainAxis: tetherOffsetValue,
8650
+ altAxis: tetherOffsetValue
8651
+ } : Object.assign({
8652
+ mainAxis: 0,
8653
+ altAxis: 0
8654
+ }, tetherOffsetValue);
8655
+ var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
8633
8656
  var data = {
8634
8657
  x: 0,
8635
8658
  y: 0
@@ -8639,13 +8662,15 @@ function preventOverflow(_ref) {
8639
8662
  return;
8640
8663
  }
8641
8664
 
8642
- if (checkMainAxis || checkAltAxis) {
8665
+ if (checkMainAxis) {
8666
+ var _offsetModifierState$;
8667
+
8643
8668
  var mainSide = mainAxis === 'y' ? top : left;
8644
8669
  var altSide = mainAxis === 'y' ? bottom : right;
8645
8670
  var len = mainAxis === 'y' ? 'height' : 'width';
8646
8671
  var offset = popperOffsets[mainAxis];
8647
- var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
8648
- var max$1 = popperOffsets[mainAxis] - overflow[altSide];
8672
+ var min$1 = offset + overflow[mainSide];
8673
+ var max$1 = offset - overflow[altSide];
8649
8674
  var additive = tether ? -popperRect[len] / 2 : 0;
8650
8675
  var minLen = variation === start ? referenceRect[len] : popperRect[len];
8651
8676
  var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
@@ -8665,36 +8690,45 @@ function preventOverflow(_ref) {
8665
8690
  // width or height)
8666
8691
 
8667
8692
  var arrowLen = within(0, referenceRect[len], arrowRect[len]);
8668
- var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
8669
- var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
8693
+ var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
8694
+ var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
8670
8695
  var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
8671
8696
  var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
8672
- var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
8673
- var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
8674
- var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
8697
+ var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
8698
+ var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
8699
+ var tetherMax = offset + maxOffset - offsetModifierValue;
8700
+ var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
8701
+ popperOffsets[mainAxis] = preventedOffset;
8702
+ data[mainAxis] = preventedOffset - offset;
8703
+ }
8675
8704
 
8676
- if (checkMainAxis) {
8677
- var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
8678
- popperOffsets[mainAxis] = preventedOffset;
8679
- data[mainAxis] = preventedOffset - offset;
8680
- }
8705
+ if (checkAltAxis) {
8706
+ var _offsetModifierState$2;
8681
8707
 
8682
- if (checkAltAxis) {
8683
- var _mainSide = mainAxis === 'x' ? top : left;
8708
+ var _mainSide = mainAxis === 'x' ? top : left;
8684
8709
 
8685
- var _altSide = mainAxis === 'x' ? bottom : right;
8710
+ var _altSide = mainAxis === 'x' ? bottom : right;
8686
8711
 
8687
- var _offset = popperOffsets[altAxis];
8712
+ var _offset = popperOffsets[altAxis];
8688
8713
 
8689
- var _min = _offset + overflow[_mainSide];
8714
+ var _len = altAxis === 'y' ? 'height' : 'width';
8690
8715
 
8691
- var _max = _offset - overflow[_altSide];
8716
+ var _min = _offset + overflow[_mainSide];
8692
8717
 
8693
- var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
8718
+ var _max = _offset - overflow[_altSide];
8694
8719
 
8695
- popperOffsets[altAxis] = _preventedOffset;
8696
- data[altAxis] = _preventedOffset - _offset;
8697
- }
8720
+ var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
8721
+
8722
+ var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
8723
+
8724
+ var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
8725
+
8726
+ var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
8727
+
8728
+ var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
8729
+
8730
+ popperOffsets[altAxis] = _preventedOffset;
8731
+ data[altAxis] = _preventedOffset - _offset;
8698
8732
  }
8699
8733
 
8700
8734
  state.modifiersData[name] = data;
@@ -8726,8 +8760,8 @@ function getNodeScroll(node) {
8726
8760
 
8727
8761
  function isElementScaled(element) {
8728
8762
  var rect = element.getBoundingClientRect();
8729
- var scaleX = rect.width / element.offsetWidth || 1;
8730
- var scaleY = rect.height / element.offsetHeight || 1;
8763
+ var scaleX = round(rect.width) / element.offsetWidth || 1;
8764
+ var scaleY = round(rect.height) / element.offsetHeight || 1;
8731
8765
  return scaleX !== 1 || scaleY !== 1;
8732
8766
  } // Returns the composite rect of an element relative to its offsetParent.
8733
8767
  // Composite means it takes into account transforms as well as layout.
@@ -8739,9 +8773,9 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
8739
8773
  }
8740
8774
 
8741
8775
  var isOffsetParentAnElement = isHTMLElement(offsetParent);
8742
- isHTMLElement(offsetParent) && isElementScaled(offsetParent);
8776
+ var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
8743
8777
  var documentElement = getDocumentElement(offsetParent);
8744
- var rect = getBoundingClientRect(elementOrVirtualElement);
8778
+ var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
8745
8779
  var scroll = {
8746
8780
  scrollLeft: 0,
8747
8781
  scrollTop: 0
@@ -8758,7 +8792,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
8758
8792
  }
8759
8793
 
8760
8794
  if (isHTMLElement(offsetParent)) {
8761
- offsets = getBoundingClientRect(offsetParent);
8795
+ offsets = getBoundingClientRect(offsetParent, true);
8762
8796
  offsets.x += offsetParent.clientLeft;
8763
8797
  offsets.y += offsetParent.clientTop;
8764
8798
  } else if (documentElement) {
@@ -12747,7 +12781,7 @@ const SLOTS$g = {
12747
12781
  action: "action"
12748
12782
  };
12749
12783
 
12750
- const calciteInputCss = "@-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([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}:host([disabled]){pointer-events:none}:host([disabled]) .wrapper{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{left:0.5rem}:host([scale=s]) .calcite--rtl .icon{left:unset;right:0.5rem}:host([scale=m]) .icon{left:0.75rem}:host([scale=m]) .calcite--rtl .icon{left:unset;right:0.75rem}:host([scale=l]) .icon{left:1rem}:host([scale=l]) .calcite--rtl .icon{left:unset;right:1rem}:host([icon][scale=s]) input{padding-left:2rem}:host([icon][scale=s]) .calcite--rtl input{padding-right:2rem;padding-left:0.5rem}:host([icon][scale=m]) input{padding-left:2.5rem}:host([icon][scale=m]) .calcite--rtl input{padding-right:2.5rem;padding-left:0.5rem}:host([icon][scale=l]) input{padding-left:3rem}:host([icon][scale=l]) .calcite--rtl input{padding-right:3rem;padding-left:0.5rem}.element-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.icon{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.calcite--rtl .clear-button{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.loader{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.action-wrapper{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.prefix,.suffix{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.prefix{-ms-flex-order:2;order:2;border-right-width:0}.suffix{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl .prefix{border-right-width:1px;border-left-width:0}.calcite--rtl .suffix{border-left-width:1px;border-right-width:0}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:left}:host([alignment=start]) .calcite--rtl textarea,:host([alignment=start]) .calcite--rtl input{text-align:right}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:right}:host([alignment=end]) .calcite--rtl textarea,:host([alignment=end]) .calcite--rtl input{text-align:left}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=up]{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down],:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]{border-top-width:0}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}:host([number-button-type=vertical]) .calcite--rtl .number-button-item{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.resize-icon-wrapper{display:none}}.resize-icon-wrapper{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl textarea::-webkit-resizer{right:unset;left:0}.calcite--rtl .resize-icon-wrapper{left:2px;right:unset}.calcite--rtl .resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0}:host(.border-t-color-1) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:transparent}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
12784
+ const calciteInputCss = "@-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([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}:host([scale=s]) textarea{height:1.5rem;min-height:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{height:1.5rem}:host([scale=s]) input[type=file]{height:1.5rem}:host([scale=s]) .clear-button{min-height:1.5rem;min-width:1.5rem}:host([scale=s]) textarea{font-size:var(--calcite-font-size--2);line-height:1rem;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;height:auto}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}:host([scale=m]) textarea{min-height:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{height:2rem}:host([scale=m]) input[type=file]{height:2rem}:host([scale=m]) .clear-button{min-height:2rem;min-width:2rem}:host([scale=m]) textarea{font-size:var(--calcite-font-size--1);line-height:1rem;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:0.75rem;padding-right:0.75rem;height:auto}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}:host([scale=l]) textarea{min-height:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{height:2.75rem}:host([scale=l]) input[type=file]{height:2.75rem}:host([scale=l]) .clear-button{min-height:2.75rem;min-width:2.75rem}:host([scale=l]) textarea{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding-left:1rem;padding-right:1rem;height:auto}:host([disabled]){pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) .wrapper{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) button,:host([disabled]) textarea,:host([disabled]) input{pointer-events:none}:host([disabled]) textarea{resize:none}:host textarea,:host input{-webkit-transition:150ms ease-in-out, height 0s;transition:150ms ease-in-out, height 0s;-webkit-appearance:none;width:100%;border-radius:0;position:relative;max-height:100%;max-width:100%;margin:0;font-weight:var(--calcite-font-weight-normal);font-family:inherit;-ms-flex:1 1 0%;flex:1 1 0%;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-1);-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1)}:host input[type=search]::-webkit-search-decoration{-webkit-appearance:none}:host input,:host textarea{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}:host input:-ms-input-placeholder,:host textarea:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input::placeholder,:host input:-ms-input-placeholder,:host input::-ms-input-placeholder,:host textarea::placeholder,:host textarea:-ms-input-placeholder,:host textarea::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}:host input:focus,:host textarea:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}:host input[readonly],:host textarea[readonly]{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}:host input[readonly]:focus,:host textarea[readonly]:focus{color:var(--calcite-ui-text-1)}:host calcite-icon{color:var(--calcite-ui-text-3)}:host textarea,:host input{outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}:host textarea:focus,:host input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-ui-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}:host([scale=s]) .icon{left:0.5rem}:host([scale=s]) .calcite--rtl .icon{left:unset;right:0.5rem}:host([scale=m]) .icon{left:0.75rem}:host([scale=m]) .calcite--rtl .icon{left:unset;right:0.75rem}:host([scale=l]) .icon{left:1rem}:host([scale=l]) .calcite--rtl .icon{left:unset;right:1rem}:host([icon][scale=s]) input{padding-left:2rem}:host([icon][scale=s]) .calcite--rtl input{padding-right:2rem;padding-left:0.5rem}:host([icon][scale=m]) input{padding-left:2.5rem}:host([icon][scale=m]) .calcite--rtl input{padding-right:2.5rem;padding-left:0.5rem}:host([icon][scale=l]) input{padding-left:3rem}:host([icon][scale=l]) .calcite--rtl input{padding-right:3rem;padding-left:0.5rem}.element-wrapper{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1 0%;flex:1 1 0%;position:relative;-ms-flex-order:3;order:3}.icon{display:block;position:absolute;pointer-events:none;z-index:10;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;width:0;height:0}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;display:-ms-flexbox;display:flex;-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;min-height:100%;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-ms-flex-order:4;order:4;margin:0}.clear-button:hover{background-color:var(--calcite-ui-foreground-2);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:hover calcite-icon{color:var(--calcite-ui-text-1);-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.clear-button:active{background-color:var(--calcite-ui-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-ui-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.clear-button:disabled{opacity:var(--calcite-ui-opacity-disabled)}.calcite--rtl .clear-button{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}.loader{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}.action-wrapper{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}.prefix,.suffix{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;height:auto;min-height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-weight:var(--calcite-font-weight-medium);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);color:var(--calcite-ui-text-2);line-height:1;word-wrap:break-word;overflow-wrap:break-word}.prefix{-ms-flex-order:2;order:2;border-right-width:0}.suffix{-ms-flex-order:5;order:5;border-left-width:0}.calcite--rtl .prefix{border-right-width:1px;border-left-width:0}.calcite--rtl .suffix{border-left-width:1px;border-right-width:0}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:left}:host([alignment=start]) .calcite--rtl textarea,:host([alignment=start]) .calcite--rtl input{text-align:right}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:right}:host([alignment=end]) .calcite--rtl textarea,:host([alignment=end]) .calcite--rtl input{text-align:left}:host input[type=number]{-moz-appearance:textfield}:host input[type=number]::-webkit-inner-spin-button,:host input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;pointer-events:none;-ms-flex-order:6;order:6;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}:host([number-button-type=vertical]) .wrapper{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{-ms-flex-order:2;order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{min-height:100%;max-height:100%;-ms-flex-order:1;order:1;-ms-flex-item-align:stretch;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{-ms-flex-order:5;order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-ui-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-ui-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-ui-text-1)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-left-width:0;border-color:var(--calcite-ui-border-input)}.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=up]{border-width:1px;border-right-width:0;border-color:var(--calcite-ui-border-input)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down],:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]{border-top-width:0}.number-button-item{max-height:50%;min-height:50%;pointer-events:initial;display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;padding-top:0;padding-bottom:0;padding-left:0.5rem;padding-right:0.5rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);border-left-width:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;margin:0}.number-button-item calcite-icon{pointer-events:none;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s}.number-button-item:focus{background-color:var(--calcite-ui-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-ui-text-1)}.number-button-item:active{background-color:var(--calcite-ui-foreground-3)}:host([number-button-type=vertical]) .calcite--rtl .number-button-item{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}.wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;position:relative}:host input::-webkit-calendar-picker-indicator{display:none}:host input[type=date]::-webkit-input-placeholder{visibility:hidden !important}:host textarea::-webkit-resizer{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;bottom:0;right:0;padding-top:0;padding-bottom:0;padding-left:0.25rem;padding-right:0.25rem}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.resize-icon-wrapper{display:none}}.resize-icon-wrapper{bottom:2px;right:2px;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);position:absolute;z-index:10;pointer-events:none;width:0.75rem;height:0.75rem}.resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.calcite--rtl textarea::-webkit-resizer{right:unset;left:0}.calcite--rtl .resize-icon-wrapper{left:2px;right:unset}.calcite--rtl .resize-icon-wrapper calcite-icon{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}:host([type=color]) input{padding:0.25rem}:host([type=file]) input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;border-width:1px;border-style:dashed;border-color:var(--calcite-ui-border-input);text-align:center}:host([type=file][scale=s]) input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}:host([type=file][scale=m]) input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}:host([type=file][scale=l]) input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}:host(.no-bottom-border) input{border-bottom-width:0}:host(.border-t-color-1) input{border-top-color:var(--calcite-ui-border-1)}:host .inline-child{-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;background-color:transparent}:host .inline-child .editing-enabled{background-color:inherit}:host .inline-child:not(.editing-enabled){display:-ms-flexbox;display:flex;cursor:pointer;border-color:transparent;-webkit-padding-start:0;padding-inline-start:0}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
12751
12785
 
12752
12786
  let CalciteInput$1 = class extends HTMLElement$1 {
12753
12787
  constructor() {
@@ -13157,7 +13191,7 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13157
13191
  const numberButtonsVertical = (h("div", { class: CSS$r.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
13158
13192
  const prefixText = h("div", { class: CSS$r.prefix }, this.prefixText);
13159
13193
  const suffixText = h("div", { class: CSS$r.suffix }, this.suffixText);
13160
- const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, tabIndex: this.disabled ? -1 : 0, type: "text", value: this.localizedValue })) : null;
13194
+ const localeNumberInput = this.type === "number" ? (h("input", { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, defaultValue: this.defaultValue, disabled: this.disabled ? true : null, enterKeyHint: this.el.enterKeyHint, inputMode: this.el.inputMode, key: "localized-input", maxLength: this.maxLength, minLength: this.minLength, name: undefined, onBlur: this.inputBlurHandler, onFocus: this.inputFocusHandler, onInput: this.inputNumberInputHandler, onKeyDown: this.inputNumberKeyDownHandler, onKeyUp: this.inputKeyUpHandler, placeholder: this.placeholder || "", readOnly: this.readOnly, ref: this.setChildNumberElRef, type: "text", value: this.localizedValue })) : null;
13161
13195
  const childEl = this.type !== "number"
13162
13196
  ? [
13163
13197
  h(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
@@ -13167,11 +13201,11 @@ let CalciteInput$1 = class extends HTMLElement$1 {
13167
13201
  this.isTextarea ? (h("div", { class: CSS$r.resizeIconWrapper }, h("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
13168
13202
  ]
13169
13203
  : null;
13170
- return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$r.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal"
13204
+ return (h(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, h("div", { class: { [CSS$r.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
13171
13205
  ? numberButtonsHorizontalDown
13172
- : null, this.prefixText ? prefixText : null, h("div", { class: CSS$r.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$r.actionWrapper }, h("slot", { name: SLOTS$g.action })), this.type === "number" && this.numberButtonType === "vertical"
13206
+ : null, this.prefixText ? prefixText : null, h("div", { class: CSS$r.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), h("div", { class: CSS$r.actionWrapper }, h("slot", { name: SLOTS$g.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
13173
13207
  ? numberButtonsVertical
13174
- : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal"
13208
+ : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
13175
13209
  ? numberButtonsHorizontalUp
13176
13210
  : null, h(HiddenFormInputSlot, { component: this }))));
13177
13211
  }
@@ -17442,7 +17476,7 @@ const TEXT$3 = {
17442
17476
  resize: "Resize"
17443
17477
  };
17444
17478
 
17445
- const calciteShellPanelCss = "@-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;-ms-flex-align:stretch;align-items:stretch;-ms-flex:0 1 auto;flex:0 1 auto;--calcite-shell-panel-detached-max-height:unset}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{position:absolute;background-color:transparent;bottom:0;display:-ms-flexbox;display:flex;height:100%;opacity:0;pointer-events:auto;top:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;width:0.125rem;z-index:10;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;height:100%;width:100%;max-height:unset;max-width:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;padding:0;pointer-events:auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out;transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out}.content__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);height:auto;overflow:hidden;margin-top:0.5rem;margin-bottom:auto;margin-left:0.5rem;margin-right:0.5rem;max-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel){border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";
17479
+ const calciteShellPanelCss = "@-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;-ms-flex-align:stretch;align-items:stretch;-ms-flex:0 1 auto;flex:0 1 auto;pointer-events:none;--calcite-shell-panel-detached-max-height:unset}.container{-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;background-color:transparent;-ms-flex:1 1 auto;flex:1 1 auto;pointer-events:none;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}.container *{-webkit-box-sizing:border-box;box-sizing:border-box}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{position:absolute;background-color:transparent;bottom:0;display:-ms-flexbox;display:flex;height:100%;opacity:0;pointer-events:auto;top:0;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-delay:0s;transition-delay:0s;width:0.125rem;z-index:10;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-brand);opacity:1}:host([position=start]) .separator{inset-inline-end:-2px}:host([position=end]) .separator{inset-inline-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){-ms-flex:1 1 auto;flex:1 1 auto;height:100%;width:100%;max-height:unset;max-width:unset}::slotted(.calcite-match-height){display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}.content{-ms-flex-align:stretch;align-items:stretch;-ms-flex-item-align:stretch;align-self:stretch;background-color:var(--calcite-ui-background);display:-ms-flexbox;display:flex;padding:0;pointer-events:auto;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:var(--calcite-shell-panel-width);max-width:var(--calcite-shell-panel-max-width);min-width:var(--calcite-shell-panel-min-width);-webkit-transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out;transition:max-height 150ms ease-in-out, max-width 150ms ease-in-out}.content__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:0 1 auto;flex:0 1 auto;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:stretch;align-items:stretch}.content__body{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}:host([width-scale=s]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]) .content{--calcite-shell-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-shell-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-shell-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}:host([detached-height-scale=s]) .content--detached{--calcite-shell-panel-detached-max-height:40vh}:host([detached-height-scale=m]) .content--detached{--calcite-shell-panel-detached-max-height:60vh}:host([detached-height-scale=l]) .content--detached{--calcite-shell-panel-detached-max-height:80vh}.content--detached{border-radius:0.25rem;-webkit-box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);box-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);height:auto;overflow:hidden;margin-top:0.5rem;margin-bottom:auto;margin-left:0.5rem;margin-right:0.5rem;max-height:var(--calcite-shell-panel-detached-max-height)}.content--detached ::slotted(calcite-panel),.content--detached ::slotted(calcite-flow){max-height:unset}:host([position=start]) .content--detached ::slotted(calcite-panel),:host([position=start]) .content--detached ::slotted(calcite-flow),:host([position=end]) .content--detached ::slotted(calcite-panel),:host([position=end]) .content--detached ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel){border-width:1px;border-color:var(--calcite-ui-border-3);border-style:solid}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){-webkit-border-start:none;border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){-webkit-border-end:none;border-inline-end:none}";
17446
17480
 
17447
17481
  let CalciteShellPanel$1 = class extends HTMLElement$1 {
17448
17482
  constructor() {
@@ -21554,6 +21588,8 @@ let CalciteSplitButton$1 = class extends HTMLElement$1 {
21554
21588
  /** optionally add a calcite-loader component to the control,
21555
21589
  disabling interaction. with the primary button */
21556
21590
  this.loading = false;
21591
+ /** Describes the type of positioning to use for the dropdown. If your element is in a fixed container, use the 'fixed' value. */
21592
+ this.overlayPositioning = "absolute";
21557
21593
  /** specify the scale of the control, defaults to m */
21558
21594
  this.scale = "m";
21559
21595
  /** specify the width of the button, defaults to auto */
@@ -21570,7 +21606,7 @@ let CalciteSplitButton$1 = class extends HTMLElement$1 {
21570
21606
  [CSS$6.widthFull]: this.width === "full"
21571
21607
  };
21572
21608
  const buttonWidth = this.width === "auto" ? "auto" : "full";
21573
- return (h("div", { class: widthClasses, dir: dir }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText), h("div", { class: CSS$6.dividerContainer }, h("div", { class: CSS$6.divider })), h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, placement: "bottom-trailing", scale: this.scale, width: this.scale }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }), h("slot", null))));
21609
+ return (h("div", { class: widthClasses, dir: dir }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-end": this.primaryIconEnd ? this.primaryIconEnd : null, "icon-start": this.primaryIconStart ? this.primaryIconStart : null, iconFlipRtl: this.primaryIconFlipRtl ? this.primaryIconFlipRtl : null, label: this.primaryLabel, loading: this.loading, onClick: this.calciteSplitButtonPrimaryClickHandler, scale: this.scale, splitChild: "primary", width: buttonWidth }, this.primaryText), h("div", { class: CSS$6.dividerContainer }, h("div", { class: CSS$6.divider })), h("calcite-dropdown", { active: this.active, dir: dir, onClick: this.calciteSplitButtonSecondaryClickHandler, overlayPositioning: this.overlayPositioning, placement: "bottom-trailing", scale: this.scale, width: this.scale }, h("calcite-button", { appearance: this.appearance, color: this.color, dir: dir, disabled: this.disabled, "icon-start": this.dropdownIcon, label: this.dropdownLabel, scale: this.scale, slot: "dropdown-trigger", splitChild: "secondary" }), h("slot", null))));
21574
21610
  }
21575
21611
  get dropdownIcon() {
21576
21612
  return this.dropdownIconType === "chevron"
@@ -24977,7 +25013,7 @@ const CalciteShellCenterRow = /*@__PURE__*/proxyCustomElement(CalciteShellCenter
24977
25013
  const CalciteShellPanel = /*@__PURE__*/proxyCustomElement(CalciteShellPanel$1, [1,"calcite-shell-panel",{"collapsed":[516],"detached":[516],"detachedHeightScale":[513,"detached-height-scale"],"widthScale":[513,"width-scale"],"position":[513],"intlResize":[1,"intl-resize"],"resizable":[516],"contentWidth":[32]}]);
24978
25014
  const CalciteSlider = /*@__PURE__*/proxyCustomElement(CalciteSlider$1, [1,"calcite-slider",{"disabled":[516],"hasHistogram":[1540,"has-histogram"],"histogram":[16],"histogramStops":[16],"labelHandles":[516,"label-handles"],"labelTicks":[516,"label-ticks"],"max":[514],"maxLabel":[1,"max-label"],"maxValue":[1026,"max-value"],"min":[514],"minLabel":[1,"min-label"],"minValue":[1026,"min-value"],"mirrored":[516],"name":[513],"pageStep":[2,"page-step"],"precise":[4],"required":[516],"snap":[4],"step":[2],"ticks":[2],"value":[1538],"activeProp":[32],"minMaxValueRange":[32],"minValueDragRange":[32],"maxValueDragRange":[32],"tickValues":[32]},[[0,"keydown","keyDownHandler"],[0,"click","clickHandler"],[1,"pointerdown","pointerDownHandler"]]]);
24979
25015
  const CalciteSortableList = /*@__PURE__*/proxyCustomElement(CalciteSortableList$1, [1,"calcite-sortable-list",{"dragSelector":[1,"drag-selector"],"group":[1],"handleSelector":[1,"handle-selector"],"layout":[1],"disabled":[516],"loading":[516],"handleActivated":[32]},[[0,"calciteHandleNudge","calciteHandleNudgeHandler"]]]);
24980
- const CalciteSplitButton = /*@__PURE__*/proxyCustomElement(CalciteSplitButton$1, [1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[516],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]);
25016
+ const CalciteSplitButton = /*@__PURE__*/proxyCustomElement(CalciteSplitButton$1, [1,"calcite-split-button",{"appearance":[513],"color":[513],"disabled":[516],"active":[516],"dropdownIconType":[513,"dropdown-icon-type"],"dropdownLabel":[513,"dropdown-label"],"loading":[516],"overlayPositioning":[1,"overlay-positioning"],"primaryIconEnd":[513,"primary-icon-end"],"primaryIconFlipRtl":[513,"primary-icon-flip-rtl"],"primaryIconStart":[513,"primary-icon-start"],"primaryLabel":[513,"primary-label"],"primaryText":[513,"primary-text"],"scale":[513],"width":[513]}]);
24981
25017
  const CalciteStepper = /*@__PURE__*/proxyCustomElement(CalciteStepper$1, [1,"calcite-stepper",{"icon":[516],"layout":[513],"numbered":[516],"scale":[513],"requestedContent":[1040]},[[0,"calciteStepperItemKeyEvent","calciteStepperItemKeyEvent"],[0,"calciteStepperItemRegister","registerItem"],[0,"calciteStepperItemSelect","updateItem"]]]);
24982
25018
  const CalciteStepperItem = /*@__PURE__*/proxyCustomElement(CalciteStepperItem$1, [1,"calcite-stepper-item",{"active":[1540],"complete":[516],"error":[4],"disabled":[4],"itemTitle":[1,"item-title"],"itemSubtitle":[1,"item-subtitle"],"layout":[1537],"icon":[1028],"numbered":[1028],"scale":[1537]},[[0,"keydown","keyDownHandler"],[16,"calciteStepperItemChange","updateActiveItemOnChange"]]]);
24983
25019
  const CalciteSwitch = /*@__PURE__*/proxyCustomElement(CalciteSwitch$1, [1,"calcite-switch",{"disabled":[516],"label":[1],"name":[513],"scale":[513],"switched":[1028],"checked":[1540],"value":[8],"tabindex":[32]}]);
@@ -285,12 +285,13 @@ var colorString = createCommonjsModule(function (module) {
285
285
  /* MIT license */
286
286
 
287
287
 
288
+ var hasOwnProperty = Object.hasOwnProperty;
288
289
 
289
290
  var reverseNames = {};
290
291
 
291
292
  // create a list of reverse color names
292
293
  for (var name in colorName$1) {
293
- if (colorName$1.hasOwnProperty(name)) {
294
+ if (hasOwnProperty.call(colorName$1, name)) {
294
295
  reverseNames[colorName$1[name]] = name;
295
296
  }
296
297
  }
@@ -333,9 +334,9 @@ cs.get.rgb = function (string) {
333
334
 
334
335
  var abbr = /^#([a-f0-9]{3,4})$/i;
335
336
  var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
336
- var rgba = /^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
337
- var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
338
- var keyword = /(\D+)/;
337
+ var rgba = /^rgba?\(\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
338
+ var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
339
+ var keyword = /^(\w+)$/;
339
340
 
340
341
  var rgb = [0, 0, 0, 1];
341
342
  var match;
@@ -372,7 +373,11 @@ cs.get.rgb = function (string) {
372
373
  }
373
374
 
374
375
  if (match[4]) {
375
- rgb[3] = parseFloat(match[4]);
376
+ if (match[5]) {
377
+ rgb[3] = parseFloat(match[4]) * 0.01;
378
+ } else {
379
+ rgb[3] = parseFloat(match[4]);
380
+ }
376
381
  }
377
382
  } else if (match = string.match(per)) {
378
383
  for (i = 0; i < 3; i++) {
@@ -380,19 +385,22 @@ cs.get.rgb = function (string) {
380
385
  }
381
386
 
382
387
  if (match[4]) {
383
- rgb[3] = parseFloat(match[4]);
388
+ if (match[5]) {
389
+ rgb[3] = parseFloat(match[4]) * 0.01;
390
+ } else {
391
+ rgb[3] = parseFloat(match[4]);
392
+ }
384
393
  }
385
394
  } else if (match = string.match(keyword)) {
386
395
  if (match[1] === 'transparent') {
387
396
  return [0, 0, 0, 0];
388
397
  }
389
398
 
390
- rgb = colorName$1[match[1]];
391
-
392
- if (!rgb) {
399
+ if (!hasOwnProperty.call(colorName$1, match[1])) {
393
400
  return null;
394
401
  }
395
402
 
403
+ rgb = colorName$1[match[1]];
396
404
  rgb[3] = 1;
397
405
 
398
406
  return rgb;
@@ -418,7 +426,7 @@ cs.get.hsl = function (string) {
418
426
 
419
427
  if (match) {
420
428
  var alpha = parseFloat(match[4]);
421
- var h = (parseFloat(match[1]) + 360) % 360;
429
+ var h = ((parseFloat(match[1]) % 360) + 360) % 360;
422
430
  var s = clamp(parseFloat(match[2]), 0, 100);
423
431
  var l = clamp(parseFloat(match[3]), 0, 100);
424
432
  var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
@@ -513,7 +521,7 @@ function clamp(num, min, max) {
513
521
  }
514
522
 
515
523
  function hexDouble(num) {
516
- var str = num.toString(16).toUpperCase();
524
+ var str = Math.round(num).toString(16).toUpperCase();
517
525
  return (str.length < 2) ? '0' + str : str;
518
526
  }
519
527
  });