@ehfuse/taskbox 0.4.0 → 0.4.1
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/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +3 -3
- package/dist/index.js +6 -6
- package/dist/index.js.map +3 -3
- package/dist/types/theme.d.ts +12 -0
- package/package.json +1 -1
package/dist/types/theme.d.ts
CHANGED
|
@@ -97,6 +97,16 @@ export interface TaskboxSummaryStyle {
|
|
|
97
97
|
textColor: string;
|
|
98
98
|
sx?: SxProps<Theme>;
|
|
99
99
|
}
|
|
100
|
+
/** 상단 탭 스타일이다(업무함 탭바 — 소비처가 조립하는 헤더의 탭). */
|
|
101
|
+
export interface TaskboxTabsStyle {
|
|
102
|
+
bg: string;
|
|
103
|
+
color: string;
|
|
104
|
+
hoverBg: string;
|
|
105
|
+
borderColor: string;
|
|
106
|
+
selectedBg: string;
|
|
107
|
+
selectedColor: string;
|
|
108
|
+
sx?: SxProps<Theme>;
|
|
109
|
+
}
|
|
100
110
|
/** 행 안 액션 버튼 스타일이다(가져가기·확인 등 — 표 행에서 바로 누르는 파란 버튼). */
|
|
101
111
|
export interface TaskboxActionButtonStyle {
|
|
102
112
|
bg: string;
|
|
@@ -122,6 +132,7 @@ export interface TaskboxTheme {
|
|
|
122
132
|
summary: TaskboxSummaryStyle;
|
|
123
133
|
chip: TaskboxChipStyle;
|
|
124
134
|
actionButton: TaskboxActionButtonStyle;
|
|
135
|
+
tabs: TaskboxTabsStyle;
|
|
125
136
|
}
|
|
126
137
|
/** 소비처가 넘기는 테마다 — 바꾸고 싶은 값만 부분 지정한다(깊은 병합). */
|
|
127
138
|
export interface TaskboxThemeInput {
|
|
@@ -138,4 +149,5 @@ export interface TaskboxThemeInput {
|
|
|
138
149
|
summary?: Partial<TaskboxSummaryStyle>;
|
|
139
150
|
chip?: Partial<TaskboxChipStyle>;
|
|
140
151
|
actionButton?: Partial<TaskboxActionButtonStyle>;
|
|
152
|
+
tabs?: Partial<TaskboxTabsStyle>;
|
|
141
153
|
}
|
package/package.json
CHANGED