@factorearth/component-library 4.6.13-alpha.0 → 4.6.14
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,13 +4,13 @@ interface OptionsDropdownProps extends React.DetailedHTMLProps<React.InputHTMLAt
|
|
|
4
4
|
colorPalette: Colors;
|
|
5
5
|
optionsObj: Record<string, Category>;
|
|
6
6
|
}
|
|
7
|
-
type Category = {
|
|
7
|
+
export type Category = {
|
|
8
8
|
icon?: React.JSX.Element;
|
|
9
|
-
options:
|
|
9
|
+
options: DropDownOption[];
|
|
10
10
|
title?: string;
|
|
11
11
|
dataTestId?: string;
|
|
12
12
|
};
|
|
13
|
-
interface
|
|
13
|
+
export interface DropDownOption extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
|
|
14
14
|
name: string;
|
|
15
15
|
onClick: () => void;
|
|
16
16
|
icon?: React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorearth/component-library",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.14",
|
|
4
4
|
"description": " A storybook component library for FactorEarth",
|
|
5
5
|
"author": "madtrx <marlin.makori@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/FactorEarth/RecordMiddleware#readme",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"access": "public",
|
|
47
47
|
"registry": "https://registry.npmjs.org/"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "44382ae94f915611cda6e163da24be2f4b75e60c",
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@emotion/react": "^11.13.0",
|
|
52
52
|
"@emotion/styled": "^11.13.0",
|