@everchron/ec-shards 1.6.1 → 1.6.3

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 (81) hide show
  1. package/dist/ec-shards.common.js +61 -55
  2. package/dist/ec-shards.common.js.map +1 -1
  3. package/dist/ec-shards.css +1 -1
  4. package/dist/ec-shards.umd.js +61 -55
  5. package/dist/ec-shards.umd.js.map +1 -1
  6. package/dist/ec-shards.umd.min.js +2 -2
  7. package/dist/ec-shards.umd.min.js.map +1 -1
  8. package/package.json +1 -1
  9. package/src/components/quicklink/quicklink.vue +6 -1
  10. package/src/components/switch/switch.vue +2 -0
  11. package/src/stories/quicklink/quicklink.stories.js +1 -1
  12. package/src/.DS_Store +0 -0
  13. package/src/assets/.DS_Store +0 -0
  14. package/src/assets/images/.DS_Store +0 -0
  15. package/src/assets/images/flags/.DS_Store +0 -0
  16. package/src/stories/collection-control/.DS_Store +0 -0
  17. package/src/stories/comment/.DS_Store +0 -0
  18. package/src/stories/data-card/.DS_Store +0 -0
  19. package/src/stories/data-list/.DS_Store +0 -0
  20. package/src/stories/dialog/.DS_Store +0 -0
  21. package/src/stories/dialog-header/.DS_Store +0 -0
  22. package/src/stories/directory-entry/.DS_Store +0 -0
  23. package/src/stories/document-state/.DS_Store +0 -0
  24. package/src/stories/dropzone/.DS_Store +0 -0
  25. package/src/stories/empty-state/.DS_Store +0 -0
  26. package/src/stories/excerpt-snippet/.DS_Store +0 -0
  27. package/src/stories/file-icon/.DS_Store +0 -0
  28. package/src/stories/file-list-item/.DS_Store +0 -0
  29. package/src/stories/flag/.DS_Store +0 -0
  30. package/src/stories/form-group/.DS_Store +0 -0
  31. package/src/stories/form-headline/.DS_Store +0 -0
  32. package/src/stories/form-set/.DS_Store +0 -0
  33. package/src/stories/formatted/.DS_Store +0 -0
  34. package/src/stories/icon/.DS_Store +0 -0
  35. package/src/stories/index-toolbar/.DS_Store +0 -0
  36. package/src/stories/info-tooltip/.DS_Store +0 -0
  37. package/src/stories/input/.DS_Store +0 -0
  38. package/src/stories/input-group/.DS_Store +0 -0
  39. package/src/stories/input-search/.DS_Store +0 -0
  40. package/src/stories/jumper-document/.DS_Store +0 -0
  41. package/src/stories/jumper-index/.DS_Store +0 -0
  42. package/src/stories/jumper-page/.DS_Store +0 -0
  43. package/src/stories/layout-data-table/.DS_Store +0 -0
  44. package/src/stories/layout-directory/.DS_Store +0 -0
  45. package/src/stories/layout-index/.DS_Store +0 -0
  46. package/src/stories/map/.DS_Store +0 -0
  47. package/src/stories/modal/.DS_Store +0 -0
  48. package/src/stories/multiselect-option/.DS_Store +0 -0
  49. package/src/stories/multiselect-search-token/.DS_Store +0 -0
  50. package/src/stories/multiselect-token/.DS_Store +0 -0
  51. package/src/stories/overlay/.DS_Store +0 -0
  52. package/src/stories/pagination/.DS_Store +0 -0
  53. package/src/stories/party-entry/.DS_Store +0 -0
  54. package/src/stories/popover-header/.DS_Store +0 -0
  55. package/src/stories/popover-list/.DS_Store +0 -0
  56. package/src/stories/popover-list-headline/.DS_Store +0 -0
  57. package/src/stories/popover-list-item/.DS_Store +0 -0
  58. package/src/stories/progress/.DS_Store +0 -0
  59. package/src/stories/quicklink/.DS_Store +0 -0
  60. package/src/stories/radiobutton/.DS_Store +0 -0
  61. package/src/stories/rating-favorability/.DS_Store +0 -0
  62. package/src/stories/rating-star-read/.DS_Store +0 -0
  63. package/src/stories/rating-star-write/.DS_Store +0 -0
  64. package/src/stories/scroll-container/.DS_Store +0 -0
  65. package/src/stories/section/.DS_Store +0 -0
  66. package/src/stories/segment/.DS_Store +0 -0
  67. package/src/stories/select/.DS_Store +0 -0
  68. package/src/stories/sequence-map-button/.DS_Store +0 -0
  69. package/src/stories/sidebar/.DS_Store +0 -0
  70. package/src/stories/skeleton-loader/.DS_Store +0 -0
  71. package/src/stories/sortbutton/.DS_Store +0 -0
  72. package/src/stories/sticker/.DS_Store +0 -0
  73. package/src/stories/structured-content/.DS_Store +0 -0
  74. package/src/stories/switch/.DS_Store +0 -0
  75. package/src/stories/tabs/.DS_Store +0 -0
  76. package/src/stories/tag/.DS_Store +0 -0
  77. package/src/stories/toast/.DS_Store +0 -0
  78. package/src/stories/transcript-state/.DS_Store +0 -0
  79. package/src/stories/tree-list/.DS_Store +0 -0
  80. package/src/stories/tree-list-item/.DS_Store +0 -0
  81. package/src/stories/video/.DS_Store +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -24,7 +24,7 @@
24
24
  </template>
25
25
 
26
26
  <template v-else-if="type === 'switch'">
27
- <ecs-switch @input="$emit('toggle', $event)" :value="valueToggle" :disabled="value == false" size="sml">{{label}}</ecs-switch>
27
+ <ecs-switch @input="$emit('toggle', $event)" :value="valueToggle" :disabled="disableSwitch" size="sml">{{label}}</ecs-switch>
28
28
  </template>
29
29
 
30
30
  <template v-else>
@@ -110,6 +110,11 @@
110
110
  return `active`
111
111
  else
112
112
  return `subtle`
113
+ },
114
+
115
+ disableSwitch(){
116
+ console.log('disableSwitch', this.value == false, this.value)
117
+ return this.value == false
113
118
  }
114
119
  }
115
120
  }
@@ -71,6 +71,8 @@
71
71
  },
72
72
 
73
73
  mounted () {
74
+ console.log('switch disabled', this.disabled)
75
+ console.log('switch checked', !!this.value, this.checked, this.value)
74
76
  this.id = this._uid
75
77
  },
76
78
 
@@ -27,5 +27,5 @@ export const quicklinkFavorability = () => ({
27
27
 
28
28
  export const quicklinkThreeWaySwitch = () => ({
29
29
  components: { EcsQuicklink },
30
- template: `<ecs-quicklink type="switch" label="Filter" :value="true" :valueToggle="true" :count="12" />`,
30
+ template: `<ecs-quicklink type="switch" label="Filter" :value="false" :valueToggle="true" :count="12" />`,
31
31
  });
package/src/.DS_Store DELETED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file