@sebgroup/green-react 3.5.0 → 3.5.2
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 +16 -0
- package/package.json +2 -2
- package/src/lib/list/valueList.d.ts +16 -0
package/index.esm.js
CHANGED
|
@@ -4508,6 +4508,10 @@ const List$1 = _a => {
|
|
|
4508
4508
|
}
|
|
4509
4509
|
};
|
|
4510
4510
|
|
|
4511
|
+
/**
|
|
4512
|
+
* @deprecated
|
|
4513
|
+
* Use `GroupedList` instead.
|
|
4514
|
+
*/
|
|
4511
4515
|
const Label = ({
|
|
4512
4516
|
children
|
|
4513
4517
|
}) => {
|
|
@@ -4515,6 +4519,10 @@ const Label = ({
|
|
|
4515
4519
|
children: children
|
|
4516
4520
|
});
|
|
4517
4521
|
};
|
|
4522
|
+
/**
|
|
4523
|
+
* @deprecated
|
|
4524
|
+
* Use `GroupedList` instead.
|
|
4525
|
+
*/
|
|
4518
4526
|
const Value = ({
|
|
4519
4527
|
children
|
|
4520
4528
|
}) => {
|
|
@@ -4522,6 +4530,10 @@ const Value = ({
|
|
|
4522
4530
|
children: children
|
|
4523
4531
|
});
|
|
4524
4532
|
};
|
|
4533
|
+
/**
|
|
4534
|
+
* @deprecated
|
|
4535
|
+
* Use `GroupedList` instead.
|
|
4536
|
+
*/
|
|
4525
4537
|
const List = ({
|
|
4526
4538
|
children,
|
|
4527
4539
|
inverted
|
|
@@ -4534,6 +4546,10 @@ const List = ({
|
|
|
4534
4546
|
children: children
|
|
4535
4547
|
}));
|
|
4536
4548
|
};
|
|
4549
|
+
/**
|
|
4550
|
+
* @deprecated
|
|
4551
|
+
* Use `GroupedList` instead.
|
|
4552
|
+
*/
|
|
4537
4553
|
var valueList = {
|
|
4538
4554
|
List,
|
|
4539
4555
|
Label,
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebgroup/green-react",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "^17 || ^18",
|
|
6
6
|
"react-dom": "^17 || ^18"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@sebgroup/green-core": "^1.
|
|
9
|
+
"@sebgroup/green-core": "^1.11.0",
|
|
10
10
|
"@sebgroup/chlorophyll": "^3.1.1",
|
|
11
11
|
"@sebgroup/extract": "^3.0.1",
|
|
12
12
|
"@lit/react": "^1.0.2",
|
|
@@ -6,9 +6,25 @@ interface ValueListProps {
|
|
|
6
6
|
interface ValueListItemProps {
|
|
7
7
|
children: string;
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated
|
|
11
|
+
* Use `GroupedList` instead.
|
|
12
|
+
*/
|
|
9
13
|
export declare const Label: ({ children }: ValueListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated
|
|
16
|
+
* Use `GroupedList` instead.
|
|
17
|
+
*/
|
|
10
18
|
export declare const Value: ({ children }: ValueListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated
|
|
21
|
+
* Use `GroupedList` instead.
|
|
22
|
+
*/
|
|
11
23
|
export declare const List: ({ children, inverted }: ValueListProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated
|
|
26
|
+
* Use `GroupedList` instead.
|
|
27
|
+
*/
|
|
12
28
|
declare const _default: {
|
|
13
29
|
List: ({ children, inverted }: ValueListProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
30
|
Label: ({ children }: ValueListItemProps) => import("react/jsx-runtime").JSX.Element;
|