@transcodes/ui-components 0.1.0 → 0.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
@@ -138,7 +138,7 @@ export declare class HistoryController extends BaseController {
138
138
  hostDisconnected(): void;
139
139
  }
140
140
 
141
- export declare type IconName = 'arrow-left' | 'arrow-right' | 'check' | 'x' | 'close' | 'chevron-right' | 'chevron-left' | 'error' | 'alert-circle' | 'info' | 'warning' | 'loading' | 'loader' | 'biometric' | 'email' | 'passkey' | 'bell' | 'download' | 'wifi-off';
141
+ export declare type IconName = 'arrow-left' | 'arrow-right' | 'check' | 'x' | 'close' | 'chevron-right' | 'chevron-left' | 'error' | 'alert-circle' | 'info' | 'warning' | 'loading' | 'loader' | 'biometric' | 'email' | 'passkey' | 'bell' | 'download' | 'wifi-off' | 'apple' | 'google' | 'windows' | 'samsung' | 'phone' | 'success' | 'lock' | 'person' | 'device' | 'totp' | 'email-otp' | 'qrcode' | 'key';
142
142
 
143
143
  /**
144
144
  * Controller for managing loading states and progress.
@@ -323,7 +323,10 @@ export declare class TcButton extends LitElement {
323
323
  * Uses design-tokens notice classes (.notice, .notice-info, .notice-success, etc.)
324
324
  *
325
325
  * @slot - Callout content
326
+ * @slot icon - Optional icon slot
326
327
  * @csspart callout - The callout container
328
+ * @csspart icon - The icon container
329
+ * @csspart content - The content container
327
330
  */
