y200subcontrols 0.0.392 → 0.0.393
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.
|
@@ -30,6 +30,7 @@ export let title = "";
|
|
|
30
30
|
{buttonStyle === 'amber' ? 'bg-amber-600 text-amber-50 ring-amber-600/20' : ''}
|
|
31
31
|
{buttonStyle === 'cyan' ? 'bg-cyan-600 text-cyan-50 ring-cyan-600/20' : ''}
|
|
32
32
|
{buttonStyle === 'sky' ? 'bg-sky-600 text-sky-50 ring-sky-600/20' : ''}
|
|
33
|
+
{buttonStyle === 'white' ? 'bg-white text-slate-950 ring-white/20' : ''}
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
data-[loading='false']:disabled:bg-slate-100 data-[loading='false']:disabled:text-slate-300 disabled:ring-0
|
|
@@ -8,8 +8,22 @@ export let textColor = "white";
|
|
|
8
8
|
{size === 'sm' ? 'h-5 w-5' : ''}
|
|
9
9
|
{size === 'md' ? 'h-8 w-8' : ''}
|
|
10
10
|
{size === 'lg' ? 'h-10 w-10' : ''}
|
|
11
|
+
{size === 'xl' ? 'h-15 w-15' : ''}
|
|
12
|
+
{textColor === 'red' ? 'text-red-500' : ''}
|
|
13
|
+
{textColor === 'dark' ? 'text-slate-950' : ''}
|
|
14
|
+
{textColor === 'indigo' ? 'text-indigo-500' : ''}
|
|
15
|
+
{textColor === 'teal' ? 'text-teal-500' : ''}
|
|
11
16
|
{textColor === 'blue' ? 'text-blue-500' : ''}
|
|
17
|
+
{textColor === 'purple' ? 'text-purple-500' : ''}
|
|
18
|
+
{textColor === 'slate' ? 'text-slate-500' : ''}
|
|
19
|
+
{textColor === 'orange' ? 'text-orange-500' : ''}
|
|
20
|
+
{textColor === 'amber' ? 'text-amber-500' : ''}
|
|
21
|
+
{textColor === 'cyan' ? 'text-cyan-500' : ''}
|
|
22
|
+
{textColor === 'sky' ? 'text-sky-500' : ''}
|
|
12
23
|
{textColor === 'white' ? 'text-white' : ''}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
13
27
|
"
|
|
14
28
|
xmlns="http://www.w3.org/2000/svg"
|
|
15
29
|
fill="none"
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SvelteComponent } from "svelte";
|
|
2
|
+
import type { ColorThemes } from './types.js';
|
|
2
3
|
declare const __propDef: {
|
|
3
4
|
props: {
|
|
4
|
-
size?: "sm" | "md" | "lg";
|
|
5
|
-
textColor?:
|
|
5
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
6
|
+
textColor?: ColorThemes;
|
|
6
7
|
};
|
|
7
8
|
events: {
|
|
8
9
|
[evt: string]: CustomEvent<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type Size = 'sm' | 'md' | 'lg';
|
|
2
|
-
export type ColorThemes = 'red' | 'dark' | 'indigo' | 'teal' | 'blue' | 'purple' | 'slate' | 'orange' | 'amber' | 'cyan' | 'sky';
|
|
2
|
+
export type ColorThemes = 'red' | 'dark' | 'indigo' | 'teal' | 'blue' | 'purple' | 'slate' | 'orange' | 'amber' | 'cyan' | 'sky' | 'white';
|
|
3
3
|
export type PopupMenuItem = {
|
|
4
4
|
id: number;
|
|
5
5
|
content: string;
|