@bexis2/bexis2-core-ui 0.2.26 → 0.2.28

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/README.md CHANGED
@@ -1,4 +1,10 @@
1
1
  # bexis-core-ui
2
+ ## 0.2.28
3
+ - add disabled to multiselect
4
+
5
+ ## 0.2.27
6
+ - fix brand stretching
7
+
2
8
  ## 0.2.26
3
9
  - add fixLeft to page
4
10
 
@@ -1,4 +1,5 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
+ import type { ThemeSpec } from 'svelte-codemirror-editor';
2
3
  declare const __propDef: {
3
4
  props: {
4
5
  id: string;
@@ -9,7 +10,7 @@ declare const __propDef: {
9
10
  dark?: boolean | undefined;
10
11
  toggle?: boolean | undefined;
11
12
  actions?: boolean | undefined;
12
- styles?: any;
13
+ styles?: ThemeSpec | undefined;
13
14
  };
14
15
  events: {
15
16
  cancel: CustomEvent<any>;
@@ -21,6 +21,8 @@
21
21
  export let loading = false;
22
22
  export let help = false;
23
23
  export let clearable = true;
24
+ export let disabled = false;
25
+
24
26
 
25
27
  let isLoaded = false;
26
28
 
@@ -165,6 +167,7 @@
165
167
  hasError={invalid}
166
168
  {loading}
167
169
  {clearable}
170
+ {disabled}
168
171
  on:change
169
172
  on:input
170
173
  on:focus
@@ -6,6 +6,7 @@ export default class MultiSelect extends SvelteComponentTyped<{
6
6
  id: any;
7
7
  title: any;
8
8
  source: any;
9
+ disabled?: boolean | undefined;
9
10
  required?: boolean | undefined;
10
11
  invalid?: boolean | undefined;
11
12
  feedback?: string[] | undefined;
@@ -43,6 +44,7 @@ declare const __propDef: {
43
44
  id: any;
44
45
  title: any;
45
46
  source: any;
47
+ disabled?: boolean | undefined;
46
48
  required?: boolean | undefined;
47
49
  invalid?: boolean | undefined;
48
50
  feedback?: string[] | undefined;
@@ -54,7 +54,7 @@ onMount(async () => {
54
54
 
55
55
  <div class="flex flex-initial space-x-5">
56
56
  {#if $$slots.left}
57
- <div class="p-5 fixed flex-shrink-0 w-96 w-min-96 border-y border-solid border-surface-500" class:fixed={fixLeft}>
57
+ <div class="p-5 flex-shrink-0 w-96 w-min-96 border-y border-solid border-surface-500">
58
58
  <slot name="left" />
59
59
  </div>
60
60
  {/if}
@@ -23,7 +23,7 @@ let hamburger = true;
23
23
  <img
24
24
  src="data:{$menuStore.Logo.Mime};charset=utf-8;base64, {$menuStore.Logo.Data}"
25
25
  alt={$menuStore.Logo.Name}
26
- style="height:40px;"
26
+ style="height:40px; max-width: none;"
27
27
  />
28
28
  {/if}
29
29
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bexis2/bexis2-core-ui",
3
- "version": "0.2.26",
3
+ "version": "0.2.28",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -21,6 +21,8 @@
21
21
  export let loading = false;
22
22
  export let help = false;
23
23
  export let clearable = true;
24
+ export let disabled = false;
25
+
24
26
 
25
27
  let isLoaded = false;
26
28
 
@@ -165,6 +167,7 @@
165
167
  hasError={invalid}
166
168
  {loading}
167
169
  {clearable}
170
+ {disabled}
168
171
  on:change
169
172
  on:input
170
173
  on:focus
@@ -68,7 +68,7 @@
68
68
 
69
69
  <div class="flex flex-initial space-x-5">
70
70
  {#if $$slots.left}
71
- <div class="p-5 fixed flex-shrink-0 w-96 w-min-96 border-y border-solid border-surface-500" class:fixed={fixLeft}>
71
+ <div class="p-5 flex-shrink-0 w-96 w-min-96 border-y border-solid border-surface-500">
72
72
  <slot name="left" />
73
73
  </div>
74
74
  {/if}
@@ -27,7 +27,7 @@
27
27
  <img
28
28
  src="data:{$menuStore.Logo.Mime};charset=utf-8;base64, {$menuStore.Logo.Data}"
29
29
  alt={$menuStore.Logo.Name}
30
- style="height:40px;"
30
+ style="height:40px; max-width: none;"
31
31
  />
32
32
  {/if}
33
33
  </div>