@refineui/react 0.3.0 → 0.4.0
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/dist/authoring-manifest.cjs +222 -1
- package/dist/authoring-manifest.cjs.map +1 -1
- package/dist/authoring-manifest.js +222 -1
- package/dist/authoring-manifest.js.map +1 -1
- package/dist/index.cjs +1935 -1775
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +62 -21
- package/dist/index.d.ts +62 -21
- package/dist/index.js +1146 -994
- package/dist/index.js.map +1 -1
- package/dist/spec/authoring/components/kbd.json +48 -0
- package/dist/spec/authoring/components/marker-content.json +18 -0
- package/dist/spec/authoring/components/marker-icon.json +18 -0
- package/dist/spec/authoring/components/marker.json +41 -0
- package/dist/spec/authoring/components/message-avatar.json +18 -0
- package/dist/spec/authoring/components/message-content.json +18 -0
- package/dist/spec/authoring/components/message-footer.json +18 -0
- package/dist/spec/authoring/components/message.json +42 -0
- package/dist/spec/authoring/manifest.json +222 -1
- package/dist/spec/components/kbd.json +16 -0
- package/dist/spec/components/marker.json +21 -0
- package/dist/spec/components/message.json +22 -0
- package/dist/spec/contract-index.json +1 -1
- package/dist/spec/token-trace-v2.json +1 -1
- package/package.json +1 -1
- package/refineui.css +91 -20
- package/spec/authoring/components/kbd.json +48 -0
- package/spec/authoring/components/marker-content.json +18 -0
- package/spec/authoring/components/marker-icon.json +18 -0
- package/spec/authoring/components/marker.json +41 -0
- package/spec/authoring/components/message-avatar.json +18 -0
- package/spec/authoring/components/message-content.json +18 -0
- package/spec/authoring/components/message-footer.json +18 -0
- package/spec/authoring/components/message.json +42 -0
- package/spec/authoring/manifest.json +222 -1
- package/spec/components/kbd.json +16 -0
- package/spec/components/marker.json +21 -0
- package/spec/components/message.json +22 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "kbd",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "Kbd",
|
|
5
|
+
"kind": "root",
|
|
6
|
+
"category": "utilities",
|
|
7
|
+
"label": "Kbd",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"slots": [
|
|
13
|
+
{
|
|
14
|
+
"name": "children",
|
|
15
|
+
"accepts": [],
|
|
16
|
+
"repeatable": true,
|
|
17
|
+
"allowText": true,
|
|
18
|
+
"allowAnyComponent": true,
|
|
19
|
+
"defaultChildren": []
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"presets": [
|
|
23
|
+
{
|
|
24
|
+
"id": "default",
|
|
25
|
+
"label": "Default",
|
|
26
|
+
"root": {
|
|
27
|
+
"component": "Kbd",
|
|
28
|
+
"slots": {
|
|
29
|
+
"children": [
|
|
30
|
+
{
|
|
31
|
+
"component": "Text",
|
|
32
|
+
"props": {
|
|
33
|
+
"variant": "bodyMd"
|
|
34
|
+
},
|
|
35
|
+
"text": "Kbd"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"events": [
|
|
43
|
+
{
|
|
44
|
+
"name": "click",
|
|
45
|
+
"payload": "void"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "marker-content",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "MarkerContent",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Marker Content",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "Marker",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "marker-icon",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "MarkerIcon",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Marker Icon",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "Marker",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "marker",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "Marker",
|
|
5
|
+
"kind": "root",
|
|
6
|
+
"category": "utilities",
|
|
7
|
+
"label": "Marker",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"slots": [
|
|
13
|
+
{
|
|
14
|
+
"name": "children",
|
|
15
|
+
"accepts": [
|
|
16
|
+
"MarkerContent",
|
|
17
|
+
"MarkerIcon"
|
|
18
|
+
],
|
|
19
|
+
"repeatable": true,
|
|
20
|
+
"allowText": true,
|
|
21
|
+
"allowAnyComponent": false,
|
|
22
|
+
"defaultChildren": []
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"presets": [
|
|
26
|
+
{
|
|
27
|
+
"id": "default",
|
|
28
|
+
"label": "Default",
|
|
29
|
+
"root": {
|
|
30
|
+
"component": "Marker",
|
|
31
|
+
"slots": {}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"events": [
|
|
36
|
+
{
|
|
37
|
+
"name": "click",
|
|
38
|
+
"payload": "void"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "message-avatar",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "MessageAvatar",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Message Avatar",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "Message",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "message-content",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "MessageContent",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Message Content",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "Message",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "message-footer",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "MessageFooter",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Message Footer",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "Message",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "message",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "Message",
|
|
5
|
+
"kind": "root",
|
|
6
|
+
"category": "utilities",
|
|
7
|
+
"label": "Message",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"slots": [
|
|
13
|
+
{
|
|
14
|
+
"name": "children",
|
|
15
|
+
"accepts": [
|
|
16
|
+
"MessageAvatar",
|
|
17
|
+
"MessageContent",
|
|
18
|
+
"MessageFooter"
|
|
19
|
+
],
|
|
20
|
+
"repeatable": true,
|
|
21
|
+
"allowText": true,
|
|
22
|
+
"allowAnyComponent": false,
|
|
23
|
+
"defaultChildren": []
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"presets": [
|
|
27
|
+
{
|
|
28
|
+
"id": "default",
|
|
29
|
+
"label": "Default",
|
|
30
|
+
"root": {
|
|
31
|
+
"component": "Message",
|
|
32
|
+
"slots": {}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"events": [
|
|
37
|
+
{
|
|
38
|
+
"name": "click",
|
|
39
|
+
"payload": "void"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "refineui.authoring/1",
|
|
3
3
|
"packageName": "@refineui/react",
|
|
4
|
-
"packageVersion": "0.
|
|
4
|
+
"packageVersion": "0.4.0",
|
|
5
5
|
"css": [
|
|
6
6
|
"@refineui/react/refineui.css"
|
|
7
7
|
],
|
|
@@ -2158,6 +2158,227 @@
|
|
|
2158
2158
|
}
|
|
2159
2159
|
]
|
|
2160
2160
|
},
|
|
2161
|
+
{
|
|
2162
|
+
"id": "kbd",
|
|
2163
|
+
"exportPath": "@refineui/react",
|
|
2164
|
+
"exportName": "Kbd",
|
|
2165
|
+
"kind": "root",
|
|
2166
|
+
"category": "utilities",
|
|
2167
|
+
"label": "Kbd",
|
|
2168
|
+
"props": [],
|
|
2169
|
+
"preview": {
|
|
2170
|
+
"mode": "full"
|
|
2171
|
+
},
|
|
2172
|
+
"slots": [
|
|
2173
|
+
{
|
|
2174
|
+
"name": "children",
|
|
2175
|
+
"accepts": [],
|
|
2176
|
+
"repeatable": true,
|
|
2177
|
+
"allowText": true,
|
|
2178
|
+
"allowAnyComponent": true,
|
|
2179
|
+
"defaultChildren": []
|
|
2180
|
+
}
|
|
2181
|
+
],
|
|
2182
|
+
"presets": [
|
|
2183
|
+
{
|
|
2184
|
+
"id": "default",
|
|
2185
|
+
"label": "Default",
|
|
2186
|
+
"root": {
|
|
2187
|
+
"component": "Kbd",
|
|
2188
|
+
"slots": {
|
|
2189
|
+
"children": [
|
|
2190
|
+
{
|
|
2191
|
+
"component": "Text",
|
|
2192
|
+
"props": {
|
|
2193
|
+
"variant": "bodyMd"
|
|
2194
|
+
},
|
|
2195
|
+
"text": "Kbd"
|
|
2196
|
+
}
|
|
2197
|
+
]
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
],
|
|
2202
|
+
"events": [
|
|
2203
|
+
{
|
|
2204
|
+
"name": "click",
|
|
2205
|
+
"payload": "void"
|
|
2206
|
+
}
|
|
2207
|
+
]
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
"id": "message",
|
|
2211
|
+
"exportPath": "@refineui/react",
|
|
2212
|
+
"exportName": "Message",
|
|
2213
|
+
"kind": "root",
|
|
2214
|
+
"category": "utilities",
|
|
2215
|
+
"label": "Message",
|
|
2216
|
+
"props": [],
|
|
2217
|
+
"preview": {
|
|
2218
|
+
"mode": "full"
|
|
2219
|
+
},
|
|
2220
|
+
"slots": [
|
|
2221
|
+
{
|
|
2222
|
+
"name": "children",
|
|
2223
|
+
"accepts": [
|
|
2224
|
+
"MessageAvatar",
|
|
2225
|
+
"MessageContent",
|
|
2226
|
+
"MessageFooter"
|
|
2227
|
+
],
|
|
2228
|
+
"repeatable": true,
|
|
2229
|
+
"allowText": true,
|
|
2230
|
+
"allowAnyComponent": false,
|
|
2231
|
+
"defaultChildren": []
|
|
2232
|
+
}
|
|
2233
|
+
],
|
|
2234
|
+
"presets": [
|
|
2235
|
+
{
|
|
2236
|
+
"id": "default",
|
|
2237
|
+
"label": "Default",
|
|
2238
|
+
"root": {
|
|
2239
|
+
"component": "Message",
|
|
2240
|
+
"slots": {}
|
|
2241
|
+
}
|
|
2242
|
+
}
|
|
2243
|
+
],
|
|
2244
|
+
"events": [
|
|
2245
|
+
{
|
|
2246
|
+
"name": "click",
|
|
2247
|
+
"payload": "void"
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
"id": "message-avatar",
|
|
2253
|
+
"exportPath": "@refineui/react",
|
|
2254
|
+
"exportName": "MessageAvatar",
|
|
2255
|
+
"kind": "part",
|
|
2256
|
+
"category": "parts",
|
|
2257
|
+
"label": "Message Avatar",
|
|
2258
|
+
"props": [],
|
|
2259
|
+
"preview": {
|
|
2260
|
+
"mode": "full"
|
|
2261
|
+
},
|
|
2262
|
+
"parents": [
|
|
2263
|
+
{
|
|
2264
|
+
"component": "Message",
|
|
2265
|
+
"slot": "children"
|
|
2266
|
+
}
|
|
2267
|
+
]
|
|
2268
|
+
},
|
|
2269
|
+
{
|
|
2270
|
+
"id": "message-content",
|
|
2271
|
+
"exportPath": "@refineui/react",
|
|
2272
|
+
"exportName": "MessageContent",
|
|
2273
|
+
"kind": "part",
|
|
2274
|
+
"category": "parts",
|
|
2275
|
+
"label": "Message Content",
|
|
2276
|
+
"props": [],
|
|
2277
|
+
"preview": {
|
|
2278
|
+
"mode": "full"
|
|
2279
|
+
},
|
|
2280
|
+
"parents": [
|
|
2281
|
+
{
|
|
2282
|
+
"component": "Message",
|
|
2283
|
+
"slot": "children"
|
|
2284
|
+
}
|
|
2285
|
+
]
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
"id": "message-footer",
|
|
2289
|
+
"exportPath": "@refineui/react",
|
|
2290
|
+
"exportName": "MessageFooter",
|
|
2291
|
+
"kind": "part",
|
|
2292
|
+
"category": "parts",
|
|
2293
|
+
"label": "Message Footer",
|
|
2294
|
+
"props": [],
|
|
2295
|
+
"preview": {
|
|
2296
|
+
"mode": "full"
|
|
2297
|
+
},
|
|
2298
|
+
"parents": [
|
|
2299
|
+
{
|
|
2300
|
+
"component": "Message",
|
|
2301
|
+
"slot": "children"
|
|
2302
|
+
}
|
|
2303
|
+
]
|
|
2304
|
+
},
|
|
2305
|
+
{
|
|
2306
|
+
"id": "marker",
|
|
2307
|
+
"exportPath": "@refineui/react",
|
|
2308
|
+
"exportName": "Marker",
|
|
2309
|
+
"kind": "root",
|
|
2310
|
+
"category": "utilities",
|
|
2311
|
+
"label": "Marker",
|
|
2312
|
+
"props": [],
|
|
2313
|
+
"preview": {
|
|
2314
|
+
"mode": "full"
|
|
2315
|
+
},
|
|
2316
|
+
"slots": [
|
|
2317
|
+
{
|
|
2318
|
+
"name": "children",
|
|
2319
|
+
"accepts": [
|
|
2320
|
+
"MarkerContent",
|
|
2321
|
+
"MarkerIcon"
|
|
2322
|
+
],
|
|
2323
|
+
"repeatable": true,
|
|
2324
|
+
"allowText": true,
|
|
2325
|
+
"allowAnyComponent": false,
|
|
2326
|
+
"defaultChildren": []
|
|
2327
|
+
}
|
|
2328
|
+
],
|
|
2329
|
+
"presets": [
|
|
2330
|
+
{
|
|
2331
|
+
"id": "default",
|
|
2332
|
+
"label": "Default",
|
|
2333
|
+
"root": {
|
|
2334
|
+
"component": "Marker",
|
|
2335
|
+
"slots": {}
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
],
|
|
2339
|
+
"events": [
|
|
2340
|
+
{
|
|
2341
|
+
"name": "click",
|
|
2342
|
+
"payload": "void"
|
|
2343
|
+
}
|
|
2344
|
+
]
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
"id": "marker-content",
|
|
2348
|
+
"exportPath": "@refineui/react",
|
|
2349
|
+
"exportName": "MarkerContent",
|
|
2350
|
+
"kind": "part",
|
|
2351
|
+
"category": "parts",
|
|
2352
|
+
"label": "Marker Content",
|
|
2353
|
+
"props": [],
|
|
2354
|
+
"preview": {
|
|
2355
|
+
"mode": "full"
|
|
2356
|
+
},
|
|
2357
|
+
"parents": [
|
|
2358
|
+
{
|
|
2359
|
+
"component": "Marker",
|
|
2360
|
+
"slot": "children"
|
|
2361
|
+
}
|
|
2362
|
+
]
|
|
2363
|
+
},
|
|
2364
|
+
{
|
|
2365
|
+
"id": "marker-icon",
|
|
2366
|
+
"exportPath": "@refineui/react",
|
|
2367
|
+
"exportName": "MarkerIcon",
|
|
2368
|
+
"kind": "part",
|
|
2369
|
+
"category": "parts",
|
|
2370
|
+
"label": "Marker Icon",
|
|
2371
|
+
"props": [],
|
|
2372
|
+
"preview": {
|
|
2373
|
+
"mode": "full"
|
|
2374
|
+
},
|
|
2375
|
+
"parents": [
|
|
2376
|
+
{
|
|
2377
|
+
"component": "Marker",
|
|
2378
|
+
"slot": "children"
|
|
2379
|
+
}
|
|
2380
|
+
]
|
|
2381
|
+
},
|
|
2161
2382
|
{
|
|
2162
2383
|
"id": "avatar",
|
|
2163
2384
|
"exportPath": "@refineui/react",
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../schema/component-spec.schema.json",
|
|
3
|
+
"component": "kbd",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"export": "Kbd",
|
|
6
|
+
"anatomy": {
|
|
7
|
+
"root": "kbd"
|
|
8
|
+
},
|
|
9
|
+
"attributes": {
|
|
10
|
+
"data-refineui": "kbd"
|
|
11
|
+
},
|
|
12
|
+
"layout": {
|
|
13
|
+
"direction": "logical",
|
|
14
|
+
"rtl": true
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../schema/component-spec.schema.json",
|
|
3
|
+
"component": "marker",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"export": "Marker",
|
|
6
|
+
"anatomy": {
|
|
7
|
+
"root": "marker",
|
|
8
|
+
"icon": "marker-icon",
|
|
9
|
+
"content": "marker-content"
|
|
10
|
+
},
|
|
11
|
+
"attributes": {
|
|
12
|
+
"data-refineui": "marker"
|
|
13
|
+
},
|
|
14
|
+
"variants": {
|
|
15
|
+
"variant": ["default", "divider"]
|
|
16
|
+
},
|
|
17
|
+
"layout": {
|
|
18
|
+
"direction": "logical",
|
|
19
|
+
"rtl": true
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "../schema/component-spec.schema.json",
|
|
3
|
+
"component": "message",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"export": "Message",
|
|
6
|
+
"anatomy": {
|
|
7
|
+
"root": "message",
|
|
8
|
+
"avatar": "message-avatar",
|
|
9
|
+
"content": "message-content",
|
|
10
|
+
"footer": "message-footer"
|
|
11
|
+
},
|
|
12
|
+
"attributes": {
|
|
13
|
+
"data-refineui": "message"
|
|
14
|
+
},
|
|
15
|
+
"variants": {
|
|
16
|
+
"align": ["start", "end"]
|
|
17
|
+
},
|
|
18
|
+
"layout": {
|
|
19
|
+
"direction": "logical",
|
|
20
|
+
"rtl": true
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"contractLayer": "component-spec",
|
|
4
4
|
"contractLayerVersion": "1.1",
|
|
5
5
|
"status": "catalog",
|
|
6
|
-
"generatedAt": "2026-11-
|
|
6
|
+
"generatedAt": "2026-11-13T08:09:43.261Z",
|
|
7
7
|
"role": "Behavior and DOM contracts — source of truth for Doctor, MCP, and Docs",
|
|
8
8
|
"files": {
|
|
9
9
|
"manifest": "./manifest.json",
|