@ionic/core 8.2.3-dev.11718879673.1a3f486b → 8.2.3-dev.11719301373.17616928

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 (100) hide show
  1. package/components/buttons.js +6 -6
  2. package/components/ion-item-option.js +21 -5
  3. package/components/ion-item-options.js +3 -3
  4. package/components/ion-menu-button.js +6 -6
  5. package/components/ion-searchbar.js +8 -8
  6. package/components/ion-tab-bar.js +3 -3
  7. package/components/ion-tab-button.js +1 -1
  8. package/components/ion-title.js +6 -6
  9. package/components/ion-toolbar.js +11 -7
  10. package/components/list.js +22 -3
  11. package/dist/cjs/ion-app_8.cjs.entry.js +21 -18
  12. package/dist/cjs/ion-item-option_3.cjs.entry.js +22 -7
  13. package/dist/cjs/ion-item_8.cjs.entry.js +21 -3
  14. package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
  15. package/dist/cjs/ion-searchbar.cjs.entry.js +8 -8
  16. package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
  17. package/dist/cjs/ionic.cjs.js +1 -1
  18. package/dist/cjs/loader.cjs.js +1 -1
  19. package/dist/collection/components/buttons/buttons.ionic.css +101 -0
  20. package/dist/collection/components/buttons/buttons.ios.css +37 -3
  21. package/dist/collection/components/buttons/buttons.js +4 -4
  22. package/dist/collection/components/buttons/buttons.md.css +37 -3
  23. package/dist/collection/components/item-option/item-option.ionic.css +325 -0
  24. package/dist/collection/components/item-option/item-option.js +36 -4
  25. package/dist/collection/components/item-options/item-options.ionic.css +260 -0
  26. package/dist/collection/components/item-options/item-options.js +3 -3
  27. package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +1 -1
  28. package/dist/collection/components/item-sliding/test/shapes/item-sliding.e2e.js +28 -0
  29. package/dist/collection/components/list/list.ionic.css +174 -0
  30. package/dist/collection/components/list/list.js +38 -3
  31. package/dist/collection/components/list/list.md.css +2 -2
  32. package/dist/collection/components/list/test/shape/list.e2e.js +204 -0
  33. package/dist/collection/components/menu-button/menu-button.ionic.css +240 -0
  34. package/dist/collection/components/menu-button/menu-button.ios.css +32 -10
  35. package/dist/collection/components/menu-button/menu-button.js +4 -4
  36. package/dist/collection/components/menu-button/menu-button.md.css +32 -10
  37. package/dist/collection/components/searchbar/searchbar.ionic.css +269 -0
  38. package/dist/collection/components/searchbar/searchbar.ios.css +42 -16
  39. package/dist/collection/components/searchbar/searchbar.js +6 -6
  40. package/dist/collection/components/searchbar/searchbar.md.css +42 -16
  41. package/dist/collection/components/tab-bar/tab-bar.ionic.css +94 -57
  42. package/dist/collection/components/tab-bar/tab-bar.ios.css +46 -43
  43. package/dist/collection/components/tab-bar/tab-bar.md.css +46 -43
  44. package/dist/collection/components/tab-button/tab-button.ionic.css +2 -2
  45. package/dist/collection/components/title/test/theme-ionic/title.e2e.js +14 -0
  46. package/dist/collection/components/title/title.ionic.css +155 -0
  47. package/dist/collection/components/title/title.ios.css +26 -4
  48. package/dist/collection/components/title/title.js +4 -4
  49. package/dist/collection/components/title/title.md.css +26 -4
  50. package/dist/collection/components/toolbar/toolbar.ionic.css +233 -0
  51. package/dist/collection/components/toolbar/toolbar.ios.css +82 -51
  52. package/dist/collection/components/toolbar/toolbar.js +25 -4
  53. package/dist/collection/components/toolbar/toolbar.md.css +82 -51
  54. package/dist/docs.json +89 -1
  55. package/dist/esm/ion-app_8.entry.js +21 -18
  56. package/dist/esm/ion-item-option_3.entry.js +22 -7
  57. package/dist/esm/ion-item_8.entry.js +21 -3
  58. package/dist/esm/ion-menu_3.entry.js +6 -6
  59. package/dist/esm/ion-searchbar.entry.js +8 -8
  60. package/dist/esm/ion-tab-bar_2.entry.js +4 -4
  61. package/dist/esm/ionic.js +1 -1
  62. package/dist/esm/loader.js +1 -1
  63. package/dist/esm-es5/ion-app_8.entry.js +1 -1
  64. package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
  65. package/dist/esm-es5/ion-item_8.entry.js +1 -1
  66. package/dist/esm-es5/ion-menu_3.entry.js +1 -1
  67. package/dist/esm-es5/ion-searchbar.entry.js +1 -1
  68. package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
  69. package/dist/esm-es5/ionic.js +1 -1
  70. package/dist/esm-es5/loader.js +1 -1
  71. package/dist/html.html-data.json +34 -0
  72. package/dist/ionic/ionic.esm.js +1 -1
  73. package/dist/ionic/p-12a0de44.system.entry.js +4 -0
  74. package/dist/ionic/p-214631b2.system.entry.js +4 -0
  75. package/dist/ionic/p-224ad51a.entry.js +4 -0
  76. package/dist/ionic/{p-12c07c03.system.entry.js → p-663d8429.system.entry.js} +1 -1
  77. package/dist/ionic/p-7141dfca.entry.js +4 -0
  78. package/dist/ionic/p-7b590e46.system.js +1 -1
  79. package/dist/ionic/p-8052f3ad.entry.js +4 -0
  80. package/dist/ionic/p-82297db9.system.entry.js +4 -0
  81. package/dist/ionic/{p-89efe86f.entry.js → p-9a52a085.entry.js} +1 -1
  82. package/dist/ionic/p-b14d56c8.system.entry.js +4 -0
  83. package/dist/ionic/{p-59cd0dd7.system.entry.js → p-c2eece5e.system.entry.js} +1 -1
  84. package/dist/ionic/p-cd9a7c32.entry.js +4 -0
  85. package/dist/ionic/p-d718695f.entry.js +4 -0
  86. package/dist/types/components/item-option/item-option.d.ts +9 -0
  87. package/dist/types/components/list/list.d.ts +13 -0
  88. package/dist/types/components/toolbar/toolbar.d.ts +5 -0
  89. package/dist/types/components.d.ts +24 -0
  90. package/hydrate/index.js +88 -49
  91. package/package.json +1 -1
  92. package/dist/ionic/p-0116d120.entry.js +0 -4
  93. package/dist/ionic/p-24d2aea3.entry.js +0 -4
  94. package/dist/ionic/p-2fdc82b4.entry.js +0 -4
  95. package/dist/ionic/p-350462f9.system.entry.js +0 -4
  96. package/dist/ionic/p-37e801db.entry.js +0 -4
  97. package/dist/ionic/p-cdc9a11c.system.entry.js +0 -4
  98. package/dist/ionic/p-d5fc7d63.entry.js +0 -4
  99. package/dist/ionic/p-ea8c8541.system.entry.js +0 -4
  100. package/dist/ionic/p-fc0922fa.system.entry.js +0 -4
