@ionic/core 8.7.4-dev.11757430138.13649dec → 8.7.4-dev.11758100307.13cc0353
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/backdrop.js +1 -1
- package/components/button.js +1 -1
- package/components/buttons.js +1 -1
- package/components/checkbox.js +1 -1
- package/components/header.js +1 -1
- package/components/ion-accordion-group.js +1 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-badge.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-divider.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/item.js +1 -1
- package/components/list-header.js +1 -1
- package/components/list.js +1 -1
- package/components/modal.js +1 -1
- package/components/radio-group.js +1 -1
- package/components/radio.js +1 -1
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +1 -1
- package/components/toolbar.js +1 -1
- package/css/ionic/bundle.ionic.css +1 -1
- package/css/ionic/bundle.ionic.css.map +1 -1
- package/css/ionic/core.ionic.css +1 -1
- package/css/ionic/core.ionic.css.map +1 -1
- package/css/ionic/global.bundle.ionic.css +1 -1
- package/css/ionic/global.bundle.ionic.css.map +1 -1
- package/css/ionic/ionic-swiper.ionic.css +1 -1
- package/css/ionic/ionic-swiper.ionic.css.map +1 -1
- package/css/ionic/link.ionic.css +1 -1
- package/css/ionic/link.ionic.css.map +1 -1
- package/css/ionic/typography.ionic.css +1 -1
- package/css/ionic/typography.ionic.css.map +1 -1
- package/css/ionic/utils.bundle.ionic.css +1 -1
- package/css/ionic/utils.bundle.ionic.css.map +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-card_5.cjs.entry.js +4 -4
- package/dist/cjs/ion-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ion-chip.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-divider.cjs.entry.js +1 -1
- package/dist/cjs/ion-input-otp.cjs.entry.js +1 -1
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ion-input.cjs.entry.js +1 -1
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +1 -1
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.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 +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +1 -1
- package/dist/cjs/ion-toast.cjs.entry.js +1 -1
- package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
- package/dist/collection/components/accordion/accordion.ionic.css +31 -33
- package/dist/collection/components/accordion-group/accordion-group.ionic.css +15 -17
- package/dist/collection/components/avatar/avatar.ionic.css +95 -97
- package/dist/collection/components/backdrop/backdrop.ionic.css +2 -4
- package/dist/collection/components/badge/badge.ionic.css +54 -56
- package/dist/collection/components/button/button.ionic.css +82 -84
- package/dist/collection/components/buttons/buttons.ionic.css +4 -7
- package/dist/collection/components/card/card.ionic.css +11 -13
- package/dist/collection/components/card-content/card-content.ionic.css +14 -16
- package/dist/collection/components/card-header/card-header.ionic.css +8 -10
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +6 -8
- package/dist/collection/components/checkbox/checkbox.ionic.css +50 -52
- package/dist/collection/components/chip/chip.ionic.css +36 -38
- package/dist/collection/components/col/col.css +8 -0
- package/dist/collection/components/datetime/datetime.ionic.css +111 -113
- package/dist/collection/components/divider/divider.ionic.css +16 -18
- package/dist/collection/components/header/header.ionic.css +6 -8
- package/dist/collection/components/input/input.ionic.css +69 -71
- package/dist/collection/components/input-otp/input-otp.ionic.css +49 -51
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +3 -5
- package/dist/collection/components/item/item.ionic.css +32 -34
- package/dist/collection/components/item-option/item-option.ionic.css +32 -34
- package/dist/collection/components/item-options/item-options.ionic.css +7 -9
- package/dist/collection/components/list/list.ionic.css +28 -30
- package/dist/collection/components/list-header/list-header.ionic.css +14 -16
- package/dist/collection/components/menu-button/menu-button.ionic.css +4 -6
- package/dist/collection/components/modal/modal.ionic.css +19 -21
- package/dist/collection/components/progress-bar/progress-bar.ionic.css +6 -8
- package/dist/collection/components/radio/radio.ionic.css +28 -30
- package/dist/collection/components/radio-group/radio-group.ionic.css +16 -18
- package/dist/collection/components/range/range.ionic.css +61 -63
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +2 -4
- package/dist/collection/components/row/row.css +3 -1
- package/dist/collection/components/searchbar/searchbar.ionic.css +100 -102
- package/dist/collection/components/segment/segment.ionic.css +2 -4
- package/dist/collection/components/segment-button/segment-button.ionic.css +28 -30
- package/dist/collection/components/select/select.ionic.css +64 -66
- package/dist/collection/components/select-modal/select-modal.ionic.css +14 -16
- package/dist/collection/components/spinner/spinner.ionic.css +17 -19
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +26 -28
- package/dist/collection/components/tab-button/tab-button.ionic.css +28 -30
- package/dist/collection/components/textarea/textarea.ionic.css +70 -72
- package/dist/collection/components/title/title.ionic.css +9 -11
- package/dist/collection/components/toast/toast.ionic.css +44 -46
- package/dist/collection/components/toggle/toggle.ionic.css +38 -40
- package/dist/collection/components/toolbar/toolbar.ionic.css +18 -20
- package/dist/docs.json +8 -2
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-app_8.entry.js +4 -4
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +1 -1
- package/dist/esm/ion-button_2.entry.js +1 -1
- package/dist/esm/ion-card_5.entry.js +4 -4
- package/dist/esm/ion-checkbox.entry.js +1 -1
- package/dist/esm/ion-chip.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +1 -1
- package/dist/esm/ion-divider.entry.js +1 -1
- package/dist/esm/ion-input-otp.entry.js +1 -1
- package/dist/esm/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm/ion-input.entry.js +1 -1
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +1 -1
- package/dist/esm/ion-modal.entry.js +1 -1
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +1 -1
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +1 -1
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +1 -1
- package/dist/esm/ion-toast.entry.js +1 -1
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-07317db2.entry.js +4 -0
- package/dist/ionic/p-0870e5cf.entry.js +4 -0
- package/dist/ionic/p-0a4718a4.entry.js +4 -0
- package/dist/ionic/p-0e535cb1.entry.js +4 -0
- package/dist/ionic/p-11f6cfff.entry.js +4 -0
- package/dist/ionic/{p-083bdc4a.entry.js → p-18660f23.entry.js} +1 -1
- package/dist/ionic/p-19efbfc2.entry.js +4 -0
- package/dist/ionic/{p-abc60b26.entry.js → p-1acc1bfe.entry.js} +1 -1
- package/dist/ionic/p-266e8f94.entry.js +4 -0
- package/dist/ionic/{p-45b08f61.entry.js → p-2a2897a7.entry.js} +1 -1
- package/dist/ionic/p-2e6836c7.entry.js +4 -0
- package/dist/ionic/p-304b999f.entry.js +4 -0
- package/dist/ionic/p-3f22a9de.entry.js +4 -0
- package/dist/ionic/p-4f9d7d26.entry.js +4 -0
- package/dist/ionic/p-57bd2088.entry.js +4 -0
- package/dist/ionic/p-59c4a194.entry.js +4 -0
- package/dist/ionic/p-5f0c7c62.entry.js +4 -0
- package/dist/ionic/p-75b29611.entry.js +4 -0
- package/dist/ionic/p-845e0158.entry.js +4 -0
- package/dist/ionic/p-9149ea07.entry.js +4 -0
- package/dist/ionic/{p-0cffd1bf.entry.js → p-9f497b9a.entry.js} +1 -1
- package/dist/ionic/p-a08c83ba.entry.js +4 -0
- package/dist/ionic/p-a3ea0e64.entry.js +4 -0
- package/dist/ionic/p-a5893690.entry.js +4 -0
- package/dist/ionic/p-b2aa3ff0.entry.js +4 -0
- package/dist/ionic/p-c692cc4a.entry.js +4 -0
- package/dist/ionic/p-c7477cd9.entry.js +4 -0
- package/dist/ionic/p-d04293de.entry.js +4 -0
- package/dist/ionic/p-d6e4bead.entry.js +4 -0
- package/dist/ionic/p-e7ecbdce.entry.js +4 -0
- package/dist/ionic/{p-bfad272a.entry.js → p-fd72d046.entry.js} +1 -1
- package/hydrate/index.js +46 -46
- package/hydrate/index.mjs +46 -46
- package/package.json +4 -4
- package/dist/ionic/p-09ee42c7.entry.js +0 -4
- package/dist/ionic/p-0a973339.entry.js +0 -4
- package/dist/ionic/p-0edc2fcf.entry.js +0 -4
- package/dist/ionic/p-34198a78.entry.js +0 -4
- package/dist/ionic/p-3610f001.entry.js +0 -4
- package/dist/ionic/p-389093b6.entry.js +0 -4
- package/dist/ionic/p-417569b5.entry.js +0 -4
- package/dist/ionic/p-637e497f.entry.js +0 -4
- package/dist/ionic/p-65d9c265.entry.js +0 -4
- package/dist/ionic/p-7918eeaa.entry.js +0 -4
- package/dist/ionic/p-80de7b65.entry.js +0 -4
- package/dist/ionic/p-80faabb9.entry.js +0 -4
- package/dist/ionic/p-8fa42767.entry.js +0 -4
- package/dist/ionic/p-905f6505.entry.js +0 -4
- package/dist/ionic/p-97bf9127.entry.js +0 -4
- package/dist/ionic/p-9af1c2e0.entry.js +0 -4
- package/dist/ionic/p-ab387abd.entry.js +0 -4
- package/dist/ionic/p-b8c602ec.entry.js +0 -4
- package/dist/ionic/p-c6887f5c.entry.js +0 -4
- package/dist/ionic/p-c8eb678d.entry.js +0 -4
- package/dist/ionic/p-cff18cc5.entry.js +0 -4
- package/dist/ionic/p-d207d49c.entry.js +0 -4
- package/dist/ionic/p-d9525f67.entry.js +0 -4
- package/dist/ionic/p-e6caa048.entry.js +0 -4
- package/dist/ionic/p-eea0e705.entry.js +0 -4
- package/dist/ionic/p-ff010b26.entry.js +0 -4
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
5
|
* @param context (optional) - Baseline value
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
Do not edit directly, this file was auto-generated.
|
|
9
|
-
*/ /**
|
|
7
|
+
/**
|
|
10
8
|
* A heuristic that applies CSS to tablet
|
|
11
9
|
* viewports.
|
|
12
10
|
*
|
|
@@ -554,8 +552,8 @@ Do not edit directly, this file was auto-generated.
|
|
|
554
552
|
}
|
|
555
553
|
|
|
556
554
|
:host(.textarea-fill-outline) {
|
|
557
|
-
--border-width: var(--
|
|
558
|
-
--border-color: var(--
|
|
555
|
+
--border-width: var(--token-border-size-025, var(--token-scale-025, 1px));
|
|
556
|
+
--border-color: var(--token-primitives-neutral-500, #a2a2a2);
|
|
559
557
|
}
|
|
560
558
|
|
|
561
559
|
:host(.textarea-fill-outline) .textarea-wrapper {
|
|
@@ -593,27 +591,27 @@ Do not edit directly, this file was auto-generated.
|
|
|
593
591
|
}
|
|
594
592
|
|
|
595
593
|
:host(.textarea-fill-outline) textarea {
|
|
596
|
-
margin-top: var(--
|
|
594
|
+
margin-top: var(--token-space-100, var(--token-scale-100, 4px));
|
|
597
595
|
}
|
|
598
596
|
|
|
599
597
|
:host(.textarea-fill-outline.has-focus) {
|
|
600
|
-
--border-width: var(--
|
|
598
|
+
--border-width: var(--token-border-size-050, var(--token-scale-050, 2px));
|
|
601
599
|
}
|
|
602
600
|
|
|
603
601
|
:host {
|
|
604
|
-
--border-color: var(--
|
|
605
|
-
--color: var(--
|
|
606
|
-
--highlight-color-valid: var(--
|
|
607
|
-
--highlight-color-invalid: var(--
|
|
608
|
-
--highlight-color-focused: var(--ion-color-primary, var(--
|
|
609
|
-
--placeholder-color: var(--
|
|
602
|
+
--border-color: var(--token-primitives-neutral-500, #a2a2a2);
|
|
603
|
+
--color: var(--token-primitives-neutral-1200, #242424);
|
|
604
|
+
--highlight-color-valid: var(--token-semantics-success-900, var(--token-primitives-green-900, #126f23));
|
|
605
|
+
--highlight-color-invalid: var(--token-semantics-danger-800, var(--token-primitives-red-800, #bf2222));
|
|
606
|
+
--highlight-color-focused: var(--ion-color-primary, var(--token-bg-primary-base-default, var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef)))));
|
|
607
|
+
--placeholder-color: var(--token-primitives-neutral-800, #626262);
|
|
610
608
|
--placeholder-opacity: 1;
|
|
611
|
-
--background: var(--
|
|
612
|
-
--padding-bottom: var(--
|
|
613
|
-
font-size: var(--
|
|
614
|
-
font-weight: var(--
|
|
615
|
-
letter-spacing: var(--
|
|
616
|
-
line-height: var(--
|
|
609
|
+
--background: var(--token-primitives-base-white, #ffffff);
|
|
610
|
+
--padding-bottom: var(--token-space-200, var(--token-scale-200, 8px));
|
|
611
|
+
font-size: var(--token-font-size-350, 0.875rem);
|
|
612
|
+
font-weight: var(--token-font-weight-regular, 400);
|
|
613
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
614
|
+
line-height: var(--token-font-line-height-600, var(--token-scale-600, 24px));
|
|
617
615
|
text-decoration: none;
|
|
618
616
|
text-transform: none;
|
|
619
617
|
}
|
|
@@ -627,43 +625,43 @@ Do not edit directly, this file was auto-generated.
|
|
|
627
625
|
}
|
|
628
626
|
|
|
629
627
|
:host(.textarea-size-small) .textarea-wrapper-inner {
|
|
630
|
-
--padding-top: var(--
|
|
631
|
-
--padding-end: var(--
|
|
632
|
-
--padding-bottom: var(--
|
|
633
|
-
--padding-start: var(--
|
|
634
|
-
min-height: var(--
|
|
628
|
+
--padding-top: var(--token-space-200, var(--token-scale-200, 8px));
|
|
629
|
+
--padding-end: var(--token-space-300, var(--token-scale-300, 12px));
|
|
630
|
+
--padding-bottom: var(--token-space-200, var(--token-scale-200, 8px));
|
|
631
|
+
--padding-start: var(--token-space-300, var(--token-scale-300, 12px));
|
|
632
|
+
min-height: var(--token-scale-2800, 112px);
|
|
635
633
|
}
|
|
636
634
|
|
|
637
635
|
:host(.textarea-size-medium) .textarea-wrapper-inner {
|
|
638
|
-
--padding-top: var(--
|
|
639
|
-
--padding-end: var(--
|
|
640
|
-
--padding-bottom: var(--
|
|
641
|
-
--padding-start: var(--
|
|
642
|
-
min-height: var(--
|
|
636
|
+
--padding-top: var(--token-space-300, var(--token-scale-300, 12px));
|
|
637
|
+
--padding-end: var(--token-space-400, var(--token-scale-400, 16px));
|
|
638
|
+
--padding-bottom: var(--token-space-300, var(--token-scale-300, 12px));
|
|
639
|
+
--padding-start: var(--token-space-400, var(--token-scale-400, 16px));
|
|
640
|
+
min-height: var(--token-scale-3400, 136px);
|
|
643
641
|
}
|
|
644
642
|
|
|
645
643
|
:host(.textarea-size-large) .textarea-wrapper-inner {
|
|
646
|
-
--padding-top: var(--
|
|
647
|
-
--padding-end: var(--
|
|
648
|
-
--padding-bottom: var(--
|
|
649
|
-
--padding-start: var(--
|
|
650
|
-
min-height: var(--
|
|
644
|
+
--padding-top: var(--token-space-400, var(--token-scale-400, 16px));
|
|
645
|
+
--padding-end: var(--token-space-500, var(--token-scale-500, 20px));
|
|
646
|
+
--padding-bottom: var(--token-space-400, var(--token-scale-400, 16px));
|
|
647
|
+
--padding-start: var(--token-space-500, var(--token-scale-500, 20px));
|
|
648
|
+
min-height: var(--token-scale-3600, 144px);
|
|
651
649
|
}
|
|
652
650
|
|
|
653
651
|
:host(.textarea-shape-soft) {
|
|
654
|
-
--border-radius: var(--
|
|
652
|
+
--border-radius: var(--token-border-radius-200, var(--token-scale-200, 8px));
|
|
655
653
|
}
|
|
656
654
|
|
|
657
655
|
:host(.textarea-shape-round) {
|
|
658
|
-
--border-radius: var(--
|
|
656
|
+
--border-radius: var(--token-border-radius-400, var(--token-scale-400, 16px));
|
|
659
657
|
}
|
|
660
658
|
|
|
661
659
|
:host(.textarea-shape-rectangular) {
|
|
662
|
-
--border-radius: var(--
|
|
660
|
+
--border-radius: var(--token-border-radius-0, var(--token-scale-0, 0px));
|
|
663
661
|
}
|
|
664
662
|
|
|
665
663
|
.textarea-wrapper {
|
|
666
|
-
gap: var(--
|
|
664
|
+
gap: var(--token-space-100, var(--token-scale-100, 4px));
|
|
667
665
|
}
|
|
668
666
|
|
|
669
667
|
.textarea-wrapper-inner {
|
|
@@ -685,15 +683,15 @@ Do not edit directly, this file was auto-generated.
|
|
|
685
683
|
}
|
|
686
684
|
|
|
687
685
|
.label-text-wrapper {
|
|
688
|
-
font-size: var(--
|
|
689
|
-
font-weight: var(--
|
|
690
|
-
letter-spacing: var(--
|
|
691
|
-
line-height: var(--
|
|
686
|
+
font-size: var(--token-font-size-300, 0.75rem);
|
|
687
|
+
font-weight: var(--token-font-weight-medium, 500);
|
|
688
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
689
|
+
line-height: var(--token-font-line-height-500, var(--token-scale-500, 20px));
|
|
692
690
|
text-decoration: none;
|
|
693
691
|
text-transform: none;
|
|
694
|
-
max-width: var(--
|
|
695
|
-
transition: color var(--
|
|
696
|
-
color: var(--
|
|
692
|
+
max-width: var(--token-scale-5000, 200px);
|
|
693
|
+
transition: color var(--token-transition-time-150, 150ms) var(--token-transition-curve-expressive, cubic-bezier(0.4, 0, 0.2, 1)), transform var(--token-transition-time-150, 150ms) var(--token-transition-curve-expressive, cubic-bezier(0.4, 0, 0.2, 1));
|
|
694
|
+
color: var(--token-primitives-neutral-1000, #3b3b3b);
|
|
697
695
|
}
|
|
698
696
|
|
|
699
697
|
:host(.label-floating) .label-text-wrapper {
|
|
@@ -701,13 +699,13 @@ Do not edit directly, this file was auto-generated.
|
|
|
701
699
|
}
|
|
702
700
|
|
|
703
701
|
ion-icon {
|
|
704
|
-
color: var(--
|
|
705
|
-
font-size: var(--
|
|
702
|
+
color: var(--token-primitives-neutral-800, #626262);
|
|
703
|
+
font-size: var(--token-scale-400, 16px);
|
|
706
704
|
}
|
|
707
705
|
|
|
708
706
|
.start-slot-wrapper,
|
|
709
707
|
.end-slot-wrapper {
|
|
710
|
-
margin-top: var(--
|
|
708
|
+
margin-top: var(--token-space-050, var(--token-scale-050, 2px));
|
|
711
709
|
}
|
|
712
710
|
|
|
713
711
|
.textarea-bottom {
|
|
@@ -715,18 +713,18 @@ ion-icon {
|
|
|
715
713
|
padding-inline-start: var(--padding-start);
|
|
716
714
|
-webkit-padding-end: var(--padding-end);
|
|
717
715
|
padding-inline-end: var(--padding-end);
|
|
718
|
-
padding-top: var(--
|
|
719
|
-
font-size: var(--
|
|
720
|
-
font-weight: var(--
|
|
721
|
-
letter-spacing: var(--
|
|
722
|
-
line-height: var(--
|
|
716
|
+
padding-top: var(--token-space-100, var(--token-scale-100, 4px));
|
|
717
|
+
font-size: var(--token-font-size-300, 0.75rem);
|
|
718
|
+
font-weight: var(--token-font-weight-medium, 500);
|
|
719
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
720
|
+
line-height: var(--token-font-line-height-500, var(--token-scale-500, 20px));
|
|
723
721
|
text-decoration: none;
|
|
724
722
|
text-transform: none;
|
|
725
723
|
}
|
|
726
724
|
|
|
727
725
|
.textarea-bottom .helper-text,
|
|
728
726
|
.textarea-bottom .counter {
|
|
729
|
-
color: var(--
|
|
727
|
+
color: var(--token-primitives-neutral-800, #626262);
|
|
730
728
|
}
|
|
731
729
|
|
|
732
730
|
:host(.has-focus.ion-valid) .helper-text {
|
|
@@ -735,16 +733,16 @@ ion-icon {
|
|
|
735
733
|
|
|
736
734
|
:host(.has-focus.ion-valid),
|
|
737
735
|
:host(.ion-touched.ion-invalid) {
|
|
738
|
-
--border-width: var(--
|
|
736
|
+
--border-width: var(--token-border-size-025, var(--token-scale-025, 1px));
|
|
739
737
|
}
|
|
740
738
|
|
|
741
739
|
.textarea-highlight {
|
|
742
740
|
bottom: -1px;
|
|
743
741
|
position: absolute;
|
|
744
742
|
width: 100%;
|
|
745
|
-
height: var(--
|
|
743
|
+
height: var(--token-border-size-050, var(--token-scale-050, 2px));
|
|
746
744
|
transform: scale(0);
|
|
747
|
-
transition: transform var(--
|
|
745
|
+
transition: transform var(--token-transition-time-200, 200ms);
|
|
748
746
|
background: var(--border-color);
|
|
749
747
|
}
|
|
750
748
|
.textarea-highlight {
|
|
@@ -752,7 +750,7 @@ ion-icon {
|
|
|
752
750
|
}
|
|
753
751
|
|
|
754
752
|
:host(.has-focus) {
|
|
755
|
-
--border-color: var(--
|
|
753
|
+
--border-color: var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));
|
|
756
754
|
}
|
|
757
755
|
|
|
758
756
|
:host(.has-focus) .textarea-highlight {
|
|
@@ -761,28 +759,28 @@ ion-icon {
|
|
|
761
759
|
|
|
762
760
|
@media (any-hover: hover) {
|
|
763
761
|
:host(:hover) {
|
|
764
|
-
--border-color: var(--
|
|
762
|
+
--border-color: var(--token-primitives-neutral-600, #8c8c8c);
|
|
765
763
|
}
|
|
766
764
|
}
|
|
767
765
|
:host(.textarea-disabled) {
|
|
768
|
-
--color: var(--
|
|
769
|
-
--background: var(--
|
|
770
|
-
--border-color: var(--
|
|
771
|
-
--placeholder-color: var(--
|
|
766
|
+
--color: var(--token-primitives-neutral-500, #a2a2a2);
|
|
767
|
+
--background: var(--token-primitives-neutral-100, #f5f5f5);
|
|
768
|
+
--border-color: var(--token-primitives-neutral-300, #e0e0e0);
|
|
769
|
+
--placeholder-color: var(--token-primitives-neutral-500, #a2a2a2);
|
|
772
770
|
}
|
|
773
771
|
|
|
774
772
|
:host(.textarea-disabled:not(.ion-valid)) .textarea-bottom .helper-text,
|
|
775
773
|
:host(.textarea-disabled) .textarea-bottom .counter,
|
|
776
774
|
:host(.textarea-disabled) .label-text-wrapper {
|
|
777
|
-
color: var(--
|
|
775
|
+
color: var(--token-text-disabled, var(--token-primitives-neutral-500, #a2a2a2));
|
|
778
776
|
}
|
|
779
777
|
|
|
780
778
|
:host(.textarea-disabled.has-focus.ion-valid) {
|
|
781
|
-
--border-color: rgba(var(--
|
|
779
|
+
--border-color: rgba(var(--token-semantics-success-base-rgb, 27, 164, 51), 0.6);
|
|
782
780
|
}
|
|
783
781
|
|
|
784
782
|
:host(.textarea-disabled.ion-touched.ion-invalid) {
|
|
785
|
-
--border-color: rgba(var(--
|
|
783
|
+
--border-color: rgba(var(--token-semantics-danger-base-rgb, 229, 41, 41), 0.6);
|
|
786
784
|
}
|
|
787
785
|
|
|
788
786
|
:host(.textarea-disabled.ion-color) {
|
|
@@ -795,7 +793,7 @@ ion-icon {
|
|
|
795
793
|
}
|
|
796
794
|
|
|
797
795
|
:host(.textarea-readonly) {
|
|
798
|
-
--background: var(--
|
|
796
|
+
--background: var(--token-primitives-neutral-100, #f5f5f5);
|
|
799
797
|
}
|
|
800
798
|
|
|
801
799
|
/**
|
|
@@ -815,7 +813,7 @@ ion-icon {
|
|
|
815
813
|
* textarea, we need to fade the textarea out so that the
|
|
816
814
|
* label does not overlap with the placeholder.
|
|
817
815
|
*/
|
|
818
|
-
transition: opacity var(--
|
|
816
|
+
transition: opacity var(--token-transition-time-150, 150ms) var(--token-transition-curve-expressive, cubic-bezier(0.4, 0, 0.2, 1));
|
|
819
817
|
}
|
|
820
818
|
|
|
821
819
|
/**
|
|
@@ -823,8 +821,8 @@ ion-icon {
|
|
|
823
821
|
* on the right in RTL. Label also has a fixed width.
|
|
824
822
|
*/
|
|
825
823
|
:host(.textarea-label-placement-fixed) .label-text {
|
|
826
|
-
flex: 0 0 calc(var(--
|
|
827
|
-
width: calc(var(--
|
|
828
|
-
min-width: calc(var(--
|
|
829
|
-
max-width: var(--
|
|
824
|
+
flex: 0 0 calc(var(--token-scale-2400, 96px) + var(--token-space-100, var(--token-scale-100, 4px)));
|
|
825
|
+
width: calc(var(--token-scale-2400, 96px) + var(--token-space-100, var(--token-scale-100, 4px)));
|
|
826
|
+
min-width: calc(var(--token-scale-2400, 96px) + var(--token-space-100, var(--token-scale-100, 4px)));
|
|
827
|
+
max-width: var(--token-scale-5000, 200px);
|
|
830
828
|
}
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
5
|
* @param context (optional) - Baseline value
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
Do not edit directly, this file was auto-generated.
|
|
9
|
-
*/ /**
|
|
7
|
+
/**
|
|
10
8
|
* A heuristic that applies CSS to tablet
|
|
11
9
|
* viewports.
|
|
12
10
|
*
|
|
@@ -109,10 +107,10 @@ Do not edit directly, this file was auto-generated.
|
|
|
109
107
|
}
|
|
110
108
|
|
|
111
109
|
:host {
|
|
112
|
-
font-size: var(--
|
|
113
|
-
font-weight: var(--
|
|
114
|
-
letter-spacing: var(--
|
|
115
|
-
line-height: var(--
|
|
110
|
+
font-size: var(--token-font-size-450, 1.125rem);
|
|
111
|
+
font-weight: var(--token-font-weight-medium, 500);
|
|
112
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
113
|
+
line-height: var(--token-font-line-height-700, var(--token-scale-700, 28px));
|
|
116
114
|
text-decoration: none;
|
|
117
115
|
text-transform: none;
|
|
118
116
|
box-sizing: border-box;
|
|
@@ -120,10 +118,10 @@ Do not edit directly, this file was auto-generated.
|
|
|
120
118
|
}
|
|
121
119
|
|
|
122
120
|
:host(.title-large) {
|
|
123
|
-
font-size: var(--
|
|
124
|
-
font-weight: var(--
|
|
125
|
-
letter-spacing: var(--
|
|
126
|
-
line-height: var(--
|
|
121
|
+
font-size: var(--token-font-size-700, 1.75rem);
|
|
122
|
+
font-weight: var(--token-font-weight-medium, 500);
|
|
123
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
124
|
+
line-height: var(--token-font-line-height-900, var(--token-scale-900, 36px));
|
|
127
125
|
text-decoration: none;
|
|
128
126
|
text-transform: none;
|
|
129
127
|
}
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
5
|
* @param context (optional) - Baseline value
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
Do not edit directly, this file was auto-generated.
|
|
9
|
-
*/ /**
|
|
7
|
+
/**
|
|
10
8
|
* A heuristic that applies CSS to tablet
|
|
11
9
|
* viewports.
|
|
12
10
|
*
|
|
@@ -237,14 +235,14 @@ Do not edit directly, this file was auto-generated.
|
|
|
237
235
|
}
|
|
238
236
|
}
|
|
239
237
|
:host {
|
|
240
|
-
--box-shadow: var(--
|
|
238
|
+
--box-shadow: var(--token-elevation-4, 0px 3px 12px 0px rgba(0, 0, 0, 0.12), 0px 15px 48px 0px rgba(0, 0, 0, 0.18));
|
|
241
239
|
--max-width: 343px;
|
|
242
|
-
--start: var(--
|
|
243
|
-
--end: var(--
|
|
244
|
-
font-size: var(--
|
|
245
|
-
font-weight: var(--
|
|
246
|
-
letter-spacing: var(--
|
|
247
|
-
line-height: var(--
|
|
240
|
+
--start: var(--token-space-200, var(--token-scale-200, 8px));
|
|
241
|
+
--end: var(--token-space-200, var(--token-scale-200, 8px));
|
|
242
|
+
font-size: var(--token-font-size-350, 0.875rem);
|
|
243
|
+
font-weight: var(--token-font-weight-medium, 500);
|
|
244
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
245
|
+
line-height: var(--token-font-line-height-600, var(--token-scale-600, 24px));
|
|
248
246
|
text-decoration: none;
|
|
249
247
|
text-transform: none;
|
|
250
248
|
z-index: 1001;
|
|
@@ -283,62 +281,62 @@ Do not edit directly, this file was auto-generated.
|
|
|
283
281
|
}
|
|
284
282
|
|
|
285
283
|
.toast-container {
|
|
286
|
-
-webkit-padding-start: var(--
|
|
287
|
-
padding-inline-start: var(--
|
|
288
|
-
-webkit-padding-end: var(--
|
|
289
|
-
padding-inline-end: var(--
|
|
290
|
-
padding-top: var(--
|
|
291
|
-
padding-bottom: var(--
|
|
284
|
+
-webkit-padding-start: var(--token-space-400, var(--token-scale-400, 16px));
|
|
285
|
+
padding-inline-start: var(--token-space-400, var(--token-scale-400, 16px));
|
|
286
|
+
-webkit-padding-end: var(--token-space-400, var(--token-scale-400, 16px));
|
|
287
|
+
padding-inline-end: var(--token-space-400, var(--token-scale-400, 16px));
|
|
288
|
+
padding-top: var(--token-space-300, var(--token-scale-300, 12px));
|
|
289
|
+
padding-bottom: var(--token-space-300, var(--token-scale-300, 12px));
|
|
292
290
|
}
|
|
293
291
|
|
|
294
292
|
:host(.toast-shape-soft) {
|
|
295
|
-
--border-radius: var(--
|
|
293
|
+
--border-radius: var(--token-border-radius-200, var(--token-scale-200, 8px));
|
|
296
294
|
}
|
|
297
295
|
|
|
298
296
|
:host(.toast-shape-round) {
|
|
299
|
-
--border-radius: var(--
|
|
297
|
+
--border-radius: var(--token-border-radius-400, var(--token-scale-400, 16px));
|
|
300
298
|
}
|
|
301
299
|
|
|
302
300
|
:host(.toast-shape-rectangular) {
|
|
303
|
-
--border-radius: var(--
|
|
301
|
+
--border-radius: var(--token-border-radius-0, var(--token-scale-0, 0px));
|
|
304
302
|
}
|
|
305
303
|
|
|
306
304
|
.toast-header {
|
|
307
|
-
font-size: var(--
|
|
308
|
-
font-weight: var(--
|
|
309
|
-
letter-spacing: var(--
|
|
310
|
-
line-height: var(--
|
|
305
|
+
font-size: var(--token-font-size-450, 1.125rem);
|
|
306
|
+
font-weight: var(--token-font-weight-medium, 500);
|
|
307
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
308
|
+
line-height: var(--token-font-line-height-700, var(--token-scale-700, 28px));
|
|
311
309
|
text-decoration: none;
|
|
312
310
|
text-transform: none;
|
|
313
311
|
}
|
|
314
312
|
|
|
315
313
|
.toast-layout-baseline .toast-button-group-start {
|
|
316
|
-
-webkit-margin-end: var(--
|
|
317
|
-
margin-inline-end: var(--
|
|
314
|
+
-webkit-margin-end: var(--token-space-400, var(--token-scale-400, 16px));
|
|
315
|
+
margin-inline-end: var(--token-space-400, var(--token-scale-400, 16px));
|
|
318
316
|
}
|
|
319
317
|
|
|
320
318
|
.toast-layout-stacked .toast-button-group-start {
|
|
321
|
-
margin-bottom: var(--
|
|
319
|
+
margin-bottom: var(--token-space-400, var(--token-scale-400, 16px));
|
|
322
320
|
}
|
|
323
321
|
|
|
324
322
|
.toast-layout-baseline .toast-button-group-end {
|
|
325
|
-
-webkit-margin-start: var(--
|
|
326
|
-
margin-inline-start: var(--
|
|
323
|
+
-webkit-margin-start: var(--token-space-400, var(--token-scale-400, 16px));
|
|
324
|
+
margin-inline-start: var(--token-space-400, var(--token-scale-400, 16px));
|
|
327
325
|
}
|
|
328
326
|
|
|
329
327
|
.toast-layout-stacked .toast-button-group-end {
|
|
330
|
-
margin-top: var(--
|
|
328
|
+
margin-top: var(--token-space-400, var(--token-scale-400, 16px));
|
|
331
329
|
}
|
|
332
330
|
|
|
333
331
|
.toast-button-group {
|
|
334
|
-
gap: var(--
|
|
332
|
+
gap: var(--token-space-400, var(--token-scale-400, 16px));
|
|
335
333
|
}
|
|
336
334
|
|
|
337
335
|
.toast-button {
|
|
338
|
-
font-size: var(--
|
|
339
|
-
font-weight: var(--
|
|
340
|
-
letter-spacing: var(--
|
|
341
|
-
line-height: var(--
|
|
336
|
+
font-size: var(--token-font-size-350, 0.875rem);
|
|
337
|
+
font-weight: var(--token-font-weight-regular, 400);
|
|
338
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
339
|
+
line-height: var(--token-font-line-height-600, var(--token-scale-600, 24px));
|
|
342
340
|
text-decoration: none;
|
|
343
341
|
text-transform: none;
|
|
344
342
|
padding-left: 0;
|
|
@@ -354,20 +352,20 @@ Do not edit directly, this file was auto-generated.
|
|
|
354
352
|
.toast-icon {
|
|
355
353
|
-webkit-margin-start: 0;
|
|
356
354
|
margin-inline-start: 0;
|
|
357
|
-
-webkit-margin-end: var(--
|
|
358
|
-
margin-inline-end: var(--
|
|
355
|
+
-webkit-margin-end: var(--token-space-200, var(--token-scale-200, 8px));
|
|
356
|
+
margin-inline-end: var(--token-space-200, var(--token-scale-200, 8px));
|
|
359
357
|
}
|
|
360
358
|
|
|
361
359
|
.toast-icon,
|
|
362
360
|
.toast-button-icon {
|
|
363
|
-
font-size: var(--
|
|
361
|
+
font-size: var(--token-scale-600, 24px);
|
|
364
362
|
}
|
|
365
363
|
|
|
366
364
|
:host(.toast-hue-bold) {
|
|
367
|
-
--background: var(--
|
|
368
|
-
--background-activated: var(--
|
|
369
|
-
--color: var(--
|
|
370
|
-
--button-color: var(--
|
|
365
|
+
--background: var(--token-bg-neutral-boldest-default, var(--token-primitives-neutral-1200, #242424));
|
|
366
|
+
--background-activated: var(--token-bg-neutral-boldest-press, var(--token-primitives-base-black, #111111));
|
|
367
|
+
--color: var(--token-text-inverse, var(--token-primitives-base-white, #ffffff));
|
|
368
|
+
--button-color: var(--token-text-inverse, var(--token-primitives-base-white, #ffffff));
|
|
371
369
|
}
|
|
372
370
|
|
|
373
371
|
:host(.toast-hue-bold.ion-color) .toast-wrapper {
|
|
@@ -380,14 +378,14 @@ Do not edit directly, this file was auto-generated.
|
|
|
380
378
|
}
|
|
381
379
|
|
|
382
380
|
:host(.toast-hue-subtle) {
|
|
383
|
-
--background: var(--
|
|
384
|
-
--background-activated: var(--
|
|
385
|
-
--color: var(--
|
|
386
|
-
--button-color: var(--
|
|
381
|
+
--background: var(--token-bg-neutral-subtlest-default, var(--token-primitives-base-white, #ffffff));
|
|
382
|
+
--background-activated: var(--token-bg-neutral-subtlest-press, var(--token-primitives-neutral-200, #efefef));
|
|
383
|
+
--color: var(--token-text-default, var(--token-primitives-neutral-1200, #242424));
|
|
384
|
+
--button-color: var(--token-text-link-default, var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef))));
|
|
387
385
|
}
|
|
388
386
|
|
|
389
387
|
:host(.toast-hue-subtle) .toast-button-cancel {
|
|
390
|
-
color: var(--
|
|
388
|
+
color: var(--token-icon-subtlest, var(--token-primitives-neutral-800, #626262));
|
|
391
389
|
}
|
|
392
390
|
|
|
393
391
|
:host(.toast-hue-subtle.ion-color) .toast-wrapper {
|
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
* @param pixels - Value in pixels to be converted (i.e. px)
|
|
5
5
|
* @param context (optional) - Baseline value
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
Do not edit directly, this file was auto-generated.
|
|
9
|
-
*/ /**
|
|
7
|
+
/**
|
|
10
8
|
* A heuristic that applies CSS to tablet
|
|
11
9
|
* viewports.
|
|
12
10
|
*
|
|
@@ -368,24 +366,24 @@ input {
|
|
|
368
366
|
}
|
|
369
367
|
|
|
370
368
|
:host {
|
|
371
|
-
--track-background: var(--
|
|
372
|
-
--track-background-checked: var(--ion-color-primary, var(--
|
|
373
|
-
--border-radius: var(--
|
|
374
|
-
--focus-ring-color: var(--
|
|
375
|
-
--focus-ring-width: var(--
|
|
376
|
-
--handle-background: var(--
|
|
377
|
-
--handle-background-checked: var(--
|
|
378
|
-
--handle-border-radius: var(--
|
|
379
|
-
--handle-height: var(--
|
|
380
|
-
--handle-max-height: var(--
|
|
381
|
-
--handle-width: var(--
|
|
382
|
-
--handle-spacing: var(--
|
|
369
|
+
--track-background: var(--token-primitives-neutral-500, #a2a2a2);
|
|
370
|
+
--track-background-checked: var(--ion-color-primary, var(--token-bg-primary-base-default, var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef)))));
|
|
371
|
+
--border-radius: var(--token-border-radius-full, 999px);
|
|
372
|
+
--focus-ring-color: var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));
|
|
373
|
+
--focus-ring-width: var(--token-border-size-050, var(--token-scale-050, 2px));
|
|
374
|
+
--handle-background: var(--token-primitives-base-white, #ffffff);
|
|
375
|
+
--handle-background-checked: var(--token-primitives-base-white, #ffffff);
|
|
376
|
+
--handle-border-radius: var(--token-border-radius-full, 999px);
|
|
377
|
+
--handle-height: var(--token-scale-500, 20px);
|
|
378
|
+
--handle-max-height: var(--token-scale-500, 20px);
|
|
379
|
+
--handle-width: var(--token-scale-500, 20px);
|
|
380
|
+
--handle-spacing: var(--token-space-050, var(--token-scale-050, 2px));
|
|
383
381
|
--handle-transition: transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms,
|
|
384
382
|
right 110ms ease-in-out 80ms;
|
|
385
|
-
font-size: var(--
|
|
386
|
-
font-weight: var(--
|
|
387
|
-
letter-spacing: var(--
|
|
388
|
-
line-height: var(--
|
|
383
|
+
font-size: var(--token-font-size-350, 0.875rem);
|
|
384
|
+
font-weight: var(--token-font-weight-regular, 400);
|
|
385
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
386
|
+
line-height: var(--token-font-line-height-600, var(--token-scale-600, 24px));
|
|
389
387
|
text-decoration: none;
|
|
390
388
|
text-transform: none;
|
|
391
389
|
width: 100%;
|
|
@@ -394,12 +392,12 @@ input {
|
|
|
394
392
|
|
|
395
393
|
.toggle-wrapper {
|
|
396
394
|
align-items: center;
|
|
397
|
-
min-height: var(--
|
|
395
|
+
min-height: var(--token-scale-1200, 48px);
|
|
398
396
|
}
|
|
399
397
|
|
|
400
398
|
.native-wrapper .toggle-icon {
|
|
401
|
-
width: var(--
|
|
402
|
-
height: var(--
|
|
399
|
+
width: var(--token-scale-1100, 44px);
|
|
400
|
+
height: var(--token-scale-600, 24px);
|
|
403
401
|
/**
|
|
404
402
|
* The handle box shadow should not
|
|
405
403
|
* overflow outside of the track container.
|
|
@@ -412,24 +410,24 @@ input {
|
|
|
412
410
|
}
|
|
413
411
|
|
|
414
412
|
.toggle-bottom {
|
|
415
|
-
font-size: var(--
|
|
416
|
-
font-weight: var(--
|
|
417
|
-
letter-spacing: var(--
|
|
418
|
-
line-height: var(--
|
|
413
|
+
font-size: var(--token-font-size-350, 0.875rem);
|
|
414
|
+
font-weight: var(--token-font-weight-regular, 400);
|
|
415
|
+
letter-spacing: var(--token-font-letter-spacing-0, 0%);
|
|
416
|
+
line-height: var(--token-font-line-height-600, var(--token-scale-600, 24px));
|
|
419
417
|
text-decoration: none;
|
|
420
418
|
text-transform: none;
|
|
421
419
|
}
|
|
422
420
|
|
|
423
421
|
.toggle-bottom .error-text {
|
|
424
|
-
color: var(--
|
|
422
|
+
color: var(--token-semantics-danger-900, var(--token-primitives-red-900, #991b1b));
|
|
425
423
|
}
|
|
426
424
|
|
|
427
425
|
.toggle-bottom .helper-text {
|
|
428
|
-
color: var(--
|
|
426
|
+
color: var(--token-primitives-neutral-900, #4e4e4e);
|
|
429
427
|
}
|
|
430
428
|
|
|
431
429
|
:host(.ion-focused) .toggle-icon {
|
|
432
|
-
outline: var(--focus-ring-width) var(--
|
|
430
|
+
outline: var(--focus-ring-width) var(--token-border-style-solid, solid) var(--focus-ring-color);
|
|
433
431
|
outline-offset: var(--focus-ring-width);
|
|
434
432
|
}
|
|
435
433
|
|
|
@@ -438,11 +436,11 @@ input {
|
|
|
438
436
|
}
|
|
439
437
|
|
|
440
438
|
:host(.ion-activated) .toggle-icon {
|
|
441
|
-
background: var(--
|
|
439
|
+
background: var(--token-bg-neutral-base-press, var(--token-primitives-neutral-700, #777777));
|
|
442
440
|
}
|
|
443
441
|
|
|
444
442
|
:host(.ion-activated.toggle-checked) .toggle-icon {
|
|
445
|
-
background: var(--
|
|
443
|
+
background: var(--token-bg-primary-base-press, var(--token-semantics-primary-900, var(--token-primitives-blue-900, #0d4bc3)));
|
|
446
444
|
}
|
|
447
445
|
|
|
448
446
|
:host(.toggle-disabled) .toggle-icon::after {
|
|
@@ -451,7 +449,7 @@ input {
|
|
|
451
449
|
top: 0;
|
|
452
450
|
bottom: 0;
|
|
453
451
|
position: absolute;
|
|
454
|
-
background-color: var(--
|
|
452
|
+
background-color: var(--token-state-disabled, rgba(255, 255, 255, 0.6));
|
|
455
453
|
content: "";
|
|
456
454
|
pointer-events: none;
|
|
457
455
|
}
|
|
@@ -461,12 +459,12 @@ input {
|
|
|
461
459
|
display: flex;
|
|
462
460
|
align-items: center;
|
|
463
461
|
justify-content: center;
|
|
464
|
-
color: var(--
|
|
462
|
+
color: var(--token-primitives-neutral-1200, #242424);
|
|
465
463
|
}
|
|
466
464
|
|
|
467
465
|
.toggle-inner .toggle-switch-icon {
|
|
468
|
-
width: var(--
|
|
469
|
-
height: var(--
|
|
466
|
+
width: var(--token-scale-400, 16px);
|
|
467
|
+
height: var(--token-scale-400, 16px);
|
|
470
468
|
}
|
|
471
469
|
|
|
472
470
|
/**
|
|
@@ -485,9 +483,9 @@ input {
|
|
|
485
483
|
*/
|
|
486
484
|
-webkit-margin-start: 0;
|
|
487
485
|
margin-inline-start: 0;
|
|
488
|
-
-webkit-margin-end: var(--
|
|
489
|
-
margin-inline-end: var(--
|
|
490
|
-
color: var(--
|
|
486
|
+
-webkit-margin-end: var(--token-space-400, var(--token-scale-400, 16px));
|
|
487
|
+
margin-inline-end: var(--token-space-400, var(--token-scale-400, 16px));
|
|
488
|
+
color: var(--token-primitives-neutral-1200, #242424);
|
|
491
489
|
}
|
|
492
490
|
|
|
493
491
|
/**
|
|
@@ -504,8 +502,8 @@ input {
|
|
|
504
502
|
* when the label sits at the end.
|
|
505
503
|
*/
|
|
506
504
|
:host(.toggle-label-placement-end) .label-text-wrapper {
|
|
507
|
-
-webkit-margin-start: var(--
|
|
508
|
-
margin-inline-start: var(--
|
|
505
|
+
-webkit-margin-start: var(--token-space-400, var(--token-scale-400, 16px));
|
|
506
|
+
margin-inline-start: var(--token-space-400, var(--token-scale-400, 16px));
|
|
509
507
|
-webkit-margin-end: 0;
|
|
510
508
|
margin-inline-end: 0;
|
|
511
509
|
}
|