@everchron/ec-shards 1.2.0 → 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.0",
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",
@@ -0,0 +1,13 @@
1
+ <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect vector-effect="non-scaling-stroke" x="6" y="6" width="18" height="7" rx="2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path vector-effect="non-scaling-stroke" d="M22.5 16H8C6.89543 16 6 16.8954 6 18V21C6 22.1046 6.89543 23 8 23H16" stroke="currentColor" stroke-linecap="round"/>
4
+ <path vector-effect="non-scaling-stroke" d="M24.1213 19.8787C25.2929 21.0502 25.2929 22.9497 24.1213 24.1213C22.9497 25.2929 21.0502 25.2929 19.8787 24.1213C18.7071 22.9497 18.7071 21.0502 19.8787 19.8787C21.0502 18.7071 22.9497 18.7071 24.1213 19.8787Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path vector-effect="non-scaling-stroke" d="M22 19V18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
6
+ <path vector-effect="non-scaling-stroke" d="M22 25V26" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
7
+ <path vector-effect="non-scaling-stroke" d="M25 22H26" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
8
+ <path vector-effect="non-scaling-stroke" d="M19 22H18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
9
+ <path vector-effect="non-scaling-stroke" d="M24.12 19.88L24.83 19.17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
10
+ <path vector-effect="non-scaling-stroke" d="M19.88 24.12L19.17 24.83" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
11
+ <path vector-effect="non-scaling-stroke" d="M24.12 24.12L24.83 24.83" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
12
+ <path vector-effect="non-scaling-stroke" d="M19.88 19.88L19.17 19.17" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
13
+ </svg>
@@ -0,0 +1,3 @@
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="M9 15.8478L13.2332 20L20.516 10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect vector-effect="non-scaling-stroke" x="6" y="10" width="18" height="11" rx="2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path vector-effect="non-scaling-stroke" d="M8 7H18" stroke="currentColor" stroke-linecap="round"/>
4
+ <path vector-effect="non-scaling-stroke" d="M10 14H20" stroke="currentColor" stroke-linecap="round"/>
5
+ <path vector-effect="non-scaling-stroke" d="M10 17H18" stroke="currentColor" stroke-linecap="round"/>
6
+ <path vector-effect="non-scaling-stroke" d="M8 24H18" stroke="currentColor" stroke-linecap="round"/>
7
+ </svg>
@@ -1 +1 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M9.838,1.25 C10.5679169,1.25 11.2674885,1.53991186 11.7823301,2.05566991 L11.7823301,2.05566991 L13.9449968,4.21833658 C14.4601846,4.73352447 14.75,5.43293364 14.75,6.16266667 L14.75,6.16266667 L14.75,9.838 C14.75,10.5674828 14.4605309,11.2658791 13.9450785,11.7822483 L13.9450785,11.7822483 L11.7825251,13.9454679 C11.266612,14.4604647 10.5674165,14.75 9.838,14.75 L9.838,14.75 L6.162,14.75 C5.43239964,14.75 4.7330415,14.4603683 4.21700325,13.9443301 L4.21700325,13.9443301 L2.05500325,11.7823301 C1.53981536,11.2671422 1.25,10.567733 1.25,9.838 L1.25,9.838 L1.25,6.162 C1.25,5.43208312 1.53991186,4.73251146 2.05566991,4.21766991 L2.05566991,4.21766991 L4.21719872,2.05614153 C4.73251146,1.53991186 5.43208312,1.25 6.162,1.25 L6.162,1.25 Z" stroke="#FFF" stroke-width="1.5" fill="#FF3750"/><path d="M6.28033009,5.21966991 L7.96,6.899 L9.63983593,5.21966991 C9.90610249,4.95340335 10.3227662,4.9291973 10.6163777,5.14705176 L10.7004961,5.21966991 C10.9933893,5.51256313 10.9933893,5.98743687 10.7004961,6.28033009 L10.7004961,6.28033009 L9.021,7.96 L10.7004961,9.63983593 C10.9933893,9.93272915 10.9933893,10.4076029 10.7004961,10.7004961 C10.4076029,10.9933893 9.93272915,10.9933893 9.63983593,10.7004961 L7.96,9.021 L6.28033009,10.7004961 C6.01406352,10.9667627 5.59739984,10.9909687 5.30378835,10.7731143 L5.21966991,10.7004961 C4.9267767,10.4076029 4.9267767,9.93272915 5.21966991,9.63983593 L5.21966991,9.63983593 L6.899,7.96 L5.21966991,6.28033009 C4.9267767,5.98743687 4.9267767,5.51256313 5.21966991,5.21966991 C5.51256313,4.9267767 5.98743687,4.9267767 6.28033009,5.21966991 Z" fill="#FFF" fill-rule="nonzero"/></g></svg>
1
+ <svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="m9.838 1.25c.7299169 0 1.4294885.28991186 1.9443301.80566991l2.1626667 2.16266667c.5151878.51518789.8050032 1.21459706.8050032 1.94433009v3.67533333c0 .7294828-.2894691 1.4278791-.8049215 1.9442483l-2.1625534 2.1632196c-.5159131.5149968-1.2151086.8045321-1.9445251.8045321h-3.676c-.72960036 0-1.4289585-.2896317-1.94499675-.8056699l-2.162-2.162c-.51518789-.5151879-.80500325-1.2145971-.80500325-1.9443301v-3.676c0-.72991688.28991186-1.42948854.80566991-1.94433009l2.16152881-2.16152838c.51531274-.51622967 1.2148844-.80614153 1.94480128-.80614153z" fill="#ff3750" stroke="#fff" stroke-width="1.5"/><path d="m6.28033009 5.21966991 1.67966991 1.67933009 1.67983593-1.67933009c.26626656-.26626656.68293027-.29047261.97654177-.07261815l.0841184.07261815c.2928932.29289322.2928932.76776696 0 1.06066018l-1.6794961 1.67966991 1.6794961 1.67983593c.2928932.29289322.2928932.76776697 0 1.06066017s-.76776695.2928932-1.06066017 0l-1.67983593-1.6794961-1.67966991 1.6794961c-.26626657.2662666-.68293025.2904726-.97654174.0726182l-.08411844-.0726182c-.29289321-.2928932-.29289321-.76776695 0-1.06066017l1.67933009-1.67983593-1.67933009-1.67966991c-.29289321-.29289322-.29289321-.76776696 0-1.06066018.29289322-.29289321.76776696-.29289321 1.06066018 0z" fill="#fff" fill-rule="nonzero"/></g></svg>
@@ -1 +1 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle stroke="#FFF" stroke-width="1.5" fill="#FFF" cx="8" cy="8" r="6.75"/><path d="M7.99989896,2.125 C10.6600553,2.1247312 12.9884502,3.91192755 13.6759171,6.48171759 C14.3633841,9.05150763 13.2383549,11.7625596 10.93339,13.0905538 C8.6284251,14.4185479 5.71876491,14.0320623 3.84039896,12.1484028 C3.45042456,11.7573294 3.45131548,11.124165 3.84238889,10.7341906 C4.2334623,10.3442162 4.86662665,10.3451071 5.25660105,10.7361805 C6.49552328,11.9785942 8.41466084,12.2335103 9.93495685,11.3575993 C11.4552529,10.4816882 12.1972934,8.69354757 11.7438577,6.99857968 C11.2904221,5.30361178 9.75467224,4.1248227 8.00010105,4.125 C7.44781631,4.1250558 7.00005582,3.67738579 7.00000001,3.12510104 C6.99994421,2.57281629 7.44761421,2.125 7.99989896,2.125 Z" fill="#0B71EB" fill-rule="nonzero"/></g></svg>
1
+ <svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle cx="8" cy="8" fill="#fff" r="6.75" stroke="#fff" stroke-width="1.5"/><path d="m7.99989896 2.125c2.66015634-.0002688 4.98855124 1.78692755 5.67601814 4.35671759.687467 2.56979004-.4375622 5.28084201-2.7425271 6.60883621-2.3049649 1.3279941-5.21462509.9415085-7.09299104-.942151-.3899744-.3910734-.38908348-1.0242378.00198993-1.4142122s1.02423776-.3890835 1.41421216.0019899c1.23892223 1.2424137 3.15805979 1.4973298 4.6783558.6214188 1.52029605-.8759111 2.26233655-2.66405173 1.80890085-4.35901962-.4534356-1.6949679-1.98918546-2.87375698-3.74375665-2.87357968-.55228474.0000558-1.00004523-.44761421-1.00010104-.99989896-.0000558-.55228475.4476142-1.00010104.99989895-1.00010104z" fill="#0b71eb" fill-rule="nonzero"/></g></svg>
@@ -1 +1 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle stroke="#FFF" stroke-width="1.5" fill="#0EBA65" cx="8" cy="8" r="6.75"/><path d="M7.69503256,10.5488619 C7.57492119,10.6805468 7.4090215,10.7619043 7.22577977,10.7619043 C7.04253803,10.7619043 6.87663834,10.6805468 6.75657121,10.5488619 L4.76573071,8.36709221 C4.64566358,8.23545585 4.571429,8.05363767 4.571429,7.85281342 C4.571429,7.45116494 4.86850004,7.1255407 5.23502775,7.1255407 C5.41822525,7.1255407 5.58412493,7.20694676 5.70423631,7.33853464 L7.22577977,9.00612252 L10.2957645,5.64161342 C10.4158317,5.50997706 10.5817314,5.428571 10.7650173,5.428571 C11.1315008,5.428571 11.4285719,5.75414676 11.4285719,6.15584373 C11.4285719,6.35671645 11.3543373,6.53848615 11.2342259,6.67012252 L7.69503256,10.5488619 Z" fill="#FFF"/></g></svg>
1
+ <svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><circle cx="8" cy="8" fill="#0eba65" r="6.75" stroke="#fff" stroke-width="1.5"/><path d="m7.69503256 10.5488619c-.12011137.1316849-.28601106.2130424-.46925279.2130424-.18324174 0-.34914143-.0813575-.46920856-.2130424l-1.9908405-2.18176969c-.12006713-.13163636-.19430171-.31345454-.19430171-.51427879 0-.40164848.29707104-.72727272.66359875-.72727272.1831975 0 .34909718.08140606.46920856.21299394l1.52154346 1.66758788 3.06998473-3.3645091c.1200672-.13163636.2859669-.21304242.4692528-.21304242.3664835 0 .6635546.32557576.6635546.72727273 0 .20087272-.0742346.38264242-.194346.51427879z" fill="#fff"/></g></svg>
@@ -1 +1 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M8.0401618,1.307581 C8.36820767,1.307581 8.70117147,1.41483271 9.01069024,1.65564382 C9.23820117,1.83265138 9.45812313,2.08939814 9.64330128,2.43742416 L9.64330128,2.43742416 L14.4054311,11.3874278 C14.8227888,12.1718148 14.7612497,12.8687663 14.4574802,13.3711192 C14.1563146,13.869166 13.5730265,14.2500004 12.6788946,14.2500004 L12.6788946,14.2500004 L3.31488371,14.2500004 C2.41644814,14.2500004 1.83289768,13.8679521 1.53470209,13.3684992 C1.23664633,12.8692806 1.1767995,12.1748524 1.60391654,11.3834996 L1.60391654,11.3834996 L6.43450402,2.43349595 C6.62210224,2.08591821 6.84291408,1.83038667 7.07024419,1.65438452 C7.3809787,1.41380952 7.71368426,1.307581 8.0401618,1.307581 Z" stroke="#FFF" stroke-width="1.5" fill="#FF3750"/><path d="M8.1,10.3 C8.62467051,10.3 9.05,10.7253295 9.05,11.25 C9.05,11.7746705 8.62467051,12.2 8.1,12.2 C7.57532949,12.2 7.15,11.7746705 7.15,11.25 C7.15,10.7253295 7.57532949,10.3 8.1,10.3 Z M8.1,5 C8.51421356,5 8.85,5.33578644 8.85,5.75 L8.85,8.35 C8.85,8.76421356 8.51421356,9.1 8.1,9.1 C7.68578644,9.1 7.35,8.76421356 7.35,8.35 L7.35,5.75 C7.35,5.33578644 7.68578644,5 8.1,5 Z" fill="#FFF" fill-rule="nonzero"/></g></svg>
1
+ <svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="m8.0401618 1.307581c.32804587 0 .66100967.10725171.97052844.34806282.22751093.17700756.44743289.43375432.63261104.78178034l4.76212982 8.95000364c.4173577.784387.3558186 1.4813385.0520491 1.9836914-.3011656.4980468-.8844537.8788812-1.7785856.8788812h-9.36401089c-.89843557 0-1.48198603-.3820483-1.78018162-.8815012-.29805576-.4992186-.35790259-1.1936468.06921445-1.9849996l4.83058748-8.95000365c.18759822-.34757774.40841006-.60310928.63574017-.77911143.31073451-.240575.64344007-.34680352.96991761-.34680352z" fill="#ff3750" stroke="#fff" stroke-width="1.5"/><path d="m8.1 10.3c.52467051 0 .95.4253295.95.95s-.42532949.95-.95.95-.95-.4253295-.95-.95.42532949-.95.95-.95zm0-5.3c.41421356 0 .75.33578644.75.75v2.6c0 .41421356-.33578644.75-.75.75s-.75-.33578644-.75-.75v-2.6c0-.41421356.33578644-.75.75-.75z" fill="#fff" fill-rule="nonzero"/></g></svg>
@@ -1 +1 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M8.0401618,1.307581 C8.36820767,1.307581 8.70117147,1.41483271 9.01069024,1.65564382 C9.23820117,1.83265138 9.45812313,2.08939814 9.64330128,2.43742416 L9.64330128,2.43742416 L14.4054311,11.3874278 C14.8227888,12.1718148 14.7612497,12.8687663 14.4574802,13.3711192 C14.1563146,13.869166 13.5730265,14.2500004 12.6788946,14.2500004 L12.6788946,14.2500004 L3.31488371,14.2500004 C2.41644814,14.2500004 1.83289768,13.8679521 1.53470209,13.3684992 C1.23664633,12.8692806 1.1767995,12.1748524 1.60391654,11.3834996 L1.60391654,11.3834996 L6.43450402,2.43349595 C6.62210224,2.08591821 6.84291408,1.83038667 7.07024419,1.65438452 C7.3809787,1.41380952 7.71368426,1.307581 8.0401618,1.307581 Z" stroke="#FFF" stroke-width="1.5" fill="#F1B251"/><path d="M8.1,10.3 C8.62467051,10.3 9.05,10.7253295 9.05,11.25 C9.05,11.7746705 8.62467051,12.2 8.1,12.2 C7.57532949,12.2 7.15,11.7746705 7.15,11.25 C7.15,10.7253295 7.57532949,10.3 8.1,10.3 Z M8.1,5 C8.51421356,5 8.85,5.33578644 8.85,5.75 L8.85,8.35 C8.85,8.76421356 8.51421356,9.1 8.1,9.1 C7.68578644,9.1 7.35,8.76421356 7.35,8.35 L7.35,5.75 C7.35,5.33578644 7.68578644,5 8.1,5 Z" fill="#FFF" fill-rule="nonzero"/></g></svg>
1
+ <svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="m8.0401618 1.307581c.32804587 0 .66100967.10725171.97052844.34806282.22751093.17700756.44743289.43375432.63261104.78178034l4.76212982 8.95000364c.4173577.784387.3558186 1.4813385.0520491 1.9836914-.3011656.4980468-.8844537.8788812-1.7785856.8788812h-9.36401089c-.89843557 0-1.48198603-.3820483-1.78018162-.8815012-.29805576-.4992186-.35790259-1.1936468.06921445-1.9849996l4.83058748-8.95000365c.18759822-.34757774.40841006-.60310928.63574017-.77911143.31073451-.240575.64344007-.34680352.96991761-.34680352z" fill="#f1b251" stroke="#fff" stroke-width="1.5"/><path d="m8.1 10.3c.52467051 0 .95.4253295.95.95s-.42532949.95-.95.95-.95-.4253295-.95-.95.42532949-.95.95-.95zm0-5.3c.41421356 0 .75.33578644.75.75v2.6c0 .41421356-.33578644.75-.75.75s-.75-.33578644-.75-.75v-2.6c0-.41421356.33578644-.75.75-.75z" fill="#fff" fill-rule="nonzero"/></g></svg>
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="ecs-tab-content" :class="flex ? 'ecs-tab-content-flex' : ''">
2
+ <div class="ecs-tab-content" :class="[flex ? 'ecs-tab-content-flex' : '', fill ? 'ecs-tab-content-fill' : '']">
3
3
  <slot></slot>
