@expcat/tigercat-core 1.2.52 → 1.3.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.
@@ -879,4 +879,4 @@ declare function downloadTableExport(content: string, filename?: string, format?
879
879
  */
880
880
  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";
881
881
 
882
- export { type TableCardColSpan as A, type TableCardRowSpan as B, type ColumnAlign as C, type TableColumnCardGrid as D, type ExpandableConfig as E, type FilterOption as F, type TableCardRenderContext as G, type PaginationPageSizeOption as H, type PaginationPageSizeOptionItem as I, type PaginationProps as J, type PageChangeInfo as K, type PageSizeChangeInfo as L, type PaginationQuickJumperValidationOptions as P, type RowSelectionConfig as R, type SortDirection as S, type TableResponsiveMode as T, type TableCardBreakpoint as a, type TableColumn as b, type TableFixedPosition as c, type TableSize as d, type TableCardLayoutItem as e, type PaginationAlign as f, type PaginationSize as g, type TableProps as h, type PaginationConfig as i, type FilterRule as j, type ColumnFilter as k, type SortState as l, exportTableToCsv as m, exportTableToExcel as n, downloadCsv as o, downloadExcel as p, exportTableData as q, downloadTableExport as r, type TableExportFormat as s, tableExportButtonClasses as t, type TableCardSelectionPosition as u, type TableFixedHeaderClassNameContext as v, type TableFixedCellClassNameContext as w, type TableFixedHeaderClassName as x, type TableFixedCellClassName as y, type FilterType as z };
882
+ export { type TableCardColSpan as A, type TableCardRowSpan as B, type ColumnAlign as C, type TableColumnCardGrid as D, type ExpandableConfig as E, type FilterOption as F, type TableCardRenderContext as G, type PaginationPageSizeOption as H, type PaginationPageSizeOptionItem as I, type PaginationProps as J, type PageChangeInfo as K, type PageSizeChangeInfo as L, type PaginationQuickJumperValidationOptions as P, type RowSelectionConfig as R, type SortDirection as S, type TableResponsiveMode as T, type TableCardBreakpoint as a, type TableColumn as b, type TableSize as c, type TableFixedPosition as d, type TableCardLayoutItem as e, type PaginationAlign as f, type PaginationSize as g, type TableProps as h, type PaginationConfig as i, type FilterRule as j, type ColumnFilter as k, type SortState as l, exportTableToCsv as m, exportTableToExcel as n, downloadCsv as o, downloadExcel as p, exportTableData as q, downloadTableExport as r, type TableExportFormat as s, tableExportButtonClasses as t, type TableCardSelectionPosition as u, type TableFixedHeaderClassNameContext as v, type TableFixedCellClassNameContext as w, type TableFixedHeaderClassName as x, type TableFixedCellClassName as y, type FilterType as z };
@@ -879,4 +879,4 @@ declare function downloadTableExport(content: string, filename?: string, format?
879
879
  */
880
880
  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";
881
881
 
882
- export { type TableCardColSpan as A, type TableCardRowSpan as B, type ColumnAlign as C, type TableColumnCardGrid as D, type ExpandableConfig as E, type FilterOption as F, type TableCardRenderContext as G, type PaginationPageSizeOption as H, type PaginationPageSizeOptionItem as I, type PaginationProps as J, type PageChangeInfo as K, type PageSizeChangeInfo as L, type PaginationQuickJumperValidationOptions as P, type RowSelectionConfig as R, type SortDirection as S, type TableResponsiveMode as T, type TableCardBreakpoint as a, type TableColumn as b, type TableFixedPosition as c, type TableSize as d, type TableCardLayoutItem as e, type PaginationAlign as f, type PaginationSize as g, type TableProps as h, type PaginationConfig as i, type FilterRule as j, type ColumnFilter as k, type SortState as l, exportTableToCsv as m, exportTableToExcel as n, downloadCsv as o, downloadExcel as p, exportTableData as q, downloadTableExport as r, type TableExportFormat as s, tableExportButtonClasses as t, type TableCardSelectionPosition as u, type TableFixedHeaderClassNameContext as v, type TableFixedCellClassNameContext as w, type TableFixedHeaderClassName as x, type TableFixedCellClassName as y, type FilterType as z };
882
+ export { type TableCardColSpan as A, type TableCardRowSpan as B, type ColumnAlign as C, type TableColumnCardGrid as D, type ExpandableConfig as E, type FilterOption as F, type TableCardRenderContext as G, type PaginationPageSizeOption as H, type PaginationPageSizeOptionItem as I, type PaginationProps as J, type PageChangeInfo as K, type PageSizeChangeInfo as L, type PaginationQuickJumperValidationOptions as P, type RowSelectionConfig as R, type SortDirection as S, type TableResponsiveMode as T, type TableCardBreakpoint as a, type TableColumn as b, type TableSize as c, type TableFixedPosition as d, type TableCardLayoutItem as e, type PaginationAlign as f, type PaginationSize as g, type TableProps as h, type PaginationConfig as i, type FilterRule as j, type ColumnFilter as k, type SortState as l, exportTableToCsv as m, exportTableToExcel as n, downloadCsv as o, downloadExcel as p, exportTableData as q, downloadTableExport as r, type TableExportFormat as s, tableExportButtonClasses as t, type TableCardSelectionPosition as u, type TableFixedHeaderClassNameContext as v, type TableFixedCellClassNameContext as w, type TableFixedHeaderClassName as x, type TableFixedCellClassName as y, type FilterType as z };
@@ -98,11 +98,22 @@ var MODERN_BASE_TOKENS_LIGHT = {
98
98
  "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
99
99
  "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
100
100
  "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
101
- // Glass — disabled by default (no backdrop blur, no inset highlights)
101
+ // Glass — inset highlights stay disabled by default (kept flat), but a
102
+ // sensible backdrop blur is enabled out of the box so opt-in surfaces like
103
+ // `Header variant="translucent"/"blur"` render glass without the consumer
104
+ // having to set these tokens. Override to `0px` to fully disable blur.
102
105
  "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
103
106
  "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
104
- "--tiger-blur-glass": "0px",
105
- "--tiger-blur-glass-strong": "0px",
107
+ "--tiger-blur-glass": "16px",
108
+ "--tiger-blur-glass-strong": "24px",
109
+ // Header variant tuning — all overridable without `!important`. `saturate`
110
+ // enriches the blurred backdrop; `--tiger-header-shadow` lets consumers
111
+ // swap the `blur` variant's shadow; `--tiger-header-border` scopes the
112
+ // header's border color (falls back to the global `--tiger-border`) so the
113
+ // glass header border can be tuned without touching every other border.
114
+ "--tiger-header-saturate": "1.8",
115
+ "--tiger-header-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
116
+ "--tiger-header-border": "var(--tiger-border, #e5e7eb)",
106
117
  // Gradients — fall back to solid color via a no-op linear-gradient
107
118
  "--tiger-gradient-primary": "linear-gradient(180deg, var(--tiger-primary), var(--tiger-primary))",
108
119
  "--tiger-gradient-surface": "linear-gradient(180deg, var(--tiger-surface), var(--tiger-surface))",
@@ -129,7 +140,11 @@ var MODERN_BASE_TOKENS_DARK = {
129
140
  "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.25)",
130
141
  "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.25)",
131
142
  "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
132
- "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)"
143
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)",
144
+ // Header `blur` variant shadow — slightly deeper for dark surfaces.
145
+ "--tiger-header-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.3)",
146
+ // Header border tracks the dark-mode global border by default.
147
+ "--tiger-header-border": "var(--tiger-border)"
133
148
  };
134
149
  var MODERN_OVERRIDE_TOKENS_LIGHT = {
135
150
  // Rounder corners
@@ -62,11 +62,22 @@ var MODERN_BASE_TOKENS_LIGHT = {
62
62
  "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
63
63
  "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
64
64
  "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
65
- // Glass — disabled by default (no backdrop blur, no inset highlights)
65
+ // Glass — inset highlights stay disabled by default (kept flat), but a
66
+ // sensible backdrop blur is enabled out of the box so opt-in surfaces like
67
+ // `Header variant="translucent"/"blur"` render glass without the consumer
68
+ // having to set these tokens. Override to `0px` to fully disable blur.
66
69
  "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
67
70
  "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
68
- "--tiger-blur-glass": "0px",
69
- "--tiger-blur-glass-strong": "0px",
71
+ "--tiger-blur-glass": "16px",
72
+ "--tiger-blur-glass-strong": "24px",
73
+ // Header variant tuning — all overridable without `!important`. `saturate`
74
+ // enriches the blurred backdrop; `--tiger-header-shadow` lets consumers
75
+ // swap the `blur` variant's shadow; `--tiger-header-border` scopes the
76
+ // header's border color (falls back to the global `--tiger-border`) so the
77
+ // glass header border can be tuned without touching every other border.
78
+ "--tiger-header-saturate": "1.8",
79
+ "--tiger-header-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
80
+ "--tiger-header-border": "var(--tiger-border, #e5e7eb)",
70
81
  // Gradients — fall back to solid color via a no-op linear-gradient
71
82
  "--tiger-gradient-primary": "linear-gradient(180deg, var(--tiger-primary), var(--tiger-primary))",
72
83
  "--tiger-gradient-surface": "linear-gradient(180deg, var(--tiger-surface), var(--tiger-surface))",
@@ -93,7 +104,11 @@ var MODERN_BASE_TOKENS_DARK = {
93
104
  "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.25)",
94
105
  "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.25)",
95
106
  "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
96
- "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)"
107
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)",
108
+ // Header `blur` variant shadow — slightly deeper for dark surfaces.
109
+ "--tiger-header-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.3)",
110
+ // Header border tracks the dark-mode global border by default.
111
+ "--tiger-header-border": "var(--tiger-border)"
97
112
  };
98
113
  var MODERN_OVERRIDE_TOKENS_LIGHT = {
99
114
  // Rounder corners
package/dist/tailwind.cjs CHANGED
@@ -50,11 +50,22 @@ var MODERN_BASE_TOKENS_LIGHT = {
50
50
  "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
51
51
  "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
52
52
  "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
53
- // Glass — disabled by default (no backdrop blur, no inset highlights)
53
+ // Glass — inset highlights stay disabled by default (kept flat), but a
54
+ // sensible backdrop blur is enabled out of the box so opt-in surfaces like
55
+ // `Header variant="translucent"/"blur"` render glass without the consumer
56
+ // having to set these tokens. Override to `0px` to fully disable blur.
54
57
  "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
55
58
  "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
56
- "--tiger-blur-glass": "0px",
57
- "--tiger-blur-glass-strong": "0px",
59
+ "--tiger-blur-glass": "16px",
60
+ "--tiger-blur-glass-strong": "24px",
61
+ // Header variant tuning — all overridable without `!important`. `saturate`
62
+ // enriches the blurred backdrop; `--tiger-header-shadow` lets consumers
63
+ // swap the `blur` variant's shadow; `--tiger-header-border` scopes the
64
+ // header's border color (falls back to the global `--tiger-border`) so the
65
+ // glass header border can be tuned without touching every other border.
66
+ "--tiger-header-saturate": "1.8",
67
+ "--tiger-header-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
68
+ "--tiger-header-border": "var(--tiger-border, #e5e7eb)",
58
69
  // Gradients — fall back to solid color via a no-op linear-gradient
59
70
  "--tiger-gradient-primary": "linear-gradient(180deg, var(--tiger-primary), var(--tiger-primary))",
60
71
  "--tiger-gradient-surface": "linear-gradient(180deg, var(--tiger-surface), var(--tiger-surface))",
@@ -81,7 +92,11 @@ var MODERN_BASE_TOKENS_DARK = {
81
92
  "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.25)",
82
93
  "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.25)",
83
94
  "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
84
- "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)"
95
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)",
96
+ // Header `blur` variant shadow — slightly deeper for dark surfaces.
97
+ "--tiger-header-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.3)",
98
+ // Header border tracks the dark-mode global border by default.
99
+ "--tiger-header-border": "var(--tiger-border)"
85
100
  };
86
101
  var MODERN_REDUCED_MOTION_TOKENS = {
87
102
  "--tiger-motion-duration-instant": "0ms",
package/dist/tailwind.js CHANGED
@@ -14,11 +14,22 @@ var MODERN_BASE_TOKENS_LIGHT = {
14
14
  "--tiger-shadow-md": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
15
15
  "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
16
16
  "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
17
- // Glass — disabled by default (no backdrop blur, no inset highlights)
17
+ // Glass — inset highlights stay disabled by default (kept flat), but a
18
+ // sensible backdrop blur is enabled out of the box so opt-in surfaces like
19
+ // `Header variant="translucent"/"blur"` render glass without the consumer
20
+ // having to set these tokens. Override to `0px` to fully disable blur.
18
21
  "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
19
22
  "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.1)",
20
- "--tiger-blur-glass": "0px",
21
- "--tiger-blur-glass-strong": "0px",
23
+ "--tiger-blur-glass": "16px",
24
+ "--tiger-blur-glass-strong": "24px",
25
+ // Header variant tuning — all overridable without `!important`. `saturate`
26
+ // enriches the blurred backdrop; `--tiger-header-shadow` lets consumers
27
+ // swap the `blur` variant's shadow; `--tiger-header-border` scopes the
28
+ // header's border color (falls back to the global `--tiger-border`) so the
29
+ // glass header border can be tuned without touching every other border.
30
+ "--tiger-header-saturate": "1.8",
31
+ "--tiger-header-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
32
+ "--tiger-header-border": "var(--tiger-border, #e5e7eb)",
22
33
  // Gradients — fall back to solid color via a no-op linear-gradient
23
34
  "--tiger-gradient-primary": "linear-gradient(180deg, var(--tiger-primary), var(--tiger-primary))",
24
35
  "--tiger-gradient-surface": "linear-gradient(180deg, var(--tiger-surface), var(--tiger-surface))",
@@ -45,7 +56,11 @@ var MODERN_BASE_TOKENS_DARK = {
45
56
  "--tiger-shadow-lg": "0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.25)",
46
57
  "--tiger-shadow-xl": "0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.25)",
47
58
  "--tiger-shadow-glass": "0 1px 2px 0 rgb(0 0 0 / 0.2)",
48
- "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)"
59
+ "--tiger-shadow-glass-strong": "0 4px 6px -1px rgb(0 0 0 / 0.3)",
60
+ // Header `blur` variant shadow — slightly deeper for dark surfaces.
61
+ "--tiger-header-shadow": "0 1px 2px 0 rgb(0 0 0 / 0.3)",
62
+ // Header border tracks the dark-mode global border by default.
63
+ "--tiger-header-border": "var(--tiger-border)"
49
64
  };
50
65
  var MODERN_REDUCED_MOTION_TOKENS = {
51
66
  "--tiger-motion-duration-instant": "0ms",
@@ -1,3 +1,3 @@
1
- export { o as downloadCsv, p as downloadExcel, r as downloadTableExport, q as exportTableData, m as exportTableToCsv, n as exportTableToExcel, t as tableExportButtonClasses } from '../table-export-CR2in2GM.cjs';
1
+ export { o as downloadCsv, p as downloadExcel, r as downloadTableExport, q as exportTableData, m as exportTableToCsv, n as exportTableToExcel, t as tableExportButtonClasses } from '../table-export-CwJR6vfP.cjs';
2
2
  import '../locale-BRmojkDM.cjs';
3
3
  import '../datepicker-DXzS_8l8.cjs';
@@ -1,3 +1,3 @@
1
- export { o as downloadCsv, p as downloadExcel, r as downloadTableExport, q as exportTableData, m as exportTableToCsv, n as exportTableToExcel, t as tableExportButtonClasses } from '../table-export-FvrNas0f.js';
1
+ export { o as downloadCsv, p as downloadExcel, r as downloadTableExport, q as exportTableData, m as exportTableToCsv, n as exportTableToExcel, t as tableExportButtonClasses } from '../table-export-B4VAha5n.js';
2
2
  import '../locale-BxSSFEo2.js';
3
3
  import '../datepicker-DXzS_8l8.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expcat/tigercat-core",
3
- "version": "1.2.52",
3
+ "version": "1.3.1",
4
4
  "type": "module",
5
5
  "description": "Core utilities for Tigercat UI library",
6
6
  "license": "MIT",