@aurodesignsystem-dev/auro-formkit 0.0.0-pr1506.1 → 0.0.0-pr1507.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 +1 -1
  2. package/components/checkbox/demo/getting-started.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/customize.min.js +268 -140
  7. package/components/combobox/demo/getting-started.min.js +268 -140
  8. package/components/combobox/demo/index.min.js +268 -140
  9. package/components/combobox/dist/auro-combobox.d.ts +0 -9
  10. package/components/combobox/dist/index.js +266 -138
  11. package/components/combobox/dist/registered.js +266 -138
  12. package/components/counter/demo/customize.min.js +2 -2
  13. package/components/counter/demo/index.min.js +2 -2
  14. package/components/counter/dist/index.js +2 -2
  15. package/components/counter/dist/registered.js +2 -2
  16. package/components/datepicker/demo/customize.min.js +149 -39
  17. package/components/datepicker/demo/index.min.js +149 -39
  18. package/components/datepicker/dist/index.js +149 -39
  19. package/components/datepicker/dist/registered.js +149 -39
  20. package/components/dropdown/demo/customize.min.js +1 -1
  21. package/components/dropdown/demo/getting-started.min.js +1 -1
  22. package/components/dropdown/demo/index.min.js +1 -1
  23. package/components/dropdown/dist/index.js +1 -1
  24. package/components/dropdown/dist/registered.js +1 -1
  25. package/components/form/demo/customize.min.js +570 -221
  26. package/components/form/demo/getting-started.min.js +570 -221
  27. package/components/form/demo/index.min.js +570 -221
  28. package/components/form/demo/registerDemoDeps.min.js +570 -221
  29. package/components/input/demo/customize.min.js +147 -36
  30. package/components/input/demo/getting-started.min.js +147 -36
  31. package/components/input/demo/index.min.js +147 -36
  32. package/components/input/dist/base-input.d.ts +48 -0
  33. package/components/input/dist/index.js +147 -36
  34. package/components/input/dist/registered.js +147 -36
  35. package/components/menu/demo/index.min.js +2 -2
  36. package/components/menu/dist/index.js +2 -2
  37. package/components/menu/dist/registered.js +2 -2
  38. package/components/radio/demo/customize.min.js +1 -1
  39. package/components/radio/demo/getting-started.min.js +1 -1
  40. package/components/radio/demo/index.min.js +1 -1
  41. package/components/radio/dist/index.js +1 -1
  42. package/components/radio/dist/registered.js +1 -1
  43. package/components/select/demo/customize.min.js +4 -4
  44. package/components/select/demo/getting-started.min.js +4 -4
  45. package/components/select/demo/index.min.js +4 -4
  46. package/components/select/dist/index.js +2 -2
  47. package/components/select/dist/registered.js +2 -2
  48. package/custom-elements.json +264 -20
  49. package/package.json +1 -1
@@ -1256,26 +1256,6 @@
1256
1256
  "description": "Update displayValue or input.value, it's called when making a selection.",
1257
1257
  "privacy": "private"
1258
1258
  },
1259
- {
1260
- "kind": "method",
1261
- "name": "syncInputValuesAcrossTriggerAndBib",
1262
- "parameters": [
1263
- {
1264
- "name": "nextValue",
1265
- "description": "The value to write to both inputs.",
1266
- "type": {
1267
- "text": "string"
1268
- }
1269
- }
1270
- ],
1271
- "description": "Writes nextValue to the trigger input and the bib input when their current\nvalue differs, then re-asserts imask after Lit's update flushes.",
1272
- "return": {
1273
- "type": {
1274
- "text": "Promise<void> | null"
1275
- }
1276
- },
1277
- "privacy": "private"
1278
- },
1279
1259
  {
1280
1260
  "kind": "method",
1281
1261
  "name": "handleMenuOptions",
@@ -11716,6 +11696,61 @@
11716
11696
  "module": "components/input/src/base-input.js"
11717
11697
  }
11718
11698
  },
