@ionic/react 7.7.2-dev.11707932366.16baf005 → 7.7.2-dev.11707941206.120570b8

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 (48) hide show
  1. package/css/core.css +27 -90
  2. package/css/core.css.map +1 -1
  3. package/css/display.css.map +1 -1
  4. package/css/float-elements.css.map +1 -1
  5. package/css/global.bundle.css +1 -1
  6. package/css/global.bundle.css.map +1 -1
  7. package/css/ionic-swiper.css.map +1 -1
  8. package/css/ionic.bundle.css +1 -1
  9. package/css/ionic.bundle.css.map +1 -1
  10. package/css/padding.css.map +1 -1
  11. package/css/structure.css.map +1 -1
  12. package/css/text-alignment.css.map +1 -1
  13. package/css/text-transformation.css.map +1 -1
  14. package/css/typography.css +1 -1
  15. package/css/typography.css.map +1 -1
  16. package/css/utils.bundle.css.map +1 -1
  17. package/dist/index.js +86 -93
  18. package/dist/index.js.map +1 -1
  19. package/dist/types/components/IonPicker.d.ts +3 -0
  20. package/dist/types/components/index.d.ts +1 -1
  21. package/dist/types/components/proxies.d.ts +0 -3
  22. package/dist/types/hooks/useIonPicker.d.ts +0 -1
  23. package/package.json +2 -2
  24. package/css/themes/dark.always.css +0 -160
  25. package/css/themes/dark.always.css.map +0 -1
  26. package/css/themes/dark.class.css +0 -160
  27. package/css/themes/dark.class.css.map +0 -1
  28. package/css/themes/dark.css +0 -3
  29. package/css/themes/dark.css.map +0 -1
  30. package/css/themes/dark.system.css +0 -162
  31. package/css/themes/dark.system.css.map +0 -1
  32. package/css/themes/high-contrast-dark.always.css +0 -180
  33. package/css/themes/high-contrast-dark.always.css.map +0 -1
  34. package/css/themes/high-contrast-dark.class.css +0 -180
  35. package/css/themes/high-contrast-dark.class.css.map +0 -1
  36. package/css/themes/high-contrast-dark.css +0 -3
  37. package/css/themes/high-contrast-dark.css.map +0 -1
  38. package/css/themes/high-contrast-dark.system.css +0 -182
  39. package/css/themes/high-contrast-dark.system.css.map +0 -1
  40. package/css/themes/high-contrast.always.css +0 -101
  41. package/css/themes/high-contrast.always.css.map +0 -1
  42. package/css/themes/high-contrast.class.css +0 -101
  43. package/css/themes/high-contrast.class.css.map +0 -1
  44. package/css/themes/high-contrast.css +0 -3
  45. package/css/themes/high-contrast.css.map +0 -1
  46. package/css/themes/high-contrast.system.css +0 -103
  47. package/css/themes/high-contrast.system.css.map +0 -1
  48. package/dist/types/components/IonPickerLegacy.d.ts +0 -3
