@ionic/core 7.5.8-dev.11701894917.1c1465bd → 7.5.8-dev.11702074871.1238046f

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 (198) hide show
  1. package/components/data.js +1 -1
  2. package/components/ion-datetime.js +39 -30
  3. package/components/ion-picker-column-option.d.ts +11 -0
  4. package/components/ion-picker-column-option.js +9 -0
  5. package/components/ion-picker-column.js +2 -2
  6. package/components/ion-picker-legacy-column.d.ts +11 -0
  7. package/components/ion-picker-legacy-column.js +9 -0
  8. package/components/{ion-picker-internal.d.ts → ion-picker-legacy.d.ts} +4 -4
  9. package/components/ion-picker-legacy.js +309 -0
  10. package/components/ion-picker.js +1 -309
  11. package/components/overlays.js +6 -3
  12. package/components/picker-column-option.js +122 -0
  13. package/components/picker-column.js +351 -322
  14. package/components/picker-column2.js +379 -0
  15. package/components/{picker-internal.js → picker.js} +29 -22
  16. package/dist/cjs/{data-36b9094e.js → data-e7526b58.js} +1 -1
  17. package/dist/cjs/index.cjs.js +1 -1
  18. package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
  19. package/dist/cjs/ion-alert.cjs.entry.js +1 -1
  20. package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
  21. package/dist/cjs/ion-datetime_3.cjs.entry.js +29 -35
  22. package/dist/cjs/ion-loading.cjs.entry.js +1 -1
  23. package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
  24. package/dist/cjs/ion-modal.cjs.entry.js +1 -1
  25. package/dist/cjs/ion-picker-column-option.cjs.entry.js +104 -0
  26. package/dist/cjs/{ion-picker-column-internal.cjs.entry.js → ion-picker-column.cjs.entry.js} +104 -87
  27. package/dist/cjs/{ion-picker-internal.cjs.entry.js → ion-picker.cjs.entry.js} +26 -19
  28. package/dist/cjs/ion-popover.cjs.entry.js +1 -1
  29. package/dist/cjs/ion-select_3.cjs.entry.js +1 -1
  30. package/dist/cjs/ion-toast.cjs.entry.js +1 -1
  31. package/dist/cjs/ionic.cjs.js +1 -1
  32. package/dist/cjs/loader.cjs.js +1 -1
  33. package/dist/cjs/{overlays-2c6b1072.js → overlays-e8e05b0e.js} +6 -3
  34. package/dist/collection/collection-manifest.json +7 -6
  35. package/dist/collection/components/datetime/datetime.ios.css +8 -13
  36. package/dist/collection/components/datetime/datetime.js +19 -16
  37. package/dist/collection/components/datetime/datetime.md.css +8 -13
  38. package/dist/collection/components/datetime/test/datetime.e2e.js +2 -2
  39. package/dist/collection/components/datetime/test/disabled/datetime.spec.js +4 -4
  40. package/dist/collection/components/datetime/test/locale/datetime.e2e.js +2 -2
  41. package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +6 -6
  42. package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +43 -41
  43. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +1 -1
  44. package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +2 -2
  45. package/dist/collection/components/datetime/test/values/datetime.e2e.js +15 -12
  46. package/dist/collection/components/datetime/utils/data.js +1 -1
  47. package/dist/collection/components/picker/picker.ios.css +113 -211
  48. package/dist/collection/components/picker/picker.js +468 -743
  49. package/dist/collection/components/picker/picker.md.css +109 -198
  50. package/dist/collection/components/{picker-internal/test/a11y/picker-internal.e2e.js → picker/test/a11y/picker.e2e.js} +2 -2
  51. package/dist/collection/components/picker/test/basic/picker.e2e.js +99 -13
  52. package/dist/collection/components/picker/test/custom/picker.e2e.js +85 -0
  53. package/dist/collection/components/{picker-internal/test/keyboard-entry/picker-internal.e2e.js → picker/test/keyboard-entry/picker.e2e.js} +63 -32
  54. package/dist/collection/components/{picker-column-internal/picker-column-internal.md.css → picker-column/picker-column.css} +96 -83
  55. package/dist/collection/components/picker-column/picker-column.js +497 -335
  56. package/dist/collection/components/{picker-column-internal/test/basic/picker-column-internal.e2e.js → picker-column/test/basic/picker-column.e2e.js} +8 -8
  57. package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +91 -0
  58. package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +39 -0
  59. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +87 -0
  60. package/dist/collection/components/picker-column-option/picker-column-option.js +173 -0
  61. package/dist/collection/components/{picker-column-internal/picker-column-internal.ios.css → picker-column-option/picker-column-option.md.css} +6 -53
  62. package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +18 -0
  63. package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +37 -0
  64. package/dist/collection/components/picker-column-option/test/picker-column-option.spec.js +29 -0
  65. package/dist/collection/components/{picker-internal/picker-internal.md.css → picker-legacy/picker.ios.css} +207 -98
  66. package/dist/collection/components/picker-legacy/picker.js +817 -0
  67. package/dist/collection/components/{picker-internal/picker-internal.ios.css → picker-legacy/picker.md.css} +192 -100
  68. package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +25 -0
  69. package/dist/collection/components/{picker → picker-legacy}/test/is-open/picker.e2e.js +4 -4
  70. package/dist/collection/components/{picker → picker-legacy}/test/picker-id.spec.js +5 -5
  71. package/dist/collection/components/{picker → picker-legacy}/test/trigger/picker.e2e.js +1 -1
  72. package/dist/collection/components/picker-legacy-column/picker-column.js +419 -0
  73. package/dist/collection/components/{picker-column → picker-legacy-column}/test/picker-column-aria.spec.js +3 -3
  74. package/dist/collection/components/{picker-column → picker-legacy-column}/test/picker-column-dynamic.spec.js +2 -2
  75. package/dist/collection/components/{picker-column → picker-legacy-column}/test/picker-column.spec.js +2 -2
  76. package/dist/collection/components/{picker-column → picker-legacy-column}/test/standalone/picker-column.e2e.js +3 -3
  77. package/dist/collection/utils/overlays.js +6 -3
  78. package/dist/docs.json +493 -24
  79. package/dist/esm/{data-f5c75b4e.js → data-4b9508c9.js} +1 -1
  80. package/dist/esm/index.js +1 -1
  81. package/dist/esm/ion-action-sheet.entry.js +1 -1
  82. package/dist/esm/ion-alert.entry.js +1 -1
  83. package/dist/esm/ion-datetime-button.entry.js +1 -1
  84. package/dist/esm/ion-datetime_3.entry.js +28 -34
  85. package/dist/esm/ion-loading.entry.js +1 -1
  86. package/dist/esm/ion-menu_3.entry.js +1 -1
  87. package/dist/esm/ion-modal.entry.js +1 -1
  88. package/dist/esm/ion-picker-column-option.entry.js +100 -0
  89. package/dist/esm/{ion-picker-column-internal.entry.js → ion-picker-column.entry.js} +104 -87
  90. package/dist/esm/{ion-picker-internal.entry.js → ion-picker.entry.js} +26 -19
  91. package/dist/esm/ion-popover.entry.js +1 -1
  92. package/dist/esm/ion-select_3.entry.js +1 -1
  93. package/dist/esm/ion-toast.entry.js +1 -1
  94. package/dist/esm/ionic.js +1 -1
  95. package/dist/esm/loader.js +1 -1
  96. package/dist/esm/{overlays-d23ea6e1.js → overlays-fbc5cab5.js} +6 -3
  97. package/dist/esm-es5/index.js +1 -1
  98. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  99. package/dist/esm-es5/ion-alert.entry.js +1 -1
  100. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  101. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  102. package/dist/esm-es5/ion-loading.entry.js +1 -1
  103. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  104. package/dist/esm-es5/ion-modal.entry.js +1 -1
  105. package/dist/esm-es5/ion-picker-column-option.entry.js +4 -0
  106. package/dist/esm-es5/ion-picker-column.entry.js +4 -0
  107. package/dist/esm-es5/ion-picker.entry.js +4 -0
  108. package/dist/esm-es5/ion-popover.entry.js +1 -1
  109. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  110. package/dist/esm-es5/ion-toast.entry.js +1 -1
  111. package/dist/esm-es5/ionic.js +1 -1
  112. package/dist/esm-es5/loader.js +1 -1
  113. package/dist/esm-es5/overlays-fbc5cab5.js +4 -0
  114. package/dist/html.html-data.json +152 -1
  115. package/dist/ionic/index.esm.js +1 -1
  116. package/dist/ionic/ionic.esm.js +1 -1
  117. package/dist/ionic/{p-2f300cca.entry.js → p-21c3515a.entry.js} +1 -1
  118. package/dist/ionic/{p-1f620cd4.system.entry.js → p-26798a7b.system.entry.js} +1 -1
  119. package/dist/ionic/{p-e1e5afe1.system.entry.js → p-27bcbbc7.system.entry.js} +1 -1
  120. package/dist/ionic/p-36d194c5.entry.js +4 -0
  121. package/dist/ionic/{p-3b568d18.entry.js → p-4a081ea9.entry.js} +1 -1
  122. package/dist/ionic/{p-2f2293da.system.entry.js → p-4a36430f.system.entry.js} +1 -1
  123. package/dist/ionic/{p-fff7a57e.system.js → p-54dfc9b5.system.js} +1 -1
  124. package/dist/ionic/{p-60b386c9.system.entry.js → p-563c41f0.system.entry.js} +1 -1
  125. package/dist/ionic/p-5a1aac13.system.entry.js +4 -0
  126. package/dist/ionic/{p-27ea6f4e.entry.js → p-5d42b6b4.entry.js} +1 -1
  127. package/dist/ionic/{p-2dc43d20.entry.js → p-6b7c55cd.entry.js} +1 -1
  128. package/dist/ionic/{p-f78efbd1.entry.js → p-73190c5f.entry.js} +1 -1
  129. package/dist/ionic/{p-af19a573.entry.js → p-73aa7604.entry.js} +1 -1
  130. package/dist/ionic/{p-39a335b6.system.entry.js → p-8017aad2.system.entry.js} +1 -1
  131. package/dist/ionic/{p-1e57bd24.entry.js → p-846ee227.entry.js} +1 -1
  132. package/dist/ionic/p-8e42850f.entry.js +4 -0
  133. package/dist/ionic/p-8fa6583d.system.js +4 -0
  134. package/dist/ionic/{p-4df97e3c.system.entry.js → p-96dbbac1.system.entry.js} +1 -1
  135. package/dist/ionic/p-9f1b2214.entry.js +4 -0
  136. package/dist/ionic/{p-8780cc2a.entry.js → p-a8baa23e.entry.js} +1 -1
  137. package/dist/ionic/p-afcf4620.entry.js +4 -0
  138. package/dist/ionic/{p-ddb30596.entry.js → p-b133e9b4.entry.js} +1 -1
  139. package/dist/ionic/{p-3e3d06a6.system.entry.js → p-c18de88a.system.entry.js} +1 -1
  140. package/dist/ionic/p-c41bff4e.system.entry.js +4 -0
  141. package/dist/ionic/p-ca846d0b.system.entry.js +4 -0
  142. package/dist/ionic/p-ca8938f4.js +4 -0
  143. package/dist/ionic/p-e3584231.system.js +1 -1
  144. package/dist/ionic/{p-9eec42cc.system.entry.js → p-f910cc73.system.entry.js} +1 -1
  145. package/dist/ionic/{p-e3ad9607.system.entry.js → p-fbf3a689.system.entry.js} +1 -1
  146. package/dist/ionic/p-ffd5dba4.system.entry.js +4 -0
  147. package/dist/types/components/datetime/utils/data.d.ts +11 -7
  148. package/dist/types/components/picker/picker-interfaces.d.ts +8 -0
  149. package/dist/types/components/picker/picker.d.ts +74 -131
  150. package/dist/types/components/picker-column/picker-column-interfaces.d.ts +4 -0
  151. package/dist/types/components/picker-column/picker-column.d.ts +99 -39
  152. package/dist/types/components/picker-column-option/picker-column-option.d.ts +66 -0
  153. package/dist/types/components/picker-legacy/picker.d.ts +158 -0
  154. package/dist/types/components/picker-legacy-column/picker-column.d.ts +46 -0
  155. package/dist/types/components.d.ts +155 -122
  156. package/dist/types/interface.d.ts +1 -1
  157. package/dist/types/utils/config.d.ts +2 -2
  158. package/dist/types/utils/overlays.d.ts +5 -2
  159. package/hydrate/index.js +1486 -1362
  160. package/package.json +1 -1
  161. package/components/ion-picker-column-internal.d.ts +0 -11
  162. package/components/ion-picker-column-internal.js +0 -9
  163. package/components/ion-picker-internal.js +0 -9
  164. package/components/picker-column-internal.js +0 -390
  165. package/dist/collection/components/picker-column-internal/picker-column-internal.js +0 -565
  166. package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +0 -162
  167. package/dist/collection/components/picker-internal/picker-internal.js +0 -544
  168. package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +0 -118
  169. package/dist/esm-es5/ion-picker-column-internal.entry.js +0 -4
  170. package/dist/esm-es5/ion-picker-internal.entry.js +0 -4
  171. package/dist/esm-es5/overlays-d23ea6e1.js +0 -4
  172. package/dist/ionic/p-60502e3f.system.entry.js +0 -4
  173. package/dist/ionic/p-67da080d.entry.js +0 -4
  174. package/dist/ionic/p-73ea8f82.system.entry.js +0 -4
  175. package/dist/ionic/p-80fa068e.entry.js +0 -4
  176. package/dist/ionic/p-ab11130c.system.js +0 -4
  177. package/dist/ionic/p-af16fe62.entry.js +0 -4
  178. package/dist/ionic/p-c14f8ac8.js +0 -4
  179. package/dist/ionic/p-cce9f61a.system.entry.js +0 -4
  180. package/dist/types/components/picker-column-internal/picker-column-internal-interfaces.d.ts +0 -5
  181. package/dist/types/components/picker-column-internal/picker-column-internal.d.ts +0 -102
  182. package/dist/types/components/picker-internal/picker-internal-interfaces.d.ts +0 -8
  183. package/dist/types/components/picker-internal/picker-internal.d.ts +0 -102
  184. /package/dist/collection/components/{picker-internal/picker-internal-interfaces.js → picker/picker-interfaces.js} +0 -0
  185. /package/dist/collection/components/{picker-column-internal/picker-column-internal-interfaces.js → picker-column/picker-column-interfaces.js} +0 -0
  186. /package/dist/collection/components/{picker → picker-legacy}/animations/ios.enter.js +0 -0
  187. /package/dist/collection/components/{picker → picker-legacy}/animations/ios.leave.js +0 -0
  188. /package/dist/collection/components/{picker → picker-legacy}/picker-interface.js +0 -0
  189. /package/dist/collection/components/{picker-column → picker-legacy-column}/picker-column.ios.css +0 -0
  190. /package/dist/collection/components/{picker-column → picker-legacy-column}/picker-column.md.css +0 -0
  191. /package/dist/collection/components/{picker-column → picker-legacy-column}/test/test.utils.js +0 -0
  192. /package/dist/esm-es5/{data-f5c75b4e.js → data-4b9508c9.js} +0 -0
  193. /package/dist/ionic/{p-2aea8b1e.js → p-368f5215.js} +0 -0
  194. /package/dist/ionic/{p-82e3d633.system.js → p-f58981c2.system.js} +0 -0
  195. /package/dist/types/components/{picker → picker-legacy}/animations/ios.enter.d.ts +0 -0
  196. /package/dist/types/components/{picker → picker-legacy}/animations/ios.leave.d.ts +0 -0
  197. /package/dist/types/components/{picker → picker-legacy}/picker-interface.d.ts +0 -0
  198. /package/dist/types/components/{picker-column → picker-legacy-column}/test/test.utils.d.ts +0 -0
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-12-06T20:38:01",
2
+ "timestamp": "2023-12-08T22:36:28",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.8.1",
@@ -2574,7 +2574,7 @@
2574
2574
  "ion-loading",