11699
+ {
11700
+ "kind": "method",
11701
+ "name": "_computeDateObjectFallback",
11702
+ "parameters": [
11703
+ {
11704
+ "name": "dateStr",
11705
+ "description": "ISO date string from `value`/`min`/`max`.",
11706
+ "type": {
11707
+ "text": "string|undefined"
11708
+ }
11709
+ }
11710
+ ],
11711
+ "description": "Parses a date string into a Date object when the corresponding `_*Object`\nfield hasn't been synced yet by `updated()`. Returns undefined when the\ninput type/format isn't a full date or the string is not a valid date.\n\nWhy this exists: a parent (datepicker) can call `inputN.validate()` from\ninside its own `updated()` before this input's `updated()` has run\n`syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`\nand range checks would otherwise silently no-op (flipping the result to\n`valid` or `patternMismatch`).",
11712
+ "privacy": "private",
11713
+ "return": {
11714
+ "type": {
11715
+ "text": "Date|undefined"
11716
+ }
11717
+ },
11718
+ "inheritedFrom": {
11719
+ "name": "BaseInput",
11720
+ "module": "components/input/src/base-input.js"
11721
+ }
11722
+ },
11723
+ {
11724
+ "kind": "method",
11725
+ "name": "setDateObjectProperty",
11726
+ "parameters": [
11727
+ {
11728
+ "name": "propertyName",
11729
+ "description": "Public object property name.",
11730
+ "type": {
11731
+ "text": "'valueObject'|'minObject'|'maxObject'"
11732
+ }
11733
+ },
11734
+ {
11735
+ "name": "propertyValue",
11736
+ "description": "Value to assign.",
11737
+ "type": {
11738
+ "text": "Date|undefined"
11739
+ }
11740
+ }
11741
+ ],
11742
+ "description": "Internal setter for readonly date object properties.",
11743
+ "privacy": "private",
11744
+ "return": {
11745
+ "type": {
11746
+ "text": "void"
11747
+ }
11748
+ },
11749
+ "inheritedFrom": {
11750
+ "name": "BaseInput",
11751
+ "module": "components/input/src/base-input.js"
11752
+ }
11753
+ },
11719
11754
  {
11720
11755
  "kind": "method",
11721
11756
  "name": "patchInputEvent",
@@ -11769,6 +11804,70 @@
11769
11804
  "module": "components/input/src/base-input.js"
11770
11805
  }
11771
11806
  },
11807
+ {
11808
+ "kind": "method",
11809
+ "name": "syncDateValues",
11810
+ "parameters": [
11811
+ {
11812
+ "name": "changedProperties",
11813
+ "default": "undefined",
11814
+ "description": "Optional map of changed properties used to limit which values are synchronized.",
11815
+ "optional": true,
11816
+ "type": {
11817
+ "text": "Map<string, unknown>|undefined"
11818
+ }
11819
+ }
11820
+ ],
11821
+ "description": "Synchronizes the ISO string values and Date object representations for date-related properties.\nThis keeps the model and display values aligned when either side changes.\n\nWhen a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding\nDate objects or vice versa, based on which properties have changed. It only runs when the current configuration\nrepresents a full year/month/day date format.",
11822
+ "return": {
11823
+ "type": {
11824
+ "text": "void"
11825
+ }
11826
+ },
11827
+ "privacy": "private",
11828
+ "inheritedFrom": {
11829
+ "name": "BaseInput",
11830
+ "module": "components/input/src/base-input.js"
11831
+ }
11832
+ },
11833
+ {
11834
+ "kind": "method",
11835
+ "name": "syncSingleDateValue",
11836
+ "parameters": [
11837
+ {
11838
+ "name": "changedProperties",
11839
+ "description": "Map of changed properties from Lit.",
11840
+ "type": {
11841
+ "text": "Map<string, unknown>|undefined"
11842
+ }
11843
+ },
11844
+ {
11845
+ "name": "objectProperty",
11846
+ "description": "Date object property name.",
11847
+ "type": {
11848
+ "text": "string"
11849
+ }
11850
+ },
11851
+ {
11852
+ "name": "valueProperty",
11853
+ "description": "ISO string property name.",
11854
+ "type": {
11855
+ "text": "string"
11856
+ }
11857
+ }
11858
+ ],
11859
+ "description": "Synchronizes one date object/string property pair.",
11860
+ "privacy": "private",
11861
+ "return": {
11862
+ "type": {
11863
+ "text": "void"
11864
+ }
11865
+ },
11866
+ "inheritedFrom": {
11867
+ "name": "BaseInput",
11868
+ "module": "components/input/src/base-input.js"
11869
+ }
11870
+ },
11772
11871
  {
11773
11872
  "kind": "method",
11774
11873
  "name": "configureAutoFormatting",
@@ -12144,6 +12243,15 @@
12144
12243
  "module": "components/input/src/base-input.js"
12145
12244
  }
