@ionic/vue 7.7.4 → 8.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/css/core.css +90 -27
  2. package/css/core.css.map +1 -1
  3. package/css/display.css.map +1 -1
  4. package/css/float-elements.css.map +1 -1
  5. package/css/global.bundle.css +1 -1
  6. package/css/global.bundle.css.map +1 -1
  7. package/css/ionic-swiper.css.map +1 -1
  8. package/css/ionic.bundle.css +1 -1
  9. package/css/ionic.bundle.css.map +1 -1
  10. package/css/padding.css.map +1 -1
  11. package/css/structure.css.map +1 -1
  12. package/css/text-alignment.css.map +1 -1
  13. package/css/text-transformation.css.map +1 -1
  14. package/css/themes/dark.always.css +160 -0
  15. package/css/themes/dark.always.css.map +1 -0
  16. package/css/themes/dark.class.css +160 -0
  17. package/css/themes/dark.class.css.map +1 -0
  18. package/css/themes/dark.css +3 -0
  19. package/css/themes/dark.css.map +1 -0
  20. package/css/themes/dark.system.css +162 -0
  21. package/css/themes/dark.system.css.map +1 -0
  22. package/css/themes/high-contrast-dark.always.css +180 -0
  23. package/css/themes/high-contrast-dark.always.css.map +1 -0
  24. package/css/themes/high-contrast-dark.class.css +180 -0
  25. package/css/themes/high-contrast-dark.class.css.map +1 -0
  26. package/css/themes/high-contrast-dark.css +3 -0
  27. package/css/themes/high-contrast-dark.css.map +1 -0
  28. package/css/themes/high-contrast-dark.system.css +182 -0
  29. package/css/themes/high-contrast-dark.system.css.map +1 -0
  30. package/css/themes/high-contrast.always.css +101 -0
  31. package/css/themes/high-contrast.always.css.map +1 -0
  32. package/css/themes/high-contrast.class.css +101 -0
  33. package/css/themes/high-contrast.class.css.map +1 -0
  34. package/css/themes/high-contrast.css +3 -0
  35. package/css/themes/high-contrast.css.map +1 -0
  36. package/css/themes/high-contrast.system.css +103 -0
  37. package/css/themes/high-contrast.system.css.map +1 -0
  38. package/css/typography.css +1 -1
  39. package/css/typography.css.map +1 -1
  40. package/css/utils.bundle.css.map +1 -1
  41. package/dist/index.js +107 -99
  42. package/dist/index.js.map +1 -1
  43. package/dist/types/components/Overlays.d.ts +1 -1
  44. package/dist/types/controllers.d.ts +5 -2
  45. package/dist/types/proxies.d.ts +5 -0
  46. package/dist/vetur/attributes.json +80 -59
  47. package/dist/vetur/tags.json +23 -9
  48. package/dist/web-types.json +140 -86
  49. package/package.json +2 -2
@@ -206,7 +206,6 @@
206
206
  "indeterminate",
207
207
  "justify",
208
208
  "label-placement",
209
- "legacy",
210
209
  "mode",
211
210
  "name",
212
211
  "value"
@@ -388,7 +387,6 @@
388
387
  "ion-input": {
389
388
  "description": "",
390
389
  "attributes": [
391
- "accept",
392
390
  "autocapitalize",
393
391
  "autocomplete",
394
392
  "autocorrect",
@@ -407,7 +405,6 @@
407
405
  "inputmode",
408
406
  "label",
409
407
  "label-placement",
410
- "legacy",
411
408
  "max",
412
409
  "maxlength",
413
410
  "min",
@@ -420,7 +417,6 @@
420
417
  "readonly",
421
418
  "required",
422
419
  "shape",
423
- "size",
424
420
  "spellcheck",
425
421
  "step",
426
422
  "type",
@@ -612,6 +608,29 @@
612
608
  ]
613
609
  },