4
4
  </div>
5
5
  </template>
@@ -11,6 +11,11 @@
11
11
  flex: {
12
12
  type: Boolean,
13
13
  default: false
14
+ },
15
+ /** Sets the height of the tabs area to 100%. Also sets the inner tab height to 100%. */
16
+ fill: {
17
+ type: Boolean,
18
+ default: false
14
19
  }
15
20
  }
16
21
  }
@@ -24,4 +29,12 @@
24
29
  height: 100%;
25
30
  min-height: 0;
26
31
  }
32
+
33
+ .ecs-tab-content-fill{
34
+ min-height: 100%;
35
+
36
+ .ecs-tab-pane{
37
+ min-height: 100%;
38
+ }
39
+ }
27
40
  </style>
@@ -6,6 +6,28 @@ 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
+
19
+ ## Version 1.2.2 (25 August 2022)
20
+
21
+ ### Features
22
+
23
+ - Added `fill` prop to EcsTabs component.
24
+
25
+ ## Version 1.2.1 (25 August 2022)
26
+
27
+ ### Features
28
+
29
+ - Added icons: `citation`, `card-view-settings`, `check`.
30
+
9
31
  ## Version 1.2.0 (24 August 2022)
10
32
 
11
33
  ### 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>
@@ -28,7 +28,7 @@ export const tabs = () => ({
28
28
  <ecs-tab-button @click="tabIndex = 2" :show="tabIndex == 2">Calendar</ecs-tab-button>
29
29
  <ecs-tab-button @click="tabIndex = 3" :show="tabIndex == 3">Versions</ecs-tab-button>
30
30
  </ecs-tab-bar>
31
- <ecs-tabs>
31
+ <ecs-tabs fill>
32
32
  <ecs-tab :show="tabIndex == 1">First Tab</ecs-tab>
33
33
  <ecs-tab :show="tabIndex == 2">Second Tab</ecs-tab>
34
34
  <ecs-tab :show="tabIndex == 3">Third Tab</ecs-tab>