@aurodesignsystem-dev/auro-formkit 0.0.0-pr1166.0 → 0.0.0-pr1167.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.
Files changed (51) hide show
  1. package/components/bibtemplate/dist/buttonVersion.d.ts +1 -1
  2. package/components/bibtemplate/dist/index.js +91 -1080
  3. package/components/bibtemplate/dist/registered.js +91 -1080
  4. package/components/checkbox/demo/api.min.js +26 -0
  5. package/components/checkbox/demo/index.min.js +26 -0
  6. package/components/checkbox/dist/index.js +26 -0
  7. package/components/checkbox/dist/registered.js +26 -0
  8. package/components/combobox/demo/api.min.js +959 -2872
  9. package/components/combobox/demo/index.min.js +959 -2872
  10. package/components/combobox/dist/index.js +929 -2842
  11. package/components/combobox/dist/registered.js +929 -2842
  12. package/components/counter/demo/api.md +11 -4
  13. package/components/counter/demo/api.min.js +5508 -7435
  14. package/components/counter/demo/index.min.js +5508 -7435
  15. package/components/counter/dist/auro-counter-button.d.ts +2 -11
  16. package/components/counter/dist/auro-counter.d.ts +8 -1
  17. package/components/counter/dist/index.js +5536 -7463
  18. package/components/counter/dist/registered.js +5536 -7463
  19. package/components/datepicker/demo/api.md +112 -27
  20. package/components/datepicker/demo/api.min.js +10343 -13252
  21. package/components/datepicker/demo/index.min.js +10343 -13252
  22. package/components/datepicker/dist/auro-datepicker.d.ts +2 -0
  23. package/components/datepicker/dist/index.js +10420 -13329
  24. package/components/datepicker/dist/registered.js +10420 -13329
  25. package/components/dropdown/demo/api.min.js +28 -2
  26. package/components/dropdown/demo/index.min.js +28 -2
  27. package/components/dropdown/dist/index.js +28 -2
  28. package/components/dropdown/dist/registered.js +28 -2
  29. package/components/form/demo/api.min.js +13 -0
  30. package/components/form/demo/index.min.js +13 -0
  31. package/components/form/dist/index.js +13 -0
  32. package/components/form/dist/registered.js +13 -0
  33. package/components/helptext/dist/index.js +13 -0
  34. package/components/helptext/dist/registered.js +13 -0
  35. package/components/input/demo/api.min.js +183 -1159
  36. package/components/input/demo/index.min.js +183 -1159
  37. package/components/input/dist/index.js +146 -1122
  38. package/components/input/dist/registered.js +146 -1122
  39. package/components/menu/demo/api.min.js +13 -0
  40. package/components/menu/demo/index.min.js +13 -0
  41. package/components/menu/dist/index.js +13 -0
  42. package/components/menu/dist/registered.js +13 -0
  43. package/components/radio/demo/api.min.js +26 -0
  44. package/components/radio/demo/index.min.js +26 -0
  45. package/components/radio/dist/index.js +26 -0
  46. package/components/radio/dist/registered.js +26 -0
  47. package/components/select/demo/api.min.js +273 -1210
  48. package/components/select/demo/index.min.js +273 -1210
  49. package/components/select/dist/index.js +246 -1183
  50. package/components/select/dist/registered.js +246 -1183
  51. package/package.json +3 -3
@@ -242,6 +242,19 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
242
242
 
243
243
  return elemTag === tag || elem.hasAttribute(tag);
244
244
  }
245
+
246
+ /**
247
+ * Gets the text content of a named slot.
248
+ * @returns {String}
249
+ * @private
250
+ */
251
+ getSlotText(elem, name) {
252
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
253
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
254
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
255
+
256
+ return text || null;
257
+ }
245
258
  };
246
259
 
247
260
  // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -202,6 +202,19 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
202
202
 
203
203
  return elemTag === tag || elem.hasAttribute(tag);
204
204
  }
205
+
206
+ /**
207
+ * Gets the text content of a named slot.
208
+ * @returns {String}
209
+ * @private
210
+ */
211
+ getSlotText(elem, name) {
212
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
213
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
214
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
215
+
216
+ return text || null;
217
+ }
205
218
  };
206
219
 
207
220
  // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -181,6 +181,19 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
181
181
 
182
182
  return elemTag === tag || elem.hasAttribute(tag);
183
183
  }
184
+
185
+ /**
186
+ * Gets the text content of a named slot.
187
+ * @returns {String}
188
+ * @private
189
+ */
190
+ getSlotText(elem, name) {
191
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
192
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
193
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
194
+
195
+ return text || null;
196
+ }
184
197
  };
185
198
 
