@aurodesignsystem-dev/auro-formkit 0.0.0-pr624.4 → 0.0.0-pr624.40
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/components/bibtemplate/dist/auro-bibtemplate.d.ts +13 -2
- package/components/bibtemplate/dist/buttonVersion.d.ts +2 -0
- package/components/bibtemplate/dist/iconVersion.d.ts +1 -1
- package/components/bibtemplate/dist/index.js +1292 -79
- package/components/bibtemplate/dist/registered.js +1292 -79
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/api.md +47 -14
- package/components/checkbox/demo/api.min.js +44 -31
- package/components/checkbox/demo/index.md +2 -2
- package/components/checkbox/demo/index.min.js +44 -31
- package/components/checkbox/demo/readme.md +1 -1
- package/components/checkbox/dist/auro-checkbox-group.d.ts +1 -1
- package/components/checkbox/dist/auro-checkbox.d.ts +3 -3
- package/components/checkbox/dist/index.js +44 -31
- package/components/checkbox/dist/registered.js +44 -31
- package/components/combobox/demo/api.md +100 -2
- package/components/combobox/demo/api.min.js +3202 -759
- package/components/combobox/demo/index.md +6 -30
- package/components/combobox/demo/index.min.js +3202 -759
- package/components/combobox/dist/auro-combobox.d.ts +37 -16
- package/components/combobox/dist/index.js +3091 -789
- package/components/combobox/dist/registered.js +3091 -789
- package/components/counter/demo/api.html +1 -0
- package/components/counter/demo/api.md +21 -19
- package/components/counter/demo/api.min.js +3324 -614
- package/components/counter/demo/index.html +1 -0
- package/components/counter/demo/index.md +103 -34
- package/components/counter/demo/index.min.js +3324 -614
- package/components/counter/dist/auro-counter-button.d.ts +2 -0
- package/components/counter/dist/auro-counter-group.d.ts +89 -6
- package/components/counter/dist/auro-counter.d.ts +6 -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 +3324 -614
- package/components/counter/dist/registered.js +3324 -614
- package/components/datepicker/demo/api.md +36 -19
- package/components/datepicker/demo/api.min.js +11976 -8000
- package/components/datepicker/demo/index.md +80 -0
- package/components/datepicker/demo/index.min.js +11976 -8000
- package/components/datepicker/dist/auro-datepicker.d.ts +71 -3
- package/components/datepicker/dist/buttonVersion.d.ts +1 -1
- package/components/datepicker/dist/iconVersion.d.ts +2 -0
- package/components/datepicker/dist/index.js +12238 -8262
- package/components/datepicker/dist/popoverVersion.d.ts +1 -1
- package/components/datepicker/dist/registered.js +12238 -8262
- package/components/dropdown/demo/api.md +8 -9
- package/components/dropdown/demo/api.min.js +551 -147
- package/components/dropdown/demo/index.md +57 -9
- package/components/dropdown/demo/index.min.js +551 -147
- package/components/dropdown/dist/auro-dropdown.d.ts +28 -9
- package/components/dropdown/dist/auro-dropdownBib.d.ts +22 -0
- package/components/dropdown/dist/index.js +551 -147
- package/components/dropdown/dist/registered.js +551 -147
- package/components/form/demo/api.min.js +1 -1
- package/components/form/demo/index.min.js +1 -1
- package/components/form/dist/index.js +1 -1
- package/components/form/dist/registered.js +1 -1
- package/components/helptext/dist/index.js +2 -2
- package/components/helptext/dist/registered.js +2 -2
- package/components/input/README.md +5 -2
- package/components/input/demo/api.md +271 -176
- package/components/input/demo/api.min.js +956 -270
- package/components/input/demo/index.md +48 -32
- package/components/input/demo/index.min.js +955 -269
- package/components/input/demo/readme.md +5 -2
- package/components/input/dist/auro-input.d.ts +23 -15
- package/components/input/dist/base-input.d.ts +32 -8
- package/components/input/dist/buttonVersion.d.ts +1 -1
- package/components/input/dist/iconVersion.d.ts +1 -1
- package/components/input/dist/index.js +955 -269
- package/components/input/dist/registered.js +955 -269
- package/components/layoutElement/dist/index.js +13 -10
- package/components/menu/demo/api.html +38 -0
- package/components/menu/demo/api.md +68 -7
- package/components/menu/demo/api.min.js +278 -42
- package/components/menu/demo/index.min.js +278 -42
- package/components/menu/dist/auro-menu.d.ts +28 -5
- package/components/menu/dist/auro-menuoption.d.ts +15 -3
- package/components/menu/dist/iconVersion.d.ts +1 -1
- package/components/menu/dist/index.js +278 -42
- package/components/menu/dist/registered.js +278 -42
- 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.md +7 -8
- package/components/radio/demo/api.min.js +68 -80
- package/components/radio/demo/index.min.js +68 -80
- package/components/radio/dist/auro-radio-group.d.ts +1 -1
- package/components/radio/dist/auro-radio.d.ts +9 -12
- package/components/radio/dist/index.js +68 -80
- package/components/radio/dist/registered.js +68 -80
- package/components/select/demo/api.md +123 -13
- package/components/select/demo/api.min.js +3045 -456
- package/components/select/demo/index.html +1 -0
- package/components/select/demo/index.md +323 -763
- package/components/select/demo/index.min.js +3045 -456
- package/components/select/dist/auro-select.d.ts +112 -11
- package/components/select/dist/helptextVersion.d.ts +2 -0
- package/components/select/dist/index.js +2925 -477
- package/components/select/dist/registered.js +2925 -477
- 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 +6 -4
- /package/components/{dropdown/dist/styles/default/bibColors-css.d.ts → counter/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{dropdown → datepicker}/dist/styles/default/color-css.d.ts +0 -0
- /package/components/{dropdown/dist/styles/default/bibStyles-css.d.ts → datepicker/dist/styles/shapeSize-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles/default/style-css.d.ts → datepicker/dist/styles/snowflake/color-css.d.ts} +0 -0
- /package/components/{dropdown/dist/styles → datepicker/dist/styles/snowflake}/style-css.d.ts +0 -0
- /package/components/{menu/dist/styles/color-menu-css.d.ts → dropdown/dist/styles/classic/bibColors-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/color-menuoption-css.d.ts → dropdown/dist/styles/classic/bibStyles-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menu-css.d.ts → dropdown/dist/styles/classic/color-css.d.ts} +0 -0
- /package/components/{menu/dist/styles/style-menuoption-css.d.ts → dropdown/dist/styles/classic/style-css.d.ts} +0 -0
- /package/components/menu/dist/styles/{tokens-css.d.ts → default/color-menu-css.d.ts} +0 -0
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* @slot label - Dropdown label content. Only used when `isDropdown` is true.
|
|
13
13
|
* @slot valueText - Dropdown value text display. Only used when `isDropdown` is true.
|
|
14
14
|
* @slot helpText - Dropdown help text content. Only used when `isDropdown` is true.
|
|
15
|
+
* @property {'classic'|'snowflake'} layout - Determines the layout style of the counter group when it is a dropdown. Options are 'classic' or 'snowflake'. Default is 'classic'.
|
|
15
16
|
*/
|
|
16
17
|
export class AuroCounterGroup extends LitElement {
|
|
17
18
|
static get styles(): import("lit").CSSResult[];
|
|
@@ -42,6 +43,14 @@ export class AuroCounterGroup extends LitElement {
|
|
|
42
43
|
isDropdown: {
|
|
43
44
|
type: BooleanConstructor;
|
|
44
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* If declared, the dropdown will expand to the width of its parent container.
|
|
48
|
+
* Otherwise, the dropdown width will be determined by its content.
|
|
49
|
+
*/
|
|
50
|
+
matchWidth: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
reflect: boolean;
|
|
53
|
+
};
|
|
45
54
|
/**
|
|
46
55
|
* The maximum value allowed for the whole group of counters.
|
|
47
56
|
*/
|
|
@@ -120,6 +129,15 @@ export class AuroCounterGroup extends LitElement {
|
|
|
120
129
|
value: {
|
|
121
130
|
type: ObjectConstructor;
|
|
122
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* The current text in the valueText slot.
|
|
134
|
+
* @private
|
|
135
|
+
*/
|
|
136
|
+
valueText: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
reflect: boolean;
|
|
139
|
+
attribute: boolean;
|
|
140
|
+
};
|
|
123
141
|
};
|
|
124
142
|
/**
|
|
125
143
|
* Registers the custom element with the browser.
|
|
@@ -134,11 +152,13 @@ export class AuroCounterGroup extends LitElement {
|
|
|
134
152
|
total: number;
|
|
135
153
|
validity: any;
|
|
136
154
|
value: {};
|
|
155
|
+
matchWidth: boolean;
|
|
137
156
|
isDropdown: boolean;
|
|
138
157
|
fullscreenBreakpoint: string;
|
|
139
158
|
largeFullscreenHeadline: boolean;
|
|
140
159
|
autoPlacement: boolean;
|
|
141
160
|
noFlip: boolean;
|
|
161
|
+
placement: string;
|
|
142
162
|
/**
|
|
143
163
|
* @private
|
|
144
164
|
*/
|
|
@@ -168,12 +188,11 @@ export class AuroCounterGroup extends LitElement {
|
|
|
168
188
|
*/
|
|
169
189
|
private bibtemplateTag;
|
|
170
190
|
/**
|
|
171
|
-
*
|
|
191
|
+
* Dynamically generated helpText tag.
|
|
172
192
|
* @private
|
|
173
|
-
* @
|
|
174
|
-
* @param {NodeList} counters - The list of counter elements.
|
|
193
|
+
* @type {string}
|
|
175
194
|
*/
|
|
176
|
-
private
|
|
195
|
+
private helpTextTag;
|
|
177
196
|
/**
|
|
178
197
|
* Dynamically disables increment/decrement buttons on a counter based on group value.
|
|
179
198
|
* This method checks the total aggregated value against the group's min and max properties.
|
|
@@ -197,7 +216,6 @@ export class AuroCounterGroup extends LitElement {
|
|
|
197
216
|
* @private
|
|
198
217
|
*/
|
|
199
218
|
private configureDropdownCounters;
|
|
200
|
-
keydownHandler: (keydownEvent: any) => void;
|
|
201
219
|
/**
|
|
202
220
|
* This sets up a close event listener and moves any slotted `bib.fullscreen.headline` and `bib.fullscreen.footer` content into the bibtemplate.
|
|
203
221
|
* @private
|
|
@@ -224,12 +242,77 @@ export class AuroCounterGroup extends LitElement {
|
|
|
224
242
|
* @private
|
|
225
243
|
*/
|
|
226
244
|
private updateValue;
|
|
245
|
+
/**
|
|
246
|
+
* Updates the value text in the dropdown trigger based on the counters in the counter group.
|
|
247
|
+
* @private
|
|
248
|
+
*/
|
|
249
|
+
private updateValueText;
|
|
250
|
+
valueText: any;
|
|
227
251
|
/**
|
|
228
252
|
* Validates value.
|
|
229
253
|
* @param {boolean} [force=false] - Whether to force validation.
|
|
230
254
|
*/
|
|
231
255
|
validate(force?: boolean): void;
|
|
232
256
|
updated(changedProperties: any): void;
|
|
233
|
-
|
|
257
|
+
firstUpdated(): void;
|
|
258
|
+
/**
|
|
259
|
+
* Render the dropdown structure for the counter group.
|
|
260
|
+
* @returns {TemplateResult} The dropdown template.
|
|
261
|
+
* @private
|
|
262
|
+
*/
|
|
263
|
+
private renderCounterDropdown;
|
|
264
|
+
/**
|
|
265
|
+
* Render the dropdown trigger for the dropdown.
|
|
266
|
+
* @returns {TemplateResult} The dropdown trigger template.
|
|
267
|
+
* @private
|
|
268
|
+
*/
|
|
269
|
+
private renderDropdownTrigger;
|
|
270
|
+
/**
|
|
271
|
+
* Render the help text for the counter group.
|
|
272
|
+
* @returns {TemplateResult} The help text template.
|
|
273
|
+
* @private
|
|
274
|
+
*/
|
|
275
|
+
private renderHelpText;
|
|
276
|
+
/**
|
|
277
|
+
* Render the dropdown bib template for the dropdown.
|
|
278
|
+
* @returns {TemplateResult} The bib template.
|
|
279
|
+
* @private
|
|
280
|
+
*/
|
|
281
|
+
private renderBibTemplate;
|
|
282
|
+
/**
|
|
283
|
+
* Render the fullscreen bib slots for the dropdown.
|
|
284
|
+
* @returns {TemplateResult} The fullscreen slots template.
|
|
285
|
+
* @private
|
|
286
|
+
*/
|
|
287
|
+
private renderFullscreenSlots;
|
|
288
|
+
/**
|
|
289
|
+
* Render the counter group container.
|
|
290
|
+
* @param {boolean} isInDropdown - Whether the counter group is inside a dropdown.
|
|
291
|
+
* @returns {TemplateResult} The counter group template.
|
|
292
|
+
* @private
|
|
293
|
+
*/
|
|
294
|
+
private renderCounterGroup;
|
|
295
|
+
/**
|
|
296
|
+
* Render the classic layout.
|
|
297
|
+
* @returns {TemplateResult} The classic layout template.
|
|
298
|
+
* @private
|
|
299
|
+
*/
|
|
300
|
+
private renderLayoutClassic;
|
|
301
|
+
shape: any;
|
|
302
|
+
layout: any;
|
|
303
|
+
size: any;
|
|
304
|
+
/**
|
|
305
|
+
* Render the snowflake layout.
|
|
306
|
+
* @returns {TemplateResult} The snowflake layout template.
|
|
307
|
+
* @private
|
|
308
|
+
*/
|
|
309
|
+
private renderLayoutSnowflake;
|
|
310
|
+
/**
|
|
311
|
+
* Renders the component by layout type.
|
|
312
|
+
* @param {string} [ForcedLayout] - Optionally force a specific layout for rendering.
|
|
313
|
+
* @returns {TemplateResult} The layout template.
|
|
314
|
+
* @private
|
|
315
|
+
*/
|
|
316
|
+
private renderLayout;
|
|
234
317
|
}
|
|
235
318
|
import { LitElement } from "lit";
|
|
@@ -83,6 +83,12 @@ export class AuroCounter extends LitElement {
|
|
|
83
83
|
*/
|
|
84
84
|
private handleKeyDown;
|
|
85
85
|
firstUpdated(): void;
|
|
86
|
+
/**
|
|
87
|
+
* Sets an attribute that matches the default tag name if the tag name is not the default.
|
|
88
|
+
* @param {string} tagName - The tag name to set as an attribute.
|
|
89
|
+
* @private
|
|
90
|
+
*/
|
|
91
|
+
private setTagAttribute;
|
|
86
92
|
/**
|
|
87
93
|
* Handles the change event for the default slot.
|
|
88
94
|
* Updates the defaultSlot property with the trimmed text content of the first assigned node.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "8.0.
|
|
1
|
+
declare const _default: "8.0.4";
|
|
2
2
|
export default _default;
|