@uniformdev/design-system 19.30.1-alpha.5 → 19.34.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
@@ -14795,12 +14795,17 @@ var Tile = css62`
14795
14795
  &:focus {
14796
14796
  background: var(--gray-50);
14797
14797
  }
14798
+
14799
+ &[aria-disabled='true'],
14800
+ &:disabled {
14801
+ pointer-events: none;
14802
+ }
14798
14803
  `;
14799
14804
 
14800
14805
  // src/components/Tiles/Tile.tsx
14801
14806
  import { jsx as jsx75 } from "@emotion/react/jsx-runtime";
14802
- var Tile2 = ({ children, ...props }) => {
14803
- return /* @__PURE__ */ jsx75("button", { type: "button", css: Tile, ...props, children });
14807
+ var Tile2 = ({ children, disabled, ...props }) => {
14808
+ return /* @__PURE__ */ jsx75("button", { type: "button", css: Tile, disabled, ...props, children });
14804
14809
  };
14805
14810
 
14806
14811
  // src/components/Tiles/styles/TileContainer.styles.ts
package/dist/index.d.ts CHANGED
@@ -22022,8 +22022,9 @@ declare const ResolveIcon: ({ icon, name, styleType, ...props }: ResolveIconProp
22022
22022
 
22023
22023
  type TileProps = {
22024
22024
  children: ReactNode;
22025
+ disabled?: boolean;
22025
22026
  } & HtmlHTMLAttributes<HTMLButtonElement>;
22026
- declare const Tile: ({ children, ...props }: TileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22027
+ declare const Tile: ({ children, disabled, ...props }: TileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
22027
22028
 
22028
22029
  type TileContainerProps = React$1.HtmlHTMLAttributes<HTMLDivElement> & {
22029
22030
  /** sets the background colour of the outter container
package/dist/index.js CHANGED
@@ -15023,12 +15023,17 @@ var Tile = import_react77.css`
15023
15023
  &:focus {
15024
15024
  background: var(--gray-50);
15025
15025
  }
15026
+
15027
+ &[aria-disabled='true'],
15028
+ &:disabled {
15029
+ pointer-events: none;
15030
+ }
15026
15031
  `;
15027
15032
 
15028
15033
  // src/components/Tiles/Tile.tsx
15029
15034
  var import_jsx_runtime74 = require("@emotion/react/jsx-runtime");
15030
- var Tile2 = ({ children, ...props }) => {
15031
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("button", { type: "button", css: Tile, ...props, children });
15035
+ var Tile2 = ({ children, disabled, ...props }) => {
15036
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("button", { type: "button", css: Tile, disabled, ...props, children });
15032
15037
  };
15033
15038
 
15034
15039
  // src/components/Tiles/styles/TileContainer.styles.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.30.1-alpha.5+2a53a5820",
3
+ "version": "19.34.0",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "@storybook/react": "6.5.16",
25
25
  "@types/react": "18.2.7",
26
26
  "@types/react-dom": "18.2.4",
27
- "@uniformdev/canvas": "^19.30.1-alpha.5+2a53a5820",
28
- "@uniformdev/richtext": "^19.30.1-alpha.5+2a53a5820",
27
+ "@uniformdev/canvas": "^19.34.0",
28
+ "@uniformdev/richtext": "^19.34.0",
29
29
  "autoprefixer": "10.4.14",
30
30
  "hygen": "6.2.11",
31
31
  "postcss": "8.4.24",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "2a53a5820c0343ca6bc8d883ed6737717afba488"
71
+ "gitHead": "303a002356452a5fc312cd384a67977545a4e888"
72
72
  }