@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.
Files changed (122) hide show
  1. package/README.ko.md +117 -0
  2. package/README.md +117 -0
  3. package/cjs/_virtual/_rollupPluginBabelHelpers.js +8 -0
  4. package/cjs/components/button/Button.js +7 -3
  5. package/cjs/components/chat/Chat.js +4 -3
  6. package/cjs/components/dotted-pagination/DottedPagination.js +2 -1
  7. package/cjs/components/icon-button/IconButton.d.ts +5 -1
  8. package/cjs/components/icon-button/IconButton.js +13 -5
  9. package/cjs/components/index.d.ts +1 -0
  10. package/cjs/components/index.js +2 -0
  11. package/cjs/components/layout/Footer/LayoutFooterPaging.d.ts +7 -0
  12. package/cjs/components/layout/Footer/LayoutFooterPaging.js +46 -0
  13. package/cjs/components/layout/Footer/LayoutFooterSubmit.d.ts +3 -0
  14. package/cjs/components/layout/Footer/LayoutFooterSubmit.js +22 -0
  15. package/cjs/components/layout/Footer/index.d.ts +3 -0
  16. package/cjs/components/layout/Footer/index.js +9 -0
  17. package/cjs/components/layout/Header/LayoutHeaderSubTitle.d.ts +6 -0
  18. package/cjs/components/layout/Header/LayoutHeaderSubTitle.js +63 -0
  19. package/cjs/components/layout/Header/LayoutHeaderTitle.d.ts +7 -0
  20. package/cjs/components/layout/Header/LayoutHeaderTitle.js +43 -0
  21. package/cjs/components/layout/Header/index.d.ts +4 -0
  22. package/cjs/components/layout/Header/index.js +9 -0
  23. package/cjs/components/layout/Layout.d.ts +27 -12
  24. package/cjs/components/layout/Layout.js +97 -176
  25. package/cjs/components/layout/layout-pagination/LayoutPagination.d.ts +8 -0
  26. package/cjs/components/layout/layout-pagination/LayoutPagination.js +44 -0
  27. package/cjs/components/layout/layout-pagination/index.d.ts +2 -0
  28. package/cjs/components/layout/layout-pagination/index.js +7 -0
  29. package/cjs/components/pagination-button/PaginationButton.d.ts +9 -0
  30. package/cjs/components/pagination-button/PaginationButton.js +40 -0
  31. package/cjs/components/pagination-button/index.d.ts +1 -0
  32. package/cjs/components/pagination-button/index.js +7 -0
  33. package/cjs/components/selection/Selection.d.ts +2 -1
  34. package/cjs/components/selection/Selection.js +19 -14
  35. package/cjs/components/subtitle-button/SubtitleButton.d.ts +7 -0
  36. package/cjs/components/subtitle-button/SubtitleButton.js +45 -0
  37. package/cjs/components/subtitle-button/index.d.ts +1 -0
  38. package/cjs/components/subtitle-button/index.js +7 -0
  39. package/cjs/components/tokenColorTemporary.js +0 -4
  40. package/cjs/components/tooltip/Tooltip.js +1 -1
  41. package/cjs/hooks/index.d.ts +1 -0
  42. package/cjs/hooks/index.js +4 -0
  43. package/cjs/hooks/useAIDTMediaQuery.d.ts +8 -0
  44. package/cjs/hooks/useAIDTMediaQuery.js +24 -0
  45. package/cjs/icons/ArrowLeft.js +4 -4
  46. package/cjs/icons/ArrowRight.js +6 -13
  47. package/cjs/icons/MoreColumn.d.ts +3 -0
  48. package/cjs/icons/MoreColumn.js +28 -0
  49. package/cjs/icons/QuestionBubble.d.ts +3 -0
  50. package/cjs/icons/QuestionBubble.js +28 -0
  51. package/cjs/icons/SearchIcon.d.ts +3 -0
  52. package/cjs/icons/SearchIcon.js +28 -0
  53. package/cjs/icons/_types.d.ts +4 -0
  54. package/cjs/icons/index.d.ts +3 -0
  55. package/cjs/icons/index.js +6 -0
  56. package/cjs/index.d.ts +2 -0
  57. package/cjs/index.js +29 -0
  58. package/cjs/theme/createAIDTTheme.d.ts +17 -0
  59. package/cjs/tokens/breakpoints/breakpoints.d.ts +1 -1
  60. package/cjs/tokens/breakpoints/breakpoints.js +1 -1
  61. package/cjs/typography/typography.d.ts +24 -112
  62. package/cjs/typography/typography.js +54 -135
  63. package/es/_virtual/_rollupPluginBabelHelpers.js +8 -1
  64. package/es/components/button/Button.js +7 -3
  65. package/es/components/icon-button/IconButton.d.ts +5 -1
  66. package/es/components/icon-button/IconButton.js +13 -5
  67. package/es/components/index.d.ts +1 -0
  68. package/es/components/index.js +2 -1
  69. package/es/components/layout/Footer/LayoutFooterPaging.d.ts +7 -0
  70. package/es/components/layout/Footer/LayoutFooterPaging.js +38 -0
  71. package/es/components/layout/Footer/LayoutFooterSubmit.d.ts +3 -0
  72. package/es/components/layout/Footer/LayoutFooterSubmit.js +18 -0
  73. package/es/components/layout/Footer/index.d.ts +3 -0
  74. package/es/components/layout/Footer/index.js +2 -0
  75. package/es/components/layout/Header/LayoutHeaderSubTitle.d.ts +6 -0
  76. package/es/components/layout/Header/LayoutHeaderSubTitle.js +54 -0
  77. package/es/components/layout/Header/LayoutHeaderTitle.d.ts +7 -0
  78. package/es/components/layout/Header/LayoutHeaderTitle.js +35 -0
  79. package/es/components/layout/Header/index.d.ts +4 -0
  80. package/es/components/layout/Header/index.js +2 -0
  81. package/es/components/layout/Layout.d.ts +27 -12
  82. package/es/components/layout/Layout.js +99 -177
  83. package/es/components/layout/layout-pagination/LayoutPagination.d.ts +8 -0
  84. package/es/components/layout/layout-pagination/LayoutPagination.js +36 -0
  85. package/es/components/layout/layout-pagination/index.d.ts +2 -0
  86. package/es/components/layout/layout-pagination/index.js +1 -0
  87. package/es/components/pagination-button/PaginationButton.d.ts +9 -0
  88. package/es/components/pagination-button/PaginationButton.js +31 -0
  89. package/es/components/pagination-button/index.d.ts +1 -0
  90. package/es/components/pagination-button/index.js +1 -0
  91. package/es/components/selection/Selection.d.ts +2 -1
  92. package/es/components/selection/Selection.js +16 -12
  93. package/es/components/subtitle-button/SubtitleButton.d.ts +7 -0
  94. package/es/components/subtitle-button/SubtitleButton.js +41 -0
  95. package/es/components/subtitle-button/index.d.ts +1 -0
  96. package/es/components/subtitle-button/index.js +1 -0
  97. package/es/components/tokenColorTemporary.js +1 -3
  98. package/es/hooks/index.d.ts +1 -0
  99. package/es/hooks/index.js +1 -0
  100. package/es/hooks/useAIDTMediaQuery.d.ts +8 -0
  101. package/es/hooks/useAIDTMediaQuery.js +20 -0
  102. package/es/icons/ArrowLeft.js +4 -4
  103. package/es/icons/ArrowRight.js +6 -13
  104. package/es/icons/MoreColumn.d.ts +3 -0
  105. package/es/icons/MoreColumn.js +24 -0
  106. package/es/icons/QuestionBubble.d.ts +3 -0
  107. package/es/icons/QuestionBubble.js +24 -0
  108. package/es/icons/SearchIcon.d.ts +3 -0
  109. package/es/icons/SearchIcon.js +24 -0
  110. package/es/icons/_types.d.ts +4 -0
  111. package/es/icons/index.d.ts +3 -0
  112. package/es/icons/index.js +3 -0
  113. package/es/index.d.ts +2 -0
  114. package/es/index.js +14 -0
  115. package/es/theme/createAIDTTheme.d.ts +17 -0
  116. package/es/tokens/breakpoints/breakpoints.d.ts +1 -1
  117. package/es/tokens/breakpoints/breakpoints.js +1 -1
  118. package/es/typography/typography.d.ts +24 -112
  119. package/es/typography/typography.js +54 -135
  120. package/package.json +2 -1
  121. package/cjs/components/layout/bg_pattern.png.js +0 -7
  122. package/es/components/layout/bg_pattern.png.js +0 -3
