@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.
Files changed (185) hide show
  1. package/.turbo/cache/019608f754b4fd0c-meta.json +1 -1
  2. package/.turbo/cache/111ea1a7d5e86aac-meta.json +1 -0
  3. package/.turbo/cache/111ea1a7d5e86aac.tar.zst +0 -0
  4. package/.turbo/cache/18ce0cc67c14e0c9-meta.json +1 -1
  5. package/.turbo/cache/1d4280429ff4222f-meta.json +1 -1
  6. package/.turbo/cache/251ba344c6338ba3-meta.json +1 -1
  7. package/.turbo/cache/298b6ff0272e6226-meta.json +1 -1
  8. package/.turbo/cache/2abb5400a01a1694-meta.json +1 -1
  9. package/.turbo/cache/30fda91ef83677e4-meta.json +1 -1
  10. package/.turbo/cache/3221d91a94756c26-meta.json +1 -1
  11. package/.turbo/cache/3ab09fe7cf32b3bf-meta.json +1 -1
  12. package/.turbo/cache/3d05fb6e2d593287-meta.json +1 -0
  13. package/.turbo/cache/3f1b3db13386acdc-meta.json +1 -1
  14. package/.turbo/cache/430c124614841675-meta.json +1 -1
  15. package/.turbo/cache/45bdeb0396723b25-meta.json +1 -1
  16. package/.turbo/cache/4e9c9a5dd62c50a4-meta.json +1 -1
  17. package/.turbo/cache/559b052d8150dd3f-meta.json +1 -0
  18. package/.turbo/cache/{9dc293081f28a24d.tar.zst → 559b052d8150dd3f.tar.zst} +0 -0
  19. package/.turbo/cache/5748467be5ef9c07-meta.json +1 -0
  20. package/.turbo/cache/5748467be5ef9c07.tar.zst +0 -0
  21. package/.turbo/cache/59481fd7f6f355ed-meta.json +1 -1
  22. package/.turbo/cache/5a78bd07d371dd47-meta.json +1 -0
  23. package/.turbo/cache/{46f08b3f239b6b3c.tar.zst → 5a78bd07d371dd47.tar.zst} +0 -0
  24. package/.turbo/cache/5fc9a7a072827b7b-meta.json +1 -1
  25. package/.turbo/cache/63f832b4947ecf9d-meta.json +1 -0
  26. package/.turbo/cache/63f832b4947ecf9d.tar.zst +0 -0
  27. package/.turbo/cache/6a5dc307d8619c06-meta.json +1 -0
  28. package/.turbo/cache/6a5dc307d8619c06.tar.zst +0 -0
  29. package/.turbo/cache/6ed764f60d634993-meta.json +1 -0
  30. package/.turbo/cache/6ed764f60d634993.tar.zst +0 -0
  31. package/.turbo/cache/753b119a389426be-meta.json +1 -1
  32. package/.turbo/cache/80ece7354266e40f-meta.json +1 -0
  33. package/.turbo/cache/80ece7354266e40f.tar.zst +0 -0
  34. package/.turbo/cache/846bade4a9a3eba9-meta.json +1 -0
  35. package/.turbo/cache/846bade4a9a3eba9.tar.zst +0 -0
  36. package/.turbo/cache/8ac38d70a60381cb-meta.json +1 -1
  37. package/.turbo/cache/8c637a8d4c2166c5-meta.json +1 -1
  38. package/.turbo/cache/8cd5a06a396632cf-meta.json +1 -0
  39. package/.turbo/cache/{4472ff3b156042a3.tar.zst → 8cd5a06a396632cf.tar.zst} +0 -0
  40. package/.turbo/cache/970ba88c4c4092cd-meta.json +1 -0
  41. package/.turbo/cache/970ba88c4c4092cd.tar.zst +0 -0
  42. package/.turbo/cache/9db5147195c32672-meta.json +1 -0
  43. package/.turbo/cache/a002bc214179bedc-meta.json +1 -0
  44. package/.turbo/cache/a02c2bc2a4638817-meta.json +1 -0
  45. package/.turbo/cache/{cbc12d12ec0e13ca.tar.zst → a02c2bc2a4638817.tar.zst} +0 -0
  46. package/.turbo/cache/a7004571f6307848-meta.json +1 -0
  47. package/.turbo/cache/a7004571f6307848.tar.zst +0 -0
  48. package/.turbo/cache/a7dea1f1ae1fdc27-meta.json +1 -1
  49. package/.turbo/cache/a8307dcc447702ad-meta.json +1 -0
  50. package/.turbo/cache/a8307dcc447702ad.tar.zst +0 -0
  51. package/.turbo/cache/a9dc1069fcd851ff-meta.json +1 -0
  52. package/.turbo/cache/a9dc1069fcd851ff.tar.zst +0 -0
  53. package/.turbo/cache/b4de0d19f9eeaceb-meta.json +1 -0
  54. package/.turbo/cache/b4de0d19f9eeaceb.tar.zst +0 -0
  55. package/.turbo/cache/b682d4cec0741fa1-meta.json +1 -0
  56. package/.turbo/cache/b682d4cec0741fa1.tar.zst +0 -0
  57. package/.turbo/cache/bf3d1eace5e676f9-meta.json +1 -1
  58. package/.turbo/cache/c27d47351838ceb1-meta.json +1 -0
  59. package/.turbo/cache/c27d47351838ceb1.tar.zst +0 -0
  60. package/.turbo/cache/c7d435ade46f3c1e-meta.json +1 -0
  61. package/.turbo/cache/cbcd9db8ac9a2d52-meta.json +1 -1
  62. package/.turbo/cache/d0c4bf3a3a3840fd-meta.json +1 -0
  63. package/.turbo/cache/d0c4bf3a3a3840fd.tar.zst +0 -0
  64. package/.turbo/cache/d3afdb9a7db9eacc-meta.json +1 -1
  65. package/.turbo/cache/d8ecdff9c663c38e-meta.json +1 -1
  66. package/.turbo/cache/de494df6a3006101-meta.json +1 -1
  67. package/.turbo/cache/e06dedab4c19ae2a-meta.json +1 -0
  68. package/.turbo/cache/e06dedab4c19ae2a.tar.zst +0 -0
  69. package/.turbo/cache/e56a9865641ec3e8-meta.json +1 -1
  70. package/.turbo/cache/e7ed9e7056d80938-meta.json +1 -1
  71. package/.turbo/cache/e837827cd24834c4-meta.json +1 -1
  72. package/.turbo/cache/e9ff93179777aa26-meta.json +1 -1
  73. package/.turbo/cache/f6220a9af06bee74-meta.json +1 -0
  74. package/.turbo/cache/f6220a9af06bee74.tar.zst +0 -0
  75. package/.turbo/cache/f7ab9a13f9acc0ab-meta.json +1 -1
  76. package/.turbo/cache/ff3c8a3042cab66e-meta.json +1 -1
  77. package/CHANGELOG.md +12 -0
  78. package/components/checkbox/.turbo/turbo-build.log +3 -3
  79. package/components/checkbox/README.md +1 -1
  80. package/components/checkbox/demo/api.min.js +30 -18
  81. package/components/checkbox/demo/index.min.js +30 -18
  82. package/components/checkbox/dist/index.js +30 -18
  83. package/components/combobox/.turbo/turbo-build.log +3 -3
  84. package/components/combobox/README.md +4 -4
  85. package/components/combobox/demo/api.min.js +60 -36
  86. package/components/combobox/demo/index.min.js +60 -36
  87. package/components/combobox/dist/index.js +60 -36
  88. package/components/counter/.turbo/turbo-build.log +7 -3
  89. package/components/counter/.turbo/turbo-bundler.log +3 -3
  90. package/components/counter/README.md +1 -1
  91. package/components/counter/demo/api.md +6 -3
  92. package/components/counter/demo/api.min.js +9 -2
  93. package/components/counter/demo/index.md +126 -24
  94. package/components/counter/demo/index.min.js +9 -2
  95. package/components/counter/dist/auro-counter-group.d.ts +3 -0
  96. package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
  97. package/components/counter/dist/index.js +9 -2
  98. package/components/counter/src/auro-counter-group.js +8 -1
  99. package/components/counter/src/styles/counter-group-css.js +1 -1
  100. package/components/counter/src/styles/counter-group.css +4 -5
  101. package/components/counter/src/styles/counter-group.scss +4 -6
  102. package/components/datepicker/.turbo/turbo-build.log +2 -2
  103. package/components/datepicker/README.md +4 -4
  104. package/components/datepicker/demo/api.min.js +60 -36
  105. package/components/datepicker/demo/index.min.js +60 -36
  106. package/components/datepicker/dist/index.js +60 -36
  107. package/components/dropdown/.turbo/turbo-build.log +3 -3
  108. package/components/dropdown/README.md +1 -1
  109. package/components/dropdown/demo/api.min.js +30 -18
  110. package/components/dropdown/demo/index.min.js +30 -18
  111. package/components/dropdown/dist/index.js +30 -18
  112. package/components/form/.turbo/turbo-build.log +2 -2
  113. package/components/form/.turbo/turbo-bundler.log +3 -3
  114. package/components/form/README.md +1 -1
  115. package/components/helptext/.turbo/turbo-build.log +1 -1
  116. package/components/helptext/.turbo/turbo-bundler.log +1 -1
  117. package/components/helptext/dist/auro-helptext.d.ts +8 -0
  118. package/components/helptext/dist/auro-helptext.d.ts.map +1 -1
  119. package/components/helptext/dist/index.js +31 -19
  120. package/components/helptext/src/auro-helptext.js +31 -19
  121. package/components/input/.turbo/turbo-build.log +2 -2
  122. package/components/input/README.md +1 -1
  123. package/components/input/demo/api.min.js +30 -18
  124. package/components/input/demo/index.min.js +30 -18
  125. package/components/input/dist/index.js +30 -18
  126. package/components/menu/.turbo/turbo-build.log +3 -3
  127. package/components/menu/.turbo/turbo-bundler.log +3 -3
  128. package/components/menu/README.md +1 -1
  129. package/components/radio/.turbo/turbo-build.log +3 -3
  130. package/components/radio/README.md +1 -1
  131. package/components/radio/demo/api.min.js +30 -18
  132. package/components/radio/demo/index.min.js +30 -18
  133. package/components/radio/dist/index.js +30 -18
  134. package/components/select/.turbo/turbo-build.log +3 -3
  135. package/components/select/README.md +3 -3
  136. package/components/select/demo/api.min.js +30 -18
  137. package/components/select/demo/index.min.js +30 -18
  138. package/components/select/dist/index.js +30 -18
  139. package/package.json +1 -1
  140. package/.turbo/cache/06322ed0d04880b4-meta.json +0 -1
  141. package/.turbo/cache/06322ed0d04880b4.tar.zst +0 -0
  142. package/.turbo/cache/0b25a5384daf4b43-meta.json +0 -1
  143. package/.turbo/cache/0b25a5384daf4b43.tar.zst +0 -0
  144. package/.turbo/cache/1e42bb6f66cd5516-meta.json +0 -1
  145. package/.turbo/cache/202a84630d73699f-meta.json +0 -1
  146. package/.turbo/cache/202a84630d73699f.tar.zst +0 -0
  147. package/.turbo/cache/3b758f5ca6cedcac-meta.json +0 -1
  148. package/.turbo/cache/3b758f5ca6cedcac.tar.zst +0 -0
  149. package/.turbo/cache/4472ff3b156042a3-meta.json +0 -1
  150. package/.turbo/cache/448b2ae2221bf660-meta.json +0 -1
  151. package/.turbo/cache/448b2ae2221bf660.tar.zst +0 -0
  152. package/.turbo/cache/4655a084a08732a7-meta.json +0 -1
  153. package/.turbo/cache/46f08b3f239b6b3c-meta.json +0 -1
  154. package/.turbo/cache/4f06a06e4f458e75-meta.json +0 -1
  155. package/.turbo/cache/4f06a06e4f458e75.tar.zst +0 -0
  156. package/.turbo/cache/4f0d7e7df611108b-meta.json +0 -1
  157. package/.turbo/cache/4f0d7e7df611108b.tar.zst +0 -0
  158. package/.turbo/cache/533b2c6c9fb1166a-meta.json +0 -1
  159. package/.turbo/cache/533b2c6c9fb1166a.tar.zst +0 -0
  160. package/.turbo/cache/560d172ca96e1544-meta.json +0 -1
  161. package/.turbo/cache/560d172ca96e1544.tar.zst +0 -0
  162. package/.turbo/cache/9dc293081f28a24d-meta.json +0 -1
  163. package/.turbo/cache/a9db8818bc92a60e-meta.json +0 -1
  164. package/.turbo/cache/a9db8818bc92a60e.tar.zst +0 -0
  165. package/.turbo/cache/bae62d7b71b88997-meta.json +0 -1
  166. package/.turbo/cache/bae62d7b71b88997.tar.zst +0 -0
  167. package/.turbo/cache/bb3131b31c8adc36-meta.json +0 -1
  168. package/.turbo/cache/bb3131b31c8adc36.tar.zst +0 -0
  169. package/.turbo/cache/c45962e00a15f78b-meta.json +0 -1
  170. package/.turbo/cache/c45962e00a15f78b.tar.zst +0 -0
  171. package/.turbo/cache/c49eaa579b60f045-meta.json +0 -1
  172. package/.turbo/cache/c49eaa579b60f045.tar.zst +0 -0
  173. package/.turbo/cache/cbc12d12ec0e13ca-meta.json +0 -1
  174. package/.turbo/cache/d7d47541c105641f-meta.json +0 -1
  175. package/.turbo/cache/e95a7d076e700003-meta.json +0 -1
  176. package/.turbo/cache/e95a7d076e700003.tar.zst +0 -0
  177. package/.turbo/cache/f571abacf9ec4e84-meta.json +0 -1
  178. package/.turbo/cache/f571abacf9ec4e84.tar.zst +0 -0
  179. package/.turbo/cache/fa0bc0a1d41397e8-meta.json +0 -1
  180. package/.turbo/cache/fa0bc0a1d41397e8.tar.zst +0 -0
  181. package/.turbo/cache/fce6b6ea288791bf-meta.json +0 -1
  182. /package/.turbo/cache/{fce6b6ea288791bf.tar.zst → 3d05fb6e2d593287.tar.zst} +0 -0
  183. /package/.turbo/cache/{d7d47541c105641f.tar.zst → 9db5147195c32672.tar.zst} +0 -0
  184. /package/.turbo/cache/{1e42bb6f66cd5516.tar.zst → a002bc214179bedc.tar.zst} +0 -0
  185. /package/.turbo/cache/{4655a084a08732a7.tar.zst → c7d435ade46f3c1e.tar.zst} +0 -0
