@everlywell/ui-kit 1.1.2 → 1.2.0
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.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js +8 -8
- package/index.mjs +449 -392
- package/lib/theme/actions/Checkbox/Checkbox.config.d.ts +1 -0
- package/lib/theme/data-display/Table/Table.config.d.ts +57 -0
- package/lib/theme/data-display/Table/Table.d.ts +3 -0
- package/lib/theme/data-display/Tabs/Tabs.config.d.ts +0 -2
- package/lib/theme/index.d.ts +114 -4
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
table: {
|
|
4
|
+
width: string;
|
|
5
|
+
borderCollapse: string;
|
|
6
|
+
color: string;
|
|
7
|
+
textAlign: string;
|
|
8
|
+
};
|
|
9
|
+
thead: {};
|
|
10
|
+
tbody: {};
|
|
11
|
+
tfoot: {};
|
|
12
|
+
tr: {
|
|
13
|
+
borderBottomWidth: string;
|
|
14
|
+
borderColor: string;
|
|
15
|
+
fontSize: string;
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
};
|
|
18
|
+
th: {
|
|
19
|
+
padding: number;
|
|
20
|
+
borderBottomWidth: string;
|
|
21
|
+
borderColor: string;
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
fontWeight: string;
|
|
24
|
+
fontSize: string;
|
|
25
|
+
};
|
|
26
|
+
td: {
|
|
27
|
+
padding: number;
|
|
28
|
+
fontWeight: string;
|
|
29
|
+
};
|
|
30
|
+
caption: {};
|
|
31
|
+
sizes: {};
|
|
32
|
+
} | undefined;
|
|
33
|
+
sizes?: {
|
|
34
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
35
|
+
keys: ("table" | "caption" | "thead" | "tbody" | "tr" | "th" | "td" | "tfoot")[];
|
|
36
|
+
}>;
|
|
37
|
+
} | undefined;
|
|
38
|
+
variants?: {
|
|
39
|
+
simple: {};
|
|
40
|
+
striped: {
|
|
41
|
+
tbody: {
|
|
42
|
+
tr: {
|
|
43
|
+
_even: {
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
} | undefined;
|
|
50
|
+
defaultProps?: {
|
|
51
|
+
size?: string | number | undefined;
|
|
52
|
+
variant?: "simple" | "striped" | undefined;
|
|
53
|
+
colorScheme?: string | undefined;
|
|
54
|
+
} | undefined;
|
|
55
|
+
parts: ("table" | "caption" | "thead" | "tbody" | "tr" | "th" | "td" | "tfoot")[];
|
|
56
|
+
};
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Table } from '@chakra-ui/react';
|
|
2
|
+
export { Table, type TableProps, Thead, type TableHeadProps, Tbody, type TableBodyProps, Tfoot, type TableFooterProps, Tr, type TableRowProps, Th, type TableCellProps, Td, TableCaption, type TableCaptionProps, TableContainer, type TableContainerProps, type TableOptions, } from '@chakra-ui/react';
|
|
3
|
+
export default Table;
|
package/lib/theme/index.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ export declare const theme: {
|
|
|
390
390
|
boxSize: number;
|
|
391
391
|
padding: number;
|
|
392
392
|
borderRadius: string;
|
|
393
|
+
borderStyle: string;
|
|
393
394
|
borderWidth: number;
|
|
394
395
|
borderColor: string;
|
|
395
396
|
color: string;
|
|
@@ -1096,8 +1097,6 @@ export declare const theme: {
|
|
|
1096
1097
|
outline: string;
|
|
1097
1098
|
};
|
|
1098
1099
|
};
|
|
1099
|
-
tabpanels: {};
|
|
1100
|
-
tabpanel: {};
|
|
1101
1100
|
} | undefined;
|
|
1102
1101
|
sizes?: {
|
|
1103
1102
|
md: {
|
|
@@ -1145,6 +1144,62 @@ export declare const theme: {
|
|
|
1145
1144
|
} | undefined;
|
|
1146
1145
|
parts: ("tab" | "tabpanel" | "tabpanels" | "root" | "tablist" | "indicator")[];
|
|
1147
1146
|
};
|
|
1147
|
+
Table: {
|
|
1148
|
+
baseStyle?: {
|
|
1149
|
+
table: {
|
|
1150
|
+
width: string;
|
|
1151
|
+
borderCollapse: string;
|
|
1152
|
+
color: string;
|
|
1153
|
+
textAlign: string;
|
|
1154
|
+
};
|
|
1155
|
+
thead: {};
|
|
1156
|
+
tbody: {};
|
|
1157
|
+
tfoot: {};
|
|
1158
|
+
tr: {
|
|
1159
|
+
borderBottomWidth: string;
|
|
1160
|
+
borderColor: string;
|
|
1161
|
+
fontSize: string;
|
|
1162
|
+
backgroundColor: string;
|
|
1163
|
+
};
|
|
1164
|
+
th: {
|
|
1165
|
+
padding: number;
|
|
1166
|
+
borderBottomWidth: string;
|
|
1167
|
+
borderColor: string;
|
|
1168
|
+
backgroundColor: string;
|
|
1169
|
+
fontWeight: string;
|
|
1170
|
+
fontSize: string;
|
|
1171
|
+
};
|
|
1172
|
+
td: {
|
|
1173
|
+
padding: number;
|
|
1174
|
+
fontWeight: string;
|
|
1175
|
+
};
|
|
1176
|
+
caption: {};
|
|
1177
|
+
sizes: {};
|
|
1178
|
+
} | undefined;
|
|
1179
|
+
sizes?: {
|
|
1180
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
1181
|
+
keys: ("table" | "caption" | "thead" | "tbody" | "tr" | "th" | "td" | "tfoot")[];
|
|
1182
|
+
}>;
|
|
1183
|
+
} | undefined;
|
|
1184
|
+
variants?: {
|
|
1185
|
+
simple: {};
|
|
1186
|
+
striped: {
|
|
1187
|
+
tbody: {
|
|
1188
|
+
tr: {
|
|
1189
|
+
_even: {
|
|
1190
|
+
backgroundColor: string;
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
} | undefined;
|
|
1196
|
+
defaultProps?: {
|
|
1197
|
+
size?: string | number | undefined;
|
|
1198
|
+
variant?: "simple" | "striped" | undefined;
|
|
1199
|
+
colorScheme?: string | undefined;
|
|
1200
|
+
} | undefined;
|
|
1201
|
+
parts: ("table" | "caption" | "thead" | "tbody" | "tr" | "th" | "td" | "tfoot")[];
|
|
1202
|
+
};
|
|
1148
1203
|
Tag: {
|
|
1149
1204
|
baseStyle?: {
|
|
1150
1205
|
container: {
|
|
@@ -2119,6 +2174,7 @@ export declare const useTheme: () => import("@chakra-ui/styled-system").WithCSSV
|
|
|
2119
2174
|
boxSize: number;
|
|
2120
2175
|
padding: number;
|
|
2121
2176
|
borderRadius: string;
|
|
2177
|
+
borderStyle: string;
|
|
2122
2178
|
borderWidth: number;
|
|
2123
2179
|
borderColor: string;
|
|
2124
2180
|
color: string;
|
|
@@ -2825,8 +2881,6 @@ export declare const useTheme: () => import("@chakra-ui/styled-system").WithCSSV
|
|
|
2825
2881
|
outline: string;
|
|
2826
2882
|
};
|
|
2827
2883
|
};
|
|
2828
|
-
tabpanels: {};
|
|
2829
|
-
tabpanel: {};
|
|
2830
2884
|
} | undefined;
|
|
2831
2885
|
sizes?: {
|
|
2832
2886
|
md: {
|
|
@@ -2874,6 +2928,62 @@ export declare const useTheme: () => import("@chakra-ui/styled-system").WithCSSV
|
|
|
2874
2928
|
} | undefined;
|
|
2875
2929
|
parts: ("tab" | "tabpanel" | "tabpanels" | "root" | "tablist" | "indicator")[];
|
|
2876
2930
|
};
|
|
2931
|
+
Table: {
|
|
2932
|
+
baseStyle?: {
|
|
2933
|
+
table: {
|
|
2934
|
+
width: string;
|
|
2935
|
+
borderCollapse: string;
|
|
2936
|
+
color: string;
|
|
2937
|
+
textAlign: string;
|
|
2938
|
+
};
|
|
2939
|
+
thead: {};
|
|
2940
|
+
tbody: {};
|
|
2941
|
+
tfoot: {};
|
|
2942
|
+
tr: {
|
|
2943
|
+
borderBottomWidth: string;
|
|
2944
|
+
borderColor: string;
|
|
2945
|
+
fontSize: string;
|
|
2946
|
+
backgroundColor: string;
|
|
2947
|
+
};
|
|
2948
|
+
th: {
|
|
2949
|
+
padding: number;
|
|
2950
|
+
borderBottomWidth: string;
|
|
2951
|
+
borderColor: string;
|
|
2952
|
+
backgroundColor: string;
|
|
2953
|
+
fontWeight: string;
|
|
2954
|
+
fontSize: string;
|
|
2955
|
+
};
|
|
2956
|
+
td: {
|
|
2957
|
+
padding: number;
|
|
2958
|
+
fontWeight: string;
|
|
2959
|
+
};
|
|
2960
|
+
caption: {};
|
|
2961
|
+
sizes: {};
|
|
2962
|
+
} | undefined;
|
|
2963
|
+
sizes?: {
|
|
2964
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
2965
|
+
keys: ("table" | "caption" | "thead" | "tbody" | "tr" | "th" | "td" | "tfoot")[];
|
|
2966
|
+
}>;
|
|
2967
|
+
} | undefined;
|
|
2968
|
+
variants?: {
|
|
2969
|
+
simple: {};
|
|
2970
|
+
striped: {
|
|
2971
|
+
tbody: {
|
|
2972
|
+
tr: {
|
|
2973
|
+
_even: {
|
|
2974
|
+
backgroundColor: string;
|
|
2975
|
+
};
|
|
2976
|
+
};
|
|
2977
|
+
};
|
|
2978
|
+
};
|
|
2979
|
+
} | undefined;
|
|
2980
|
+
defaultProps?: {
|
|
2981
|
+
size?: string | number | undefined;
|
|
2982
|
+
variant?: "simple" | "striped" | undefined;
|
|
2983
|
+
colorScheme?: string | undefined;
|
|
2984
|
+
} | undefined;
|
|
2985
|
+
parts: ("table" | "caption" | "thead" | "tbody" | "tr" | "th" | "td" | "tfoot")[];
|
|
2986
|
+
};
|
|
2877
2987
|
Tag: {
|
|
2878
2988
|
baseStyle?: {
|
|
2879
2989
|
container: {
|