@keepeek/keepicker-react 1.6.0-beta.9 → 1.6.0

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
  ```
@@ -101,14 +106,16 @@ Drupal.behaviors.addKeepickerWebComponentMarkup = {
101
106
  };
102
107
  ```
103
108
 
109
+
104
110
  ## List of attributes
105
111
 
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 |
112
+ | Name | Madatory | Type | Default value | Description |
113
+ | ------------------ | -------- | ------ | --------------------------- | -------------------------------- |
114
+ | api-endpoint | yes | String | | API Endpoint |
115
+ | keycloak-client-id | no | String | Default Keepicker Client ID | Keycloak Client ID |
116
+ | keycloak-idp | no | String | FR | Keycloak IDP to add a SSO button |
117
+ | data-locale | no | String | FR | Data locale |
118
+ | ui-locale | no | String | FR | Interface locale |
112
119
 
113
120
  ## List of events
114
121
 
@@ -116,3 +123,5 @@ Drupal.behaviors.addKeepickerWebComponentMarkup = {
116
123
  | --------------- | -------------------------------------------------- |
117
124
  | kpk-insert | Event dispached when inserting one element |
118
125
  | kpk-insert-link | Event dispached when inserting a generated picture |
126
+
127
+