@ionic/core 8.2.3-dev.11721225504.1476a6ac → 8.2.3-dev.11724326037.1eacfaff

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 (124) hide show
  1. package/components/button.js +7 -6
  2. package/components/ion-badge.js +1 -1
  3. package/components/ion-card-content.js +5 -5
  4. package/components/ion-card-header.js +4 -4
  5. package/components/ion-card-subtitle.js +4 -4
  6. package/components/ion-card.js +3 -3
  7. package/components/ion-chip.js +1 -1
  8. package/components/ion-input-password-toggle.js +11 -7
  9. package/components/item.js +11 -4
  10. package/components/list.js +1 -1
  11. package/components/ripple-effect.js +15 -5
  12. package/components/spinner.js +4 -5
  13. package/css/core.css +1 -1
  14. package/css/core.css.map +1 -1
  15. package/css/ionic.bundle.css +1 -1
  16. package/css/ionic.bundle.css.map +1 -1
  17. package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
  18. package/dist/cjs/ion-button_2.cjs.entry.js +6 -5
  19. package/dist/cjs/ion-card_5.cjs.entry.js +16 -16
  20. package/dist/cjs/ion-chip.cjs.entry.js +1 -1
  21. package/dist/cjs/ion-input-password-toggle.cjs.entry.js +11 -7
  22. package/dist/cjs/ion-item_8.cjs.entry.js +12 -5
  23. package/dist/cjs/ion-ripple-effect.cjs.entry.js +14 -4
  24. package/dist/cjs/ion-spinner.cjs.entry.js +3 -4
  25. package/dist/cjs/ionic.cjs.js +1 -1
  26. package/dist/cjs/loader.cjs.js +1 -1
  27. package/dist/collection/components/badge/badge.ionic.css +4 -4
  28. package/dist/collection/components/badge/test/basic/badge.e2e.js +1 -1
  29. package/dist/collection/components/button/button.ionic.css +346 -172
  30. package/dist/collection/components/button/button.ios.css +87 -20
  31. package/dist/collection/components/button/button.js +4 -3
  32. package/dist/collection/components/button/button.md.css +87 -20
  33. package/dist/collection/components/button/test/basic/button.e2e.js +3 -3
  34. package/dist/collection/components/button/test/clear/button.e2e.js +1 -1
  35. package/dist/collection/components/button/test/outline/button.e2e.js +1 -1
  36. package/dist/collection/components/button/test/states/button.e2e.js +3 -3
  37. package/dist/collection/components/card/card.ionic.css +61 -10
  38. package/dist/collection/components/card/card.ios.css +37 -12
  39. package/dist/collection/components/card/card.md.css +37 -12
  40. package/dist/collection/components/card-content/card-content.ionic.css +92 -0
  41. package/dist/collection/components/card-content/card-content.ios.css +4 -1
  42. package/dist/collection/components/card-content/card-content.js +3 -3
  43. package/dist/collection/components/card-content/card-content.md.css +4 -1
  44. package/dist/collection/components/card-header/card-header.ionic.css +89 -0
  45. package/dist/collection/components/card-header/card-header.ios.css +15 -15
  46. package/dist/collection/components/card-header/card-header.js +4 -4
  47. package/dist/collection/components/card-header/card-header.md.css +15 -15
  48. package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +148 -0
  49. package/dist/collection/components/card-subtitle/card-subtitle.js +4 -4
  50. package/dist/collection/components/card-title/card-title.ios.css +61 -0
  51. package/dist/collection/components/card-title/card-title.md.css +61 -0
  52. package/dist/collection/components/chip/chip.ionic.css +22 -1
  53. package/dist/collection/components/chip/test/basic/chip.e2e.js +28 -29
  54. package/dist/collection/components/input-password-toggle/input-password-toggle.common.css +61 -0
  55. package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +137 -0
  56. package/dist/collection/components/input-password-toggle/input-password-toggle.js +9 -7
  57. package/dist/collection/components/input-password-toggle/test/basic/input-password-toggle.e2e.js +1 -1
  58. package/dist/collection/components/item/item.ionic.css +77 -65
  59. package/dist/collection/components/item/item.js +10 -3
  60. package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +2 -2
  61. package/dist/collection/components/list/list.ionic.css +1 -0
  62. package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +154 -0
  63. package/dist/collection/components/ripple-effect/ripple-effect.js +7 -3
  64. package/dist/collection/components/spinner/spinner.js +4 -5
  65. package/dist/collection/themes/ionic/test/colors/theme.e2e.js +120 -0
  66. package/dist/docs.json +157 -1
  67. package/dist/esm/ion-avatar_3.entry.js +1 -1
  68. package/dist/esm/ion-button_2.entry.js +7 -6
  69. package/dist/esm/ion-card_5.entry.js +16 -16
  70. package/dist/esm/ion-chip.entry.js +1 -1
  71. package/dist/esm/ion-input-password-toggle.entry.js +11 -7
  72. package/dist/esm/ion-item_8.entry.js +12 -5
  73. package/dist/esm/ion-ripple-effect.entry.js +14 -4
  74. package/dist/esm/ion-spinner.entry.js +4 -5
  75. package/dist/esm/ionic.js +1 -1
  76. package/dist/esm/loader.js +1 -1
  77. package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
  78. package/dist/esm-es5/ion-button_2.entry.js +1 -1
  79. package/dist/esm-es5/ion-card_5.entry.js +1 -1
  80. package/dist/esm-es5/ion-chip.entry.js +1 -1
  81. package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
  82. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  83. package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
  84. package/dist/esm-es5/ion-spinner.entry.js +1 -1
  85. package/dist/esm-es5/ionic.js +1 -1
  86. package/dist/esm-es5/loader.js +1 -1
  87. package/dist/ionic/ionic.esm.js +1 -1
  88. package/dist/ionic/p-22952d7a.system.entry.js +4 -0
  89. package/dist/ionic/p-33dd8047.system.entry.js +4 -0
  90. package/dist/ionic/p-3d9c39bc.entry.js +4 -0
  91. package/dist/ionic/p-4f053633.system.entry.js +4 -0
  92. package/dist/ionic/p-6d47fa40.entry.js +4 -0
  93. package/dist/ionic/p-7b590e46.system.js +1 -1
  94. package/dist/ionic/p-81350e4b.system.entry.js +4 -0
  95. package/dist/ionic/p-8b09c4cb.system.entry.js +4 -0
  96. package/dist/ionic/p-91b33f25.entry.js +4 -0
  97. package/dist/ionic/p-a0e155e1.system.entry.js +4 -0
  98. package/dist/ionic/p-a814eee1.entry.js +4 -0
  99. package/dist/ionic/p-b4b44bf9.system.entry.js +4 -0
  100. package/dist/ionic/{p-3ce954c7.entry.js → p-c11fdca2.entry.js} +1 -1
  101. package/dist/ionic/p-c1bb715a.entry.js +4 -0
  102. package/dist/ionic/p-d3c9617d.system.entry.js +4 -0
  103. package/dist/ionic/p-d45fd591.entry.js +4 -0
  104. package/dist/ionic/p-f1aa5723.entry.js +4 -0
  105. package/dist/types/components/item/item.d.ts +5 -0
  106. package/hydrate/index.js +65 -44
  107. package/package.json +1 -1
  108. package/dist/collection/components/input-password-toggle/input-password-toggle.css +0 -0
  109. package/dist/ionic/p-128f0f15.system.entry.js +0 -4
  110. package/dist/ionic/p-1be0295f.entry.js +0 -4
  111. package/dist/ionic/p-41c9fb60.entry.js +0 -4
  112. package/dist/ionic/p-42452dc9.entry.js +0 -4
  113. package/dist/ionic/p-4d6c2031.system.entry.js +0 -4
  114. package/dist/ionic/p-8102551e.system.entry.js +0 -4
  115. package/dist/ionic/p-85ca50a9.system.entry.js +0 -4
  116. package/dist/ionic/p-924deb6b.entry.js +0 -4
  117. package/dist/ionic/p-935801cc.entry.js +0 -4
  118. package/dist/ionic/p-9771abb4.entry.js +0 -4
  119. package/dist/ionic/p-a0b51978.system.entry.js +0 -4
  120. package/dist/ionic/p-a3b856e6.system.entry.js +0 -4
  121. package/dist/ionic/p-ae79f1e2.entry.js +0 -4
  122. package/dist/ionic/p-bbefc52b.system.entry.js +0 -4
  123. package/dist/ionic/p-dc60009b.system.entry.js +0 -4
  124. /package/dist/collection/components/ripple-effect/{ripple-effect.css → ripple-effect.common.css} +0 -0
