@sebgroup/green-react 2.4.0 → 2.5.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.
package/index.esm.js
CHANGED
|
@@ -98,8 +98,9 @@ var global$k =
|
|
|
98
98
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
99
99
|
check(typeof self == 'object' && self) ||
|
|
100
100
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
101
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
101
102
|
// eslint-disable-next-line no-new-func -- fallback
|
|
102
|
-
(function () { return this; })() ||
|
|
103
|
+
(function () { return this; })() || Function('return this')();
|
|
103
104
|
|
|
104
105
|
var shared$3 = {exports: {}};
|
|
105
106
|
|
|
@@ -129,10 +130,10 @@ var store$2 = sharedStore;
|
|
|
129
130
|
(shared$3.exports = function (key, value) {
|
|
130
131
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
131
132
|
})('versions', []).push({
|
|
132
|
-
version: '3.33.
|
|
133
|
+
version: '3.33.3',
|
|
133
134
|
mode: 'global',
|
|
134
135
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
|
135
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.33.
|
|
136
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
|
|
136
137
|
source: 'https://github.com/zloirock/core-js'
|
|
137
138
|
});
|
|
138
139
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebgroup/green-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "^17 || ^18",
|
|
6
6
|
"react-dom": "^17 || ^18"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@sebgroup/green-core": "^1.
|
|
10
|
-
"@sebgroup/chlorophyll": "^2.2.
|
|
9
|
+
"@sebgroup/green-core": "^1.2.3",
|
|
10
|
+
"@sebgroup/chlorophyll": "^2.2.2",
|
|
11
11
|
"@sebgroup/extract": "^2.1.0",
|
|
12
12
|
"classnames": "^2.3.2"
|
|
13
13
|
},
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GdsContextMenu, GdsMenuItem } from '@sebgroup/green-core';
|
|
2
|
+
export declare const ContextMenu: import("@lit/react").ReactWebComponent<GdsContextMenu, {
|
|
3
|
+
onMenuItemClick: string;
|
|
4
|
+
onUiStateChange: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const MenuItem: import("@lit/react").ReactWebComponent<GdsMenuItem, {
|
|
7
|
+
onMenuItemClick: string;
|
|
8
|
+
}>;
|
|
@@ -38,10 +38,10 @@ export interface DropdownOption {
|
|
|
38
38
|
selected?: boolean;
|
|
39
39
|
[key: string]: any;
|
|
40
40
|
}
|
|
41
|
-
export declare const CoreDropdown: import("@lit
|
|
41
|
+
export declare const CoreDropdown: import("@lit/react").ReactWebComponent<GdsDropdown<any>, {
|
|
42
42
|
onchange: string;
|
|
43
43
|
}>;
|
|
44
|
-
export declare const CoreOption: import("@lit
|
|
44
|
+
export declare const CoreOption: import("@lit/react").ReactWebComponent<GdsOption, {}>;
|
|
45
45
|
export interface DropdownProps extends DropdownArgs {
|
|
46
46
|
onChange?: OnChange;
|
|
47
47
|
}
|