@cal.macconnachie/web-components 2.1.6 → 2.2.0

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.
package/dist/index.d.ts CHANGED
@@ -291,6 +291,7 @@ export declare class BaseSelect extends BaseElement {
291
291
  size: SelectSize;
292
292
  options: SelectOption[];
293
293
  private isOpen;
294
+ private parsedFromSlot;
294
295
  private searchQuery;
295
296
  private highlightedIndex;
296
297
  private isFlipped;
@@ -299,6 +300,8 @@ export declare class BaseSelect extends BaseElement {
299
300
  private selectDisplay;
300
301
  private dropdownElement;
301
302
  private selectId;
303
+ connectedCallback(): void;
304
+ private parseSlottedOptions;
302
305
  static styles: CSSResult;
303
306
  private get selectedOption();
304
307
  private get displayValue();
package/dist/index.js CHANGED
@@ -633,7 +633,7 @@ var Ds = Object.defineProperty, Pr = (r, e, t, o) => {
633
633
  (a = r[i]) && (s = a(e, t, s) || s);
634
634
  return s && Ds(e, t, s), s;
635
635
  };
636
- class I extends Ue {
636
+ class L extends Ue {
637
637
  constructor() {
638
638
  super(...arguments), this.theme = "light", this.storageKey = "theme-preference", this.boundThemeChangeHandler = this.handleGlobalThemeChange.bind(this);
639
639
  }
@@ -661,11 +661,11 @@ class I extends Ue {
661
661
  }
662
662
  Pr([
663
663
  u({ type: String, attribute: "data-theme", reflect: !0 })
664
- ], I.prototype, "theme");
664
+ ], L.prototype, "theme");
665
665
  Pr([
666
666
  u({ type: String, attribute: "storage-key" })
667
- ], I.prototype, "storageKey");
668
- const D = ({
667
+ ], L.prototype, "storageKey");
668
+ const z = ({
669
669
  name: r,
670
670
  element: e
671
671
  }) => {
@@ -1449,11 +1449,11 @@ const Us = [
1449
1449
  "refresh_token",
1450
1450
  "token_type",
1451
1451
  "expires_in"
1452
- ], Ns = () => D({
1452
+ ], Ns = () => z({
1453
1453
  name: "auth-form",
1454
1454
  element: E
1455
1455
  });
1456
- class E extends I {
1456
+ class E extends L {
1457
1457
  constructor() {
1458
1458
  super(...arguments), this.initialMode = "signin", this.logoUrl = "", this.oauthDomain = "", this.oauthRegion = "", this.oauthUserPoolId = "", this.oauthClientId = "", this.oauthRedirectUri = "", this.oauthSpaDomain = "", this.disableSignup = !1, this.mockMode = !1, this.mode = "signin", this.resetStep = "none", this.signupStep = "form", this.isLoading = !1, this.isLoggedIn = !1, this.email = "", this.password = "", this.givenName = "", this.familyName = "", this.newPassword = "", this.confirmPassword = "", this.notice = "", this.error = "", this.errors = {}, this.userEmail = null, this.otpDigits = ["", "", "", "", "", ""], this.signupOtpDigits = ["", "", "", "", "", ""], this.hasHandledOAuthCallback = !1, this.handleAuthRefreshFailed = () => {
1459
1459
  this.isLoggedIn = !1, this.userEmail = null;
@@ -2412,11 +2412,11 @@ var qs = Object.defineProperty, we = (r, e, t, o) => {
2412
2412
  (a = r[i]) && (s = a(e, t, s) || s);
2413
2413
  return s && qs(e, t, s), s;
2414
2414
  };
2415
- const Fs = () => D({
2415
+ const Fs = () => z({
2416
2416
  name: "base-button",
2417
2417
  element: de
2418
2418
  });
2419
- class de extends I {
2419
+ class de extends L {
2420
2420
  constructor() {
2421
2421
  super(...arguments), this.size = "md", this.variant = "primary", this.hover = void 0, this.disabled = !1, this.fullWidth = !1, this.loading = !1, this.type = "button";
2422
2422
  }
@@ -2914,11 +2914,11 @@ var Hs = Object.defineProperty, He = (r, e, t, o) => {
2914
2914
  (a = r[i]) && (s = a(e, t, s) || s);
2915
2915
  return s && Hs(e, t, s), s;
2916
2916
  };
2917
- const js = () => D({
2917
+ const js = () => z({
2918
2918
  name: "base-card",
2919
2919
  element: Ee
2920
2920
  });
2921
- class Ee extends I {
2921
+ class Ee extends L {
2922
2922
  constructor() {
2923
2923
  super(...arguments), this.variant = "default", this.padding = "none", this.hoverable = !1, this.expandable = !1, this.isExpanded = !1;
2924
2924
  }
@@ -3186,11 +3186,11 @@ var Vs = Object.defineProperty, R = (r, e, t, o) => {
3186
3186
  (a = r[i]) && (s = a(e, t, s) || s);
3187
3187
  return s && Vs(e, t, s), s;
3188
3188
  };
3189
- const Zs = () => D({
3189
+ const Zs = () => z({
3190
3190
  name: "base-date-picker",
3191
3191
  element: P
3192
3192
  });
3193
- class P extends I {
3193
+ class P extends L {
3194
3194
  constructor() {
3195
3195
  super(...arguments), this.value = "", this.placeholder = "Select a date", this.required = !1, this.disabled = !1, this.size = "md", this.isOpen = !1, this.currentMonth = (/* @__PURE__ */ new Date()).getMonth(), this.currentYear = (/* @__PURE__ */ new Date()).getFullYear(), this.showMonthPicker = !1, this.showYearPicker = !1, this.yearRangeStart = (/* @__PURE__ */ new Date()).getFullYear() - 5, this.isFlipped = !1, this.alignRight = !1, this.inputId = `date-picker-${Math.random().toString(36).substr(2, 9)}`, this.weekDays = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], this.monthNames = [
3196
3196
  "Jan",
@@ -4029,11 +4029,11 @@ var Ys = Object.defineProperty, B = (r, e, t, o) => {
4029
4029
  (a = r[i]) && (s = a(e, t, s) || s);
4030
4030
  return s && Ys(e, t, s), s;
4031
4031
  };
4032
- const Ws = () => D({
4032
+ const Ws = () => z({
4033
4033
  name: "base-time-picker",
4034
- element: z
4034
+ element: M
4035
4035
  });
4036
- class z extends I {
4036
+ class M extends L {
4037
4037
  constructor() {
4038
4038
  super(...arguments), this.value = "", this.placeholder = "Select a time", this.required = !1, this.disabled = !1, this.size = "md", this.format = "12", this.isOpen = !1, this.selectedHour = 12, this.selectedMinute = 0, this.selectedPeriod = "AM", this.isFlipped = !1, this.alignRight = !1, this.inputId = `time-picker-${Math.random().toString(36).substr(2, 9)}`;
4039
4039
  }
@@ -4489,73 +4489,73 @@ class z extends I {
4489
4489
  }
4490
4490
  B([
4491
4491
  u({ type: String })
4492
- ], z.prototype, "value");
4492
+ ], M.prototype, "value");
4493
4493
  B([
4494
4494
  u({ type: String })
4495
- ], z.prototype, "label");
4495
+ ], M.prototype, "label");
4496
4496
  B([
4497
4497
  u({ type: String })
4498
- ], z.prototype, "placeholder");
4498
+ ], M.prototype, "placeholder");
4499
4499
  B([
4500
4500
  u({ type: Boolean, reflect: !0 })
4501
- ], z.prototype, "required");
4501
+ ], M.prototype, "required");
4502
4502
  B([
4503
4503
  u({ type: Boolean, reflect: !0 })
4504
- ], z.prototype, "disabled");
4504
+ ], M.prototype, "disabled");
4505
4505
  B([
4506
4506
  u({ type: String })
4507
- ], z.prototype, "error");
4507
+ ], M.prototype, "error");
4508
4508
  B([
4509
4509
  u({ type: String })
4510
- ], z.prototype, "hint");
4510
+ ], M.prototype, "hint");
4511
4511
  B([
4512
4512
  u({ type: String })
4513
- ], z.prototype, "size");
4513
+ ], M.prototype, "size");
4514
4514
  B([
4515
4515
  u({ type: String })
4516
- ], z.prototype, "format");
4516
+ ], M.prototype, "format");
4517
4517
  B([
4518
4518
  w()
4519
- ], z.prototype, "isOpen");
4519
+ ], M.prototype, "isOpen");
4520
4520
  B([
4521
4521
  w()
4522
- ], z.prototype, "selectedHour");
4522
+ ], M.prototype, "selectedHour");
4523
4523
  B([
4524
4524
  w()
4525
- ], z.prototype, "selectedMinute");
4525
+ ], M.prototype, "selectedMinute");
4526
4526
  B([
4527
4527
  w()
4528
- ], z.prototype, "selectedPeriod");
4528
+ ], M.prototype, "selectedPeriod");
4529
4529
  B([
4530
4530
  w()
4531
- ], z.prototype, "isFlipped");
4531
+ ], M.prototype, "isFlipped");
4532
4532
  B([
4533
4533
  w()
4534
- ], z.prototype, "alignRight");
4534
+ ], M.prototype, "alignRight");
4535
4535
  B([
4536
4536
  H(".time-display")
4537
- ], z.prototype, "timeDisplay");
4537
+ ], M.prototype, "timeDisplay");
4538
4538
  B([
4539
4539
  H(".time-container")
4540
- ], z.prototype, "timeContainer");
4540
+ ], M.prototype, "timeContainer");
4541
4541
  var Ks = Object.defineProperty, q = (r, e, t, o) => {
4542
4542
  for (var s = void 0, i = r.length - 1, a; i >= 0; i--)
4543
4543
  (a = r[i]) && (s = a(e, t, s) || s);
4544
4544
  return s && Ks(e, t, s), s;
4545
4545
  };
