@worknice/whiteboard 0.11.3 → 0.12.1

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.
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from "react";
2
+ type Props = {
3
+ children: ReactNode;
4
+ };
5
+ declare const EmptyState: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ export default EmptyState;
@@ -0,0 +1,8 @@
1
+ import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
+ import * as __WEBPACK_EXTERNAL_MODULE__EmptyState_module_js_3b752309__ from "./EmptyState.module.js";
3
+ const EmptyState = ({ children })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
4
+ className: __WEBPACK_EXTERNAL_MODULE__EmptyState_module_js_3b752309__["default"].container,
5
+ children: children
6
+ });
7
+ const EmptyState_rslib_entry_ = EmptyState;
8
+ export { EmptyState_rslib_entry_ as default };
@@ -0,0 +1,5 @@
1
+ import "./EmptyState_module.css";
2
+ const EmptyState_module_rslib_entry_ = {
3
+ container: "container-M1KbKr"
4
+ };
5
+ export { EmptyState_module_rslib_entry_ as default };
@@ -0,0 +1,9 @@
1
+ .container-M1KbKr {
2
+ border-radius: var(--size-n2);
3
+ border: 1px solid var(--color-grey-t08);
4
+ padding: var(--size-00);
5
+ text-align: center;
6
+ place-content: center;
7
+ display: grid;
8
+ }
9
+
@@ -17,7 +17,7 @@ const IconBadge = ({ symbol, id, color = "grey" })=>/*#__PURE__*/ (0, __WEBPACK_
17
17
  }),
18
18
  children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Icon_js_0d271bb6__["default"], {
19
19
  symbol: symbol,
20
- size: "small"
20
+ size: "default"
21
21
  })
22
22
  });
23
23
  const IconBadge_rslib_entry_ = IconBadge;
@@ -1,9 +1,11 @@
1
1
  .badge-ZsC2nL {
2
2
  border-radius: var(--size-n3);
3
- width: var(--size-p3);
4
- height: var(--size-p3);
3
+ padding: var(--size-n1);
4
+ box-sizing: content-box;
5
5
  justify-content: center;
6
6
  align-items: center;
7
+ width: 20px;
8
+ height: 20px;
7
9
  display: flex;
8
10
  }
9
11
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@worknice/whiteboard",
3
3
  "description": "",
4
- "version": "0.11.3",
4
+ "version": "0.12.1",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "files": [
@@ -38,7 +38,7 @@
38
38
  "react-markdown": "^10.1.0",
39
39
  "utf8": "^3.0.0",
40
40
  "zod": "^3.22.3",
41
- "@worknice/utils": "^0.6.22"
41
+ "@worknice/utils": "^0.6.24"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@anolilab/semantic-release-pnpm": "^1.1.10",