@aurodesignsystem-dev/auro-formkit 0.0.0-pr1518.0 → 0.0.0-pr1519.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/components/checkbox/demo/customize.min.js +15 -2
- package/components/checkbox/demo/getting-started.min.js +15 -2
- package/components/checkbox/demo/index.min.js +15 -2
- package/components/checkbox/dist/index.js +15 -2
- package/components/checkbox/dist/registered.js +15 -2
- package/components/combobox/demo/customize.min.js +105 -10
- package/components/combobox/demo/getting-started.min.js +105 -10
- package/components/combobox/demo/index.min.js +105 -10
- package/components/combobox/dist/index.js +105 -10
- package/components/combobox/dist/registered.js +105 -10
- package/components/counter/demo/customize.min.js +33 -3
- package/components/counter/demo/index.min.js +33 -3
- package/components/counter/dist/index.js +33 -3
- package/components/counter/dist/registered.js +33 -3
- package/components/datepicker/demo/customize.min.js +153 -13
- package/components/datepicker/demo/index.min.js +153 -13
- package/components/datepicker/dist/index.js +153 -13
- package/components/datepicker/dist/registered.js +153 -13
- package/components/dropdown/demo/customize.min.js +18 -1
- package/components/dropdown/demo/getting-started.min.js +18 -1
- package/components/dropdown/demo/index.min.js +18 -1
- package/components/dropdown/dist/index.js +18 -1
- package/components/dropdown/dist/registered.js +18 -1
- package/components/form/demo/customize.min.js +441 -40
- package/components/form/demo/getting-started.min.js +441 -40
- package/components/form/demo/index.min.js +441 -40
- package/components/form/demo/registerDemoDeps.min.js +441 -40
- package/components/input/demo/api.md +58 -57
- package/components/input/demo/customize.min.js +72 -7
- package/components/input/demo/getting-started.min.js +72 -7
- package/components/input/demo/index.min.js +72 -7
- package/components/input/dist/base-input.d.ts +9 -3
- package/components/input/dist/index.js +72 -7
- package/components/input/dist/registered.js +72 -7
- package/components/input/dist/utilities.d.ts +9 -0
- package/components/radio/demo/customize.min.js +15 -2
- package/components/radio/demo/getting-started.min.js +15 -2
- package/components/radio/demo/index.min.js +15 -2
- package/components/radio/dist/index.js +15 -2
- package/components/radio/dist/registered.js +15 -2
- package/components/select/demo/customize.min.js +48 -3
- package/components/select/demo/getting-started.min.js +48 -3
- package/components/select/demo/index.min.js +48 -3
- package/components/select/dist/index.js +48 -3
- package/components/select/dist/registered.js +48 -3
- package/custom-elements.json +78 -8
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -12971,7 +12971,7 @@
|
|
|
12971
12971
|
"type": {
|
|
12972
12972
|
"text": "string"
|
|
12973
12973
|
},
|
|
12974
|
-
"description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\
|
|
12974
|
+
"description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\nFor `date` type inputs using a full date format (year/month/day), the `value` should be ISO (YYYY-MM-DD). Partial date formats use the display format.",
|
|
12975
12975
|
"default": "undefined",
|
|
12976
12976
|
"attribute": "value",
|
|
12977
12977
|
"inheritedFrom": {
|
|
@@ -13330,6 +13330,20 @@
|
|
|
13330
13330
|
"module": "components/input/src/base-input.js"
|
|
13331
13331
|
}
|
|
13332
13332
|
},
|
|
13333
|
+
{
|
|
13334
|
+
"kind": "field",
|
|
13335
|
+
"name": "setCustomValidityPatternMismatch",
|
|
13336
|
+
"privacy": "public",
|
|
13337
|
+
"type": {
|
|
13338
|
+
"text": "string"
|
|
13339
|
+
},
|
|
13340
|
+
"description": "Custom help text message to display when validity = `patternMismatch`.",
|
|
13341
|
+
"attribute": "setCustomValidityPatternMismatch",
|
|
13342
|
+
"inheritedFrom": {
|
|
13343
|
+
"name": "BaseInput",
|
|
13344
|
+
"module": "components/input/src/base-input.js"
|
|
13345
|
+
}
|
|
13346
|
+
},
|
|
13333
13347
|
{
|
|
13334
13348
|
"kind": "field",
|
|
13335
13349
|
"name": "setCustomValidityRangeOverflow",
|
|
@@ -13435,7 +13449,7 @@
|
|
|
13435
13449
|
"name": "type",
|
|
13436
13450
|
"privacy": "public",
|
|
13437
13451
|
"type": {
|
|
13438
|
-
"text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'"
|
|
13452
|
+
"text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
|
|
13439
13453
|
},
|
|
13440
13454
|
"description": "Populates the `type` attribute on the input.",
|
|
13441
13455
|
"default": "'text'",
|
|
@@ -13982,6 +13996,18 @@
|
|
|
13982
13996
|
"module": "components/input/src/base-input.js"
|
|
13983
13997
|
}
|
|
13984
13998
|
},
|
|
13999
|
+
{
|
|
14000
|
+
"name": "setCustomValidityPatternMismatch",
|
|
14001
|
+
"type": {
|
|
14002
|
+
"text": "string"
|
|
14003
|
+
},
|
|
14004
|
+
"description": "Custom help text message to display when validity = `patternMismatch`.",
|
|
14005
|
+
"fieldName": "setCustomValidityPatternMismatch",
|
|
14006
|
+
"inheritedFrom": {
|
|
14007
|
+
"name": "BaseInput",
|
|
14008
|
+
"module": "components/input/src/base-input.js"
|
|
14009
|
+
}
|
|
14010
|
+
},
|
|
13985
14011
|
{
|
|
13986
14012
|
"name": "setCustomValidityRangeOverflow",
|
|
13987
14013
|
"type": {
|
|
@@ -14081,7 +14107,7 @@
|
|
|
14081
14107
|
{
|
|
14082
14108
|
"name": "type",
|
|
14083
14109
|
"type": {
|
|
14084
|
-
"text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'"
|
|
14110
|
+
"text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
|
|
14085
14111
|
},
|
|
14086
14112
|
"description": "Populates the `type` attribute on the input.",
|
|
14087
14113
|
"default": "'text'",
|
|
@@ -14120,7 +14146,7 @@
|
|
|
14120
14146
|
"type": {
|
|
14121
14147
|
"text": "string"
|
|
14122
14148
|
},
|
|
14123
|
-
"description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\
|
|
14149
|
+
"description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\nFor `date` type inputs using a full date format (year/month/day), the `value` should be ISO (YYYY-MM-DD). Partial date formats use the display format.",
|
|
14124
14150
|
"default": "undefined",
|
|
14125
14151
|
"fieldName": "value",
|
|
14126
14152
|
"inheritedFrom": {
|
|
@@ -14869,7 +14895,7 @@
|
|
|
14869
14895
|
"type": {
|
|
14870
14896
|
"text": "string"
|
|
14871
14897
|
},
|
|
14872
|
-
"description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\
|
|
14898
|
+
"description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\nFor `date` type inputs using a full date format (year/month/day), the `value` should be ISO (YYYY-MM-DD). Partial date formats use the display format.",
|
|
14873
14899
|
"default": "undefined",
|
|
14874
14900
|
"attribute": "value"
|
|
14875
14901
|
},
|
|
@@ -15128,6 +15154,16 @@
|
|
|
15128
15154
|
"description": "Custom help text message to display when validity = `customError`.",
|
|
15129
15155
|
"attribute": "setCustomValidityCustomError"
|
|
15130
15156
|
},
|
|
15157
|
+
{
|
|
15158
|
+
"kind": "field",
|
|
15159
|
+
"name": "setCustomValidityPatternMismatch",
|
|
15160
|
+
"privacy": "public",
|
|
15161
|
+
"type": {
|
|
15162
|
+
"text": "string"
|
|
15163
|
+
},
|
|
15164
|
+
"description": "Custom help text message to display when validity = `patternMismatch`.",
|
|
15165
|
+
"attribute": "setCustomValidityPatternMismatch"
|
|
15166
|
+
},
|
|
15131
15167
|
{
|
|
15132
15168
|
"kind": "field",
|
|
15133
15169
|
"name": "setCustomValidityRangeOverflow",
|
|
@@ -15205,7 +15241,7 @@
|
|
|
15205
15241
|
"name": "type",
|
|
15206
15242
|
"privacy": "public",
|
|
15207
15243
|
"type": {
|
|
15208
|
-
"text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'"
|
|
15244
|
+
"text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
|
|
15209
15245
|
},
|
|
15210
15246
|
"description": "Populates the `type` attribute on the input.",
|
|
15211
15247
|
"default": "'text'",
|
|
@@ -15602,6 +15638,14 @@
|
|
|
15602
15638
|
"default": "undefined",
|
|
15603
15639
|
"fieldName": "setCustomValidityForType"
|
|
15604
15640
|
},
|
|
15641
|
+
{
|
|
15642
|
+
"name": "setCustomValidityPatternMismatch",
|
|
15643
|
+
"type": {
|
|
15644
|
+
"text": "string"
|
|
15645
|
+
},
|
|
15646
|
+
"description": "Custom help text message to display when validity = `patternMismatch`.",
|
|
15647
|
+
"fieldName": "setCustomValidityPatternMismatch"
|
|
15648
|
+
},
|
|
15605
15649
|
{
|
|
15606
15650
|
"name": "setCustomValidityRangeOverflow",
|
|
15607
15651
|
"type": {
|
|
@@ -15669,7 +15713,7 @@
|
|
|
15669
15713
|
{
|
|
15670
15714
|
"name": "type",
|
|
15671
15715
|
"type": {
|
|
15672
|
-
"text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'"
|
|
15716
|
+
"text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
|
|
15673
15717
|
},
|
|
15674
15718
|
"description": "Populates the `type` attribute on the input.",
|
|
15675
15719
|
"default": "'text'",
|
|
@@ -15696,7 +15740,7 @@
|
|
|
15696
15740
|
"type": {
|
|
15697
15741
|
"text": "string"
|
|
15698
15742
|
},
|
|
15699
|
-
"description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\
|
|
15743
|
+
"description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\nFor `date` type inputs using a full date format (year/month/day), the `value` should be ISO (YYYY-MM-DD). Partial date formats use the display format.",
|
|
15700
15744
|
"default": "undefined",
|
|
15701
15745
|
"fieldName": "value"
|
|
15702
15746
|
},
|
|
@@ -16058,6 +16102,32 @@
|
|
|
16058
16102
|
}
|
|
16059
16103
|
}
|
|
16060
16104
|
},
|
|
16105
|
+
{
|
|
16106
|
+
"kind": "method",
|
|
16107
|
+
"name": "isValidPartialDate",
|
|
16108
|
+
"parameters": [
|
|
16109
|
+
{
|
|
16110
|
+
"name": "value",
|
|
16111
|
+
"description": "The user-facing display value.",
|
|
16112
|
+
"type": {
|
|
16113
|
+
"text": "string"
|
|
16114
|
+
}
|
|
16115
|
+
},
|
|
16116
|
+
{
|
|
16117
|
+
"name": "format",
|
|
16118
|
+
"description": "The partial date format string (e.g. \"mm/yyyy\", \"yyyy\", \"dd\").",
|
|
16119
|
+
"type": {
|
|
16120
|
+
"text": "string"
|
|
16121
|
+
}
|
|
16122
|
+
}
|
|
16123
|
+
],
|
|
16124
|
+
"description": "Validates a value against a partial date format (one that lacks yy/mm/dd all three).\nDay- and year-only formats (dd/yy/yyyy) are checked as integer ranges; other partial formats use\na date-fns parse + round-trip to confirm both validity and exact formatting.",
|
|
16125
|
+
"return": {
|
|
16126
|
+
"type": {
|
|
16127
|
+
"text": "boolean"
|
|
16128
|
+
}
|
|
16129
|
+
}
|
|
16130
|
+
},
|
|
16061
16131
|
{
|
|
16062
16132
|
"kind": "method",
|
|
16063
16133
|
"name": "toModelValue",
|
package/package.json
CHANGED