@aurodesignsystem/auro-formkit 1.6.0-beta.5 → 1.6.0-beta.7
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/01de6ab3df8b7e1e-meta.json +1 -0
- package/.turbo/cache/{754a6b5c5ce1ed00.tar.zst → 01de6ab3df8b7e1e.tar.zst} +0 -0
- package/.turbo/cache/10feda0f037804bb-meta.json +1 -1
- package/.turbo/cache/11079d2746265545-meta.json +1 -0
- package/.turbo/cache/11079d2746265545.tar.zst +0 -0
- package/.turbo/cache/115c4b73a12f5275-meta.json +1 -0
- package/.turbo/cache/144e8e78657bf800-meta.json +1 -1
- package/.turbo/cache/18939b2c7c83b163-meta.json +1 -1
- package/.turbo/cache/1de685df0eaa39c8-meta.json +1 -1
- package/.turbo/cache/1ec139dcf090d547-meta.json +1 -0
- package/.turbo/cache/1f53ce3a28c56cdf-meta.json +1 -1
- package/.turbo/cache/23bf100310bd9f5a-meta.json +1 -1
- package/.turbo/cache/2900e7ec28e1488f-meta.json +1 -1
- package/.turbo/cache/296074aadfa2f8c9-meta.json +1 -1
- package/.turbo/cache/296074aadfa2f8c9.tar.zst +0 -0
- package/.turbo/cache/29e29355bf6fb4fd-meta.json +1 -1
- package/.turbo/cache/2cbcbc4a17387253-meta.json +1 -0
- package/.turbo/cache/2cbcbc4a17387253.tar.zst +0 -0
- package/.turbo/cache/2f6c898fbb51e995-meta.json +1 -0
- package/.turbo/cache/2f6c898fbb51e995.tar.zst +0 -0
- package/.turbo/cache/3073b96f6e4d867c-meta.json +1 -1
- package/.turbo/cache/33466ea2930c3714-meta.json +1 -1
- package/.turbo/cache/3426941a74b0731e-meta.json +1 -0
- package/.turbo/cache/3426941a74b0731e.tar.zst +0 -0
- package/.turbo/cache/38b0799e2f7e62c5-meta.json +1 -0
- package/.turbo/cache/38b0799e2f7e62c5.tar.zst +0 -0
- package/.turbo/cache/3fbc89f461c495db-meta.json +1 -0
- package/.turbo/cache/3fbc89f461c495db.tar.zst +0 -0
- package/.turbo/cache/451e562c76f74ec6-meta.json +1 -1
- package/.turbo/cache/4520919609c97850-meta.json +1 -1
- package/.turbo/cache/452908d0b0b676bc-meta.json +1 -1
- package/.turbo/cache/48c197e39ed31fd2-meta.json +1 -1
- package/.turbo/cache/48c197e39ed31fd2.tar.zst +0 -0
- package/.turbo/cache/5058ecc7f1e34496-meta.json +1 -1
- package/.turbo/cache/5a66a99aa1344401-meta.json +1 -1
- package/.turbo/cache/5b66ce21630716cc-meta.json +1 -1
- package/.turbo/cache/6002b76d50b8d1ff-meta.json +1 -0
- package/.turbo/cache/6002b76d50b8d1ff.tar.zst +0 -0
- package/.turbo/cache/627e964e19b2bda5-meta.json +1 -0
- package/.turbo/cache/{3ac4a22a21bdc2be.tar.zst → 627e964e19b2bda5.tar.zst} +0 -0
- package/.turbo/cache/6907ebaae4f3a96b-meta.json +1 -0
- package/.turbo/cache/6907ebaae4f3a96b.tar.zst +0 -0
- package/.turbo/cache/6f7175be597945f7-meta.json +1 -0
- package/.turbo/cache/6f7175be597945f7.tar.zst +0 -0
- package/.turbo/cache/70d7b72f15ee97a4-meta.json +1 -1
- package/.turbo/cache/7cfdc01c415c836c-meta.json +1 -0
- package/.turbo/cache/7cfdc01c415c836c.tar.zst +0 -0
- package/.turbo/cache/897b0d8a0c301207-meta.json +1 -1
- package/.turbo/cache/8b7cdb9a0d4c3112-meta.json +1 -1
- package/.turbo/cache/8e1f402b247ebed6-meta.json +1 -1
- package/.turbo/cache/8e1f402b247ebed6.tar.zst +0 -0
- package/.turbo/cache/90b8d9ccef5e09aa-meta.json +1 -0
- package/.turbo/cache/90b8d9ccef5e09aa.tar.zst +0 -0
- package/.turbo/cache/936bccb44ade3650-meta.json +1 -0
- package/.turbo/cache/936bccb44ade3650.tar.zst +0 -0
- package/.turbo/cache/94bcc4c6536ada9d-meta.json +1 -0
- package/.turbo/cache/94bcc4c6536ada9d.tar.zst +0 -0
- package/.turbo/cache/990b9def0e83d33c-meta.json +1 -0
- package/.turbo/cache/990b9def0e83d33c.tar.zst +0 -0
- package/.turbo/cache/a532f4b8302ca13e-meta.json +1 -0
- package/.turbo/cache/a532f4b8302ca13e.tar.zst +0 -0
- package/.turbo/cache/a7bf477bbdabc7bc-meta.json +1 -1
- package/.turbo/cache/a90aa34f427a2f62-meta.json +1 -1
- package/.turbo/cache/aedda428051043c4-meta.json +1 -0
- package/.turbo/cache/aedda428051043c4.tar.zst +0 -0
- package/.turbo/cache/afc38ab505ef6dbb-meta.json +1 -0
- package/.turbo/cache/{2ca214d032893e74.tar.zst → afc38ab505ef6dbb.tar.zst} +0 -0
- package/.turbo/cache/b1ed317b29e85c9d-meta.json +1 -0
- package/.turbo/cache/b1ed317b29e85c9d.tar.zst +0 -0
- package/.turbo/cache/b61416daf63fbaad-meta.json +1 -1
- package/.turbo/cache/b76edfbd1c076b0a-meta.json +1 -0
- package/.turbo/cache/b76edfbd1c076b0a.tar.zst +0 -0
- package/.turbo/cache/b9463532618cdc61-meta.json +1 -1
- package/.turbo/cache/bb3afea40c91e8ba-meta.json +1 -1
- package/.turbo/cache/c4df38a7e2cc767a-meta.json +1 -0
- package/.turbo/cache/{77bf3068f493ef24.tar.zst → c4df38a7e2cc767a.tar.zst} +0 -0
- package/.turbo/cache/c63dc7b6157da70b-meta.json +1 -1
- package/.turbo/cache/c8b63b6e8a190eb9-meta.json +1 -1
- package/.turbo/cache/d35b1eee9f2881af-meta.json +1 -1
- package/.turbo/cache/d5188c0fbe45d578-meta.json +1 -1
- package/.turbo/cache/e4b3ec56d4ae56ba-meta.json +1 -1
- package/.turbo/cache/e6f030eddf6fbf4e-meta.json +1 -1
- package/.turbo/cache/ff7e6d09efd93145-meta.json +1 -1
- package/.turbo/cache/ff7e6d09efd93145.tar.zst +0 -0
- package/CHANGELOG.md +26 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/combobox/.turbo/turbo-build.log +6 -3
- package/components/combobox/demo/api.html +1 -0
- package/components/combobox/demo/api.js +2 -0
- package/components/combobox/demo/api.md +73 -0
- package/components/combobox/demo/api.min.js +966 -833
- package/components/combobox/demo/index.min.js +931 -837
- package/components/combobox/dist/auro-combobox.d.ts +20 -0
- package/components/combobox/dist/auro-combobox.d.ts.map +1 -1
- package/components/combobox/dist/index.js +69 -27
- package/components/combobox/src/auro-combobox.js +60 -23
- package/components/counter/.turbo/turbo-build.log +3 -3
- package/components/counter/.turbo/turbo-bundler.log +3 -3
- package/components/counter/demo/api.md +1053 -0
- package/components/datepicker/demo/api.min.js +10 -4
- package/components/datepicker/demo/index.min.js +10 -4
- package/components/datepicker/dist/auro-datepicker.d.ts.map +1 -1
- package/components/datepicker/dist/index.js +10 -4
- package/components/datepicker/src/auro-datepicker.js +1 -0
- package/components/dropdown/.turbo/turbo-build.log +7 -7
- package/components/dropdown/.turbo/turbo-bundler.log +3 -3
- package/components/dropdown/demo/api.html +2 -0
- package/components/dropdown/demo/api.md +47 -41
- package/components/dropdown/demo/api.min.js +9 -4
- package/components/dropdown/demo/index.md +97 -53
- package/components/dropdown/demo/index.min.js +9 -4
- package/components/dropdown/dist/auro-dropdown.d.ts +7 -2
- package/components/dropdown/dist/auro-dropdown.d.ts.map +1 -1
- package/components/dropdown/dist/index.js +9 -4
- package/components/dropdown/src/auro-dropdown.js +7 -2
- package/components/dropdown/src/styles/bibStyles-css.js +1 -1
- package/components/dropdown/src/styles/bibStyles.css +2 -2
- package/components/dropdown/src/styles/bibStyles.scss +2 -2
- package/components/dropdown/src/styles/style-css.js +1 -1
- package/components/dropdown/src/styles/style.css +6 -0
- package/components/dropdown/src/styles/style.scss +6 -0
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/menu/.turbo/turbo-build.log +6 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/demo/api.html +2 -0
- package/components/menu/demo/api.js +2 -0
- package/components/menu/demo/api.md +164 -22
- package/components/menu/demo/api.min.js +912 -853
- package/components/menu/demo/index.min.js +905 -853
- package/components/menu/dist/auro-menu.d.ts +28 -2
- package/components/menu/dist/auro-menu.d.ts.map +1 -1
- package/components/menu/dist/auro-menuoption.d.ts +1 -1
- package/components/menu/dist/index.js +905 -853
- package/components/menu/src/auro-menu.js +57 -7
- package/components/menu/src/auro-menuoption.js +1 -1
- package/components/menu/src/styles/style-menu-css.js +1 -1
- package/components/menu/src/styles/style-menu.css +21 -3
- package/components/menu/src/styles/style-menu.scss +25 -3
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/select/.turbo/turbo-build.log +6 -3
- package/components/select/demo/api.html +1 -0
- package/components/select/demo/api.js +2 -0
- package/components/select/demo/api.md +66 -0
- package/components/select/demo/api.min.js +938 -816
- package/components/select/demo/index.min.js +905 -815
- package/components/select/dist/auro-select.d.ts +19 -0
- package/components/select/dist/auro-select.d.ts.map +1 -1
- package/components/select/dist/index.js +42 -4
- package/components/select/src/auro-select.js +33 -0
- package/package.json +1 -1
- package/packages/build-tools/src/docProcessor.mjs +4 -4
- package/packages/build-tools/src/kitDocProcessor.mjs +4 -4
- package/.turbo/cache/01aa76a50fa4c8ad-meta.json +0 -1
- package/.turbo/cache/01aa76a50fa4c8ad.tar.zst +0 -0
- package/.turbo/cache/05be1236a4cd5e72-meta.json +0 -1
- package/.turbo/cache/05be1236a4cd5e72.tar.zst +0 -0
- package/.turbo/cache/1f3b6e5b310ff590-meta.json +0 -1
- package/.turbo/cache/1f3b6e5b310ff590.tar.zst +0 -0
- package/.turbo/cache/2ca214d032893e74-meta.json +0 -1
- package/.turbo/cache/2dd00eb6e255bd02-meta.json +0 -1
- package/.turbo/cache/2dd00eb6e255bd02.tar.zst +0 -0
- package/.turbo/cache/3792d285b464b3e6-meta.json +0 -1
- package/.turbo/cache/3792d285b464b3e6.tar.zst +0 -0
- package/.turbo/cache/38030191e9c3ecd0-meta.json +0 -1
- package/.turbo/cache/38030191e9c3ecd0.tar.zst +0 -0
- package/.turbo/cache/3ac4a22a21bdc2be-meta.json +0 -1
- package/.turbo/cache/54475627b302de03-meta.json +0 -1
- package/.turbo/cache/54475627b302de03.tar.zst +0 -0
- package/.turbo/cache/5d064e768a262314-meta.json +0 -1
- package/.turbo/cache/5d064e768a262314.tar.zst +0 -0
- package/.turbo/cache/5f324af6052902f3-meta.json +0 -1
- package/.turbo/cache/6bc6e817c13e2b9d-meta.json +0 -1
- package/.turbo/cache/6bc6e817c13e2b9d.tar.zst +0 -0
- package/.turbo/cache/6f2c238248445944-meta.json +0 -1
- package/.turbo/cache/754a6b5c5ce1ed00-meta.json +0 -1
- package/.turbo/cache/77bf3068f493ef24-meta.json +0 -1
- package/.turbo/cache/7ddb7ace73fe6ec2-meta.json +0 -1
- package/.turbo/cache/7ddb7ace73fe6ec2.tar.zst +0 -0
- package/.turbo/cache/8a47fd250364f95a-meta.json +0 -1
- package/.turbo/cache/8a47fd250364f95a.tar.zst +0 -0
- package/.turbo/cache/9135f474c69d1b3c-meta.json +0 -1
- package/.turbo/cache/9135f474c69d1b3c.tar.zst +0 -0
- package/.turbo/cache/9a7ab914e08ce75f-meta.json +0 -1
- package/.turbo/cache/9a7ab914e08ce75f.tar.zst +0 -0
- package/.turbo/cache/ae152fd876a6f549-meta.json +0 -1
- package/.turbo/cache/ae152fd876a6f549.tar.zst +0 -0
- package/.turbo/cache/d8bd6f80733c28af-meta.json +0 -1
- package/.turbo/cache/d8bd6f80733c28af.tar.zst +0 -0
- package/.turbo/cache/dce6f67be2b63c18-meta.json +0 -1
- package/.turbo/cache/dce6f67be2b63c18.tar.zst +0 -0
- package/.turbo/cache/dfe3a7b21c7fcb08-meta.json +0 -1
- package/.turbo/cache/dfe3a7b21c7fcb08.tar.zst +0 -0
- package/.turbo/cache/f8664d3dce006bdf-meta.json +0 -1
- package/.turbo/cache/f8664d3dce006bdf.tar.zst +0 -0
- /package/.turbo/cache/{6f2c238248445944.tar.zst → 115c4b73a12f5275.tar.zst} +0 -0
- /package/.turbo/cache/{5f324af6052902f3.tar.zst → 1ec139dcf090d547.tar.zst} +0 -0
|
@@ -85,57 +85,6 @@ This first common example uses the default `auro-dropdown` element with the attr
|
|
|
85
85
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
86
86
|
</auro-accordion>
|
|
87
87
|
|
|
88
|
-
## Common use with aria-labelledby
|
|
89
|
-
|
|
90
|
-
This common example uses the default `auro-dropdown` element with the attributes of `bordered` `rounded` `inset` `toggle` and `chevron`. Additionally the `aria-labelledby` attribute to identify the element that labels the element it is applied to.
|
|
91
|
-
|
|
92
|
-
<div class="exampleWrapper">
|
|
93
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/commonLabelledby.html) -->
|
|
94
|
-
<!-- The below content is automatically added from ./../apiExamples/commonLabelledby.html -->
|
|
95
|
-
<p id="foo">The element is labelled by content external to the element.</p>
|
|
96
|
-
<auro-dropdown id="commonAdvanced" aria-labelledby="foo" bordered rounded inset chevron>
|
|
97
|
-
<div style="padding: var(--ds-size-150);">
|
|
98
|
-
Lorem ipsum solar
|
|
99
|
-
<br />
|
|
100
|
-
<auro-button onclick="document.querySelector('#commonAdvanced').hide()">
|
|
101
|
-
Dismiss Dropdown
|
|
102
|
-
</auro-button>
|
|
103
|
-
</div>
|
|
104
|
-
<span slot="helpText">
|
|
105
|
-
Help text
|
|
106
|
-
</span>
|
|
107
|
-
<div slot="trigger">
|
|
108
|
-
Trigger
|
|
109
|
-
</div>
|
|
110
|
-
</auro-dropdown>
|
|
111
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
|
-
</div>
|
|
113
|
-
<auro-accordion alignRight>
|
|
114
|
-
<span slot="trigger">See code</span>
|
|
115
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/commonLabelledby.html) -->
|
|
116
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/commonLabelledby.html -->
|
|
117
|
-
|
|
118
|
-
```html
|
|
119
|
-
<p id="foo">The element is labelled by content external to the element.</p>
|
|
120
|
-
<auro-dropdown id="commonAdvanced" aria-labelledby="foo" bordered rounded inset chevron>
|
|
121
|
-
<div style="padding: var(--ds-size-150);">
|
|
122
|
-
Lorem ipsum solar
|
|
123
|
-
<br />
|
|
124
|
-
<auro-button onclick="document.querySelector('#commonAdvanced').hide()">
|
|
125
|
-
Dismiss Dropdown
|
|
126
|
-
</auro-button>
|
|
127
|
-
</div>
|
|
128
|
-
<span slot="helpText">
|
|
129
|
-
Help text
|
|
130
|
-
</span>
|
|
131
|
-
<div slot="trigger">
|
|
132
|
-
Trigger
|
|
133
|
-
</div>
|
|
134
|
-
</auro-dropdown>
|
|
135
|
-
```
|
|
136
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
137
|
-
</auro-accordion>
|
|
138
|
-
|
|
139
88
|
## Common use using the label content slot
|
|
140
89
|
|
|
141
90
|
This common example uses the default `auro-dropdown` element with the attributes of `bordered` `rounded` `inset` `toggle` and `chevron`. Additionally the `slot` content container to define a string value that labels the interactive element.
|
|
@@ -243,7 +192,7 @@ This common example uses the default `auro-dropdown` element with the attributes
|
|
|
243
192
|
<div class="exampleWrapper">
|
|
244
193
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/commonMatchWidth.html) -->
|
|
245
194
|
<!-- The below content is automatically added from ./../apiExamples/commonMatchWidth.html -->
|
|
246
|
-
<auro-dropdown id="common" common matchWidth aria-label="Label content for screen reader">
|
|
195
|
+
<auro-dropdown id="common" common fluid matchWidth aria-label="Label content for screen reader">
|
|
247
196
|
<div style="padding: var(--ds-size-150);">
|
|
248
197
|
Lorem ipsum solar
|
|
249
198
|
<br />
|
|
@@ -266,7 +215,7 @@ This common example uses the default `auro-dropdown` element with the attributes
|
|
|
266
215
|
<!-- The below code snippet is automatically added from ./../apiExamples/commonMatchWidth.html -->
|
|
267
216
|
|
|
268
217
|
```html
|
|
269
|
-
<auro-dropdown id="common" common matchWidth aria-label="Label content for screen reader">
|
|
218
|
+
<auro-dropdown id="common" common fluid matchWidth aria-label="Label content for screen reader">
|
|
270
219
|
<div style="padding: var(--ds-size-150);">
|
|
271
220
|
Lorem ipsum solar
|
|
272
221
|
<br />
|
|
@@ -285,6 +234,101 @@ This common example uses the default `auro-dropdown` element with the attributes
|
|
|
285
234
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
286
235
|
</auro-accordion>
|
|
287
236
|
|
|
237
|
+
## Common use with its width matching the trigger
|
|
238
|
+
|
|
239
|
+
To make the dropdown to be just big as the trigger's content, style the `auro-dropdown` width `display: inline-block`.
|
|
240
|
+
|
|
241
|
+
<div class="exampleWrapper">
|
|
242
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/inline.html) -->
|
|
243
|
+
<!-- The below content is automatically added from ./../apiExamples/inline.html -->
|
|
244
|
+
<table style="text-align: center;">
|
|
245
|
+
<thead>
|
|
246
|
+
<tr>
|
|
247
|
+
<td>Icon Only</td>
|
|
248
|
+
<td>Text Only</td>
|
|
249
|
+
<td>Text with Icon</td>
|
|
250
|
+
</tr>
|
|
251
|
+
</thead>
|
|
252
|
+
<tr>
|
|
253
|
+
<td>
|
|
254
|
+
<auro-dropdown aria-div="custom div" inset style="display: inline-block;">
|
|
255
|
+
Icon Only Dropdown
|
|
256
|
+
<div slot="trigger">
|
|
257
|
+
<auro-icon category="interface" name="arrow-down"></auro-icon>
|
|
258
|
+
</div>
|
|
259
|
+
</auro-dropdown>
|
|
260
|
+
</td>
|
|
261
|
+
<td>
|
|
262
|
+
<auro-dropdown aria-div="custom div" inset style="display: inline-block;">
|
|
263
|
+
Text Only Dropdown
|
|
264
|
+
<div slot="trigger">
|
|
265
|
+
Trigger Text
|
|
266
|
+
</div>
|
|
267
|
+
</auro-dropdown>
|
|
268
|
+
</td>
|
|
269
|
+
<td>
|
|
270
|
+
<auro-dropdown aria-div="custom div" inset style="display: inline-block;">
|
|
271
|
+
Icon and Text Dropdown
|
|
272
|
+
<div slot="trigger">
|
|
273
|
+
<div style="white-space:nowrap">
|
|
274
|
+
Trigger Text
|
|
275
|
+
<auro-icon category="interface" name="arrow-down"></auro-icon>
|
|
276
|
+
</div>
|
|
277
|
+
</div>
|
|
278
|
+
</auro-dropdown>
|
|
279
|
+
</td>
|
|
280
|
+
</tr>
|
|
281
|
+
</table>
|
|
282
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
283
|
+
</div>
|
|
284
|
+
<auro-accordion alignRight>
|
|
285
|
+
<span slot="trigger">See code</span>
|
|
286
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/inline.html) -->
|
|
287
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/inline.html -->
|
|
288
|
+
|
|
289
|
+
```html
|
|
290
|
+
<table style="text-align: center;">
|
|
291
|
+
<thead>
|
|
292
|
+
<tr>
|
|
293
|
+
<td>Icon Only</td>
|
|
294
|
+
<td>Text Only</td>
|
|
295
|
+
<td>Text with Icon</td>
|
|
296
|
+
</tr>
|
|
297
|
+
</thead>
|
|
298
|
+
<tr>
|
|
299
|
+
<td>
|
|
300
|
+
<auro-dropdown aria-div="custom div" inset style="display: inline-block;">
|
|
301
|
+
Icon Only Dropdown
|
|
302
|
+
<div slot="trigger">
|
|
303
|
+
<auro-icon category="interface" name="arrow-down"></auro-icon>
|
|
304
|
+
</div>
|
|
305
|
+
</auro-dropdown>
|
|
306
|
+
</td>
|
|
307
|
+
<td>
|
|
308
|
+
<auro-dropdown aria-div="custom div" inset style="display: inline-block;">
|
|
309
|
+
Text Only Dropdown
|
|
310
|
+
<div slot="trigger">
|
|
311
|
+
Trigger Text
|
|
312
|
+
</div>
|
|
313
|
+
</auro-dropdown>
|
|
314
|
+
</td>
|
|
315
|
+
<td>
|
|
316
|
+
<auro-dropdown aria-div="custom div" inset style="display: inline-block;">
|
|
317
|
+
Icon and Text Dropdown
|
|
318
|
+
<div slot="trigger">
|
|
319
|
+
<div style="white-space:nowrap">
|
|
320
|
+
Trigger Text
|
|
321
|
+
<auro-icon category="interface" name="arrow-down"></auro-icon>
|
|
322
|
+
</div>
|
|
323
|
+
</div>
|
|
324
|
+
</auro-dropdown>
|
|
325
|
+
</td>
|
|
326
|
+
</tr>
|
|
327
|
+
</table>
|
|
328
|
+
```
|
|
329
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
330
|
+
</auro-accordion>
|
|
331
|
+
|
|
288
332
|
## Supported standard and accessible interactions
|
|
289
333
|
|
|
290
334
|
The dropdown can be opened with the following actions:
|
|
@@ -2390,13 +2390,13 @@ class AuroIcon extends BaseIcon {
|
|
|
2390
2390
|
|
|
2391
2391
|
var iconVersion = '6.1.1';
|
|
2392
2392
|
|
|
2393
|
-
var styleCss$1 = i$3`:host{position:relative}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2393
|
+
var styleCss$1 = i$3`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2394
2394
|
|
|
2395
2395
|
var colorCss$1 = i$3`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}.helpText{color:var(--ds-auro-dropdown-help-text-color)}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #cc1816);--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{box-shadow:inset 0 0 0 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:none}:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-dropdown-trigger-border-color)}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
2396
2396
|
|
|
2397
2397
|
var tokensCss = i$3`:host{--ds-auro-dropdown-help-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2398
2398
|
|
|
2399
|
-
var styleCss = i$3`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin
|
|
2399
|
+
var styleCss = i$3`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common]) .container,:host([inset]) .container{padding:var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
|
|
2400
2400
|
|
|
2401
2401
|
var colorCss = i$3`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
2402
2402
|
|
|
@@ -2499,12 +2499,13 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
2499
2499
|
* @attr { Boolean } disabled - If declared, the dropdown is not interactive.
|
|
2500
2500
|
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
2501
2501
|
* @attr { Boolean } error - If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
|
|
2502
|
+
* @attr {Boolean} fluid - Makes the trigger to be full width of its parent container
|
|
2502
2503
|
* @attr { Boolean } matchWidth - If declared, the popover and trigger will be set to the same width.
|
|
2503
2504
|
* @attr { Boolean } inset - If declared, will apply padding around trigger slot content.
|
|
2504
2505
|
* @attr { Boolean } rounded - If declared, will apply border-radius to trigger and default slots.
|
|
2505
2506
|
* @attr { Boolean } hoverToggle - if declared, the trigger will toggle the big on mouseover/mouseout.
|
|
2506
|
-
* @attr { Boolean } noToggle - If declared, the trigger will only show the
|
|
2507
|
-
* @attr { Boolean } focusShow - if declared, the
|
|
2507
|
+
* @attr { Boolean } noToggle - If declared, the trigger will only show the dropdown bib.
|
|
2508
|
+
* @attr { Boolean } focusShow - if declared, the bib will display when focus is applied to the trigger.
|
|
2508
2509
|
* @attr { Boolean } noHideOnThisFocusLoss - If declared, the dropdown will not hide when moving focus outside the element.
|
|
2509
2510
|
* @attr { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
2510
2511
|
* @prop { Boolean } isPopoverVisible - If true, the dropdown bib is displayed.
|
|
@@ -2607,6 +2608,10 @@ class AuroDropdown extends r {
|
|
|
2607
2608
|
type: Boolean,
|
|
2608
2609
|
reflect: true
|
|
2609
2610
|
},
|
|
2611
|
+
fluid: {
|
|
2612
|
+
type: Boolean,
|
|
2613
|
+
reflect: true,
|
|
2614
|
+
},
|
|
2610
2615
|
focusShow: {
|
|
2611
2616
|
type: Boolean,
|
|
2612
2617
|
reflect: true
|
|
@@ -5,12 +5,13 @@
|
|
|
5
5
|
* @attr { Boolean } disabled - If declared, the dropdown is not interactive.
|
|
6
6
|
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
7
7
|
* @attr { Boolean } error - If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
|
|
8
|
+
* @attr {Boolean} fluid - Makes the trigger to be full width of its parent container
|
|
8
9
|
* @attr { Boolean } matchWidth - If declared, the popover and trigger will be set to the same width.
|
|
9
10
|
* @attr { Boolean } inset - If declared, will apply padding around trigger slot content.
|
|
10
11
|
* @attr { Boolean } rounded - If declared, will apply border-radius to trigger and default slots.
|
|
11
12
|
* @attr { Boolean } hoverToggle - if declared, the trigger will toggle the big on mouseover/mouseout.
|
|
12
|
-
* @attr { Boolean } noToggle - If declared, the trigger will only show the
|
|
13
|
-
* @attr { Boolean } focusShow - if declared, the
|
|
13
|
+
* @attr { Boolean } noToggle - If declared, the trigger will only show the dropdown bib.
|
|
14
|
+
* @attr { Boolean } focusShow - if declared, the bib will display when focus is applied to the trigger.
|
|
14
15
|
* @attr { Boolean } noHideOnThisFocusLoss - If declared, the dropdown will not hide when moving focus outside the element.
|
|
15
16
|
* @attr { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
16
17
|
* @prop { Boolean } isPopoverVisible - If true, the dropdown bib is displayed.
|
|
@@ -43,6 +44,10 @@ export class AuroDropdown extends LitElement {
|
|
|
43
44
|
type: BooleanConstructor;
|
|
44
45
|
reflect: boolean;
|
|
45
46
|
};
|
|
47
|
+
fluid: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
reflect: boolean;
|
|
50
|
+
};
|
|
46
51
|
focusShow: {
|
|
47
52
|
type: BooleanConstructor;
|
|
48
53
|
reflect: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auro-dropdown.d.ts","sourceRoot":"","sources":["../src/auro-dropdown.js"],"names":[],"mappings":"AAyBA
|
|
1
|
+
{"version":3,"file":"auro-dropdown.d.ts","sourceRoot":"","sources":["../src/auro-dropdown.js"],"names":[],"mappings":"AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH;IAsEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgEI;;WAEG;;;;QAGH;;WAEG;;;;QAGH;;WAEG;;;;MAGN;IAED,+CAMC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,QAQhB;IArKC,0BAA6B;IAC7B,oBAAuB;IACvB,+BAAkC;IAKpC;;;OAGG;IACH,wBAoCC;IAnCC,kBAAqB;IACrB,iBAAoB;IACpB,kBAAqB;IACrB,eAAkB;IAClB,eAAkB;IAClB,kBAA+B;IAC/B,iBAAoB;IAEpB,kBAAqB;IAErB;;OAEG;IACH,qBAAiD;IAEjD;;OAEG;IACH,gBAAmC;IAEnC;;OAEG;IACH,sBAKC;IAMD,aAAyE;IAG3E;;;OAGG;IACH,QAFa,IAAI,CAIhB;IAED;;;OAGG;IACH,QAFa,IAAI,CAIhB;IAgHD,sCAMC;IAED,qBAMC;IAJC,gBAA0C;IAM5C;;;;OAIG;IACH,uBAEC;IAED;;;;;OAKG;IACH,4BAiBC;IAED;;;;;;;;;;;OAWG;IACH,0BAMC;IAGD,4CAsDC;CACF;2BA7V0B,KAAK"}
|
|
@@ -2390,13 +2390,13 @@ class AuroIcon extends BaseIcon {
|
|
|
2390
2390
|
|
|
2391
2391
|
var iconVersion = '6.1.1';
|
|
2392
2392
|
|
|
2393
|
-
var styleCss$1 = i$3`:host{position:relative}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2393
|
+
var styleCss$1 = i$3`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2394
2394
|
|
|
2395
2395
|
var colorCss$1 = i$3`.label{color:var(--ds-auro-dropdown-label-text-color)}.trigger{border-color:var(--ds-auro-dropdown-trigger-border-color);background-color:var(--ds-auro-dropdown-trigger-container-color);color:var(--ds-auro-dropdown-trigger-text-color)}.trigger:focus-within,.trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-active-default, #0074c8)}.trigger:focus-within:not(:active){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-color-border-ui-focus-default, #2c67b5)}.trigger:hover{--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-ui-secondary-hover-default, rgba(0, 0, 0, 0.03))}.helpText{color:var(--ds-auro-dropdown-help-text-color)}:host([disabled]){--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-ui-disabled-default, #adadad);--ds-auro-dropdown-label-text-color: var(--ds-color-text-ui-disabled-default, #adadad)}:host([common]),:host([bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-primary-default, #585e67)}:host([common]) .trigger:active,:host([common]) .trigger:focus-within,:host([bordered]) .trigger:active,:host([bordered]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5)}:host([error]){--ds-auro-dropdown-help-text-color: var(--ds-color-text-error-default, #cc1816);--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-error-default, #cc1816)}:host([error]) .trigger{box-shadow:inset 0 0 0 1px var(--ds-auro-dropdown-trigger-border-color)}:host([error]) .trigger:focus-within{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:none}:host([error]) .trigger:active{--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-focus-default, #2c67b5);box-shadow:inset 0 0 0 1px var(--ds-auro-dropdown-trigger-border-color)}:host([disabled][common]),:host([disabled][bordered]){--ds-auro-dropdown-trigger-border-color: var(--ds-color-border-ui-disabled-default, #adadad)}`;
|
|
2396
2396
|
|
|
2397
2397
|
var tokensCss = i$3`:host{--ds-auro-dropdown-help-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-label-text-color: var(--ds-color-text-secondary-default, #525252);--ds-auro-dropdown-popover-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-popover-border-color: transparent;--ds-auro-dropdown-popover-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdown-trigger-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdown-trigger-border-color: transparent;--ds-auro-dropdown-trigger-text-color: var(--ds-color-text-primary-default, #2a2a2a);--ds-auro-dropdownbib-boxshadow-color: var(--ds-elevation-200, 0px 0px 10px rgba(0, 0, 0, 0.15));--ds-auro-dropdownbib-container-color: var(--ds-color-container-primary-default, #ffffff);--ds-auro-dropdownbib-text-color: var(--ds-color-text-primary-default, #2a2a2a)}`;
|
|
2398
2398
|
|
|
2399
|
-
var styleCss = i$3`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin
|
|
2399
|
+
var styleCss = i$3`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common]) .container,:host([inset]) .container{padding:var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
|
|
2400
2400
|
|
|
2401
2401
|
var colorCss = i$3`.container{background-color:var(--ds-auro-dropdownbib-container-color);box-shadow:var(--ds-auro-dropdownbib-boxshadow-color);color:var(--ds-auro-dropdownbib-text-color)}`;
|
|
2402
2402
|
|
|
@@ -2499,12 +2499,13 @@ if (!customElements.get("auro-dropdownbib")) {
|
|
|
2499
2499
|
* @attr { Boolean } disabled - If declared, the dropdown is not interactive.
|
|
2500
2500
|
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
2501
2501
|
* @attr { Boolean } error - If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
|
|
2502
|
+
* @attr {Boolean} fluid - Makes the trigger to be full width of its parent container
|
|
2502
2503
|
* @attr { Boolean } matchWidth - If declared, the popover and trigger will be set to the same width.
|
|
2503
2504
|
* @attr { Boolean } inset - If declared, will apply padding around trigger slot content.
|
|
2504
2505
|
* @attr { Boolean } rounded - If declared, will apply border-radius to trigger and default slots.
|
|
2505
2506
|
* @attr { Boolean } hoverToggle - if declared, the trigger will toggle the big on mouseover/mouseout.
|
|
2506
|
-
* @attr { Boolean } noToggle - If declared, the trigger will only show the
|
|
2507
|
-
* @attr { Boolean } focusShow - if declared, the
|
|
2507
|
+
* @attr { Boolean } noToggle - If declared, the trigger will only show the dropdown bib.
|
|
2508
|
+
* @attr { Boolean } focusShow - if declared, the bib will display when focus is applied to the trigger.
|
|
2508
2509
|
* @attr { Boolean } noHideOnThisFocusLoss - If declared, the dropdown will not hide when moving focus outside the element.
|
|
2509
2510
|
* @attr { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
2510
2511
|
* @prop { Boolean } isPopoverVisible - If true, the dropdown bib is displayed.
|
|
@@ -2607,6 +2608,10 @@ class AuroDropdown extends r {
|
|
|
2607
2608
|
type: Boolean,
|
|
2608
2609
|
reflect: true
|
|
2609
2610
|
},
|
|
2611
|
+
fluid: {
|
|
2612
|
+
type: Boolean,
|
|
2613
|
+
reflect: true,
|
|
2614
|
+
},
|
|
2610
2615
|
focusShow: {
|
|
2611
2616
|
type: Boolean,
|
|
2612
2617
|
reflect: true
|
|
@@ -30,12 +30,13 @@ import './auro-dropdownBib.js';
|
|
|
30
30
|
* @attr { Boolean } disabled - If declared, the dropdown is not interactive.
|
|
31
31
|
* @attr { Boolean } disableEventShow - If declared, the dropdown will only show by calling the API .show() public method.
|
|
32
32
|
* @attr { Boolean } error - If declared in combination with `bordered` property or `helpText` slot content, will apply red color to both.
|
|
33
|
+
* @attr {Boolean} fluid - Makes the trigger to be full width of its parent container
|
|
33
34
|
* @attr { Boolean } matchWidth - If declared, the popover and trigger will be set to the same width.
|
|
34
35
|
* @attr { Boolean } inset - If declared, will apply padding around trigger slot content.
|
|
35
36
|
* @attr { Boolean } rounded - If declared, will apply border-radius to trigger and default slots.
|
|
36
37
|
* @attr { Boolean } hoverToggle - if declared, the trigger will toggle the big on mouseover/mouseout.
|
|
37
|
-
* @attr { Boolean } noToggle - If declared, the trigger will only show the
|
|
38
|
-
* @attr { Boolean } focusShow - if declared, the
|
|
38
|
+
* @attr { Boolean } noToggle - If declared, the trigger will only show the dropdown bib.
|
|
39
|
+
* @attr { Boolean } focusShow - if declared, the bib will display when focus is applied to the trigger.
|
|
39
40
|
* @attr { Boolean } noHideOnThisFocusLoss - If declared, the dropdown will not hide when moving focus outside the element.
|
|
40
41
|
* @attr { String } mobileFullscreenBreakpoint - Defines the screen size breakpoint (`lg`, `md`, `sm`, or `xs`) at which the dropdown switches to fullscreen mode on mobile. When expanded, the dropdown will automatically display in fullscreen mode if the screen size is equal to or smaller than the selected breakpoint.
|
|
41
42
|
* @prop { Boolean } isPopoverVisible - If true, the dropdown bib is displayed.
|
|
@@ -138,6 +139,10 @@ export class AuroDropdown extends LitElement {
|
|
|
138
139
|
type: Boolean,
|
|
139
140
|
reflect: true
|
|
140
141
|
},
|
|
142
|
+
fluid: {
|
|
143
|
+
type: Boolean,
|
|
144
|
+
reflect: true,
|
|
145
|
+
},
|
|
141
146
|
focusShow: {
|
|
142
147
|
type: Boolean,
|
|
143
148
|
reflect: true
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export default css`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin
|
|
2
|
+
export default css`:host{position:absolute;z-index:var(--depth-tooltip, 400);display:none}.container{display:inline-block;overflow:auto;box-sizing:border-box;margin:var(--ds-size-50, 0.25rem) 0}:host([isfullscreen]){position:fixed;top:0;left:0}:host([isfullscreen]) .container{width:100dvw;max-width:none;height:100dvh;max-height:none;border-radius:unset;margin-top:0;box-shadow:unset}:host([data-show]){display:flex}:host([common]:not([isfullscreen])) .container,:host([rounded]:not([isfullscreen])) .container{border-radius:var(--ds-border-radius, 0.375rem)}:host([common]) .container,:host([inset]) .container{padding:var(--ds-size-50, 0.25rem) var(--ds-size-100, 0.5rem)}:host([common][isfullscreen]) .container,:host([rounded][isfullscreen]) .container{border-radius:unset;box-shadow:unset}`;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
display: inline-block;
|
|
10
10
|
overflow: auto;
|
|
11
11
|
box-sizing: border-box;
|
|
12
|
-
margin
|
|
12
|
+
margin: var(--ds-size-50, 0.25rem) 0;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
:host([isfullscreen]) {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
:host([data-show]) {
|
|
31
|
-
display:
|
|
31
|
+
display: flex;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
:host([common]:not([isfullscreen])) .container,
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
display: inline-block;
|
|
22
22
|
overflow: auto;
|
|
23
23
|
box-sizing: border-box;
|
|
24
|
-
margin
|
|
24
|
+
margin: var(--ds-size-50, $ds-size-50) 0;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
:host([isfullscreen]) {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
:host([data-show]) {
|
|
44
|
-
display:
|
|
44
|
+
display: flex;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
:host([common]:not([isfullscreen])),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { css } from 'lit';
|
|
2
|
-
export default css`:host{position:relative}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
2
|
+
export default css`:host{position:relative;display:inline-block;max-width:100%}:host([fluid]){display:block}#bibSizer{position:absolute;z-index:-1;opacity:0;pointer-events:none}.label{font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem);white-space:normal}.trigger{position:relative;display:flex;align-items:center;border-width:1px;border-style:solid}@media(hover: hover){.trigger:hover{cursor:pointer}}.triggerContentWrapper{overflow:hidden;flex:1;text-overflow:ellipsis;white-space:nowrap}#showStateIcon{display:flex;height:100%;align-items:center;margin-left:var(--ds-size-100, 0.5rem)}#showStateIcon [auro-icon]{height:var(--ds-size-300, 1.5rem);line-height:var(--ds-size-300, 1.5rem)}#showStateIcon[data-expanded=true] [auro-icon]{transform:rotate(-180deg)}.helpText{margin-top:var(--ds-size-50, 0.25rem);font-size:var(--ds-text-body-size-xs, 0.75rem);line-height:var(--ds-text-body-size-default, 1rem)}:host([matchwidth]) #bibSizer{width:100%}:host([disabled]){pointer-events:none}:host([inset]) .trigger{padding:var(--ds-size-150, 0.75rem) var(--ds-size-200, 1rem)}:host([common]) .trigger,:host([inset][bordered]) .trigger{padding:var(--ds-size-200, 1rem) var(--ds-size-150, 0.75rem)}:host([common]) .trigger,:host([rounded]) .trigger{border-radius:var(--ds-border-radius, 0.375rem)}`;
|
|
@@ -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 [1m425ms[22m[39m
|
|
73
73
|
[36m
|
|
74
74
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
75
|
-
[32mcreated [1m./demo/[22m in [
|
|
75
|
+
[32mcreated [1m./demo/[22m in [1m311ms[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 [1m235ms[22m[39m
|
|
79
79
|
|
|
80
80
|
> @auro-formkit/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 [1m419ms[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 [1m232ms[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 [1m218ms[22m[39m
|
|
@@ -166,13 +166,13 @@ More info and automated migrator: https://sass-lang.com/d/import
|
|
|
166
166
|
|
|
167
167
|
[36m
|
|
168
168
|
[1m./src/index.js[22m → [1mdist[22m...[39m
|
|
169
|
-
[32mcreated [1mdist[22m in [1m1.
|
|
169
|
+
[32mcreated [1mdist[22m in [1m1.2s[22m[39m
|
|
170
170
|
[36m
|
|
171
171
|
[1m./demo/index.js[22m → [1m./demo/[22m...[39m
|
|
172
|
-
[32mcreated [1m./demo/[22m in [
|
|
172
|
+
[32mcreated [1m./demo/[22m in [1m1s[22m[39m
|
|
173
173
|
[36m
|
|
174
174
|
[1m./demo/api.js[22m → [1m./demo/[22m...[39m
|
|
175
|
-
[32mcreated [1m./demo/[22m in [
|
|
175
|
+
[32mcreated [1m./demo/[22m in [1m811ms[22m[39m
|
|
176
176
|
|
|
177
177
|
> @auro-formkit/auro-input@4.2.0 build:docs
|
|
178
178
|
> wca analyze 'scripts/wca/*.js' --outFiles docs/api.md; node ../../packages/build-tools/src/docProcessor.mjs --component input
|
|
@@ -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 [1m1s[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 [1m964ms[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 [1m940ms[22m[39m
|
|
@@ -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 [1m662ms[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 [1m542ms[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 [1m522ms[22m[39m
|
|
111
111
|
|
|
112
112
|
> @auro-formkit/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
|
|
@@ -150,6 +150,7 @@ Retrieving latest "/home/runner/work/auro-formkit/auro-formkit/components/menu/d
|
|
|
150
150
|
⁕ FILE:src=./../apiExamples/nocheckmark.html
|
|
151
151
|
⁕ FILE:src=./../apiExamples/disabledMenu.html
|
|
152
152
|
⁕ FILE:src=./../apiExamples/matchWord.html
|
|
153
|
+
⁕ FILE:src=./../apiExamples/loading.html
|
|
153
154
|
⁕ FILE:src=./../apiExamples/scroll.html
|
|
154
155
|
⁕ FILE:src=./../apiExamples/hr.html
|
|
155
156
|
⁕ FILE:src=./../apiExamples/nestedMenu.html
|
|
@@ -163,6 +164,8 @@ Retrieving latest "/home/runner/work/auro-formkit/auro-formkit/components/menu/d
|
|
|
163
164
|
⁕ CODE:src=./../apiExamples/disabledMenu.html
|
|
164
165
|
⁕ CODE:src=./../apiExamples/matchWord.js
|
|
165
166
|
⁕ CODE:src=./../apiExamples/matchWord.html
|
|
167
|
+
⁕ CODE:src=./../apiExamples/loading.js
|
|
168
|
+
⁕ CODE:src=./../apiExamples/loading.html
|
|
166
169
|
⁕ CODE:src=./../apiExamples/scroll.html
|
|
167
170
|
⁕ CODE:src=./../apiExamples/hr.html
|
|
168
171
|
⁕ CODE:src=./../apiExamples/nestedMenu.html
|
|
@@ -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 [1m1s[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 [1m713ms[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 [1m547ms[22m[39m
|
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
<!-- If additional elements are needed for the demo, add them here. -->
|
|
44
44
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
|
|
45
45
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-input@latest/dist/auro-input__bundled.js" type="module"></script>
|
|
46
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/dist/auro-button__bundled.js" type="module"></script>
|
|
47
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-loader@latest/dist/auro-loader__bundled.js" type="module"></script>
|
|
46
48
|
<script type="module" data-demo-script="true">
|
|
47
49
|
import { initExamples } from "./api.min.js"
|
|
48
50
|
initExamples();
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { auroMenuResetExample } from '../apiExamples/reset';
|
|
4
4
|
import { auroMenuMatchWordExample } from '../apiExamples/matchWord';
|
|
5
5
|
import { auroMenuCustomEventExample } from '../apiExamples/customEvent';
|
|
6
|
+
import { auroMenuLoadingExample } from '../apiExamples/loading';
|
|
6
7
|
import '../src/index.js';
|
|
7
8
|
|
|
8
9
|
export function initExamples(initCount) {
|
|
@@ -13,6 +14,7 @@ export function initExamples(initCount) {
|
|
|
13
14
|
auroMenuResetExample();
|
|
14
15
|
auroMenuMatchWordExample();
|
|
15
16
|
auroMenuCustomEventExample();
|
|
17
|
+
auroMenuLoadingExample();
|
|
16
18
|
} catch (err) {
|
|
17
19
|
if (initCount <= 20) {
|
|
18
20
|
// setTimeout handles issue where content is sometimes loaded after the functions get called
|