@ionic/core 7.5.8-dev.11701806358.1ca1b519 → 7.5.8-dev.11701894917.1c1465bd

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 (196) hide show
  1. package/components/data.js +1 -1
  2. package/components/ion-datetime.js +30 -39
  3. package/components/ion-picker-column-internal.d.ts +11 -0
  4. package/components/ion-picker-column-internal.js +9 -0
  5. package/components/ion-picker-column.js +2 -2
  6. package/components/{ion-picker-legacy.d.ts → ion-picker-internal.d.ts} +4 -4
  7. package/components/ion-picker-internal.js +9 -0
  8. package/components/ion-picker.js +309 -1
  9. package/components/overlays.js +3 -6
  10. package/components/picker-column-internal.js +390 -0
  11. package/components/picker-column.js +317 -363
  12. package/components/{picker.js → picker-internal.js} +16 -16
  13. package/dist/cjs/{data-e7526b58.js → data-36b9094e.js} +1 -1
  14. package/dist/cjs/index.cjs.js +1 -1
  15. package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
  16. package/dist/cjs/ion-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
  18. package/dist/cjs/ion-datetime_3.cjs.entry.js +35 -29
  19. package/dist/cjs/ion-loading.cjs.entry.js +1 -1
  20. package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
  21. package/dist/cjs/ion-modal.cjs.entry.js +1 -1
  22. package/dist/cjs/{ion-picker-column.cjs.entry.js → ion-picker-column-internal.cjs.entry.js} +72 -105
  23. package/dist/cjs/{ion-picker.cjs.entry.js → ion-picker-internal.cjs.entry.js} +13 -13
  24. package/dist/cjs/ion-popover.cjs.entry.js +1 -1
  25. package/dist/cjs/ion-select_3.cjs.entry.js +1 -1
  26. package/dist/cjs/ion-toast.cjs.entry.js +1 -1
  27. package/dist/cjs/ionic.cjs.js +1 -1
  28. package/dist/cjs/loader.cjs.js +1 -1
  29. package/dist/cjs/{overlays-e8e05b0e.js → overlays-2c6b1072.js} +3 -6
  30. package/dist/collection/collection-manifest.json +6 -7
  31. package/dist/collection/components/datetime/datetime.ios.css +13 -0
  32. package/dist/collection/components/datetime/datetime.js +16 -19
  33. package/dist/collection/components/datetime/datetime.md.css +13 -0
  34. package/dist/collection/components/datetime/test/datetime.e2e.js +2 -2
  35. package/dist/collection/components/datetime/test/disabled/datetime.spec.js +4 -4
  36. package/dist/collection/components/datetime/test/locale/datetime.e2e.js +2 -2
  37. package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +6 -6
  38. package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +41 -43
  39. package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +1 -1
  40. package/dist/collection/components/datetime/test/readonly/datetime.e2e.js +2 -2
  41. package/dist/collection/components/datetime/test/values/datetime.e2e.js +12 -15
  42. package/dist/collection/components/datetime/utils/data.js +1 -1
  43. package/dist/collection/components/picker/picker.ios.css +205 -100
  44. package/dist/collection/components/picker/picker.js +743 -461
  45. package/dist/collection/components/picker/picker.md.css +194 -98
  46. package/dist/collection/components/picker/test/basic/picker.e2e.js +13 -99
  47. package/dist/collection/components/{picker-legacy → picker}/test/is-open/picker.e2e.js +4 -4
  48. package/dist/collection/components/{picker-legacy → picker}/test/picker-id.spec.js +5 -5
  49. package/dist/collection/components/{picker-legacy → picker}/test/trigger/picker.e2e.js +1 -1
  50. package/dist/collection/components/picker-column/picker-column.ios.css +160 -120
  51. package/dist/collection/components/picker-column/picker-column.js +329 -514
  52. package/dist/collection/components/picker-column/picker-column.md.css +107 -134
  53. package/dist/collection/components/{picker-legacy-column → picker-column}/test/picker-column-aria.spec.js +3 -3
  54. package/dist/collection/components/{picker-legacy-column → picker-column}/test/picker-column-dynamic.spec.js +2 -2
  55. package/dist/collection/components/{picker-legacy-column → picker-column}/test/picker-column.spec.js +2 -2
  56. package/dist/collection/components/{picker-legacy-column → picker-column}/test/standalone/picker-column.e2e.js +3 -3
  57. package/dist/collection/components/{picker-column-option/picker-column-option.md.css → picker-column-internal/picker-column-internal.ios.css} +53 -6
  58. package/dist/collection/components/picker-column-internal/picker-column-internal.js +565 -0
  59. package/dist/collection/components/{picker-legacy-column/picker-column.md.css → picker-column-internal/picker-column-internal.md.css} +63 -113
  60. package/dist/collection/components/{picker-column/test/basic/picker-column.e2e.js → picker-column-internal/test/basic/picker-column-internal.e2e.js} +8 -8
  61. package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +162 -0
  62. package/dist/collection/components/{picker-legacy/picker.md.css → picker-internal/picker-internal.ios.css} +100 -192
  63. package/dist/collection/components/picker-internal/picker-internal.js +544 -0
  64. package/dist/collection/components/{picker-legacy-column/picker-column.ios.css → picker-internal/picker-internal.md.css} +101 -98
  65. package/dist/collection/components/{picker/test/a11y/picker.e2e.js → picker-internal/test/a11y/picker-internal.e2e.js} +2 -2
  66. package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +118 -0
  67. package/dist/collection/components/{picker/test/keyboard-entry/picker.e2e.js → picker-internal/test/keyboard-entry/picker-internal.e2e.js} +22 -23
  68. package/dist/collection/utils/overlays.js +3 -6
  69. package/dist/docs.json +23 -487
  70. package/dist/esm/{data-4b9508c9.js → data-f5c75b4e.js} +1 -1
  71. package/dist/esm/index.js +1 -1
  72. package/dist/esm/ion-action-sheet.entry.js +1 -1
  73. package/dist/esm/ion-alert.entry.js +1 -1
  74. package/dist/esm/ion-datetime-button.entry.js +1 -1
  75. package/dist/esm/ion-datetime_3.entry.js +34 -28
  76. package/dist/esm/ion-loading.entry.js +1 -1
  77. package/dist/esm/ion-menu_3.entry.js +1 -1
  78. package/dist/esm/ion-modal.entry.js +1 -1
  79. package/dist/esm/{ion-picker-column.entry.js → ion-picker-column-internal.entry.js} +72 -105
  80. package/dist/esm/{ion-picker.entry.js → ion-picker-internal.entry.js} +13 -13
  81. package/dist/esm/ion-popover.entry.js +1 -1
  82. package/dist/esm/ion-select_3.entry.js +1 -1
  83. package/dist/esm/ion-toast.entry.js +1 -1
  84. package/dist/esm/ionic.js +1 -1
  85. package/dist/esm/loader.js +1 -1
  86. package/dist/esm/{overlays-fbc5cab5.js → overlays-d23ea6e1.js} +3 -6
  87. package/dist/esm-es5/index.js +1 -1
  88. package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
  89. package/dist/esm-es5/ion-alert.entry.js +1 -1
  90. package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
  91. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  92. package/dist/esm-es5/ion-loading.entry.js +1 -1
  93. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  94. package/dist/esm-es5/ion-modal.entry.js +1 -1
  95. package/dist/esm-es5/ion-picker-column-internal.entry.js +4 -0
  96. package/dist/esm-es5/ion-picker-internal.entry.js +4 -0
  97. package/dist/esm-es5/ion-popover.entry.js +1 -1
  98. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  99. package/dist/esm-es5/ion-toast.entry.js +1 -1
  100. package/dist/esm-es5/ionic.js +1 -1
  101. package/dist/esm-es5/loader.js +1 -1
  102. package/dist/esm-es5/overlays-d23ea6e1.js +4 -0
  103. package/dist/html.html-data.json +1 -152
  104. package/dist/ionic/index.esm.js +1 -1
  105. package/dist/ionic/ionic.esm.js +1 -1
  106. package/dist/ionic/{p-846ee227.entry.js → p-1e57bd24.entry.js} +1 -1
  107. package/dist/ionic/{p-26798a7b.system.entry.js → p-1f620cd4.system.entry.js} +1 -1
  108. package/dist/ionic/{p-5d42b6b4.entry.js → p-27ea6f4e.entry.js} +1 -1
  109. package/dist/ionic/{p-6b7c55cd.entry.js → p-2dc43d20.entry.js} +1 -1
  110. package/dist/ionic/{p-4a36430f.system.entry.js → p-2f2293da.system.entry.js} +1 -1
  111. package/dist/ionic/{p-21c3515a.entry.js → p-2f300cca.entry.js} +1 -1
  112. package/dist/ionic/{p-8017aad2.system.entry.js → p-39a335b6.system.entry.js} +1 -1
  113. package/dist/ionic/{p-4a081ea9.entry.js → p-3b568d18.entry.js} +1 -1
  114. package/dist/ionic/{p-c18de88a.system.entry.js → p-3e3d06a6.system.entry.js} +1 -1
  115. package/dist/ionic/{p-96dbbac1.system.entry.js → p-4df97e3c.system.entry.js} +1 -1
  116. package/dist/ionic/p-60502e3f.system.entry.js +4 -0
  117. package/dist/ionic/{p-563c41f0.system.entry.js → p-60b386c9.system.entry.js} +1 -1
  118. package/dist/ionic/p-67da080d.entry.js +4 -0
  119. package/dist/ionic/p-73ea8f82.system.entry.js +4 -0
  120. package/dist/ionic/p-80fa068e.entry.js +4 -0
  121. package/dist/ionic/{p-a8baa23e.entry.js → p-8780cc2a.entry.js} +1 -1
  122. package/dist/ionic/{p-f910cc73.system.entry.js → p-9eec42cc.system.entry.js} +1 -1
  123. package/dist/ionic/p-ab11130c.system.js +4 -0
  124. package/dist/ionic/p-af16fe62.entry.js +4 -0
  125. package/dist/ionic/{p-73aa7604.entry.js → p-af19a573.entry.js} +1 -1
  126. package/dist/ionic/p-c14f8ac8.js +4 -0
  127. package/dist/ionic/p-cce9f61a.system.entry.js +4 -0
  128. package/dist/ionic/{p-b133e9b4.entry.js → p-ddb30596.entry.js} +1 -1
  129. package/dist/ionic/{p-27bcbbc7.system.entry.js → p-e1e5afe1.system.entry.js} +1 -1
  130. package/dist/ionic/p-e3584231.system.js +1 -1
  131. package/dist/ionic/{p-fbf3a689.system.entry.js → p-e3ad9607.system.entry.js} +1 -1
  132. package/dist/ionic/{p-73190c5f.entry.js → p-f78efbd1.entry.js} +1 -1
  133. package/dist/ionic/{p-54dfc9b5.system.js → p-fff7a57e.system.js} +1 -1
  134. package/dist/types/components/datetime/utils/data.d.ts +2 -2
  135. package/dist/types/components/picker/picker.d.ts +131 -74
  136. package/dist/types/components/picker-column/picker-column.d.ts +39 -105
  137. package/dist/types/components/picker-column-internal/picker-column-internal.d.ts +102 -0
  138. package/dist/types/components/picker-internal/picker-internal-interfaces.d.ts +8 -0
  139. package/dist/types/components/picker-internal/picker-internal.d.ts +102 -0
  140. package/dist/types/components.d.ts +122 -163
  141. package/dist/types/interface.d.ts +1 -1
  142. package/dist/types/utils/config.d.ts +2 -2
  143. package/dist/types/utils/overlays.d.ts +2 -5
  144. package/hydrate/index.js +1151 -1287
  145. package/package.json +1 -1
  146. package/components/ion-picker-column-option.d.ts +0 -11
  147. package/components/ion-picker-column-option.js +0 -9
  148. package/components/ion-picker-legacy-column.d.ts +0 -11
  149. package/components/ion-picker-legacy-column.js +0 -9
  150. package/components/ion-picker-legacy.js +0 -309
  151. package/components/picker-column-option.js +0 -122
  152. package/components/picker-column2.js +0 -379
  153. package/dist/cjs/ion-picker-column-option.cjs.entry.js +0 -104
  154. package/dist/collection/components/picker-column/test/disabled/picker-column.e2e.js +0 -113
  155. package/dist/collection/components/picker-column/test/slots/picker-column.e2e.js +0 -39
  156. package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -87
  157. package/dist/collection/components/picker-column-option/picker-column-option.js +0 -173
  158. package/dist/collection/components/picker-column-option/test/a11y/picker-column-option.e2e.js +0 -18
  159. package/dist/collection/components/picker-column-option/test/basic/picker-column-option.e2e.js +0 -37
  160. package/dist/collection/components/picker-legacy/picker.ios.css +0 -367
  161. package/dist/collection/components/picker-legacy/picker.js +0 -817
  162. package/dist/collection/components/picker-legacy/test/basic/picker.e2e.js +0 -25
  163. package/dist/collection/components/picker-legacy-column/picker-column.js +0 -419
  164. package/dist/esm/ion-picker-column-option.entry.js +0 -100
  165. package/dist/esm-es5/ion-picker-column-option.entry.js +0 -4
  166. package/dist/esm-es5/ion-picker-column.entry.js +0 -4
  167. package/dist/esm-es5/ion-picker.entry.js +0 -4
  168. package/dist/esm-es5/overlays-fbc5cab5.js +0 -4
  169. package/dist/ionic/p-23672c82.system.entry.js +0 -4
  170. package/dist/ionic/p-8fa6583d.system.js +0 -4
  171. package/dist/ionic/p-9282b16f.entry.js +0 -4
  172. package/dist/ionic/p-9ba90516.system.entry.js +0 -4
  173. package/dist/ionic/p-afcf4620.entry.js +0 -4
  174. package/dist/ionic/p-c2910c78.entry.js +0 -4
  175. package/dist/ionic/p-c8f0a036.entry.js +0 -4
  176. package/dist/ionic/p-ca8938f4.js +0 -4
  177. package/dist/ionic/p-ca9d1792.system.entry.js +0 -4
  178. package/dist/ionic/p-ffd5dba4.system.entry.js +0 -4
  179. package/dist/types/components/picker/picker-interfaces.d.ts +0 -8
  180. package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -66
  181. package/dist/types/components/picker-legacy/picker.d.ts +0 -158
  182. package/dist/types/components/picker-legacy-column/picker-column.d.ts +0 -46
  183. /package/dist/collection/components/{picker-legacy → picker}/animations/ios.enter.js +0 -0
  184. /package/dist/collection/components/{picker-legacy → picker}/animations/ios.leave.js +0 -0
  185. /package/dist/collection/components/picker/{picker-interfaces.js → picker-interface.js} +0 -0
  186. /package/dist/collection/components/{picker-legacy-column → picker-column}/test/test.utils.js +0 -0
  187. /package/dist/collection/components/{picker-column/picker-column-interfaces.js → picker-column-internal/picker-column-internal-interfaces.js} +0 -0
  188. /package/dist/collection/components/{picker-legacy/picker-interface.js → picker-internal/picker-internal-interfaces.js} +0 -0
  189. /package/dist/esm-es5/{data-4b9508c9.js → data-f5c75b4e.js} +0 -0
  190. /package/dist/ionic/{p-368f5215.js → p-2aea8b1e.js} +0 -0
  191. /package/dist/ionic/{p-f58981c2.system.js → p-82e3d633.system.js} +0 -0
  192. /package/dist/types/components/{picker-legacy → picker}/animations/ios.enter.d.ts +0 -0
  193. /package/dist/types/components/{picker-legacy → picker}/animations/ios.leave.d.ts +0 -0
  194. /package/dist/types/components/{picker-legacy → picker}/picker-interface.d.ts +0 -0
  195. /package/dist/types/components/{picker-legacy-column → picker-column}/test/test.utils.d.ts +0 -0
  196. /package/dist/types/components/{picker-column/picker-column-interfaces.d.ts → picker-column-internal/picker-column-internal-interfaces.d.ts} +0 -0
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-12-05T20:01:05",
2
+ "timestamp": "2023-12-06T20:38:01",
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-legacy",
2577
+ "ion-picker",
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-legacy": [
2597
+ "ion-picker": [
2598
2598
  "ion-backdrop"
2599
2599
  ],