614
610
  "ion-picker": {
611
+ "description": "",
612
+ "attributes": [
613
+ "mode"
614
+ ]
615
+ },
616
+ "ion-picker-column": {
617
+ "description": "",
618
+ "attributes": [
619
+ "color",
620
+ "disabled",
621
+ "mode",
622
+ "value"
623
+ ]
624
+ },
625
+ "ion-picker-column-option": {
626
+ "description": "",
627
+ "attributes": [
628
+ "color",
629
+ "disabled",
630
+ "value"
631
+ ]
632
+ },
633
+ "ion-picker-legacy": {
615
634
  "description": "",
616
635
  "attributes": [
617
636
  "animated",
@@ -676,7 +695,6 @@
676
695
  "disabled",
677
696
  "justify",
678
697
  "label-placement",
679
- "legacy",
680
698
  "mode",
681
699
  "name",
682
700
  "value"
@@ -701,7 +719,6 @@
701
719
  "dual-knobs",
702
720
  "label",
703
721
  "label-placement",
704
- "legacy",
705
722
  "max",
706
723
  "min",
707
724
  "mode",
@@ -859,7 +876,6 @@
859
876
  "justify",
860
877
  "label",
861
878
  "label-placement",
862
- "legacy",
863
879
  "mode",
864
880
  "multiple",
865
881
  "name",
@@ -962,7 +978,6 @@
962
978
  "inputmode",
963
979
  "label",
964
980
  "label-placement",
965
- "legacy",
966
981
  "maxlength",
967
982
  "minlength",
968
983
  "mode",
@@ -1023,7 +1038,6 @@
1023
1038
  "enable-on-off-labels",
1024
1039
  "justify",
1025
1040
  "label-placement",
1026
- "legacy",
1027
1041
  "mode",
1028
1042
  "name",
1029
1043
  "value"
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@ionic/vue",
5
- "version": "7.7.4",
5
+ "version": "8.0.0-beta.1",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "types-syntax": "typescript",
@@ -1593,15 +1593,6 @@
1593
1593
  "type": "\"end\" | \"fixed\" | \"stacked\" | \"start\""
1594
1594
  }
1595
1595
  },
1596
- {
1597
- "name": "legacy",
1598
- "description": "Set the `legacy` property to `true` to forcibly use the legacy form control markup.\nIonic will only opt checkboxes in to the modern form markup when they are\nusing either the `aria-label` attribute or have text in the default slot. As a result,\nthe `legacy` property should only be used as an escape hatch when you want to\navoid this automatic opt-in behavior.\n\nNote that this property will be removed in an upcoming major release\nof Ionic, and all form components will be opted-in to using the modern form markup.",
1599
- "required": false,
1600
- "value": {
1601
- "kind": "expression",
1602
- "type": "boolean | undefined"
1603
- }
1604
- },
1605
1596
  {
1606
1597
  "name": "mode",
1607
1598
  "description": "The mode determines which platform styles to use.",
@@ -2997,15 +2988,6 @@
2997
2988
  "symbol": "Input"
2998
2989
  },
2999
2990
  "attributes": [
3000
- {
3001
- "name": "accept",
3002
- "description": "This attribute is ignored.",
3003
- "required": false,
3004
- "value": {
3005
- "kind": "expression",
3006
- "type": "string | undefined"
3007
- }
3008
- },
3009
2991
  {
3010
2992
  "name": "autocapitalize",
3011
2993
  "description": "Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.\nAvailable options: `\"off\"`, `\"none\"`, `\"on\"`, `\"sentences\"`, `\"words\"`, `\"characters\"`.",
@@ -3176,15 +3158,6 @@
3176
3158
  "type": "\"end\" | \"fixed\" | \"floating\" | \"stacked\" | \"start\""
3177
3159
  }
3178
3160
  },
3179
- {
3180
- "name": "legacy",
3181
- "description": "Set the `legacy` property to `true` to forcibly use the legacy form control markup.\nIonic will only opt components in to the modern form markup when they are\nusing either the `aria-label` attribute or the `label` property. As a result,\nthe `legacy` property should only be used as an escape hatch when you want to\navoid this automatic opt-in behavior.\nNote that this property will be removed in an upcoming major release\nof Ionic, and all form components will be opted-in to using the modern form markup.",
3182
- "required": false,
3183
- "value": {
3184
- "kind": "expression",
3185
- "type": "boolean | undefined"
3186
- }
3187
- },
3188
3161
  {
3189
3162
  "name": "max",
3190
3163
  "description": "The maximum value, which must not be less than its minimum (min attribute) value.",
@@ -3296,15 +3269,6 @@
3296
3269
  "type": "\"round\" | undefined"
3297
3270
  }
