@esri/calcite-components 1.0.0-next.319 → 1.0.0-next.322

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 (84) hide show
  1. package/dist/calcite/calcite.esm.js +1 -1
  2. package/dist/calcite/p-04bce033.entry.js +5 -0
  3. package/dist/calcite/p-1480eb2d.entry.js +5 -0
  4. package/dist/calcite/p-414ce3c1.system.entry.js +5 -0
  5. package/dist/calcite/p-4d4ba7df.entry.js +5 -0
  6. package/dist/calcite/{p-8b2d4eac.system.entry.js → p-4e95e13d.system.entry.js} +1 -1
  7. package/dist/calcite/p-58208234.system.entry.js +5 -0
  8. package/dist/calcite/{p-9be50494.entry.js → p-77600274.entry.js} +1 -1
  9. package/dist/calcite/p-8e252799.system.js +1 -1
  10. package/dist/calcite/{p-f97e1a2d.entry.js → p-a57aa5d0.entry.js} +1 -1
  11. package/dist/calcite/{p-6c5b849f.system.entry.js → p-ac417011.system.entry.js} +1 -1
  12. package/dist/calcite/p-ad617a5a.entry.js +5 -0
  13. package/dist/calcite/p-ed82600e.system.entry.js +5 -0
  14. package/dist/calcite/p-fa9a1d8f.system.entry.js +5 -0
  15. package/dist/cjs/calcite-button.cjs.entry.js +2 -2
  16. package/dist/cjs/calcite-combobox_3.cjs.entry.js +4 -1
  17. package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +349 -223
  18. package/dist/cjs/calcite-label.cjs.entry.js +1 -1
  19. package/dist/cjs/calcite-option_3.cjs.entry.js +3 -1
  20. package/dist/cjs/{calcite-radio_2.cjs.entry.js → calcite-radio-button.cjs.entry.js} +2 -43
  21. package/dist/cjs/calcite.cjs.js +1 -1
  22. package/dist/cjs/loader.cjs.js +1 -1
  23. package/dist/collection/collection-manifest.json +5 -7
  24. package/dist/collection/components/calcite-button/calcite-button.js +3 -2
  25. package/dist/collection/components/calcite-combobox/calcite-combobox.js +4 -1
  26. package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +81 -76
  27. package/dist/collection/components/calcite-label/calcite-label.css +0 -1
  28. package/dist/collection/components/calcite-option/calcite-option.js +3 -1
  29. package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +69 -0
  30. package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +1 -1
  31. package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +56 -91
  32. package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +254 -289
  33. package/dist/collection/components/calcite-time-picker/resources.js +15 -9
  34. package/dist/collection/utils/time.js +144 -36
  35. package/dist/components/calcite-button2.js +2 -2
  36. package/dist/components/calcite-combobox.js +4 -1
  37. package/dist/components/calcite-input-time-picker.js +51 -48
  38. package/dist/components/calcite-label2.js +1 -1
  39. package/dist/components/calcite-option.js +3 -1
  40. package/dist/components/calcite-radio-button.js +3 -9
  41. package/dist/components/calcite-time-picker2.js +320 -187
  42. package/dist/custom-elements/index.d.ts +0 -6
  43. package/dist/custom-elements/index.js +364 -277
  44. package/dist/esm/calcite-button.entry.js +2 -2
  45. package/dist/esm/calcite-combobox_3.entry.js +4 -1
  46. package/dist/esm/calcite-input-time-picker_2.entry.js +349 -223
  47. package/dist/esm/calcite-label.entry.js +1 -1
  48. package/dist/esm/calcite-option_3.entry.js +3 -1
  49. package/dist/esm/{calcite-radio_2.entry.js → calcite-radio-button.entry.js} +4 -44
  50. package/dist/esm/calcite.js +1 -1
  51. package/dist/esm/loader.js +1 -1
  52. package/dist/esm-es5/calcite-button.entry.js +1 -1
  53. package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
  54. package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
  55. package/dist/esm-es5/calcite-label.entry.js +1 -1
  56. package/dist/esm-es5/calcite-option_3.entry.js +1 -1
  57. package/dist/esm-es5/calcite-radio-button.entry.js +5 -0
  58. package/dist/esm-es5/calcite.js +1 -1
  59. package/dist/esm-es5/loader.js +1 -1
  60. package/dist/extras/docs-json.json +24 -211
  61. package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +12 -4
  62. package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +35 -23
  63. package/dist/types/components/calcite-time-picker/resources.d.ts +14 -8
  64. package/dist/types/components.d.ts +16 -93
  65. package/dist/types/preact.d.ts +0 -2
  66. package/dist/types/utils/time.d.ts +18 -5
  67. package/hydrate/index.js +381 -296
  68. package/package.json +1 -1
  69. package/readme.md +2 -2
  70. package/dist/calcite/p-12a9599d.system.entry.js +0 -5
  71. package/dist/calcite/p-1e4955d7.entry.js +0 -5
  72. package/dist/calcite/p-2b137143.system.entry.js +0 -5
  73. package/dist/calcite/p-35c5e6bd.entry.js +0 -5
  74. package/dist/calcite/p-4af85388.system.entry.js +0 -5
  75. package/dist/calcite/p-9634f89d.entry.js +0 -5
  76. package/dist/calcite/p-a98e5444.system.entry.js +0 -5
  77. package/dist/calcite/p-fccc1605.entry.js +0 -5
  78. package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
  79. package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
  80. package/dist/components/calcite-radio.d.ts +0 -11
  81. package/dist/components/calcite-radio.js +0 -10
  82. package/dist/components/calcite-radio2.js +0 -71
  83. package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
  84. package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