12146
12245
  },
12246
+ {
12247
+ "kind": "field",
12248
+ "name": "_maxObject",
12249
+ "default": "undefined",
12250
+ "inheritedFrom": {
12251
+ "name": "BaseInput",
12252
+ "module": "components/input/src/base-input.js"
12253
+ }
12254
+ },
12147
12255
  {
12148
12256
  "kind": "field",
12149
12257
  "name": "maxLength",
@@ -12175,6 +12283,15 @@
12175
12283
  "module": "components/input/src/base-input.js"
12176
12284
  }
12177
12285
  },
12286
+ {
12287
+ "kind": "field",
12288
+ "name": "_minObject",
12289
+ "default": "undefined",
12290
+ "inheritedFrom": {
12291
+ "name": "BaseInput",
12292
+ "module": "components/input/src/base-input.js"
12293
+ }
12294
+ },
12178
12295
  {
12179
12296
  "kind": "field",
12180
12297
  "name": "minLength",
@@ -12283,6 +12400,15 @@
12283
12400
  "module": "components/input/src/base-input.js"
12284
12401
  }
12285
12402
  },
12403
+ {
12404
+ "kind": "field",
12405
+ "name": "_valueObject",
12406
+ "default": "undefined",
12407
+ "inheritedFrom": {
12408
+ "name": "BaseInput",
12409
+ "module": "components/input/src/base-input.js"
12410
+ }
12411
+ },
12286
12412
  {
12287
12413
  "kind": "field",
12288
12414
  "name": "a11yRole",
@@ -13681,6 +13807,53 @@
13681
13807
  },
13682
13808
  "readonly": true
13683
13809
  },
13810
+ {
13811
+ "kind": "method",
13812
+ "name": "_computeDateObjectFallback",
13813
+ "parameters": [
13814
+ {
13815
+ "name": "dateStr",
13816
+ "description": "ISO date string from `value`/`min`/`max`.",
13817
+ "type": {
13818
+ "text": "string|undefined"
13819
+ }
13820
+ }
13821
+ ],
13822
+ "description": "Parses a date string into a Date object when the corresponding `_*Object`\nfield hasn't been synced yet by `updated()`. Returns undefined when the\ninput type/format isn't a full date or the string is not a valid date.\n\nWhy this exists: a parent (datepicker) can call `inputN.validate()` from\ninside its own `updated()` before this input's `updated()` has run\n`syncDateValues()` — so `_valueObject`/`_maxObject` are still `undefined`\nand range checks would otherwise silently no-op (flipping the result to\n`valid` or `patternMismatch`).",
13823
+ "privacy": "private",
13824
+ "return": {
13825
+ "type": {
13826
+ "text": "Date|undefined"
13827
+ }
13828
+ }
13829
+ },
13830
+ {
13831
+ "kind": "method",
13832
+ "name": "setDateObjectProperty",
13833
+ "parameters": [
13834
+ {
13835
+ "name": "propertyName",
13836
+ "description": "Public object property name.",
13837
+ "type": {
13838
+ "text": "'valueObject'|'minObject'|'maxObject'"
13839
+ }
13840
+ },
13841
+ {
13842
+ "name": "propertyValue",
13843
+ "description": "Value to assign.",
13844
+ "type": {
13845
+ "text": "Date|undefined"
13846
+ }
13847
+ }
13848
+ ],
13849
+ "description": "Internal setter for readonly date object properties.",
13850
+ "privacy": "private",
13851
+ "return": {
13852
+ "type": {
13853
+ "text": "void"
13854
+ }
13855
+ }
13856
+ },
13684
13857
  {
13685
13858
  "kind": "method",
13686
13859
  "name": "patchInputEvent",
@@ -13722,6 +13895,62 @@
13722
13895
  }
