y200subcontrols 0.1.373 → 0.1.374
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.
|
@@ -112,7 +112,7 @@ function closeAdvancedSearch() {
|
|
|
112
112
|
type="button"
|
|
113
113
|
class="px-3 py-1.5 bg-blue-500 text-blue-50
|
|
114
114
|
focus:outline-none focus:ring ring-blue-500/20 active:z-[500]
|
|
115
|
-
hover:bg-blue-600 disabled:bg-slate-100 disabled:text-slate-300
|
|
115
|
+
hover:bg-blue-600 disabled:bg-slate-100 disabled:text-slate-300 cursor-pointer
|
|
116
116
|
last-of-type:rounded-r-md"
|
|
117
117
|
on:click={() => dispatch('addnew')}
|
|
118
118
|
>
|
|
@@ -169,7 +169,7 @@ function closeAdvancedSearch() {
|
|
|
169
169
|
<div class=" mx-2 relative my-auto">
|
|
170
170
|
<button
|
|
171
171
|
type="button"
|
|
172
|
-
class="px-3 py-1.5 text-blue-500 border border-blue-500 rounded
|
|
172
|
+
class="px-3 py-1.5 text-blue-500 border border-blue-500 rounded cursor-pointer
|
|
173
173
|
hover:bg-blue-50 active:bg-blue-500 active:text-blue-50 outline-blue-600 h-full
|
|
174
174
|
disabled:text-slate-300 disabled:bg-slate-100 disabled:border-slate-400 disabled:outline-none"
|
|
175
175
|
on:click={() => (isMenuOpen = true)}
|
|
@@ -199,7 +199,7 @@ function closeAdvancedSearch() {
|
|
|
199
199
|
<li class="flex">
|
|
200
200
|
<button
|
|
201
201
|
disabled={menuItem.disabled}
|
|
202
|
-
class="space-x-1 px-2 text-slate-600 hover:bg-slate-500/20
|
|
202
|
+
class="space-x-1 px-2 text-slate-600 hover:bg-slate-500/20 cursor-pointer
|
|
203
203
|
block flex-grow py-1 text-left active:text-slate-50 active:bg-slate-500
|
|
204
204
|
transition-all ease-in-out duration-300 focus:outline-none outline-none
|
|
205
205
|
disabled:text-slate-300 disabled:hover:bg-transparent whitespace-nowrap"
|
|
@@ -43,7 +43,7 @@ onMount(() => {
|
|
|
43
43
|
<div class="relative">
|
|
44
44
|
<button
|
|
45
45
|
type="button"
|
|
46
|
-
class="px-3 py-1 rounded bg-emerald-500 text-emerald-50
|
|
46
|
+
class="px-3 py-1 rounded bg-emerald-500 text-emerald-50 cursor-pointer
|
|
47
47
|
disabled:bg-slate-100 disabled:text-slate-300"
|
|
48
48
|
disabled={isDisabled}
|
|
49
49
|
on:click={openMenu}
|
|
@@ -16,7 +16,7 @@ $: {
|
|
|
16
16
|
target={traget}
|
|
17
17
|
href={hrefInternal}
|
|
18
18
|
aria-disabled={disabled}
|
|
19
|
-
class="px-1 py-1 {customCss} text-slate-600 dark:text-slate-200
|
|
19
|
+
class="px-1 py-1 {customCss} text-slate-600 dark:text-slate-200 cursor-pointer
|
|
20
20
|
{id}
|
|
21
21
|
{linkStyle === 'blue' ? 'hover:text-blue-500 active:text-blue-600' : ''}
|
|
22
22
|
{linkStyle === 'red' ? 'hover:text-red-500 active:text-red-600' : ''}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
export let linkStyle = "teal";
|
|
1
|
+
<script>export let linkStyle = "teal";
|
|
3
2
|
export let disabled = false;
|
|
4
3
|
export let id = void 0;
|
|
5
4
|
export let type = "button";
|
|
@@ -10,7 +9,7 @@ export let customCss = "";
|
|
|
10
9
|
{type}
|
|
11
10
|
on:click
|
|
12
11
|
{disabled}
|
|
13
|
-
class="px-1 py-1 {customCss} text-slate-600 dark:text-slate-200
|
|
12
|
+
class="px-1 py-1 {customCss} text-slate-600 dark:text-slate-200 cursor-pointer
|
|
14
13
|
{id}
|
|
15
14
|
{linkStyle === 'blue' ? 'hover:text-blue-500 active:text-blue-600' : ''}
|
|
16
15
|
{linkStyle === 'red' ? 'hover:text-red-500 active:text-red-600' : ''}
|