@tidbcloud/uikit 2.8.2 → 2.8.4
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/CHANGELOG.md +12 -0
- package/dist/biz/DateTimePicker/index.cjs +2 -10
- package/dist/biz/DateTimePicker/index.mjs +2 -10
- package/dist/icons/index.cjs +3 -0
- package/dist/icons/index.d.cts +4 -0
- package/dist/icons/index.d.mts +4 -0
- package/dist/icons/index.mjs +3 -0
- package/dist/icons/raw/FileSystem.svg +3 -0
- package/dist/icons/react/FileSystem.cjs +52 -0
- package/dist/icons/react/FileSystem.d.cts +3 -0
- package/dist/icons/react/FileSystem.d.mts +3 -0
- package/dist/icons/react/FileSystem.mjs +52 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tidbcloud/uikit
|
|
2
2
|
|
|
3
|
+
## 2.8.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat(icons): add file system icon ([#655](https://github.com/tidbcloud/tidbcloud-uikit/pull/655))
|
|
8
|
+
|
|
9
|
+
## 2.8.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix(uikit): unify DateTimePicker disabled/out-of-month colors ([#652](https://github.com/tidbcloud/tidbcloud-uikit/pull/652))
|
|
14
|
+
|
|
3
15
|
## 2.8.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -152,18 +152,10 @@ const DateTimePicker = ({
|
|
|
152
152
|
styles: (theme) => ({
|
|
153
153
|
day: {
|
|
154
154
|
"&[data-disabled]": {
|
|
155
|
-
color: `${theme.colors.carbon[
|
|
156
|
-
opacity: 1,
|
|
157
|
-
'[data-mantine-color-scheme="dark"] &': {
|
|
158
|
-
color: `${theme.colors.carbon[5]} !important`
|
|
159
|
-
}
|
|
155
|
+
color: `${theme.colors.carbon[5]} !important`
|
|
160
156
|
},
|
|
161
157
|
"&[data-outside]": {
|
|
162
|
-
color: theme.colors.carbon[
|
|
163
|
-
opacity: 1,
|
|
164
|
-
'[data-mantine-color-scheme="dark"] &': {
|
|
165
|
-
color: theme.colors.carbon[7]
|
|
166
|
-
}
|
|
158
|
+
color: `${theme.colors.carbon[7]} !important`
|
|
167
159
|
},
|
|
168
160
|
"&[data-today]:not([data-selected])": {
|
|
169
161
|
border: 0
|
|
@@ -150,18 +150,10 @@ const DateTimePicker = ({
|
|
|
150
150
|
styles: (theme) => ({
|
|
151
151
|
day: {
|
|
152
152
|
"&[data-disabled]": {
|
|
153
|
-
color: `${theme.colors.carbon[
|
|
154
|
-
opacity: 1,
|
|
155
|
-
'[data-mantine-color-scheme="dark"] &': {
|
|
156
|
-
color: `${theme.colors.carbon[5]} !important`
|
|
157
|
-
}
|
|
153
|
+
color: `${theme.colors.carbon[5]} !important`
|
|
158
154
|
},
|
|
159
155
|
"&[data-outside]": {
|
|
160
|
-
color: theme.colors.carbon[
|
|
161
|
-
opacity: 1,
|
|
162
|
-
'[data-mantine-color-scheme="dark"] &': {
|
|
163
|
-
color: theme.colors.carbon[7]
|
|
164
|
-
}
|
|
156
|
+
color: `${theme.colors.carbon[7]} !important`
|
|
165
157
|
},
|
|
166
158
|
"&[data-today]:not([data-selected])": {
|
|
167
159
|
border: 0
|
package/dist/icons/index.cjs
CHANGED
|
@@ -534,6 +534,7 @@ const FileSearch03 = require("./react/FileSearch03.cjs");
|
|
|
534
534
|
const FileShield01 = require("./react/FileShield01.cjs");
|
|
535
535
|
const FileShield02 = require("./react/FileShield02.cjs");
|
|
536
536
|
const FileShield03 = require("./react/FileShield03.cjs");
|
|
537
|
+
const FileSystem = require("./react/FileSystem.cjs");
|
|
537
538
|
const FileX01 = require("./react/FileX01.cjs");
|
|
538
539
|
const FileX02 = require("./react/FileX02.cjs");
|
|
539
540
|
const FileX03 = require("./react/FileX03.cjs");
|
|
@@ -1802,6 +1803,7 @@ const IconFileSearch03 = FileSearch03.default;
|
|
|
1802
1803
|
const IconFileShield01 = FileShield01.default;
|
|
1803
1804
|
const IconFileShield02 = FileShield02.default;
|
|
1804
1805
|
const IconFileShield03 = FileShield03.default;
|
|
1806
|
+
const IconFileSystem = FileSystem.default;
|
|
1805
1807
|
const IconFileX01 = FileX01.default;
|
|
1806
1808
|
const IconFileX02 = FileX02.default;
|
|
1807
1809
|
const IconFileX03 = FileX03.default;
|
|
@@ -3074,6 +3076,7 @@ exports.IconFileSearch03 = IconFileSearch03;
|
|
|
3074
3076
|
exports.IconFileShield01 = IconFileShield01;
|
|
3075
3077
|
exports.IconFileShield02 = IconFileShield02;
|
|
3076
3078
|
exports.IconFileShield03 = IconFileShield03;
|
|
3079
|
+
exports.IconFileSystem = IconFileSystem;
|
|
3077
3080
|
exports.IconFileX01 = IconFileX01;
|
|
3078
3081
|
exports.IconFileX02 = IconFileX02;
|
|
3079
3082
|
exports.IconFileX03 = IconFileX03;
|
package/dist/icons/index.d.cts
CHANGED
|
@@ -2139,6 +2139,10 @@ export declare const IconFileShield02: React.FC<IconProps>;
|
|
|
2139
2139
|
* @preview 
|
|
2140
2140
|
*/
|
|
2141
2141
|
export declare const IconFileShield03: React.FC<IconProps>;
|
|
2142
|
+
/**
|
|
2143
|
+
* @preview 
|
|
2144
|
+
*/
|
|
2145
|
+
export declare const IconFileSystem: React.FC<IconProps>;
|
|
2142
2146
|
/**
|
|
2143
2147
|
* @preview 
|
|
2144
2148
|
*/
|
package/dist/icons/index.d.mts
CHANGED
|
@@ -2139,6 +2139,10 @@ export declare const IconFileShield02: React.FC<IconProps>;
|
|
|
2139
2139
|
* @preview 
|
|
2140
2140
|
*/
|
|
2141
2141
|
export declare const IconFileShield03: React.FC<IconProps>;
|
|
2142
|
+
/**
|
|
2143
|
+
* @preview 
|
|
2144
|
+
*/
|
|
2145
|
+
export declare const IconFileSystem: React.FC<IconProps>;
|
|
2142
2146
|
/**
|
|
2143
2147
|
* @preview 
|
|
2144
2148
|
*/
|
package/dist/icons/index.mjs
CHANGED
|
@@ -532,6 +532,7 @@ import FileSearch03 from "./react/FileSearch03.mjs";
|
|
|
532
532
|
import FileShield01 from "./react/FileShield01.mjs";
|
|
533
533
|
import FileShield02 from "./react/FileShield02.mjs";
|
|
534
534
|
import FileShield03 from "./react/FileShield03.mjs";
|
|
535
|
+
import FileSystem from "./react/FileSystem.mjs";
|
|
535
536
|
import FileX01 from "./react/FileX01.mjs";
|
|
536
537
|
import FileX02 from "./react/FileX02.mjs";
|
|
537
538
|
import FileX03 from "./react/FileX03.mjs";
|
|
@@ -1800,6 +1801,7 @@ const IconFileSearch03 = FileSearch03;
|
|
|
1800
1801
|
const IconFileShield01 = FileShield01;
|
|
1801
1802
|
const IconFileShield02 = FileShield02;
|
|
1802
1803
|
const IconFileShield03 = FileShield03;
|
|
1804
|
+
const IconFileSystem = FileSystem;
|
|
1803
1805
|
const IconFileX01 = FileX01;
|
|
1804
1806
|
const IconFileX02 = FileX02;
|
|
1805
1807
|
const IconFileX03 = FileX03;
|
|
@@ -3073,6 +3075,7 @@ export {
|
|
|
3073
3075
|
IconFileShield01,
|
|
3074
3076
|
IconFileShield02,
|
|
3075
3077
|
IconFileShield03,
|
|
3078
|
+
IconFileSystem,
|
|
3076
3079
|
IconFileX01,
|
|
3077
3080
|
IconFileX02,
|
|
3078
3081
|
IconFileX03,
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9.86259 11H6.23907M6.03563 15H7.29752M11.7761 7H6.23907M7.38818 22H13.7882C15.4683 22 16.3084 22 16.9502 21.673C17.5146 21.3854 17.9736 20.9265 18.2612 20.362C18.5882 19.7202 18.5882 18.8802 18.5882 17.2V6.8C18.5882 5.11984 18.5882 4.27976 18.2612 3.63803C17.9736 3.07354 17.5146 2.6146 16.9502 2.32698C16.3084 2 15.4683 2 13.7882 2H11.0882M14.0882 22H16.7884C18.4685 22 19.3086 22 19.9503 21.673C20.5148 21.3854 20.9738 20.9265 21.2614 20.362C21.5884 19.7202 21.5884 18.8802 21.5884 17.2V6.8C21.5884 5.11984 21.5884 4.27976 21.2614 3.63803C20.9738 3.07354 20.5148 2.6146 19.9503 2.32698C19.3086 2 18.4685 2 16.7884 2H14.0884M15.603 6.8V17.2C15.603 18.8802 15.603 19.7202 15.2902 20.362C15.015 20.9265 14.5759 21.3854 14.0359 21.673C13.4219 22 12.6182 22 11.0107 22H7.00446C5.39699 22 4.59325 22 3.97928 21.673C3.43921 21.3854 3.00012 20.9265 2.72494 20.362C2.41211 19.7202 2.41211 18.8802 2.41211 17.2V6.8C2.41211 5.11984 2.41211 4.27976 2.72494 3.63803C3.00012 3.07354 3.43921 2.6146 3.97928 2.32698C4.59325 2 5.39699 2 7.00446 2H11.0107C12.6182 2 13.4219 2 14.0359 2.32698C14.5759 2.6146 15.015 3.07354 15.2902 3.63803C15.603 4.27976 15.603 5.11984 15.603 6.8Z" stroke="#383E40" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const Box = require("../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/Box/Box.cjs");
|
|
6
|
+
const IconFileSystem = (props, ref) => {
|
|
7
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8
|
+
"svg",
|
|
9
|
+
{
|
|
10
|
+
width: "1em",
|
|
11
|
+
height: "1em",
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
|
+
fill: "none",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
strokeWidth: "1.5",
|
|
16
|
+
ref,
|
|
17
|
+
...props,
|
|
18
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19
|
+
"path",
|
|
20
|
+
{
|
|
21
|
+
d: "M9.86259 11H6.23907M6.03563 15H7.29752M11.7761 7H6.23907M7.38818 22H13.7882C15.4683 22 16.3084 22 16.9502 21.673C17.5146 21.3854 17.9736 20.9265 18.2612 20.362C18.5882 19.7202 18.5882 18.8802 18.5882 17.2V6.8C18.5882 5.11984 18.5882 4.27976 18.2612 3.63803C17.9736 3.07354 17.5146 2.6146 16.9502 2.32698C16.3084 2 15.4683 2 13.7882 2H11.0882M14.0882 22H16.7884C18.4685 22 19.3086 22 19.9503 21.673C20.5148 21.3854 20.9738 20.9265 21.2614 20.362C21.5884 19.7202 21.5884 18.8802 21.5884 17.2V6.8C21.5884 5.11984 21.5884 4.27976 21.2614 3.63803C20.9738 3.07354 20.5148 2.6146 19.9503 2.32698C19.3086 2 18.4685 2 16.7884 2H14.0884M15.603 6.8V17.2C15.603 18.8802 15.603 19.7202 15.2902 20.362C15.015 20.9265 14.5759 21.3854 14.0359 21.673C13.4219 22 12.6182 22 11.0107 22H7.00446C5.39699 22 4.59325 22 3.97928 21.673C3.43921 21.3854 3.00012 20.9265 2.72494 20.362C2.41211 19.7202 2.41211 18.8802 2.41211 17.2V6.8C2.41211 5.11984 2.41211 4.27976 2.72494 3.63803C3.00012 3.07354 3.43921 2.6146 3.97928 2.32698C4.59325 2 5.39699 2 7.00446 2H11.0107C12.6182 2 13.4219 2 14.0359 2.32698C14.5759 2.6146 15.015 3.07354 15.2902 3.63803C15.603 4.27976 15.603 5.11984 15.603 6.8Z",
|
|
22
|
+
stroke: "currentColor",
|
|
23
|
+
strokeLinecap: "round",
|
|
24
|
+
strokeLinejoin: "round",
|
|
25
|
+
strokeWidth: "inherit"
|
|
26
|
+
}
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
};
|
|
31
|
+
const ForwardRef = React.forwardRef(IconFileSystem);
|
|
32
|
+
const FileSystem = React.forwardRef((props, ref) => {
|
|
33
|
+
if (typeof props.size === "number") {
|
|
34
|
+
const { size, ...rest } = props;
|
|
35
|
+
props = {
|
|
36
|
+
...rest,
|
|
37
|
+
w: size,
|
|
38
|
+
h: size
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
42
|
+
Box.Box,
|
|
43
|
+
{
|
|
44
|
+
ref,
|
|
45
|
+
...props,
|
|
46
|
+
component: ForwardRef,
|
|
47
|
+
className: ["tiui-icon", "FileSystem", props.className].join(" ")
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
});
|
|
51
|
+
FileSystem.displayName = "IconFileSystem";
|
|
52
|
+
exports.default = FileSystem;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { Box } from "../../node_modules/.pnpm/@mantine_core@7.17.8_patch_hash_3qirwkgu3wxhvd6hnr2gb24yzq_@mantine_hooks@7.17.8_react@18.3.1_e5yvlgwhmeykc75dkphi7jou6q/node_modules/@mantine/core/esm/core/Box/Box.mjs";
|
|
4
|
+
const IconFileSystem = (props, ref) => {
|
|
5
|
+
return /* @__PURE__ */ jsx(
|
|
6
|
+
"svg",
|
|
7
|
+
{
|
|
8
|
+
width: "1em",
|
|
9
|
+
height: "1em",
|
|
10
|
+
viewBox: "0 0 24 24",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
strokeWidth: "1.5",
|
|
14
|
+
ref,
|
|
15
|
+
...props,
|
|
16
|
+
children: /* @__PURE__ */ jsx(
|
|
17
|
+
"path",
|
|
18
|
+
{
|
|
19
|
+
d: "M9.86259 11H6.23907M6.03563 15H7.29752M11.7761 7H6.23907M7.38818 22H13.7882C15.4683 22 16.3084 22 16.9502 21.673C17.5146 21.3854 17.9736 20.9265 18.2612 20.362C18.5882 19.7202 18.5882 18.8802 18.5882 17.2V6.8C18.5882 5.11984 18.5882 4.27976 18.2612 3.63803C17.9736 3.07354 17.5146 2.6146 16.9502 2.32698C16.3084 2 15.4683 2 13.7882 2H11.0882M14.0882 22H16.7884C18.4685 22 19.3086 22 19.9503 21.673C20.5148 21.3854 20.9738 20.9265 21.2614 20.362C21.5884 19.7202 21.5884 18.8802 21.5884 17.2V6.8C21.5884 5.11984 21.5884 4.27976 21.2614 3.63803C20.9738 3.07354 20.5148 2.6146 19.9503 2.32698C19.3086 2 18.4685 2 16.7884 2H14.0884M15.603 6.8V17.2C15.603 18.8802 15.603 19.7202 15.2902 20.362C15.015 20.9265 14.5759 21.3854 14.0359 21.673C13.4219 22 12.6182 22 11.0107 22H7.00446C5.39699 22 4.59325 22 3.97928 21.673C3.43921 21.3854 3.00012 20.9265 2.72494 20.362C2.41211 19.7202 2.41211 18.8802 2.41211 17.2V6.8C2.41211 5.11984 2.41211 4.27976 2.72494 3.63803C3.00012 3.07354 3.43921 2.6146 3.97928 2.32698C4.59325 2 5.39699 2 7.00446 2H11.0107C12.6182 2 13.4219 2 14.0359 2.32698C14.5759 2.6146 15.015 3.07354 15.2902 3.63803C15.603 4.27976 15.603 5.11984 15.603 6.8Z",
|
|
20
|
+
stroke: "currentColor",
|
|
21
|
+
strokeLinecap: "round",
|
|
22
|
+
strokeLinejoin: "round",
|
|
23
|
+
strokeWidth: "inherit"
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
};
|
|
29
|
+
const ForwardRef = forwardRef(IconFileSystem);
|
|
30
|
+
const FileSystem = forwardRef((props, ref) => {
|
|
31
|
+
if (typeof props.size === "number") {
|
|
32
|
+
const { size, ...rest } = props;
|
|
33
|
+
props = {
|
|
34
|
+
...rest,
|
|
35
|
+
w: size,
|
|
36
|
+
h: size
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
return /* @__PURE__ */ jsx(
|
|
40
|
+
Box,
|
|
41
|
+
{
|
|
42
|
+
ref,
|
|
43
|
+
...props,
|
|
44
|
+
component: ForwardRef,
|
|
45
|
+
className: ["tiui-icon", "FileSystem", props.className].join(" ")
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
});
|
|
49
|
+
FileSystem.displayName = "IconFileSystem";
|
|
50
|
+
export {
|
|
51
|
+
FileSystem as default
|
|
52
|
+
};
|