ui-ingredients 0.0.56 → 0.0.58

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,6 @@ export function createCombobox(props) {
34
34
  getRootNode: environment?.getRootNode,
35
35
  collection,
36
36
  }));
37
- /* FIXME: pass controlled context */
38
37
  const [state, send] = useMachine(combobox.machine(context));
39
38
  return reflect(() => {
40
39
  const o = combobox.connect(state, send, normalizeProps);
@@ -34,8 +34,7 @@ export function createSelect(props) {
34
34
  getRootNode: environment?.getRootNode,
35
35
  collection,
36
36
  }));
37
- /* FIXME: pass controlled context */
38
- const [state, send] = useMachine(select.machine(context));
37
+ const [state, send] = useMachine(select.machine(context), { context });
39
38
  return reflect(() => {
40
39
  const o = select.connect(state, send, normalizeProps);
41
40
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ui-ingredients",
3
3
  "type": "module",
4
- "version": "0.0.56",
4
+ "version": "0.0.58",
5
5
  "packageManager": "pnpm@9.7.0",
6
6
  "svelte": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -152,7 +152,7 @@
152
152
  "publint": "0.2.11",
153
153
  "release-it": "17.6.0",
154
154
  "resize-observer-polyfill": "1.5.1",
155
- "svelte": "5.0.0-next.257",
155
+ "svelte": "5.0.0-next.258",
156
156
  "svelte-check": "4.0.2",
157
157
  "tailwind-merge": "2.5.2",
158
158
  "tailwind-variants": "0.2.1",