@uniformdev/context-devtools 19.67.0 → 19.68.1-alpha.27
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/dist/esm/index.js +32 -22
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +62 -52
- package/package.json +4 -4
package/dist/esm/index.js
CHANGED
|
@@ -173,7 +173,7 @@ import { Button } from "@uniformdev/design-system";
|
|
|
173
173
|
// src/components/CallToAction/cta.styles.ts
|
|
174
174
|
import { css } from "@emotion/react";
|
|
175
175
|
var cta = css`
|
|
176
|
-
background-color: var(--gray-
|
|
176
|
+
background-color: var(--gray-50);
|
|
177
177
|
padding: var(--spacing-base) var(--spacing-md);
|
|
178
178
|
margin: var(--spacing-base) 0;
|
|
179
179
|
position: relative;
|
|
@@ -182,8 +182,8 @@ var cta = css`
|
|
|
182
182
|
}
|
|
183
183
|
`;
|
|
184
184
|
var ctaWithIcon = css`
|
|
185
|
-
background: var(--gray-
|
|
186
|
-
url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 2C8.44771 2 8 2.44772 8 3V5C8 5.55228 8.44771 6 9 6C9.55229 6 10 5.55228 10 5V3C10 2.44772 9.55229 2 9 2ZM8 9H16V11C16 13.2091 14.2091 15 12 15C9.79086 15 8 13.2091 8 11V9ZM13 16.917C15.8377 16.441 18 13.973 18 11V7H6V11C6 13.973 8.16229 16.441 11 16.917V22C11 22.5523 11.4477 23 12 23C12.5523 23 13 22.5523 13 22V16.917ZM14 3C14 2.44772 14.4477 2 15 2C15.5523 2 16 2.44772 16 3V5C16 5.55228 15.5523 6 15 6C14.4477 6 14 5.55228 14 5V3Z' fill='%
|
|
185
|
+
background: var(--gray-50)
|
|
186
|
+
url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 2C8.44771 2 8 2.44772 8 3V5C8 5.55228 8.44771 6 9 6C9.55229 6 10 5.55228 10 5V3C10 2.44772 9.55229 2 9 2ZM8 9H16V11C16 13.2091 14.2091 15 12 15C9.79086 15 8 13.2091 8 11V9ZM13 16.917C15.8377 16.441 18 13.973 18 11V7H6V11C6 13.973 8.16229 16.441 11 16.917V22C11 22.5523 11.4477 23 12 23C12.5523 23 13 22.5523 13 22V16.917ZM14 3C14 2.44772 14.4477 2 15 2C15.5523 2 16 2.44772 16 3V5C16 5.55228 15.5523 6 15 6C14.4477 6 14 5.55228 14 5V3Z' fill='%237953c6' /%3E%3C/svg%3E")
|
|
187
187
|
no-repeat var(--spacing-sm) var(--spacing-base);
|
|
188
188
|
padding: var(--spacing-base) var(--spacing-xl);
|
|
189
189
|
`;
|
|
@@ -202,7 +202,7 @@ var ctaClose = css`
|
|
|
202
202
|
align-items: center;
|
|
203
203
|
border: none;
|
|
204
204
|
background: transparent
|
|
205
|
-
url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2253 4.81108C5.83477 4.42056 5.20161 4.42056 4.81108 4.81108C4.42056 5.20161 4.42056 5.83477 4.81108 6.2253L10.5858 12L4.81114 17.7747C4.42062 18.1652 4.42062 18.7984 4.81114 19.1889C5.20167 19.5794 5.83483 19.5794 6.22535 19.1889L12 13.4142L17.7747 19.1889C18.1652 19.5794 18.7984 19.5794 19.1889 19.1889C19.5794 18.7984 19.5794 18.1652 19.1889 17.7747L13.4142 12L19.189 6.2253C19.5795 5.83477 19.5795 5.20161 19.189 4.81108C18.7985 4.42056 18.1653 4.42056 17.7748 4.81108L12 10.5858L6.2253 4.81108Z' fill='%
|
|
205
|
+
url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2253 4.81108C5.83477 4.42056 5.20161 4.42056 4.81108 4.81108C4.42056 5.20161 4.42056 5.83477 4.81108 6.2253L10.5858 12L4.81114 17.7747C4.42062 18.1652 4.42062 18.7984 4.81114 19.1889C5.20167 19.5794 5.83483 19.5794 6.22535 19.1889L12 13.4142L17.7747 19.1889C18.1652 19.5794 18.7984 19.5794 19.1889 19.1889C19.5794 18.7984 19.5794 18.1652 19.1889 17.7747L13.4142 12L19.189 6.2253C19.5795 5.83477 19.5795 5.20161 19.189 4.81108C18.7985 4.42056 18.1653 4.42056 17.7748 4.81108L12 10.5858L6.2253 4.81108Z' fill='%236b7280' /%3E%3C/svg%3E")
|
|
206
206
|
no-repeat center center;
|
|
207
207
|
cursor: pointer;
|
|
208
208
|
color: var(--brand-secondary-3);
|
|
@@ -262,7 +262,7 @@ var ExtensionVersion = () => {
|
|
|
262
262
|
{
|
|
263
263
|
css: css2`
|
|
264
264
|
font-size: var(--fs-sm);
|
|
265
|
-
color: var(--gray-
|
|
265
|
+
color: var(--gray-500);
|
|
266
266
|
position: absolute;
|
|
267
267
|
bottom: 2px;
|
|
268
268
|
right: 5px;
|
|
@@ -320,7 +320,7 @@ var links = [
|
|
|
320
320
|
title: "What if?",
|
|
321
321
|
href: "/overrides",
|
|
322
322
|
icon: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
323
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5123 7.91666L14.5804 8.4343L13.9179 5.96175L11.3371 10.0021L11.3575 10.0143C11.1348 10.3854 10.8997 10.7125 10.6556 11.0003H18.7603L16.9135 9.15347L18.3277 7.73926L22.5703 11.9819L18.3276 16.2245L16.9134 14.8103L18.7235 13.0003H6.65606C6.89995 13.2879 7.13495 13.6148 7.35749 13.9857L7.33713 13.9979L9.9179 18.0382L10.5804 15.5657L12.5123 16.0833L10.9594 21.8789L5.16384 20.326L5.68147 18.3941L8.20425 19.0701C8.20425 19.0701 6.17064 16.0325 5.21659 14.398C4.70173 13.7544 4.17055 13.4257 3.70352 13.2461C3.10532 13.016 2.54358 13.0011 2.06154 13.0003H2V13.0002V11.0003V11.0002L2.02253 11.0002C2.05059 11.0002 2.07985 11.0002 2.11025 11.0003H6V10.9998C6.49549 10.9998 7.07968 10.9939 7.70352 10.7539C8.17055 10.5743 8.70173 10.2456 9.21659 9.60198C10.1706 7.96745 12.2043 4.92988 12.2043 4.92988L9.68147 5.60586L9.16384 3.67401L14.9594 2.12109L16.5123 7.91666Z" fill="
|
|
323
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5123 7.91666L14.5804 8.4343L13.9179 5.96175L11.3371 10.0021L11.3575 10.0143C11.1348 10.3854 10.8997 10.7125 10.6556 11.0003H18.7603L16.9135 9.15347L18.3277 7.73926L22.5703 11.9819L18.3276 16.2245L16.9134 14.8103L18.7235 13.0003H6.65606C6.89995 13.2879 7.13495 13.6148 7.35749 13.9857L7.33713 13.9979L9.9179 18.0382L10.5804 15.5657L12.5123 16.0833L10.9594 21.8789L5.16384 20.326L5.68147 18.3941L8.20425 19.0701C8.20425 19.0701 6.17064 16.0325 5.21659 14.398C4.70173 13.7544 4.17055 13.4257 3.70352 13.2461C3.10532 13.016 2.54358 13.0011 2.06154 13.0003H2V13.0002V11.0003V11.0002L2.02253 11.0002C2.05059 11.0002 2.07985 11.0002 2.11025 11.0003H6V10.9998C6.49549 10.9998 7.07968 10.9939 7.70352 10.7539C8.17055 10.5743 8.70173 10.2456 9.21659 9.60198C10.1706 7.96745 12.2043 4.92988 12.2043 4.92988L9.68147 5.60586L9.16384 3.67401L14.9594 2.12109L16.5123 7.91666Z" fill="currentColor"/>
|
|
324
324
|
</svg>
|
|
325
325
|
`
|
|
326
326
|
},
|
|
@@ -348,12 +348,12 @@ var links = [
|
|
|
348
348
|
title: "Settings",
|
|
349
349
|
href: "/settings",
|
|
350
350
|
icon: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
351
|
-
<path d="M19.1469 12.716C19.1986 12.2636 19.201 11.8069 19.1539 11.354L21.7429 9.474C21.8681 9.3822 21.9548 9.24723 21.9862 9.0952C22.0176 8.94316 21.9915 8.78489 21.9129 8.651L19.9939 5.399C19.9182 5.26986 19.7985 5.17231 19.6568 5.1242C19.515 5.07608 19.3606 5.08063 19.2219 5.137L16.3599 6.292C15.9237 5.9578 15.4502 5.67525 14.9489 5.45L14.5739 2.545C14.5547 2.39441 14.4813 2.25598 14.3673 2.15566C14.2534 2.05534 14.1068 1.99999 13.9549 2H10.0859C9.93402 1.99997 9.78728 2.05527 9.67317 2.15558C9.55906 2.25588 9.48539 2.39432 9.46595 2.545L9.09395 5.433C8.63957 5.63249 8.20723 5.87882 7.80395 6.168L5.00895 4.954C4.87173 4.89484 4.71787 4.88672 4.57519 4.9311C4.4325 4.97549 4.3104 5.06945 4.23095 5.196L2.22195 8.398C2.1396 8.52998 2.10934 8.68789 2.13707 8.84096C2.1648 8.99403 2.24854 9.1313 2.37195 9.226L4.86795 11.142C4.83172 11.4266 4.81302 11.7131 4.81195 12C4.81195 12.18 4.82095 12.362 4.83795 12.558L2.26495 14.375C2.13766 14.4647 2.04844 14.5987 2.01478 14.7508C1.98112 14.9028 2.00543 15.0619 2.08295 15.197L3.95695 18.474C4.11095 18.742 4.43695 18.857 4.72595 18.746L7.56095 17.644C8.00795 17.997 8.49195 18.294 9.00795 18.53L9.33795 21.396C9.37495 21.709 9.63795 21.946 9.95195 21.95L13.8169 22H13.8249C14.1349 22 14.3989 21.771 14.4439 21.463L14.8549 18.59C15.3703 18.3674 15.8579 18.0855 16.3079 17.75L19.1279 18.93C19.4129 19.05 19.7419 18.944 19.9029 18.679L21.8669 15.452C21.9477 15.319 21.976 15.1608 21.9464 15.0081C21.9168 14.8554 21.8315 14.7192 21.7069 14.626L19.1469 12.716ZM11.9999 15C10.3459 15 8.99995 13.655 8.99995 12C8.99995 10.346 10.3449 9 11.9999 9C13.6539 9 14.9999 10.345 14.9999 12C14.9999 13.654 13.6539 15 11.9999 15Z" fill="
|
|
351
|
+
<path d="M19.1469 12.716C19.1986 12.2636 19.201 11.8069 19.1539 11.354L21.7429 9.474C21.8681 9.3822 21.9548 9.24723 21.9862 9.0952C22.0176 8.94316 21.9915 8.78489 21.9129 8.651L19.9939 5.399C19.9182 5.26986 19.7985 5.17231 19.6568 5.1242C19.515 5.07608 19.3606 5.08063 19.2219 5.137L16.3599 6.292C15.9237 5.9578 15.4502 5.67525 14.9489 5.45L14.5739 2.545C14.5547 2.39441 14.4813 2.25598 14.3673 2.15566C14.2534 2.05534 14.1068 1.99999 13.9549 2H10.0859C9.93402 1.99997 9.78728 2.05527 9.67317 2.15558C9.55906 2.25588 9.48539 2.39432 9.46595 2.545L9.09395 5.433C8.63957 5.63249 8.20723 5.87882 7.80395 6.168L5.00895 4.954C4.87173 4.89484 4.71787 4.88672 4.57519 4.9311C4.4325 4.97549 4.3104 5.06945 4.23095 5.196L2.22195 8.398C2.1396 8.52998 2.10934 8.68789 2.13707 8.84096C2.1648 8.99403 2.24854 9.1313 2.37195 9.226L4.86795 11.142C4.83172 11.4266 4.81302 11.7131 4.81195 12C4.81195 12.18 4.82095 12.362 4.83795 12.558L2.26495 14.375C2.13766 14.4647 2.04844 14.5987 2.01478 14.7508C1.98112 14.9028 2.00543 15.0619 2.08295 15.197L3.95695 18.474C4.11095 18.742 4.43695 18.857 4.72595 18.746L7.56095 17.644C8.00795 17.997 8.49195 18.294 9.00795 18.53L9.33795 21.396C9.37495 21.709 9.63795 21.946 9.95195 21.95L13.8169 22H13.8249C14.1349 22 14.3989 21.771 14.4439 21.463L14.8549 18.59C15.3703 18.3674 15.8579 18.0855 16.3079 17.75L19.1279 18.93C19.4129 19.05 19.7419 18.944 19.9029 18.679L21.8669 15.452C21.9477 15.319 21.976 15.1608 21.9464 15.0081C21.9168 14.8554 21.8315 14.7192 21.7069 14.626L19.1469 12.716ZM11.9999 15C10.3459 15 8.99995 13.655 8.99995 12C8.99995 10.346 10.3449 9 11.9999 9C13.6539 9 14.9999 10.345 14.9999 12C14.9999 13.654 13.6539 15 11.9999 15Z" fill="currentColor"/>
|
|
352
352
|
</svg>
|
|
353
353
|
`
|
|
354
354
|
}
|
|
355
355
|
];
|
|
356
|
-
var googleChromeExtensionSvg = `<svg width="24" height="24" fill="
|
|
356
|
+
var googleChromeExtensionSvg = `<svg width="24" height="24" fill="currentColor" viewBox="0 0 122.88 116.67" xmlns="http://www.w3.org/2000/svg">
|
|
357
357
|
<g>
|
|
358
358
|
<path d="M84.55,116.66c2.49,0,4.53-1.99,4.53-4.41V88.08c1.55-13.03,7.27-9.16,14-5.13 c16.27,9.74,27.08-15.88,13.93-23.78c-10.32-6.2-14.79,4.46-22.35,3.36c-2.92-0.43-4.95-3.5-5.59-8.17V36.9 c0-2.43-2.04-4.41-4.53-4.41H63.73c-17.18-2.12-1.93-11.37-1.93-19.98C61.81,5.6,55.38,0,47.45,0c-7.92,0-15.19,5.6-15.19,12.51 c0,8.12,15.78,17.86-1.64,19.98H4.53C2.04,32.49,0,34.47,0,36.9v17.42c1.33,7.43,6.49,9.15,13.1,4.25 c2.23-1.66,5.99-3.59,8.71-3.59c7.09,0,12.85,6.25,12.85,13.96S28.91,84.6,21.81,84.6c-2.53,0-4.89-0.8-6.89-2.19 c0,0.59-12.4-10.85-14.92,3.15v26.71c0,2.43,2.04,4.41,4.53,4.41c13.97,0,27.92,0,41.88-0.01c0.55-2.55-1.24-5.47-2.92-8 c-13.22-19.93,38.21-21.92,24.99,0.62c-0.65,1.11-1.3,2.19-1.8,3.24c-0.63,1.31-1.05,2.91-0.96,4.14L84.55,116.66L84.55,116.66z"></path>
|
|
359
359
|
</g>
|
|
@@ -373,7 +373,7 @@ var Menu = ({ ...props }) => {
|
|
|
373
373
|
"nav",
|
|
374
374
|
{
|
|
375
375
|
css: css3`
|
|
376
|
-
background: var(--
|
|
376
|
+
background: var(--gray-50);
|
|
377
377
|
padding: var(--spacing-base) var(--spacing-base) var(--spacing-md);
|
|
378
378
|
min-width: 200px;
|
|
379
379
|
display: flex;
|
|
@@ -426,7 +426,7 @@ var Menu = ({ ...props }) => {
|
|
|
426
426
|
"path",
|
|
427
427
|
{
|
|
428
428
|
d: "M64.6069 13.9025H67.8036V25.5528H64.6069V13.9025ZM64.4902 8.5415H67.9181V11.7348H64.4902V8.5415ZM72.5153 10.1025V13.9025H70.3691V16.6272H72.5153V25.5528H75.7119V16.6272H78.2774V13.9025H75.7119V11.2684H78.2774V8.5415H75.2213L72.5153 10.1025ZM83.1059 13.7859L80.3999 15.3469V24.1084L83.1059 25.6694H88.0748L90.7808 24.1084V15.3469L88.0748 13.7859H83.1059ZM87.5842 22.9425H83.5943V16.5106H87.5842V22.9425ZM97.4723 14.8611L95.8103 13.9025H94.2779V25.5528H97.4745V16.6272H101.486V13.9025H99.1344L97.4723 14.8611ZM55.713 13.7859L53.8499 14.8611L51.9847 13.7859H50.7289V25.5528H53.9256V16.5106H57.9133V25.5528H61.1099V15.3469L58.4039 13.7859H55.713ZM44.0353 22.9425H40.0454V13.9025H36.851V24.1084L39.557 25.6694H42.3753L44.0309 24.7129L44.0331 24.7151L44.0353 24.7129V24.7151L45.6887 25.6694H47.2297V13.9025H44.0353V22.9425ZM117.51 13.7859H115.271L113.079 15.0425L110.909 13.7859H108.67L107.015 14.7402L105.359 13.7859H103.818V25.5528H107.015V16.5106H110.421V25.5528H113.615V16.5106H117.022V25.5528H120.216V15.3469L117.51 13.7859Z",
|
|
429
|
-
fill: "
|
|
429
|
+
fill: "var(--brand-secondary-1)"
|
|
430
430
|
}
|
|
431
431
|
)
|
|
432
432
|
] }),
|
|
@@ -472,10 +472,11 @@ var Menu = ({ ...props }) => {
|
|
|
472
472
|
NavigationLink_default,
|
|
473
473
|
{
|
|
474
474
|
css: css3`
|
|
475
|
+
--icon: var(--gray-500);
|
|
475
476
|
align-items: center;
|
|
476
477
|
border-radius: var(--rounded-base);
|
|
477
478
|
display: flex;
|
|
478
|
-
color: var(--
|
|
479
|
+
color: var(--brand-secondary-1);
|
|
479
480
|
gap: var(--spacing-sm);
|
|
480
481
|
padding: var(--spacing-sm) var(--spacing-base);
|
|
481
482
|
text-decoration: none;
|
|
@@ -483,7 +484,11 @@ var Menu = ({ ...props }) => {
|
|
|
483
484
|
|
|
484
485
|
&:hover,
|
|
485
486
|
&.active {
|
|
486
|
-
background: var(--gray-
|
|
487
|
+
background: var(--gray-200);
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
&.active {
|
|
491
|
+
--icon: var(--brand-secondary-3);
|
|
487
492
|
}
|
|
488
493
|
`,
|
|
489
494
|
className: isActivePath(item.href),
|
|
@@ -493,6 +498,7 @@ var Menu = ({ ...props }) => {
|
|
|
493
498
|
"i",
|
|
494
499
|
{
|
|
495
500
|
css: css3`
|
|
501
|
+
color: var(--icon);
|
|
496
502
|
align-items: center;
|
|
497
503
|
display: flex;
|
|
498
504
|
`,
|
|
@@ -504,12 +510,13 @@ var Menu = ({ ...props }) => {
|
|
|
504
510
|
"span",
|
|
505
511
|
{
|
|
506
512
|
css: css3`
|
|
513
|
+
background: var(--raspberry-beret-400);
|
|
514
|
+
color: var(--white);
|
|
507
515
|
font-size: var(--fs-xxs);
|
|
508
516
|
display: inline-block;
|
|
509
517
|
width: 12px;
|
|
510
518
|
height: 12px;
|
|
511
519
|
border-radius: 6px;
|
|
512
|
-
background-color: var(--red-tooltip);
|
|
513
520
|
text-align: center;
|
|
514
521
|
line-height: 12px;
|
|
515
522
|
`,
|
|
@@ -535,7 +542,7 @@ var Menu = ({ ...props }) => {
|
|
|
535
542
|
border-radius: var(--rounded-base);
|
|
536
543
|
display: flex;
|
|
537
544
|
font-size: var(--fs-sm);
|
|
538
|
-
color: var(--
|
|
545
|
+
color: var(--brand-secondary-1);
|
|
539
546
|
gap: var(--spacing-sm);
|
|
540
547
|
padding: var(--spacing-sm) var(--spacing-base);
|
|
541
548
|
text-decoration: none;
|
|
@@ -543,7 +550,7 @@ var Menu = ({ ...props }) => {
|
|
|
543
550
|
|
|
544
551
|
&:hover,
|
|
545
552
|
&.active {
|
|
546
|
-
background: var(--gray-
|
|
553
|
+
background: var(--gray-200);
|
|
547
554
|
}
|
|
548
555
|
`,
|
|
549
556
|
rel: "noreferrer",
|
|
@@ -553,6 +560,7 @@ var Menu = ({ ...props }) => {
|
|
|
553
560
|
{
|
|
554
561
|
css: css3`
|
|
555
562
|
align-items: center;
|
|
563
|
+
color: var(--gray-500);
|
|
556
564
|
display: flex;
|
|
557
565
|
`,
|
|
558
566
|
dangerouslySetInnerHTML: { __html: googleChromeExtensionSvg }
|
|
@@ -646,7 +654,7 @@ import * as React3 from "react";
|
|
|
646
654
|
import { Fragment, jsx as jsx8, jsxs as jsxs3 } from "@emotion/react/jsx-runtime";
|
|
647
655
|
var willChange = css4({ willChange: "height" });
|
|
648
656
|
var titleStyle = css4`
|
|
649
|
-
border-bottom:
|
|
657
|
+
border-bottom: 1px solid var(--gray-400);
|
|
650
658
|
font-size: var(--fs-base);
|
|
651
659
|
margin: 0;
|
|
652
660
|
`;
|
|
@@ -655,14 +663,16 @@ var btnStyle = css4`
|
|
|
655
663
|
border: none;
|
|
656
664
|
background: none;
|
|
657
665
|
cursor: pointer;
|
|
666
|
+
color: var(--brand-secondary-1);
|
|
658
667
|
display: flex;
|
|
659
668
|
width: 100%;
|
|
660
669
|
padding: var(--spacing-sm) 0;
|
|
661
|
-
font-weight: var(--fw-bold);
|
|
662
670
|
justify-content: space-between;
|
|
663
671
|
`;
|
|
664
672
|
var iconStyle = css4`
|
|
665
673
|
align-self: center;
|
|
674
|
+
color: var(--gray-400);
|
|
675
|
+
transition: transform var(--duration-fast) var(--timing-ease-out);
|
|
666
676
|
`;
|
|
667
677
|
var iconActiveStyle = css4`
|
|
668
678
|
transform: rotate(-180deg);
|
|
@@ -1438,7 +1448,7 @@ var Dimensions = ({
|
|
|
1438
1448
|
/* @__PURE__ */ jsx18("div", { css: styles.reset, children: /* @__PURE__ */ jsx18(
|
|
1439
1449
|
Button3,
|
|
1440
1450
|
{
|
|
1441
|
-
buttonType: "
|
|
1451
|
+
buttonType: "ghostDestructive",
|
|
1442
1452
|
onClick: () => deleteScoreOverrides({ actions, saveSettings, scores, settings }).then(actions.forget),
|
|
1443
1453
|
children: "clear all dimensions"
|
|
1444
1454
|
}
|
|
@@ -1466,7 +1476,6 @@ var Dimensions = ({
|
|
|
1466
1476
|
};
|
|
1467
1477
|
|
|
1468
1478
|
// src/components/Personalization/Overrides.tsx
|
|
1469
|
-
import { AddButton } from "@uniformdev/design-system";
|
|
1470
1479
|
import { Button as Button4 } from "@uniformdev/design-system";
|
|
1471
1480
|
import { Fragment as Fragment3, jsx as jsx19, jsxs as jsxs9 } from "@emotion/react/jsx-runtime";
|
|
1472
1481
|
var Overrides = ({
|
|
@@ -1498,12 +1507,12 @@ var Overrides = ({
|
|
|
1498
1507
|
/* @__PURE__ */ jsx19("div", { css: styles.reset, children: /* @__PURE__ */ jsx19(
|
|
1499
1508
|
Button4,
|
|
1500
1509
|
{
|
|
1501
|
-
buttonType: "
|
|
1510
|
+
buttonType: "ghostDestructive",
|
|
1502
1511
|
onClick: () => deleteScoreOverrides({ actions, settings, saveSettings, scores }),
|
|
1503
1512
|
children: "delete all overrides"
|
|
1504
1513
|
}
|
|
1505
1514
|
) }),
|
|
1506
|
-
/* @__PURE__ */ jsx19(
|
|
1515
|
+
/* @__PURE__ */ jsx19(Button4, { buttonType: "secondaryInvert", size: "sm", onClick: addNewOverride, children: "Add override" })
|
|
1507
1516
|
] }),
|
|
1508
1517
|
/* @__PURE__ */ jsx19("p", { children: "Override dimension scores to test personalization" }),
|
|
1509
1518
|
totalOverrides > 0 ? /* @__PURE__ */ jsx19(
|
|
@@ -1686,7 +1695,7 @@ var Settings = ({
|
|
|
1686
1695
|
/* @__PURE__ */ jsx22(
|
|
1687
1696
|
Button7,
|
|
1688
1697
|
{
|
|
1689
|
-
buttonType: "
|
|
1698
|
+
buttonType: "secondary",
|
|
1690
1699
|
onClick: () => {
|
|
1691
1700
|
saveSettings({ ...settings, route: "/connect" });
|
|
1692
1701
|
},
|
|
@@ -1738,6 +1747,7 @@ var Settings = ({
|
|
|
1738
1747
|
onClick: () => {
|
|
1739
1748
|
clearAllExtensionData();
|
|
1740
1749
|
},
|
|
1750
|
+
buttonType: "destructive",
|
|
1741
1751
|
children: "Clear"
|
|
1742
1752
|
}
|
|
1743
1753
|
),
|
package/dist/index.d.mts
CHANGED
|
@@ -75,7 +75,7 @@ type EmbeddedContextDevToolsProps = {
|
|
|
75
75
|
/** Initial settings for the devtools. */
|
|
76
76
|
initialSettings?: DevToolsSettings;
|
|
77
77
|
};
|
|
78
|
-
/** Renders Uniform Context DevTools in an embedded state (as a React component that can be an island on a demo page, for example) */
|
|
78
|
+
/** @deprecated Renders Uniform Context DevTools in an embedded state (as a React component that can be an island on a demo page, for example) */
|
|
79
79
|
declare function EmbeddedContextDevTools({ context, initialSettings }: EmbeddedContextDevToolsProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
80
80
|
|
|
81
81
|
/** Renders Uniform Context DevTools in an embedded state (as a React component that can be an island on a demo page, for example) */
|
package/dist/index.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ type EmbeddedContextDevToolsProps = {
|
|
|
75
75
|
/** Initial settings for the devtools. */
|
|
76
76
|
initialSettings?: DevToolsSettings;
|
|
77
77
|
};
|
|
78
|
-
/** Renders Uniform Context DevTools in an embedded state (as a React component that can be an island on a demo page, for example) */
|
|
78
|
+
/** @deprecated Renders Uniform Context DevTools in an embedded state (as a React component that can be an island on a demo page, for example) */
|
|
79
79
|
declare function EmbeddedContextDevTools({ context, initialSettings }: EmbeddedContextDevToolsProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
80
80
|
|
|
81
81
|
/** Renders Uniform Context DevTools in an embedded state (as a React component that can be an island on a demo page, for example) */
|
package/dist/index.js
CHANGED
|
@@ -42,7 +42,7 @@ var React = __toESM(require("react"));
|
|
|
42
42
|
|
|
43
43
|
// src/components/ContextDevTools.tsx
|
|
44
44
|
var import_react18 = require("@emotion/react");
|
|
45
|
-
var
|
|
45
|
+
var import_design_system13 = require("@uniformdev/design-system");
|
|
46
46
|
|
|
47
47
|
// src/hooks/useDimensionIndex.ts
|
|
48
48
|
var import_api = require("@uniformdev/context/api");
|
|
@@ -207,7 +207,7 @@ var import_design_system = require("@uniformdev/design-system");
|
|
|
207
207
|
// src/components/CallToAction/cta.styles.ts
|
|
208
208
|
var import_react4 = require("@emotion/react");
|
|
209
209
|
var cta = import_react4.css`
|
|
210
|
-
background-color: var(--gray-
|
|
210
|
+
background-color: var(--gray-50);
|
|
211
211
|
padding: var(--spacing-base) var(--spacing-md);
|
|
212
212
|
margin: var(--spacing-base) 0;
|
|
213
213
|
position: relative;
|
|
@@ -216,8 +216,8 @@ var cta = import_react4.css`
|
|
|
216
216
|
}
|
|
217
217
|
`;
|
|
218
218
|
var ctaWithIcon = import_react4.css`
|
|
219
|
-
background: var(--gray-
|
|
220
|
-
url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 2C8.44771 2 8 2.44772 8 3V5C8 5.55228 8.44771 6 9 6C9.55229 6 10 5.55228 10 5V3C10 2.44772 9.55229 2 9 2ZM8 9H16V11C16 13.2091 14.2091 15 12 15C9.79086 15 8 13.2091 8 11V9ZM13 16.917C15.8377 16.441 18 13.973 18 11V7H6V11C6 13.973 8.16229 16.441 11 16.917V22C11 22.5523 11.4477 23 12 23C12.5523 23 13 22.5523 13 22V16.917ZM14 3C14 2.44772 14.4477 2 15 2C15.5523 2 16 2.44772 16 3V5C16 5.55228 15.5523 6 15 6C14.4477 6 14 5.55228 14 5V3Z' fill='%
|
|
219
|
+
background: var(--gray-50)
|
|
220
|
+
url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 2C8.44771 2 8 2.44772 8 3V5C8 5.55228 8.44771 6 9 6C9.55229 6 10 5.55228 10 5V3C10 2.44772 9.55229 2 9 2ZM8 9H16V11C16 13.2091 14.2091 15 12 15C9.79086 15 8 13.2091 8 11V9ZM13 16.917C15.8377 16.441 18 13.973 18 11V7H6V11C6 13.973 8.16229 16.441 11 16.917V22C11 22.5523 11.4477 23 12 23C12.5523 23 13 22.5523 13 22V16.917ZM14 3C14 2.44772 14.4477 2 15 2C15.5523 2 16 2.44772 16 3V5C16 5.55228 15.5523 6 15 6C14.4477 6 14 5.55228 14 5V3Z' fill='%237953c6' /%3E%3C/svg%3E")
|
|
221
221
|
no-repeat var(--spacing-sm) var(--spacing-base);
|
|
222
222
|
padding: var(--spacing-base) var(--spacing-xl);
|
|
223
223
|
`;
|
|
@@ -236,7 +236,7 @@ var ctaClose = import_react4.css`
|
|
|
236
236
|
align-items: center;
|
|
237
237
|
border: none;
|
|
238
238
|
background: transparent
|
|
239
|
-
url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2253 4.81108C5.83477 4.42056 5.20161 4.42056 4.81108 4.81108C4.42056 5.20161 4.42056 5.83477 4.81108 6.2253L10.5858 12L4.81114 17.7747C4.42062 18.1652 4.42062 18.7984 4.81114 19.1889C5.20167 19.5794 5.83483 19.5794 6.22535 19.1889L12 13.4142L17.7747 19.1889C18.1652 19.5794 18.7984 19.5794 19.1889 19.1889C19.5794 18.7984 19.5794 18.1652 19.1889 17.7747L13.4142 12L19.189 6.2253C19.5795 5.83477 19.5795 5.20161 19.189 4.81108C18.7985 4.42056 18.1653 4.42056 17.7748 4.81108L12 10.5858L6.2253 4.81108Z' fill='%
|
|
239
|
+
url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.2253 4.81108C5.83477 4.42056 5.20161 4.42056 4.81108 4.81108C4.42056 5.20161 4.42056 5.83477 4.81108 6.2253L10.5858 12L4.81114 17.7747C4.42062 18.1652 4.42062 18.7984 4.81114 19.1889C5.20167 19.5794 5.83483 19.5794 6.22535 19.1889L12 13.4142L17.7747 19.1889C18.1652 19.5794 18.7984 19.5794 19.1889 19.1889C19.5794 18.7984 19.5794 18.1652 19.1889 17.7747L13.4142 12L19.189 6.2253C19.5795 5.83477 19.5795 5.20161 19.189 4.81108C18.7985 4.42056 18.1653 4.42056 17.7748 4.81108L12 10.5858L6.2253 4.81108Z' fill='%236b7280' /%3E%3C/svg%3E")
|
|
240
240
|
no-repeat center center;
|
|
241
241
|
cursor: pointer;
|
|
242
242
|
color: var(--brand-secondary-3);
|
|
@@ -296,7 +296,7 @@ var ExtensionVersion = () => {
|
|
|
296
296
|
{
|
|
297
297
|
css: import_react5.css`
|
|
298
298
|
font-size: var(--fs-sm);
|
|
299
|
-
color: var(--gray-
|
|
299
|
+
color: var(--gray-500);
|
|
300
300
|
position: absolute;
|
|
301
301
|
bottom: 2px;
|
|
302
302
|
right: 5px;
|
|
@@ -354,7 +354,7 @@ var links = [
|
|
|
354
354
|
title: "What if?",
|
|
355
355
|
href: "/overrides",
|
|
356
356
|
icon: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
357
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5123 7.91666L14.5804 8.4343L13.9179 5.96175L11.3371 10.0021L11.3575 10.0143C11.1348 10.3854 10.8997 10.7125 10.6556 11.0003H18.7603L16.9135 9.15347L18.3277 7.73926L22.5703 11.9819L18.3276 16.2245L16.9134 14.8103L18.7235 13.0003H6.65606C6.89995 13.2879 7.13495 13.6148 7.35749 13.9857L7.33713 13.9979L9.9179 18.0382L10.5804 15.5657L12.5123 16.0833L10.9594 21.8789L5.16384 20.326L5.68147 18.3941L8.20425 19.0701C8.20425 19.0701 6.17064 16.0325 5.21659 14.398C4.70173 13.7544 4.17055 13.4257 3.70352 13.2461C3.10532 13.016 2.54358 13.0011 2.06154 13.0003H2V13.0002V11.0003V11.0002L2.02253 11.0002C2.05059 11.0002 2.07985 11.0002 2.11025 11.0003H6V10.9998C6.49549 10.9998 7.07968 10.9939 7.70352 10.7539C8.17055 10.5743 8.70173 10.2456 9.21659 9.60198C10.1706 7.96745 12.2043 4.92988 12.2043 4.92988L9.68147 5.60586L9.16384 3.67401L14.9594 2.12109L16.5123 7.91666Z" fill="
|
|
357
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5123 7.91666L14.5804 8.4343L13.9179 5.96175L11.3371 10.0021L11.3575 10.0143C11.1348 10.3854 10.8997 10.7125 10.6556 11.0003H18.7603L16.9135 9.15347L18.3277 7.73926L22.5703 11.9819L18.3276 16.2245L16.9134 14.8103L18.7235 13.0003H6.65606C6.89995 13.2879 7.13495 13.6148 7.35749 13.9857L7.33713 13.9979L9.9179 18.0382L10.5804 15.5657L12.5123 16.0833L10.9594 21.8789L5.16384 20.326L5.68147 18.3941L8.20425 19.0701C8.20425 19.0701 6.17064 16.0325 5.21659 14.398C4.70173 13.7544 4.17055 13.4257 3.70352 13.2461C3.10532 13.016 2.54358 13.0011 2.06154 13.0003H2V13.0002V11.0003V11.0002L2.02253 11.0002C2.05059 11.0002 2.07985 11.0002 2.11025 11.0003H6V10.9998C6.49549 10.9998 7.07968 10.9939 7.70352 10.7539C8.17055 10.5743 8.70173 10.2456 9.21659 9.60198C10.1706 7.96745 12.2043 4.92988 12.2043 4.92988L9.68147 5.60586L9.16384 3.67401L14.9594 2.12109L16.5123 7.91666Z" fill="currentColor"/>
|
|
358
358
|
</svg>
|
|
359
359
|
`
|
|
360
360
|
},
|
|
@@ -382,12 +382,12 @@ var links = [
|
|
|
382
382
|
title: "Settings",
|
|
383
383
|
href: "/settings",
|
|
384
384
|
icon: `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
385
|
-
<path d="M19.1469 12.716C19.1986 12.2636 19.201 11.8069 19.1539 11.354L21.7429 9.474C21.8681 9.3822 21.9548 9.24723 21.9862 9.0952C22.0176 8.94316 21.9915 8.78489 21.9129 8.651L19.9939 5.399C19.9182 5.26986 19.7985 5.17231 19.6568 5.1242C19.515 5.07608 19.3606 5.08063 19.2219 5.137L16.3599 6.292C15.9237 5.9578 15.4502 5.67525 14.9489 5.45L14.5739 2.545C14.5547 2.39441 14.4813 2.25598 14.3673 2.15566C14.2534 2.05534 14.1068 1.99999 13.9549 2H10.0859C9.93402 1.99997 9.78728 2.05527 9.67317 2.15558C9.55906 2.25588 9.48539 2.39432 9.46595 2.545L9.09395 5.433C8.63957 5.63249 8.20723 5.87882 7.80395 6.168L5.00895 4.954C4.87173 4.89484 4.71787 4.88672 4.57519 4.9311C4.4325 4.97549 4.3104 5.06945 4.23095 5.196L2.22195 8.398C2.1396 8.52998 2.10934 8.68789 2.13707 8.84096C2.1648 8.99403 2.24854 9.1313 2.37195 9.226L4.86795 11.142C4.83172 11.4266 4.81302 11.7131 4.81195 12C4.81195 12.18 4.82095 12.362 4.83795 12.558L2.26495 14.375C2.13766 14.4647 2.04844 14.5987 2.01478 14.7508C1.98112 14.9028 2.00543 15.0619 2.08295 15.197L3.95695 18.474C4.11095 18.742 4.43695 18.857 4.72595 18.746L7.56095 17.644C8.00795 17.997 8.49195 18.294 9.00795 18.53L9.33795 21.396C9.37495 21.709 9.63795 21.946 9.95195 21.95L13.8169 22H13.8249C14.1349 22 14.3989 21.771 14.4439 21.463L14.8549 18.59C15.3703 18.3674 15.8579 18.0855 16.3079 17.75L19.1279 18.93C19.4129 19.05 19.7419 18.944 19.9029 18.679L21.8669 15.452C21.9477 15.319 21.976 15.1608 21.9464 15.0081C21.9168 14.8554 21.8315 14.7192 21.7069 14.626L19.1469 12.716ZM11.9999 15C10.3459 15 8.99995 13.655 8.99995 12C8.99995 10.346 10.3449 9 11.9999 9C13.6539 9 14.9999 10.345 14.9999 12C14.9999 13.654 13.6539 15 11.9999 15Z" fill="
|
|
385
|
+
<path d="M19.1469 12.716C19.1986 12.2636 19.201 11.8069 19.1539 11.354L21.7429 9.474C21.8681 9.3822 21.9548 9.24723 21.9862 9.0952C22.0176 8.94316 21.9915 8.78489 21.9129 8.651L19.9939 5.399C19.9182 5.26986 19.7985 5.17231 19.6568 5.1242C19.515 5.07608 19.3606 5.08063 19.2219 5.137L16.3599 6.292C15.9237 5.9578 15.4502 5.67525 14.9489 5.45L14.5739 2.545C14.5547 2.39441 14.4813 2.25598 14.3673 2.15566C14.2534 2.05534 14.1068 1.99999 13.9549 2H10.0859C9.93402 1.99997 9.78728 2.05527 9.67317 2.15558C9.55906 2.25588 9.48539 2.39432 9.46595 2.545L9.09395 5.433C8.63957 5.63249 8.20723 5.87882 7.80395 6.168L5.00895 4.954C4.87173 4.89484 4.71787 4.88672 4.57519 4.9311C4.4325 4.97549 4.3104 5.06945 4.23095 5.196L2.22195 8.398C2.1396 8.52998 2.10934 8.68789 2.13707 8.84096C2.1648 8.99403 2.24854 9.1313 2.37195 9.226L4.86795 11.142C4.83172 11.4266 4.81302 11.7131 4.81195 12C4.81195 12.18 4.82095 12.362 4.83795 12.558L2.26495 14.375C2.13766 14.4647 2.04844 14.5987 2.01478 14.7508C1.98112 14.9028 2.00543 15.0619 2.08295 15.197L3.95695 18.474C4.11095 18.742 4.43695 18.857 4.72595 18.746L7.56095 17.644C8.00795 17.997 8.49195 18.294 9.00795 18.53L9.33795 21.396C9.37495 21.709 9.63795 21.946 9.95195 21.95L13.8169 22H13.8249C14.1349 22 14.3989 21.771 14.4439 21.463L14.8549 18.59C15.3703 18.3674 15.8579 18.0855 16.3079 17.75L19.1279 18.93C19.4129 19.05 19.7419 18.944 19.9029 18.679L21.8669 15.452C21.9477 15.319 21.976 15.1608 21.9464 15.0081C21.9168 14.8554 21.8315 14.7192 21.7069 14.626L19.1469 12.716ZM11.9999 15C10.3459 15 8.99995 13.655 8.99995 12C8.99995 10.346 10.3449 9 11.9999 9C13.6539 9 14.9999 10.345 14.9999 12C14.9999 13.654 13.6539 15 11.9999 15Z" fill="currentColor"/>
|
|
386
386
|
</svg>
|
|
387
387
|
`
|
|
388
388
|
}
|
|
389
389
|
];
|
|
390
|
-
var googleChromeExtensionSvg = `<svg width="24" height="24" fill="
|
|
390
|
+
var googleChromeExtensionSvg = `<svg width="24" height="24" fill="currentColor" viewBox="0 0 122.88 116.67" xmlns="http://www.w3.org/2000/svg">
|
|
391
391
|
<g>
|
|
392
392
|
<path d="M84.55,116.66c2.49,0,4.53-1.99,4.53-4.41V88.08c1.55-13.03,7.27-9.16,14-5.13 c16.27,9.74,27.08-15.88,13.93-23.78c-10.32-6.2-14.79,4.46-22.35,3.36c-2.92-0.43-4.95-3.5-5.59-8.17V36.9 c0-2.43-2.04-4.41-4.53-4.41H63.73c-17.18-2.12-1.93-11.37-1.93-19.98C61.81,5.6,55.38,0,47.45,0c-7.92,0-15.19,5.6-15.19,12.51 c0,8.12,15.78,17.86-1.64,19.98H4.53C2.04,32.49,0,34.47,0,36.9v17.42c1.33,7.43,6.49,9.15,13.1,4.25 c2.23-1.66,5.99-3.59,8.71-3.59c7.09,0,12.85,6.25,12.85,13.96S28.91,84.6,21.81,84.6c-2.53,0-4.89-0.8-6.89-2.19 c0,0.59-12.4-10.85-14.92,3.15v26.71c0,2.43,2.04,4.41,4.53,4.41c13.97,0,27.92,0,41.88-0.01c0.55-2.55-1.24-5.47-2.92-8 c-13.22-19.93,38.21-21.92,24.99,0.62c-0.65,1.11-1.3,2.19-1.8,3.24c-0.63,1.31-1.05,2.91-0.96,4.14L84.55,116.66L84.55,116.66z"></path>
|
|
393
393
|
</g>
|
|
@@ -407,7 +407,7 @@ var Menu = ({ ...props }) => {
|
|
|
407
407
|
"nav",
|
|
408
408
|
{
|
|
409
409
|
css: import_react6.css`
|
|
410
|
-
background: var(--
|
|
410
|
+
background: var(--gray-50);
|
|
411
411
|
padding: var(--spacing-base) var(--spacing-base) var(--spacing-md);
|
|
412
412
|
min-width: 200px;
|
|
413
413
|
display: flex;
|
|
@@ -460,7 +460,7 @@ var Menu = ({ ...props }) => {
|
|
|
460
460
|
"path",
|
|
461
461
|
{
|
|
462
462
|
d: "M64.6069 13.9025H67.8036V25.5528H64.6069V13.9025ZM64.4902 8.5415H67.9181V11.7348H64.4902V8.5415ZM72.5153 10.1025V13.9025H70.3691V16.6272H72.5153V25.5528H75.7119V16.6272H78.2774V13.9025H75.7119V11.2684H78.2774V8.5415H75.2213L72.5153 10.1025ZM83.1059 13.7859L80.3999 15.3469V24.1084L83.1059 25.6694H88.0748L90.7808 24.1084V15.3469L88.0748 13.7859H83.1059ZM87.5842 22.9425H83.5943V16.5106H87.5842V22.9425ZM97.4723 14.8611L95.8103 13.9025H94.2779V25.5528H97.4745V16.6272H101.486V13.9025H99.1344L97.4723 14.8611ZM55.713 13.7859L53.8499 14.8611L51.9847 13.7859H50.7289V25.5528H53.9256V16.5106H57.9133V25.5528H61.1099V15.3469L58.4039 13.7859H55.713ZM44.0353 22.9425H40.0454V13.9025H36.851V24.1084L39.557 25.6694H42.3753L44.0309 24.7129L44.0331 24.7151L44.0353 24.7129V24.7151L45.6887 25.6694H47.2297V13.9025H44.0353V22.9425ZM117.51 13.7859H115.271L113.079 15.0425L110.909 13.7859H108.67L107.015 14.7402L105.359 13.7859H103.818V25.5528H107.015V16.5106H110.421V25.5528H113.615V16.5106H117.022V25.5528H120.216V15.3469L117.51 13.7859Z",
|
|
463
|
-
fill: "
|
|
463
|
+
fill: "var(--brand-secondary-1)"
|
|
464
464
|
}
|
|
465
465
|
)
|
|
466
466
|
] }),
|
|
@@ -506,10 +506,11 @@ var Menu = ({ ...props }) => {
|
|
|
506
506
|
NavigationLink_default,
|
|
507
507
|
{
|
|
508
508
|
css: import_react6.css`
|
|
509
|
+
--icon: var(--gray-500);
|
|
509
510
|
align-items: center;
|
|
510
511
|
border-radius: var(--rounded-base);
|
|
511
512
|
display: flex;
|
|
512
|
-
color: var(--
|
|
513
|
+
color: var(--brand-secondary-1);
|
|
513
514
|
gap: var(--spacing-sm);
|
|
514
515
|
padding: var(--spacing-sm) var(--spacing-base);
|
|
515
516
|
text-decoration: none;
|
|
@@ -517,7 +518,11 @@ var Menu = ({ ...props }) => {
|
|
|
517
518
|
|
|
518
519
|
&:hover,
|
|
519
520
|
&.active {
|
|
520
|
-
background: var(--gray-
|
|
521
|
+
background: var(--gray-200);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
&.active {
|
|
525
|
+
--icon: var(--brand-secondary-3);
|
|
521
526
|
}
|
|
522
527
|
`,
|
|
523
528
|
className: isActivePath(item.href),
|
|
@@ -527,6 +532,7 @@ var Menu = ({ ...props }) => {
|
|
|
527
532
|
"i",
|
|
528
533
|
{
|
|
529
534
|
css: import_react6.css`
|
|
535
|
+
color: var(--icon);
|
|
530
536
|
align-items: center;
|
|
531
537
|
display: flex;
|
|
532
538
|
`,
|
|
@@ -538,12 +544,13 @@ var Menu = ({ ...props }) => {
|
|
|
538
544
|
"span",
|
|
539
545
|
{
|
|
540
546
|
css: import_react6.css`
|
|
547
|
+
background: var(--raspberry-beret-400);
|
|
548
|
+
color: var(--white);
|
|
541
549
|
font-size: var(--fs-xxs);
|
|
542
550
|
display: inline-block;
|
|
543
551
|
width: 12px;
|
|
544
552
|
height: 12px;
|
|
545
553
|
border-radius: 6px;
|
|
546
|
-
background-color: var(--red-tooltip);
|
|
547
554
|
text-align: center;
|
|
548
555
|
line-height: 12px;
|
|
549
556
|
`,
|
|
@@ -569,7 +576,7 @@ var Menu = ({ ...props }) => {
|
|
|
569
576
|
border-radius: var(--rounded-base);
|
|
570
577
|
display: flex;
|
|
571
578
|
font-size: var(--fs-sm);
|
|
572
|
-
color: var(--
|
|
579
|
+
color: var(--brand-secondary-1);
|
|
573
580
|
gap: var(--spacing-sm);
|
|
574
581
|
padding: var(--spacing-sm) var(--spacing-base);
|
|
575
582
|
text-decoration: none;
|
|
@@ -577,7 +584,7 @@ var Menu = ({ ...props }) => {
|
|
|
577
584
|
|
|
578
585
|
&:hover,
|
|
579
586
|
&.active {
|
|
580
|
-
background: var(--gray-
|
|
587
|
+
background: var(--gray-200);
|
|
581
588
|
}
|
|
582
589
|
`,
|
|
583
590
|
rel: "noreferrer",
|
|
@@ -587,6 +594,7 @@ var Menu = ({ ...props }) => {
|
|
|
587
594
|
{
|
|
588
595
|
css: import_react6.css`
|
|
589
596
|
align-items: center;
|
|
597
|
+
color: var(--gray-500);
|
|
590
598
|
display: flex;
|
|
591
599
|
`,
|
|
592
600
|
dangerouslySetInnerHTML: { __html: googleChromeExtensionSvg }
|
|
@@ -680,7 +688,7 @@ var React3 = __toESM(require("react"));
|
|
|
680
688
|
var import_jsx_runtime7 = require("@emotion/react/jsx-runtime");
|
|
681
689
|
var willChange = (0, import_react7.css)({ willChange: "height" });
|
|
682
690
|
var titleStyle = import_react7.css`
|
|
683
|
-
border-bottom:
|
|
691
|
+
border-bottom: 1px solid var(--gray-400);
|
|
684
692
|
font-size: var(--fs-base);
|
|
685
693
|
margin: 0;
|
|
686
694
|
`;
|
|
@@ -689,14 +697,16 @@ var btnStyle = import_react7.css`
|
|
|
689
697
|
border: none;
|
|
690
698
|
background: none;
|
|
691
699
|
cursor: pointer;
|
|
700
|
+
color: var(--brand-secondary-1);
|
|
692
701
|
display: flex;
|
|
693
702
|
width: 100%;
|
|
694
703
|
padding: var(--spacing-sm) 0;
|
|
695
|
-
font-weight: var(--fw-bold);
|
|
696
704
|
justify-content: space-between;
|
|
697
705
|
`;
|
|
698
706
|
var iconStyle = import_react7.css`
|
|
699
707
|
align-self: center;
|
|
708
|
+
color: var(--gray-400);
|
|
709
|
+
transition: transform var(--duration-fast) var(--timing-ease-out);
|
|
700
710
|
`;
|
|
701
711
|
var iconActiveStyle = import_react7.css`
|
|
702
712
|
transform: rotate(-180deg);
|
|
@@ -1472,7 +1482,7 @@ var Dimensions = ({
|
|
|
1472
1482
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { css: styles.reset, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1473
1483
|
import_design_system5.Button,
|
|
1474
1484
|
{
|
|
1475
|
-
buttonType: "
|
|
1485
|
+
buttonType: "ghostDestructive",
|
|
1476
1486
|
onClick: () => deleteScoreOverrides({ actions, saveSettings, scores, settings }).then(actions.forget),
|
|
1477
1487
|
children: "clear all dimensions"
|
|
1478
1488
|
}
|
|
@@ -1501,7 +1511,6 @@ var Dimensions = ({
|
|
|
1501
1511
|
|
|
1502
1512
|
// src/components/Personalization/Overrides.tsx
|
|
1503
1513
|
var import_design_system7 = require("@uniformdev/design-system");
|
|
1504
|
-
var import_design_system8 = require("@uniformdev/design-system");
|
|
1505
1514
|
var import_jsx_runtime18 = require("@emotion/react/jsx-runtime");
|
|
1506
1515
|
var Overrides = ({
|
|
1507
1516
|
dimensionIndex: { index: dimensionIndex },
|
|
@@ -1530,14 +1539,14 @@ var Overrides = ({
|
|
|
1530
1539
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { css: styles.headingGroup, children: [
|
|
1531
1540
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("h2", { css: styles.title, children: "What if?" }),
|
|
1532
1541
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { css: styles.reset, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1533
|
-
|
|
1542
|
+
import_design_system7.Button,
|
|
1534
1543
|
{
|
|
1535
|
-
buttonType: "
|
|
1544
|
+
buttonType: "ghostDestructive",
|
|
1536
1545
|
onClick: () => deleteScoreOverrides({ actions, settings, saveSettings, scores }),
|
|
1537
1546
|
children: "delete all overrides"
|
|
1538
1547
|
}
|
|
1539
1548
|
) }),
|
|
1540
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_design_system7.
|
|
1549
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_design_system7.Button, { buttonType: "secondaryInvert", size: "sm", onClick: addNewOverride, children: "Add override" })
|
|
1541
1550
|
] }),
|
|
1542
1551
|
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { children: "Override dimension scores to test personalization" }),
|
|
1543
1552
|
totalOverrides > 0 ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
@@ -1552,18 +1561,18 @@ var Overrides = ({
|
|
|
1552
1561
|
{
|
|
1553
1562
|
title: data.controlGroup ? "In control group" : "No overrides",
|
|
1554
1563
|
text: data.controlGroup ? "You are part of the personalization control group. While in the control group you do not have dimension scores and will not see personalized content. A/B tests will still run." : "You do not have any dimension overrides yet.",
|
|
1555
|
-
buttonGroup: data.controlGroup ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1564
|
+
buttonGroup: data.controlGroup ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_design_system7.Button, { buttonType: "destructive", onClick: toggleControlGroup, children: "Exit control group" }) : null
|
|
1556
1565
|
}
|
|
1557
1566
|
)
|
|
1558
1567
|
] }) });
|
|
1559
1568
|
};
|
|
1560
1569
|
|
|
1561
1570
|
// src/components/Personalization/Quirks.tsx
|
|
1562
|
-
var
|
|
1571
|
+
var import_design_system9 = require("@uniformdev/design-system");
|
|
1563
1572
|
var import_react16 = require("react");
|
|
1564
1573
|
|
|
1565
1574
|
// src/components/Inputs/EditableText.tsx
|
|
1566
|
-
var
|
|
1575
|
+
var import_design_system8 = require("@uniformdev/design-system");
|
|
1567
1576
|
var import_react15 = require("react");
|
|
1568
1577
|
var import_jsx_runtime19 = require("@emotion/react/jsx-runtime");
|
|
1569
1578
|
var EditableText = ({ name, value, submit }) => {
|
|
@@ -1576,9 +1585,9 @@ var EditableText = ({ name, value, submit }) => {
|
|
|
1576
1585
|
};
|
|
1577
1586
|
const isSameValue = inputValue === value;
|
|
1578
1587
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { css: { display: "flex", gap: "var(--spacing-sm)" }, children: [
|
|
1579
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1588
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_design_system8.Input, { type: "text", css: [textInput], name, value: inputValue, onChange }),
|
|
1580
1589
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1581
|
-
|
|
1590
|
+
import_design_system8.Button,
|
|
1582
1591
|
{
|
|
1583
1592
|
buttonType: "primary",
|
|
1584
1593
|
disabled: isSameValue,
|
|
@@ -1660,7 +1669,7 @@ var Quirks = ({ ...props }) => {
|
|
|
1660
1669
|
}
|
|
1661
1670
|
) : null,
|
|
1662
1671
|
editable === id && editableQuirkMetaData && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, { children: editableQuirkMetaData.options ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1663
|
-
|
|
1672
|
+
import_design_system9.InputSelect,
|
|
1664
1673
|
{
|
|
1665
1674
|
showLabel: false,
|
|
1666
1675
|
label: `Change ${name}`,
|
|
@@ -1672,7 +1681,7 @@ var Quirks = ({ ...props }) => {
|
|
|
1672
1681
|
) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(EditableText_default, { name: id, value, submit: submitOverride }) })
|
|
1673
1682
|
] }),
|
|
1674
1683
|
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(TData, { children: editable ? null : ((_c = settings.quirkOverrides) == null ? void 0 : _c[id]) ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1675
|
-
|
|
1684
|
+
import_design_system9.Button,
|
|
1676
1685
|
{
|
|
1677
1686
|
buttonType: "ghost",
|
|
1678
1687
|
onClick: () => {
|
|
@@ -1681,7 +1690,7 @@ var Quirks = ({ ...props }) => {
|
|
|
1681
1690
|
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("small", { children: "Clear Override" })
|
|
1682
1691
|
}
|
|
1683
1692
|
) : /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1684
|
-
|
|
1693
|
+
import_design_system9.Button,
|
|
1685
1694
|
{
|
|
1686
1695
|
buttonType: "ghost",
|
|
1687
1696
|
onClick: () => {
|
|
@@ -1703,8 +1712,8 @@ var Quirks = ({ ...props }) => {
|
|
|
1703
1712
|
};
|
|
1704
1713
|
|
|
1705
1714
|
// src/components/Personalization/Settings.tsx
|
|
1715
|
+
var import_design_system10 = require("@uniformdev/design-system");
|
|
1706
1716
|
var import_design_system11 = require("@uniformdev/design-system");
|
|
1707
|
-
var import_design_system12 = require("@uniformdev/design-system");
|
|
1708
1717
|
var import_jsx_runtime21 = require("@emotion/react/jsx-runtime");
|
|
1709
1718
|
var Settings = ({
|
|
1710
1719
|
settings,
|
|
@@ -1718,9 +1727,9 @@ var Settings = ({
|
|
|
1718
1727
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Fieldset, { children: [
|
|
1719
1728
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Legend, { children: "Data Connection" }),
|
|
1720
1729
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1721
|
-
|
|
1730
|
+
import_design_system10.Button,
|
|
1722
1731
|
{
|
|
1723
|
-
buttonType: "
|
|
1732
|
+
buttonType: "secondary",
|
|
1724
1733
|
onClick: () => {
|
|
1725
1734
|
saveSettings({ ...settings, route: "/connect" });
|
|
1726
1735
|
},
|
|
@@ -1731,7 +1740,7 @@ var Settings = ({
|
|
|
1731
1740
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Fieldset, { children: [
|
|
1732
1741
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Legend, { children: "Storage Consent" }),
|
|
1733
1742
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1734
|
-
|
|
1743
|
+
import_design_system11.Switch,
|
|
1735
1744
|
{
|
|
1736
1745
|
label: "Store visitor data",
|
|
1737
1746
|
id: "consent-mode",
|
|
@@ -1751,7 +1760,7 @@ var Settings = ({
|
|
|
1751
1760
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Fieldset, { children: [
|
|
1752
1761
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Legend, { children: "Logging" }),
|
|
1753
1762
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1754
|
-
|
|
1763
|
+
import_design_system11.Switch,
|
|
1755
1764
|
{
|
|
1756
1765
|
label: "Write Uniform Context diagnostic logs to browser console",
|
|
1757
1766
|
id: "logging",
|
|
@@ -1767,11 +1776,12 @@ var Settings = ({
|
|
|
1767
1776
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(Fieldset, { children: [
|
|
1768
1777
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Legend, { children: "Clear extension storage" }),
|
|
1769
1778
|
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1770
|
-
|
|
1779
|
+
import_design_system10.Button,
|
|
1771
1780
|
{
|
|
1772
1781
|
onClick: () => {
|
|
1773
1782
|
clearAllExtensionData();
|
|
1774
1783
|
},
|
|
1784
|
+
buttonType: "destructive",
|
|
1775
1785
|
children: "Clear"
|
|
1776
1786
|
}
|
|
1777
1787
|
),
|
|
@@ -1783,7 +1793,7 @@ var Settings = ({
|
|
|
1783
1793
|
// src/components/QuickConnect/QuickConnect.tsx
|
|
1784
1794
|
var import_context2 = require("@uniformdev/context");
|
|
1785
1795
|
var import_api3 = require("@uniformdev/context/api");
|
|
1786
|
-
var
|
|
1796
|
+
var import_design_system12 = require("@uniformdev/design-system");
|
|
1787
1797
|
var import_formik2 = require("formik");
|
|
1788
1798
|
var React5 = __toESM(require("react"));
|
|
1789
1799
|
var import_jsx_runtime22 = require("@emotion/react/jsx-runtime");
|
|
@@ -1843,8 +1853,8 @@ function QuickConnect(props) {
|
|
|
1843
1853
|
};
|
|
1844
1854
|
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { children: [
|
|
1845
1855
|
error ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
|
|
1846
|
-
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1847
|
-
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1856
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system12.ErrorMessage, { message: error }),
|
|
1857
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system12.Button, { buttonType: "destructive", type: "button", onClick: onDisconnect, children: "Clear old/broken settings" })
|
|
1848
1858
|
] }) : null,
|
|
1849
1859
|
state === "qc" || state === "mc" ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ConnectForm, { ...props, state, setState, onConnect }) : /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { children: manifest ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
|
|
1850
1860
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("p", { children: [
|
|
@@ -1867,7 +1877,7 @@ function QuickConnect(props) {
|
|
|
1867
1877
|
")"
|
|
1868
1878
|
] })
|
|
1869
1879
|
] }),
|
|
1870
|
-
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1880
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system12.Button, { buttonType: "destructive", type: "button", onClick: onDisconnect, children: "Disconnect" })
|
|
1871
1881
|
] }) : null })
|
|
1872
1882
|
] });
|
|
1873
1883
|
}
|
|
@@ -1891,7 +1901,7 @@ function ConnectForm({
|
|
|
1891
1901
|
onSubmit: onConnect,
|
|
1892
1902
|
children: ({ setFieldValue, setFieldError, errors: { qc }, isSubmitting }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_formik2.Form, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("fieldset", { css: { display: "flex", flexDirection: "column", gap: "var(--spacing-base)" }, children: state === "qc" ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
|
|
1893
1903
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1894
|
-
|
|
1904
|
+
import_design_system12.Input,
|
|
1895
1905
|
{
|
|
1896
1906
|
placeholder: "Paste Quick Connect Code Here",
|
|
1897
1907
|
caption: "Copy the Quick Connect code after creating an API key in Uniform.",
|
|
@@ -1909,9 +1919,9 @@ function ConnectForm({
|
|
|
1909
1919
|
}
|
|
1910
1920
|
) }),
|
|
1911
1921
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("section", { css: { display: "flex", gap: "var(--spacing-sm)" }, children: [
|
|
1912
|
-
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1922
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system12.Button, { type: "submit", buttonType: "primary", disabled: isSubmitting, children: isSubmitting ? "Verifying..." : "Connect" }),
|
|
1913
1923
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1914
|
-
|
|
1924
|
+
import_design_system12.Button,
|
|
1915
1925
|
{
|
|
1916
1926
|
type: "button",
|
|
1917
1927
|
buttonType: "ghost",
|
|
@@ -1950,9 +1960,9 @@ function ConnectForm({
|
|
|
1950
1960
|
}
|
|
1951
1961
|
) }),
|
|
1952
1962
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("section", { css: { display: "flex", gap: "var(--spacing-sm)" }, children: [
|
|
1953
|
-
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1963
|
+
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system12.Button, { type: "submit", buttonType: "primary", disabled: isSubmitting, children: isSubmitting ? "Verifying..." : "Connect" }),
|
|
1954
1964
|
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1955
|
-
|
|
1965
|
+
import_design_system12.Button,
|
|
1956
1966
|
{
|
|
1957
1967
|
type: "button",
|
|
1958
1968
|
buttonType: "ghost",
|
|
@@ -2099,7 +2109,7 @@ function ContextDevTools(props) {
|
|
|
2099
2109
|
}
|
|
2100
2110
|
};
|
|
2101
2111
|
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(DevToolsSettingsContextProvider, { settings: props.settings, saveSettings: props.saveSettings, children: [
|
|
2102
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2112
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_design_system13.Theme, { disableReset: true, disableGlobalReset: true }),
|
|
2103
2113
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Theme, {}),
|
|
2104
2114
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
2105
2115
|
"div",
|
|
@@ -2254,7 +2264,7 @@ function EmbeddedContextDevTools({ context, initialSettings }) {
|
|
|
2254
2264
|
|
|
2255
2265
|
// src/components/ToggleEmbeddedContextDevTools.tsx
|
|
2256
2266
|
var import_react20 = require("@emotion/react");
|
|
2257
|
-
var
|
|
2267
|
+
var import_design_system14 = require("@uniformdev/design-system");
|
|
2258
2268
|
var React7 = __toESM(require("react"));
|
|
2259
2269
|
var import_react_use4 = require("react-use");
|
|
2260
2270
|
|
|
@@ -2345,7 +2355,7 @@ function ToggleEmbeddedContextDevTools(props) {
|
|
|
2345
2355
|
return null;
|
|
2346
2356
|
}
|
|
2347
2357
|
return contextValue ? /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { children: [
|
|
2348
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2358
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_design_system14.Theme, { disableGlobalReset: true, disableReset: true }),
|
|
2349
2359
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Theme, {}),
|
|
2350
2360
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(EmbedToggleButton, { onClick: () => setDevtoolsOpen((prev) => !prev) }),
|
|
2351
2361
|
devtoolsOpen ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
@@ -2365,10 +2375,10 @@ function ToggleEmbeddedContextDevTools(props) {
|
|
|
2365
2375
|
css: import_react20.css`
|
|
2366
2376
|
padding: var(--spacing-md);
|
|
2367
2377
|
`,
|
|
2368
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
2369
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2378
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_design_system14.Callout, { type: "danger", title: "This functionality is disabled.", children: [
|
|
2379
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_design_system14.Paragraph, { children: "We detected you already use the Uniform Context browser extension. Using both tools is not supported. Please use the functionality of the browser extension instead." }),
|
|
2370
2380
|
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2371
|
-
|
|
2381
|
+
import_design_system14.Button,
|
|
2372
2382
|
{
|
|
2373
2383
|
css: import_react20.css`
|
|
2374
2384
|
margin-top: var(--spacing-md);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/context-devtools",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.68.1-alpha.27+9da5c6b31",
|
|
4
4
|
"description": "Uniform Context developer tools components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@emotion/react": "11.11.1",
|
|
34
|
-
"@uniformdev/context": "19.
|
|
35
|
-
"@uniformdev/design-system": "19.
|
|
34
|
+
"@uniformdev/context": "19.68.1-alpha.27+9da5c6b31",
|
|
35
|
+
"@uniformdev/design-system": "19.68.1-alpha.27+9da5c6b31",
|
|
36
36
|
"formik": "^2.2.9",
|
|
37
37
|
"react-use": "^17.4.0",
|
|
38
38
|
"reakit": "^1.3.11",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "9da5c6b318807a05aa003ceb52317b27f4e1d8cf"
|
|
48
48
|
}
|