@clickhouse/click-ui 0.0.8 → 0.0.10
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/dist/click-ui.es.js +3457 -3158
- package/dist/click-ui.umd.js +152 -69
- package/dist/components/Accordion/Accordion.d.ts +5 -5
- package/dist/components/Accordion/Accordion.stories.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +1 -8
- package/dist/components/Button/Button.stories.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts +2 -1
- package/dist/components/Icon/IconCommon.d.ts +480 -0
- package/dist/components/Icon/types.d.ts +2 -2
- package/dist/components/IconButton/IconButton.d.ts +1 -7
- package/dist/components/{FormField/Input → Input}/NumberField.d.ts +2 -2
- package/dist/components/{FormField/Input → Input}/NumberField.stories.d.ts +2 -2
- package/dist/components/{FormField/Input → Input}/PasswordField.d.ts +2 -2
- package/dist/components/{FormField/Input → Input}/PasswordField.stories.d.ts +2 -2
- package/dist/components/{FormField/Input → Input}/SearchField.d.ts +2 -2
- package/dist/components/{FormField/Input → Input}/SearchField.stories.d.ts +2 -2
- package/dist/components/{FormField/Input → Input}/TextField.d.ts +2 -2
- package/dist/components/{FormField/Input → Input}/TextField.stories.d.ts +2 -2
- package/dist/components/Spacer/Spacer.d.ts +3 -1
- package/dist/components/Switch/Switch.d.ts +2 -1
- package/dist/components/icons/LoadingAnimated.d.ts +482 -0
- package/dist/components/index.d.ts +7 -6
- package/dist/components/types.d.ts +11 -11
- package/dist/styles/types.d.ts +27 -11
- package/dist/styles/variables.classic.json.d.ts +9 -0
- package/dist/styles/variables.dark.json.d.ts +7 -0
- package/dist/styles/variables.json.d.ts +28 -12
- package/dist/styles/variables.light.json.d.ts +7 -0
- package/package.json +1 -1
- /package/dist/components/{FormField/Input → Input}/InputWrapper.d.ts +0 -0
- /package/dist/components/{FormField → Label}/Label.d.ts +0 -0
- /package/dist/components/{FormField → Label}/Label.stories.d.ts +0 -0
- /package/dist/components/{FormField → Select}/Select.d.ts +0 -0
- /package/dist/components/{FormField → Select}/Select.stories.d.ts +0 -0
- /package/dist/components/{FormField → Select}/Select.test.d.ts +0 -0
- /package/dist/components/{FormField → Select}/SelectContext.d.ts +0 -0
- /package/dist/components/{FormField → Select}/useSelect.d.ts +0 -0
- /package/dist/components/{FormField/commonElement.d.ts → commonElement.d.ts} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { TooltipProps } from "@radix-ui/react-tooltip";
|
|
2
2
|
import { TitleProps } from "./Typography/Title/Title";
|
|
3
3
|
import { TextProps } from "./Typography/Text/Text";
|
|
4
|
-
import { TabsProps } from
|
|
4
|
+
import { TabsProps } from "./Tabs/Tabs";
|
|
5
5
|
import { SpacerProps } from "./Spacer/Spacer";
|
|
6
6
|
import { SidebarNavigationItemProps } from "./SidebarNavigationItem/SidebarNavigationItem";
|
|
7
|
-
import { SelectProps } from "./
|
|
8
|
-
import {
|
|
7
|
+
import { SelectProps } from "./Select/Select";
|
|
8
|
+
import { SearchFieldProps } from "./Input/SearchField";
|
|
9
9
|
import { RadioGroupProps, RadioGroupItemProps } from "./RadioGroup/RadioGroup";
|
|
10
10
|
import { PopoverProps } from "@radix-ui/react-popover";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { LabelProps } from "./
|
|
11
|
+
import { PasswordFieldProps } from "./Input/PasswordField";
|
|
12
|
+
import { NumberFieldProps } from "./Input/NumberField";
|
|
13
|
+
import { LabelProps } from "./Label/Label";
|
|
14
14
|
import { HoverCardProps } from "@radix-ui/react-hover-card";
|
|
15
15
|
import { ContextMenuProps } from "@radix-ui/react-context-menu";
|
|
16
|
-
import { CheckboxProps } from
|
|
16
|
+
import { CheckboxProps } from "./Checkbox/Checkbox";
|
|
17
17
|
import { CardPrimaryProps } from "./CardPrimary/CardPrimary";
|
|
18
18
|
import { CardSecondaryProps, BadgeState } from "./CardSecondary/CardSecondary";
|
|
19
19
|
import { ButtonProps } from "./Button/Button";
|
|
@@ -22,7 +22,7 @@ import { BadgeProps } from "./Badge/Badge";
|
|
|
22
22
|
import { AvatarProps } from "./Avatar/Avatar";
|
|
23
23
|
import { AlertProps } from "./Alert/Alert";
|
|
24
24
|
import { IconButtonProps } from "./IconButton/IconButton";
|
|
25
|
-
import { IconName } from
|
|
25
|
+
import { IconName } from "./Icon/types";
|
|
26
26
|
export type States = "default" | "active" | "disabled" | "error" | "hover";
|
|
27
27
|
export type { IconName };
|
|
28
28
|
export type { IconButtonProps };
|
|
@@ -37,11 +37,11 @@ export type { CheckboxProps };
|
|
|
37
37
|
export type { ContextMenuProps };
|
|
38
38
|
export type { HoverCardProps };
|
|
39
39
|
export type { LabelProps };
|
|
40
|
-
export type {
|
|
41
|
-
export type {
|
|
40
|
+
export type { NumberFieldProps };
|
|
41
|
+
export type { PasswordFieldProps };
|
|
42
42
|
export type { PopoverProps };
|
|
43
43
|
export type { RadioGroupProps, RadioGroupItemProps };
|
|
44
|
-
export type {
|
|
44
|
+
export type { SearchFieldProps };
|
|
45
45
|
export type { SelectProps };
|
|
46
46
|
export type { SidebarNavigationItemProps };
|
|
47
47
|
export type { SpacerProps };
|
package/dist/styles/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface Theme {
|
|
2
2
|
"click": {
|
|
3
3
|
"accordion": {
|
|
4
|
-
"
|
|
4
|
+
"sm": {
|
|
5
5
|
"icon": {
|
|
6
6
|
"size": {
|
|
7
7
|
"height": string;
|
|
@@ -19,7 +19,7 @@ export interface Theme {
|
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
"
|
|
22
|
+
"md": {
|
|
23
23
|
"icon": {
|
|
24
24
|
"size": {
|
|
25
25
|
"height": string;
|
|
@@ -37,7 +37,7 @@ export interface Theme {
|
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
"
|
|
40
|
+
"lg": {
|
|
41
41
|
"icon": {
|
|
42
42
|
"size": {
|
|
43
43
|
"height": string;
|
|
@@ -411,7 +411,13 @@ export interface Theme {
|
|
|
411
411
|
"radii": {
|
|
412
412
|
"all": string;
|
|
413
413
|
};
|
|
414
|
-
"
|
|
414
|
+
"sm": {
|
|
415
|
+
"space": {
|
|
416
|
+
"x": string;
|
|
417
|
+
"y": string;
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
"xs": {
|
|
415
421
|
"space": {
|
|
416
422
|
"x": string;
|
|
417
423
|
"y": string;
|
|
@@ -1191,37 +1197,37 @@ export interface Theme {
|
|
|
1191
1197
|
};
|
|
1192
1198
|
};
|
|
1193
1199
|
"image": {
|
|
1194
|
-
"
|
|
1200
|
+
"sm": {
|
|
1195
1201
|
"size": {
|
|
1196
1202
|
"height": string;
|
|
1197
1203
|
"width": string;
|
|
1198
1204
|
};
|
|
1199
1205
|
};
|
|
1200
|
-
"
|
|
1206
|
+
"xs": {
|
|
1201
1207
|
"size": {
|
|
1202
1208
|
"height": string;
|
|
1203
1209
|
"width": string;
|
|
1204
1210
|
};
|
|
1205
1211
|
};
|
|
1206
|
-
"
|
|
1212
|
+
"md": {
|
|
1207
1213
|
"size": {
|
|
1208
1214
|
"height": string;
|
|
1209
1215
|
"width": string;
|
|
1210
1216
|
};
|
|
1211
1217
|
};
|
|
1212
|
-
"
|
|
1218
|
+
"lg": {
|
|
1213
1219
|
"size": {
|
|
1214
1220
|
"height": string;
|
|
1215
1221
|
"width": string;
|
|
1216
1222
|
};
|
|
1217
1223
|
};
|
|
1218
|
-
"
|
|
1224
|
+
"xl": {
|
|
1219
1225
|
"size": {
|
|
1220
1226
|
"height": string;
|
|
1221
1227
|
"width": string;
|
|
1222
1228
|
};
|
|
1223
1229
|
};
|
|
1224
|
-
"
|
|
1230
|
+
"xxl": {
|
|
1225
1231
|
"size": {
|
|
1226
1232
|
"height": string;
|
|
1227
1233
|
"width": string;
|
|
@@ -1380,10 +1386,10 @@ export interface Theme {
|
|
|
1380
1386
|
};
|
|
1381
1387
|
"default": {
|
|
1382
1388
|
"space": {
|
|
1383
|
-
"left": string;
|
|
1384
1389
|
"right": string;
|
|
1385
1390
|
"y": string;
|
|
1386
1391
|
"gap": string;
|
|
1392
|
+
"left": string;
|
|
1387
1393
|
};
|
|
1388
1394
|
};
|
|
1389
1395
|
"typography": {
|
|
@@ -1492,6 +1498,16 @@ export interface Theme {
|
|
|
1492
1498
|
};
|
|
1493
1499
|
};
|
|
1494
1500
|
};
|
|
1501
|
+
"dragControl": {
|
|
1502
|
+
"separator": {
|
|
1503
|
+
"size": {
|
|
1504
|
+
"height": string;
|
|
1505
|
+
};
|
|
1506
|
+
"color": {
|
|
1507
|
+
"default": string;
|
|
1508
|
+
};
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1495
1511
|
};
|
|
1496
1512
|
"main": {
|
|
1497
1513
|
"color": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
"click": {
|
|
3
3
|
"accordion": {
|
|
4
|
-
"
|
|
4
|
+
"sm": {
|
|
5
5
|
"icon": {
|
|
6
6
|
"size": {
|
|
7
7
|
"height": "1rem",
|
|
@@ -19,7 +19,7 @@ declare const _default: {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
"
|
|
22
|
+
"md": {
|
|
23
23
|
"icon": {
|
|
24
24
|
"size": {
|
|
25
25
|
"height": "1.25rem",
|
|
@@ -37,7 +37,7 @@ declare const _default: {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
-
"
|
|
40
|
+
"lg": {
|
|
41
41
|
"icon": {
|
|
42
42
|
"size": {
|
|
43
43
|
"height": "1.5rem",
|
|
@@ -411,12 +411,18 @@ declare const _default: {
|
|
|
411
411
|
"radii": {
|
|
412
412
|
"all": "0.25rem"
|
|
413
413
|
},
|
|
414
|
-
"
|
|
414
|
+
"sm": {
|
|
415
415
|
"space": {
|
|
416
416
|
"x": "0.25rem",
|
|
417
417
|
"y": "0.25rem"
|
|
418
418
|
}
|
|
419
419
|
},
|
|
420
|
+
"xs": {
|
|
421
|
+
"space": {
|
|
422
|
+
"x": "0",
|
|
423
|
+
"y": "0"
|
|
424
|
+
}
|
|
425
|
+
},
|
|
420
426
|
"color": {
|
|
421
427
|
"primary": {
|
|
422
428
|
"background": {
|
|
@@ -1191,37 +1197,37 @@ declare const _default: {
|
|
|
1191
1197
|
}
|
|
1192
1198
|
},
|
|
1193
1199
|
"image": {
|
|
1194
|
-
"
|
|
1200
|
+
"sm": {
|
|
1195
1201
|
"size": {
|
|
1196
1202
|
"height": "1rem",
|
|
1197
1203
|
"width": "1rem"
|
|
1198
1204
|
}
|
|
1199
1205
|
},
|
|
1200
|
-
"
|
|
1206
|
+
"xs": {
|
|
1201
1207
|
"size": {
|
|
1202
1208
|
"height": "0.75rem",
|
|
1203
1209
|
"width": "0.75rem"
|
|
1204
1210
|
}
|
|
1205
1211
|
},
|
|
1206
|
-
"
|
|
1212
|
+
"md": {
|
|
1207
1213
|
"size": {
|
|
1208
1214
|
"height": "1.25rem",
|
|
1209
1215
|
"width": "1.25rem"
|
|
1210
1216
|
}
|
|
1211
1217
|
},
|
|
1212
|
-
"
|
|
1218
|
+
"lg": {
|
|
1213
1219
|
"size": {
|
|
1214
1220
|
"height": "1.5rem",
|
|
1215
1221
|
"width": "1.5rem"
|
|
1216
1222
|
}
|
|
1217
1223
|
},
|
|
1218
|
-
"
|
|
1224
|
+
"xl": {
|
|
1219
1225
|
"size": {
|
|
1220
1226
|
"height": "2rem",
|
|
1221
1227
|
"width": "2rem"
|
|
1222
1228
|
}
|
|
1223
1229
|
},
|
|
1224
|
-
"
|
|
1230
|
+
"xxl": {
|
|
1225
1231
|
"size": {
|
|
1226
1232
|
"height": "4rem",
|
|
1227
1233
|
"width": "4rem"
|
|
@@ -1380,10 +1386,10 @@ declare const _default: {
|
|
|
1380
1386
|
},
|
|
1381
1387
|
"default": {
|
|
1382
1388
|
"space": {
|
|
1383
|
-
"left": "0",
|
|
1384
1389
|
"right": "0.75rem",
|
|
1385
1390
|
"y": "0.344rem",
|
|
1386
|
-
"gap": "0.75rem"
|
|
1391
|
+
"gap": "0.75rem",
|
|
1392
|
+
"left": "0"
|
|
1387
1393
|
}
|
|
1388
1394
|
},
|
|
1389
1395
|
"typography": {
|
|
@@ -1491,6 +1497,16 @@ declare const _default: {
|
|
|
1491
1497
|
"active": "rgba(0,0,0,0)"
|
|
1492
1498
|
}
|
|
1493
1499
|
}
|
|
1500
|
+
},
|
|
1501
|
+
"dragControl": {
|
|
1502
|
+
"separator": {
|
|
1503
|
+
"size": {
|
|
1504
|
+
"height": "0.125rem"
|
|
1505
|
+
},
|
|
1506
|
+
"color": {
|
|
1507
|
+
"default": "#161517"
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1494
1510
|
}
|
|
1495
1511
|
},
|
|
1496
1512
|
"main": {
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|