@beweco/aurora-ui 0.1.59 → 0.1.61

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.
Files changed (29) hide show
  1. package/dist/assets/css/styles.css +1 -1
  2. package/dist/index.cjs.js +368 -9
  3. package/dist/index.esm.js +359 -10
  4. package/dist/types/components/input-password/InputPassword.d.ts +3 -0
  5. package/dist/types/components/input-password/InputPassword.d.ts.map +1 -0
  6. package/dist/types/components/input-password/InputPassword.types.d.ts +19 -0
  7. package/dist/types/components/input-password/InputPassword.types.d.ts.map +1 -0
  8. package/dist/types/components/input-password/index.d.ts +3 -0
  9. package/dist/types/components/input-password/index.d.ts.map +1 -0
  10. package/dist/types/components/menu/Menu.d.ts.map +1 -1
  11. package/dist/types/components/menu/Menu.types.d.ts +4 -0
  12. package/dist/types/components/menu/Menu.types.d.ts.map +1 -1
  13. package/dist/types/contexts/theme/theme-context.d.ts.map +1 -1
  14. package/dist/types/contexts/theme/theme-context.type.d.ts +2 -1
  15. package/dist/types/contexts/theme/theme-context.type.d.ts.map +1 -1
  16. package/dist/types/index.d.ts +2 -0
  17. package/dist/types/index.d.ts.map +1 -1
  18. package/dist/types/providers/theme/apply-custom-color.d.ts +4 -0
  19. package/dist/types/providers/theme/apply-custom-color.d.ts.map +1 -0
  20. package/dist/types/providers/theme/generate-color-scale.d.ts +10 -0
  21. package/dist/types/providers/theme/generate-color-scale.d.ts.map +1 -0
  22. package/dist/types/providers/theme/hex-to-theme-color.d.ts +6 -0
  23. package/dist/types/providers/theme/hex-to-theme-color.d.ts.map +1 -0
  24. package/dist/types/providers/theme/index.d.ts +3 -0
  25. package/dist/types/providers/theme/index.d.ts.map +1 -1
  26. package/dist/types/providers/theme/theme-provider.d.ts.map +1 -1
  27. package/dist/types/providers/theme/useThemeManager.d.ts +4 -2
  28. package/dist/types/providers/theme/useThemeManager.d.ts.map +1 -1
  29. package/package.json +1 -1
@@ -1,3 +1,6 @@
1
+ export * from "./hex-to-theme-color";
2
+ export * from "./generate-color-scale";
3
+ export * from "./apply-custom-color";
1
4
  export * from "./theme-provider";
2
5
  export * from "./theme-provider.types";
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CAe5C,CAAC"}
1
+ {"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CAgB5C,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import type { ThemeColor, ThemeMode } from "../../contexts/theme/theme-context.type";
2
2
  /**
3
3
  * Custom hook to manage the theme state and side effects.
4
- * @returns An object with the current mode, color, and functions to set them.
4
+ * Supports both named ThemeColor values and arbitrary hex colors.
5
+ * @returns An object with the current mode, color, customHex, and functions to set them.
5
6
  */
6
7
  export declare const useThemeManager: () => {
7
8
  mode: ThemeMode;
8
9
  color: ThemeColor;
10
+ customHex: string | null;
9
11
  setMode: (newMode: ThemeMode) => void;
10
- setColor: (newColor: ThemeColor) => void;
12
+ setColor: (newColor: ThemeColor | string) => void;
11
13
  };
12
14
  //# sourceMappingURL=useThemeManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useThemeManager.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/useThemeManager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACX,UAAU,EACV,SAAS,EACT,MAAM,yCAAyC,CAAC;AAGjD;;;GAGG;AACH,eAAO,MAAM,eAAe;;;uBAmChB,SAAS;yBAQR,UAAU;CAatB,CAAC"}
1
+ {"version":3,"file":"useThemeManager.d.ts","sourceRoot":"","sources":["../../../../src/providers/theme/useThemeManager.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACX,UAAU,EACV,SAAS,EACT,MAAM,yCAAyC,CAAC;AAYjD;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;uBA4ChB,SAAS;yBAQR,UAAU,GAAG,MAAM;CAqC/B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beweco/aurora-ui",
3
- "version": "0.1.59",
3
+ "version": "0.1.61",
4
4
  "description": "Bewe Aurora UI Component Library",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",