@worknice/whiteboard 0.4.7-rc.2 → 0.5.0-rc.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.
@@ -3,5 +3,5 @@ import { type ComponentProps, type ReactNode } from "react";
3
3
  type Props = ComponentProps<typeof Button> & {
4
4
  render: (onClose: () => void) => ReactNode;
5
5
  };
6
- declare const Disclosure: ({ render, children, disabled, icon, id, size, title, type, }: Omit<Props, "onClick">) => import("react/jsx-runtime").JSX.Element;
6
+ declare const Disclosure: ({ render, children, disabled, icon, id, size, title, tooltip, type, }: Omit<Props, "onClick">) => import("react/jsx-runtime").JSX.Element;
7
7
  export default Disclosure;
@@ -1,12 +1,13 @@
1
1
  import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
2
2
  import * as __WEBPACK_EXTERNAL_MODULE__Button_js_17bdd71d__ from "./Button.js";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
4
- const Disclosure = ({ render, children, disabled, icon, id, size, title, type = "secondary" })=>{
4
+ const Disclosure = ({ render, children, disabled, icon, id, size, title, tooltip, type = "secondary" })=>{
5
5
  const [open, setOpen] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
6
6
  return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
7
7
  children: [
8
8
  /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Button_js_17bdd71d__["default"], {
9
9
  size: size,
10
+ tooltip: tooltip,
10
11
  type: type,
11
12
  title: title,
12
13
  disabled: disabled,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@worknice/whiteboard",
3
3
  "description": "",
4
- "version": "0.4.7-rc.2",
4
+ "version": "0.5.0-rc.1",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "files": [
@@ -37,7 +37,7 @@
37
37
  "js-search": "^2.0.0",
38
38
  "utf8": "^3.0.0",
39
39
  "zod": "^3.22.3",
40
- "@worknice/utils": "^0.3.17-rc.2"
40
+ "@worknice/utils": "^0.3.17-rc.3"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@anolilab/semantic-release-pnpm": "^1.1.10",