@aurodesignsystem-dev/auro-formkit 0.0.0-pr1519.1 → 0.0.0-pr1521.0

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.
Files changed (49) hide show
  1. package/components/checkbox/demo/customize.min.js +2 -15
  2. package/components/checkbox/demo/getting-started.min.js +2 -15
  3. package/components/checkbox/demo/index.min.js +2 -15
  4. package/components/checkbox/dist/index.js +2 -15
  5. package/components/checkbox/dist/registered.js +2 -15
  6. package/components/combobox/demo/customize.min.js +10 -105
  7. package/components/combobox/demo/getting-started.min.js +10 -105
  8. package/components/combobox/demo/index.min.js +10 -105
  9. package/components/combobox/dist/index.js +10 -105
  10. package/components/combobox/dist/registered.js +10 -105
  11. package/components/counter/demo/customize.min.js +3 -33
  12. package/components/counter/demo/index.min.js +3 -33
  13. package/components/counter/dist/index.js +3 -33
  14. package/components/counter/dist/registered.js +3 -33
  15. package/components/datepicker/demo/customize.min.js +75 -153
  16. package/components/datepicker/demo/index.min.js +75 -153
  17. package/components/datepicker/dist/auro-calendar-cell.d.ts +14 -0
  18. package/components/datepicker/dist/auro-calendar.d.ts +12 -0
  19. package/components/datepicker/dist/index.js +75 -153
  20. package/components/datepicker/dist/registered.js +75 -153
  21. package/components/dropdown/demo/customize.min.js +1 -18
  22. package/components/dropdown/demo/getting-started.min.js +1 -18
  23. package/components/dropdown/demo/index.min.js +1 -18
  24. package/components/dropdown/dist/index.js +1 -18
  25. package/components/dropdown/dist/registered.js +1 -18
  26. package/components/form/demo/customize.min.js +102 -441
  27. package/components/form/demo/getting-started.min.js +102 -441
  28. package/components/form/demo/index.min.js +102 -441
  29. package/components/form/demo/registerDemoDeps.min.js +102 -441
  30. package/components/input/demo/api.md +57 -58
  31. package/components/input/demo/customize.min.js +7 -72
  32. package/components/input/demo/getting-started.min.js +7 -72
  33. package/components/input/demo/index.min.js +7 -72
  34. package/components/input/dist/base-input.d.ts +3 -9
  35. package/components/input/dist/index.js +7 -72
  36. package/components/input/dist/registered.js +7 -72
  37. package/components/input/dist/utilities.d.ts +0 -9
  38. package/components/radio/demo/customize.min.js +2 -15
  39. package/components/radio/demo/getting-started.min.js +2 -15
  40. package/components/radio/demo/index.min.js +2 -15
  41. package/components/radio/dist/index.js +2 -15
  42. package/components/radio/dist/registered.js +2 -15
  43. package/components/select/demo/customize.min.js +3 -48
  44. package/components/select/demo/getting-started.min.js +3 -48
  45. package/components/select/demo/index.min.js +3 -48
  46. package/components/select/dist/index.js +3 -48
  47. package/components/select/dist/registered.js +3 -48
  48. package/custom-elements.json +45 -78
  49. package/package.json +1 -1
@@ -4709,6 +4709,32 @@
4709
4709
  }
4710
4710
  }
4711
4711
  },
4712
+ {
4713
+ "kind": "method",
4714
+ "name": "applyCommittedRangeClasses",
4715
+ "parameters": [
4716
+ {
4717
+ "name": "dateFrom",
4718
+ "description": "Depart timestamp (seconds).",
4719
+ "type": {
4720
+ "text": "Number"
4721
+ }
4722
+ },
4723
+ {
4724
+ "name": "dateTo",
4725
+ "description": "Return timestamp (seconds).",
4726
+ "type": {
4727
+ "text": "Number"
4728
+ }
4729
+ }
4730
+ ],
4731
+ "description": "Re-applies the committed-range classes (inRange / rangeDepartDate /\nrangeReturnDate) imperatively from the current dateFrom/dateTo. Used\nafter month navigation flushes: classMap in `renderCellButton` tracks\nits own previous state, so a preceding imperative `classList.remove`\n(from `clearRangePreviewClasses`) leaves classMap thinking the class\nis still applied. On re-render with the same class-value, classMap\nemits no delta and the class stays missing in the DOM. Re-toggling\nimperatively resyncs the DOM with the committed range.",
4732
+ "return": {
4733
+ "type": {
4734
+ "text": "void"
4735
+ }
4736
+ }
4737
+ },
4712
4738
  {
4713
4739
  "kind": "method",
4714
4740
  "name": "renderCellButton"
@@ -5799,6 +5825,17 @@
5799
5825
  }
5800
5826
  }
5801
5827
  },
