@loja-integrada/admin-components 1.0.33 → 1.0.35

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +3 -4
package/README.md CHANGED
@@ -16,18 +16,18 @@ yarn add @loja-integrada/admin-components
16
16
  pnpm add @loja-integrada/admin-components
17
17
  ```
18
18
 
19
+ ### Configure TailwindCSS and PostCSS
20
+
21
+ The components are built using [TailwindCSS](https://tailwindcss.com/), you need to use the [@loja-integrada/tailwindcss-config](https://www.npmjs.com/package/@loja-integrada/tailwindcss-config) package to use `defaultPreset` and compile the CSS. [Learn more](../tailwindcss-config/README.md)
22
+
19
23
  ### Style
20
24
 
21
25
  Import the CSS file in your project default CSS file (like globals.scss):
22
26
 
23
27
  ```css
24
- @import '@loja-integrada/admin-components/style.css';
28
+ @import '@loja-integrada/tailwindcss-config/style.scss';
25
29
  ```
26
30
 
27
- ### Configure TailwindCSS and PostCSS
28
-
29
- The components are built using [TailwindCSS](https://tailwindcss.com/), you need to use the [@loja-integrada/tailwindcss-config](https://www.npmjs.com/package/@loja-integrada/tailwindcss-config) package to use `defaultPreset` and compile the CSS. [Learn more](../tailwindcss-config/README.md)
30
-
31
31
  ### Import components
32
32
 
33
33
  You can import the components from the package:
@@ -100,5 +100,5 @@ pnpm test
100
100
  To run the tests manually in browser, use the following commands:
101
101
 
102
102
  ```bash
103
- pnpm test-visual
103
+ pnpm test:visual
104
104
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loja-integrada/admin-components",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "author": "Loja Integrada",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "@types/react-text-mask": "^5.4.14",
23
23
  "@vitejs/plugin-react": "^4.2.1",
24
24
  "autoprefixer": "^10.4.19",
25
- "cypress": "^13.9.0",
25
+ "cypress": "^13.15.0",
26
26
  "cypress-vite": "^1.5.0",
27
27
  "esbuild-sass-plugin": "^3.3.0",
28
28
  "eslint": "^8.57.0",
@@ -33,7 +33,6 @@
33
33
  "typescript": "^5.3.3",
34
34
  "vite": "^5.1.4",
35
35
  "@loja-integrada/eslint-config": "0.0.3",
36
- "@loja-integrada/tailwindcss-config": "2.0.3",
37
36
  "@loja-integrada/typescript-config": "0.0.2"
38
37
  },
39
38
  "dependencies": {
@@ -196,6 +195,6 @@
196
195
  "format": "prettier --write . && eslint --fix .",
197
196
  "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
198
197
  "test": "cypress run --component",
199
- "test-visual": "cypress open --component"
198
+ "test:visual": "[ -d dist ] || pnpm build && cypress open --component"
200
199
  }
201
200
  }