@dnncommunity/dnn-elements 0.23.0-beta.1 → 0.23.1-beta.1

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 +22 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # `dnn-elements`
2
+ This is a collection of pure web components (custom elements) for use within DNN Platform or custom extensions for DNN. These can even be used in projects outside of the DNN purview, though some are unique for the DNN experience. The web components in `dnn-elements` are framework agnostic. For framework specific web components (e.g., React), you can use `dnn-elements-<framework>` (currently `dnn-element-react` is the only framework specific version, but there are plans to support Angular soon).
3
+
4
+ ## Usage
5
+ ### npm
6
+ `npm install @dnncommunity/dnn-elements`
7
+
8
+ ### yarn
9
+ `yarn add @dnncommunity/dnn-elements`
10
+
11
+ ```
12
+ // my-component.tsx
13
+ import '@dnncommunity/dnn-elements';
14
+
15
+ render() {
16
+ return (
17
+ <Host>
18
+ <dnn-button type="secondary">Secondary Button</dnn-button>
19
+ </Host>
20
+ );
21
+ }
22
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnncommunity/dnn-elements",
3
- "version": "0.23.0-beta.1",
3
+ "version": "0.23.1-beta.1",
4
4
  "description": "Dnn themed custom elements.",
5
5
  "repository": "https://github.com/dnncommunity/dnn-elements",
6
6
  "homepage": "https://dnncommunity.github.io/dnn-elements",