@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/dist/ec-shards.common.js +88 -82
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +88 -82
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +2 -2
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/flex/flex-row.vue +5 -1
- package/src/components/overlay/overlay.vue +1 -1
- package/src/components/tabs/tabs.vue +2 -2
- package/src/stories/Changelog.stories.mdx +10 -0
- package/src/stories/flex/flex-row.stories.js +9 -0
package/package.json
CHANGED
|
@@ -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
|
|
|
@@ -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>
|