@elicecontents/content-ui 1.0.3-alpha.0 → 1.0.3

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.
@@ -27,11 +27,17 @@ var MainContainer = /*#__PURE__*/_styled__default.default(material.Stack, {
27
27
  })("width:100%;height:100vh;display:flex;flex-direction:column;padding:", function (_ref) {
28
28
  var isMiniTablet = _ref.isMiniTablet;
29
29
  return isMiniTablet ? "0 20px" : "0 40px";
30
- }, ";box-sizing:border-box;position:relative;overflow-y:hidden;background-image:", function (_ref2) {
30
+ }, ";box-sizing:border-box;position:relative;background-image:", function (_ref2) {
31
31
  var backgroundImage = _ref2.backgroundImage;
32
32
  return backgroundImage ? "url(".concat(backgroundImage, ")") : "none";
33
33
  }, ";background-size:cover;background-position:center;background-color:", function (_ref3) {
34
34
  var backgroundColor = _ref3.backgroundColor;
35
+ return backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : "#fff";
36
+ }, ";overflow-y:hidden;background-image:", function (_ref4) {
37
+ var backgroundImage = _ref4.backgroundImage;
38
+ return backgroundImage ? "url(".concat(backgroundImage, ")") : "none";
39
+ }, ";background-size:cover;background-position:center;background-color:", function (_ref5) {
40
+ var backgroundColor = _ref5.backgroundColor;
35
41
  return backgroundColor || "#fff";
36
42
  }, ";");