13723
13896
  }
13724
13897
  },
13898
+ {
13899
+ "kind": "method",
13900
+ "name": "syncDateValues",
13901
+ "parameters": [
13902
+ {
13903
+ "name": "changedProperties",
13904
+ "default": "undefined",
13905
+ "description": "Optional map of changed properties used to limit which values are synchronized.",
13906
+ "optional": true,
13907
+ "type": {
13908
+ "text": "Map<string, unknown>|undefined"
13909
+ }
13910
+ }
13911
+ ],
13912
+ "description": "Synchronizes the ISO string values and Date object representations for date-related properties.\nThis keeps the model and display values aligned when either side changes.\n\nWhen a full date format is in use, this method updates `value`, `min`, and `max` from their corresponding\nDate objects or vice versa, based on which properties have changed. It only runs when the current configuration\nrepresents a full year/month/day date format.",
13913
+ "return": {
13914
+ "type": {
13915
+ "text": "void"
13916
+ }
13917
+ },
13918
+ "privacy": "private"
13919
+ },
13920
+ {
13921
+ "kind": "method",
13922
+ "name": "syncSingleDateValue",
13923
+ "parameters": [
13924
+ {
13925
+ "name": "changedProperties",
13926
+ "description": "Map of changed properties from Lit.",
13927
+ "type": {
13928
+ "text": "Map<string, unknown>|undefined"
13929
+ }
13930
+ },
13931
+ {
13932
+ "name": "objectProperty",
13933
+ "description": "Date object property name.",
13934
+ "type": {
13935
+ "text": "string"
13936
+ }
13937
+ },
13938
+ {
13939
+ "name": "valueProperty",
13940
+ "description": "ISO string property name.",
13941
+ "type": {
13942
+ "text": "string"
13943
+ }
13944
+ }
13945
+ ],
13946
+ "description": "Synchronizes one date object/string property pair.",
13947
+ "privacy": "private",
13948
+ "return": {
13949
+ "type": {
13950
+ "text": "void"
13951
+ }
13952
+ }
13953
+ },
13725
13954
  {
13726
13955
  "kind": "method",
13727
13956
  "name": "configureAutoFormatting",
@@ -14009,6 +14238,11 @@
14009
14238
  "default": "undefined",
14010
14239
  "attribute": "max"
14011
14240
  },
14241
+ {
14242
+ "kind": "field",
14243
+ "name": "_maxObject",
14244
+ "default": "undefined"
14245
+ },
14012
14246
  {
14013
14247
  "kind": "field",
14014
14248
  "name": "maxLength",
@@ -14032,6 +14266,11 @@
14032
14266
  "default": "undefined",
14033
14267
  "attribute": "min"
14034
14268
  },
14269
+ {
14270
+ "kind": "field",
14271
+ "name": "_minObject",
14272
+ "default": "undefined"
14273
+ },
14035
14274
  {
14036
14275
  "kind": "field",
14037
14276
  "name": "minLength",
@@ -14124,6 +14363,11 @@
14124
14363
  "default": "undefined",
14125
14364
  "attribute": "value"
14126
14365
  },
14366
+ {
14367
+ "kind": "field",
14368
+ "name": "_valueObject",
14369
+ "default": "undefined"
14370
+ },
14127
14371
  {
14128
14372
  "kind": "field",
14129
14373
  "name": "a11yRole",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-formkit",
3
- "version": "0.0.0-pr1506.1",
3
+ "version": "0.0.0-pr1507.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": {