@jk-core/components 1.1.11 → 1.1.12

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 (84) hide show
  1. package/README.md +73 -73
  2. package/dist/index.js +276 -275
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.umd.cjs +6 -6
  5. package/dist/index.umd.cjs.map +1 -1
  6. package/dist/src/common/DropDown/index.d.ts +5 -1
  7. package/package.json +99 -99
  8. package/src/Calendar/Calendar.module.scss +213 -213
  9. package/src/Calendar/RangeCalendar.tsx +125 -125
  10. package/src/Calendar/ScrollCalendar.module.scss +214 -214
  11. package/src/Calendar/ScrollCalendar.tsx +124 -124
  12. package/src/Calendar/SingleCalendar.tsx +121 -121
  13. package/src/Calendar/components/DateLabel/DateLabel.module.scss +89 -89
  14. package/src/Calendar/components/DateLabel/index.tsx +91 -91
  15. package/src/Calendar/components/DayTile/DayTile.module.scss +117 -117
  16. package/src/Calendar/components/DayTile/index.tsx +108 -108
  17. package/src/Calendar/components/MonthTile/MonthTile.module.scss +59 -59
  18. package/src/Calendar/components/MonthTile/index.tsx +50 -50
  19. package/src/Calendar/components/ViewSelector/ViewSelector.module.scss +48 -48
  20. package/src/Calendar/components/ViewSelector/index.tsx +49 -49
  21. package/src/Calendar/components/YearTile/YearTile.module.scss +85 -85
  22. package/src/Calendar/components/YearTile/index.tsx +65 -65
  23. package/src/Calendar/hooks/useCalendarNav.ts +83 -83
  24. package/src/Calendar/hooks/useDateSelect.ts +54 -54
  25. package/src/Calendar/index.scss +189 -189
  26. package/src/Calendar/index.tsx +66 -66
  27. package/src/Calendar/type.ts +3 -3
  28. package/src/Calendar/utils/getWeeksInMonth.ts +45 -45
  29. package/src/Calendar/utils/isInRange.ts +8 -8
  30. package/src/Calendar/utils/isSameDay.ts +21 -21
  31. package/src/assets/arrow.svg +11 -11
  32. package/src/assets/close.svg +15 -15
  33. package/src/assets/drop-arrow.svg +3 -3
  34. package/src/common/Accordion/Accordion.module.scss +53 -53
  35. package/src/common/Accordion/arrow-down.svg +3 -3
  36. package/src/common/Accordion/arrow-up.svg +3 -3
  37. package/src/common/Accordion/index.tsx +54 -54
  38. package/src/common/Breadcrumbs/Breadcrumbs.module.scss +46 -46
  39. package/src/common/Breadcrumbs/home.svg +5 -5
  40. package/src/common/Breadcrumbs/index.tsx +82 -82
  41. package/src/common/Button/Button.module.scss +127 -127
  42. package/src/common/Button/index.tsx +60 -60
  43. package/src/common/Card/Card.module.scss +28 -28
  44. package/src/common/Card/index.tsx +19 -19
  45. package/src/common/Divider/Divider.module.scss +101 -101
  46. package/src/common/Divider/index.tsx +24 -24
  47. package/src/common/DropDown/DropDown.module.scss +135 -135
  48. package/src/common/DropDown/List.tsx +156 -156
  49. package/src/common/DropDown/arrow-down.svg +3 -3
  50. package/src/common/DropDown/index.tsx +108 -103
  51. package/src/common/DropDown/search.svg +4 -4
  52. package/src/common/Pagination/Pagination.module.scss +210 -210
  53. package/src/common/Pagination/arrow-left.svg +11 -11
  54. package/src/common/Pagination/arrow-right.svg +11 -11
  55. package/src/common/Pagination/index.tsx +156 -156
  56. package/src/common/SegmentButton/SegmentButton.module.scss +45 -45
  57. package/src/common/SegmentButton/index.tsx +79 -79
  58. package/src/common/Skeleton/Skeleton.module.scss +80 -80
  59. package/src/common/Skeleton/index.tsx +47 -47
  60. package/src/common/SwitchButton/SwitchButton.module.scss +65 -65
  61. package/src/common/SwitchButton/index.tsx +56 -56
  62. package/src/common/Table/Table.module.scss +70 -70
  63. package/src/common/Table/index.tsx +128 -128
  64. package/src/index.scss +1 -1
  65. package/src/index.tsx +21 -21
  66. package/src/styles/color.scss +346 -346
  67. package/src/styles/font-face.scss +18 -18
  68. package/src/styles/font.scss +49 -49
  69. package/src/styles/mediaQuery.scss +22 -22
  70. package/src/styles/scrollbar.scss +71 -71
  71. package/src/svg.d.ts +6 -6
  72. package/src/utils/styles/mediaQuery.scss +22 -22
  73. package/src/utils/ts/allowDecimal.ts +4 -4
  74. package/src/utils/ts/autoHypen.ts +33 -33
  75. package/src/utils/ts/calculateMax.ts +24 -24
  76. package/src/utils/ts/checkIsMobilePlatform.ts +15 -15
  77. package/src/utils/ts/formatFileSize.ts +16 -16
  78. package/src/utils/ts/formatMoney.ts +16 -16
  79. package/src/utils/ts/gradientRatio.ts +61 -61
  80. package/src/utils/ts/kiloToMega.ts +30 -30
  81. package/src/utils/ts/maskingPhone.ts +8 -8
  82. package/src/utils/ts/toQueryString.ts +7 -7
  83. package/src/utils/ts/valueAsNumber.ts +15 -15
  84. package/src/vite-env.d.ts +2 -2
