@cnc-ti/layout-basic 5.0.0 → 6.0.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/.turbo/turbo-build.log +22 -0
- package/CHANGELOG.md +6 -0
- package/dist/index.css +1 -998
- package/dist/index.d.mts +139 -24
- package/dist/index.d.ts +139 -24
- package/dist/index.js +322 -37040
- package/dist/index.mjs +322 -37030
- package/package.json +1 -1
- package/postcss.config.js +6 -6
- package/src/components/Button/index.tsx +100 -100
- package/src/components/Command/index.tsx +156 -156
- package/src/components/Dialog/index.tsx +114 -114
- package/src/components/DropDownMenu/index.tsx +190 -190
- package/src/components/Header/index.tsx +88 -88
- package/src/components/Modal/ModalMudancaEntidade/index.tsx +42 -42
- package/src/components/Modal/index.tsx +44 -44
- package/src/components/Popover/index.tsx +32 -32
- package/src/components/Sidebar/index.tsx +195 -195
- package/src/components/assets/logotipo-default.tsx +26 -26
- package/src/components/utils.ts +6 -6
- package/src/index.ts +8 -9
- package/src/tailwindcss/tailwind.css +13 -13
- package/tailwind.config.js +65 -65
- package/tsconfig.json +3 -3
package/tailwind.config.js
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
/** @type {import('tailwindcss').Config} */
|
|
2
|
-
module.exports = {
|
|
3
|
-
content: ["./src/**/*.{jsx,js,ts,tsx}"],
|
|
4
|
-
theme: {
|
|
5
|
-
extend: {
|
|
6
|
-
colors: {
|
|
7
|
-
primary: "#0130A4",
|
|
8
|
-
"primary-100": "#004C99",
|
|
9
|
-
"primary-500": "#032884",
|
|
10
|
-
brand: {
|
|
11
|
-
"gray-10": "#F5F5F5",
|
|
12
|
-
"gray-20": "#E3E3E3",
|
|
13
|
-
"gray-50": "#E2E8F0",
|
|
14
|
-
"gray-100": "#D2D2D2",
|
|
15
|
-
"gray-200": "#64748B",
|
|
16
|
-
"gray-400": "#0130A4",
|
|
17
|
-
"gray-500": "#032884",
|
|
18
|
-
"gray-600": "#666666",
|
|
19
|
-
"gray-700": "#8391B3",
|
|
20
|
-
"blue-50": "#F7FAFF",
|
|
21
|
-
"blue-60": "#e5edff",
|
|
22
|
-
"blue-100": "#004C99",
|
|
23
|
-
"blue-400": "#0130A4",
|
|
24
|
-
"blue-500": "#032884",
|
|
25
|
-
"blue-600": "#1f2c4d",
|
|
26
|
-
"blue-900": "#191C49",
|
|
27
|
-
"green-100": "#25CF60",
|
|
28
|
-
"green-200": "#1BB952",
|
|
29
|
-
"green-300": "#0F9E41",
|
|
30
|
-
"gold-100": "#AD841F",
|
|
31
|
-
"gold-400": "#977115",
|
|
32
|
-
"gold-500": "#79590D",
|
|
33
|
-
"gold-600": "#4E3906",
|
|
34
|
-
"red-500": "#EF4444",
|
|
35
|
-
"red-600": "#CF4242",
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
boxShadow: {
|
|
39
|
-
custom: "0px 2px 8px 0px rgba(99, 99, 99, 0.2)",
|
|
40
|
-
},
|
|
41
|
-
height: {
|
|
42
|
-
"screen-minus-70": "calc(100vh - 70px)",
|
|
43
|
-
},
|
|
44
|
-
display: ["group-data-is-open"],
|
|
45
|
-
},
|
|
46
|
-
fontFamily: {
|
|
47
|
-
sans: ["Montserrat", "sans-serif"],
|
|
48
|
-
},
|
|
49
|
-
keyframes: {
|
|
50
|
-
slideDown: {
|
|
51
|
-
from: { height: "0px" },
|
|
52
|
-
to: { height: "var(--radix-accordion-content-height)" },
|
|
53
|
-
},
|
|
54
|
-
slideUp: {
|
|
55
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
56
|
-
to: { height: "0px" },
|
|
57
|
-
},
|
|
58
|
-
},
|
|
59
|
-
animation: {
|
|
60
|
-
slideDown: "slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)",
|
|
61
|
-
slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)",
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
plugins: [],
|
|
65
|
-
};
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
module.exports = {
|
|
3
|
+
content: ["./src/**/*.{jsx,js,ts,tsx}"],
|
|
4
|
+
theme: {
|
|
5
|
+
extend: {
|
|
6
|
+
colors: {
|
|
7
|
+
primary: "#0130A4",
|
|
8
|
+
"primary-100": "#004C99",
|
|
9
|
+
"primary-500": "#032884",
|
|
10
|
+
brand: {
|
|
11
|
+
"gray-10": "#F5F5F5",
|
|
12
|
+
"gray-20": "#E3E3E3",
|
|
13
|
+
"gray-50": "#E2E8F0",
|
|
14
|
+
"gray-100": "#D2D2D2",
|
|
15
|
+
"gray-200": "#64748B",
|
|
16
|
+
"gray-400": "#0130A4",
|
|
17
|
+
"gray-500": "#032884",
|
|
18
|
+
"gray-600": "#666666",
|
|
19
|
+
"gray-700": "#8391B3",
|
|
20
|
+
"blue-50": "#F7FAFF",
|
|
21
|
+
"blue-60": "#e5edff",
|
|
22
|
+
"blue-100": "#004C99",
|
|
23
|
+
"blue-400": "#0130A4",
|
|
24
|
+
"blue-500": "#032884",
|
|
25
|
+
"blue-600": "#1f2c4d",
|
|
26
|
+
"blue-900": "#191C49",
|
|
27
|
+
"green-100": "#25CF60",
|
|
28
|
+
"green-200": "#1BB952",
|
|
29
|
+
"green-300": "#0F9E41",
|
|
30
|
+
"gold-100": "#AD841F",
|
|
31
|
+
"gold-400": "#977115",
|
|
32
|
+
"gold-500": "#79590D",
|
|
33
|
+
"gold-600": "#4E3906",
|
|
34
|
+
"red-500": "#EF4444",
|
|
35
|
+
"red-600": "#CF4242",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
boxShadow: {
|
|
39
|
+
custom: "0px 2px 8px 0px rgba(99, 99, 99, 0.2)",
|
|
40
|
+
},
|
|
41
|
+
height: {
|
|
42
|
+
"screen-minus-70": "calc(100vh - 70px)",
|
|
43
|
+
},
|
|
44
|
+
display: ["group-data-is-open"],
|
|
45
|
+
},
|
|
46
|
+
fontFamily: {
|
|
47
|
+
sans: ["Montserrat", "sans-serif"],
|
|
48
|
+
},
|
|
49
|
+
keyframes: {
|
|
50
|
+
slideDown: {
|
|
51
|
+
from: { height: "0px" },
|
|
52
|
+
to: { height: "var(--radix-accordion-content-height)" },
|
|
53
|
+
},
|
|
54
|
+
slideUp: {
|
|
55
|
+
from: { height: "var(--radix-accordion-content-height)" },
|
|
56
|
+
to: { height: "0px" },
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
animation: {
|
|
60
|
+
slideDown: "slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)",
|
|
61
|
+
slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
plugins: [],
|
|
65
|
+
};
|
package/tsconfig.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@cnc-ti/ts-config/react.json",
|
|
3
|
-
"include": ["src"]
|
|
1
|
+
{
|
|
2
|
+
"extends": "@cnc-ti/ts-config/react.json",
|
|
3
|
+
"include": ["src"]
|
|
4
4
|
}
|