@drumee/ui-toolkit 0.0.9 → 0.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drumee/ui-toolkit",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "",
5
5
  "main": ".",
6
6
  "repository": {
package/skin/skin.scss CHANGED
@@ -20,6 +20,11 @@
20
20
  padding: 10px;
21
21
  height: auto;
22
22
  }
23
+
24
+ &[data-fit="parent"] {
25
+ width: 100%;
26
+ height: 100%;
27
+ }
23
28
  }
24
29
 
25
30
  &__main {
@@ -131,7 +131,8 @@ export default class dtk_otp extends dtk_common {
131
131
  })
132
132
  break;
133
133
  case "resend-code":
134
- this.postService(SERVICE.otp.send, { email, method }).then((data) => {
134
+ let api = this.mget('resendApi') || SERVICE.otp.send
135
+ this.postService(api, { email, method }).then((data) => {
135
136
  this.mset({ payload: data })
136
137
  this.displayMessage(LOCALE.NEW_CODE_RESENT)
137
138
  this.triggerHandlers({ service: "new-code", data })