@nurtjahjo/swaraksara-ui-theme 0.3.11 → 0.3.13
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/icons/duotone/fill-drip.svg +1 -0
- package/dist/index.d.ts +6 -4
- package/dist/swaraksara-ui.js +481 -487
- package/dist/swaraksara-ui.umd.cjs +6 -6
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><defs><style>.fa-secondary{opacity:.4}</style></defs><path class="fa-secondary" d="M67.5 288H386.7L238.6 436.1c-12.5 12.5-32.8 12.5-45.3 0L75.9 318.6c-8.3-8.3-11.1-20-8.4-30.6zM512 512c-35.3 0-64-28.7-64-64c0-25.2 32.6-79.6 51.2-108.7c6-9.4 19.5-9.4 25.5 0C543.4 368.4 576 422.8 576 448c0 35.3-28.7 64-64 64z"/><path class="fa-primary" d="M86.6 9.4C74.1-3.1 53.9-3.1 41.4 9.4s-12.5 32.8 0 45.3L122.7 136 30.6 228.1c-37.5 37.5-37.5 98.3 0 135.8L148.1 481.4c37.5 37.5 98.3 37.5 135.8 0L474.3 290.9c28.1-28.1 28.1-73.7 0-101.8L322.9 37.7c-28.1-28.1-73.7-28.1-101.8 0L168 90.7 86.6 9.4zM168 181.3l49.4 49.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L213.3 136l53.1-53.1c3.1-3.1 8.2-3.1 11.3 0L429.1 234.3c3.1 3.1 3.1 8.2 0 11.3L238.6 436.1c-12.5 12.5-32.8 12.5-45.3 0L75.9 318.6c-12.5-12.5-12.5-32.8 0-45.3L168 181.3z"/></svg>
|
package/dist/index.d.ts
CHANGED
|
@@ -61,15 +61,17 @@ declare interface SidebarProps {
|
|
|
61
61
|
|
|
62
62
|
declare interface ThemeContextType {
|
|
63
63
|
mode: ThemeMode;
|
|
64
|
-
resolvedTheme: 'light' | 'dark';
|
|
65
64
|
setMode: (mode: ThemeMode) => void;
|
|
66
65
|
}
|
|
67
66
|
|
|
68
|
-
export declare type ThemeMode = 'light' | 'dark'
|
|
67
|
+
export declare type ThemeMode = 'light' | 'dark';
|
|
69
68
|
|
|
70
|
-
export declare const ThemeProvider: default_2.FC<
|
|
69
|
+
export declare const ThemeProvider: default_2.FC<ThemeProviderProps>;
|
|
70
|
+
|
|
71
|
+
declare interface ThemeProviderProps {
|
|
71
72
|
children: default_2.ReactNode;
|
|
72
|
-
|
|
73
|
+
defaultMode?: ThemeMode;
|
|
74
|
+
}
|
|
73
75
|
|
|
74
76
|
export declare const ThemeSwitcher: default_2.FC;
|
|
75
77
|
|