@ionic/core 7.5.1 → 7.5.2-nightly.20231019

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 (173) hide show
  1. package/components/checkbox.js +2 -2
  2. package/components/ion-accordion-group.js +1 -1
  3. package/components/ion-datetime.js +2 -2
  4. package/components/ion-fab-list.js +1 -1
  5. package/components/ion-fab.js +1 -1
  6. package/components/ion-input.js +2 -2
  7. package/components/ion-item-option.js +2 -2
  8. package/components/ion-menu.js +2 -2
  9. package/components/ion-modal.js +1 -1
  10. package/components/ion-range.js +2 -2
  11. package/components/ion-select.js +2 -2
  12. package/components/ion-tab-button.js +2 -2
  13. package/components/ion-textarea.js +2 -2
  14. package/components/ion-title.js +1 -1
  15. package/components/ion-toast.js +2 -2
  16. package/components/ion-toggle.js +2 -2
  17. package/components/item.js +1 -1
  18. package/components/picker-internal.js +2 -2
  19. package/components/popover.js +2 -2
  20. package/components/radio.js +2 -2
  21. package/css/core.css.map +1 -1
  22. package/css/display.css.map +1 -1
  23. package/css/float-elements.css.map +1 -1
  24. package/css/global.bundle.css.map +1 -1
  25. package/css/ionic.bundle.css.map +1 -1
  26. package/css/padding.css.map +1 -1
  27. package/css/structure.css.map +1 -1
  28. package/css/text-alignment.css.map +1 -1
  29. package/css/text-transformation.css.map +1 -1
  30. package/css/typography.css.map +1 -1
  31. package/css/utils.bundle.css.map +1 -1
  32. package/dist/cjs/ion-accordion_2.cjs.entry.js +1 -1
  33. package/dist/cjs/ion-app_8.cjs.entry.js +1 -1
  34. package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
  35. package/dist/cjs/ion-datetime_3.cjs.entry.js +2 -2
  36. package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
  37. package/dist/cjs/ion-input.cjs.entry.js +2 -2
  38. package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
  39. package/dist/cjs/ion-item_8.cjs.entry.js +1 -1
  40. package/dist/cjs/ion-menu_3.cjs.entry.js +2 -2
  41. package/dist/cjs/ion-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/ion-picker-internal.cjs.entry.js +2 -2
  43. package/dist/cjs/ion-popover.cjs.entry.js +2 -2
  44. package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
  45. package/dist/cjs/ion-range.cjs.entry.js +2 -2
  46. package/dist/cjs/ion-select_3.cjs.entry.js +2 -2
  47. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
  48. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  49. package/dist/cjs/ion-toast.cjs.entry.js +2 -2
  50. package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
  51. package/dist/collection/components/accordion-group/accordion-group.md.css +2 -2
  52. package/dist/collection/components/checkbox/checkbox.ios.css +3 -3
  53. package/dist/collection/components/checkbox/checkbox.md.css +3 -3
  54. package/dist/collection/components/datetime/datetime.ios.css +1 -1
  55. package/dist/collection/components/datetime/datetime.md.css +1 -1
  56. package/dist/collection/components/fab/fab.css +2 -2
  57. package/dist/collection/components/fab-list/fab-list.css +2 -2
  58. package/dist/collection/components/input/input.ios.css +1 -1
  59. package/dist/collection/components/input/input.md.css +6 -6
  60. package/dist/collection/components/item/item.md.css +3 -3
  61. package/dist/collection/components/item-option/item-option.ios.css +0 -10
  62. package/dist/collection/components/item-option/item-option.md.css +0 -10
  63. package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +77 -0
  64. package/dist/collection/components/label/label.ios.css +1 -1
  65. package/dist/collection/components/menu/menu.ios.css +4 -4
  66. package/dist/collection/components/menu/menu.md.css +4 -4
  67. package/dist/collection/components/modal/modal.ios.css +2 -2
  68. package/dist/collection/components/picker/picker.ios.css +1 -1
  69. package/dist/collection/components/picker/picker.md.css +1 -1
  70. package/dist/collection/components/picker-internal/picker-internal.ios.css +2 -2
  71. package/dist/collection/components/picker-internal/picker-internal.md.css +2 -2
  72. package/dist/collection/components/popover/popover.ios.css +4 -4
  73. package/dist/collection/components/popover/popover.md.css +2 -2
  74. package/dist/collection/components/radio/radio.ios.css +4 -4
  75. package/dist/collection/components/radio/radio.md.css +4 -4
  76. package/dist/collection/components/range/range.ios.css +1 -1
  77. package/dist/collection/components/range/range.md.css +1 -1
  78. package/dist/collection/components/select/select.ios.css +1 -1
  79. package/dist/collection/components/select/select.md.css +3 -3
  80. package/dist/collection/components/tab-button/tab-button.ios.css +3 -3
  81. package/dist/collection/components/tab-button/tab-button.md.css +3 -3
  82. package/dist/collection/components/textarea/textarea.ios.css +1 -1
  83. package/dist/collection/components/textarea/textarea.md.css +6 -6
  84. package/dist/collection/components/title/title.ios.css +2 -2
  85. package/dist/collection/components/toast/toast.ios.css +1 -1
  86. package/dist/collection/components/toast/toast.md.css +1 -1
  87. package/dist/collection/components/toggle/toggle.ios.css +3 -3
  88. package/dist/collection/components/toggle/toggle.md.css +3 -3
  89. package/dist/docs.json +1 -1
  90. package/dist/esm/ion-accordion_2.entry.js +1 -1
  91. package/dist/esm/ion-app_8.entry.js +1 -1
  92. package/dist/esm/ion-checkbox.entry.js +2 -2
  93. package/dist/esm/ion-datetime_3.entry.js +2 -2
  94. package/dist/esm/ion-fab_3.entry.js +2 -2
  95. package/dist/esm/ion-input.entry.js +2 -2
  96. package/dist/esm/ion-item-option_3.entry.js +2 -2
  97. package/dist/esm/ion-item_8.entry.js +1 -1
  98. package/dist/esm/ion-menu_3.entry.js +2 -2
  99. package/dist/esm/ion-modal.entry.js +1 -1
  100. package/dist/esm/ion-picker-internal.entry.js +2 -2
  101. package/dist/esm/ion-popover.entry.js +2 -2
  102. package/dist/esm/ion-radio_2.entry.js +2 -2
  103. package/dist/esm/ion-range.entry.js +2 -2
  104. package/dist/esm/ion-select_3.entry.js +2 -2
  105. package/dist/esm/ion-tab-bar_2.entry.js +2 -2
  106. package/dist/esm/ion-textarea.entry.js +2 -2
  107. package/dist/esm/ion-toast.entry.js +2 -2
  108. package/dist/esm/ion-toggle.entry.js +2 -2
  109. package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
  110. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  111. package/dist/esm-es5/ion-checkbox.entry.js +1 -1
  112. package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
  113. package/dist/esm-es5/ion-fab_3.entry.js +1 -1
  114. package/dist/esm-es5/ion-input.entry.js +1 -1
  115. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  116. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  117. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  118. package/dist/esm-es5/ion-modal.entry.js +1 -1
  119. package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
  120. package/dist/esm-es5/ion-popover.entry.js +1 -1
  121. package/dist/esm-es5/ion-radio_2.entry.js +1 -1
  122. package/dist/esm-es5/ion-range.entry.js +1 -1
  123. package/dist/esm-es5/ion-select_3.entry.js +1 -1
  124. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  125. package/dist/esm-es5/ion-textarea.entry.js +1 -1
  126. package/dist/esm-es5/ion-toast.entry.js +1 -1
  127. package/dist/esm-es5/ion-toggle.entry.js +1 -1
  128. package/dist/ionic/ionic.esm.js +1 -1
  129. package/dist/ionic/{p-008331e9.system.entry.js → p-017631df.system.entry.js} +1 -1
  130. package/dist/ionic/{p-7eaa585f.entry.js → p-0e3b9926.entry.js} +1 -1
  131. package/dist/ionic/{p-e65ebe96.entry.js → p-14352f15.entry.js} +1 -1
  132. package/dist/ionic/{p-f5bf698b.entry.js → p-1a4f0dd5.entry.js} +1 -1
  133. package/dist/ionic/{p-818b2e75.entry.js → p-28293683.entry.js} +1 -1
  134. package/dist/ionic/{p-5421f83c.system.entry.js → p-2a40090a.system.entry.js} +1 -1
  135. package/dist/ionic/{p-c105bd36.entry.js → p-2d8caacb.entry.js} +1 -1
  136. package/dist/ionic/{p-b96e1915.system.entry.js → p-372f1f80.system.entry.js} +1 -1
  137. package/dist/ionic/{p-f7566bad.entry.js → p-3b92aad6.entry.js} +1 -1
  138. package/dist/ionic/{p-4643c356.system.entry.js → p-3bc2289f.system.entry.js} +1 -1
  139. package/dist/ionic/{p-fbf836a7.system.entry.js → p-3e2ddf5e.system.entry.js} +1 -1
  140. package/dist/ionic/{p-c627257b.system.entry.js → p-3e61e313.system.entry.js} +1 -1
  141. package/dist/ionic/{p-965ae1f9.system.entry.js → p-4619161c.system.entry.js} +1 -1
  142. package/dist/ionic/{p-d35217be.entry.js → p-508b65b0.entry.js} +1 -1
  143. package/dist/ionic/{p-32ff5348.system.entry.js → p-57f074a4.system.entry.js} +1 -1
  144. package/dist/ionic/{p-bb055450.system.entry.js → p-5db56c84.system.entry.js} +1 -1
  145. package/dist/ionic/{p-40a0dacf.system.entry.js → p-6b8e0c28.system.entry.js} +1 -1
  146. package/dist/ionic/p-755b2917.system.js +1 -1
  147. package/dist/ionic/{p-a6c5ccb5.system.entry.js → p-77ae11a5.system.entry.js} +1 -1
  148. package/dist/ionic/{p-ab5f4f93.system.entry.js → p-7d3fe69c.system.entry.js} +1 -1
  149. package/dist/ionic/{p-19fba51c.entry.js → p-7d58a178.entry.js} +1 -1
  150. package/dist/ionic/{p-1edb53a1.entry.js → p-803cd5c3.entry.js} +1 -1
  151. package/dist/ionic/{p-a200a7fc.entry.js → p-87c3c4ec.entry.js} +1 -1
  152. package/dist/ionic/{p-a9c32660.entry.js → p-8b1237b9.entry.js} +1 -1
  153. package/dist/ionic/{p-d6e53e66.entry.js → p-8e599653.entry.js} +1 -1
  154. package/dist/ionic/p-97afc3e8.system.entry.js +4 -0
  155. package/dist/ionic/{p-ca86ce12.system.entry.js → p-9d93e024.system.entry.js} +1 -1
  156. package/dist/ionic/p-a3fe2e01.entry.js +4 -0
  157. package/dist/ionic/{p-b92bbb58.entry.js → p-a7f83510.entry.js} +1 -1
  158. package/dist/ionic/{p-0ac3fb2c.entry.js → p-b998e8eb.entry.js} +1 -1
  159. package/dist/ionic/p-bc08029e.system.entry.js +4 -0
  160. package/dist/ionic/{p-e25cb483.entry.js → p-bd68ea5d.entry.js} +1 -1
  161. package/dist/ionic/p-c66eb2d7.system.entry.js +4 -0
  162. package/dist/ionic/{p-f4309ac7.entry.js → p-c9f70283.entry.js} +1 -1
  163. package/dist/ionic/{p-8209372c.entry.js → p-cbc8d5c6.entry.js} +1 -1
  164. package/dist/ionic/{p-c575a7b8.system.entry.js → p-d29dcf9b.system.entry.js} +1 -1
  165. package/dist/ionic/{p-7980e02c.system.entry.js → p-d493004e.system.entry.js} +1 -1
  166. package/dist/ionic/{p-5ef80480.system.entry.js → p-db6fb00c.system.entry.js} +1 -1
  167. package/dist/ionic/{p-38089641.entry.js → p-ebdf4f41.entry.js} +1 -1
  168. package/hydrate/index.js +30 -30
  169. package/package.json +1 -1
  170. package/dist/ionic/p-508defac.system.entry.js +0 -4
  171. package/dist/ionic/p-82251950.system.entry.js +0 -4
  172. package/dist/ionic/p-bdf1db6f.system.entry.js +0 -4
  173. package/dist/ionic/p-e74faf2a.entry.js +0 -4