@@ -4,7 +4,7 @@
4
4
  import { Host, h } from "@stencil/core";
5
5
  import { createColorClasses } from "../../utils/theme";
6
6
  import { config } from "../../global/config";
7
- import { getIonTheme } from "../../global/ionic-global";
7
+ import { getIonTheme, getIonMode } from "../../global/ionic-global";
8
8
  import { SPINNERS } from "./spinner-configs";
9
9
  /**
10
10
  * @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
@@ -18,14 +18,13 @@ export class Spinner {
18
18
  this.paused = false;
19
19
  this.size = undefined;
20
20
  }
21
- // TODO(ROU-10920): Switch `theme` to `mode`.
22
21
  getName() {
23
22
  const spinnerName = this.name || config.get('spinner');
24
- const theme = getIonTheme(this);
23
+ const mode = getIonMode(this);
25
24
  if (spinnerName) {
26
25
  return spinnerName;
27
26
  }
28
- return theme === 'ios' ? 'lines' : 'circular';
27
+ return mode === 'ios' ? 'lines' : 'circular';
29
28
  }
30
29
  getSize() {
31
30
  const theme = getIonTheme(this);
@@ -58,7 +57,7 @@ export class Spinner {
58
57
  svgs.push(buildLine(spinner, duration, i, spinner.lines));
59
58
  }
60
59
  }
61
- return (h(Host, { key: '6cac09975f1088551e71b1c60033d3571438f374', class: createColorClasses(self.color, {
60
+ return (h(Host, { key: '49fd776ff3793a76b111c1f0e0fc0755d1d28d6c', class: createColorClasses(self.color, {
62
61
  [theme]: true,
63
62
  [`spinner-${spinnerName}`]: true,
64
63
  'spinner-paused': self.paused || config.getBoolean('_testing'),
@@ -0,0 +1,120 @@
1
+ /*!
2
+ * (C) Ionic http://ionicframework.com - MIT License
3
+ */
4
+ import AxeBuilder from "@axe-core/playwright";
5
+ import { expect } from "@playwright/test";
6
+ import { configs, test } from "../../../../utils/test/playwright/index";
7
+ /**
8
+ * Small text is defined as 14pt (~18.5px)
9
+ * when computing color contrast: https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html
10
+ */
11
+ const styleTestHelpers = `
12
+ <style>
13
+ main {
14
+ background: var(--ion-color-contrast);
15
+ font-size: 14pt;
16
+ }
17
+ .ion-background {
18
+ background: var(--ion-color-base);
19
+ }
20
+ .ion-background-shade {
21
+ background: var(--ion-color-shade);
22
+ }
23
+ .ion-background-tint {
24
+ background: var(--ion-color-tint);
25
+ }
26
+ .ion-background-opacity-08 {
27
+ background: rgba(var(--ion-color-base-rgb), 0.08);
28
+ }
29
+ .ion-background-opacity-12 {
30
+ background: rgba(var(--ion-color-base-rgb), 0.12);
31
+ }
32
+ .ion-background-opacity-16 {
33
+ background: rgba(var(--ion-color-base-rgb), 0.16);
34
+ }
35
+ .ion-color {
36
+ color: var(--ion-color-base);
37
+ }
38
+ .ion-color-contrast {
39
+ color: var(--ion-color-contrast);
40
+ }
41
+ </style>
42
+ `;
43
+ /**
44
+ * All colors should be tested in the following scenarios:
45
+ * 1) The base color as the text color against the contrast color as the background color
46
+ * 2) The contrast color as the text color against the base color as the background color
47
+ * 3) The contrast color as the text color against the shade color as the background color
48
+ * 4) The contrast color as the text color against the tint color as the background color
49
+ * 5) The base color as the text color against the base color at 0.08 opacity as the background color
50
+ * 6) The base color as the text color against the base color at 0.12 opacity as the background color
51
+ * 7) The base color as the text color against the base color at 0.16 opacity as the background color
52
+ */
53
+ configs({ modes: ['ionic-md'], directions: ['ltr'], palettes: ['light', 'dark'] }).forEach(({ config, title }) => {
54
+ const colors = ['primary', 'neutral', 'success', 'warning', 'danger', 'light'];
55
+ test.describe(title('theme'), () => {
56
+ test.beforeEach(({ skip }) => {
57
+ skip.browser('firefox', 'Color contrast ratio is consistent across browsers');
58
+ skip.browser('webkit', 'Color contrast ratio is consistent across browsers');
59
+ });
60
+ for (const color of colors) {
61
+ test(`color "${color}" should pass AA guidelines`, async ({ page }) => {
62
+ await page.setContent(`${styleTestHelpers}
63
+ <main class="ion-color-${color}">
64
+ <p class="ion-color">Hello World</p>
65
+ </main>`, config);
66
+ const results = await new AxeBuilder({ page }).analyze();
67
+ expect(results.violations).toEqual([]);
68
+ });
69
+ test(`contrast color on "${color}" background should pass AA guidelines`, async ({ page }) => {
70
+ await page.setContent(`${styleTestHelpers}
71
+ <main class="ion-color-${color}">
72
+ <p class="ion-color-contrast ion-background">Hello World</p>
73
+ </main>`, config);
74
+ const results = await new AxeBuilder({ page }).analyze();
75
+ expect(results.violations).toEqual([]);
76
+ });
77
+ test(`contrast color on "${color}" background shade should pass AA guidelines`, async ({ page }) => {
78
+ await page.setContent(`${styleTestHelpers}
79
+ <main class="ion-color-${color}">
80
+ <p class="ion-color-contrast ion-background-shade">Hello World</p>
81
+ </main>`, config);
82
+ const results = await new AxeBuilder({ page }).analyze();
83
+ expect(results.violations).toEqual([]);
84
+ });
85
+ test(`contrast color on "${color}" background tint should pass AA guidelines`, async ({ page }) => {
86
+ await page.setContent(`${styleTestHelpers}
87
+ <main class="ion-color-${color}">
88
+ <p class="ion-color-contrast ion-background-tint">Hello World</p>
89
+ </main>`, config);
90
+ const results = await new AxeBuilder({ page }).analyze();
91
+ expect(results.violations).toEqual([]);
92
+ });
93
+ test(`color "${color}" on 0.08 opacity background should pass AA guidelines`, async ({ page }) => {
94
+ await page.setContent(`${styleTestHelpers}
95
+ <main class="ion-color-${color}">
96
+ <p class="ion-color ion-background-opacity-08">Hello World</p>
97
+ </main>`, config);
98
+ const results = await new AxeBuilder({ page }).analyze();
99
+ expect(results.violations).toEqual([]);
100
+ });
101
+ test(`color "${color}" on 0.12 opacity background should pass AA guidelines`, async ({ page }) => {
102
+ await page.setContent(`${styleTestHelpers}
103
+ <main class="ion-color-${color}">
104
+ <p class="ion-color ion-background-opacity-12">Hello World</p>
105
+ </main>`, config);
106
+ const results = await new AxeBuilder({ page }).analyze();
107
+ expect(results.violations).toEqual([]);
108
+ });
109
+ // TODO(ROU-10778): Re-enable this test once the colors have been finalized
110
+ test.skip(`color "${color}" on 0.16 opacity background should pass AA guidelines`, async ({ page }) => {
111
+ await page.setContent(`${styleTestHelpers}
112
+ <main class="ion-color-${color}">
113
+ <p class="ion-color ion-background-opacity-16">Hello World</p>
114
+ </main>`, config);
115
+ const results = await new AxeBuilder({ page }).analyze();
116
+ expect(results.violations).toEqual([]);
117
+ });
118
+ }
119
+ });
120
+ });
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2024-07-17T14:14:32",
2
+ "timestamp": "2024-08-22T11:30:28",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.18.3",
@@ -5545,6 +5545,12 @@
5545
5545
  ],
