@uniformdev/context-devtools 19.1.1-alpha.1 → 19.3.0

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 CHANGED
@@ -1518,7 +1518,7 @@ var Overrides = ({
1518
1518
  {
1519
1519
  title: data.controlGroup ? "In control group" : "No overrides",
1520
1520
  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.",
1521
- buttonGroup: data.controlGroup ? /* @__PURE__ */ jsx19(Button4, { buttonType: "secondary", onClick: toggleControlGroup, children: "Exit control group" }) : null
1521
+ buttonGroup: data.controlGroup ? /* @__PURE__ */ jsx19(Button4, { buttonType: "destructive", onClick: toggleControlGroup, children: "Exit control group" }) : null
1522
1522
  }
1523
1523
  )
1524
1524
  ] }) });
@@ -1810,7 +1810,7 @@ function QuickConnect(props) {
1810
1810
  return /* @__PURE__ */ jsxs13("div", { children: [
1811
1811
  error ? /* @__PURE__ */ jsxs13(Fragment5, { children: [
1812
1812
  /* @__PURE__ */ jsx23(ErrorMessage2, { message: error }),
1813
- /* @__PURE__ */ jsx23(Button8, { buttonType: "secondary", type: "button", onClick: onDisconnect, children: "Clear old/broken settings" })
1813
+ /* @__PURE__ */ jsx23(Button8, { buttonType: "destructive", type: "button", onClick: onDisconnect, children: "Clear old/broken settings" })
1814
1814
  ] }) : null,
1815
1815
  state === "qc" || state === "mc" ? /* @__PURE__ */ jsx23(ConnectForm, { ...props, state, setState, onConnect }) : /* @__PURE__ */ jsx23("div", { children: manifest ? /* @__PURE__ */ jsxs13(Fragment5, { children: [
1816
1816
  /* @__PURE__ */ jsxs13("p", { children: [
@@ -1833,7 +1833,7 @@ function QuickConnect(props) {
1833
1833
  ")"
1834
1834
  ] })
1835
1835
  ] }),
1836
- /* @__PURE__ */ jsx23(Button8, { buttonType: "secondary", type: "button", onClick: onDisconnect, children: "Disconnect" })
1836
+ /* @__PURE__ */ jsx23(Button8, { buttonType: "destructive", type: "button", onClick: onDisconnect, children: "Disconnect" })
1837
1837
  ] }) : null })
1838
1838
  ] });
1839
1839
  }
@@ -2342,7 +2342,7 @@ function ToggleEmbeddedContextDevTools(props) {
2342
2342
  css: css14`
2343
2343
  margin-top: var(--spacing-md);
2344
2344
  `,
2345
- buttonType: "secondary",
2345
+ buttonType: "destructive",
2346
2346
  onClick: () => setUniformInlineDevtoolsDisabled(true),
2347
2347
  children: "Disabled inline tools"
2348
2348
  }
package/dist/index.js CHANGED
@@ -1552,7 +1552,7 @@ var Overrides = ({
1552
1552
  {
1553
1553
  title: data.controlGroup ? "In control group" : "No overrides",
1554
1554
  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)(import_design_system8.Button, { buttonType: "secondary", onClick: toggleControlGroup, children: "Exit control group" }) : null
1555
+ buttonGroup: data.controlGroup ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_design_system8.Button, { buttonType: "destructive", onClick: toggleControlGroup, children: "Exit control group" }) : null
1556
1556
  }
1557
1557
  )
1558
1558
  ] }) });
@@ -1844,7 +1844,7 @@ function QuickConnect(props) {
1844
1844
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { children: [
1845
1845
  error ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
1846
1846
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system13.ErrorMessage, { message: error }),
1847
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system13.Button, { buttonType: "secondary", type: "button", onClick: onDisconnect, children: "Clear old/broken settings" })
1847
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system13.Button, { buttonType: "destructive", type: "button", onClick: onDisconnect, children: "Clear old/broken settings" })
1848
1848
  ] }) : null,
1849
1849
  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
1850
  /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("p", { children: [
@@ -1867,7 +1867,7 @@ function QuickConnect(props) {
1867
1867
  ")"
1868
1868
  ] })
1869
1869
  ] }),
1870
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system13.Button, { buttonType: "secondary", type: "button", onClick: onDisconnect, children: "Disconnect" })
1870
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_design_system13.Button, { buttonType: "destructive", type: "button", onClick: onDisconnect, children: "Disconnect" })
1871
1871
  ] }) : null })
1872
1872
  ] });
1873
1873
  }
@@ -2373,7 +2373,7 @@ function ToggleEmbeddedContextDevTools(props) {
2373
2373
  css: import_react20.css`
2374
2374
  margin-top: var(--spacing-md);
2375
2375
  `,
2376
- buttonType: "secondary",
2376
+ buttonType: "destructive",
2377
2377
  onClick: () => setUniformInlineDevtoolsDisabled(true),
2378
2378
  children: "Disabled inline tools"
2379
2379
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/context-devtools",
3
- "version": "19.1.1-alpha.1+3ec68fe9d",
3
+ "version": "19.3.0",
4
4
  "description": "Uniform Context developer tools components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/chrome": "0.0.224",
25
- "@types/react": "18.0.37",
25
+ "@types/react": "18.2.0",
26
26
  "autoprefixer": "10.4.14",
27
27
  "postcss": "8.4.23",
28
28
  "react": "18.2.0",
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@emotion/react": "11.10.5",
34
- "@uniformdev/context": "19.1.1-alpha.1+3ec68fe9d",
35
- "@uniformdev/design-system": "19.1.1-alpha.1+3ec68fe9d",
34
+ "@uniformdev/context": "19.3.0",
35
+ "@uniformdev/design-system": "19.3.0",
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": "3ec68fe9d54c7128e57cc8a5c8116fe968f65865"
47
+ "gitHead": "57552ffe10ca66f905d8908c82dde39935fb1803"
48
48
  }