@bexis2/bexis2-core-ui 0.2.25 → 0.2.26

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,7 @@
1
1
  # bexis-core-ui
2
+ ## 0.2.26
3
+ - add fixLeft to page
4
+
2
5
  ## 0.2.25
3
6
  - hide console.logs
4
7
  - file uploader return list of uploaded files after success
@@ -20,6 +20,7 @@ export let menu = true;
20
20
  export let footer = true;
21
21
  export let help = false;
22
22
  export let contentLayoutType = pageContentLayoutType.center;
23
+ export let fixLeft = true;
23
24
  onMount(async () => {
24
25
  console.log("page");
25
26
  breadcrumbStore.clean();
@@ -53,7 +54,7 @@ onMount(async () => {
53
54
 
54
55
  <div class="flex flex-initial space-x-5">
55
56
  {#if $$slots.left}
56
- <div class="p-5 flex-shrink-0 w-96 w-min-96 border-y border-solid border-surface-500">
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
58
  <slot name="left" />
58
59
  </div>
59
60
  {/if}
@@ -73,7 +74,7 @@ onMount(async () => {
73
74
  {/if}
74
75
 
75
76
  {#if $$slots.right}
76
- <div class=" p-5 flex-shrink-0 w-96 border-y border-solid border-surface-500">
77
+ <div class=" p-5 fixed flex-shrink-0 w-96 border-y border-solid border-surface-500">
77
78
  <slot name="right" />
78
79
  </div>
79
80
  {/if}
@@ -10,6 +10,7 @@ declare const __propDef: {
10
10
  footer?: boolean | undefined;
11
11
  help?: boolean | undefined;
12
12
  contentLayoutType?: pageContentLayoutType | undefined;
13
+ fixLeft?: boolean | undefined;
13
14
  };
14
15
  events: {
15
16
  [evt: string]: CustomEvent<any>;
@@ -16,7 +16,7 @@ let popupCombobox = {
16
16
  {#if menubarItem.Items.length < 1}
17
17
  <div class="p-2">
18
18
  <button class="grid" use:popup={popupCombobox} on:click={() => goTo(menubarItem.Url)}>
19
- <span class="capitalize">{comboboxValue ?? menubarItem.Title}</span>
19
+ <span class="capitalize whitespace-nowrap">{comboboxValue ?? menubarItem.Title}</span>
20
20
  </button>
21
21
  </div>
22
22
  {:else}
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@bexis2/bexis2-core-ui",
3
- "version": "0.2.25",
3
+ "version": "0.2.26",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
- "package": "svelte-package",
8
7
  "build": "vite build",
9
8
  "build package": "svelte-kit sync && svelte-package --watch",
10
9
  "preview": "vite preview",
@@ -14,9 +13,9 @@
14
13
  "test:unit": "vitest",
15
14
  "lint": "prettier --plugin-search-dir . --check . && eslint .",
16
15
  "format": "prettier --plugin-search-dir . --write .",
17
- "init": "npm init --scope bexis2",
18
- "link": "npm link",
19
- "publish": "npm publish --access public"
16
+ "1.npm - update package infos": "npm init --scope bexis2",
17
+ "2.npm - package": "svelte-package",
18
+ "3.npm - publish": "npm publish --access public"
20
19
  },
21
20
  "devDependencies": {
22
21
  "@playwright/test": "^1.36.2",
@@ -33,6 +33,7 @@
33
33
  export let footer: boolean = true;
34
34
  export let help: boolean = false;
35
35
  export let contentLayoutType: pageContentLayoutType = pageContentLayoutType.center;
36
+ export let fixLeft:boolean = true;
36
37
 
37
38
  onMount(async () => {
38
39
  console.log('page');
@@ -67,7 +68,7 @@
67
68
 
68
69
  <div class="flex flex-initial space-x-5">
69
70
  {#if $$slots.left}
70
- <div class="p-5 flex-shrink-0 w-96 w-min-96 border-y border-solid border-surface-500">
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
72
  <slot name="left" />
72
73
  </div>
73
74
  {/if}
@@ -87,7 +88,7 @@
87
88
  {/if}
88
89
 
89
90
  {#if $$slots.right}
90
- <div class=" p-5 flex-shrink-0 w-96 border-y border-solid border-surface-500">
91
+ <div class=" p-5 fixed flex-shrink-0 w-96 border-y border-solid border-surface-500">
91
92
  <slot name="right" />
92
93
  </div>
93
94
  {/if}
@@ -27,7 +27,7 @@
27
27
  {#if menubarItem.Items.length < 1}
28
28
  <div class="p-2">
29
29
  <button class="grid" use:popup={popupCombobox} on:click={() => goTo(menubarItem.Url)}>
30
- <span class="capitalize">{comboboxValue ?? menubarItem.Title}</span>
30
+ <span class="capitalize whitespace-nowrap">{comboboxValue ?? menubarItem.Title}</span>
31
31
  </button>
32
32
  </div>
33
33
  {:else}