@aurodesignsystem/auro-formkit 2.0.0-beta.29 → 2.0.0-beta.30
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/.turbo/cache/019608f754b4fd0c-meta.json +1 -1
- package/.turbo/cache/111ea1a7d5e86aac-meta.json +1 -0
- package/.turbo/cache/111ea1a7d5e86aac.tar.zst +0 -0
- package/.turbo/cache/18ce0cc67c14e0c9-meta.json +1 -1
- package/.turbo/cache/1d4280429ff4222f-meta.json +1 -1
- package/.turbo/cache/251ba344c6338ba3-meta.json +1 -1
- package/.turbo/cache/298b6ff0272e6226-meta.json +1 -1
- package/.turbo/cache/2abb5400a01a1694-meta.json +1 -1
- package/.turbo/cache/30fda91ef83677e4-meta.json +1 -1
- package/.turbo/cache/3221d91a94756c26-meta.json +1 -1
- package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +1 -1
- package/.turbo/cache/3d05fb6e2d593287-meta.json +1 -0
- package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -1
- package/.turbo/cache/430c124614841675-meta.json +1 -1
- package/.turbo/cache/45bdeb0396723b25-meta.json +1 -1
- package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -1
- package/.turbo/cache/559b052d8150dd3f-meta.json +1 -0
- package/.turbo/cache/{9dc293081f28a24d.tar.zst → 559b052d8150dd3f.tar.zst} +0 -0
- package/.turbo/cache/5748467be5ef9c07-meta.json +1 -0
- package/.turbo/cache/5748467be5ef9c07.tar.zst +0 -0
- package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -1
- package/.turbo/cache/5a78bd07d371dd47-meta.json +1 -0
- package/.turbo/cache/{46f08b3f239b6b3c.tar.zst → 5a78bd07d371dd47.tar.zst} +0 -0
- package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -1
- package/.turbo/cache/63f832b4947ecf9d-meta.json +1 -0
- package/.turbo/cache/63f832b4947ecf9d.tar.zst +0 -0
- package/.turbo/cache/6a5dc307d8619c06-meta.json +1 -0
- package/.turbo/cache/6a5dc307d8619c06.tar.zst +0 -0
- package/.turbo/cache/6ed764f60d634993-meta.json +1 -0
- package/.turbo/cache/6ed764f60d634993.tar.zst +0 -0
- package/.turbo/cache/753b119a389426be-meta.json +1 -1
- package/.turbo/cache/80ece7354266e40f-meta.json +1 -0
- package/.turbo/cache/80ece7354266e40f.tar.zst +0 -0
- package/.turbo/cache/846bade4a9a3eba9-meta.json +1 -0
- package/.turbo/cache/846bade4a9a3eba9.tar.zst +0 -0
- package/.turbo/cache/8ac38d70a60381cb-meta.json +1 -1
- package/.turbo/cache/8c637a8d4c2166c5-meta.json +1 -1
- package/.turbo/cache/8cd5a06a396632cf-meta.json +1 -0
- package/.turbo/cache/{4472ff3b156042a3.tar.zst → 8cd5a06a396632cf.tar.zst} +0 -0
- package/.turbo/cache/970ba88c4c4092cd-meta.json +1 -0
- package/.turbo/cache/970ba88c4c4092cd.tar.zst +0 -0
- package/.turbo/cache/9db5147195c32672-meta.json +1 -0
- package/.turbo/cache/a002bc214179bedc-meta.json +1 -0
- package/.turbo/cache/a02c2bc2a4638817-meta.json +1 -0
- package/.turbo/cache/{cbc12d12ec0e13ca.tar.zst → a02c2bc2a4638817.tar.zst} +0 -0
- package/.turbo/cache/a7004571f6307848-meta.json +1 -0
- package/.turbo/cache/a7004571f6307848.tar.zst +0 -0
- package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -1
- package/.turbo/cache/a8307dcc447702ad-meta.json +1 -0
- package/.turbo/cache/a8307dcc447702ad.tar.zst +0 -0
- package/.turbo/cache/a9dc1069fcd851ff-meta.json +1 -0
- package/.turbo/cache/a9dc1069fcd851ff.tar.zst +0 -0
- package/.turbo/cache/b4de0d19f9eeaceb-meta.json +1 -0
- package/.turbo/cache/b4de0d19f9eeaceb.tar.zst +0 -0
- package/.turbo/cache/b682d4cec0741fa1-meta.json +1 -0
- package/.turbo/cache/b682d4cec0741fa1.tar.zst +0 -0
- package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -1
- package/.turbo/cache/c27d47351838ceb1-meta.json +1 -0
- package/.turbo/cache/c27d47351838ceb1.tar.zst +0 -0
- package/.turbo/cache/c7d435ade46f3c1e-meta.json +1 -0
- package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -1
- package/.turbo/cache/d0c4bf3a3a3840fd-meta.json +1 -0
- package/.turbo/cache/d0c4bf3a3a3840fd.tar.zst +0 -0
- package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -1
- package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -1
- package/.turbo/cache/de494df6a3006101-meta.json +1 -1
- package/.turbo/cache/e06dedab4c19ae2a-meta.json +1 -0
- package/.turbo/cache/e06dedab4c19ae2a.tar.zst +0 -0
- package/.turbo/cache/e56a9865641ec3e8-meta.json +1 -1
- package/.turbo/cache/e7ed9e7056d80938-meta.json +1 -1
- package/.turbo/cache/e837827cd24834c4-meta.json +1 -1
- package/.turbo/cache/e9ff93179777aa26-meta.json +1 -1
- package/.turbo/cache/f6220a9af06bee74-meta.json +1 -0
- package/.turbo/cache/f6220a9af06bee74.tar.zst +0 -0
- package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -1
- package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -1
- package/CHANGELOG.md +12 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.min.js +30 -18
- package/components/checkbox/demo/index.min.js +30 -18
- package/components/checkbox/dist/index.js +30 -18
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/README.md +4 -4
- package/components/combobox/demo/api.min.js +60 -36
- package/components/combobox/demo/index.min.js +60 -36
- package/components/combobox/dist/index.js +60 -36
- package/components/counter/.turbo/turbo-build.log +7 -3
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.md +6 -3
- package/components/counter/demo/api.min.js +9 -2
- package/components/counter/demo/index.md +126 -24
- package/components/counter/demo/index.min.js +9 -2
- package/components/counter/dist/auro-counter-group.d.ts +3 -0
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/index.js +9 -2
- package/components/counter/src/auro-counter-group.js +8 -1
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +4 -5
- package/components/counter/src/styles/counter-group.scss +4 -6
- package/components/datepicker/.turbo/turbo-build.log +2 -2
- package/components/datepicker/README.md +4 -4
- package/components/datepicker/demo/api.min.js +60 -36
- package/components/datepicker/demo/index.min.js +60 -36
- package/components/datepicker/dist/index.js +60 -36
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/api.min.js +30 -18
- package/components/dropdown/demo/index.min.js +30 -18
- package/components/dropdown/dist/index.js +30 -18
- package/components/form/.turbo/turbo-build.log +2 -2
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +1 -1
- package/components/helptext/.turbo/turbo-build.log +1 -1
- package/components/helptext/.turbo/turbo-bundler.log +1 -1
- package/components/helptext/dist/auro-helptext.d.ts +8 -0
- package/components/helptext/dist/auro-helptext.d.ts.map +1 -1
- package/components/helptext/dist/index.js +31 -19
- package/components/helptext/src/auro-helptext.js +31 -19
- package/components/input/.turbo/turbo-build.log +2 -2
- package/components/input/README.md +1 -1
- package/components/input/demo/api.min.js +30 -18
- package/components/input/demo/index.min.js +30 -18
- package/components/input/dist/index.js +30 -18
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/radio/demo/api.min.js +30 -18
- package/components/radio/demo/index.min.js +30 -18
- package/components/radio/dist/index.js +30 -18
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/README.md +3 -3
- package/components/select/demo/api.min.js +30 -18
- package/components/select/demo/index.min.js +30 -18
- package/components/select/dist/index.js +30 -18
- package/package.json +1 -1
- package/.turbo/cache/06322ed0d04880b4-meta.json +0 -1
- package/.turbo/cache/06322ed0d04880b4.tar.zst +0 -0
- package/.turbo/cache/0b25a5384daf4b43-meta.json +0 -1
- package/.turbo/cache/0b25a5384daf4b43.tar.zst +0 -0
- package/.turbo/cache/1e42bb6f66cd5516-meta.json +0 -1
- package/.turbo/cache/202a84630d73699f-meta.json +0 -1
- package/.turbo/cache/202a84630d73699f.tar.zst +0 -0
- package/.turbo/cache/3b758f5ca6cedcac-meta.json +0 -1
- package/.turbo/cache/3b758f5ca6cedcac.tar.zst +0 -0
- package/.turbo/cache/4472ff3b156042a3-meta.json +0 -1
- package/.turbo/cache/448b2ae2221bf660-meta.json +0 -1
- package/.turbo/cache/448b2ae2221bf660.tar.zst +0 -0
- package/.turbo/cache/4655a084a08732a7-meta.json +0 -1
- package/.turbo/cache/46f08b3f239b6b3c-meta.json +0 -1
- package/.turbo/cache/4f06a06e4f458e75-meta.json +0 -1
- package/.turbo/cache/4f06a06e4f458e75.tar.zst +0 -0
- package/.turbo/cache/4f0d7e7df611108b-meta.json +0 -1
- package/.turbo/cache/4f0d7e7df611108b.tar.zst +0 -0
- package/.turbo/cache/533b2c6c9fb1166a-meta.json +0 -1
- package/.turbo/cache/533b2c6c9fb1166a.tar.zst +0 -0
- package/.turbo/cache/560d172ca96e1544-meta.json +0 -1
- package/.turbo/cache/560d172ca96e1544.tar.zst +0 -0
- package/.turbo/cache/9dc293081f28a24d-meta.json +0 -1
- package/.turbo/cache/a9db8818bc92a60e-meta.json +0 -1
- package/.turbo/cache/a9db8818bc92a60e.tar.zst +0 -0
- package/.turbo/cache/bae62d7b71b88997-meta.json +0 -1
- package/.turbo/cache/bae62d7b71b88997.tar.zst +0 -0
- package/.turbo/cache/bb3131b31c8adc36-meta.json +0 -1
- package/.turbo/cache/bb3131b31c8adc36.tar.zst +0 -0
- package/.turbo/cache/c45962e00a15f78b-meta.json +0 -1
- package/.turbo/cache/c45962e00a15f78b.tar.zst +0 -0
- package/.turbo/cache/c49eaa579b60f045-meta.json +0 -1
- package/.turbo/cache/c49eaa579b60f045.tar.zst +0 -0
- package/.turbo/cache/cbc12d12ec0e13ca-meta.json +0 -1
- package/.turbo/cache/d7d47541c105641f-meta.json +0 -1
- package/.turbo/cache/e95a7d076e700003-meta.json +0 -1
- package/.turbo/cache/e95a7d076e700003.tar.zst +0 -0
- package/.turbo/cache/f571abacf9ec4e84-meta.json +0 -1
- package/.turbo/cache/f571abacf9ec4e84.tar.zst +0 -0
- package/.turbo/cache/fa0bc0a1d41397e8-meta.json +0 -1
- package/.turbo/cache/fa0bc0a1d41397e8.tar.zst +0 -0
- package/.turbo/cache/fce6b6ea288791bf-meta.json +0 -1
- /package/.turbo/cache/{fce6b6ea288791bf.tar.zst → 3d05fb6e2d593287.tar.zst} +0 -0
- /package/.turbo/cache/{d7d47541c105641f.tar.zst → 9db5147195c32672.tar.zst} +0 -0
- /package/.turbo/cache/{1e42bb6f66cd5516.tar.zst → a002bc214179bedc.tar.zst} +0 -0
- /package/.turbo/cache/{4655a084a08732a7.tar.zst → c7d435ade46f3c1e.tar.zst} +0 -0
|
@@ -2585,26 +2585,38 @@ class AuroHelpText extends r {
|
|
|
2585
2585
|
this.slotNodes = event.target.assignedNodes();
|
|
2586
2586
|
}
|
|
2587
2587
|
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
if (slot.textContent.trim()) {
|
|
2591
|
-
return true;
|
|
2592
|
-
}
|
|
2593
|
-
|
|
2594
|
-
if (!slot.querySelector) {
|
|
2595
|
-
return false;
|
|
2596
|
-
}
|
|
2588
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
2589
|
+
}
|
|
2597
2590
|
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2591
|
+
/**
|
|
2592
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
2593
|
+
*
|
|
2594
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
2595
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
2596
|
+
* @private
|
|
2597
|
+
*/
|
|
2598
|
+
checkSlotsForContent(nodes) {
|
|
2599
|
+
if (!nodes) {
|
|
2600
|
+
return false;
|
|
2607
2601
|
}
|
|
2602
|
+
|
|
2603
|
+
return nodes.some((node) => {
|
|
2604
|
+
if (node.textContent.trim()) {
|
|
2605
|
+
return true;
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
if (!node.querySelector) {
|
|
2609
|
+
return false;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
2613
|
+
if (!nestedSlot) {
|
|
2614
|
+
return false;
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
2618
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
2619
|
+
});
|
|
2608
2620
|
}
|
|
2609
2621
|
|
|
2610
2622
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -2585,26 +2585,38 @@ class AuroHelpText extends r {
|
|
|
2585
2585
|
this.slotNodes = event.target.assignedNodes();
|
|
2586
2586
|
}
|
|
2587
2587
|
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
if (slot.textContent.trim()) {
|
|
2591
|
-
return true;
|
|
2592
|
-
}
|
|
2593
|
-
|
|
2594
|
-
if (!slot.querySelector) {
|
|
2595
|
-
return false;
|
|
2596
|
-
}
|
|
2588
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
2589
|
+
}
|
|
2597
2590
|
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2591
|
+
/**
|
|
2592
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
2593
|
+
*
|
|
2594
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
2595
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
2596
|
+
* @private
|
|
2597
|
+
*/
|
|
2598
|
+
checkSlotsForContent(nodes) {
|
|
2599
|
+
if (!nodes) {
|
|
2600
|
+
return false;
|
|
2607
2601
|
}
|
|
2602
|
+
|
|
2603
|
+
return nodes.some((node) => {
|
|
2604
|
+
if (node.textContent.trim()) {
|
|
2605
|
+
return true;
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
if (!node.querySelector) {
|
|
2609
|
+
return false;
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
2613
|
+
if (!nestedSlot) {
|
|
2614
|
+
return false;
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
2618
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
2619
|
+
});
|
|
2608
2620
|
}
|
|
2609
2621
|
|
|
2610
2622
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -69,13 +69,13 @@ Run in verbose mode to see all warnings.
|
|
|
69
69
|
|
|
70
70
|
[36m
|
|
71
71
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
72
|
-
[32mcreated [1mdist[22m in [
|
|
72
|
+
[32mcreated [1mdist[22m in [1m151ms[22m[39m
|
|
73
73
|
[36m
|
|
74
74
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
75
75
|
[32mcreated [1m./demo/[22m in [1m76ms[22m[39m
|
|
76
76
|
[36m
|
|
77
77
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
78
|
-
[32mcreated [1m./demo/[22m in [
|
|
78
|
+
[32mcreated [1m./demo/[22m in [1m67ms[22m[39m
|
|
79
79
|
|
|
80
80
|
> @aurodesignsystem/auro-form@1.0.0 build:docs
|
|
81
81
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component form
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
7
|
-
[32mcreated [1mdist[22m in [
|
|
7
|
+
[32mcreated [1mdist[22m in [1m299ms[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
10
|
-
[32mcreated [1m./demo/[22m in [
|
|
10
|
+
[32mcreated [1m./demo/[22m in [1m188ms[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
13
|
-
[32mcreated [1m./demo/[22m in [
|
|
13
|
+
[32mcreated [1m./demo/[22m in [1m135ms[22m[39m
|
|
@@ -98,7 +98,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
98
98
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
99
99
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
|
|
100
100
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
101
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-form@2.0.0-beta.
|
|
101
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-form@2.0.0-beta.29/dist/auro-form__bundled.js" type="module"></script>
|
|
102
102
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
103
103
|
|
|
104
104
|
## auro-form use cases
|
|
@@ -42,7 +42,7 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
42
42
|
|
|
43
43
|
[36m
|
|
44
44
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
45
|
-
[32mcreated [1mdist[22m in [
|
|
45
|
+
[32mcreated [1mdist[22m in [1m243ms[22m[39m
|
|
46
46
|
|
|
47
47
|
> @aurodesignsystem/auro-helptext@1.0.0 types
|
|
48
48
|
> tsc --project tsconfig.json
|
|
@@ -40,6 +40,14 @@ export class AuroHelpText extends LitElement {
|
|
|
40
40
|
updated(): void;
|
|
41
41
|
handleSlotChange(event: any): void;
|
|
42
42
|
slotNodes: any;
|
|
43
|
+
/**
|
|
44
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
45
|
+
*
|
|
46
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
47
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
48
|
+
* @private
|
|
49
|
+
*/
|
|
50
|
+
private checkSlotsForContent;
|
|
43
51
|
render(): import("lit-html").TemplateResult<1>;
|
|
44
52
|
}
|
|
45
53
|
import { LitElement } from "lit";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auro-helptext.d.ts","sourceRoot":"","sources":["../src/auro-helptext.js"],"names":[],"mappings":"AAaA;;;;GAIG;AACH;IASE,+CAMC;IAGD;QAGI;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;MAMN;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAlDC,eAAkB;IAClB,wBAA2B;IAmD7B,gBAEC;IAED,
|
|
1
|
+
{"version":3,"file":"auro-helptext.d.ts","sourceRoot":"","sources":["../src/auro-helptext.js"],"names":[],"mappings":"AAaA;;;;GAIG;AACH;IASE,+CAMC;IAGD;QAGI;;WAEG;;;;QAKH;;WAEG;;;;QAKH;;WAEG;;;;;MAMN;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IAlDC,eAAkB;IAClB,wBAA2B;IAmD7B,gBAEC;IAED,mCAMC;IAJG,eAA6C;IAMjD;;;;;;OAMG;IACH,6BAsBC;IAGD,+CAMC;CACF;2BAzHgC,KAAK"}
|
|
@@ -175,26 +175,38 @@ class AuroHelpText extends r {
|
|
|
175
175
|
this.slotNodes = event.target.assignedNodes();
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
}
|
|
192
|
-
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
193
|
-
return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
|
|
194
|
-
});
|
|
195
|
-
} else {
|
|
196
|
-
this.hasTextContent = false;
|
|
178
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
183
|
+
*
|
|
184
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
185
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
186
|
+
* @private
|
|
187
|
+
*/
|
|
188
|
+
checkSlotsForContent(nodes) {
|
|
189
|
+
if (!nodes) {
|
|
190
|
+
return false;
|
|
197
191
|
}
|
|
192
|
+
|
|
193
|
+
return nodes.some((node) => {
|
|
194
|
+
if (node.textContent.trim()) {
|
|
195
|
+
return true;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
if (!node.querySelector) {
|
|
199
|
+
return false;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
203
|
+
if (!nestedSlot) {
|
|
204
|
+
return false;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
208
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
209
|
+
});
|
|
198
210
|
}
|
|
199
211
|
|
|
200
212
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -82,26 +82,38 @@ export class AuroHelpText extends LitElement {
|
|
|
82
82
|
this.slotNodes = event.target.assignedNodes();
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
100
|
-
return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
|
|
101
|
-
});
|
|
102
|
-
} else {
|
|
103
|
-
this.hasTextContent = false;
|
|
85
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
90
|
+
*
|
|
91
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
92
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
93
|
+
* @private
|
|
94
|
+
*/
|
|
95
|
+
checkSlotsForContent(nodes) {
|
|
96
|
+
if (!nodes) {
|
|
97
|
+
return false;
|
|
104
98
|
}
|
|
99
|
+
|
|
100
|
+
return nodes.some((node) => {
|
|
101
|
+
if (node.textContent.trim()) {
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (!node.querySelector) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
110
|
+
if (!nestedSlot) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
115
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
116
|
+
});
|
|
105
117
|
}
|
|
106
118
|
|
|
107
119
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -209,10 +209,10 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
209
209
|
[32mcreated [1mdist[22m in [1m1.5s[22m[39m
|
|
210
210
|
[36m
|
|
211
211
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
212
|
-
[32mcreated [1m./demo/[22m in [
|
|
212
|
+
[32mcreated [1m./demo/[22m in [1m960ms[22m[39m
|
|
213
213
|
[36m
|
|
214
214
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
215
|
-
[32mcreated [1m./demo/[22m in [
|
|
215
|
+
[32mcreated [1m./demo/[22m in [1m902ms[22m[39m
|
|
216
216
|
|
|
217
217
|
> @aurodesignsystem/auro-input@4.2.0 build:docs
|
|
218
218
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component input
|
|
@@ -89,7 +89,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
89
89
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
90
90
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
|
|
91
91
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
92
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.
|
|
92
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.29/dist/auro-input__bundled.js" type="module"></script>
|
|
93
93
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
94
94
|
|
|
95
95
|
## auro-input use cases
|
|
@@ -4247,26 +4247,38 @@ class AuroHelpText extends r {
|
|
|
4247
4247
|
this.slotNodes = event.target.assignedNodes();
|
|
4248
4248
|
}
|
|
4249
4249
|
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
if (slot.textContent.trim()) {
|
|
4253
|
-
return true;
|
|
4254
|
-
}
|
|
4255
|
-
|
|
4256
|
-
if (!slot.querySelector) {
|
|
4257
|
-
return false;
|
|
4258
|
-
}
|
|
4250
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
4251
|
+
}
|
|
4259
4252
|
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4253
|
+
/**
|
|
4254
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
4255
|
+
*
|
|
4256
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
4257
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
4258
|
+
* @private
|
|
4259
|
+
*/
|
|
4260
|
+
checkSlotsForContent(nodes) {
|
|
4261
|
+
if (!nodes) {
|
|
4262
|
+
return false;
|
|
4269
4263
|
}
|
|
4264
|
+
|
|
4265
|
+
return nodes.some((node) => {
|
|
4266
|
+
if (node.textContent.trim()) {
|
|
4267
|
+
return true;
|
|
4268
|
+
}
|
|
4269
|
+
|
|
4270
|
+
if (!node.querySelector) {
|
|
4271
|
+
return false;
|
|
4272
|
+
}
|
|
4273
|
+
|
|
4274
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
4275
|
+
if (!nestedSlot) {
|
|
4276
|
+
return false;
|
|
4277
|
+
}
|
|
4278
|
+
|
|
4279
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
4280
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
4281
|
+
});
|
|
4270
4282
|
}
|
|
4271
4283
|
|
|
4272
4284
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -4185,26 +4185,38 @@ class AuroHelpText extends r {
|
|
|
4185
4185
|
this.slotNodes = event.target.assignedNodes();
|
|
4186
4186
|
}
|
|
4187
4187
|
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
if (slot.textContent.trim()) {
|
|
4191
|
-
return true;
|
|
4192
|
-
}
|
|
4193
|
-
|
|
4194
|
-
if (!slot.querySelector) {
|
|
4195
|
-
return false;
|
|
4196
|
-
}
|
|
4188
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
4189
|
+
}
|
|
4197
4190
|
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4191
|
+
/**
|
|
4192
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
4193
|
+
*
|
|
4194
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
4195
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
4196
|
+
* @private
|
|
4197
|
+
*/
|
|
4198
|
+
checkSlotsForContent(nodes) {
|
|
4199
|
+
if (!nodes) {
|
|
4200
|
+
return false;
|
|
4207
4201
|
}
|
|
4202
|
+
|
|
4203
|
+
return nodes.some((node) => {
|
|
4204
|
+
if (node.textContent.trim()) {
|
|
4205
|
+
return true;
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
if (!node.querySelector) {
|
|
4209
|
+
return false;
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
4213
|
+
if (!nestedSlot) {
|
|
4214
|
+
return false;
|
|
4215
|
+
}
|
|
4216
|
+
|
|
4217
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
4218
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
4219
|
+
});
|
|
4208
4220
|
}
|
|
4209
4221
|
|
|
4210
4222
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -4168,26 +4168,38 @@ class AuroHelpText extends r {
|
|
|
4168
4168
|
this.slotNodes = event.target.assignedNodes();
|
|
4169
4169
|
}
|
|
4170
4170
|
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
if (slot.textContent.trim()) {
|
|
4174
|
-
return true;
|
|
4175
|
-
}
|
|
4176
|
-
|
|
4177
|
-
if (!slot.querySelector) {
|
|
4178
|
-
return false;
|
|
4179
|
-
}
|
|
4171
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
4172
|
+
}
|
|
4180
4173
|
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4174
|
+
/**
|
|
4175
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
4176
|
+
*
|
|
4177
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
4178
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
4179
|
+
* @private
|
|
4180
|
+
*/
|
|
4181
|
+
checkSlotsForContent(nodes) {
|
|
4182
|
+
if (!nodes) {
|
|
4183
|
+
return false;
|
|
4190
4184
|
}
|
|
4185
|
+
|
|
4186
|
+
return nodes.some((node) => {
|
|
4187
|
+
if (node.textContent.trim()) {
|
|
4188
|
+
return true;
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
if (!node.querySelector) {
|
|
4192
|
+
return false;
|
|
4193
|
+
}
|
|
4194
|
+
|
|
4195
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
4196
|
+
if (!nestedSlot) {
|
|
4197
|
+
return false;
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4200
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
4201
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
4202
|
+
});
|
|
4191
4203
|
}
|
|
4192
4204
|
|
|
4193
4205
|
// function that renders the HTML and CSS into the scope of the component
|
|
@@ -101,13 +101,13 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
101
101
|
|
|
102
102
|
[36m
|
|
103
103
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
104
|
-
[32mcreated [1mdist[22m in [
|
|
104
|
+
[32mcreated [1mdist[22m in [1m829ms[22m[39m
|
|
105
105
|
[36m
|
|
106
106
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
107
|
-
[32mcreated [1m./demo/[22m in [
|
|
107
|
+
[32mcreated [1m./demo/[22m in [1m410ms[22m[39m
|
|
108
108
|
[36m
|
|
109
109
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
110
|
-
[32mcreated [1m./demo/[22m in [
|
|
110
|
+
[32mcreated [1m./demo/[22m in [1m331ms[22m[39m
|
|
111
111
|
|
|
112
112
|
> @aurodesignsystem/auro-menu@4.1.4 build:docs
|
|
113
113
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component menu
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
7
|
-
[32mcreated [1mdist[22m in [
|
|
7
|
+
[32mcreated [1mdist[22m in [1m518ms[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
10
|
-
[32mcreated [1m./demo/[22m in [
|
|
10
|
+
[32mcreated [1m./demo/[22m in [1m284ms[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
13
|
-
[32mcreated [1m./demo/[22m in [
|
|
13
|
+
[32mcreated [1m./demo/[22m in [1m276ms[22m[39m
|
|
@@ -100,7 +100,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
100
100
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
101
101
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
|
|
102
102
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
103
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-menu@2.0.0-beta.
|
|
103
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-menu@2.0.0-beta.29/dist/auro-menu__bundled.js" type="module"></script>
|
|
104
104
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
105
105
|
|
|
106
106
|
## auro-menu use cases
|
|
@@ -138,13 +138,13 @@ Run in verbose mode to see all warnings.
|
|
|
138
138
|
|
|
139
139
|
[36m
|
|
140
140
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
141
|
-
[32mcreated [1mdist[22m in [
|
|
141
|
+
[32mcreated [1mdist[22m in [1m768ms[22m[39m
|
|
142
142
|
[36m
|
|
143
143
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
144
|
-
[32mcreated [1m./demo/[22m in [
|
|
144
|
+
[32mcreated [1m./demo/[22m in [1m584ms[22m[39m
|
|
145
145
|
[36m
|
|
146
146
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
147
|
-
[32mcreated [1m./demo/[22m in [
|
|
147
|
+
[32mcreated [1m./demo/[22m in [1m504ms[22m[39m
|
|
148
148
|
|
|
149
149
|
> @aurodesignsystem/auro-radio@4.1.1 build:docs
|
|
150
150
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component radio
|
|
@@ -90,7 +90,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
|
|
|
90
90
|
<!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
|
|
91
91
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.9.2/dist/tokens/CSSCustomProperties.css" />
|
|
92
92
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
|
|
93
|
-
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-radio@2.0.0-beta.
|
|
93
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-radio@2.0.0-beta.29/dist/auro-radio__bundled.js" type="module"></script>
|
|
94
94
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
95
95
|
|
|
96
96
|
## auro-radio use cases
|
|
@@ -883,26 +883,38 @@ class AuroHelpText extends r {
|
|
|
883
883
|
this.slotNodes = event.target.assignedNodes();
|
|
884
884
|
}
|
|
885
885
|
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
if (slot.textContent.trim()) {
|
|
889
|
-
return true;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
if (!slot.querySelector) {
|
|
893
|
-
return false;
|
|
894
|
-
}
|
|
886
|
+
this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
|
|
887
|
+
}
|
|
895
888
|
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
889
|
+
/**
|
|
890
|
+
* Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
|
|
891
|
+
*
|
|
892
|
+
* @param {NodeList|Array} nodes - The list of nodes to check for content.
|
|
893
|
+
* @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
|
|
894
|
+
* @private
|
|
895
|
+
*/
|
|
896
|
+
checkSlotsForContent(nodes) {
|
|
897
|
+
if (!nodes) {
|
|
898
|
+
return false;
|
|
905
899
|
}
|
|
900
|
+
|
|
901
|
+
return nodes.some((node) => {
|
|
902
|
+
if (node.textContent.trim()) {
|
|
903
|
+
return true;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
if (!node.querySelector) {
|
|
907
|
+
return false;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
|
|
911
|
+
if (!nestedSlot) {
|
|
912
|
+
return false;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
const nestedSlotNodes = nestedSlot.assignedNodes();
|
|
916
|
+
return this.checkSlotsForContent(nestedSlotNodes);
|
|
917
|
+
});
|
|
906
918
|
}
|
|
907
919
|
|
|
908
920
|
// function that renders the HTML and CSS into the scope of the component
|