4546
4546
  const Js = () => {
4547
- D({
4547
+ z({
4548
4548
  name: "base-date-picker",
4549
4549
  element: P
4550
- }), D({
4550
+ }), z({
4551
4551
  name: "base-time-picker",
4552
- element: z
4553
- }), D({
4552
+ element: M
4553
+ }), z({
4554
4554
  name: "base-datetime-picker",
4555
4555
  element: U
4556
4556
  });
4557
4557
  };
4558
- class U extends I {
4558
+ class U extends L {
4559
4559
  constructor() {
4560
4560
  super(...arguments), this.value = "", this.placeholder = "Select date and time", this.required = !1, this.disabled = !1, this.size = "md", this.format = "12", this.dateValue = "", this.timeValue = "", this.isFocused = !1, this.inputId = `datetime-picker-${Math.random().toString(36).substring(2, 9)}`;
4561
4561
  }
@@ -4839,11 +4839,11 @@ var Xs = Object.defineProperty, Q = (r, e, t, o) => {
4839
4839
  (a = r[i]) && (s = a(e, t, s) || s);
4840
4840
  return s && Xs(e, t, s), s;
4841
4841
  };
4842
- const Gs = () => D({
4842
+ const Gs = () => z({
4843
4843
  name: "base-drawer",
4844
4844
  element: J
4845
4845
  });
4846
- class J extends I {
4846
+ class J extends L {
4847
4847
  constructor() {
4848
4848
  super(...arguments), this.open = !1, this.size = "sm", this.isClosing = !1, this.isVisible = !1, this.isDragging = !1, this.dragStartY = 0, this.dragCurrentY = 0, this.dragStartTime = 0, this.lastDragEndTime = 0, this.transitionDuration = 300, this.boundKeyHandler = (e) => {
4849
4849
  e.key === "Escape" && this.isVisible && this.handleClose();
@@ -5329,11 +5329,11 @@ const ko = /* @__PURE__ */ Object.assign({
5329
5329
  "../../public/icons/sun.svg": yo,
5330
5330
  "../../public/icons/trash-can.svg": wo,
5331
5331
  "../../public/icons/user.svg": xo
5332
- }), So = () => D({
5332
+ }), So = () => z({
5333
5333
  name: "base-icon",
5334
5334
  element: Ce
5335
5335
  });
5336
- class Ce extends I {
5336
+ class Ce extends L {
5337
5337
  constructor() {
5338
5338
  super(...arguments), this.name = "", this.size = "24px", this.color = "currentColor", this.svgContent = "";
5339
5339
  }
@@ -5411,11 +5411,11 @@ var _o = Object.defineProperty, ee = (r, e, t, o) => {
5411
5411
  (a = r[i]) && (s = a(e, t, s) || s);
5412
5412
  return s && _o(e, t, s), s;
5413
5413
  };
5414
- const Eo = () => D({
5414
+ const Eo = () => z({
5415
5415
  name: "base-input",
5416
5416
  element: X
5417
5417
  });
5418
- class X extends I {
5418
+ class X extends L {
5419
5419
  constructor() {
5420
5420
  super(...arguments), this.value = "", this.type = "text", this.required = !1, this.disabled = !1, this.size = "md", this.inputId = `input-${Math.random().toString(36).substr(2, 9)}`;
5421
5421
  }
@@ -5671,18 +5671,34 @@ ee([
5671
5671
  ee([
5672
5672
  H("input")
5673
5673
  ], X.prototype, "inputElement");
5674
- var Co = Object.defineProperty, L = (r, e, t, o) => {
5674
+ var Co = Object.defineProperty, I = (r, e, t, o) => {
5675
5675
  for (var s = void 0, i = r.length - 1, a; i >= 0; i--)
5676
5676
  (a = r[i]) && (s = a(e, t, s) || s);
5677
5677
  return s && Co(e, t, s), s;
5678
5678
  };
5679
- const Ao = () => D({
5679
+ const Ao = () => z({
5680
5680
  name: "base-select",
5681
- element: M
5681
+ element: D
5682
5682
  });
5683
- class M extends I {
5683
+ class D extends L {
5684
5684
  constructor() {
5685
- super(...arguments), this.value = "", this.placeholder = "Select an option", this.required = !1, this.disabled = !1, this.searchable = !1, this.size = "md", this.options = [], this.isOpen = !1, this.searchQuery = "", this.highlightedIndex = -1, this.isFlipped = !1, this.alignRight = !1, this.selectId = `select-${Math.random().toString(36).substr(2, 9)}`;
5685
+ super(...arguments), this.value = "", this.placeholder = "Select an option", this.required = !1, this.disabled = !1, this.searchable = !1, this.size = "md", this.options = [], this.isOpen = !1, this.parsedFromSlot = !1, this.searchQuery = "", this.highlightedIndex = -1, this.isFlipped = !1, this.alignRight = !1, this.selectId = `select-${Math.random().toString(36).substr(2, 9)}`;
5686
+ }
5687
+ connectedCallback() {
5688
+ super.connectedCallback(), this.parseSlottedOptions();
5689
+ }
5690
+ parseSlottedOptions() {
5691
+ if (this.options.length === 0 && !this.parsedFromSlot) {
5692
+ const e = this.querySelectorAll("option");
5693
+ if (e.length > 0) {
5694
+ this.options = Array.from(e).map((o) => ({
5695
+ label: o.textContent?.trim() || o.value,
5696
+ value: o.value
5697
+ }));
5698
+ const t = Array.from(e).find((o) => o.hasAttribute("selected"));
5699
+ t && !this.value && (this.value = t.value), this.parsedFromSlot = !0;
5700
+ }
5701
+ }
5686
5702
  }
5687
5703
  static {
5688
5704
  this.styles = F`
@@ -5921,6 +5937,11 @@ class M extends I {
5921
5937
  color: var(--color-text-muted);
5922
5938
  line-height: var(--line-height-tight);
5923
5939
  }
5940
+
5941
+ /* Hidden slot for option elements */
5942
+ ::slotted(option) {
5943
+ display: none;
5944
+ }
5924
5945
  `;
5925
5946
  }
5926
5947
  get selectedOption() {
@@ -6098,74 +6119,80 @@ class M extends I {
6098
6119
  ${this.error}
6099
6120
  </div>
6100
6121
  ` : this.hint ? m` <div class="select-hint">${this.hint}</div> ` : ""}
6122
+
6123
+ <!-- Hidden slot for option elements -->
6124
+ <slot @slotchange=${this.parseSlottedOptions}></slot>
6101
6125
  </div>
6102
6126
  `;
6103
6127
  }
6104
6128
  }
6105
- L([
6129
+ I([
6106
6130
  u({ type: String })
6107
- ], M.prototype, "value");
6108
- L([
6131
+ ], D.prototype, "value");
6132
+ I([
6109
6133
  u({ type: String })
6110
- ], M.prototype, "label");
6111
- L([
6134
+ ], D.prototype, "label");
6135
+ I([
6112
6136
  u({ type: String })
6113
- ], M.prototype, "placeholder");
6114
- L([
6137
+ ], D.prototype, "placeholder");
6138
+ I([
6115
6139
  u({ type: Boolean, reflect: !0 })
6116
- ], M.prototype, "required");
6117
- L([
6140
+ ], D.prototype, "required");
6141
+ I([
6118
6142
  u({ type: Boolean, reflect: !0 })
6119
- ], M.prototype, "disabled");
6120
- L([
6143
+ ], D.prototype, "disabled");
6144
+ I([
6121
6145
  u({ type: Boolean, reflect: !0 })
6122
- ], M.prototype, "searchable");
6123
- L([
6146
+ ], D.prototype, "searchable");
6147
+ I([
6124
6148
  u({ type: String })
6125
- ], M.prototype, "error");
6126
- L([
6149
+ ], D.prototype, "error");
6150
+ I([
6127
6151
  u({ type: String })
6128
- ], M.prototype, "hint");
6129
- L([
6152
+ ], D.prototype, "hint");
6153
+ I([
6130
6154
  u({ type: String })
6131
- ], M.prototype, "size");
6132
- L([
6155
+ ], D.prototype, "size");
6156
+ I([
6133
6157
  u({ type: Array })
6134
- ], M.prototype, "options");
6135
- L([
6158
+ ], D.prototype, "options");
6159
+ I([
6136
6160
  w()
6137
- ], M.prototype, "isOpen");
6138
- L([
6161
+ ], D.prototype, "isOpen");
6162
+ I([
6139
6163
  w()
6140
- ], M.prototype, "searchQuery");
6141
- L([
6164
+ ], D.prototype, "parsedFromSlot");
6165
+ I([
6142
6166
  w()
6143
- ], M.prototype, "highlightedIndex");
6144
- L([
6167
+ ], D.prototype, "searchQuery");
6168
+ I([
6145
6169
  w()
6146
- ], M.prototype, "isFlipped");
6147
- L([
6170
+ ], D.prototype, "highlightedIndex");
6171
+ I([
6148
6172
  w()
6149
- ], M.prototype, "alignRight");
6150
- L([
6173
+ ], D.prototype, "isFlipped");
6174
+ I([
6175
+ w()
6176
+ ], D.prototype, "alignRight");
6177
+ I([
6151
6178
  H(".select-input")
6152
- ], M.prototype, "selectInput");
6153
- L([
6179
+ ], D.prototype, "selectInput");
6180
+ I([
6154
6181
  H(".select-display")
6155
- ], M.prototype, "selectDisplay");
6156
- L([
6182
+ ], D.prototype, "selectDisplay");
6183
+ I([
6157
6184
  H(".dropdown-options")
6158
- ], M.prototype, "dropdownElement");
6185
+ ], D.prototype, "dropdownElement");
6159
6186
  var To = Object.defineProperty, je = (r, e, t, o) => {
6160
6187
  for (var s = void 0, i = r.length - 1, a; i >= 0; i--)
6161
6188
  (a = r[i]) && (s = a(e, t, s) || s);
6162
6189
  return s && To(e, t, s), s;
6163
6190
  };
6164
- const Po = () => D({
6191
+ const Po = () => z({
6165
6192
  name: "base-tab",
6166
6193
  element: Ae
6167
6194
  });
6168
- class Ae extends I {
6195
+ class Ae extends L {
6169
6196
  constructor() {
6170
6197
  super(...arguments), this.id = "", this.label = "", this.active = !1;
6171
6198
  }
@@ -6244,11 +6271,11 @@ var Oo = Object.defineProperty, ae = (r, e, t, o) => {
6244
6271
  (a = r[i]) && (s = a(e, t, s) || s);
6245
6272
  return s && Oo(e, t, s), s;
6246
6273
  };
6247
- const Ro = () => D({
6274
+ const Ro = () => z({
6248
6275
  name: "base-tabs",
6249
6276
  element: oe
6250
6277
  });
6251
- class oe extends I {
6278
+ class oe extends L {
6252
6279
  constructor() {
6253
6280
  super(...arguments), this.activeTab = "", this.ariaLabel = "Dashboard navigation", this.syncWithHash = !0, this.variant = "sidebar", this.forceExpanded = !1, this.tabs = [], this.isExpanded = !1, this.isMobile = !1, this.boundHashChangeHandler = this.handleHashChange.bind(this), this.boundResizeHandler = this.handleResize.bind(this), this.hasInitialized = !1;
6254
6281
  }
@@ -6933,11 +6960,11 @@ var Do = Object.defineProperty, G = (r, e, t, o) => {
6933
6960
  (a = r[i]) && (s = a(e, t, s) || s);
6934
6961
  return s && Do(e, t, s), s;
6935
6962
  };
6936
- const zo = () => D({
6963
+ const zo = () => z({
6937
6964
  name: "base-textarea",
6938
6965
  element: Y
6939
6966
  });
6940
- class Y extends I {
6967
+ class Y extends L {
6941
6968
  constructor() {
6942
6969
  super(...arguments), this.value = "", this.required = !1, this.disabled = !1, this.size = "md", this.rows = 4, this.resize = "vertical", this.textareaId = `textarea-${Math.random().toString(36).substr(2, 9)}`;
6943
6970
  }
@@ -7235,11 +7262,11 @@ var Mo = Object.defineProperty, Ve = (r, e, t, o) => {
7235
7262
  (a = r[i]) && (s = a(e, t, s) || s);
7236
7263
  return s && Mo(e, t, s), s;
7237
7264
  };
7238
- const Io = () => D({
7265
+ const Io = () => z({
7239
7266
  name: "base-toast",
7240
7267
  element: Te
7241
7268
  });
7242
- class Te extends I {
7269
+ class Te extends L {
7243
7270
  constructor() {
7244
7271
  super(...arguments), this.variant = "default", this.padding = "sm", this.size = "sm", this.dismiss = "2s", this.position = "bottom-center", this.timerStarted = 0, this.timerPausedAt = 0, this.toastTimout = null;
7245
7272
  }
@@ -7685,10 +7712,10 @@ function wa({
7685
7712
  dismiss: o = "2s"
7686
7713
  }) {
7687
7714
  const s = document.createElement("base-toast");
7688
- s.id = `toast-${Date.now()}`, s.setAttribute("variant", e), s.setAttribute("position", t), s.setAttribute("dismiss", o), s.textContent = r, document.body.appendChild(s), s.show(), s.addEventListener("toast-hidden", () => {
7689
- s.hide(), setTimeout(() => {
7690
- s.parentElement && s.remove();
7691
- }, 500);
7715
+ s.id = `toast-${Date.now()}`, s.setAttribute("id", s.id), s.setAttribute("variant", e), s.setAttribute("position", t), s.setAttribute("dismiss", o), s.textContent = r, document.body.appendChild(s), s.show(), s.addEventListener("toast-hidden", () => {
7716
+ setTimeout(() => {
7717
+ document.getElementById(s.id)?.remove();
7718
+ }, 300);
7692
7719
  });
7693
7720
  }
7694
7721
  var Lo = Object.defineProperty, Ze = (r, e, t, o) => {
@@ -7696,11 +7723,11 @@ var Lo = Object.defineProperty, Ze = (r, e, t, o) => {
7696
7723
  (a = r[i]) && (s = a(e, t, s) || s);
7697
7724
  return s && Lo(e, t, s), s;
7698
7725
  };
7699
- const Bo = () => D({
7726
+ const Bo = () => z({
7700
7727
  name: "quantity-select",
7701
7728
  element: Pe
7702
7729
  });
7703
- class Pe extends I {
7730
+ class Pe extends L {
7704
7731
  constructor() {
7705
7732
  super(...arguments), this.value = 0, this.min = 0, this.max = 99, this.size = "md", this.allowInput = !0;
7706
7733
  }
@@ -7947,15 +7974,15 @@ var Uo = Object.defineProperty, Ye = (r, e, t, o) => {
7947
7974
  return s && Uo(e, t, s), s;
7948
7975
  };
7949
7976
  const No = () => {
7950
- D({
7977
+ z({
7951
7978
  name: "base-icon",
7952
7979
  element: Ce
7953
- }), D({
7980
+ }), z({
7954
7981
  name: "theme-toggle",
7955
7982
  element: Oe
7956
7983
  });
7957
7984
  };
7958
- class Oe extends I {
7985
+ class Oe extends L {
7959
7986
  constructor() {
7960
7987
  super(...arguments), this.size = "sm", this.variant = "ghost", this.themes = [
7961
7988
  { theme: "light", icon: "sun" },
@@ -10006,11 +10033,11 @@ export {
10006
10033
  J as BaseDrawer,
10007
10034
  Ce as BaseIcon,
10008
10035
  X as BaseInput,
10009
- M as BaseSelect,
10036
+ D as BaseSelect,
10010
10037
  Ae as BaseTab,
10011
10038
  oe as BaseTabs,
10012
10039
  Y as BaseTextarea,
10013
- z as BaseTimePicker,
10040
+ M as BaseTimePicker,
10014
10041
  Te as BaseToast,
10015
10042
  Pe as QuantitySelect,
10016
10043
  Oe as ThemeToggle,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cal.macconnachie/web-components",
3
- "version": "2.1.6",
3
+ "version": "2.2.0",
4
4
  "description": "Web components hosted on a CDN",
5
5
  "keywords": [
6
6
  "web-components",