@tidbcloud/uikit 2.0.0-beta.120 → 2.0.0-beta.122
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/CodeBlock/index.cjs +1 -1
- package/dist/biz/CodeBlock/index.mjs +1 -1
- package/dist/icons/index.d.cts +2 -2
- package/dist/icons/index.d.mts +2 -2
- package/dist/icons/raw/SystemDatabase.svg +2 -2
- package/dist/icons/raw/SystemEndpoint.svg +6 -6
- package/dist/icons/react/SystemDatabase.cjs +2 -2
- package/dist/icons/react/SystemDatabase.mjs +2 -2
- package/dist/icons/react/SystemEndpoint.cjs +22 -7
- package/dist/icons/react/SystemEndpoint.mjs +22 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tidbcloud/uikit
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.122
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix/system endpoint icon ([#428](https://github.com/tidbcloud/tidbcloud-uikit/pull/428))
|
|
8
|
+
|
|
9
|
+
## 2.0.0-beta.121
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- fix: code block scroll area ([#424](https://github.com/tidbcloud/tidbcloud-uikit/pull/424))
|
|
14
|
+
|
|
3
15
|
## 2.0.0-beta.120
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -67,7 +67,7 @@ const CodeBlock = ({
|
|
|
67
67
|
borderRadius: theme.defaultRadius
|
|
68
68
|
}),
|
|
69
69
|
children: [
|
|
70
|
-
/* @__PURE__ */ jsxRuntime.jsx(Box.Box, { sx: { flexGrow: 1 }, children: codeRender ? codeRender(children) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
70
|
+
/* @__PURE__ */ jsxRuntime.jsx(Box.Box, { sx: { flexGrow: 1, maxWidth: "100%", overflow: "auto" }, children: codeRender ? codeRender(children) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
71
71
|
Prism.Prism,
|
|
72
72
|
{
|
|
73
73
|
...codeHighlightProps,
|
|
@@ -65,7 +65,7 @@ const CodeBlock = ({
|
|
|
65
65
|
borderRadius: theme.defaultRadius
|
|
66
66
|
}),
|
|
67
67
|
children: [
|
|
68
|
-
/* @__PURE__ */ jsx(Box, { sx: { flexGrow: 1 }, children: codeRender ? codeRender(children) : /* @__PURE__ */ jsx(
|
|
68
|
+
/* @__PURE__ */ jsx(Box, { sx: { flexGrow: 1, maxWidth: "100%", overflow: "auto" }, children: codeRender ? codeRender(children) : /* @__PURE__ */ jsx(
|
|
69
69
|
Prism,
|
|
70
70
|
{
|
|
71
71
|
...codeHighlightProps,
|
package/dist/icons/index.d.cts
CHANGED
|
@@ -4332,11 +4332,11 @@ export declare const IconSwitchVertical01: React.FC<IconProps>;
|
|
|
4332
4332
|
*/
|
|
4333
4333
|
export declare const IconSwitchVertical02: React.FC<IconProps>;
|
|
4334
4334
|
/**
|
|
4335
|
-
* @preview 
|
|
4336
4336
|
*/
|
|
4337
4337
|
export declare const IconSystemDatabase: React.FC<IconProps>;
|
|
4338
4338
|
/**
|
|
4339
|
-
* @preview 
|
|
4340
4340
|
*/
|
|
4341
4341
|
export declare const IconSystemEndpoint: React.FC<IconProps>;
|
|
4342
4342
|
/**
|
package/dist/icons/index.d.mts
CHANGED
|
@@ -4332,11 +4332,11 @@ export declare const IconSwitchVertical01: React.FC<IconProps>;
|
|
|
4332
4332
|
*/
|
|
4333
4333
|
export declare const IconSwitchVertical02: React.FC<IconProps>;
|
|
4334
4334
|
/**
|
|
4335
|
-
* @preview 
|
|
4336
4336
|
*/
|
|
4337
4337
|
export declare const IconSystemDatabase: React.FC<IconProps>;
|
|
4338
4338
|
/**
|
|
4339
|
-
* @preview 
|
|
4340
4340
|
*/
|
|
4341
4341
|
export declare const IconSystemEndpoint: React.FC<IconProps>;
|
|
4342
4342
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21 5C21 6.65685 16.9706 8 12 8C7.02944 8 3 6.65685 3 5M21 5C21 3.34315 16.9706 2 12 2C7.02944 2 3 3.34315 3 5M21 5V10.5M3 5V19C3 20.66 7 22 12 22M12 15C7 15 3 13.66 3 12M15 19.9C15 21.0598 15.8954 22 17 22H18.8571C20.0406 22 21 20.9926 21 19.75C21 18.5074 20.0406 17.5 18.8571 17.5H17.1429C15.9594 17.5 15 16.4926 15 15.25C15 14.0074 15.9594 13 17.1429 13H19C20.1046 13 21 13.9402 21 15.1" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
3
|
</svg>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path d="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="M1
|
|
6
|
-
<circle cx="
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M19.7573 12C20.207 12 20.5756 11.6346 20.5329 11.1869C20.3605 9.37659 19.6154 7.66005 18.3952 6.29278C16.9935 4.72217 15.0629 3.7223 12.9713 3.48378C10.8797 3.24527 8.77354 3.78479 7.05423 4.99949C5.55751 6.05693 4.44512 7.56166 3.86949 9.28668C3.72714 9.71327 4.00399 10.1523 4.44216 10.2535V10.2535C4.88033 10.3548 5.31309 10.0793 5.46492 9.65601C5.94409 8.31998 6.82409 7.15611 7.99395 6.32959C9.38659 5.34568 11.0926 4.90867 12.7868 5.10187C14.4809 5.29507 16.0448 6.10496 17.1801 7.37715C18.1339 8.44584 18.7292 9.77796 18.8953 11.1876C18.9479 11.6342 19.3076 12 19.7573 12V12Z" fill="currentColor"/>
|
|
3
|
+
<path d="M4.57405 14.242C4.14352 14.372 3.89628 14.8283 4.06651 15.2446C4.6621 16.7009 5.6495 17.9706 6.92607 18.9082C8.20265 19.8459 9.70951 20.4083 11.2774 20.5409C11.7255 20.5788 12.087 20.2064 12.0822 19.7567V19.7567C12.0775 19.307 11.7079 18.9513 11.2607 18.9034C10.0462 18.7733 8.8823 18.3244 7.89015 17.5957C6.89799 16.8669 6.12147 15.8906 5.63405 14.7706C5.45459 14.3583 5.00457 14.112 4.57405 14.242V14.242Z" fill="currentColor"/>
|
|
4
|
+
<path d="M15.4287 18.5143C15.4287 19.177 15.9404 19.7143 16.5716 19.7143H17.6328C18.3091 19.7143 18.8573 19.1386 18.8573 18.4286C18.8573 17.7185 18.3091 17.1428 17.6328 17.1428H16.6532C15.9769 17.1428 15.4287 16.5672 15.4287 15.8571C15.4287 15.147 15.9769 14.5714 16.6532 14.5714H17.7144C18.3456 14.5714 18.8573 15.1087 18.8573 15.7714" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M1.71436 12H12.0001" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
|
|
6
|
+
<circle cx="11.9999" cy="12.0001" r="1.71429" fill="currentColor"/>
|
|
7
7
|
</svg>
|
|
@@ -11,7 +11,7 @@ const IconSystemDatabase = (props, ref) => {
|
|
|
11
11
|
width: "1em",
|
|
12
12
|
height: "1em",
|
|
13
13
|
fill: "none",
|
|
14
|
-
viewBox: "0 0
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
15
|
strokeWidth: "1.5",
|
|
16
16
|
ref,
|
|
17
17
|
...props,
|
|
@@ -21,7 +21,7 @@ const IconSystemDatabase = (props, ref) => {
|
|
|
21
21
|
stroke: "currentColor",
|
|
22
22
|
strokeLinecap: "round",
|
|
23
23
|
strokeLinejoin: "round",
|
|
24
|
-
d: "
|
|
24
|
+
d: "M21 5C21 6.65685 16.9706 8 12 8C7.02944 8 3 6.65685 3 5M21 5C21 3.34315 16.9706 2 12 2C7.02944 2 3 3.34315 3 5M21 5V10.5M3 5V19C3 20.66 7 22 12 22M12 15C7 15 3 13.66 3 12M15 19.9C15 21.0598 15.8954 22 17 22H18.8571C20.0406 22 21 20.9926 21 19.75C21 18.5074 20.0406 17.5 18.8571 17.5H17.1429C15.9594 17.5 15 16.4926 15 15.25C15 14.0074 15.9594 13 17.1429 13H19C20.1046 13 21 13.9402 21 15.1",
|
|
25
25
|
strokeWidth: "inherit"
|
|
26
26
|
}
|
|
27
27
|
)
|
|
@@ -9,7 +9,7 @@ const IconSystemDatabase = (props, ref) => {
|
|
|
9
9
|
width: "1em",
|
|
10
10
|
height: "1em",
|
|
11
11
|
fill: "none",
|
|
12
|
-
viewBox: "0 0
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
13
|
strokeWidth: "1.5",
|
|
14
14
|
ref,
|
|
15
15
|
...props,
|
|
@@ -19,7 +19,7 @@ const IconSystemDatabase = (props, ref) => {
|
|
|
19
19
|
stroke: "currentColor",
|
|
20
20
|
strokeLinecap: "round",
|
|
21
21
|
strokeLinejoin: "round",
|
|
22
|
-
d: "
|
|
22
|
+
d: "M21 5C21 6.65685 16.9706 8 12 8C7.02944 8 3 6.65685 3 5M21 5C21 3.34315 16.9706 2 12 2C7.02944 2 3 3.34315 3 5M21 5V10.5M3 5V19C3 20.66 7 22 12 22M12 15C7 15 3 13.66 3 12M15 19.9C15 21.0598 15.8954 22 17 22H18.8571C20.0406 22 21 20.9926 21 19.75C21 18.5074 20.0406 17.5 18.8571 17.5H17.1429C15.9594 17.5 15 16.4926 15 15.25C15 14.0074 15.9594 13 17.1429 13H19C20.1046 13 21 13.9402 21 15.1",
|
|
23
23
|
strokeWidth: "inherit"
|
|
24
24
|
}
|
|
25
25
|
)
|
|
@@ -11,7 +11,7 @@ const IconSystemEndpoint = (props, ref) => {
|
|
|
11
11
|
width: "1em",
|
|
12
12
|
height: "1em",
|
|
13
13
|
fill: "none",
|
|
14
|
-
viewBox: "0 0
|
|
14
|
+
viewBox: "0 0 24 24",
|
|
15
15
|
strokeWidth: "1.5",
|
|
16
16
|
ref,
|
|
17
17
|
...props,
|
|
@@ -19,14 +19,29 @@ const IconSystemEndpoint = (props, ref) => {
|
|
|
19
19
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20
20
|
"path",
|
|
21
21
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
strokeWidth: "inherit",
|
|
25
|
-
stroke: "currentColor"
|
|
22
|
+
d: "M19.7573 12C20.207 12 20.5756 11.6346 20.5329 11.1869C20.3605 9.37659 19.6154 7.66005 18.3952 6.29278C16.9935 4.72217 15.0629 3.7223 12.9713 3.48378C10.8797 3.24527 8.77354 3.78479 7.05423 4.99949C5.55751 6.05693 4.44512 7.56166 3.86949 9.28668C3.72714 9.71327 4.00399 10.1523 4.44216 10.2535V10.2535C4.88033 10.3548 5.31309 10.0793 5.46492 9.65601C5.94409 8.31998 6.82409 7.15611 7.99395 6.32959C9.38659 5.34568 11.0926 4.90867 12.7868 5.10187C14.4809 5.29507 16.0448 6.10496 17.1801 7.37715C18.1339 8.44584 18.7292 9.77796 18.8953 11.1876C18.9479 11.6342 19.3076 12 19.7573 12V12Z",
|
|
23
|
+
fill: "currentColor"
|
|
26
24
|
}
|
|
27
25
|
),
|
|
28
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29
|
-
|
|
26
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27
|
+
"path",
|
|
28
|
+
{
|
|
29
|
+
d: "M4.57405 14.242C4.14352 14.372 3.89628 14.8283 4.06651 15.2446C4.6621 16.7009 5.6495 17.9706 6.92607 18.9082C8.20265 19.8459 9.70951 20.4083 11.2774 20.5409C11.7255 20.5788 12.087 20.2064 12.0822 19.7567V19.7567C12.0775 19.307 11.7079 18.9513 11.2607 18.9034C10.0462 18.7733 8.8823 18.3244 7.89015 17.5957C6.89799 16.8669 6.12147 15.8906 5.63405 14.7706C5.45459 14.3583 5.00457 14.112 4.57405 14.242V14.242Z",
|
|
30
|
+
fill: "currentColor"
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34
|
+
"path",
|
|
35
|
+
{
|
|
36
|
+
d: "M15.4287 18.5143C15.4287 19.177 15.9404 19.7143 16.5716 19.7143H17.6328C18.3091 19.7143 18.8573 19.1386 18.8573 18.4286C18.8573 17.7185 18.3091 17.1428 17.6328 17.1428H16.6532C15.9769 17.1428 15.4287 16.5672 15.4287 15.8571C15.4287 15.147 15.9769 14.5714 16.6532 14.5714H17.7144C18.3456 14.5714 18.8573 15.1087 18.8573 15.7714",
|
|
37
|
+
stroke: "currentColor",
|
|
38
|
+
"stroke-width": "inherit",
|
|
39
|
+
"stroke-linecap": "round",
|
|
40
|
+
"stroke-linejoin": "round"
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M1.71436 12H12.0001", stroke: "currentColor", "stroke-width": "inherit", "stroke-linecap": "round" }),
|
|
44
|
+
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11.9999", cy: "12.0001", r: "1.71429", fill: "currentColor" })
|
|
30
45
|
]
|
|
31
46
|
}
|
|
32
47
|
);
|
|
@@ -9,7 +9,7 @@ const IconSystemEndpoint = (props, ref) => {
|
|
|
9
9
|
width: "1em",
|
|
10
10
|
height: "1em",
|
|
11
11
|
fill: "none",
|
|
12
|
-
viewBox: "0 0
|
|
12
|
+
viewBox: "0 0 24 24",
|
|
13
13
|
strokeWidth: "1.5",
|
|
14
14
|
ref,
|
|
15
15
|
...props,
|
|
@@ -17,14 +17,29 @@ const IconSystemEndpoint = (props, ref) => {
|
|
|
17
17
|
/* @__PURE__ */ jsx(
|
|
18
18
|
"path",
|
|
19
19
|
{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
strokeWidth: "inherit",
|
|
23
|
-
stroke: "currentColor"
|
|
20
|
+
d: "M19.7573 12C20.207 12 20.5756 11.6346 20.5329 11.1869C20.3605 9.37659 19.6154 7.66005 18.3952 6.29278C16.9935 4.72217 15.0629 3.7223 12.9713 3.48378C10.8797 3.24527 8.77354 3.78479 7.05423 4.99949C5.55751 6.05693 4.44512 7.56166 3.86949 9.28668C3.72714 9.71327 4.00399 10.1523 4.44216 10.2535V10.2535C4.88033 10.3548 5.31309 10.0793 5.46492 9.65601C5.94409 8.31998 6.82409 7.15611 7.99395 6.32959C9.38659 5.34568 11.0926 4.90867 12.7868 5.10187C14.4809 5.29507 16.0448 6.10496 17.1801 7.37715C18.1339 8.44584 18.7292 9.77796 18.8953 11.1876C18.9479 11.6342 19.3076 12 19.7573 12V12Z",
|
|
21
|
+
fill: "currentColor"
|
|
24
22
|
}
|
|
25
23
|
),
|
|
26
|
-
/* @__PURE__ */ jsx(
|
|
27
|
-
|
|
24
|
+
/* @__PURE__ */ jsx(
|
|
25
|
+
"path",
|
|
26
|
+
{
|
|
27
|
+
d: "M4.57405 14.242C4.14352 14.372 3.89628 14.8283 4.06651 15.2446C4.6621 16.7009 5.6495 17.9706 6.92607 18.9082C8.20265 19.8459 9.70951 20.4083 11.2774 20.5409C11.7255 20.5788 12.087 20.2064 12.0822 19.7567V19.7567C12.0775 19.307 11.7079 18.9513 11.2607 18.9034C10.0462 18.7733 8.8823 18.3244 7.89015 17.5957C6.89799 16.8669 6.12147 15.8906 5.63405 14.7706C5.45459 14.3583 5.00457 14.112 4.57405 14.242V14.242Z",
|
|
28
|
+
fill: "currentColor"
|
|
29
|
+
}
|
|
30
|
+
),
|
|
31
|
+
/* @__PURE__ */ jsx(
|
|
32
|
+
"path",
|
|
33
|
+
{
|
|
34
|
+
d: "M15.4287 18.5143C15.4287 19.177 15.9404 19.7143 16.5716 19.7143H17.6328C18.3091 19.7143 18.8573 19.1386 18.8573 18.4286C18.8573 17.7185 18.3091 17.1428 17.6328 17.1428H16.6532C15.9769 17.1428 15.4287 16.5672 15.4287 15.8571C15.4287 15.147 15.9769 14.5714 16.6532 14.5714H17.7144C18.3456 14.5714 18.8573 15.1087 18.8573 15.7714",
|
|
35
|
+
stroke: "currentColor",
|
|
36
|
+
"stroke-width": "inherit",
|
|
37
|
+
"stroke-linecap": "round",
|
|
38
|
+
"stroke-linejoin": "round"
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
/* @__PURE__ */ jsx("path", { d: "M1.71436 12H12.0001", stroke: "currentColor", "stroke-width": "inherit", "stroke-linecap": "round" }),
|
|
42
|
+
/* @__PURE__ */ jsx("circle", { cx: "11.9999", cy: "12.0001", r: "1.71429", fill: "currentColor" })
|
|
28
43
|
]
|
|
29
44
|
}
|
|
30
45
|
);
|