react-asc 23.4.0 → 23.4.1

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.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { COLOR } from '../component.enums';
3
3
  export interface IButtonContext {
4
- color: COLOR;
4
+ color: COLOR | null;
5
5
  }
6
6
  export declare const ButtonContext: import("react").Context<IButtonContext>;
7
7
  export declare const useButtonContext: () => IButtonContext;
package/index.es.js CHANGED
@@ -528,7 +528,7 @@ var styles$O = {"button":"Button-module_button__qeIer","shadow":"Button-module_s
528
528
  styleInject(css_248z$O);
529
529
 
530
530
  const ButtonContext = createContext({
531
- color: COLOR.primary
531
+ color: null
532
532
  });
533
533
  const useButtonContext = () => useContext(ButtonContext);
534
534
 
package/index.js CHANGED
@@ -536,7 +536,7 @@ var styles$O = {"button":"Button-module_button__qeIer","shadow":"Button-module_s
536
536
  styleInject(css_248z$O);
537
537
 
538
538
  const ButtonContext = React.createContext({
539
- color: exports.COLOR.primary
539
+ color: null
540
540
  });
541
541
  const useButtonContext = () => React.useContext(ButtonContext);
542
542
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-asc",
3
- "version": "23.4.0",
3
+ "version": "23.4.1",
4
4
  "description": "handcrafted react components",
5
5
  "main": "index.js",
6
6
  "module": "index.es.js",