@tecsinapse/cortex-core 1.2.0-beta.13 → 1.2.0-beta.15
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/cjs/components/input/input.js +1 -1
- package/dist/cjs/components/manager/manager.js +15 -0
- package/dist/cjs/index.js +2 -0
- package/dist/default.css +20 -7
- package/dist/esm/components/input/input.js +1 -1
- package/dist/esm/components/manager/manager.js +13 -0
- package/dist/esm/index.js +1 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/manager/manager.d.ts +16 -0
- package/package.json +3 -3
|
@@ -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: [
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tailwindVariants = require('tailwind-variants');
|
|
4
|
+
|
|
5
|
+
const manager = tailwindVariants.tv({
|
|
6
|
+
base: "fixed rounded-micro p-deca bg-white shadow-xl flex transition bottom-deca right-deca z-modal",
|
|
7
|
+
variants: {
|
|
8
|
+
open: {
|
|
9
|
+
true: "scale-100 visible",
|
|
10
|
+
false: "invisible"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
exports.manager = manager;
|
package/dist/cjs/index.js
CHANGED
|
@@ -18,6 +18,7 @@ var table = require('./components/table/table.js');
|
|
|
18
18
|
var tag = require('./components/tag/tag.js');
|
|
19
19
|
var toggle = require('./components/toggle/toggle.js');
|
|
20
20
|
var tooltip = require('./components/tooltip/tooltip.js');
|
|
21
|
+
var manager = require('./components/manager/manager.js');
|
|
21
22
|
var definitions = require('./tokens/definitions.js');
|
|
22
23
|
var index = require('./utils/index.js');
|
|
23
24
|
|
|
@@ -59,6 +60,7 @@ exports.styleLabelElement = toggle.styleLabelElement;
|
|
|
59
60
|
exports.toggle = toggle.toggle;
|
|
60
61
|
exports.tooltip = tooltip.tooltip;
|
|
61
62
|
exports.tooltipContainer = tooltip.tooltipContainer;
|
|
63
|
+
exports.manager = manager.manager;
|
|
62
64
|
exports.borderColor = definitions.borderColor;
|
|
63
65
|
exports.borderRadius = definitions.borderRadius;
|
|
64
66
|
exports.borderWidth = definitions.borderWidth;
|
package/dist/default.css
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
--font-mono: Consolas, monaco, monospace;
|
|
75
75
|
|
|
76
76
|
/* Font sizes com line-height */
|
|
77
|
-
|
|
77
|
+
|
|
78
78
|
/* H5 */
|
|
79
79
|
--text-h5: 1rem;
|
|
80
80
|
--text-h5--line-height: 1.5rem;
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
--color-text-dark: #353231;
|
|
134
134
|
--color-text-orange: #f89907;
|
|
135
135
|
|
|
136
|
-
/* Z-index
|
|
136
|
+
/* Z-index */
|
|
137
137
|
--z-index-default: 0;
|
|
138
138
|
--z-index-absolute: 1;
|
|
139
139
|
--z-index-select: 20;
|
|
@@ -161,14 +161,27 @@
|
|
|
161
161
|
|
|
162
162
|
/* Keyframes */
|
|
163
163
|
@keyframes opacity {
|
|
164
|
-
from {
|
|
165
|
-
|
|
164
|
+
from {
|
|
165
|
+
opacity: 0;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
to {
|
|
169
|
+
opacity: 1;
|
|
170
|
+
}
|
|
166
171
|
}
|
|
167
172
|
|
|
168
173
|
@keyframes progress {
|
|
169
|
-
0% {
|
|
170
|
-
|
|
171
|
-
|
|
174
|
+
0% {
|
|
175
|
+
transform: translateX(0) scaleX(0);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
40% {
|
|
179
|
+
transform: translateX(0) scaleX(0.4);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
100% {
|
|
183
|
+
transform: translateX(100%) scaleX(0.5);
|
|
184
|
+
}
|
|
172
185
|
}
|
|
173
186
|
}
|
|
174
187
|
|
|
@@ -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: [
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { tv } from 'tailwind-variants';
|
|
2
|
+
|
|
3
|
+
const manager = tv({
|
|
4
|
+
base: "fixed rounded-micro p-deca bg-white shadow-xl flex transition bottom-deca right-deca z-modal",
|
|
5
|
+
variants: {
|
|
6
|
+
open: {
|
|
7
|
+
true: "scale-100 visible",
|
|
8
|
+
false: "invisible"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
export { manager };
|
package/dist/esm/index.js
CHANGED
|
@@ -16,5 +16,6 @@ export { hr, tCell, tFoot, tHead, tHeadCell, tRoot, tRow } from './components/ta
|
|
|
16
16
|
export { tag } from './components/tag/tag.js';
|
|
17
17
|
export { styleInputElement, styleLabelElement, toggle } from './components/toggle/toggle.js';
|
|
18
18
|
export { tooltip, tooltipContainer } from './components/tooltip/tooltip.js';
|
|
19
|
+
export { manager } from './components/manager/manager.js';
|
|
19
20
|
export { borderColor, borderRadius, borderWidth, boxShadow, colors, fontFamily, fontSize, spacing, textColor, zIndex } from './tokens/definitions.js';
|
|
20
21
|
export { updateThemeColors } from './utils/index.js';
|
|
@@ -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[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const manager: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
open: {
|
|
3
|
+
true: string;
|
|
4
|
+
false: string;
|
|
5
|
+
};
|
|
6
|
+
}, undefined, "fixed rounded-micro p-deca bg-white shadow-xl flex transition bottom-deca right-deca z-modal", {
|
|
7
|
+
open: {
|
|
8
|
+
true: string;
|
|
9
|
+
false: string;
|
|
10
|
+
};
|
|
11
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
12
|
+
open: {
|
|
13
|
+
true: string;
|
|
14
|
+
false: string;
|
|
15
|
+
};
|
|
16
|
+
}, undefined, "fixed rounded-micro p-deca bg-white shadow-xl flex transition bottom-deca right-deca z-modal", unknown, unknown, undefined>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-core",
|
|
3
|
-
"version": "1.2.0-beta.
|
|
3
|
+
"version": "1.2.0-beta.15",
|
|
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": "
|
|
38
|
-
}
|
|
37
|
+
"gitHead": "ca3d4658b6b1481f91f52838f667c41cc1da0579"
|
|
38
|
+
}
|