@@ -3516,11 +3516,11 @@ let CalciteButton$1 = class extends HTMLElement$1 {
3516
3516
  render() {
3517
3517
  const dir = getElementDir(this.el);
3518
3518
  const Tag = this.childElType;
3519
- const loader = (h("div", { class: CSS$I.buttonLoader }, this.hasLoader ? (h("calcite-loader", { active: true, class: this.loading ? CSS$I.loadingIn : CSS$I.loadingOut, inline: true, label: this.intlLoading, scale: "m" })) : null));
3519
+ const loaderNode = this.hasLoader ? (h("div", { class: CSS$I.buttonLoader }, h("calcite-loader", { active: true, class: this.loading ? CSS$I.loadingIn : CSS$I.loadingOut, inline: true, label: this.intlLoading, scale: "m" }))) : null;
3520
3520
  const iconStartEl = (h("calcite-icon", { class: { [CSS$I.icon]: true, [CSS$I.iconStart]: true }, flipRtl: this.iconFlipRtl === "start" || this.iconFlipRtl === "both", icon: this.iconStart, scale: "s" }));
3521
3521
  const iconEndEl = (h("calcite-icon", { class: { [CSS$I.icon]: true, [CSS$I.iconEnd]: true }, flipRtl: this.iconFlipRtl === "end" || this.iconFlipRtl === "both", icon: this.iconEnd, scale: "s" }));
3522
3522
  const contentEl = (h("span", { class: CSS$I.content }, h("slot", null)));
3523
- return (h(Tag, { "aria-label": getLabelText(this), class: { [CSS_UTILITY.rtl]: dir === "rtl", [CSS$I.contentSlotted]: this.hasContent }, disabled: this.disabled || this.loading, href: this.childElType === "a" && this.href, name: this.childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: this.childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: this.childElType === "a" && this.target, type: this.childElType === "button" && this.type }, loader, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
3523
+ return (h(Tag, { "aria-label": getLabelText(this), class: { [CSS_UTILITY.rtl]: dir === "rtl", [CSS$I.contentSlotted]: this.hasContent }, disabled: this.disabled || this.loading, href: this.childElType === "a" && this.href, name: this.childElType === "button" && this.name, onClick: this.handleClick, ref: (el) => (this.childEl = el), rel: this.childElType === "a" && this.rel, tabIndex: this.disabled || this.loading ? -1 : null, target: this.childElType === "a" && this.target, type: this.childElType === "button" && this.type }, loaderNode, this.iconStart ? iconStartEl : null, this.hasContent ? contentEl : null, this.iconEnd ? iconEndEl : null));
3524
3524
  }
3525
3525
  //--------------------------------------------------------------------------
3526
3526
  //
@@ -9327,7 +9327,9 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
9327
9327
  };
9328
9328
  this.setInactiveIfNotContained = (event) => {
9329
9329
  const composedPath = event.composedPath();
9330
- if (!this.active || composedPath.includes(this.el) || composedPath.includes(this.referenceEl)) {
9330
+ if ((!this.active && !this.open) ||
9331
+ composedPath.includes(this.el) ||
9332
+ composedPath.includes(this.referenceEl)) {
9331
9333
  return;
9332
9334
  }
9333
9335
  if (this.allowCustomValues && this.text) {
@@ -9342,6 +9344,7 @@ let CalciteCombobox$1 = class extends HTMLElement$1 {
9342
9344
  this.updateActiveItemIndex(-1);
9343
9345
  }
9344
9346
  this.active = false;
9347
+ this.open = false;
9345
9348
  };
9346
9349
  this.setMenuEl = (el) => {
9347
9350
  this.menuEl = el;
@@ -13706,6 +13709,72 @@ let CalciteInputMessage$1 = class extends HTMLElement$1 {
13706
13709
  };
13707
13710
 
13708
13711
  const maxTenthForMinuteAndSecond = 5;
13712
+ function createLocaleDateTimeFormatter(locale, includeSeconds = true) {
13713
+ try {
13714
+ const options = {
13715
+ hour: "2-digit",
13716
+ minute: "2-digit",
13717
+ timeZone: "UTC"
13718
+ };
13719
+ if (includeSeconds) {
13720
+ options.second = "2-digit";
13721
+ }
13722
+ return new Intl.DateTimeFormat(locale, options);
13723
+ }
13724
+ catch (e) {
13725
+ throw new Error(`Invalid locale supplied while attempting to create a DateTime formatter: ${locale}`);
13726
+ }
13727
+ }
13728
+ function formatTimePart(number) {
13729
+ const numberAsString = number.toString();
13730
+ return number >= 0 && number <= 9 ? numberAsString.padStart(2, "0") : numberAsString;
13731
+ }
13732
+ function formatTimeString(value) {
13733
+ if (!isValidTime(value)) {
13734
+ return null;
13735
+ }
13736
+ const [hourString, minuteString, secondString] = value.split(":");
13737
+ const hour = formatTimePart(parseInt(hourString));
13738
+ const minute = formatTimePart(parseInt(minuteString));
13739
+ if (secondString) {
13740
+ const second = formatTimePart(parseInt(secondString));
13741
+ return `${hour}:${minute}:${second}`;
13742
+ }
13743
+ return `${hour}:${minute}`;
13744
+ }
13745
+ function getLocaleHourCycle(locale) {
13746
+ const formatter = createLocaleDateTimeFormatter(locale);
13747
+ const parts = formatter.formatToParts(new Date(Date.UTC(0, 0, 0, 0, 0, 0)));
13748
+ return getLocalizedTimePart("meridiem", parts) ? "12" : "24";
13749
+ }
13750
+ function getLocalizedTimePart(part, parts) {
13751
+ var _a, _b, _c, _d;
13752
+ if (!part || !parts) {
13753
+ return null;
13754
+ }
13755
+ if (part === "hourSuffix") {
13756
+ const hourIndex = parts.indexOf(parts.find(({ type }) => type === "hour"));
13757
+ const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
13758
+ const hourSuffix = parts[hourIndex + 1];
13759
+ return hourSuffix && hourSuffix.type === "literal" && minuteIndex - hourIndex === 2
13760
+ ? ((_a = hourSuffix.value) === null || _a === void 0 ? void 0 : _a.trim()) || null
13761
+ : null;
13762
+ }
13763
+ if (part === "minuteSuffix") {
13764
+ const minuteIndex = parts.indexOf(parts.find(({ type }) => type === "minute"));
13765
+ const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
13766
+ const minuteSuffix = parts[minuteIndex + 1];
13767
+ return minuteSuffix && minuteSuffix.type === "literal" && secondIndex - minuteIndex === 2
13768
+ ? ((_b = minuteSuffix.value) === null || _b === void 0 ? void 0 : _b.trim()) || null
13769
+ : null;
13770
+ }
13771
+ if (part === "secondSuffix") {
13772
+ const secondIndex = parts.indexOf(parts.find(({ type }) => type === "second"));
13773
+ const secondSuffix = parts[secondIndex + 1];
13774
+ return secondSuffix && secondSuffix.type === "literal" ? ((_c = secondSuffix.value) === null || _c === void 0 ? void 0 : _c.trim()) || null : null;
13775
+ }
13776
+ return ((_d = parts.find(({ type }) => (part == "meridiem" ? type === "dayPeriod" : type === part))) === null || _d === void 0 ? void 0 : _d.value) || null;
13777
+ }
13709
13778
  function getMeridiem(hour) {
13710
13779
  if (!isValidNumber(hour)) {
13711
13780
  return null;
@@ -13713,51 +13782,93 @@ function getMeridiem(hour) {
13713
13782
  const hourAsNumber = parseInt(hour);
13714
13783
  return hourAsNumber >= 0 && hourAsNumber <= 11 ? "AM" : "PM";
13715
13784
  }
13716
- function getMeridiemHour(hour) {
13717
- if (!isValidNumber(hour)) {
13718
- return null;
13785
+ function isValidTime(value) {
13786
+ if (!value || value.startsWith(":") || value.endsWith(":")) {
13787
+ return false;
13719
13788
  }
13720
- const hourAsNumber = parseInt(hour);
13721
- if (hourAsNumber === 0) {
13722
- return "12";
13789
+ const splitValue = value.split(":");
13790
+ const validLength = splitValue.length > 1 && splitValue.length < 4;
13791
+ if (!validLength) {
13792
+ return false;
13793
+ }
13794
+ const [hour, minute, second] = splitValue;
13795
+ const hourAsNumber = parseInt(splitValue[0]);
13796
+ const minuteAsNumber = parseInt(splitValue[1]);
13797
+ const secondAsNumber = parseInt(splitValue[2]);
13798
+ const hourValid = isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
13799
+ const minuteValid = isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
13800
+ const secondValid = isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
13801
+ if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
13802
+ return true;
13723
13803
  }
13724
- return hourAsNumber > 12 ? formatTimePart(hourAsNumber - 12) : hour;
13725
13804
  }
13726
- function parseTimeString(value) {
13727
- const timeString = formatTimeString(value);
13728
- const [hour, minute, second] = timeString ? timeString.split(":") : [null, null, null];
13729
- return {
13730
- hour,
13731
- minute,
13732
- second: second || (hour && minute ? "00" : null)
13733
- };
13805
+ function isValidTimePart(value, part) {
13806
+ if (part === "meridiem") {
13807
+ return value === "AM" || value === "PM";
13808
+ }
13809
+ if (!isValidNumber(value)) {
13810
+ return false;
13811
+ }
13812
+ const valueAsNumber = Number(value);
13813
+ return part === "hour" ? valueAsNumber >= 0 && valueAsNumber < 24 : valueAsNumber >= 0 && valueAsNumber < 60;
13734
13814
  }
13735
- function formatTimeString(value) {
13736
- if (!value || value.endsWith(":") || value.startsWith(":")) {
13815
+ function localizeTimePart(value, part, locale) {
13816
+ if (!isValidTimePart(value, part)) {
13817
+ return;
13818
+ }
13819
+ const valueAsNumber = parseInt(value);
13820
+ const date = new Date(Date.UTC(0, 0, 0, part === "hour" ? valueAsNumber : part === "meridiem" ? (value === "AM" ? 0 : 12) : 0, part === "minute" ? valueAsNumber : 0, part === "second" ? valueAsNumber : 0));
13821
+ if (!date) {
13822
+ return;
13823
+ }
13824
+ const formatter = createLocaleDateTimeFormatter(locale);
13825
+ const parts = formatter.formatToParts(date);
13826
+ return getLocalizedTimePart(part, parts);
13827
+ }
13828
+ function localizeTimeString(value, locale = "en", includeSeconds = true) {
13829
+ if (!isValidTime(value)) {
13737
13830
  return null;
13738
13831
  }
13739
- const splitValue = value.split(":");
13740
- if (splitValue.length > 1) {
13741
- const [hour, minute, second] = splitValue;
13742
- const hourAsNumber = parseInt(splitValue[0]);
13743
- const minuteAsNumber = parseInt(splitValue[1]);
13744
- const secondAsNumber = parseInt(splitValue[2]);
13745
- const hourValid = isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
13746
- const minuteValid = isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
13747
- const secondValid = isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
13748
- if ((hourValid && minuteValid && !second) || (hourValid && minuteValid && secondValid)) {
13749
- let newValue = `${formatTimePart(hourAsNumber)}:${formatTimePart(minuteAsNumber)}`;
13750
- if (secondValid) {
13751
- newValue = `${newValue}:${formatTimePart(secondAsNumber)}`;
13752
- }
13753
- return newValue;
13754
- }
13832
+ const { hour, minute, second = "0" } = parseTimeString(value);
13833
+ const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
13834
+ const formatter = createLocaleDateTimeFormatter(locale, includeSeconds);
13835
+ return (formatter === null || formatter === void 0 ? void 0 : formatter.format(dateFromTimeString)) || null;
13836
+ }
13837
+ function localizeTimeStringToParts(value, locale = "en") {
13838
+ if (!isValidTime(value)) {
13839
+ return null;
13840
+ }
13841
+ const { hour, minute, second = "0" } = parseTimeString(value);
13842
+ const dateFromTimeString = new Date(Date.UTC(0, 0, 0, parseInt(hour), parseInt(minute), parseInt(second)));
13843
+ if (dateFromTimeString) {
13844
+ const formatter = createLocaleDateTimeFormatter(locale);
13845
+ const parts = formatter.formatToParts(dateFromTimeString);
13846
+ return {
13847
+ localizedHour: getLocalizedTimePart("hour", parts),
13848
+ localizedHourSuffix: getLocalizedTimePart("hourSuffix", parts),
13849
+ localizedMinute: getLocalizedTimePart("minute", parts),
13850
+ localizedMinuteSuffix: getLocalizedTimePart("minuteSuffix", parts),
13851
+ localizedSecond: getLocalizedTimePart("second", parts),
13852
+ localizedSecondSuffix: getLocalizedTimePart("secondSuffix", parts),
13853
+ localizedMeridiem: getLocalizedTimePart("meridiem", parts)
13854
+ };
13755
13855
  }
13756
13856
  return null;
13757
13857
  }
13758
- function formatTimePart(number) {
13759
- const numberAsString = number.toString();
13760
- return number >= 0 && number <= 9 ? numberAsString.padStart(2, "0") : numberAsString;
13858
+ function parseTimeString(value) {
13859
+ if (isValidTime(value)) {
13860
+ const [hour, minute, second] = value.split(":");
13861
+ return {
13862
+ hour,
13863
+ minute,
13864
+ second
13865
+ };
13866
+ }
13867
+ return {
13868
+ hour: null,
13869
+ minute: null,
13870
+ second: null
13871
+ };
13761
13872
  }
13762
13873
 
13763
13874
  const calciteInputTimePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
@@ -13777,8 +13888,11 @@ let CalciteInputTimePicker$1 = class extends HTMLElement$1 {
13777
13888
  this.active = false;
13778
13889
  /** The disabled state of the time input */
13779
13890
  this.disabled = false;
13780
- /** Format of the hour value (12-hour or 24-hour) (this will be replaced by locale eventually) */
13781
- this.hourDisplayFormat = "12";
13891
+ /**
13892
+ * BCP 47 language tag for desired language and country format
13893
+ * @internal
13894
+ */
13895
+ this.locale = document.documentElement.lang || navigator.language || "en";
13782
13896
  /**
13783
13897
  * When true, makes the component required for form-submission.
13784
13898
  *
@@ -13802,56 +13916,60 @@ let CalciteInputTimePicker$1 = class extends HTMLElement$1 {
13802
13916
  //--------------------------------------------------------------------------
13803
13917
  this.calciteInputBlurHandler = () => {
13804
13918
  this.active = false;
13805
- const newValue = formatTimeString(this.calciteInputEl.value) || formatTimeString(this.value);
13806
- if (newValue !== this.calciteInputEl.value) {
13807
- this.setInputValue(newValue);
13808
- }
13919
+ const shouldIncludeSeconds = this.shouldIncludeSeconds();
13920
+ const localizedInputValue = localizeTimeString(this.calciteInputEl.value, this.locale, shouldIncludeSeconds);
13921
+ this.setInputValue(localizedInputValue || localizeTimeString(this.value, this.locale, shouldIncludeSeconds));
13809
13922
  };
13810
13923
  this.calciteInputFocusHandler = () => {
13811
13924
  this.active = true;
13812
13925
  };
13813
13926
  this.calciteInputInputHandler = (event) => {
13814
- this.setValue({ value: event.detail.value });
13927
+ const target = event.target;
13928
+ this.setValue({ value: target.value });
13929
+ };
13930
+ this.timePickerChangeHandler = (event) => {
13931
+ event.stopPropagation();
13932
+ const target = event.target;
13933
+ const value = target.value;
13934
+ this.setValue({ value, origin: "time-picker" });
13815
13935
  };
13816
13936
  this.setCalciteInputEl = (el) => {
13817
13937
  this.calciteInputEl = el;
13818
13938
  };
13939
+ this.setCalciteTimePickerEl = (el) => {
13940
+ this.calciteTimePickerEl = el;
13941
+ };
13819
13942
  this.setInputValue = (newInputValue) => {
13820
13943
  if (!this.calciteInputEl) {
13821
13944
  return;
13822
13945
  }
13823
- if (this.hourDisplayFormat === "12") {
13824
- const { hour, minute, second } = parseTimeString(newInputValue);
13825
- this.calciteInputEl.value = newInputValue
13826
- ? `${getMeridiemHour(hour)}:${minute}${this.step !== 60 ? ":" + second : ""} ${getMeridiem(hour)}`
13827
- : null;
13828
- }
13829
- else {
13830
- this.calciteInputEl.value = newInputValue;
13831
- }
13946
+ this.calciteInputEl.value = newInputValue;
13832
13947
  };
13833
13948
  this.setValue = ({ value, origin = "input" }) => {
13834
13949
  const previousValue = this.value;
13835
- const validatedNewValue = formatTimeString(value);
13950
+ const newValue = formatTimeString(value);
13951
+ const newLocalizedValue = localizeTimeString(newValue, this.locale, this.shouldIncludeSeconds());
13836
13952
  this.internalValueChange = origin !== "external" && origin !== "loading";
13837
13953
  const shouldEmit = origin !== "loading" &&
13838
13954
  origin !== "external" &&
13839
13955
  ((value !== this.previousValidValue && !value) ||
13840
- !!(!this.previousValidValue && validatedNewValue) ||
13841
- (validatedNewValue !== this.previousValidValue && validatedNewValue));
13956
+ !!(!this.previousValidValue && newValue) ||
13957
+ (newValue !== this.previousValidValue && newValue));
13842
13958
  if (value) {
13843
13959
  if (shouldEmit) {
13844
- this.previousValidValue = validatedNewValue;
13960
+ this.previousValidValue = newValue;
13845
13961
  }
13846
- if (validatedNewValue && validatedNewValue !== this.value) {
13847
- this.value = validatedNewValue;
13962
+ if (newValue && newValue !== this.value) {
13963
+ this.value = newValue;
13848
13964
  }
13965
+ this.localizedValue = newLocalizedValue;
13849
13966
  }
13850
13967
  else {
13851
13968
  this.value = value;
13969
+ this.localizedValue = null;
13852
13970
  }
13853
13971
  if (origin === "time-picker" || origin === "external") {
13854
- this.setInputValue(validatedNewValue);
13972
+ this.setInputValue(newLocalizedValue);
13855
13973
  }
13856
13974
  if (shouldEmit) {
13857
13975
  const changeEvent = this.calciteInputTimePickerChange.emit();
@@ -13862,17 +13980,26 @@ let CalciteInputTimePicker$1 = class extends HTMLElement$1 {
13862
13980
  this.previousValidValue = previousValue;
13863
13981
  }
13864
13982
  else {
13865
- this.previousValidValue = validatedNewValue;
13983
+ this.previousValidValue = newValue;
13866
13984
  }
13867
13985
  }
13868
13986
  };
13869
13987
  }
13988
+ localeWatcher(newLocale) {
13989
+ this.setInputValue(localizeTimeString(this.value, newLocale, this.shouldIncludeSeconds()));
13990
+ }
13870
13991
  valueWatcher(newValue) {
13871
13992
  if (!this.internalValueChange) {
13872
13993
  this.setValue({ value: newValue, origin: "external" });
13873
13994
  }
13874
13995
  this.internalValueChange = false;
13875
13996
  }
13997
+ clickHandler(event) {
13998
+ if (event.composedPath().includes(this.calciteTimePickerEl)) {
13999
+ return;
14000
+ }
14001
+ this.setFocus();
14002
+ }
13876
14003
  keyUpHandler(event) {
13877
14004
  if (event.key === "Escape" && this.active) {
13878
14005
  this.active = false;
@@ -13883,21 +14010,6 @@ let CalciteInputTimePicker$1 = class extends HTMLElement$1 {
13883
14010
  event.stopPropagation();
13884
14011
  this.active = false;
13885
14012
  }
13886
- timePickerChangeHandler(event) {
13887
- event.preventDefault();
13888
- event.stopPropagation();
13889
- if (event.detail) {
13890
- const { hour, minute, second } = event.detail;
13891
- let value;
13892
- if (hour && minute) {
13893
- value = second && this.step !== 60 ? `${hour}:${minute}:${second}` : `${hour}:${minute}`;
13894
- }
13895
- else {
13896
- value = "";
13897
- }
13898
- this.setValue({ value, origin: "time-picker" });
13899
- }
13900
- }
13901
14013
  timePickerFocusHandler(event) {
13902
14014
  event.preventDefault();
13903
14015
  event.stopPropagation();
@@ -13920,6 +14032,9 @@ let CalciteInputTimePicker$1 = class extends HTMLElement$1 {
13920
14032
  onLabelClick() {
13921
14033
  this.setFocus();
13922
14034
  }
14035
+ shouldIncludeSeconds() {
14036
+ return this.step < 60;
14037
+ }
13923
14038
  //--------------------------------------------------------------------------
13924
14039
  //
13925
14040
  // Lifecycle
@@ -13927,15 +14042,13 @@ let CalciteInputTimePicker$1 = class extends HTMLElement$1 {
13927
14042
  //--------------------------------------------------------------------------
13928
14043
  connectedCallback() {
13929
14044
  if (this.value) {
13930
- this.setValue({ value: this.value, origin: "loading" });
14045
+ this.setValue({ value: isValidTime(this.value) ? this.value : undefined, origin: "loading" });
13931
14046
  }
13932
14047
  connectLabel(this);
13933
14048
  connectForm(this);
13934
14049
  }
13935
14050
  componentDidLoad() {
13936
- if (this.calciteInputEl.value !== this.value) {
13937
- this.setInputValue(this.value);
13938
- }
14051
+ this.setInputValue(this.localizedValue);
13939
14052
  }
13940
14053
  disconnectedCallback() {
13941
14054
  disconnectLabel(this);
@@ -13947,12 +14060,12 @@ let CalciteInputTimePicker$1 = class extends HTMLElement$1 {
13947
14060
  //
13948
14061
  // --------------------------------------------------------------------------
13949
14062
  render() {
13950
- const { hour, minute, second } = parseTimeString(this.value);
13951
14063
  const popoverId = `${this.referenceElementId}-popover`;
13952
- return (h(Host, null, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active || false, referenceElement: this.referenceElementId }, h("calcite-time-picker", { hour: hour, "hour-display-format": this.hourDisplayFormat, intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, minute: minute, scale: this.scale, second: second, step: this.step })), h(HiddenFormInputSlot, { component: this })));
14064
+ return (h(Host, null, h("div", { "aria-controls": popoverId, "aria-haspopup": "dialog", "aria-label": this.name, "aria-owns": popoverId, id: this.referenceElementId, role: "combobox" }, h("calcite-input", { disabled: this.disabled, icon: "clock", label: getLabelText(this), onCalciteInputBlur: this.calciteInputBlurHandler, onCalciteInputFocus: this.calciteInputFocusHandler, onCalciteInputInput: this.calciteInputInputHandler, ref: this.setCalciteInputEl, scale: this.scale, step: this.step })), h("calcite-popover", { id: popoverId, label: "Time Picker", open: this.active || false, referenceElement: this.referenceElementId }, h("calcite-time-picker", { intlHour: this.intlHour, intlHourDown: this.intlHourDown, intlHourUp: this.intlHourUp, intlMeridiem: this.intlMeridiem, intlMeridiemDown: this.intlMeridiemDown, intlMeridiemUp: this.intlMeridiemUp, intlMinute: this.intlMinute, intlMinuteDown: this.intlMinuteDown, intlMinuteUp: this.intlMinuteUp, intlSecond: this.intlSecond, intlSecondDown: this.intlSecondDown, intlSecondUp: this.intlSecondUp, lang: this.locale, onCalciteTimePickerChange: this.timePickerChangeHandler, ref: this.setCalciteTimePickerEl, scale: this.scale, step: this.step, value: this.value })), h(HiddenFormInputSlot, { component: this })));
13953
14065
  }
13954
14066
  get el() { return this; }
13955
14067
  static get watchers() { return {
14068
+ "locale": ["localeWatcher"],
13956
14069
  "value": ["valueWatcher"]
13957
14070
  }; }
13958
14071
  static get style() { return calciteInputTimePickerCss; }
@@ -13962,7 +14075,7 @@ const CSS$q = {
13962
14075
  container: "container"
13963
14076
  };
13964
14077
 
13965
- const calciteLabelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([alignment=start]),:host([alignment=end]) .calcite--rtl{text-align:left}:host([alignment=end]),:host([alignment=start]) .calcite--rtl{text-align:right}:host([alignment=center]){text-align:center}:host([scale=s]) .container{font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:0.5rem}:host([scale=m]) .container{font-size:var(--calcite-font-size--1);line-height:1rem;margin-bottom:0.75rem}:host([scale=l]) .container{font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-bottom:1rem}:host .container{color:var(--calcite-ui-text-1);cursor:pointer;width:100%;margin-top:0;margin-right:0;margin-left:0;line-height:1.375}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;grid-gap:0.25rem;gap:0.25rem}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;grid-gap:0.5rem;gap:0.5rem}:host([layout=inline][scale=l]) .container{grid-gap:0.75rem;gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--bg-opacity:0}:host([disable-spacing]) .container{grid-gap:0;gap:0;margin:0}";
14078
+ const calciteLabelCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host([alignment=start]),:host([alignment=end]) .calcite--rtl{text-align:left}:host([alignment=end]),:host([alignment=start]) .calcite--rtl{text-align:right}:host([alignment=center]){text-align:center}:host([scale=s]) .container{font-size:var(--calcite-font-size--2);line-height:1rem;margin-bottom:0.5rem}:host([scale=m]) .container{font-size:var(--calcite-font-size--1);line-height:1rem;margin-bottom:0.75rem}:host([scale=l]) .container{font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-bottom:1rem}:host .container{color:var(--calcite-ui-text-1);width:100%;margin-top:0;margin-right:0;margin-left:0;line-height:1.375}:host([layout=default]) .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;grid-gap:0.25rem;gap:0.25rem}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;grid-gap:0.5rem;gap:0.5rem}:host([layout=inline][scale=l]) .container{grid-gap:0.75rem;gap:0.75rem}:host([layout=inline-space-between]) .container{-ms-flex-pack:justify;justify-content:space-between}:host([disabled])>.container{pointer-events:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted(*){pointer-events:none}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--bg-opacity:0}:host([disable-spacing]) .container{grid-gap:0;gap:0;margin:0}";
13966
14079
 
13967
14080
  let CalciteLabel$1 = class extends HTMLElement$1 {
13968
14081
  constructor() {
@@ -14812,8 +14925,10 @@ let CalciteOption$1 = class extends HTMLElement$1 {
14812
14925
  var _a;
14813
14926
  this.ensureTextContentDependentProps();
14814
14927
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(this.el, {
14928
+ attributeFilter: ["label", "value"],
14929
+ characterData: true,
14815
14930
  childList: true,
14816
- attributeFilter: ["label", "value"]
14931
+ subtree: true
14817
14932
  });
14818
14933
  }
14819
14934
  disconnectedCallback() {
@@ -16284,53 +16399,11 @@ let CalciteProgress$1 = class extends HTMLElement$1 {
16284
16399
  static get style() { return calciteProgressCss; }
16285
16400
  };
16286
16401
 
16287
- const calciteRadioCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:block}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([hidden]){display:none}";
16288
-
16289
- let CalciteRadio$1 = class extends HTMLElement$1 {
16290
- constructor() {
16291
- super();
16292
- this.__registerHost();
16293
- this.__attachShadow();
16294
- //--------------------------------------------------------------------------
16295
- //
16296
- // Properties
16297
- //
16298
- //--------------------------------------------------------------------------
16299
- /** The checked state of the radio. */
16300
- this.checked = false;
16301
- /** The disabled state of the radio. */
16302
- this.disabled = false;
16303
- /**
16304
- * The focused state of the radio.
16305
- * @internal
16306
- */
16307
- this.focused = false;
16308
- /** The radio's hidden status. */
16309
- this.hidden = false;
16310
- /**
16311
- * The hovered state of the radio.
16312
- * @internal
16313
- */
16314
- this.hovered = false;
16315
- /** The scale (size) of the radio. */
16316
- this.scale = "m";
16317
- }
16318
- // --------------------------------------------------------------------------
16319
- //
16320
- // Render Methods
16321
- //
16322
- // --------------------------------------------------------------------------
16323
- render() {
16324
- return h("div", { class: "radio" });
16325
- }
16326
- static get style() { return calciteRadioCss; }
16327
- };
16328
-
16329
16402
  const CSS$e = {
16330
16403
  container: "container"
16331
16404
  };
16332
16405
 
16333
- const calciteRadioButtonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{cursor:pointer;display:block}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host([disabled]){cursor:pointer}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
16406
+ const calciteRadioButtonCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{cursor:pointer;display:block}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{background-color:var(--calcite-ui-foreground-1);border-radius:9999px;cursor:pointer;-webkit-transition-property:all;transition-property:all;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]) .radio{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([disabled]){cursor:pointer}:host([disabled]) .radio{cursor:default;opacity:var(--calcite-ui-opacity-disabled)}:host([hovered][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{height:var(--calcite-radio-size);max-width:var(--calcite-radio-size);min-width:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand)}:host([scale=s][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 4px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand)}:host([scale=m][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 5px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand)}:host([scale=l][focused][checked]) .radio{-webkit-box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand);box-shadow:inset 0 0 0 6px var(--calcite-ui-brand), 0 0 0 2px var(--calcite-ui-foreground-1), 0 0 0 4px var(--calcite-ui-brand)}::slotted(input[slot=hidden-form-input]){bottom:0 !important;left:0 !important;margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;right:0 !important;top:0 !important;-webkit-transform:none !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}";
16334
16407
 
16335
16408
  let CalciteRadioButton$1 = class extends HTMLElement$1 {
16336
16409
  constructor() {
@@ -16562,7 +16635,7 @@ let CalciteRadioButton$1 = class extends HTMLElement$1 {
16562
16635
  //
16563
16636
  // --------------------------------------------------------------------------
16564
16637
  render() {
16565
- return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: CSS$e.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, ref: this.setContainerEl, role: "radio", tabIndex: this.checked || this.isDefaultSelectable() ? 0 : -1 }, h("calcite-radio", { checked: this.checked, disabled: this.disabled, focused: this.focused, hidden: this.hidden, hovered: this.hovered, scale: this.scale })), h(HiddenFormInputSlot, { component: this })));
16638
+ return (h(Host, { onClick: this.clickHandler, onKeyDown: this.handleKeyDown }, h("div", { "aria-checked": this.checked.toString(), "aria-label": getLabelText(this), class: CSS$e.container, onBlur: this.onContainerBlur, onFocus: this.onContainerFocus, ref: this.setContainerEl, role: "radio", tabIndex: this.checked || this.isDefaultSelectable() ? 0 : -1 }, h("div", { class: "radio" })), h(HiddenFormInputSlot, { component: this })));
16566
16639
  }
16567
16640
  get el() { return this; }
16568
16641
  static get watchers() { return {
@@ -22943,26 +23016,32 @@ let CalciteTileSelectGroup$1 = class extends HTMLElement$1 {
22943
23016
  };
22944
23017
 
22945
23018
  const CSS$5 = {
23019
+ button: "button",
22946
23020
  buttonBottomLeft: "button--bottom-left",
22947
23021
  buttonBottomRight: "button--bottom-right",
22948
- button: "button",
22949
- delimiter: "delimiter",
22950
- hour: "hour",
22951
23022
  buttonHourDown: "button--hour-down",
22952
23023
  buttonHourUp: "button--hour-up",
22953
- input: "input",
22954
- meridiem: "meridiem",
22955
23024
  buttonMeridiemDown: "button--meridiem-down",
22956
23025
  buttonMeridiemUp: "button--meridiem-up",
22957
- minute: "minute",
22958
23026
  buttonMinuteDown: "button--minute-down",
22959
23027
  buttonMinuteUp: "button--minute-up",
22960
- second: "second",
22961
23028
  buttonSecondDown: "button--second-down",
22962
23029
  buttonSecondUp: "button--second-up",
22963
- timePicker: "time-picker",
22964
23030
  buttonTopLeft: "button--top-left",
22965
- buttonTopRight: "button--top-right"
23031
+ buttonTopRight: "button--top-right",
23032
+ column: "column",
23033
+ delimiter: "delimiter",
23034
+ hour: "hour",
23035
+ input: "input",
23036
+ meridiem: "meridiem",
23037
+ minute: "minute",
23038
+ second: "second",
23039
+ showMeridiem: "show-meridiem",
23040
+ showSecond: "show-second",
23041
+ "scale-s": "scale-s",
23042
+ "scale-m": "scale-m",
23043
+ "scale-l": "scale-l",
23044
+ timePicker: "time-picker"
22966
23045
  };
22967
23046
  const TEXT$2 = {
22968
23047
  hour: "Hour",
@@ -22979,8 +23058,11 @@ const TEXT$2 = {
22979
23058
  secondUp: "Increase second"
22980
23059
  };
22981
23060
 
22982
- const calciteTimePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{color:var(--calcite-ui-text-1);display:inline-block;font-weight:var(--calcite-font-weight-medium);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.time-picker{-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;border-radius:var(--calcite-border-radius)}span{-ms-flex-align:center;align-items:center;background-color:var(--calcite-ui-foreground-1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center}span.button{cursor:pointer}span.button:hover,span.button:focus{background-color:var(--calcite-ui-foreground-2)}span.button:focus{outline:2px solid transparent;outline-offset:2px}span.button:active{background-color:var(--calcite-ui-foreground-3)}span.button.top-left{border-top-left-radius:var(--calcite-border-radius)}span.button.bottom-left{border-bottom-left-radius:var(--calcite-border-radius)}span.button.top-right{border-top-right-radius:var(--calcite-border-radius)}span.button.bottom-right{border-bottom-right-radius:var(--calcite-border-radius)}span.button calcite-icon{color:var(--calcite-ui-text-3)}span.input{font-weight:var(--calcite-font-weight-medium);position:relative}span.input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}span.input:focus,span.input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}:host([scale=s]){font-size:var(--calcite-font-size--1)}:host([scale=s]) span{height:24px;width:40px}:host([scale=s]) .delimiter{height:72px}:host([scale=s][hour-display-format=\"12\"]) .time-picker{width:124.2px}:host([scale=s][hour-display-format=\"12\"]:not([step=\"60\"])) .time-picker{width:168px}:host([scale=s][hour-display-format=\"24\"]) .time-picker{width:84.2px}:host([scale=s][hour-display-format=\"24\"]:not([step=\"60\"])) .time-picker{width:128.4px}:host([scale=m]){font-size:var(--calcite-font-size-0)}:host([scale=m]) span{height:32px;width:44px}:host([scale=m]) .delimiter{height:96px}:host([scale=m][hour-display-format=\"12\"]) .time-picker{width:136.8px}:host([scale=m][hour-display-format=\"12\"]:not([step=\"60\"])) .time-picker{width:186px}:host([scale=m][hour-display-format=\"24\"]) .time-picker{width:92.8px}:host([scale=m][hour-display-format=\"24\"]:not([step=\"60\"])) .time-picker{width:141.6px}:host([scale=l]){font-size:var(--calcite-font-size-1)}:host([scale=l]) span{height:48px;width:64px}:host([scale=l]) .delimiter{height:144px}:host([scale=l][hour-display-format=\"12\"]) .time-picker{width:198px}:host([scale=l][hour-display-format=\"12\"]:not([step=\"60\"])) .time-picker{width:268px}:host([scale=l][hour-display-format=\"24\"]) .time-picker{width:134px}:host([scale=l][hour-display-format=\"24\"]:not([step=\"60\"])) .time-picker{width:204px}";
23061
+ const calciteTimePickerCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:300ms}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:150ms ease-in-out}:host([hidden]){display:none}:host{display:inline-block}.time-picker{background-color:var(--calcite-ui-foreground-1);display:-ms-flexbox;display:flex;font-weight:var(--calcite-font-weight-medium);-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);box-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);color:var(--calcite-ui-text-1);border-radius:var(--calcite-border-radius)}.time-picker .column{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time-picker .button{background-color:var(--calcite-ui-foreground-1);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-ui-foreground-2);outline:2px solid transparent;outline-offset:2px}.time-picker .button:active{background-color:var(--calcite-ui-foreground-3)}.time-picker .button.top-left{border-top-left-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-bottom-left-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-top-right-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-bottom-right-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-ui-text-3)}.time-picker .input{background-color:var(--calcite-ui-foreground-1);cursor:pointer;font-weight:var(--calcite-font-weight-medium);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.time-picker .input:hover{-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2);box-shadow:inset 0 0 0 2px var(--calcite-ui-foreground-2)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;-webkit-box-shadow:inset 0 0 0 2px var(--calcite-ui-brand);box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-left:0.75rem;padding-right:0.75rem;padding-top:0.25rem;padding-bottom:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:0.75rem;padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1rem;padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{-webkit-padding-end:1.25rem;padding-inline-end:1.25rem}";
22983
23062
 
23063
+ function capitalize(str) {
23064
+ return str.charAt(0).toUpperCase() + str.slice(1);
23065
+ }
22984
23066
  let CalciteTimePicker$1 = class extends HTMLElement$1 {
22985
23067
  constructor() {
22986
23068
  super();
@@ -22994,10 +23076,6 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
22994
23076
  // Properties
22995
23077
  //
22996
23078
  //--------------------------------------------------------------------------
22997
- /** The hour value (24-hour format) */
22998
- this.hour = null;
22999
- /** Format of the hour value (12-hour or 24-hour) (this will be replaced by locale eventually) */
23000
- this.hourDisplayFormat = "12";
23001
23079
  /** aria-label for the hour input
23002
23080
  * @default "Hour"
23003
23081
  */
@@ -23046,35 +23124,25 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23046
23124
  * @default "Increase second"
23047
23125
  */
23048
23126
  this.intlSecondUp = TEXT$2.secondUp;
23049
- /** The minute value */
23050
- this.minute = null;
23051
- /** The second value */
23052
- this.second = null;
23127
+ /**
23128
+ * BCP 47 language tag for desired language and country format
23129
+ * @internal
23130
+ */
23131
+ this.locale = document.documentElement.lang || navigator.language || "en";
23053
23132
  /** The scale (size) of the time picker */
23054
23133
  this.scale = "m";
23055
23134
  /** number that specifies the granularity that the value must adhere to */
23056
23135
  this.step = 60;
23057
- this.timeChanged = false;
23058
- // --------------------------------------------------------------------------
23059
- //
23060
- // State
23061
- //
23062
- // --------------------------------------------------------------------------
23063
- /** The am/pm value */
23064
- this.meridiem = null;
23065
- this.displayHour = this.getDisplayHour();
23066
- // --------------------------------------------------------------------------
23067
- //
23068
- // Private Methods
23069
- //
23070
- // --------------------------------------------------------------------------
23136
+ /** The selected time in UTC */
23137
+ this.value = null;
23138
+ this.showSecond = this.step < 60;
23071
23139
  this.decrementHour = () => {
23072
23140
  const newHour = !this.hour ? 0 : this.hour === "00" ? 23 : parseInt(this.hour) - 1;
23073
- this.setTime("hour", newHour);
23141
+ this.setValuePart("hour", newHour);
23074
23142
  };
23075
23143
  this.decrementMeridiem = () => {
23076
23144
  const newMeridiem = this.meridiem === "PM" ? "AM" : "PM";
23077
- this.setTime("meridiem", newMeridiem);
23145
+ this.setValuePart("meridiem", newMeridiem);
23078
23146
  };
23079
23147
  this.decrementMinuteOrSecond = (key) => {
23080
23148
  let newValue;
@@ -23085,7 +23153,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23085
23153
  else {
23086
23154
  newValue = 59;
23087
23155
  }
23088
- this.setTime(key, newValue);
23156
+ this.setValuePart(key, newValue);
23089
23157
  };
23090
23158
  this.decrementMinute = () => {
23091
23159
  this.decrementMinuteOrSecond("minute");
@@ -23107,7 +23175,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23107
23175
  const keyAsNumber = parseInt(key);
23108
23176
  let newHour;
23109
23177
  if (isValidNumber(this.hour)) {
23110
- switch (this.hourDisplayFormat) {
23178
+ switch (this.hourCycle) {
23111
23179
  case "12":
23112
23180
  newHour =
23113
23181
  this.hour === "01" && keyAsNumber >= 0 && keyAsNumber <= 2
@@ -23130,13 +23198,13 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23130
23198
  else {
23131
23199
  newHour = keyAsNumber;
23132
23200
  }
23133
- this.setTime("hour", newHour);
23201
+ this.setValuePart("hour", newHour);
23134
23202
  }
23135
23203
  else {
23136
23204
  switch (key) {
23137
23205
  case "Backspace":
23138
23206
  case "Delete":
23139
- this.setTime("hour", null);
23207
+ this.setValuePart("hour", null);
23140
23208
  break;
23141
23209
  case "ArrowDown":
23142
23210
  event.preventDefault();
@@ -23160,7 +23228,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23160
23228
  };
23161
23229
  this.incrementMeridiem = () => {
23162
23230
  const newMeridiem = this.meridiem === "AM" ? "PM" : "AM";
23163
- this.setTime("meridiem", newMeridiem);
23231
+ this.setValuePart("meridiem", newMeridiem);
23164
23232
  };
23165
23233
  this.incrementHour = () => {
23166
23234
  const newHour = isValidNumber(this.hour)
@@ -23168,7 +23236,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23168
23236
  ? 0
23169
23237
  : parseInt(this.hour) + 1
23170
23238
  : 1;
23171
- this.setTime("hour", newHour);
23239
+ this.setValuePart("hour", newHour);
23172
23240
  };
23173
23241
  this.incrementMinuteOrSecond = (key) => {
23174
23242
  const newValue = isValidNumber(this[key])
@@ -23176,7 +23244,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23176
23244
  ? 0
23177
23245
  : parseInt(this[key]) + 1
23178
23246
  : 0;
23179
- this.setTime(key, newValue);
23247
+ this.setValuePart(key, newValue);
23180
23248
  };
23181
23249
  this.incrementMinute = () => {
23182
23250
  this.incrementMinuteOrSecond("minute");
@@ -23192,14 +23260,14 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23192
23260
  this.meridiemKeyDownHandler = (event) => {
23193
23261
  switch (event.key) {
23194
23262
  case "a":
23195
- this.setTime("meridiem", "AM");
23263
+ this.setValuePart("meridiem", "AM");
23196
23264
  break;
23197
23265
  case "p":
23198
- this.setTime("meridiem", "PM");
23266
+ this.setValuePart("meridiem", "PM");
23199
23267
  break;
23200
23268
  case "Backspace":
23201
23269
  case "Delete":
23202
- this.setTime("meridiem", null);
23270
+ this.setValuePart("meridiem", null);
23203
23271
  break;
23204
23272
  case "ArrowUp":
23205
23273
  event.preventDefault();
@@ -23240,13 +23308,13 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23240
23308
  else {
23241
23309
  newMinute = keyAsNumber;
23242
23310
  }
23243
- this.setTime("minute", newMinute);
23311
+ this.setValuePart("minute", newMinute);
23244
23312
  }
23245
23313
  else {
23246
23314
  switch (key) {
23247
23315
  case "Backspace":
23248
23316
  case "Delete":
23249
- this.setTime("minute", null);
23317
+ this.setValuePart("minute", null);
23250
23318
  break;
23251
23319
  case "ArrowDown":
23252
23320
  event.preventDefault();
@@ -23288,13 +23356,13 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23288
23356
  else {
23289
23357
  newSecond = keyAsNumber;
23290
23358
  }
23291
- this.setTime("second", newSecond);
23359
+ this.setValuePart("second", newSecond);
23292
23360
  }
23293
23361
  else {
23294
23362
  switch (key) {
23295
23363
  case "Backspace":
23296
23364
  case "Delete":
23297
- this.setTime("second", null);
23365
+ this.setValuePart("second", null);
23298
23366
  break;
23299
23367
  case "ArrowDown":
23300
23368
  event.preventDefault();
@@ -23316,59 +23384,96 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23316
23384
  this.incrementSecond();
23317
23385
  }
23318
23386
  };
23319
- this.setTime = (key, value, emit = true) => {
23320
- switch (key) {
23321
- default:
23322
- return;
23323
- case "hour":
23324
- this.hour = typeof value === "number" ? formatTimePart(value) : value;
23325
- break;
23326
- case "minute":
23327
- this.minute = typeof value === "number" ? formatTimePart(value) : value;
23328
- break;
23329
- case "second":
23330
- this.second = typeof value === "number" ? formatTimePart(value) : value;
23331
- break;
23332
- case "meridiem":
23333
- if (isValidNumber(this.hour)) {
23334
- const hourAsNumber = parseInt(this.hour);
23335
- switch (value) {
23336
- case "AM":
23337
- if (hourAsNumber >= 12) {
23338
- this.hour = formatTimePart(hourAsNumber - 12);
23339
- }
23340
- break;
23341
- case "PM":
23342
- if (hourAsNumber < 12) {
23343
- this.hour = formatTimePart(hourAsNumber + 12);
23344
- }
23345
- break;
23346
- }
23347
- this.meridiem = value;
23348
- }
23349
- else {
23350
- this.meridiem = value;
23387
+ this.setHourEl = (el) => (this.hourEl = el);
23388
+ this.setMeridiemEl = (el) => (this.meridiemEl = el);
23389
+ this.setMinuteEl = (el) => (this.minuteEl = el);
23390
+ this.setSecondEl = (el) => (this.secondEl = el);
23391
+ this.setValue = (value, emit = true) => {
23392
+ if (isValidTime(value)) {
23393
+ const { hour, minute, second } = parseTimeString(value);
23394
+ const { localizedHour, localizedHourSuffix, localizedMinute, localizedMinuteSuffix, localizedSecond, localizedSecondSuffix, localizedMeridiem } = localizeTimeStringToParts(value, this.locale);
23395
+ this.localizedHour = localizedHour;
23396
+ this.localizedHourSuffix = localizedHourSuffix;
23397
+ this.localizedMinute = localizedMinute;
23398
+ this.localizedMinuteSuffix = localizedMinuteSuffix;
23399
+ this.localizedSecond = localizedSecond;
23400
+ this.localizedSecondSuffix = localizedSecondSuffix;
23401
+ this.hour = hour;
23402
+ this.minute = minute;
23403
+ this.second = second;
23404
+ if (localizedMeridiem) {
23405
+ this.localizedMeridiem = localizedMeridiem;
23406
+ this.meridiem = getMeridiem(this.hour);
23407
+ }
23408
+ }
23409
+ else {
23410
+ this.hour = null;
23411
+ this.localizedHour = null;
23412
+ this.localizedHourSuffix = null;
23413
+ this.localizedMeridiem = null;
23414
+ this.localizedMinute = null;
23415
+ this.localizedMinuteSuffix = null;
23416
+ this.localizedSecond = null;
23417
+ this.localizedSecondSuffix = null;
23418
+ this.meridiem = null;
23419
+ this.minute = null;
23420
+ this.second = null;
23421
+ this.value = null;
23422
+ }
23423
+ if (emit) {
23424
+ this.calciteTimePickerChange.emit();
23425
+ }
23426
+ };
23427
+ this.setValuePart = (key, value, emit = true) => {
23428
+ var _a;
23429
+ if (key === "meridiem") {
23430
+ this.meridiem = value;
23431
+ if (isValidNumber(this.hour)) {
23432
+ const hourAsNumber = parseInt(this.hour);
23433
+ switch (value) {
23434
+ case "AM":
23435
+ if (hourAsNumber >= 12) {
23436
+ this.hour = formatTimePart(hourAsNumber - 12);
23437
+ }
23438
+ break;
23439
+ case "PM":
23440
+ if (hourAsNumber < 12) {
23441
+ this.hour = formatTimePart(hourAsNumber + 12);
23442
+ }
23443
+ break;
23351
23444
  }
23352
- break;
23445
+ this.localizedHour = localizeTimePart(this.hour, "hour", this.locale);
23446
+ }
23447
+ }
23448
+ else {
23449
+ this[key] = typeof value === "number" ? formatTimePart(value) : value;
23450
+ this[`localized${capitalize(key)}`] = localizeTimePart(this[key], key, this.locale);
23451
+ }
23452
+ if (this.hour && this.minute) {
23453
+ const showSeconds = this.second && this.showSecond;
23454
+ this.value = `${this.hour}:${this.minute}:${showSeconds ? this.second : "00"}`;
23455
+ }
23456
+ else {
23457
+ this.value = null;
23353
23458
  }
23354
- this.timeChanged = true;
23459
+ this.localizedMeridiem = this.value
23460
+ ? ((_a = localizeTimeStringToParts(this.value, this.locale)) === null || _a === void 0 ? void 0 : _a.localizedMeridiem) || null
23461
+ : localizeTimePart(this.meridiem, "meridiem", this.locale);
23355
23462
  if (emit) {
23356
- this.calciteTimePickerChange.emit(this.getTime());
23463
+ this.calciteTimePickerChange.emit();
23357
23464
  }
23358
23465
  };
23359
23466
  }
23360
- hourChanged(newHour) {
23361
- if (this.hourDisplayFormat === "12" && isValidNumber(newHour)) {
23362
- this.meridiem = getMeridiem(newHour);
23363
- }
23467
+ localeWatcher(newLocale) {
23468
+ this.hourCycle = getLocaleHourCycle(newLocale);
23469
+ this.setValue(this.value, false);
23364
23470
  }
23365
- timeChangeHandler() {
23366
- const { hour, minute } = this.getTime();
23367
- if (!hour && !minute) {
23368
- this.setTime("meridiem", null, false);
23369
- }
23370
- if (this.timeChanged) {
23371
- this.timeChanged = false;
23471
+ valueWatcher(newValue) {
23472
+ this.setValue(newValue, false);
23473
+ }
23474
+ hourChanged(newHour) {
23475
+ if (this.meridiem && isValidNumber(newHour)) {
23476
+ this.setValuePart("meridiem", getMeridiem(newHour));
23372
23477
  }
23373
23478
  }
23374
23479
  //--------------------------------------------------------------------------
@@ -23399,7 +23504,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23399
23504
  if (this.step !== 60) {
23400
23505
  this.setFocus("second");
23401
23506
  }
23402
- else if (this.hourDisplayFormat === "12") {
23507
+ else if (this.hourCycle === "12") {
23403
23508
  this.setFocus("meridiem");
23404
23509
  }
23405
23510
  break;
@@ -23411,7 +23516,7 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23411
23516
  this.setFocus("minute");
23412
23517
  break;
23413
23518
  case "ArrowRight":
23414
- if (this.hourDisplayFormat === "12") {
23519
+ if (this.hourCycle === "12") {
23415
23520
  this.setFocus("meridiem");
23416
23521
  }
23417
23522
  break;
@@ -23441,6 +23546,11 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23441
23546
  var _a;
23442
23547
  (_a = this[`${target || "hour"}El`]) === null || _a === void 0 ? void 0 : _a.focus();
23443
23548
  }
23549
+ // --------------------------------------------------------------------------
23550
+ //
23551
+ // Private Methods
23552
+ //
23553
+ // --------------------------------------------------------------------------
23444
23554
  buttonActivated(event) {
23445
23555
  const key = event.key;
23446
23556
  if (key === " ") {
@@ -23448,40 +23558,14 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23448
23558
  }
23449
23559
  return isActivationKey(key);
23450
23560
  }
23451
- getDisplayHour() {
23452
- if (!this.hour) {
23453
- return "--";
23454
- }
23455
- if (this.hourDisplayFormat === "12") {
23456
- return getMeridiemHour(this.hour);
23457
- }
23458
- return this.hour;
23459
- }
23460
- getTime() {
23461
- return {
23462
- hour: this.hour,
23463
- minute: this.minute,
23464
- second: this.second
23465
- };
23466
- }
23467
23561
  // --------------------------------------------------------------------------
23468
23562
  //
23469
23563
  // Lifecycle
23470
23564
  //
23471
23565
  // --------------------------------------------------------------------------
23472
23566
  connectedCallback() {
23473
- if (this.hourDisplayFormat === "12") {
23474
- this.meridiem = getMeridiem(this.hour);
23475
- }
23476
- if (isValidNumber(this.hour)) {
23477
- this.hour = formatTimePart(parseInt(this.hour));
23478
- }
23479
- if (isValidNumber(this.minute)) {
23480
- this.minute = formatTimePart(parseInt(this.minute));
23481
- }
23482
- if (isValidNumber(this.second)) {
23483
- this.second = formatTimePart(parseInt(this.second));
23484
- }
23567
+ this.setValue(this.value, false);
23568
+ this.hourCycle = getLocaleHourCycle(this.locale);
23485
23569
  }
23486
23570
  // --------------------------------------------------------------------------
23487
23571
  //
@@ -23489,58 +23573,63 @@ let CalciteTimePicker$1 = class extends HTMLElement$1 {
23489
23573
  //
23490
23574
  // --------------------------------------------------------------------------
23491
23575
  render() {
23492
- const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
23493
- const includeSeconds = this.step !== 60;
23494
23576
  const hourIsNumber = isValidNumber(this.hour);
23577
+ const iconScale = this.scale === "s" || this.scale === "m" ? "s" : "m";
23495
23578
  const minuteIsNumber = isValidNumber(this.minute);
23496
23579
  const secondIsNumber = isValidNumber(this.second);
23497
- return (h(Host, null, h("div", { class: CSS$5.timePicker }, h("div", { role: "group" }, h("span", { "aria-label": this.intlHourUp, class: {
23580
+ const showMeridiem = this.hourCycle === "12";
23581
+ return (h("div", { class: {
23582
+ [CSS$5.timePicker]: true,
23583
+ [CSS$5.showMeridiem]: showMeridiem,
23584
+ [CSS$5.showSecond]: this.showSecond,
23585
+ [CSS$5[`scale-${this.scale}`]]: true
23586
+ } }, h("div", { class: CSS$5.column, role: "group" }, h("span", { "aria-label": this.intlHourUp, class: {
23498
23587
  [CSS$5.button]: true,
23499
23588
  [CSS$5.buttonHourUp]: true,
23500
23589
  [CSS$5.buttonTopLeft]: true
23501
- }, onClick: this.incrementHour, onKeyDown: this.hourUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), h("span", { "aria-label": this.intlHour, "aria-valuemax": "23", "aria-valuemin": "1", "aria-valuenow": hourIsNumber && parseInt(this.hour), "aria-valuetext": this.hour, class: {
23590
+ }, onClick: this.incrementHour, onKeyDown: this.hourUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), h("span", { "aria-label": this.intlHour, "aria-valuemax": "23", "aria-valuemin": "1", "aria-valuenow": (hourIsNumber && parseInt(this.hour)) || "0", "aria-valuetext": this.hour, class: {
23502
23591
  [CSS$5.input]: true,
23503
23592
  [CSS$5.hour]: true
23504
- }, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, ref: (el) => (this.hourEl = el), role: "spinbutton", tabIndex: 0 }, this.getDisplayHour()), h("span", { "aria-label": this.intlHourDown, class: {
23593
+ }, onFocus: this.focusHandler, onKeyDown: this.hourKeyDownHandler, ref: this.setHourEl, role: "spinbutton", tabIndex: 0 }, this.localizedHour || "--"), h("span", { "aria-label": this.intlHourDown, class: {
23505
23594
  [CSS$5.button]: true,
23506
23595
  [CSS$5.buttonHourDown]: true,
23507
23596
  [CSS$5.buttonBottomLeft]: true
23508
- }, onClick: this.decrementHour, onKeyDown: this.hourDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), h("span", { class: CSS$5.delimiter }, ":"), h("div", { role: "group" }, h("span", { "aria-label": this.intlMinuteUp, class: {
23597
+ }, onClick: this.decrementHour, onKeyDown: this.hourDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), h("span", { class: CSS$5.delimiter }, this.localizedHourSuffix), h("div", { class: CSS$5.column, role: "group" }, h("span", { "aria-label": this.intlMinuteUp, class: {
23509
23598
  [CSS$5.button]: true,
23510
23599
  [CSS$5.buttonMinuteUp]: true
23511
- }, onClick: this.incrementMinute, onKeyDown: this.minuteUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), h("span", { "aria-label": this.intlMinute, "aria-valuemax": "12", "aria-valuemin": "1", "aria-valuenow": minuteIsNumber && parseInt(this.minute), "aria-valuetext": this.minute, class: {
23600
+ }, onClick: this.incrementMinute, onKeyDown: this.minuteUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), h("span", { "aria-label": this.intlMinute, "aria-valuemax": "12", "aria-valuemin": "1", "aria-valuenow": (minuteIsNumber && parseInt(this.minute)) || "0", "aria-valuetext": this.minute, class: {
23512
23601
  [CSS$5.input]: true,
23513
23602
  [CSS$5.minute]: true
23514
- }, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, ref: (el) => (this.minuteEl = el), role: "spinbutton", tabIndex: 0 }, this.minute ? this.minute : "--"), h("span", { "aria-label": this.intlMinuteDown, class: {
23603
+ }, onFocus: this.focusHandler, onKeyDown: this.minuteKeyDownHandler, ref: this.setMinuteEl, role: "spinbutton", tabIndex: 0 }, this.localizedMinute || "--"), h("span", { "aria-label": this.intlMinuteDown, class: {
23515
23604
  [CSS$5.button]: true,
23516
23605
  [CSS$5.buttonMinuteDown]: true
23517
- }, onClick: this.decrementMinute, onKeyDown: this.minuteDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), includeSeconds && h("span", { class: CSS$5.delimiter }, ":"), includeSeconds && (h("div", { role: "group" }, h("span", { "aria-label": this.intlSecondUp, class: {
23606
+ }, onClick: this.decrementMinute, onKeyDown: this.minuteDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))), this.showSecond && h("span", { class: CSS$5.delimiter }, this.localizedMinuteSuffix), this.showSecond && (h("div", { class: CSS$5.column, role: "group" }, h("span", { "aria-label": this.intlSecondUp, class: {
23518
23607
  [CSS$5.button]: true,
23519
23608
  [CSS$5.buttonSecondUp]: true
23520
- }, onClick: this.incrementSecond, onKeyDown: this.secondUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), h("span", { "aria-label": this.intlSecond, "aria-valuemax": "59", "aria-valuemin": "0", "aria-valuenow": secondIsNumber && parseInt(this.second), "aria-valuetext": this.second, class: {
23609
+ }, onClick: this.incrementSecond, onKeyDown: this.secondUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), h("span", { "aria-label": this.intlSecond, "aria-valuemax": "59", "aria-valuemin": "0", "aria-valuenow": (secondIsNumber && parseInt(this.second)) || "0", "aria-valuetext": this.second, class: {
23521
23610
  [CSS$5.input]: true,
23522
23611
  [CSS$5.second]: true
23523
- }, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, ref: (el) => (this.secondEl = el), role: "spinbutton", tabIndex: 0 }, this.second ? this.second : "--"), h("span", { "aria-label": this.intlSecondDown, class: {
23612
+ }, onFocus: this.focusHandler, onKeyDown: this.secondKeyDownHandler, ref: this.setSecondEl, role: "spinbutton", tabIndex: 0 }, this.localizedSecond || "--"), h("span", { "aria-label": this.intlSecondDown, class: {
23524
23613
  [CSS$5.button]: true,
23525
23614
  [CSS$5.buttonSecondDown]: true
23526
- }, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.hourDisplayFormat === "12" && (h("div", { role: "group" }, h("span", { "aria-label": this.intlMeridiemUp, class: {
23615
+ }, onClick: this.decrementSecond, onKeyDown: this.secondDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-down", scale: iconScale })))), this.localizedSecondSuffix && (h("span", { class: CSS$5.delimiter }, this.localizedSecondSuffix)), showMeridiem && (h("div", { class: CSS$5.column, role: "group" }, h("span", { "aria-label": this.intlMeridiemUp, class: {
23527
23616
  [CSS$5.button]: true,
23528
23617
  [CSS$5.buttonMeridiemUp]: true,
23529
23618
  [CSS$5.buttonTopRight]: true
23530
- }, onClick: this.incrementMeridiem, onKeyDown: this.meridiemUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), h("span", { "aria-label": this.intlMeridiem, "aria-valuemax": "2", "aria-valuemin": "1", "aria-valuenow": this.meridiem === "AM" ? "1" : this.meridiem === "PM" ? "2" : undefined, "aria-valuetext": this.meridiem, class: {
23619
+ }, onClick: this.incrementMeridiem, onKeyDown: this.meridiemUpButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-up", scale: iconScale })), h("span", { "aria-label": this.intlMeridiem, "aria-valuemax": "2", "aria-valuemin": "1", "aria-valuenow": (this.meridiem === "PM" && "2") || "1", "aria-valuetext": this.meridiem, class: {
23531
23620
  [CSS$5.input]: true,
23532
23621
  [CSS$5.meridiem]: true
23533
- }, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, ref: (el) => (this.meridiemEl = el), role: "spinbutton", tabIndex: 0 }, this.meridiem ? this.meridiem : "--"), h("span", { "aria-label": this.intlMeridiemDown, class: {
23622
+ }, onFocus: this.focusHandler, onKeyDown: this.meridiemKeyDownHandler, ref: this.setMeridiemEl, role: "spinbutton", tabIndex: 0 }, this.localizedMeridiem || "--"), h("span", { "aria-label": this.intlMeridiemDown, class: {
23534
23623
  [CSS$5.button]: true,
23535
23624
  [CSS$5.buttonMeridiemDown]: true,
23536
23625
  [CSS$5.buttonBottomRight]: true
23537
- }, onClick: this.decrementMeridiem, onKeyDown: this.meridiemDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-down", scale: iconScale })))))));
23626
+ }, onClick: this.decrementMeridiem, onKeyDown: this.meridiemDownButtonKeyDownHandler, role: "button", tabIndex: -1 }, h("calcite-icon", { icon: "chevron-down", scale: iconScale }))))));
23538
23627
  }
23539
23628
  get el() { return this; }
23540
23629
  static get watchers() { return {
23541
- "hour": ["hourChanged", "timeChangeHandler"],
23542
- "minute": ["timeChangeHandler"],
23543
- "second": ["timeChangeHandler"]
23630
+ "locale": ["localeWatcher"],
23631
+ "value": ["valueWatcher"],
23632
+ "hour": ["hourChanged"]
23544
23633
  }; }
23545
23634
  static get style() { return calciteTimePickerCss; }
23546
23635
  };
@@ -24983,7 +25072,7 @@ const CalciteInlineEditable = /*@__PURE__*/proxyCustomElement(CalciteInlineEdita
24983
25072
  const CalciteInput = /*@__PURE__*/proxyCustomElement(CalciteInput$1, [1,"calcite-input",{"alignment":[513],"autofocus":[4],"clearable":[516],"disabled":[516],"groupSeparator":[4,"group-separator"],"hidden":[4],"icon":[520],"intlLoading":[1,"intl-loading"],"iconFlipRtl":[516,"icon-flip-rtl"],"label":[1],"loading":[516],"locale":[1],"localeFormat":[4,"locale-format"],"max":[514],"min":[514],"maxlength":[514],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"name":[513],"numberButtonType":[513,"number-button-type"],"placeholder":[1],"prefixText":[1,"prefix-text"],"readOnly":[4,"read-only"],"required":[4],"scale":[1537],"status":[1537],"step":[520],"suffixText":[1,"suffix-text"],"editingEnabled":[1540,"editing-enabled"],"type":[513],"value":[1025],"localizedValue":[32]}]);
24984
25073
  const CalciteInputDatePicker = /*@__PURE__*/proxyCustomElement(CalciteInputDatePicker$1, [1,"calcite-input-date-picker",{"disabled":[516],"value":[1025],"headingLevel":[2,"heading-level"],"valueAsDate":[1040],"startAsDate":[1040],"endAsDate":[1040],"minAsDate":[1040],"maxAsDate":[1040],"min":[1],"max":[1],"active":[1540],"name":[1],"intlPrevMonth":[1,"intl-prev-month"],"intlNextMonth":[1,"intl-next-month"],"locale":[1],"scale":[513],"range":[516],"required":[516],"start":[1025],"end":[1025],"overlayPositioning":[1,"overlay-positioning"],"proximitySelectionDisabled":[4,"proximity-selection-disabled"],"layout":[513],"focusedInput":[32],"localeData":[32]},[[0,"calciteDaySelect","calciteDaySelectHandler"]]]);
24985
25074
  const CalciteInputMessage = /*@__PURE__*/proxyCustomElement(CalciteInputMessage$1, [1,"calcite-input-message",{"active":[516],"icon":[520],"scale":[1537],"status":[1537],"type":[513]}]);
24986
- const CalciteInputTimePicker = /*@__PURE__*/proxyCustomElement(CalciteInputTimePicker$1, [1,"calcite-input-time-picker",{"active":[1540],"disabled":[516],"hourDisplayFormat":[1,"hour-display-format"],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"name":[1],"required":[516],"scale":[513],"step":[2],"value":[1025]},[[0,"keyup","keyUpHandler"],[0,"calciteTimePickerBlur","timePickerBlurHandler"],[0,"calciteTimePickerChange","timePickerChangeHandler"],[0,"calciteTimePickerFocus","timePickerFocusHandler"]]]);
25075
+ const CalciteInputTimePicker = /*@__PURE__*/proxyCustomElement(CalciteInputTimePicker$1, [1,"calcite-input-time-picker",{"active":[1540],"disabled":[516],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"name":[1],"required":[516],"scale":[513],"step":[2],"value":[1025],"localizedValue":[32]},[[0,"click","clickHandler"],[0,"keyup","keyUpHandler"],[0,"calciteTimePickerBlur","timePickerBlurHandler"],[0,"calciteTimePickerFocus","timePickerFocusHandler"]]]);
24987
25076
  const CalciteLabel = /*@__PURE__*/proxyCustomElement(CalciteLabel$1, [1,"calcite-label",{"alignment":[513],"status":[513],"for":[513],"scale":[513],"layout":[513],"disableSpacing":[4,"disable-spacing"],"disabled":[516]}]);
24988
25077
  const CalciteLink = /*@__PURE__*/proxyCustomElement(CalciteLink$1, [1,"calcite-link",{"disabled":[516],"href":[513],"iconEnd":[513,"icon-end"],"iconFlipRtl":[513,"icon-flip-rtl"],"iconStart":[513,"icon-start"],"rel":[1],"target":[1],"childElType":[32]}]);
24989
25078
  const CalciteList = /*@__PURE__*/proxyCustomElement(CalciteList$1, [1,"calcite-list",{"headingLevel":[2,"heading-level"]}]);
@@ -25002,7 +25091,6 @@ const CalcitePickListItem = /*@__PURE__*/proxyCustomElement(CalcitePickListItem$
25002
25091
  const CalcitePopover = /*@__PURE__*/proxyCustomElement(CalcitePopover$1, [1,"calcite-popover",{"closeButton":[516,"close-button"],"dismissible":[516],"disableFlip":[516,"disable-flip"],"disablePointer":[516,"disable-pointer"],"flipPlacements":[16],"heading":[1],"headingLevel":[2,"heading-level"],"label":[1],"offsetDistance":[514,"offset-distance"],"offsetSkidding":[514,"offset-skidding"],"open":[1540],"overlayPositioning":[1,"overlay-positioning"],"placement":[513],"referenceElement":[1,"reference-element"],"intlClose":[1,"intl-close"],"effectiveReferenceElement":[32]}]);
25003
25092
  const CalcitePopoverManager = /*@__PURE__*/proxyCustomElement(CalcitePopoverManager$1, [1,"calcite-popover-manager",{"selector":[1],"autoClose":[516,"auto-close"]},[[10,"click","closeOpenPopovers"]]]);
25004
25093
  const CalciteProgress = /*@__PURE__*/proxyCustomElement(CalciteProgress$1, [1,"calcite-progress",{"type":[1],"value":[2],"label":[1],"text":[1],"reversed":[4]}]);
25005
- const CalciteRadio = /*@__PURE__*/proxyCustomElement(CalciteRadio$1, [1,"calcite-radio",{"checked":[516],"disabled":[516],"focused":[516],"hidden":[516],"hovered":[516],"scale":[513]}]);
25006
25094
  const CalciteRadioButton = /*@__PURE__*/proxyCustomElement(CalciteRadioButton$1, [1,"calcite-radio-button",{"checked":[1540],"disabled":[516],"focused":[1540],"guid":[1537],"hidden":[516],"hovered":[1540],"label":[1],"name":[513],"required":[516],"scale":[513],"value":[1032]},[[1,"mouseenter","mouseenter"],[1,"mouseleave","mouseleave"]]]);
25007
25095
  const CalciteRadioButtonGroup = /*@__PURE__*/proxyCustomElement(CalciteRadioButtonGroup$1, [1,"calcite-radio-button-group",{"disabled":[516],"hidden":[516],"layout":[513],"name":[513],"required":[516],"scale":[513]},[[0,"calciteRadioButtonChange","radioButtonChangeHandler"]]]);
25008
25096
  const CalciteRadioGroup = /*@__PURE__*/proxyCustomElement(CalciteRadioGroup$1, [1,"calcite-radio-group",{"appearance":[513],"disabled":[516],"required":[516],"layout":[513],"name":[1],"scale":[513],"value":[1025],"selectedItem":[1040],"width":[513]},[[0,"calciteRadioGroupItemChange","handleSelected"],[0,"keydown","handleKeyDown"]]]);
@@ -25026,7 +25114,7 @@ const CalciteTabs = /*@__PURE__*/proxyCustomElement(CalciteTabs$1, [1,"calcite-t
25026
25114
  const CalciteTile = /*@__PURE__*/proxyCustomElement(CalciteTile$1, [1,"calcite-tile",{"active":[516],"description":[513],"disabled":[516],"embed":[516],"focused":[516],"heading":[513],"hidden":[516],"href":[513],"icon":[513]}]);
25027
25115
  const CalciteTileSelect = /*@__PURE__*/proxyCustomElement(CalciteTileSelect$1, [1,"calcite-tile-select",{"checked":[1540],"description":[513],"disabled":[516],"heading":[513],"hidden":[516],"icon":[513],"name":[520],"inputEnabled":[516,"input-enabled"],"inputAlignment":[513,"input-alignment"],"type":[513],"value":[8],"width":[513],"focused":[32]},[[0,"calciteCheckboxChange","checkboxChangeHandler"],[0,"calciteInternalCheckboxFocus","checkboxFocusBlurHandler"],[0,"calciteInternalCheckboxBlur","checkboxFocusBlurHandler"],[0,"calciteRadioButtonChange","radioButtonChangeHandler"],[0,"calciteInternalRadioButtonCheckedChange","radioButtonCheckedChangeHandler"],[0,"calciteInternalRadioButtonFocus","radioButtonFocusBlurHandler"],[0,"calciteInternalRadioButtonBlur","radioButtonFocusBlurHandler"],[0,"click","click"],[1,"mouseenter","mouseenter"],[1,"mouseleave","mouseleave"]]]);
25028
25116
  const CalciteTileSelectGroup = /*@__PURE__*/proxyCustomElement(CalciteTileSelectGroup$1, [1,"calcite-tile-select-group",{"layout":[513]}]);
25029
- const CalciteTimePicker = /*@__PURE__*/proxyCustomElement(CalciteTimePicker$1, [1,"calcite-time-picker",{"hour":[1025],"hourDisplayFormat":[513,"hour-display-format"],"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"minute":[1025],"second":[1025],"scale":[513],"step":[514],"meridiem":[32],"displayHour":[32]},[[0,"blur","hostBlurHandler"],[0,"focus","hostFocusHandler"],[0,"keydown","keyDownHandler"]]]);
25117
+ const CalciteTimePicker = /*@__PURE__*/proxyCustomElement(CalciteTimePicker$1, [1,"calcite-time-picker",{"intlHour":[1,"intl-hour"],"intlHourDown":[1,"intl-hour-down"],"intlHourUp":[1,"intl-hour-up"],"intlMeridiem":[1,"intl-meridiem"],"intlMeridiemDown":[1,"intl-meridiem-down"],"intlMeridiemUp":[1,"intl-meridiem-up"],"intlMinute":[1,"intl-minute"],"intlMinuteDown":[1,"intl-minute-down"],"intlMinuteUp":[1,"intl-minute-up"],"intlSecond":[1,"intl-second"],"intlSecondDown":[1,"intl-second-down"],"intlSecondUp":[1,"intl-second-up"],"locale":[1025,"lang"],"scale":[1],"step":[2],"value":[1025],"hour":[32],"hourCycle":[32],"localizedHour":[32],"localizedHourSuffix":[32],"localizedMeridiem":[32],"localizedMinute":[32],"localizedMinuteSuffix":[32],"localizedSecond":[32],"localizedSecondSuffix":[32],"meridiem":[32],"minute":[32],"second":[32],"showSecond":[32]},[[0,"blur","hostBlurHandler"],[0,"focus","hostFocusHandler"],[0,"keydown","keyDownHandler"]]]);
25030
25118
  const CalciteTip = /*@__PURE__*/proxyCustomElement(CalciteTip$1, [1,"calcite-tip",{"dismissed":[1540],"nonDismissible":[516,"non-dismissible"],"heading":[1],"headingLevel":[2,"heading-level"],"selected":[516],"intlClose":[1,"intl-close"]}]);
25031
25119
  const CalciteTipGroup = /*@__PURE__*/proxyCustomElement(CalciteTipGroup$1, [1,"calcite-tip-group",{"groupTitle":[1,"group-title"]}]);
25032
25120
  const CalciteTipManager = /*@__PURE__*/proxyCustomElement(CalciteTipManager$1, [1,"calcite-tip-manager",{"closed":[1540],"headingLevel":[2,"heading-level"],"intlClose":[1,"intl-close"],"intlDefaultTitle":[1,"intl-default-title"],"intlNext":[1,"intl-next"],"intlPaginationLabel":[1,"intl-pagination-label"],"intlPrevious":[1,"intl-previous"],"selectedIndex":[32],"tips":[32],"total":[32],"direction":[32],"groupTitle":[32]}]);
@@ -25096,7 +25184,6 @@ const defineCustomElements = (opts) => {
25096
25184
  CalcitePopover,
25097
25185
  CalcitePopoverManager,
25098
25186
  CalciteProgress,
25099
- CalciteRadio,
25100
25187
  CalciteRadioButton,
25101
25188
  CalciteRadioButtonGroup,
25102
25189
  CalciteRadioGroup,
@@ -25138,4 +25225,4 @@ const defineCustomElements = (opts) => {
25138
25225
  }
25139
25226
  };
25140
25227
 
25141
- export { CalciteAccordion, CalciteAccordionItem, CalciteAction, CalciteActionBar, CalciteActionGroup, CalciteActionMenu, CalciteActionPad, CalciteAlert, CalciteAvatar, CalciteBlock, CalciteBlockSection, CalciteButton, CalciteCard, CalciteCheckbox, CalciteChip, CalciteColorPicker, CalciteColorPickerHexInput, CalciteColorPickerSwatch, CalciteCombobox, CalciteComboboxItem, CalciteComboboxItemGroup, CalciteDatePicker, CalciteDatePickerDay, CalciteDatePickerMonth, CalciteDatePickerMonthHeader, CalciteDropdown, CalciteDropdownGroup, CalciteDropdownItem, CalciteFab, CalciteFilter, CalciteFlow, CalciteGraph, CalciteHandle, CalciteIcon, CalciteInlineEditable, CalciteInput, CalciteInputDatePicker, CalciteInputMessage, CalciteInputTimePicker, CalciteLabel, CalciteLink, CalciteList, CalciteListItem, CalciteListItemGroup, CalciteLoader, CalciteModal, CalciteNotice, CalciteOption, CalciteOptionGroup, CalcitePagination, CalcitePanel, CalcitePickList, CalcitePickListGroup, CalcitePickListItem, CalcitePopover, CalcitePopoverManager, CalciteProgress, CalciteRadio, CalciteRadioButton, CalciteRadioButtonGroup, CalciteRadioGroup, CalciteRadioGroupItem, CalciteRating, CalciteScrim, CalciteSelect, CalciteShell, CalciteShellCenterRow, CalciteShellPanel, CalciteSlider, CalciteSortableList, CalciteSplitButton, CalciteStepper, CalciteStepperItem, CalciteSwitch, CalciteTab, CalciteTabNav, CalciteTabTitle, CalciteTabs, CalciteTile, CalciteTileSelect, CalciteTileSelectGroup, CalciteTimePicker, CalciteTip, CalciteTipGroup, CalciteTipManager, CalciteTooltip, CalciteTooltipManager, CalciteTree, CalciteTreeItem, CalciteValueList, CalciteValueListItem, defineCustomElements };
25228
+ export { CalciteAccordion, CalciteAccordionItem, CalciteAction, CalciteActionBar, CalciteActionGroup, CalciteActionMenu, CalciteActionPad, CalciteAlert, CalciteAvatar, CalciteBlock, CalciteBlockSection, CalciteButton, CalciteCard, CalciteCheckbox, CalciteChip, CalciteColorPicker, CalciteColorPickerHexInput, CalciteColorPickerSwatch, CalciteCombobox, CalciteComboboxItem, CalciteComboboxItemGroup, CalciteDatePicker, CalciteDatePickerDay, CalciteDatePickerMonth, CalciteDatePickerMonthHeader, CalciteDropdown, CalciteDropdownGroup, CalciteDropdownItem, CalciteFab, CalciteFilter, CalciteFlow, CalciteGraph, CalciteHandle, CalciteIcon, CalciteInlineEditable, CalciteInput, CalciteInputDatePicker, CalciteInputMessage, CalciteInputTimePicker, CalciteLabel, CalciteLink, CalciteList, CalciteListItem, CalciteListItemGroup, CalciteLoader, CalciteModal, CalciteNotice, CalciteOption, CalciteOptionGroup, CalcitePagination, CalcitePanel, CalcitePickList, CalcitePickListGroup, CalcitePickListItem, CalcitePopover, CalcitePopoverManager, CalciteProgress, CalciteRadioButton, CalciteRadioButtonGroup, CalciteRadioGroup, CalciteRadioGroupItem, CalciteRating, CalciteScrim, CalciteSelect, CalciteShell, CalciteShellCenterRow, CalciteShellPanel, CalciteSlider, CalciteSortableList, CalciteSplitButton, CalciteStepper, CalciteStepperItem, CalciteSwitch, CalciteTab, CalciteTabNav, CalciteTabTitle, CalciteTabs, CalciteTile, CalciteTileSelect, CalciteTileSelectGroup, CalciteTimePicker, CalciteTip, CalciteTipGroup, CalciteTipManager, CalciteTooltip, CalciteTooltipManager, CalciteTree, CalciteTreeItem, CalciteValueList, CalciteValueListItem, defineCustomElements };