smarthr-ui 36.0.0 → 37.0.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/esm/components/Heading/Heading.js +0 -2
- package/esm/components/Heading/Heading.js.map +1 -1
- package/esm/components/Icon/generateIcon.d.ts +5 -4
- package/esm/components/Icon/generateIcon.js.map +1 -1
- package/esm/components/Pagination/PaginationItem.d.ts +2 -2
- package/esm/components/Text/Text.d.ts +267 -28
- package/esm/components/Text/Text.js +46 -25
- package/esm/components/Text/Text.js.map +1 -1
- package/esm/themes/ThemeProvider.d.ts +2 -2
- package/esm/themes/createBorder.d.ts +4 -4
- package/esm/themes/createBreakpoint.d.ts +4 -4
- package/esm/themes/createFontSize.d.ts +4 -4
- package/esm/themes/createFrame.d.ts +4 -4
- package/esm/themes/createInteraction.d.ts +4 -4
- package/esm/themes/createLeading.d.ts +2 -2
- package/esm/themes/createPalette.d.ts +4 -4
- package/esm/themes/createRadius.d.ts +4 -4
- package/esm/themes/createShadow.d.ts +4 -4
- package/esm/themes/createShadow.js +8 -5
- package/esm/themes/createShadow.js.map +1 -1
- package/esm/themes/createSize.d.ts +4 -4
- package/esm/themes/createSpacing.d.ts +5 -6
- package/esm/themes/createSpacing.js +1 -1
- package/esm/themes/createSpacing.js.map +1 -1
- package/esm/themes/createTheme.d.ts +4 -4
- package/esm/themes/createZIndex.d.ts +4 -4
- package/lib/components/Heading/Heading.js +0 -2
- package/lib/components/Heading/Heading.js.map +1 -1
- package/lib/components/Icon/generateIcon.d.ts +5 -4
- package/lib/components/Icon/generateIcon.js.map +1 -1
- package/lib/components/Pagination/PaginationItem.d.ts +2 -2
- package/lib/components/Text/Text.d.ts +267 -28
- package/lib/components/Text/Text.js +47 -29
- package/lib/components/Text/Text.js.map +1 -1
- package/lib/themes/ThemeProvider.d.ts +2 -2
- package/lib/themes/createBorder.d.ts +4 -4
- package/lib/themes/createBreakpoint.d.ts +4 -4
- package/lib/themes/createFontSize.d.ts +4 -4
- package/lib/themes/createFrame.d.ts +4 -4
- package/lib/themes/createInteraction.d.ts +4 -4
- package/lib/themes/createLeading.d.ts +2 -2
- package/lib/themes/createPalette.d.ts +4 -4
- package/lib/themes/createRadius.d.ts +4 -4
- package/lib/themes/createShadow.d.ts +4 -4
- package/lib/themes/createShadow.js +8 -5
- package/lib/themes/createShadow.js.map +1 -1
- package/lib/themes/createSize.d.ts +4 -4
- package/lib/themes/createSpacing.d.ts +5 -6
- package/lib/themes/createSpacing.js +3 -3
- package/lib/themes/createSpacing.js.map +1 -1
- package/lib/themes/createTheme.d.ts +4 -4
- package/lib/themes/createZIndex.d.ts +4 -4
- package/package.json +32 -22
- package/smarthr-ui.css +200 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../src/components/Heading/Heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAkC,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAClF,OAAO,MAAM,MAAM,mBAAmB,CAAA;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,IAAI,EAAa,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AA+B/C,MAAM,gBAAgB,GAAG,CAAC,KAAa,EAAE,GAAqB,EAAE,cAAwB,EAAE,EAAE;IAC1F,IAAI,IAAI,GAAG,SAAS,CAAA;IACpB,IAAI,SAAS,GAAG,SAAS,CAAA;IAEzB,mDAAmD;IACnD,IAAI,CAAC,GAAG,IAAI,KAAK,GAAG,CAAC,EAAE;QACrB,IAAI,GAAG,SAAS,CAAA;QAChB,SAAS,GAAG,KAAK,CAAA;KAClB;IAED,OAAO;QACL,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,aAAa,CAA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AE,GAAG,EAAC,IAAI,GAAG,CAAA;AAEjD,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,OAAO,EAAE,OAAuD;CACjE,CAAC,CAAC,CAAA;;CAEF,CAAA"}
|
|
@@ -10,7 +10,7 @@ type LiteralUnion<T extends U, U = string> = T | (U & Record<never, never>);
|
|
|
10
10
|
export declare const generateIcon: (svg: IconType) => React.FC<ComponentProps>;
|
|
11
11
|
declare const definedColors: readonly ["TEXT_BLACK", "TEXT_WHITE", "TEXT_GREY", "TEXT_DISABLED", "TEXT_LINK", "MAIN", "DANGER", "WARNING", "BRAND"];
|
|
12
12
|
type DefinedColor = (typeof definedColors)[number];
|
|
13
|
-
|
|
13
|
+
type IconProps = {
|
|
14
14
|
/**
|
|
15
15
|
* アイコンの色
|
|
16
16
|
* @type string | 'TEXT_BLACK' | 'TEXT_GREY' | 'TEXT_DISABLED' | 'TEXT_LINK' | 'MAIN' | 'DANGER' | 'WARNING' | 'BRAND'
|
|
@@ -21,9 +21,9 @@ interface IconProps {
|
|
|
21
21
|
* @deprecated 親要素やデフォルトフォントサイズが継承されるため固定値の指定は非推奨
|
|
22
22
|
*/
|
|
23
23
|
size?: FontSizes;
|
|
24
|
-
}
|
|
24
|
+
};
|
|
25
25
|
type ElementProps = Omit<React.SVGAttributes<SVGAElement>, keyof IconProps>;
|
|
26
|
-
|
|
26
|
+
type BaseComponentProps = {
|
|
27
27
|
/**アイコンの説明テキスト*/
|
|
28
28
|
alt?: React.ReactNode;
|
|
29
29
|
/** アイコンと並べるテキスト */
|
|
@@ -34,6 +34,7 @@ export interface ComponentProps extends IconProps, ElementProps {
|
|
|
34
34
|
right?: boolean;
|
|
35
35
|
/** コンポーネントに適用するクラス名 */
|
|
36
36
|
className?: string;
|
|
37
|
-
}
|
|
37
|
+
};
|
|
38
|
+
export type ComponentProps = Omit<IconProps & ElementProps, keyof BaseComponentProps> & BaseComponentProps;
|
|
38
39
|
export declare const createIcon: (SvgIcon: IconType) => React.FC<ComponentProps>;
|
|
39
40
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateIcon.js","sourceRoot":"","sources":["../../../src/components/Icon/generateIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAG/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAE1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAQ/C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,GAAa,EAAE,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;AAE9D,MAAM,aAAa,GAAG;IACpB,YAAY;IACZ,YAAY;IACZ,WAAW;IACX,eAAe;IACf,WAAW;IACX,MAAM;IACN,QAAQ;IACR,SAAS;IACT,OAAO;CACC,CAAA;AAGV,MAAM,aAAa,GAAgB,IAAI,GAAG,CAAC,aAAa,CAAC,CAAA;AACzD,MAAM,cAAc,GAAG,CAAC,KAAa,EAAyB,EAAE,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"generateIcon.js","sourceRoot":"","sources":["../../../src/components/Icon/generateIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAG/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAA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CAAA;AAED,MAAM,kBAAkB,GAAG,MAAM,CAAC,IAAI,CAGpC;IACE,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAA;MACrB,CAAC,KAAK;IACR,GAAG,CAAA;;;QAGC,GAAG,IAAI,eAAe,UAAU,CAAC,GAAG,CAAC,GAAG;KAC3C;;;;;QAKG,KAAK,IAAI,GAAG,IAAI,wBAAwB,UAAU,CAAC,GAAG,CAAC,GAAG;;GAE/D;CACF,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { VFC } from 'react';
|
|
2
2
|
import { Theme } from '../../hooks/useTheme';
|
|
3
|
-
|
|
3
|
+
type Props = {
|
|
4
4
|
page: number;
|
|
5
5
|
currentPage: number;
|
|
6
6
|
onClick: (pageNumber: number) => void;
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
8
|
export declare const PaginationItem: VFC<Props>;
|
|
9
9
|
export declare const ItemButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("../Button").BaseProps & {
|
|
10
10
|
type?: "button" | "reset" | "submit" | undefined;
|
|
@@ -1,31 +1,270 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import React, { ComponentProps, PropsWithChildren } from 'react';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const text: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
size: {
|
|
5
|
+
XXS: string;
|
|
6
|
+
XS: string;
|
|
7
|
+
S: string;
|
|
8
|
+
M: string;
|
|
9
|
+
L: string;
|
|
10
|
+
XL: string;
|
|
11
|
+
XXL: string;
|
|
12
|
+
};
|
|
13
|
+
weight: {
|
|
14
|
+
bold: string;
|
|
15
|
+
};
|
|
16
|
+
italic: {
|
|
17
|
+
true: string;
|
|
18
|
+
};
|
|
19
|
+
color: {
|
|
20
|
+
TEXT_BLACK: string;
|
|
21
|
+
TEXT_WHITE: string;
|
|
22
|
+
TEXT_GREY: string;
|
|
23
|
+
TEXT_DISABLED: string;
|
|
24
|
+
TEXT_LINK: string;
|
|
25
|
+
inherit: string;
|
|
26
|
+
};
|
|
27
|
+
leading: {
|
|
28
|
+
NONE: string;
|
|
29
|
+
TIGHT: string;
|
|
30
|
+
NORMAL: string;
|
|
31
|
+
LOOSE: string;
|
|
32
|
+
};
|
|
33
|
+
whiteSpace: {
|
|
34
|
+
normal: string;
|
|
35
|
+
nowrap: string;
|
|
36
|
+
pre: string;
|
|
37
|
+
'pre-line': string;
|
|
38
|
+
'pre-wrap': string;
|
|
39
|
+
};
|
|
40
|
+
}, undefined, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
41
|
+
size: {
|
|
42
|
+
XXS: string;
|
|
43
|
+
XS: string;
|
|
44
|
+
S: string;
|
|
45
|
+
M: string;
|
|
46
|
+
L: string;
|
|
47
|
+
XL: string;
|
|
48
|
+
XXL: string;
|
|
49
|
+
};
|
|
50
|
+
weight: {
|
|
51
|
+
bold: string;
|
|
52
|
+
};
|
|
53
|
+
italic: {
|
|
54
|
+
true: string;
|
|
55
|
+
};
|
|
56
|
+
color: {
|
|
57
|
+
TEXT_BLACK: string;
|
|
58
|
+
TEXT_WHITE: string;
|
|
59
|
+
TEXT_GREY: string;
|
|
60
|
+
TEXT_DISABLED: string;
|
|
61
|
+
TEXT_LINK: string;
|
|
62
|
+
inherit: string;
|
|
63
|
+
};
|
|
64
|
+
leading: {
|
|
65
|
+
NONE: string;
|
|
66
|
+
TIGHT: string;
|
|
67
|
+
NORMAL: string;
|
|
68
|
+
LOOSE: string;
|
|
69
|
+
};
|
|
70
|
+
whiteSpace: {
|
|
71
|
+
normal: string;
|
|
72
|
+
nowrap: string;
|
|
73
|
+
pre: string;
|
|
74
|
+
'pre-line': string;
|
|
75
|
+
'pre-wrap': string;
|
|
76
|
+
};
|
|
77
|
+
}, {
|
|
78
|
+
size: {
|
|
79
|
+
XXS: string;
|
|
80
|
+
XS: string;
|
|
81
|
+
S: string;
|
|
82
|
+
M: string;
|
|
83
|
+
L: string;
|
|
84
|
+
XL: string;
|
|
85
|
+
XXL: string;
|
|
86
|
+
};
|
|
87
|
+
weight: {
|
|
88
|
+
bold: string;
|
|
89
|
+
};
|
|
90
|
+
italic: {
|
|
91
|
+
true: string;
|
|
92
|
+
};
|
|
93
|
+
color: {
|
|
94
|
+
TEXT_BLACK: string;
|
|
95
|
+
TEXT_WHITE: string;
|
|
96
|
+
TEXT_GREY: string;
|
|
97
|
+
TEXT_DISABLED: string;
|
|
98
|
+
TEXT_LINK: string;
|
|
99
|
+
inherit: string;
|
|
100
|
+
};
|
|
101
|
+
leading: {
|
|
102
|
+
NONE: string;
|
|
103
|
+
TIGHT: string;
|
|
104
|
+
NORMAL: string;
|
|
105
|
+
LOOSE: string;
|
|
106
|
+
};
|
|
107
|
+
whiteSpace: {
|
|
108
|
+
normal: string;
|
|
109
|
+
nowrap: string;
|
|
110
|
+
pre: string;
|
|
111
|
+
'pre-line': string;
|
|
112
|
+
'pre-wrap': string;
|
|
113
|
+
};
|
|
114
|
+
}>, {
|
|
115
|
+
size: {
|
|
116
|
+
XXS: string;
|
|
117
|
+
XS: string;
|
|
118
|
+
S: string;
|
|
119
|
+
M: string;
|
|
120
|
+
L: string;
|
|
121
|
+
XL: string;
|
|
122
|
+
XXL: string;
|
|
123
|
+
};
|
|
124
|
+
weight: {
|
|
125
|
+
bold: string;
|
|
126
|
+
};
|
|
127
|
+
italic: {
|
|
128
|
+
true: string;
|
|
129
|
+
};
|
|
130
|
+
color: {
|
|
131
|
+
TEXT_BLACK: string;
|
|
132
|
+
TEXT_WHITE: string;
|
|
133
|
+
TEXT_GREY: string;
|
|
134
|
+
TEXT_DISABLED: string;
|
|
135
|
+
TEXT_LINK: string;
|
|
136
|
+
inherit: string;
|
|
137
|
+
};
|
|
138
|
+
leading: {
|
|
139
|
+
NONE: string;
|
|
140
|
+
TIGHT: string;
|
|
141
|
+
NORMAL: string;
|
|
142
|
+
LOOSE: string;
|
|
143
|
+
};
|
|
144
|
+
whiteSpace: {
|
|
145
|
+
normal: string;
|
|
146
|
+
nowrap: string;
|
|
147
|
+
pre: string;
|
|
148
|
+
'pre-line': string;
|
|
149
|
+
'pre-wrap': string;
|
|
150
|
+
};
|
|
151
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
152
|
+
size: {
|
|
153
|
+
XXS: string;
|
|
154
|
+
XS: string;
|
|
155
|
+
S: string;
|
|
156
|
+
M: string;
|
|
157
|
+
L: string;
|
|
158
|
+
XL: string;
|
|
159
|
+
XXL: string;
|
|
160
|
+
};
|
|
161
|
+
weight: {
|
|
162
|
+
bold: string;
|
|
163
|
+
};
|
|
164
|
+
italic: {
|
|
165
|
+
true: string;
|
|
166
|
+
};
|
|
167
|
+
color: {
|
|
168
|
+
TEXT_BLACK: string;
|
|
169
|
+
TEXT_WHITE: string;
|
|
170
|
+
TEXT_GREY: string;
|
|
171
|
+
TEXT_DISABLED: string;
|
|
172
|
+
TEXT_LINK: string;
|
|
173
|
+
inherit: string;
|
|
174
|
+
};
|
|
175
|
+
leading: {
|
|
176
|
+
NONE: string;
|
|
177
|
+
TIGHT: string;
|
|
178
|
+
NORMAL: string;
|
|
179
|
+
LOOSE: string;
|
|
180
|
+
};
|
|
181
|
+
whiteSpace: {
|
|
182
|
+
normal: string;
|
|
183
|
+
nowrap: string;
|
|
184
|
+
pre: string;
|
|
185
|
+
'pre-line': string;
|
|
186
|
+
'pre-wrap': string;
|
|
187
|
+
};
|
|
188
|
+
}, undefined, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
189
|
+
size: {
|
|
190
|
+
XXS: string;
|
|
191
|
+
XS: string;
|
|
192
|
+
S: string;
|
|
193
|
+
M: string;
|
|
194
|
+
L: string;
|
|
195
|
+
XL: string;
|
|
196
|
+
XXL: string;
|
|
197
|
+
};
|
|
198
|
+
weight: {
|
|
199
|
+
bold: string;
|
|
200
|
+
};
|
|
201
|
+
italic: {
|
|
202
|
+
true: string;
|
|
203
|
+
};
|
|
204
|
+
color: {
|
|
205
|
+
TEXT_BLACK: string;
|
|
206
|
+
TEXT_WHITE: string;
|
|
207
|
+
TEXT_GREY: string;
|
|
208
|
+
TEXT_DISABLED: string;
|
|
209
|
+
TEXT_LINK: string;
|
|
210
|
+
inherit: string;
|
|
211
|
+
};
|
|
212
|
+
leading: {
|
|
213
|
+
NONE: string;
|
|
214
|
+
TIGHT: string;
|
|
215
|
+
NORMAL: string;
|
|
216
|
+
LOOSE: string;
|
|
217
|
+
};
|
|
218
|
+
whiteSpace: {
|
|
219
|
+
normal: string;
|
|
220
|
+
nowrap: string;
|
|
221
|
+
pre: string;
|
|
222
|
+
'pre-line': string;
|
|
223
|
+
'pre-wrap': string;
|
|
224
|
+
};
|
|
225
|
+
}, {
|
|
226
|
+
size: {
|
|
227
|
+
XXS: string;
|
|
228
|
+
XS: string;
|
|
229
|
+
S: string;
|
|
230
|
+
M: string;
|
|
231
|
+
L: string;
|
|
232
|
+
XL: string;
|
|
233
|
+
XXL: string;
|
|
234
|
+
};
|
|
235
|
+
weight: {
|
|
236
|
+
bold: string;
|
|
237
|
+
};
|
|
238
|
+
italic: {
|
|
239
|
+
true: string;
|
|
240
|
+
};
|
|
241
|
+
color: {
|
|
242
|
+
TEXT_BLACK: string;
|
|
243
|
+
TEXT_WHITE: string;
|
|
244
|
+
TEXT_GREY: string;
|
|
245
|
+
TEXT_DISABLED: string;
|
|
246
|
+
TEXT_LINK: string;
|
|
247
|
+
inherit: string;
|
|
248
|
+
};
|
|
249
|
+
leading: {
|
|
250
|
+
NONE: string;
|
|
251
|
+
TIGHT: string;
|
|
252
|
+
NORMAL: string;
|
|
253
|
+
LOOSE: string;
|
|
254
|
+
};
|
|
255
|
+
whiteSpace: {
|
|
256
|
+
normal: string;
|
|
257
|
+
nowrap: string;
|
|
258
|
+
pre: string;
|
|
259
|
+
'pre-line': string;
|
|
260
|
+
'pre-wrap': string;
|
|
261
|
+
};
|
|
262
|
+
}>, unknown, unknown, undefined>>;
|
|
263
|
+
export type TextProps = VariantProps<typeof text> & {
|
|
264
|
+
/** テキストコンポーネントの HTML タグ名。初期値は span */
|
|
16
265
|
as?: string | React.ComponentType<any> | undefined;
|
|
17
|
-
|
|
266
|
+
/** 強調するかどうかの真偽値。指定すると em 要素になる */
|
|
267
|
+
emphasis?: boolean;
|
|
18
268
|
};
|
|
19
|
-
|
|
20
|
-
* @param [size] フォントサイズの抽象値(font-size)
|
|
21
|
-
* @param [weight] フォントウェイト(font-weight)
|
|
22
|
-
* @param [italic] 斜体にするかどうかの真偽値(font-style: italic)
|
|
23
|
-
* @param [color] 色。初期値は inherit(color、)
|
|
24
|
-
* @param [leading] 行送りの抽象値(line-height)
|
|
25
|
-
* @param [whiteSpace] ホワイトスペース(white-space)
|
|
26
|
-
* @param [emphasis] 強調するかどうかの真偽値。指定すると em 要素になる
|
|
27
|
-
* @param [as] テキストコンポーネントの HTML タグ名。初期値は span
|
|
28
|
-
* @param [children]
|
|
29
|
-
*/
|
|
30
|
-
export declare const Text: React.FC<Props>;
|
|
269
|
+
export declare const Text: React.FC<PropsWithChildren<TextProps & ComponentProps<'span'>>>;
|
|
31
270
|
export {};
|
|
@@ -1,27 +1,48 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import React, { useMemo } from 'react';
|
|
2
|
+
import { tv } from 'tailwind-variants';
|
|
3
|
+
const text = tv({
|
|
4
|
+
variants: {
|
|
5
|
+
size: {
|
|
6
|
+
XXS: 'shr-text-2xs',
|
|
7
|
+
XS: 'shr-text-xs',
|
|
8
|
+
S: 'shr-text-sm',
|
|
9
|
+
M: 'shr-text-base',
|
|
10
|
+
L: 'shr-text-lg',
|
|
11
|
+
XL: 'shr-text-xl',
|
|
12
|
+
XXL: 'shr-text-2xl',
|
|
13
|
+
},
|
|
14
|
+
weight: {
|
|
15
|
+
bold: 'shr-font-bold',
|
|
16
|
+
},
|
|
17
|
+
italic: {
|
|
18
|
+
true: 'shr-italic',
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
TEXT_BLACK: 'shr-text-black',
|
|
22
|
+
TEXT_WHITE: 'shr-text-white',
|
|
23
|
+
TEXT_GREY: 'shr-text-grey',
|
|
24
|
+
TEXT_DISABLED: 'shr-text-disabled',
|
|
25
|
+
TEXT_LINK: 'shr-text-link',
|
|
26
|
+
inherit: 'shr-text-inherit',
|
|
27
|
+
},
|
|
28
|
+
leading: {
|
|
29
|
+
NONE: 'shr-leading-none',
|
|
30
|
+
TIGHT: 'shr-leading-tight',
|
|
31
|
+
NORMAL: 'shr-leading-normal',
|
|
32
|
+
LOOSE: 'shr-leading-loose',
|
|
33
|
+
},
|
|
34
|
+
whiteSpace: {
|
|
35
|
+
normal: 'shr-whitespace-normal',
|
|
36
|
+
nowrap: 'shr-whitespace-nowrap',
|
|
37
|
+
pre: 'shr-whitespace-pre',
|
|
38
|
+
'pre-line': 'shr-whitespace-pre-line',
|
|
39
|
+
'pre-wrap': 'shr-whitespace-pre-wrap',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
26
42
|
});
|
|
43
|
+
export const Text = ({ emphasis, weight = emphasis ? 'bold' : undefined, as: Component = emphasis ? 'em' : 'span', ...props }) => {
|
|
44
|
+
const { size, italic, color, leading, whiteSpace, className, ...others } = props;
|
|
45
|
+
const styles = useMemo(() => text({ size, weight, italic, color, leading, whiteSpace, className }), [size, weight, italic, color, leading, whiteSpace, className]);
|
|
46
|
+
return React.createElement(Component, { ...others, className: styles });
|
|
47
|
+
};
|
|
27
48
|
//# sourceMappingURL=Text.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Text.js","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAqC,OAAO,EAAE,MAAM,OAAO,CAAA;AACzE,OAAO,EAAgB,EAAE,EAAE,MAAM,mBAAmB,CAAA;AAEpD,MAAM,IAAI,GAAG,EAAE,CAAC;IACd,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,GAAG,EAAE,cAAc;YACnB,EAAE,EAAE,aAAa;YACjB,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,eAAe;YAClB,CAAC,EAAE,aAAa;YAChB,EAAE,EAAE,aAAa;YACjB,GAAG,EAAE,cAAc;SACpB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,eAAe;SACtB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,YAAY;SACnB;QACD,KAAK,EAAE;YACL,UAAU,EAAE,gBAAgB;YAC5B,UAAU,EAAE,gBAAgB;YAC5B,SAAS,EAAE,eAAe;YAC1B,aAAa,EAAE,mBAAmB;YAClC,SAAS,EAAE,eAAe;YAC1B,OAAO,EAAE,kBAAkB;SAC5B;QACD,OAAO,EAAE;YACP,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,mBAAmB;YAC1B,MAAM,EAAE,oBAAoB;YAC5B,KAAK,EAAE,mBAAmB;SAC3B;QACD,UAAU,EAAE;YACV,MAAM,EAAE,uBAAuB;YAC/B,MAAM,EAAE,uBAAuB;YAC/B,GAAG,EAAE,oBAAoB;YACzB,UAAU,EAAE,yBAAyB;YACrC,UAAU,EAAE,yBAAyB;SACtC;KACF;CACF,CAAC,CAAA;AAUF,MAAM,CAAC,MAAM,IAAI,GAAoE,CAAC,EACpF,QAAQ,EACR,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,EACtC,EAAE,EAAE,SAAS,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EACxC,GAAG,KAAK,EACT,EAAE,EAAE;IACH,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAA;IAChF,MAAM,MAAM,GAAG,OAAO,CACpB,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC,EAC3E,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC,CAC9D,CAAA;IAED,OAAO,oBAAC,SAAS,OAAK,MAAM,EAAE,SAAS,EAAE,MAAM,GAAI,CAAA;AACrD,CAAC,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CreatedTheme } from '../themes/createTheme';
|
|
3
3
|
export declare const ThemeContext: React.Context<CreatedTheme>;
|
|
4
|
-
|
|
4
|
+
type Props = {
|
|
5
5
|
theme: CreatedTheme;
|
|
6
6
|
children?: React.ReactNode;
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
8
|
export declare const ThemeProvider: React.VFC<Props>;
|
|
9
9
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ColorProperty } from './createColor';
|
|
2
|
-
export
|
|
2
|
+
export type BorderProperty = {
|
|
3
3
|
lineWidth?: string;
|
|
4
4
|
lineStyle?: string;
|
|
5
5
|
shorthand?: string;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
6
|
+
};
|
|
7
|
+
export type CreatedBorderTheme = {
|
|
8
8
|
lineWidth: string;
|
|
9
9
|
lineStyle: string;
|
|
10
10
|
shorthand: string;
|
|
11
11
|
highContrast: string;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
export declare const defaultBorder: CreatedBorderTheme;
|
|
14
14
|
export declare const createBorder: (userBorder?: BorderProperty, userColor?: ColorProperty) => CreatedBorderTheme;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type BreakpointProperty = {
|
|
2
2
|
SP?: number;
|
|
3
3
|
TABLET?: number;
|
|
4
|
-
}
|
|
5
|
-
export
|
|
4
|
+
};
|
|
5
|
+
export type CreatedBreakpointTheme = {
|
|
6
6
|
SP: number;
|
|
7
7
|
TABLET: number;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
export declare const defaultBreakpoint: {
|
|
10
10
|
SP: number;
|
|
11
11
|
TABLET: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const defaultHtmlFontSize = 16;
|
|
2
|
-
export
|
|
2
|
+
export type FontSizeProperty = {
|
|
3
3
|
/** @deprecated */
|
|
4
4
|
htmlFontSize?: number;
|
|
5
5
|
/** @deprecated */
|
|
@@ -18,8 +18,8 @@ export interface FontSizeProperty {
|
|
|
18
18
|
L?: string;
|
|
19
19
|
XL?: string;
|
|
20
20
|
XXL?: string;
|
|
21
|
-
}
|
|
22
|
-
export
|
|
21
|
+
};
|
|
22
|
+
export type CreatedFontSizeTheme = {
|
|
23
23
|
/** @deprecated You shouldn't use rem except for font size. use calc. */
|
|
24
24
|
pxToRem: (px: number) => string;
|
|
25
25
|
/** @deprecated */
|
|
@@ -37,7 +37,7 @@ export interface CreatedFontSizeTheme {
|
|
|
37
37
|
L: string;
|
|
38
38
|
XL: string;
|
|
39
39
|
XXL: string;
|
|
40
|
-
}
|
|
40
|
+
};
|
|
41
41
|
export type FontSizes = 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';
|
|
42
42
|
export declare const defaultFontSize: CreatedFontSizeTheme;
|
|
43
43
|
export declare const createFontSize: (userFontSize?: FontSizeProperty) => CreatedFontSizeTheme;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaletteProperty } from './createPalette';
|
|
2
|
-
export
|
|
2
|
+
export type FrameProperty = {
|
|
3
3
|
border?: {
|
|
4
4
|
lineWidth?: string;
|
|
5
5
|
lineStyle?: string;
|
|
@@ -10,8 +10,8 @@ export interface FrameProperty {
|
|
|
10
10
|
l?: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
}
|
|
14
|
-
export
|
|
13
|
+
};
|
|
14
|
+
export type CreatedFrameTheme = {
|
|
15
15
|
border: {
|
|
16
16
|
lineWidth: string;
|
|
17
17
|
lineStyle: string;
|
|
@@ -21,7 +21,7 @@ export interface CreatedFrameTheme {
|
|
|
21
21
|
m: string;
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
}
|
|
24
|
+
};
|
|
25
25
|
/**
|
|
26
26
|
* @deprecated The defaultFrame will be deprecated, please use defaultBorder or defaultRadius instead
|
|
27
27
|
*/
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type InteractionProperty = {
|
|
2
2
|
hover?: {
|
|
3
3
|
feedbackOpacity?: string;
|
|
4
4
|
animationDuration?: string;
|
|
5
5
|
animationTiming?: string;
|
|
6
6
|
animation?: string;
|
|
7
7
|
};
|
|
8
|
-
}
|
|
9
|
-
export
|
|
8
|
+
};
|
|
9
|
+
export type CreatedInteractionTheme = {
|
|
10
10
|
hover: {
|
|
11
11
|
feedbackOpacity: string;
|
|
12
12
|
animationDuration: string;
|
|
13
13
|
animationTiming: string;
|
|
14
14
|
animation: string;
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
export declare const defaultInteraction: {
|
|
18
18
|
hover: {
|
|
19
19
|
feedbackOpacity: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type Leading = {
|
|
2
2
|
NONE: number;
|
|
3
3
|
TIGHT: number;
|
|
4
4
|
NORMAL: number;
|
|
5
5
|
RELAXED: number;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
7
|
export type LeadingProperty = Partial<Omit<Leading, 'NONE'>>;
|
|
8
8
|
export type CreatedLeading = Leading;
|
|
9
9
|
export type Leadings = keyof Leading;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type PaletteProperty = {
|
|
2
2
|
TEXT_BLACK?: string;
|
|
3
3
|
TEXT_GREY?: string;
|
|
4
4
|
TEXT_DISABLED?: string;
|
|
@@ -16,8 +16,8 @@ export interface PaletteProperty {
|
|
|
16
16
|
SCRIM?: string;
|
|
17
17
|
OVERLAY?: string;
|
|
18
18
|
OUTLINE?: string;
|
|
19
|
-
}
|
|
20
|
-
export
|
|
19
|
+
};
|
|
20
|
+
export type CreatedPaletteTheme = {
|
|
21
21
|
hoverColor: (value: string, darkenAmount?: 0.05 | 0.15) => string;
|
|
22
22
|
disableColor: (value: string) => string;
|
|
23
23
|
TEXT_BLACK: string;
|
|
@@ -38,7 +38,7 @@ export interface CreatedPaletteTheme {
|
|
|
38
38
|
OVERLAY: string;
|
|
39
39
|
BRAND: string;
|
|
40
40
|
OUTLINE: string;
|
|
41
|
-
}
|
|
41
|
+
};
|
|
42
42
|
/**
|
|
43
43
|
* @deprecated The defaultPelette will be deprecated, please use defaultColor instead
|
|
44
44
|
*/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type RadiusProperty = {
|
|
2
2
|
s?: string;
|
|
3
3
|
m?: string;
|
|
4
4
|
l?: string;
|
|
5
5
|
full?: string;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
6
|
+
};
|
|
7
|
+
export type CreatedRadiusTheme = {
|
|
8
8
|
s: string;
|
|
9
9
|
m: string;
|
|
10
10
|
l: string;
|
|
11
11
|
full: string;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
export declare const defaultRadius: CreatedRadiusTheme;
|
|
14
14
|
export declare const createRadius: (userRadius?: RadiusProperty) => CreatedRadiusTheme;
|