3298
3271
  },
3299
- {
3300
- "name": "size",
3301
- "description": "",
3302
- "required": false,
3303
- "value": {
3304
- "kind": "expression",
3305
- "type": "number | undefined"
3306
- }
3307
- },
3308
3272
  {
3309
3273
  "name": "spellcheck",
3310
3274
  "description": "If `true`, the element will have its spelling and grammar checked.",
@@ -4764,6 +4728,141 @@
4764
4728
  "module": "@ionic/core/src/components/picker/picker.d.ts",
4765
4729
  "symbol": "Picker"
4766
4730
  },
4731
+ "attributes": [
4732
+ {
4733
+ "name": "mode",
4734
+ "description": "The mode determines which platform styles to use.",
4735
+ "required": false,
4736
+ "value": {
4737
+ "kind": "expression",
4738
+ "type": "\"ios\" | \"md\""
4739
+ }
4740
+ }
4741
+ ],
4742
+ "slots": [],
4743
+ "events": []
4744
+ },
4745
+ {
4746
+ "name": "IonPickerColumn",
4747
+ "doc-url": "https://ionicframework.com/docs/api/picker-column",
4748
+ "description": "",
4749
+ "source": {
4750
+ "module": "@ionic/core/src/components/picker-column/picker-column.d.ts",
4751
+ "symbol": "PickerColumn"
4752
+ },
4753
+ "attributes": [
4754
+ {
4755
+ "name": "color",
4756
+ "description": "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).",
4757
+ "required": false,
4758
+ "default": "'primary'",
4759
+ "value": {
4760
+ "kind": "expression",
4761
+ "type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never> | undefined"
4762
+ }
4763
+ },
4764
+ {
4765
+ "name": "disabled",
4766
+ "description": "If `true`, the user cannot interact with the picker.",
4767
+ "required": false,
4768
+ "default": "false",
4769
+ "value": {
4770
+ "kind": "expression",
4771
+ "type": "boolean"
4772
+ }
4773
+ },
4774
+ {
4775
+ "name": "mode",
4776
+ "description": "The mode determines which platform styles to use.",
4777
+ "required": false,
4778
+ "value": {
4779
+ "kind": "expression",
4780
+ "type": "\"ios\" | \"md\""
4781
+ }
4782
+ },
4783
+ {
4784
+ "name": "value",
4785
+ "description": "The selected option in the picker.",
4786
+ "required": false,
4787
+ "value": {
4788
+ "kind": "expression",
4789
+ "type": "number | string | undefined"
4790
+ }
4791
+ }
4792
+ ],
4793
+ "slots": [
4794
+ {
4795
+ "name": "prefix",
4796
+ "description": "Content to show on the left side of the picker options."
4797
+ },
4798
+ {
4799
+ "name": "suffix",
4800
+ "description": "Content to show on the right side of the picker options."
4801
+ }
4802
+ ],
4803
+ "events": [
4804
+ {
4805
+ "name": "ionChange",
4806
+ "description": "Emitted when the value has changed.",
4807
+ "arguments": [
4808
+ {
4809
+ "name": "detail",
4810
+ "type": "PickerColumnChangeEventDetail"
4811
+ }
4812
+ ]
4813
+ }
4814
+ ]
4815
+ },
4816
+ {
4817
+ "name": "IonPickerColumnOption",
4818
+ "doc-url": "https://ionicframework.com/docs/api/picker-column-option",
4819
+ "description": "",
4820
+ "source": {
4821
+ "module": "@ionic/core/src/components/picker-column-option/picker-column-option.d.ts",
4822
+ "symbol": "PickerColumnOption"
4823
+ },
4824
+ "attributes": [
4825
+ {
4826
+ "name": "color",
4827
+ "description": "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).",
4828
+ "required": false,
4829
+ "default": "'primary'",
4830
+ "value": {
4831
+ "kind": "expression",
4832
+ "type": "\"danger\" | \"dark\" | \"light\" | \"medium\" | \"primary\" | \"secondary\" | \"success\" | \"tertiary\" | \"warning\" | string & Record<never, never> | undefined"
4833
+ }
4834
+ },
4835
+ {
4836
+ "name": "disabled",
4837
+ "description": "If `true`, the user cannot interact with the picker column option.",
4838
+ "required": false,
4839
+ "default": "false",
4840
+ "value": {
4841
+ "kind": "expression",
4842
+ "type": "boolean"
4843
+ }
4844
+ },
4845
+ {
4846
+ "name": "value",
4847
+ "description": "The text value of the option.",
4848
+ "required": false,
4849
+ "value": {
4850
+ "kind": "expression",
4851
+ "type": "any"
4852
+ }
4853
+ }
4854
+ ],
4855
+ "slots": [],
4856
+ "events": []
4857
+ },
4858
+ {
4859
+ "name": "IonPickerLegacy",
4860
+ "doc-url": "https://ionicframework.com/docs/api/picker-legacy",
4861
+ "description": "",
4862
+ "source": {
4863
+ "module": "@ionic/core/src/components/picker-legacy/picker.d.ts",
4864
+ "symbol": "PickerLegacy"
4865
+ },
4767
4866
  "attributes": [
4768
4867
  {
4769
4868
  "name": "animated",
@@ -4923,7 +5022,7 @@
4923
5022
  ]
4924
5023
  },
4925
5024
  {
4926
- "name": "onDidDismiss",
5025
+ "name": "ionPickerDidDismiss",
4927
5026
  "description": "Emitted after the picker has dismissed.",
4928
5027
  "arguments": [
4929
5028
  {
@@ -4933,7 +5032,7 @@
4933
5032
  ]
4934
5033
  },
4935
5034
  {
4936
- "name": "onDidPresent",
5035
+ "name": "ionPickerDidPresent",
4937
5036
  "description": "Emitted after the picker has presented.",
4938
5037
  "arguments": [
4939
5038
  {
@@ -4943,7 +5042,7 @@
4943
5042
  ]
4944
5043
  },
4945
5044
  {
4946
- "name": "onWillDismiss",
5045
+ "name": "ionPickerWillDismiss",
4947
5046
  "description": "Emitted before the picker has dismissed.",
4948
5047
  "arguments": [
4949
5048
  {
@@ -4953,7 +5052,7 @@
4953
5052
  ]
4954
5053
  },
4955
5054
  {
4956
- "name": "onWillPresent",
5055
+ "name": "ionPickerWillPresent",
4957
5056
  "description": "Emitted before the picker has presented.",
4958
5057
  "arguments": [
4959
5058
  {
@@ -5423,15 +5522,6 @@
5423
5522
  "type": "\"end\" | \"fixed\" | \"stacked\" | \"start\""
5424
5523
  }
5425
5524
  },
5426
- {
5427
- "name": "legacy",
5428
- "description": "Set the `legacy` property to `true` to forcibly use the legacy form control markup.\nIonic will only opt components in to the modern form markup when they are\nusing either the `aria-label` attribute or the default slot that contains\nthe label text. As a result, the `legacy` property should only be used as\nan escape hatch when you want to avoid this automatic opt-in behavior.\nNote that this property will be removed in an upcoming major release\nof Ionic, and all form components will be opted-in to using the modern form markup.",
5429
- "required": false,
5430
- "value": {
5431
- "kind": "expression",
5432
- "type": "boolean | undefined"
5433
- }
5434
- },
5435
5525
  {
5436
5526
  "name": "mode",
5437
5527
  "description": "The mode determines which platform styles to use.",
@@ -5627,15 +5717,6 @@
5627
5717
  "type": "\"end\" | \"fixed\" | \"stacked\" | \"start\""
5628
5718
  }
5629
5719
  },
5630
- {
5631
- "name": "legacy",
5632
- "description": "Set the `legacy` property to `true` to forcibly use the legacy form control markup.\nIonic will only opt components in to the modern form markup when they are\nusing either the `aria-label` attribute or the `label` property. As a result,\nthe `legacy` property should only be used as an escape hatch when you want to\navoid this automatic opt-in behavior.\nNote that this property will be removed in an upcoming major release\nof Ionic, and all form components will be opted-in to using the modern form markup.",
5633
- "required": false,
5634
- "value": {
5635
- "kind": "expression",
5636
- "type": "boolean | undefined"
5637
- }
5638
- },
5639
5720
  {
5640
5721
  "name": "max",
5641
5722
  "description": "Maximum integer value of the range.",
@@ -6660,15 +6741,6 @@
6660
6741
  "type": "\"end\" | \"fixed\" | \"floating\" | \"stacked\" | \"start\" | undefined"
6661
6742
  }
6662
6743
  },
6663
- {
6664
- "name": "legacy",
6665
- "description": "Set the `legacy` property to `true` to forcibly use the legacy form control markup.\nIonic will only opt components in to the modern form markup when they are\nusing either the `aria-label` attribute or the `label` property. As a result,\nthe `legacy` property should only be used as an escape hatch when you want to\navoid this automatic opt-in behavior.\nNote that this property will be removed in an upcoming major release\nof Ionic, and all form components will be opted-in to using the modern form markup.",
6666
- "required": false,
6667
- "value": {
6668
- "kind": "expression",
6669
- "type": "boolean | undefined"
6670
- }
6671
- },
6672
6744
  {
6673
6745
  "name": "mode",
6674
6746
  "description": "The mode determines which platform styles to use.",
@@ -7402,15 +7474,6 @@
7402
7474
  "type": "\"end\" | \"fixed\" | \"floating\" | \"stacked\" | \"start\""
7403
7475
  }
7404
7476
  },
7405
- {
7406
- "name": "legacy",
7407
- "description": "Set the `legacy` property to `true` to forcibly use the legacy form control markup.\nIonic will only opt components in to the modern form markup when they are\nusing either the `aria-label` attribute or the default slot that contains\nthe label text. As a result, the `legacy` property should only be used as\nan escape hatch when you want to avoid this automatic opt-in behavior.\nNote that this property will be removed in an upcoming major release\nof Ionic, and all form components will be opted-in to using the modern form markup.",
7408
- "required": false,
7409
- "value": {
7410
- "kind": "expression",
7411
- "type": "boolean | undefined"
7412
- }
7413
- },
7414
7477
  {
7415
7478
  "name": "maxlength",
7416
7479
  "description": "This attribute specifies the maximum number of characters that the user can enter.",
@@ -7984,15 +8047,6 @@
7984
8047
  "type": "\"end\" | \"fixed\" | \"stacked\" | \"start\""
7985
8048
  }
7986
8049
  },
7987
- {
7988
- "name": "legacy",
7989
- "description": "Set the `legacy` property to `true` to forcibly use the legacy form control markup.\nIonic will only opt components in to the modern form markup when they are\nusing either the `aria-label` attribute or the default slot that contains\nthe label text. As a result, the `legacy` property should only be used as\nan escape hatch when you want to avoid this automatic opt-in behavior.\nNote that this property will be removed in an upcoming major release\nof Ionic, and all form components will be opted-in to using the modern form markup.",
7990
- "required": false,
7991
- "value": {
7992
- "kind": "expression",
7993
- "type": "boolean | undefined"
7994
- }
7995
- },
7996
8050
  {
7997
8051
  "name": "mode",
7998
8052
  "description": "The mode determines which platform styles to use.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/vue",
3
- "version": "7.7.4",
3
+ "version": "8.0.0-beta.1",
4
4
  "description": "Vue specific wrapper for @ionic/core",
5
5
  "scripts": {
6
6
  "eslint": "eslint src",
@@ -66,7 +66,7 @@
66
66
  "vue-router": "^4.0.16"
67
67
  },
68
68
  "dependencies": {
69
- "@ionic/core": "7.7.4",
69
+ "@ionic/core": "8.0.0-beta.1",
70
70
  "ionicons": "^7.0.0"
71
71
  },
72
72
  "vetur": {