@expcat/tigercat-core 1.2.30 → 1.2.33
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.cjs +172 -28
- package/dist/index.d.cts +63 -182
- package/dist/index.d.ts +63 -182
- package/dist/index.js +159 -28
- package/dist/{locale-Bc3zz2b0.d.ts → locale-B_WkH8fG.d.ts} +2 -0
- package/dist/{locale-9-B-d0mp.d.cts → locale-Cvl0yrRV.d.cts} +2 -0
- package/dist/locales/ar-SA.cjs +4 -2
- package/dist/locales/ar-SA.d.cts +1 -1
- package/dist/locales/ar-SA.d.ts +1 -1
- package/dist/locales/ar-SA.js +4 -2
- package/dist/locales/de-DE.cjs +4 -2
- package/dist/locales/de-DE.d.cts +1 -1
- package/dist/locales/de-DE.d.ts +1 -1
- package/dist/locales/de-DE.js +4 -2
- package/dist/locales/en-US.cjs +2 -1
- package/dist/locales/en-US.d.cts +1 -1
- package/dist/locales/en-US.d.ts +1 -1
- package/dist/locales/en-US.js +2 -1
- package/dist/locales/es-ES.cjs +4 -2
- package/dist/locales/es-ES.d.cts +1 -1
- package/dist/locales/es-ES.d.ts +1 -1
- package/dist/locales/es-ES.js +4 -2
- package/dist/locales/fr-FR.cjs +4 -2
- package/dist/locales/fr-FR.d.cts +1 -1
- package/dist/locales/fr-FR.d.ts +1 -1
- package/dist/locales/fr-FR.js +4 -2
- package/dist/locales/id-ID.cjs +2 -1
- package/dist/locales/id-ID.d.cts +1 -1
- package/dist/locales/id-ID.d.ts +1 -1
- package/dist/locales/id-ID.js +2 -1
- package/dist/locales/ja-JP.cjs +2 -1
- package/dist/locales/ja-JP.d.cts +1 -1
- package/dist/locales/ja-JP.d.ts +1 -1
- package/dist/locales/ja-JP.js +2 -1
- package/dist/locales/ko-KR.cjs +2 -1
- package/dist/locales/ko-KR.d.cts +1 -1
- package/dist/locales/ko-KR.d.ts +1 -1
- package/dist/locales/ko-KR.js +2 -1
- package/dist/locales/pt-BR.cjs +4 -2
- package/dist/locales/pt-BR.d.cts +1 -1
- package/dist/locales/pt-BR.d.ts +1 -1
- package/dist/locales/pt-BR.js +4 -2
- package/dist/locales/th-TH.cjs +2 -1
- package/dist/locales/th-TH.d.cts +1 -1
- package/dist/locales/th-TH.d.ts +1 -1
- package/dist/locales/th-TH.js +2 -1
- package/dist/locales/vi-VN.cjs +2 -1
- package/dist/locales/vi-VN.d.cts +1 -1
- package/dist/locales/vi-VN.d.ts +1 -1
- package/dist/locales/vi-VN.js +2 -1
- package/dist/locales/zh-CN.cjs +2 -1
- package/dist/locales/zh-CN.d.cts +1 -1
- package/dist/locales/zh-CN.d.ts +1 -1
- package/dist/locales/zh-CN.js +2 -1
- package/dist/locales/zh-TW.cjs +2 -1
- package/dist/locales/zh-TW.d.cts +1 -1
- package/dist/locales/zh-TW.d.ts +1 -1
- package/dist/locales/zh-TW.js +2 -1
- package/dist/{table-export-C-BAknOZ.d.ts → table-export-C4Yqu5JI.d.ts} +196 -4
- package/dist/{table-export-D7_CDqY7.d.cts → table-export-DDANRyCp.d.cts} +196 -4
- package/dist/utils/table-export.d.cts +2 -2
- package/dist/utils/table-export.d.ts +2 -2
- package/package.json +1 -1
- package/tokens/figma-variables.json +12 -0
- package/tokens/tailwind-tokens.js +6 -3
- package/tokens/tokens.css +32 -15
- package/tokens/tokens.json +1 -0
|
@@ -1,4 +1,169 @@
|
|
|
1
|
-
import { a as TigerLocaleInput } from './locale-
|
|
1
|
+
import { a as TigerLocaleInput } from './locale-Cvl0yrRV.cjs';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Pagination component types and interfaces
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Pagination size type
|
|
9
|
+
*/
|
|
10
|
+
type PaginationSize = 'small' | 'medium' | 'large';
|
|
11
|
+
/**
|
|
12
|
+
* Pagination alignment type
|
|
13
|
+
*/
|
|
14
|
+
type PaginationAlign = 'left' | 'center' | 'right';
|
|
15
|
+
/**
|
|
16
|
+
* Page size option type
|
|
17
|
+
*/
|
|
18
|
+
interface PaginationPageSizeOption {
|
|
19
|
+
value: number;
|
|
20
|
+
label?: string;
|
|
21
|
+
}
|
|
22
|
+
type PaginationPageSizeOptionItem = number | PaginationPageSizeOption;
|
|
23
|
+
/**
|
|
24
|
+
* Quick jumper validation scheduling strategy.
|
|
25
|
+
*/
|
|
26
|
+
interface PaginationQuickJumperValidationOptions {
|
|
27
|
+
/**
|
|
28
|
+
* Debounce delay before validation is scheduled during idle time.
|
|
29
|
+
* @default 120
|
|
30
|
+
*/
|
|
31
|
+
delay?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Maximum time to wait for requestIdleCallback before running validation.
|
|
34
|
+
* @default 250
|
|
35
|
+
*/
|
|
36
|
+
timeout?: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Base pagination props interface
|
|
40
|
+
*/
|
|
41
|
+
interface PaginationProps {
|
|
42
|
+
/**
|
|
43
|
+
* Current page number (1-indexed)
|
|
44
|
+
* @default 1
|
|
45
|
+
*/
|
|
46
|
+
current?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Default current page (for uncontrolled mode)
|
|
49
|
+
* @default 1
|
|
50
|
+
*/
|
|
51
|
+
defaultCurrent?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Total number of items
|
|
54
|
+
* @default 0
|
|
55
|
+
*/
|
|
56
|
+
total?: number;
|
|
57
|
+
/**
|
|
58
|
+
* Number of items per page
|
|
59
|
+
* @default 10
|
|
60
|
+
*/
|
|
61
|
+
pageSize?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Default page size (for uncontrolled mode)
|
|
64
|
+
* @default 10
|
|
65
|
+
*/
|
|
66
|
+
defaultPageSize?: number;
|
|
67
|
+
/**
|
|
68
|
+
* Available page size options
|
|
69
|
+
* @default [10, 20, 50, 100]
|
|
70
|
+
*/
|
|
71
|
+
pageSizeOptions?: PaginationPageSizeOptionItem[];
|
|
72
|
+
/**
|
|
73
|
+
* Whether to show quick jumper (input for page number)
|
|
74
|
+
* @default false
|
|
75
|
+
*/
|
|
76
|
+
showQuickJumper?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
* Quick jumper delayed validation timing.
|
|
79
|
+
*/
|
|
80
|
+
quickJumperValidation?: PaginationQuickJumperValidationOptions;
|
|
81
|
+
/**
|
|
82
|
+
* Whether to show page size selector
|
|
83
|
+
* @default false
|
|
84
|
+
*/
|
|
85
|
+
showSizeChanger?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Whether to show total count
|
|
88
|
+
* @default true
|
|
89
|
+
*/
|
|
90
|
+
showTotal?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Custom total text renderer
|
|
93
|
+
* @param total - Total number of items
|
|
94
|
+
* @param range - Current page range [start, end]
|
|
95
|
+
* @returns Custom text to display
|
|
96
|
+
*/
|
|
97
|
+
totalText?: (total: number, range: [number, number]) => string;
|
|
98
|
+
/**
|
|
99
|
+
* Simple mode - only show prev/next buttons
|
|
100
|
+
* @default false
|
|
101
|
+
*/
|
|
102
|
+
simple?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Size of pagination
|
|
105
|
+
* @default 'medium'
|
|
106
|
+
*/
|
|
107
|
+
size?: PaginationSize;
|
|
108
|
+
/**
|
|
109
|
+
* Alignment of pagination
|
|
110
|
+
* @default 'center'
|
|
111
|
+
*/
|
|
112
|
+
align?: PaginationAlign;
|
|
113
|
+
/**
|
|
114
|
+
* Whether pagination is disabled
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
disabled?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Whether to hide pagination on single page
|
|
120
|
+
* @default false
|
|
121
|
+
*/
|
|
122
|
+
hideOnSinglePage?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Whether to show fewer page buttons around current page
|
|
125
|
+
* @default false
|
|
126
|
+
*/
|
|
127
|
+
showLessItems?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Additional CSS classes
|
|
130
|
+
*/
|
|
131
|
+
className?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Custom styles
|
|
134
|
+
*/
|
|
135
|
+
style?: Record<string, string | number>;
|
|
136
|
+
/**
|
|
137
|
+
* Locale configuration. Accepts a sync locale, promise, or lazy loader.
|
|
138
|
+
*/
|
|
139
|
+
locale?: TigerLocaleInput;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Page change event info
|
|
143
|
+
*/
|
|
144
|
+
interface PageChangeInfo {
|
|
145
|
+
/**
|
|
146
|
+
* New current page
|
|
147
|
+
*/
|
|
148
|
+
current: number;
|
|
149
|
+
/**
|
|
150
|
+
* Current page size
|
|
151
|
+
*/
|
|
152
|
+
pageSize: number;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Page size change event info
|
|
156
|
+
*/
|
|
157
|
+
interface PageSizeChangeInfo {
|
|
158
|
+
/**
|
|
159
|
+
* Current page (might be adjusted)
|
|
160
|
+
*/
|
|
161
|
+
current: number;
|
|
162
|
+
/**
|
|
163
|
+
* New page size
|
|
164
|
+
*/
|
|
165
|
+
pageSize: number;
|
|
166
|
+
}
|
|
2
167
|
|
|
3
168
|
/**
|
|
4
169
|
* Table component types and interfaces
|
|
@@ -10,6 +175,7 @@ import { a as TigerLocaleInput } from './locale-9-B-d0mp.cjs';
|
|
|
10
175
|
type TableSize = 'sm' | 'md' | 'lg';
|
|
11
176
|
type TableExportFormat = 'csv' | 'excel';
|
|
12
177
|
type TableResponsiveMode = 'card' | 'scroll';
|
|
178
|
+
type TableFixedPosition = 'left' | 'right';
|
|
13
179
|
/**
|
|
14
180
|
* Sort direction
|
|
15
181
|
*/
|
|
@@ -31,6 +197,24 @@ interface SortState {
|
|
|
31
197
|
* Column alignment
|
|
32
198
|
*/
|
|
33
199
|
type ColumnAlign = 'left' | 'center' | 'right';
|
|
200
|
+
interface TableFixedHeaderClassNameContext<T = Record<string, unknown>> {
|
|
201
|
+
view: 'table' | 'virtual-table';
|
|
202
|
+
column: TableColumn<T>;
|
|
203
|
+
fixed: TableFixedPosition;
|
|
204
|
+
stickyHeader: boolean;
|
|
205
|
+
}
|
|
206
|
+
interface TableFixedCellClassNameContext<T = Record<string, unknown>> {
|
|
207
|
+
view: 'table' | 'virtual-table';
|
|
208
|
+
column: TableColumn<T>;
|
|
209
|
+
fixed: TableFixedPosition;
|
|
210
|
+
record: T;
|
|
211
|
+
rowIndex: number;
|
|
212
|
+
striped: boolean;
|
|
213
|
+
selected: boolean;
|
|
214
|
+
hoverable: boolean;
|
|
215
|
+
}
|
|
216
|
+
type TableFixedHeaderClassName<T = Record<string, unknown>> = string | ((context: TableFixedHeaderClassNameContext<T>) => string | undefined | null | false);
|
|
217
|
+
type TableFixedCellClassName<T = Record<string, unknown>> = string | ((context: TableFixedCellClassNameContext<T>) => string | undefined | null | false);
|
|
34
218
|
/**
|
|
35
219
|
* Filter type
|
|
36
220
|
*/
|
|
@@ -119,7 +303,7 @@ interface TableColumn<T = Record<string, unknown>> {
|
|
|
119
303
|
* Whether column is fixed
|
|
120
304
|
* @default false
|
|
121
305
|
*/
|
|
122
|
-
fixed?:
|
|
306
|
+
fixed?: TableFixedPosition | false;
|
|
123
307
|
/**
|
|
124
308
|
* Custom render function for cell content
|
|
125
309
|
* Framework-specific implementations will handle this differently
|
|
@@ -133,10 +317,18 @@ interface TableColumn<T = Record<string, unknown>> {
|
|
|
133
317
|
* CSS class for column cells
|
|
134
318
|
*/
|
|
135
319
|
className?: string;
|
|
320
|
+
/**
|
|
321
|
+
* CSS class for fixed column cells, or a resolver based on row state.
|
|
322
|
+
*/
|
|
323
|
+
fixedClassName?: TableFixedCellClassName<T>;
|
|
136
324
|
/**
|
|
137
325
|
* CSS class for header cell
|
|
138
326
|
*/
|
|
139
327
|
headerClassName?: string;
|
|
328
|
+
/**
|
|
329
|
+
* CSS class for fixed column header cells, or a resolver for sticky header state.
|
|
330
|
+
*/
|
|
331
|
+
fixedHeaderClassName?: TableFixedHeaderClassName<T>;
|
|
140
332
|
}
|
|
141
333
|
/**
|
|
142
334
|
* Pagination configuration
|
|
@@ -172,7 +364,7 @@ interface PaginationConfig {
|
|
|
172
364
|
* Available page size options
|
|
173
365
|
* @default [10, 20, 50, 100]
|
|
174
366
|
*/
|
|
175
|
-
pageSizeOptions?:
|
|
367
|
+
pageSizeOptions?: PaginationPageSizeOptionItem[];
|
|
176
368
|
/**
|
|
177
369
|
* Whether to show page size selector
|
|
178
370
|
* @default true
|
|
@@ -510,4 +702,4 @@ declare function downloadTableExport(content: string, filename?: string, format?
|
|
|
510
702
|
*/
|
|
511
703
|
declare const tableExportButtonClasses = "inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] text-[var(--tiger-text,#111827)] bg-[var(--tiger-surface,#ffffff)] hover:bg-[var(--tiger-surface-muted,#f9fafb)] transition-colors";
|
|
512
704
|
|
|
513
|
-
export { type ColumnAlign as C, type ExpandableConfig as E, type FilterOption as F, type
|
|
705
|
+
export { type PageChangeInfo as A, type PageSizeChangeInfo as B, type ColumnAlign as C, type ExpandableConfig as E, type FilterOption as F, type PaginationQuickJumperValidationOptions as P, type RowSelectionConfig as R, type SortDirection as S, type TableResponsiveMode as T, type TableColumn as a, type TableFixedPosition as b, type TableSize as c, type PaginationAlign as d, type PaginationSize as e, type TableProps as f, type PaginationConfig as g, type FilterRule as h, type ColumnFilter as i, type SortState as j, exportTableToCsv as k, exportTableToExcel as l, downloadCsv as m, downloadExcel as n, exportTableData as o, downloadTableExport as p, type TableExportFormat as q, type TableFixedHeaderClassNameContext as r, type TableFixedCellClassNameContext as s, tableExportButtonClasses as t, type TableFixedHeaderClassName as u, type TableFixedCellClassName as v, type FilterType as w, type PaginationPageSizeOption as x, type PaginationPageSizeOptionItem as y, type PaginationProps as z };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../locale-
|
|
1
|
+
export { m as downloadCsv, n as downloadExcel, p as downloadTableExport, o as exportTableData, k as exportTableToCsv, l as exportTableToExcel, t as tableExportButtonClasses } from '../table-export-DDANRyCp.cjs';
|
|
2
|
+
import '../locale-Cvl0yrRV.cjs';
|
|
3
3
|
import '../datepicker-DXzS_8l8.cjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../locale-
|
|
1
|
+
export { m as downloadCsv, n as downloadExcel, p as downloadTableExport, o as exportTableData, k as exportTableToCsv, l as exportTableToExcel, t as tableExportButtonClasses } from '../table-export-C4Yqu5JI.js';
|
|
2
|
+
import '../locale-B_WkH8fG.js';
|
|
3
3
|
import '../datepicker-DXzS_8l8.js';
|
package/package.json
CHANGED
|
@@ -1973,6 +1973,18 @@
|
|
|
1973
1973
|
"value": "16px",
|
|
1974
1974
|
"reference": "primitive/font/size/base"
|
|
1975
1975
|
},
|
|
1976
|
+
{
|
|
1977
|
+
"name": "component/table/bg",
|
|
1978
|
+
"type": "COLOR",
|
|
1979
|
+
"cssVariable": "--tiger-component-table-bg",
|
|
1980
|
+
"value": {
|
|
1981
|
+
"r": 0.9803921568627451,
|
|
1982
|
+
"g": 0.9803921568627451,
|
|
1983
|
+
"b": 0.9803921568627451,
|
|
1984
|
+
"a": 1
|
|
1985
|
+
},
|
|
1986
|
+
"reference": "semantic/color/bg-surface"
|
|
1987
|
+
},
|
|
1976
1988
|
{
|
|
1977
1989
|
"name": "component/table/header-bg",
|
|
1978
1990
|
"type": "COLOR",
|
|
@@ -109,9 +109,12 @@ module.exports = {
|
|
|
109
109
|
boxShadow: {
|
|
110
110
|
'tiger-xs': '0 1px 2px 0 rgba(0,0,0,0.05)',
|
|
111
111
|
'tiger-sm': '0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)',
|
|
112
|
-
'tiger-md':
|
|
113
|
-
|
|
114
|
-
'tiger-
|
|
112
|
+
'tiger-md':
|
|
113
|
+
'0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)',
|
|
114
|
+
'tiger-lg':
|
|
115
|
+
'0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)',
|
|
116
|
+
'tiger-xl':
|
|
117
|
+
'0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)'
|
|
115
118
|
},
|
|
116
119
|
fontFamily: {
|
|
117
120
|
'tiger-base': [
|
package/tokens/tokens.css
CHANGED
|
@@ -89,14 +89,17 @@
|
|
|
89
89
|
--tiger-primitive-radius-xl: 12px;
|
|
90
90
|
--tiger-primitive-radius-full: 9999px;
|
|
91
91
|
--tiger-primitive-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
92
|
-
--tiger-primitive-shadow-sm:
|
|
93
|
-
|
|
92
|
+
--tiger-primitive-shadow-sm:
|
|
93
|
+
0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
|
|
94
|
+
--tiger-primitive-shadow-md:
|
|
95
|
+
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
94
96
|
--tiger-primitive-shadow-lg:
|
|
95
97
|
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
96
98
|
--tiger-primitive-shadow-xl:
|
|
97
99
|
0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
|
|
98
100
|
--tiger-primitive-font-family-base:
|
|
99
|
-
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
101
|
+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
102
|
+
Arial, sans-serif;
|
|
100
103
|
--tiger-primitive-font-family-mono:
|
|
101
104
|
'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
|
|
102
105
|
--tiger-primitive-font-size-xs: 12px;
|
|
@@ -221,7 +224,8 @@
|
|
|
221
224
|
--tiger-component-drawer-width-xl: 680px;
|
|
222
225
|
--tiger-component-card-border-radius: 12px;
|
|
223
226
|
--tiger-component-card-padding: 24px;
|
|
224
|
-
--tiger-component-card-shadow:
|
|
227
|
+
--tiger-component-card-shadow:
|
|
228
|
+
0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
|
|
225
229
|
--tiger-component-card-border-color: #e5e5e5;
|
|
226
230
|
--tiger-component-badge-font-size: 12px;
|
|
227
231
|
--tiger-component-badge-font-weight: 500;
|
|
@@ -235,6 +239,7 @@
|
|
|
235
239
|
--tiger-component-avatar-font-size-sm: 12px;
|
|
236
240
|
--tiger-component-avatar-font-size-md: 14px;
|
|
237
241
|
--tiger-component-avatar-font-size-lg: 16px;
|
|
242
|
+
--tiger-component-table-bg: #fafafa;
|
|
238
243
|
--tiger-component-table-header-bg: #fafafa;
|
|
239
244
|
--tiger-component-table-header-font-weight: 600;
|
|
240
245
|
--tiger-component-table-cell-padding-x: 16px;
|
|
@@ -403,12 +408,17 @@
|
|
|
403
408
|
--tiger-radius-xl: 12px;
|
|
404
409
|
--tiger-radius-full: 9999px;
|
|
405
410
|
--tiger-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
406
|
-
--tiger-shadow-sm:
|
|
407
|
-
|
|
408
|
-
--tiger-shadow-
|
|
409
|
-
|
|
411
|
+
--tiger-shadow-sm:
|
|
412
|
+
0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
|
|
413
|
+
--tiger-shadow-md:
|
|
414
|
+
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
415
|
+
--tiger-shadow-lg:
|
|
416
|
+
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
417
|
+
--tiger-shadow-xl:
|
|
418
|
+
0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
|
|
410
419
|
--tiger-font-family-base:
|
|
411
|
-
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
420
|
+
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
421
|
+
Arial, sans-serif;
|
|
412
422
|
--tiger-font-family-mono:
|
|
413
423
|
'SF Mono', Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
|
|
414
424
|
--tiger-font-size-xs: 12px;
|
|
@@ -508,7 +518,8 @@
|
|
|
508
518
|
--tiger-select-option-padding-x: 16px;
|
|
509
519
|
--tiger-modal-border-radius: 12px;
|
|
510
520
|
--tiger-modal-padding: 24px;
|
|
511
|
-
--tiger-modal-shadow:
|
|
521
|
+
--tiger-modal-shadow:
|
|
522
|
+
0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
|
|
512
523
|
--tiger-modal-header-font-size: 18px;
|
|
513
524
|
--tiger-modal-header-font-weight: 600;
|
|
514
525
|
--tiger-modal-overlay-bg: rgba(0, 0, 0, 0.45);
|
|
@@ -517,7 +528,8 @@
|
|
|
517
528
|
--tiger-modal-width-lg: 680px;
|
|
518
529
|
--tiger-modal-width-xl: 860px;
|
|
519
530
|
--tiger-drawer-padding: 24px;
|
|
520
|
-
--tiger-drawer-shadow:
|
|
531
|
+
--tiger-drawer-shadow:
|
|
532
|
+
0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
|
|
521
533
|
--tiger-drawer-header-font-size: 18px;
|
|
522
534
|
--tiger-drawer-header-font-weight: 600;
|
|
523
535
|
--tiger-drawer-overlay-bg: rgba(0, 0, 0, 0.45);
|
|
@@ -527,7 +539,8 @@
|
|
|
527
539
|
--tiger-drawer-width-xl: 680px;
|
|
528
540
|
--tiger-card-border-radius: 12px;
|
|
529
541
|
--tiger-card-padding: 24px;
|
|
530
|
-
--tiger-card-shadow:
|
|
542
|
+
--tiger-card-shadow:
|
|
543
|
+
0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
|
|
531
544
|
--tiger-card-border-color: #e5e5e5;
|
|
532
545
|
--tiger-badge-font-size: 12px;
|
|
533
546
|
--tiger-badge-font-weight: 500;
|
|
@@ -541,6 +554,7 @@
|
|
|
541
554
|
--tiger-avatar-font-size-sm: 12px;
|
|
542
555
|
--tiger-avatar-font-size-md: 14px;
|
|
543
556
|
--tiger-avatar-font-size-lg: 16px;
|
|
557
|
+
--tiger-table-bg: #fafafa;
|
|
544
558
|
--tiger-table-header-bg: #fafafa;
|
|
545
559
|
--tiger-table-header-font-weight: 600;
|
|
546
560
|
--tiger-table-cell-padding-x: 16px;
|
|
@@ -556,7 +570,8 @@
|
|
|
556
570
|
--tiger-tooltip-padding-x: 8px;
|
|
557
571
|
--tiger-tooltip-padding-y: 4px;
|
|
558
572
|
--tiger-tooltip-border-radius: 8px;
|
|
559
|
-
--tiger-tooltip-shadow:
|
|
573
|
+
--tiger-tooltip-shadow:
|
|
574
|
+
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
|
|
560
575
|
--tiger-tooltip-max-width: 280px;
|
|
561
576
|
--tiger-alert-border-radius: 8px;
|
|
562
577
|
--tiger-alert-padding-x: 16px;
|
|
@@ -602,7 +617,8 @@
|
|
|
602
617
|
--tiger-dropdown-item-height: 36px;
|
|
603
618
|
--tiger-dropdown-item-padding-x: 16px;
|
|
604
619
|
--tiger-dropdown-border-radius: 12px;
|
|
605
|
-
--tiger-dropdown-shadow:
|
|
620
|
+
--tiger-dropdown-shadow:
|
|
621
|
+
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
606
622
|
--tiger-menu-item-height: 40px;
|
|
607
623
|
--tiger-menu-item-padding-x: 16px;
|
|
608
624
|
--tiger-menu-group-title-padding: 8px;
|
|
@@ -617,7 +633,8 @@
|
|
|
617
633
|
--tiger-notification-title-font-weight: 500;
|
|
618
634
|
--tiger-popover-padding: 16px;
|
|
619
635
|
--tiger-popover-border-radius: 12px;
|
|
620
|
-
--tiger-popover-shadow:
|
|
636
|
+
--tiger-popover-shadow:
|
|
637
|
+
0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
|
|
621
638
|
--tiger-popover-max-width: 320px;
|
|
622
639
|
|
|
623
640
|
/* Legacy variables (backward-compat with pre-0.5.0) */
|
package/tokens/tokens.json
CHANGED
|
@@ -283,6 +283,7 @@
|
|
|
283
283
|
"font-size-lg": "primitive.font.size.base"
|
|
284
284
|
},
|
|
285
285
|
"table": {
|
|
286
|
+
"bg": "semantic.color.bg-surface",
|
|
286
287
|
"header-bg": "semantic.color.bg-surface",
|
|
287
288
|
"header-font-weight": "primitive.font.weight.semibold",
|
|
288
289
|
"cell-padding-x": "primitive.space.lg",
|