@framework-m/ui 0.4.1 → 0.5.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.
- package/dist/components/Primitives.d.ts +3 -3
- package/dist/components/Skeleton.d.ts +10 -14
- package/dist/components/Skeleton.d.ts.map +1 -1
- package/dist/index.js +833 -783
- package/dist/index.js.map +1 -1
- package/dist/theme/mThemeConfig.d.ts +41 -1
- package/dist/theme/mThemeConfig.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -33,7 +33,47 @@ export declare const mThemeConfig: import('@tamagui/core').TamaguiInternalConfig
|
|
|
33
33
|
}, "color" | "space" | "size" | "radius" | "zIndex">, {
|
|
34
34
|
light: import('..').MTheme;
|
|
35
35
|
dark: import('..').MTheme;
|
|
36
|
-
}, {}, {
|
|
36
|
+
}, {}, {
|
|
37
|
+
xs: {
|
|
38
|
+
maxWidth: number;
|
|
39
|
+
};
|
|
40
|
+
sm: {
|
|
41
|
+
maxWidth: number;
|
|
42
|
+
};
|
|
43
|
+
md: {
|
|
44
|
+
maxWidth: number;
|
|
45
|
+
};
|
|
46
|
+
lg: {
|
|
47
|
+
maxWidth: number;
|
|
48
|
+
};
|
|
49
|
+
xl: {
|
|
50
|
+
maxWidth: number;
|
|
51
|
+
};
|
|
52
|
+
gtXs: {
|
|
53
|
+
minWidth: number;
|
|
54
|
+
};
|
|
55
|
+
gtSm: {
|
|
56
|
+
minWidth: number;
|
|
57
|
+
};
|
|
58
|
+
gtMd: {
|
|
59
|
+
minWidth: number;
|
|
60
|
+
};
|
|
61
|
+
gtLg: {
|
|
62
|
+
minWidth: number;
|
|
63
|
+
};
|
|
64
|
+
short: {
|
|
65
|
+
maxHeight: number;
|
|
66
|
+
};
|
|
67
|
+
tall: {
|
|
68
|
+
minHeight: number;
|
|
69
|
+
};
|
|
70
|
+
hoverNone: {
|
|
71
|
+
hover: string;
|
|
72
|
+
};
|
|
73
|
+
pointerCoarse: {
|
|
74
|
+
pointer: string;
|
|
75
|
+
};
|
|
76
|
+
}, {}, {
|
|
37
77
|
heading: {
|
|
38
78
|
family: string;
|
|
39
79
|
size: Record<string, number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mThemeConfig.d.ts","sourceRoot":"","sources":["../../src/theme/mThemeConfig.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"mThemeConfig.d.ts","sourceRoot":"","sources":["../../src/theme/mThemeConfig.ts"],"names":[],"mappings":"AAiDA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAuBvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC"}
|
package/dist/ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--spacing-2xl: 3rem;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-full: 9999px;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1);--font-sans: "Google Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", "Fira Code", monospace;--size-xs: .75rem;--size-sm: .875rem;--size-base: .875rem;--size-md: 1rem;--size-lg: 1.125rem;--size-xl: 1.375rem;--size-2xl: 1.75rem;--size-3xl: 2rem;--weight-normal: 400;--weight-medium: 500;--weight-semibold: 600;--weight-bold: 700;--leading-tight: 1.3;--leading-normal: 1.5;--leading-relaxed: 1.6}:root{--color-primary: #7C3AED;--color-primary-hover: #7C3AED;--color-primary-active: #6D28D9;--color-bg: #FFFFFF;--color-bg-secondary: #F8FAFC;--color-bg-tertiary: #F1F5F9;--color-border: #E2E8F0;--color-text: #0F172A;--color-text-secondary: #64748B;--color-text-muted: #94A3B8;--color-sidebar-bg: #021526;--color-sidebar-text: #E2E8F0;--color-sidebar-text-muted: rgba(255, 255, 255, .65);--color-sidebar-hover: rgba(139, 92, 246, .15);--color-sidebar-search-bg: rgba(255, 255, 255, .1);--color-sidebar-item-active-bg: rgba(139, 92, 246, .3);--color-success: #22C55E;--color-warning: #F59E0B;--color-error: #EF4444;--color-error-bg: #FFF2F0;--color-error-border: #FFCCC7;--color-focus-ring: rgba(139, 92, 246, .25);color-scheme:light}.dark{--color-primary: #A78BFA;--color-primary-hover: #8B5CF6;--color-primary-active: #7C3AED;--color-bg: #021526;--color-bg-secondary: #0F1F3A;--color-bg-tertiary: #1E3358;--color-border: #1E3358;--color-text: #F1F5F9;--color-text-secondary: #CBD5E1;--color-text-muted: #94A3B8;--color-sidebar-bg: #01101E;--color-sidebar-text: #E2E8F0;--color-sidebar-text-muted: #94A3B8;--color-sidebar-hover: rgba(167, 139, 250, .15);--color-sidebar-search-bg: rgba(255, 255, 255, .05);--color-sidebar-item-active-bg: rgba(167, 139, 250, .2);--color-success: #22C55E;--color-warning: #F59E0B;--color-error: #EF4444;--color-error-bg: rgba(239, 68, 68, .1);--color-error-border: rgba(239, 68, 68, .3);--color-focus-ring: rgba(167, 139, 250, .3);color-scheme:dark}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#0000001a;border-radius:10px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:#0003;background-clip:padding-box}.dark ::-webkit-scrollbar-thumb{background:#ffffff1a;background-clip:padding-box}.dark ::-webkit-scrollbar-thumb:hover{background:#fff3;background-clip:padding-box}aside ::-webkit-scrollbar-thumb{background:#ffffff0d}aside ::-webkit-scrollbar-thumb:hover{background:#ffffff26}
|
|
1
|
+
:root{--spacing-xs: .25rem;--spacing-sm: .5rem;--spacing-md: 1rem;--spacing-lg: 1.5rem;--spacing-xl: 2rem;--spacing-2xl: 3rem;--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--radius-xl: 12px;--radius-full: 9999px;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1);--font-sans: "Google Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-mono: "JetBrains Mono", "Fira Code", monospace;--size-xs: .75rem;--size-sm: .875rem;--size-base: .875rem;--size-md: 1rem;--size-lg: 1.125rem;--size-xl: 1.375rem;--size-2xl: 1.75rem;--size-3xl: 2rem;--weight-normal: 400;--weight-medium: 500;--weight-semibold: 600;--weight-bold: 700;--leading-tight: 1.3;--leading-normal: 1.5;--leading-relaxed: 1.6}:root{--color-primary: #7C3AED;--color-primary-hover: #7C3AED;--color-primary-active: #6D28D9;--color-bg: #FFFFFF;--color-bg-secondary: #F8FAFC;--color-bg-tertiary: #F1F5F9;--color-border: #E2E8F0;--color-text: #0F172A;--color-text-secondary: #64748B;--color-text-muted: #94A3B8;--color-sidebar-bg: #021526;--color-sidebar-text: #E2E8F0;--color-sidebar-text-muted: rgba(255, 255, 255, .65);--color-sidebar-hover: rgba(139, 92, 246, .15);--color-sidebar-search-bg: rgba(255, 255, 255, .1);--color-sidebar-item-active-bg: rgba(139, 92, 246, .3);--color-success: #22C55E;--color-warning: #F59E0B;--color-error: #EF4444;--color-error-bg: #FFF2F0;--color-error-border: #FFCCC7;--color-focus-ring: rgba(139, 92, 246, .25);color-scheme:light}.dark{--color-primary: #A78BFA;--color-primary-hover: #8B5CF6;--color-primary-active: #7C3AED;--color-bg: #021526;--color-bg-secondary: #0F1F3A;--color-bg-tertiary: #1E3358;--color-border: #1E3358;--color-text: #F1F5F9;--color-text-secondary: #CBD5E1;--color-text-muted: #94A3B8;--color-sidebar-bg: #01101E;--color-sidebar-text: #E2E8F0;--color-sidebar-text-muted: #94A3B8;--color-sidebar-hover: rgba(167, 139, 250, .15);--color-sidebar-search-bg: rgba(255, 255, 255, .05);--color-sidebar-item-active-bg: rgba(167, 139, 250, .2);--color-success: #22C55E;--color-warning: #F59E0B;--color-error: #EF4444;--color-error-bg: rgba(239, 68, 68, .1);--color-error-border: rgba(239, 68, 68, .3);--color-focus-ring: rgba(167, 139, 250, .3);color-scheme:dark}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#0000001a;border-radius:10px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:#0003;background-clip:padding-box}.dark ::-webkit-scrollbar-thumb{background:#ffffff1a;background-clip:padding-box}.dark ::-webkit-scrollbar-thumb:hover{background:#fff3;background-clip:padding-box}aside ::-webkit-scrollbar-thumb{background:#ffffff0d}aside ::-webkit-scrollbar-thumb:hover{background:#ffffff26}@keyframes skeleton-shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton{background:linear-gradient(90deg,var(--color-bg-tertiary) 25%,var(--color-border) 50%,var(--color-bg-tertiary) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite linear;display:inline-block;opacity:.6}.dark .skeleton{background:linear-gradient(90deg,var(--color-bg-tertiary) 25%,var(--color-bg-secondary) 50%,var(--color-bg-tertiary) 75%);background-size:200% 100%}
|