@latte-macchiat-io/latte-vanilla-components 0.0.162 → 0.0.164

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.
@@ -0,0 +1,2 @@
1
+ export declare function getCookie(name: string): string;
2
+ export declare function setCookie(name: string, value: string, expirationInDays: number): void;
@@ -0,0 +1,2 @@
1
+ declare const deepMergeObjects: (obj1: any, obj2: any) => any;
2
+ export default deepMergeObjects;
@@ -0,0 +1,19 @@
1
+ import { baseLightTheme } from '../theme/baseThemeValues';
2
+ export type ThemeOverrides = {
3
+ colors?: Partial<typeof baseLightTheme.colors>;
4
+ space?: Partial<typeof baseLightTheme.space>;
5
+ radii?: Partial<typeof baseLightTheme.radii>;
6
+ fonts?: Partial<typeof baseLightTheme.fonts>;
7
+ maxWidth?: Partial<typeof baseLightTheme.maxWidth>;
8
+ fontSizes?: Partial<typeof baseLightTheme.fontSizes>;
9
+ fontWeights?: Partial<typeof baseLightTheme.fontSizes>;
10
+ lineHeights?: Partial<typeof baseLightTheme.fontSizes>;
11
+ shadows?: Partial<typeof baseLightTheme.fontSizes>;
12
+ section?: Partial<typeof baseLightTheme.fontSizes>;
13
+ header?: Partial<typeof baseLightTheme.fontSizes>;
14
+ footer?: Partial<typeof baseLightTheme.fontSizes>;
15
+ };
16
+ export declare const createAppTheme: (selector: string, overrides?: ThemeOverrides) => void;
17
+ export declare const createAppDarkTheme: (selector: string, overrides?: ThemeOverrides) => void;
18
+ export declare const createLightTheme: (overrides?: ThemeOverrides) => void;
19
+ export declare const createDarkTheme: (overrides?: ThemeOverrides) => void;
@@ -0,0 +1 @@
1
+ export declare function useBreakpointKey(): number;
@@ -0,0 +1,5 @@
1
+ declare function useWindowSize(): {
2
+ width: undefined | number;
3
+ height: undefined | number;
4
+ };
5
+ export default useWindowSize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.162",
3
+ "version": "0.0.164",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",