@bexis2/bexis2-core-ui 0.4.82 → 0.4.83
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
|
@@ -28,25 +28,27 @@ function onMouseOut() {
|
|
|
28
28
|
<label class="label w-full flex" for="{id}">
|
|
29
29
|
<span class="grow"
|
|
30
30
|
>{label}
|
|
31
|
-
{#if required} <span class="text-
|
|
31
|
+
{#if required} <span class="text-xs text-red-600">*</span> {/if}
|
|
32
32
|
</span>
|
|
33
33
|
{#if description}
|
|
34
|
-
<button class="badge
|
|
34
|
+
<button class="badge " on:click={()=>showDescription = !showDescription}><Fa icon={faQuestion} /></button>
|
|
35
35
|
{/if}
|
|
36
36
|
</label>
|
|
37
37
|
|
|
38
|
+
|
|
39
|
+
{#if description && showDescription}
|
|
40
|
+
<div class="card text-sm text-gray-500 p-2 mb-2">{@html description}</div>
|
|
41
|
+
{/if}
|
|
42
|
+
<slot />
|
|
43
|
+
<div class="">
|
|
44
|
+
<span class="text-xs text-error-600 ">
|
|
38
45
|
{#if feedback}
|
|
39
|
-
<span class="text-sm text-error-600">
|
|
40
46
|
<ul>
|
|
41
47
|
{#each feedback as message}
|
|
42
48
|
<li>{message}</li>
|
|
43
49
|
{/each}
|
|
44
50
|
</ul>
|
|
51
|
+
{/if}
|
|
45
52
|
</span>
|
|
46
|
-
|
|
47
|
-
{#if description && showDescription}
|
|
48
|
-
<div class="card text-sm text-gray-500 p-2 mb-2">{@html description}</div>
|
|
49
|
-
{/if}
|
|
50
|
-
<slot />
|
|
51
|
-
|
|
53
|
+
</div>
|
|
52
54
|
</div>
|
package/dist/css/core.ui.postcss
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bexis2/bexis2-core-ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.83",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).",
|
|
6
6
|
"keywords": [
|
|
@@ -32,25 +32,27 @@ let showDescription: boolean = false;
|
|
|
32
32
|
<label class="label w-full flex" for="{id}">
|
|
33
33
|
<span class="grow"
|
|
34
34
|
>{label}
|
|
35
|
-
{#if required} <span class="text-
|
|
35
|
+
{#if required} <span class="text-xs text-red-600">*</span> {/if}
|
|
36
36
|
</span>
|
|
37
37
|
{#if description}
|
|
38
|
-
<button class="badge
|
|
38
|
+
<button class="badge " on:click={()=>showDescription = !showDescription}><Fa icon={faQuestion} /></button>
|
|
39
39
|
{/if}
|
|
40
40
|
</label>
|
|
41
41
|
|
|
42
|
+
|
|
43
|
+
{#if description && showDescription}
|
|
44
|
+
<div class="card text-sm text-gray-500 p-2 mb-2">{@html description}</div>
|
|
45
|
+
{/if}
|
|
46
|
+
<slot />
|
|
47
|
+
<div class="">
|
|
48
|
+
<span class="text-xs text-error-600 ">
|
|
42
49
|
{#if feedback}
|
|
43
|
-
<span class="text-sm text-error-600">
|
|
44
50
|
<ul>
|
|
45
51
|
{#each feedback as message}
|
|
46
52
|
<li>{message}</li>
|
|
47
53
|
{/each}
|
|
48
54
|
</ul>
|
|
55
|
+
{/if}
|
|
49
56
|
</span>
|
|
50
|
-
|
|
51
|
-
{#if description && showDescription}
|
|
52
|
-
<div class="card text-sm text-gray-500 p-2 mb-2">{@html description}</div>
|
|
53
|
-
{/if}
|
|
54
|
-
<slot />
|
|
55
|
-
|
|
57
|
+
</div>
|
|
56
58
|
</div>
|