@aurodesignsystem/auro-formkit 4.0.1 → 5.0.0-rc-1002.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +193 -3
- package/components/bibtemplate/dist/auro-bibtemplate.d.ts +12 -2
- package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
- package/components/bibtemplate/dist/headerVersion.d.ts +1 -1
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1184 -105
- package/components/bibtemplate/dist/registered.js +1184 -105
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.html +16 -10
- package/components/checkbox/demo/api.md +54 -19
- package/components/checkbox/demo/api.min.js +81 -45
- package/components/checkbox/demo/index.html +16 -10
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +81 -45
- package/components/checkbox/demo/readme.html +16 -9
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +2 -2
- package/components/checkbox/dist/auro-checkbox.d.ts +10 -3
- package/components/checkbox/dist/index.js +80 -44
- package/components/checkbox/dist/registered.js +80 -44
- package/components/combobox/README.md +2 -0
- package/components/combobox/demo/api.html +16 -10
- package/components/combobox/demo/api.md +124 -7
- package/components/combobox/demo/api.min.js +4542 -1330
- package/components/combobox/demo/index.html +16 -10
- package/components/combobox/demo/index.md +108 -4
- package/components/combobox/demo/index.min.js +4542 -1330
- package/components/combobox/demo/readme.html +16 -9
- package/components/combobox/demo/readme.md +2 -0
- package/components/combobox/dist/auro-combobox.d.ts +81 -18
- package/components/combobox/dist/index.js +4588 -1520
- package/components/combobox/dist/registered.js +4588 -1520
- package/components/counter/demo/api.html +17 -10
- package/components/counter/demo/api.md +167 -21
- package/components/counter/demo/api.min.js +3621 -866
- package/components/counter/demo/index.html +17 -10
- package/components/counter/demo/index.md +191 -34
- package/components/counter/demo/index.min.js +3621 -866
- package/components/counter/demo/readme.html +16 -9
- package/components/counter/dist/auro-counter-button.d.ts +2 -0
- package/components/counter/dist/auro-counter-group.d.ts +162 -11
- package/components/counter/dist/auro-counter.d.ts +16 -0
- package/components/counter/dist/helptextVersion.d.ts +2 -0
- package/components/counter/dist/iconVersion.d.ts +1 -1
- package/components/counter/dist/index.js +3619 -864
- package/components/counter/dist/registered.js +3619 -864
- package/components/datepicker/README.md +2 -1
- package/components/datepicker/demo/api.html +16 -10
- package/components/datepicker/demo/api.md +80 -30
- package/components/datepicker/demo/api.min.js +14795 -10365
- package/components/datepicker/demo/index.html +16 -10
- package/components/datepicker/demo/index.md +96 -4
- package/components/datepicker/demo/index.min.js +14795 -10365
- package/components/datepicker/demo/readme.html +16 -9
- package/components/datepicker/demo/readme.md +2 -1
- package/components/datepicker/dist/auro-datepicker.d.ts +163 -4
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +14916 -10486
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +14916 -10486
- package/components/dropdown/demo/api.html +16 -10
- package/components/dropdown/demo/api.md +94 -262
- package/components/dropdown/demo/api.min.js +738 -259
- package/components/dropdown/demo/index.html +16 -10
- package/components/dropdown/demo/index.md +93 -266
- package/components/dropdown/demo/index.min.js +738 -259
- package/components/dropdown/demo/readme.html +16 -9
- package/components/dropdown/dist/auro-dropdown.d.ts +92 -73
- package/components/dropdown/dist/auro-dropdownBib.d.ts +14 -0
- package/components/dropdown/dist/index.js +710 -231
- package/components/dropdown/dist/registered.js +710 -231
- package/components/dropdown/dist/styles/classic/style-css.d.ts +2 -0
- package/components/dropdown/dist/styles/emphasized/style-css.d.ts +2 -0
- package/components/dropdown/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/dropdown/dist/styles/snowflake/style-css.d.ts +2 -0
- package/components/form/demo/api.html +16 -9
- package/components/form/demo/api.md +1 -1
- package/components/form/demo/api.min.js +3 -3
- package/components/form/demo/autocomplete.html +19 -3
- package/components/form/demo/index.html +16 -9
- package/components/form/demo/index.min.js +3 -3
- package/components/form/demo/readme.html +16 -9
- package/components/form/demo/working.html +19 -13
- package/components/form/dist/auro-form.d.ts +1 -1
- package/components/form/dist/index.js +2 -2
- package/components/form/dist/registered.js +2 -2
- package/components/helptext/dist/auro-helptext.d.ts +0 -2
- package/components/helptext/dist/index.js +2 -4
- package/components/helptext/dist/registered.js +2 -4
- package/components/input/README.md +6 -2
- package/components/input/demo/api.html +16 -10
- package/components/input/demo/api.md +258 -144
- package/components/input/demo/api.min.js +1550 -497
- package/components/input/demo/index.html +17 -11
- package/components/input/demo/index.md +95 -27
- package/components/input/demo/index.min.js +1549 -496
- package/components/input/demo/readme.html +16 -9
- package/components/input/demo/readme.md +6 -2
- package/components/input/dist/auro-input.d.ts +139 -3
- package/components/input/dist/base-input.d.ts +80 -26
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +1504 -451
- package/components/input/dist/registered.js +1504 -451
- package/components/input/dist/styles/classic/color-css.d.ts +2 -0
- package/components/input/dist/styles/classic/style-css.d.ts +2 -0
- package/components/input/dist/styles/default/borders-css.d.ts +2 -0
- package/components/input/dist/styles/default/color-css.d.ts +2 -0
- package/components/input/dist/styles/default/mixins-css.d.ts +2 -0
- package/components/input/dist/styles/default/notificationIcons-css.d.ts +2 -0
- package/components/input/dist/styles/default/style-css.d.ts +2 -0
- package/components/input/dist/styles/emphasized/color-css.d.ts +2 -0
- package/components/input/dist/styles/emphasized/style-css.d.ts +2 -0
- package/components/input/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/input/dist/styles/snowflake/style-css.d.ts +2 -0
- package/components/layoutElement/dist/auroElement.d.ts +34 -0
- package/components/layoutElement/dist/index.d.ts +2 -0
- package/components/layoutElement/dist/index.js +98 -0
- package/components/layoutElement/dist/registered.js +98 -0
- package/components/menu/demo/api.html +17 -10
- package/components/menu/demo/api.md +65 -8
- package/components/menu/demo/api.min.js +304 -65
- package/components/menu/demo/index.html +16 -10
- package/components/menu/demo/index.min.js +304 -65
- package/components/menu/demo/readme.html +16 -9
- package/components/menu/dist/auro-menu.d.ts +53 -7
- package/components/menu/dist/auro-menuoption.d.ts +21 -3
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +289 -50
- package/components/menu/dist/registered.js +289 -50
- package/components/menu/dist/styles/default/color-menu-css.d.ts +2 -0
- package/components/menu/dist/styles/default/color-menuoption-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menu-css.d.ts +2 -0
- package/components/menu/dist/styles/default/style-menuoption-css.d.ts +2 -0
- package/components/menu/dist/styles/default/tokens-css.d.ts +2 -0
- package/components/radio/demo/api.html +16 -10
- package/components/radio/demo/api.md +41 -9
- package/components/radio/demo/api.min.js +93 -95
- package/components/radio/demo/index.html +16 -10
- package/components/radio/demo/index.min.js +93 -95
- package/components/radio/demo/readme.html +16 -9
- package/components/radio/dist/auro-radio-group.d.ts +1 -1
- package/components/radio/dist/auro-radio.d.ts +11 -12
- package/components/radio/dist/index.js +92 -94
- package/components/radio/dist/registered.js +92 -94
- package/components/select/README.md +1 -0
- package/components/select/demo/api.html +16 -10
- package/components/select/demo/api.js +0 -2
- package/components/select/demo/api.md +156 -114
- package/components/select/demo/api.min.js +3126 -657
- package/components/select/demo/index.html +17 -10
- package/components/select/demo/index.md +398 -62
- package/components/select/demo/index.min.js +3129 -648
- package/components/select/demo/readme.html +16 -9
- package/components/select/demo/readme.md +1 -0
- package/components/select/dist/auro-select.d.ts +173 -18
- package/components/select/dist/helptextVersion.d.ts +2 -0
- package/components/select/dist/index.js +3128 -791
- package/components/select/dist/registered.js +3128 -791
- package/components/select/dist/styles/shapeSize-css.d.ts +2 -0
- package/components/select/dist/styles/tokens-css.d.ts +2 -0
- package/package.json +33 -32
- package/packages/build-tools/src/postinstall.mjs +0 -12
- /package/components/{dropdown/dist/styles/bibColors-css.d.ts → combobox/dist/styles/emphasized/style-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/bibStyles-css.d.ts → combobox/dist/styles/snowflake/style-css.d.ts} +0 -0
- /package/components/{input/dist/styles/borders-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{input/dist/styles/input-css.d.ts → datepicker/dist/styles/classic/color-css.d.ts} +0 -0
- /package/components/{input/dist/styles/label-css.d.ts → datepicker/dist/styles/classic/style-css.d.ts} +0 -0
- /package/components/{input/dist/styles/notificationIcons-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menu-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menuoption-css.d.ts → datepicker/dist/styles/snowflake/style-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/bibColors-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/tokens-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
|
@@ -16,18 +16,24 @@
|
|
|
16
16
|
<head>
|
|
17
17
|
<meta charset="UTF-8" />
|
|
18
18
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
19
|
-
<title>Auro Web Component
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/auro-classic/CSSCustomProperties.css"
|
|
26
|
-
|
|
19
|
+
<title>Auro Web Component Demo | auro-counter</title>
|
|
20
|
+
|
|
21
|
+
<!-- Prism.js Stylesheet -->
|
|
22
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/themes/prism.css"/>
|
|
23
|
+
|
|
24
|
+
<!-- Legacy reference is still needed to support auro-counter's use of legacy token values at this time -->
|
|
25
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
|
|
26
|
+
|
|
27
|
+
<!-- Design Token Alaska Theme -->
|
|
28
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
|
|
29
|
+
|
|
30
|
+
<!-- Webcore Stylesheet Alaska Theme -->
|
|
31
|
+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
|
|
32
|
+
|
|
33
|
+
<!-- Demo Specific Styles -->
|
|
27
34
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
|
|
28
35
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
|
|
29
|
-
|
|
30
|
-
</head>
|
|
36
|
+
</head>
|
|
31
37
|
<body class="auro-markdown">
|
|
32
38
|
<main></main>
|
|
33
39
|
|
|
@@ -50,5 +56,6 @@
|
|
|
50
56
|
<!-- If additional elements are needed for the demo, add them here. -->
|
|
51
57
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-accordion@latest/dist/auro-accordion__bundled.js" type="module"></script>
|
|
52
58
|
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-button@latest/dist/auro-button__bundled.js" type="module"></script>
|
|
59
|
+
<script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-icon@latest/dist/auro-icon__bundled.js" type="module"></script>
|
|
53
60
|
</body>
|
|
54
61
|
</html>
|
|
@@ -97,6 +97,88 @@ Adding a description provides additional context to users. The description appea
|
|
|
97
97
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
98
98
|
</auro-accordion>
|
|
99
99
|
|
|
100
|
+
### Counter with Help Text
|
|
101
|
+
|
|
102
|
+
Help text is supported with counters, and can be added by targetting the `helptext` slot.
|
|
103
|
+
|
|
104
|
+
<div class="exampleWrapper">
|
|
105
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/counter-helptext.html) -->
|
|
106
|
+
<!-- The below content is automatically added from ./../apiExamples/counter-helptext.html -->
|
|
107
|
+
<auro-counter>
|
|
108
|
+
Adults
|
|
109
|
+
<span slot="helpText">This is help text for the counter</span>
|
|
110
|
+
</auro-counter>
|
|
111
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
|
+
</div>
|
|
113
|
+
<div class="exampleWrapper--ondark" aria-hidden>
|
|
114
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/ondark-counter-helptext.html) -->
|
|
115
|
+
<!-- The below content is automatically added from ./../apiExamples/ondark-counter-helptext.html -->
|
|
116
|
+
<auro-counter ondark>
|
|
117
|
+
Adults
|
|
118
|
+
<span slot="helpText">This is help text for the counter</span>
|
|
119
|
+
</auro-counter>
|
|
120
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
121
|
+
</div>
|
|
122
|
+
<auro-accordion alignRight>
|
|
123
|
+
<span slot="trigger">See code</span>
|
|
124
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/counter-helptext.html) -->
|
|
125
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/counter-helptext.html -->
|
|
126
|
+
|
|
127
|
+
```html
|
|
128
|
+
<auro-counter>
|
|
129
|
+
Adults
|
|
130
|
+
<span slot="helpText">This is help text for the counter</span>
|
|
131
|
+
</auro-counter>
|
|
132
|
+
```
|
|
133
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
134
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/ondark-counter-helptext.html) -->
|
|
135
|
+
<!-- The below content is automatically added from ./../apiExamples/ondark-counter-helptext.html -->
|
|
136
|
+
<auro-counter ondark>
|
|
137
|
+
Adults
|
|
138
|
+
<span slot="helpText">This is help text for the counter</span>
|
|
139
|
+
</auro-counter>
|
|
140
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
141
|
+
</auro-accordion>
|
|
142
|
+
|
|
143
|
+
### Counter with Custom Error
|
|
144
|
+
|
|
145
|
+
A custom error can be set on the counter by adding the `error` attribute with the desired message.
|
|
146
|
+
|
|
147
|
+
<div class="exampleWrapper">
|
|
148
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/counter-error.html) -->
|
|
149
|
+
<!-- The below content is automatically added from ./../apiExamples/counter-error.html -->
|
|
150
|
+
<auro-counter error="There is an error with the counter">
|
|
151
|
+
Adults
|
|
152
|
+
</auro-counter>
|
|
153
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
154
|
+
</div>
|
|
155
|
+
<div class="exampleWrapper--ondark" aria-hidden>
|
|
156
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/ondark-counter-error.html) -->
|
|
157
|
+
<!-- The below content is automatically added from ./../apiExamples/ondark-counter-error.html -->
|
|
158
|
+
<auro-counter ondark error="There is an error with the counter">
|
|
159
|
+
Adults
|
|
160
|
+
</auro-counter>
|
|
161
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
162
|
+
</div>
|
|
163
|
+
<auro-accordion alignRight>
|
|
164
|
+
<span slot="trigger">See code</span>
|
|
165
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/counter-error.html) -->
|
|
166
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/counter-error.html -->
|
|
167
|
+
|
|
168
|
+
```html
|
|
169
|
+
<auro-counter error="There is an error with the counter">
|
|
170
|
+
Adults
|
|
171
|
+
</auro-counter>
|
|
172
|
+
```
|
|
173
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
174
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/ondark-counter-error.html) -->
|
|
175
|
+
<!-- The below content is automatically added from ./../apiExamples/ondark-counter-error.html -->
|
|
176
|
+
<auro-counter ondark error="There is an error with the counter">
|
|
177
|
+
Adults
|
|
178
|
+
</auro-counter>
|
|
179
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
180
|
+
</auro-accordion>
|
|
181
|
+
|
|
100
182
|
### Basic Counter Group
|
|
101
183
|
|
|
102
184
|
Counter groups allow you to manage multiple related counters together. This is useful when you need to collect multiple quantities that are related, such as different passenger types:
|
|
@@ -170,12 +252,15 @@ Counter groups allow you to manage multiple related counters together. This is u
|
|
|
170
252
|
|
|
171
253
|
### Dropdown Counter Group
|
|
172
254
|
|
|
173
|
-
The dropdown mode provides a more compact interface, ideal for forms where space is limited. It collapses the counters into a dropdown that expands when clicked
|
|
255
|
+
The dropdown mode provides a more compact interface, ideal for forms where space is limited. It collapses the counters into a dropdown that expands when clicked.
|
|
256
|
+
|
|
257
|
+
When using a dropdown, an additional layout, `snowflake`, is available for use:
|
|
174
258
|
|
|
175
259
|
<div class="exampleWrapper">
|
|
176
260
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dropdown-basic.html) -->
|
|
177
261
|
<!-- The below content is automatically added from ./../apiExamples/dropdown-basic.html -->
|
|
178
262
|
<auro-counter-group isDropdown>
|
|
263
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
179
264
|
<div slot="bib.fullscreen.headline">Passengers</div>
|
|
180
265
|
<div slot="label">Passengers</div>
|
|
181
266
|
<auro-counter>
|
|
@@ -206,39 +291,111 @@ The dropdown mode provides a more compact interface, ideal for forms where space
|
|
|
206
291
|
</auro-counter-group>
|
|
207
292
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
208
293
|
</div>
|
|
294
|
+
<div class="exampleWrapper">
|
|
295
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dropdown-snowflake.html) -->
|
|
296
|
+
<!-- The below content is automatically added from ./../apiExamples/dropdown-snowflake.html -->
|
|
297
|
+
<!-- Example of counter-group properties -->
|
|
298
|
+
<auro-counter-group max="10" min="2" isDropdown layout="snowflake">
|
|
299
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
300
|
+
<div slot="bib.fullscreen.headline">Group fullscreen label</div>
|
|
301
|
+
<auro-icon slot="typeIcon" category="interface" name="account-stroke" customColor></auro-icon>
|
|
302
|
+
<div slot="label">Snowflake Dropdown Group</div>
|
|
303
|
+
<div slot="helpText">Total must be between 2-10</div>
|
|
304
|
+
<auro-counter>
|
|
305
|
+
Counter 1
|
|
306
|
+
</auro-counter>
|
|
307
|
+
<auro-counter>
|
|
308
|
+
Counter 2
|
|
309
|
+
</auro-counter>
|
|
310
|
+
</auro-counter-group>
|
|
311
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
312
|
+
</div>
|
|
313
|
+
<div class="exampleWrapper--ondark">
|
|
314
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark-dropdown-snowflake.html) -->
|
|
315
|
+
<!-- The below content is automatically added from ./../apiExamples/onDark-dropdown-snowflake.html -->
|
|
316
|
+
<!-- Example of counter-group properties -->
|
|
317
|
+
<auro-counter-group max="10" min="2" isDropdown layout="snowflake" ondark>
|
|
318
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
319
|
+
<div slot="bib.fullscreen.headline">Group fullscreen label</div>
|
|
320
|
+
<auro-icon slot="typeIcon" category="interface" name="account-stroke" customColor></auro-icon>
|
|
321
|
+
<div slot="label">Snowflake Dropdown Group</div>
|
|
322
|
+
<div slot="helpText">Total must be between 2-10</div>
|
|
323
|
+
<auro-counter>
|
|
324
|
+
Counter 1
|
|
325
|
+
</auro-counter>
|
|
326
|
+
<auro-counter>
|
|
327
|
+
Counter 2
|
|
328
|
+
</auro-counter>
|
|
329
|
+
</auro-counter-group>
|
|
330
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
331
|
+
</div>
|
|
209
332
|
<auro-accordion alignRight>
|
|
210
333
|
<span slot="trigger">See code</span>
|
|
211
|
-
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/dropdown-basic.html) -->
|
|
212
|
-
<!-- The below code snippet is automatically added from ./../apiExamples/dropdown-basic.html -->
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
<
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
</auro-counter-group>
|
|
227
|
-
```
|
|
228
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
229
|
-
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDropdown.html) -->
|
|
230
|
-
<!-- The below content is automatically added from ./../apiExamples/onDarkDropdown.html -->
|
|
231
|
-
<auro-counter-group onDark isDropdown>
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
</auro-counter-group>
|
|
243
|
-
<!-- AURO-GENERATED-CONTENT:END -->
|
|
334
|
+
<!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/dropdown-basic.html) -->
|
|
335
|
+
<!-- The below code snippet is automatically added from ./../apiExamples/dropdown-basic.html -->
|
|
336
|
+
```html
|
|
337
|
+
<auro-counter-group isDropdown>
|
|
338
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
339
|
+
<div slot="bib.fullscreen.headline">Passengers</div>
|
|
340
|
+
<div slot="label">Passengers</div>
|
|
341
|
+
<auro-counter>
|
|
342
|
+
Adults
|
|
343
|
+
<span slot="description">18 years or older</span>
|
|
344
|
+
</auro-counter>
|
|
345
|
+
<auro-counter>
|
|
346
|
+
Children
|
|
347
|
+
<span slot="description">2-17 years</span>
|
|
348
|
+
</auro-counter>
|
|
349
|
+
</auro-counter-group>
|
|
350
|
+
```
|
|
351
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
352
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDarkDropdown.html) -->
|
|
353
|
+
<!-- The below content is automatically added from ./../apiExamples/onDarkDropdown.html -->
|
|
354
|
+
<auro-counter-group onDark isDropdown>
|
|
355
|
+
<div slot="bib.fullscreen.headline">Passengers</div>
|
|
356
|
+
<div slot="label">Passengers</div>
|
|
357
|
+
<auro-counter>
|
|
358
|
+
Adults
|
|
359
|
+
<span slot="description">18 years or older</span>
|
|
360
|
+
</auro-counter>
|
|
361
|
+
<auro-counter>
|
|
362
|
+
Children
|
|
363
|
+
<span slot="description">2-17 years</span>
|
|
364
|
+
</auro-counter>
|
|
365
|
+
</auro-counter-group>
|
|
366
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
367
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/dropdown-snowflake.html) -->
|
|
368
|
+
<!-- The below content is automatically added from ./../apiExamples/dropdown-snowflake.html -->
|
|
369
|
+
<!-- Example of counter-group properties -->
|
|
370
|
+
<auro-counter-group max="10" min="2" isDropdown layout="snowflake">
|
|
371
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
372
|
+
<div slot="bib.fullscreen.headline">Group fullscreen label</div>
|
|
373
|
+
<auro-icon slot="typeIcon" category="interface" name="account-stroke" customColor></auro-icon>
|
|
374
|
+
<div slot="label">Snowflake Dropdown Group</div>
|
|
375
|
+
<div slot="helpText">Total must be between 2-10</div>
|
|
376
|
+
<auro-counter>
|
|
377
|
+
Counter 1
|
|
378
|
+
</auro-counter>
|
|
379
|
+
<auro-counter>
|
|
380
|
+
Counter 2
|
|
381
|
+
</auro-counter>
|
|
382
|
+
</auro-counter-group>
|
|
383
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
384
|
+
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/onDark-dropdown-snowflake.html) -->
|
|
385
|
+
<!-- The below content is automatically added from ./../apiExamples/onDark-dropdown-snowflake.html -->
|
|
386
|
+
<!-- Example of counter-group properties -->
|
|
387
|
+
<auro-counter-group max="10" min="2" isDropdown layout="snowflake" ondark>
|
|
388
|
+
<span slot="ariaLabel.bib.close">Close Popup</span>
|
|
389
|
+
<div slot="bib.fullscreen.headline">Group fullscreen label</div>
|
|
390
|
+
<auro-icon slot="typeIcon" category="interface" name="account-stroke" customColor></auro-icon>
|
|
391
|
+
<div slot="label">Snowflake Dropdown Group</div>
|
|
392
|
+
<div slot="helpText">Total must be between 2-10</div>
|
|
393
|
+
<auro-counter>
|
|
394
|
+
Counter 1
|
|
395
|
+
</auro-counter>
|
|
396
|
+
<auro-counter>
|
|
397
|
+
Counter 2
|
|
398
|
+
</auro-counter>
|
|
399
|
+
</auro-counter-group>
|
|
400
|
+
<!-- AURO-GENERATED-CONTENT:END -->
|
|
244
401
|
</auro-accordion>
|