@octanejs/cmdk 0.1.37 → 0.1.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/cmdk",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -31,10 +31,10 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@octanejs/radix": "0.1.53"
34
+ "@octanejs/radix": "0.1.55"
35
35
  },
36
36
  "peerDependencies": {
37
- "octane": "^0.1.51 || ^0.2.0"
37
+ "octane": "^0.4.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@testing-library/jest-dom": "^6.9.1",
@@ -46,8 +46,8 @@
46
46
  "react": "19.2.7",
47
47
  "react-dom": "19.2.7",
48
48
  "vitest": "^4.1.10",
49
- "@octanejs/testing-library": "0.1.51",
50
- "octane": "0.2.12"
49
+ "@octanejs/testing-library": "0.1.53",
50
+ "octane": "0.4.0"
51
51
  },
52
52
  "scripts": {
53
53
  "test": "vitest run"
@@ -732,8 +732,8 @@ export function CommandRoot(props: CommandProps) @{
732
732
  }}
733
733
  >
734
734
  <label cmdk-label="" for={inputId} id={labelId} style={srOnlyStyles}>{label}</label>
735
- <StoreContext.Provider value={store}>
736
- <CommandContext.Provider value={context}>{children}</CommandContext.Provider>
737
- </StoreContext.Provider>
735
+ <StoreContext value={store}>
736
+ <CommandContext value={context}>{children}</CommandContext>
737
+ </StoreContext>
738
738
  </div>
739
739
  }
@@ -46,7 +46,7 @@ export function Group(props: GroupProps) @{
46
46
  <div ref={headingRef} cmdk-group-heading="" aria-hidden={true} id={headingId}>{heading}</div>
47
47
  }
48
48
  <div cmdk-group-items="" role="group" aria-labelledby={heading ? headingId : undefined}>
49
- <GroupContext.Provider value={contextValue}>{children}</GroupContext.Provider>
49
+ <GroupContext value={contextValue}>{children}</GroupContext>
50
50
  </div>
51
51
  </div>
52
52
  }