@marianmeres/stuic 2.26.0 → 2.27.0
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.
|
@@ -43,8 +43,9 @@
|
|
|
43
43
|
border-button-border dark:border-button-border-dark
|
|
44
44
|
rounded-md
|
|
45
45
|
inline-flex items-center justify-center gap-x-2
|
|
46
|
-
px-
|
|
46
|
+
px-4 py-3
|
|
47
47
|
select-none
|
|
48
|
+
min-h-[44px] min-w-[44px]
|
|
48
49
|
|
|
49
50
|
hover:brightness-105
|
|
50
51
|
active:brightness-95
|
|
@@ -59,7 +60,7 @@
|
|
|
59
60
|
|
|
60
61
|
export const BUTTON_STUIC_PRESET_CLASSES: ButtonPresetClasses = {
|
|
61
62
|
size: {
|
|
62
|
-
sm: `text-sm rounded-sm px-
|
|
63
|
+
sm: `text-sm rounded-sm px-3 py-2 min-h-none min-w-none`,
|
|
63
64
|
lg: `text-base rounded-md`,
|
|
64
65
|
},
|
|
65
66
|
variant: {
|
|
@@ -31,7 +31,7 @@ export interface ButtonPresetClasses {
|
|
|
31
31
|
shadow: string;
|
|
32
32
|
inverse: string;
|
|
33
33
|
}
|
|
34
|
-
export declare const BUTTON_STUIC_BASE_CLASSES = "\n\t\tbg-button-bg text-button-text\n\t\tdark:bg-button-bg-dark dark:text-button-text-dark\n\t\tfont-mono text-sm text-center\n\t\tleading-none\n\t\tborder-1\n\t\tborder-button-border dark:border-button-border-dark\n\t\trounded-md\n\t\tinline-flex items-center justify-center gap-x-2\n\t\tpx-
|
|
34
|
+
export declare const BUTTON_STUIC_BASE_CLASSES = "\n\t\tbg-button-bg text-button-text\n\t\tdark:bg-button-bg-dark dark:text-button-text-dark\n\t\tfont-mono text-sm text-center\n\t\tleading-none\n\t\tborder-1\n\t\tborder-button-border dark:border-button-border-dark\n\t\trounded-md\n\t\tinline-flex items-center justify-center gap-x-2\n\t\tpx-4 py-3\n\t\tselect-none\n\t\tmin-h-[44px] min-w-[44px]\n\n\t\thover:brightness-105\n\t\tactive:brightness-95\n\t\tdisabled:hover:brightness-100 disabled:opacity-50\n\n\t\tfocus:brightness-105\n\t\tfocus:border-button-border-focus focus:dark:border-button-border-focus-dark\n\n\t\t focus:outline-4 focus:outline-black/10 focus:dark:outline-white/20\n\t\tfocus-visible:outline-4 focus-visible:outline-black/10 focus-visible:dark:outline-white/20\n\t";
|
|
35
35
|
export declare const BUTTON_STUIC_PRESET_CLASSES: ButtonPresetClasses;
|
|
36
36
|
import "./index.css";
|
|
37
37
|
import { type TooltipConfig } from "../../actions/index.js";
|