@@ -3,6 +3,10 @@ interface DropDownProps {
3
3
  * 드롭다운 목록
4
4
  */
5
5
  list: string[];
6
+ /**
7
+ * 드롭다운 버튼에 표시될 내용
8
+ */
9
+ value?: string;
6
10
  /**
7
11
  * 선택된 아이템을 처리하는 함수
8
12
  */
@@ -25,5 +29,5 @@ interface DropDownProps {
25
29
  * 사용자가 선택할 수 있는 목록을 제공하며, 선택된 아이템을 표시합니다.
26
30
  * 필터링 기능을 활성화할 수 있으며, 플레이스홀더 텍스트를 설정할 수 있습니다.
27
31
  */
28
- export default function DropDown({ list, onSelect, filter, placeholder, style }: DropDownProps): import("react/jsx-runtime").JSX.Element;
32
+ export default function DropDown({ list, value, onSelect, filter, placeholder, style }: DropDownProps): import("react/jsx-runtime").JSX.Element;
29
33
  export {};
package/package.json CHANGED
@@ -1,99 +1,99 @@
1
- {
2
- "name": "@jk-core/components",
3
- "version": "1.1.11",
4
- "type": "module",
5
- "main": "./dist/index.umd.cjs",
6
- "types": "./dist/index.d.ts",
7
- "module": "./dist/index.js",
8
- "license": "MIT",
9
- "description": "components for jk",
10
- "author": "KimKyungYun <kky38225221@gmail.com>",
11
- "homepage": "https://bitbucket.org/jkcore/frontend_library#readme",
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://KyungYun@bitbucket.org/jkcore/frontend_library.git"
15
- },
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "bugs": {
20
- "url": "https://bitbucket.org/jkcore/frontend_library/issues"
21
- },
22
- "exports": {
23
- ".": {
24
- "import": "./dist/index.js",
25
- "require": "./dist/index.umd.cjs"
26
- }
27
- },
28
- "files": [
29
- "./dist",
30
- "./src"
31
- ],
32
- "keywords": [
33
- "utils",
34
- "kyungyun",
35
- "jk",
36
- "components",
37
- "calendar"
38
- ],
39
- "peerDependencies": {
40
- "react": "^19.1.0"
41
- },
42
- "scripts": {
43
- "build": "yarn clean && vite build",
44
- "clean:win": "if exist dist rmdir /S /Q dist",
45
- "clean:unix": "rm -rf dist",
46
- "clean": "node -e \"require('child_process').execSync(process.platform === 'win32' ? 'npm run clean:win' : 'npm run clean:unix', {stdio: 'inherit'})\"",
47
- "lint": "yarn lint:eslint && yarn lint:stylelint",
48
- "lint:fix": "yarn lint:eslint --fix && yarn lint:stylelint --fix",
49
- "lint:eslint": "eslint src",
50
- "lint:stylelint": "stylelint \"./src/**/*.scss\" --config ../../.stylelintrc.json"
51
- },
52
- "dependencies": {
53
- "@jk-core/hooks": "^1.0.0",
54
- "@jk-core/utils": "^1.0.0",
55
- "react": "^19.0.0",
56
- "react-dom": "^19.0.0"
57
- },
58
- "devDependencies": {
59
- "@eslint/js": "^9.30.1",
60
- "@stylistic/eslint-plugin": "^5.1.0",
61
- "@types/eslint-plugin-jsx-a11y": "^6.10.0",
62
- "@types/node": "^24.0.10",
63
- "@types/react": "^19.1.8",
64
- "@types/react-dom": "^19.1.6",
65
- "@vitejs/plugin-react": "^4.6.0",
66
- "code-inspector-plugin": "^0.20.15",
67
- "eslint": "^9.30.1",
68
- "eslint-config-airbnb": "^19.0.4",
69
- "eslint-config-airbnb-typescript": "^18.0.0",
70
- "eslint-import-resolver-typescript": "^4.4.4",
71
- "eslint-plugin-import": "^2.32.0",
72
- "eslint-plugin-jsx-a11y": "^6.10.2",
73
- "eslint-plugin-react": "^7.37.5",
74
- "eslint-plugin-react-hooks": "^5.2.0",
75
- "eslint-plugin-react-refresh": "^0.4.20",
76
- "globals": "^16.3.0",
77
- "optionator": "^0.9.4",
78
- "postcss": "^8.5.6",
79
- "postcss-scss": "^4.0.9",
80
- "sass": "^1.80.0",
81
- "sass-loader": "^16.0.2",
82
- "stylelint": "^16.21.1",
83
- "stylelint-config-standard": "^38.0.0",
84
- "stylelint-config-standard-scss": "^15.0.1",
85
- "stylelint-scss": "^6.12.1",
86
- "stylelint-selector-bem-pattern": "^4.0.1",
87
- "tslib": "^2.8.1",
88
- "typescript": "^5.8.3",
89
- "typescript-eslint": "^8.36.0",
90
- "vite": "^7.0.2",
91
- "vite-plugin-checker": "^0.10.0",
92
- "vite-plugin-css-injected-by-js": "^3.5.2",
93
- "vite-plugin-css-modules": "^0.0.1",
94
- "vite-plugin-dts": "^4.5.3",
95
- "vite-plugin-sass-dts": "^1.3.31",
96
- "vite-plugin-svgr": "^4.3.0",
97
- "vite-tsconfig-paths": "^5.1.4"
98
- }
99
- }
1
+ {
2
+ "name": "@jk-core/components",
3
+ "version": "1.1.12",
4
+ "type": "module",
5
+ "main": "./dist/index.umd.cjs",
6
+ "types": "./dist/index.d.ts",
7
+ "module": "./dist/index.js",
8
+ "license": "MIT",
9
+ "description": "components for jk",
10
+ "author": "KimKyungYun <kky38225221@gmail.com>",
11
+ "homepage": "https://bitbucket.org/jkcore/frontend_library#readme",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://KyungYun@bitbucket.org/jkcore/frontend_library.git"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "bugs": {
20
+ "url": "https://bitbucket.org/jkcore/frontend_library/issues"
21
+ },
22
+ "exports": {
23
+ ".": {
24
+ "import": "./dist/index.js",
25
+ "require": "./dist/index.umd.cjs"
26
+ }
27
+ },
28
+ "files": [
29
+ "./dist",
30
+ "./src"
31
+ ],
32
+ "keywords": [
33
+ "utils",
34
+ "kyungyun",
35
+ "jk",
36
+ "components",
37
+ "calendar"
38
+ ],
39
+ "peerDependencies": {
40
+ "react": "^19.1.0"
41
+ },
42
+ "scripts": {
43
+ "build": "yarn clean && vite build",
44
+ "clean:win": "if exist dist rmdir /S /Q dist",
45
+ "clean:unix": "rm -rf dist",
46
+ "clean": "node -e \"require('child_process').execSync(process.platform === 'win32' ? 'npm run clean:win' : 'npm run clean:unix', {stdio: 'inherit'})\"",
47
+ "lint": "yarn lint:eslint && yarn lint:stylelint",
48
+ "lint:fix": "yarn lint:eslint --fix && yarn lint:stylelint --fix",
49
+ "lint:eslint": "eslint src",
50
+ "lint:stylelint": "stylelint \"./src/**/*.scss\" --config ../../.stylelintrc.json"
51
+ },
52
+ "dependencies": {
53
+ "@jk-core/hooks": "^1.0.0",
54
+ "@jk-core/utils": "^1.0.0",
55
+ "react": "^19.0.0",
56
+ "react-dom": "^19.0.0"
57
+ },
58
+ "devDependencies": {
59
+ "@eslint/js": "^9.30.1",
60
+ "@stylistic/eslint-plugin": "^5.1.0",
61
+ "@types/eslint-plugin-jsx-a11y": "^6.10.0",
62
+ "@types/node": "^24.0.10",
63
+ "@types/react": "^19.1.8",
64
+ "@types/react-dom": "^19.1.6",
65
+ "@vitejs/plugin-react": "^4.6.0",
66
+ "code-inspector-plugin": "^0.20.15",
67
+ "eslint": "^9.30.1",
68
+ "eslint-config-airbnb": "^19.0.4",
69
+ "eslint-config-airbnb-typescript": "^18.0.0",
70
+ "eslint-import-resolver-typescript": "^4.4.4",
71
+ "eslint-plugin-import": "^2.32.0",
72
+ "eslint-plugin-jsx-a11y": "^6.10.2",
73
+ "eslint-plugin-react": "^7.37.5",
74
+ "eslint-plugin-react-hooks": "^5.2.0",
75
+ "eslint-plugin-react-refresh": "^0.4.20",
76
+ "globals": "^16.3.0",
77
+ "optionator": "^0.9.4",
78
+ "postcss": "^8.5.6",
79
+ "postcss-scss": "^4.0.9",
80
+ "sass": "^1.80.0",
81
+ "sass-loader": "^16.0.2",
82
+ "stylelint": "^16.21.1",
83
+ "stylelint-config-standard": "^38.0.0",
84
+ "stylelint-config-standard-scss": "^15.0.1",
85
+ "stylelint-scss": "^6.12.1",
86
+ "stylelint-selector-bem-pattern": "^4.0.1",
87
+ "tslib": "^2.8.1",
88
+ "typescript": "^5.8.3",
89
+ "typescript-eslint": "^8.36.0",
90
+ "vite": "^7.0.2",
91
+ "vite-plugin-checker": "^0.10.0",
92
+ "vite-plugin-css-injected-by-js": "^3.5.2",
93
+ "vite-plugin-css-modules": "^0.0.1",
94
+ "vite-plugin-dts": "^4.5.3",
95
+ "vite-plugin-sass-dts": "^1.3.31",
96
+ "vite-plugin-svgr": "^4.3.0",
97
+ "vite-tsconfig-paths": "^5.1.4"
98
+ }
99
+ }
@@ -1,213 +1,213 @@
1
- @use "../styles/mediaQuery.scss" as media;
2
-
3
- button {
4
- border: none;
5
- background-color: transparent;
6
- user-select: none;
7
- -webkit-user-select: none;
8
- -moz-user-select: none;
9
- cursor: pointer;
10
- }
11
-
12
- .calendar {
13
- width: 100%;
14
- min-width: 300px;
15
- border: 1px solid var(--calendar-G-30);
16
- border-radius: 10px;
17
- overflow: hidden;
18
- color: var(--calendar-G-80);
19
- background-color: var(--calendar-white);
20
-
21
- &--range {
22
- box-sizing: border-box;
23
- }
24
-
25
- &--scroll {
26
- height: 100%;
27
- border: none;
28
- border-radius: 0;
29
- }
30
-
31
- &__scroll {
32
- height: 100%;
33
- flex-shrink: 0;
34
- display: flex;
35
- flex-direction: column-reverse;
36
- box-sizing: border-box;
37
- gap: 10px;
38
- overflow-y: scroll;
39
-
40
- &::-webkit-scrollbar {
41
- width: 0;
42
- }
43
-
44
- &--wrapper {
45
- flex: 1 0;
46
- width: 100%;
47
- height: 100%;
48
- display: flex;
49
- flex-direction: column;
50
- }
51
-
52
- &--button {
53
- width: 95%;
54
- margin: 5px auto;
55
- display: flex;
56
- align-items: center;
57
- justify-content: center;
58
- border-radius: 10px;
59
- background-color: var(--calendar-white);
60
- border: 2px solid var(--calendar-G-50);
61
- padding: 15px 0;
62
- transition: 0.2s;
63
- font-size: 1.2em;
64
-
65
- &:active {
66
- scale: 0.98;
67
- background-color: var(--calendar-G-5);
68
- }
69
- }
70
- }
71
-
72
- &__close {
73
- display: flex;
74
- justify-content: flex-end;
75
- align-items: center;
76
- padding: 7px 10px 7px 0;
77
- box-sizing: border-box;
78
-
79
- svg {
80
- width: 18px;
81
- height: 18px;
82
- cursor: pointer;
83
- }
84
- }
85
-
86
- &__range-tile {
87
- position: relative;
88
- width: 100%;
89
- display: flex;
90
- gap: 10px;
91
- }
92
-
93
- &__wrapper {
94
- flex: 1 0;
95
- width: 100%;
96
- height: 100%;
97
- display: flex;
98
- flex-direction: column;
99
- }
100
- }
101
-
102
- .view {
103
- position: relative;
104
- margin: 0 auto;
105
- width: 90%;
106
- display: flex;
107
- justify-content: space-between;
108
- align-items: center;
109
- background-color: #f3f4f8;
110
- border-radius: 10px;
111
-
112
- &__block {
113
- position: absolute;
114
- background-color: #fff;
115
- left: 0;
116
- height: 100%;
117
- border: 2px solid var(--calendar-G-30);
118
- width: 33.3%;
119
- border-radius: 10px;
120
- transition: 0.3s;
121
-
122
- &--second {
123
- left: 33%;
124
- }
125
-
126
- &--last {
127
- left: 66.6%;
128
- }
129
- }
130
-
131
- &__selector {
132
- position: relative;
133
- height: 40px;
134
- flex: 1 0;
135
- display: flex;
136
- align-items: center;
137
- justify-content: center;
138
- color: var(--calendar-G-60);
139
- font-size: 1em;
140
- font-weight: 400;
141
-
142
- &--selected {
143
- color: var(--calendar-G-80);
144
- font-size: 1em;
145
- font-weight: 600;
146
- }
147
- }
148
- }
149
-
150
- .nav {
151
- height: 60px;
152
- display: flex;
153
- justify-content: space-between;
154
- align-items: center;
155
- padding: 0 5px;
156
- border-bottom: 1px solid var(--calendar-G-30);
157
- font-size: 1.3em;
158
- font-weight: 400;
159
-
160
- &__button {
161
- display: flex;
162
- align-items: center;
163
- justify-content: center;
164
- width: 40px;
165
- height: 40px;
166
- padding: 10px;
167
- border-radius: 100%;
168
-
169
- &:hover {
170
- @include media.pc {
171
- background-color: var(--calendar-G-10);
172
- }
173
- }
174
-
175
- &:active {
176
- background-color: var(--calendar-G-30);
177
- }
178
-
179
- &:disabled {
180
- cursor: not-allowed;
181
- fill: var(--calendar-G-40);
182
- background-color: transparent;
183
- }
184
- }
185
-
186
- &__label {
187
- flex: 1 0;
188
- display: flex;
189
- align-items: center;
190
- justify-content: space-around;
191
- font-size: 1.1em;
192
- font-weight: 400;
193
-
194
- &--date {
195
- display: flex;
196
- align-items: center;
197
- justify-content: center;
198
- border-radius: 5px;
199
- padding: 5px 10px;
200
- font-weight: 400;
201
- font-size: 1em;
202
-
203
- svg {
204
- width: 15px;
205
- height: 15px;
206
- }
207
- }
208
-
209
- &--date-selected {
210
- background-color: var(--calendar-S-10);
211
- }
212
- }
213
- }
1
+ @use "../styles/mediaQuery.scss" as media;
2
+
3
+ button {
4
+ border: none;
5
+ background-color: transparent;
6
+ user-select: none;
7
+ -webkit-user-select: none;
8
+ -moz-user-select: none;
9
+ cursor: pointer;
10
+ }
11
+
12
+ .calendar {
13
+ width: 100%;
14
+ min-width: 300px;
15
+ border: 1px solid var(--calendar-G-30);
16
+ border-radius: 10px;
17
+ overflow: hidden;
18
+ color: var(--calendar-G-80);
19
+ background-color: var(--calendar-white);
20
+
21
+ &--range {
22
+ box-sizing: border-box;
23
+ }
24
+
25
+ &--scroll {
26
+ height: 100%;
27
+ border: none;
28
+ border-radius: 0;
29
+ }
30
+
31
+ &__scroll {
32
+ height: 100%;
33
+ flex-shrink: 0;
34
+ display: flex;
35
+ flex-direction: column-reverse;
36
+ box-sizing: border-box;
37
+ gap: 10px;
38
+ overflow-y: scroll;
39
+
40
+ &::-webkit-scrollbar {
41
+ width: 0;
42
+ }
43
+
44
+ &--wrapper {
45
+ flex: 1 0;
46
+ width: 100%;
47
+ height: 100%;
48
+ display: flex;
49
+ flex-direction: column;
50
+ }
51
+
52
+ &--button {
53
+ width: 95%;
54
+ margin: 5px auto;
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: center;
58
+ border-radius: 10px;
59
+ background-color: var(--calendar-white);
60
+ border: 2px solid var(--calendar-G-50);
61
+ padding: 15px 0;
62
+ transition: 0.2s;
63
+ font-size: 1.2em;
64
+
65
+ &:active {
66
+ scale: 0.98;
67
+ background-color: var(--calendar-G-5);
68
+ }
69
+ }
70
+ }
71
+
72
+ &__close {
73
+ display: flex;
74
+ justify-content: flex-end;
75
+ align-items: center;
76
+ padding: 7px 10px 7px 0;
77
+ box-sizing: border-box;
78
+
79
+ svg {
80
+ width: 18px;
81
+ height: 18px;
82
+ cursor: pointer;
83
+ }
84
+ }
85
+
86
+ &__range-tile {
87
+ position: relative;
88
+ width: 100%;
89
+ display: flex;
90
+ gap: 10px;
91
+ }
92
+
93
+ &__wrapper {
94
+ flex: 1 0;
95
+ width: 100%;
96
+ height: 100%;
97
+ display: flex;
98
+ flex-direction: column;
99
+ }
100
+ }
101
+
102
+ .view {
103
+ position: relative;
104
+ margin: 0 auto;
105
+ width: 90%;
106
+ display: flex;
107
+ justify-content: space-between;
108
+ align-items: center;
109
+ background-color: #f3f4f8;
110
+ border-radius: 10px;
111
+
112
+ &__block {
113
+ position: absolute;
114
+ background-color: #fff;
115
+ left: 0;
116
+ height: 100%;
117
+ border: 2px solid var(--calendar-G-30);
118
+ width: 33.3%;
119
+ border-radius: 10px;
120
+ transition: 0.3s;
121
+
122
+ &--second {
123
+ left: 33%;
124
+ }
125
+
126
+ &--last {
127
+ left: 66.6%;
128
+ }
129
+ }
130
+
131
+ &__selector {
132
+ position: relative;
133
+ height: 40px;
134
+ flex: 1 0;
135
+ display: flex;
136
+ align-items: center;
137
+ justify-content: center;
138
+ color: var(--calendar-G-60);
139
+ font-size: 1em;
140
+ font-weight: 400;
141
+
142
+ &--selected {
143
+ color: var(--calendar-G-80);
144
+ font-size: 1em;
145
+ font-weight: 600;
146
+ }
147
+ }
148
+ }
149
+
150
+ .nav {
151
+ height: 60px;
152
+ display: flex;
153
+ justify-content: space-between;
154
+ align-items: center;
155
+ padding: 0 5px;
156
+ border-bottom: 1px solid var(--calendar-G-30);
157
+ font-size: 1.3em;
158
+ font-weight: 400;
159
+
160
+ &__button {
161
+ display: flex;
162
+ align-items: center;
163
+ justify-content: center;
164
+ width: 40px;
165
+ height: 40px;
166
+ padding: 10px;
167
+ border-radius: 100%;
168
+
169
+ &:hover {
170
+ @include media.pc {
171
+ background-color: var(--calendar-G-10);
172
+ }
173
+ }
174
+
175
+ &:active {
176
+ background-color: var(--calendar-G-30);
177
+ }
178
+
179
+ &:disabled {
180
+ cursor: not-allowed;
181
+ fill: var(--calendar-G-40);
182
+ background-color: transparent;
183
+ }
184
+ }
185
+
186
+ &__label {
187
+ flex: 1 0;
188
+ display: flex;
189
+ align-items: center;
190
+ justify-content: space-around;
191
+ font-size: 1.1em;
192
+ font-weight: 400;
193
+
194
+ &--date {
195
+ display: flex;
196
+ align-items: center;
197
+ justify-content: center;
198
+ border-radius: 5px;
199
+ padding: 5px 10px;
200
+ font-weight: 400;
201
+ font-size: 1em;
202
+
203
+ svg {
204
+ width: 15px;
205
+ height: 15px;
206
+ }
207
+ }
208
+
209
+ &--date-selected {
210
+ background-color: var(--calendar-S-10);
211
+ }
212
+ }
213
+ }