@@ -43,16 +43,6 @@
43
43
  font-family: var(--ion-font-family, inherit);
44
44
  }
45
45
 
46
- :host(.in-list.item-options-end:last-child) {
47
- -webkit-padding-end: calc(0.7em + var(--ion-safe-area-right));
48
- padding-inline-end: calc(0.7em + var(--ion-safe-area-right));
49
- }
50
-
51
- :host(.in-list.item-options-start:first-child) {
52
- -webkit-padding-start: calc(0.7em + var(--ion-safe-area-left));
53
- padding-inline-start: calc(0.7em + var(--ion-safe-area-left));
54
- }
55
-
56
46
  :host(.ion-color) {
57
47
  background: var(--ion-color-base);
58
48
  color: var(--ion-color-contrast);
@@ -83,3 +83,80 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, screenshot, co
83
83
  });
84
84
  });
85
85
  });
86
+ /**
87
+ * This behavior needs to be tested in both modes and directions to
88
+ * make sure the safe area padding is applied only to that side
89
+ * regardless of direction
90
+ */
91
+ configs().forEach(({ title, screenshot, config }) => {
92
+ test.describe(title('item-sliding: basic'), () => {
93
+ test.describe('safe area left', () => {
94
+ test('should have padding on the left only', async ({ page }) => {
95
+ await page.setContent(`
96
+ <style>
97
+ :root {
98
+ --ion-safe-area-left: 40px;
99
+ }
100
+ </style>
101
+
102
+ <ion-item-sliding>
103
+ <ion-item-options side="start">
104
+ <ion-item-option color="primary">
105
+ Archive
106
+ </ion-item-option>
107
+ <ion-item-option color="danger">
108
+ Delete
109
+ </ion-item-option>
110
+ </ion-item-options>
111
+
112
+ <ion-item>
113
+ <ion-label>
114
+ Sliding Item
115
+ </ion-label>
116
+ </ion-item>
117
+ </ion-item-sliding>
118
+ `, config);
119
+ const direction = config.direction;
120
+ const item = page.locator('ion-item-sliding');
121
+ const dragByX = direction == 'rtl' ? -150 : 150;
122
+ await dragElementBy(item, page, dragByX);
123
+ await page.waitForChanges();
124
+ await expect(item).toHaveScreenshot(screenshot(`item-sliding-safe-area-left`));
125
+ });
126
+ });
127
+ test.describe('safe area right', () => {
128
+ test('should have padding on the right only', async ({ page }) => {
129
+ await page.setContent(`
130
+ <style>
131
+ :root {
132
+ --ion-safe-area-right: 40px;
133
+ }
134
+ </style>
135
+
136
+ <ion-item-sliding>
137
+ <ion-item>
138
+ <ion-label>
139
+ Sliding Item
140
+ </ion-label>
141
+ </ion-item>
142
+
143
+ <ion-item-options side="end">
144
+ <ion-item-option color="primary">
145
+ Archive
146
+ </ion-item-option>
147
+ <ion-item-option color="danger">
148
+ Delete
149
+ </ion-item-option>
150
+ </ion-item-options>
151
+ </ion-item-sliding>
152
+ `, config);
153
+ const direction = config.direction;
154
+ const item = page.locator('ion-item-sliding');
155
+ const dragByX = direction == 'rtl' ? 150 : -150;
156
+ await dragElementBy(item, page, dragByX);
157
+ await page.waitForChanges();
158
+ await expect(item).toHaveScreenshot(screenshot(`item-sliding-safe-area-right`));
159
+ });
160
+ });
161
+ });
162
+ });
@@ -186,7 +186,7 @@
186
186
  }
