@aurodesignsystem-dev/auro-formkit 0.0.0-pr1166.0 → 0.0.0-pr1167.1

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
@@ -127,6 +127,19 @@ let AuroLibraryRuntimeUtils$1 = class AuroLibraryRuntimeUtils {
127
127
 
128
128
  return elemTag === tag || elem.hasAttribute(tag);
129
129
  }
130
+
131
+ /**
132
+ * Gets the text content of a named slot.
133
+ * @returns {String}
134
+ * @private
135
+ */
136
+ getSlotText(elem, name) {
137
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
138
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
139
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
140
+
141
+ return text || null;
142
+ }
130
143
  };
131
144
 
132
145
  /* eslint-disable max-lines */
@@ -1356,6 +1369,19 @@ class AuroLibraryRuntimeUtils {
1356
1369
 
1357
1370
  return elemTag === tag || elem.hasAttribute(tag);
1358
1371
  }
1372
+
1373
+ /**
1374
+ * Gets the text content of a named slot.
1375
+ * @returns {String}
1376
+ * @private
1377
+ */
1378
+ getSlotText(elem, name) {
1379
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
1380
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
1381
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
1382
+
1383
+ return text || null;
1384
+ }
1359
1385
  }
1360
1386
 
1361
1387
  // 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 */
@@ -1348,6 +1361,19 @@ class AuroLibraryRuntimeUtils {
1348
1361
 
1349
1362
  return elemTag === tag || elem.hasAttribute(tag);
1350
1363
  }
1364
+
1365
+ /**
1366
+ * Gets the text content of a named slot.
1367
+ * @returns {String}
1368
+ * @private
1369
+ */
1370
+ getSlotText(elem, name) {
1371
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
1372
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
1373
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
1374
+
1375
+ return text || null;
1376
+ }
1351
1377
  }
1352
1378
 
1353
1379
  // 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 */
@@ -1301,6 +1314,19 @@ class AuroLibraryRuntimeUtils {
1301
1314
 
1302
1315
  return elemTag === tag || elem.hasAttribute(tag);
1303
1316
  }
1317
+
1318
+ /**
1319
+ * Gets the text content of a named slot.
1320
+ * @returns {String}
1321
+ * @private
1322
+ */
1323
+ getSlotText(elem, name) {
1324
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
1325
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
1326
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
1327
+
1328
+ return text || null;
1329
+ }
1304
1330
  }
1305
1331
 
1306
1332
  // 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 */
@@ -1301,6 +1314,19 @@ class AuroLibraryRuntimeUtils {
1301
1314
 
1302
1315
  return elemTag === tag || elem.hasAttribute(tag);
1303
1316
  }
1317
+
1318
+ /**
1319
+ * Gets the text content of a named slot.
1320
+ * @returns {String}
1321
+ * @private
1322
+ */
1323
+ getSlotText(elem, name) {
1324
+ const slot = elem.shadowRoot?.querySelector(`slot[name="${name}"]`);
1325
+ const nodes = slot?.assignedNodes({ flatten: true }) || [];
1326
+ const text = nodes.map(n => n.textContent?.trim()).join(' ').trim();
1327
+
1328
+ return text || null;
1329
+ }
1304
1330
  }
1305
1331
 
1306
1332
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license