@picked/svelte 0.0.1-dev.1775010167310 → 0.0.1-dev.1775015576394

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.
@@ -19,10 +19,6 @@
19
19
 
20
20
  <Card sectioned>
21
21
  <Stack direction="vertical" gap="medium" padding="medium">
22
- <div>
23
- <Text weight="semibold">Type</Text>
24
- <Text>{$config.type}</Text>
25
- </div>
26
22
 
27
23
  <div>
28
24
  <Text weight="semibold">Target selectors</Text>
@@ -5,26 +5,21 @@
5
5
  import { getStepRouter } from './context'
6
6
 
7
7
  interface Props {
8
- /** Preferred prop: the step key used for registration and lookup. */
9
- key?: string
10
- /** @deprecated Use `key` instead. Accepted for backwards compatibility. */
11
- id?: string
8
+ key: string
12
9
  component?: Component | Promise<Component> | Promise<{ default: Component }>
13
10
  children?: Snippet
14
11
  }
15
12
 
16
- const { key, id, component, children }: Props = $props()
13
+ const { key, component, children }: Props = $props()
17
14
 
18
- const resolvedKey = key ?? id ?? ''
19
15
 
20
16
  const step = {
21
- id: resolvedKey,
22
- key: resolvedKey,
17
+ key,
23
18
  }
24
19
 
25
20
  const { registerStep, unregisterStep } = getStepRouter()
26
21
 
27
- setStepContext(resolvedKey)
22
+ setStepContext(key)
28
23
 
29
24
  $effect(() => {
30
25
  registerStep(step)
@@ -1,6 +1,5 @@
1
1
  import { Store } from 'effector';
2
2
  export interface Step {
3
- id: string;
4
3
  key: string;
5
4
  }
6
5
  interface ContextOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@picked/svelte",
3
- "version": "0.0.1-dev.1775010167310",
3
+ "version": "0.0.1-dev.1775015576394",
4
4
  "dependencies": {
5
5
  "d3": "^7.9.0"
6
6
  },
@@ -88,7 +88,7 @@
88
88
  },
89
89
  "module": "./dist/index.js",
90
90
  "peerDependencies": {
91
- "@picked/client": "0.0.1-dev.1775010167310",
91
+ "@picked/client": "0.0.1-dev.1775015576394",
92
92
  "effector": "^23.3.0",
93
93
  "svelte": "^5.46.4"
94
94
  },