@ozen-ui/kit 0.84.4 → 0.84.5
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/__inner__/cjs/components/Container/__sands__/__shared__/style.css +7 -0
- package/__inner__/cjs/components/Drawer/__sands__/__shared__/UserInfo.css +21 -0
- package/__inner__/cjs/components/FileIcon/FileIcon.js +1 -1
- package/__inner__/esm/components/Container/__sands__/__shared__/style.css +7 -0
- package/__inner__/esm/components/Drawer/__sands__/__shared__/UserInfo.css +21 -0
- package/__inner__/esm/components/FileIcon/FileIcon.js +2 -2
- package/package.json +4 -4
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.UserInfo {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
max-inline-size: 400px;
|
|
5
|
+
margin-block-end: var(--spacing-m);
|
|
6
|
+
padding: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.UserInfo-Heading {
|
|
10
|
+
padding: var(--spacing-s);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.UserInfo-Field {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
padding: var(--spacing-s);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.UserInfo-Field span {
|
|
20
|
+
color: var(--color-content-secondary);
|
|
21
|
+
}
|
|
@@ -24,7 +24,7 @@ exports.FileIcon = (0, polymorphicComponentWithRef_1.polymorphicComponentWithRef
|
|
|
24
24
|
return react_1.default.createElement(Loader_1.Loader, { color: "currentcolor", size: iconSize });
|
|
25
25
|
}
|
|
26
26
|
if (status === 'error') {
|
|
27
|
-
return react_1.default.createElement(icons_1.
|
|
27
|
+
return react_1.default.createElement(icons_1.WarningCircleIcon, { size: iconSize });
|
|
28
28
|
}
|
|
29
29
|
if (status === 'unknown') {
|
|
30
30
|
return react_1.default.createElement(icons_1.QuestionCircleIcon, { size: iconSize });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.UserInfo {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
max-inline-size: 400px;
|
|
5
|
+
margin-block-end: var(--spacing-m);
|
|
6
|
+
padding: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.UserInfo-Heading {
|
|
10
|
+
padding: var(--spacing-s);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.UserInfo-Field {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
padding: var(--spacing-s);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.UserInfo-Field span {
|
|
20
|
+
color: var(--color-content-secondary);
|
|
21
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign, __rest } from "tslib";
|
|
2
2
|
import './FileIcon.css';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { QuestionCircleIcon,
|
|
4
|
+
import { QuestionCircleIcon, WarningCircleIcon } from '@ozen-ui/icons';
|
|
5
5
|
import { useThemeProps } from '../../hooks/useThemeProps';
|
|
6
6
|
import { cn } from '../../utils/classname';
|
|
7
7
|
import { polymorphicComponentWithRef } from '../../utils/polymorphicComponentWithRef';
|
|
@@ -21,7 +21,7 @@ export var FileIcon = polymorphicComponentWithRef(function (inProps, ref) {
|
|
|
21
21
|
return React.createElement(Loader, { color: "currentcolor", size: iconSize });
|
|
22
22
|
}
|
|
23
23
|
if (status === 'error') {
|
|
24
|
-
return React.createElement(
|
|
24
|
+
return React.createElement(WarningCircleIcon, { size: iconSize });
|
|
25
25
|
}
|
|
26
26
|
if (status === 'unknown') {
|
|
27
27
|
return React.createElement(QuestionCircleIcon, { size: iconSize });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ozen-ui/kit",
|
|
3
|
-
"version": "0.84.
|
|
3
|
+
"version": "0.84.5",
|
|
4
4
|
"description": "React component library",
|
|
5
5
|
"files": [
|
|
6
6
|
"*"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"react-popper": "^2.3.0",
|
|
30
30
|
"react-transition-group": "^4.4.5",
|
|
31
31
|
"tslib": "^2.6.3",
|
|
32
|
-
"@ozen-ui/fonts": "0.84.
|
|
33
|
-
"@ozen-ui/logger": "0.84.
|
|
34
|
-
"@ozen-ui/icons": "0.84.
|
|
32
|
+
"@ozen-ui/fonts": "0.84.5",
|
|
33
|
+
"@ozen-ui/logger": "0.84.5",
|
|
34
|
+
"@ozen-ui/icons": "0.84.5"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/lodash.isequal": "^4.5.0"
|