@sykoramaros/marosh-components 0.2.0 → 0.2.4

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/index.d.ts CHANGED
@@ -50,6 +50,22 @@ export declare interface FooterSocial {
50
50
  icon?: string | LucideIcon | React.ComponentType;
51
51
  }
52
52
 
53
+ export declare interface Language {
54
+ code: string;
55
+ label: string;
56
+ flag: string;
57
+ }
58
+
59
+ export declare function LanguageSwitcher({ languages, value, onChange, variant, className, }: LanguageSwitcherProps): JSX.Element;
60
+
61
+ export declare interface LanguageSwitcherProps {
62
+ languages: Language[];
63
+ value: string;
64
+ onChange: (code: string) => void;
65
+ variant?: "default" | "bubble";
66
+ className?: string;
67
+ }
68
+
53
69
  export declare interface LinkComponentProps {
54
70
  to: string;
55
71
  className?: string;
@@ -96,7 +112,7 @@ export declare interface ThemeConfig {
96
112
  dark: Record<string, string>;
97
113
  };
98
114
  css?: {
99
- "@layer base"?: Record<string, any>;
115
+ "@layer base"?: Record<string, Record<string, string>>;
100
116
  };
101
117
  }
102
118