@@ -1,101 +0,0 @@
1
- :root {
2
- --ion-color-primary: #003fae;
3
- --ion-color-primary-rgb: 0, 63, 174;
4
- --ion-color-primary-contrast: #fff;
5
- --ion-color-primary-contrast-rgb: 255, 255, 255;
6
- --ion-color-primary-shade: #003799;
7
- --ion-color-primary-tint: #1a52b6;
8
- --ion-color-secondary: #01487b;
9
- --ion-color-secondary-rgb: 1, 72, 123;
10
- --ion-color-secondary-contrast: #fff;
11
- --ion-color-secondary-contrast-rgb: 255, 255, 255;
12
- --ion-color-secondary-shade: #013f6c;
13
- --ion-color-secondary-tint: #1a5a88;
14
- --ion-color-tertiary: #3400e6;
15
- --ion-color-tertiary-rgb: 52, 0, 230;
16
- --ion-color-tertiary-contrast: #fff;
17
- --ion-color-tertiary-contrast-rgb: 255, 255, 255;
18
- --ion-color-tertiary-shade: #2e00ca;
19
- --ion-color-tertiary-tint: #481ae9;
20
- --ion-color-success: #004314;
21
- --ion-color-success-rgb: 0, 67, 20;
22
- --ion-color-success-contrast: #fff;
23
- --ion-color-success-contrast-rgb: 255, 255, 255;
24
- --ion-color-success-shade: #003b12;
25
- --ion-color-success-tint: #1a562c;
26
- --ion-color-warning: #5f4100;
27
- --ion-color-warning-rgb: 95, 65, 0;
28
- --ion-color-warning-contrast: #fff;
29
- --ion-color-warning-contrast-rgb: 255, 255, 255;
30
- --ion-color-warning-shade: #543900;
31
- --ion-color-warning-tint: #6f541a;
32
- --ion-color-danger: #9c000c;
33
- --ion-color-danger-rgb: 156, 0, 12;
34
- --ion-color-danger-contrast: #fff;
35
- --ion-color-danger-contrast-rgb: 255, 255, 255;
36
- --ion-color-danger-shade: #89000b;
37
- --ion-color-danger-tint: #a61a24;
38
- --ion-color-light: #f4f5f8;
39
- --ion-color-light-rgb: 244, 245, 248;
40
- --ion-color-light-contrast: #000;
41
- --ion-color-light-contrast-rgb: 0, 0, 0;
42
- --ion-color-light-shade: #d7d8da;
43
- --ion-color-light-tint: #f5f6f9;
44
- --ion-color-medium: #444446;
45
- --ion-color-medium-rgb: 68, 68, 70;
46
- --ion-color-medium-contrast: #fff;
47
- --ion-color-medium-contrast-rgb: 255, 255, 255;
48
- --ion-color-medium-shade: #3c3c3e;
49
- --ion-color-medium-tint: #575759;
50
- --ion-color-dark: #222428;
51
- --ion-color-dark-rgb: 34, 36, 40;
52
- --ion-color-dark-contrast: #fff;
53
- --ion-color-dark-contrast-rgb: 255, 255, 255;
54
- --ion-color-dark-shade: #1e2023;
55
- --ion-color-dark-tint: #383a3e;
56
- --ion-background-color: #ffffff;
57
- --ion-background-color-rgb: 255, 255, 255;
58
- --ion-text-color: #000000;
59
- --ion-text-color-rgb: 0, 0, 0;
60
- --ion-placeholder-opacity: 0.8;
61
- --ion-item-border-color: #7a7a7a;
62
- --ion-text-color-step-50: #070707;
63
- --ion-text-color-step-100: #0e0e0e;
64
- --ion-text-color-step-150: #141414;
65
- --ion-text-color-step-200: #1b1b1b;
66
- --ion-text-color-step-250: #222222;
67
- --ion-text-color-step-300: #292929;
68
- --ion-text-color-step-350: #303030;
69
- --ion-text-color-step-400: #363636;
70
- --ion-text-color-step-450: #3d3d3d;
71
- --ion-text-color-step-500: #444444;
72
- --ion-text-color-step-550: #4b4b4b;
73
- --ion-text-color-step-600: #525252;
74
- --ion-text-color-step-650: #585858;
75
- --ion-text-color-step-700: #5f5f5f;
76
- --ion-text-color-step-750: #666666;
77
- --ion-text-color-step-800: #6d6d6d;
78
- --ion-text-color-step-850: #747474;
79
- --ion-text-color-step-900: #7a7a7a;
80
- --ion-text-color-step-950: #818181;
81
- }
82
-
83
- :root.md {
84
- /* stylelint-disable-next-line order/order */
85
- }
86
- :root.md ion-toast {
87
- --color: var(--ion-background-color);
88
- }
89
- :root.md ion-toast::part(button) {
90
- color: var(--color);
91
- }
92
- @supports (color: color-mix(in lch, plum, pink)) {
93
- :root.md ion-toast::part(button) {
94
- color: color-mix(in srgb, var(--color) 70%, var(--button-color));
95
- }
96
- }
97
- :root.md ion-toast::part(button cancel) {
98
- color: var(--color);
99
- }
100
-
101
- /*# sourceMappingURL=high-contrast.always.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["../../src/css/themes/high-contrast.scss","../../src/css/themes/high-contrast.always.scss"],"names":[],"mappings":"AA4FE;EAEI;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EAGF;EACA;EAEA;EACA;EAEA;EAIA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AC9HJ;AD+IE;;AATA;EACE;;AAGF;EAEE;;AAIF;EACE;IACE;;;AAIJ;EACE","file":"high-contrast.always.css","sourcesContent":["@use \"sass:map\";\n@import \"../../themes/ionic.functions.color\";\n\n$primary: #003fae !default;\n$secondary: #01487b !default;\n$tertiary: #3400e6 !default;\n$success: #004314 !default;\n$warning: #5f4100 !default;\n$danger: #9c000c !default;\n$light: #f4f5f8 !default;\n$medium: #444446 !default;\n$dark: #222428 !default;\n\n$colors: (\n primary: (\n base: $primary,\n contrast: #fff,\n shade: get-color-shade($primary),\n tint: get-color-tint($primary)\n ),\n secondary: (\n base: $secondary,\n contrast: #fff,\n shade: get-color-shade($secondary),\n tint: get-color-tint($secondary)\n ),\n tertiary: (\n base: $tertiary,\n contrast: #fff,\n shade: get-color-shade($tertiary),\n tint: get-color-tint($tertiary)\n ),\n success: (\n base: $success,\n contrast: #fff,\n shade: get-color-shade($success),\n tint: get-color-tint($success)\n ),\n warning: (\n base: $warning,\n contrast: #fff,\n shade: get-color-shade($warning),\n tint: get-color-tint($warning)\n ),\n danger: (\n base: $danger,\n contrast: #fff,\n shade: get-color-shade($danger),\n tint: get-color-tint($danger)\n ),\n light: (\n base: $light,\n contrast: #000,\n shade: get-color-shade($light),\n tint: get-color-tint($light)\n ),\n medium: (\n base: $medium,\n contrast: #fff,\n shade: get-color-shade($medium),\n tint: get-color-tint($medium)\n ),\n dark: (\n base: $dark,\n contrast: #fff,\n shade: get-color-shade($dark),\n tint: get-color-tint($dark)\n )\n) !default;\n\n/// Text step colors are generated based on\n/// how dark or light text can be. The darkest\n/// text color is usually the default text color (white or black).\n/// The darker the $lightest-text-color is, the darker each\n/// stepped color is. If you want to increase text contrast,\n/// make $lightest-text-color darker.\n$background-color: #ffffff;\n$text-color: #000000;\n\n$darkest-text-color: $text-color;\n$lightest-text-color: #888888;\n\n/// Loop through each color object above\n/// and generate CSS Variables for each\n/// color. Do not use the ion-color function\n/// here because that will set the variable\n/// to evaluate to itself with a fallback.\n/// For example:\n/// --ion-color-primary: #{ion-color(primary, base)};\n/// Maps to:\n/// --ion-color-primary: var(--ion-color-primary, #...);\n@mixin high-contrast-light-base-theme() {\n & {\n @each $color-name, $value in $colors {\n --ion-color-#{$color-name}: #{map.get($value, base)};\n --ion-color-#{$color-name}-rgb: #{color-to-rgb-list(map.get($value, base))};\n --ion-color-#{$color-name}-contrast: #{map.get($value, contrast)};\n --ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};\n --ion-color-#{$color-name}-shade: #{map.get($value, shade)};\n --ion-color-#{$color-name}-tint: #{map.get($value, tint)};\n }\n\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n\n --ion-placeholder-opacity: 0.8;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: #7a7a7a;\n\n --ion-text-color-step-50: #{mix($lightest-text-color, $darkest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($lightest-text-color, $darkest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($lightest-text-color, $darkest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($lightest-text-color, $darkest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($lightest-text-color, $darkest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($lightest-text-color, $darkest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($lightest-text-color, $darkest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($lightest-text-color, $darkest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($lightest-text-color, $darkest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($lightest-text-color, $darkest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($lightest-text-color, $darkest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($lightest-text-color, $darkest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($lightest-text-color, $darkest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($lightest-text-color, $darkest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($lightest-text-color, $darkest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($lightest-text-color, $darkest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($lightest-text-color, $darkest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($lightest-text-color, $darkest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($lightest-text-color, $darkest-text-color, 95%)};\n }\n}\n\n@mixin high-contrast-light-md-theme() {\n // Toast\n // --------------------------------------------------\n\n & ion-toast {\n --color: var(--ion-background-color);\n }\n\n & ion-toast::part(button) {\n // Fallback for browsers that don't support color-mix\n color: var(--color);\n }\n\n /* stylelint-disable-next-line order/order */\n @supports (color: color-mix(in lch, plum, pink)) {\n & ion-toast::part(button) {\n color: color-mix(in srgb, var(--color) 70%, var(--button-color));\n }\n }\n\n & ion-toast::part(button cancel) {\n color: var(--color);\n }\n}\n","@import \"./high-contrast\";\n\n:root {\n @include high-contrast-light-base-theme();\n}\n\n:root.md {\n @include high-contrast-light-md-theme();\n}\n"]}
@@ -1,101 +0,0 @@
1
- .ion-theme-high-contrast {
2
- --ion-color-primary: #003fae;
3
- --ion-color-primary-rgb: 0, 63, 174;
4
- --ion-color-primary-contrast: #fff;
5
- --ion-color-primary-contrast-rgb: 255, 255, 255;
6
- --ion-color-primary-shade: #003799;
7
- --ion-color-primary-tint: #1a52b6;
8
- --ion-color-secondary: #01487b;
9
- --ion-color-secondary-rgb: 1, 72, 123;
10
- --ion-color-secondary-contrast: #fff;
11
- --ion-color-secondary-contrast-rgb: 255, 255, 255;
12
- --ion-color-secondary-shade: #013f6c;
13
- --ion-color-secondary-tint: #1a5a88;
14
- --ion-color-tertiary: #3400e6;
15
- --ion-color-tertiary-rgb: 52, 0, 230;
16
- --ion-color-tertiary-contrast: #fff;
17
- --ion-color-tertiary-contrast-rgb: 255, 255, 255;
18
- --ion-color-tertiary-shade: #2e00ca;
19
- --ion-color-tertiary-tint: #481ae9;
20
- --ion-color-success: #004314;
21
- --ion-color-success-rgb: 0, 67, 20;
22
- --ion-color-success-contrast: #fff;
23
- --ion-color-success-contrast-rgb: 255, 255, 255;
24
- --ion-color-success-shade: #003b12;
25
- --ion-color-success-tint: #1a562c;
26
- --ion-color-warning: #5f4100;
27
- --ion-color-warning-rgb: 95, 65, 0;
28
- --ion-color-warning-contrast: #fff;
29
- --ion-color-warning-contrast-rgb: 255, 255, 255;
30
- --ion-color-warning-shade: #543900;
31
- --ion-color-warning-tint: #6f541a;
32
- --ion-color-danger: #9c000c;
33
- --ion-color-danger-rgb: 156, 0, 12;
34
- --ion-color-danger-contrast: #fff;
35
- --ion-color-danger-contrast-rgb: 255, 255, 255;
36
- --ion-color-danger-shade: #89000b;
37
- --ion-color-danger-tint: #a61a24;
38
- --ion-color-light: #f4f5f8;
39
- --ion-color-light-rgb: 244, 245, 248;
40
- --ion-color-light-contrast: #000;
41
- --ion-color-light-contrast-rgb: 0, 0, 0;
42
- --ion-color-light-shade: #d7d8da;
43
- --ion-color-light-tint: #f5f6f9;
44
- --ion-color-medium: #444446;
45
- --ion-color-medium-rgb: 68, 68, 70;
46
- --ion-color-medium-contrast: #fff;
47
- --ion-color-medium-contrast-rgb: 255, 255, 255;
48
- --ion-color-medium-shade: #3c3c3e;
49
- --ion-color-medium-tint: #575759;
50
- --ion-color-dark: #222428;
51
- --ion-color-dark-rgb: 34, 36, 40;
52
- --ion-color-dark-contrast: #fff;
53
- --ion-color-dark-contrast-rgb: 255, 255, 255;
54
- --ion-color-dark-shade: #1e2023;
55
- --ion-color-dark-tint: #383a3e;
56
- --ion-background-color: #ffffff;
57
- --ion-background-color-rgb: 255, 255, 255;
58
- --ion-text-color: #000000;
59
- --ion-text-color-rgb: 0, 0, 0;
60
- --ion-placeholder-opacity: 0.8;
61
- --ion-item-border-color: #7a7a7a;
62
- --ion-text-color-step-50: #070707;
63
- --ion-text-color-step-100: #0e0e0e;
64
- --ion-text-color-step-150: #141414;
65
- --ion-text-color-step-200: #1b1b1b;
66
- --ion-text-color-step-250: #222222;
67
- --ion-text-color-step-300: #292929;
68
- --ion-text-color-step-350: #303030;
69
- --ion-text-color-step-400: #363636;
70
- --ion-text-color-step-450: #3d3d3d;
71
- --ion-text-color-step-500: #444444;
72
- --ion-text-color-step-550: #4b4b4b;
73
- --ion-text-color-step-600: #525252;
74
- --ion-text-color-step-650: #585858;
75
- --ion-text-color-step-700: #5f5f5f;
76
- --ion-text-color-step-750: #666666;
77
- --ion-text-color-step-800: #6d6d6d;
78
- --ion-text-color-step-850: #747474;
79
- --ion-text-color-step-900: #7a7a7a;
80
- --ion-text-color-step-950: #818181;
81
- }
82
-
83
- .ion-theme-high-contrast.md {
84
- /* stylelint-disable-next-line order/order */
85
- }
86
- .ion-theme-high-contrast.md ion-toast {
87
- --color: var(--ion-background-color);
88
- }
89
- .ion-theme-high-contrast.md ion-toast::part(button) {
90
- color: var(--color);
91
- }
92
- @supports (color: color-mix(in lch, plum, pink)) {
93
- .ion-theme-high-contrast.md ion-toast::part(button) {
94
- color: color-mix(in srgb, var(--color) 70%, var(--button-color));
95
- }
96
- }
97
- .ion-theme-high-contrast.md ion-toast::part(button cancel) {
98
- color: var(--color);
99
- }
100
-
101
- /*# sourceMappingURL=high-contrast.class.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["../../src/css/themes/high-contrast.scss","../../src/css/themes/high-contrast.class.scss"],"names":[],"mappings":"AA4FE;EAEI;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EALA;EACA;EACA;EACA;EACA;EACA;EAGF;EACA;EAEA;EACA;EAEA;EAIA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AC9HJ;AD+IE;;AATA;EACE;;AAGF;EAEE;;AAIF;EACE;IACE;;;AAIJ;EACE","file":"high-contrast.class.css","sourcesContent":["@use \"sass:map\";\n@import \"../../themes/ionic.functions.color\";\n\n$primary: #003fae !default;\n$secondary: #01487b !default;\n$tertiary: #3400e6 !default;\n$success: #004314 !default;\n$warning: #5f4100 !default;\n$danger: #9c000c !default;\n$light: #f4f5f8 !default;\n$medium: #444446 !default;\n$dark: #222428 !default;\n\n$colors: (\n primary: (\n base: $primary,\n contrast: #fff,\n shade: get-color-shade($primary),\n tint: get-color-tint($primary)\n ),\n secondary: (\n base: $secondary,\n contrast: #fff,\n shade: get-color-shade($secondary),\n tint: get-color-tint($secondary)\n ),\n tertiary: (\n base: $tertiary,\n contrast: #fff,\n shade: get-color-shade($tertiary),\n tint: get-color-tint($tertiary)\n ),\n success: (\n base: $success,\n contrast: #fff,\n shade: get-color-shade($success),\n tint: get-color-tint($success)\n ),\n warning: (\n base: $warning,\n contrast: #fff,\n shade: get-color-shade($warning),\n tint: get-color-tint($warning)\n ),\n danger: (\n base: $danger,\n contrast: #fff,\n shade: get-color-shade($danger),\n tint: get-color-tint($danger)\n ),\n light: (\n base: $light,\n contrast: #000,\n shade: get-color-shade($light),\n tint: get-color-tint($light)\n ),\n medium: (\n base: $medium,\n contrast: #fff,\n shade: get-color-shade($medium),\n tint: get-color-tint($medium)\n ),\n dark: (\n base: $dark,\n contrast: #fff,\n shade: get-color-shade($dark),\n tint: get-color-tint($dark)\n )\n) !default;\n\n/// Text step colors are generated based on\n/// how dark or light text can be. The darkest\n/// text color is usually the default text color (white or black).\n/// The darker the $lightest-text-color is, the darker each\n/// stepped color is. If you want to increase text contrast,\n/// make $lightest-text-color darker.\n$background-color: #ffffff;\n$text-color: #000000;\n\n$darkest-text-color: $text-color;\n$lightest-text-color: #888888;\n\n/// Loop through each color object above\n/// and generate CSS Variables for each\n/// color. Do not use the ion-color function\n/// here because that will set the variable\n/// to evaluate to itself with a fallback.\n/// For example:\n/// --ion-color-primary: #{ion-color(primary, base)};\n/// Maps to:\n/// --ion-color-primary: var(--ion-color-primary, #...);\n@mixin high-contrast-light-base-theme() {\n & {\n @each $color-name, $value in $colors {\n --ion-color-#{$color-name}: #{map.get($value, base)};\n --ion-color-#{$color-name}-rgb: #{color-to-rgb-list(map.get($value, base))};\n --ion-color-#{$color-name}-contrast: #{map.get($value, contrast)};\n --ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};\n --ion-color-#{$color-name}-shade: #{map.get($value, shade)};\n --ion-color-#{$color-name}-tint: #{map.get($value, tint)};\n }\n\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n\n --ion-placeholder-opacity: 0.8;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: #7a7a7a;\n\n --ion-text-color-step-50: #{mix($lightest-text-color, $darkest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($lightest-text-color, $darkest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($lightest-text-color, $darkest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($lightest-text-color, $darkest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($lightest-text-color, $darkest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($lightest-text-color, $darkest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($lightest-text-color, $darkest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($lightest-text-color, $darkest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($lightest-text-color, $darkest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($lightest-text-color, $darkest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($lightest-text-color, $darkest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($lightest-text-color, $darkest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($lightest-text-color, $darkest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($lightest-text-color, $darkest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($lightest-text-color, $darkest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($lightest-text-color, $darkest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($lightest-text-color, $darkest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($lightest-text-color, $darkest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($lightest-text-color, $darkest-text-color, 95%)};\n }\n}\n\n@mixin high-contrast-light-md-theme() {\n // Toast\n // --------------------------------------------------\n\n & ion-toast {\n --color: var(--ion-background-color);\n }\n\n & ion-toast::part(button) {\n // Fallback for browsers that don't support color-mix\n color: var(--color);\n }\n\n /* stylelint-disable-next-line order/order */\n @supports (color: color-mix(in lch, plum, pink)) {\n & ion-toast::part(button) {\n color: color-mix(in srgb, var(--color) 70%, var(--button-color));\n }\n }\n\n & ion-toast::part(button cancel) {\n color: var(--color);\n }\n}\n","@import \"./high-contrast\";\n\n.ion-theme-high-contrast {\n @include high-contrast-light-base-theme();\n}\n\n.ion-theme-high-contrast.md {\n @include high-contrast-light-md-theme();\n}\n"]}
@@ -1,3 +0,0 @@
1
-
2
-
3
- /*# sourceMappingURL=high-contrast.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":[],"names":[],"mappings":"","file":"high-contrast.css","sourcesContent":[]}
@@ -1,103 +0,0 @@
1
- @media (prefers-contrast: more) {
2
- :root {
3
- --ion-color-primary: #003fae;
4
- --ion-color-primary-rgb: 0, 63, 174;
5
- --ion-color-primary-contrast: #fff;
6
- --ion-color-primary-contrast-rgb: 255, 255, 255;
7
- --ion-color-primary-shade: #003799;
8
- --ion-color-primary-tint: #1a52b6;
9
- --ion-color-secondary: #01487b;
10
- --ion-color-secondary-rgb: 1, 72, 123;
11
- --ion-color-secondary-contrast: #fff;
12
- --ion-color-secondary-contrast-rgb: 255, 255, 255;
13
- --ion-color-secondary-shade: #013f6c;
14
- --ion-color-secondary-tint: #1a5a88;
15
- --ion-color-tertiary: #3400e6;
16
- --ion-color-tertiary-rgb: 52, 0, 230;
17
- --ion-color-tertiary-contrast: #fff;
18
- --ion-color-tertiary-contrast-rgb: 255, 255, 255;
19
- --ion-color-tertiary-shade: #2e00ca;
20
- --ion-color-tertiary-tint: #481ae9;
21
- --ion-color-success: #004314;
22
- --ion-color-success-rgb: 0, 67, 20;
23
- --ion-color-success-contrast: #fff;
24
- --ion-color-success-contrast-rgb: 255, 255, 255;
25
- --ion-color-success-shade: #003b12;
26
- --ion-color-success-tint: #1a562c;
27
- --ion-color-warning: #5f4100;
28
- --ion-color-warning-rgb: 95, 65, 0;
29
- --ion-color-warning-contrast: #fff;
30
- --ion-color-warning-contrast-rgb: 255, 255, 255;
31
- --ion-color-warning-shade: #543900;
32
- --ion-color-warning-tint: #6f541a;
33
- --ion-color-danger: #9c000c;
34
- --ion-color-danger-rgb: 156, 0, 12;
35
- --ion-color-danger-contrast: #fff;
36
- --ion-color-danger-contrast-rgb: 255, 255, 255;
37
- --ion-color-danger-shade: #89000b;
38
- --ion-color-danger-tint: #a61a24;
39
- --ion-color-light: #f4f5f8;
40
- --ion-color-light-rgb: 244, 245, 248;
41
- --ion-color-light-contrast: #000;
42
- --ion-color-light-contrast-rgb: 0, 0, 0;
43
- --ion-color-light-shade: #d7d8da;
44
- --ion-color-light-tint: #f5f6f9;
45
- --ion-color-medium: #444446;
46
- --ion-color-medium-rgb: 68, 68, 70;
47
- --ion-color-medium-contrast: #fff;
48
- --ion-color-medium-contrast-rgb: 255, 255, 255;
49
- --ion-color-medium-shade: #3c3c3e;
50
- --ion-color-medium-tint: #575759;
51
- --ion-color-dark: #222428;
52
- --ion-color-dark-rgb: 34, 36, 40;
53
- --ion-color-dark-contrast: #fff;
54
- --ion-color-dark-contrast-rgb: 255, 255, 255;
55
- --ion-color-dark-shade: #1e2023;
56
- --ion-color-dark-tint: #383a3e;
57
- --ion-background-color: #ffffff;
58
- --ion-background-color-rgb: 255, 255, 255;
59
- --ion-text-color: #000000;
60
- --ion-text-color-rgb: 0, 0, 0;
61
- --ion-placeholder-opacity: 0.8;
62
- --ion-item-border-color: #7a7a7a;
63
- --ion-text-color-step-50: #070707;
64
- --ion-text-color-step-100: #0e0e0e;
65
- --ion-text-color-step-150: #141414;
66
- --ion-text-color-step-200: #1b1b1b;
67
- --ion-text-color-step-250: #222222;
68
- --ion-text-color-step-300: #292929;
69
- --ion-text-color-step-350: #303030;
70
- --ion-text-color-step-400: #363636;
71
- --ion-text-color-step-450: #3d3d3d;
72
- --ion-text-color-step-500: #444444;
73
- --ion-text-color-step-550: #4b4b4b;
74
- --ion-text-color-step-600: #525252;
75
- --ion-text-color-step-650: #585858;
76
- --ion-text-color-step-700: #5f5f5f;
77
- --ion-text-color-step-750: #666666;
78
- --ion-text-color-step-800: #6d6d6d;
79
- --ion-text-color-step-850: #747474;
80
- --ion-text-color-step-900: #7a7a7a;
81
- --ion-text-color-step-950: #818181;
82
- }
83
-
84
- :root.md {
85
- /* stylelint-disable-next-line order/order */
86
- }
87
- :root.md ion-toast {
88
- --color: var(--ion-background-color);
89
- }
90
- :root.md ion-toast::part(button) {
91
- color: var(--color);
92
- }
93
- @supports (color: color-mix(in lch, plum, pink)) {
94
- :root.md ion-toast::part(button) {
95
- color: color-mix(in srgb, var(--color) 70%, var(--button-color));
96
- }
97
- }
98
- :root.md ion-toast::part(button cancel) {
99
- color: var(--color);
100
- }
101
- }
102
-
103
- /*# sourceMappingURL=high-contrast.system.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sourceRoot":"","sources":["../../src/css/themes/high-contrast.system.scss","../../src/css/themes/high-contrast.scss"],"names":[],"mappings":"AAEA;EC0FE;IAEI;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IALA;IACA;IACA;IACA;IACA;IACA;IAGF;IACA;IAEA;IACA;IAEA;IAIA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;;ED7HF;AC8IA;;EATA;IACE;;EAGF;IAEE;;EAIF;IACE;MACE;;;EAIJ;IACE","file":"high-contrast.system.css","sourcesContent":["@import \"./high-contrast\";\n\n@media (prefers-contrast: more) {\n :root {\n @include high-contrast-light-base-theme();\n }\n\n :root.md {\n @include high-contrast-light-md-theme();\n }\n}\n","@use \"sass:map\";\n@import \"../../themes/ionic.functions.color\";\n\n$primary: #003fae !default;\n$secondary: #01487b !default;\n$tertiary: #3400e6 !default;\n$success: #004314 !default;\n$warning: #5f4100 !default;\n$danger: #9c000c !default;\n$light: #f4f5f8 !default;\n$medium: #444446 !default;\n$dark: #222428 !default;\n\n$colors: (\n primary: (\n base: $primary,\n contrast: #fff,\n shade: get-color-shade($primary),\n tint: get-color-tint($primary)\n ),\n secondary: (\n base: $secondary,\n contrast: #fff,\n shade: get-color-shade($secondary),\n tint: get-color-tint($secondary)\n ),\n tertiary: (\n base: $tertiary,\n contrast: #fff,\n shade: get-color-shade($tertiary),\n tint: get-color-tint($tertiary)\n ),\n success: (\n base: $success,\n contrast: #fff,\n shade: get-color-shade($success),\n tint: get-color-tint($success)\n ),\n warning: (\n base: $warning,\n contrast: #fff,\n shade: get-color-shade($warning),\n tint: get-color-tint($warning)\n ),\n danger: (\n base: $danger,\n contrast: #fff,\n shade: get-color-shade($danger),\n tint: get-color-tint($danger)\n ),\n light: (\n base: $light,\n contrast: #000,\n shade: get-color-shade($light),\n tint: get-color-tint($light)\n ),\n medium: (\n base: $medium,\n contrast: #fff,\n shade: get-color-shade($medium),\n tint: get-color-tint($medium)\n ),\n dark: (\n base: $dark,\n contrast: #fff,\n shade: get-color-shade($dark),\n tint: get-color-tint($dark)\n )\n) !default;\n\n/// Text step colors are generated based on\n/// how dark or light text can be. The darkest\n/// text color is usually the default text color (white or black).\n/// The darker the $lightest-text-color is, the darker each\n/// stepped color is. If you want to increase text contrast,\n/// make $lightest-text-color darker.\n$background-color: #ffffff;\n$text-color: #000000;\n\n$darkest-text-color: $text-color;\n$lightest-text-color: #888888;\n\n/// Loop through each color object above\n/// and generate CSS Variables for each\n/// color. Do not use the ion-color function\n/// here because that will set the variable\n/// to evaluate to itself with a fallback.\n/// For example:\n/// --ion-color-primary: #{ion-color(primary, base)};\n/// Maps to:\n/// --ion-color-primary: var(--ion-color-primary, #...);\n@mixin high-contrast-light-base-theme() {\n & {\n @each $color-name, $value in $colors {\n --ion-color-#{$color-name}: #{map.get($value, base)};\n --ion-color-#{$color-name}-rgb: #{color-to-rgb-list(map.get($value, base))};\n --ion-color-#{$color-name}-contrast: #{map.get($value, contrast)};\n --ion-color-#{$color-name}-contrast-rgb: #{color-to-rgb-list(map.get($value, contrast))};\n --ion-color-#{$color-name}-shade: #{map.get($value, shade)};\n --ion-color-#{$color-name}-tint: #{map.get($value, tint)};\n }\n\n --ion-background-color: #{$background-color};\n --ion-background-color-rgb: #{color-to-rgb-list($background-color)};\n\n --ion-text-color: #{$text-color};\n --ion-text-color-rgb: #{color-to-rgb-list($text-color)};\n\n --ion-placeholder-opacity: 0.8;\n\n /// Only the item borders should increase in contrast\n /// Borders for elements like toolbars should remain the same\n --ion-item-border-color: #7a7a7a;\n\n --ion-text-color-step-50: #{mix($lightest-text-color, $darkest-text-color, 5%)};\n --ion-text-color-step-100: #{mix($lightest-text-color, $darkest-text-color, 10%)};\n --ion-text-color-step-150: #{mix($lightest-text-color, $darkest-text-color, 15%)};\n --ion-text-color-step-200: #{mix($lightest-text-color, $darkest-text-color, 20%)};\n --ion-text-color-step-250: #{mix($lightest-text-color, $darkest-text-color, 25%)};\n --ion-text-color-step-300: #{mix($lightest-text-color, $darkest-text-color, 30%)};\n --ion-text-color-step-350: #{mix($lightest-text-color, $darkest-text-color, 35%)};\n --ion-text-color-step-400: #{mix($lightest-text-color, $darkest-text-color, 40%)};\n --ion-text-color-step-450: #{mix($lightest-text-color, $darkest-text-color, 45%)};\n --ion-text-color-step-500: #{mix($lightest-text-color, $darkest-text-color, 50%)};\n --ion-text-color-step-550: #{mix($lightest-text-color, $darkest-text-color, 55%)};\n --ion-text-color-step-600: #{mix($lightest-text-color, $darkest-text-color, 60%)};\n --ion-text-color-step-650: #{mix($lightest-text-color, $darkest-text-color, 65%)};\n --ion-text-color-step-700: #{mix($lightest-text-color, $darkest-text-color, 70%)};\n --ion-text-color-step-750: #{mix($lightest-text-color, $darkest-text-color, 75%)};\n --ion-text-color-step-800: #{mix($lightest-text-color, $darkest-text-color, 80%)};\n --ion-text-color-step-850: #{mix($lightest-text-color, $darkest-text-color, 85%)};\n --ion-text-color-step-900: #{mix($lightest-text-color, $darkest-text-color, 90%)};\n --ion-text-color-step-950: #{mix($lightest-text-color, $darkest-text-color, 95%)};\n }\n}\n\n@mixin high-contrast-light-md-theme() {\n // Toast\n // --------------------------------------------------\n\n & ion-toast {\n --color: var(--ion-background-color);\n }\n\n & ion-toast::part(button) {\n // Fallback for browsers that don't support color-mix\n color: var(--color);\n }\n\n /* stylelint-disable-next-line order/order */\n @supports (color: color-mix(in lch, plum, pink)) {\n & ion-toast::part(button) {\n color: color-mix(in srgb, var(--color) 70%, var(--button-color));\n }\n }\n\n & ion-toast::part(button cancel) {\n color: var(--color);\n }\n}\n"]}
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import type { JSX } from '@ionic/core/components';
3
- export declare const IonPickerLegacy: import("react").ForwardRefExoticComponent<JSX.IonPickerLegacy & Omit<import("react").HTMLAttributes<HTMLIonPickerLegacyElement>, "style" | "placeholder"> & import("./IonicReactProps").IonicReactProps & import("react").RefAttributes<HTMLIonPickerLegacyElement>>;