Skip to content

Commit a1df757

Browse files
committed
Core UI: UX improvements #BEXIS2/Core#2223
1 parent 6e6ab39 commit a1df757

File tree

5 files changed

+32
-6
lines changed

5 files changed

+32
-6
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,30 @@
11
# bexis-core-ui
2+
## 0.4.59
3+
- Table
4+
- remove static title "table"
5+
- shorten upload text
6+
- remove last comma allowed files list
7+
- remove title about sorting, if not possible
8+
9+
## 0.4.49 -> 0.4.53
10+
- Api
11+
- remove __RequestVerificationToken from header
12+
- change post request to 'application/x-www-form-urlencoded'
13+
- add __RequestVerificationToken to data
14+
15+
## 0.4.48
16+
- Api
17+
- add __RequestVerificationToken if exist
18+
19+
## 0.4.47
20+
- Menu
21+
- change hover over menu items
22+
23+
## 0.4.46
24+
- Menu
25+
- Add hover to menu
26+
- Fix Missing nowrap in menu
27+
228
## 0.4.45
329
- Menu
430
- hide gear if settings array has no entry

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bexis2/bexis2-core-ui",
3-
"version": "0.4.45",
3+
"version": "0.4.59",
44
"private": false,
55
"scripts": {
66
"dev": "vite dev",

src/lib/components/File/FileUploader.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
>
178178
<b style="font-size:xx-large"><Fa icon={faFileUpload} /></b>
179179
<span
180-
><b>Drag 'n' drop some files here, or click to select files</b>
180+
><b>Drag 'n' drop or click to select files</b>
181181
<b>(max file size: {model.maxSize} mb)</b></span
182182
>
183183
<p>

src/lib/components/Table/TableContent.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,8 @@
535535
{...$tableAttrs}
536536
class="table table-auto table-compact bg-tertiary-500/30 dark:bg-tertiary-900/10 overflow-clip"
537537
id="{tableId}-table"
538-
title="Table"
539538
>
539+
<!-- title="Table" removed from top, as this should be handled by the surrounding container for better accessibility -->
540540
<!-- If table height is provided, making the top row sticky -->
541541
<thead class={height != null && $pageRows.length > 0 ? `sticky top-0` : ''}>
542542
<!-- {#if $data.length > 0} -->
@@ -583,11 +583,11 @@
583583
class:cursor-pointer={!props.sort.disabled}
584584
on:click={props.sort.toggle}
585585
on:keydown={props.sort.toggle}
586-
title={props.sort.order === 'asc'
586+
title={props.sort.disabled ? undefined : (props.sort.order === 'asc'
587587
? `Sort by ${cell.label} column in descending order`
588588
: props.sort.order === 'desc'
589589
? `Remove sorting by ${cell.label} column`
590-
: `Sort by ${cell.label} column in ascending order`}
590+
: `Sort by ${cell.label} column in ascending order`)}
591591
>
592592
{cell.render().replaceAll("%%%", '.')}
593593
</span>

src/lib/components/page/Docs.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{/if}
4040

4141
{#each links as link}
42-
<span role="button" tabindex="0" title="link" class="chip variant-soft hover:variant-filled" on:click={() => goTo(link.url, false)} on:keypress={() => goTo(link.url, false)}>
42+
<span role="button" tabindex="0" title={link.label} class="chip variant-soft hover:variant-filled" on:click={() => goTo(link.url, false)} on:keypress={() => goTo(link.url, false)}>
4343
<span>
4444
{#if link.label.toLowerCase()=='manual'}
4545
<Fa icon={faBook} />

0 commit comments

Comments
 (0)