-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(select-modal): add ionic theme styling (#30007)
- Loading branch information
Showing
45 changed files
with
84 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-413 Bytes
(83%)
...pshots/radio-label-fixed-justify-end-ionic-md-ltr-light-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-514 Bytes
(84%)
...shots/radio-label-fixed-justify-end-ionic-md-ltr-light-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-351 Bytes
(86%)
...pshots/radio-label-fixed-justify-end-ionic-md-ltr-light-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-195 Bytes
(92%)
...pshots/radio-label-fixed-justify-end-ionic-md-rtl-light-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-378 Bytes
(89%)
...shots/radio-label-fixed-justify-end-ionic-md-rtl-light-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-145 Bytes
(94%)
...pshots/radio-label-fixed-justify-end-ionic-md-rtl-light-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-412 Bytes
(83%)
...io-label-fixed-justify-space-between-ionic-md-ltr-light-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-468 Bytes
(85%)
...o-label-fixed-justify-space-between-ionic-md-ltr-light-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-353 Bytes
(86%)
...io-label-fixed-justify-space-between-ionic-md-ltr-light-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-168 Bytes
(93%)
...io-label-fixed-justify-space-between-ionic-md-rtl-light-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-303 Bytes
(91%)
...o-label-fixed-justify-space-between-ionic-md-rtl-light-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-124 Bytes
(95%)
...io-label-fixed-justify-space-between-ionic-md-rtl-light-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-425 Bytes
(83%)
...hots/radio-label-fixed-justify-start-ionic-md-ltr-light-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-485 Bytes
(85%)
...ots/radio-label-fixed-justify-start-ionic-md-ltr-light-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-345 Bytes
(86%)
...hots/radio-label-fixed-justify-start-ionic-md-ltr-light-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-172 Bytes
(93%)
...hots/radio-label-fixed-justify-start-ionic-md-rtl-light-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-348 Bytes
(89%)
...ots/radio-label-fixed-justify-start-ionic-md-rtl-light-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-137 Bytes
(94%)
...hots/radio-label-fixed-justify-start-ionic-md-rtl-light-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-134 Bytes
(94%)
....ts-snapshots/radio-label-long-label-ionic-md-ltr-light-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.2 KB
(79%)
...ts-snapshots/radio-label-long-label-ionic-md-ltr-light-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-123 Bytes
(95%)
....ts-snapshots/radio-label-long-label-ionic-md-ltr-light-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-120 Bytes
(95%)
....ts-snapshots/radio-label-long-label-ionic-md-rtl-light-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-839 Bytes
(85%)
...ts-snapshots/radio-label-long-label-ionic-md-rtl-light-Mobile-Firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-78 Bytes
(97%)
....ts-snapshots/radio-label-long-label-ionic-md-rtl-light-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-134 Bytes
(94%)
...label-start-justify-start-long-label-ionic-md-ltr-light-Mobile-Chrome-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.2 KB
(79%)
...abel-start-justify-start-long-label-ionic-md-ltr-light-Mobile-Firefox-linux.png
Oops, something went wrong.
Binary file modified
BIN
-123 Bytes
(95%)
...label-start-justify-start-long-label-ionic-md-ltr-light-Mobile-Safari-linux.png
Oops, something went wrong.
Binary file modified
BIN
-120 Bytes
(95%)
...label-start-justify-start-long-label-ionic-md-rtl-light-Mobile-Chrome-linux.png
Oops, something went wrong.
Binary file modified
BIN
-839 Bytes
(85%)
...abel-start-justify-start-long-label-ionic-md-rtl-light-Mobile-Firefox-linux.png
Oops, something went wrong.
Binary file modified
BIN
-78 Bytes
(97%)
...label-start-justify-start-long-label-ionic-md-rtl-light-Mobile-Safari-linux.png
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
@use "../../themes/ionic/ionic.globals.scss" as globals; | ||
@use "./select-modal.common"; | ||
|
||
// Ionic Select Modal | ||
// -------------------------------------------------- | ||
|
||
// Item | ||
// ---------------------------------------------------------------- | ||
|
||
ion-item { | ||
--border-width: 0; | ||
} | ||
|
||
// Toolbar | ||
// ---------------------------------------------------------------- | ||
|
||
ion-toolbar { | ||
@include globals.typography(globals.$ion-heading-h6-medium); | ||
} | ||
|
||
// Radio | ||
// ---------------------------------------------------------------- | ||
|
||
ion-list ion-radio::part(container) { | ||
display: none; | ||
} | ||
|
||
ion-list ion-radio::part(label) { | ||
@include globals.margin(0); | ||
} | ||
|
||
// Radio and Checkbox: Label | ||
// ---------------------------------------------------------------- | ||
|
||
ion-list ion-radio::part(label), | ||
ion-list ion-checkbox::part(label) { | ||
@include globals.typography(globals.$ion-body-lg-medium); | ||
} | ||
|
||
// Radio and Checkbox: Checked | ||
// ---------------------------------------------------------------- | ||
|
||
.item-radio-checked, | ||
.item-checkbox-checked { | ||
--background: #{globals.$ion-semantics-primary-100}; | ||
--border-radius: #{globals.$ion-border-radius-400}; | ||
} | ||
|
||
// Content | ||
// ---------------------------------------------------------------- | ||
|
||
ion-content { | ||
/** | ||
* The important is needed to override the padding set | ||
* for modal sheet by the `core.ionic.scss` file. | ||
* The modal sheet within the select does not match the | ||
* padding of the modal sheet in the core. | ||
*/ | ||
/* stylelint-disable-next-line declaration-no-important */ | ||
--padding-start: #{globals.$ion-space-400} !important; | ||
/* stylelint-disable-next-line declaration-no-important */ | ||
--padding-end: #{globals.$ion-space-400} !important; | ||
/* stylelint-disable-next-line declaration-no-important */ | ||
--padding-bottom: #{globals.$ion-space-1200} !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
@import "./select-modal"; | ||
@import "./select-modal.common"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+8.21 KB
...l.e2e.ts-snapshots/select-modal-diff-ionic-md-ltr-light-Mobile-Chrome-linux.png
Oops, something went wrong.
Binary file added
BIN
+13.8 KB
....e2e.ts-snapshots/select-modal-diff-ionic-md-ltr-light-Mobile-Firefox-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.16 KB
...l.e2e.ts-snapshots/select-modal-diff-ionic-md-ltr-light-Mobile-Safari-linux.png
Oops, something went wrong.
Binary file added
BIN
+8.86 KB
...snapshots/select-modal-multiple-diff-ionic-md-ltr-light-Mobile-Chrome-linux.png
Oops, something went wrong.
Binary file added
BIN
+14.5 KB
...napshots/select-modal-multiple-diff-ionic-md-ltr-light-Mobile-Firefox-linux.png
Oops, something went wrong.
Binary file added
BIN
+7.91 KB
...snapshots/select-modal-multiple-diff-ionic-md-ltr-light-Mobile-Safari-linux.png
Oops, something went wrong.