podo-ui 0.1.46 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/react/atom/pagination.module.scss +61 -0
- package/react/atom/pagination.tsx +87 -0
- package/react.ts +2 -1
- package/readme.md +3 -3
- package/scss/color/theme.scss +92 -0
- package/scss/form/checkbox-radio.scss +48 -0
- package/scss/form/toggle.scss +16 -0
- package/scss/layout/bg-elevation.scss +14 -0
- package/scss/reset.scss +2 -0
- package/.prettierignore +0 -9
- package/.prettierrc +0 -8
- package/ARCHITECTURE.md +0 -727
- package/cli/icon-scss.js +0 -56
- package/eslint.config.js +0 -26
- package/index.html +0 -12
- package/next-env.d.ts +0 -5
- package/next.config.mjs +0 -10
- package/public/logo.svg +0 -57
- package/src/app/components/button/page.module.scss +0 -253
- package/src/app/components/button/page.tsx +0 -366
- package/src/app/components/checkbox-radio/page.module.scss +0 -95
- package/src/app/components/checkbox-radio/page.tsx +0 -265
- package/src/app/components/input/page.module.scss +0 -112
- package/src/app/components/input/page.tsx +0 -196
- package/src/app/components/select/page.module.scss +0 -90
- package/src/app/components/select/page.tsx +0 -225
- package/src/app/components/textarea/page.module.scss +0 -81
- package/src/app/components/textarea/page.tsx +0 -103
- package/src/app/foundation/colors/page.module.scss +0 -370
- package/src/app/foundation/colors/page.tsx +0 -200
- package/src/app/foundation/icons/page.module.scss +0 -229
- package/src/app/foundation/icons/page.tsx +0 -229
- package/src/app/foundation/spacing/page.module.scss +0 -258
- package/src/app/foundation/spacing/page.tsx +0 -289
- package/src/app/foundation/typography/page.module.scss +0 -148
- package/src/app/foundation/typography/page.tsx +0 -207
- package/src/app/getting-started/installation/page.module.scss +0 -157
- package/src/app/getting-started/installation/page.tsx +0 -154
- package/src/app/getting-started/usage/page.module.scss +0 -209
- package/src/app/getting-started/usage/page.tsx +0 -242
- package/src/app/home.module.scss +0 -541
- package/src/app/layout/grid/page.module.scss +0 -178
- package/src/app/layout/grid/page.tsx +0 -217
- package/src/app/layout/responsive/page.module.scss +0 -237
- package/src/app/layout/responsive/page.tsx +0 -279
- package/src/app/layout.module.scss +0 -14
- package/src/app/layout.tsx +0 -30
- package/src/app/page.module.scss +0 -71
- package/src/app/page.tsx +0 -284
- package/src/components/CodeBlock.module.scss +0 -29
- package/src/components/CodeBlock.tsx +0 -18
- package/src/components/Navigation.module.scss +0 -104
- package/src/components/Navigation.tsx +0 -96
- package/src/components/PageHeader.module.scss +0 -24
- package/src/components/PageHeader.tsx +0 -17
- package/src/components/ThemeToggle.module.scss +0 -34
- package/src/components/ThemeToggle.tsx +0 -47
- package/src/styles/custom.scss +0 -11
- package/src/styles/doc-common.scss +0 -119
- package/src/styles/font-family.scss +0 -80
- package/src/styles/icon.scss +0 -5
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.json +0 -26
package/cli/icon-scss.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import path from 'node:path';
|
|
2
|
-
import fs from 'node:fs';
|
|
3
|
-
import opentype from 'opentype.js';
|
|
4
|
-
|
|
5
|
-
// 파일 경로와 출력 디렉토리 설정
|
|
6
|
-
const woffPath = path.resolve(process.cwd(), 'scss/icon/font/icon.woff');
|
|
7
|
-
const outputFileName = path.resolve(process.cwd(), 'scss/icon/icon-name.scss');
|
|
8
|
-
|
|
9
|
-
// SCSS 파일 생성 함수
|
|
10
|
-
function generateIconScss(glyphs, outputPath) {
|
|
11
|
-
let scssContent = '$icon-name: (\n';
|
|
12
|
-
|
|
13
|
-
// 각 글리프에 대해 CSS 클래스 생성
|
|
14
|
-
for (const [glyphName, unicode] of Object.entries(glyphs)) {
|
|
15
|
-
if (glyphName === '.notdef') {
|
|
16
|
-
continue;
|
|
17
|
-
}
|
|
18
|
-
scssContent += ` ${glyphName}: ${unicode},\n`;
|
|
19
|
-
}
|
|
20
|
-
scssContent += ');';
|
|
21
|
-
|
|
22
|
-
// SCSS 파일 저장
|
|
23
|
-
fs.writeFileSync(outputPath, scssContent, 'utf8');
|
|
24
|
-
console.log(`SCSS file generated at: ${outputPath}`);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// WOFF 파일에서 글리프 추출 함수
|
|
28
|
-
function extractGlyphsFromWoff(woffPath) {
|
|
29
|
-
const font = opentype.loadSync(woffPath);
|
|
30
|
-
const glyphs = {};
|
|
31
|
-
|
|
32
|
-
// GlyphSet 객체에서 글리프를 순회하며 이름과 유니코드 추출
|
|
33
|
-
for (let i = 0; i < font.glyphs.length; i++) {
|
|
34
|
-
const glyph = font.glyphs.get(i);
|
|
35
|
-
if (glyph.unicode) {
|
|
36
|
-
const glyphName = glyph.name || `glyph${i}`;
|
|
37
|
-
const formattedGlyphName = glyphName.replace(/_/g, '-');
|
|
38
|
-
const unicode = `\\${glyph.unicode.toString(16).padStart(4, '0')}`; // 유니코드 값을 \xxxx 형식으로 변환
|
|
39
|
-
glyphs[formattedGlyphName] = unicode;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
return glyphs;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// 실행
|
|
47
|
-
try {
|
|
48
|
-
if (!fs.existsSync(woffPath)) {
|
|
49
|
-
throw new Error('WOFF file not found.');
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
const glyphs = extractGlyphsFromWoff(woffPath);
|
|
53
|
-
generateIconScss(glyphs, outputFileName);
|
|
54
|
-
} catch (error) {
|
|
55
|
-
console.error('Error:', error.message);
|
|
56
|
-
}
|
package/eslint.config.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import js from '@eslint/js';
|
|
2
|
-
import globals from 'globals';
|
|
3
|
-
import reactHooks from 'eslint-plugin-react-hooks';
|
|
4
|
-
import reactRefresh from 'eslint-plugin-react-refresh';
|
|
5
|
-
import tseslint from 'typescript-eslint';
|
|
6
|
-
|
|
7
|
-
export default tseslint.config({
|
|
8
|
-
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
|
9
|
-
files: ['**/*.{ts,tsx}'],
|
|
10
|
-
ignores: ['dist'],
|
|
11
|
-
languageOptions: {
|
|
12
|
-
ecmaVersion: 2020,
|
|
13
|
-
globals: globals.browser,
|
|
14
|
-
},
|
|
15
|
-
plugins: {
|
|
16
|
-
'react-hooks': reactHooks,
|
|
17
|
-
'react-refresh': reactRefresh,
|
|
18
|
-
},
|
|
19
|
-
rules: {
|
|
20
|
-
...reactHooks.configs.recommended.rules,
|
|
21
|
-
'react-refresh/only-export-components': [
|
|
22
|
-
'warn',
|
|
23
|
-
{ allowConstantExport: true },
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
});
|
package/index.html
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="ko">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
-
<title>Podo-ui</title>
|
|
7
|
-
</head>
|
|
8
|
-
<body>
|
|
9
|
-
<div id="root"></div>
|
|
10
|
-
<script type="module" src="/src/main.tsx"></script>
|
|
11
|
-
</body>
|
|
12
|
-
</html>
|
package/next-env.d.ts
DELETED
package/next.config.mjs
DELETED
package/public/logo.svg
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="29" height="32" viewBox="0 0 29 32" fill="none">
|
|
2
|
-
<mask id="mask0_1201_144" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="29" height="32">
|
|
3
|
-
<path d="M12.8211 31.6416C12.1409 31.6416 11.4909 31.519 10.874 31.2728C10.3109 31.0483 9.85814 30.7048 9.47776 30.4007C7.54555 28.8546 6.02764 27.0099 4.70151 24.5963L4.02623 23.3667L6.48356 22.0148L7.15884 23.2445C8.30134 25.3241 9.59445 26.9018 11.229 28.2093C11.462 28.3957 11.7062 28.5845 11.912 28.6664C13.9342 29.4724 16.8479 27.0805 17.8054 26.2944C20.0502 24.4515 22.0172 22.3208 23.6509 19.9615C24.9933 18.0226 26.1652 15.9439 25.6541 13.8774C25.0494 11.4308 21.7395 10.9388 17.4757 10.5496C16.9036 10.4976 16.345 10.4464 15.8126 10.3862C15.7841 10.5655 15.757 10.7465 15.7294 10.9293C15.634 11.5625 15.5354 12.2174 15.3734 12.8714C14.8153 15.1284 13.7456 16.9554 12.2802 18.1557C10.8509 19.3265 9.08336 20.0293 7.30357 20.1353C5.32206 20.2525 3.49298 19.603 2.15282 18.3055C1.39884 17.5755 0.807241 16.6495 0.441334 15.6276C0.0935182 14.6563 -0.053026 13.5928 0.0170799 12.5532C0.159101 10.451 1.16184 8.56732 2.7684 7.38564C4.18861 6.34109 5.92361 5.89394 8.07383 6.01885C8.17243 6.02473 8.27149 6.03152 8.37009 6.03967C7.55324 4.66428 7.10682 3.06622 7.12944 1.403L7.14843 0L9.95222 0.0380165L9.93322 1.44101C9.90111 3.81796 11.272 6.0003 13.4259 7.00095C13.5444 7.05616 13.6633 7.10595 13.7827 7.15166C13.8741 6.94166 13.9767 6.73302 14.0921 6.528C15.0496 4.82449 16.4703 3.49074 18.3143 2.56386C19.9068 1.76325 21.7929 1.29845 23.7681 1.2197L23.8015 1.21834C24.9594 1.17128 26.2448 1.23509 27.002 2.0615C27.4004 2.49643 27.5773 3.06713 27.5004 3.6677C27.2905 5.30378 25.7211 6.40581 24.6826 7.13536C24.5831 7.20506 24.489 7.27159 24.4022 7.33359C23.8382 7.73956 23.2547 8.11112 22.6541 8.44603C23.0697 8.54605 23.4763 8.66191 23.8698 8.79633C26.3466 9.64265 27.8627 11.1258 28.3765 13.2035C29.1567 16.3598 27.5909 19.1989 25.9563 21.5595C24.1742 24.1329 22.0303 26.456 19.5843 28.4641C18.7028 29.1877 17.3604 30.2278 15.8845 30.9035C14.8094 31.3959 13.785 31.6421 12.8216 31.6421L12.8211 31.6416ZM7.39539 8.80267C6.29178 8.80267 5.2696 9.02715 4.42878 9.64537C3.48891 10.3369 2.90047 11.4652 2.81408 12.7415C2.72272 14.0933 3.20441 15.4189 4.10222 16.2883C5.83225 17.9629 8.71564 17.4487 10.5036 15.9842C11.7582 14.9564 12.3639 13.3574 12.6506 12.197C12.7813 11.6693 12.8659 11.1063 12.9559 10.5102C12.9876 10.3016 13.0197 10.0884 13.0545 9.87211C12.8098 9.80966 12.5615 9.74448 12.3028 9.67705C10.6962 9.2566 8.9635 8.80267 7.39493 8.80267H7.39539ZM24.1539 4.01438C24.0797 4.01574 24.0001 4.01845 23.9146 4.02162L23.8793 4.02298C20.7132 4.14925 18.1519 5.41511 16.7715 7.51508C17.7475 7.42502 18.6078 7.17202 19.1994 6.95479C20.4541 6.49451 21.6531 5.85547 22.7635 5.05576C22.8585 4.98742 22.9621 4.91456 23.0715 4.83807C23.4266 4.5887 23.8232 4.31037 24.1543 4.01438H24.1539Z" fill="white"/>
|
|
4
|
-
</mask>
|
|
5
|
-
<g mask="url(#mask0_1201_144)">
|
|
6
|
-
<path d="M21.5235 43.6519C31.7536 43.6519 40.0468 35.3535 40.0468 25.1169C40.0468 14.8804 31.7536 6.58199 21.5235 6.58199C11.2933 6.58199 3.00012 14.8804 3.00012 25.1169C3.00012 35.3535 11.2933 43.6519 21.5235 43.6519Z" fill="url(#paint0_radial_1201_144)"/>
|
|
7
|
-
<path style="mix-blend-mode:overlay" d="M-1.47654 48.6519C8.75362 48.6519 17.0468 40.3535 17.0468 30.1169C17.0468 19.8804 8.75362 11.582 -1.47654 11.582C-11.7067 11.582 -19.9999 19.8804 -19.9999 30.1169C-19.9999 40.3535 -11.7067 48.6519 -1.47654 48.6519Z" fill="url(#paint1_radial_1201_144)"/>
|
|
8
|
-
<path d="M18.5235 24.8909C28.7536 24.8909 37.0468 16.5925 37.0468 6.35597C37.0468 -3.88058 28.7536 -12.179 18.5235 -12.179C8.2933 -12.179 0.00012207 -3.88058 0.00012207 6.35597C0.00012207 16.5925 8.2933 24.8909 18.5235 24.8909Z" fill="url(#paint2_radial_1201_144)"/>
|
|
9
|
-
<path d="M1.52346 31.8909C11.7536 31.8909 20.0468 23.5925 20.0468 13.356C20.0468 3.11942 11.7536 -5.17896 1.52346 -5.17896C-8.7067 -5.17896 -16.9999 3.11942 -16.9999 13.356C-16.9999 23.5925 -8.7067 31.8909 1.52346 31.8909Z" fill="url(#paint3_radial_1201_144)"/>
|
|
10
|
-
</g>
|
|
11
|
-
<defs>
|
|
12
|
-
<radialGradient id="paint0_radial_1201_144" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(21.5235 25.1169) scale(18.5233 18.5349)">
|
|
13
|
-
<stop stop-color="#1EACDC"/>
|
|
14
|
-
<stop offset="0.17" stop-color="#1EACDC" stop-opacity="0.99"/>
|
|
15
|
-
<stop offset="0.31" stop-color="#1EACDC" stop-opacity="0.94"/>
|
|
16
|
-
<stop offset="0.44" stop-color="#1EADDD" stop-opacity="0.86"/>
|
|
17
|
-
<stop offset="0.56" stop-color="#1EAFDE" stop-opacity="0.76"/>
|
|
18
|
-
<stop offset="0.67" stop-color="#1FB0DF" stop-opacity="0.62"/>
|
|
19
|
-
<stop offset="0.78" stop-color="#1FB3E0" stop-opacity="0.45"/>
|
|
20
|
-
<stop offset="0.89" stop-color="#20B5E2" stop-opacity="0.24"/>
|
|
21
|
-
<stop offset="0.99" stop-color="#20B8E4" stop-opacity="0.01"/>
|
|
22
|
-
<stop offset="1" stop-color="#21B9E5" stop-opacity="0"/>
|
|
23
|
-
</radialGradient>
|
|
24
|
-
<radialGradient id="paint1_radial_1201_144" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(-1.47654 30.1169) scale(18.5233 18.5349)">
|
|
25
|
-
<stop stop-color="#E75C9C"/>
|
|
26
|
-
<stop offset="0.17" stop-color="#E75C9C" stop-opacity="0.99"/>
|
|
27
|
-
<stop offset="0.31" stop-color="#E75F9D" stop-opacity="0.94"/>
|
|
28
|
-
<stop offset="0.43" stop-color="#E8639E" stop-opacity="0.87"/>
|
|
29
|
-
<stop offset="0.55" stop-color="#E969A0" stop-opacity="0.77"/>
|
|
30
|
-
<stop offset="0.66" stop-color="#EA71A2" stop-opacity="0.63"/>
|
|
31
|
-
<stop offset="0.77" stop-color="#EB7BA6" stop-opacity="0.47"/>
|
|
32
|
-
<stop offset="0.87" stop-color="#ED86A9" stop-opacity="0.28"/>
|
|
33
|
-
<stop offset="0.97" stop-color="#EF93AD" stop-opacity="0.06"/>
|
|
34
|
-
<stop offset="1" stop-color="#F097AF" stop-opacity="0"/>
|
|
35
|
-
</radialGradient>
|
|
36
|
-
<radialGradient id="paint2_radial_1201_144" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(18.5235 6.35597) scale(18.5233 18.5349)">
|
|
37
|
-
<stop stop-color="#72C7CE"/>
|
|
38
|
-
<stop offset="0.18" stop-color="#72C7CD" stop-opacity="0.98"/>
|
|
39
|
-
<stop offset="0.32" stop-color="#72C7CD" stop-opacity="0.94"/>
|
|
40
|
-
<stop offset="0.45" stop-color="#73C7CC" stop-opacity="0.85"/>
|
|
41
|
-
<stop offset="0.57" stop-color="#74C7CA" stop-opacity="0.74"/>
|
|
42
|
-
<stop offset="0.69" stop-color="#75C7C8" stop-opacity="0.59"/>
|
|
43
|
-
<stop offset="0.81" stop-color="#76C7C6" stop-opacity="0.41"/>
|
|
44
|
-
<stop offset="0.91" stop-color="#78C7C3" stop-opacity="0.2"/>
|
|
45
|
-
<stop offset="1" stop-color="#7AC8C1" stop-opacity="0"/>
|
|
46
|
-
</radialGradient>
|
|
47
|
-
<radialGradient id="paint3_radial_1201_144" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(1.52346 13.356) scale(18.5233 18.5349)">
|
|
48
|
-
<stop stop-color="#8B5CF6"/>
|
|
49
|
-
<stop offset="0.09" stop-color="#8B5CF6" stop-opacity="0.97"/>
|
|
50
|
-
<stop offset="0.23" stop-color="#8B5CF6" stop-opacity="0.87"/>
|
|
51
|
-
<stop offset="0.4" stop-color="#8B5CF6" stop-opacity="0.72"/>
|
|
52
|
-
<stop offset="0.6" stop-color="#8B5CF6" stop-opacity="0.5"/>
|
|
53
|
-
<stop offset="0.82" stop-color="#8B5CF6" stop-opacity="0.24"/>
|
|
54
|
-
<stop offset="1" stop-color="#8B5CF6" stop-opacity="0"/>
|
|
55
|
-
</radialGradient>
|
|
56
|
-
</defs>
|
|
57
|
-
</svg>
|
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
@use '../../../../mixin' as *;
|
|
2
|
-
|
|
3
|
-
.section {
|
|
4
|
-
margin-bottom: s(10);
|
|
5
|
-
|
|
6
|
-
h2 {
|
|
7
|
-
@include display5;
|
|
8
|
-
margin: 0 0 s(5) 0;
|
|
9
|
-
color: color(default-deep-base);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
h3 {
|
|
13
|
-
@include p1; font-weight: 600;
|
|
14
|
-
margin: s(7) 0 s(4) 0;
|
|
15
|
-
color: color(default-deep-base);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
p {
|
|
19
|
-
@include p2;
|
|
20
|
-
color: color(default-base);
|
|
21
|
-
line-height: 1.8;
|
|
22
|
-
margin: 0 0 s(5) 0;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.codeBlock {
|
|
27
|
-
background: color(default-deep-base);
|
|
28
|
-
border-radius: r(4);
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
margin-bottom: s(4);
|
|
31
|
-
|
|
32
|
-
.codeHeader {
|
|
33
|
-
padding: s(3) s(5);
|
|
34
|
-
background: rgba(0, 0, 0, 0.2);
|
|
35
|
-
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
36
|
-
@include p4-semibold;
|
|
37
|
-
color: rgba(255, 255, 255, 0.7);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
pre {
|
|
41
|
-
margin: 0;
|
|
42
|
-
padding: s(5);
|
|
43
|
-
overflow-x: auto;
|
|
44
|
-
|
|
45
|
-
code {
|
|
46
|
-
@include p3;
|
|
47
|
-
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
|
|
48
|
-
color: #f8f8f2;
|
|
49
|
-
white-space: pre;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Demo
|
|
55
|
-
.demo {
|
|
56
|
-
margin-top: s(5);
|
|
57
|
-
padding: s(5);
|
|
58
|
-
background: color(default-fill);
|
|
59
|
-
border: 1px solid color(default-outline);
|
|
60
|
-
border-radius: r(4);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.demoTitle {
|
|
64
|
-
@include p3-semibold;
|
|
65
|
-
margin-bottom: s(4);
|
|
66
|
-
color: color(default-deep-base);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.buttonGroup {
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-wrap: wrap;
|
|
72
|
-
gap: s(4);
|
|
73
|
-
|
|
74
|
-
button {
|
|
75
|
-
i {
|
|
76
|
-
font-size: 16px;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// Variants Showcase
|
|
82
|
-
.variantsShowcase {
|
|
83
|
-
display: grid;
|
|
84
|
-
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
85
|
-
gap: s(5);
|
|
86
|
-
margin: s(6) 0;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.variantCard {
|
|
90
|
-
padding: s(5);
|
|
91
|
-
background: color(default-fill);
|
|
92
|
-
border: 1px solid color(default-outline);
|
|
93
|
-
border-radius: r(4);
|
|
94
|
-
transition: all 0.3s;
|
|
95
|
-
|
|
96
|
-
&:hover {
|
|
97
|
-
border-color: color(primary-base);
|
|
98
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.variantHeader {
|
|
103
|
-
margin-bottom: s(4);
|
|
104
|
-
|
|
105
|
-
h3 {
|
|
106
|
-
@include p2; font-weight: 600;
|
|
107
|
-
margin: 0 0 s(2) 0;
|
|
108
|
-
color: color(default-deep-base);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
p {
|
|
112
|
-
@include p4;
|
|
113
|
-
margin: 0;
|
|
114
|
-
color: color(default-base);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// Style Section
|
|
119
|
-
.styleSection {
|
|
120
|
-
margin-top: s(8);
|
|
121
|
-
padding-top: s(6);
|
|
122
|
-
border-top: 1px solid color(default-outline);
|
|
123
|
-
|
|
124
|
-
&:first-child {
|
|
125
|
-
margin-top: 0;
|
|
126
|
-
padding-top: 0;
|
|
127
|
-
border-top: none;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
h3 {
|
|
131
|
-
@include p1; font-weight: 600;
|
|
132
|
-
margin: 0 0 s(2) 0;
|
|
133
|
-
color: color(default-deep-base);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
> p {
|
|
137
|
-
@include p3;
|
|
138
|
-
margin: 0 0 s(5) 0;
|
|
139
|
-
color: color(default-base);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
// Size Demo
|
|
144
|
-
.sizeDemo {
|
|
145
|
-
display: flex;
|
|
146
|
-
flex-wrap: wrap;
|
|
147
|
-
align-items: center;
|
|
148
|
-
gap: s(4);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
// Icon Button Demo
|
|
152
|
-
.iconButtonDemo {
|
|
153
|
-
display: flex;
|
|
154
|
-
flex-wrap: wrap;
|
|
155
|
-
gap: s(4);
|
|
156
|
-
|
|
157
|
-
button {
|
|
158
|
-
display: flex;
|
|
159
|
-
align-items: center;
|
|
160
|
-
gap: s(2);
|
|
161
|
-
|
|
162
|
-
i {
|
|
163
|
-
font-size: 16px;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
// Group Demo
|
|
169
|
-
.groupDemo {
|
|
170
|
-
display: flex;
|
|
171
|
-
flex-direction: column;
|
|
172
|
-
gap: s(4);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.buttonRow {
|
|
176
|
-
display: flex;
|
|
177
|
-
gap: s(3);
|
|
178
|
-
|
|
179
|
-
button {
|
|
180
|
-
display: flex;
|
|
181
|
-
align-items: center;
|
|
182
|
-
gap: s(2);
|
|
183
|
-
|
|
184
|
-
i {
|
|
185
|
-
font-size: 16px;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
// Showcase
|
|
191
|
-
.showcase {
|
|
192
|
-
margin-top: s(6);
|
|
193
|
-
border: 1px solid color(default-outline);
|
|
194
|
-
border-radius: r(4);
|
|
195
|
-
overflow: hidden;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.showcaseRow {
|
|
199
|
-
display: flex;
|
|
200
|
-
align-items: center;
|
|
201
|
-
padding: s(5);
|
|
202
|
-
border-bottom: 1px solid color(default-outline);
|
|
203
|
-
|
|
204
|
-
&:last-child {
|
|
205
|
-
border-bottom: none;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
&:hover {
|
|
209
|
-
background: color(default-fill);
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.showcaseLabel {
|
|
214
|
-
min-width: 200px;
|
|
215
|
-
padding-right: s(5);
|
|
216
|
-
|
|
217
|
-
strong {
|
|
218
|
-
@include p2; font-weight: 600;
|
|
219
|
-
display: block;
|
|
220
|
-
margin-bottom: s(1);
|
|
221
|
-
color: color(default-deep-base);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
span {
|
|
225
|
-
@include p4;
|
|
226
|
-
color: color(default-base);
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.showcaseButtons {
|
|
231
|
-
display: flex;
|
|
232
|
-
flex-wrap: wrap;
|
|
233
|
-
gap: s(3);
|
|
234
|
-
flex: 1;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
// Responsive
|
|
238
|
-
@media (max-width: 768px) {
|
|
239
|
-
.showcaseRow {
|
|
240
|
-
flex-direction: column;
|
|
241
|
-
align-items: flex-start;
|
|
242
|
-
gap: s(4);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.showcaseLabel {
|
|
246
|
-
min-width: 0;
|
|
247
|
-
padding-right: 0;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.showcaseButtons {
|
|
251
|
-
width: 100%;
|
|
252
|
-
}
|
|
253
|
-
}
|