@uniformdev/design-system 19.61.1 → 19.62.1-alpha.9

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
@@ -562,7 +562,7 @@ var buttonGhostUnimportant = css`
562
562
  color: var(--gray-400);
563
563
  }
564
564
 
565
- ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--gray-500)" })}
565
+ ${buttonRippleEffect({ hoverColor: "var(--brand-secondary-2)", activeColor: "var(--gray-100)" })}
566
566
  `;
567
567
 
568
568
  // src/components/Input/styles/Inputs.styles.ts
@@ -19356,8 +19356,9 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
19356
19356
  var _a;
19357
19357
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
19358
19358
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
19359
- if (useHashForState && typeof window !== "undefined") {
19360
- window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
19359
+ if (useHashForState && typeof window !== "undefined" && window.history) {
19360
+ const hashValue = selectedValueWithoutNull ? `#${selectedValueWithoutNull}` : "";
19361
+ window.history.pushState(null, "", hashValue);
19361
19362
  }
19362
19363
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
19363
19364
  useEffect15(() => {
@@ -19430,11 +19431,11 @@ var StatusError = css94`
19430
19431
  &:before {
19431
19432
  /* TODO: replace this with an svg icon */
19432
19433
  background: linear-gradient(
19433
- 120deg,
19434
- var(--error) 45%,
19435
- var(--white) 46%,
19436
- var(--white) 54%,
19437
- var(--error) 55%
19434
+ 133deg,
19435
+ var(--error) 41%,
19436
+ var(--white) 42%,
19437
+ var(--white) 58%,
19438
+ var(--error) 59%
19438
19439
  );
19439
19440
  }
19440
19441
  `;
@@ -19448,6 +19449,11 @@ var StatusOrphan = css94`
19448
19449
  background: var(--brand-secondary-5);
19449
19450
  }
19450
19451
  `;
19452
+ var StatusUnknown = css94`
19453
+ &:before {
19454
+ background: var(--brand-secondary-1);
19455
+ }
19456
+ `;
19451
19457
 
19452
19458
  // src/components/Validation/StatusBullet.tsx
19453
19459
  import { jsx as jsx115 } from "@emotion/react/jsx-runtime";
@@ -19465,7 +19471,8 @@ var StatusBullet = ({
19465
19471
  Orphan: StatusOrphan,
19466
19472
  Published: StatusPublished,
19467
19473
  Draft: StatusDraft,
19468
- Previous: StatusDraft
19474
+ Previous: StatusDraft,
19475
+ Unknown: StatusUnknown
19469
19476
  };
19470
19477
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
19471
19478
  return /* @__PURE__ */ jsx115(
package/dist/index.d.mts CHANGED
@@ -23168,7 +23168,7 @@ type ParagraphProps = {
23168
23168
  */
23169
23169
  declare const Paragraph: ({ className, htmlContent, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23170
23170
 
23171
- type StatusTypeProps = 'Modified' | 'Unsaved' | 'Error' | 'Draft' | 'Published' | 'Orphan' | 'Previous';
23171
+ type StatusTypeProps = 'Modified' | 'Unsaved' | 'Error' | 'Draft' | 'Published' | 'Orphan' | 'Previous' | 'Unknown';
23172
23172
  type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
23173
23173
  /** sets the current status */
23174
23174
  status: StatusTypeProps;
package/dist/index.d.ts CHANGED
@@ -23168,7 +23168,7 @@ type ParagraphProps = {
23168
23168
  */
23169
23169
  declare const Paragraph: ({ className, htmlContent, children, ...pAttributes }: ParagraphProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
23170
23170
 
23171
- type StatusTypeProps = 'Modified' | 'Unsaved' | 'Error' | 'Draft' | 'Published' | 'Orphan' | 'Previous';
23171
+ type StatusTypeProps = 'Modified' | 'Unsaved' | 'Error' | 'Draft' | 'Published' | 'Orphan' | 'Previous' | 'Unknown';
23172
23172
  type StatusBulletProps = React$1.HTMLAttributes<HTMLSpanElement> & {
23173
23173
  /** sets the current status */
23174
23174
  status: StatusTypeProps;
package/dist/index.js CHANGED
@@ -2138,7 +2138,7 @@ var buttonGhostUnimportant = import_react3.css`
2138
2138
  color: var(--gray-400);
2139
2139
  }
2140
2140
 
2141
- ${buttonRippleEffect({ hoverColor: "var(--white)", activeColor: "var(--gray-500)" })}
2141
+ ${buttonRippleEffect({ hoverColor: "var(--brand-secondary-2)", activeColor: "var(--gray-100)" })}
2142
2142
  `;
2143
2143
 
2144
2144
  // src/components/Input/styles/Inputs.styles.ts
@@ -21161,8 +21161,9 @@ var Tabs = ({ children, onSelectedIdChange, useHashForState, selectedId, ...prop
21161
21161
  var _a;
21162
21162
  const selectedValueWithoutNull = (_a = tab.selectedId) != null ? _a : void 0;
21163
21163
  onSelectedIdChange == null ? void 0 : onSelectedIdChange(selectedValueWithoutNull);
21164
- if (useHashForState && typeof window !== "undefined") {
21165
- window.location.hash = selectedValueWithoutNull != null ? selectedValueWithoutNull : "";
21164
+ if (useHashForState && typeof window !== "undefined" && window.history) {
21165
+ const hashValue = selectedValueWithoutNull ? `#${selectedValueWithoutNull}` : "";
21166
+ window.history.pushState(null, "", hashValue);
21166
21167
  }
21167
21168
  }, [tab.selectedId, onSelectedIdChange, useHashForState]);
21168
21169
  (0, import_react134.useEffect)(() => {
@@ -21239,11 +21240,11 @@ var StatusError = import_react135.css`
21239
21240
  &:before {
21240
21241
  /* TODO: replace this with an svg icon */
21241
21242
  background: linear-gradient(
21242
- 120deg,
21243
- var(--error) 45%,
21244
- var(--white) 46%,
21245
- var(--white) 54%,
21246
- var(--error) 55%
21243
+ 133deg,
21244
+ var(--error) 41%,
21245
+ var(--white) 42%,
21246
+ var(--white) 58%,
21247
+ var(--error) 59%
21247
21248
  );
21248
21249
  }
21249
21250
  `;
@@ -21257,6 +21258,11 @@ var StatusOrphan = import_react135.css`
21257
21258
  background: var(--brand-secondary-5);
21258
21259
  }
21259
21260
  `;
21261
+ var StatusUnknown = import_react135.css`
21262
+ &:before {
21263
+ background: var(--brand-secondary-1);
21264
+ }
21265
+ `;
21260
21266
 
21261
21267
  // src/components/Validation/StatusBullet.tsx
21262
21268
  var import_jsx_runtime115 = require("@emotion/react/jsx-runtime");
@@ -21274,7 +21280,8 @@ var StatusBullet = ({
21274
21280
  Orphan: StatusOrphan,
21275
21281
  Published: StatusPublished,
21276
21282
  Draft: StatusDraft,
21277
- Previous: StatusDraft
21283
+ Previous: StatusDraft,
21284
+ Unknown: StatusUnknown
21278
21285
  };
21279
21286
  const statusSize = size === "base" ? StatusBulletBase : StatusBulletSmall;
21280
21287
  return /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.61.1",
3
+ "version": "19.62.1-alpha.9+0d26126b8",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -23,8 +23,8 @@
23
23
  "@storybook/react": "6.5.16",
24
24
  "@types/react": "18.2.21",
25
25
  "@types/react-dom": "18.2.7",
26
- "@uniformdev/canvas": "^19.61.1",
27
- "@uniformdev/richtext": "^19.61.1",
26
+ "@uniformdev/canvas": "^19.62.1-alpha.9+0d26126b8",
27
+ "@uniformdev/richtext": "^19.62.1-alpha.9+0d26126b8",
28
28
  "autoprefixer": "10.4.16",
29
29
  "hygen": "6.2.11",
30
30
  "postcss": "8.4.31",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "01ed7d10fd66f65c79caa4cf87a22080b3d7942b"
68
+ "gitHead": "0d26126b85eaff4639e87677b802bd8cb5e4a1c4"
69
69
  }