@@ -12,12 +12,6 @@ var createAIDTTypography = function createAIDTTypography(fontFamily) {
12
12
  fontWeight: 900,
13
13
  fontDisplay: 'swap',
14
14
  src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/pretendard.css') format('woff2')"
15
- }, {
16
- fontFamily: 'Pretendard',
17
- fontStyle: 'normal',
18
- fontWeight: 800,
19
- fontDisplay: 'swap',
20
- src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/Pretendard-Bold.min.css') format('woff2')"
21
15
  }, {
22
16
  fontFamily: 'Pretendard',
23
17
  fontStyle: 'normal',
@@ -30,30 +24,12 @@ var createAIDTTypography = function createAIDTTypography(fontFamily) {
30
24
  fontWeight: 500,
31
25
  fontDisplay: 'swap',
32
26
  src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/Pretendard-Medium.min.css') format('woff2')"
33
- }, {
34
- fontFamily: 'Pretendard',
35
- fontStyle: 'normal',
36
- fontWeight: 400,
37
- fontDisplay: 'swap',
38
- src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/Pretendard-Regular.min.css') format('woff2')"
39
- }, {
40
- fontFamily: 'Pretendard',
41
- fontStyle: 'normal',
42
- fontWeight: 300,
43
- fontDisplay: 'swap',
44
- src: "url('https://cdnjs.cloudflare.com/ajax/libs/pretendard/1.3.9/static/Pretendard-Light.min.css') format('woff2')"
45
27
  }, {
46
28
  fontFamily: 'EliceDXNeolli',
47
29
  fontStyle: 'normal',
48
30
  fontWeight: 900,
49
31
  fontDisplay: 'swap',
50
32
  src: "url(https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Bold.woff2) format('woff2')"
51
- }, {
52
- fontFamily: 'EliceDXNeolli',
53
- fontStyle: 'normal',
54
- fontWeight: 800,
55
- fontDisplay: 'swap',
56
- src: "url(https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Bold.woff2) format('woff2')"
57
33
  }, {
58
34
  fontFamily: 'EliceDXNeolli',
59
35
  fontStyle: 'normal',
@@ -66,118 +42,61 @@ var createAIDTTypography = function createAIDTTypography(fontFamily) {
66
42
  fontWeight: 500,
67
43
  fontDisplay: 'swap',
68
44
  src: "url(https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Medium.woff2) format('woff2')"
69
- }, {
70
- fontFamily: 'EliceDXNeolli',
71
- fontStyle: 'normal',
72
- fontWeight: 400,
73
- fontDisplay: 'swap',
74
- src: "url('https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Medium.woff2') format('woff2')"
75
- }, {
76
- fontFamily: 'EliceDXNeolli',
77
- fontStyle: 'normal',
78
- fontWeight: 300,
79
- fontDisplay: 'swap',
80
- src: "url('https://cdn.jsdelivr.net/gh/fonts-archive/EliceDXNeolli/EliceDXNeolli-Light.woff2') format('woff2')"
81
45
  }],
82
- h1: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
83
- fontSize: '3.5rem'
84
- }, "@media (max-width:1279px)", {
85
- fontSize: '2.75rem'
86
- }), "@media (max-height:800px)", {
87
- fontSize: '2rem'
88
- }), "@media (max-width:1023px)", {
89
- fontSize: '2rem'
90
- }), "fontWeight", 800), "lineHeight", 1.18),
91
- h2: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
92
- fontSize: '3rem'
93
- }, "@media (max-width:1279px)", {
94
- fontSize: '2.5rem'
95
- }), "@media (max-height:800px)", {
96
- fontSize: '1.75rem'
97
- }), "@media (max-width:1023px)", {
98
- fontSize: '1.75rem'
99
- }), "fontWeight", 800), "lineHeight", 1.2),
100
- h3: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
101
- fontSize: '2.25rem'
102
- }, "@media (max-width:1279px)", {
103
- fontSize: '2.25rem'
104
- }), "@media (max-height:800px)", {
105
- fontSize: '1.625rem'
106
- }), "@media (max-width:1023px)", {
107
- fontSize: '1.625rem'
108
- }), "fontWeight", 800), "lineHeight", 1.2),
109
- h4: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
110
- fontSize: '2rem'
111
- }, "@media (max-width:1279px)", {
112
- fontSize: '2rem'
113
- }), "@media (max-height:800px)", {
114
- fontSize: '1.5rem'
115
- }), "@media (max-width:1023px)", {
116
- fontSize: '1.5rem'
117
- }), "fontWeight", 800), "lineHeight", 1.24),
118
- h5: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
119
- fontSize: '1.75rem'
120
- }, "@media (max-width:1279px)", {
121
- fontSize: '1.75rem'
122
- }), "@media (max-height:800px)", {
123
- fontSize: '1.375rem'
124
- }), "@media (max-width:1023px)", {
125
- fontSize: '1.375rem'
126
- }), "fontWeight", 800), "lineHeight", 1.28),
127
- h6: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
128
- fontSize: '1.5rem'
129
- }, "@media (max-width:1279px)", {
130
- fontSize: '1.5rem'
131
- }), "@media (max-height:800px)", {
132
- fontSize: '1.25rem'
133
- }), "@media (max-width:1023px)", {
134
- fontSize: '1.25rem'
135
- }), "fontWeight", 800), "lineHeight", 1.24),
136
- subtitle1: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
137
- fontSize: '1.25rem'
138
- }, "@media (max-width:1279px)", {
139
- fontSize: '1.2rem'
140
- }), "@media (max-height:800px)", {
141
- fontSize: '1.125rem'
142
- }), "@media (max-width:1023px)", {
143
- fontSize: '1.125rem'
144
- }), "fontWeight", 800), "lineHeight", 1.4),
145
- subtitle2: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
146
- fontSize: '1.125rem'
147
- }, "@media (max-width:1279px)", {
148
- fontSize: '1.1rem'
149
- }), "@media (max-height:800px)", {
150
- fontSize: '1rem'
151
- }), "@media (max-width:1023px)", {
152
- fontSize: '1rem'
153
- }), "fontWeight", 800), "lineHeight", 1.32),
154
- body1: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
155
- fontSize: '1rem'
156
- }, "@media (max-width:1279px)", {
157
- fontSize: '1rem'
158
- }), "@media (max-height:800px)", {
159
- fontSize: '0.9375rem'
160
- }), "@media (max-width:1023px)", {
161
- fontSize: '0.9375rem'
162
- }), "fontWeight", 500), "lineHeight", 1.48),
163
- body2: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
164
- fontSize: '0.875rem'
165
- }, "@media (max-width:1279px)", {
166
- fontSize: '0.875rem'
167
- }), "@media (max-height:800px)", {
168
- fontSize: '0.8125rem'
169
- }), "@media (max-width:1023px)", {
170
- fontSize: '0.8125rem'
171
- }), "fontWeight", 500), "lineHeight", 1.4),
172
- caption: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
173
- fontSize: '0.75rem'
174
- }, "@media (max-width:1279px)", {
175
- fontSize: '0.75rem'
176
- }), "@media (max-height:800px)", {
177
- fontSize: '0.6875rem'
178
- }), "@media (max-width:1023px)", {
179
- fontSize: '0.6875rem'
180
- }), "fontWeight", 500), "lineHeight", 1.32)
46
+ h1: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
47
+ fontSize: '20px',
48
+ fontWeight: 700,
49
+ lineHeight: '140%'
50
+ }, "@media (max-width:1200px)", {
51
+ fontSize: '20px'
52
+ }), "@media (max-width:512px)", {
53
+ fontSize: '22px'
54
+ }),
55
+ subtitle1: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
56
+ fontSize: '26px',
57
+ fontWeight: 700,
58
+ lineHeight: '140%'
59
+ }, "@media (max-width:1200px)", {
60
+ fontSize: '26px'
61
+ }), "@media (max-width:512px)", {
62
+ fontSize: '22px'
63
+ }),
64
+ subtitle2: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
65
+ fontSize: '20px',
66
+ fontWeight: 700,
67
+ lineHeight: '140%'
68
+ }, "@media (max-width:1200px)", {
69
+ fontSize: '20px'
70
+ }), "@media (max-width:512px)", {
71
+ fontSize: '16px'
72
+ }),
73
+ body1: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
74
+ fontSize: '20px',
75
+ fontWeight: 500,
76
+ lineHeight: '140%'
77
+ }, "@media (max-width:1200px)", {
78
+ fontSize: '20px'
79
+ }), "@media (max-width:512px)", {
80
+ fontSize: '16px'
81
+ }),
82
+ buttoninput: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
83
+ fontSize: '20px',
84
+ fontWeight: 700,
85
+ lineHeight: '140%'
86
+ }, "@media (max-width:1200px)", {
87
+ fontSize: '20px'
88
+ }), "@media (max-width:512px)", {
89
+ fontSize: '16px'
90
+ }),
91
+ pagination: _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({
92
+ fontSize: '32px',
93
+ fontWeight: 900,
94
+ lineHeight: '140%'
95
+ }, "@media (max-width:1200px)", {
96
+ fontSize: '32px'
97
+ }), "@media (max-width:512px)", {
98
+ fontSize: '24px'
99
+ })
181
100
  };