2575
2575
  "ion-menu",
2576
2576
  "ion-modal",
2577
- "ion-picker",
2577
+ "ion-picker-legacy",
2578
2578
  "ion-popover"
2579
2579
  ],
2580
2580
  "dependencies": [],
@@ -2594,7 +2594,7 @@
2594
2594
  "ion-modal": [
2595
2595
  "ion-backdrop"
2596
2596
  ],
2597
- "ion-picker": [
2597
+ "ion-picker-legacy": [
2598
2598
  "ion-backdrop"
2599
2599
  ],
2600
2600
  "ion-popover": [
@@ -7866,6 +7866,11 @@
7866
7866
  "name": "--wheel-highlight-background",
7867
7867
  "annotation": "prop",
7868
7868
  "docs": "The background of the highlight under the selected item when using a wheel style layout, or in the month/year picker for grid style layouts."
7869
+ },
7870
+ {
7871
+ "name": "--wheel-highlight-border-radius",
7872
+ "annotation": "prop",
7873
+ "docs": "The border radius of the highlight under the selected item when using a wheel style layout, or in the month/year picker for grid style layouts."
7869
7874
  }
7870
7875
  ],
7871
7876
  "slots": [
@@ -7924,8 +7929,9 @@
7924
7929
  "dependencies": [
7925
7930
  "ion-buttons",
7926
7931
  "ion-button",
7927
- "ion-picker-internal",
7928
- "ion-picker-column-internal",
7932
+ "ion-picker",
7933
+ "ion-picker-column",
7934
+ "ion-picker-column-option",
7929
7935
  "ion-icon",
7930
7936
  "ion-ripple-effect",
7931
7937
  "ion-popover"
@@ -7934,8 +7940,9 @@
7934
7940
  "ion-datetime": [
7935
7941
  "ion-buttons",
7936
7942
  "ion-button",
7937
- "ion-picker-internal",
7938
- "ion-picker-column-internal",
7943
+ "ion-picker",
7944
+ "ion-picker-column",
7945
+ "ion-picker-column-option",
7939
7946
  "ion-icon",
7940
7947
  "ion-ripple-effect",
7941
7948
  "ion-popover"
@@ -17250,7 +17257,7 @@
17250
17257
  },
17251
17258
  {
17252
17259
  "filePath": "src/components/picker/picker.tsx",
17253
- "encapsulation": "scoped",
17260
+ "encapsulation": "shadow",
17254
17261
  "tag": "ion-picker",
17255
17262
  "docs": "",
17256
17263
  "docsTags": [
@@ -17260,6 +17267,463 @@
17260
17267
  }
17261
17268
  ],
17262
17269
  "usage": {},
17270
+ "props": [
17271
+ {
17272
+ "name": "mode",
17273
+ "type": "\"ios\" | \"md\"",
17274
+ "mutable": false,
17275
+ "attr": "mode",
17276
+ "reflectToAttr": false,
17277
+ "docs": "The mode determines which platform styles to use.",
17278
+ "docsTags": [],
17279
+ "values": [
17280
+ {
17281
+ "value": "ios",
17282
+ "type": "string"
17283
+ },
17284
+ {
17285
+ "value": "md",
17286
+ "type": "string"
17287
+ }
17288
+ ],
17289
+ "optional": true,
17290
+ "required": false
17291
+ }
17292
+ ],
17293
+ "methods": [],
17294
+ "events": [
17295
+ {
17296
+ "event": "ionInputModeChange",
17297
+ "detail": "PickerChangeEventDetail",
17298
+ "bubbles": true,
17299
+ "complexType": {
17300
+ "original": "PickerChangeEventDetail",
17301
+ "resolved": "PickerChangeEventDetail",
17302
+ "references": {
17303
+ "PickerChangeEventDetail": {
17304
+ "location": "import",
17305
+ "path": "./picker-interfaces",
17306
+ "id": "src/components/picker/picker-interfaces.ts::PickerChangeEventDetail"
17307
+ }
17308
+ }
17309
+ },
17310
+ "cancelable": true,
17311
+ "composed": true,
17312
+ "docs": "",
17313
+ "docsTags": []
17314
+ }
17315
+ ],
17316
+ "listeners": [
17317
+ {
17318
+ "event": "touchstart",
17319
+ "capture": false,
17320
+ "passive": true
17321
+ }
17322
+ ],
17323
+ "styles": [
17324
+ {
17325
+ "name": "--fade-background-rgb",
17326
+ "annotation": "prop",
17327
+ "docs": "Background of the gradient covering non-selected items in rgb format"
17328
+ },
17329
+ {
17330
+ "name": "--highlight-background",
17331
+ "annotation": "prop",
17332
+ "docs": "Background of the picker highlight for the selected item"
17333
+ },
17334
+ {
17335
+ "name": "--highlight-border-radius",
17336
+ "annotation": "prop",
17337
+ "docs": "Border radius of the picker highlight for the selected item"
17338
+ }
17339
+ ],
17340
+ "slots": [],
17341
+ "parts": [],
17342
+ "dependents": [
17343
+ "ion-datetime"
17344
+ ],
17345
+ "dependencies": [],
17346
+ "dependencyGraph": {
17347
+ "ion-datetime": [
17348
+ "ion-picker"
17349
+ ]
17350
+ }
17351
+ },
17352
+ {
17353
+ "filePath": "src/components/picker-column/picker-column.tsx",
17354
+ "encapsulation": "shadow",
17355
+ "tag": "ion-picker-column",
17356
+ "docs": "",
17357
+ "docsTags": [
17358
+ {
17359
+ "name": "virtualProp",
17360
+ "text": "{\"ios\" | \"md\"} mode - The mode determines which platform styles to use."
17361
+ },
17362
+ {
17363
+ "name": "slot",
17364
+ "text": "prefix - Content to show on the left side of the picker options."
17365
+ },
17366
+ {
17367
+ "name": "slot",
17368
+ "text": "suffix - Content to show on the right side of the picker options."
17369
+ }
17370
+ ],
17371
+ "usage": {},
17372
+ "props": [
17373
+ {
17374
+ "name": "color",
17375
+ "type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never> | undefined",
17376
+ "complexType": {
17377
+ "original": "Color",
17378
+ "resolved": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never> | undefined",
17379
+ "references": {
17380
+ "Color": {
17381
+ "location": "import",
17382
+ "path": "../../interface",
17383
+ "id": "src/interface.d.ts::Color"
17384
+ }
17385
+ }
17386
+ },
17387
+ "mutable": false,
17388
+ "attr": "color",
17389
+ "reflectToAttr": true,
17390
+ "docs": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.\nFor more information on colors, see [theming](/docs/theming/basics).",
17391
+ "docsTags": [],
17392
+ "default": "'primary'",
17393
+ "values": [
17394
+ {
17395
+ "value": "danger",
17396
+ "type": "string"
17397
+ },
17398
+ {
17399
+ "value": "dark",
17400
+ "type": "string"
17401
+ },
17402
+ {
17403
+ "value": "light",
17404
+ "type": "string"
17405
+ },
17406
+ {
17407
+ "value": "medium",
17408
+ "type": "string"
17409
+ },
17410
+ {
17411
+ "value": "primary",
17412
+ "type": "string"
17413
+ },
17414
+ {
17415
+ "value": "secondary",
17416
+ "type": "string"
17417
+ },
17418
+ {
17419
+ "value": "success",
17420
+ "type": "string"
17421
+ },
17422
+ {
17423
+ "value": "tertiary",
17424
+ "type": "string"
17425
+ },
17426
+ {
17427
+ "value": "warning",
17428
+ "type": "string"
17429
+ },
17430
+ {
17431
+ "type": "string & Record<never, never>"
17432
+ },
17433
+ {
17434
+ "type": "undefined"
17435
+ }
17436
+ ],
17437
+ "optional": true,
17438
+ "required": false
17439
+ },
17440
+ {
17441
+ "name": "disabled",
17442
+ "type": "boolean",
17443
+ "complexType": {
17444
+ "original": "boolean",
17445
+ "resolved": "boolean",
17446
+ "references": {}
17447
+ },
17448
+ "mutable": false,
17449
+ "attr": "disabled",
17450
+ "reflectToAttr": false,
17451
+ "docs": "If `true`, the user cannot interact with the picker.",
17452
+ "docsTags": [],
17453
+ "default": "false",
17454
+ "values": [
17455
+ {
17456
+ "type": "boolean"
17457
+ }
17458
+ ],
17459
+ "optional": false,
17460
+ "required": false
17461
+ },
17462
+ {
17463
+ "name": "mode",
17464
+ "type": "\"ios\" | \"md\"",
17465
+ "mutable": false,
17466
+ "attr": "mode",
17467
+ "reflectToAttr": false,
17468
+ "docs": "The mode determines which platform styles to use.",
17469
+ "docsTags": [],
17470
+ "values": [
17471
+ {
17472
+ "value": "ios",
17473
+ "type": "string"
17474
+ },
17475
+ {
17476
+ "value": "md",
17477
+ "type": "string"
17478
+ }
17479
+ ],
17480
+ "optional": true,
17481
+ "required": false
17482
+ },
17483
+ {
17484
+ "name": "value",
17485
+ "type": "number | string | undefined",
17486
+ "complexType": {
17487
+ "original": "string | number",
17488
+ "resolved": "number | string | undefined",
17489
+ "references": {}
17490
+ },
17491
+ "mutable": true,
17492
+ "attr": "value",
17493
+ "reflectToAttr": false,
17494
+ "docs": "The selected option in the picker.",
17495
+ "docsTags": [],
17496
+ "values": [
17497
+ {
17498
+ "type": "number"
17499
+ },
17500
+ {
17501
+ "type": "string"
17502
+ },
17503
+ {
17504
+ "type": "undefined"
17505
+ }
17506
+ ],
17507
+ "optional": true,
17508
+ "required": false
17509
+ }
17510
+ ],
17511
+ "methods": [
17512
+ {
17513
+ "name": "setFocus",
17514
+ "returns": {
17515
+ "type": "Promise<void>",
17516
+ "docs": ""
17517
+ },
17518
+ "complexType": {
17519
+ "signature": "() => Promise<void>",
17520
+ "parameters": [],
17521
+ "references": {
17522
+ "Promise": {
17523
+ "location": "global",
17524
+ "id": "global::Promise"
17525
+ }
17526
+ },
17527
+ "return": "Promise<void>"
17528
+ },
17529
+ "signature": "setFocus() => Promise<void>",
17530
+ "parameters": [],
17531
+ "docs": "Sets focus on the scrollable container within the picker column.\nUse this method instead of the global `pickerColumn.focus()`.",
17532
+ "docsTags": []
17533
+ }
17534
+ ],
17535
+ "events": [
17536
+ {
17537
+ "event": "ionChange",
17538
+ "detail": "PickerColumnChangeEventDetail",
17539
+ "bubbles": true,
17540
+ "complexType": {
17541
+ "original": "PickerColumnChangeEventDetail",
17542
+ "resolved": "PickerColumnChangeEventDetail",
17543
+ "references": {
17544
+ "PickerColumnChangeEventDetail": {
17545
+ "location": "import",
17546
+ "path": "./picker-column-interfaces",
17547
+ "id": "src/components/picker-column/picker-column-interfaces.ts::PickerColumnChangeEventDetail"
17548
+ }
17549
+ }
17550
+ },
17551
+ "cancelable": true,
17552
+ "composed": true,
17553
+ "docs": "Emitted when the value has changed.",
17554
+ "docsTags": []
17555
+ }
17556
+ ],
17557
+ "listeners": [],
17558
+ "styles": [],
17559
+ "slots": [
17560
+ {
17561
+ "name": "prefix",
17562
+ "docs": "Content to show on the left side of the picker options."
17563
+ },
17564
+ {
17565
+ "name": "suffix",
17566
+ "docs": "Content to show on the right side of the picker options."
17567
+ }
17568
+ ],
17569
+ "parts": [],
17570
+ "dependents": [
17571
+ "ion-datetime"
17572
+ ],
17573
+ "dependencies": [],
17574
+ "dependencyGraph": {
17575
+ "ion-datetime": [
17576
+ "ion-picker-column"
17577
+ ]
17578
+ }
17579
+ },
17580
+ {
17581
+ "filePath": "src/components/picker-column-option/picker-column-option.tsx",
17582
+ "encapsulation": "shadow",
17583
+ "tag": "ion-picker-column-option",
17584
+ "docs": "",
17585
+ "docsTags": [],
17586
+ "usage": {},
17587
+ "props": [
17588
+ {
17589
+ "name": "color",
17590
+ "type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never> | undefined",
17591
+ "complexType": {
17592
+ "original": "Color",
17593
+ "resolved": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never> | undefined",
17594
+ "references": {
17595
+ "Color": {
17596
+ "location": "import",
17597
+ "path": "../../interface",
17598
+ "id": "src/interface.d.ts::Color"
17599
+ }
17600
+ }
17601
+ },
17602
+ "mutable": false,
17603
+ "attr": "color",
17604
+ "reflectToAttr": true,
17605
+ "docs": "The color to use from your application's color palette.\nDefault options are: `\"primary\"`, `\"secondary\"`, `\"tertiary\"`, `\"success\"`, `\"warning\"`, `\"danger\"`, `\"light\"`, `\"medium\"`, and `\"dark\"`.\nFor more information on colors, see [theming](/docs/theming/basics).",
17606
+ "docsTags": [],
17607
+ "default": "'primary'",
17608
+ "values": [
17609
+ {
17610
+ "value": "danger",
17611
+ "type": "string"
17612
+ },
17613
+ {
17614
+ "value": "dark",
17615
+ "type": "string"
17616
+ },
17617
+ {
17618
+ "value": "light",
17619
+ "type": "string"
17620
+ },
17621
+ {
17622
+ "value": "medium",
17623
+ "type": "string"
17624
+ },
17625
+ {
17626
+ "value": "primary",
17627
+ "type": "string"
17628
+ },
17629
+ {
17630
+ "value": "secondary",
17631
+ "type": "string"
17632
+ },
17633
+ {
17634
+ "value": "success",
17635
+ "type": "string"
17636
+ },
17637
+ {
17638
+ "value": "tertiary",
17639
+ "type": "string"
17640
+ },
17641
+ {
17642
+ "value": "warning",
17643
+ "type": "string"
17644
+ },
17645
+ {
17646
+ "type": "string & Record<never, never>"
17647
+ },
17648
+ {
17649
+ "type": "undefined"
17650
+ }
17651
+ ],
17652
+ "optional": true,
17653
+ "required": false
17654
+ },
17655
+ {
17656
+ "name": "disabled",
17657
+ "type": "boolean",
17658
+ "complexType": {
17659
+ "original": "boolean",
17660
+ "resolved": "boolean",
17661
+ "references": {}
17662
+ },
17663
+ "mutable": false,
17664
+ "attr": "disabled",
17665
+ "reflectToAttr": false,
17666
+ "docs": "If `true`, the user cannot interact with the picker column option.",
17667
+ "docsTags": [],
17668
+ "default": "false",
17669
+ "values": [
17670
+ {
17671
+ "type": "boolean"
17672
+ }
17673
+ ],
17674
+ "optional": false,
17675
+ "required": false
17676
+ },
17677
+ {
17678
+ "name": "value",
17679
+ "type": "any",
17680
+ "complexType": {
17681
+ "original": "any | null",
17682
+ "resolved": "any",
17683
+ "references": {}
17684
+ },
17685
+ "mutable": false,
17686
+ "attr": "value",
17687
+ "reflectToAttr": false,
17688
+ "docs": "The text value of the option.",
17689
+ "docsTags": [],
17690
+ "values": [
17691
+ {
17692
+ "type": "any"
17693
+ }
17694
+ ],
17695
+ "optional": true,
17696
+ "required": false
17697
+ }
17698
+ ],
17699
+ "methods": [],
17700
+ "events": [],
17701
+ "listeners": [],
17702
+ "styles": [],
17703
+ "slots": [],
17704
+ "parts": [],
17705
+ "dependents": [
17706
+ "ion-datetime"
17707
+ ],
17708
+ "dependencies": [],
17709
+ "dependencyGraph": {
17710
+ "ion-datetime": [
17711
+ "ion-picker-column-option"
17712
+ ]
17713
+ }
17714
+ },
17715
+ {
17716
+ "filePath": "src/components/picker-legacy/picker.tsx",
17717
+ "encapsulation": "scoped",
17718
+ "tag": "ion-picker-legacy",
17719
+ "docs": "",
17720
+ "docsTags": [
17721
+ {
17722
+ "name": "virtualProp",
17723
+ "text": "{\"ios\" | \"md\"} mode - The mode determines which platform styles to use."
17724
+ }
17725
+ ],
17726
+ "usage": {},
17263
17727
  "props": [
17264
17728
  {
17265
17729
  "name": "animated",
@@ -17315,7 +17779,7 @@
17315
17779
  "PickerButton": {
17316
17780
  "location": "import",
17317
17781
  "path": "./picker-interface",
17318
- "id": "src/components/picker/picker-interface.ts::PickerButton"
17782
+ "id": "src/components/picker-legacy/picker-interface.ts::PickerButton"
17319
17783
  }
17320
17784
  }
17321
17785
  },
@@ -17342,7 +17806,7 @@
17342
17806
  "PickerColumn": {
17343
17807
  "location": "import",
17344
17808
  "path": "./picker-interface",
17345
- "id": "src/components/picker/picker-interface.ts::PickerColumn"
17809
+ "id": "src/components/picker-legacy/picker-interface.ts::PickerColumn"
17346
17810
  }
17347
17811
  }
17348
17812
  },
