@ihabdevteam/core 0.413.0 → 0.415.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 (59) hide show
  1. package/CHANGELOG.md +582 -0
  2. package/dist/components.cjs.js +179 -179
  3. package/dist/components.esm.css +2 -2
  4. package/dist/hooks.cjs.js +5 -5
  5. package/dist/i18n.cjs.js +3 -3
  6. package/dist/ihabdevteam-core.cjs.js +191 -191
  7. package/dist/ihabdevteam-core.d.ts +198 -18
  8. package/dist/packages/core/src/components/Accordion.css +16 -0
  9. package/dist/packages/core/src/components/BarChart.css +20 -4
  10. package/dist/packages/core/src/components/BarChart.d.ts +1 -1
  11. package/dist/packages/core/src/components/BarChart.js +61 -22
  12. package/dist/packages/core/src/components/BulkBar.js +2 -1
  13. package/dist/packages/core/src/components/ChartSection.css +311 -31
  14. package/dist/packages/core/src/components/ChartSection.d.ts +116 -2
  15. package/dist/packages/core/src/components/ChartSection.js +135 -9
  16. package/dist/packages/core/src/components/ColorPicker.d.ts +2 -1
  17. package/dist/packages/core/src/components/ColorPicker.js +2 -1
  18. package/dist/packages/core/src/components/DatePicker.css +5 -0
  19. package/dist/packages/core/src/components/DatePicker.d.ts +2 -1
  20. package/dist/packages/core/src/components/DatePicker.js +1 -1
  21. package/dist/packages/core/src/components/Dropdown.css +6 -0
  22. package/dist/packages/core/src/components/Dropdown.d.ts +2 -1
  23. package/dist/packages/core/src/components/FilterPanel.js +17 -3
  24. package/dist/packages/core/src/components/Header.js +4 -4
  25. package/dist/packages/core/src/components/Panel.css +21 -0
  26. package/dist/packages/core/src/components/RingChart.js +11 -7
  27. package/dist/packages/core/src/components/SegmentedControl.css +6 -1
  28. package/dist/packages/core/src/components/SegmentedControl.d.ts +5 -1
  29. package/dist/packages/core/src/components/SegmentedControl.js +2 -1
  30. package/dist/packages/core/src/components/SideNav.js +1 -1
  31. package/dist/packages/core/src/components/StatChart.d.ts +22 -11
  32. package/dist/packages/core/src/components/StatChart.js +17 -37
  33. package/dist/packages/core/src/components/SummaryStrip.d.ts +1 -1
  34. package/dist/packages/core/src/components/SummaryStrip.js +1 -1
  35. package/dist/packages/core/src/components/Table.d.ts +16 -0
  36. package/dist/packages/core/src/components/Tabs.d.ts +2 -1
  37. package/dist/packages/core/src/components/Tabs.js +2 -1
  38. package/dist/packages/core/src/components/TextField.css +20 -1
  39. package/dist/packages/core/src/components/TextField.d.ts +7 -1
  40. package/dist/packages/core/src/components/TextField.js +2 -1
  41. package/dist/packages/core/src/components/Training/TrainingCardGroup.css +22 -3
  42. package/dist/packages/core/src/components/Word/WordSearchResultBlock.css +9 -0
  43. package/dist/packages/core/src/components/Word/WordSearchResultBlock.js +8 -2
  44. package/dist/packages/core/src/components/barChartTypes.d.ts +20 -0
  45. package/dist/packages/core/src/components/controlSize.d.ts +87 -1
  46. package/dist/packages/core/src/components/controlSize.js +87 -1
  47. package/dist/packages/core/src/components/useBarChartControl.js +27 -7
  48. package/dist/packages/core/src/components.d.ts +3 -3
  49. package/dist/packages/core/src/components.js +1 -1
  50. package/dist/packages/core/src/hooks/useWideCardSpans.d.ts +28 -0
  51. package/dist/packages/core/src/hooks/useWideCardSpans.js +85 -0
  52. package/dist/packages/core/src/i18n/locales/en.json +1 -0
  53. package/dist/packages/core/src/i18n/locales/ko.json +1 -0
  54. package/dist/packages/core/src/utils/legacyBlocks.js +5 -1
  55. package/dist/packages/core/src/version.d.ts +1 -1
  56. package/dist/packages/core/src/version.js +1 -1
  57. package/dist/utils.cjs.js +21 -21
  58. package/package.json +1 -1
  59. package/dist/packages/core/src/components/StatChart.css +0 -93
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ihabdevteam/core",
3
- "version": "0.413.0",
3
+ "version": "0.415.0",
4
4
  "private": false,
5
5
  "main": "dist/ihabdevteam-core.cjs.js",
6
6
  "module": "dist/packages/core/src/index.js",
@@ -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
- }