37
43
  var _HeaderContainer = /*#__PURE__*/_styled__default.default(material.Stack, {
@@ -56,32 +62,32 @@ var _FooterContainer = /*#__PURE__*/_styled__default.default(material.Stack, {
56
62
  });
57
63
  var SubtitleContainer = /*#__PURE__*/_styled__default.default(material.Stack, {
58
64
  target: "efnp08i3"
59
- })("height:80px;width:100%;padding:20px 40px;display:flex;align-items:", function (_ref4) {
60
- var alignment = _ref4.alignment;
65
+ })("height:80px;width:100%;padding:20px 40px;display:flex;align-items:", function (_ref6) {
66
+ var alignment = _ref6.alignment;
61
67
  return alignment;
62
- }, ";justify-content:", function (_ref5) {
63
- var justifyContent = _ref5.justifyContent;
68
+ }, ";justify-content:", function (_ref7) {
69
+ var justifyContent = _ref7.justifyContent;
64
70
  return justifyContent;
65
- }, ";background-color:", function (_ref6) {
66
- var isSticky = _ref6.isSticky;
71
+ }, ";background-color:", function (_ref8) {
72
+ var isSticky = _ref8.isSticky;
67
73
  return isSticky ? "#fff" : "none";
68
- }, ";position:", function (_ref7) {
69
- var isSticky = _ref7.isSticky;
74
+ }, ";position:", function (_ref9) {
75
+ var isSticky = _ref9.isSticky;
70
76
  return isSticky ? "sticky" : "relative";
71
- }, ";top:", function (_ref8) {
72
- var isSticky = _ref8.isSticky;
77
+ }, ";top:", function (_ref10) {
78
+ var isSticky = _ref10.isSticky;
73
79
  return isSticky ? "0" : "auto";
74
- }, ";left:0;z-index:10;transition:all 0.2s ease-in-out;box-shadow:", function (_ref9) {
75
- var isSticky = _ref9.isSticky;
80
+ }, ";left:0;z-index:10;transition:all 0.2s ease-in-out;box-shadow:", function (_ref11) {
81
+ var isSticky = _ref11.isSticky;
76
82
  return isSticky ? "0 2px 5px rgba(0, 0, 0, 0.1)" : "none";
77
83
  }, ";");
78
84
  var _ContentContainer = /*#__PURE__*/_styled__default.default(material.Stack, {
79
85
  target: "efnp08i2"
80
- })("flex:1;width:100%;max-height:calc(100vh - 74px - 92px);overflow-y:auto;min-height:0;position:relative;&::-webkit-scrollbar{width:8px;}&::-webkit-scrollbar-thumb{background-color:", function (_ref10) {
81
- var theme = _ref10.theme;
86
+ })("flex:1;width:100%;max-height:calc(100vh - 74px - 92px);overflow-y:auto;min-height:0;position:relative;&::-webkit-scrollbar{width:8px;}&::-webkit-scrollbar-thumb{background-color:", function (_ref12) {
87
+ var theme = _ref12.theme;
82
88
  return theme.palette.primary.main;
83
- }, ";border-radius:4px;}&::-webkit-scrollbar-track{background-color:", function (_ref11) {
84
- var theme = _ref11.theme;
89
+ }, ";border-radius:4px;}&::-webkit-scrollbar-track{background-color:", function (_ref13) {
90
+ var theme = _ref13.theme;
85
91
  return theme.palette.grey[300];
86
92
  }, ";border-radius:4px;}");
87
93
  var ScrollMoreButton = /*#__PURE__*/_styled__default.default(material.Button, {
@@ -96,21 +102,21 @@ var ScrollMoreButton = /*#__PURE__*/_styled__default.default(material.Button, {
96
102
  });
97
103
  var _Content = /*#__PURE__*/_styled__default.default(material.Stack, {
98
104
  target: "efnp08i0"
99
- })("flex:1;width:100%;min-height:0;text-align:", function (_ref12) {
100
- var alignment = _ref12.alignment;
105
+ })("flex:1;width:100%;min-height:0;text-align:", function (_ref14) {
106
+ var alignment = _ref14.alignment;
101
107
  return alignment;
102
- }, ";justify-content:", function (_ref13) {
103
- var justifyContent = _ref13.justifyContent;
108
+ }, ";justify-content:", function (_ref15) {
109
+ var justifyContent = _ref15.justifyContent;
104
110
  return justifyContent;
105
111
  }, ";");
106
- var EliceLayout = Object.assign(function (_ref14) {
107
- var children = _ref14.children,
108
- onPrev = _ref14.onPrev,
109
- onNext = _ref14.onNext,
110
- allowPrev = _ref14.allowPrev,
111
- allowNext = _ref14.allowNext,
112
- backgroundImage = _ref14.backgroundImage,
113
- backgroundColor = _ref14.backgroundColor;
112
+ var EliceLayout = Object.assign(function (_ref16) {
113
+ var children = _ref16.children,
114
+ onPrev = _ref16.onPrev,
115
+ onNext = _ref16.onNext,
116
+ allowPrev = _ref16.allowPrev,
117
+ allowNext = _ref16.allowNext,
118
+ backgroundImage = _ref16.backgroundImage,
119
+ backgroundColor = _ref16.backgroundColor;
114
120
  var _useAIDTMediaQuery = useAIDTMediaQuery.default(),
115
121
  isTablet = _useAIDTMediaQuery.isTablet,
116
122
  isMiniTablet = _useAIDTMediaQuery.isMiniTablet;
@@ -136,16 +142,16 @@ var EliceLayout = Object.assign(function (_ref14) {
136
142
  })
137
143
  });
138
144
  }, {
139
- HeaderContainer: function HeaderContainer(_ref15) {
140
- var children = _ref15.children;
145
+ HeaderContainer: function HeaderContainer(_ref17) {
146
+ var children = _ref17.children;
141
147
  return jsxRuntime.jsx(_HeaderContainer, {
142
148
  children: children
143
149
  });
144
150
  },
145
151
  HeaderTitle: LayoutHeaderTitle.default,
146
152
  HeaderSubTitle: LayoutHeaderSubTitle.default,
147
- ContentContainer: function ContentContainer(_ref16) {
148
- var children = _ref16.children;
153
+ ContentContainer: function ContentContainer(_ref18) {
154
+ var children = _ref18.children;
149
155
  var theme = material.useTheme();
150
156
  var contentRef = React__default.default.useRef(null);
151
157
  var context = React__default.default.useContext(EliceLayoutContext);
@@ -196,12 +202,12 @@ var EliceLayout = Object.assign(function (_ref14) {
196
202
  })]
197
203
  });
198
204
  },
199
- Subtitle: function Subtitle(_ref17) {
200
- var children = _ref17.children,
201
- _ref17$alignment = _ref17.alignment,
202
- alignment = _ref17$alignment === void 0 ? "left" : _ref17$alignment,
203
- _ref17$justifyContent = _ref17.justifyContent,
204
- justifyContent = _ref17$justifyContent === void 0 ? "flex-start" : _ref17$justifyContent;
205
+ Subtitle: function Subtitle(_ref19) {
206
+ var children = _ref19.children,
207
+ _ref19$alignment = _ref19.alignment,
208
+ alignment = _ref19$alignment === void 0 ? "left" : _ref19$alignment,
209
+ _ref19$justifyContent = _ref19.justifyContent,
210
+ justifyContent = _ref19$justifyContent === void 0 ? "flex-start" : _ref19$justifyContent;
205
211
  var context = React__default.default.useContext(EliceLayoutContext);
206
212
  if (!context) {
207
213
  throw new Error("EliceLayout components must be used within an EliceLayout provider.");
@@ -214,12 +220,12 @@ var EliceLayout = Object.assign(function (_ref14) {
214
220
  children: children
215
221
  });
216
222
  },
217
- Content: function Content(_ref18) {
218
- var children = _ref18.children,
219
- _ref18$alignment = _ref18.alignment,
220
- alignment = _ref18$alignment === void 0 ? "left" : _ref18$alignment,
221
- _ref18$justifyContent = _ref18.justifyContent,
222
- justifyContent = _ref18$justifyContent === void 0 ? "flex-start" : _ref18$justifyContent;
223
+ Content: function Content(_ref20) {
224
+ var children = _ref20.children,
225
+ _ref20$alignment = _ref20.alignment,
226
+ alignment = _ref20$alignment === void 0 ? "left" : _ref20$alignment,
227
+ _ref20$justifyContent = _ref20.justifyContent,
228
+ justifyContent = _ref20$justifyContent === void 0 ? "flex-start" : _ref20$justifyContent;
223
229
  return jsxRuntime.jsx(_Content, {
224
230
  alignment: alignment,
225
231
  justifyContent: justifyContent,
@@ -229,8 +235,8 @@ var EliceLayout = Object.assign(function (_ref14) {
229
235
  })
230
236
  });
231
237
  },
232
- FooterContainer: function FooterContainer(_ref19) {
233
- var children = _ref19.children;
238
+ FooterContainer: function FooterContainer(_ref21) {
239
+ var children = _ref21.children;
234
240
  return jsxRuntime.jsx(_FooterContainer, {
235
241
  children: children
236
242
  });
@@ -1,3 +1,3 @@
1
1
  export * from './eliceDefault';
2
- export * from './visang';
3
- export * from './miraeN';
2
+ export * from './type1';
3
+ export * from './type2';
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var eliceDefault = require('./eliceDefault.js');
4
- var visang = require('./visang.js');
5
- var miraeN = require('./miraeN.js');
4
+ var type1 = require('./type1.js');
5
+ var type2 = require('./type2.js');
6
6
 
7
7
 
8
8
 
9
9
  exports.elicePalettes = eliceDefault.elicePalettes;
10
- exports.visangPalettes = visang.visangPalettes;
11
- exports.miraeNPalettes = miraeN.miraeNPalettes;
10
+ exports.type1Palettes = type1.type1Palettes;
11
+ exports.type2Palettes = type2.type2Palettes;
@@ -0,0 +1,2 @@
1
+ import type { PublisherSubjects } from './types';
2
+ export declare const type1Palettes: PublisherSubjects;
@@ -10,7 +10,7 @@ var purple = require('../tokens/colors/purple.js');
10
10
  var yellow = require('../tokens/colors/yellow.js');
11
11
  var bluesky = require('../tokens/colors/bluesky.js');
12
12
 
13
- var miraeNPalettes = {
13
+ var type1Palettes = {
14
14
  korean: {
15
15
  elementary: {
16
16
  primary: bluepurple.bluepurple[300],
@@ -151,4 +151,4 @@ var miraeNPalettes = {
151
151
  }
152
152
  };
153
153
 
154
- exports.miraeNPalettes = miraeNPalettes;
154
+ exports.type1Palettes = type1Palettes;
@@ -0,0 +1,2 @@
1
+ import type { PublisherSubjects } from './types';
2
+ export declare const type2Palettes: PublisherSubjects;
@@ -10,7 +10,7 @@ var purple = require('../tokens/colors/purple.js');
10
10
  var yellow = require('../tokens/colors/yellow.js');
11
11
  var bluesky = require('../tokens/colors/bluesky.js');
12
12
 
13
- var visangPalettes = {
13
+ var type2Palettes = {
14
14
  korean: {
15
15
  elementary: {
16
16
  primary: bluepurple.bluepurple[300],
@@ -151,4 +151,4 @@ var visangPalettes = {
151
151
  }
152
152
  };
153
153
 
154
- exports.visangPalettes = visangPalettes;
154
+ exports.type2Palettes = type2Palettes;
@@ -18,4 +18,4 @@ export interface PublisherSubjects {
18
18
  science: SubjectLevels;
19
19
  socialStudy: SubjectLevels;
20
20
  }
21
- export type Publisher = 'elice' | 'visang' | 'miraeN';
21
+ export type Publisher = 'elice' | 'type1' | 'type2';
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
3
  var eliceDefault = require('../palettes/eliceDefault.js');
4
- var miraeN = require('../palettes/miraeN.js');
5
- var visang = require('../palettes/visang.js');
4
+ var type2 = require('../palettes/type2.js');
5
+ var type1 = require('../palettes/type1.js');
6
6
 
7
7
  var getThemeColors = function getThemeColors(publisher, subject, level) {
8
8
  var _a;
9
9
  var AIDTThemeColors;
10
10
  switch (publisher) {
11
- case 'visang':
12
- AIDTThemeColors = visang.visangPalettes;
11
+ case 'type1':
12
+ AIDTThemeColors = type1.type1Palettes;
13
13
  break;
14
- case 'miraeN':
15
- AIDTThemeColors = miraeN.miraeNPalettes;
14
+ case 'type2':
15
+ AIDTThemeColors = type2.type2Palettes;
16
16
  break;
17
17
  default:
18
18
  AIDTThemeColors = eliceDefault.elicePalettes;
@@ -21,7 +21,7 @@ export interface MuiPalette {
21
21
  light: PaletteOptions;
22
22
  dark: PaletteOptions;
23
23
  }
24
- export type AIDTPalettePublisher = 'elice' | 'visang' | 'miraeN';
24
+ export type AIDTPalettePublisher = 'elice' | 'type1' | 'type2';
25
25
  export type AIDTPaletteSubject = 'korean' | 'computerScience' | 'english' | 'socialStudy' | 'math' | 'science';
26
26
  export type AIDTPaletteLevel = 'elementary' | 'middle' | 'high';
27
27
  export interface SurfaceColor {
@@ -18,11 +18,17 @@ var MainContainer = /*#__PURE__*/_styled(Stack, {
18
18
  })("width:100%;height:100vh;display:flex;flex-direction:column;padding:", function (_ref) {
19
19
  var isMiniTablet = _ref.isMiniTablet;
20
20
  return isMiniTablet ? "0 20px" : "0 40px";
21
- }, ";box-sizing:border-box;position:relative;overflow-y:hidden;background-image:", function (_ref2) {
21
+ }, ";box-sizing:border-box;position:relative;background-image:", function (_ref2) {
22
22
  var backgroundImage = _ref2.backgroundImage;
23
23
  return backgroundImage ? "url(".concat(backgroundImage, ")") : "none";
24
24
  }, ";background-size:cover;background-position:center;background-color:", function (_ref3) {
25
25
  var backgroundColor = _ref3.backgroundColor;
26
+ return backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : "#fff";
27
+ }, ";overflow-y:hidden;background-image:", function (_ref4) {
28
+ var backgroundImage = _ref4.backgroundImage;
29
+ return backgroundImage ? "url(".concat(backgroundImage, ")") : "none";
30
+ }, ";background-size:cover;background-position:center;background-color:", function (_ref5) {
31
+ var backgroundColor = _ref5.backgroundColor;
26
32
  return backgroundColor || "#fff";
27
33
  }, ";");
28
34
  var _HeaderContainer = /*#__PURE__*/_styled(Stack, {
@@ -47,32 +53,32 @@ var _FooterContainer = /*#__PURE__*/_styled(Stack, {
47
53
  });
48
54
  var SubtitleContainer = /*#__PURE__*/_styled(Stack, {
49
55
  target: "efnp08i3"
50
- })("height:80px;width:100%;padding:20px 40px;display:flex;align-items:", function (_ref4) {
51
- var alignment = _ref4.alignment;
56
+ })("height:80px;width:100%;padding:20px 40px;display:flex;align-items:", function (_ref6) {
57
+ var alignment = _ref6.alignment;
52
58
  return alignment;
53
- }, ";justify-content:", function (_ref5) {
54
- var justifyContent = _ref5.justifyContent;
59
+ }, ";justify-content:", function (_ref7) {
60
+ var justifyContent = _ref7.justifyContent;
55
61
  return justifyContent;
56
- }, ";background-color:", function (_ref6) {
57
- var isSticky = _ref6.isSticky;
62
+ }, ";background-color:", function (_ref8) {
63
+ var isSticky = _ref8.isSticky;
58
64
  return isSticky ? "#fff" : "none";
59
- }, ";position:", function (_ref7) {
60
- var isSticky = _ref7.isSticky;
65
+ }, ";position:", function (_ref9) {
66
+ var isSticky = _ref9.isSticky;
61
67
  return isSticky ? "sticky" : "relative";
62
- }, ";top:", function (_ref8) {
63
- var isSticky = _ref8.isSticky;
68
+ }, ";top:", function (_ref10) {
69
+ var isSticky = _ref10.isSticky;
64
70
  return isSticky ? "0" : "auto";
65
- }, ";left:0;z-index:10;transition:all 0.2s ease-in-out;box-shadow:", function (_ref9) {
66
- var isSticky = _ref9.isSticky;
71
+ }, ";left:0;z-index:10;transition:all 0.2s ease-in-out;box-shadow:", function (_ref11) {
72
+ var isSticky = _ref11.isSticky;
67
73
  return isSticky ? "0 2px 5px rgba(0, 0, 0, 0.1)" : "none";
68
74
  }, ";");
69
75
  var _ContentContainer = /*#__PURE__*/_styled(Stack, {
70
76
  target: "efnp08i2"
71
- })("flex:1;width:100%;max-height:calc(100vh - 74px - 92px);overflow-y:auto;min-height:0;position:relative;&::-webkit-scrollbar{width:8px;}&::-webkit-scrollbar-thumb{background-color:", function (_ref10) {
72
- var theme = _ref10.theme;
77
+ })("flex:1;width:100%;max-height:calc(100vh - 74px - 92px);overflow-y:auto;min-height:0;position:relative;&::-webkit-scrollbar{width:8px;}&::-webkit-scrollbar-thumb{background-color:", function (_ref12) {
78
+ var theme = _ref12.theme;
73
79
  return theme.palette.primary.main;
74
- }, ";border-radius:4px;}&::-webkit-scrollbar-track{background-color:", function (_ref11) {
75
- var theme = _ref11.theme;
80
+ }, ";border-radius:4px;}&::-webkit-scrollbar-track{background-color:", function (_ref13) {
81
+ var theme = _ref13.theme;
76
82
  return theme.palette.grey[300];
77
83
  }, ";border-radius:4px;}");
78
84
  var ScrollMoreButton = /*#__PURE__*/_styled(Button, {
@@ -87,21 +93,21 @@ var ScrollMoreButton = /*#__PURE__*/_styled(Button, {
87
93
  });
88
94
  var _Content = /*#__PURE__*/_styled(Stack, {
89
95
  target: "efnp08i0"
90
- })("flex:1;width:100%;min-height:0;text-align:", function (_ref12) {
91
- var alignment = _ref12.alignment;
96
+ })("flex:1;width:100%;min-height:0;text-align:", function (_ref14) {
97
+ var alignment = _ref14.alignment;
92
98
  return alignment;
93
- }, ";justify-content:", function (_ref13) {
94
- var justifyContent = _ref13.justifyContent;
99
+ }, ";justify-content:", function (_ref15) {
100
+ var justifyContent = _ref15.justifyContent;
95
101
  return justifyContent;
96
102
  }, ";");
97
- var EliceLayout = Object.assign(function (_ref14) {
98
- var children = _ref14.children,
99
- onPrev = _ref14.onPrev,
100
- onNext = _ref14.onNext,
101
- allowPrev = _ref14.allowPrev,
102
- allowNext = _ref14.allowNext,
103
- backgroundImage = _ref14.backgroundImage,
104
- backgroundColor = _ref14.backgroundColor;
103
+ var EliceLayout = Object.assign(function (_ref16) {
104
+ var children = _ref16.children,
105
+ onPrev = _ref16.onPrev,
106
+ onNext = _ref16.onNext,
107
+ allowPrev = _ref16.allowPrev,
108
+ allowNext = _ref16.allowNext,
109
+ backgroundImage = _ref16.backgroundImage,
110
+ backgroundColor = _ref16.backgroundColor;
105
111
  var _useAIDTMediaQuery = useAIDTMediaQuery(),
106
112
  isTablet = _useAIDTMediaQuery.isTablet,
107
113
  isMiniTablet = _useAIDTMediaQuery.isMiniTablet;
@@ -127,16 +133,16 @@ var EliceLayout = Object.assign(function (_ref14) {
127
133
  })
128
134
  });
129
135
  }, {
130
- HeaderContainer: function HeaderContainer(_ref15) {
131
- var children = _ref15.children;
136
+ HeaderContainer: function HeaderContainer(_ref17) {
137
+ var children = _ref17.children;
132
138
  return jsx(_HeaderContainer, {
133
139
  children: children
134
140
  });
135
141
  },
136
142
  HeaderTitle: LayoutHeaderTitle,
137
143
  HeaderSubTitle: LayoutHeaderSubTitle,
138
- ContentContainer: function ContentContainer(_ref16) {
139
- var children = _ref16.children;
144
+ ContentContainer: function ContentContainer(_ref18) {
145
+ var children = _ref18.children;
140
146
  var theme = useTheme();
141
147
  var contentRef = React.useRef(null);
142
148
  var context = React.useContext(EliceLayoutContext);
@@ -187,12 +193,12 @@ var EliceLayout = Object.assign(function (_ref14) {
187
193
  })]
188
194
  });
189
195
  },
190
- Subtitle: function Subtitle(_ref17) {
191
- var children = _ref17.children,
192
- _ref17$alignment = _ref17.alignment,
193
- alignment = _ref17$alignment === void 0 ? "left" : _ref17$alignment,
194
- _ref17$justifyContent = _ref17.justifyContent,
195
- justifyContent = _ref17$justifyContent === void 0 ? "flex-start" : _ref17$justifyContent;
196
+ Subtitle: function Subtitle(_ref19) {
197
+ var children = _ref19.children,
198
+ _ref19$alignment = _ref19.alignment,
199
+ alignment = _ref19$alignment === void 0 ? "left" : _ref19$alignment,
200
+ _ref19$justifyContent = _ref19.justifyContent,
201
+ justifyContent = _ref19$justifyContent === void 0 ? "flex-start" : _ref19$justifyContent;
196
202
  var context = React.useContext(EliceLayoutContext);
197
203
  if (!context) {
198
204
  throw new Error("EliceLayout components must be used within an EliceLayout provider.");
@@ -205,12 +211,12 @@ var EliceLayout = Object.assign(function (_ref14) {
205
211
  children: children
206
212
  });
207
213
  },
208
- Content: function Content(_ref18) {
209
- var children = _ref18.children,
210
- _ref18$alignment = _ref18.alignment,
211
- alignment = _ref18$alignment === void 0 ? "left" : _ref18$alignment,
212
- _ref18$justifyContent = _ref18.justifyContent,
213
- justifyContent = _ref18$justifyContent === void 0 ? "flex-start" : _ref18$justifyContent;
214
+ Content: function Content(_ref20) {
215
+ var children = _ref20.children,
216
+ _ref20$alignment = _ref20.alignment,
217
+ alignment = _ref20$alignment === void 0 ? "left" : _ref20$alignment,
218
+ _ref20$justifyContent = _ref20.justifyContent,
219
+ justifyContent = _ref20$justifyContent === void 0 ? "flex-start" : _ref20$justifyContent;
214
220
  return jsx(_Content, {
215
221
  alignment: alignment,
216
222
  justifyContent: justifyContent,
@@ -220,8 +226,8 @@ var EliceLayout = Object.assign(function (_ref14) {
220
226
  })
221
227
  });
222
228
  },
223
- FooterContainer: function FooterContainer(_ref19) {
224
- var children = _ref19.children;
229
+ FooterContainer: function FooterContainer(_ref21) {
230
+ var children = _ref21.children;
225
231
  return jsx(_FooterContainer, {
226
232
  children: children
227
233
  });
@@ -1,3 +1,3 @@
1
1
  export * from './eliceDefault';
2
- export * from './visang';
3
- export * from './miraeN';
2
+ export * from './type1';
3
+ export * from './type2';
@@ -1,3 +1,3 @@
1
1
  export { elicePalettes } from './eliceDefault.js';
2
- export { visangPalettes } from './visang.js';
3
- export { miraeNPalettes } from './miraeN.js';
2
+ export { type1Palettes } from './type1.js';
3
+ export { type2Palettes } from './type2.js';
@@ -0,0 +1,2 @@
1
+ import type { PublisherSubjects } from './types';
2
+ export declare const type1Palettes: PublisherSubjects;
@@ -8,7 +8,7 @@ import { green } from '../tokens/colors/green.js';
8
8
  import { purple } from '../tokens/colors/purple.js';
9
9
  import { bluesky } from '../tokens/colors/bluesky.js';
10
10
 
11
- var miraeNPalettes = {
11
+ var type1Palettes = {
12
12
  korean: {
13
13
  elementary: {
14
14
  primary: bluepurple[300],
@@ -149,4 +149,4 @@ var miraeNPalettes = {
149
149
  }
150
150
  };
151
151
 
152
- export { miraeNPalettes };
152
+ export { type1Palettes };
@@ -0,0 +1,2 @@
1
+ import type { PublisherSubjects } from './types';
2
+ export declare const type2Palettes: PublisherSubjects;
@@ -8,7 +8,7 @@ import { green } from '../tokens/colors/green.js';
8
8
  import { purple } from '../tokens/colors/purple.js';
9
9
  import { bluesky } from '../tokens/colors/bluesky.js';
10
10
 
11
- var visangPalettes = {
11
+ var type2Palettes = {
12
12
  korean: {
13
13
  elementary: {
14
14
  primary: bluepurple[300],
@@ -149,4 +149,4 @@ var visangPalettes = {
149
149
  }
150
150
  };
151
151
 
152
- export { visangPalettes };
152
+ export { type2Palettes };
@@ -18,4 +18,4 @@ export interface PublisherSubjects {
18
18
  science: SubjectLevels;
19
19
  socialStudy: SubjectLevels;
20
20
  }
21
- export type Publisher = 'elice' | 'visang' | 'miraeN';
21
+ export type Publisher = 'elice' | 'type1' | 'type2';
@@ -1,16 +1,16 @@
1
1
  import { elicePalettes } from '../palettes/eliceDefault.js';
2
- import { miraeNPalettes } from '../palettes/miraeN.js';
3
- import { visangPalettes } from '../palettes/visang.js';
2
+ import { type2Palettes } from '../palettes/type2.js';
3
+ import { type1Palettes } from '../palettes/type1.js';
4
4
 
5
5
  var getThemeColors = function getThemeColors(publisher, subject, level) {
6
6
  var _a;
7
7
  var AIDTThemeColors;
8
8
  switch (publisher) {
9
- case 'visang':
10
- AIDTThemeColors = visangPalettes;
9
+ case 'type1':
10
+ AIDTThemeColors = type1Palettes;
11
11
  break;
12
- case 'miraeN':
13
- AIDTThemeColors = miraeNPalettes;
12
+ case 'type2':
13
+ AIDTThemeColors = type2Palettes;
14
14
  break;
15
15
  default:
16
16
  AIDTThemeColors = elicePalettes;
@@ -21,7 +21,7 @@ export interface MuiPalette {
21
21
  light: PaletteOptions;
22
22
  dark: PaletteOptions;
23
23
  }
24
- export type AIDTPalettePublisher = 'elice' | 'visang' | 'miraeN';
24
+ export type AIDTPalettePublisher = 'elice' | 'type1' | 'type2';
25
25
  export type AIDTPaletteSubject = 'korean' | 'computerScience' | 'english' | 'socialStudy' | 'math' | 'science';
26
26
  export type AIDTPaletteLevel = 'elementary' | 'middle' | 'high';
27
27
  export interface SurfaceColor {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elicecontents/content-ui",
3
- "version": "1.0.3-alpha.0",
3
+ "version": "1.0.3",
4
4
  "description": "A set of UI components for creating content of Elice",
5
5
  "author": "Elice <contact@elice.io>",
6
6
  "license": "UNLICENSED",
@@ -1,2 +0,0 @@
1
- import type { PublisherSubjects } from './types';
2
- export declare const miraeNPalettes: PublisherSubjects;
@@ -1,2 +0,0 @@
1
- import type { PublisherSubjects } from './types';
2
- export declare const visangPalettes: PublisherSubjects;
@@ -1,2 +0,0 @@
1
- import type { PublisherSubjects } from './types';
2
- export declare const miraeNPalettes: PublisherSubjects;
@@ -1,2 +0,0 @@
1
- import type { PublisherSubjects } from './types';
2
- export declare const visangPalettes: PublisherSubjects;