182
101
  };
183
102
 
@@ -53,6 +53,13 @@ function _nonIterableSpread() {
53
53
  function _slicedToArray(r, e) {
54
54
  return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
55
55
  }
56
+ function _taggedTemplateLiteral(e, t) {
57
+ return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
58
+ raw: {
59
+ value: Object.freeze(t)
60
+ }
61
+ }));
62
+ }
56
63
  function _toConsumableArray(r) {
57
64
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
58
65
  }
@@ -78,4 +85,4 @@ function _unsupportedIterableToArray(r, a) {
78
85
  }
79
86
  }
80
87
 
81
- export { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _arrayWithoutHoles as arrayWithoutHoles, _defineProperty as defineProperty, _iterableToArray as iterableToArray, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _nonIterableSpread as nonIterableSpread, _slicedToArray as slicedToArray, _toConsumableArray as toConsumableArray, _toPrimitive as toPrimitive, _toPropertyKey as toPropertyKey, _unsupportedIterableToArray as unsupportedIterableToArray };
88
+ export { _arrayLikeToArray as arrayLikeToArray, _arrayWithHoles as arrayWithHoles, _arrayWithoutHoles as arrayWithoutHoles, _defineProperty as defineProperty, _iterableToArray as iterableToArray, _iterableToArrayLimit as iterableToArrayLimit, _nonIterableRest as nonIterableRest, _nonIterableSpread as nonIterableSpread, _slicedToArray as slicedToArray, _taggedTemplateLiteral as taggedTemplateLiteral, _toConsumableArray as toConsumableArray, _toPrimitive as toPrimitive, _toPropertyKey as toPropertyKey, _unsupportedIterableToArray as unsupportedIterableToArray };
@@ -2,6 +2,7 @@ import { __rest } from 'tslib';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { forwardRef } from 'react';
4
4
  import { useTheme, Button, Typography } from '@mui/material';
