@everchron/ec-shards 3.1.2 → 3.1.4

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 (82) hide show
  1. package/dist/ec-shards.common.js +33 -38
  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 +33 -38
  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/.DS_Store +0 -0
  10. package/src/assets/.DS_Store +0 -0
  11. package/src/assets/images/.DS_Store +0 -0
  12. package/src/assets/images/flags/.DS_Store +0 -0
  13. package/src/components/formatted/formatted.vue +4 -15
  14. package/src/components/input/input.vue +6 -10
  15. package/src/stories/Changelog.stories.mdx +7 -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/input.stories.js +5 -4
  39. package/src/stories/input-group/.DS_Store +0 -0
  40. package/src/stories/input-search/.DS_Store +0 -0
  41. package/src/stories/jumper-document/.DS_Store +0 -0
  42. package/src/stories/jumper-index/.DS_Store +0 -0
  43. package/src/stories/jumper-page/.DS_Store +0 -0
  44. package/src/stories/layout-data-table/.DS_Store +0 -0
  45. package/src/stories/layout-directory/.DS_Store +0 -0
  46. package/src/stories/layout-index/.DS_Store +0 -0
  47. package/src/stories/map/.DS_Store +0 -0
  48. package/src/stories/modal/.DS_Store +0 -0
  49. package/src/stories/multiselect-option/.DS_Store +0 -0
  50. package/src/stories/multiselect-search-token/.DS_Store +0 -0
  51. package/src/stories/multiselect-token/.DS_Store +0 -0
  52. package/src/stories/overlay/.DS_Store +0 -0
  53. package/src/stories/pagination/.DS_Store +0 -0
  54. package/src/stories/party-entry/.DS_Store +0 -0
  55. package/src/stories/popover-header/.DS_Store +0 -0
  56. package/src/stories/popover-list/.DS_Store +0 -0
  57. package/src/stories/popover-list-headline/.DS_Store +0 -0
  58. package/src/stories/popover-list-item/.DS_Store +0 -0
  59. package/src/stories/progress/.DS_Store +0 -0
  60. package/src/stories/quicklink/.DS_Store +0 -0
  61. package/src/stories/radiobutton/.DS_Store +0 -0
  62. package/src/stories/rating-favorability/.DS_Store +0 -0
  63. package/src/stories/rating-star-read/.DS_Store +0 -0
  64. package/src/stories/rating-star-write/.DS_Store +0 -0
  65. package/src/stories/scroll-container/.DS_Store +0 -0
  66. package/src/stories/section/.DS_Store +0 -0
  67. package/src/stories/segment/.DS_Store +0 -0
  68. package/src/stories/select/.DS_Store +0 -0
  69. package/src/stories/sequence-map-button/.DS_Store +0 -0
  70. package/src/stories/sidebar/.DS_Store +0 -0
  71. package/src/stories/skeleton-loader/.DS_Store +0 -0
  72. package/src/stories/sortbutton/.DS_Store +0 -0
  73. package/src/stories/sticker/.DS_Store +0 -0
  74. package/src/stories/structured-content/.DS_Store +0 -0
  75. package/src/stories/switch/.DS_Store +0 -0
  76. package/src/stories/tabs/.DS_Store +0 -0
  77. package/src/stories/tag/.DS_Store +0 -0
  78. package/src/stories/toast/.DS_Store +0 -0
  79. package/src/stories/transcript-state/.DS_Store +0 -0
  80. package/src/stories/tree-list/.DS_Store +0 -0
  81. package/src/stories/tree-list-item/.DS_Store +0 -0
  82. 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": "3.1.2",
3
+ "version": "3.1.4",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
package/src/.DS_Store ADDED
Binary file
Binary file
Binary file
@@ -37,11 +37,13 @@
37
37
 
38
38
  .ecs-formatted{
39
39
  font-size: $type-scale-3-font-size;
40
- line-height: 1.4em;
41
- min-height: 1.4em;
40
+ line-height: $type-scale-3-line-height;
41
+ min-height: $type-scale-3-line-height;
42
42
 
43
43
  &-sml{
44
44
  font-size: $type-scale-2-font-size;
45
+ line-height: $type-scale-2-line-height;
46
+ min-height: $type-scale-2-line-height;
45
47
  }
46
48
 
47
49
  p{
@@ -77,19 +79,6 @@
77
79
  opacity: 1;
78
80
  }
79
81
  }
