@kopexa/theme 17.17.2 → 17.18.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  input
3
- } from "./chunk-K3EVZATS.mjs";
3
+ } from "./chunk-DUF6K5Y2.mjs";
4
4
 
5
5
  // src/components/combobox.ts
6
6
  import { tv } from "tailwind-variants";
@@ -23,7 +23,7 @@ var input = tv({
23
23
  "data-[has-start-content=true]:ps-1.5",
24
24
  "data-[has-end-content=true]:pe-1.5",
25
25
  "file:cursor-pointer file:bg-transparent file:border-0",
26
- "autofill:bg-transparent bg-clip-text",
26
+ "autofill:bg-transparent autofill:bg-clip-text",
27
27
  // legacy
28
28
  "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground",
29
29
  "flex",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  input
3
- } from "./chunk-K3EVZATS.mjs";
3
+ } from "./chunk-DUF6K5Y2.mjs";
4
4
  import {
5
5
  popoverContentClasses
6
6
  } from "./chunk-6IZPAS4O.mjs";
@@ -72,7 +72,7 @@ var input = (0, import_tailwind_variants.tv)({
72
72
  "data-[has-start-content=true]:ps-1.5",
73
73
  "data-[has-end-content=true]:pe-1.5",
74
74
  "file:cursor-pointer file:bg-transparent file:border-0",
75
- "autofill:bg-transparent bg-clip-text",
75
+ "autofill:bg-transparent autofill:bg-clip-text",
76
76
  // legacy
77
77
  "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground",
78
78
  "flex",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  autocomplete
3
- } from "../chunk-CWAFYX5G.mjs";
4
- import "../chunk-K3EVZATS.mjs";
3
+ } from "../chunk-OHZBQRA4.mjs";
4
+ import "../chunk-DUF6K5Y2.mjs";
5
5
  import "../chunk-6IZPAS4O.mjs";
