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

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 (55) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/p-0f014648.entry.js +5 -0
  3. package/dist/calcite/p-0fa1ba75.entry.js +5 -0
  4. package/dist/calcite/p-362cb320.entry.js +5 -0
  5. package/dist/calcite/p-688f06b9.entry.js +5 -0
  6. package/dist/calcite/p-8e252799.system.js +1 -1
  7. package/dist/calcite/p-a46c3870.system.entry.js +5 -0
  8. package/dist/calcite/{p-243d95ab.system.entry.js → p-a5e8f022.system.entry.js} +2 -2
  9. package/dist/calcite/p-ca6025ab.system.entry.js +5 -0
  10. package/dist/calcite/p-f1e111f4.system.entry.js +5 -0
  11. package/dist/cjs/calcite-alert.cjs.entry.js +22 -5
  12. package/dist/cjs/calcite-color-picker_3.cjs.entry.js +19 -11
  13. package/dist/cjs/calcite-input.cjs.entry.js +21 -19
  14. package/dist/cjs/calcite-shell_3.cjs.entry.js +156 -5
  15. package/dist/cjs/calcite.cjs.js +1 -1
  16. package/dist/cjs/loader.cjs.js +1 -1
  17. package/dist/collection/components/calcite-alert/calcite-alert.js +23 -4
  18. package/dist/collection/components/calcite-input/calcite-input.css +2 -0
  19. package/dist/collection/components/calcite-input/calcite-input.js +20 -18
  20. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +43 -0
  21. package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +194 -5
  22. package/dist/collection/components/calcite-shell-panel/resources.js +5 -1
  23. package/dist/components/calcite-alert.js +22 -5
  24. package/dist/components/calcite-color-picker-swatch2.js +19 -11
  25. package/dist/components/calcite-input2.js +21 -19
  26. package/dist/components/calcite-shell-panel.js +161 -7
  27. package/dist/custom-elements/index.js +311 -134
  28. package/dist/esm/calcite-alert.entry.js +22 -5
  29. package/dist/esm/calcite-color-picker_3.entry.js +19 -11
  30. package/dist/esm/calcite-input.entry.js +21 -19
  31. package/dist/esm/calcite-shell_3.entry.js +157 -6
  32. package/dist/esm/calcite.js +1 -1
  33. package/dist/esm/loader.js +1 -1
  34. package/dist/esm-es5/calcite-alert.entry.js +2 -2
  35. package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
  36. package/dist/esm-es5/calcite-input.entry.js +1 -1
  37. package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
  38. package/dist/esm-es5/calcite.js +1 -1
  39. package/dist/esm-es5/loader.js +1 -1
  40. package/dist/extras/docs-json.json +40 -1
  41. package/dist/types/components/calcite-alert/calcite-alert.d.ts +3 -0
  42. package/dist/types/components/calcite-input/calcite-input.d.ts +1 -1
  43. package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +31 -0
  44. package/dist/types/components/calcite-shell-panel/resources.d.ts +4 -0
  45. package/dist/types/components.d.ts +18 -0
  46. package/hydrate/index.js +315 -135
  47. package/package.json +6 -6
  48. package/readme.md +2 -2
  49. package/dist/calcite/p-5c0c29bc.entry.js +0 -5
  50. package/dist/calcite/p-5f817b79.entry.js +0 -5
  51. package/dist/calcite/p-737fb960.entry.js +0 -5
  52. package/dist/calcite/p-7cbc72b6.system.entry.js +0 -5
  53. package/dist/calcite/p-88b875d3.system.entry.js +0 -5
  54. package/dist/calcite/p-aa47308a.entry.js +0 -5
  55. package/dist/calcite/p-b1a96c72.system.entry.js +0 -5
package/hydrate/index.js CHANGED
@@ -5701,7 +5701,7 @@ const CSS_UTILITY = {
5701
5701
  lightTheme,
5702
5702
  rtl: "calcite--rtl"
5703
5703
  };