@@ -1583,7 +1583,7 @@ class AuroCounter extends r {
1583
1583
  }
1584
1584
  }
1585
1585
 
1586
- var styleCss$1 = i$5`:host{position:relative;display:block}[slot=trigger]{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}[auro-dropdown]{display:block}`;
1586
+ var styleCss$1 = i$5`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:auto;text-overflow:ellipsis}[auro-dropdown]{display:block}`;
1587
1587
 
1588
1588
  var dropdownVersion = '3.0.0';
1589
1589
 
@@ -1648,6 +1648,9 @@ if (!customElements.get("auro-counter-wrapper")) {
1648
1648
  * @element auro-counter-group
1649
1649
  * @extends LitElement
1650
1650
  * @slot Default - Slot for counter elements.
1651
+ * @slot Label - Dropdown label content. Only used when `isDropdown` is true.
1652
+ * @slot ValueText - Dropdown value text display. Only used when `isDropdown` is true.
1653
+ * @slot HelpText - Dropdown help text content. Only used when `isDropdown` is true.
1651
1654
  */
1652
1655
  class AuroCounterGroup extends r {
1653
1656
  constructor() {
@@ -1866,7 +1869,11 @@ class AuroCounterGroup extends r {
1866
1869
  return u`
1867
1870
  ${this.isDropdown
1868
1871
  ? u`<${this.dropdownTag} common chevron>
1869
- <div slot="trigger">${this.total}<slot name="placeholder"></slot></div>
1872
+ <div slot="trigger"><slot name="valueText">
1873
+ ${this.counters && Array.from(this.counters).map((counter, index) => `${counter.value} ${counter.shadowRoot.querySelector('.label slot').assignedNodes()[0].textContent}${index !== this.counters.length - 1 ? ', ' : ''}`)}
1874
+ </slot></div>
1875
+ <div slot="label"><slot name="label"></slot></div>
1876
+ <div slot="helpText"><slot name="helpText"></slot></div>
1870
1877
  <auro-counter-wrapper isInDropdown>
1871
1878
  </auro-counter-wrapper>
1872
1879
  </${this.dropdownTag}>
@@ -7,6 +7,9 @@
7
7
  * @element auro-counter-group
8
8
  * @extends LitElement
9
9
  * @slot Default - Slot for counter elements.
10
+ * @slot Label - Dropdown label content. Only used when `isDropdown` is true.
11
+ * @slot ValueText - Dropdown value text display. Only used when `isDropdown` is true.
12
+ * @slot HelpText - Dropdown help text content. Only used when `isDropdown` is true.
10
13
  */
11
14
  export class AuroCounterGroup extends LitElement {
12
15
  static get styles(): import("lit").CSSResult[];
@@ -1 +1 @@
1
- {"version":3,"file":"auro-counter-group.d.ts","sourceRoot":"","sources":["../src/auro-counter-group.js"],"names":[],"mappings":"AAqBA;;;;;;;;;GASG;AACH;IAoCE,+CAEC;IAED;QAGI;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;MAKN;IAkHD;;;;;OAKG;IACH,uBAJW,MAAM,QAMhB;IA9MC,oBAAuB;IAEvB,SAAoB;IACpB,SAAoB;IACpB,cAAsB;IACtB,cAAyB;IACzB,UAAsB;IAEtB;;OAEG;IACH,iBAAyB;IAEzB;;OAEG;IACH,mBAA0C;IAQ1C;;;;OAIG;IACH,oBAAyF;IAyD3F;;;;;;;OAOG;IACH,uBASC;IAED;;;;;OAKG;IACH,0BAKC;IAED;;;;;OAKG;IACH,kCAYC;IAED;;;;;OAKG;IACH,6BAGC;IAED;;;;;OAKG;IACH,oBAeC;IAED;;;OAGG;IACH,iBAFW,OAAO,QAIjB;IAED,sCAgBC;IAaD,4CAWC;CACF;2BAxP0B,KAAK"}
1
+ {"version":3,"file":"auro-counter-group.d.ts","sourceRoot":"","sources":["../src/auro-counter-group.js"],"names":[],"mappings":"AAqBA;;;;;;;;;;;;GAYG;AACH;IAoCE,+CAEC;IAED;QAGI;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;MAKN;IAkHD;;;;;OAKG;IACH,uBAJW,MAAM,QAMhB;IA9MC,oBAAuB;IAEvB,SAAoB;IACpB,SAAoB;IACpB,cAAsB;IACtB,cAAyB;IACzB,UAAsB;IAEtB;;OAEG;IACH,iBAAyB;IAEzB;;OAEG;IACH,mBAA0C;IAQ1C;;;;OAIG;IACH,oBAAyF;IAyD3F;;;;;;;OAOG;IACH,uBASC;IAED;;;;;OAKG;IACH,0BAKC;IAED;;;;;OAKG;IACH,kCAYC;IAED;;;;;OAKG;IACH,6BAGC;IAED;;;;;OAKG;IACH,oBAeC;IAED;;;OAGG;IACH,iBAFW,OAAO,QAIjB;IAED,sCAgBC;IAaD,4CAeC;CACF;2BA/P0B,KAAK"}
@@ -1583,7 +1583,7 @@ class AuroCounter extends r {
1583
1583
  }
1584
1584
  }
1585
1585
 
1586
- var styleCss$1 = i$5`:host{position:relative;display:block}[slot=trigger]{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}[auro-dropdown]{display:block}`;
1586
+ var styleCss$1 = i$5`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:auto;text-overflow:ellipsis}[auro-dropdown]{display:block}`;
1587
1587
 
1588
1588
  var dropdownVersion = '3.0.0';
1589
1589
 
@@ -1648,6 +1648,9 @@ if (!customElements.get("auro-counter-wrapper")) {
1648
1648
  * @element auro-counter-group
1649
1649
  * @extends LitElement
1650
1650
  * @slot Default - Slot for counter elements.
1651
+ * @slot Label - Dropdown label content. Only used when `isDropdown` is true.
1652
+ * @slot ValueText - Dropdown value text display. Only used when `isDropdown` is true.
1653
+ * @slot HelpText - Dropdown help text content. Only used when `isDropdown` is true.
1651
1654
  */
1652
1655
  class AuroCounterGroup extends r {
1653
1656
  constructor() {
@@ -1866,7 +1869,11 @@ class AuroCounterGroup extends r {
1866
1869
  return u`
1867
1870
  ${this.isDropdown
1868
1871
  ? u`<${this.dropdownTag} common chevron>
1869
- <div slot="trigger">${this.total}<slot name="placeholder"></slot></div>
1872
+ <div slot="trigger"><slot name="valueText">
1873
+ ${this.counters && Array.from(this.counters).map((counter, index) => `${counter.value} ${counter.shadowRoot.querySelector('.label slot').assignedNodes()[0].textContent}${index !== this.counters.length - 1 ? ', ' : ''}`)}
1874
+ </slot></div>
1875
+ <div slot="label"><slot name="label"></slot></div>
1876
+ <div slot="helpText"><slot name="helpText"></slot></div>
1870
1877
  <auro-counter-wrapper isInDropdown>
1871
1878
  </auro-counter-wrapper>
1872
1879
  </${this.dropdownTag}>
@@ -28,6 +28,9 @@ import './auro-counter-wrapper.js';
28
28
  * @element auro-counter-group
29
29
  * @extends LitElement
30
30
  * @slot Default - Slot for counter elements.
31
+ * @slot Label - Dropdown label content. Only used when `isDropdown` is true.
32
+ * @slot ValueText - Dropdown value text display. Only used when `isDropdown` is true.
33
+ * @slot HelpText - Dropdown help text content. Only used when `isDropdown` is true.
31
34
  */
32
35
  export class AuroCounterGroup extends LitElement {
33
36
  constructor() {
@@ -246,7 +249,11 @@ export class AuroCounterGroup extends LitElement {
246
249
  return html`
247
250
  ${this.isDropdown
248
251
  ? html`<${this.dropdownTag} common chevron>
249
- <div slot="trigger">${this.total}<slot name="placeholder"></slot></div>
252
+ <div slot="trigger"><slot name="valueText">
253
+ ${this.counters && Array.from(this.counters).map((counter, index) => `${counter.value} ${counter.shadowRoot.querySelector('.label slot').assignedNodes()[0].textContent}${index !== this.counters.length - 1 ? ', ' : ''}`)}
254
+ </slot></div>
255
+ <div slot="label"><slot name="label"></slot></div>
256
+ <div slot="helpText"><slot name="helpText"></slot></div>
250
257
  <auro-counter-wrapper isInDropdown>
251
258
  </auro-counter-wrapper>
252
259
  </${this.dropdownTag}>
@@ -1,2 +1,2 @@
1
1
  import { css } from 'lit';
2
- export default css`:host{position:relative;display:block}[slot=trigger]{display:flex;align-items:center;justify-content:space-between;gap:var(--ds-size-100, 0.5rem)}[auro-dropdown]{display:block}`;
2
+ export default css`:host{position:relative;display:block}[slot=trigger],::slotted([slot=valueText]){display:block;overflow:auto;text-overflow:ellipsis}[auro-dropdown]{display:block}`;
@@ -4,11 +4,10 @@
4
4
  display: block;
5
5
  }
6
6
 
7
- [slot=trigger] {
8
- display: flex;
9
- align-items: center;
10
- justify-content: space-between;
11
- gap: var(--ds-size-100, 0.5rem);
7
+ [slot=trigger], ::slotted([slot=valueText]) {
8
+ display: block;
9
+ overflow: auto;
10
+ text-overflow: ellipsis;
12
11
  }
13
12
 
14
13
  [auro-dropdown] {
@@ -17,12 +17,10 @@
17
17
  display: block;
18
18
  }
19
19
 
20
- [slot="trigger"] {
21
- display: flex;
22
- align-items: center;
23
- justify-content: space-between;
24
- gap: var(--ds-size-100, $ds-size-100);
25
-
20
+ [slot="trigger"], ::slotted([slot="valueText"]) {
21
+ display: block;
22
+ overflow: auto;
23
+ text-overflow: ellipsis;
26
24
  }
27
25
 
28
26
  [auro-dropdown] {
@@ -373,10 +373,10 @@ More info and automated migrator: https://sass-lang.com/d/import
373
373
 
374
374
  
375
375
  ./src/index.js → dist...
376
- created dist in 7.6s
376
+ created dist in 7.7s
377
377
  
378
378
  ./demo/index.js → ./demo/...
379
- created ./demo/ in 3.7s
379
+ created ./demo/ in 3.9s
380
380
  
381
381
  ./demo/api.js → ./demo/...
382
382
  created ./demo/ in 3.4s
@@ -93,10 +93,10 @@ In cases where the project is not able to process JS assets, there are pre-proce
93
93
  <!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
94
94
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.12.1/dist/tokens/CSSCustomProperties.css" />
95
95
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
96
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.28/dist/auro-dropdown__bundled.js" type="module"></script>
97
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-input@2.0.0-beta.28/dist/auro-input__bundled.js" type="module"></script>
98
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-popover@2.0.0-beta.28/dist/auro-popover__bundled.js" type="module"></script>
99
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-datepicker@2.0.0-beta.28/dist/auro-datepicker__bundled.js" type="module"></script>
96
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.29/dist/auro-dropdown__bundled.js" type="module"></script>
97
+ <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>
98
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-popover@2.0.0-beta.29/dist/auro-popover__bundled.js" type="module"></script>
99
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-datepicker@2.0.0-beta.29/dist/auro-datepicker__bundled.js" type="module"></script>
100
100
  <!-- AURO-GENERATED-CONTENT:END -->
101
101
 
102
102
  ## auro-datepicker use cases
@@ -13348,26 +13348,38 @@ let AuroHelpText$1 = class AuroHelpText extends r$9 {
13348
13348
  this.slotNodes = event.target.assignedNodes();
13349
13349
  }
13350
13350
 
13351
- if (this.slotNodes) {
13352
- this.hasTextContent = this.slotNodes.some((slot) => {
13353
- if (slot.textContent.trim()) {
13354
- return true;
13355
- }
13356
-
13357
- if (!slot.querySelector) {
13358
- return false;
13359
- }
13351
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
13352
+ }
13360
13353
 
13361
- const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
13362
- if (!nestedSlot) {
13363
- return false;
13364
- }
13365
- const nestedSlotNodes = nestedSlot.assignedNodes();
13366
- return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
13367
- });
13368
- } else {
13369
- this.hasTextContent = false;
13354
+ /**
13355
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
13356
+ *
13357
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
13358
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
13359
+ * @private
13360
+ */
13361
+ checkSlotsForContent(nodes) {
13362
+ if (!nodes) {
13363
+ return false;
13370
13364
  }
13365
+
13366
+ return nodes.some((node) => {
13367
+ if (node.textContent.trim()) {
13368
+ return true;
13369
+ }
13370
+
13371
+ if (!node.querySelector) {
13372
+ return false;
13373
+ }
13374
+
13375
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
13376
+ if (!nestedSlot) {
13377
+ return false;
13378
+ }
13379
+
13380
+ const nestedSlotNodes = nestedSlot.assignedNodes();
13381
+ return this.checkSlotsForContent(nestedSlotNodes);
13382
+ });
13371
13383
  }
13372
13384
 
13373
13385
  // function that renders the HTML and CSS into the scope of the component
@@ -18107,26 +18119,38 @@ class AuroHelpText extends r {
18107
18119
  this.slotNodes = event.target.assignedNodes();
18108
18120
  }
18109
18121
 
18110
- if (this.slotNodes) {
18111
- this.hasTextContent = this.slotNodes.some((slot) => {
18112
- if (slot.textContent.trim()) {
18113
- return true;
18114
- }
18115
-
18116
- if (!slot.querySelector) {
18117
- return false;
18118
- }
18122
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
18123
+ }
18119
18124
 
18120
- const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
18121
- if (!nestedSlot) {
18122
- return false;
18123
- }
18124
- const nestedSlotNodes = nestedSlot.assignedNodes();
18125
- return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
18126
- });
18127
- } else {
18128
- this.hasTextContent = false;
18125
+ /**
18126
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
18127
+ *
18128
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
18129
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
18130
+ * @private
18131
+ */
18132
+ checkSlotsForContent(nodes) {
18133
+ if (!nodes) {
18134
+ return false;
18129
18135
  }
18136
+
18137
+ return nodes.some((node) => {
18138
+ if (node.textContent.trim()) {
18139
+ return true;
18140
+ }
18141
+
18142
+ if (!node.querySelector) {
18143
+ return false;
18144
+ }
18145
+
18146
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
18147
+ if (!nestedSlot) {
18148
+ return false;
18149
+ }
18150
+
18151
+ const nestedSlotNodes = nestedSlot.assignedNodes();
18152
+ return this.checkSlotsForContent(nestedSlotNodes);
18153
+ });
18130
18154
  }
18131
18155
 
18132
18156
  // function that renders the HTML and CSS into the scope of the component
@@ -13088,26 +13088,38 @@ let AuroHelpText$1 = class AuroHelpText extends r$9 {
13088
13088
  this.slotNodes = event.target.assignedNodes();
13089
13089
  }
13090
13090
 
13091
- if (this.slotNodes) {
13092
- this.hasTextContent = this.slotNodes.some((slot) => {
13093
- if (slot.textContent.trim()) {
13094
- return true;
13095
- }
13096
-
13097
- if (!slot.querySelector) {
13098
- return false;
13099
- }
13091
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
13092
+ }
13100
13093
 
13101
- const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
13102
- if (!nestedSlot) {
13103
- return false;
13104
- }
13105
- const nestedSlotNodes = nestedSlot.assignedNodes();
13106
- return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
13107
- });
13108
- } else {
13109
- this.hasTextContent = false;
13094
+ /**
13095
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
13096
+ *
13097
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
13098
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
13099
+ * @private
13100
+ */
13101
+ checkSlotsForContent(nodes) {
13102
+ if (!nodes) {
13103
+ return false;
13110
13104
  }
13105
+
13106
+ return nodes.some((node) => {
13107
+ if (node.textContent.trim()) {
13108
+ return true;
13109
+ }
13110
+
13111
+ if (!node.querySelector) {
13112
+ return false;
13113
+ }
13114
+
13115
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
13116
+ if (!nestedSlot) {
13117
+ return false;
13118
+ }
13119
+
13120
+ const nestedSlotNodes = nestedSlot.assignedNodes();
13121
+ return this.checkSlotsForContent(nestedSlotNodes);
13122
+ });
13111
13123
  }
13112
13124
 
13113
13125
  // function that renders the HTML and CSS into the scope of the component
@@ -17847,26 +17859,38 @@ class AuroHelpText extends r {
17847
17859
  this.slotNodes = event.target.assignedNodes();
17848
17860
  }
17849
17861
 
17850
- if (this.slotNodes) {
17851
- this.hasTextContent = this.slotNodes.some((slot) => {
17852
- if (slot.textContent.trim()) {
17853
- return true;
17854
- }
17855
-
17856
- if (!slot.querySelector) {
17857
- return false;
17858
- }
17862
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
17863
+ }
17859
17864
 
17860
- const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
17861
- if (!nestedSlot) {
17862
- return false;
17863
- }
17864
- const nestedSlotNodes = nestedSlot.assignedNodes();
17865
- return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
17866
- });
17867
- } else {
17868
- this.hasTextContent = false;
17865
+ /**
17866
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
17867
+ *
17868
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
17869
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
17870
+ * @private
17871
+ */
17872
+ checkSlotsForContent(nodes) {
17873
+ if (!nodes) {
17874
+ return false;
17869
17875
  }
17876
+
17877
+ return nodes.some((node) => {
17878
+ if (node.textContent.trim()) {
17879
+ return true;
17880
+ }
17881
+
17882
+ if (!node.querySelector) {
17883
+ return false;
17884
+ }
17885
+
17886
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
17887
+ if (!nestedSlot) {
17888
+ return false;
17889
+ }
17890
+
17891
+ const nestedSlotNodes = nestedSlot.assignedNodes();
17892
+ return this.checkSlotsForContent(nestedSlotNodes);
17893
+ });
17870
17894
  }
17871
17895
 
17872
17896
  // function that renders the HTML and CSS into the scope of the component
@@ -13088,26 +13088,38 @@ let AuroHelpText$1 = class AuroHelpText extends r$9 {
13088
13088
  this.slotNodes = event.target.assignedNodes();
13089
13089
  }
13090
13090
 
13091
- if (this.slotNodes) {
13092
- this.hasTextContent = this.slotNodes.some((slot) => {
13093
- if (slot.textContent.trim()) {
13094
- return true;
13095
- }
13096
-
13097
- if (!slot.querySelector) {
13098
- return false;
13099
- }
13091
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
13092
+ }
13100
13093
 
13101
- const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
13102
- if (!nestedSlot) {
13103
- return false;
13104
- }
13105
- const nestedSlotNodes = nestedSlot.assignedNodes();
13106
- return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
13107
- });
13108
- } else {
13109
- this.hasTextContent = false;
13094
+ /**
13095
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
13096
+ *
13097
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
13098
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
13099
+ * @private
13100
+ */
13101
+ checkSlotsForContent(nodes) {
13102
+ if (!nodes) {
13103
+ return false;
13110
13104
  }
13105
+
13106
+ return nodes.some((node) => {
13107
+ if (node.textContent.trim()) {
13108
+ return true;
13109
+ }
13110
+
13111
+ if (!node.querySelector) {
13112
+ return false;
13113
+ }
13114
+
13115
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
13116
+ if (!nestedSlot) {
13117
+ return false;
13118
+ }
13119
+
13120
+ const nestedSlotNodes = nestedSlot.assignedNodes();
13121
+ return this.checkSlotsForContent(nestedSlotNodes);
13122
+ });
13111
13123
  }
13112
13124
 
13113
13125
  // function that renders the HTML and CSS into the scope of the component
@@ -17847,26 +17859,38 @@ class AuroHelpText extends r {
17847
17859
  this.slotNodes = event.target.assignedNodes();
17848
17860
  }
17849
17861
 
17850
- if (this.slotNodes) {
17851
- this.hasTextContent = this.slotNodes.some((slot) => {
17852
- if (slot.textContent.trim()) {
17853
- return true;
17854
- }
17855
-
17856
- if (!slot.querySelector) {
17857
- return false;
17858
- }
17862
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
17863
+ }
17859
17864
 
17860
- const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
17861
- if (!nestedSlot) {
17862
- return false;
17863
- }
17864
- const nestedSlotNodes = nestedSlot.assignedNodes();
17865
- return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
17866
- });
17867
- } else {
17868
- this.hasTextContent = false;
17865
+ /**
17866
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
17867
+ *
17868
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
17869
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
17870
+ * @private
17871
+ */
17872
+ checkSlotsForContent(nodes) {
17873
+ if (!nodes) {
17874
+ return false;
17869
17875
  }
17876
+
17877
+ return nodes.some((node) => {
17878
+ if (node.textContent.trim()) {
17879
+ return true;
17880
+ }
17881
+
17882
+ if (!node.querySelector) {
17883
+ return false;
17884
+ }
17885
+
17886
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
17887
+ if (!nestedSlot) {
17888
+ return false;
17889
+ }
17890
+
17891
+ const nestedSlotNodes = nestedSlot.assignedNodes();
17892
+ return this.checkSlotsForContent(nestedSlotNodes);
17893
+ });
17870
17894
  }
17871
17895
 
17872
17896
  // function that renders the HTML and CSS into the scope of the component
@@ -90,13 +90,13 @@ More info and automated migrator: https://sass-lang.com/d/import
90
90
 
91
91
  
92
92
  ./src/index.js → dist...
93
- created dist in 1.5s
93
+ created dist in 1.6s
94
94
  
95
95
  ./demo/index.js → ./demo/...
96
- created ./demo/ in 978ms
96
+ created ./demo/ in 944ms
97
97
  
98
98
  ./demo/api.js → ./demo/...
99
- created ./demo/ in 803ms
99
+ created ./demo/ in 1.1s
100
100
 
101
101
  > @aurodesignsystem/auro-dropdown@3.0.0 build:docs
102
102
  > wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component dropdown
@@ -97,7 +97,7 @@ In cases where the project is not able to process JS assets, there are pre-proce
97
97
  <!-- The below content is automatically added from ../../docs/templates/componentBundleUseModBrowsers.md -->
98
98
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@4.9.2/dist/tokens/CSSCustomProperties.css" />
99
99
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@5.1.2/dist/bundled/essentials.css" />
100
- <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.28/dist/auro-dropdown__bundled.js" type="module"></script>
100
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit/auro-dropdown@2.0.0-beta.29/dist/auro-dropdown__bundled.js" type="module"></script>
101
101
  <!-- AURO-GENERATED-CONTENT:END -->
102
102
 
103
103
  ## auro-dropdown use cases
@@ -2610,26 +2610,38 @@ class AuroHelpText extends r {
2610
2610
  this.slotNodes = event.target.assignedNodes();
2611
2611
  }
2612
2612
 
2613
- if (this.slotNodes) {
2614
- this.hasTextContent = this.slotNodes.some((slot) => {
2615
- if (slot.textContent.trim()) {
2616
- return true;
2617
- }
2618
-
2619
- if (!slot.querySelector) {
2620
- return false;
2621
- }
2613
+ this.hasTextContent = this.checkSlotsForContent(this.slotNodes);
2614
+ }
2622
2615
 
2623
- const nestedSlot = slot.tagName === 'SLOT' ? slot : slot.querySelector('slot');
2624
- if (!nestedSlot) {
2625
- return false;
2626
- }
2627
- const nestedSlotNodes = nestedSlot.assignedNodes();
2628
- return nestedSlotNodes.some((ss) => Boolean(ss.textContent.trim()));
2629
- });
2630
- } else {
2631
- this.hasTextContent = false;
2616
+ /**
2617
+ * Checks if any of the provided nodes or their nested slot nodes contain non-empty text content.
2618
+ *
2619
+ * @param {NodeList|Array} nodes - The list of nodes to check for content.
2620
+ * @returns {boolean} - Returns true if any node or nested slot node contains non-empty text content, otherwise false.
2621
+ * @private
2622
+ */
2623
+ checkSlotsForContent(nodes) {
2624
+ if (!nodes) {
2625
+ return false;
2632
2626
  }
2627
+
2628
+ return nodes.some((node) => {
2629
+ if (node.textContent.trim()) {
2630
+ return true;
2631
+ }
2632
+
2633
+ if (!node.querySelector) {
2634
+ return false;
2635
+ }
2636
+
2637
+ const nestedSlot = node.tagName === 'SLOT' ? node : node.querySelector('slot');
2638
+ if (!nestedSlot) {
2639
+ return false;
2640
+ }
2641
+
2642
+ const nestedSlotNodes = nestedSlot.assignedNodes();
2643
+ return this.checkSlotsForContent(nestedSlotNodes);
2644
+ });
2633
2645
  }
2634
2646
 
2635
2647
  // function that renders the HTML and CSS into the scope of the component