@uniformdev/design-system 19.87.0 → 19.88.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
@@ -16316,6 +16316,9 @@ var Modal = React19.forwardRef(
16316
16316
  style: { width, height: height === "auto" ? "min-content" : height },
16317
16317
  "data-testid": "side-dialog",
16318
16318
  onClick: onRequestClose,
16319
+ onCancel: (e) => {
16320
+ e.preventDefault();
16321
+ },
16319
16322
  ...modalProps,
16320
16323
  children: /* @__PURE__ */ jsxs59("div", { css: modalInnerStyles, onClick: (e) => e.stopPropagation(), children: [
16321
16324
  /* @__PURE__ */ jsxs59("div", { css: modalHeaderStyles, children: [
package/dist/index.d.mts CHANGED
@@ -74,7 +74,7 @@ declare const supports: (cssProp: string) => string;
74
74
  * @function
75
75
  * @param {string} size - The responsive breakpoint value
76
76
  * @returns {string} - compiled container query e.g. @container (min-width: 640px)
77
- * @example `${cq('300px`)} { background: red; }`
77
+ * @example `${cq('300px')} { background: red; }`
78
78
  */
79
79
  declare const cq: (size: string) => string;
80
80
 
package/dist/index.d.ts CHANGED
@@ -74,7 +74,7 @@ declare const supports: (cssProp: string) => string;
74
74
  * @function
75
75
  * @param {string} size - The responsive breakpoint value
76
76
  * @returns {string} - compiled container query e.g. @container (min-width: 640px)
77
- * @example `${cq('300px`)} { background: red; }`
77
+ * @example `${cq('300px')} { background: red; }`
78
78
  */
79
79
  declare const cq: (size: string) => string;
80
80
 
package/dist/index.js CHANGED
@@ -18110,6 +18110,9 @@ var Modal = import_react99.default.forwardRef(
18110
18110
  style: { width, height: height === "auto" ? "min-content" : height },
18111
18111
  "data-testid": "side-dialog",
18112
18112
  onClick: onRequestClose,
18113
+ onCancel: (e) => {
18114
+ e.preventDefault();
18115
+ },
18113
18116
  ...modalProps,
18114
18117
  children: /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { css: modalInnerStyles, onClick: (e) => e.stopPropagation(), children: [
18115
18118
  /* @__PURE__ */ (0, import_jsx_runtime89.jsxs)("div", { css: modalHeaderStyles, children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.87.0",
3
+ "version": "19.88.0",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -23,11 +23,11 @@
23
23
  "@storybook/react": "6.5.16",
24
24
  "@types/react": "18.2.40",
25
25
  "@types/react-dom": "18.2.17",
26
- "@uniformdev/canvas": "^19.87.0",
27
- "@uniformdev/richtext": "^19.87.0",
26
+ "@uniformdev/canvas": "^19.88.0",
27
+ "@uniformdev/richtext": "^19.88.0",
28
28
  "autoprefixer": "10.4.16",
29
29
  "hygen": "6.2.11",
30
- "postcss": "8.4.31",
30
+ "postcss": "8.4.32",
31
31
  "react": "18.2.0",
32
32
  "react-dom": "18.2.0",
33
33
  "tsup": "8.0.1"
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "596b9c4afbabb8579dd0e6c80690df135d6c55fc"
70
+ "gitHead": "0a02f919a6b0f0c41307f120adada2e5d45a947b"
71
71
  }