@keepeek/keepicker-react 1.6.0-beta.1 → 1.6.0-beta.11

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
@@ -34,7 +34,12 @@
34
34
  document
35
35
  .querySelector("#keepicker")
36
36
  .addEventListener("kpk-insert", (event) => {
37
- console.log(event.detail.element);
37
+ console.log(event.detail);
38
+ });
39
+ document
40
+ .querySelector("#keepicker")
41
+ .addEventListener("kpk-insert-link", (event) => {
42
+ console.log(event.detail);
38
43
  });
39
44
  </script>
40
45
  ```
@@ -103,12 +108,13 @@ Drupal.behaviors.addKeepickerWebComponentMarkup = {
103
108
 
104
109
  ## List of attributes
105
110
 
106
- | Name | Madatory | Type | Default value | Description |
107
- | ------------------ | -------- | ------ | ------------------------------- | ------------------------------------ |
108
- | api-endpoint | yes | String | | API Endpoint |
109
- | keycloak-client-id | no | String | Default Keepicker Client ID | Keycloak Client ID |
110
- | data-locale | no | String | FR | Data locale |
111
- | ui-locale | no | String | FR | Interface locale |
111
+ | Name | Madatory | Type | Default value | Description |
112
+ | ------------------ | -------- | ------ | --------------------------- | -------------------------------- |
113
+ | api-endpoint | yes | String | | API Endpoint |
114
+ | keycloak-client-id | no | String | Default Keepicker Client ID | Keycloak Client ID |
115
+ | keycloak-idp | no | String | FR | Keycloak IDP to add a SSO button |
116
+ | data-locale | no | String | FR | Data locale |
117
+ | ui-locale | no | String | FR | Interface locale |
112
118
 
113
119
  ## List of events
114
120