@everchron/ec-shards 1.2.2 → 1.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="ecs-flex-row" :class="[directionClass, justifyClass, alignClass, wrapClass]">
2
+ <div class="ecs-flex-row" :class="[directionClass, justifyClass, alignClass, wrapClass]" :style="{columnGap: gap + 'px'}">
3
3
  <slot></slot>
4
4
  </div>
5
5
  </template>
@@ -29,6 +29,10 @@
29
29
  wrap: {
30
30
  type: Boolean,
31
31
  default: false
32
+ },
33
+ /** Determines the spacing between flex columns inside the row. Accepts only pixel values. */
34
+ gap: {
35
+ type: Number
32
36
  }
33
37
  },
34
38
 
@@ -161,7 +161,7 @@
161
161
  if(this.fullWidth && !this.$slots.tabs){
162
162
  return '100%'
163
163
  } else {
164
- return '900px'
164
+ return '920px'
165
165
  }
166
166
  },
167
167
 
@@ -31,10 +31,10 @@
31
31
  }
32
32
 
33
33
  .ecs-tab-content-fill{
34
- height: 100%;
34
+ min-height: 100%;
35
35
 
36
36
  .ecs-tab-pane{
37
- height: 100%;
37
+ min-height: 100%;
38
38
  }
39
39
  }
40
40
  </style>
@@ -6,6 +6,16 @@ import { Meta } from '@storybook/addon-docs/blocks';
6
6
  Changelog
7
7
  </h1>
8
8
 
9
+ ## Version 1.2.3 (25 August 2022)
10
+
11
+ ### Features
12
+
13
+ - Added `gap` prop to EcsFlexRow component.
14
+
15
+ ### Changes
16
+
17
+ - Increased the EcsOverlay content area width from 900 to 920 pixels.
18
+
9
19
  ## Version 1.2.2 (25 August 2022)
10
20
 
11
21
  ### Features
@@ -15,6 +15,15 @@ export const flexRow = () => ({
15
15
  </ecs-flex-row>`,
16
16
  });
17
17
 
18
+ export const flexRowColumnGap = () => ({
19
+ components: { EcsFlexRow, EcsFlexCol },
20
+ template: `<ecs-flex-row class="highlight" :gap="16">
21
+ <div>Flex Item 1</div>
22
+ <div>Flex Item 2</div>
23
+ <div>Flex Item 3</div>
24
+ </ecs-flex-row>`,
25
+ });
26
+
18
27
  export const flexRowDirection = () => ({
19
28
  components: { EcsFlexRow, EcsFlexCol },
20
29
  template: `<div>