@tecsinapse/cortex-core 1.2.0-beta.13 → 1.2.0-beta.14

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.
@@ -4,7 +4,7 @@ var clsx = require('clsx');
4
4
  var tailwindVariants = require('tailwind-variants');
5
5
 
6
6
  const inputBaseStyles = tailwindVariants.tv({
7
- base: "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent",
7
+ base: "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent has-[:disabled]:border-secondary-light has-[:disabled]:text-secondary-light",
8
8
  variants: {
9
9
  intent: {
10
10
  default: [
@@ -2,7 +2,7 @@ import { clsx } from 'clsx';
2
2
  import { tv } from 'tailwind-variants';
3
3
 
4
4
  const inputBaseStyles = tv({
5
- base: "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent",
5
+ base: "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent has-[:disabled]:border-secondary-light has-[:disabled]:text-secondary-light",
6
6
  variants: {
7
7
  intent: {
8
8
  default: [
@@ -6,7 +6,7 @@ export declare const inputBaseStyles: import("tailwind-variants").TVReturnType<{
6
6
  warning: string[];
7
7
  error: string[];
8
8
  };
9
- }, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent", {
9
+ }, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent has-[:disabled]:border-secondary-light has-[:disabled]:text-secondary-light", {
10
10
  intent: {
11
11
  default: string[];
12
12
  success: string[];
@@ -20,7 +20,7 @@ export declare const inputBaseStyles: import("tailwind-variants").TVReturnType<{
20
20
  warning: string[];
21
21
  error: string[];
22
22
  };
23
- }, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent", unknown, unknown, undefined>>;
23
+ }, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent has-[:disabled]:border-secondary-light has-[:disabled]:text-secondary-light", unknown, unknown, undefined>>;
24
24
  declare const labelBaseStyles: import("tailwind-variants").TVReturnType<{
25
25
  intent: {
26
26
  default: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-core",
3
- "version": "1.2.0-beta.13",
3
+ "version": "1.2.0-beta.14",
4
4
  "license": "MIT",
5
5
  "description": "Core library for tailwindcss based design",
6
6
  "main": "dist/esm/index.js",
@@ -34,5 +34,5 @@
34
34
  "peerDependencies": {
35
35
  "tailwindcss": "^4.1.16"
36
36
  },
37
- "gitHead": "9704085b4fdacaca51fa32376291220a01e394c5"
37
+ "gitHead": "a6fdde978ccee1839aa8c3e18561ea17af68a59a"
38
38
  }
package/dist/default.css DELETED
@@ -1,179 +0,0 @@
1
- @import "tailwindcss";
2
-
3
- @theme {
4
- /* Colors - primary */
5
- --color-primary-xlight: #fef9f0;
6
- --color-primary-light: #fccb83;
7
- --color-primary-medium: #f89907;
8
- --color-primary-dark: #ae6b05;
9
- --color-primary-xdark: #633d03;
10
-
11
- /* Colors - secondary */
12
- --color-secondary-xlight: #f8f7f7;
13
- --color-secondary-light: #c2bfbc;
14
- --color-secondary-medium: #85807a;
15
- --color-secondary-dark: #5d5955;
16
- --color-secondary-xdark: #353231;
17
-
18
- /* Colors - info */
19
- --color-info-xlight: #f0f8fe;
20
- --color-info-light: #85c7fa;
21
- --color-info-medium: #239bf6;
22
- --color-info-dark: #0873c4;
23
- --color-info-xdark: #043962;
24
-
25
- /* Colors - success / warning / error */
26
- --color-success-xlight: #f3fcf8;
27
- --color-success-light: #99e6c9;
28
- --color-success-medium: #2db783;
29
- --color-success-dark: #238f67;
30
- --color-success-xdark: #14523b;
31
-
32
- --color-warning-xlight: #fffcf0;
33
- --color-warning-light: #ffe380;
34
- --color-warning-medium: #ffc700;
35
- --color-warning-dark: #cc9f00;
36
- --color-warning-xdark: #665000;
37
-
38
- --color-error-xlight: #fdf3f2;
39
- --color-error-light: #ee9891;
40
- --color-error-medium: #e04638;
41
- --color-error-dark: #9b2318;
42
- --color-error-xdark: #58240e;
43
-
44
- /* Misc */
45
- --color-body: #f8f7f7;
46
-
47
- /* Spacing */
48
- --spacing-nano: 0.125rem;
49
- --spacing-micro: 0.25rem;
50
- --spacing-mili: 0.5rem;
51
- --spacing-centi: 0.75rem;
52
- --spacing-deca: 1rem;
53
- --spacing-kilo: 1.5rem;
54
- --spacing-mega: 2rem;
55
- --spacing-giga: 2.5rem;
56
- --spacing-tera: 3rem;
57
- --spacing-peta: 3.5rem;
58
- --spacing-hexa: 4rem;
59
-
60
- /* Radius */
61
- --radius-nano: 0.125rem;
62
- --radius-micro: 0.25rem;
63
- --radius-mili: 0.5rem;
64
- --radius-centi: 1rem;
65
- --radius-deca: 1.5rem;
66
- --radius-pill: 999999px;
67
-
68
- /* Border width */
69
- --border-width-pico: 0.063rem;
70
- --border-width-nano: 0.125rem;
71
-
72
- /* Font families */
73
- --font-sans: 'Lato', system-ui, -apple-system, 'BlinkMacSystemFont', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
74
- --font-mono: Consolas, monaco, monospace;
75
-
76
- /* Font sizes com line-height */
77
-
78
- /* H5 */
79
- --text-h5: 1rem;
80
- --text-h5--line-height: 1.5rem;
81
- --text-h5-lg: 1.5rem;
82
-
83
- /* H4 */
84
- --text-h4: 1.125rem;
85
- --text-h4--line-height: 1.688rem;
86
- --text-h4-lg: 1.688rem;
87
-
88
- /* H3 */
89
- --text-h3: 1.25rem;
90
- --text-h3--line-height: 2rem;
91
- --text-h3-lg: 2rem;
92
-
93
- /* H2 */
94
- --text-h2: 1.625rem;
95
- --text-h2--line-height: 2.375rem;
96
- --text-h2-lg: 2.375rem;
97
-
98
- /* H1 */
99
- --text-h1: 2rem;
100
- --text-h1--line-height: 2.625rem;
101
- --text-h1-lg: 2.625rem;
102
-
103
- /* Base / Sub / Label */
104
- --text-base: 0.875rem;
105
- --text-base--line-height: 1.313rem;
106
- --text-base-lg: 1.313rem;
107
-
108
- --text-sub: 0.75rem;
109
- --text-sub--line-height: 1.125rem;
110
- --text-sub-lg: 1.125rem;
111
-
112
- --text-label: 0.625rem;
113
- --text-label--line-height: 0.75rem;
114
- --text-label-lg: 0.75rem;
115
-
116
- /* Icon sizes */
117
- --text-micro: 0.75rem;
118
- --text-mili: 0.875rem;
119
- --text-centi: 1rem;
120
- --text-deca: 1.125rem;
121
- --text-kilo: 1.5rem;
122
- --text-mega: 2rem;
123
-
124
- /* Box shadow */
125
- --shadow-default: 0 2px 8px rgba(0, 0, 0, 0.05);
126
-
127
- /* Border colors */
128
- --color-border-success-light: #99E6C9;
129
-
130
- /* Text colors */
131
- --color-text-light: #fff;
132
- --color-text-medium: #85807a;
133
- --color-text-dark: #353231;
134
- --color-text-orange: #f89907;
135
-
136
- /* Z-index - CORRIGIDO: prefixo --z-index-* para funcionar como classes */
137
- --z-index-default: 0;
138
- --z-index-absolute: 1;
139
- --z-index-select: 20;
140
- --z-index-input: 20;
141
- --z-index-popover: 30;
142
- --z-index-tooltip: 40;
143
- --z-index-header: 600;
144
- --z-index-backdrop: 700;
145
- --z-index-drawer: 700;
146
- --z-index-sidebar: 800;
147
- --z-index-modal: 1000;
148
-
149
- /* Opacity customizada */
150
- --opacity-1: 1;
151
-
152
- /* Duration customizada */
153
- --duration-250: 250ms;
154
-
155
- /* Animações customizadas */
156
- --animate-opacity: opacity 1s ease-in-out;
157
- --animate-progress: progress 1s infinite linear;
158
-
159
- /* Transform origin customizado */
160
- --transform-origin-left-right: 0% 50%;
161
-
162
- /* Keyframes */
163
- @keyframes opacity {
164
- from { opacity: 0; }
165
- to { opacity: 1; }
166
- }
167
-
168
- @keyframes progress {
169
- 0% { transform: translateX(0) scaleX(0); }
170
- 40% { transform: translateX(0) scaleX(0.4); }
171
- 100% { transform: translateX(100%) scaleX(0.5); }
172
- }
173
- }
174
-
175
- @layer utilities {
176
- .origin-left-right {
177
- transform-origin: var(--transform-origin-left-right);
178
- }
179
- }