5704
- const TEXT$p = {
5704
+ const TEXT$q = {
5705
5705
  loading: "Loading"
5706
5706
  };
5707
5707
 
@@ -5996,7 +5996,7 @@ const CSS$O = {
5996
5996
  textContainer: "text-container",
5997
5997
  textContainerVisible: "text-container--visible"
5998
5998
  };
5999
- const TEXT$o = {
5999
+ const TEXT$p = {
6000
6000
  loading: "Loading"
6001
6001
  };
6002
6002
 
@@ -6046,7 +6046,7 @@ class CalciteAction {
6046
6046
  /** string to override English loading text
6047
6047
  * @default "Loading"
6048
6048
  */
6049
- this.intlLoading = TEXT$o.loading;
6049
+ this.intlLoading = TEXT$p.loading;
6050
6050
  /**
6051
6051
  * When true, content is waiting to be loaded. This state shows a busy indicator.
6052
6052
  */
@@ -6173,7 +6173,7 @@ const SLOTS$o = {
6173
6173
  menuActions: "menu-actions",
6174
6174
  menuTooltip: "menu-tooltip"
6175
6175
  };
6176
- const TEXT$n = {
6176
+ const TEXT$o = {
6177
6177
  more: "More"
6178
6178
  };
6179
6179
  const ICONS$e = {
@@ -6264,7 +6264,7 @@ const SLOTS$n = {
6264
6264
  bottomActions: "bottom-actions",
6265
6265
  expandTooltip: "expand-tooltip"
6266
6266
  };
6267
- const TEXT$m = {
6267
+ const TEXT$n = {
6268
6268
  expand: "Expand",
6269
6269
  collapse: "Collapse"
6270
6270
  };
@@ -7690,8 +7690,8 @@ class CalciteActionBar {
7690
7690
  renderBottomActionGroup() {
7691
7691
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
7692
7692
  const tooltip = getSlotted(el, SLOTS$n.expandTooltip);
7693
- const expandLabel = intlExpand || TEXT$m.expand;
7694
- const collapseLabel = intlCollapse || TEXT$m.collapse;
7693
+ const expandLabel = intlExpand || TEXT$n.expand;
7694
+ const collapseLabel = intlCollapse || TEXT$n.collapse;
7695
7695
  const expandToggleNode = !expandDisabled ? (hAsync(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
7696
7696
  return getSlotted(el, SLOTS$n.bottomActions) || expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$M.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$n.bottomActions }), hAsync("slot", { name: SLOTS$n.expandTooltip }), expandToggleNode)) : null;
7697
7697
  }
@@ -7777,7 +7777,7 @@ class CalciteActionGroup {
7777
7777
  renderMenu() {
7778
7778
  const { el, expanded, intlMore, menuOpen, scale } = this;
7779
7779
  const hasMenuItems = getSlotted(el, SLOTS$o.menuActions);
7780
- return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$n.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$p.trigger, text: intlMore || TEXT$n.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$o.menuActions }), this.renderTooltip())) : null;
7780
+ return hasMenuItems ? (hAsync("calcite-action-menu", { expanded: expanded, flipPlacements: ["left", "right"], label: intlMore || TEXT$o.more, onCalciteActionMenuOpenChange: this.setMenuOpen, open: menuOpen, placement: "leading-start", scale: scale }, hAsync("calcite-action", { icon: ICONS$e.menu, scale: scale, slot: SLOTS$p.trigger, text: intlMore || TEXT$o.more, textEnabled: expanded }), hAsync("slot", { name: SLOTS$o.menuActions }), this.renderTooltip())) : null;
7781
7781
  }
7782
7782
  render() {
7783
7783
  return (hAsync(Fragment, null, hAsync("slot", null), this.renderMenu()));
@@ -8112,7 +8112,7 @@ const CSS$L = {
8112
8112
  actionGroupBottom: "action-group--bottom",
8113
8113
  container: "container"
8114
8114
  };
8115
- const TEXT$l = {
8115
+ const TEXT$m = {
8116
8116
  expand: "Expand",
8117
8117
  collapse: "Collapse"
8118
8118
  };
@@ -8212,8 +8212,8 @@ class CalciteActionPad {
8212
8212
  renderBottomActionGroup() {
8213
8213
  const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale } = this;
8214
8214
  const tooltip = getSlotted(el, SLOTS$m.expandTooltip);
8215
- const expandLabel = intlExpand || TEXT$l.expand;
8216
- const collapseLabel = intlCollapse || TEXT$l.collapse;
8215
+ const expandLabel = intlExpand || TEXT$m.expand;
8216
+ const collapseLabel = intlCollapse || TEXT$m.collapse;
8217
8217
  const expandToggleNode = !expandDisabled ? (hAsync(CalciteExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
8218
8218
  return expandToggleNode ? (hAsync("calcite-action-group", { class: CSS$L.actionGroupBottom, scale: scale }, hAsync("slot", { name: SLOTS$m.expandTooltip }), expandToggleNode)) : null;
8219
8219
  }
@@ -8250,7 +8250,7 @@ class CalciteActionPad {
8250
8250
  }; }
8251
8251
  }
8252
8252
 
8253
- const TEXT$k = {
8253
+ const TEXT$l = {
8254
8254
  intlClose: "Close"
8255
8255
  };
8256
8256
  const DURATIONS = {
@@ -8305,7 +8305,7 @@ class CalciteAlert {
8305
8305
  /** string to override English close text
8306
8306
  * @default "Close"
8307
8307
  */
8308
- this.intlClose = TEXT$k.intlClose;
8308
+ this.intlClose = TEXT$l.intlClose;
8309
8309
  /** specify the scale of the button, defaults to m */
8310
8310
  this.scale = "m";
8311
8311
  //--------------------------------------------------------------------------
@@ -8319,8 +8319,13 @@ class CalciteAlert {
8319
8319
  this.queueLength = 0;
8320
8320
  /** is the alert queued */
8321
8321
  this.queued = false;
8322
+ this.autoDismissTimeout = null;
8323
+ this.trackTimer = new Date();
8322
8324
  /** close and emit the closed alert and the queue */
8323
8325
  this.closeAlert = () => {
8326
+ if (this.autoDismissTimeout) {
8327
+ this.autoDismissTimeout = null;
8328
+ }
8324
8329
  this.queued = false;
8325
8330
  this.active = false;
8326
8331
  this.queue = this.queue.filter((e) => e !== this.el);
@@ -8344,6 +8349,12 @@ class CalciteAlert {
8344
8349
  updateRequestedIcon() {
8345
8350
  this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
8346
8351
  }
8352
+ updateDuration(newDuration, prevDuration) {
8353
+ if (this.autoDismiss && prevDuration !== newDuration && this.autoDismissTimeout) {
8354
+ window.clearTimeout(this.autoDismissTimeout);
8355
+ this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration] - (new Date().valueOf() - this.trackTimer.valueOf()));
8356
+ }
8357
+ }
8347
8358
  //--------------------------------------------------------------------------
8348
8359
  //
8349
8360
  // Lifecycle
@@ -8360,20 +8371,25 @@ class CalciteAlert {
8360
8371
  componentDidLoad() {
8361
8372
  this.alertLinkEl = this.el.querySelectorAll("calcite-link")[0];
8362
8373
  }
8374
+ disconnectedCallback() {
8375
+ if (this.autoDismissTimeout) {
8376
+ window.clearTimeout(this.autoDismissTimeout);
8377
+ }
8378
+ }
8363
8379
  render() {
8364
8380
  const dir = getElementDir(this.el);
8365
8381
  const closeButton = (hAsync("button", { "aria-label": this.intlClose, class: "alert-close", onClick: this.closeAlert, ref: (el) => (this.closeButton = el), type: "button" }, hAsync("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
8366
8382
  const queueText = `+${this.queueLength > 2 ? this.queueLength - 1 : 1}`;
8367
8383
  const queueCount = (hAsync("div", { class: `${this.queueLength > 1 ? "active " : ""}alert-queue-count` }, hAsync("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
8368
8384
  const { active, autoDismiss, label, queued, requestedIcon } = this;
8369
- const progress = hAsync("div", { class: "alert-dismiss-progress" });
8385
+ const progressBar = hAsync("div", { class: "alert-dismiss-progress" });
8370
8386
  const role = autoDismiss ? "alert" : "alertdialog";
8371
8387
  const hidden = !active;
8372
8388
  return (hAsync(Host, { "aria-hidden": hidden.toString(), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, hAsync("div", { class: {
8373
8389
  container: true,
8374
8390
  queued,
8375
8391
  [CSS_UTILITY.rtl]: dir === "rtl"
8376
- } }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$l.title }), hAsync("slot", { name: SLOTS$l.message }), hAsync("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? progress : null)));
8392
+ } }, requestedIcon ? (hAsync("div", { class: "alert-icon" }, hAsync("calcite-icon", { icon: requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, hAsync("div", { class: "alert-content" }, hAsync("slot", { name: SLOTS$l.title }), hAsync("slot", { name: SLOTS$l.message }), hAsync("slot", { name: SLOTS$l.link })), queueCount, !autoDismiss ? closeButton : null, active && !queued && autoDismiss ? progressBar : null)));
8377
8393
  }
8378
8394
  // when an alert is opened or closed, update queue and determine active alert
8379
8395
  alertSync(event) {
@@ -8419,8 +8435,8 @@ class CalciteAlert {
8419
8435
  var _a;
8420
8436
  if (((_a = this.queue) === null || _a === void 0 ? void 0 : _a[0]) === this.el) {
8421
8437
  this.openAlert();
8422
- clearTimeout(this.autoDismissTimeout);
8423
- if (this.autoDismiss) {
8438
+ if (this.autoDismiss && !this.autoDismissTimeout) {
8439
+ this.trackTimer = new Date();
8424
8440
  this.autoDismissTimeout = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoDismissDuration]);
8425
8441
  }
8426
8442
  }
@@ -8441,7 +8457,8 @@ class CalciteAlert {
8441
8457
  static get watchers() { return {
8442
8458
  "active": ["watchActive"],
8443
8459
  "icon": ["updateRequestedIcon"],
8444
- "color": ["updateRequestedIcon"]
8460
+ "color": ["updateRequestedIcon"],
8461
+ "autoDismissDuration": ["updateDuration"]
8445
8462
  }; }
8446
8463
  static get style() { return calciteAlertCss; }
8447
8464
  static get cmpMeta() { return {
@@ -8741,7 +8758,7 @@ const CSS$K = {
8741
8758
  invalid: "invalid",
8742
8759
  loading: "loading"
8743
8760
  };
8744
- const TEXT$j = {
8761
+ const TEXT$k = {
8745
8762
  collapse: "Collapse",
8746
8763
  expand: "Expand",
8747
8764
  loading: "Loading",
@@ -8802,11 +8819,11 @@ class CalciteBlock {
8802
8819
  /** string to override English loading text
8803
8820
  * @default "Loading"
8804
8821
  */
8805
- this.intlLoading = TEXT$j.loading;
8822
+ this.intlLoading = TEXT$k.loading;
8806
8823
  /** Text string used for the actions menu
8807
8824
  * @default "Options"
8808
8825
  */
8809
- this.intlOptions = TEXT$j.options;
8826
+ this.intlOptions = TEXT$k.options;
8810
8827
  /**
8811
8828
  * When true, content is waiting to be loaded. This state shows a busy indicator.
8812
8829
  */
@@ -8850,12 +8867,12 @@ class CalciteBlock {
8850
8867
  }
8851
8868
  render() {
8852
8869
  const { collapsible, disabled, el, heading, intlCollapse, intlExpand, loading, open, summary, intlLoading, headingLevel } = this;
8853
- const toggleLabel = open ? intlCollapse || TEXT$j.collapse : intlExpand || TEXT$j.expand;
8870
+ const toggleLabel = open ? intlCollapse || TEXT$k.collapse : intlExpand || TEXT$k.expand;
8854
8871
  const headerContent = (hAsync("header", { class: CSS$K.header }, this.renderIcon(), hAsync("div", { class: CSS$K.title }, hAsync(CalciteHeading, { class: CSS$K.heading, level: headingLevel || HEADING_LEVEL$7 }, heading), summary ? hAsync("div", { class: CSS$K.summary }, summary) : null)));
8855
8872
  const hasControl = !!getSlotted(el, SLOTS$k.control);
8856
8873
  const hasMenuActions = !!getSlotted(el, SLOTS$k.headerMenuActions);
8857
8874
  const collapseIcon = open ? ICONS$c.opened : ICONS$c.closed;
8858
- const headerNode = (hAsync("div", { class: CSS$K.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$K.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$K.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$K.controlContainer }, hAsync("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$j.options }, hAsync("slot", { name: SLOTS$k.headerMenuActions }))) : null));
8875
+ const headerNode = (hAsync("div", { class: CSS$K.headerContainer }, this.dragHandle ? hAsync("calcite-handle", null) : null, collapsible ? (hAsync("button", { "aria-expanded": collapsible ? open.toString() : null, "aria-label": toggleLabel, class: CSS$K.toggle, onClick: this.onHeaderClick, title: toggleLabel }, headerContent, !hasControl && !hasMenuActions ? (hAsync("calcite-icon", { "aria-hidden": "true", class: CSS$K.toggleIcon, icon: collapseIcon, scale: "s" })) : null)) : (headerContent), loading ? (hAsync("calcite-loader", { inline: true, "is-active": true, label: intlLoading })) : hasControl ? (hAsync("div", { class: CSS$K.controlContainer }, hAsync("slot", { name: SLOTS$k.control }))) : null, hasMenuActions ? (hAsync("calcite-action-menu", { label: this.intlOptions || TEXT$k.options }, hAsync("slot", { name: SLOTS$k.headerMenuActions }))) : null));
8859
8876
  return (hAsync(Host, { tabIndex: disabled ? -1 : null }, hAsync("article", { "aria-busy": loading.toString(), class: {
8860
8877
  [CSS$K.article]: true
8861
8878
  } }, headerNode, hAsync("div", { class: CSS$K.content, hidden: !open }, this.renderScrim()))));
@@ -8898,7 +8915,7 @@ const CSS$J = {
8898
8915
  statusIcon: "status-icon",
8899
8916
  valid: "valid"
8900
8917
  };
8901
- const TEXT$i = {
8918
+ const TEXT$j = {
8902
8919
  collapse: "Collapse",
8903
8920
  expand: "Expand"
8904
8921
  };
@@ -8970,7 +8987,7 @@ class CalciteBlockSection {
8970
8987
  : dir === "rtl"
8971
8988
  ? ICONS$b.menuClosedLeft
8972
8989
  : ICONS$b.menuClosedRight;
8973
- const toggleLabel = open ? intlCollapse || TEXT$i.collapse : intlExpand || TEXT$i.expand;
8990
+ const toggleLabel = open ? intlCollapse || TEXT$j.collapse : intlExpand || TEXT$j.expand;
8974
8991
  const headerNode = toggleDisplay === "switch" ? (hAsync("div", { "aria-label": toggleLabel, class: {
8975
8992
  [CSS$J.toggle]: true,
8976
8993
  [CSS$J.toggleSwitch]: true
@@ -9037,7 +9054,7 @@ const CSS$I = {
9037
9054
  loadingIn: "loading-in",
9038
9055
  loadingOut: "loading-out"
9039
9056
  };
9040
- const TEXT$h = {
9057
+ const TEXT$i = {
9041
9058
  loading: "Loading"
9042
9059
  };
9043
9060
 
@@ -9141,7 +9158,7 @@ class CalciteButton {
9141
9158
  /** string to override English loading text
9142
9159
  * @default "Loading"
9143
9160
  */
9144
- this.intlLoading = TEXT$h.loading;
9161
+ this.intlLoading = TEXT$i.loading;
9145
9162
  /** optionally add a calcite-loader component to the button, disabling interaction. */
9146
9163
  this.loading = false;
9147
9164
  /** optionally add a round style to the button */
@@ -9303,7 +9320,7 @@ const SLOTS$j = {
9303
9320
  footerLeading: "footer-leading",
9304
9321
  footerTrailing: "footer-trailing"
9305
9322
  };
9306
- const TEXT$g = {
9323
+ const TEXT$h = {
9307
9324
  select: "Select",
9308
9325
  deselect: "Deselect",
9309
9326
  loading: "Loading"
@@ -9340,15 +9357,15 @@ class CalciteCard {
9340
9357
  /** string to override English loading text
9341
9358
  * @default "Loading"
9342
9359
  */
9343
- this.intlLoading = TEXT$g.loading;
9360
+ this.intlLoading = TEXT$h.loading;
9344
9361
  /** string to override English select text for checkbox when selectable is true
9345
9362
  * @default "Select"
9346
9363
  */
9347
- this.intlSelect = TEXT$g.select;
9364
+ this.intlSelect = TEXT$h.select;
9348
9365
  /** string to override English deselect text for checkbox when selectable is true
9349
9366
  * @default "Deselect"
9350
9367
  */
9351
- this.intlDeselect = TEXT$g.deselect;
9368
+ this.intlDeselect = TEXT$h.deselect;
9352
9369
  //--------------------------------------------------------------------------
9353
9370
  //
9354
9371
  // Private State/Props
@@ -9733,7 +9750,7 @@ const CSS$G = {
9733
9750
  chipImageContainer: "chip-image-container",
9734
9751
  calciteChipIcon: "calcite-chip--icon"
9735
9752
  };
9736
- const TEXT$f = {
9753
+ const TEXT$g = {
9737
9754
  close: "Close"
9738
9755
  };
9739
9756
  const SLOTS$i = {
@@ -9767,7 +9784,7 @@ class CalciteChip {
9767
9784
  /** Aria label for the "x" button
9768
9785
  * @default "Close"
9769
9786
  */
9770
- this.dismissLabel = TEXT$f.close;
9787
+ this.dismissLabel = TEXT$g.close;
9771
9788
  /** flip the icon in rtl */
9772
9789
  this.iconFlipRtl = false;
9773
9790
  /** specify the scale of the chip, defaults to m */
@@ -10041,12 +10058,13 @@ var colorString = createCommonjsModule(function (module) {
10041
10058
  /* MIT license */
10042
10059
 
10043
10060
 
10061
+ var hasOwnProperty = Object.hasOwnProperty;
10044
10062
 
10045
10063
  var reverseNames = {};
10046
10064
 
10047
10065
  // create a list of reverse color names
10048
10066
  for (var name in colorName$1) {
10049
- if (colorName$1.hasOwnProperty(name)) {
10067
+ if (hasOwnProperty.call(colorName$1, name)) {
10050
10068
  reverseNames[colorName$1[name]] = name;
10051
10069
  }
10052
10070
  }
@@ -10089,9 +10107,9 @@ cs.get.rgb = function (string) {
10089
10107
 
10090
10108
  var abbr = /^#([a-f0-9]{3,4})$/i;
10091
10109
  var hex = /^#([a-f0-9]{6})([a-f0-9]{2})?$/i;
10092
- var rgba = /^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
10093
- var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/;
10094
- var keyword = /(\D+)/;
10110
+ var rgba = /^rgba?\(\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*,?\s*([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
10111
+ var per = /^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/;
10112
+ var keyword = /^(\w+)$/;
10095
10113
 
10096
10114
  var rgb = [0, 0, 0, 1];
10097
10115
  var match;
@@ -10128,7 +10146,11 @@ cs.get.rgb = function (string) {
10128
10146
  }
10129
10147
 
10130
10148
  if (match[4]) {
10131
- rgb[3] = parseFloat(match[4]);
10149
+ if (match[5]) {
10150
+ rgb[3] = parseFloat(match[4]) * 0.01;
10151
+ } else {
10152
+ rgb[3] = parseFloat(match[4]);
10153
+ }
10132
10154
  }
10133
10155
  } else if (match = string.match(per)) {
10134
10156
  for (i = 0; i < 3; i++) {
@@ -10136,19 +10158,22 @@ cs.get.rgb = function (string) {
10136
10158
  }
10137
10159
 
10138
10160
  if (match[4]) {
10139
- rgb[3] = parseFloat(match[4]);
10161
+ if (match[5]) {
10162
+ rgb[3] = parseFloat(match[4]) * 0.01;
10163
+ } else {
10164
+ rgb[3] = parseFloat(match[4]);
10165
+ }
10140
10166
  }
10141
10167
  } else if (match = string.match(keyword)) {
10142
10168
  if (match[1] === 'transparent') {
10143
10169
  return [0, 0, 0, 0];
10144
10170
  }
10145
10171
 
10146
- rgb = colorName$1[match[1]];
10147
-
10148
- if (!rgb) {
10172
+ if (!hasOwnProperty.call(colorName$1, match[1])) {
10149
10173
  return null;
10150
10174
  }
10151
10175
 
10176
+ rgb = colorName$1[match[1]];
10152
10177
  rgb[3] = 1;
10153
10178
 
10154
10179
  return rgb;
@@ -10174,7 +10199,7 @@ cs.get.hsl = function (string) {
10174
10199
 
10175
10200
  if (match) {
10176
10201
  var alpha = parseFloat(match[4]);
10177
- var h = (parseFloat(match[1]) + 360) % 360;
10202
+ var h = ((parseFloat(match[1]) % 360) + 360) % 360;
10178
10203
  var s = clamp(parseFloat(match[2]), 0, 100);
10179
10204
  var l = clamp(parseFloat(match[3]), 0, 100);
10180
10205
  var a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);
@@ -10269,7 +10294,7 @@ function clamp(num, min, max) {
10269
10294
  }
10270
10295
 
10271
10296
  function hexDouble(num) {
10272
- var str = num.toString(16).toUpperCase();
10297
+ var str = Math.round(num).toString(16).toUpperCase();
10273
10298
  return (str.length < 2) ? '0' + str : str;
10274
10299
  }
10275
10300
  });
@@ -11965,7 +11990,7 @@ const HSV_LIMITS = {
11965
11990
  s: 100,
11966
11991
  v: 100
11967
11992
  };
11968
- const TEXT$e = {
11993
+ const TEXT$f = {
11969
11994
  b: "B",
11970
11995
  blue: "Blue",
11971
11996
  deleteColor: "Delete color",
@@ -12086,80 +12111,80 @@ class CalciteColorPicker {
12086
12111
  /** Label used for the blue channel
12087
12112
  * @default "B"
12088
12113
  */
12089
- this.intlB = TEXT$e.b;
12114
+ this.intlB = TEXT$f.b;
12090
12115
  /** Label used for the blue channel description
12091
12116
  * @default "Blue"
12092
12117
  */
12093
- this.intlBlue = TEXT$e.blue;
12118
+ this.intlBlue = TEXT$f.blue;
12094
12119
  /** Label used for the delete color button.
12095
12120
  * @default "Delete color"
12096
12121
  */
12097
- this.intlDeleteColor = TEXT$e.deleteColor;
12122
+ this.intlDeleteColor = TEXT$f.deleteColor;
12098
12123
  /** Label used for the green channel
12099
12124
  * @default "G"
12100
12125
  */
12101
- this.intlG = TEXT$e.g;
12126
+ this.intlG = TEXT$f.g;
12102
12127
  /** Label used for the green channel description
12103
12128
  * @default "Green"
12104
12129
  */
12105
- this.intlGreen = TEXT$e.green;
12130
+ this.intlGreen = TEXT$f.green;
12106
12131
  /** Label used for the hue channel
12107
12132
  * @default "H"
12108
12133
  */
12109
- this.intlH = TEXT$e.h;
12134
+ this.intlH = TEXT$f.h;
12110
12135
  /** Label used for the HSV mode
12111
12136
  * @default "HSV"
12112
12137
  */
12113
- this.intlHsv = TEXT$e.hsv;
12138
+ this.intlHsv = TEXT$f.hsv;
12114
12139
  /** Label used for the hex input
12115
12140
  * @default "Hex"
12116
12141
  */
12117
- this.intlHex = TEXT$e.hex;
12142
+ this.intlHex = TEXT$f.hex;
12118
12143
  /** Label used for the hue channel description
12119
12144
  * @default "Hue"
12120
12145
  */
12121
- this.intlHue = TEXT$e.hue;
12146
+ this.intlHue = TEXT$f.hue;
12122
12147
  /**
12123
12148
  * Label used for the hex input when there is no color selected.
12124
12149
  * @default "No color"
12125
12150
  */
12126
- this.intlNoColor = TEXT$e.noColor;
12151
+ this.intlNoColor = TEXT$f.noColor;
12127
12152
  /** Label used for the red channel
12128
12153
  * @default "R"
12129
12154
  */
12130
- this.intlR = TEXT$e.r;
12155
+ this.intlR = TEXT$f.r;
12131
12156
  /** Label used for the red channel description
12132
12157
  * @default "Red"
12133
12158
  */
12134
- this.intlRed = TEXT$e.red;
12159
+ this.intlRed = TEXT$f.red;
12135
12160
  /** Label used for the RGB mode
12136
12161
  * @default "RGB"
12137
12162
  */
12138
- this.intlRgb = TEXT$e.rgb;
12163
+ this.intlRgb = TEXT$f.rgb;
12139
12164
  /** Label used for the saturation channel
12140
12165
  * @default "S"
12141
12166
  */
12142
- this.intlS = TEXT$e.s;
12167
+ this.intlS = TEXT$f.s;
12143
12168
  /** Label used for the saturation channel description
12144
12169
  * @default "Saturation"
12145
12170
  */
12146
- this.intlSaturation = TEXT$e.saturation;
12171
+ this.intlSaturation = TEXT$f.saturation;
12147
12172
  /** Label used for the save color button.
12148
12173
  * @default "Save color"
12149
12174
  */
12150
- this.intlSaveColor = TEXT$e.saveColor;
12175
+ this.intlSaveColor = TEXT$f.saveColor;
12151
12176
  /** Label used for the saved colors section
12152
12177
  * @default "Saved"
12153
12178
  */
12154
- this.intlSaved = TEXT$e.saved;
12179
+ this.intlSaved = TEXT$f.saved;
12155
12180
  /** Label used for the value channel
12156
12181
  * @default "V"
12157
12182
  */
12158
- this.intlV = TEXT$e.v;
12183
+ this.intlV = TEXT$f.v;
12159
12184
  /** Label used for the
12160
12185
  * @default "Value"
12161
12186
  */
12162
- this.intlValue = TEXT$e.value;
12187
+ this.intlValue = TEXT$f.value;
12163
12188
  /**
12164
12189
  * The scale of the color picker.
12165
12190
  */
@@ -12884,12 +12909,12 @@ class CalciteColorPickerHexInput {
12884
12909
  * Label used for the hex input.
12885
12910
  * @default "Hex"
12886
12911
  */
12887
- this.intlHex = TEXT$e.hex;
12912
+ this.intlHex = TEXT$f.hex;
12888
12913
  /**
12889
12914
  * Label used for the hex input when there is no color selected.
12890
12915
  * @default "No color"
12891
12916
  */
12892
- this.intlNoColor = TEXT$e.noColor;
12917
+ this.intlNoColor = TEXT$f.noColor;
12893
12918
  /**
12894
12919
  * The component's scale.
12895
12920
  */
@@ -13404,7 +13429,7 @@ function contains(parent, child) {
13404
13429
  return false;
13405
13430
  }
13406
13431
 
13407
- function getComputedStyle(element) {
13432
+ function getComputedStyle$1(element) {
13408
13433
  return getWindow(element).getComputedStyle(element);
13409
13434
  }
13410
13435
 
@@ -13437,7 +13462,7 @@ function getParentNode(element) {
13437
13462
 
13438
13463
  function getTrueOffsetParent(element) {
13439
13464
  if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
13440
- getComputedStyle(element).position === 'fixed') {
13465
+ getComputedStyle$1(element).position === 'fixed') {
13441
13466
  return null;
13442
13467
  }
13443
13468
 
@@ -13452,7 +13477,7 @@ function getContainingBlock(element) {
13452
13477
 
13453
13478
  if (isIE && isHTMLElement(element)) {
13454
13479
  // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
13455
- var elementCss = getComputedStyle(element);
13480
+ var elementCss = getComputedStyle$1(element);
13456
13481
 
13457
13482
  if (elementCss.position === 'fixed') {
13458
13483
  return null;
@@ -13462,7 +13487,7 @@ function getContainingBlock(element) {
13462
13487
  var currentNode = getParentNode(element);
13463
13488
 
13464
13489
  while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
13465
- var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
13490
+ var css = getComputedStyle$1(currentNode); // This is non-exhaustive but covers the most common CSS properties that
13466
13491
  // create a containing block.
13467
13492
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
13468
13493
 
@@ -13482,11 +13507,11 @@ function getOffsetParent(element) {
13482
13507
  var window = getWindow(element);
13483
13508
  var offsetParent = getTrueOffsetParent(element);
13484
13509
 
13485
- while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
13510
+ while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
13486
13511
  offsetParent = getTrueOffsetParent(offsetParent);
13487
13512
  }
13488
13513
 
13489
- if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {
13514
+ if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static')) {
13490
13515
  return window;
13491
13516
  }
13492
13517
 
@@ -13664,7 +13689,7 @@ function mapToStyles(_ref2) {
13664
13689
  if (offsetParent === getWindow(popper)) {
13665
13690
  offsetParent = getDocumentElement(popper);
13666
13691
 
13667
- if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {
13692
+ if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
13668
13693
  heightProp = 'scrollHeight';
13669
13694
  widthProp = 'scrollWidth';
13670
13695
  }
@@ -13893,7 +13918,7 @@ function getDocumentRect(element) {
13893
13918
  var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
13894
13919
  var y = -winScroll.scrollTop;
13895
13920
 
13896
- if (getComputedStyle(body || html).direction === 'rtl') {
13921
+ if (getComputedStyle$1(body || html).direction === 'rtl') {
13897
13922
  x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
13898
13923
  }
13899
13924
 
@@ -13907,7 +13932,7 @@ function getDocumentRect(element) {
13907
13932
 
13908
13933
  function isScrollParent(element) {
13909
13934
  // Firefox wants us to check `-x` and `-y` variations as well
13910
- var _getComputedStyle = getComputedStyle(element),
13935
+ var _getComputedStyle = getComputedStyle$1(element),
13911
13936
  overflow = _getComputedStyle.overflow,
13912
13937
  overflowX = _getComputedStyle.overflowX,
13913
13938
  overflowY = _getComputedStyle.overflowY;
@@ -13982,7 +14007,7 @@ function getClientRectFromMixedType(element, clippingParent) {
13982
14007
 
13983
14008
  function getClippingParents(element) {
13984
14009
  var clippingParents = listScrollParents(getParentNode(element));
13985
- var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;
14010
+ var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$1(element).position) >= 0;
13986
14011
  var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
13987
14012
 
13988
14013
  if (!isElement(clipperElement)) {
@@ -16176,7 +16201,7 @@ function getDaysDiff(date1, date2) {
16176
16201
  }
16177
16202
 
16178
16203
  const HEADING_LEVEL$6 = 2;
16179
- const TEXT$d = {
16204
+ const TEXT$e = {
16180
16205
  nextMonth: "Next month",
16181
16206
  prevMonth: "Previous month"
16182
16207
  };
@@ -16191,11 +16216,11 @@ class CalciteDatePicker {
16191
16216
  /** Localized string for "previous month" (used for aria label)
16192
16217
  * @default "Previous month"
16193
16218
  */
16194
- this.intlPrevMonth = TEXT$d.prevMonth;
16219
+ this.intlPrevMonth = TEXT$e.prevMonth;
16195
16220
  /** Localized string for "next month" (used for aria label)
16196
16221
  * @default "Next month"
16197
16222
  */
16198
- this.intlNextMonth = TEXT$d.nextMonth;
16223
+ this.intlNextMonth = TEXT$e.nextMonth;
16199
16224
  /** BCP 47 language tag for desired language and country format */
16200
16225
  this.locale = document.documentElement.lang || "en";
16201
16226
  /** specify the scale of the date picker */
@@ -17841,7 +17866,7 @@ const CSS$w = {
17841
17866
  searchIcon: "search-icon",
17842
17867
  clearButton: "clear-button"
17843
17868
  };
17844
- const TEXT$c = {
17869
+ const TEXT$d = {
17845
17870
  filterLabel: "Filter",
17846
17871
  clear: "Clear filter"
17847
17872
  };
@@ -17955,9 +17980,9 @@ class CalciteFilter {
17955
17980
  render() {
17956
17981
  const rtl = getElementDir(this.el) === "rtl";
17957
17982
  const { disabled } = this;
17958
- return (hAsync(Fragment, null, disabled ? hAsync("calcite-scrim", null) : null, hAsync("div", { class: CSS$w.container }, hAsync("label", { class: rtl ? CSS_UTILITY.rtl : null }, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$c.filterLabel, class: rtl ? CSS_UTILITY.rtl : null, disabled: this.disabled, icon: ICONS$8.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
17983
+ return (hAsync(Fragment, null, disabled ? hAsync("calcite-scrim", null) : null, hAsync("div", { class: CSS$w.container }, hAsync("label", { class: rtl ? CSS_UTILITY.rtl : null }, hAsync("calcite-input", { "aria-label": this.intlLabel || TEXT$d.filterLabel, class: rtl ? CSS_UTILITY.rtl : null, disabled: this.disabled, icon: ICONS$8.search, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
17959
17984
  this.textInput = el;
17960
- }, type: "text", value: this.value })), this.value ? (hAsync("button", { "aria-label": this.intlClear || TEXT$c.clear, class: CSS$w.clearButton, onClick: this.clear }, hAsync("calcite-icon", { icon: ICONS$8.close }))) : null)));
17985
+ }, type: "text", value: this.value })), this.value ? (hAsync("button", { "aria-label": this.intlClear || TEXT$d.clear, class: CSS$w.clearButton, onClick: this.clear }, hAsync("calcite-icon", { icon: ICONS$8.close }))) : null)));
17961
17986
  }
17962
17987
  get el() { return getElement(this); }
17963
17988
  static get watchers() { return {
@@ -18513,7 +18538,7 @@ const CSS$s = {
18513
18538
  enableEditingButton: "enable-editing-button",
18514
18539
  controlsWrapper: "controls-wrapper"
18515
18540
  };
18516
- const TEXT$b = {
18541
+ const TEXT$c = {
18517
18542
  intlEnablingEditing: "Click to edit",
18518
18543
  intlCancelEditing: "Cancel",
18519
18544
  intlConfirmChanges: "Save"
@@ -18546,15 +18571,15 @@ class CalciteInlineEditable {
18546
18571
  /** specify text to be user for the enable editing button's aria-label, defaults to `Click to edit`
18547
18572
  * @default "Click to edit"
18548
18573
  */
18549
- this.intlEnableEditing = TEXT$b.intlEnablingEditing;
18574
+ this.intlEnableEditing = TEXT$c.intlEnablingEditing;
18550
18575
  /** specify text to be user for the cancel editing button's aria-label, defaults to `Cancel`
18551
18576
  * @default "Cancel"
18552
18577
  */
18553
- this.intlCancelEditing = TEXT$b.intlCancelEditing;
18578
+ this.intlCancelEditing = TEXT$c.intlCancelEditing;
18554
18579
  /** specify text to be user for the confirm changes button's aria-label, defaults to `Save`
18555
18580
  * @default "Save"
18556
18581
  */
18557
- this.intlConfirmChanges = TEXT$b.intlConfirmChanges;
18582
+ this.intlConfirmChanges = TEXT$c.intlConfirmChanges;
18558
18583
  this.transitionEnd = (event) => {
18559
18584
  if (!this.editingEnabled && !!this.shouldEmitCancel) {
18560
18585
  this.calciteInlineEditableEditingCancel.emit(event);
@@ -18751,7 +18776,7 @@ const SLOTS$g = {
18751
18776
  action: "action"
18752
18777
  };
18753
18778
 
18754
- 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*/.sc-calcite-input:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input{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*/.calcite-animate__in.sc-calcite-input{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-input:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-input-h{display:none}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-h input.sc-calcite-input,[scale=s].sc-calcite-input-h .prefix.sc-calcite-input,[scale=s].sc-calcite-input-h .suffix.sc-calcite-input{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}/*!@:host([scale=s]) textarea*/[scale=s].sc-calcite-input-h textarea.sc-calcite-input{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*/[scale=s].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=s].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=s].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:1.5rem}/*!@:host([scale=s]) input[type=file]*/[scale=s].sc-calcite-input-h input[type=file].sc-calcite-input{height:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-h .clear-button.sc-calcite-input{min-height:1.5rem;min-width:1.5rem}/*!@:host([scale=s]) textarea*/[scale=s].sc-calcite-input-h textarea.sc-calcite-input{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*/[scale=m].sc-calcite-input-h input.sc-calcite-input,[scale=m].sc-calcite-input-h .prefix.sc-calcite-input,[scale=m].sc-calcite-input-h .suffix.sc-calcite-input{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}/*!@:host([scale=m]) textarea*/[scale=m].sc-calcite-input-h textarea.sc-calcite-input{min-height:2rem}/*!@:host([scale=m]) .number-button-wrapper, :host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=m].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=m].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:2rem}/*!@:host([scale=m]) input[type=file]*/[scale=m].sc-calcite-input-h input[type=file].sc-calcite-input{height:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-h .clear-button.sc-calcite-input{min-height:2rem;min-width:2rem}/*!@:host([scale=m]) textarea*/[scale=m].sc-calcite-input-h textarea.sc-calcite-input{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*/[scale=l].sc-calcite-input-h input.sc-calcite-input,[scale=l].sc-calcite-input-h .prefix.sc-calcite-input,[scale=l].sc-calcite-input-h .suffix.sc-calcite-input{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}/*!@:host([scale=l]) textarea*/[scale=l].sc-calcite-input-h textarea.sc-calcite-input{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*/[scale=l].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=l].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=l].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:2.75rem}/*!@:host([scale=l]) input[type=file]*/[scale=l].sc-calcite-input-h input[type=file].sc-calcite-input{height:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-h .clear-button.sc-calcite-input{min-height:2.75rem;min-width:2.75rem}/*!@:host([scale=l]) textarea*/[scale=l].sc-calcite-input-h textarea.sc-calcite-input{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])*/[disabled].sc-calcite-input-h{pointer-events:none}/*!@:host([disabled]) .wrapper*/[disabled].sc-calcite-input-h .wrapper.sc-calcite-input{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) button, :host([disabled]) textarea, :host([disabled]) input*/[disabled].sc-calcite-input-h button.sc-calcite-input,[disabled].sc-calcite-input-h textarea.sc-calcite-input,[disabled].sc-calcite-input-h input.sc-calcite-input{pointer-events:none}/*!@:host([disabled]) textarea*/[disabled].sc-calcite-input-h textarea.sc-calcite-input{resize:none}/*!@:host textarea,\n:host input*/.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-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*/.sc-calcite-input-h input[type=search].sc-calcite-input::-webkit-search-decoration{-webkit-appearance:none}/*!@:host input, :host textarea*/.sc-calcite-input-h input.sc-calcite-input,.sc-calcite-input-h textarea.sc-calcite-input{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}/*!@: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*/.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input::placeholder,.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}/*!@:host input:focus, :host textarea:focus*/.sc-calcite-input-h input.sc-calcite-input:focus,.sc-calcite-input-h textarea.sc-calcite-input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly], :host textarea[readonly]*/.sc-calcite-input-h input[readonly].sc-calcite-input,.sc-calcite-input-h textarea[readonly].sc-calcite-input{background-color:var(--calcite-ui-background)}/*!@:host input[readonly]:focus, :host textarea[readonly]:focus*/.sc-calcite-input-h input[readonly].sc-calcite-input:focus,.sc-calcite-input-h textarea[readonly].sc-calcite-input:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-h calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-3)}/*!@:host textarea,\n:host input*/.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-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,\n:host input:focus*/.sc-calcite-input-h textarea.sc-calcite-input:focus,.sc-calcite-input-h input.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input, :host([status=invalid]) textarea*/[status=invalid].sc-calcite-input-h input.sc-calcite-input,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus, :host([status=invalid]) textarea:focus*/[status=invalid].sc-calcite-input-h input.sc-calcite-input:focus,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-h .icon.sc-calcite-input{left:0.5rem}/*!@:host([scale=s]) .calcite--rtl .icon*/[scale=s].sc-calcite-input-h .calcite--rtl.sc-calcite-input .icon.sc-calcite-input{left:unset;right:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-h .icon.sc-calcite-input{left:0.75rem}/*!@:host([scale=m]) .calcite--rtl .icon*/[scale=m].sc-calcite-input-h .calcite--rtl.sc-calcite-input .icon.sc-calcite-input{left:unset;right:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-h .icon.sc-calcite-input{left:1rem}/*!@:host([scale=l]) .calcite--rtl .icon*/[scale=l].sc-calcite-input-h .calcite--rtl.sc-calcite-input .icon.sc-calcite-input{left:unset;right:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-left:2rem}/*!@:host([icon][scale=s]) .calcite--rtl input*/[icon][scale=s].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:2rem;padding-left:0.5rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-left:2.5rem}/*!@:host([icon][scale=m]) .calcite--rtl input*/[icon][scale=m].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:2.5rem;padding-left:0.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-left:3rem}/*!@:host([icon][scale=l]) .calcite--rtl input*/[icon][scale=l].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:3rem;padding-left:0.5rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input{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*/.icon.sc-calcite-input{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,\ninput[type=text]::-ms-reveal*/input[type=text].sc-calcite-input::-ms-clear,input[type=text].sc-calcite-input::-ms-reveal{display:none;width:0;height:0}/*!@input[type=search]::-webkit-search-decoration,\ninput[type=search]::-webkit-search-cancel-button,\ninput[type=search]::-webkit-search-results-button,\ninput[type=search]::-webkit-search-results-decoration,\ninput[type=date]::-webkit-clear-button,\ninput[type=time]::-webkit-clear-button*/input[type=search].sc-calcite-input::-webkit-search-decoration,input[type=search].sc-calcite-input::-webkit-search-cancel-button,input[type=search].sc-calcite-input::-webkit-search-results-button,input[type=search].sc-calcite-input::-webkit-search-results-decoration,input[type=date].sc-calcite-input::-webkit-clear-button,input[type=time].sc-calcite-input::-webkit-clear-button{display:none}/*!@.clear-button*/.clear-button.sc-calcite-input{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*/.clear-button.sc-calcite-input: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*/.clear-button.sc-calcite-input:hover calcite-icon.sc-calcite-input{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*/.clear-button.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input:active calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.calcite--rtl .clear-button*/.calcite--rtl.sc-calcite-input .clear-button.sc-calcite-input{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}/*!@.loader*/.loader.sc-calcite-input{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}/*!@.prefix,\n.suffix*/.prefix.sc-calcite-input,.suffix.sc-calcite-input{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*/.prefix.sc-calcite-input{-ms-flex-order:2;order:2;border-right-width:0}/*!@.suffix*/.suffix.sc-calcite-input{-ms-flex-order:5;order:5;border-left-width:0}/*!@.calcite--rtl .prefix*/.calcite--rtl.sc-calcite-input .prefix.sc-calcite-input{border-right-width:1px;border-left-width:0}/*!@.calcite--rtl .suffix*/.calcite--rtl.sc-calcite-input .suffix.sc-calcite-input{border-left-width:1px;border-right-width:0}/*!@:host([alignment=start]) textarea, :host([alignment=start]) input*/[alignment=start].sc-calcite-input-h textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h input.sc-calcite-input{text-align:left}/*!@:host([alignment=start]) .calcite--rtl textarea, :host([alignment=start]) .calcite--rtl input*/[alignment=start].sc-calcite-input-h .calcite--rtl.sc-calcite-input textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{text-align:right}/*!@:host([alignment=end]) textarea, :host([alignment=end]) input*/[alignment=end].sc-calcite-input-h textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h input.sc-calcite-input{text-align:right}/*!@:host([alignment=end]) .calcite--rtl textarea, :host([alignment=end]) .calcite--rtl input*/[alignment=end].sc-calcite-input-h .calcite--rtl.sc-calcite-input textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{text-align:left}/*!@:host input[type=number]*/.sc-calcite-input-h input[type=number].sc-calcite-input{-moz-appearance:textfield}/*!@:host input[type=number]::-webkit-inner-spin-button, :host input[type=number]::-webkit-outer-spin-button*/.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-inner-spin-button,.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}/*!@.number-button-wrapper*/.number-button-wrapper.sc-calcite-input{-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*/[number-button-type=vertical].sc-calcite-input-h .wrapper.sc-calcite-input{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}/*!@:host([number-button-type=vertical]) input,\n:host([number-button-type=vertical]) textarea*/[number-button-type=vertical].sc-calcite-input-h input.sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h textarea.sc-calcite-input{-ms-flex-order:2;order:2}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{-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]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{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*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{-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=down].sc-calcite-input{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*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{-ms-flex-order:5;order:5}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]*/.calcite--rtl.sc-calcite-input .number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input{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]*/.calcite--rtl.sc-calcite-input .number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{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],\n:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=down].sc-calcite-input{border-top-width:0}/*!@.number-button-item*/.number-button-item.sc-calcite-input{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*/.number-button-item.sc-calcite-input calcite-icon.sc-calcite-input{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*/.number-button-item.sc-calcite-input:focus{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item:focus calcite-icon*/.number-button-item.sc-calcite-input:focus calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.number-button-item:active*/.number-button-item.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}/*!@:host([number-button-type=vertical]) .calcite--rtl .number-button-item*/[number-button-type=vertical].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item.sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}/*!@.wrapper*/.wrapper.sc-calcite-input{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*/.sc-calcite-input-h input.sc-calcite-input::-webkit-calendar-picker-indicator{display:none}/*!@:host input[type=date]::-webkit-input-placeholder*/.sc-calcite-input-h input[type=date].sc-calcite-input::-webkit-input-placeholder{visibility:hidden !important}/*!@:host textarea::-webkit-resizer*/.sc-calcite-input-h textarea.sc-calcite-input::-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*/.resize-icon-wrapper.sc-calcite-input{display:none}}/*!@.resize-icon-wrapper*/.resize-icon-wrapper.sc-calcite-input{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*/.resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}/*!@.calcite--rtl textarea::-webkit-resizer*/.calcite--rtl.sc-calcite-input textarea.sc-calcite-input::-webkit-resizer{right:unset;left:0}/*!@.calcite--rtl .resize-icon-wrapper*/.calcite--rtl.sc-calcite-input .resize-icon-wrapper.sc-calcite-input{left:2px;right:unset}/*!@.calcite--rtl .resize-icon-wrapper calcite-icon*/.calcite--rtl.sc-calcite-input .resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}/*!@:host([type=color]) input*/[type=color].sc-calcite-input-h input.sc-calcite-input{padding:0.25rem}/*!@:host([type=file]) input*/[type=file].sc-calcite-input-h input.sc-calcite-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*/[type=file][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}/*!@:host([type=file][scale=m]) input*/[type=file][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}/*!@:host([type=file][scale=l]) input*/[type=file][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-h input.sc-calcite-input{border-bottom-width:0}/*!@:host(.border-t-color-1) input*/.border-t-color-1.sc-calcite-input-h input.sc-calcite-input{border-top-color:var(--calcite-ui-border-1)}/*!@:host .inline-child*/.sc-calcite-input-h .inline-child.sc-calcite-input{-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*/.sc-calcite-input-h .inline-child.sc-calcite-input .editing-enabled.sc-calcite-input{background-color:inherit}/*!@:host .inline-child:not(.editing-enabled)*/.sc-calcite-input-h .inline-child.sc-calcite-input: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])*/.sc-calcite-input-s>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}";
18779
+ 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*/.sc-calcite-input:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-input{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*/.calcite-animate__in.sc-calcite-input{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-input{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-input{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-input{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-input:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-input-h{display:none}/*!@:host([scale=s]) input, :host([scale=s]) .prefix, :host([scale=s]) .suffix*/[scale=s].sc-calcite-input-h input.sc-calcite-input,[scale=s].sc-calcite-input-h .prefix.sc-calcite-input,[scale=s].sc-calcite-input-h .suffix.sc-calcite-input{font-size:var(--calcite-font-size--2);line-height:1rem;padding:0.5rem;height:1.5rem}/*!@:host([scale=s]) textarea*/[scale=s].sc-calcite-input-h textarea.sc-calcite-input{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*/[scale=s].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=s].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=s].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:1.5rem}/*!@:host([scale=s]) input[type=file]*/[scale=s].sc-calcite-input-h input[type=file].sc-calcite-input{height:1.5rem}/*!@:host([scale=s]) .clear-button*/[scale=s].sc-calcite-input-h .clear-button.sc-calcite-input{min-height:1.5rem;min-width:1.5rem}/*!@:host([scale=s]) textarea*/[scale=s].sc-calcite-input-h textarea.sc-calcite-input{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*/[scale=m].sc-calcite-input-h input.sc-calcite-input,[scale=m].sc-calcite-input-h .prefix.sc-calcite-input,[scale=m].sc-calcite-input-h .suffix.sc-calcite-input{font-size:var(--calcite-font-size--1);line-height:1rem;padding:0.75rem;height:2rem}/*!@:host([scale=m]) textarea*/[scale=m].sc-calcite-input-h textarea.sc-calcite-input{min-height:2rem}/*!@:host([scale=m]) .number-button-wrapper, :host([scale=m]) .action-wrapper calcite-button, :host([scale=m]) .action-wrapper calcite-button button*/[scale=m].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=m].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=m].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:2rem}/*!@:host([scale=m]) input[type=file]*/[scale=m].sc-calcite-input-h input[type=file].sc-calcite-input{height:2rem}/*!@:host([scale=m]) .clear-button*/[scale=m].sc-calcite-input-h .clear-button.sc-calcite-input{min-height:2rem;min-width:2rem}/*!@:host([scale=m]) textarea*/[scale=m].sc-calcite-input-h textarea.sc-calcite-input{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*/[scale=l].sc-calcite-input-h input.sc-calcite-input,[scale=l].sc-calcite-input-h .prefix.sc-calcite-input,[scale=l].sc-calcite-input-h .suffix.sc-calcite-input{font-size:var(--calcite-font-size-0);line-height:1.25rem;padding:1rem;height:2.75rem}/*!@:host([scale=l]) textarea*/[scale=l].sc-calcite-input-h textarea.sc-calcite-input{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*/[scale=l].sc-calcite-input-h .number-button-wrapper.sc-calcite-input,[scale=l].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input,[scale=l].sc-calcite-input-h .action-wrapper.sc-calcite-input calcite-button.sc-calcite-input button.sc-calcite-input{height:2.75rem}/*!@:host([scale=l]) input[type=file]*/[scale=l].sc-calcite-input-h input[type=file].sc-calcite-input{height:2.75rem}/*!@:host([scale=l]) .clear-button*/[scale=l].sc-calcite-input-h .clear-button.sc-calcite-input{min-height:2.75rem;min-width:2.75rem}/*!@:host([scale=l]) textarea*/[scale=l].sc-calcite-input-h textarea.sc-calcite-input{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])*/[disabled].sc-calcite-input-h{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) .wrapper*/[disabled].sc-calcite-input-h .wrapper.sc-calcite-input{pointer-events:none;--text-opacity:var(--calcite-ui-opacity-disabled)}/*!@:host([disabled]) button, :host([disabled]) textarea, :host([disabled]) input*/[disabled].sc-calcite-input-h button.sc-calcite-input,[disabled].sc-calcite-input-h textarea.sc-calcite-input,[disabled].sc-calcite-input-h input.sc-calcite-input{pointer-events:none}/*!@:host([disabled]) textarea*/[disabled].sc-calcite-input-h textarea.sc-calcite-input{resize:none}/*!@:host textarea,\n:host input*/.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-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*/.sc-calcite-input-h input[type=search].sc-calcite-input::-webkit-search-decoration{-webkit-appearance:none}/*!@:host input, :host textarea*/.sc-calcite-input-h input.sc-calcite-input,.sc-calcite-input-h textarea.sc-calcite-input{color:var(--calcite-ui-text-1);border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input)}/*!@: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*/.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}.sc-calcite-input-h input.sc-calcite-input::placeholder,.sc-calcite-input-h input.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h input.sc-calcite-input::-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::placeholder,.sc-calcite-input-h textarea.sc-calcite-input:-ms-input-placeholder,.sc-calcite-input-h textarea.sc-calcite-input::-ms-input-placeholder{color:var(--calcite-ui-text-3);font-weight:var(--calcite-font-weight-normal)}/*!@:host input:focus, :host textarea:focus*/.sc-calcite-input-h input.sc-calcite-input:focus,.sc-calcite-input-h textarea.sc-calcite-input:focus{border-color:var(--calcite-ui-brand);color:var(--calcite-ui-text-1)}/*!@:host input[readonly], :host textarea[readonly]*/.sc-calcite-input-h input[readonly].sc-calcite-input,.sc-calcite-input-h textarea[readonly].sc-calcite-input{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium)}/*!@:host input[readonly]:focus, :host textarea[readonly]:focus*/.sc-calcite-input-h input[readonly].sc-calcite-input:focus,.sc-calcite-input-h textarea[readonly].sc-calcite-input:focus{color:var(--calcite-ui-text-1)}/*!@:host calcite-icon*/.sc-calcite-input-h calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-3)}/*!@:host textarea,\n:host input*/.sc-calcite-input-h textarea.sc-calcite-input,.sc-calcite-input-h input.sc-calcite-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,\n:host input:focus*/.sc-calcite-input-h textarea.sc-calcite-input:focus,.sc-calcite-input-h input.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@:host([status=invalid]) input, :host([status=invalid]) textarea*/[status=invalid].sc-calcite-input-h input.sc-calcite-input,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input{border-color:var(--calcite-ui-danger)}/*!@:host([status=invalid]) input:focus, :host([status=invalid]) textarea:focus*/[status=invalid].sc-calcite-input-h input.sc-calcite-input:focus,[status=invalid].sc-calcite-input-h textarea.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-danger);outline-offset:-2px}/*!@:host([scale=s]) .icon*/[scale=s].sc-calcite-input-h .icon.sc-calcite-input{left:0.5rem}/*!@:host([scale=s]) .calcite--rtl .icon*/[scale=s].sc-calcite-input-h .calcite--rtl.sc-calcite-input .icon.sc-calcite-input{left:unset;right:0.5rem}/*!@:host([scale=m]) .icon*/[scale=m].sc-calcite-input-h .icon.sc-calcite-input{left:0.75rem}/*!@:host([scale=m]) .calcite--rtl .icon*/[scale=m].sc-calcite-input-h .calcite--rtl.sc-calcite-input .icon.sc-calcite-input{left:unset;right:0.75rem}/*!@:host([scale=l]) .icon*/[scale=l].sc-calcite-input-h .icon.sc-calcite-input{left:1rem}/*!@:host([scale=l]) .calcite--rtl .icon*/[scale=l].sc-calcite-input-h .calcite--rtl.sc-calcite-input .icon.sc-calcite-input{left:unset;right:1rem}/*!@:host([icon][scale=s]) input*/[icon][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-left:2rem}/*!@:host([icon][scale=s]) .calcite--rtl input*/[icon][scale=s].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:2rem;padding-left:0.5rem}/*!@:host([icon][scale=m]) input*/[icon][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-left:2.5rem}/*!@:host([icon][scale=m]) .calcite--rtl input*/[icon][scale=m].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:2.5rem;padding-left:0.5rem}/*!@:host([icon][scale=l]) input*/[icon][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-left:3rem}/*!@:host([icon][scale=l]) .calcite--rtl input*/[icon][scale=l].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{padding-right:3rem;padding-left:0.5rem}/*!@.element-wrapper*/.element-wrapper.sc-calcite-input{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*/.icon.sc-calcite-input{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,\ninput[type=text]::-ms-reveal*/input[type=text].sc-calcite-input::-ms-clear,input[type=text].sc-calcite-input::-ms-reveal{display:none;width:0;height:0}/*!@input[type=search]::-webkit-search-decoration,\ninput[type=search]::-webkit-search-cancel-button,\ninput[type=search]::-webkit-search-results-button,\ninput[type=search]::-webkit-search-results-decoration,\ninput[type=date]::-webkit-clear-button,\ninput[type=time]::-webkit-clear-button*/input[type=search].sc-calcite-input::-webkit-search-decoration,input[type=search].sc-calcite-input::-webkit-search-cancel-button,input[type=search].sc-calcite-input::-webkit-search-results-button,input[type=search].sc-calcite-input::-webkit-search-results-decoration,input[type=date].sc-calcite-input::-webkit-clear-button,input[type=time].sc-calcite-input::-webkit-clear-button{display:none}/*!@.clear-button*/.clear-button.sc-calcite-input{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*/.clear-button.sc-calcite-input: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*/.clear-button.sc-calcite-input:hover calcite-icon.sc-calcite-input{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*/.clear-button.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}/*!@.clear-button:active calcite-icon*/.clear-button.sc-calcite-input:active calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.clear-button:focus*/.clear-button.sc-calcite-input:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}/*!@.clear-button:disabled*/.clear-button.sc-calcite-input:disabled{opacity:var(--calcite-ui-opacity-disabled)}/*!@.calcite--rtl .clear-button*/.calcite--rtl.sc-calcite-input .clear-button.sc-calcite-input{border-left-color:var(--calcite-ui-border-input);border-width:1px;border-right-width:0}/*!@.loader*/.loader.sc-calcite-input{top:1px;left:1px;right:1px;display:block;pointer-events:none;position:absolute}/*!@.action-wrapper*/.action-wrapper.sc-calcite-input{display:-ms-flexbox;display:flex;-ms-flex-order:7;order:7}/*!@.prefix,\n.suffix*/.prefix.sc-calcite-input,.suffix.sc-calcite-input{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*/.prefix.sc-calcite-input{-ms-flex-order:2;order:2;border-right-width:0}/*!@.suffix*/.suffix.sc-calcite-input{-ms-flex-order:5;order:5;border-left-width:0}/*!@.calcite--rtl .prefix*/.calcite--rtl.sc-calcite-input .prefix.sc-calcite-input{border-right-width:1px;border-left-width:0}/*!@.calcite--rtl .suffix*/.calcite--rtl.sc-calcite-input .suffix.sc-calcite-input{border-left-width:1px;border-right-width:0}/*!@:host([alignment=start]) textarea, :host([alignment=start]) input*/[alignment=start].sc-calcite-input-h textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h input.sc-calcite-input{text-align:left}/*!@:host([alignment=start]) .calcite--rtl textarea, :host([alignment=start]) .calcite--rtl input*/[alignment=start].sc-calcite-input-h .calcite--rtl.sc-calcite-input textarea.sc-calcite-input,[alignment=start].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{text-align:right}/*!@:host([alignment=end]) textarea, :host([alignment=end]) input*/[alignment=end].sc-calcite-input-h textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h input.sc-calcite-input{text-align:right}/*!@:host([alignment=end]) .calcite--rtl textarea, :host([alignment=end]) .calcite--rtl input*/[alignment=end].sc-calcite-input-h .calcite--rtl.sc-calcite-input textarea.sc-calcite-input,[alignment=end].sc-calcite-input-h .calcite--rtl.sc-calcite-input input.sc-calcite-input{text-align:left}/*!@:host input[type=number]*/.sc-calcite-input-h input[type=number].sc-calcite-input{-moz-appearance:textfield}/*!@:host input[type=number]::-webkit-inner-spin-button, :host input[type=number]::-webkit-outer-spin-button*/.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-inner-spin-button,.sc-calcite-input-h input[type=number].sc-calcite-input::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}/*!@.number-button-wrapper*/.number-button-wrapper.sc-calcite-input{-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*/[number-button-type=vertical].sc-calcite-input-h .wrapper.sc-calcite-input{-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex}/*!@:host([number-button-type=vertical]) input,\n:host([number-button-type=vertical]) textarea*/[number-button-type=vertical].sc-calcite-input-h input.sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h textarea.sc-calcite-input{-ms-flex-order:2;order:2}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}/*!@:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon*/[number-button-type=horizontal].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{-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]*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{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*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input calcite-icon.sc-calcite-input,.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input calcite-icon.sc-calcite-input{-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=down].sc-calcite-input{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*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{-ms-flex-order:5;order:5}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon*/.number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=up].sc-calcite-input:hover{background-color:var(--calcite-ui-foreground-2)}/*!@:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=up].sc-calcite-input:hover calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.calcite--rtl .number-button-item.number-button-item--horizontal[data-adjustment=down]*/.calcite--rtl.sc-calcite-input .number-button-item.number-button-item--horizontal[data-adjustment=down].sc-calcite-input{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]*/.calcite--rtl.sc-calcite-input .number-button-item.number-button-item--horizontal[data-adjustment=up].sc-calcite-input{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],\n:host([number-button-type=vertical]) .calcite--rtl .number-button-item[data-adjustment=down]*/[number-button-type=vertical].sc-calcite-input-h .number-button-item[data-adjustment=down].sc-calcite-input,[number-button-type=vertical].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item[data-adjustment=down].sc-calcite-input{border-top-width:0}/*!@.number-button-item*/.number-button-item.sc-calcite-input{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*/.number-button-item.sc-calcite-input calcite-icon.sc-calcite-input{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*/.number-button-item.sc-calcite-input:focus{background-color:var(--calcite-ui-foreground-2)}/*!@.number-button-item:focus calcite-icon*/.number-button-item.sc-calcite-input:focus calcite-icon.sc-calcite-input{color:var(--calcite-ui-text-1)}/*!@.number-button-item:active*/.number-button-item.sc-calcite-input:active{background-color:var(--calcite-ui-foreground-3)}/*!@:host([number-button-type=vertical]) .calcite--rtl .number-button-item*/[number-button-type=vertical].sc-calcite-input-h .calcite--rtl.sc-calcite-input .number-button-item.sc-calcite-input{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);border-right-width:0}/*!@.wrapper*/.wrapper.sc-calcite-input{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*/.sc-calcite-input-h input.sc-calcite-input::-webkit-calendar-picker-indicator{display:none}/*!@:host input[type=date]::-webkit-input-placeholder*/.sc-calcite-input-h input[type=date].sc-calcite-input::-webkit-input-placeholder{visibility:hidden !important}/*!@:host textarea::-webkit-resizer*/.sc-calcite-input-h textarea.sc-calcite-input::-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*/.resize-icon-wrapper.sc-calcite-input{display:none}}/*!@.resize-icon-wrapper*/.resize-icon-wrapper.sc-calcite-input{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*/.resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}/*!@.calcite--rtl textarea::-webkit-resizer*/.calcite--rtl.sc-calcite-input textarea.sc-calcite-input::-webkit-resizer{right:unset;left:0}/*!@.calcite--rtl .resize-icon-wrapper*/.calcite--rtl.sc-calcite-input .resize-icon-wrapper.sc-calcite-input{left:2px;right:unset}/*!@.calcite--rtl .resize-icon-wrapper calcite-icon*/.calcite--rtl.sc-calcite-input .resize-icon-wrapper.sc-calcite-input calcite-icon.sc-calcite-input{bottom:0.25rem;right:0.25rem;-webkit-transform:rotate(45deg);transform:rotate(45deg)}/*!@:host([type=color]) input*/[type=color].sc-calcite-input-h input.sc-calcite-input{padding:0.25rem}/*!@:host([type=file]) input*/[type=file].sc-calcite-input-h input.sc-calcite-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*/[type=file][scale=s].sc-calcite-input-h input.sc-calcite-input{padding-top:1px;padding-bottom:1px;padding-left:0.5rem;padding-right:0.5rem}/*!@:host([type=file][scale=m]) input*/[type=file][scale=m].sc-calcite-input-h input.sc-calcite-input{padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem}/*!@:host([type=file][scale=l]) input*/[type=file][scale=l].sc-calcite-input-h input.sc-calcite-input{padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem}/*!@:host(.no-bottom-border) input*/.no-bottom-border.sc-calcite-input-h input.sc-calcite-input{border-bottom-width:0}/*!@:host(.border-t-color-1) input*/.border-t-color-1.sc-calcite-input-h input.sc-calcite-input{border-top-color:var(--calcite-ui-border-1)}/*!@:host .inline-child*/.sc-calcite-input-h .inline-child.sc-calcite-input{-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*/.sc-calcite-input-h .inline-child.sc-calcite-input .editing-enabled.sc-calcite-input{background-color:inherit}/*!@:host .inline-child:not(.editing-enabled)*/.sc-calcite-input-h .inline-child.sc-calcite-input: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])*/.sc-calcite-input-s>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}";
18755
18780
 
18756
18781
  /**
18757
18782
  * @slot action - A slot for positioning a button next to an input
@@ -18786,7 +18811,7 @@ class CalciteInput {
18786
18811
  * string to override English loading text
18787
18812
  * @default "Loading"
18788
18813
  */
18789
- this.intlLoading = TEXT$p.loading;
18814
+ this.intlLoading = TEXT$q.loading;
18790
18815
  /** flip the icon in rtl */
18791
18816
  this.iconFlipRtl = false;
18792
18817
  /** specify if the input is in loading state */
@@ -18944,12 +18969,13 @@ class CalciteInput {
18944
18969
  const inputMin = this.minString ? parseFloat(this.minString) : null;
18945
18970
  const valueNudgeDelayInMs = 100;
18946
18971
  this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
18947
- let nudgeNumberValueIntervalCount = 0;
18972
+ let firstValueNudge = true;
18948
18973
  this.nudgeNumberValueIntervalId = setInterval(() => {
18949
- nudgeNumberValueIntervalCount !== 0
18950
- ? this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent)
18951
- : null;
18952
- nudgeNumberValueIntervalCount++;
18974
+ if (firstValueNudge) {
18975
+ firstValueNudge = false;
18976
+ return;
18977
+ }
18978
+ this.incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent);
18953
18979
  }, valueNudgeDelayInMs);
18954
18980
  };
18955
18981
  this.numberButtonMouseUpAndMouseOutHandler = () => {
@@ -19094,17 +19120,18 @@ class CalciteInput {
19094
19120
  this.setFocus();
19095
19121
  }
19096
19122
  incrementOrDecrementNumberValue(direction, inputMax, inputMin, nativeEvent) {
19097
- const value = this.value;
19123
+ const { value } = this;
19098
19124
  const inputStep = this.step === "any" ? 1 : Math.abs(this.step || 1);
19099
19125
  const inputVal = value && value !== "" ? parseFloat(value) : 0;
19100
- let newValue = value;
19101
- if (direction === "up" && ((!inputMax && inputMax !== 0) || inputVal < inputMax)) {
19102
- newValue = (inputVal + inputStep).toFixed(decimalPlaces(inputStep)).toString();
19103
- }
19104
- if (direction === "down" && ((!inputMin && inputMin !== 0) || inputVal > inputMin)) {
19105
- newValue = (inputVal - inputStep).toFixed(decimalPlaces(inputStep)).toString();
19106
- }
19107
- this.setValue(newValue, nativeEvent, true);
19126
+ const adjustment = direction === "up" ? 1 : -1;
19127
+ const nudgedValue = inputVal + inputStep * adjustment;
19128
+ const finalValue = (typeof inputMin === "number" && !isNaN(inputMin) && nudgedValue < inputMin) ||
19129
+ (typeof inputMax === "number" && !isNaN(inputMax) && nudgedValue > inputMax)
19130
+ ? inputVal
19131
+ : nudgedValue;
19132
+ const inputValPlaces = decimalPlaces(inputVal);
19133
+ const inputStepPlaces = decimalPlaces(inputStep);
19134
+ this.setValue(finalValue.toFixed(Math.max(inputValPlaces, inputStepPlaces)), nativeEvent, true);
19108
19135
  }
19109
19136
  onFormReset() {
19110
19137
  this.setValue(this.defaultValue);
@@ -19160,7 +19187,7 @@ class CalciteInput {
19160
19187
  const numberButtonsVertical = (hAsync("div", { class: CSS$r.numberButtonWrapper }, numberButtonsHorizontalUp, numberButtonsHorizontalDown));
19161
19188
  const prefixText = hAsync("div", { class: CSS$r.prefix }, this.prefixText);
19162
19189
  const suffixText = hAsync("div", { class: CSS$r.suffix }, this.suffixText);
19163
- const localeNumberInput = this.type === "number" ? (hAsync("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;
19190
+ const localeNumberInput = this.type === "number" ? (hAsync("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;
19164
19191
  const childEl = this.type !== "number"
19165
19192
  ? [
19166
19193
  hAsync(this.childElType, { "aria-label": getLabelText(this), autofocus: this.autofocus ? true : null, class: {
@@ -19170,11 +19197,11 @@ class CalciteInput {
19170
19197
  this.isTextarea ? (hAsync("div", { class: CSS$r.resizeIconWrapper }, hAsync("calcite-icon", { icon: "chevron-down", scale: "s" }))) : null
19171
19198
  ]
19172
19199
  : null;
19173
- return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$r.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal"
19200
+ return (hAsync(Host, { onClick: this.inputFocusHandler, onKeyDown: this.keyDownHandler }, hAsync("div", { class: { [CSS$r.inputWrapper]: true, [CSS_UTILITY.rtl]: dir === "rtl" }, dir: dir }, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
19174
19201
  ? numberButtonsHorizontalDown
19175
- : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$r.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$r.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.type === "number" && this.numberButtonType === "vertical"
19202
+ : null, this.prefixText ? prefixText : null, hAsync("div", { class: CSS$r.wrapper }, localeNumberInput, childEl, this.isClearable ? inputClearButton : null, this.requestedIcon ? iconEl : null, this.loading ? loader : null), hAsync("div", { class: CSS$r.actionWrapper }, hAsync("slot", { name: SLOTS$g.action })), this.type === "number" && this.numberButtonType === "vertical" && !this.readOnly
19176
19203
  ? numberButtonsVertical
19177
- : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal"
19204
+ : null, this.suffixText ? suffixText : null, this.type === "number" && this.numberButtonType === "horizontal" && !this.readOnly
19178
19205
  ? numberButtonsHorizontalUp
19179
19206
  : null, hAsync(HiddenFormInputSlot, { component: this }))));
19180
19207
  }
@@ -19256,11 +19283,11 @@ class CalciteInputDatePicker {
19256
19283
  /** Localized string for "previous month" (used for aria label)
19257
19284
  * @default "Previous month"
19258
19285
  */
19259
- this.intlPrevMonth = TEXT$d.prevMonth;
19286
+ this.intlPrevMonth = TEXT$e.prevMonth;
19260
19287
  /** Localized string for "next month" (used for aria label)
19261
19288
  * @default "Next month"
19262
19289
  */
19263
- this.intlNextMonth = TEXT$d.nextMonth;
19290
+ this.intlNextMonth = TEXT$e.nextMonth;
19264
19291
  /** BCP 47 language tag for desired language and country format */
19265
19292
  this.locale = document.documentElement.lang || "en";
19266
19293
  /** specify the scale of the date picker */
@@ -20616,7 +20643,7 @@ const SLOTS$e = {
20616
20643
  secondary: "secondary",
20617
20644
  primary: "primary"
20618
20645
  };
20619
- const TEXT$a = {
20646
+ const TEXT$b = {
20620
20647
  close: "Close"
20621
20648
  };
20622
20649
 
@@ -20654,7 +20681,7 @@ class CalciteModal {
20654
20681
  /** Disables the closing of the Modal when clicked outside. */
20655
20682
  this.disableOutsideClose = false;
20656
20683
  /** Aria label for the close button */
20657
- this.intlClose = TEXT$a.close;
20684
+ this.intlClose = TEXT$b.close;
20658
20685
  /** Flag to disable the default close on escape behavior */
20659
20686
  this.disableEscape = false;
20660
20687
  /** specify the scale of modal, defaults to m */
@@ -20879,7 +20906,7 @@ class CalciteModal {
20879
20906
  }; }
20880
20907
  }
20881
20908
 
20882
- const TEXT$9 = {
20909
+ const TEXT$a = {
20883
20910
  close: "Close"
20884
20911
  };
20885
20912
  const SLOTS$d = {
@@ -20928,7 +20955,7 @@ class CalciteNotice {
20928
20955
  /** String for the close button.
20929
20956
  * @default "Close"
20930
20957
  */
20931
- this.intlClose = TEXT$9.close;
20958
+ this.intlClose = TEXT$a.close;
20932
20959
  /** specify the scale of the notice, defaults to m */
20933
20960
  this.scale = "m";
20934
20961
  /** specify the width of the notice, defaults to auto */
@@ -21151,7 +21178,7 @@ const CSS$k = {
21151
21178
  ellipsisStart: "ellipsis--start",
21152
21179
  ellipsisEnd: "ellipsis--end"
21153
21180
  };
21154
- const TEXT$8 = {
21181
+ const TEXT$9 = {
21155
21182
  nextLabel: "Next",
21156
21183
  previousLabel: "Previous"
21157
21184
  };
@@ -21178,11 +21205,11 @@ class CalcitePagination {
21178
21205
  /** Used as an accessible label (aria-label) for the next button
21179
21206
  * @default "Next"
21180
21207
  */
21181
- this.textLabelNext = TEXT$8.nextLabel;
21208
+ this.textLabelNext = TEXT$9.nextLabel;
21182
21209
  /** Used as an accessible label (aria-label) of the previous button
21183
21210
  * @default "Previous"
21184
21211
  */
21185
- this.textLabelPrevious = TEXT$8.previousLabel;
21212
+ this.textLabelPrevious = TEXT$9.previousLabel;
21186
21213
  /** The scale of the pagination */
21187
21214
  this.scale = "m";
21188
21215
  this.previousClicked = () => {
@@ -21359,7 +21386,7 @@ const SLOTS$c = {
21359
21386
  footer: "footer",
21360
21387
  footerActions: "footer-actions"
21361
21388
  };
21362
- const TEXT$7 = {
21389
+ const TEXT$8 = {
21363
21390
  back: "Back",
21364
21391
  close: "Close",
21365
21392
  open: "Open",
@@ -21473,7 +21500,7 @@ class CalcitePanel {
21473
21500
  const { el } = this;
21474
21501
  const rtl = getElementDir(el) === "rtl";
21475
21502
  const { showBackButton, intlBack, backButtonClick } = this;
21476
- const label = intlBack || TEXT$7.back;
21503
+ const label = intlBack || TEXT$8.back;
21477
21504
  const icon = rtl ? ICONS$5.backRight : ICONS$5.backLeft;
21478
21505
  return showBackButton ? (hAsync("calcite-action", { "aria-label": label, class: CSS$j.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: SLOTS$c.headerActionsStart, text: label })) : null;
21479
21506
  }
@@ -21496,7 +21523,7 @@ class CalcitePanel {
21496
21523
  }
21497
21524
  renderHeaderActionsEnd() {
21498
21525
  const { dismiss, dismissible, el, intlClose } = this;
21499
- const text = intlClose || TEXT$7.close;
21526
+ const text = intlClose || TEXT$8.close;
21500
21527
  const dismissibleNode = dismissible ? (hAsync("calcite-action", { "aria-label": text, icon: ICONS$5.close, onClick: dismiss, ref: this.setDismissRef, text: text })) : null;
21501
21528
  const slotNode = hAsync("slot", { name: SLOTS$c.headerActionsEnd });
21502
21529
  const hasEndActions = getSlotted(el, SLOTS$c.headerActionsEnd);
@@ -21505,7 +21532,7 @@ class CalcitePanel {
21505
21532
  renderMenu() {
21506
21533
  const { el, intlOptions, menuOpen } = this;
21507
21534
  const hasMenuItems = getSlotted(el, SLOTS$c.headerMenuActions);
21508
- return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], label: intlOptions || TEXT$7.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$7.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
21535
+ return hasMenuItems ? (hAsync("calcite-action-menu", { flipPlacements: ["top", "bottom"], label: intlOptions || TEXT$8.options, open: menuOpen, placement: "bottom-end" }, hAsync("calcite-action", { icon: ICONS$5.menu, slot: SLOTS$p.trigger, text: intlOptions || TEXT$8.options }), hAsync("slot", { name: SLOTS$c.headerMenuActions }))) : null;
21509
21536
  }
21510
21537
  renderHeaderNode() {
21511
21538
  const { el, showBackButton } = this;
@@ -22096,7 +22123,7 @@ const SLOTS$9 = {
22096
22123
  actionsEnd: "actions-end",
22097
22124
  actionsStart: "actions-start"
22098
22125
  };
22099
- const TEXT$6 = {
22126
+ const TEXT$7 = {
22100
22127
  remove: "Remove"
22101
22128
  };
22102
22129
 
@@ -22142,7 +22169,7 @@ class CalcitePickListItem {
22142
22169
  * Used as an accessible label (aria-label) for the "remove item" action. Only applicable if removable is true.
22143
22170
  * @default "Remove"
22144
22171
  */
22145
- this.intlRemove = TEXT$6.remove;
22172
+ this.intlRemove = TEXT$7.remove;
22146
22173
  // --------------------------------------------------------------------------
22147
22174
  //
22148
22175
  // Private Methods
@@ -22285,7 +22312,7 @@ const CSS$f = {
22285
22312
  headerContent: "header-content",
22286
22313
  heading: "heading"
22287
22314
  };
22288
- const TEXT$5 = {
22315
+ const TEXT$6 = {
22289
22316
  close: "Close"
22290
22317
  };
22291
22318
  const POPOVER_REFERENCE = "data-calcite-popover-reference";
@@ -22348,7 +22375,7 @@ class CalcitePopover {
22348
22375
  /** Text for close button.
22349
22376
  * @default "Close"
22350
22377
  */
22351
- this.intlClose = TEXT$5.close;
22378
+ this.intlClose = TEXT$6.close;
22352
22379
  this.guid = `calcite-popover-${guid()}`;
22353
22380
  this.activeTransitionProp = "opacity";
22354
22381
  // --------------------------------------------------------------------------
@@ -23459,7 +23486,7 @@ class CalciteRadioGroupItem {
23459
23486
  }; }
23460
23487
  }
23461
23488
 
23462
- const TEXT$4 = {
23489
+ const TEXT$5 = {
23463
23490
  rating: "Rating",
23464
23491
  stars: "Stars: ${num}"
23465
23492
  };
@@ -23488,11 +23515,11 @@ class CalciteRating {
23488
23515
  /** Localized string for "Rating" (used for aria label)
23489
23516
  * @default "Rating"
23490
23517
  */
23491
- this.intlRating = TEXT$4.rating;
23518
+ this.intlRating = TEXT$5.rating;
23492
23519
  /** Localized string for labelling each star, `${num}` in the string will be replaced by the number
23493
23520
  * @default "Stars: ${num}"
23494
23521
  */
23495
- this.intlStars = TEXT$4.stars;
23522
+ this.intlStars = TEXT$5.stars;
23496
23523
  /**
23497
23524
  * When true, makes the component required for form-submission.
23498
23525
  *
@@ -23602,7 +23629,7 @@ const CSS$c = {
23602
23629
  scrim: "scrim",
23603
23630
  content: "content"
23604
23631
  };
23605
- const TEXT$3 = {
23632
+ const TEXT$4 = {
23606
23633
  loading: "Loading"
23607
23634
  };
23608
23635
 
@@ -23622,7 +23649,7 @@ class CalciteScrim {
23622
23649
  /** string to override English loading text
23623
23650
  * @default "Loading"
23624
23651
  */
23625
- this.intlLoading = TEXT$3.loading;
23652
+ this.intlLoading = TEXT$4.loading;
23626
23653
  /**
23627
23654
  * Determines if the component will have the loader overlay.
23628
23655
  * Otherwise, will render opaque disabled state.
@@ -24046,14 +24073,18 @@ const CSS$8 = {
24046
24073
  content: "content",
24047
24074
  contentHeader: "content__header",
24048
24075
  contentBody: "content__body",
24049
- contentDetached: "content--detached"
24076
+ contentDetached: "content--detached",
24077
+ separator: "separator"
24050
24078
  };
24051
24079
  const SLOTS$5 = {
24052
24080
  actionBar: "action-bar",
24053
24081
  header: "header"
24054
24082
  };
24083
+ const TEXT$3 = {
24084
+ resize: "Resize"
24085
+ };
24055
24086
 
24056
- 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*/.sc-calcite-shell-panel:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-shell-panel{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*/.calcite-animate__in.sc-calcite-shell-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-shell-panel:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-shell-panel-h{display:none}/*!@:host*/.sc-calcite-shell-panel-h{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*/.container.sc-calcite-shell-panel{-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 **/.container.sc-calcite-shell-panel *.sc-calcite-shell-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-s>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)*/.sc-calcite-shell-panel-s>.calcite-match-height{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@.content*/.content.sc-calcite-shell-panel{-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*/.content__header.sc-calcite-shell-panel{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*/.content__body.sc-calcite-shell-panel{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*/[width-scale=s].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--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*/[width-scale=m].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--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*/[width-scale=l].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--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*/[detached-height-scale=s].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:40vh}/*!@:host([detached-height-scale=m]) .content--detached*/[detached-height-scale=m].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:60vh}/*!@:host([detached-height-scale=l]) .content--detached*/[detached-height-scale=l].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:80vh}/*!@.content--detached*/.content--detached.sc-calcite-shell-panel{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),\n.content--detached ::slotted(calcite-flow)*/.content--detached .sc-calcite-shell-panel-s>calcite-panel,.content--detached .sc-calcite-shell-panel-s>calcite-flow{max-height:unset}/*!@:host([position=start]) .content--detached ::slotted(calcite-panel),\n:host([position=start]) .content--detached ::slotted(calcite-flow),\n:host([position=end]) .content--detached ::slotted(calcite-panel),\n:host([position=end]) .content--detached ::slotted(calcite-flow)*/.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-flow{border-style:none}/*!@.content[hidden]*/.content[hidden].sc-calcite-shell-panel{display:none}/*!@slot[name=action-bar]::slotted(calcite-action-bar),\n.content ::slotted(calcite-flow),\n.content ::slotted(calcite-panel)*/slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.content .sc-calcite-shell-panel-s>calcite-flow,.content .sc-calcite-shell-panel-s>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),\n:host([position=start]) .content ::slotted(calcite-flow),\n:host([position=start]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=start] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-start:none;border-inline-start:none}/*!@:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=end]) .content ::slotted(calcite-flow),\n:host([position=end]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=end] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-end:none;border-inline-end:none}";
24087
+ 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*/.sc-calcite-shell-panel:root{--calcite-animation-timing:300ms}/*!@.calcite-animate*/.calcite-animate.sc-calcite-shell-panel{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*/.calcite-animate__in.sc-calcite-shell-panel{-webkit-animation-name:in;animation-name:in}/*!@.calcite-animate__in-down*/.calcite-animate__in-down.sc-calcite-shell-panel{-webkit-animation-name:in-down;animation-name:in-down}/*!@.calcite-animate__in-up*/.calcite-animate__in-up.sc-calcite-shell-panel{-webkit-animation-name:in-up;animation-name:in-up}/*!@.calcite-animate__in-scale*/.calcite-animate__in-scale.sc-calcite-shell-panel{-webkit-animation-name:in-scale;animation-name:in-scale}/*!@:root*/.sc-calcite-shell-panel:root{--calcite-popper-transition:150ms ease-in-out}/*!@:host([hidden])*/[hidden].sc-calcite-shell-panel-h{display:none}/*!@:host*/.sc-calcite-shell-panel-h{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*/.container.sc-calcite-shell-panel{-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 **/.container.sc-calcite-shell-panel *.sc-calcite-shell-panel{-webkit-box-sizing:border-box;box-sizing:border-box}/*!@:host(:hover) .separator:not(:hover):not(:focus),\n:host(:focus-within) .separator:not(:hover):not(:focus)*/.sc-calcite-shell-panel-h:hover .separator.sc-calcite-shell-panel:not(:hover):not(:focus),.sc-calcite-shell-panel-h:focus-within .separator.sc-calcite-shell-panel:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}/*!@.separator*/.separator.sc-calcite-shell-panel{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*/.separator.sc-calcite-shell-panel:hover{opacity:1;background-color:var(--calcite-ui-border-2)}/*!@.separator:focus*/.separator.sc-calcite-shell-panel:focus{background-color:var(--calcite-ui-brand);opacity:1}/*!@:host([position=start]) .separator*/[position=start].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-end:-2px}/*!@:host([position=end]) .separator*/[position=end].sc-calcite-shell-panel-h .separator.sc-calcite-shell-panel{inset-inline-start:-2px}/*!@::slotted(calcite-panel),\n::slotted(calcite-flow)*/.sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-s>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)*/.sc-calcite-shell-panel-s>.calcite-match-height{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;overflow:hidden}/*!@.content*/.content.sc-calcite-shell-panel{-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*/.content__header.sc-calcite-shell-panel{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*/.content__body.sc-calcite-shell-panel{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*/[width-scale=s].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--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*/[width-scale=m].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--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*/[width-scale=l].sc-calcite-shell-panel-h .content.sc-calcite-shell-panel{--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*/[detached-height-scale=s].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:40vh}/*!@:host([detached-height-scale=m]) .content--detached*/[detached-height-scale=m].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:60vh}/*!@:host([detached-height-scale=l]) .content--detached*/[detached-height-scale=l].sc-calcite-shell-panel-h .content--detached.sc-calcite-shell-panel{--calcite-shell-panel-detached-max-height:80vh}/*!@.content--detached*/.content--detached.sc-calcite-shell-panel{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),\n.content--detached ::slotted(calcite-flow)*/.content--detached .sc-calcite-shell-panel-s>calcite-panel,.content--detached .sc-calcite-shell-panel-s>calcite-flow{max-height:unset}/*!@:host([position=start]) .content--detached ::slotted(calcite-panel),\n:host([position=start]) .content--detached ::slotted(calcite-flow),\n:host([position=end]) .content--detached ::slotted(calcite-panel),\n:host([position=end]) .content--detached ::slotted(calcite-flow)*/.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=start] .content--detached .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-panel,.sc-calcite-shell-panel-h[position=end] .content--detached .sc-calcite-shell-panel-s>calcite-flow{border-style:none}/*!@.content[hidden]*/.content[hidden].sc-calcite-shell-panel{display:none}/*!@slot[name=action-bar]::slotted(calcite-action-bar),\n.content ::slotted(calcite-flow),\n.content ::slotted(calcite-panel)*/slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.content .sc-calcite-shell-panel-s>calcite-flow,.content .sc-calcite-shell-panel-s>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),\n:host([position=start]) .content ::slotted(calcite-flow),\n:host([position=start]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=start] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=start] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-start:none;border-inline-start:none}/*!@:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),\n:host([position=end]) .content ::slotted(calcite-flow),\n:host([position=end]) .content ::slotted(calcite-panel)*/.sc-calcite-shell-panel-h[position=end] slot[name=action-bar].sc-calcite-shell-panel-s>calcite-action-bar,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-flow,.sc-calcite-shell-panel-h[position=end] .content .sc-calcite-shell-panel-s>calcite-panel{-webkit-border-end:none;border-inline-end:none}";
24057
24088
 
24058
24089
  /**
24059
24090
  * @slot - A slot for adding content to the shell panel.
@@ -24084,10 +24115,121 @@ class CalciteShellPanel {
24084
24115
  * This sets width of the content area.
24085
24116
  */
24086
24117
  this.widthScale = "m";
24118
+ /**
24119
+ * Accessible label for resize separator.
24120
+ * @default "Resize"
24121
+ */
24122
+ this.intlResize = TEXT$3.resize;
24123
+ /**
24124
+ * This property makes the content area resizable if the calcite-shell-panel is not 'detached'.
24125
+ */
24126
+ this.resizable = false;
24127
+ this.contentWidth = null;
24128
+ this.initialContentWidth = null;
24129
+ this.initialClientX = null;
24130
+ this.contentWidthMax = null;
24131
+ this.contentWidthMin = null;
24132
+ this.step = 1;
24133
+ this.stepMultiplier = 10;
24134
+ this.storeContentEl = (contentEl) => {
24135
+ this.contentEl = contentEl;
24136
+ };
24137
+ this.getKeyAdjustedWidth = (event) => {
24138
+ const { key } = event;
24139
+ const { step, stepMultiplier, contentWidthMin, contentWidthMax, initialContentWidth, position } = this;
24140
+ const multipliedStep = step * stepMultiplier;
24141
+ const MOVEMENT_KEYS = [
24142
+ "ArrowUp",
24143
+ "ArrowDown",
24144
+ "ArrowLeft",
24145
+ "ArrowRight",
24146
+ "Home",
24147
+ "End",
24148
+ "PageUp",
24149
+ "PageDown"
24150
+ ];
24151
+ if (MOVEMENT_KEYS.indexOf(key) > -1) {
24152
+ event.preventDefault();
24153
+ }
24154
+ const increaseKeys = key === "ArrowUp" || (position === "end" ? key === "ArrowLeft" : key === "ArrowRight");
24155
+ if (increaseKeys) {
24156
+ const stepValue = event.shiftKey ? multipliedStep : step;
24157
+ return initialContentWidth + stepValue;
24158
+ }
24159
+ const decreaseKeys = key === "ArrowDown" || (position === "end" ? key === "ArrowRight" : key === "ArrowLeft");
24160
+ if (decreaseKeys) {
24161
+ const stepValue = event.shiftKey ? multipliedStep : step;
24162
+ return initialContentWidth - stepValue;
24163
+ }
24164
+ if (typeof contentWidthMin === "number" && key === "Home") {
24165
+ return contentWidthMin;
24166
+ }
24167
+ if (typeof contentWidthMax === "number" && key === "End") {
24168
+ return contentWidthMax;
24169
+ }
24170
+ if (key === "PageDown") {
24171
+ return initialContentWidth - multipliedStep;
24172
+ }
24173
+ if (key === "PageUp") {
24174
+ return initialContentWidth + multipliedStep;
24175
+ }
24176
+ return null;
24177
+ };
24178
+ this.separatorKeyDown = (event) => {
24179
+ this.setInitialContentWidth();
24180
+ const width = this.getKeyAdjustedWidth(event);
24181
+ if (typeof width === "number") {
24182
+ this.setContentWidth(width);
24183
+ }
24184
+ };
24185
+ this.separatorPointerMove = (event) => {
24186
+ event.preventDefault();
24187
+ const { initialContentWidth, position, initialClientX } = this;
24188
+ const offset = event.clientX - initialClientX;
24189
+ this.setContentWidth(position === "end" ? initialContentWidth - offset : initialContentWidth + offset);
24190
+ };
24191
+ this.separatorPointerUp = (event) => {
24192
+ event.preventDefault();
24193
+ document.removeEventListener("pointerup", this.separatorPointerUp);
24194
+ document.removeEventListener("pointermove", this.separatorPointerMove);
24195
+ };
24196
+ this.setInitialContentWidth = () => {
24197
+ var _a;
24198
+ this.initialContentWidth = (_a = this.contentEl) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width;
24199
+ };
24200
+ this.separatorPointerDown = (event) => {
24201
+ event.preventDefault();
24202
+ const { separatorEl } = this;
24203
+ separatorEl && document.activeElement !== separatorEl && separatorEl.focus();
24204
+ this.setInitialContentWidth();
24205
+ this.initialClientX = event.clientX;
24206
+ document.addEventListener("pointerup", this.separatorPointerUp);
24207
+ document.addEventListener("pointermove", this.separatorPointerMove);
24208
+ };
24209
+ this.connectSeparator = (separatorEl) => {
24210
+ this.disconnectSeparator();
24211
+ this.separatorEl = separatorEl;
24212
+ separatorEl.addEventListener("pointerdown", this.separatorPointerDown);
24213
+ };
24214
+ this.disconnectSeparator = () => {
24215
+ var _a;
24216
+ (_a = this.separatorEl) === null || _a === void 0 ? void 0 : _a.removeEventListener("pointerdown", this.separatorPointerDown);
24217
+ };
24087
24218
  }
24088
24219
  watchHandler() {
24089
24220
  this.calciteShellPanelToggle.emit();
24090
24221
  }
24222
+ //--------------------------------------------------------------------------
24223
+ //
24224
+ // Lifecycle
24225
+ //
24226
+ //--------------------------------------------------------------------------
24227
+ disconnectedCallback() {
24228
+ this.disconnectSeparator();
24229
+ }
24230
+ componentDidLoad() {
24231
+ this.updateAriaValues();
24232
+ }
24091
24233
  // --------------------------------------------------------------------------
24092
24234
  //
24093
24235
  // Render Methods
@@ -24099,15 +24241,50 @@ class CalciteShellPanel {
24099
24241
  return hasHeader ? (hAsync("div", { class: CSS$8.contentHeader }, hAsync("slot", { name: SLOTS$5.header }))) : null;
24100
24242
  }
24101
24243
  render() {
24102
- const { collapsed, detached, position } = this;
24103
- const contentNode = (hAsync("div", { class: { [CSS$8.content]: true, [CSS$8.contentDetached]: detached }, hidden: collapsed }, this.renderHeader(), hAsync("div", { class: CSS$8.contentBody }, hAsync("slot", null))));
24244
+ const { collapsed, detached, position, initialContentWidth, contentWidth, contentWidthMax, contentWidthMin, intlResize, resizable } = this;
24245
+ const allowResizing = !detached && resizable;
24246
+ const contentNode = (hAsync("div", { class: { [CSS$8.content]: true, [CSS$8.contentDetached]: detached }, hidden: collapsed, ref: this.storeContentEl, style: allowResizing && contentWidth ? { width: `${contentWidth}px` } : null }, this.renderHeader(), hAsync("div", { class: CSS$8.contentBody }, hAsync("slot", null))));
24247
+ const separatorNode = allowResizing ? (hAsync("div", { "aria-label": intlResize, "aria-orientation": "horizontal", "aria-valuemax": contentWidthMax, "aria-valuemin": contentWidthMin, "aria-valuenow": contentWidth !== null && contentWidth !== void 0 ? contentWidth : initialContentWidth, class: CSS$8.separator, onKeyDown: this.separatorKeyDown, ref: this.connectSeparator, role: "separator", tabIndex: 0, "touch-action": "none" })) : null;
24104
24248
  const actionBarNode = hAsync("slot", { name: SLOTS$5.actionBar });
24105
- const mainNodes = [actionBarNode, contentNode];
24249
+ const mainNodes = [actionBarNode, contentNode, separatorNode];
24106
24250
  if (position === "end") {
24107
24251
  mainNodes.reverse();
24108
24252
  }
24109
24253
  return hAsync("div", { class: { [CSS$8.container]: true } }, mainNodes);
24110
24254
  }
24255
+ // --------------------------------------------------------------------------
24256
+ //
24257
+ // private Methods
24258
+ //
24259
+ // --------------------------------------------------------------------------
24260
+ setContentWidth(width) {
24261
+ const { contentWidthMax, contentWidthMin } = this;
24262
+ const roundedWidth = Math.round(width);
24263
+ this.contentWidth =
24264
+ typeof contentWidthMax === "number" && typeof contentWidthMin === "number"
24265
+ ? clamp(roundedWidth, contentWidthMin, contentWidthMax)
24266
+ : roundedWidth;
24267
+ }
24268
+ updateAriaValues() {
24269
+ const { contentEl } = this;
24270
+ const computedStyle = contentEl && getComputedStyle(contentEl);
24271
+ if (!computedStyle) {
24272
+ return;
24273
+ }
24274
+ const max = parseInt(computedStyle.getPropertyValue("max-width"), 10);
24275
+ const min = parseInt(computedStyle.getPropertyValue("min-width"), 10);
24276
+ const valueNow = parseInt(computedStyle.getPropertyValue("width"), 10);
24277
+ if (typeof valueNow === "number" && !isNaN(valueNow)) {
24278
+ this.initialContentWidth = valueNow;
24279
+ }
24280
+ if (typeof max === "number" && !isNaN(max)) {
24281
+ this.contentWidthMax = max;
24282
+ }
24283
+ if (typeof min === "number" && !isNaN(min)) {
24284
+ this.contentWidthMin = min;
24285
+ }
24286
+ forceUpdate$1(this);
24287
+ }
24111
24288
  get el() { return getElement(this); }
24112
24289
  static get watchers() { return {
24113
24290
  "collapsed": ["watchHandler"]
@@ -24121,11 +24298,14 @@ class CalciteShellPanel {
24121
24298
  "detached": [516],
24122
24299
  "detachedHeightScale": [513, "detached-height-scale"],
24123
24300
  "widthScale": [513, "width-scale"],
24124
- "position": [513]
24301
+ "position": [513],
24302
+ "intlResize": [1, "intl-resize"],
24303
+ "resizable": [516],
24304
+ "contentWidth": [32]
24125
24305
  },
24126
24306
  "$listeners$": undefined,
24127
24307
  "$lazyBundleId$": "-",
24128
- "$attrsToReflect$": [["collapsed", "collapsed"], ["detached", "detached"], ["detachedHeightScale", "detached-height-scale"], ["widthScale", "width-scale"], ["position", "position"]]
24308
+ "$attrsToReflect$": [["collapsed", "collapsed"], ["detached", "detached"], ["detachedHeightScale", "detached-height-scale"], ["widthScale", "width-scale"], ["position", "position"], ["resizable", "resizable"]]
24129
24309
  }; }
24130
24310
  }
24131
24311