@hyvor/design 0.0.39 → 0.0.40

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.
@@ -2,11 +2,16 @@
2
2
  import Label from "../FormControl/Label.svelte";
3
3
  export let label = "";
4
4
  export let caption = "";
5
+ export let column = false;
5
6
  export let flex = [1, 2];
6
7
  </script>
7
8
 
8
9
 
9
- <div class="split-control" class:has-nested={$$slots.nested}>
10
+ <div
11
+ class="split-control"
12
+ class:has-nested={$$slots.nested}
13
+ class:column={column}
14
+ >
10
15
 
11
16
  <div
12
17
  class="left"
@@ -58,6 +63,12 @@ export let flex = [1, 2];
58
63
  .split-control:last-child, .split-control.has-nested {
59
64
  border-bottom: none;
60
65
  }
66
+ .split-control.column {
67
+ flex-direction: column;
68
+ }
69
+ .split-control.column .right {
70
+ padding-top: 0;
71
+ }
61
72
 
62
73
  .nested {
63
74
  margin-left: 40px;
@@ -3,6 +3,7 @@ declare const __propDef: {
3
3
  props: {
4
4
  label?: string | undefined;
5
5
  caption?: string | undefined;
6
+ column?: boolean | undefined;
6
7
  flex?: number[] | undefined;
7
8
  };
8
9
  events: {
@@ -16,7 +16,7 @@ useCleaner();
16
16
  top: 0;
17
17
  left: 0;
18
18
  width: 100%;
19
- z-index: 10000;
19
+ z-index: 20000000;
20
20
  display: flex;
21
21
  flex-direction: column;
22
22
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyvor/design",
3
- "version": "0.0.39",
3
+ "version": "0.0.40",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "scripts": {