@ihabdevteam/core 0.413.0 → 0.414.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/CHANGELOG.md +405 -0
- package/dist/components.cjs.js +178 -178
- package/dist/components.esm.css +2 -2
- package/dist/hooks.cjs.js +5 -5
- package/dist/i18n.cjs.js +3 -3
- package/dist/ihabdevteam-core.cjs.js +190 -190
- package/dist/ihabdevteam-core.d.ts +168 -18
- package/dist/packages/core/src/components/Accordion.css +16 -0
- package/dist/packages/core/src/components/BarChart.css +16 -8
- package/dist/packages/core/src/components/BarChart.d.ts +1 -1
- package/dist/packages/core/src/components/BarChart.js +13 -11
- package/dist/packages/core/src/components/BulkBar.js +2 -1
- package/dist/packages/core/src/components/ChartSection.css +193 -25
- package/dist/packages/core/src/components/ChartSection.d.ts +94 -2
- package/dist/packages/core/src/components/ChartSection.js +92 -7
- package/dist/packages/core/src/components/ColorPicker.d.ts +2 -1
- package/dist/packages/core/src/components/ColorPicker.js +2 -1
- package/dist/packages/core/src/components/DatePicker.css +5 -0
- package/dist/packages/core/src/components/DatePicker.d.ts +2 -1
- package/dist/packages/core/src/components/DatePicker.js +1 -1
- package/dist/packages/core/src/components/Dropdown.css +6 -0
- package/dist/packages/core/src/components/Dropdown.d.ts +2 -1
- package/dist/packages/core/src/components/FilterPanel.js +17 -3
- package/dist/packages/core/src/components/Header.js +4 -4
- package/dist/packages/core/src/components/Panel.css +21 -0
- package/dist/packages/core/src/components/RingChart.js +10 -6
- package/dist/packages/core/src/components/SegmentedControl.css +6 -1
- package/dist/packages/core/src/components/SegmentedControl.d.ts +5 -1
- package/dist/packages/core/src/components/SegmentedControl.js +2 -1
- package/dist/packages/core/src/components/SideNav.js +1 -1
- package/dist/packages/core/src/components/StatChart.d.ts +22 -11
- package/dist/packages/core/src/components/StatChart.js +17 -37
- package/dist/packages/core/src/components/SummaryStrip.d.ts +1 -1
- package/dist/packages/core/src/components/SummaryStrip.js +1 -1
- package/dist/packages/core/src/components/Table.d.ts +16 -0
- package/dist/packages/core/src/components/Tabs.d.ts +2 -1
- package/dist/packages/core/src/components/Tabs.js +2 -1
- package/dist/packages/core/src/components/TextField.css +20 -1
- package/dist/packages/core/src/components/TextField.d.ts +7 -1
- package/dist/packages/core/src/components/TextField.js +2 -1
- package/dist/packages/core/src/components/Training/TrainingCardGroup.css +22 -3
- package/dist/packages/core/src/components/Word/WordSearchResultBlock.js +2 -1
- package/dist/packages/core/src/components/barChartTypes.d.ts +12 -0
- package/dist/packages/core/src/components/controlSize.d.ts +87 -1
- package/dist/packages/core/src/components/controlSize.js +87 -1
- package/dist/packages/core/src/components/useBarChartControl.js +27 -7
- package/dist/packages/core/src/components.d.ts +3 -3
- package/dist/packages/core/src/components.js +1 -1
- package/dist/packages/core/src/i18n/locales/en.json +1 -0
- package/dist/packages/core/src/i18n/locales/ko.json +1 -0
- package/dist/packages/core/src/utils/legacyBlocks.js +5 -1
- package/dist/packages/core/src/version.d.ts +1 -1
- package/dist/packages/core/src/version.js +1 -1
- package/dist/utils.cjs.js +21 -21
- package/package.json +1 -1
- package/dist/packages/core/src/components/StatChart.css +0 -93
package/package.json
CHANGED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/* StatChart — 순수 카운트 스탯 카드 (제목+아이콘, 큰 숫자+증감) */
|
|
2
|
-
.stat-chart__card {
|
|
3
|
-
container-type: inline-size;
|
|
4
|
-
background: var(--color-white);
|
|
5
|
-
border-radius: var(--radius-m);
|
|
6
|
-
padding: 20px;
|
|
7
|
-
box-shadow: var(--shadow-card);
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
gap: 4px;
|
|
11
|
-
justify-content: flex-start;
|
|
12
|
-
/* 그리드/flex 컨테이너에서 텍스트가 세로 한 글자씩 줄바꿈되지 않도록 최소 폭 확보 */
|
|
13
|
-
min-width: 160px;
|
|
14
|
-
}
|
|
15
|
-
.stat-chart__card--clickable {
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
transition: box-shadow 120ms ease, border-color 120ms ease;
|
|
18
|
-
border: 1px solid transparent;
|
|
19
|
-
}
|
|
20
|
-
.stat-chart__card--clickable:hover {
|
|
21
|
-
border-color: var(--color-main);
|
|
22
|
-
box-shadow: var(--shadow-dropdown);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.stat-chart__card__label-row {
|
|
26
|
-
display: flex;
|
|
27
|
-
justify-content: space-between;
|
|
28
|
-
align-items: center;
|
|
29
|
-
min-height: 28px;
|
|
30
|
-
}
|
|
31
|
-
.stat-chart__card__label {
|
|
32
|
-
color: var(--color-deepGray);
|
|
33
|
-
}
|
|
34
|
-
.stat-chart__card__icon {
|
|
35
|
-
opacity: 0.35;
|
|
36
|
-
display: inline-flex;
|
|
37
|
-
}
|
|
38
|
-
.stat-chart__card__icon-inner {
|
|
39
|
-
width: 22px;
|
|
40
|
-
height: 22px;
|
|
41
|
-
color: var(--color-darkGray);
|
|
42
|
-
}
|
|
43
|
-
.stat-chart__card__content {
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
align-items: flex-start;
|
|
47
|
-
gap: var(--spacing-xs);
|
|
48
|
-
flex: 1;
|
|
49
|
-
justify-content: space-between;
|
|
50
|
-
}
|
|
51
|
-
/* 값 아래 자리 — 목록·단추 등 카드가 값을 풀어 보이는 것 */
|
|
52
|
-
.stat-chart__card__body {
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
align-items: stretch;
|
|
56
|
-
gap: 4px;
|
|
57
|
-
width: 100%;
|
|
58
|
-
text-align: left;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.stat-chart__card__left {
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: row;
|
|
64
|
-
align-items: flex-start;
|
|
65
|
-
gap: 8px;
|
|
66
|
-
flex: 1;
|
|
67
|
-
text-align: left;
|
|
68
|
-
}
|
|
69
|
-
.stat-chart__card__value {
|
|
70
|
-
font-size: 32px;
|
|
71
|
-
font-weight: 700;
|
|
72
|
-
color: var(--color-black);
|
|
73
|
-
line-height: 1;
|
|
74
|
-
letter-spacing: -0.5px;
|
|
75
|
-
white-space: nowrap;
|
|
76
|
-
flex-shrink: 0;
|
|
77
|
-
}
|
|
78
|
-
/* 값 우측 상단에 배지처럼 붙어 증감 유무와 무관하게 카드 높이가 일정하게 유지되도록 함 */
|
|
79
|
-
.stat-chart__card__change {
|
|
80
|
-
font-size: 12px;
|
|
81
|
-
font-weight: 500;
|
|
82
|
-
line-height: 1.2;
|
|
83
|
-
margin-top: 1px;
|
|
84
|
-
min-width: 0;
|
|
85
|
-
}
|
|
86
|
-
.stat-chart__card__change--up { color: var(--color-sub); }
|
|
87
|
-
.stat-chart__card__change--down { color: var(--color-error); }
|
|
88
|
-
.stat-chart__card__change--neutral { color: var(--color-gray); }
|
|
89
|
-
|
|
90
|
-
@media (max-width: 767px) {
|
|
91
|
-
.stat-chart__card { padding: 12px 14px 16px; }
|
|
92
|
-
.stat-chart__card__value { font-size: 24px; }
|
|
93
|
-
}
|