@ionic/core 9.0.12 → 9.0.13-nightly.20261119
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.
- package/components/ion-alert.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-checkbox.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/p-B-Z16b-q.js +4 -0
- package/components/p-BAWyosCa.js +4 -0
- package/components/p-BMEUec0N.js +4 -0
- package/components/p-BWgkFdv1.js +4 -0
- package/components/{p-CmuQBpNF.js → p-BakGePPE.js} +1 -1
- package/components/{p-DMViqAgW.js → p-CbkYCbcD.js} +1 -1
- package/components/{p-H5MjXgsw.js → p-DWuOZoeA.js} +1 -1
- package/components/p-D_YiwP4f.js +4 -0
- package/components/p-S3xHpbUd.js +4 -0
- package/components/{p-V0GEPf8E.js → p-euekLVrS.js} +1 -1
- package/components/{p-B4e-N-iU.js → p-gvfIt9XT.js} +1 -1
- package/components/{p-D76C9Iw8.js → p-xxe1UysJ.js} +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{format-BYl04xWn.js → format-DTPuiUzt.js} +12 -3
- package/dist/cjs/ion-alert.cjs.entry.js +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +8 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +6 -5
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime.cjs.entry.js +8 -3
- package/dist/cjs/ion-fab_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -5
- package/dist/cjs/ion-item_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-menu_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/collection/components/alert/alert.ios.css +12 -9
- package/dist/collection/components/breadcrumb/breadcrumb.js +6 -5
- package/dist/collection/components/checkbox/checkbox.ios.css +8 -6
- package/dist/collection/components/checkbox/checkbox.md.css +8 -6
- package/dist/collection/components/datetime/utils/data.js +7 -2
- package/dist/collection/components/datetime/utils/manipulation.js +12 -3
- package/dist/collection/components/fab/fab.css +10 -8
- package/dist/collection/components/footer/footer.utils.js +7 -1
- package/dist/collection/components/input/input.ios.css +4 -3
- package/dist/collection/components/input/input.md.css +8 -6
- package/dist/collection/components/item/item.ios.css +10 -8
- package/dist/collection/components/item/item.md.css +10 -8
- package/dist/collection/components/item-divider/item-divider.ios.css +10 -8
- package/dist/collection/components/item-divider/item-divider.md.css +10 -8
- package/dist/collection/components/item-option/item-option.js +3 -2
- package/dist/collection/components/item-options/item-options.ios.css +20 -17
- package/dist/collection/components/item-options/item-options.md.css +20 -17
- package/dist/collection/components/item-sliding/item-sliding.css +8 -6
- package/dist/collection/components/label/label.ios.css +4 -3
- package/dist/collection/components/list-header/list-header.ios.css +5 -4
- package/dist/collection/components/list-header/list-header.md.css +5 -4
- package/dist/collection/components/menu/menu.ios.css +38 -36
- package/dist/collection/components/menu/menu.md.css +38 -36
- package/dist/collection/components/popover/popover.ios.css +16 -12
- package/dist/collection/components/popover/popover.md.css +12 -9
- package/dist/collection/components/radio/radio.ios.css +8 -6
- package/dist/collection/components/radio/radio.md.css +8 -6
- package/dist/collection/components/range/range.ios.css +19 -15
- package/dist/collection/components/range/range.md.css +24 -19
- package/dist/collection/components/refresher/refresher.ios.css +4 -3
- package/dist/collection/components/refresher/refresher.md.css +4 -3
- package/dist/collection/components/searchbar/searchbar.md.css +4 -3
- package/dist/collection/components/spinner/spinner.css +4 -3
- package/dist/collection/components/tab-button/tab-button.md.css +4 -3
- package/dist/collection/components/textarea/textarea.ios.css +4 -3
- package/dist/collection/components/textarea/textarea.md.css +8 -6
- package/dist/collection/components/title/title.ios.css +4 -3
- package/dist/collection/components/toggle/toggle.ios.css +8 -6
- package/dist/collection/components/toggle/toggle.md.css +8 -6
- package/dist/docs.json +1 -1
- package/dist/esm/{format-BgKTubOe.js → format-CTfjCjd7.js} +12 -3
- package/dist/esm/ion-alert.entry.js +1 -1
- package/dist/esm/ion-app_8.entry.js +8 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +6 -5
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +1 -1
- package/dist/esm/ion-datetime.entry.js +8 -3
- package/dist/esm/ion-fab_3.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +6 -5
- package/dist/esm/ion-item_8.entry.js +7 -7
- package/dist/esm/ion-menu_3.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +1 -1
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-094cc908.entry.js +4 -0
- package/dist/ionic/{p-7b0aef50.entry.js → p-0abab413.entry.js} +1 -1
- package/dist/ionic/p-0b7eb697.entry.js +4 -0
- package/dist/ionic/p-21640c8a.entry.js +4 -0
- package/dist/ionic/p-26fd9a9c.entry.js +4 -0
- package/dist/ionic/{p-b2693dfd.entry.js → p-37507a0c.entry.js} +1 -1
- package/dist/ionic/{p-ca65a767.entry.js → p-48df63f9.entry.js} +1 -1
- package/dist/ionic/p-4a2f8943.entry.js +4 -0
- package/dist/ionic/p-4ccbea5b.entry.js +4 -0
- package/dist/ionic/{p-f693211b.entry.js → p-54fb8891.entry.js} +1 -1
- package/dist/ionic/p-5ac474e2.entry.js +4 -0
- package/dist/ionic/p-6d795592.entry.js +4 -0
- package/dist/ionic/p-769a690b.entry.js +4 -0
- package/dist/ionic/{p-6fc4784d.entry.js → p-784af2c4.entry.js} +1 -1
- package/dist/ionic/p-90dea95d.entry.js +4 -0
- package/dist/ionic/{p-fe2ddbef.entry.js → p-92af8eef.entry.js} +1 -1
- package/dist/ionic/p-98c3f769.entry.js +4 -0
- package/dist/ionic/{p-CIlx2LFR.js → p-DBO7n-Av.js} +1 -1
- package/dist/ionic/p-a863b021.entry.js +4 -0
- package/dist/ionic/p-a8ab213b.entry.js +4 -0
- package/dist/ionic/p-c4f60459.entry.js +4 -0
- package/hydrate/index.js +69 -47
- package/hydrate/index.mjs +69 -47
- package/package.json +1 -1
- package/components/p-BiZyTqN_.js +0 -4
- package/components/p-CK5LoZgF.js +0 -4
- package/components/p-CnlUj9Gp.js +0 -4
- package/components/p-DjaPZRNp.js +0 -4
- package/components/p-DluP6kjT.js +0 -4
- package/components/p-MmeVOM-P.js +0 -4
- package/dist/ionic/p-16c12ab0.entry.js +0 -4
- package/dist/ionic/p-38b60d46.entry.js +0 -4
- package/dist/ionic/p-41595411.entry.js +0 -4
- package/dist/ionic/p-59440b91.entry.js +0 -4
- package/dist/ionic/p-5a79d5f5.entry.js +0 -4
- package/dist/ionic/p-8f9fa3c7.entry.js +0 -4
- package/dist/ionic/p-a63e20ae.entry.js +0 -4
- package/dist/ionic/p-b5d7df34.entry.js +0 -4
- package/dist/ionic/p-c19b22e4.entry.js +0 -4
- package/dist/ionic/p-c8a48b15.entry.js +0 -4
- package/dist/ionic/p-dc6be1a6.entry.js +0 -4
- package/dist/ionic/p-ecc36a41.entry.js +0 -4
- package/dist/ionic/p-f2500ead.entry.js +0 -4
- package/dist/ionic/p-f79b8489.entry.js +0 -4
|
@@ -323,10 +323,11 @@ input {
|
|
|
323
323
|
:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper {
|
|
324
324
|
transform-origin: left top;
|
|
325
325
|
}
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
@supports not selector(:dir(rtl)) {
|
|
327
|
+
:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper, :host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper {
|
|
328
|
+
transform-origin: right top;
|
|
329
|
+
}
|
|
328
330
|
}
|
|
329
|
-
|
|
330
331
|
@supports selector(:dir(rtl)) {
|
|
331
332
|
:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper {
|
|
332
333
|
transform-origin: right top;
|
|
@@ -336,10 +337,11 @@ input {
|
|
|
336
337
|
:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper {
|
|
337
338
|
transform-origin: center top;
|
|
338
339
|
}
|
|
339
|
-
|
|
340
|
-
|
|
340
|
+
@supports not selector(:dir(rtl)) {
|
|
341
|
+
:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper, :host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper {
|
|
342
|
+
transform-origin: calc(100% - center) top;
|
|
343
|
+
}
|
|
341
344
|
}
|
|
342
|
-
|
|
343
345
|
@supports selector(:dir(rtl)) {
|
|
344
346
|
:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper {
|
|
345
347
|
transform-origin: calc(100% - center) top;
|
|
@@ -323,10 +323,11 @@ input {
|
|
|
323
323
|
:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper {
|
|
324
324
|
transform-origin: left top;
|
|
325
325
|
}
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
@supports not selector(:dir(rtl)) {
|
|
327
|
+
:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper, :host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper {
|
|
328
|
+
transform-origin: right top;
|
|
329
|
+
}
|
|
328
330
|
}
|
|
329
|
-
|
|
330
331
|
@supports selector(:dir(rtl)) {
|
|
331
332
|
:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper {
|
|
332
333
|
transform-origin: right top;
|
|
@@ -336,10 +337,11 @@ input {
|
|
|
336
337
|
:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper {
|
|
337
338
|
transform-origin: center top;
|
|
338
339
|
}
|
|
339
|
-
|
|
340
|
-
|
|
340
|
+
@supports not selector(:dir(rtl)) {
|
|
341
|
+
:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper, :host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper {
|
|
342
|
+
transform-origin: calc(100% - center) top;
|
|
343
|
+
}
|
|
341
344
|
}
|
|
342
|
-
|
|
343
345
|
@supports selector(:dir(rtl)) {
|
|
344
346
|
:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper {
|
|
345
347
|
transform-origin: calc(100% - center) top;
|
|
@@ -292,10 +292,15 @@ export const getMonthColumnData = (locale, refParts, minParts, maxParts, monthVa
|
|
|
292
292
|
const months = [];
|
|
293
293
|
if (monthValues !== undefined) {
|
|
294
294
|
let processedMonths = monthValues;
|
|
295
|
-
|
|
295
|
+
/**
|
|
296
|
+
* The max and min months only apply to the
|
|
297
|
+
* max and min years. For example, with a max of
|
|
298
|
+
* 2025-03, every month of 2024 is still allowed.
|
|
299
|
+
*/
|
|
300
|
+
if (maxParts?.month !== undefined && maxParts.year === year) {
|
|
296
301
|
processedMonths = processedMonths.filter((month) => month <= maxParts.month);
|
|
297
302
|
}
|
|
298
|
-
if (minParts?.month !== undefined) {
|
|
303
|
+
if (minParts?.month !== undefined && minParts.year === year) {
|
|
299
304
|
processedMonths = processedMonths.filter((month) => month >= minParts.month);
|
|
300
305
|
}
|
|
301
306
|
processedMonths.forEach((processedMonth) => {
|
|
@@ -282,17 +282,26 @@ export const calculateHourFromAMPM = (currentParts, newAMPM) => {
|
|
|
282
282
|
*/
|
|
283
283
|
export const validateParts = (parts, minParts, maxParts) => {
|
|
284
284
|
const { month, day, year } = parts;
|
|
285
|
-
const
|
|
285
|
+
const dayInMonth = { ...parts };
|
|
286
286
|
const numDays = getNumDaysInMonth(month, year);
|
|
287
287
|
/**
|
|
288
288
|
* If the max number of days
|
|
289
289
|
* is greater than the day we want
|
|
290
290
|
* to set, update the DatetimeParts
|
|
291
291
|
* day field to be the max days.
|
|
292
|
+
* This is done before clamping so that
|
|
293
|
+
* the fixed day is also checked against
|
|
294
|
+
* the min/max bounds.
|
|
292
295
|
*/
|
|
293
296
|
if (day !== null && numDays < day) {
|
|
294
|
-
|
|
297
|
+
dayInMonth.day = numDays;
|
|
295
298
|
}
|
|
299
|
+
/**
|
|
300
|
+
* clampDate can return the minParts or maxParts
|
|
301
|
+
* object itself, so copy the result to avoid
|
|
302
|
+
* changing the bounds when updating the time below.
|
|
303
|
+
*/
|
|
304
|
+
const partsCopy = { ...clampDate(dayInMonth, minParts, maxParts) };
|
|
296
305
|
/**
|
|
297
306
|
* If value is same day as min day,
|
|
298
307
|
* make sure the time value is in bounds.
|
|
@@ -325,7 +334,7 @@ export const validateParts = (parts, minParts, maxParts) => {
|
|
|
325
334
|
* If value is same day as max day,
|
|
326
335
|
* make sure the time value is in bounds.
|
|
327
336
|
*/
|
|
328
|
-
if (maxParts !== undefined && isSameDay(
|
|
337
|
+
if (maxParts !== undefined && isSameDay(partsCopy, maxParts)) {
|
|
329
338
|
/**
|
|
330
339
|
* If the hour is out of bounds,
|
|
331
340
|
* update both the hour and minute.
|
|
@@ -239,11 +239,12 @@
|
|
|
239
239
|
left: calc(10px + var(--ion-safe-area-left, 0px));
|
|
240
240
|
/* stylelint-enable */
|
|
241
241
|
}
|
|
242
|
-
:
|
|
243
|
-
|
|
244
|
-
|
|
242
|
+
@supports not selector(:dir(rtl)) {
|
|
243
|
+
:host-context([dir=rtl]):host(.fab-horizontal-start), :host-context([dir=rtl]).fab-horizontal-start {
|
|
244
|
+
right: calc(10px + var(--ion-safe-area-right, 0px));
|
|
245
|
+
left: unset;
|
|
246
|
+
}
|
|
245
247
|
}
|
|
246
|
-
|
|
247
248
|
@supports selector(:dir(rtl)) {
|
|
248
249
|
:host(.fab-horizontal-start:dir(rtl)) {
|
|
249
250
|
right: calc(10px + var(--ion-safe-area-right, 0px));
|
|
@@ -256,11 +257,12 @@
|
|
|
256
257
|
right: calc(10px + var(--ion-safe-area-right, 0px));
|
|
257
258
|
/* stylelint-enable */
|
|
258
259
|
}
|
|
259
|
-
:
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
@supports not selector(:dir(rtl)) {
|
|
261
|
+
:host-context([dir=rtl]):host(.fab-horizontal-end), :host-context([dir=rtl]).fab-horizontal-end {
|
|
262
|
+
left: calc(10px + var(--ion-safe-area-left, 0px));
|
|
263
|
+
right: unset;
|
|
264
|
+
}
|
|
262
265
|
}
|
|
263
|
-
|
|
264
266
|
@supports selector(:dir(rtl)) {
|
|
265
267
|
:host(.fab-horizontal-end:dir(rtl)) {
|
|
266
268
|
left: calc(10px + var(--ion-safe-area-left, 0px));
|
|
@@ -5,7 +5,13 @@ import { readTask, writeTask } from "@stencil/core";
|
|
|
5
5
|
import { clamp } from "../../utils/helpers";
|
|
6
6
|
export const handleFooterFade = (scrollEl, baseEl) => {
|
|
7
7
|
readTask(() => {
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* scrollTop can be fractional while scrollHeight and
|
|
10
|
+
* clientHeight are whole pixels. Rounding up lets a
|
|
11
|
+
* scroll at the very bottom reach maxScroll, so the
|
|
12
|
+
* toolbar background fades out completely.
|
|
13
|
+
*/
|
|
14
|
+
const scrollTop = Math.ceil(scrollEl.scrollTop);
|
|
9
15
|
const maxScroll = scrollEl.scrollHeight - scrollEl.clientHeight;
|
|
10
16
|
/**
|
|
11
17
|
* Toolbar background will fade
|
|
@@ -586,10 +586,11 @@
|
|
|
586
586
|
*/
|
|
587
587
|
z-index: 2;
|
|
588
588
|
}
|
|
589
|
-
|
|
590
|
-
|
|
589
|
+
@supports not selector(:dir(rtl)) {
|
|
590
|
+
:host-context([dir=rtl]):host(.input-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).input-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.input-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).input-label-placement-floating .label-text-wrapper {
|
|
591
|
+
transform-origin: right top;
|
|
592
|
+
}
|
|
591
593
|
}
|
|
592
|
-
|
|
593
594
|
@supports selector(:dir(rtl)) {
|
|
594
595
|
:host(.input-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.input-label-placement-floating:dir(rtl)) .label-text-wrapper {
|
|
595
596
|
transform-origin: right top;
|
|
@@ -586,10 +586,11 @@
|
|
|
586
586
|
*/
|
|
587
587
|
z-index: 2;
|
|
588
588
|
}
|
|
589
|
-
|
|
590
|
-
|
|
589
|
+
@supports not selector(:dir(rtl)) {
|
|
590
|
+
:host-context([dir=rtl]):host(.input-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).input-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.input-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).input-label-placement-floating .label-text-wrapper {
|
|
591
|
+
transform-origin: right top;
|
|
592
|
+
}
|
|
591
593
|
}
|
|
592
|
-
|
|
593
594
|
@supports selector(:dir(rtl)) {
|
|
594
595
|
:host(.input-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.input-label-placement-floating:dir(rtl)) .label-text-wrapper {
|
|
595
596
|
transform-origin: right top;
|
|
@@ -1038,10 +1039,11 @@
|
|
|
1038
1039
|
*/
|
|
1039
1040
|
max-width: 100%;
|
|
1040
1041
|
}
|
|
1041
|
-
|
|
1042
|
-
|
|
1042
|
+
@supports not selector(:dir(rtl)) {
|
|
1043
|
+
:host-context([dir=rtl]):host(.input-fill-outline.input-label-placement-stacked) .label-text-wrapper, :host-context([dir=rtl]).input-fill-outline.input-label-placement-stacked .label-text-wrapper, :host-context([dir=rtl]):host(.input-fill-outline.input-label-placement-floating) .label-text-wrapper, :host-context([dir=rtl]).input-fill-outline.input-label-placement-floating .label-text-wrapper {
|
|
1044
|
+
transform-origin: right top;
|
|
1045
|
+
}
|
|
1043
1046
|
}
|
|
1044
|
-
|
|
1045
1047
|
@supports selector(:dir(rtl)) {
|
|
1046
1048
|
:host(.input-fill-outline.input-label-placement-stacked:dir(rtl)) .label-text-wrapper, :host(.input-fill-outline.input-label-placement-floating:dir(rtl)) .label-text-wrapper {
|
|
1047
1049
|
transform-origin: right top;
|
|
@@ -238,11 +238,12 @@
|
|
|
238
238
|
z-index: 1;
|
|
239
239
|
box-sizing: border-box;
|
|
240
240
|
}
|
|
241
|
-
:
|
|
242
|
-
|
|
243
|
-
|
|
241
|
+
@supports not selector(:dir(rtl)) {
|
|
242
|
+
:host-context([dir=rtl]) .item-native {
|
|
243
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
244
|
+
padding-left: var(--padding-end);
|
|
245
|
+
}
|
|
244
246
|
}
|
|
245
|
-
|
|
246
247
|
[dir=rtl] .item-native {
|
|
247
248
|
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
248
249
|
padding-left: var(--padding-end);
|
|
@@ -303,11 +304,12 @@ a {
|
|
|
303
304
|
overflow: inherit;
|
|
304
305
|
box-sizing: border-box;
|
|
305
306
|
}
|
|
306
|
-
:
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
@supports not selector(:dir(rtl)) {
|
|
308
|
+
:host-context([dir=rtl]) .item-inner {
|
|
309
|
+
padding-right: var(--inner-padding-start);
|
|
310
|
+
padding-left: calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end));
|
|
311
|
+
}
|
|
309
312
|
}
|
|
310
|
-
|
|
311
313
|
[dir=rtl] .item-inner {
|
|
312
314
|
padding-right: var(--inner-padding-start);
|
|
313
315
|
padding-left: calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end));
|
|
@@ -238,11 +238,12 @@
|
|
|
238
238
|
z-index: 1;
|
|
239
239
|
box-sizing: border-box;
|
|
240
240
|
}
|
|
241
|
-
:
|
|
242
|
-
|
|
243
|
-
|
|
241
|
+
@supports not selector(:dir(rtl)) {
|
|
242
|
+
:host-context([dir=rtl]) .item-native {
|
|
243
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
244
|
+
padding-left: var(--padding-end);
|
|
245
|
+
}
|
|
244
246
|
}
|
|
245
|
-
|
|
246
247
|
[dir=rtl] .item-native {
|
|
247
248
|
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
248
249
|
padding-left: var(--padding-end);
|
|
@@ -303,11 +304,12 @@ a {
|
|
|
303
304
|
overflow: inherit;
|
|
304
305
|
box-sizing: border-box;
|
|
305
306
|
}
|
|
306
|
-
:
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
@supports not selector(:dir(rtl)) {
|
|
308
|
+
:host-context([dir=rtl]) .item-inner {
|
|
309
|
+
padding-right: var(--inner-padding-start);
|
|
310
|
+
padding-left: calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end));
|
|
311
|
+
}
|
|
309
312
|
}
|
|
310
|
-
|
|
311
313
|
[dir=rtl] .item-inner {
|
|
312
314
|
padding-right: var(--inner-padding-start);
|
|
313
315
|
padding-left: calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end));
|
|
@@ -100,11 +100,12 @@
|
|
|
100
100
|
z-index: 100;
|
|
101
101
|
box-sizing: border-box;
|
|
102
102
|
}
|
|
103
|
-
:
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
@supports not selector(:dir(rtl)) {
|
|
104
|
+
:host-context([dir=rtl]) {
|
|
105
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
106
|
+
padding-left: var(--padding-end);
|
|
107
|
+
}
|
|
106
108
|
}
|
|
107
|
-
|
|
108
109
|
@supports selector(:dir(rtl)) {
|
|
109
110
|
:host(:dir(rtl)) {
|
|
110
111
|
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
@@ -142,11 +143,12 @@
|
|
|
142
143
|
border: 0;
|
|
143
144
|
overflow: hidden;
|
|
144
145
|
}
|
|
145
|
-
:
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
@supports not selector(:dir(rtl)) {
|
|
147
|
+
:host-context([dir=rtl]) .item-divider-inner {
|
|
148
|
+
padding-right: var(--inner-padding-start);
|
|
149
|
+
padding-left: calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end));
|
|
150
|
+
}
|
|
148
151
|
}
|
|
149
|
-
|
|
150
152
|
[dir=rtl] .item-divider-inner {
|
|
151
153
|
padding-right: var(--inner-padding-start);
|
|
152
154
|
padding-left: calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end));
|
|
@@ -100,11 +100,12 @@
|
|
|
100
100
|
z-index: 100;
|
|
101
101
|
box-sizing: border-box;
|
|
102
102
|
}
|
|
103
|
-
:
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
@supports not selector(:dir(rtl)) {
|
|
104
|
+
:host-context([dir=rtl]) {
|
|
105
|
+
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
106
|
+
padding-left: var(--padding-end);
|
|
107
|
+
}
|
|
106
108
|
}
|
|
107
|
-
|
|
108
109
|
@supports selector(:dir(rtl)) {
|
|
109
110
|
:host(:dir(rtl)) {
|
|
110
111
|
padding-right: calc(var(--padding-start) + var(--ion-safe-area-right, 0px));
|
|
@@ -142,11 +143,12 @@
|
|
|
142
143
|
border: 0;
|
|
143
144
|
overflow: hidden;
|
|
144
145
|
}
|
|
145
|
-
:
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
@supports not selector(:dir(rtl)) {
|
|
147
|
+
:host-context([dir=rtl]) .item-divider-inner {
|
|
148
|
+
padding-right: var(--inner-padding-start);
|
|
149
|
+
padding-left: calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end));
|
|
150
|
+
}
|
|
148
151
|
}
|
|
149
|
-
|
|
150
152
|
[dir=rtl] .item-divider-inner {
|
|
151
153
|
padding-right: var(--inner-padding-start);
|
|
152
154
|
padding-left: calc(var(--ion-safe-area-left, 0px) + var(--inner-padding-end));
|
|
@@ -59,14 +59,15 @@ export class ItemOption {
|
|
|
59
59
|
: {
|
|
60
60
|
download: this.download,
|
|
61
61
|
href: this.href,
|
|
62
|
+
rel: this.rel,
|
|
62
63
|
target: this.target,
|
|
63
64
|
};
|
|
64
|
-
return (h(Host, { key: '
|
|
65
|
+
return (h(Host, { key: '83a5194b6a315bce5e30512686962ef763b259f6', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
65
66
|
[mode]: true,
|
|
66
67
|
'item-option-disabled': disabled,
|
|
67
68
|
'item-option-expandable': expandable,
|
|
68
69
|
'ion-activatable': true,
|
|
69
|
-
}) }, h(TagType, { key: '
|
|
70
|
+
}) }, h(TagType, { key: '8d42cc4d5e48f8300f31b3ec18e268d283628518', ...attrs, ...tabindexAttributes, class: "button-native", part: "native", disabled: disabled }, h("span", { key: 'd1980c5fb3218c48198fe10f946d5f2b37505b13', class: "button-inner", part: "inner" }, h("slot", { key: 'ed27e04b877af59d97967c85849849303eacacef', name: "top" }), h("div", { key: 'f153c09013e22f9d2925d532000f0eb0a758a11b', class: "horizontal-wrapper", part: "container" }, h("slot", { key: 'aeecf4002c6e1733dc25ddbfbbcfb21dd83cdaee', name: "start" }), h("slot", { key: 'c2a9ccea962bb76744ee51e673a92940d638c775', name: "icon-only" }), h("slot", { key: 'e5a479c19d78e59f0233330d7b9013741f2c7161' }), h("slot", { key: 'b8aadf1fbdb600d8d2edfa72624d858a2670ca67', name: "end" })), h("slot", { key: '0aad6892bd3d904b9e814590b20d821adc85b17d', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", { key: 'f47357bb7043fa5b5708fff94e6d05460679c5c5' }))));
|
|
70
71
|
}
|
|
71
72
|
static get is() { return "ion-item-option"; }
|
|
72
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,17 +65,18 @@ ion-item-options {
|
|
|
65
65
|
user-select: none;
|
|
66
66
|
z-index: 1;
|
|
67
67
|
}
|
|
68
|
-
:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
68
|
+
@supports not selector(:dir(rtl)) {
|
|
69
|
+
:host-context([dir=rtl]) ion-item-options {
|
|
70
|
+
justify-content: flex-start;
|
|
71
|
+
}
|
|
72
|
+
:host-context([dir=rtl]) ion-item-options:not(.item-options-end) {
|
|
73
|
+
/* stylelint-disable property-disallowed-list */
|
|
74
|
+
right: auto;
|
|
75
|
+
left: 0;
|
|
76
|
+
/* stylelint-enable property-disallowed-list */
|
|
77
|
+
justify-content: flex-end;
|
|
78
|
+
}
|
|
77
79
|
}
|
|
78
|
-
|
|
79
80
|
[dir=rtl] ion-item-options {
|
|
80
81
|
justify-content: flex-start;
|
|
81
82
|
}
|
|
@@ -107,10 +108,11 @@ ion-item-options {
|
|
|
107
108
|
/* stylelint-enable property-disallowed-list */
|
|
108
109
|
justify-content: flex-start;
|
|
109
110
|
}
|
|
110
|
-
:
|
|
111
|
-
|
|
111
|
+
@supports not selector(:dir(rtl)) {
|
|
112
|
+
:host-context([dir=rtl]) .item-options-start {
|
|
113
|
+
justify-content: flex-end;
|
|
114
|
+
}
|
|
112
115
|
}
|
|
113
|
-
|
|
114
116
|
[dir=rtl] .item-options-start {
|
|
115
117
|
justify-content: flex-end;
|
|
116
118
|
}
|
|
@@ -133,11 +135,12 @@ ion-item-options {
|
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
/* stylelint-enable property-disallowed-list */
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
@supports not selector(:dir(rtl)) {
|
|
139
|
+
:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {
|
|
140
|
+
width: 100%;
|
|
141
|
+
visibility: visible;
|
|
142
|
+
}
|
|
139
143
|
}
|
|
140
|
-
|
|
141
144
|
[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {
|
|
142
145
|
width: 100%;
|
|
143
146
|
visibility: visible;
|
|
@@ -65,17 +65,18 @@ ion-item-options {
|
|
|
65
65
|
user-select: none;
|
|
66
66
|
z-index: 1;
|
|
67
67
|
}
|
|
68
|
-
:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
68
|
+
@supports not selector(:dir(rtl)) {
|
|
69
|
+
:host-context([dir=rtl]) ion-item-options {
|
|
70
|
+
justify-content: flex-start;
|
|
71
|
+
}
|
|
72
|
+
:host-context([dir=rtl]) ion-item-options:not(.item-options-end) {
|
|
73
|
+
/* stylelint-disable property-disallowed-list */
|
|
74
|
+
right: auto;
|
|
75
|
+
left: 0;
|
|
76
|
+
/* stylelint-enable property-disallowed-list */
|
|
77
|
+
justify-content: flex-end;
|
|
78
|
+
}
|
|
77
79
|
}
|
|
78
|
-
|
|
79
80
|
[dir=rtl] ion-item-options {
|
|
80
81
|
justify-content: flex-start;
|
|
81
82
|
}
|
|
@@ -107,10 +108,11 @@ ion-item-options {
|
|
|
107
108
|
/* stylelint-enable property-disallowed-list */
|
|
108
109
|
justify-content: flex-start;
|
|
109
110
|
}
|
|
110
|
-
:
|
|
111
|
-
|
|
111
|
+
@supports not selector(:dir(rtl)) {
|
|
112
|
+
:host-context([dir=rtl]) .item-options-start {
|
|
113
|
+
justify-content: flex-end;
|
|
114
|
+
}
|
|
112
115
|
}
|
|
113
|
-
|
|
114
116
|
[dir=rtl] .item-options-start {
|
|
115
117
|
justify-content: flex-end;
|
|
116
118
|
}
|
|
@@ -133,11 +135,12 @@ ion-item-options {
|
|
|
133
135
|
}
|
|
134
136
|
|
|
135
137
|
/* stylelint-enable property-disallowed-list */
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
@supports not selector(:dir(rtl)) {
|
|
139
|
+
:host-context([dir=rtl]) .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {
|
|
140
|
+
width: 100%;
|
|
141
|
+
visibility: visible;
|
|
142
|
+
}
|
|
139
143
|
}
|
|
140
|
-
|
|
141
144
|
[dir=rtl] .item-sliding-active-slide.item-sliding-active-options-start ion-item-options:not(.item-options-end) {
|
|
142
145
|
width: 100%;
|
|
143
146
|
visibility: visible;
|
|
@@ -85,10 +85,11 @@ ion-item-sliding .item {
|
|
|
85
85
|
transition-duration: 0.6s;
|
|
86
86
|
transition-property: padding-left;
|
|
87
87
|
}
|
|
88
|
-
:
|
|
89
|
-
|
|
88
|
+
@supports not selector(:dir(rtl)) {
|
|
89
|
+
:host-context([dir=rtl]) .item-sliding-active-swipe-end .item-options-end .item-option-expandable {
|
|
90
|
+
order: -1;
|
|
91
|
+
}
|
|
90
92
|
}
|
|
91
|
-
|
|
92
93
|
[dir=rtl] .item-sliding-active-swipe-end .item-options-end .item-option-expandable {
|
|
93
94
|
order: -1;
|
|
94
95
|
}
|
|
@@ -106,10 +107,11 @@ ion-item-sliding .item {
|
|
|
106
107
|
transition-duration: 0.6s;
|
|
107
108
|
transition-property: padding-right;
|
|
108
109
|
}
|
|
109
|
-
:
|
|
110
|
-
|
|
110
|
+
@supports not selector(:dir(rtl)) {
|
|
111
|
+
:host-context([dir=rtl]) .item-sliding-active-swipe-start .item-options-start .item-option-expandable {
|
|
112
|
+
order: 1;
|
|
113
|
+
}
|
|
111
114
|
}
|
|
112
|
-
|
|
113
115
|
[dir=rtl] .item-sliding-active-swipe-start .item-options-start .item-option-expandable {
|
|
114
116
|
order: 1;
|
|
115
117
|
}
|
|
@@ -249,10 +249,11 @@
|
|
|
249
249
|
transform-origin: left top;
|
|
250
250
|
transition: transform 150ms ease-in-out;
|
|
251
251
|
}
|
|
252
|
-
:
|
|
253
|
-
|
|
252
|
+
@supports not selector(:dir(rtl)) {
|
|
253
|
+
:host-context([dir=rtl]):host(.label-floating), :host-context([dir=rtl]).label-floating {
|
|
254
|
+
transform-origin: right top;
|
|
255
|
+
}
|
|
254
256
|
}
|
|
255
|
-
|
|
256
257
|
@supports selector(:dir(rtl)) {
|
|
257
258
|
:host(.label-floating:dir(rtl)) {
|
|
258
259
|
transform-origin: right top;
|
|
@@ -248,11 +248,12 @@
|
|
|
248
248
|
font-weight: 700;
|
|
249
249
|
letter-spacing: 0;
|
|
250
250
|
}
|
|
251
|
-
:
|
|
252
|
-
|
|
253
|
-
|
|
251
|
+
@supports not selector(:dir(rtl)) {
|
|
252
|
+
:host-context([dir=rtl]) {
|
|
253
|
+
padding-right: calc(var(--ion-safe-area-right, 0px) + 16px);
|
|
254
|
+
padding-left: var(--ion-safe-area-left);
|
|
255
|
+
}
|
|
254
256
|
}
|
|
255
|
-
|
|
256
257
|
@supports selector(:dir(rtl)) {
|
|
257
258
|
:host(:dir(rtl)) {
|
|
258
259
|
padding-right: calc(var(--ion-safe-area-right, 0px) + 16px);
|
|
@@ -245,11 +245,12 @@
|
|
|
245
245
|
min-height: 45px;
|
|
246
246
|
font-size: 0.875rem;
|
|
247
247
|
}
|
|
248
|
-
:
|
|
249
|
-
|
|
250
|
-
|
|
248
|
+
@supports not selector(:dir(rtl)) {
|
|
249
|
+
:host-context([dir=rtl]) {
|
|
250
|
+
padding-right: calc(var(--ion-safe-area-right, 0px) + 16px);
|
|
251
|
+
padding-left: var(--ion-safe-area-left);
|
|
252
|
+
}
|
|
251
253
|
}
|
|
252
|
-
|
|
253
254
|
@supports selector(:dir(rtl)) {
|
|
254
255
|
:host(:dir(rtl)) {
|
|
255
256
|
padding-right: calc(var(--ion-safe-area-right, 0px) + 16px);
|