ods-component-lib 1.18.273 → 1.18.274

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 +13 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -6,6 +6,15 @@
6
6
 
7
7
  ## Install
8
8
 
9
+ ```bash
10
+ npm install
11
+ or
12
+ if you want to install without running the postinstall script
13
+ npm install --ignore-scripts
14
+ ```
15
+
16
+ ## Install Odeon Component Library in a project
17
+
9
18
  ```bash
10
19
  npm install --save odeon-component-library
11
20
  ```
@@ -13,14 +22,14 @@ npm install --save odeon-component-library
13
22
  ## Usage
14
23
 
15
24
  ```tsx
16
- import React, { Component } from 'react'
25
+ import React, { Component } from "react";
17
26
 
18
- import MyComponent from 'odeon-component-library'
19
- import 'odeon-component-library/dist/index.css'
27
+ import MyComponent from "odeon-component-library";
28
+ import "odeon-component-library/dist/index.css";
20
29
 
21
30
  class Example extends Component {
22
31
  render() {
23
- return <MyComponent />
32
+ return <MyComponent />;
24
33
  }
25
34
  }
26
35
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ods-component-lib",
3
- "version": "1.18.273",
3
+ "version": "1.18.274",
4
4
  "description": "Odeon design system component lib",
5
5
  "author": "OdeonTechnology",
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "@types/react": "^18.2.9",
38
38
  "@types/react-dom": "^18.2.4",
39
39
  "@types/styled-components": "^5.1.26",
40
- "antd": "^5.5.2",
40
+ "antd": "^5.19.2",
41
41
  "antd-style": "^3.6.2",
42
42
  "devextreme": "^23.1.4",
43
43
  "devextreme-react": "23.1.3",