@xplortech/apollo-react 1.0.0-beta.7.1 → 2.4.2

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 CHANGED
@@ -1,27 +1,19 @@
1
- # React Components for Xplor Apollo
1
+ # Apollo React - React Components for Xplor Apollo
2
2
 
3
3
  This package contains React bindings for Apollo components. Apollo Core uses web components, but this package wraps those components in a React-friendly JSX syntax.
4
4
 
5
- **If your app uses React and you want to use Apollo components, you must use this package!**
5
+ **If your app uses React and you want to use Apollo components, you should use this package!**
6
6
 
7
7
  ## Installation
8
8
 
9
- Apollo React is published as a private NPM package under the Xplor organization. Before installing Apollo React in your project, you need to request a token at our Slack channel `#apollo-feedback`.
10
-
11
- Create a `.npmrc` file at the root of your project with the token:
12
-
13
- ```
14
- //registry.npmjs.org/:_authToken=${NPM_TOKEN}
15
- ```
9
+ Apollo React is published as a public package on NPM.
16
10
 
17
11
  Install:
18
12
 
19
13
  ```bash
20
- npm install @xplortech/apollo-core
14
+ npm install @xplortech/apollo-react@latest
21
15
  ```
22
16
 
23
- > Note: You will need to set up your NPM token in CI. [Check NPM's documentation on the topic][npm-ci-token].
24
-
25
17
  ## Getting Started
26
18
 
27
19
  Most changes rely on changing dash-separated tag names (i.e. `xpl-component`) to camel-case (i.e. `XplComponent`). For example:
@@ -56,7 +48,7 @@ Whereas with React components you can pass it directly through props:
56
48
 
57
49
  ```jsx
58
50
  /**
59
- * Notice that we don't need to include an `id` to
51
+ * Notice that we don't need to include an `id` to
60
52
  * reference it later in the markup
61
53
  */
62
54
  <XplTable data={[
@@ -70,5 +62,3 @@ Whereas with React components you can pass it directly through props:
70
62
  ]
71
63
  ]} />
72
64
  ```
73
-
74
- [npm-ci-token]: https://docs.npmjs.com/using-private-packages-in-a-ci-cd-workflow#set-the-token-as-an-environment-variable-on-the-cicd-server
package/css/.gitkeep ADDED
File without changes