80
-
81
- &[href*="//"]:not([href*="everchron.com"]):after,
82
- &[href*="//"]:not([href*="everchron.me"]):after,
83
- &[href*="//"]:not([href*="everchron.co.uk"]):after,
84
- &[href*="//"]:not([href*="everchron.com.au"]):after,
85
- &[href*="//"]:not([href*="everchron.wtf"]):after{
86
- content: "";
87
- background: svg-uri('<svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"><path fill="#858E9E" d="M7.625,3.5 C7.524,3.5 7.434,3.459 7.366,3.395 C7.364,3.393 7.361,3.393 7.359,3.391 L6.427,2.458 L4.067,4.818 C3.823,5.061 3.427,5.061 3.183,4.818 C2.939,4.574 2.939,4.178 3.183,3.934 L5.542,1.575 L4.609,0.641 C4.607,0.639 4.607,0.636 4.605,0.634 C4.541,0.566 4.5,0.476 4.5,0.375 C4.5,0.168 4.668,0 4.875,0 L7.5,0 C7.776,0 8,0.224 8,0.5 L8,3.125 C8,3.332 7.832,3.5 7.625,3.5 Z M1,2.25 L1,6.75 C1,6.888 1.112,7 1.25,7 L5.75,7 C5.888,7 6,6.888 6,6.75 L6,4 L7,5 L7,7 C7,7.553 6.553,8 6,8 L1,8 C0.448,8 0,7.553 0,7 L0,2 C0,1.448 0.448,1 1,1 L3,1 L4,2 L1.25,2 C1.112,2 1,2.112 1,2.25 Z"/></svg>');
88
- width: 8px;
89
- display: inline-block;
90
- height: 8px;
91
- margin-left: 4px;
92
- }
93
82
  }
94
83
 
95
84
  ul{
@@ -130,12 +130,6 @@
130
130
  return `ecs-form-control-format-${this.format}`
131
131
  return this.format
132
132
  }
133
- },
134
-
135
- watch:{
136
- value(){
137
- console.warn('value is nao', this.value)
138
- }
139
133
  }
140
134
  }
141
135
  </script>
@@ -169,13 +163,16 @@
169
163
  border: 0;
170
164
  }
171
165
 
172
- &:disabled,
173
- &[readonly] {
166
+ &:disabled{
174
167
  background-color: rgba($color-gray-6, .15);
175
168
  color: $color-gray-8;
176
169
  cursor: default;
177
170
  }
178
171
 
172
+ &[readonly] {
173
+ cursor: default;
174
+ }
175
+
179
176
  &-subtle{
180
177
  background-color: rgba($color-gray-8, .15);
181
178
  border: 1px solid rgba($color-gray-8, .2);
@@ -186,8 +183,7 @@
186
183
  box-shadow: none;
187
184
  }
188
185
 
189
- &:disabled,
190
- &[readonly] {
186
+ &:disabled{
191
187
  background-color: rgba($color-gray-8, .1);
192
188
  border: 1px solid rgba($color-gray-8, .1);
193
189
  opacity: .8;
@@ -6,6 +6,13 @@ import { Meta } from '@storybook/addon-docs/blocks';
6
6
  Changelog
7
7
  </h1>
8
8
 
9
+ ## Version 3.1.2 (15 December 2022)
10
+
11
+ ### Fixes
12
+
13
+ - Fixed readonly state styles of EcsInput
14
+ - Fixed line height scales of EcsFormatted
15
+
9
16
  ## Version 3.1.1 (29 November 2022)
10
17
 
11
18
  ### Fixes
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -9,8 +9,8 @@ export const input = () => ({
9
9
  components: { EcsInput },
10
10
  template: `<div>
11
11
  <ecs-input placeholder="Enter your name" class="mb-2" />
12
- <ecs-input readonly placeholder="Enter your name" class="mb-2" />
13
- <ecs-input disabled placeholder="Enter your name" />
12
+ <ecs-input readonly value="Readonly" class="mb-2" />
13
+ <ecs-input disabled value="Disabled" />
14
14
  </div>`,
15
15
  });
16
16
 
@@ -33,8 +33,9 @@ export const inputSizes = () => ({
33
33
  export const inputSubtle = () => ({
34
34
  components: { EcsInput },
35
35
  template: `<div>
36
- <ecs-input placeholder="Enter your name" class="mb-2" />
37
- <ecs-input subtle placeholder="Enter your name" />
36
+ <ecs-input subtle placeholder="Enter your name" class="mb-2" />
37
+ <ecs-input subtle readonly value="Readonly" class="mb-2" />
38
+ <ecs-input subtle disabled value="Disabled" />
38
39
  </div>`,
39
40
  });
40
41
 
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