toggle-components-library 1.16.2 → 1.17.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toggle-components-library",
3
- "version": "1.16.2",
3
+ "version": "1.17.0",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -0,0 +1,10 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="14.942" height="14.942" viewBox="0 0 14.942 14.942">
2
+ <g id="Group_207" data-name="Group 207" transform="translate(-162.057 -567.364)">
3
+ <rect id="Rectangle_890" data-name="Rectangle 890" width="14" height="14" rx="2" transform="matrix(0.998, -0.07, 0.07, 0.998, 162.057, 568.341)" fill="#e57936"/>
4
+ <path id="Rectangle_889_-_Outline" data-name="Rectangle 889 - Outline" d="M2,1A1,1,0,0,0,1,2V12a1,1,0,0,0,1,1H12a1,1,0,0,0,1-1V2a1,1,0,0,0-1-1H2M2,0H12a2,2,0,0,1,2,2V12a2,2,0,0,1-2,2H2a2,2,0,0,1-2-2V2A2,2,0,0,1,2,0Z" transform="matrix(0.998, -0.07, 0.07, 0.998, 162.057, 568.341)" fill="#881212"/>
5
+ <path id="Line_290" data-name="Line 290" d="M4.641.5H0A.5.5,0,0,1-.5,0,.5.5,0,0,1,0-.5H4.641a.5.5,0,0,1,.5.5A.5.5,0,0,1,4.641.5Z" transform="matrix(0.998, -0.07, 0.07, 0.998, 165.198, 571.75)" fill="#881212"/>
6
+ <path id="Line_291" data-name="Line 291" d="M8.21.5H0A.5.5,0,0,1-.5,0,.5.5,0,0,1,0-.5H8.21a.5.5,0,0,1,.5.5A.5.5,0,0,1,8.21.5Z" transform="matrix(0.998, -0.07, 0.07, 0.998, 165.364, 574.125)" fill="#881212"/>
7
+ <path id="Line_292" data-name="Line 292" d="M1.685.5H0A.5.5,0,0,1-.5,0,.5.5,0,0,1,0-.5H1.685a.5.5,0,0,1,.5.5A.5.5,0,0,1,1.685.5Z" transform="matrix(0.998, -0.07, 0.07, 0.998, 171.588, 571.303)" fill="#881212"/>
8
+ <path id="Line_293" data-name="Line 293" d="M2.761.75H0A.75.75,0,0,1-.75,0,.75.75,0,0,1,0-.75H2.761a.75.75,0,0,1,.75.75A.75.75,0,0,1,2.761.75Z" transform="matrix(0.998, -0.07, 0.07, 0.998, 168.317, 577.306)" fill="#881212"/>
9
+ </g>
10
+ </svg>
@@ -16,6 +16,7 @@
16
16
  :required="required"
17
17
  v-model="inputVal"
18
18
  :maxlength="maxLength"
19
+ :disabled="disabled"
19
20
  />
20
21
  <label
21
22
  class="toggle-input-label-error"
@@ -81,6 +82,10 @@ export default {
81
82
  maxLength:{
82
83
  type: Number,
83
84
  required:false
85
+ },
86
+ disabled: {
87
+ type: Boolean,
88
+ required: false,
84
89
  }
85
90
  },
86
91
 
@@ -22,7 +22,7 @@ export default {
22
22
  default: false,
23
23
  },
24
24
  /**
25
- * Icon to use `toggle-graph-icon`, `toggle-orders-icon`, `toggle-card-icon`, `toggle-megaphone-icon`
25
+ * Icon to use `toggle-graph-icon`, `toggle-orders-icon`, `toggle-card-icon`, `toggle-megaphone-icon`, `toggle-form-icon`
26
26
  */
27
27
  icon: {
28
28
  type: String,
@@ -81,6 +81,9 @@
81
81
  &.toggle-email-icon a::before {
82
82
  background-image: url("../assets/icons/email.svg");
83
83
  }
84
+ &.toggle-form-icon a::before {
85
+ background-image: url("../assets/icons/form_icon.svg");
86
+ }
84
87
 
85
88
 
86
89
  }