5
+ import useAIDTMediaQuery from '../../hooks/useAIDTMediaQuery.js';
5
6
 
6
7
  var EliceButton = forwardRef(function (_a, ref) {
7
8
  var children = _a.children,
@@ -10,21 +11,24 @@ var EliceButton = forwardRef(function (_a, ref) {
10
11
  disabled = _a.disabled,
11
12
  rest = __rest(_a, ["children", "variant", "disabled"]);
12
13
  var theme = useTheme();
14
+ var _useAIDTMediaQuery = useAIDTMediaQuery(),
15
+ isMiniTablet = _useAIDTMediaQuery.isMiniTablet;
13
16
  return jsx(Button, Object.assign({
14
17
  ref: ref,
15
18
  variant: variant,
16
19
  disabled: disabled,
17
20
  sx: {
18
21
  width: 'fit-content',
19
- borderRadius: '1rem',
20
- padding: '0.75rem 1.25rem',
22
+ height: isMiniTablet ? '42px' : '56px',
23
+ borderRadius: isMiniTablet ? '12px' : '16px',
24
+ padding: isMiniTablet ? '8px 12px' : '12px 20px',
21
25
  color: disabled ? theme.palette.text.disabled : variant === 'outlined' ? theme.palette.primary.main : theme.palette.common.white,
22
26
  backgroundColor: variant === 'outlined' ? theme.palette.common.white : disabled ? theme.palette.grey[300] : theme.palette.primary.main,
23
27
  fontFamily: 'inherit'
24
28
  }
25
29
  }, rest, {
26
30
  children: jsx(Typography, {
27
- variant: "subtitle1",
31
+ variant: "buttoninput",
28
32
  children: children
29
33
  })
30
34
  }));
@@ -2,6 +2,10 @@ import { type IconButtonProps } from '@mui/material';
2
2
  import type { ReactNode } from 'react';
3
3
  export interface EliceIconButtonProps extends IconButtonProps {
4
4
  children: ReactNode;
5
+ backgroundColor?: string;
6
+ width?: number;
7
+ height?: number;
8
+ borderRadius?: number;
5
9
  }
6
- declare const EliceIconButton: ({ children, disabled, ...rest }: EliceIconButtonProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const EliceIconButton: ({ children, disabled, backgroundColor, width, height, borderRadius, ...rest }: EliceIconButtonProps) => import("react/jsx-runtime").JSX.Element;
7
11
  export default EliceIconButton;
@@ -2,21 +2,29 @@ import { __rest } from 'tslib';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { useTheme, IconButton } from '@mui/material';
4
4
  import { gray400Color, gray300Color } from '../tokenColorTemporary.js';
5
+ import useAIDTMediaQuery from '../../hooks/useAIDTMediaQuery.js';
5
6
 
6
7
  var EliceIconButton = function EliceIconButton(_a) {
7
8
  var children = _a.children,
8
9
  disabled = _a.disabled,
9
- rest = __rest(_a, ["children", "disabled"]);
10
+ backgroundColor = _a.backgroundColor,
11
+ width = _a.width,
12
+ height = _a.height,
13
+ borderRadius = _a.borderRadius,
14
+ rest = __rest(_a, ["children", "disabled", "backgroundColor", "width", "height", "borderRadius"]);
10
15
  var theme = useTheme();
16
+ var _useAIDTMediaQuery = useAIDTMediaQuery(),
17
+ isMiniTablet = _useAIDTMediaQuery.isMiniTablet;
11
18
  return jsx(IconButton, Object.assign({
12
19
  disabled: disabled,
13
20
  style: {
14
21
  flexShrink: 0,
15
- height: '3.5rem',
16
- width: '3.5rem',
22
+ height: height !== null && height !== void 0 ? height : '3.5rem',
23
+ width: width !== null && width !== void 0 ? width : '3.5rem',
17
24
  boxSizing: 'border-box',
18
- backgroundColor: disabled ? gray300Color : theme.palette.primary.main,
19
- borderRadius: '1rem',
25
+ backgroundColor: disabled ? gray300Color : backgroundColor ? backgroundColor : theme.palette.primary.main,
26
+ borderRadius: borderRadius !== null && borderRadius !== void 0 ? borderRadius : '1rem',
27
+ padding: isMiniTablet ? 8 : 10,
20
28
  color: disabled ? gray400Color : theme.palette.primary.light
21
29
  }
22
30
  }, rest, {
@@ -16,3 +16,4 @@ export * from './textarea';
16
16
  export * from './tooltip';
17
17
  export * from './AIDTTypography';
18
18
  export * from './AdaptiveImage';
19
+ export * from './subtitle-button';
@@ -1,3 +1,4 @@
1
+ export { default as EliceImage } from './AdaptiveImage/AdaptiveImage.js';
1
2
  export { default as EliceAIFeedback } from './AI-feedback/AIFeedback.js';
2
3
  export { default as EliceBadge } from './badge/Badge.js';
3
4
  export { default as EliceButton } from './button/Button.js';
@@ -13,4 +14,4 @@ export { default as EliceTable } from './table/Table.js';
13
14
  export { default as EliceTextarea } from './textarea/Textarea.js';
14
15
  export { default as EliceTooltip } from './tooltip/Tooltip.js';
15
16
  export { default as AIDTTypography } from './AIDTTypography/AIDTTypography.js';
16
- export { default as EliceImage } from './AdaptiveImage/AdaptiveImage.js';
17
+ export { default as EliceSubButton } from './subtitle-button/SubtitleButton.js';
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ export interface LayoutFooterPagingProps {
3
+ currentPage: number;
4
+ totalPage: number;
5
+ }
6
+ declare const LayoutFooterPaging: React.FC<LayoutFooterPagingProps>;
7
+ export default LayoutFooterPaging;
@@ -0,0 +1,38 @@
1
+ import _styled from '@emotion/styled/base';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { Typography, useTheme } from '@mui/material';
4
+
5
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
6
+ var FooterPagination = /*#__PURE__*/_styled(Typography, {
7
+ target: "ecog5a41"
8
+ })("production" === "production" ? {
9
+ name: "17qwk4",
10
+ styles: "padding:0 32px"
11
+ } : {
12
+ name: "17qwk4",
13
+ styles: "padding:0 32px",
14
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
15
+ });
16
+ var StyledCurrentPage = /*#__PURE__*/_styled("span", {
17
+ target: "ecog5a40"
18
+ })("color:", function (_ref) {
19
+ var fontColor = _ref.fontColor;
20
+ return fontColor;
21
+ }, ";");
22
+ var LayoutFooterPaging = function LayoutFooterPaging(_ref2) {
23
+ var currentPage = _ref2.currentPage,
24
+ totalPage = _ref2.totalPage;
25
+ var theme = useTheme();
26
+ return jsxs(FooterPagination, {
27
+ variant: "pagination",
28
+ sx: {
29
+ color: "#D8D8E2"
30
+ },
31
+ children: [jsx(StyledCurrentPage, {
32
+ fontColor: theme.palette.primary.main,
33
+ children: currentPage
34
+ }), " ", "/ ", totalPage]
35
+ });
36
+ };
37
+
38
+ export { LayoutFooterPaging as default };
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const LayoutFooterSubmit: React.FC;
3
+ export default LayoutFooterSubmit;
@@ -0,0 +1,18 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import { Stack } from '@mui/material';
3
+ import EliceButton from '../../button/Button.js';
4
+
5
+ var LayoutFooterSubmit = function LayoutFooterSubmit() {
6
+ return jsxs(Stack, {
7
+ direction: "row",
8
+ spacing: 1,
9
+ children: [jsx(EliceButton, {
10
+ variant: "outlined",
11
+ children: "\uB2E4\uC2DC\uD558\uAE30"
12
+ }), jsx(EliceButton, {
13
+ children: "\uC81C\uCD9C\uD558\uAE30"
14
+ })]
15
+ });
16
+ };
17
+
18
+ export { LayoutFooterSubmit as default };
@@ -0,0 +1,3 @@
1
+ export { default as LayoutFooterPaging } from './LayoutFooterPaging';
2
+ export { default as LayoutFooterSubmit } from './LayoutFooterSubmit';
3
+ export type { LayoutFooterPagingProps } from './LayoutFooterPaging';
@@ -0,0 +1,2 @@
1
+ export { default as LayoutFooterPaging } from './LayoutFooterPaging.js';
2
+ export { default as LayoutFooterSubmit } from './LayoutFooterSubmit.js';
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export interface LayoutHeaderSubTitleProps {
3
+ children: React.ReactNode;
4
+ }
5
+ declare const LayoutHeaderSubTitle: ({ children }: LayoutHeaderSubTitleProps) => JSX.Element;
6
+ export default LayoutHeaderSubTitle;
@@ -0,0 +1,54 @@
1
+ import { taggedTemplateLiteral as _taggedTemplateLiteral, slicedToArray as _slicedToArray } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import { jsx, jsxs } from 'react/jsx-runtime';
3
+ import React, { useState } from 'react';
4
+ import { Menu } from '@base-ui-components/react/menu';
5
+ import { styled, Stack } from '@mui/material';
6
+ import useAIDTMediaQuery from '../../../hooks/useAIDTMediaQuery.js';
7
+ import EliceIconButton from '../../icon-button/IconButton.js';
8
+ import MoreColumn from '../../../icons/MoreColumn.js';
9
+ import { bluepurple } from '../../../tokens/colors/bluepurple.js';
10
+
11
+ var _templateObject, _templateObject2, _templateObject3;
12
+ var StyledPopup = styled(Menu.Popup)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n min-width: 150px;\n background: transparent;\n padding-top: 10px;\n border-radius: 8px;\n"])));
13
+ var StyledMenuItem = styled(Menu.Item)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n flex-direction: column;\n"])));
14
+ var StyledMoreTrigger = styled(Menu.Trigger)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n border: none;\n background-color: #fff;\n padding: 0;\n"])));
15
+ var LayoutHeaderSubTitle = function LayoutHeaderSubTitle(_ref) {
16
+ var children = _ref.children;
17
+ var _useState = useState(false),
18
+ _useState2 = _slicedToArray(_useState, 2),
19
+ menuOpen = _useState2[0],
20
+ setMenuOpen = _useState2[1];
21
+ var _useAIDTMediaQuery = useAIDTMediaQuery(),
22
+ isTablet = _useAIDTMediaQuery.isTablet; // ✅ 반응형 적용
23
+ return jsx(Stack, {
24
+ direction: "row",
25
+ spacing: 2,
26
+ alignItems: "center",
27
+ children: isTablet ? jsxs(Menu.Root, {
28
+ open: menuOpen,
29
+ onOpenChange: setMenuOpen,
30
+ children: [jsx(StyledMoreTrigger, {
31
+ children: jsx(EliceIconButton, {
32
+ width: 48,
33
+ height: 48,
34
+ backgroundColor: bluepurple[100],
35
+ borderRadius: 12,
36
+ children: jsx(MoreColumn, {})
37
+ })
38
+ }), jsx(Menu.Portal, {
39
+ children: jsx(Menu.Positioner, {
40
+ align: "start",
41
+ children: jsxs(StyledPopup, {
42
+ children: [jsx(Menu.Arrow, {}), React.Children.map(children, function (child, index) {
43
+ return jsx(StyledMenuItem, {
44
+ children: child
45
+ }, index);
46
+ })]
47
+ })
48
+ })
49
+ })]
50
+ }) : children
51
+ });
52
+ };
53
+
54
+ export { LayoutHeaderSubTitle as default };
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ export interface LayoutHeaderTitleProps {
3
+ children?: React.ReactNode;
4
+ titleComponent?: React.ReactNode;
5
+ }
6
+ declare const LayoutHeaderTitle: ({ children, titleComponent }: LayoutHeaderTitleProps) => JSX.Element;
7
+ export default LayoutHeaderTitle;
@@ -0,0 +1,35 @@
1
+ import _styled from '@emotion/styled/base';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { Typography, useTheme, Stack } from '@mui/material';
4
+
5
+ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
6
+ var StyledTitle = /*#__PURE__*/_styled(Stack, {
7
+ target: "e1to23d41"
8
+ })("flex-shrink:0;width:fit-content;background-color:", function (_ref) {
9
+ var bgColor = _ref.bgColor;
10
+ return bgColor;
11
+ }, ";position:relative;top:auto;box-sizing:border-box;padding-top:17px;border-radius:0 0 26px 26px;");
12
+ var Title = /*#__PURE__*/_styled(Typography, {
13
+ target: "e1to23d40"
14
+ })("production" === "production" ? {
15
+ name: "v13ytb",
16
+ styles: "border-top:1px dashed #fff;height:100%;display:flex;justify-content:center;padding:11px 24px;text-align:center;color:#fff"
17
+ } : {
18
+ name: "v13ytb",
19
+ styles: "border-top:1px dashed #fff;height:100%;display:flex;justify-content:center;padding:11px 24px;text-align:center;color:#fff",
20
+ toString: _EMOTION_STRINGIFIED_CSS_ERROR__
21
+ });
22
+ var LayoutHeaderTitle = function LayoutHeaderTitle(_ref2) {
23
+ var children = _ref2.children,
24
+ titleComponent = _ref2.titleComponent;
25
+ var theme = useTheme();
26
+ return jsx(StyledTitle, {
27
+ bgColor: theme.palette.secondary.main,
28
+ children: titleComponent ? titleComponent : typeof children === "string" ? jsx(Title, {
29
+ variant: "h1",
30
+ children: children
31
+ }) : children
32
+ });
33
+ };
34
+
35
+ export { LayoutHeaderTitle as default };
@@ -0,0 +1,4 @@
1
+ export { default as LayoutHeaderSubTitle } from './LayoutHeaderSubTitle';
2
+ export { default as LayoutHeaderTitle } from './LayoutHeaderTitle';
3
+ export type { LayoutHeaderSubTitleProps } from './LayoutHeaderSubTitle';
4
+ export type { LayoutHeaderTitleProps } from './LayoutHeaderTitle';
@@ -0,0 +1,2 @@
1
+ export { default as LayoutHeaderSubTitle } from './LayoutHeaderSubTitle.js';
2
+ export { default as LayoutHeaderTitle } from './LayoutHeaderTitle.js';
@@ -1,16 +1,31 @@
1
- import type { ReactNode } from 'react';
1
+ import React from "react";
2
2
  export interface EliceLayoutProps {
3
- levelKey?: 'elementary' | 'middle' | 'high';
4
- title: string;
5
- children: ReactNode;
6
- sideChildren?: ReactNode;
7
- currentPage: number;
8
- totalPage: number;
9
- onReset?: VoidFunction;
10
- onPrev?: VoidFunction;
11
- onNext?: VoidFunction;
12
- allowPre?: boolean;
3
+ children: React.ReactNode;
4
+ onPrev?: () => void;
5
+ onNext?: () => void;
6
+ allowPrev?: boolean;
13
7
  allowNext?: boolean;
14
8
  }
15
- declare const EliceLayout: (props: EliceLayoutProps) => import("react/jsx-runtime").JSX.Element;
9
+ declare const EliceLayout: (({ children, onPrev, onNext, allowPrev, allowNext }: EliceLayoutProps) => import("react/jsx-runtime").JSX.Element) & {
10
+ HeaderContainer: ({ children, height }: {
11
+ children: React.ReactNode;
12
+ height?: string | undefined;
13
+ }) => import("react/jsx-runtime").JSX.Element;
14
+ HeaderTitle: ({ children, titleComponent }: import("./Header").LayoutHeaderTitleProps) => JSX.Element;
15
+ HeaderSubTitle: ({ children }: import("./Header").LayoutHeaderSubTitleProps) => JSX.Element;
16
+ Subtitle: ({ children, height }: {
17
+ children: React.ReactNode;
18
+ height?: string | undefined;
19
+ }) => import("react/jsx-runtime").JSX.Element;
20
+ Content: ({ children, height }: {
21
+ children: React.ReactNode;
22
+ height?: string | undefined;
23
+ }) => import("react/jsx-runtime").JSX.Element;
24
+ FooterContainer: ({ children, height }: {
25
+ children: React.ReactNode;
26
+ height?: string | undefined;
27
+ }) => import("react/jsx-runtime").JSX.Element;
28
+ FooterPaging: React.FC<import("./Footer").LayoutFooterPagingProps>;
29
+ FooterSubmit: React.FC<{}>;
30
+ };
16
31
  export default EliceLayout;