@@ -0,0 +1,155 @@
1
+ /**
2
+ * Convert a pixels given value into rem
3
+ *
4
+ * @param pixels - Value in pixels to be converted (i.e. px)
5
+ * @param context (optional) - Baseline value
6
+ */
7
+ /**
8
+ * This is an auto-generated file, please do not change it directly.
9
+ * Ionic Design System
10
+ */
11
+ /**
12
+ * A heuristic that applies CSS to tablet
13
+ * viewports.
14
+ *
15
+ * Usage:
16
+ * @include tablet-viewport() {
17
+ * :host {
18
+ * background-color: green;
19
+ * }
20
+ * }
21
+ */
22
+ /**
23
+ * A heuristic that applies CSS to mobile
24
+ * viewports (i.e. phones, not tablets).
25
+ *
26
+ * Usage:
27
+ * @include mobile-viewport() {
28
+ * :host {
29
+ * background-color: blue;
30
+ * }
31
+ * }
32
+ */
33
+ /**
34
+ * Convert a font size to a dynamic font size.
35
+ * Fonts that participate in Dynamic Type should use
36
+ * dynamic font sizes.
37
+ * @param size - The initial font size including the unit (i.e. px or pt)
38
+ * @param unit (optional) - The unit to convert to. Use this if you want to
39
+ * convert to a unit other than $baselineUnit.
40
+ */
41
+ /**
42
+ * Convert a font size to a dynamic font size but impose
43
+ * a maximum font size.
44
+ * @param size - The initial font size including the unit (i.e. px or pt)
45
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
46
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
47
+ * convert to a unit other than $baselineUnit.
48
+ */
49
+ /**
50
+ * Convert a font size to a dynamic font size but impose
51
+ * a minimum font size.
52
+ * @param size - The initial font size including the unit (i.e. px or pt)
53
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
54
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
55
+ * convert to a unit other than $baselineUnit.
56
+ */
57
+ /**
58
+ * Convert a font size to a dynamic font size but impose
59
+ * maximum and minimum font sizes.
60
+ * @param size - The initial font size including the unit (i.e. px or pt)
61
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
62
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
63
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
64
+ * convert to a unit other than $baselineUnit.
65
+ */
66
+ /**
67
+ * A heuristic that applies CSS to tablet
68
+ * viewports.
69
+ *
70
+ * Usage:
71
+ * @include tablet-viewport() {
72
+ * :host {
73
+ * background-color: green;
74
+ * }
75
+ * }
76
+ */
77
+ /**
78
+ * A heuristic that applies CSS to mobile
79
+ * viewports (i.e. phones, not tablets).
80
+ *
81
+ * Usage:
82
+ * @include mobile-viewport() {
83
+ * :host {
84
+ * background-color: blue;
85
+ * }
86
+ * }
87
+ */
88
+ :host {
89
+ /**
90
+ * @prop --color: Text color of the title
91
+ */
92
+ --color: initial;
93
+ display: flex;
94
+ flex: 1;
95
+ align-items: center;
96
+ transform: translateZ(0);
97
+ color: var(--color);
98
+ }
99
+
100
+ .toolbar-title {
101
+ display: block;
102
+ width: 100%;
103
+ text-overflow: ellipsis;
104
+ white-space: nowrap;
105
+ overflow: hidden;
106
+ pointer-events: auto;
107
+ }
108
+
109
+ :host(.title-small) .toolbar-title {
110
+ white-space: normal;
111
+ }
112
+
113
+ :host {
114
+ font-size: var(--ionic-font-size-450, 1.125rem);
115
+ font-weight: var(--ionic-font-weight-medium, 500);
116
+ letter-spacing: var(--ionic-letter-spacing-0, 0);
117
+ line-height: var(--ionic-line-height-700, 28px);
118
+ text-decoration: none;
119
+ text-transform: none;
120
+ padding-left: 0;
121
+ padding-right: 0;
122
+ padding-top: var(--padding-top);
123
+ padding-bottom: var(--padding-bottom);
124
+ box-sizing: border-box;
125
+ pointer-events: none;
126
+ }
127
+
128
+ :host-context(ion-toolbar) {
129
+ top: 0;
130
+ position: absolute;
131
+ width: 100%;
132
+ height: 100%;
133
+ transform: translateZ(0);
134
+ }
135
+ :host-context(ion-toolbar) {
136
+ inset-inline-start: 0;
137
+ }
138
+
139
+ :host(.title-small) {
140
+ font-size: var(--ionic-font-size-450, 1.125rem);
141
+ font-weight: var(--ionic-font-weight-medium, 500);
142
+ letter-spacing: var(--ionic-letter-spacing-0, 0);
143
+ line-height: var(--ionic-line-height-700, 28px);
144
+ text-decoration: none;
145
+ text-transform: none;
146
+ }
147
+
148
+ :host(.title-large) {
149
+ font-size: var(--ionic-font-size-700, 1.75rem);
150
+ font-weight: var(--ionic-font-weight-medium, 500);
151
+ letter-spacing: var(--ionic-letter-spacing-0, 0);
152
+ line-height: var(--ionic-line-height-900, 36px);
153
+ text-decoration: none;
154
+ text-transform: none;
155
+ }
@@ -59,6 +59,28 @@
59
59
  * }