2600
2600
  "ion-popover": [
@@ -7924,9 +7924,8 @@
7924
7924
  "dependencies": [
7925
7925
  "ion-buttons",
7926
7926
  "ion-button",
7927
- "ion-picker",
7928
- "ion-picker-column",
7929
- "ion-picker-column-option",
7927
+ "ion-picker-internal",
7928
+ "ion-picker-column-internal",
7930
7929
  "ion-icon",
7931
7930
  "ion-ripple-effect",
7932
7931
  "ion-popover"
@@ -7935,9 +7934,8 @@
7935
7934
  "ion-datetime": [
7936
7935
  "ion-buttons",
7937
7936
  "ion-button",
7938
- "ion-picker",
7939
- "ion-picker-column",
7940
- "ion-picker-column-option",
7937
+ "ion-picker-internal",
7938
+ "ion-picker-column-internal",
7941
7939
  "ion-icon",
7942
7940
  "ion-ripple-effect",
7943
7941
  "ion-popover"
@@ -17252,470 +17250,8 @@
17252
17250
  },
17253
17251
  {
17254
17252
  "filePath": "src/components/picker/picker.tsx",
17255
- "encapsulation": "shadow",
17256
- "tag": "ion-picker",
17257
- "docs": "",
17258
- "docsTags": [
17259
- {
17260
- "name": "virtualProp",
17261
- "text": "{\"ios\" | \"md\"} mode - The mode determines which platform styles to use."
17262
- }
17263
- ],
17264
- "usage": {},
17265
- "props": [
17266
- {
17267
- "name": "mode",
17268
- "type": "\"ios\" | \"md\"",
17269
- "mutable": false,
17270
- "attr": "mode",
17271
- "reflectToAttr": false,
17272
- "docs": "The mode determines which platform styles to use.",
17273
- "docsTags": [],
17274
- "values": [
17275
- {
17276
- "value": "ios",
17277
- "type": "string"
17278
- },
17279
- {
17280
- "value": "md",
17281
- "type": "string"
17282
- }
17283
- ],
17284
- "optional": true,
17285
- "required": false
17286
- }
17287
- ],
17288
- "methods": [],
17289
- "events": [
17290
- {
17291
- "event": "ionInputModeChange",
17292
- "detail": "PickerChangeEventDetail",
17293
- "bubbles": true,
17294
- "complexType": {
17295
- "original": "PickerChangeEventDetail",
17296
- "resolved": "PickerChangeEventDetail",
17297
- "references": {
17298
- "PickerChangeEventDetail": {
17299
- "location": "import",
17300
- "path": "./picker-interfaces",
17301
- "id": "src/components/picker/picker-interfaces.ts::PickerChangeEventDetail"
17302
- }
17303
- }
17304
- },
17305
- "cancelable": true,
17306
- "composed": true,
17307
- "docs": "",
17308
- "docsTags": []
17309
- }
17310
- ],
17311
- "listeners": [
17312
- {
17313
- "event": "touchstart",
17314
- "capture": false,
17315
- "passive": true
17316
- }
17317
- ],
17318
- "styles": [],
17319
- "slots": [],
17320
- "parts": [],
17321
- "dependents": [
17322
- "ion-datetime"
17323
- ],
17324
- "dependencies": [],
17325
- "dependencyGraph": {
17326
- "ion-datetime": [
17327
- "ion-picker"
17328
- ]
17329
- }
17330
- },
17331
- {
17332
- "filePath": "src/components/picker-column/picker-column.tsx",
17333
- "encapsulation": "shadow",
17334
- "tag": "ion-picker-column",
17335
- "docs": "",
17336
- "docsTags": [
17337
- {
17338
- "name": "virtualProp",
17339
- "text": "{\"ios\" | \"md\"} mode - The mode determines which platform styles to use."
17340
- },
17341
- {
17342
- "name": "slot",
17343
- "text": "prefix - Content to show on the left side of the picker options."
17344
- },
17345
- {
17346
- "name": "slot",
17347
- "text": "suffix - Content to show on the right side of the picker options."
17348
- }
17349
- ],
17350
- "usage": {},
17351
- "props": [
17352
- {
17353
- "name": "color",
17354
- "type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never> | undefined",
17355
- "complexType": {
17356
- "original": "Color",
17357
- "resolved": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never> | undefined",
17358
- "references": {
17359
- "Color": {
17360
- "location": "import",
17361
- "path": "../../interface",
17362
- "id": "src/interface.d.ts::Color"
17363
- }
17364
- }
17365
- },
17366
- "mutable": false,
17367
- "attr": "color",
17368
- "reflectToAttr": true,
17369
- "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).",
17370
- "docsTags": [],
17371
- "default": "'primary'",
17372
- "values": [
17373
- {
17374
- "value": "danger",
17375
- "type": "string"
17376
- },
17377
- {
17378
- "value": "dark",
17379
- "type": "string"
17380
- },
17381
- {
17382
- "value": "light",
17383
- "type": "string"
17384
- },
17385
- {
17386
- "value": "medium",
17387
- "type": "string"
17388
- },
17389
- {
17390
- "value": "primary",
17391
- "type": "string"
17392
- },
17393
- {
17394
- "value": "secondary",
17395
- "type": "string"
17396
- },
17397
- {
17398
- "value": "success",
17399
- "type": "string"
17400
- },
17401
- {
17402
- "value": "tertiary",
17403
- "type": "string"
17404
- },
17405
- {
17406
- "value": "warning",
17407
- "type": "string"
17408
- },
17409
- {
17410
- "type": "string & Record<never, never>"
17411
- },
17412
- {
17413
- "type": "undefined"
17414
- }
17415
- ],
17416
- "optional": true,
17417
- "required": false
17418
- },
17419
- {
17420
- "name": "disabled",
17421
- "type": "boolean",
17422
- "complexType": {
17423
- "original": "boolean",
17424
- "resolved": "boolean",
17425
- "references": {}
17426
- },
17427
- "mutable": false,
17428
- "attr": "disabled",
17429
- "reflectToAttr": false,
17430
- "docs": "If `true`, the user cannot interact with the picker.",
17431
- "docsTags": [],
17432
- "default": "false",
17433
- "values": [
17434
- {
17435
- "type": "boolean"
17436
- }
17437
- ],
17438
- "optional": false,
17439
- "required": false
17440
- },
17441
- {
17442
- "name": "items",
17443
- "type": "PickerColumnItem[]",
17444
- "complexType": {
17445
- "original": "PickerColumnItem[]",
17446
- "resolved": "PickerColumnItem[]",
17447
- "references": {
17448
- "PickerColumnItem": {
17449
- "location": "import",
17450
- "path": "./picker-column-interfaces",
17451
- "id": "src/components/picker-column/picker-column-interfaces.ts::PickerColumnItem"
17452
- }
17453
- }
17454
- },
17455
- "mutable": false,
17456
- "reflectToAttr": false,
17457
- "docs": "A list of options to be displayed in the picker",
17458
- "docsTags": [],
17459
- "default": "[]",
17460
- "values": [
17461
- {
17462
- "type": "PickerColumnItem[]"
17463
- }
17464
- ],
17465
- "optional": false,
17466
- "required": false
17467
- },
17468
- {
17469
- "name": "mode",
17470
- "type": "\"ios\" | \"md\"",
17471
- "mutable": false,
17472
- "attr": "mode",
17473
- "reflectToAttr": false,
17474
- "docs": "The mode determines which platform styles to use.",
17475
- "docsTags": [],
17476
- "values": [
17477
- {
17478
- "value": "ios",
17479
- "type": "string"
17480
- },
17481
- {
17482
- "value": "md",
17483
- "type": "string"
17484
- }
17485
- ],
17486
- "optional": true,
17487
- "required": false
17488
- },
17489
- {
17490
- "name": "value",
17491
- "type": "number | string | undefined",
17492
- "complexType": {
17493
- "original": "string | number",
17494
- "resolved": "number | string | undefined",
17495
- "references": {}
17496
- },
17497
- "mutable": true,
17498
- "attr": "value",
17499
- "reflectToAttr": false,
17500
- "docs": "The selected option in the picker.",
17501
- "docsTags": [],
17502
- "values": [
17503
- {
17504
- "type": "number"
17505
- },
17506
- {
17507
- "type": "string"
17508
- },
17509
- {
17510
- "type": "undefined"
17511
- }
17512
- ],
17513
- "optional": true,
17514
- "required": false
17515
- }
17516
- ],
17517
- "methods": [
17518
- {
17519
- "name": "setFocus",
17520
- "returns": {
17521
- "type": "Promise<void>",
17522
- "docs": ""
17523
- },
17524
- "complexType": {
17525
- "signature": "() => Promise<void>",
17526
- "parameters": [],
17527
- "references": {
17528
- "Promise": {
17529
- "location": "global",
17530
- "id": "global::Promise"
17531
- }
17532
- },
17533
- "return": "Promise<void>"
17534
- },
17535
- "signature": "setFocus() => Promise<void>",
17536
- "parameters": [],
17537
- "docs": "Sets focus on the scrollable container within the picker column.\nUse this method instead of the global `pickerColumn.focus()`.",
17538
- "docsTags": []
17539
- }
17540
- ],
17541
- "events": [
17542
- {
17543
- "event": "ionChange",
17544
- "detail": "{ value: string | number | undefined; }",
17545
- "bubbles": true,
17546
- "complexType": {
17547
- "original": "{ value: string | number | undefined }",
17548
- "resolved": "{ value: string | number | undefined; }",
17549
- "references": {}
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
17253
  "encapsulation": "scoped",
17718
- "tag": "ion-picker-legacy",
17254
+ "tag": "ion-picker",
17719
17255
  "docs": "",
17720
17256
  "docsTags": [
17721
17257
  {
@@ -17779,7 +17315,7 @@
17779
17315
  "PickerButton": {
17780
17316
  "location": "import",
17781
17317
  "path": "./picker-interface",
17782
- "id": "src/components/picker-legacy/picker-interface.ts::PickerButton"
17318
+ "id": "src/components/picker/picker-interface.ts::PickerButton"
17783
17319
  }
17784
17320
  }
17785
17321
  },
@@ -17806,7 +17342,7 @@
17806
17342
  "PickerColumn": {
17807
17343
  "location": "import",
17808
17344
  "path": "./picker-interface",
17809
- "id": "src/components/picker-legacy/picker-interface.ts::PickerColumn"
17345
+ "id": "src/components/picker/picker-interface.ts::PickerColumn"
17810
17346
  }
17811
17347
  }
17812
17348
  },
@@ -18143,7 +17679,7 @@
18143
17679
  "PickerColumn": {
18144
17680
  "location": "import",
18145
17681
  "path": "./picker-interface",
18146
- "id": "src/components/picker-legacy/picker-interface.ts::PickerColumn"
17682
+ "id": "src/components/picker/picker-interface.ts::PickerColumn"
18147
17683
  }
18148
17684
  },
18149
17685
  "return": "Promise<PickerColumn | undefined>"
@@ -18454,12 +17990,12 @@
18454
17990
  "dependents": [],
18455
17991
  "dependencies": [
18456
17992
  "ion-backdrop",
18457
- "ion-picker-legacy-column"
17993
+ "ion-picker-column"
18458
17994
  ],
18459
17995
  "dependencyGraph": {
18460
- "ion-picker-legacy": [
17996
+ "ion-picker": [
18461
17997
  "ion-backdrop",
18462
- "ion-picker-legacy-column"
17998
+ "ion-picker-column"
18463
17999
  ]
18464
18000
  }
18465
18001
  },
@@ -29511,15 +29047,15 @@
29511
29047
  "docstring": "",
29512
29048
  "path": "src/components/datetime/datetime-interface.ts"
29513
29049
  },
29514
- "src/components/picker-column/picker-column-interfaces.ts::PickerColumnItem": {
29050
+ "src/components/picker-column-internal/picker-column-internal-interfaces.ts::PickerColumnItem": {
29515
29051
  "declaration": "export interface PickerColumnItem {\n text: string;\n value: string | number;\n disabled?: boolean;\n}",
29516
29052
  "docstring": "",
29517
- "path": "src/components/picker-column/picker-column-interfaces.ts"
29053
+ "path": "src/components/picker-column-internal/picker-column-internal-interfaces.ts"
29518
29054
  },
29519
- "src/components/picker/picker-interfaces.ts::PickerChangeEventDetail": {
29520
- "declaration": "export interface PickerChangeEventDetail {\n useInputMode: boolean;\n inputModeColumn?: HTMLIonPickerColumnElement;\n}",
29055
+ "src/components/picker-internal/picker-internal-interfaces.ts::PickerInternalChangeEventDetail": {
29056
+ "declaration": "export interface PickerInternalChangeEventDetail {\n useInputMode: boolean;\n inputModeColumn?: HTMLIonPickerColumnInternalElement;\n}",
29521
29057
  "docstring": "",
29522
- "path": "src/components/picker/picker-interfaces.ts"
29058
+ "path": "src/components/picker-internal/picker-internal-interfaces.ts"
29523
29059
  },
29524
29060
  "src/components/spinner/spinner-configs.ts::SpinnerTypes": {
29525
29061
  "declaration": "\"bubbles\" | \"circles\" | \"circular\" | \"crescent\" | \"dots\" | \"lines\" | \"lines-small\" | \"lines-sharp\" | \"lines-sharp-small\"",
@@ -29621,15 +29157,15 @@
29621
29157
  "docstring": "",
29622
29158
  "path": "src/components/router/utils/interface.ts"
29623
29159
  },
29624
- "src/components/picker-legacy/picker-interface.ts::PickerButton": {
29160
+ "src/components/picker/picker-interface.ts::PickerButton": {
29625
29161
  "declaration": "export interface PickerButton {\n text?: string;\n role?: string;\n cssClass?: string | string[];\n handler?: (value: any) => boolean | void;\n}",
29626
29162
  "docstring": "",
29627
- "path": "src/components/picker-legacy/picker-interface.ts"
29163
+ "path": "src/components/picker/picker-interface.ts"
29628
29164
  },
29629
- "src/components/picker-legacy/picker-interface.ts::PickerColumn": {
29165
+ "src/components/picker/picker-interface.ts::PickerColumn": {
29630
29166
  "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}",
29631
29167
  "docstring": "",
29632
- "path": "src/components/picker-legacy/picker-interface.ts"
29168
+ "path": "src/components/picker/picker-interface.ts"
29633
29169
  },
29634
29170
  "src/components/popover/popover-interface.ts::TriggerAction": {
29635
29171
  "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
1395
+ * @returns Date data to be used in ion-picker-column-internal
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-fbc5cab5.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';
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-fbc5cab5.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';
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-fbc5cab5.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';
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-4b9508c9.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';
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