microboard-ui-temp 0.7.1 → 0.8.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.
@@ -4,6 +4,7 @@ type Props = {
4
4
  currentValue?: unknown;
5
5
  id?: string;
6
6
  role?: "background" | "foreground";
7
+ variant?: "circle" | "square";
7
8
  };
8
- export declare function SemanticColorPicker({ onPick, currentValue, id, role, }: Props): React.ReactElement;
9
+ export declare function SemanticColorPicker({ onPick, currentValue, id, role, variant, }: Props): React.ReactElement;
9
10
  export {};
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ type Props = {
3
+ color: string;
4
+ selected: boolean;
5
+ onPick: (color: string) => void;
6
+ id?: string;
7
+ tooltip?: string;
8
+ };
9
+ export declare function SquareColorItem({ color, selected, onPick, id, tooltip, }: Props): React.ReactElement;
10
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-ui-temp",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",
@@ -79,7 +79,7 @@
79
79
  "i18next-browser-languagedetector": "^8.2.0",
80
80
  "js-cookie": "^3.0.5",
81
81
  "jwt-decode": "^4.0.0",
82
- "microboard-temp": "0.9.0",
82
+ "microboard-temp": "0.10.0",
83
83
  "nanoid": "^5.1.5",
84
84
  "prop-types": "^15.8.1",
85
85
  "react-hot-toast": "2.4.1",