@refineui/react 0.2.1 → 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.
Files changed (40) hide show
  1. package/dist/authoring-manifest.cjs +241 -6
  2. package/dist/authoring-manifest.cjs.map +1 -1
  3. package/dist/authoring-manifest.js +241 -6
  4. package/dist/authoring-manifest.js.map +1 -1
  5. package/dist/index.cjs +2559 -1948
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.cts +78 -26
  8. package/dist/index.d.ts +78 -26
  9. package/dist/index.js +1810 -1207
  10. package/dist/index.js.map +1 -1
  11. package/dist/spec/authoring/components/kbd.json +48 -0
  12. package/dist/spec/authoring/components/marker-content.json +18 -0
  13. package/dist/spec/authoring/components/marker-icon.json +18 -0
  14. package/dist/spec/authoring/components/marker.json +41 -0
  15. package/dist/spec/authoring/components/message-avatar.json +18 -0
  16. package/dist/spec/authoring/components/message-content.json +18 -0
  17. package/dist/spec/authoring/components/message-footer.json +18 -0
  18. package/dist/spec/authoring/components/message.json +42 -0
  19. package/dist/spec/authoring/components/navigation-menu-content.json +19 -5
  20. package/dist/spec/authoring/manifest.json +241 -6
  21. package/dist/spec/components/kbd.json +16 -0
  22. package/dist/spec/components/marker.json +21 -0
  23. package/dist/spec/components/message.json +22 -0
  24. package/dist/spec/contract-index.json +1 -1
  25. package/dist/spec/token-trace-v2.json +1 -1
  26. package/package.json +5 -3
  27. package/refineui.css +4781 -2402
  28. package/spec/authoring/components/kbd.json +48 -0
  29. package/spec/authoring/components/marker-content.json +18 -0
  30. package/spec/authoring/components/marker-icon.json +18 -0
  31. package/spec/authoring/components/marker.json +41 -0
  32. package/spec/authoring/components/message-avatar.json +18 -0
  33. package/spec/authoring/components/message-content.json +18 -0
  34. package/spec/authoring/components/message-footer.json +18 -0
  35. package/spec/authoring/components/message.json +42 -0
  36. package/spec/authoring/components/navigation-menu-content.json +19 -5
  37. package/spec/authoring/manifest.json +241 -6
  38. package/spec/components/kbd.json +16 -0
  39. package/spec/components/marker.json +21 -0
  40. package/spec/components/message.json +22 -0
@@ -30,7 +30,7 @@ var import_react = require("react");
30
30
  var manifest_default = {
31
31
  schema: "refineui.authoring/1",
32
32
  packageName: "@refineui/react",
33
- packageVersion: "0.2.1",
33
+ packageVersion: "0.4.0",
34
34
  css: [
35
35
  "@refineui/react/refineui.css"
36
36
  ],
@@ -2187,6 +2187,227 @@ var manifest_default = {
2187
2187
  }
2188
2188
  ]
2189
2189
  },