@@ -17679,7 +18143,7 @@
17679
18143
  "PickerColumn": {
17680
18144
  "location": "import",
17681
18145
  "path": "./picker-interface",
17682
- "id": "src/components/picker/picker-interface.ts::PickerColumn"
18146
+ "id": "src/components/picker-legacy/picker-interface.ts::PickerColumn"
17683
18147
  }
17684
18148
  },
17685
18149
  "return": "Promise<PickerColumn | undefined>"
@@ -17990,12 +18454,12 @@
17990
18454
  "dependents": [],
17991
18455
  "dependencies": [
17992
18456
  "ion-backdrop",
17993
- "ion-picker-column"
18457
+ "ion-picker-legacy-column"
17994
18458
  ],
17995
18459
  "dependencyGraph": {
17996
- "ion-picker": [
18460
+ "ion-picker-legacy": [
17997
18461
  "ion-backdrop",
17998
- "ion-picker-column"
18462
+ "ion-picker-legacy-column"
17999
18463
  ]
18000
18464
  }
18001
18465
  },
@@ -29047,15 +29511,20 @@
29047
29511
  "docstring": "",
29048
29512
  "path": "src/components/datetime/datetime-interface.ts"
29049
29513
  },
29050
- "src/components/picker-column-internal/picker-column-internal-interfaces.ts::PickerColumnItem": {
29051
- "declaration": "export interface PickerColumnItem {\n text: string;\n value: string | number;\n disabled?: boolean;\n}",
29514
+ "src/components/picker-column/picker-column-interfaces.ts::PickerColumnChangeEventDetail": {
29515
+ "declaration": "export interface PickerColumnChangeEventDetail {\n value: PickerColumnValue;\n}",
29516
+ "docstring": "",
29517
+ "path": "src/components/picker-column/picker-column-interfaces.ts"
29518
+ },
29519
+ "src/components/picker-column/picker-column-interfaces.ts::PickerColumnValue": {
29520
+ "declaration": "export type PickerColumnValue = string | number | undefined;",
29052
29521
  "docstring": "",
29053
- "path": "src/components/picker-column-internal/picker-column-internal-interfaces.ts"
29522
+ "path": "src/components/picker-column/picker-column-interfaces.ts"
29054
29523
  },
29055
- "src/components/picker-internal/picker-internal-interfaces.ts::PickerInternalChangeEventDetail": {
29056
- "declaration": "export interface PickerInternalChangeEventDetail {\n useInputMode: boolean;\n inputModeColumn?: HTMLIonPickerColumnInternalElement;\n}",
29524
+ "src/components/picker/picker-interfaces.ts::PickerChangeEventDetail": {
29525
+ "declaration": "export interface PickerChangeEventDetail {\n useInputMode: boolean;\n inputModeColumn?: HTMLIonPickerColumnElement;\n}",
29057
29526
  "docstring": "",
29058
- "path": "src/components/picker-internal/picker-internal-interfaces.ts"
29527
+ "path": "src/components/picker/picker-interfaces.ts"
29059
29528
  },
29060
29529
  "src/components/spinner/spinner-configs.ts::SpinnerTypes": {
29061
29530
  "declaration": "\"bubbles\" | \"circles\" | \"circular\" | \"crescent\" | \"dots\" | \"lines\" | \"lines-small\" | \"lines-sharp\" | \"lines-sharp-small\"",
@@ -29157,15 +29626,15 @@
29157
29626
  "docstring": "",
29158
29627
  "path": "src/components/router/utils/interface.ts"
29159
29628
  },
29160
- "src/components/picker/picker-interface.ts::PickerButton": {
29629
+ "src/components/picker-legacy/picker-interface.ts::PickerButton": {
29161
29630
  "declaration": "export interface PickerButton {\n text?: string;\n role?: string;\n cssClass?: string | string[];\n handler?: (value: any) => boolean | void;\n}",
29162
29631
  "docstring": "",
29163
- "path": "src/components/picker/picker-interface.ts"
29632
+ "path": "src/components/picker-legacy/picker-interface.ts"
29164
29633
  },
29165
- "src/components/picker/picker-interface.ts::PickerColumn": {
29634
+ "src/components/picker-legacy/picker-interface.ts::PickerColumn": {
29166
29635
  "declaration": "export interface PickerColumn {\n name: string;\n align?: string;\n /**\n * Changing this value allows the initial value of a picker column to be set.\n */\n selectedIndex?: number;\n prevSelected?: number;\n prefix?: string;\n suffix?: string;\n options: PickerColumnOption[];\n cssClass?: string | string[];\n columnWidth?: string;\n prefixWidth?: string;\n suffixWidth?: string;\n optionsWidth?: string;\n}",
29167
29636
  "docstring": "",
29168
- "path": "src/components/picker/picker-interface.ts"
29637
+ "path": "src/components/picker-legacy/picker-interface.ts"
29169
29638
  },
29170
29639
  "src/components/popover/popover-interface.ts::TriggerAction": {
29171
29640
  "declaration": "export type TriggerAction = 'click' | 'hover' | 'context-menu';",
@@ -1392,7 +1392,7 @@ const getMonthColumnData = (locale, refParts, minParts, maxParts, monthValues, f
1392
1392
  * @param minParts The minimum bound on the date that can be returned
1393
1393
  * @param maxParts The maximum bound on the date that can be returned
1394
1394
  * @param dayValues The allowed date values
1395
- * @returns Date data to be used in ion-picker-column-internal
1395
+ * @returns Date data to be used in ion-picker-column
1396
1396
  */
1397
1397
  const getDayColumnData = (locale, refParts, minParts, maxParts, dayValues, formatOptions = {
1398
1398
  day: 'numeric',
package/dist/esm/index.js CHANGED
@@ -12,7 +12,7 @@ export { c as componentOnReady } from './helpers-ae653409.js';
12
12
  export { I as IonicSafeString, g as getMode, s as setupConfig } from './config-49c88215.js';
13
13
  export { o as openURL } from './theme-01f3f29c.js';
14
14
  export { m as menuController } from './index-80492ed3.js';
15
- export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-d23ea6e1.js';
15
+ export { b as actionSheetController, a as alertController, l as loadingController, m as modalController, p as pickerController, c as popoverController, t as toastController } from './overlays-fbc5cab5.js';
16
16
  import './index-7a14ecec.js';
17
17
  import './index-08d686eb.js';
18
18
  import './gesture-controller-314a54f6.js';
@@ -5,7 +5,7 @@ import { r as registerInstance, d as createEvent, e as readTask, h, H as Host, f
5
5
  import { c as createButtonActiveGesture } from './button-active-ed9d848c.js';
6
6
  import { r as raf } from './helpers-ae653409.js';
7
7
  import { c as createLockController } from './lock-controller-316928be.js';
8
- import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-d23ea6e1.js';
8
+ import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, f as present, g as dismiss, h as eventMethod, s as safeCall, j as prepareOverlay, k as setOverlayId } from './overlays-fbc5cab5.js';
9
9
  import { g as getClassMap } from './theme-01f3f29c.js';
10
10
  import { b as getIonMode } from './ionic-global-c0cda98e.js';
11
11
  import { c as createAnimation } from './animation-fb0e0f6f.js';
@@ -6,7 +6,7 @@ import { E as ENABLE_HTML_CONTENT_DEFAULT, a as sanitizeDOMString } from './conf
6
6
  import { c as createButtonActiveGesture } from './button-active-ed9d848c.js';
7
7
  import { r as raf } from './helpers-ae653409.js';
8
8
  import { c as createLockController } from './lock-controller-316928be.js';
9
- import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-d23ea6e1.js';
9
+ import { d as createDelegateController, e as createTriggerController, B as BACKDROP, i as isCancel, j as prepareOverlay, k as setOverlayId, f as present, g as dismiss, h as eventMethod, s as safeCall } from './overlays-fbc5cab5.js';
10
10
  import { g as getClassMap } from './theme-01f3f29c.js';
11
11
  import { c as config, b as getIonMode } from './ionic-global-c0cda98e.js';
12
12
  import { c as createAnimation } from './animation-fb0e0f6f.js';
@@ -6,7 +6,7 @@ import { a as addEventListener, c as componentOnReady } from './helpers-ae653409
6
6
  import { a as printIonError } from './index-9b0d46f4.js';
7
7
  import { c as createColorClasses } from './theme-01f3f29c.js';
8
8
  import { b as getIonMode } from './ionic-global-c0cda98e.js';
9
- import { q as parseDate, t as getToday, J as getHourCycle, S as getLocalizedDateTime, G as getMonthAndYear, K as getLocalizedTime, T as getMonthDayAndYear } from './data-f5c75b4e.js';
9
+ import { q as parseDate, t as getToday, J as getHourCycle, S as getLocalizedDateTime, G as getMonthAndYear, K as getLocalizedTime, T as getMonthDayAndYear } from './data-4b9508c9.js';
10
10
 
11
11
  const iosDatetimeButtonCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";
12
12