@everchron/ec-shards 0.7.48 → 0.7.49

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": "@everchron/ec-shards",
3
- "version": "0.7.48",
3
+ "version": "0.7.49",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -0,0 +1,8 @@
1
+ <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path vector-effect="non-scaling-stroke" d="M10.6667 6.33335L12.075 4.57294C12.2808 4.31619 12.5917 4.16669 12.9211 4.16669H17.08C17.4093 4.16669 17.7202 4.31619 17.9261 4.57294L19.3333 6.33335V7.41669C19.3333 8.01469 18.848 8.50002 18.25 8.50002H11.75C11.152 8.50002 10.6667 8.01469 10.6667 7.41669V6.33335Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path vector-effect="non-scaling-stroke" d="M23.6667 14V8.49998C23.6667 7.3029 22.6971 6.33331 21.5 6.33331H19.3333" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
4
+ <path vector-effect="non-scaling-stroke" d="M10.6667 6.33331H8.50001C7.30293 6.33331 6.33334 7.3029 6.33334 8.49998V22.5833C6.33334 23.7804 7.30293 24.75 8.50001 24.75H11.75H14" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path vector-effect="non-scaling-stroke" d="M10.6667 12.9167H19.3333" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path vector-effect="non-scaling-stroke" d="M10.6667 17.3333H12.8333" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
7
+ <rect vector-effect="non-scaling-stroke" x="17" y="17" width="8" height="9" rx="2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
8
+ </svg>
@@ -19,7 +19,7 @@
19
19
  error ? 'ecs-form-control-error' : null
20
20
  ]"
21
21
  v-bind="$attrs"
22
- :min="min"
22
+ :min="min" :max="max" :step="step"
23
23
  :ref="refr"
24
24
  :id="refr"
25
25
  />
@@ -36,7 +36,6 @@
36
36
  :class="[
37
37
  sizeClass,
38
38
  formatClass,
39
- cssClass,
40
39
  subtle ? 'ecs-form-control-subtle' : null,
41
40
  error ? 'ecs-form-control-error' : null
42
41
  ]"
@@ -97,9 +96,10 @@
97
96
  type: Boolean,
98
97
  default: false
99
98
  },
100
- cssClass: String,
101
99
  refr: String,
102
- min: Number
100
+ min: Number,
101
+ max: Number,
102
+ step: Number
103
103
  },
104
104
 
105
105
  computed: {
@@ -122,7 +122,7 @@
122
122
  @import "../tokens/tokens";
123
123
  @import "../mixins/svg-uri";
124
124
 
125
- .ecs-form-control {
125
+ .ecs-form-control{
126
126
  display: block;
127
127
  width: 100%;
128
128
  padding: $input-padding-y $input-padding-x;
@@ -197,4 +197,8 @@
197
197
  font-family: $sf;
198
198
  }
199
199
  }
200
+
201
+ textarea.ecs-form-control{
202
+ resize: vertical;
203
+ }
200
204
  </style>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div class="ecs-segments" :class="[inline ? 'ecs-segments-inline' : '']">
3
3
  <label v-for="option in options" :key="option.id" :for="option.id">
4
- <input type="radio" :name="name" :value="option.id" :id="option.id" :checked="value==option.id" @click="$emit('click', option.id)"><!-- v-model="selectedSegmentId" -->
4
+ <input type="radio" :name="name" :value="option.id" :id="option.id" :checked="value==option.id" :disabled="option.disabled" @click="$emit('click', option.id)">
5
5
  <span class="ecs-segment" :title="option.title">
6
6
  <ecs-icon v-if="option.icon" :class="[option.icon && option.label ? 'icon-spacing' : '']" :type="option.icon" width="20" height="20" color="#2F333C" />
7
7
  {{ option.label }}
@@ -47,8 +47,8 @@ Use the EcsInputAddon component to add a prefix to an EcsInput. Prefixes can con
47
47
  <ecs-input />
48
48
  </ecs-input-group>
49
49
  <ecs-input-group>
50
- <ecs-input-addon icon="link" />
51
50
  <ecs-input />
51
+ <ecs-input-addon>Suffix</ecs-input-addon>
52
52
  </ecs-input-group>
53
53
  ```
54
54
 
@@ -119,4 +119,4 @@ Use the EcsInputClear component to add an input clear button.
119
119
 
120
120
  ### Input Clear Button
121
121
 
122
- <ArgsTable of={EcsInputClear} />
122
+ <ArgsTable of={EcsInputClear} />
@@ -12,7 +12,7 @@ export const segment = () => ({
12
12
  options: [
13
13
  { label: 'Orange', id: 'orange' },
14
14
  { label: 'Apple', id: 'apple' },
15
- { label: 'Grapefruit', id: 'grapefruit' }
15
+ { label: 'Grapefruit', id: 'grapefruit', disabled: true }
16
16
  ],
17
17
  value: "orange",
18
18
  }
@@ -20,7 +20,7 @@ The segment control is a visual alternative to radiobutton group.
20
20
  options: [
21
21
  { label: 'Orange', id: 'orange' },
22
22
  { label: 'Apple', id: 'apple' },
23
- { label: 'Grapefruit', id: 'grapefruit' }
23
+ { label: 'Grapefruit', id: 'grapefruit', disabled: true }
24
24
  ]
25
25
 
26
26
  <ecs-segment :options="options" :value="value" name="fruits"></ecs-segment>