328
331
  export declare class TcCallout extends LitElement {
329
332
  variant: 'info' | 'success' | 'warning' | 'error';
@@ -373,13 +376,17 @@ export declare class TcContainer extends LitElement {
373
376
  }
374
377
 
375
378
  /**
376
- * A horizontal divider line.
379
+ * A horizontal divider line with optional text.
377
380
  *
378
- * @csspart divider - The divider element
381
+ * @csspart divider - The divider element (simple mode)
382
+ * @csspart container - The container element (text mode)
383
+ * @csspart line - The line elements (text mode)
384
+ * @csspart text - The text element (text mode)
379
385
  */
380
386
  export declare class TcDivider extends LitElement {
381
387
  color: string;
382
388
  spacing: string;
389
+ text: string;
383
390
  static styles: CSSResult;
384
391
  render(): TemplateResult<1>;
385
392
  }
@@ -499,6 +506,8 @@ export declare class TcIframeModal extends LitElement {
499
506
  *
500
507
  * @fires tc-input - Fired when input value changes
501
508
  * @fires tc-blur - Fired when input loses focus
509
+ * @fires tc-keydown - Fired when a key is pressed
510
+ * @fires tc-paste - Fired when content is pasted
502
511
  * @csspart wrapper - The input wrapper element
503
512
  * @csspart input - The input element
504
513
  * @csspart label - The label element
@@ -525,6 +534,8 @@ export declare class TcInput extends LitElement {
525
534
  private handleInput;
526
535
  private handleFocus;
527
536
  private handleBlur;
537
+ private handleKeydown;
538
+ private handlePaste;
528
539
  focus(): void;
529
540
  }
530
541
 
@@ -2,8 +2,8 @@ import "@transcodes/design-tokens";
2
2
  import { css as c, LitElement as d, html as l, unsafeCSS as kt } from "lit";
3
3
  import { property as n, customElement as p, state as S } from "lit/decorators.js";
4
4
  import { styleMap as m } from "lit/directives/style-map.js";
5
- import { classMap as B } from "lit/directives/class-map.js";
6
- import { unsafeStatic as $t, html as _t } from "lit/static-html.js";
5
+ import { classMap as M } from "lit/directives/class-map.js";
6
+ import { unsafeStatic as $t, html as zt } from "lit/static-html.js";
7
7
  class P {
8
8
  constructor(e) {
9
9
  this.host = e, this.host.addController(this);
@@ -37,7 +37,7 @@ class j extends P {
37
37
  });
38
38
  }
39
39
  }
40
- class Fe extends P {
40
+ class He extends P {
41
41
  constructor() {
42
42
  super(...arguments), this.errors = /* @__PURE__ */ new Map();
43
43
  }
@@ -104,7 +104,7 @@ class Ct extends P {
104
104
  window.removeEventListener("popstate", this.handlePopState), this.onPopCallback = void 0;
105
105
  }
106
106
  }
107
- class zt extends P {
107
+ class _t extends P {
108
108
  constructor() {
109
109
  super(...arguments), this._isLoading = !1, this._progress = 0;
110
110
  }
@@ -154,10 +154,10 @@ class Ot extends P {
154
154
  super(e), this.handlers = /* @__PURE__ */ new Map(), this.wildcardHandlers = /* @__PURE__ */ new Set(), this.handleMessage = (i) => {
155
155
  if (!(this.targetOrigin !== "*" && i.origin !== this.targetOrigin) && i.data && typeof i.data == "object" && typeof i.data.type == "string") {
156
156
  const { type: t, payload: a } = i.data;
157
- this.handlers.get(t)?.forEach((ct) => {
158
- ct(a);
159
- }), this.wildcardHandlers.forEach((ct) => {
160
- ct(t, a);
157
+ this.handlers.get(t)?.forEach((dt) => {
158
+ dt(a);
159
+ }), this.wildcardHandlers.forEach((dt) => {
160
+ dt(t, a);
161
161
  });
162
162
  }
163
163
  }, this.targetOrigin = s, s === "*" && typeof window < "u" && window.location.protocol !== "file:" && console.warn(
@@ -754,8 +754,8 @@ const jt = `/**
754
754
  color: var(--semantic-info);
755
755
  }
756
756
  `, u = kt(jt);
757
- var Et = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, Z = (r, e, s, i) => {
758
- for (var t = i > 1 ? void 0 : i ? Lt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
757
+ var Et = Object.defineProperty, Bt = Object.getOwnPropertyDescriptor, Z = (r, e, s, i) => {
758
+ for (var t = i > 1 ? void 0 : i ? Bt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
759
759
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
760
760
  return i && t && Et(e, s, t), t;
761
761
  };
@@ -775,7 +775,7 @@ let C = class extends d {
775
775
  return l`
776
776
  <button
777
777
  part="button"
778
- class=${B(r)}
778
+ class=${M(r)}
779
779
  style=${m(this.sx)}
780
780
  ?disabled=${this.disabled || this.loading}
781
781
  type="button"
@@ -913,10 +913,10 @@ Z([
913
913
  C = Z([
914
914
  p("tc-button")
915
915
  ], C);
916
- var Bt = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, wt = (r, e, s, i) => {
917
- for (var t = i > 1 ? void 0 : i ? Tt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
916
+ var Mt = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, wt = (r, e, s, i) => {
917
+ for (var t = i > 1 ? void 0 : i ? Lt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
918
918
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
919
- return i && t && Bt(e, s, t), t;
919
+ return i && t && Mt(e, s, t), t;
920
920
  };
921
921
  let st = class extends d {
922
922
  constructor() {
@@ -931,8 +931,15 @@ let st = class extends d {
931
931
  "error-message": r
932
932
  };
933
933
  return l`
934
- <div part="callout" class=${B(e)} role="alert">
935
- <slot></slot>
934
+ <div part="callout" class=${M(e)} role="alert">
935
+ <div class="callout-inner">
936
+ <div part="icon" class="callout-icon">
937
+ <slot name="icon"></slot>
938
+ </div>
939
+ <div part="content" class="callout-content">
940
+ <slot></slot>
941
+ </div>
942
+ </div>
936
943
  </div>
937
944
  `;
938
945
  }
@@ -954,6 +961,29 @@ st.styles = [
954
961
  .error-message {
955
962
  animation: none;
956
963
  }
964
+
965
+ /* Icon + content layout */
966
+ .callout-inner {
967
+ display: flex;
968
+ align-items: flex-start;
969
+ gap: var(--space-sm);
970
+ }
971
+
972
+ .callout-icon {
973
+ flex-shrink: 0;
974
+ display: flex;
975
+ align-items: center;
976
+ }
977
+
978
+ /* Hide icon container when empty */
979
+ .callout-icon:empty {
980
+ display: none;
981
+ }
982
+
983
+ .callout-content {
984
+ flex: 1;
985
+ min-width: 0;
986
+ }
957
987
  `
958
988
  ];
959
989
  wt([
@@ -962,12 +992,12 @@ wt([
962
992
  st = wt([
963
993
  p("tc-callout")
964
994
  ], st);
965
- var At = Object.defineProperty, Mt = Object.getOwnPropertyDescriptor, dt = (r, e, s, i) => {
966
- for (var t = i > 1 ? void 0 : i ? Mt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
995
+ var Tt = Object.defineProperty, At = Object.getOwnPropertyDescriptor, pt = (r, e, s, i) => {
996
+ for (var t = i > 1 ? void 0 : i ? At(e, s) : e, a = r.length - 1, o; a >= 0; a--)
967
997
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
968
- return i && t && At(e, s, t), t;
998
+ return i && t && Tt(e, s, t), t;
969
999
  };
970
- let N = class extends d {
1000
+ let K = class extends d {
971
1001
  constructor() {
972
1002
  super(...arguments), this.noBorder = !1, this.sx = {};
973
1003
  }
@@ -977,7 +1007,7 @@ let N = class extends d {
977
1007
  "card--no-border": this.noBorder
978
1008
  };
979
1009
  return l`
980
- <div part="card" class=${B(r)} style=${m(this.sx)}>
1010
+ <div part="card" class=${M(r)} style=${m(this.sx)}>
981
1011
  <div class="card-content">
982
1012
  <slot></slot>
983
1013
  </div>
@@ -985,7 +1015,7 @@ let N = class extends d {
985
1015
  `;
986
1016
  }
987
1017
  };
988
- N.styles = [
1018
+ K.styles = [
989
1019
  u,
990
1020
  c`
991
1021
  :host {
@@ -1021,21 +1051,21 @@ N.styles = [
1021
1051
  }
1022
1052
  `
1023
1053
  ];
1024
- dt([
1054
+ pt([
1025
1055
  n({ type: Boolean, attribute: "no-border" })
1026
- ], N.prototype, "noBorder", 2);
1027
- dt([
1056
+ ], K.prototype, "noBorder", 2);
1057
+ pt([
1028
1058
  n({ type: Object })
1029
- ], N.prototype, "sx", 2);
1030
- N = dt([
1059
+ ], K.prototype, "sx", 2);
1060
+ K = pt([
1031
1061
  p("tc-card")
1032
- ], N);
1033
- var It = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, pt = (r, e, s, i) => {
1034
- for (var t = i > 1 ? void 0 : i ? Ft(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1062
+ ], K);
1063
+ var It = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, ht = (r, e, s, i) => {
1064
+ for (var t = i > 1 ? void 0 : i ? Ht(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1035
1065
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
1036
1066
  return i && t && It(e, s, t), t;
1037
1067
  };
1038
- let K = class extends d {
1068
+ let N = class extends d {
1039
1069
  constructor() {
1040
1070
  super(...arguments), this.variant = "default", this.size = "md";
1041
1071
  }
@@ -1047,7 +1077,7 @@ let K = class extends d {
1047
1077
  `;
1048
1078
  }
1049
1079
  };
1050
- K.styles = [
1080
+ N.styles = [
1051
1081
  u,
1052
1082
  c`
1053
1083
  :host {
@@ -1094,21 +1124,21 @@ K.styles = [
1094
1124
  }
1095
1125
  `
1096
1126
  ];
1097
- pt([
1127
+ ht([
1098
1128
  n({ type: String })
1099
- ], K.prototype, "variant", 2);
1100
- pt([
1129
+ ], N.prototype, "variant", 2);
1130
+ ht([
1101
1131
  n({ type: String })
1102
- ], K.prototype, "size", 2);
1103
- K = pt([
1132
+ ], N.prototype, "size", 2);
1133
+ N = ht([
1104
1134
  p("tc-chip")
1105
- ], K);
1106
- var qt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, ht = (r, e, s, i) => {
1107
- for (var t = i > 1 ? void 0 : i ? Yt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1135
+ ], N);
1136
+ var Ft = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, ut = (r, e, s, i) => {
1137
+ for (var t = i > 1 ? void 0 : i ? Vt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1108
1138
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
1109
- return i && t && qt(e, s, t), t;
1139
+ return i && t && Ft(e, s, t), t;
1110
1140
  };
1111
- let V = class extends d {
1141
+ let W = class extends d {
1112
1142
  constructor() {
1113
1143
  super(...arguments), this.wide = !1, this.sx = {}, this.defaultStyles = {
1114
1144
  display: "flex",
@@ -1133,7 +1163,7 @@ let V = class extends d {
1133
1163
  `;
1134
1164
  }
1135
1165
  };
1136
- V.styles = c`
1166
+ W.styles = c`
1137
1167
  :host {
1138
1168
  display: block;
1139
1169
  width: 100%;
@@ -1150,60 +1180,90 @@ V.styles = c`
1150
1180
  max-width: var(--container-max-width-wide);
1151
1181
  }
1152
1182
  `;
1153
- ht([
1183
+ ut([
1154
1184
  n({ type: Boolean })
1155
- ], V.prototype, "wide", 2);
1156
- ht([
1185
+ ], W.prototype, "wide", 2);
1186
+ ut([
1157
1187
  n({ type: Object })
1158
- ], V.prototype, "sx", 2);
1159
- V = ht([
1188
+ ], W.prototype, "sx", 2);
1189
+ W = ut([
1160
1190
  p("tc-container")
1161
- ], V);
1162
- var Ut = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, ut = (r, e, s, i) => {
1163
- for (var t = i > 1 ? void 0 : i ? Ht(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1191
+ ], W);
1192
+ var qt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, ot = (r, e, s, i) => {
1193
+ for (var t = i > 1 ? void 0 : i ? Yt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1164
1194
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
1165
- return i && t && Ut(e, s, t), t;
1195
+ return i && t && qt(e, s, t), t;
1166
1196
  };
1167
- let W = class extends d {
1197
+ let L = class extends d {
1168
1198
  constructor() {
1169
- super(...arguments), this.color = "var(--ink-faint)", this.spacing = "var(--space-md)";
1199
+ super(...arguments), this.color = "var(--ink-faint)", this.spacing = "var(--space-md)", this.text = "";
1170
1200
  }
1171
1201
  render() {
1172
- return l`
1173
- <hr
1174
- part="divider"
1175
- class="divider"
1176
- style="--divider-color: ${this.color}; --divider-spacing: ${this.spacing};"
1177
- />
1202
+ const r = `--divider-color: ${this.color}; --divider-spacing: ${this.spacing};`;
1203
+ return this.text ? l`
1204
+ <div part="container" class="divider-container" style=${r}>
1205
+ <hr part="line" class="divider-line" />
1206
+ <span part="text" class="divider-text">${this.text}</span>
1207
+ <hr part="line" class="divider-line" />
1208
+ </div>
1209
+ ` : l`
1210
+ <hr part="divider" class="divider" style=${r} />
1178
1211
  `;
1179
1212
  }
1180
1213
  };
1181
- W.styles = c`
1214
+ L.styles = c`
1182
1215
  :host {
1183
1216
  display: block;
1184
1217
  width: 100%;
1185
1218
  }
1186
1219
 
1220
+ /* Simple divider (no text) */
1187
1221
  .divider {
1188
1222
  border: none;
1189
1223
  height: 1px;
1190
1224
  background-color: var(--divider-color);
1191
1225
  margin: var(--divider-spacing) 0;
1192
1226
  }
1227
+
1228
+ /* Divider with text */
1229
+ .divider-container {
1230
+ display: flex;
1231
+ align-items: center;
1232
+ gap: var(--space-md);
1233
+ margin: var(--divider-spacing) 0;
1234
+ }
1235
+
1236
+ .divider-line {
1237
+ flex: 1;
1238
+ border: none;
1239
+ height: 1px;
1240
+ background-color: var(--divider-color);
1241
+ margin: 0;
1242
+ }
1243
+
1244
+ .divider-text {
1245
+ flex-shrink: 0;
1246
+ font-size: var(--font-size-sm);
1247
+ color: var(--ink-light);
1248
+ font-family: var(--font-body);
1249
+ }
1193
1250
  `;
1194
- ut([
1251
+ ot([
1195
1252
  n({ type: String })
1196
- ], W.prototype, "color", 2);
1197
- ut([
1253
+ ], L.prototype, "color", 2);
1254
+ ot([
1198
1255
  n({ type: String })
1199
- ], W.prototype, "spacing", 2);
1200
- W = ut([
1256
+ ], L.prototype, "spacing", 2);
1257
+ ot([
1258
+ n({ type: String })
1259
+ ], L.prototype, "text", 2);
1260
+ L = ot([
1201
1261
  p("tc-divider")
1202
- ], W);
1203
- var Rt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, I = (r, e, s, i) => {
1204
- for (var t = i > 1 ? void 0 : i ? Nt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1262
+ ], L);
1263
+ var Ut = Object.defineProperty, Rt = Object.getOwnPropertyDescriptor, H = (r, e, s, i) => {
1264
+ for (var t = i > 1 ? void 0 : i ? Rt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1205
1265
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
1206
- return i && t && Rt(e, s, t), t;
1266
+ return i && t && Ut(e, s, t), t;
1207
1267
  };
1208
1268
  let b = class extends d {
1209
1269
  constructor() {
@@ -1295,26 +1355,26 @@ b.styles = [
1295
1355
  }
1296
1356
  `
1297
1357
  ];
1298
- I([
1358
+ H([
1299
1359
  n({ type: String })
1300
1360
  ], b.prototype, "title", 2);
1301
- I([
1361
+ H([
1302
1362
  n({ type: String })
1303
1363
  ], b.prototype, "subtitle", 2);
1304
- I([
1364
+ H([
1305
1365
  n({ type: String })
1306
1366
  ], b.prototype, "notice", 2);
1307
- I([
1367
+ H([
1308
1368
  n({ type: Boolean, attribute: "no-animation" })
1309
1369
  ], b.prototype, "noAnimation", 2);
1310
- I([
1370
+ H([
1311
1371
  n({ type: Object })
1312
1372
  ], b.prototype, "sx", 2);
1313
- b = I([
1373
+ b = H([
1314
1374
  p("tc-form-header")
1315
1375
  ], b);
1316
- var Kt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, ot = (r, e, s, i) => {
1317
- for (var t = i > 1 ? void 0 : i ? Vt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1376
+ var Kt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, nt = (r, e, s, i) => {
1377
+ for (var t = i > 1 ? void 0 : i ? Nt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1318
1378
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
1319
1379
  return i && t && Kt(e, s, t), t;
1320
1380
  };
@@ -1337,7 +1397,23 @@ const Wt = {
1337
1397
  passkey: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M21 10h-8.35C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H13l2 2 2-2 2 2 2-2.93-2-2.07zm-14 2c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>`,
1338
1398
  bell: l`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg>`,
1339
1399
  download: l`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>`,
1340
- "wifi-off": l`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="1" y1="1" x2="23" y2="23"></line><path d="M16.72 11.06A10.94 10.94 0 0 1 19 12.55"></path><path d="M5 12.55a10.94 10.94 0 0 1 5.17-2.39"></path><path d="M10.71 5.05A16 16 0 0 1 22.58 9"></path><path d="M1.42 9a15.91 15.91 0 0 1 4.7-2.88"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line></svg>`
1400
+ "wifi-off": l`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="1" y1="1" x2="23" y2="23"></line><path d="M16.72 11.06A10.94 10.94 0 0 1 19 12.55"></path><path d="M5 12.55a10.94 10.94 0 0 1 5.17-2.39"></path><path d="M10.71 5.05A16 16 0 0 1 22.58 9"></path><path d="M1.42 9a15.91 15.91 0 0 1 4.7-2.88"></path><path d="M8.53 16.11a6 6 0 0 1 6.95 0"></path><line x1="12" y1="20" x2="12.01" y2="20"></line></svg>`,
1401
+ // Brand icons
1402
+ apple: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09l.01-.01zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z"/></svg>`,
1403
+ google: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"/><path d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"/><path d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"/><path d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"/></svg>`,
1404
+ windows: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M3 12V6.75l6-1.32v6.48L3 12zm17-9v8.75l-10 .15V5.21L20 3zM3 13l6 .09v6.81l-6-1.15V13zm17 .25V22l-10-1.91V13.1l10 .15z"/></svg>`,
1405
+ samsung: l`<svg viewBox="0 0 24 24"><text x="12" y="17" font-size="18" font-weight="700" font-family="-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif" text-anchor="middle" fill="currentColor">S</text></svg>`,
1406
+ // General icons
1407
+ phone: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>`,
1408
+ success: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>`,
1409
+ lock: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>`,
1410
+ person: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>`,
1411
+ device: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M15 7v4h1v2h-3V5h2l-3-4-3 4h2v8H8v-2.07c.7-.37 1.2-1.08 1.2-1.93 0-1.21-.99-2.2-2.2-2.2-1.21 0-2.2.99-2.2 2.2 0 .85.5 1.56 1.2 1.93V13c0 1.11.89 2 2 2h3v3.05c-.71.37-1.2 1.1-1.2 1.95 0 1.22.99 2.2 2.2 2.2 1.21 0 2.2-.98 2.2-2.2 0-.85-.49-1.58-1.2-1.95V15h3c1.11 0 2-.89 2-2v-2h1V7h-4z"/></svg>`,
1412
+ // Auth icons
1413
+ totp: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>`,
1414
+ "email-otp": l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,
1415
+ qrcode: l`<svg viewBox="0 0 24 24" fill="currentColor"><path d="M3 11h8V3H3v8zm2-6h4v4H5V5zM3 21h8v-8H3v8zm2-6h4v4H5v-4zM13 3v8h8V3h-8zm6 6h-4V5h4v4zM13 13h2v2h-2zM15 15h2v2h-2zM13 17h2v2h-2zM15 19h2v2h-2zM17 17h2v2h-2zM17 13h2v2h-2zM19 15h2v2h-2zM19 19h2v2h-2z"/><path d="M6 6h2v2H6zM6 16h2v2H6zM16 6h2v2h-2z"/></svg>`,
1416
+ key: l`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"/></svg>`
1341
1417
  };
1342
1418
  let T = class extends d {
1343
1419
  constructor() {
@@ -1375,16 +1451,16 @@ T.styles = c`
1375
1451
  color: var(--icon-color);
1376
1452
  }
1377
1453
  `;
1378
- ot([
1454
+ nt([
1379
1455
  n({ type: String })
1380
1456
  ], T.prototype, "name", 2);
1381
- ot([
1457
+ nt([
1382
1458
  n({ type: String })
1383
1459
  ], T.prototype, "size", 2);
1384
- ot([
1460
+ nt([
1385
1461
  n({ type: String })
1386
1462
  ], T.prototype, "color", 2);
1387
- T = ot([
1463
+ T = nt([
1388
1464
  p("tc-icon")
1389
1465
  ], T);
1390
1466
  var Xt = Object.defineProperty, Gt = Object.getOwnPropertyDescriptor, v = (r, e, s, i) => {
@@ -1410,13 +1486,13 @@ let h = class extends d {
1410
1486
  "has-error": r
1411
1487
  };
1412
1488
  return l`
1413
- <div class=${B(e)}>
1489
+ <div class=${M(e)}>
1414
1490
  ${this.label ? l`<label part="label" class="field-label" for=${this.inputId}>${this.label}</label>` : ""}
1415
- <div part="wrapper" class=${B(s)}>
1491
+ <div part="wrapper" class=${M(s)}>
1416
1492
  <input
1417
1493
  part="input"
1418
1494
  id=${this.inputId}
1419
- class=${B(i)}
1495
+ class=${M(i)}
1420
1496
  type=${this.type}
1421
1497
  name=${this.name}
1422
1498
  placeholder=${this.placeholder}
@@ -1432,6 +1508,8 @@ let h = class extends d {
1432
1508
  @input=${this.handleInput}
1433
1509
  @focus=${this.handleFocus}
1434
1510
  @blur=${this.handleBlur}
1511
+ @keydown=${this.handleKeydown}
1512
+ @paste=${this.handlePaste}
1435
1513
  />
1436
1514
  <div part="ink-line" class="ink-line"></div>
1437
1515
  </div>
@@ -1464,6 +1542,24 @@ let h = class extends d {
1464
1542
  })
1465
1543
  );
1466
1544
  }
1545
+ handleKeydown(r) {
1546
+ this.dispatchEvent(
1547
+ new CustomEvent("tc-keydown", {
1548
+ bubbles: !0,
1549
+ composed: !0,
1550
+ detail: { key: r.key, value: this.value, originalEvent: r }
1551
+ })
1552
+ );
1553
+ }
1554
+ handlePaste(r) {
1555
+ this.dispatchEvent(
1556
+ new CustomEvent("tc-paste", {
1557
+ bubbles: !0,
1558
+ composed: !0,
1559
+ detail: { data: r.clipboardData?.getData("text"), originalEvent: r }
1560
+ })
1561
+ );
1562
+ }
1467
1563
  focus() {
1468
1564
  this.shadowRoot?.querySelector("input")?.focus();
1469
1565
  }
@@ -1621,7 +1717,7 @@ v([
1621
1717
  h = v([
1622
1718
  p("tc-input")
1623
1719
  ], h);
1624
- var Qt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, nt = (r, e, s, i) => {
1720
+ var Qt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, lt = (r, e, s, i) => {
1625
1721
  for (var t = i > 1 ? void 0 : i ? Jt(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1626
1722
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
1627
1723
  return i && t && Qt(e, s, t), t;
@@ -1696,16 +1792,16 @@ A.styles = c`
1696
1792
  display: none;
1697
1793
  }
1698
1794
  `;
1699
- nt([
1795
+ lt([
1700
1796
  n({ type: String })
1701
1797
  ], A.prototype, "gap", 2);
1702
- nt([
1798
+ lt([
1703
1799
  n({ type: String })
1704
1800
  ], A.prototype, "padding", 2);
1705
- nt([
1801
+ lt([
1706
1802
  n({ type: Object })
1707
1803
  ], A.prototype, "sx", 2);
1708
- A = nt([
1804
+ A = lt([
1709
1805
  p("tc-item")
1710
1806
  ], A);
1711
1807
  var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, F = (r, e, s, i) => {
@@ -1870,7 +1966,7 @@ F([
1870
1966
  y = F([
1871
1967
  p("tc-item-button")
1872
1968
  ], y);
1873
- var ee = Object.defineProperty, re = Object.getOwnPropertyDescriptor, q = (r, e, s, i) => {
1969
+ var ee = Object.defineProperty, re = Object.getOwnPropertyDescriptor, V = (r, e, s, i) => {
1874
1970
  for (var t = i > 1 ? void 0 : i ? re(e, s) : e, a = r.length - 1, o; a >= 0; a--)
1875
1971
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
1876
1972
  return i && t && ee(e, s, t), t;
@@ -2076,22 +2172,22 @@ w.styles = [
2076
2172
  }
2077
2173
  `
2078
2174
  ];
2079
- q([
2175
+ V([
2080
2176
  n({ type: Number })
2081
2177
  ], w.prototype, "length", 2);
2082
- q([
2178
+ V([
2083
2179
  n({ type: Boolean })
2084
2180
  ], w.prototype, "error", 2);
2085
- q([
2181
+ V([
2086
2182
  n({ type: Boolean })
2087
2183
  ], w.prototype, "disabled", 2);
2088
- q([
2184
+ V([
2089
2185
  n({ type: Boolean, attribute: "show-progress" })
2090
2186
  ], w.prototype, "showProgress", 2);
2091
- q([
2187
+ V([
2092
2188
  S()
2093
2189
  ], w.prototype, "values", 2);
2094
- w = q([
2190
+ w = V([
2095
2191
  p("tc-otp-input")
2096
2192
  ], w);
2097
2193
  var ie = Object.defineProperty, se = Object.getOwnPropertyDescriptor, vt = (r, e, s, i) => {
@@ -2216,12 +2312,12 @@ mt([
2216
2312
  G = mt([
2217
2313
  p("tc-spinner")
2218
2314
  ], G);
2219
- var ne = Object.defineProperty, le = Object.getOwnPropertyDescriptor, lt = (r, e, s, i) => {
2315
+ var ne = Object.defineProperty, le = Object.getOwnPropertyDescriptor, ct = (r, e, s, i) => {
2220
2316
  for (var t = i > 1 ? void 0 : i ? le(e, s) : e, a = r.length - 1, o; a >= 0; a--)
2221
2317
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
2222
2318
  return i && t && ne(e, s, t), t;
2223
2319
  };
2224
- let M = class extends d {
2320
+ let I = class extends d {
2225
2321
  constructor() {
2226
2322
  super(...arguments), this.size = "3rem", this.background = "var(--paper-cream)", this.color = "var(--ink-dark)";
2227
2323
  }
@@ -2237,7 +2333,7 @@ let M = class extends d {
2237
2333
  `;
2238
2334
  }
2239
2335
  };
2240
- M.styles = c`
2336
+ I.styles = c`
2241
2337
  :host {
2242
2338
  display: inline-flex;
2243
2339
  }
@@ -2255,19 +2351,19 @@ M.styles = c`
2255
2351
  font-weight: 600;
2256
2352
  }
2257
2353
  `;
2258
- lt([
2354
+ ct([
2259
2355
  n({ type: String })
2260
- ], M.prototype, "size", 2);
2261
- lt([
2356
+ ], I.prototype, "size", 2);
2357
+ ct([
2262
2358
  n({ type: String })
2263
- ], M.prototype, "background", 2);
2264
- lt([
2359
+ ], I.prototype, "background", 2);
2360
+ ct([
2265
2361
  n({ type: String })
2266
- ], M.prototype, "color", 2);
2267
- M = lt([
2362
+ ], I.prototype, "color", 2);
2363
+ I = ct([
2268
2364
  p("tc-symbol")
2269
- ], M);
2270
- var ce = Object.defineProperty, de = Object.getOwnPropertyDescriptor, Y = (r, e, s, i) => {
2365
+ ], I);
2366
+ var ce = Object.defineProperty, de = Object.getOwnPropertyDescriptor, q = (r, e, s, i) => {
2271
2367
  for (var t = i > 1 ? void 0 : i ? de(e, s) : e, a = r.length - 1, o; a >= 0; a--)
2272
2368
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
2273
2369
  return i && t && ce(e, s, t), t;
@@ -2303,7 +2399,7 @@ let x = class extends d {
2303
2399
  ...s ? { color: s } : {},
2304
2400
  ...this.sx
2305
2401
  };
2306
- return _t`
2402
+ return zt`
2307
2403
  <${r} part="text" class=${e} style=${m(i)}>
2308
2404
  <slot></slot>
2309
2405
  </${r}>
@@ -2386,22 +2482,22 @@ x.styles = [
2386
2482
  }
2387
2483
  `
2388
2484
  ];
2389
- Y([
2485
+ q([
2390
2486
  n({ type: String })
2391
2487
  ], x.prototype, "tag", 2);
2392
- Y([
2488
+ q([
2393
2489
  n({ type: String })
2394
2490
  ], x.prototype, "size", 2);
2395
- Y([
2491
+ q([
2396
2492
  n({ type: String })
2397
2493
  ], x.prototype, "weight", 2);
2398
- Y([
2494
+ q([
2399
2495
  n({ type: String })
2400
2496
  ], x.prototype, "color", 2);
2401
- Y([
2497
+ q([
2402
2498
  n({ type: Object })
2403
2499
  ], x.prototype, "sx", 2);
2404
- x = Y([
2500
+ x = q([
2405
2501
  p("tc-text")
2406
2502
  ], x);
2407
2503
  var pe = Object.defineProperty, he = Object.getOwnPropertyDescriptor, tt = (r, e, s, i) => {
@@ -2409,7 +2505,7 @@ var pe = Object.defineProperty, he = Object.getOwnPropertyDescriptor, tt = (r, e
2409
2505
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
2410
2506
  return i && t && pe(e, s, t), t;
2411
2507
  };
2412
- let z = class extends d {
2508
+ let _ = class extends d {
2413
2509
  constructor() {
2414
2510
  super(...arguments), this.variant = "info", this.duration = 5e3, this.autoDismiss = !0, this.dismissible = !0, this.animation = new j(this, {
2415
2511
  showDuration: 300,
@@ -2477,7 +2573,7 @@ let z = class extends d {
2477
2573
  `;
2478
2574
  }
2479
2575
  };
2480
- z.styles = [
2576
+ _.styles = [
2481
2577
  u,
2482
2578
  c`
2483
2579
  :host {
@@ -2573,19 +2669,19 @@ z.styles = [
2573
2669
  ];
2574
2670
  tt([
2575
2671
  n({ type: String })
2576
- ], z.prototype, "variant", 2);
2672
+ ], _.prototype, "variant", 2);
2577
2673
  tt([
2578
2674
  n({ type: Number })
2579
- ], z.prototype, "duration", 2);
2675
+ ], _.prototype, "duration", 2);
2580
2676
  tt([
2581
2677
  n({ type: Boolean, attribute: "auto-dismiss" })
2582
- ], z.prototype, "autoDismiss", 2);
2678
+ ], _.prototype, "autoDismiss", 2);
2583
2679
  tt([
2584
2680
  n({ type: Boolean })
2585
- ], z.prototype, "dismissible", 2);
2586
- z = tt([
2681
+ ], _.prototype, "dismissible", 2);
2682
+ _ = tt([
2587
2683
  p("tc-toast")
2588
- ], z);
2684
+ ], _);
2589
2685
  var ue = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, et = (r, e, s, i) => {
2590
2686
  for (var t = i > 1 ? void 0 : i ? ve(e, s) : e, a = r.length - 1, o; a >= 0; a--)
2591
2687
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
@@ -2707,7 +2803,7 @@ var me = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, gt = (r, e
2707
2803
  };
2708
2804
  let Q = class extends d {
2709
2805
  constructor() {
2710
- super(...arguments), this.message = "", this.spinnerSize = "3rem", this.loading = new zt(this);
2806
+ super(...arguments), this.message = "", this.spinnerSize = "3rem", this.loading = new _t(this);
2711
2807
  }
2712
2808
  connectedCallback() {
2713
2809
  super.connectedCallback(), this.loading.start();
@@ -2771,7 +2867,7 @@ gt([
2771
2867
  Q = gt([
2772
2868
  p("tc-loading-screen")
2773
2869
  ], Q);
2774
- var fe = Object.defineProperty, be = Object.getOwnPropertyDescriptor, U = (r, e, s, i) => {
2870
+ var fe = Object.defineProperty, be = Object.getOwnPropertyDescriptor, Y = (r, e, s, i) => {
2775
2871
  for (var t = i > 1 ? void 0 : i ? be(e, s) : e, a = r.length - 1, o; a >= 0; a--)
2776
2872
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
2777
2873
  return i && t && fe(e, s, t), t;
@@ -2939,22 +3035,22 @@ k.styles = c`
2939
3035
  transform: translateY(0);
2940
3036
  }
2941
3037
  `;
2942
- U([
3038
+ Y([
2943
3039
  n({ type: String })
2944
3040
  ], k.prototype, "title", 2);
2945
- U([
3041
+ Y([
2946
3042
  n({ type: String })
2947
3043
  ], k.prototype, "message", 2);
2948
- U([
3044
+ Y([
2949
3045
  n({ type: String, attribute: "action-label" })
2950
3046
  ], k.prototype, "actionLabel", 2);
2951
- U([
3047
+ Y([
2952
3048
  n({ type: Boolean, attribute: "auto-animate" })
2953
3049
  ], k.prototype, "autoAnimate", 2);
2954
- U([
3050
+ Y([
2955
3051
  S()
2956
3052
  ], k.prototype, "isAnimated", 2);
2957
- k = U([
3053
+ k = Y([
2958
3054
  p("tc-success-screen")
2959
3055
  ], k);
2960
3056
  var ye = Object.defineProperty, we = Object.getOwnPropertyDescriptor, rt = (r, e, s, i) => {
@@ -3336,8 +3432,8 @@ E([
3336
3432
  g = E([
3337
3433
  p("tc-iframe-modal")
3338
3434
  ], g);
3339
- var $e = Object.defineProperty, _e = Object.getOwnPropertyDescriptor, L = (r, e, s, i) => {
3340
- for (var t = i > 1 ? void 0 : i ? _e(e, s) : e, a = r.length - 1, o; a >= 0; a--)
3435
+ var $e = Object.defineProperty, ze = Object.getOwnPropertyDescriptor, B = (r, e, s, i) => {
3436
+ for (var t = i > 1 ? void 0 : i ? ze(e, s) : e, a = r.length - 1, o; a >= 0; a--)
3341
3437
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
3342
3438
  return i && t && $e(e, s, t), t;
3343
3439
  };
@@ -3541,29 +3637,29 @@ f.styles = [
3541
3637
  }
3542
3638
  `
3543
3639
  ];
3544
- L([
3640
+ B([
3545
3641
  n({ type: String })
3546
3642
  ], f.prototype, "title", 2);
3547
- L([
3643
+ B([
3548
3644
  n({ type: String })
3549
3645
  ], f.prototype, "description", 2);
3550
- L([
3646
+ B([
3551
3647
  n({ type: String, attribute: "install-label" })
3552
3648
  ], f.prototype, "installLabel", 2);
3553
- L([
3649
+ B([
3554
3650
  n({ type: String, attribute: "storage-key" })
3555
3651
  ], f.prototype, "storageKey", 2);
3556
- L([
3652
+ B([
3557
3653
  n({ type: Number, attribute: "dismiss-days" })
3558
3654
  ], f.prototype, "dismissDays", 2);
3559
- L([
3655
+ B([
3560
3656
  S()
3561
3657
  ], f.prototype, "isDismissed", 2);
3562
- f = L([
3658
+ f = B([
3563
3659
  p("tc-installation-banner")
3564
3660
  ], f);
3565
- var Ce = Object.defineProperty, ze = Object.getOwnPropertyDescriptor, ft = (r, e, s, i) => {
3566
- for (var t = i > 1 ? void 0 : i ? ze(e, s) : e, a = r.length - 1, o; a >= 0; a--)
3661
+ var Ce = Object.defineProperty, _e = Object.getOwnPropertyDescriptor, ft = (r, e, s, i) => {
3662
+ for (var t = i > 1 ? void 0 : i ? _e(e, s) : e, a = r.length - 1, o; a >= 0; a--)
3567
3663
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
3568
3664
  return i && t && Ce(e, s, t), t;
3569
3665
  };
@@ -3795,7 +3891,7 @@ ft([
3795
3891
  J = ft([
3796
3892
  p("tc-ios-installation-guide")
3797
3893
  ], J);
3798
- var De = Object.defineProperty, Oe = Object.getOwnPropertyDescriptor, H = (r, e, s, i) => {
3894
+ var De = Object.defineProperty, Oe = Object.getOwnPropertyDescriptor, U = (r, e, s, i) => {
3799
3895
  for (var t = i > 1 ? void 0 : i ? Oe(e, s) : e, a = r.length - 1, o; a >= 0; a--)
3800
3896
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
3801
3897
  return i && t && De(e, s, t), t;
@@ -3999,22 +4095,22 @@ $.styles = [
3999
4095
  }
4000
4096
  `
4001
4097
  ];
4002
- H([
4098
+ U([
4003
4099
  n({ type: String })
4004
4100
  ], $.prototype, "title", 2);
4005
- H([
4101
+ U([
4006
4102
  n({ type: String })
4007
4103
  ], $.prototype, "description", 2);
4008
- H([
4104
+ U([
4009
4105
  n({ type: String, attribute: "allow-label" })
4010
4106
  ], $.prototype, "allowLabel", 2);
4011
- H([
4107
+ U([
4012
4108
  n({ type: String, attribute: "deny-label" })
4013
4109
  ], $.prototype, "denyLabel", 2);
4014
- H([
4110
+ U([
4015
4111
  n({ type: String, attribute: "storage-key" })
4016
4112
  ], $.prototype, "storageKey", 2);
4017
- $ = H([
4113
+ $ = U([
4018
4114
  p("tc-notification-modal")
4019
4115
  ], $);
4020
4116
  var Se = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, R = (r, e, s, i) => {
@@ -4022,7 +4118,7 @@ var Se = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, R = (r, e,
4022
4118
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
4023
4119
  return i && t && Se(e, s, t), t;
4024
4120
  };
4025
- let _ = class extends d {
4121
+ let z = class extends d {
4026
4122
  constructor() {
4027
4123
  super(...arguments), this.title = "No Connection", this.description = "Please check your internet connection and try again.", this.retryLabel = "Try Again", this.autoDetect = !0, this.isOffline = !1, this.animation = new j(this, {
4028
4124
  showDuration: 300,
@@ -4110,7 +4206,7 @@ let _ = class extends d {
4110
4206
  `;
4111
4207
  }
4112
4208
  };
4113
- _.styles = [
4209
+ z.styles = [
4114
4210
  u,
4115
4211
  c`
4116
4212
  :host {
@@ -4196,22 +4292,22 @@ _.styles = [
4196
4292
  ];
4197
4293
  R([
4198
4294
  n({ type: String })
4199
- ], _.prototype, "title", 2);
4295
+ ], z.prototype, "title", 2);
4200
4296
  R([
4201
4297
  n({ type: String })
4202
- ], _.prototype, "description", 2);
4298
+ ], z.prototype, "description", 2);
4203
4299
  R([
4204
4300
  n({ type: String, attribute: "retry-label" })
4205
- ], _.prototype, "retryLabel", 2);
4301
+ ], z.prototype, "retryLabel", 2);
4206
4302
  R([
4207
4303
  n({ type: Boolean, attribute: "auto-detect" })
4208
- ], _.prototype, "autoDetect", 2);
4304
+ ], z.prototype, "autoDetect", 2);
4209
4305
  R([
4210
4306
  S()
4211
- ], _.prototype, "isOffline", 2);
4212
- _ = R([
4307
+ ], z.prototype, "isOffline", 2);
4308
+ z = R([
4213
4309
  p("tc-offline-modal")
4214
- ], _);
4310
+ ], z);
4215
4311
  var je = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, xt = (r, e, s, i) => {
4216
4312
  for (var t = i > 1 ? void 0 : i ? Ee(e, s) : e, a = r.length - 1, o; a >= 0; a--)
4217
4313
  (o = r[a]) && (t = (i ? o(e, s, t) : o(t)) || t);
@@ -4335,19 +4431,19 @@ at = xt([
4335
4431
  export {
4336
4432
  j as AnimationController,
4337
4433
  P as BaseController,
4338
- Fe as FormValidationController,
4434
+ He as FormValidationController,
4339
4435
  Ct as HistoryController,
4340
- zt as LoadingController,
4436
+ _t as LoadingController,
4341
4437
  Dt as MatchMediaController,
4342
4438
  Ot as MessageBusController,
4343
4439
  bt as StorageController,
4344
4440
  it as TcBox,
4345
4441
  C as TcButton,
4346
4442
  st as TcCallout,
4347
- N as TcCard,
4348
- K as TcChip,
4349
- V as TcContainer,
4350
- W as TcDivider,
4443
+ K as TcCard,
4444
+ N as TcChip,
4445
+ W as TcContainer,
4446
+ L as TcDivider,
4351
4447
  D as TcErrorScreen,
4352
4448
  O as TcFloatingButton,
4353
4449
  b as TcFormHeader,
@@ -4360,13 +4456,13 @@ export {
4360
4456
  y as TcItemButton,
4361
4457
  Q as TcLoadingScreen,
4362
4458
  $ as TcNotificationModal,
4363
- _ as TcOfflineModal,
4459
+ z as TcOfflineModal,
4364
4460
  w as TcOtpInput,
4365
4461
  at as TcPageDecoration,
4366
4462
  X as TcSection,
4367
4463
  G as TcSpinner,
4368
4464
  k as TcSuccessScreen,
4369
- M as TcSymbol,
4465
+ I as TcSymbol,
4370
4466
  x as TcText,
4371
- z as TcToast
4467
+ _ as TcToast
4372
4468
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transcodes/ui-components",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "description": "Lit 3.x component library with Reactive Controllers",
6
6
  "keywords": [
@@ -54,7 +54,7 @@
54
54
  "lit": "^3.0.0"
55
55
  },
56
56
  "dependencies": {
57
- "@transcodes/design-tokens": "^0.1.0"
57
+ "@transcodes/design-tokens": "^0.2.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@storybook/addon-a11y": "^10.1.5",