@aurodesignsystem/auro-formkit 2.0.0-beta.15 → 2.0.0-beta.17
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/000950e13093845f-meta.json +1 -1
- package/.turbo/cache/000950e13093845f.tar.zst +0 -0
- package/.turbo/cache/02ee016619902665-meta.json +1 -0
- package/.turbo/cache/02ee016619902665.tar.zst +0 -0
- package/.turbo/cache/06ca4027e423c554-meta.json +1 -0
- package/.turbo/cache/06ca4027e423c554.tar.zst +0 -0
- package/.turbo/cache/1e855b2163b7c980-meta.json +1 -0
- package/.turbo/cache/1e855b2163b7c980.tar.zst +0 -0
- package/.turbo/cache/2059bc724ac24519-meta.json +1 -1
- package/.turbo/cache/2059bc724ac24519.tar.zst +0 -0
- package/.turbo/cache/23b3a2fea223679d-meta.json +1 -1
- package/.turbo/cache/23b3a2fea223679d.tar.zst +0 -0
- package/.turbo/cache/26dbf393768f87cc-meta.json +1 -0
- package/.turbo/cache/26dbf393768f87cc.tar.zst +0 -0
- package/.turbo/cache/2c0d681132c153dd-meta.json +1 -1
- package/.turbo/cache/31bd5687f46c7eba-meta.json +1 -1
- package/.turbo/cache/3488cff10dd06acd-meta.json +1 -1
- package/.turbo/cache/3488cff10dd06acd.tar.zst +0 -0
- package/.turbo/cache/3c8718d2ba6d3fe5-meta.json +1 -0
- package/.turbo/cache/3c8718d2ba6d3fe5.tar.zst +0 -0
- package/.turbo/cache/4006a206400d5c7b-meta.json +1 -1
- package/.turbo/cache/43693504bf6e7c4c-meta.json +1 -1
- package/.turbo/cache/45cd32cd38eacbcb-meta.json +1 -1
- package/.turbo/cache/492dda333b8d15f1-meta.json +1 -1
- package/.turbo/cache/50cd7dcfc9f820c5-meta.json +1 -1
- package/.turbo/cache/51eaa58d5c167de8-meta.json +1 -1
- package/.turbo/cache/56f2745125fdd552-meta.json +1 -1
- package/.turbo/cache/56f2745125fdd552.tar.zst +0 -0
- package/.turbo/cache/5b57cc0e26e1fd5d-meta.json +1 -0
- package/.turbo/cache/5b57cc0e26e1fd5d.tar.zst +0 -0
- package/.turbo/cache/5f43911cbacf7df1-meta.json +1 -1
- package/.turbo/cache/5f43911cbacf7df1.tar.zst +0 -0
- package/.turbo/cache/60ad74320c682a2b-meta.json +1 -1
- package/.turbo/cache/61e218aba69cff58-meta.json +1 -1
- package/.turbo/cache/647bda3b31d82dc2-meta.json +1 -0
- package/.turbo/cache/647bda3b31d82dc2.tar.zst +0 -0
- package/.turbo/cache/6951c2a52e5ab5f7-meta.json +1 -1
- package/.turbo/cache/6951c2a52e5ab5f7.tar.zst +0 -0
- package/.turbo/cache/77da375a012de9d0-meta.json +1 -1
- package/.turbo/cache/78418f9089673a21-meta.json +1 -1
- package/.turbo/cache/7964d1656e9e702a-meta.json +1 -1
- package/.turbo/cache/7bf2b06a479d0b30-meta.json +1 -1
- package/.turbo/cache/7c9ca6163e61285c-meta.json +1 -1
- package/.turbo/cache/876b8fa390c8ec81-meta.json +1 -1
- package/.turbo/cache/8bb856bd31b5b479-meta.json +1 -1
- package/.turbo/cache/8f287fd5d33579ae-meta.json +1 -1
- package/.turbo/cache/8f287fd5d33579ae.tar.zst +0 -0
- package/.turbo/cache/8f5fef3e04a6fcfa-meta.json +1 -1
- package/.turbo/cache/8fcce3ba8357be57-meta.json +1 -0
- package/.turbo/cache/8fcce3ba8357be57.tar.zst +0 -0
- package/.turbo/cache/9b5868be65819fdf-meta.json +1 -0
- package/.turbo/cache/9b5868be65819fdf.tar.zst +0 -0
- package/.turbo/cache/a227e8174447e364-meta.json +1 -0
- package/.turbo/cache/a227e8174447e364.tar.zst +0 -0
- package/.turbo/cache/a779ea8b78ce9d59-meta.json +1 -0
- package/.turbo/cache/a779ea8b78ce9d59.tar.zst +0 -0
- package/.turbo/cache/a9c36a3534c5496b-meta.json +1 -0
- package/.turbo/cache/a9c36a3534c5496b.tar.zst +0 -0
- package/.turbo/cache/b5e6dc7fb9ae1a2f-meta.json +1 -1
- package/.turbo/cache/b6a202cc85cb61a0-meta.json +1 -1
- package/.turbo/cache/ba270a0ef147f2e5-meta.json +1 -1
- package/.turbo/cache/be0b95293ea517cc-meta.json +1 -1
- package/.turbo/cache/c03a12ff38ba1e02-meta.json +1 -1
- package/.turbo/cache/c1312c6f8c051461-meta.json +1 -1
- package/.turbo/cache/c1312c6f8c051461.tar.zst +0 -0
- package/.turbo/cache/c3b2cc1b044a4135-meta.json +1 -0
- package/.turbo/cache/c3b2cc1b044a4135.tar.zst +0 -0
- package/.turbo/cache/c6c6411199b68170-meta.json +1 -1
- package/.turbo/cache/c6dbc49c3038946d-meta.json +1 -1
- package/.turbo/cache/cae7586c45bed13e-meta.json +1 -1
- package/.turbo/cache/cae7586c45bed13e.tar.zst +0 -0
- package/.turbo/cache/cf143eb1a55684db-meta.json +1 -1
- package/.turbo/cache/cf143eb1a55684db.tar.zst +0 -0
- package/.turbo/cache/d5b85352bc667f19-meta.json +1 -1
- package/.turbo/cache/d5b85352bc667f19.tar.zst +0 -0
- package/.turbo/cache/d5db503b2eaf239c-meta.json +1 -1
- package/.turbo/cache/d775555355d6b8fc-meta.json +1 -1
- package/.turbo/cache/d7c3007be148d2a1-meta.json +1 -1
- package/.turbo/cache/db5e65d819bfe66b-meta.json +1 -1
- package/.turbo/cache/dc597b3ea4f61ec8-meta.json +1 -1
- package/.turbo/cache/e392fe0927e4af23-meta.json +1 -0
- package/.turbo/cache/e392fe0927e4af23.tar.zst +0 -0
- package/.turbo/cache/e62cfee068e3ef36-meta.json +1 -1
- package/.turbo/cache/f2913bf19939d840-meta.json +1 -1
- package/.turbo/cache/f2913bf19939d840.tar.zst +0 -0
- package/.turbo/cache/f86b28e5ea2c66fe-meta.json +1 -1
- package/CHANGELOG.md +22 -0
- package/components/checkbox/.turbo/turbo-build.log +3 -3
- package/components/checkbox/.turbo/turbo-bundler.log +3 -3
- package/components/checkbox/README.md +1 -1
- package/components/combobox/.turbo/turbo-build.log +3 -3
- package/components/combobox/README.md +4 -4
- package/components/counter/.turbo/turbo-build$colon$sass.log +37 -6
- package/components/counter/.turbo/turbo-build.log +47 -10
- package/components/counter/.turbo/turbo-bundler.log +6 -3
- package/components/counter/.turbo/turbo-sass$colon$render.log +7 -1
- package/components/counter/README.md +1 -1
- package/components/counter/demo/api.md +8 -7
- package/components/counter/demo/api.min.js +3304 -247
- package/components/counter/demo/index.md +16 -20
- package/components/counter/demo/index.min.js +3304 -247
- package/components/counter/dist/auro-counter-group.d.ts +27 -7
- package/components/counter/dist/auro-counter-group.d.ts.map +1 -1
- package/components/counter/dist/auro-counter-wrapper.d.ts +23 -0
- package/components/counter/dist/auro-counter-wrapper.d.ts.map +1 -0
- package/components/counter/dist/index.js +3304 -247
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts +3 -0
- package/components/counter/dist/styles/counter-wrapper-color-css.d.ts.map +1 -0
- package/components/counter/dist/styles/{counter-group-color-css.d.ts → counter-wrapper-css.d.ts} +1 -1
- package/components/counter/dist/styles/counter-wrapper-css.d.ts.map +1 -0
- package/components/counter/src/auro-counter-group.js +72 -19
- package/components/counter/src/auro-counter-wrapper.js +54 -0
- package/components/counter/src/styles/counter-group-css.js +1 -1
- package/components/counter/src/styles/counter-group.css +4 -8
- package/components/counter/src/styles/counter-group.scss +6 -10
- package/components/counter/src/styles/counter-wrapper-color-css.js +2 -0
- package/components/counter/src/styles/{counter-group-color.css → counter-wrapper-color.css} +1 -1
- package/components/counter/src/styles/{counter-group-color.scss → counter-wrapper-color.scss} +1 -1
- package/components/counter/src/styles/counter-wrapper-css.js +2 -0
- package/components/counter/src/styles/counter-wrapper.css +15 -0
- package/components/counter/src/styles/counter-wrapper.scss +29 -0
- package/components/datepicker/.turbo/turbo-build.log +3 -3
- package/components/datepicker/README.md +4 -4
- package/components/dropdown/.turbo/turbo-build.log +3 -3
- package/components/dropdown/.turbo/turbo-bundler.log +2 -2
- package/components/dropdown/README.md +1 -1
- package/components/form/.turbo/turbo-build.log +3 -3
- package/components/form/.turbo/turbo-bundler.log +3 -3
- package/components/form/README.md +11 -9
- package/components/form/demo/api.min.js +187 -22
- package/components/form/demo/index.min.js +187 -22
- package/components/form/demo/registerDemoDeps.js +5 -0
- package/components/form/demo/working.html +86 -0
- package/components/form/dist/auro-form.d.ts +83 -2
- package/components/form/dist/auro-form.d.ts.map +1 -1
- package/components/form/dist/index.js +187 -22
- package/components/form/package.json +3 -1
- package/components/form/src/auro-form.js +187 -25
- package/components/form/src/styles/style-css.js +1 -1
- package/components/form/src/styles/style.css +8 -0
- package/components/form/src/styles/style.scss +10 -0
- package/components/input/.turbo/turbo-build.log +3 -3
- package/components/input/.turbo/turbo-bundler.log +3 -3
- package/components/input/README.md +1 -1
- package/components/menu/.turbo/turbo-build.log +3 -3
- package/components/menu/.turbo/turbo-bundler.log +3 -3
- package/components/menu/README.md +1 -1
- package/components/radio/.turbo/turbo-build.log +3 -3
- package/components/radio/.turbo/turbo-bundler.log +3 -3
- package/components/radio/README.md +1 -1
- package/components/select/.turbo/turbo-build.log +3 -3
- package/components/select/README.md +3 -3
- package/package.json +1 -1
- package/.turbo/cache/07028b4d43bdf4e1-meta.json +0 -1
- package/.turbo/cache/07028b4d43bdf4e1.tar.zst +0 -0
- package/.turbo/cache/0c8124a987c1cc05-meta.json +0 -1
- package/.turbo/cache/0c8124a987c1cc05.tar.zst +0 -0
- package/.turbo/cache/1b97859030a6d60b-meta.json +0 -1
- package/.turbo/cache/1b97859030a6d60b.tar.zst +0 -0
- package/.turbo/cache/1f6653e2ed4c0087-meta.json +0 -1
- package/.turbo/cache/1f6653e2ed4c0087.tar.zst +0 -0
- package/.turbo/cache/2690f6279766d11d-meta.json +0 -1
- package/.turbo/cache/2690f6279766d11d.tar.zst +0 -0
- package/.turbo/cache/50993de942ec15a9-meta.json +0 -1
- package/.turbo/cache/50993de942ec15a9.tar.zst +0 -0
- package/.turbo/cache/6081837e8943b62e-meta.json +0 -1
- package/.turbo/cache/6081837e8943b62e.tar.zst +0 -0
- package/.turbo/cache/6830a9e37c9d391f-meta.json +0 -1
- package/.turbo/cache/6830a9e37c9d391f.tar.zst +0 -0
- package/.turbo/cache/80410f4b5990ab83-meta.json +0 -1
- package/.turbo/cache/80410f4b5990ab83.tar.zst +0 -0
- package/.turbo/cache/9ae99e8e7bd83d06-meta.json +0 -1
- package/.turbo/cache/9ae99e8e7bd83d06.tar.zst +0 -0
- package/.turbo/cache/bfefe028012c089a-meta.json +0 -1
- package/.turbo/cache/bfefe028012c089a.tar.zst +0 -0
- package/.turbo/cache/dad3d78b33edd9e4-meta.json +0 -1
- package/.turbo/cache/dad3d78b33edd9e4.tar.zst +0 -0
- package/.turbo/cache/e9e36823f6c98f07-meta.json +0 -1
- package/.turbo/cache/e9e36823f6c98f07.tar.zst +0 -0
- package/.turbo/cache/ea8dd91dba19ddee-meta.json +0 -1
- package/.turbo/cache/ea8dd91dba19ddee.tar.zst +0 -0
- package/components/counter/dist/formkit/auro-dropdownVersion.d.ts +0 -3
- package/components/counter/dist/formkit/auro-dropdownVersion.d.ts.map +0 -1
- package/components/counter/dist/styles/counter-group-color-css.d.ts.map +0 -1
- package/components/counter/src/formkit/auro-dropdownVersion.js +0 -1
- package/components/counter/src/styles/counter-group-color-css.js +0 -2
|
@@ -11,6 +11,12 @@
|
|
|
11
11
|
export class AuroCounterGroup extends LitElement {
|
|
12
12
|
static get styles(): import("lit").CSSResult[];
|
|
13
13
|
static get properties(): {
|
|
14
|
+
/**
|
|
15
|
+
* Indicates if the counter group is displayed as a dropdown.
|
|
16
|
+
*/
|
|
17
|
+
isDropdown: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
};
|
|
14
20
|
/**
|
|
15
21
|
* The maximum value allowed for the whole group of counters.
|
|
16
22
|
*/
|
|
@@ -25,12 +31,6 @@ export class AuroCounterGroup extends LitElement {
|
|
|
25
31
|
type: NumberConstructor;
|
|
26
32
|
reflect: boolean;
|
|
27
33
|
};
|
|
28
|
-
/**
|
|
29
|
-
* The total value of the counters.
|
|
30
|
-
*/
|
|
31
|
-
total: {
|
|
32
|
-
type: NumberConstructor;
|
|
33
|
-
};
|
|
34
34
|
/**
|
|
35
35
|
* Reflects the validity state.
|
|
36
36
|
*/
|
|
@@ -38,6 +38,12 @@ export class AuroCounterGroup extends LitElement {
|
|
|
38
38
|
type: StringConstructor;
|
|
39
39
|
reflect: boolean;
|
|
40
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* The total value of the counters.
|
|
43
|
+
*/
|
|
44
|
+
total: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
};
|
|
41
47
|
/**
|
|
42
48
|
* The current individual values of the nested counters.
|
|
43
49
|
*/
|
|
@@ -52,6 +58,7 @@ export class AuroCounterGroup extends LitElement {
|
|
|
52
58
|
* AuroCounterGroup.register("custom-counter-group") // registers <custom-counter-group/>
|
|
53
59
|
*/
|
|
54
60
|
static register(name?: string): void;
|
|
61
|
+
isDropdown: boolean;
|
|
55
62
|
max: any;
|
|
56
63
|
min: any;
|
|
57
64
|
total: number;
|
|
@@ -65,6 +72,12 @@ export class AuroCounterGroup extends LitElement {
|
|
|
65
72
|
* @private
|
|
66
73
|
*/
|
|
67
74
|
private validation;
|
|
75
|
+
/**
|
|
76
|
+
* Dynamically generated dropdown tag.
|
|
77
|
+
* @private
|
|
78
|
+
* @type {string}
|
|
79
|
+
*/
|
|
80
|
+
private dropdownTag;
|
|
68
81
|
/**
|
|
69
82
|
* Dynamically disables increment/decrement buttons on a counter based on group value.
|
|
70
83
|
* This method checks the total aggregated value against the group's min and max properties.
|
|
@@ -76,11 +89,18 @@ export class AuroCounterGroup extends LitElement {
|
|
|
76
89
|
private manageDisabled;
|
|
77
90
|
/**
|
|
78
91
|
* Attaches input event listeners to all auro-counter elements within the component.
|
|
79
|
-
* This method selects all `auro-counter` and `[
|
|
92
|
+
* This method selects all `auro-counter` and `[auro-counter]` elements and adds an `input` event listener to each.
|
|
80
93
|
* The listener calls `this.updateValue()` whenever the value of a counter changes.
|
|
81
94
|
* @private
|
|
82
95
|
*/
|
|
83
96
|
private configureCounters;
|
|
97
|
+
/**
|
|
98
|
+
* Configures the dropdown counters by selecting all `auro-counter` elements
|
|
99
|
+
* and appending them to the `auro-counter-wrapper` element within the shadow DOM.
|
|
100
|
+
* Adds an event listener to each counter to update the value on input.
|
|
101
|
+
* @private
|
|
102
|
+
*/
|
|
103
|
+
private configureDropdownCounters;
|
|
84
104
|
/**
|
|
85
105
|
* Safely converts a value to a number, returning 0 if invalid.
|
|
86
106
|
* @private
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auro-counter-group.d.ts","sourceRoot":"","sources":["../src/auro-counter-group.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auro-counter-group.d.ts","sourceRoot":"","sources":["../src/auro-counter-group.js"],"names":[],"mappings":"AAqBA;;;;;;;;;GASG;AACH;IAoCE,+CAEC;IAED;QAGI;;WAEG;;;;QAKH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;;QAMH;;WAEG;;;;QAKH;;WAEG;;;;MAKN;IA0GD;;;;;OAKG;IACH,uBAJW,MAAM,QAMhB;IAtMC,oBAAuB;IAEvB,SAAoB;IACpB,SAAoB;IACpB,cAAsB;IACtB,cAAyB;IACzB,UAAsB;IAEtB;;OAEG;IACH,iBAAyB;IAEzB;;OAEG;IACH,mBAA0C;IAQ1C;;;;OAIG;IACH,oBAAyF;IAyD3F;;;;;;;OAOG;IACH,uBASC;IAED;;;;;OAKG;IACH,0BAKC;IAED;;;;;OAKG;IACH,kCAYC;IAED;;;;;OAKG;IACH,6BAGC;IAED;;;;;OAKG;IACH,oBAeC;IAED,sCAgBC;IAaD,4CAWC;CACF;2BAhP0B,KAAK"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auro Counter Wrapper is a group of counter components.
|
|
3
|
+
*
|
|
4
|
+
* This web component provides a flexible interface for grouping multiple counters, supporting
|
|
5
|
+
* validation, custom validity messages, and disabled states based on the group's value.
|
|
6
|
+
*
|
|
7
|
+
* @element auro-counter-group
|
|
8
|
+
* @extends LitElement
|
|
9
|
+
* @slot Default - Slot for counter elements.
|
|
10
|
+
*/
|
|
11
|
+
export class AuroCounterWrapper extends LitElement {
|
|
12
|
+
static get styles(): import("lit").CSSResult[];
|
|
13
|
+
/**
|
|
14
|
+
* Registers the custom element with the browser.
|
|
15
|
+
* @param {string} [name="auro-counter-wrapper"] - Custom element name to register.
|
|
16
|
+
* @example
|
|
17
|
+
* AuroCounterWrapper.register("custom-counter-wrapper") // registers <custom-counter-wrapper/>
|
|
18
|
+
*/
|
|
19
|
+
static register(name?: string): void;
|
|
20
|
+
render(): import("lit-html").TemplateResult;
|
|
21
|
+
}
|
|
22
|
+
import { LitElement } from "lit";
|
|
23
|
+
//# sourceMappingURL=auro-counter-wrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auro-counter-wrapper.d.ts","sourceRoot":"","sources":["../src/auro-counter-wrapper.js"],"names":[],"mappings":"AAaA;;;;;;;;;GASG;AACH;IAEE,+CAKC;IAED;;;;;OAKG;IACH,uBAJW,MAAM,QAMhB;IAGD,4CAEC;CACF;2BAxC0B,KAAK"}
|