dash-button-web 0.0.17 → 0.0.18

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/package.json +1 -1
  2. package/readme.md +11 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-button-web",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "Dash button Component",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
package/readme.md CHANGED
@@ -7,7 +7,7 @@ Developing a dash button web component based on the [Stencil.js](https://stencil
7
7
  To install the dash-button web component, copy and paste it into your frontend application.
8
8
 
9
9
  ```sh
10
- <script type='module' src='https://unpkg.com/dash-button-web@0.0.16/dist/esm/web-compnont.js'></script>
10
+ <script type='module' src='https://unpkg.com/dash-button-web@0.0.18/dist/esm/web-compnont.js'></script>
11
11
  ```
12
12
 
13
13
  You can find the NPM package named [dash-button-web](https://www.npmjs.com/package/dash-button-web "dash-button-web").
@@ -66,7 +66,7 @@ Next, you need to put the script file path in the **src/index.html** file header
66
66
 
67
67
 
68
68
  ```sh
69
- <script type='module' src='https://unpkg.com/dash-button-web@0.0.16/dist/esm/web-compnont.js'></script>
69
+ <script type='module' src='https://unpkg.com/dash-button-web@0.0.18/dist/esm/web-compnont.js'></script>
70
70
  ```
71
71
 
72
72
 
@@ -84,7 +84,7 @@ Therefore, the header section of your index file should look like this:
84
84
  <meta name="viewport" content="width=device-width, initial-scale=1">
85
85
  <link rel="icon" type="image/x-icon" href="favicon.ico">
86
86
 
87
- <script type='module' src='https://unpkg.com/dash-button-web@0.0.16/dist/esm/web-compnont.js'></script>
87
+ <script type='module' src='https://unpkg.com/dash-button-web@0.0.18/dist/esm/web-compnont.js'></script>
88
88
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" />
89
89
  ...
90
90
  ```
@@ -103,7 +103,7 @@ After that, you can pass configuration options as follows using the web componen
103
103
  | `auth-method` | `Authentication method` | `string` | `check-sso`, `(login-required)` |
104
104
  | `app-id` | `Application unique ID` | `string` | `` |
105
105
  | `portal-url` | `Portal URL` | `string` | `` |
106
- | `marketplace-url` | `Marketplace URL` | `string` | `` |
106
+ | `portal-api-url` | `Portal API URL` | `string` | `` |
107
107
  | `show-unauthorized-modal` | `Show unauthorized modal` | `boolean` | `false` |
108
108
  | `other-link-type` | `Add new links for the menu` | `string` | `local or global` |
109
109
  | `application-display-name` | `Menu application display name` | `string` | `Applications` |
@@ -144,7 +144,7 @@ First, you need to import the script tag into the header section of your main HT
144
144
  <meta name="viewport" content="width=device-width, initial-scale=1">
145
145
  <link rel="icon" type="image/x-icon" href="favicon.ico">
146
146
  ...
147
- <script type='module' src='https://unpkg.com/dash-button-web@0.0.16/dist/esm/web-compnont.js'></script>
147
+ <script type='module' src='https://unpkg.com/dash-button-web@0.0.18/dist/esm/web-compnont.js'></script>
148
148
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
149
149
  ...
150
150
  ```
@@ -158,6 +158,12 @@ After that, all you need to do is place the dash button in your preferred locati
158
158
  That's it, enjoy!
159
159
 
160
160
  ##### Changelog:
161
+ v0.0.18
162
+ - Bug fixed and improved documentation.
163
+
164
+ v0.0.17
165
+ - Added a new environment variable option for the Config Portal API endpoint.
166
+
161
167
  v0.0.16
162
168
  - Added customization option to change the main menu view type.
163
169
  - Added a new option to retrieve the main menu list and display it from the portal API.