@expcat/tigercat-core 1.2.52 → 1.3.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/dist/icons/registry.cjs +64 -0
- package/dist/icons/registry.d.cts +22 -0
- package/dist/icons/registry.d.ts +22 -0
- package/dist/icons/registry.js +64 -0
- package/dist/index.cjs +94 -8
- package/dist/index.d.cts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +93 -8
- package/dist/tailwind/modern.cjs +19 -4
- package/dist/tailwind/modern.js +19 -4
- package/dist/tailwind.cjs +19 -4
- package/dist/tailwind.js +19 -4
- package/package.json +1 -1
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 (
|
|
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": "
|
|
21
|
-
"--tiger-blur-glass-strong": "
|
|
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",
|