@faststore/ui 3.0.1 → 3.0.7

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 +3 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -38,15 +38,15 @@ yarn add @faststore/ui
38
38
  ## Usage
39
39
 
40
40
  ```tsx
41
- import React, { Component } from 'react'
41
+ import React from 'react'
42
42
 
43
43
  import { Button } from '@faststore/ui'
44
44
 
45
45
  function MyComponent {
46
- return <Button>Click Me</Button>
46
+ return <Button variant="primary">Add to Cart</Button>
47
47
  }
48
48
  ```
49
49
 
50
50
  ## Docs
51
51
 
52
- For more information, please refer to our documentation: https://faststore.dev/reference/ui/faststore-ui
52
+ For more information, please refer to our documentation: https://www.faststore.dev/components
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/ui",
3
- "version": "3.0.1",
3
+ "version": "3.0.7",
4
4
  "description": "A lightweight, framework agnostic component library for React",
5
5
  "author": "emersonlaurentino",
6
6
  "license": "MIT",
@@ -48,7 +48,7 @@
48
48
  }
49
49
  ],
50
50
  "dependencies": {
51
- "@faststore/components": "^3.0.1",
51
+ "@faststore/components": "^3.0.7",
52
52
  "include-media": "^1.4.10",
53
53
  "modern-normalize": "^1.1.0",
54
54
  "react-swipeable": "^7.0.0",
@@ -59,8 +59,8 @@
59
59
  "react-dom": "^18.2.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@faststore/eslint-config": "^3.0.1",
63
- "@faststore/shared": "^3.0.1",
62
+ "@faststore/eslint-config": "^3.0.7",
63
+ "@faststore/shared": "^3.0.7",
64
64
  "@size-limit/preset-small-lib": "^7.0.8",
65
65
  "@types/tabbable": "^3.1.1",
66
66
  "babel-loader": "^8.2.5",
@@ -71,5 +71,5 @@
71
71
  "volta": {
72
72
  "extends": "../../package.json"
73
73
  },
74
- "gitHead": "b4ce87c7fbac57cb20d34acb44806bb48c22f864"
74
+ "gitHead": "1672bc9ba921b70b5f9acfa2845c8f566d29be16"
75
75
  }