@cdx-ui/utils 0.0.1-beta.103 → 0.0.1-beta.104

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 (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -33,11 +33,11 @@ pnpm add @cdx-ui/utils
33
33
 
34
34
  Used internally by `@cdx-ui/components` to propagate variant props (size, color, etc.) from a compound root to its sub-components.
35
35
 
36
- | Export | Description |
37
- | ------------------------------------- | ---------------------------------------------------------------------------------- |
38
- | `ParentContext` | React context for propagating variant props from a compound root to sub-components. Wrap children in `<ParentContext.Provider value={...}>`. |
39
- | `useStyleContext(scope?)` | Reads the style context set by the nearest `ParentContext.Provider`. |
40
- | `useParentContext()` | Reads the full `StyleContextMap` from the nearest provider. |
36
+ | Export | Description |
37
+ | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
38
+ | `ParentContext` | React context for propagating variant props from a compound root to sub-components. Wrap children in `<ParentContext.Provider value={...}>`. |
39
+ | `useStyleContext(scope?)` | Reads the style context set by the nearest `ParentContext.Provider`. |
40
+ | `useParentContext()` | Reads the full `StyleContextMap` from the nearest provider. |
41
41
 
42
42
  ### Form control
43
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdx-ui/utils",
3
- "version": "0.0.1-beta.103",
3
+ "version": "0.0.1-beta.104",
4
4
  "main": "lib/commonjs/index.js",
5
5
  "module": "lib/module/index.js",
6
6
  "react-native": "src/index.ts",
@@ -47,10 +47,10 @@
47
47
  }
48
48
  },
49
49
  "devDependencies": {
50
- "@types/react": "*",
50
+ "@types/react": "19.1.17",
51
51
  "@types/react-dom": "*",
52
- "react": "*",
53
- "react-dom": "*",
52
+ "react": "19.1.0",
53
+ "react-dom": "19.1.0",
54
54
  "react-native": "*",
55
55
  "react-native-builder-bob": "*",
56
56
  "react-native-web": "*",