@qilin-agent/client-ui-slots 3.1.4 → 3.1.6

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.
@@ -96,6 +96,12 @@ export interface SlotScopeTargetMap {
96
96
  export interface SlotEntryDef {
97
97
  kind: SlotKind;
98
98
  scope: SlotScope;
99
+ /**
100
+ * Render the slot's anchor — and its error placeholders — as a `span`
101
+ * instead of the default `div`; declare it for slots placed in inline or
102
+ * text context.
103
+ */
104
+ inline?: true;
99
105
  owner?: object;
100
106
  /**
101
107
  * Optional keyed-entry prop table. A keyed registration contributes one
@@ -140,6 +146,12 @@ export interface SlotFactoryDef {
140
146
  export type SlotSpec<E extends SlotEntryDef> = {
141
147
  kind: E['kind'];
142
148
  scope: E['scope'];
149
+ /**
150
+ * Render the slot's anchor — and its error placeholders — as a `span`
151
+ * instead of the default `div`; declare it for slots placed in inline or
152
+ * text context.
153
+ */
154
+ inline?: true;
143
155
  } & ('inject' extends keyof E ? E extends {
144
156
  inject: infer Injected extends object;
145
157
  } ? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qilin-agent/client-ui-slots",
3
3
  "description": "Slot registry pure core: typed ordinary Slots and reusable Component Factories, derived props, Store seats, and renderer installation",
4
- "version": "3.1.4",
4
+ "version": "3.1.6",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,14 +27,14 @@
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
29
  "@types/react": "~18.3.1",
30
- "@qilin-agent/client-store": "3.1.4",
31
- "@qilin-agent/kylin": "~4.0.3"
30
+ "@qilin-agent/kylin": "~4.0.5",
31
+ "@qilin-agent/client-store": "3.1.6"
32
32
  },
33
33
  "files": [
34
34
  "lib/index.js",
35
35
  "lib/types/**/*.d.ts"
36
36
  ],
37
37
  "peerDependencies": {
38
- "@qilin-agent/kylin": "~4.0.3"
38
+ "@qilin-agent/kylin": "~4.0.5"
39
39
  }
40
40
  }