5828
+ {
5829
+ "kind": "method",
5830
+ "name": "refreshCommittedRangeClasses",
5831
+ "description": "Re-applies the committed-range classes across every visible cell after\na month navigation. classMap in the cell tracks its own previous state:\nonce `clearRangePreview({ force: true })` strips `inRange`/`rangeDepartDate`\nimperatively before the re-render, classMap's next diff sees the same\nclass-value it emitted before and produces no delta, leaving the DOM\nwithout the classes even though a full range is committed. Re-applying\nimperatively resyncs the two months' cells with `dateFrom`/`dateTo`.",
5832
+ "privacy": "private",
5833
+ "return": {
5834
+ "type": {
5835
+ "text": "void"
5836
+ }
5837
+ }
5838
+ },
5802
5839
  {
5803
5840
  "kind": "method",
5804
5841
  "name": "hoveredDateChanged",
@@ -12971,7 +13008,7 @@
12971
13008
  "type": {
12972
13009
  "text": "string"
12973
13010
  },
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.",
13011
+ "description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\nThe format for this property should be ISO for `date` type inputs.",
12975
13012
  "default": "undefined",
12976
13013
  "attribute": "value",
12977
13014
  "inheritedFrom": {
@@ -13330,20 +13367,6 @@
13330
13367
  "module": "components/input/src/base-input.js"
13331
13368
  }
13332
13369
  },
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
- },
13347
13370
  {
13348
13371
  "kind": "field",
13349
13372
  "name": "setCustomValidityRangeOverflow",
@@ -13449,7 +13472,7 @@
13449
13472
  "name": "type",
13450
13473
  "privacy": "public",
13451
13474
  "type": {
13452
- "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
13475
+ "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'"
13453
13476
  },
13454
13477
  "description": "Populates the `type` attribute on the input.",
13455
13478
  "default": "'text'",
@@ -13996,18 +14019,6 @@
13996
14019
  "module": "components/input/src/base-input.js"
13997
14020
  }
13998
14021
  },
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
- },
14011
14022
  {
14012
14023
  "name": "setCustomValidityRangeOverflow",
14013
14024
  "type": {
@@ -14107,7 +14118,7 @@
14107
14118
  {
14108
14119
  "name": "type",
14109
14120
  "type": {
14110
- "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
14121
+ "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'"
14111
14122
  },
14112
14123
  "description": "Populates the `type` attribute on the input.",
14113
14124
  "default": "'text'",
@@ -14146,7 +14157,7 @@
14146
14157
  "type": {
14147
14158
  "text": "string"
14148
14159
  },
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.",
14160
+ "description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\nThe format for this property should be ISO for `date` type inputs.",
14150
14161
  "default": "undefined",
14151
14162
  "fieldName": "value",
14152
14163
  "inheritedFrom": {
@@ -14895,7 +14906,7 @@
14895
14906
  "type": {
14896
14907
  "text": "string"
14897
14908
  },
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.",
14909
+ "description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\nThe format for this property should be ISO for `date` type inputs.",
14899
14910
  "default": "undefined",
14900
14911
  "attribute": "value"
14901
14912
  },
@@ -15154,16 +15165,6 @@
15154
15165
  "description": "Custom help text message to display when validity = `customError`.",
15155
15166
  "attribute": "setCustomValidityCustomError"
15156
15167
  },
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
- },
15167
15168
  {
15168
15169
  "kind": "field",
15169
15170
  "name": "setCustomValidityRangeOverflow",
@@ -15241,7 +15242,7 @@
15241
15242
  "name": "type",
15242
15243
  "privacy": "public",
15243
15244
  "type": {
15244
- "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
15245
+ "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'"
15245
15246
  },
15246
15247
  "description": "Populates the `type` attribute on the input.",
15247
15248
  "default": "'text'",
@@ -15638,14 +15639,6 @@
15638
15639
  "default": "undefined",
15639
15640
  "fieldName": "setCustomValidityForType"
15640
15641
  },
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
- },
15649
15642
  {
15650
15643
  "name": "setCustomValidityRangeOverflow",
15651
15644
  "type": {
@@ -15713,7 +15706,7 @@
15713
15706
  {
15714
15707
  "name": "type",
15715
15708
  "type": {
15716
- "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number' | 'date'"
15709
+ "text": "'text' | 'password' | 'email' | 'credit-card' | 'tel' | 'number'"
15717
15710
  },
15718
15711
  "description": "Populates the `type` attribute on the input.",
15719
15712
  "default": "'text'",
@@ -15740,7 +15733,7 @@
15740
15733
  "type": {
15741
15734
  "text": "string"
15742
15735
  },
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.",
15736
+ "description": "Populates the `value` attribute on the input. Can also be read to retrieve the current value of the input.\nThe format for this property should be ISO for `date` type inputs.",
15744
15737
  "default": "undefined",
15745
15738
  "fieldName": "value"
15746
15739
  },
@@ -16102,32 +16095,6 @@
16102
16095
  }
16103
16096
  }
16104
16097
  },
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
- },
16131
16098
  {
16132
16099
  "kind": "method",
16133
16100
  "name": "toModelValue",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-formkit",
3
- "version": "0.0.0-pr1519.1",
3
+ "version": "0.0.0-pr1521.0",
4
4
  "description": "A collection of web components used to build forms.",
5
5
  "homepage": "https://github.com/AlaskaAirlines/auro-formkit#readme",
6
6
  "bugs": {