187
187
 
188
188
  @supports selector(:dir(rtl)) {
189
- :host(.label-floating):dir(rtl) {
189
+ :host(.label-floating:dir(rtl)) {
190
190
  transform-origin: right top;
191
191
  }
192
192
  }
@@ -114,7 +114,7 @@
114
114
  right: 0;
115
115
  }
116
116
  @supports selector(:dir(rtl)) {
117
- :host(.menu-side-start) .menu-inner:dir(rtl) {
117
+ :host(.menu-side-start:dir(rtl)) .menu-inner {
118
118
  left: unset;
119
119
  right: unset;
120
120
  left: auto;
@@ -142,7 +142,7 @@
142
142
  }
143
143
 
144
144
  @supports selector(:dir(rtl)) {
145
- :host(.menu-side-start) .menu-inner:dir(rtl) {
145
+ :host(.menu-side-start:dir(rtl)) .menu-inner {
146
146
  /**
147
147
  * Menu does not cover the whole screen so we need to set the safe area for the
148
148
  * side that touches the screen edge only. Since safe area is not logical, it
@@ -197,7 +197,7 @@
197
197
  right: auto;
198
198
  }
199
199
  @supports selector(:dir(rtl)) {
200
- :host(.menu-side-end) .menu-inner:dir(rtl) {
200
+ :host(.menu-side-end:dir(rtl)) .menu-inner {
201
201
  left: unset;
202
202
  right: unset;
203
203
  left: 0;
@@ -225,7 +225,7 @@
225
225
  }
226
226
 
227
227
  @supports selector(:dir(rtl)) {
228
- :host(.menu-side-end) .menu-inner:dir(rtl) {
228
+ :host(.menu-side-end:dir(rtl)) .menu-inner {
229
229
  /**
230
230
  * Menu does not cover the whole screen so we need to set the safe area for the
231
231
  * side that touches the screen edge only. Since safe area is not logical, it
@@ -114,7 +114,7 @@
114
114
  right: 0;
115
115
  }
116
116
  @supports selector(:dir(rtl)) {
117
- :host(.menu-side-start) .menu-inner:dir(rtl) {
117
+ :host(.menu-side-start:dir(rtl)) .menu-inner {
118
118
  left: unset;
119
119
  right: unset;
120
120
  left: auto;
@@ -142,7 +142,7 @@
142
142
  }
143
143
 
144
144
  @supports selector(:dir(rtl)) {
145
- :host(.menu-side-start) .menu-inner:dir(rtl) {
145
+ :host(.menu-side-start:dir(rtl)) .menu-inner {
146
146
  /**
147
147
  * Menu does not cover the whole screen so we need to set the safe area for the
148
148
  * side that touches the screen edge only. Since safe area is not logical, it
@@ -197,7 +197,7 @@
197
197
  right: auto;
198
198
  }
199
199
  @supports selector(:dir(rtl)) {
200
- :host(.menu-side-end) .menu-inner:dir(rtl) {
200
+ :host(.menu-side-end:dir(rtl)) .menu-inner {
201
201
  left: unset;
202
202
  right: unset;
203
203
  left: 0;
@@ -225,7 +225,7 @@
225
225
  }
226
226
 
227
227
  @supports selector(:dir(rtl)) {
228
- :host(.menu-side-end) .menu-inner:dir(rtl) {
228
+ :host(.menu-side-end:dir(rtl)) .menu-inner {
229
229
  /**
230
230
  * Menu does not cover the whole screen so we need to set the safe area for the
231
231
  * side that touches the screen edge only. Since safe area is not logical, it
@@ -254,7 +254,7 @@ ion-backdrop {
254
254
  border-bottom-left-radius: 0;
255
255
  }
256
256
  @supports selector(:dir(rtl)) {
257
- :host(.modal-card) .modal-wrapper:dir(rtl) {
257
+ :host(.modal-card:dir(rtl)) .modal-wrapper {
258
258
  border-top-left-radius: var(--border-radius);
259
259
  border-top-right-radius: var(--border-radius);
260
260
  border-bottom-right-radius: 0;
@@ -304,7 +304,7 @@ ion-backdrop {
304
304
  }
305
305
 
306
306
  @supports selector(:dir(rtl)) {
307
- :host(.modal-sheet) .modal-wrapper:dir(rtl) {
307
+ :host(.modal-sheet:dir(rtl)) .modal-wrapper {
308
308
  border-top-left-radius: var(--border-radius);
309
309
  border-top-right-radius: var(--border-radius);
310
310
  border-bottom-right-radius: 0;
@@ -86,7 +86,7 @@
86
86
  right: 0;
87
87
  }
88
88
  @supports selector(:dir(rtl)) {
89
- :host:dir(rtl) {
89
+ :host(:dir(rtl)) {
90
90
  left: unset;
91
91
  right: unset;
92
92
  right: 0;
@@ -86,7 +86,7 @@
86
86
  right: 0;
87
87
  }
88
88
  @supports selector(:dir(rtl)) {
89
- :host:dir(rtl) {
89
+ :host(:dir(rtl)) {
90
90
  left: unset;
91
91
  right: unset;
92
92
  right: 0;
@@ -86,7 +86,7 @@
86
86
  right: 0;
87
87
  }
88
88
  @supports selector(:dir(rtl)) {
89
- :host .picker-before:dir(rtl) {
89
+ :host(:dir(rtl)) .picker-before {
90
90
  left: unset;
91
91
  right: unset;
92
92
  right: 0;
@@ -113,7 +113,7 @@
113
113
  right: 0;
114
114
  }
115
115
  @supports selector(:dir(rtl)) {
116
- :host .picker-after:dir(rtl) {
116
+ :host(:dir(rtl)) .picker-after {
117
117
  left: unset;
118
118
  right: unset;
119
119
  right: 0;
@@ -86,7 +86,7 @@
86
86
  right: 0;
87
87
  }
88
88
  @supports selector(:dir(rtl)) {
89
- :host .picker-before:dir(rtl) {
89
+ :host(:dir(rtl)) .picker-before {
90
90
  left: unset;
91
91
  right: unset;
92
92
  right: 0;
@@ -113,7 +113,7 @@
113
113
  right: 0;
114
114
  }
115
115
  @supports selector(:dir(rtl)) {
116
- :host .picker-after:dir(rtl) {
116
+ :host(:dir(rtl)) .picker-after {
117
117
  left: unset;
118
118
  right: unset;
119
119
  right: 0;
@@ -138,7 +138,7 @@
138
138
  }
139
139
 
140
140
  @supports selector(:dir(rtl)) {
141
- :host(.popover-nested.popover-side-start):dir(rtl) {
141
+ :host(.popover-nested.popover-side-start:dir(rtl)) {
142
142
  --offset-x: -5px;
143
143
  }
144
144
  }
@@ -151,7 +151,7 @@
151
151
  }
152
152
 
153
153
  @supports selector(:dir(rtl)) {
154
- :host(.popover-nested.popover-side-end):dir(rtl) {
154
+ :host(.popover-nested.popover-side-end:dir(rtl)) {
155
155
  --offset-x: 5px;
156
156
  }
157
157
  }
@@ -284,7 +284,7 @@
284
284
  }
285
285
 
286
286
  @supports selector(:dir(rtl)) {
287
- :host(.popover-side-start) .popover-arrow:dir(rtl) {
287
+ :host(.popover-side-start:dir(rtl)) .popover-arrow {
288
288
  transform: rotate(-90deg);
289
289
  }
290
290
  }
@@ -297,7 +297,7 @@
297
297
  }
298
298
 
299
299
  @supports selector(:dir(rtl)) {
300
- :host(.popover-side-end) .popover-arrow:dir(rtl) {
300
+ :host(.popover-side-end:dir(rtl)) .popover-arrow {
301
301
  transform: rotate(90deg);
302
302
  }
303
303
  }
@@ -138,7 +138,7 @@
138
138
  }
139
139
 
140
140
  @supports selector(:dir(rtl)) {
141
- :host(.popover-nested.popover-side-start):dir(rtl) {
141
+ :host(.popover-nested.popover-side-start:dir(rtl)) {
142
142
  --offset-x: -5px;
143
143
  }
144
144
  }
@@ -151,7 +151,7 @@
151
151
  }
152
152
 
153
153
  @supports selector(:dir(rtl)) {
154
- :host(.popover-nested.popover-side-end):dir(rtl) {
154
+ :host(.popover-nested.popover-side-end:dir(rtl)) {
155
155
  --offset-x: 5px;
156
156
  }
157
157
  }
@@ -103,7 +103,7 @@
103
103
  right: 0;
104
104
  }
105
105
  @supports selector(:dir(rtl)) {
106
- :host(.legacy-radio) label:dir(rtl) {
106
+ :host(.legacy-radio:dir(rtl)) label {
107
107
  left: unset;
108
108
  right: unset;
109
109
  right: 0;
@@ -317,7 +317,7 @@ input {
317
317
  }
318
318
 
319
319
  @supports selector(:dir(rtl)) {
320
- :host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper:dir(rtl) {
320
+ :host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper {
321
321
  transform-origin: right top;
322
322
  }
323
323
  }
@@ -330,7 +330,7 @@ input {
330
330
  }
331
331
 
332
332
  @supports selector(:dir(rtl)) {
333
- :host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper:dir(rtl) {
333
+ :host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper {
334
334
  transform-origin: calc(100% - center) top;
335
335
  }
336
336
  }
@@ -463,7 +463,7 @@ input {
463
463
  right: -9px;
464
464
  }
465
465
  @supports selector(:dir(rtl)) {
466
- :host(.ion-focused) .radio-icon::after:dir(rtl) {
466
+ :host(.ion-focused:dir(rtl)) .radio-icon::after {
467
467
  left: unset;
468
468
  right: unset;
469
469
  right: -9px;
@@ -103,7 +103,7 @@
103
103
  right: 0;
104
104
  }
105
105
  @supports selector(:dir(rtl)) {
106
- :host(.legacy-radio) label:dir(rtl) {
106
+ :host(.legacy-radio:dir(rtl)) label {
107
107
  left: unset;
108
108
  right: unset;
109
109
  right: 0;
@@ -317,7 +317,7 @@ input {
317
317
  }
318
318
 
319
319
  @supports selector(:dir(rtl)) {
320
- :host(.radio-label-placement-stacked.radio-alignment-start) .label-text-wrapper:dir(rtl) {
320
+ :host(.radio-label-placement-stacked.radio-alignment-start:dir(rtl)) .label-text-wrapper {
321
321
  transform-origin: right top;
322
322
  }
323
323
  }
@@ -330,7 +330,7 @@ input {
330
330
  }
331
331
 
332
332
  @supports selector(:dir(rtl)) {
333
- :host(.radio-label-placement-stacked.radio-alignment-center) .label-text-wrapper:dir(rtl) {
333
+ :host(.radio-label-placement-stacked.radio-alignment-center:dir(rtl)) .label-text-wrapper {
334
334
  transform-origin: calc(100% - center) top;
335
335
  }
336
336
  }
@@ -477,7 +477,7 @@ input {
477
477
  right: -12px;
478
478
  }
479
479
  @supports selector(:dir(rtl)) {
480
- :host(.ion-focused.legacy-radio) .radio-icon::after:dir(rtl) {
480
+ :host(.ion-focused.legacy-radio:dir(rtl)) .radio-icon::after {
481
481
  left: unset;
482
482
  right: unset;
483
483
  right: -12px;
@@ -428,7 +428,7 @@
428
428
  }
429
429
 
430
430
  @supports selector(:dir(rtl)) {
431
- :host(.range-label-placement-stacked) .label-text-wrapper:dir(rtl) {
431
+ :host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper {
432
432
  transform-origin: right top;
433
433
  }
434
434
  }
@@ -428,7 +428,7 @@
428
428
  }
429
429
 
430
430
  @supports selector(:dir(rtl)) {
431
- :host(.range-label-placement-stacked) .label-text-wrapper:dir(rtl) {
431
+ :host(.range-label-placement-stacked:dir(rtl)) .label-text-wrapper {
432
432
  transform-origin: right top;
433
433
  }
434
434
  }
@@ -161,7 +161,7 @@
161
161
  right: 0;
162
162
  }
163
163
  @supports selector(:dir(rtl)) {
164
- :host(.legacy-select) label:dir(rtl) {
164
+ :host(.legacy-select:dir(rtl)) label {
165
165
  left: unset;
166
166
  right: unset;
167
167
  right: 0;
@@ -161,7 +161,7 @@
161
161
  right: 0;
162
162
  }
163
163
  @supports selector(:dir(rtl)) {
164
- :host(.legacy-select) label:dir(rtl) {
164
+ :host(.legacy-select:dir(rtl)) label {
165
165
  left: unset;
166
166
  right: unset;
167
167
  right: 0;
@@ -716,7 +716,7 @@ button {
716
716
  }
717
717
 
718
718
  @supports selector(:dir(rtl)) {
719
- :host(.select-fill-solid) .select-wrapper:dir(rtl) {
719
+ :host(.select-fill-solid:dir(rtl)) .select-wrapper {
720
720
  border-top-left-radius: var(--border-radius);
721
721
  border-top-right-radius: var(--border-radius);
722
722
  border-bottom-right-radius: 0px;
@@ -1121,7 +1121,7 @@ button {
1121
1121
  right: 0;
1122
1122
  }
1123
1123
  @supports selector(:dir(rtl)) {
1124
- :host(.in-item) .select-highlight:dir(rtl) {
1124
+ :host(.in-item:dir(rtl)) .select-highlight {
1125
1125
  left: unset;
1126
1126
  right: unset;
1127
1127
  right: 0;
@@ -345,7 +345,7 @@ ion-ripple-effect {
345
345
  right: calc(50% + 12px);
346
346
  }
347
347
  @supports selector(:dir(rtl)) {
348
- :host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl) {
348
+ :host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge) {
349
349
  left: unset;
350
350
  right: unset;
351
351
  right: calc(50% + 12px);
@@ -383,7 +383,7 @@ ion-ripple-effect {
383
383
  right: calc(50% + 35px);
384
384
  }
385
385
  @supports selector(:dir(rtl)) {
386
- :host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl), :host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl) {
386
+ :host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge), :host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge) {
387
387
  left: unset;
388
388
  right: unset;
389
389
  right: calc(50% + 35px);
@@ -412,7 +412,7 @@ ion-ripple-effect {
412
412
  right: calc(50% + 30px);
413
413
  }
414
414
  @supports selector(:dir(rtl)) {
415
- :host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl), :host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl) {
415
+ :host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge), :host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge) {
416
416
  left: unset;
417
417
  right: unset;
418
418
  right: calc(50% + 30px);
@@ -352,7 +352,7 @@ ion-ripple-effect {
352
352
  right: 70%;
353
353
  }
354
354
  @supports selector(:dir(rtl)) {
355
- :host(.tab-layout-icon-bottom) ::slotted(ion-badge):dir(rtl) {
355
+ :host(.tab-layout-icon-bottom:dir(rtl)) ::slotted(ion-badge) {
356
356
  left: unset;
357
357
  right: unset;
358
358
  right: 70%;
@@ -391,7 +391,7 @@ ion-ripple-effect {
391
391
  right: 80%;
392
392
  }
393
393
  @supports selector(:dir(rtl)) {
394
- :host(.tab-layout-icon-start) ::slotted(ion-badge):dir(rtl), :host(.tab-layout-icon-end) ::slotted(ion-badge):dir(rtl) {
394
+ :host(.tab-layout-icon-start:dir(rtl)) ::slotted(ion-badge), :host(.tab-layout-icon-end:dir(rtl)) ::slotted(ion-badge) {
395
395
  left: unset;
396
396
  right: unset;
397
397
  right: 80%;
@@ -430,7 +430,7 @@ ion-ripple-effect {
430
430
  right: 70%;
431
431
  }
432
432
  @supports selector(:dir(rtl)) {
433
- :host(.tab-layout-icon-hide) ::slotted(ion-badge):dir(rtl), :host(.tab-has-label-only) ::slotted(ion-badge):dir(rtl) {
433
+ :host(.tab-layout-icon-hide:dir(rtl)) ::slotted(ion-badge), :host(.tab-has-label-only:dir(rtl)) ::slotted(ion-badge) {
434
434
  left: unset;
435
435
  right: unset;
436
436
  right: 70%;
@@ -643,7 +643,7 @@
643
643
  }
644
644
 
645
645
  @supports selector(:dir(rtl)) {
646
- :host(.textarea-label-placement-stacked) .label-text-wrapper:dir(rtl), :host(.textarea-label-placement-floating) .label-text-wrapper:dir(rtl) {
646
+ :host(.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {
647
647
  transform-origin: right top;
648
648
  }
649
649
  }
@@ -643,7 +643,7 @@
643
643
  }
644
644
 
645
645
  @supports selector(:dir(rtl)) {
646
- :host(.textarea-label-placement-stacked) .label-text-wrapper:dir(rtl), :host(.textarea-label-placement-floating) .label-text-wrapper:dir(rtl) {
646
+ :host(.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {
647
647
  transform-origin: right top;
648
648
  }
649
649
  }
@@ -900,7 +900,7 @@
900
900
  }
901
901
 
902
902
  @supports selector(:dir(rtl)) {
903
- :host(.textarea-fill-solid) .textarea-wrapper:dir(rtl) {
903
+ :host(.textarea-fill-solid:dir(rtl)) .textarea-wrapper {
904
904
  border-top-left-radius: var(--border-radius);
905
905
  border-top-right-radius: var(--border-radius);
906
906
  border-bottom-right-radius: 0px;
@@ -1024,7 +1024,7 @@
1024
1024
  }
1025
1025
 
1026
1026
  @supports selector(:dir(rtl)) {
1027
- :host(.textarea-fill-outline.textarea-label-placement-stacked) .label-text-wrapper:dir(rtl), :host(.textarea-fill-outline.textarea-label-placement-floating) .label-text-wrapper:dir(rtl) {
1027
+ :host(.textarea-fill-outline.textarea-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.textarea-fill-outline.textarea-label-placement-floating:dir(rtl)) .label-text-wrapper {
1028
1028
  transform-origin: right top;
1029
1029
  }
1030
1030
  }
@@ -1167,7 +1167,7 @@
1167
1167
  }
1168
1168
 
1169
1169
  @supports selector(:dir(rtl)) {
1170
- :host(.textarea-fill-outline) .textarea-outline-start:dir(rtl) {
1170
+ :host(.textarea-fill-outline:dir(rtl)) .textarea-outline-start {
1171
1171
  border-top-left-radius: 0px;
1172
1172
  border-top-right-radius: var(--border-radius);
1173
1173
  border-bottom-right-radius: var(--border-radius);
@@ -1196,7 +1196,7 @@
1196
1196
  }
1197
1197
 
1198
1198
  @supports selector(:dir(rtl)) {
1199
- :host(.textarea-fill-outline) .textarea-outline-end:dir(rtl) {
1199
+ :host(.textarea-fill-outline:dir(rtl)) .textarea-outline-end {
1200
1200
  border-top-left-radius: var(--border-radius);
1201
1201
  border-top-right-radius: 0px;
1202
1202
  border-bottom-right-radius: 0px;
@@ -1348,7 +1348,7 @@
1348
1348
  right: 0;
1349
1349
  }
1350
1350
  @supports selector(:dir(rtl)) {
1351
- :host(.in-item) .textarea-highlight:dir(rtl) {
1351
+ :host(.in-item:dir(rtl)) .textarea-highlight {
1352
1352
  left: unset;
1353
1353
  right: unset;
1354
1354
  right: 0;
@@ -93,7 +93,7 @@
93
93
  right: 0;
94
94
  }
95
95
  @supports selector(:dir(rtl)) {
96
- :host:dir(rtl) {
96
+ :host(:dir(rtl)) {
97
97
  left: unset;
98
98
  right: unset;
99
99
  right: 0;
@@ -155,7 +155,7 @@
155
155
  }
156
156
 
157
157
  @supports selector(:dir(rtl)) {
158
- :host(.title-large) .toolbar-title:dir(rtl) {
158
+ :host(.title-large:dir(rtl)) .toolbar-title {
159
159
  transform-origin: calc(100% - inherit);
160
160
  }
161
161
  }
@@ -95,7 +95,7 @@
95
95
  right: 0;
96
96
  }
97
97
  @supports selector(:dir(rtl)) {
98
- :host:dir(rtl) {
98
+ :host(:dir(rtl)) {
99
99
  left: unset;
100
100
  right: unset;
101
101
  right: 0;
@@ -95,7 +95,7 @@
95
95
  right: 0;
96
96
  }
97
97
  @supports selector(:dir(rtl)) {
98
- :host:dir(rtl) {
98
+ :host(:dir(rtl)) {
99
99
  left: unset;
100
100
  right: unset;
101
101
  right: 0;
@@ -122,7 +122,7 @@
122
122
  right: 0;
123
123
  }
124
124
  @supports selector(:dir(rtl)) {
125
- :host(.legacy-toggle) label:dir(rtl) {
125
+ :host(.legacy-toggle:dir(rtl)) label {
126
126
  left: unset;
127
127
  right: unset;
128
128
  right: 0;
@@ -316,7 +316,7 @@ input {
316
316
  }
317
317
 
318
318
  @supports selector(:dir(rtl)) {
319
- :host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper:dir(rtl) {
319
+ :host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper {
320
320
  transform-origin: right top;
321
321
  }
322
322
  }
@@ -329,7 +329,7 @@ input {
329
329
  }
330
330
 
331
331
  @supports selector(:dir(rtl)) {
332
- :host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper:dir(rtl) {
332
+ :host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper {
333
333
  transform-origin: calc(100% - center) top;
334
334
  }
335
335
  }
@@ -122,7 +122,7 @@
122
122
  right: 0;
123
123
  }
124
124
  @supports selector(:dir(rtl)) {
125
- :host(.legacy-toggle) label:dir(rtl) {
125
+ :host(.legacy-toggle:dir(rtl)) label {
126
126
  left: unset;
127
127
  right: unset;
128
128
  right: 0;
@@ -316,7 +316,7 @@ input {
316
316
  }
317
317
 
318
318
  @supports selector(:dir(rtl)) {
319
- :host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper:dir(rtl) {
319
+ :host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper {
320
320
  transform-origin: right top;
321
321
  }
322
322
  }
@@ -329,7 +329,7 @@ input {
329
329
  }
330
330
 
331
331
  @supports selector(:dir(rtl)) {
332
- :host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper:dir(rtl) {
332
+ :host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper {
333
333
  transform-origin: calc(100% - center) top;
334
334
  }
335
335
  }
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-10-18T13:21:21",
2
+ "timestamp": "2023-10-19T06:06:06",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.5.0",