60
60
  * }
61
61
  */
62
+ /**
63
+ * A heuristic that applies CSS to tablet
64
+ * viewports.
65
+ *
66
+ * Usage:
67
+ * @include tablet-viewport() {
68
+ * :host {
69
+ * background-color: green;
70
+ * }
71
+ * }
72
+ */
73
+ /**
74
+ * A heuristic that applies CSS to mobile
75
+ * viewports (i.e. phones, not tablets).
76
+ *
77
+ * Usage:
78
+ * @include mobile-viewport() {
79
+ * :host {
80
+ * background-color: blue;
81
+ * }
82
+ * }
83
+ */
62
84
  :host {
63
85
  /**
64
86
  * @prop --color: Text color of the title
@@ -71,10 +93,6 @@
71
93
  color: var(--color);
72
94
  }
73
95
 
74
- :host(.ion-color) {
75
- color: var(--ion-color-base);
76
- }
77
-
78
96
  .toolbar-title {
79
97
  display: block;
80
98
  width: 100%;
@@ -88,6 +106,10 @@
88
106
  white-space: normal;
89
107
  }
90
108
 
109
+ :host(.ion-color) {
110
+ color: var(--ion-color-base);
111
+ }
112
+
91
113
  :host {
92
114
  top: 0;
93
115
  -webkit-padding-start: 90px;
@@ -31,11 +31,11 @@ export class ToolbarTitle {
31
31
  render() {
32
32
  const theme = getIonTheme(this);
33
33
  const size = this.getSize();
34
- return (h(Host, { key: 'f13dcf92fa7a28d4e6edecac0babe53a1101262b', class: createColorClasses(this.color, {
34
+ return (h(Host, { key: '67f00e2664322d0a5df32e093c7e227fc6f16c98', class: createColorClasses(this.color, {
35
35
  [theme]: true,
36
36
  [`title-${size}`]: true,
37
37
  'title-rtl': document.dir === 'rtl',
38
- }) }, h("div", { key: '7cf953174b8b39eb2fd8276265aa33720aae4157', class: "toolbar-title" }, h("slot", { key: 'a32b77d4a2f0ded7d91805beeb8fb057e88a5bb4' }))));
38
+ }) }, h("div", { key: 'cfc8295c9c599a9a61ea794b30169fdd574708f1', class: "toolbar-title" }, h("slot", { key: '2065458af3ed39d230c935332e7ff9c9d2d20e78' }))));
39
39
  }
40
40
  static get is() { return "ion-title"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -43,14 +43,14 @@ export class ToolbarTitle {
43
43
  return {
44
44
  "ios": ["title.ios.scss"],
45
45
  "md": ["title.md.scss"],
46
- "ionic": ["title.md.scss"]
46
+ "ionic": ["title.ionic.scss"]
47
47
  };
48
48
  }
49
49
  static get styleUrls() {
50
50
  return {
51
51
  "ios": ["title.ios.css"],
52
52
  "md": ["title.md.css"],
53
- "ionic": ["title.md.css"]
53
+ "ionic": ["title.ionic.css"]
54
54
  };
55
55
  }
56
56
  static get properties() {
@@ -59,6 +59,28 @@
59
59
  * }
60
60
  * }
61
61
  */
62
+ /**
63
+ * A heuristic that applies CSS to tablet
64
+ * viewports.
65
+ *
66
+ * Usage:
67
+ * @include tablet-viewport() {
68
+ * :host {
69
+ * background-color: green;
70
+ * }
71
+ * }
72
+ */
73
+ /**
74
+ * A heuristic that applies CSS to mobile
75
+ * viewports (i.e. phones, not tablets).
76
+ *
77
+ * Usage:
78
+ * @include mobile-viewport() {
79
+ * :host {
80
+ * background-color: blue;
81
+ * }
82
+ * }
83
+ */
62
84
  :host {
63
85
  /**
64
86
  * @prop --color: Text color of the title
@@ -71,10 +93,6 @@
71
93
  color: var(--color);
72
94
  }
73
95
 
74
- :host(.ion-color) {
75
- color: var(--ion-color-base);
76
- }
77
-
78
96
  .toolbar-title {
79
97
  display: block;
80
98
  width: 100%;
@@ -88,6 +106,10 @@
88
106
  white-space: normal;
89
107
  }
90
108
 
109
+ :host(.ion-color) {
110
+ color: var(--ion-color-base);
111
+ }
112
+
91
113
  :host {
92
114
  -webkit-padding-start: 20px;
93
115
  padding-inline-start: 20px;
@@ -0,0 +1,233 @@
1
+ /**
2
+ * A heuristic that applies CSS to tablet
3
+ * viewports.
4
+ *
5
+ * Usage:
6
+ * @include tablet-viewport() {
7
+ * :host {
8
+ * background-color: green;
9
+ * }
10
+ * }
11
+ */
12
+ /**
13
+ * A heuristic that applies CSS to mobile
14
+ * viewports (i.e. phones, not tablets).
15
+ *
16
+ * Usage:
17
+ * @include mobile-viewport() {
18
+ * :host {
19
+ * background-color: blue;
20
+ * }
21
+ * }
22
+ */
23
+ :host {
24
+ /**
25
+ * @prop --background: Background of the toolbar
26
+ *
27
+ * @prop --border-color: Color of the toolbar border
28
+ * @prop --border-style: Style of the toolbar border
29
+ * @prop --border-width: Width of the toolbar border
30
+ *
31
+ * @prop --color: Color of the toolbar text
32
+ *
33
+ * @prop --min-height: Minimum height of the toolbar
34
+ *
35
+ * @prop --opacity: Opacity of the toolbar background
36
+ *
37
+ * @prop --padding-top: Top padding of the toolbar
38
+ * @prop --padding-end: Right padding if direction is left-to-right, and left padding if direction is right-to-left of the toolbar
39
+ * @prop --padding-bottom: Bottom padding of the toolbar
40
+ * @prop --padding-start: Left padding if direction is left-to-right, and right padding if direction is right-to-left of the toolbar
41
+ */
42
+ --border-width: 0;
43
+ --border-style: solid;
44
+ --opacity: 1;
45
+ --opacity-scale: 1;
46
+ -moz-osx-font-smoothing: grayscale;
47
+ -webkit-font-smoothing: antialiased;
48
+ display: block;
49
+ position: relative;
50
+ width: 100%;
51
+ padding-right: var(--ion-safe-area-right);
52
+ padding-left: var(--ion-safe-area-left);
53
+ color: var(--color);
54
+ contain: content;
55
+ box-sizing: border-box;
56
+ }
57
+
58
+ .toolbar-container {
59
+ -webkit-padding-start: var(--padding-start);
60
+ padding-inline-start: var(--padding-start);
61
+ -webkit-padding-end: var(--padding-end);
62
+ padding-inline-end: var(--padding-end);
63
+ padding-top: var(--padding-top);
64
+ padding-bottom: var(--padding-bottom);
65
+ display: flex;
66
+ position: relative;
67
+ flex-direction: row;
68
+ align-items: center;
69
+ justify-content: space-between;
70
+ width: 100%;
71
+ min-height: var(--min-height);
72
+ contain: content;
73
+ overflow: hidden;
74
+ box-sizing: border-box;
75
+ }
76
+
77
+ .toolbar-background {
78
+ right: 0;
79
+ left: 0;
80
+ top: 0;
81
+ bottom: 0;
82
+ position: absolute;
83
+ transform: translateZ(0);
84
+ border-width: var(--border-width);
85
+ border-style: var(--border-style);
86
+ border-color: var(--border-color);
87
+ background: var(--background);
88
+ contain: strict;
89
+ opacity: calc(var(--opacity) * var(--opacity-scale));
90
+ pointer-events: none;
91
+ }
92
+
93
+ ::slotted(ion-progress-bar) {
94
+ right: 0;
95
+ left: 0;
96
+ bottom: 0;
97
+ position: absolute;
98
+ }
99
+
100
+ /**
101
+ * Convert a pixels given value into rem
102
+ *
103
+ * @param pixels - Value in pixels to be converted (i.e. px)
104
+ * @param context (optional) - Baseline value
105
+ */
106
+ /**
107
+ * This is an auto-generated file, please do not change it directly.
108
+ * Ionic Design System
109
+ */
110
+ /**
111
+ * A heuristic that applies CSS to tablet
112
+ * viewports.
113
+ *
114
+ * Usage:
115
+ * @include tablet-viewport() {
116
+ * :host {
117
+ * background-color: green;
118
+ * }
119
+ * }
120
+ */
121
+ /**
122
+ * A heuristic that applies CSS to mobile
123
+ * viewports (i.e. phones, not tablets).
124
+ *
125
+ * Usage:
126
+ * @include mobile-viewport() {
127
+ * :host {
128
+ * background-color: blue;
129
+ * }
130
+ * }
131
+ */
132
+ /**
133
+ * Convert a font size to a dynamic font size.
134
+ * Fonts that participate in Dynamic Type should use
135
+ * dynamic font sizes.
136
+ * @param size - The initial font size including the unit (i.e. px or pt)
137
+ * @param unit (optional) - The unit to convert to. Use this if you want to
138
+ * convert to a unit other than $baselineUnit.
139
+ */
140
+ /**
141
+ * Convert a font size to a dynamic font size but impose
142
+ * a maximum font size.
143
+ * @param size - The initial font size including the unit (i.e. px or pt)
144
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
145
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
146
+ * convert to a unit other than $baselineUnit.
147
+ */
148
+ /**
149
+ * Convert a font size to a dynamic font size but impose
150
+ * a minimum font size.
151
+ * @param size - The initial font size including the unit (i.e. px or pt)
152
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
153
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
154
+ * convert to a unit other than $baselineUnit.
155
+ */
156
+ /**
157
+ * Convert a font size to a dynamic font size but impose
158
+ * maximum and minimum font sizes.
159
+ * @param size - The initial font size including the unit (i.e. px or pt)
160
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
161
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
162
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
163
+ * convert to a unit other than $baselineUnit.
164
+ */
165
+ :host {
166
+ --background: var(--ionic-color-base-white, #ffffff);
167
+ --color: var(--ionic-color-neutral-1200, #242424);
168
+ --border-color: currentColor;
169
+ --padding-top: var(--ionic-space-200, 8px);
170
+ --padding-bottom: var(--ionic-space-200, 8px);
171
+ --padding-start: var(--ionic-space-200, 8px);
172
+ --padding-end: var(--ionic-space-200, 8px);
173
+ --min-height: var(--ionic-scale-1400, 56px);
174
+ }
175
+
176
+ .toolbar-container {
177
+ gap: var(--ionic-space-400, 16px);
178
+ z-index: 10;
179
+ }
180
+
181
+ .toolbar-content {
182
+ flex: 1;
183
+ order: 3;
184
+ min-width: 0;
185
+ }
186
+
187
+ :host(.toolbar-divider) {
188
+ border-bottom: var(--ionic-border-size-025, 1px) var(--ionic-border-style-solid, solid) var(--ionic-color-neutral-300, #cfcfcf);
189
+ }
190
+
191
+ :host(.toolbar-searchbar) .toolbar-container {
192
+ -webkit-padding-start: var(--ionic-space-400, 16px);
193
+ padding-inline-start: var(--ionic-space-400, 16px);
194
+ -webkit-padding-end: var(--ionic-space-400, 16px);
195
+ padding-inline-end: var(--ionic-space-400, 16px);
196
+ }
197
+
198
+ :host(.toolbar-searchbar) ::slotted(ion-searchbar) {
199
+ padding-left: 0;
200
+ padding-right: 0;
201
+ padding-top: 0;
202
+ padding-bottom: 0;
203
+ }
204
+
205
+ ::slotted(ion-title) {
206
+ -webkit-padding-start: var(--padding-top);
207
+ padding-inline-start: var(--padding-top);
208
+ -webkit-padding-end: var(--padding-end);
209
+ padding-inline-end: var(--padding-end);
210
+ }
211
+
212
+ :host(.toolbar-title-default) ::slotted(ion-title) {
213
+ text-align: center;
214
+ }
215
+
216
+ ::slotted([slot=start]) {
217
+ order: 1;
218
+ }
219
+
220
+ ::slotted([slot=secondary]) {
221
+ order: 2;
222
+ }
223
+
224
+ ::slotted([slot=primary]) {
225
+ order: 4;
226
+ text-align: end;
227
+ }
228
+
229
+ ::slotted([slot=end]) {
230
+ gap: var(--ionic-space-200, 8px);
231
+ order: 5;
232
+ text-align: end;
233
+ }
@@ -1,42 +1,3 @@
1
- /**
2
- * Convert a pixels given value into rem
3
- *
4
- * @param pixels - Value in pixels to be converted (i.e. px)
5
- * @param context (optional) - Baseline value
6
- */
7
- /**
8
- * Convert a font size to a dynamic font size.
9
- * Fonts that participate in Dynamic Type should use
10
- * dynamic font sizes.
11
- * @param size - The initial font size including the unit (i.e. px or pt)
12
- * @param unit (optional) - The unit to convert to. Use this if you want to
13
- * convert to a unit other than $baselineUnit.
14
- */
15
- /**
16
- * Convert a font size to a dynamic font size but impose
17
- * a maximum font size.
18
- * @param size - The initial font size including the unit (i.e. px or pt)
19
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
20
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
21
- * convert to a unit other than $baselineUnit.
22
- */
23
- /**
24
- * Convert a font size to a dynamic font size but impose
25
- * a minimum font size.
26
- * @param size - The initial font size including the unit (i.e. px or pt)
27
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
28
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
29
- * convert to a unit other than $baselineUnit.
30
- */
31
- /**
32
- * Convert a font size to a dynamic font size but impose
33
- * maximum and minimum font sizes.
34
- * @param size - The initial font size including the unit (i.e. px or pt)
35
- * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
36
- * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
37
- * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
38
- * convert to a unit other than $baselineUnit.
39
- */
40
1
  /**
41
2
  * A heuristic that applies CSS to tablet
42
3
  * viewports.
@@ -90,20 +51,10 @@
90
51
  padding-right: var(--ion-safe-area-right);
91
52
  padding-left: var(--ion-safe-area-left);
92
53
  color: var(--color);
93
- font-family: var(--ion-font-family, inherit);
94
54
  contain: content;
95
- z-index: 10;
96
55
  box-sizing: border-box;
97
56
  }
98
57
 
99
- :host(.ion-color) {
100
- color: var(--ion-color-contrast);
101
- }
102
-
103
- :host(.ion-color) .toolbar-background {
104
- background: var(--ion-color-base);
105
- }
106
-
107
58
  .toolbar-container {
108
59
  -webkit-padding-start: var(--padding-start);
109
60
  padding-inline-start: var(--padding-start);
@@ -120,7 +71,6 @@
120
71
  min-height: var(--min-height);
121
72
  contain: content;
122
73
  overflow: hidden;
123
- z-index: 10;
124
74
  box-sizing: border-box;
125
75
  }
126
76
 
@@ -137,7 +87,6 @@
137
87
  background: var(--background);
138
88
  contain: strict;
139
89
  opacity: calc(var(--opacity) * var(--opacity-scale));
140
- z-index: -1;
141
90
  pointer-events: none;
142
91
  }
143
92
 
@@ -148,6 +97,88 @@
148
97
  position: absolute;
149
98
  }
150
99
 
100
+ /**
101
+ * Convert a pixels given value into rem
102
+ *
103
+ * @param pixels - Value in pixels to be converted (i.e. px)
104
+ * @param context (optional) - Baseline value
105
+ */
106
+ /**
107
+ * Convert a font size to a dynamic font size.
108
+ * Fonts that participate in Dynamic Type should use
109
+ * dynamic font sizes.
110
+ * @param size - The initial font size including the unit (i.e. px or pt)
111
+ * @param unit (optional) - The unit to convert to. Use this if you want to
112
+ * convert to a unit other than $baselineUnit.
113
+ */
114
+ /**
115
+ * Convert a font size to a dynamic font size but impose
116
+ * a maximum font size.
117
+ * @param size - The initial font size including the unit (i.e. px or pt)
118
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
119
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
120
+ * convert to a unit other than $baselineUnit.
121
+ */
122
+ /**
123
+ * Convert a font size to a dynamic font size but impose
124
+ * a minimum font size.
125
+ * @param size - The initial font size including the unit (i.e. px or pt)
126
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
127
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
128
+ * convert to a unit other than $baselineUnit.
129
+ */
130
+ /**
131
+ * Convert a font size to a dynamic font size but impose
132
+ * maximum and minimum font sizes.
133
+ * @param size - The initial font size including the unit (i.e. px or pt)
134
+ * @param minScale - The minimum scale of the font (i.e. 0.8 for a minimum 80% scale).
135
+ * @param maxScale - The maximum scale of the font (i.e. 2.5 for a maximum 250% scale).
136
+ * @param unit (optional) - The unit to convert the initial font size to. Use this if you want to
137
+ * convert to a unit other than $baselineUnit.
138
+ */
139
+ /**
140
+ * A heuristic that applies CSS to tablet
141
+ * viewports.
142
+ *
143
+ * Usage:
144
+ * @include tablet-viewport() {
145
+ * :host {
146
+ * background-color: green;
147
+ * }
148
+ * }
149
+ */
150
+ /**
151
+ * A heuristic that applies CSS to mobile
152
+ * viewports (i.e. phones, not tablets).
153
+ *
154
+ * Usage:
155
+ * @include mobile-viewport() {
156
+ * :host {
157
+ * background-color: blue;
158
+ * }
159
+ * }
160
+ */
161
+ :host {
162
+ font-family: var(--ion-font-family, inherit);
163
+ z-index: 10;
164
+ }
165
+
166
+ :host(.ion-color) {
167
+ color: var(--ion-color-contrast);
168
+ }
169
+
170
+ :host(.ion-color) .toolbar-background {
171
+ background: var(--ion-color-base);
172
+ }
173
+
174
+ .toolbar-container {
175
+ z-index: 10;
176
+ }
177
+
178
+ .toolbar-background {
179
+ z-index: -1;
180
+ }
181
+
151
182
  /**
152
183
  * Convert a pixels given value into rem
153
184
  *