186
199
  // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -181,6 +181,19 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
181
181
 
182
182
  return elemTag === tag || elem.hasAttribute(tag);
183
183
  }
184
+
185
+ /**
186
+ * Gets the text content of a named slot.
187
+ * @returns {String}
188
+ * @private
189
+ */
190
+ getSlotText(elem, name) {
191
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
192
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
193
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
194
+
195
+ return text || null;
196
+ }
184
197
  };
185
198
 
186
199
  // Copyright (c) 2021 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -144,6 +144,19 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
144
144
 
145
145
  return elemTag === tag || elem.hasAttribute(tag);
146
146
  }
147
+
148
+ /**
149
+ * Gets the text content of a named slot.
150
+ * @returns {String}
151
+ * @private
152
+ */
153
+ getSlotText(elem, name) {
154
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
155
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
156
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
157
+
158
+ return text || null;
159
+ }
147
160
  };
148
161
 
149
162
  /* eslint-disable max-lines */
@@ -1358,6 +1371,19 @@ class AuroLibraryRuntimeUtils {
1358
1371
 
1359
1372
  return elemTag === tag || elem.hasAttribute(tag);
1360
1373
  }
1374
+
1375
+ /**
1376
+ * Gets the text content of a named slot.
1377
+ * @returns {String}
1378
+ * @private
1379
+ */
1380
+ getSlotText(elem, name) {
1381
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
1382
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
1383
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
1384
+
1385
+ return text || null;
1386
+ }
1361
1387
  }
1362
1388
 
1363
1389
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -119,6 +119,19 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
119
119
 
120
120
  return elemTag === tag || elem.hasAttribute(tag);
121
121
  }
122
+
123
+ /**
124
+ * Gets the text content of a named slot.
125
+ * @returns {String}
126
+ * @private
127
+ */
128
+ getSlotText(elem, name) {
129
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
130
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
131
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
132
+
133
+ return text || null;
134
+ }
122
135
  };
123
136
 
124
137
  /* eslint-disable max-lines */
@@ -1333,6 +1346,19 @@ class AuroLibraryRuntimeUtils {
1333
1346
 
1334
1347
  return elemTag === tag || elem.hasAttribute(tag);
1335
1348
  }
1349
+
1350
+ /**
1351
+ * Gets the text content of a named slot.
1352
+ * @returns {String}
1353
+ * @private
1354
+ */
1355
+ getSlotText(elem, name) {
1356
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
1357
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
1358
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
1359
+
1360
+ return text || null;
1361
+ }
1336
1362
  }
1337
1363
 
1338
1364
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -79,6 +79,19 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
79
79
 
80
80
  return elemTag === tag || elem.hasAttribute(tag);
81
81
  }
82
+
83
+ /**
84
+ * Gets the text content of a named slot.
85
+ * @returns {String}
86
+ * @private
87
+ */
88
+ getSlotText(elem, name) {
89
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
90
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
91
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
92
+
93
+ return text || null;
94
+ }
82
95
  };
83
96
 
84
97
  /* eslint-disable max-lines */
@@ -1286,6 +1299,19 @@ class AuroLibraryRuntimeUtils {
1286
1299
 
1287
1300
  return elemTag === tag || elem.hasAttribute(tag);
1288
1301
  }
1302
+
1303
+ /**
1304
+ * Gets the text content of a named slot.
1305
+ * @returns {String}
1306
+ * @private
1307
+ */
1308
+ getSlotText(elem, name) {
1309
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
1310
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
1311
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
1312
+
1313
+ return text || null;
1314
+ }
1289
1315
  }
1290
1316
 
1291
1317
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
@@ -79,6 +79,19 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
79
79
 
80
80
  return elemTag === tag || elem.hasAttribute(tag);
81
81
  }
82
+
83
+ /**
84
+ * Gets the text content of a named slot.
85
+ * @returns {String}
86
+ * @private
87
+ */
88
+ getSlotText(elem, name) {
89
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
90
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
91
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
92
+
93
+ return text || null;
94
+ }
82
95
  };
83
96
 
84
97
  /* eslint-disable max-lines */
@@ -1286,6 +1299,19 @@ class AuroLibraryRuntimeUtils {
1286
1299
 
1287
1300
  return elemTag === tag || elem.hasAttribute(tag);
1288
1301
  }
1302
+
1303
+ /**
1304
+ * Gets the text content of a named slot.
1305
+ * @returns {String}
1306
+ * @private
1307
+ */
1308
+ getSlotText(elem, name) {
1309
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
1310
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
1311
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
1312
+
1313
+ return text || null;
1314
+ }
1289
1315
  }
1290
1316
 
1291
1317
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license