@aurodesignsystem/auro-formkit 2.0.1 → 2.0.2
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 +7 -0
- package/components/checkbox/README.md +1 -1
- package/components/checkbox/demo/readme.md +1 -1
- package/components/combobox/README.md +1 -1
- package/components/combobox/demo/readme.md +1 -1
- package/components/counter/README.md +1 -1
- package/components/counter/demo/readme.md +1 -1
- package/components/datepicker/README.md +1 -1
- package/components/datepicker/demo/readme.md +1 -1
- package/components/dropdown/README.md +1 -1
- package/components/dropdown/demo/readme.md +1 -1
- package/components/form/README.md +1 -1
- package/components/form/demo/readme.md +1 -1
- package/components/input/README.md +1 -1
- package/components/input/demo/api.md +46 -46
- package/components/input/demo/index.md +6 -6
- package/components/input/demo/readme.md +1 -1
- package/components/menu/README.md +1 -1
- package/components/menu/demo/readme.md +1 -1
- package/components/radio/README.md +1 -1
- package/components/radio/demo/readme.md +1 -1
- package/components/select/README.md +1 -1
- package/components/select/demo/readme.md +1 -1
- package/package.json +1 -1
- package/packages/build-tools/src/postinstall.mjs +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.2](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.0.1...v2.0.2) (2025-03-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* update postinstall script import for cross-platform compatibility [#425](https://github.com/AlaskaAirlines/auro-formkit/issues/425) ([dd2dd95](https://github.com/AlaskaAirlines/auro-formkit/commit/dd2dd95e2ddd81bf34374e025ca45cabbd0abdb7))
|
|
9
|
+
|
|
3
10
|
## [2.0.1](https://github.com/AlaskaAirlines/auro-formkit/compare/v2.0.0...v2.0.1) (2025-03-04)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
106
106
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
107
107
|
|
|
108
108
|
```html
|
|
109
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
109
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-checkbox/+esm"></script>
|
|
110
110
|
```
|
|
111
111
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
112
|
|
|
@@ -106,7 +106,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
106
106
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
107
107
|
|
|
108
108
|
```html
|
|
109
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
109
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-checkbox/+esm"></script>
|
|
110
110
|
```
|
|
111
111
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
112
112
|
|
|
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
111
111
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
112
112
|
|
|
113
113
|
```html
|
|
114
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
114
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-combobox/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -111,7 +111,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
111
111
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
112
112
|
|
|
113
113
|
```html
|
|
114
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
114
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-combobox/+esm"></script>
|
|
115
115
|
```
|
|
116
116
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
117
117
|
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
113
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-counter/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
113
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-counter/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
|
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
104
104
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
105
105
|
|
|
106
106
|
```html
|
|
107
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
107
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-datepicker/+esm"></script>
|
|
108
108
|
```
|
|
109
109
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
110
110
|
|
|
@@ -104,7 +104,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
104
104
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
105
105
|
|
|
106
106
|
```html
|
|
107
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
107
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-datepicker/+esm"></script>
|
|
108
108
|
```
|
|
109
109
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
110
110
|
|
|
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
107
107
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
108
108
|
|
|
109
109
|
```html
|
|
110
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
110
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-dropdown/+esm"></script>
|
|
111
111
|
```
|
|
112
112
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
113
113
|
|
|
@@ -107,7 +107,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
107
107
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
108
108
|
|
|
109
109
|
```html
|
|
110
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
110
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-dropdown/+esm"></script>
|
|
111
111
|
```
|
|
112
112
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
113
113
|
|
|
@@ -109,7 +109,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
109
109
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
110
110
|
|
|
111
111
|
```html
|
|
112
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
112
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-form/+esm"></script>
|
|
113
113
|
```
|
|
114
114
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
115
115
|
|
|
@@ -109,7 +109,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
109
109
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
110
110
|
|
|
111
111
|
```html
|
|
112
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
112
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-form/+esm"></script>
|
|
113
113
|
```
|
|
114
114
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
115
115
|
|
|
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
99
99
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
100
100
|
|
|
101
101
|
```html
|
|
102
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
102
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-input/+esm"></script>
|
|
103
103
|
```
|
|
104
104
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
105
105
|
|
|
@@ -128,7 +128,7 @@ Use the `disable` attribute to prevent the user from interacting with the input.
|
|
|
128
128
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/disabled.html) -->
|
|
129
129
|
<!-- The below content is automatically added from ../apiExamples/disabled.html -->
|
|
130
130
|
<auro-input disabled bordered type="date">
|
|
131
|
-
<
|
|
131
|
+
<span slot="label">Arrival date</span>
|
|
132
132
|
</auro-input>
|
|
133
133
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
134
134
|
</div>
|
|
@@ -139,7 +139,7 @@ Use the `disable` attribute to prevent the user from interacting with the input.
|
|
|
139
139
|
|
|
140
140
|
```html
|
|
141
141
|
<auro-input disabled bordered type="date">
|
|
142
|
-
<
|
|
142
|
+
<span slot="label">Arrival date</span>
|
|
143
143
|
</auro-input>
|
|
144
144
|
```
|
|
145
145
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -362,8 +362,8 @@ The `setCustomValidityTooLong` attribute may optionally be used in combination w
|
|
|
362
362
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/maxLength.html) -->
|
|
363
363
|
<!-- The below content is automatically added from ../apiExamples/maxLength.html -->
|
|
364
364
|
<auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
|
|
365
|
-
<
|
|
366
|
-
<
|
|
365
|
+
<span slot="label">Voucher Code</span>
|
|
366
|
+
<span slot="helptext">Please enter your 12 character voucher code.</span>
|
|
367
367
|
</auro-input>
|
|
368
368
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
369
369
|
</div>
|
|
@@ -374,8 +374,8 @@ The `setCustomValidityTooLong` attribute may optionally be used in combination w
|
|
|
374
374
|
|
|
375
375
|
```html
|
|
376
376
|
<auro-input maxlength="12" setCustomValidityTooLong="Oops! There were too many characters entered." bordered required>
|
|
377
|
-
<
|
|
378
|
-
<
|
|
377
|
+
<span slot="label">Voucher Code</span>
|
|
378
|
+
<span slot="helptext">Please enter your 12 character voucher code.</span>
|
|
379
379
|
</auro-input>
|
|
380
380
|
```
|
|
381
381
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -390,8 +390,8 @@ The `setCustomValidityTooShort` attribute may optionally be used in combination
|
|
|
390
390
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/minLength.html) -->
|
|
391
391
|
<!-- The below content is automatically added from ../apiExamples/minLength.html -->
|
|
392
392
|
<auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
|
|
393
|
-
<
|
|
394
|
-
<
|
|
393
|
+
<span slot="label">Voucher Code</span>
|
|
394
|
+
<span slot="helptext">Please enter your 4 character voucher code.</span>
|
|
395
395
|
</auro-input>
|
|
396
396
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
397
397
|
</div>
|
|
@@ -402,8 +402,8 @@ The `setCustomValidityTooShort` attribute may optionally be used in combination
|
|
|
402
402
|
|
|
403
403
|
```html
|
|
404
404
|
<auro-input minlength="4" setCustomValidityTooShort="Please enter a full voucher code." bordered required>
|
|
405
|
-
<
|
|
406
|
-
<
|
|
405
|
+
<span slot="label">Voucher Code</span>
|
|
406
|
+
<span slot="helptext">Please enter your 4 character voucher code.</span>
|
|
407
407
|
</auro-input>
|
|
408
408
|
```
|
|
409
409
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -496,8 +496,8 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
|
|
|
496
496
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/activeLabel.html) -->
|
|
497
497
|
<!-- The below content is automatically added from ../apiExamples/activeLabel.html -->
|
|
498
498
|
<auro-input activeLabel bordered>
|
|
499
|
-
<
|
|
500
|
-
<
|
|
499
|
+
<span slot="label">Address</span>
|
|
500
|
+
<span slot="helptext">Please enter your home address.</span>
|
|
501
501
|
</auro-input>
|
|
502
502
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
503
503
|
</div>
|
|
@@ -508,8 +508,8 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
|
|
|
508
508
|
|
|
509
509
|
```html
|
|
510
510
|
<auro-input activeLabel bordered>
|
|
511
|
-
<
|
|
512
|
-
<
|
|
511
|
+
<span slot="label">Address</span>
|
|
512
|
+
<span slot="helptext">Please enter your home address.</span>
|
|
513
513
|
</auro-input>
|
|
514
514
|
```
|
|
515
515
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -522,8 +522,8 @@ For use cases where the field is `required`, but live validation is not wanted,
|
|
|
522
522
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/noValidate.html) -->
|
|
523
523
|
<!-- The below content is automatically added from ../apiExamples/noValidate.html -->
|
|
524
524
|
<auro-input noValidate required bordered>
|
|
525
|
-
<
|
|
526
|
-
<
|
|
525
|
+
<span slot="label">Address</span>
|
|
526
|
+
<span slot="helptext">Please enter your home address.</span>
|
|
527
527
|
</auro-input>
|
|
528
528
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
529
529
|
</div>
|
|
@@ -534,8 +534,8 @@ For use cases where the field is `required`, but live validation is not wanted,
|
|
|
534
534
|
|
|
535
535
|
```html
|
|
536
536
|
<auro-input noValidate required bordered>
|
|
537
|
-
<
|
|
538
|
-
<
|
|
537
|
+
<span slot="label">Address</span>
|
|
538
|
+
<span slot="helptext">Please enter your home address.</span>
|
|
539
539
|
</auro-input>
|
|
540
540
|
```
|
|
541
541
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -749,8 +749,8 @@ Default help text will be added to the input `type="email"` if custom help text
|
|
|
749
749
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/email.html) -->
|
|
750
750
|
<!-- The below content is automatically added from ../apiExamples/email.html -->
|
|
751
751
|
<auro-input type="email" bordered required>
|
|
752
|
-
<
|
|
753
|
-
<
|
|
752
|
+
<span slot="label">Email address</span>
|
|
753
|
+
<span slot="helptext">Please enter your email address.</span>
|
|
754
754
|
</auro-input>
|
|
755
755
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
756
756
|
</div>
|
|
@@ -761,8 +761,8 @@ Default help text will be added to the input `type="email"` if custom help text
|
|
|
761
761
|
|
|
762
762
|
```html
|
|
763
763
|
<auro-input type="email" bordered required>
|
|
764
|
-
<
|
|
765
|
-
<
|
|
764
|
+
<span slot="label">Email address</span>
|
|
765
|
+
<span slot="helptext">Please enter your email address.</span>
|
|
766
766
|
</auro-input>
|
|
767
767
|
```
|
|
768
768
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -778,8 +778,8 @@ This `number` input type should only be used for incremental numeric values, mea
|
|
|
778
778
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/number.html) -->
|
|
779
779
|
<!-- The below content is automatically added from ../apiExamples/number.html -->
|
|
780
780
|
<auro-input type="number" bordered required>
|
|
781
|
-
<
|
|
782
|
-
<
|
|
781
|
+
<span slot="label">Number of Passengers</span>
|
|
782
|
+
<span slot="helptext">Please enter the number of passengers.</span>
|
|
783
783
|
</auro-input>
|
|
784
784
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
785
785
|
</div>
|
|
@@ -790,8 +790,8 @@ This `number` input type should only be used for incremental numeric values, mea
|
|
|
790
790
|
|
|
791
791
|
```html
|
|
792
792
|
<auro-input type="number" bordered required>
|
|
793
|
-
<
|
|
794
|
-
<
|
|
793
|
+
<span slot="label">Number of Passengers</span>
|
|
794
|
+
<span slot="helptext">Please enter the number of passengers.</span>
|
|
795
795
|
</auro-input>
|
|
796
796
|
```
|
|
797
797
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -807,8 +807,8 @@ Default help text will be added to the input `type="credit-card"` if custom help
|
|
|
807
807
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCard.html) -->
|
|
808
808
|
<!-- The below content is automatically added from ../apiExamples/creditCard.html -->
|
|
809
809
|
<auro-input type="credit-card" bordered required>
|
|
810
|
-
<
|
|
811
|
-
<
|
|
810
|
+
<span slot="label">Card number</span>
|
|
811
|
+
<span slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</span>
|
|
812
812
|
</auro-input>
|
|
813
813
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
814
814
|
</div>
|
|
@@ -819,8 +819,8 @@ Default help text will be added to the input `type="credit-card"` if custom help
|
|
|
819
819
|
|
|
820
820
|
```html
|
|
821
821
|
<auro-input type="credit-card" bordered required>
|
|
822
|
-
<
|
|
823
|
-
<
|
|
822
|
+
<span slot="label">Card number</span>
|
|
823
|
+
<span slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</span>
|
|
824
824
|
</auro-input>
|
|
825
825
|
```
|
|
826
826
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -833,8 +833,8 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
833
833
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/creditCardIcon.html) -->
|
|
834
834
|
<!-- The below content is automatically added from ../apiExamples/creditCardIcon.html -->
|
|
835
835
|
<auro-input icon type="credit-card" bordered required>
|
|
836
|
-
<
|
|
837
|
-
<
|
|
836
|
+
<span slot="label">Card number</span>
|
|
837
|
+
<span slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</span>
|
|
838
838
|
</auro-input>
|
|
839
839
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
840
840
|
</div>
|
|
@@ -846,8 +846,8 @@ Use the `type="credit-card"` and `icon` attributes for a credit card formatted i
|
|
|
846
846
|
|
|
847
847
|
```html
|
|
848
848
|
<auro-input icon type="credit-card" bordered required>
|
|
849
|
-
<
|
|
850
|
-
<
|
|
849
|
+
<span slot="label">Card number</span>
|
|
850
|
+
<span slot="helptext">Valid credit card numbers must include 16 digits (15 for Amex).</span>
|
|
851
851
|
</auro-input>
|
|
852
852
|
```
|
|
853
853
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -903,7 +903,7 @@ Use the `type="date"` attribute for a date formatted input. The default date for
|
|
|
903
903
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthDayYear.html) -->
|
|
904
904
|
<!-- The below content is automatically added from ../apiExamples/monthDayYear.html -->
|
|
905
905
|
<auro-input type="date" bordered>
|
|
906
|
-
<
|
|
906
|
+
<span slot="label">Arrival date</span>
|
|
907
907
|
</auro-input>
|
|
908
908
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
909
909
|
</div>
|
|
@@ -914,7 +914,7 @@ Use the `type="date"` attribute for a date formatted input. The default date for
|
|
|
914
914
|
|
|
915
915
|
```html
|
|
916
916
|
<auro-input type="date" bordered>
|
|
917
|
-
<
|
|
917
|
+
<span slot="label">Arrival date</span>
|
|
918
918
|
</auro-input>
|
|
919
919
|
```
|
|
920
920
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -928,7 +928,7 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
|
|
|
928
928
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/yearMonthDay.html) -->
|
|
929
929
|
<!-- The below content is automatically added from ../apiExamples/yearMonthDay.html -->
|
|
930
930
|
<auro-input type="date" format="yyyy/mm/dd" bordered>
|
|
931
|
-
<
|
|
931
|
+
<span slot="label">Arrival date</span>
|
|
932
932
|
</auro-input>
|
|
933
933
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
934
934
|
</div>
|
|
@@ -939,7 +939,7 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
|
|
|
939
939
|
|
|
940
940
|
```html
|
|
941
941
|
<auro-input type="date" format="yyyy/mm/dd" bordered>
|
|
942
|
-
<
|
|
942
|
+
<span slot="label">Arrival date</span>
|
|
943
943
|
</auro-input>
|
|
944
944
|
```
|
|
945
945
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -948,7 +948,7 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
|
|
|
948
948
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/monthYear.html) -->
|
|
949
949
|
<!-- The below content is automatically added from ../apiExamples/monthYear.html -->
|
|
950
950
|
<auro-input type="date" format="mm/yy" bordered>
|
|
951
|
-
<
|
|
951
|
+
<span slot="label">Expiration date</span>
|
|
952
952
|
</auro-input>
|
|
953
953
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
954
954
|
</div>
|
|
@@ -959,7 +959,7 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
|
|
|
959
959
|
|
|
960
960
|
```html
|
|
961
961
|
<auro-input type="date" format="mm/yy" bordered>
|
|
962
|
-
<
|
|
962
|
+
<span slot="label">Expiration date</span>
|
|
963
963
|
</auro-input>
|
|
964
964
|
```
|
|
965
965
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -968,7 +968,7 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
|
|
|
968
968
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=../apiExamples/day.html) -->
|
|
969
969
|
<!-- The below content is automatically added from ../apiExamples/day.html -->
|
|
970
970
|
<auro-input type="date" format="dd" bordered>
|
|
971
|
-
<
|
|
971
|
+
<span slot="label">Day</span>
|
|
972
972
|
</auro-input>
|
|
973
973
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
974
974
|
</div>
|
|
@@ -979,7 +979,7 @@ Use the `format` attribute to put together any combination of `mm`, `dd`, & `yyy
|
|
|
979
979
|
|
|
980
980
|
```html
|
|
981
981
|
<auro-input type="date" format="dd" bordered>
|
|
982
|
-
<
|
|
982
|
+
<span slot="label">Day</span>
|
|
983
983
|
</auro-input>
|
|
984
984
|
```
|
|
985
985
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -997,8 +997,8 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
|
|
|
997
997
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
998
998
|
<br /><br />
|
|
999
999
|
<auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
|
|
1000
|
-
<
|
|
1001
|
-
<
|
|
1000
|
+
<span slot="label">Full Name</span>
|
|
1001
|
+
<span slot="helptext">Please enter your full name.</span>
|
|
1002
1002
|
</auro-input>
|
|
1003
1003
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
1004
1004
|
</div>
|
|
@@ -1011,8 +1011,8 @@ Use the `reset()` method to reset the `<auro-input>`'s `value` and `validity` st
|
|
|
1011
1011
|
<auro-button id="resetStateBtn">Reset</auro-button>
|
|
1012
1012
|
<br /><br />
|
|
1013
1013
|
<auro-input id="resetStateExample" bordered minlength="12" value="Auro Team" setCustomValidityTooShort="Please enter your full name!">
|
|
1014
|
-
<
|
|
1015
|
-
<
|
|
1014
|
+
<span slot="label">Full Name</span>
|
|
1015
|
+
<span slot="helptext">Please enter your full name.</span>
|
|
1016
1016
|
</auro-input>
|
|
1017
1017
|
```
|
|
1018
1018
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -71,7 +71,7 @@ Use the `disabled` attribute to prevent the user from interacting with the input
|
|
|
71
71
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/disabled.html) -->
|
|
72
72
|
<!-- The below content is automatically added from ./../apiExamples/disabled.html -->
|
|
73
73
|
<auro-input disabled bordered type="date">
|
|
74
|
-
<
|
|
74
|
+
<span slot="label">Arrival date</span>
|
|
75
75
|
</auro-input>
|
|
76
76
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
77
77
|
</div>
|
|
@@ -82,7 +82,7 @@ Use the `disabled` attribute to prevent the user from interacting with the input
|
|
|
82
82
|
|
|
83
83
|
```html
|
|
84
84
|
<auro-input disabled bordered type="date">
|
|
85
|
-
<
|
|
85
|
+
<span slot="label">Arrival date</span>
|
|
86
86
|
</auro-input>
|
|
87
87
|
```
|
|
88
88
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -96,8 +96,8 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
|
|
|
96
96
|
<!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/activeLabel.html) -->
|
|
97
97
|
<!-- The below content is automatically added from ./../apiExamples/activeLabel.html -->
|
|
98
98
|
<auro-input activeLabel bordered>
|
|
99
|
-
<
|
|
100
|
-
<
|
|
99
|
+
<span slot="label">Address</span>
|
|
100
|
+
<span slot="helptext">Please enter your home address.</span>
|
|
101
101
|
</auro-input>
|
|
102
102
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
103
103
|
</div>
|
|
@@ -108,8 +108,8 @@ Example use cases for auro-input support the `activeLabel` attribute. If set, th
|
|
|
108
108
|
|
|
109
109
|
```html
|
|
110
110
|
<auro-input activeLabel bordered>
|
|
111
|
-
<
|
|
112
|
-
<
|
|
111
|
+
<span slot="label">Address</span>
|
|
112
|
+
<span slot="helptext">Please enter your home address.</span>
|
|
113
113
|
</auro-input>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
@@ -99,7 +99,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
99
99
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
100
100
|
|
|
101
101
|
```html
|
|
102
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
102
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-input/+esm"></script>
|
|
103
103
|
```
|
|
104
104
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
105
105
|
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
113
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-menu/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
113
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-menu/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
|
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
100
100
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
101
101
|
|
|
102
102
|
```html
|
|
103
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
103
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-radio/+esm"></script>
|
|
104
104
|
```
|
|
105
105
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
106
106
|
|
|
@@ -100,7 +100,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
100
100
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
101
101
|
|
|
102
102
|
```html
|
|
103
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
103
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-radio/+esm"></script>
|
|
104
104
|
```
|
|
105
105
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
106
106
|
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
113
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-select/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
|
@@ -110,7 +110,7 @@ The use of any Auro custom element has a dependency on the [Auro Design Tokens](
|
|
|
110
110
|
In cases where the project is not able to process JS assets, there are pre-processed assets available for use. Legacy browsers such as IE11 are no longer supported.
|
|
111
111
|
|
|
112
112
|
```html
|
|
113
|
-
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.
|
|
113
|
+
<script type="module "src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-formkit@2.0.1/auro-select/+esm"></script>
|
|
114
114
|
```
|
|
115
115
|
<!-- AURO-GENERATED-CONTENT:END -->
|
|
116
116
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { createRequire } from 'module';
|
|
2
|
+
import { pathToFileURL } from 'url';
|
|
2
3
|
|
|
3
4
|
const require = createRequire(import.meta.url);
|
|
4
5
|
|
|
5
6
|
const postinstallPath = require.resolve('@aurodesignsystem/auro-library/scripts/build/postinstall.mjs');
|
|
6
7
|
|
|
8
|
+
// Convert the path to a file:// URL for cross-platform compatibility
|
|
9
|
+
const postinstallURL = pathToFileURL(postinstallPath);
|
|
10
|
+
|
|
7
11
|
// Import and execute the script
|
|
8
|
-
import(
|
|
12
|
+
import(postinstallURL);
|