2190
+ {
2191
+ id: "kbd",
2192
+ exportPath: "@refineui/react",
2193
+ exportName: "Kbd",
2194
+ kind: "root",
2195
+ category: "utilities",
2196
+ label: "Kbd",
2197
+ props: [],
2198
+ preview: {
2199
+ mode: "full"
2200
+ },
2201
+ slots: [
2202
+ {
2203
+ name: "children",
2204
+ accepts: [],
2205
+ repeatable: true,
2206
+ allowText: true,
2207
+ allowAnyComponent: true,
2208
+ defaultChildren: []
2209
+ }
2210
+ ],
2211
+ presets: [
2212
+ {
2213
+ id: "default",
2214
+ label: "Default",
2215
+ root: {
2216
+ component: "Kbd",
2217
+ slots: {
2218
+ children: [
2219
+ {
2220
+ component: "Text",
2221
+ props: {
2222
+ variant: "bodyMd"
2223
+ },
2224
+ text: "Kbd"
2225
+ }
2226
+ ]
2227
+ }
2228
+ }
2229
+ }
2230
+ ],
2231
+ events: [
2232
+ {
2233
+ name: "click",
2234
+ payload: "void"
2235
+ }
2236
+ ]
2237
+ },
2238
+ {
2239
+ id: "message",
2240
+ exportPath: "@refineui/react",
2241
+ exportName: "Message",
2242
+ kind: "root",
2243
+ category: "utilities",
2244
+ label: "Message",
2245
+ props: [],
2246
+ preview: {
2247
+ mode: "full"
2248
+ },
2249
+ slots: [
2250
+ {
2251
+ name: "children",
2252
+ accepts: [
2253
+ "MessageAvatar",
2254
+ "MessageContent",
2255
+ "MessageFooter"
2256
+ ],
2257
+ repeatable: true,
2258
+ allowText: true,
2259
+ allowAnyComponent: false,
2260
+ defaultChildren: []
2261
+ }
2262
+ ],
2263
+ presets: [
2264
+ {
2265
+ id: "default",
2266
+ label: "Default",
2267
+ root: {
2268
+ component: "Message",
2269
+ slots: {}
2270
+ }
2271
+ }
2272
+ ],
2273
+ events: [
2274
+ {
2275
+ name: "click",
2276
+ payload: "void"
2277
+ }
2278
+ ]
2279
+ },
2280
+ {
2281
+ id: "message-avatar",
2282
+ exportPath: "@refineui/react",
2283
+ exportName: "MessageAvatar",
2284
+ kind: "part",
2285
+ category: "parts",
2286
+ label: "Message Avatar",
2287
+ props: [],
2288
+ preview: {
2289
+ mode: "full"
2290
+ },
2291
+ parents: [
2292
+ {
2293
+ component: "Message",
2294
+ slot: "children"
2295
+ }
2296
+ ]
2297
+ },
2298
+ {
2299
+ id: "message-content",
2300
+ exportPath: "@refineui/react",
2301
+ exportName: "MessageContent",
2302
+ kind: "part",
2303
+ category: "parts",
2304
+ label: "Message Content",
2305
+ props: [],
2306
+ preview: {
2307
+ mode: "full"
2308
+ },
2309
+ parents: [
2310
+ {
2311
+ component: "Message",
2312
+ slot: "children"
2313
+ }
2314
+ ]
2315
+ },
2316
+ {
2317
+ id: "message-footer",
2318
+ exportPath: "@refineui/react",
2319
+ exportName: "MessageFooter",
2320
+ kind: "part",
2321
+ category: "parts",
2322
+ label: "Message Footer",
2323
+ props: [],
2324
+ preview: {
2325
+ mode: "full"
2326
+ },
2327
+ parents: [
2328
+ {
2329
+ component: "Message",
2330
+ slot: "children"
2331
+ }
2332
+ ]
2333
+ },
2334
+ {
2335
+ id: "marker",
2336
+ exportPath: "@refineui/react",
2337
+ exportName: "Marker",
2338
+ kind: "root",
2339
+ category: "utilities",
2340
+ label: "Marker",
2341
+ props: [],
2342
+ preview: {
2343
+ mode: "full"
2344
+ },
2345
+ slots: [
2346
+ {
2347
+ name: "children",
2348
+ accepts: [
2349
+ "MarkerContent",
2350
+ "MarkerIcon"
2351
+ ],
2352
+ repeatable: true,
2353
+ allowText: true,
2354
+ allowAnyComponent: false,
2355
+ defaultChildren: []
2356
+ }
2357
+ ],
2358
+ presets: [
2359
+ {
2360
+ id: "default",
2361
+ label: "Default",
2362
+ root: {
2363
+ component: "Marker",
2364
+ slots: {}
2365
+ }
2366
+ }
2367
+ ],
2368
+ events: [
2369
+ {
2370
+ name: "click",
2371
+ payload: "void"
2372
+ }
2373
+ ]
2374
+ },
2375
+ {
2376
+ id: "marker-content",
2377
+ exportPath: "@refineui/react",
2378
+ exportName: "MarkerContent",
2379
+ kind: "part",
2380
+ category: "parts",
2381
+ label: "Marker Content",
2382
+ props: [],
2383
+ preview: {
2384
+ mode: "full"
2385
+ },
2386
+ parents: [
2387
+ {
2388
+ component: "Marker",
2389
+ slot: "children"
2390
+ }
2391
+ ]
2392
+ },
2393
+ {
2394
+ id: "marker-icon",
2395
+ exportPath: "@refineui/react",
2396
+ exportName: "MarkerIcon",
2397
+ kind: "part",
2398
+ category: "parts",
2399
+ label: "Marker Icon",
2400
+ props: [],
2401
+ preview: {
2402
+ mode: "full"
2403
+ },
2404
+ parents: [
2405
+ {
2406
+ component: "Marker",
2407
+ slot: "children"
2408
+ }
2409
+ ]
2410
+ },
2190
2411
  {
2191
2412
  id: "avatar",
2192
2413
  exportPath: "@refineui/react",
@@ -6534,7 +6755,21 @@ var manifest_default = {
6534
6755
  kind: "part",
6535
6756
  category: "parts",
6536
6757
  label: "Navigation Menu Content",
6537
- props: [],
6758
+ props: [
6759
+ {
6760
+ name: "layout",
6761
+ valueType: "enum",
6762
+ control: "segmented",
6763
+ options: [
6764
+ "dropdown",
6765
+ "floating",
6766
+ "overlay"
6767
+ ],
6768
+ defaultValue: "dropdown",
6769
+ section: "variants",
6770
+ label: "layout"
6771
+ }
6772
+ ],
6538
6773
  preview: {
6539
6774
  mode: "full"
6540
6775
  },
@@ -6547,10 +6782,10 @@ var manifest_default = {
6547
6782
  slots: [
6548
6783
  {
6549
6784
  name: "children",
6550
- accepts: [
6551
- "NavigationMenuLink"
6552
- ],
6553
- repeatable: true
6785
+ accepts: [],
6786
+ repeatable: true,
6787
+ allowAnyComponent: true,
6788
+ allowText: true
6554
6789
  }
6555
6790
  ]
6556
6791
  },