@mundogamernetwork/shared-ui 1.17.2 → 1.17.4
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.
|
@@ -124,10 +124,20 @@ defineExpose({ save, wanted, profile: billing.profile, hasData: billing.hasData
|
|
|
124
124
|
</template>
|
|
125
125
|
|
|
126
126
|
<style lang="scss" scoped>
|
|
127
|
+
/*
|
|
128
|
+
* Theme-agnostic on purpose. This block renders inside eight different
|
|
129
|
+
* checkouts, and they are not all light: agency's is near-black, and hardcoded
|
|
130
|
+
* light fallbacks turned the labels dark-on-dark and the inputs into glaring
|
|
131
|
+
* white boxes. Everything here inherits the host's own text colour and derives
|
|
132
|
+
* its lines from it, so the block reads correctly on any background without
|
|
133
|
+
* each app having to restyle it.
|
|
134
|
+
*/
|
|
127
135
|
.mg-billing-profile {
|
|
128
136
|
margin-top: 16px;
|
|
129
|
-
border-top: 1px solid
|
|
137
|
+
border-top: 1px solid currentColor;
|
|
138
|
+
border-top-color: color-mix(in srgb, currentColor 18%, transparent);
|
|
130
139
|
padding-top: 16px;
|
|
140
|
+
color: inherit;
|
|
131
141
|
}
|
|
132
142
|
|
|
133
143
|
.mg-billing-profile__toggle {
|
|
@@ -136,6 +146,7 @@ defineExpose({ save, wanted, profile: billing.profile, hasData: billing.hasData
|
|
|
136
146
|
gap: 8px;
|
|
137
147
|
font-size: 14px;
|
|
138
148
|
cursor: pointer;
|
|
149
|
+
color: inherit;
|
|
139
150
|
}
|
|
140
151
|
|
|
141
152
|
.mg-billing-profile__body {
|
|
@@ -144,8 +155,8 @@ defineExpose({ save, wanted, profile: billing.profile, hasData: billing.hasData
|
|
|
144
155
|
|
|
145
156
|
.mg-billing-profile__hint {
|
|
146
157
|
font-size: 13px;
|
|
147
|
-
color: var(--inactive-text, #666);
|
|
148
158
|
margin: 0 0 12px;
|
|
159
|
+
opacity: 0.7;
|
|
149
160
|
}
|
|
150
161
|
|
|
151
162
|
.mg-billing-profile__grid {
|
|
@@ -161,16 +172,28 @@ defineExpose({ save, wanted, profile: billing.profile, hasData: billing.hasData
|
|
|
161
172
|
font-size: 12px;
|
|
162
173
|
}
|
|
163
174
|
|
|
175
|
+
.mg-billing-profile__field > span {
|
|
176
|
+
opacity: 0.7;
|
|
177
|
+
}
|
|
178
|
+
|
|
164
179
|
.mg-billing-profile__field--wide {
|
|
165
180
|
grid-column: 1 / -1;
|
|
166
181
|
}
|
|
167
182
|
|
|
168
183
|
.mg-billing-profile__field input {
|
|
169
|
-
border: 1px solid
|
|
184
|
+
border: 1px solid currentColor;
|
|
185
|
+
border-color: color-mix(in srgb, currentColor 30%, transparent);
|
|
170
186
|
padding: 8px 10px;
|
|
171
187
|
font-size: 14px;
|
|
172
|
-
|
|
173
|
-
|
|
188
|
+
/* Transparent, not white: the host's own background shows through, so the
|
|
189
|
+
field belongs to the surrounding form instead of punching a hole in it. */
|
|
190
|
+
background: transparent;
|
|
191
|
+
color: inherit;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.mg-billing-profile__field input:focus {
|
|
195
|
+
outline: none;
|
|
196
|
+
border-color: color-mix(in srgb, currentColor 60%, transparent);
|
|
174
197
|
}
|
|
175
198
|
|
|
176
199
|
.mg-billing-profile__error {
|
package/package.json
CHANGED
|
@@ -473,7 +473,7 @@ export const fetchCampaignTypes = (params: Record<string, any> = {}) => {
|
|
|
473
473
|
* Fetch active platforms (for the platform filter select).
|
|
474
474
|
*/
|
|
475
475
|
export const fetchCampaignPlatforms = () => {
|
|
476
|
-
return authClient.get("/
|
|
476
|
+
return authClient.get("/platforms/currently")
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
/**
|