6
6
  export {
7
7
  autocomplete
@@ -70,7 +70,7 @@ var input = (0, import_tailwind_variants.tv)({
70
70
  "data-[has-start-content=true]:ps-1.5",
71
71
  "data-[has-end-content=true]:pe-1.5",
72
72
  "file:cursor-pointer file:bg-transparent file:border-0",
73
- "autofill:bg-transparent bg-clip-text",
73
+ "autofill:bg-transparent autofill:bg-clip-text",
74
74
  // legacy
75
75
  "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground",
76
76
  "flex",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  combobox
3
- } from "../chunk-Z2SMCAER.mjs";
4
- import "../chunk-K3EVZATS.mjs";
3
+ } from "../chunk-3T7EOMXR.mjs";
4
+ import "../chunk-DUF6K5Y2.mjs";
5
5
  import "../chunk-6IZPAS4O.mjs";
6
6
  export {
7
7
  combobox
@@ -308,7 +308,7 @@ var input = (0, import_tailwind_variants4.tv)({
308
308
  "data-[has-start-content=true]:ps-1.5",
309
309
  "data-[has-end-content=true]:pe-1.5",
310
310
  "file:cursor-pointer file:bg-transparent file:border-0",
311
- "autofill:bg-transparent bg-clip-text",
311
+ "autofill:bg-transparent autofill:bg-clip-text",
312
312
  // legacy
313
313
  "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground",
314
314
  "flex",
@@ -159,7 +159,7 @@ import {
159
159
  } from "../chunk-CPERWXKN.mjs";
160
160
  import {
161
161
  combobox
162
- } from "../chunk-Z2SMCAER.mjs";
162
+ } from "../chunk-3T7EOMXR.mjs";
163
163
  import {
164
164
  command
165
165
  } from "../chunk-YPHFKGNI.mjs";
@@ -213,11 +213,11 @@ import {
213
213
  } from "../chunk-CPAF7VNM.mjs";
214
214
  import {
215
215
  autocomplete
216
- } from "../chunk-CWAFYX5G.mjs";
216
+ } from "../chunk-OHZBQRA4.mjs";
217
217
  import {
218
218
  input,
219
219
  passwordInput
220
- } from "../chunk-K3EVZATS.mjs";
220
+ } from "../chunk-DUF6K5Y2.mjs";
221
221
  import {
222
222
  avatarGroup
223
223
  } from "../chunk-XCLEKBCJ.mjs";
@@ -68,7 +68,7 @@ var input = (0, import_tailwind_variants.tv)({
68
68
  "data-[has-start-content=true]:ps-1.5",
69
69
  "data-[has-end-content=true]:pe-1.5",
70
70
  "file:cursor-pointer file:bg-transparent file:border-0",
71
- "autofill:bg-transparent bg-clip-text",
71
+ "autofill:bg-transparent autofill:bg-clip-text",
72
72
  // legacy
73
73
  "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground",
74
74
  "flex",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  input,
3
3
  passwordInput
4
- } from "../chunk-K3EVZATS.mjs";
4
+ } from "../chunk-DUF6K5Y2.mjs";
5
5
  import "../chunk-6IZPAS4O.mjs";
6
6
  export {
7
7
  input,
package/dist/index.css CHANGED
@@ -2,6 +2,9 @@
2
2
  @import "tw-animate-css";
3
3
  @import "./editor.css";
4
4
 
5
+ /* Include safelist for dynamically composed classes */
6
+ @source "./safelist.ts";
7
+
5
8
  @custom-variant dark (&:is(.dark *));
6
9
 
7
10
  :root {
package/dist/index.js CHANGED
@@ -308,7 +308,7 @@ var input = (0, import_tailwind_variants4.tv)({
308
308
  "data-[has-start-content=true]:ps-1.5",
309
309
  "data-[has-end-content=true]:pe-1.5",
310
310
  "file:cursor-pointer file:bg-transparent file:border-0",
311
- "autofill:bg-transparent bg-clip-text",
311
+ "autofill:bg-transparent autofill:bg-clip-text",
312
312
  // legacy
313
313
  "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground",
314
314
  "flex",
package/dist/index.mjs CHANGED
@@ -160,7 +160,7 @@ import {
160
160
  } from "./chunk-CPERWXKN.mjs";
161
161
  import {
162
162
  combobox
163
- } from "./chunk-Z2SMCAER.mjs";
163
+ } from "./chunk-3T7EOMXR.mjs";
164
164
  import {
165
165
  command
166
166
  } from "./chunk-YPHFKGNI.mjs";
@@ -214,11 +214,11 @@ import {
214
214
  } from "./chunk-CPAF7VNM.mjs";
215
215
  import {
216
216
  autocomplete
217
- } from "./chunk-CWAFYX5G.mjs";
217
+ } from "./chunk-OHZBQRA4.mjs";
218
218
  import {
219
219
  input,
220
220
  passwordInput
221
- } from "./chunk-K3EVZATS.mjs";
221
+ } from "./chunk-DUF6K5Y2.mjs";
222
222
  import {
223
223
  avatarGroup
224
224
  } from "./chunk-XCLEKBCJ.mjs";
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Safelist for dynamically composed Tailwind classes.
3
+ *
4
+ * These classes are used by components that compose class names at runtime
5
+ * (e.g., ImpactBadge, ImpactCard) and need to be included in the Tailwind build.
6
+ *
7
+ * This file is referenced by Tailwind's content scanner to ensure these classes
8
+ * are always generated.
9
+ */
10
+
11
+ // Impact scale colors (used in @kopexa/grc ImpactBadge, ImpactCard)
12
+ export const impactColors = [
13
+ // Green (level 1)
14
+ "text-green-700",
15
+ "bg-green-100",
16
+ "bg-green-500",
17
+ // Lime (level 2)
18
+ "text-lime-700",
19
+ "bg-lime-100",
20
+ "bg-lime-500",
21
+ // Yellow (level 3)
22
+ "text-yellow-700",
23
+ "bg-yellow-100",
24
+ "bg-yellow-500",
25
+ // Orange (level 4)
26
+ "text-orange-700",
27
+ "bg-orange-100",
28
+ "bg-orange-500",
29
+ // Red (level 5)
30
+ "text-red-700",
31
+ "bg-red-100",
32
+ "bg-red-500",
33
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/theme",
3
- "version": "17.17.2",
3
+ "version": "17.18.0",
4
4
  "description": "The default theme for Kopexa components",
5
5
  "keywords": [
6
6
  "theme",
@@ -66,7 +66,7 @@
66
66
  "tailwind-merge": "3.4.0",
67
67
  "tailwind-variants": "^3.2.2",
68
68
  "tw-animate-css": "^1.4.0",
69
- "@kopexa/shared-utils": "17.0.32"
69
+ "@kopexa/shared-utils": "17.0.34"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "tailwindcss": ">=4.0.0"