@codarmais/ui 0.1.17 → 0.1.19
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/components/BackBtn/BackBtn.d.ts +3 -0
- package/dist/components/BackBtn/BackBtn.stories.d.ts +9 -0
- package/dist/components/BackBtn/BackBtn.styles.d.ts +6 -0
- package/dist/components/BackBtn/BackBtn.types.d.ts +6 -0
- package/dist/components/BackBtn/index.d.ts +2 -0
- package/dist/components/Button/Button.d.ts +8 -0
- package/dist/components/Button/Button.styles.d.ts +7 -0
- package/dist/components/Button/index.d.ts +3 -0
- package/dist/components/Layout/Column/Column.d.ts +5 -0
- package/dist/components/Layout/Column/Column.stories.d.ts +7 -0
- package/dist/components/Layout/Column/index.d.ts +2 -0
- package/dist/components/Layout/Container/Container.d.ts +7 -0
- package/dist/components/Layout/Container/Container.stories.d.ts +7 -0
- package/dist/components/Layout/Container/index.d.ts +2 -0
- package/dist/components/Layout/Row/Row.d.ts +2 -0
- package/dist/components/Layout/Row/Row.stories.d.ts +7 -0
- package/dist/components/Layout/Row/index.d.ts +1 -0
- package/dist/components/Layout/index.d.ts +6 -0
- package/dist/components/Layout/types/Layout.types.d.ts +10 -0
- package/dist/components/Logo/Logo.d.ts +0 -1
- package/dist/components/Logo/Logo.stories.d.ts +1 -1
- package/dist/components/Menu/Menu.stories.d.ts +1 -0
- package/dist/components/Menu/Menu.types.d.ts +2 -0
- package/dist/components/MenuItem/MenuItem.stories.d.ts +1 -0
- package/dist/components/MenuItem/MenuItem.styles.d.ts +9 -4
- package/dist/components/MenuItem/MenuItem.types.d.ts +7 -3
- package/dist/components/Modal/Modal.d.ts +11 -0
- package/dist/components/Modal/Modal.styles.d.ts +4 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Navbar/Navbar.stories.d.ts +1 -0
- package/dist/components/Navbar/Navbar.styles.d.ts +2 -1
- package/dist/components/Navbar/Navbar.types.d.ts +4 -0
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +1 -0
- package/dist/components/ToggleButton/ToggleButton.styles.d.ts +6 -1
- package/dist/components/ToggleButton/ToggleButton.types.d.ts +5 -2
- package/dist/components/Typography/Heading.d.ts +8 -0
- package/dist/components/Typography/Text.d.ts +8 -0
- package/dist/components/Typography/index.d.ts +4 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/index.cjs.js +231 -33
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +686 -354
- package/dist/theme/Gradients.stories.d.ts +5 -0
- package/dist/theme/Icons.stories.d.ts +5 -0
- package/dist/theme/colors.d.ts +9 -3
- package/dist/theme/colors.stories.d.ts +5 -0
- package/dist/theme/icons.d.ts +2 -0
- package/dist/theme/theme.d.ts +9 -3
- package/package.json +7 -3
package/dist/theme/colors.d.ts
CHANGED
|
@@ -14,9 +14,15 @@ export declare const colors: {
|
|
|
14
14
|
emerald: string;
|
|
15
15
|
teal: string;
|
|
16
16
|
};
|
|
17
|
-
warning:
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
warning: {
|
|
18
|
+
base: string;
|
|
19
|
+
};
|
|
20
|
+
success: {
|
|
21
|
+
base: string;
|
|
22
|
+
};
|
|
23
|
+
pureWhite: {
|
|
24
|
+
base: string;
|
|
25
|
+
};
|
|
20
26
|
};
|
|
21
27
|
export declare const gradients: {
|
|
22
28
|
sunsetGlow: string;
|
package/dist/theme/icons.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ export declare const Icons: {
|
|
|
31
31
|
Language: import("react-icons/lib").IconType;
|
|
32
32
|
Wallet: import("react-icons/lib").IconType;
|
|
33
33
|
Payments: import("react-icons/lib").IconType;
|
|
34
|
+
CartEmpty: import("react-icons/lib").IconType;
|
|
35
|
+
CartFull: import("react-icons/lib").IconType;
|
|
34
36
|
Facebook: import("react-icons/lib").IconType;
|
|
35
37
|
Instagram: import("react-icons/lib").IconType;
|
|
36
38
|
Linkedin: import("react-icons/lib").IconType;
|
package/dist/theme/theme.d.ts
CHANGED
|
@@ -15,9 +15,15 @@ export declare const theme: {
|
|
|
15
15
|
emerald: string;
|
|
16
16
|
teal: string;
|
|
17
17
|
};
|
|
18
|
-
warning:
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
warning: {
|
|
19
|
+
base: string;
|
|
20
|
+
};
|
|
21
|
+
success: {
|
|
22
|
+
base: string;
|
|
23
|
+
};
|
|
24
|
+
pureWhite: {
|
|
25
|
+
base: string;
|
|
26
|
+
};
|
|
21
27
|
};
|
|
22
28
|
gradients: {
|
|
23
29
|
sunsetGlow: string;
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codarmais/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
4
4
|
"description": "Codar Mais UI - Biblioteca de componentes React corporativos",
|
|
5
5
|
"private": false,
|
|
6
|
+
"type": "module",
|
|
6
7
|
"main": "./dist/index.cjs.js",
|
|
7
8
|
"module": "./dist/index.esm.js",
|
|
8
9
|
"types": "./dist/index.d.ts",
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"lint": "eslint .",
|
|
27
28
|
"preview": "vite preview",
|
|
28
29
|
"storybook": "storybook dev -p 6006",
|
|
29
|
-
"build-storybook": "storybook build",
|
|
30
|
+
"build-storybook": "storybook build -o storybook-static",
|
|
30
31
|
"test": "vitest",
|
|
31
32
|
"test:ci": "vitest run --coverage",
|
|
32
33
|
"test:ui": "vitest --ui",
|
|
@@ -43,6 +44,7 @@
|
|
|
43
44
|
"@storybook/addon-docs": "^8.6.14",
|
|
44
45
|
"@storybook/addon-essentials": "^8.6.14",
|
|
45
46
|
"@storybook/addon-interactions": "^8.6.14",
|
|
47
|
+
"@storybook/cli": "^10.1.11",
|
|
46
48
|
"@storybook/jest": "^0.2.2",
|
|
47
49
|
"@storybook/manager-api": "^8.6.14",
|
|
48
50
|
"@storybook/preview-api": "^8.6.14",
|
|
@@ -56,9 +58,11 @@
|
|
|
56
58
|
"@types/react": "^19.2.5",
|
|
57
59
|
"@types/react-dom": "^19.2.3",
|
|
58
60
|
"@types/styled-components": "^5.1.36",
|
|
61
|
+
"@types/testing-library__jest-dom": "^5.14.9",
|
|
59
62
|
"@vitejs/plugin-react": "^5.1.2",
|
|
60
63
|
"@vitejs/plugin-react-swc": "^4.2.2",
|
|
61
64
|
"@vitest/coverage-v8": "^4.0.16",
|
|
65
|
+
"@vitest/ui": "^4.0.16",
|
|
62
66
|
"eslint": "^8.57.1",
|
|
63
67
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
64
68
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
@@ -70,7 +74,7 @@
|
|
|
70
74
|
"storybook": "^8.6.14",
|
|
71
75
|
"typescript": "~5.9.3",
|
|
72
76
|
"vite": "^5.4.21",
|
|
73
|
-
"vitest": "^4.0.
|
|
77
|
+
"vitest": "^4.0.16"
|
|
74
78
|
},
|
|
75
79
|
"license": "MIT",
|
|
76
80
|
"dependencies": {
|