5546
5546
  "listeners": [],
5547
5547
  "styles": [
5548
+ {
5549
+ "name": "--background",
5550
+ "annotation": "prop",
5551
+ "docs": "Background of the button",
5552
+ "mode": "ionic"
5553
+ },
5548
5554
  {
5549
5555
  "name": "--background",
5550
5556
  "annotation": "prop",
@@ -5557,6 +5563,12 @@
5557
5563
  "docs": "Background of the button",
5558
5564
  "mode": "md"
5559
5565
  },
5566
+ {
5567
+ "name": "--background-activated",
5568
+ "annotation": "prop",
5569
+ "docs": "Background of the button when pressed. Note: setting this will interfere with the Material Design ripple.",
5570
+ "mode": "ionic"
5571
+ },
5560
5572
  {
5561
5573
  "name": "--background-activated",
5562
5574
  "annotation": "prop",
@@ -5569,6 +5581,12 @@
5569
5581
  "docs": "Background of the button when pressed. Note: setting this will interfere with the Material Design ripple.",
5570
5582
  "mode": "md"
5571
5583
  },
5584
+ {
5585
+ "name": "--background-activated-opacity",
5586
+ "annotation": "prop",
5587
+ "docs": "Opacity of the button when pressed",
5588
+ "mode": "ionic"
5589
+ },
5572
5590
  {
5573
5591
  "name": "--background-activated-opacity",
5574
5592
  "annotation": "prop",
@@ -5581,6 +5599,12 @@
5581
5599
  "docs": "Opacity of the button when pressed",
5582
5600
  "mode": "md"
5583
5601
  },
5602
+ {
5603
+ "name": "--background-focused",
5604
+ "annotation": "prop",
5605
+ "docs": "Background of the button when focused with the tab key",
5606
+ "mode": "ionic"
5607
+ },
5584
5608
  {
5585
5609
  "name": "--background-focused",
5586
5610
  "annotation": "prop",
@@ -5593,6 +5617,12 @@
5593
5617
  "docs": "Background of the button when focused with the tab key",
5594
5618
  "mode": "md"
5595
5619
  },
5620
+ {
5621
+ "name": "--background-focused-opacity",
5622
+ "annotation": "prop",
5623
+ "docs": "Opacity of the button when focused with the tab key",
5624
+ "mode": "ionic"
5625
+ },
5596
5626
  {
5597
5627
  "name": "--background-focused-opacity",
5598
5628
  "annotation": "prop",
@@ -5605,6 +5635,12 @@
5605
5635
  "docs": "Opacity of the button when focused with the tab key",
5606
5636
  "mode": "md"
5607
5637
  },
5638
+ {
5639
+ "name": "--background-hover",
5640
+ "annotation": "prop",
5641
+ "docs": "Background of the button on hover",
5642
+ "mode": "ionic"
5643
+ },
5608
5644
  {
5609
5645
  "name": "--background-hover",
5610
5646
  "annotation": "prop",
@@ -5617,6 +5653,12 @@
5617
5653
  "docs": "Background of the button on hover",
5618
5654
  "mode": "md"
5619
5655
  },
5656
+ {
5657
+ "name": "--background-hover-opacity",
5658
+ "annotation": "prop",
5659
+ "docs": "Opacity of the background on hover",
5660
+ "mode": "ionic"
5661
+ },
5620
5662
  {
5621
5663
  "name": "--background-hover-opacity",
5622
5664
  "annotation": "prop",
@@ -5629,6 +5671,12 @@
5629
5671
  "docs": "Opacity of the background on hover",
5630
5672
  "mode": "md"
5631
5673
  },
5674
+ {
5675
+ "name": "--border-color",
5676
+ "annotation": "prop",
5677
+ "docs": "Border color of the button",
5678
+ "mode": "ionic"
5679
+ },
5632
5680
  {
5633
5681
  "name": "--border-color",
5634
5682
  "annotation": "prop",
@@ -5641,6 +5689,12 @@
5641
5689
  "docs": "Border color of the button",
5642
5690
  "mode": "md"
5643
5691
  },
5692
+ {
5693
+ "name": "--border-radius",
5694
+ "annotation": "prop",
5695
+ "docs": "Border radius of the button",
5696
+ "mode": "ionic"
5697
+ },
5644
5698
  {
5645
5699
  "name": "--border-radius",
5646
5700
  "annotation": "prop",
@@ -5653,6 +5707,12 @@
5653
5707
  "docs": "Border radius of the button",
5654
5708
  "mode": "md"
5655
5709
  },
5710
+ {
5711
+ "name": "--border-style",
5712
+ "annotation": "prop",
5713
+ "docs": "Border style of the button",
5714
+ "mode": "ionic"
5715
+ },
5656
5716
  {
5657
5717
  "name": "--border-style",
5658
5718
  "annotation": "prop",
@@ -5665,6 +5725,12 @@
5665
5725
  "docs": "Border style of the button",
5666
5726
  "mode": "md"
5667
5727
  },
5728
+ {
5729
+ "name": "--border-width",
5730
+ "annotation": "prop",
5731
+ "docs": "Border width of the button",
5732
+ "mode": "ionic"
5733
+ },
5668
5734
  {
5669
5735
  "name": "--border-width",
5670
5736
  "annotation": "prop",
@@ -5677,6 +5743,12 @@
5677
5743
  "docs": "Border width of the button",
5678
5744
  "mode": "md"
5679
5745
  },
5746
+ {
5747
+ "name": "--box-shadow",
5748
+ "annotation": "prop",
5749
+ "docs": "Box shadow of the button",
5750
+ "mode": "ionic"
5751
+ },
5680
5752
  {
5681
5753
  "name": "--box-shadow",
5682
5754
  "annotation": "prop",
@@ -5689,6 +5761,12 @@
5689
5761
  "docs": "Box shadow of the button",
5690
5762
  "mode": "md"
5691
5763
  },
5764
+ {
5765
+ "name": "--color",
5766
+ "annotation": "prop",
5767
+ "docs": "Text color of the button",
5768
+ "mode": "ionic"
5769
+ },
5692
5770
  {
5693
5771
  "name": "--color",
5694
5772
  "annotation": "prop",
@@ -5701,6 +5779,12 @@
5701
5779
  "docs": "Text color of the button",
5702
5780
  "mode": "md"
5703
5781
  },
5782
+ {
5783
+ "name": "--color-activated",
5784
+ "annotation": "prop",
5785
+ "docs": "Text color of the button when pressed",
5786
+ "mode": "ionic"
5787
+ },
5704
5788
  {
5705
5789
  "name": "--color-activated",
5706
5790
  "annotation": "prop",
@@ -5713,6 +5797,12 @@
5713
5797
  "docs": "Text color of the button when pressed",
5714
5798
  "mode": "md"
5715
5799
  },
5800
+ {
5801
+ "name": "--color-focused",
5802
+ "annotation": "prop",
5803
+ "docs": "Text color of the button when focused with the tab key",
5804
+ "mode": "ionic"
5805
+ },
5716
5806
  {
5717
5807
  "name": "--color-focused",
5718
5808
  "annotation": "prop",
@@ -5725,6 +5815,12 @@
5725
5815
  "docs": "Text color of the button when focused with the tab key",
5726
5816
  "mode": "md"
5727
5817
  },
5818
+ {
5819
+ "name": "--color-hover",
5820
+ "annotation": "prop",
5821
+ "docs": "Text color of the button when hover",
5822
+ "mode": "ionic"
5823
+ },
5728
5824
  {
5729
5825
  "name": "--color-hover",
5730
5826
  "annotation": "prop",
@@ -5737,6 +5833,12 @@
5737
5833
  "docs": "Text color of the button when hover",
5738
5834
  "mode": "md"
5739
5835
  },
5836
+ {
5837
+ "name": "--opacity",
5838
+ "annotation": "prop",
5839
+ "docs": "Opacity of the button",
5840
+ "mode": "ionic"
5841
+ },
5740
5842
  {
5741
5843
  "name": "--opacity",
5742
5844
  "annotation": "prop",
@@ -5749,6 +5851,12 @@
5749
5851
  "docs": "Opacity of the button",
5750
5852
  "mode": "md"
5751
5853
  },
5854
+ {
5855
+ "name": "--padding-bottom",
5856
+ "annotation": "prop",
5857
+ "docs": "Bottom padding of the button",
5858
+ "mode": "ionic"
5859
+ },
5752
5860
  {
5753
5861
  "name": "--padding-bottom",
5754
5862
  "annotation": "prop",
@@ -5761,6 +5869,12 @@
5761
5869
  "docs": "Bottom padding of the button",
5762
5870
  "mode": "md"
5763
5871
  },
5872
+ {
5873
+ "name": "--padding-end",
5874
+ "annotation": "prop",
5875
+ "docs": "Right padding if direction is left-to-right, and left padding if direction is right-to-left of the button",
5876
+ "mode": "ionic"
5877
+ },
5764
5878
  {
5765
5879
  "name": "--padding-end",
5766
5880
  "annotation": "prop",
@@ -5773,6 +5887,12 @@
5773
5887
  "docs": "Right padding if direction is left-to-right, and left padding if direction is right-to-left of the button",
5774
5888
  "mode": "md"
5775
5889
  },
5890
+ {
5891
+ "name": "--padding-start",
5892
+ "annotation": "prop",
5893
+ "docs": "Left padding if direction is left-to-right, and right padding if direction is right-to-left of the button",
5894
+ "mode": "ionic"
5895
+ },
5776
5896
  {
5777
5897
  "name": "--padding-start",
5778
5898
  "annotation": "prop",
@@ -5785,6 +5905,12 @@
5785
5905
  "docs": "Left padding if direction is left-to-right, and right padding if direction is right-to-left of the button",
5786
5906
  "mode": "md"
5787
5907
  },
5908
+ {
5909
+ "name": "--padding-top",
5910
+ "annotation": "prop",
5911
+ "docs": "Top padding of the button",
5912
+ "mode": "ionic"
5913
+ },
5788
5914
  {
5789
5915
  "name": "--padding-top",
5790
5916
  "annotation": "prop",
@@ -5797,6 +5923,12 @@
5797
5923
  "docs": "Top padding of the button",
5798
5924
  "mode": "md"
5799
5925
  },
5926
+ {
5927
+ "name": "--ripple-color",
5928
+ "annotation": "prop",
5929
+ "docs": "Color of the button ripple effect",
5930
+ "mode": "ionic"
5931
+ },
5800
5932
  {
5801
5933
  "name": "--ripple-color",
5802
5934
  "annotation": "prop",
@@ -5809,6 +5941,12 @@
5809
5941
  "docs": "Color of the button ripple effect",
5810
5942
  "mode": "md"
5811
5943
  },
5944
+ {
5945
+ "name": "--transition",
5946
+ "annotation": "prop",
5947
+ "docs": "Transition of the button",
5948
+ "mode": "ionic"
5949
+ },
5812
5950
  {
5813
5951
  "name": "--transition",
5814
5952
  "annotation": "prop",
@@ -6376,6 +6514,12 @@
6376
6514
  "events": [],
6377
6515
  "listeners": [],
6378
6516
  "styles": [
6517
+ {
6518
+ "name": "--background",
6519
+ "annotation": "prop",
6520
+ "docs": "Background of the card",
6521
+ "mode": "ionic"
6522
+ },
6379
6523
  {
6380
6524
  "name": "--background",
6381
6525
  "annotation": "prop",
@@ -6388,6 +6532,12 @@
6388
6532
  "docs": "Background of the card",
6389
6533
  "mode": "md"
6390
6534
  },
6535
+ {
6536
+ "name": "--border-radius",
6537
+ "annotation": "prop",
6538
+ "docs": "Border radius of the card",
6539
+ "mode": "ionic"
6540
+ },
6391
6541
  {
6392
6542
  "name": "--border-radius",
6393
6543
  "annotation": "prop",
@@ -6400,6 +6550,12 @@
6400
6550
  "docs": "Border radius of the card",
6401
6551
  "mode": "md"
6402
6552
  },
6553
+ {
6554
+ "name": "--color",
6555
+ "annotation": "prop",
6556
+ "docs": "Color of the card",
6557
+ "mode": "ionic"
6558
+ },
6403
6559
  {
6404
6560
  "name": "--color",
6405
6561
  "annotation": "prop",
@@ -70,7 +70,7 @@ Avatar.style = {
70
70
  md: IonAvatarMdStyle0
71
71
  };
72
72
 
73
- const badgeIonicCss = ":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:current-color(base);color:current-color(contrast)}:host(:empty){display:none}:host{--background:var(--ionic-color-blue-700, #105cef);--color:var(--ionic-color-base-white, #ffffff);--padding-start:var(--ionic-space-200, 8px);--padding-end:var(--ionic-space-200, 8px);--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--ionic-font-weight-medium, 500)}:host(.badge-soft){border-radius:var(--ionic-border-radius-200, 8px)}:host(.badge-xxsmall.badge-soft),:host(.badge-xsmall.badge-soft),:host(.badge-small.badge-soft){border-radius:var(--ionic-border-radius-100, 4px)}:host(.badge-round){border-radius:var(--ionic-border-radius-full, 999px)}:host(.badge-rectangular){border-radius:var(--ionic-border-radius-0, 0px)}:host(.badge-xxsmall){--padding-start:var(--ionic-space-050, 2px);--padding-end:var(--ionic-space-050, 2px);min-width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-400, 16px)}:host(.badge-xsmall){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-350, 0.875rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-small){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-medium){min-width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-large){min-width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-xlarge){min-width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem);line-height:var(--ionic-line-height-700, 28px)}";
73
+ const badgeIonicCss = ":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #105cef);--color:var(--ion-color-primary-contrast, #fff);--padding-start:var(--ionic-space-200, 8px);--padding-end:var(--ionic-space-200, 8px);--padding-top:var(--ionic-space-0, 0px);--padding-bottom:var(--ionic-space-0, 0px);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-weight:var(--ionic-font-weight-medium, 500)}:host(.badge-soft){border-radius:var(--ionic-border-radius-200, 8px)}:host(.badge-xxsmall.badge-soft),:host(.badge-xsmall.badge-soft),:host(.badge-small.badge-soft){border-radius:var(--ionic-border-radius-100, 4px)}:host(.badge-round){border-radius:var(--ionic-border-radius-full, 999px)}:host(.badge-rectangular){border-radius:var(--ionic-border-radius-0, 0px)}:host(.badge-xxsmall){--padding-start:var(--ionic-space-050, 2px);--padding-end:var(--ionic-space-050, 2px);min-width:var(--ionic-scale-400, 16px);height:var(--ionic-scale-400, 16px);font-size:var(--ionic-font-size-300, 0.75rem);line-height:var(--ionic-line-height-400, 16px)}:host(.badge-xsmall){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-600, 24px);height:var(--ionic-scale-600, 24px);font-size:var(--ionic-font-size-350, 0.875rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-small){--padding-start:var(--ionic-space-100, 4px);--padding-end:var(--ionic-space-100, 4px);min-width:var(--ionic-scale-800, 32px);height:var(--ionic-scale-800, 32px);font-size:var(--ionic-font-size-400, 1rem);line-height:var(--ionic-line-height-600, 24px)}:host(.badge-medium){min-width:var(--ionic-scale-1000, 40px);height:var(--ionic-scale-1000, 40px);font-size:var(--ionic-font-size-450, 1.125rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-large){min-width:var(--ionic-scale-1200, 48px);height:var(--ionic-scale-1200, 48px);font-size:var(--ionic-font-size-500, 1.25rem);line-height:var(--ionic-line-height-700, 28px)}:host(.badge-xlarge){min-width:var(--ionic-scale-1400, 56px);height:var(--ionic-scale-1400, 56px);font-size:var(--ionic-font-size-550, 1.375rem);line-height:var(--ionic-line-height-700, 28px)}";
74
74
  const IonBadgeIonicStyle0 = badgeIonicCss;
75
75
 
76
76
  const badgeIosCss = ":host{--padding-top:3px;--padding-end:8px;--padding-bottom:3px;--padding-start:8px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);display:inline-block;min-width:10px;background:var(--background);color:var(--color);font-size:0.8125rem;font-weight:bold;line-height:1;text-align:center;white-space:nowrap;contain:content;vertical-align:baseline}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(:empty){display:none}:host{--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff);font-family:var(--ion-font-family, inherit)}:host{border-radius:10px;font-size:max(13px, 0.8125rem)}";