@elicecontents/content-ui 0.0.0 → 1.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/README.ko.md +117 -0
- package/README.md +117 -0
- package/cjs/_virtual/_rollupPluginBabelHelpers.js +8 -0
- package/cjs/components/button/Button.js +7 -3
- package/cjs/components/chat/Chat.js +4 -3
- package/cjs/components/dotted-pagination/DottedPagination.js +2 -1
- package/cjs/components/icon-button/IconButton.d.ts +5 -1
- package/cjs/components/icon-button/IconButton.js +13 -5
- package/cjs/components/index.d.ts +1 -0
- package/cjs/components/index.js +2 -0
- package/cjs/components/layout/Footer/LayoutFooterPaging.d.ts +7 -0
- package/cjs/components/layout/Footer/LayoutFooterPaging.js +46 -0
- package/cjs/components/layout/Footer/LayoutFooterSubmit.d.ts +3 -0
- package/cjs/components/layout/Footer/LayoutFooterSubmit.js +22 -0
- package/cjs/components/layout/Footer/index.d.ts +3 -0
- package/cjs/components/layout/Footer/index.js +9 -0
- package/cjs/components/layout/Header/LayoutHeaderSubTitle.d.ts +6 -0
- package/cjs/components/layout/Header/LayoutHeaderSubTitle.js +63 -0
- package/cjs/components/layout/Header/LayoutHeaderTitle.d.ts +7 -0
- package/cjs/components/layout/Header/LayoutHeaderTitle.js +43 -0
- package/cjs/components/layout/Header/index.d.ts +4 -0
- package/cjs/components/layout/Header/index.js +9 -0
- package/cjs/components/layout/Layout.d.ts +27 -12
- package/cjs/components/layout/Layout.js +97 -176
- package/cjs/components/layout/layout-pagination/LayoutPagination.d.ts +8 -0
- package/cjs/components/layout/layout-pagination/LayoutPagination.js +44 -0
- package/cjs/components/layout/layout-pagination/index.d.ts +2 -0
- package/cjs/components/layout/layout-pagination/index.js +7 -0
- package/cjs/components/pagination-button/PaginationButton.d.ts +9 -0
- package/cjs/components/pagination-button/PaginationButton.js +40 -0
- package/cjs/components/pagination-button/index.d.ts +1 -0
- package/cjs/components/pagination-button/index.js +7 -0
- package/cjs/components/selection/Selection.d.ts +2 -1
- package/cjs/components/selection/Selection.js +19 -14
- package/cjs/components/subtitle-button/SubtitleButton.d.ts +7 -0
- package/cjs/components/subtitle-button/SubtitleButton.js +45 -0
- package/cjs/components/subtitle-button/index.d.ts +1 -0
- package/cjs/components/subtitle-button/index.js +7 -0
- package/cjs/components/tokenColorTemporary.js +0 -4
- package/cjs/components/tooltip/Tooltip.js +1 -1
- package/cjs/hooks/index.d.ts +1 -0
- package/cjs/hooks/index.js +4 -0
- package/cjs/hooks/useAIDTMediaQuery.d.ts +8 -0
- package/cjs/hooks/useAIDTMediaQuery.js +24 -0
- package/cjs/icons/ArrowLeft.js +4 -4
- package/cjs/icons/ArrowRight.js +6 -13
- package/cjs/icons/MoreColumn.d.ts +3 -0
- package/cjs/icons/MoreColumn.js +28 -0
- package/cjs/icons/QuestionBubble.d.ts +3 -0
- package/cjs/icons/QuestionBubble.js +28 -0
- package/cjs/icons/SearchIcon.d.ts +3 -0
- package/cjs/icons/SearchIcon.js +28 -0
- package/cjs/icons/_types.d.ts +4 -0
- package/cjs/icons/index.d.ts +3 -0
- package/cjs/icons/index.js +6 -0
- package/cjs/index.d.ts +2 -0
- package/cjs/index.js +29 -0
- package/cjs/theme/createAIDTTheme.d.ts +17 -0
- package/cjs/tokens/breakpoints/breakpoints.d.ts +1 -1
- package/cjs/tokens/breakpoints/breakpoints.js +1 -1
- package/cjs/typography/typography.d.ts +24 -112
- package/cjs/typography/typography.js +54 -135
- package/es/_virtual/_rollupPluginBabelHelpers.js +8 -1
- package/es/components/button/Button.js +7 -3
- package/es/components/icon-button/IconButton.d.ts +5 -1
- package/es/components/icon-button/IconButton.js +13 -5
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +2 -1
- package/es/components/layout/Footer/LayoutFooterPaging.d.ts +7 -0
- package/es/components/layout/Footer/LayoutFooterPaging.js +38 -0
- package/es/components/layout/Footer/LayoutFooterSubmit.d.ts +3 -0
- package/es/components/layout/Footer/LayoutFooterSubmit.js +18 -0
- package/es/components/layout/Footer/index.d.ts +3 -0
- package/es/components/layout/Footer/index.js +2 -0
- package/es/components/layout/Header/LayoutHeaderSubTitle.d.ts +6 -0
- package/es/components/layout/Header/LayoutHeaderSubTitle.js +54 -0
- package/es/components/layout/Header/LayoutHeaderTitle.d.ts +7 -0
- package/es/components/layout/Header/LayoutHeaderTitle.js +35 -0
- package/es/components/layout/Header/index.d.ts +4 -0
- package/es/components/layout/Header/index.js +2 -0
- package/es/components/layout/Layout.d.ts +27 -12
- package/es/components/layout/Layout.js +99 -177
- package/es/components/layout/layout-pagination/LayoutPagination.d.ts +8 -0
- package/es/components/layout/layout-pagination/LayoutPagination.js +36 -0
- package/es/components/layout/layout-pagination/index.d.ts +2 -0
- package/es/components/layout/layout-pagination/index.js +1 -0
- package/es/components/pagination-button/PaginationButton.d.ts +9 -0
- package/es/components/pagination-button/PaginationButton.js +31 -0
- package/es/components/pagination-button/index.d.ts +1 -0
- package/es/components/pagination-button/index.js +1 -0
- package/es/components/selection/Selection.d.ts +2 -1
- package/es/components/selection/Selection.js +16 -12
- package/es/components/subtitle-button/SubtitleButton.d.ts +7 -0
- package/es/components/subtitle-button/SubtitleButton.js +41 -0
- package/es/components/subtitle-button/index.d.ts +1 -0
- package/es/components/subtitle-button/index.js +1 -0
- package/es/components/tokenColorTemporary.js +1 -3
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.js +1 -0
- package/es/hooks/useAIDTMediaQuery.d.ts +8 -0
- package/es/hooks/useAIDTMediaQuery.js +20 -0
- package/es/icons/ArrowLeft.js +4 -4
- package/es/icons/ArrowRight.js +6 -13
- package/es/icons/MoreColumn.d.ts +3 -0
- package/es/icons/MoreColumn.js +24 -0
- package/es/icons/QuestionBubble.d.ts +3 -0
- package/es/icons/QuestionBubble.js +24 -0
- package/es/icons/SearchIcon.d.ts +3 -0
- package/es/icons/SearchIcon.js +24 -0
- package/es/icons/_types.d.ts +4 -0
- package/es/icons/index.d.ts +3 -0
- package/es/icons/index.js +3 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +14 -0
- package/es/theme/createAIDTTheme.d.ts +17 -0
- package/es/tokens/breakpoints/breakpoints.d.ts +1 -1
- package/es/tokens/breakpoints/breakpoints.js +1 -1
- package/es/typography/typography.d.ts +24 -112
- package/es/typography/typography.js +54 -135
- package/package.json +2 -1
- package/cjs/components/layout/bg_pattern.png.js +0 -7
- package/es/components/layout/bg_pattern.png.js +0 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __rest } from 'tslib';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
var QuestionBubble = function QuestionBubble(_a) {
|
|
5
|
+
var _a$size = _a.size,
|
|
6
|
+
size = _a$size === void 0 ? 24 : _a$size,
|
|
7
|
+
_a$color = _a.color,
|
|
8
|
+
color = _a$color === void 0 ? '#072567' : _a$color,
|
|
9
|
+
other = __rest(_a, ["size", "color"]);
|
|
10
|
+
return jsx("svg", Object.assign({
|
|
11
|
+
width: size,
|
|
12
|
+
height: size * (25 / 24),
|
|
13
|
+
viewBox: "0 0 24 25",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
+
}, other, {
|
|
17
|
+
children: jsx("path", {
|
|
18
|
+
d: "M0 3C0 1.35938 1.3125 0 3 0H21C22.6406 0 24 1.35938 24 3V16.5C24 18.1875 22.6406 19.5 21 19.5H14.4844L8.67188 23.8594C8.4375 24.0469 8.15625 24.0469 7.875 23.9531C7.64062 23.8125 7.5 23.5781 7.5 23.25V19.5H3C1.3125 19.5 0 18.1875 0 16.5V3ZM7.92188 5.53125V5.57812C7.73438 6.14062 8.01562 6.79688 8.625 7.03125C9.1875 7.21875 9.84375 6.89062 10.0312 6.32812L10.0781 6.28125C10.125 6.14062 10.2656 6 10.4062 6H13.125C13.5469 6 13.8281 6.32812 13.8281 6.75C13.8281 6.98438 13.7344 7.21875 13.5 7.35938L11.4375 8.53125C11.0625 8.71875 10.8281 9.09375 10.8281 9.51562V10.125C10.8281 10.7812 11.3438 11.25 11.9531 11.25C12.6094 11.25 13.0781 10.7812 13.0781 10.1719L14.625 9.28125C15.5156 8.76562 16.0781 7.78125 16.0781 6.70312C16.0781 5.10938 14.7656 3.75 13.125 3.75H10.4062C9.28125 3.75 8.29688 4.45312 7.92188 5.53125ZM13.5 14.25C13.5 13.4531 12.7969 12.75 12 12.75C11.1562 12.75 10.5 13.4531 10.5 14.25C10.5 15.0938 11.1562 15.75 12 15.75C12.7969 15.75 13.5 15.0938 13.5 14.25Z",
|
|
19
|
+
fill: color
|
|
20
|
+
})
|
|
21
|
+
}));
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { QuestionBubble as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { __rest } from 'tslib';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
var SearchIcon = function SearchIcon(_a) {
|
|
5
|
+
var _a$size = _a.size,
|
|
6
|
+
size = _a$size === void 0 ? 24 : _a$size,
|
|
7
|
+
_a$color = _a.color,
|
|
8
|
+
color = _a$color === void 0 ? '#072567' : _a$color,
|
|
9
|
+
other = __rest(_a, ["size", "color"]);
|
|
10
|
+
return jsx("svg", Object.assign({
|
|
11
|
+
width: size,
|
|
12
|
+
height: size * (28 / 24),
|
|
13
|
+
viewBox: "0 0 24 28",
|
|
14
|
+
fill: "none",
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
16
|
+
}, other, {
|
|
17
|
+
children: jsx("path", {
|
|
18
|
+
d: "M6 2H13.5V8C13.5 8.84375 14.1562 9.5 15 9.5H21V23C21 24.6875 19.6406 26 18 26H6C4.3125 26 3 24.6875 3 23V5C3 3.35938 4.3125 2 6 2ZM15 2L21 8H15V2ZM15.75 16.25C15.75 13.7656 13.7344 11.75 11.25 11.75C8.76562 11.75 6.75 13.7656 6.75 16.25C6.75 18.7344 8.76562 20.75 11.25 20.75C12.0469 20.75 12.8438 20.5625 13.5 20.1406L15.3281 21.9688C15.75 22.3906 16.4531 22.3906 16.9219 21.9688C17.3438 21.5 17.3438 20.7969 16.9219 20.375L15.0938 18.5469C15.5156 17.8906 15.75 17.0938 15.75 16.25ZM11.25 18.5C10.4062 18.5 9.70312 18.0781 9.28125 17.375C8.85938 16.7188 8.85938 15.8281 9.28125 15.125C9.70312 14.4688 10.4062 14 11.25 14C12.0469 14 12.75 14.4688 13.1719 15.125C13.5938 15.8281 13.5938 16.7188 13.1719 17.375C12.75 18.0781 12.0469 18.5 11.25 18.5Z",
|
|
19
|
+
fill: color
|
|
20
|
+
})
|
|
21
|
+
}));
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { SearchIcon as default };
|
package/es/icons/index.d.ts
CHANGED
|
@@ -8,3 +8,6 @@ export { default as SelectedRadio } from './SelectedRadio';
|
|
|
8
8
|
export { default as UnselectedCheckbox } from './UnselectedCheckbox';
|
|
9
9
|
export { default as UnselectedRadio } from './UnselectedRadio';
|
|
10
10
|
export { default as Send } from './Send';
|
|
11
|
+
export { default as QuestionBubble } from './QuestionBubble';
|
|
12
|
+
export { default as SearchIcon } from './SearchIcon';
|
|
13
|
+
export { default as MoreColumn } from './MoreColumn';
|
package/es/icons/index.js
CHANGED
|
@@ -8,3 +8,6 @@ export { default as SelectedRadio } from './SelectedRadio.js';
|
|
|
8
8
|
export { default as UnselectedCheckbox } from './UnselectedCheckbox.js';
|
|
9
9
|
export { default as UnselectedRadio } from './UnselectedRadio.js';
|
|
10
10
|
export { default as Send } from './Send.js';
|
|
11
|
+
export { default as QuestionBubble } from './QuestionBubble.js';
|
|
12
|
+
export { default as SearchIcon } from './SearchIcon.js';
|
|
13
|
+
export { default as MoreColumn } from './MoreColumn.js';
|
package/es/index.d.ts
CHANGED
package/es/index.js
CHANGED
|
@@ -14,6 +14,20 @@ export { default as EliceTextarea } from './components/textarea/Textarea.js';
|
|
|
14
14
|
export { default as EliceTooltip } from './components/tooltip/Tooltip.js';
|
|
15
15
|
export { default as AIDTTypography } from './components/AIDTTypography/AIDTTypography.js';
|
|
16
16
|
export { default as EliceImage } from './components/AdaptiveImage/AdaptiveImage.js';
|
|
17
|
+
export { default as EliceSubButton } from './components/subtitle-button/SubtitleButton.js';
|
|
18
|
+
export { default as ArrowLeft } from './icons/ArrowLeft.js';
|
|
19
|
+
export { default as ArrowRight } from './icons/ArrowRight.js';
|
|
20
|
+
export { default as Close } from './icons/Close.js';
|
|
21
|
+
export { default as Micro } from './icons/Micro.js';
|
|
22
|
+
export { default as Reset } from './icons/Reset.js';
|
|
23
|
+
export { default as SelectedCheckbox } from './icons/SelectedCheckbox.js';
|
|
24
|
+
export { default as SelectedRadio } from './icons/SelectedRadio.js';
|
|
25
|
+
export { default as UnselectedCheckbox } from './icons/UnselectedCheckbox.js';
|
|
26
|
+
export { default as UnselectedRadio } from './icons/UnselectedRadio.js';
|
|
27
|
+
export { default as Send } from './icons/Send.js';
|
|
28
|
+
export { default as QuestionBubble } from './icons/QuestionBubble.js';
|
|
29
|
+
export { default as SearchIcon } from './icons/SearchIcon.js';
|
|
30
|
+
export { default as MoreColumn } from './icons/MoreColumn.js';
|
|
17
31
|
export { createAIDTTheme } from './theme/createAIDTTheme.js';
|
|
18
32
|
export { mint } from './tokens/colors/mint.js';
|
|
19
33
|
export { bluepurple } from './tokens/colors/bluepurple.js';
|
|
@@ -1,5 +1,22 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { PaletteMode, PaletteOptions, Theme } from '@mui/material';
|
|
2
3
|
import type { TypographyFontFamilyType } from '../typography';
|
|
4
|
+
declare module '@mui/material/styles' {
|
|
5
|
+
interface TypographyVariants {
|
|
6
|
+
pagination: React.CSSProperties;
|
|
7
|
+
buttoninput: React.CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
interface TypographyVariantsOptions {
|
|
10
|
+
pagination?: React.CSSProperties;
|
|
11
|
+
buttoninput?: React.CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
declare module '@mui/material/Typography' {
|
|
15
|
+
interface TypographyPropsVariantOverrides {
|
|
16
|
+
pagination: true;
|
|
17
|
+
buttoninput: true;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
3
20
|
export interface MuiPalette {
|
|
4
21
|
light: PaletteOptions;
|
|
5
22
|
dark: PaletteOptions;
|
|
@@ -10,156 +10,68 @@ export declare const createAIDTTypography: (fontFamily: keyof typeof TYPOGRAPHY_
|
|
|
10
10
|
}[];
|
|
11
11
|
h1: {
|
|
12
12
|
fontSize: string;
|
|
13
|
-
"@media (max-width:1279px)": {
|
|
14
|
-
fontSize: string;
|
|
15
|
-
};
|
|
16
|
-
"@media (max-height:800px)": {
|
|
17
|
-
fontSize: string;
|
|
18
|
-
};
|
|
19
|
-
"@media (max-width:1023px)": {
|
|
20
|
-
fontSize: string;
|
|
21
|
-
};
|
|
22
13
|
fontWeight: number;
|
|
23
|
-
lineHeight:
|
|
24
|
-
|
|
25
|
-
h2: {
|
|
26
|
-
fontSize: string;
|
|
27
|
-
"@media (max-width:1279px)": {
|
|
14
|
+
lineHeight: string;
|
|
15
|
+
"@media (max-width:1200px)": {
|
|
28
16
|
fontSize: string;
|
|
29
17
|
};
|
|
30
|
-
"@media (max-
|
|
18
|
+
"@media (max-width:512px)": {
|
|
31
19
|
fontSize: string;
|
|
32
20
|
};
|
|
33
|
-
"@media (max-width:1023px)": {
|
|
34
|
-
fontSize: string;
|
|
35
|
-
};
|
|
36
|
-
fontWeight: number;
|
|
37
|
-
lineHeight: number;
|
|
38
21
|
};
|
|
39
|
-
|
|
22
|
+
subtitle1: {
|
|
40
23
|
fontSize: string;
|
|
41
|
-
"@media (max-width:1279px)": {
|
|
42
|
-
fontSize: string;
|
|
43
|
-
};
|
|
44
|
-
"@media (max-height:800px)": {
|
|
45
|
-
fontSize: string;
|
|
46
|
-
};
|
|
47
|
-
"@media (max-width:1023px)": {
|
|
48
|
-
fontSize: string;
|
|
49
|
-
};
|
|
50
24
|
fontWeight: number;
|
|
51
|
-
lineHeight:
|
|
52
|
-
|
|
53
|
-
h4: {
|
|
54
|
-
fontSize: string;
|
|
55
|
-
"@media (max-width:1279px)": {
|
|
56
|
-
fontSize: string;
|
|
57
|
-
};
|
|
58
|
-
"@media (max-height:800px)": {
|
|
25
|
+
lineHeight: string;
|
|
26
|
+
"@media (max-width:1200px)": {
|
|
59
27
|
fontSize: string;
|
|
60
28
|
};
|
|
61
|
-
"@media (max-width:
|
|
29
|
+
"@media (max-width:512px)": {
|
|
62
30
|
fontSize: string;
|
|
63
31
|
};
|
|
64
|
-
fontWeight: number;
|
|
65
|
-
lineHeight: number;
|
|
66
32
|
};
|
|
67
|
-
|
|
33
|
+
subtitle2: {
|
|
68
34
|
fontSize: string;
|
|
69
|
-
"@media (max-width:1279px)": {
|
|
70
|
-
fontSize: string;
|
|
71
|
-
};
|
|
72
|
-
"@media (max-height:800px)": {
|
|
73
|
-
fontSize: string;
|
|
74
|
-
};
|
|
75
|
-
"@media (max-width:1023px)": {
|
|
76
|
-
fontSize: string;
|
|
77
|
-
};
|
|
78
35
|
fontWeight: number;
|
|
79
|
-
lineHeight:
|
|
80
|
-
|
|
81
|
-
h6: {
|
|
82
|
-
fontSize: string;
|
|
83
|
-
"@media (max-width:1279px)": {
|
|
36
|
+
lineHeight: string;
|
|
37
|
+
"@media (max-width:1200px)": {
|
|
84
38
|
fontSize: string;
|
|
85
39
|
};
|
|
86
|
-
"@media (max-
|
|
40
|
+
"@media (max-width:512px)": {
|
|
87
41
|
fontSize: string;
|
|
88
42
|
};
|
|
89
|
-
"@media (max-width:1023px)": {
|
|
90
|
-
fontSize: string;
|
|
91
|
-
};
|
|
92
|
-
fontWeight: number;
|
|
93
|
-
lineHeight: number;
|
|
94
43
|
};
|
|
95
|
-
|
|
44
|
+
body1: {
|
|
96
45
|
fontSize: string;
|
|
97
|
-
"@media (max-width:1279px)": {
|
|
98
|
-
fontSize: string;
|
|
99
|
-
};
|
|
100
|
-
"@media (max-height:800px)": {
|
|
101
|
-
fontSize: string;
|
|
102
|
-
};
|
|
103
|
-
"@media (max-width:1023px)": {
|
|
104
|
-
fontSize: string;
|
|
105
|
-
};
|
|
106
46
|
fontWeight: number;
|
|
107
|
-
lineHeight:
|
|
108
|
-
|
|
109
|
-
subtitle2: {
|
|
110
|
-
fontSize: string;
|
|
111
|
-
"@media (max-width:1279px)": {
|
|
112
|
-
fontSize: string;
|
|
113
|
-
};
|
|
114
|
-
"@media (max-height:800px)": {
|
|
47
|
+
lineHeight: string;
|
|
48
|
+
"@media (max-width:1200px)": {
|
|
115
49
|
fontSize: string;
|
|
116
50
|
};
|
|
117
|
-
"@media (max-width:
|
|
51
|
+
"@media (max-width:512px)": {
|
|
118
52
|
fontSize: string;
|
|
119
53
|
};
|
|
120
|
-
fontWeight: number;
|
|
121
|
-
lineHeight: number;
|
|
122
54
|
};
|
|
123
|
-
|
|
55
|
+
buttoninput: {
|
|
124
56
|
fontSize: string;
|
|
125
|
-
"@media (max-width:1279px)": {
|
|
126
|
-
fontSize: string;
|
|
127
|
-
};
|
|
128
|
-
"@media (max-height:800px)": {
|
|
129
|
-
fontSize: string;
|
|
130
|
-
};
|
|
131
|
-
"@media (max-width:1023px)": {
|
|
132
|
-
fontSize: string;
|
|
133
|
-
};
|
|
134
57
|
fontWeight: number;
|
|
135
|
-
lineHeight:
|
|
136
|
-
|
|
137
|
-
body2: {
|
|
138
|
-
fontSize: string;
|
|
139
|
-
"@media (max-width:1279px)": {
|
|
140
|
-
fontSize: string;
|
|
141
|
-
};
|
|
142
|
-
"@media (max-height:800px)": {
|
|
58
|
+
lineHeight: string;
|
|
59
|
+
"@media (max-width:1200px)": {
|
|
143
60
|
fontSize: string;
|
|
144
61
|
};
|
|
145
|
-
"@media (max-width:
|
|
62
|
+
"@media (max-width:512px)": {
|
|
146
63
|
fontSize: string;
|
|
147
64
|
};
|
|
148
|
-
fontWeight: number;
|
|
149
|
-
lineHeight: number;
|
|
150
65
|
};
|
|
151
|
-
|
|
66
|
+
pagination: {
|
|
152
67
|
fontSize: string;
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"@media (max-height:800px)": {
|
|
68
|
+
fontWeight: number;
|
|
69
|
+
lineHeight: string;
|
|
70
|
+
"@media (max-width:1200px)": {
|
|
157
71
|
fontSize: string;
|
|
158
72
|
};
|
|
159
|
-
"@media (max-width:
|
|
73
|
+
"@media (max-width:512px)": {
|
|
160
74
|
fontSize: string;
|
|
161
75
|
};
|
|
162
|
-
fontWeight: number;
|
|
163
|
-
lineHeight: number;
|
|
164
76
|
};
|
|
165
77
|
};
|
|
@@ -10,12 +10,6 @@ var createAIDTTypography = function createAIDTTypography(fontFamily) {
|
|
|
10
10
|
fontWeight: 900,
|
|
11
11
|
fontDisplay: 'swap',
|
|
12
12
|
src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/pretendard.css') format('woff2')"
|
|
13
|
-
}, {
|
|
14
|
-
fontFamily: 'Pretendard',
|
|
15
|
-
fontStyle: 'normal',
|
|
16
|
-
fontWeight: 800,
|
|
17
|
-
fontDisplay: 'swap',
|
|
18
|
-
src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/Pretendard-Bold.min.css') format('woff2')"
|
|
19
13
|
}, {
|
|
20
14
|
fontFamily: 'Pretendard',
|
|
21
15
|
fontStyle: 'normal',
|
|
@@ -28,30 +22,12 @@ var createAIDTTypography = function createAIDTTypography(fontFamily) {
|
|
|
28
22
|
fontWeight: 500,
|
|
29
23
|
fontDisplay: 'swap',
|
|
30
24
|
src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/Pretendard-Medium.min.css') format('woff2')"
|
|
31
|
-
}, {
|
|
32
|
-
fontFamily: 'Pretendard',
|
|
33
|
-
fontStyle: 'normal',
|
|
34
|
-
fontWeight: 400,
|
|
35
|
-
fontDisplay: 'swap',
|
|
36
|
-
src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/Pretendard-Regular.min.css') format('woff2')"
|
|
37
|
-
}, {
|
|
38
|
-
fontFamily: 'Pretendard',
|
|
39
|
-
fontStyle: 'normal',
|
|
40
|
-
fontWeight: 300,
|
|
41
|
-
fontDisplay: 'swap',
|
|
42
|
-
src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/Pretendard-Light.min.css') format('woff2')"
|
|
43
25
|
}, {
|
|
44
26
|
fontFamily: 'EliceDXNeolli',
|
|
45
27
|
fontStyle: 'normal',
|
|
46
28
|
fontWeight: 900,
|
|
47
29
|
fontDisplay: 'swap',
|
|
48
30
|
src: "url(https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Bold.woff2) format('woff2')"
|
|
49
|
-
}, {
|
|
50
|
-
fontFamily: 'EliceDXNeolli',
|
|
51
|
-
fontStyle: 'normal',
|
|
52
|
-
fontWeight: 800,
|
|
53
|
-
fontDisplay: 'swap',
|
|
54
|
-
src: "url(https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Bold.woff2) format('woff2')"
|
|
55
31
|
}, {
|
|
56
32
|
fontFamily: 'EliceDXNeolli',
|
|
57
33
|
fontStyle: 'normal',
|
|
@@ -64,118 +40,61 @@ var createAIDTTypography = function createAIDTTypography(fontFamily) {
|
|
|
64
40
|
fontWeight: 500,
|
|
65
41
|
fontDisplay: 'swap',
|
|
66
42
|
src: "url(https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Medium.woff2) format('woff2')"
|
|
67
|
-
}, {
|
|
68
|
-
fontFamily: 'EliceDXNeolli',
|
|
69
|
-
fontStyle: 'normal',
|
|
70
|
-
fontWeight: 400,
|
|
71
|
-
fontDisplay: 'swap',
|
|
72
|
-
src: "url('https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Medium.woff2') format('woff2')"
|
|
73
|
-
}, {
|
|
74
|
-
fontFamily: 'EliceDXNeolli',
|
|
75
|
-
fontStyle: 'normal',
|
|
76
|
-
fontWeight: 300,
|
|
77
|
-
fontDisplay: 'swap',
|
|
78
|
-
src: "url('https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Light.woff2') format('woff2')"
|
|
79
43
|
}],
|
|
80
|
-
h1: _defineProperty(_defineProperty(
|
|
81
|
-
fontSize: '
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
85
|
-
fontSize: '
|
|
86
|
-
}), "@media (max-width:
|
|
87
|
-
fontSize: '
|
|
88
|
-
}),
|
|
89
|
-
|
|
90
|
-
fontSize: '
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
fontSize: '
|
|
95
|
-
}), "@media (max-width:
|
|
96
|
-
fontSize: '
|
|
97
|
-
}),
|
|
98
|
-
|
|
99
|
-
fontSize: '
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
fontSize: '
|
|
104
|
-
}), "@media (max-width:
|
|
105
|
-
fontSize: '
|
|
106
|
-
}),
|
|
107
|
-
|
|
108
|
-
fontSize: '
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
fontSize: '
|
|
113
|
-
}), "@media (max-width:
|
|
114
|
-
fontSize: '
|
|
115
|
-
}),
|
|
116
|
-
|
|
117
|
-
fontSize: '
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
fontSize: '
|
|
122
|
-
}), "@media (max-width:
|
|
123
|
-
fontSize: '
|
|
124
|
-
}),
|
|
125
|
-
|
|
126
|
-
fontSize: '
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
fontSize: '
|
|
131
|
-
}), "@media (max-width:
|
|
132
|
-
fontSize: '
|
|
133
|
-
})
|
|
134
|
-
subtitle1: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
135
|
-
fontSize: '1.25rem'
|
|
136
|
-
}, "@media (max-width:1279px)", {
|
|
137
|
-
fontSize: '1.2rem'
|
|
138
|
-
}), "@media (max-height:800px)", {
|
|
139
|
-
fontSize: '1.125rem'
|
|
140
|
-
}), "@media (max-width:1023px)", {
|
|
141
|
-
fontSize: '1.125rem'
|
|
142
|
-
}), "fontWeight", 800), "lineHeight", 1.4),
|
|
143
|
-
subtitle2: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
144
|
-
fontSize: '1.125rem'
|
|
145
|
-
}, "@media (max-width:1279px)", {
|
|
146
|
-
fontSize: '1.1rem'
|
|
147
|
-
}), "@media (max-height:800px)", {
|
|
148
|
-
fontSize: '1rem'
|
|
149
|
-
}), "@media (max-width:1023px)", {
|
|
150
|
-
fontSize: '1rem'
|
|
151
|
-
}), "fontWeight", 800), "lineHeight", 1.32),
|
|
152
|
-
body1: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
153
|
-
fontSize: '1rem'
|
|
154
|
-
}, "@media (max-width:1279px)", {
|
|
155
|
-
fontSize: '1rem'
|
|
156
|
-
}), "@media (max-height:800px)", {
|
|
157
|
-
fontSize: '0.9375rem'
|
|
158
|
-
}), "@media (max-width:1023px)", {
|
|
159
|
-
fontSize: '0.9375rem'
|
|
160
|
-
}), "fontWeight", 500), "lineHeight", 1.48),
|
|
161
|
-
body2: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
162
|
-
fontSize: '0.875rem'
|
|
163
|
-
}, "@media (max-width:1279px)", {
|
|
164
|
-
fontSize: '0.875rem'
|
|
165
|
-
}), "@media (max-height:800px)", {
|
|
166
|
-
fontSize: '0.8125rem'
|
|
167
|
-
}), "@media (max-width:1023px)", {
|
|
168
|
-
fontSize: '0.8125rem'
|
|
169
|
-
}), "fontWeight", 500), "lineHeight", 1.4),
|
|
170
|
-
caption: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
171
|
-
fontSize: '0.75rem'
|
|
172
|
-
}, "@media (max-width:1279px)", {
|
|
173
|
-
fontSize: '0.75rem'
|
|
174
|
-
}), "@media (max-height:800px)", {
|
|
175
|
-
fontSize: '0.6875rem'
|
|
176
|
-
}), "@media (max-width:1023px)", {
|
|
177
|
-
fontSize: '0.6875rem'
|
|
178
|
-
}), "fontWeight", 500), "lineHeight", 1.32)
|
|
44
|
+
h1: _defineProperty(_defineProperty({
|
|
45
|
+
fontSize: '20px',
|
|
46
|
+
fontWeight: 700,
|
|
47
|
+
lineHeight: '140%'
|
|
48
|
+
}, "@media (max-width:1200px)", {
|
|
49
|
+
fontSize: '20px'
|
|
50
|
+
}), "@media (max-width:512px)", {
|
|
51
|
+
fontSize: '22px'
|
|
52
|
+
}),
|
|
53
|
+
subtitle1: _defineProperty(_defineProperty({
|
|
54
|
+
fontSize: '26px',
|
|
55
|
+
fontWeight: 700,
|
|
56
|
+
lineHeight: '140%'
|
|
57
|
+
}, "@media (max-width:1200px)", {
|
|
58
|
+
fontSize: '26px'
|
|
59
|
+
}), "@media (max-width:512px)", {
|
|
60
|
+
fontSize: '22px'
|
|
61
|
+
}),
|
|
62
|
+
subtitle2: _defineProperty(_defineProperty({
|
|
63
|
+
fontSize: '20px',
|
|
64
|
+
fontWeight: 700,
|
|
65
|
+
lineHeight: '140%'
|
|
66
|
+
}, "@media (max-width:1200px)", {
|
|
67
|
+
fontSize: '20px'
|
|
68
|
+
}), "@media (max-width:512px)", {
|
|
69
|
+
fontSize: '16px'
|
|
70
|
+
}),
|
|
71
|
+
body1: _defineProperty(_defineProperty({
|
|
72
|
+
fontSize: '20px',
|
|
73
|
+
fontWeight: 500,
|
|
74
|
+
lineHeight: '140%'
|
|
75
|
+
}, "@media (max-width:1200px)", {
|
|
76
|
+
fontSize: '20px'
|
|
77
|
+
}), "@media (max-width:512px)", {
|
|
78
|
+
fontSize: '16px'
|
|
79
|
+
}),
|
|
80
|
+
buttoninput: _defineProperty(_defineProperty({
|
|
81
|
+
fontSize: '20px',
|
|
82
|
+
fontWeight: 700,
|
|
83
|
+
lineHeight: '140%'
|
|
84
|
+
}, "@media (max-width:1200px)", {
|
|
85
|
+
fontSize: '20px'
|
|
86
|
+
}), "@media (max-width:512px)", {
|
|
87
|
+
fontSize: '16px'
|
|
88
|
+
}),
|
|
89
|
+
pagination: _defineProperty(_defineProperty({
|
|
90
|
+
fontSize: '32px',
|
|
91
|
+
fontWeight: 900,
|
|
92
|
+
lineHeight: '140%'
|
|
93
|
+
}, "@media (max-width:1200px)", {
|
|
94
|
+
fontSize: '32px'
|
|
95
|
+
}), "@media (max-width:512px)", {
|
|
96
|
+
fontSize: '24px'
|
|
97
|
+
})
|
|
179
98
|
};
|
|
180
99
|
};
|
|
181
100
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elicecontents/content-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "A set of UI components for creating content of Elice",
|
|
5
5
|
"author": "Elice <contact@elice.io>",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"clean": "del-cli \"buildcache/*\" \"es/*\" \"cjs/*\""
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
+
"@base-ui-components/react": "^1.0.0-alpha.6",
|
|
31
32
|
"@emotion/react": "^11.10.0",
|
|
32
33
|
"@emotion/styled": "^11.10.0",
|
|
33
34
|
"@mui/icons-material": "^5.14.10",
|