@wayke-se/components-react 3.9.0-beta.6 → 4.0.0-beta.10
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/README.md +4 -4
- package/dist/index.d.ts +266 -212
- package/dist/index.js +2597 -659
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +2597 -659
- package/dist/index.mjs.map +4 -4
- package/package.json +21 -74
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## Notes
|
|
6
6
|
|
|
7
|
-
* Starting from version `2.0.0` and above will require import of `@wayke
|
|
7
|
+
* Starting from version `2.0.0` and above will require import of `@wayke-se/components-react/dist/assets/default.css` in order to apply basic styling to the gallery.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -21,7 +21,7 @@ npm install react react-dom styled-components
|
|
|
21
21
|
```javascript
|
|
22
22
|
import React from 'react';
|
|
23
23
|
import WaykeComposite from '@wayke-se/components-react'
|
|
24
|
-
import '@wayke-se/components-react/assets/default.css';
|
|
24
|
+
import '@wayke-se/components-react/dist/assets/default.css';
|
|
25
25
|
// Optional
|
|
26
26
|
import '@wayke-se/ecom-web/dist/index.css';
|
|
27
27
|
|
|
@@ -84,7 +84,7 @@ Examples given the application is located in `/search/vehicles`:
|
|
|
84
84
|
```javascript
|
|
85
85
|
import React from 'react';
|
|
86
86
|
import { WaykeCompositePath } from '@wayke-se/components-react'
|
|
87
|
-
import '@wayke.se/components-react/assets/default.css';
|
|
87
|
+
import '@wayke.se/components-react/dist/assets/default.css';
|
|
88
88
|
// Optional
|
|
89
89
|
import '@wayke-se/ecom-web/dist/index.css';
|
|
90
90
|
|
|
@@ -127,7 +127,7 @@ It's recomended to place WaykeItemProvider close to app-root in order to keep th
|
|
|
127
127
|
```javascript
|
|
128
128
|
import React, { useCallback } from 'react';
|
|
129
129
|
import { WaykeItemProvider, WaykeSearchItem } from '@wayke-se/components-react'
|
|
130
|
-
import '@wayke.se/components-react/assets/default.css';
|
|
130
|
+
import '@wayke.se/components-react/dist/assets/default.css';
|
|
131
131
|
// Optional
|
|
132
132
|
import '@wayke-se/ecom-web/dist/index.css';
|
|
133
133
|
|