@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
@@ -5,7 +5,7 @@ import { createElement } from "react";
5
5
  var manifest_default = {
6
6
  schema: "refineui.authoring/1",
7
7
  packageName: "@refineui/react",
8
- packageVersion: "0.2.1",
8
+ packageVersion: "0.4.0",
9
9
  css: [
10
10
  "@refineui/react/refineui.css"
11
11
  ],
@@ -2162,6 +2162,227 @@ var manifest_default = {
2162
2162
  }
2163
2163
  ]
2164
2164
  },
2165
+ {
2166
+ id: "kbd",
2167
+ exportPath: "@refineui/react",
2168
+ exportName: "Kbd",
2169
+ kind: "root",
2170
+ category: "utilities",
2171
+ label: "Kbd",
2172
+ props: [],
2173
+ preview: {
2174
+ mode: "full"
2175
+ },
2176
+ slots: [
2177
+ {
2178
+ name: "children",
2179
+ accepts: [],
2180
+ repeatable: true,
2181
+ allowText: true,
2182
+ allowAnyComponent: true,
2183
+ defaultChildren: []
2184
+ }
2185
+ ],
2186
+ presets: [
2187
+ {
2188
+ id: "default",
2189
+ label: "Default",
2190
+ root: {
2191
+ component: "Kbd",
2192
+ slots: {
2193
+ children: [
2194
+ {
2195
+ component: "Text",
2196
+ props: {
2197
+ variant: "bodyMd"
2198
+ },
2199
+ text: "Kbd"
2200
+ }
2201
+ ]
2202
+ }
2203
+ }
2204
+ }
2205
+ ],
2206
+ events: [
2207
+ {
2208
+ name: "click",
2209
+ payload: "void"
2210
+ }
2211
+ ]
2212
+ },
2213
+ {
2214
+ id: "message",
2215
+ exportPath: "@refineui/react",
2216
+ exportName: "Message",
2217
+ kind: "root",
2218
+ category: "utilities",
2219
+ label: "Message",
2220
+ props: [],
2221
+ preview: {
2222
+ mode: "full"
2223
+ },
2224
+ slots: [
2225
+ {
2226
+ name: "children",
2227
+ accepts: [
2228
+ "MessageAvatar",
2229
+ "MessageContent",
2230
+ "MessageFooter"
2231
+ ],
2232
+ repeatable: true,
2233
+ allowText: true,
2234
+ allowAnyComponent: false,
2235
+ defaultChildren: []
2236
+ }
2237
+ ],
2238
+ presets: [
2239
+ {
2240
+ id: "default",
2241
+ label: "Default",
2242
+ root: {
2243
+ component: "Message",
2244
+ slots: {}
2245
+ }
2246
+ }
2247
+ ],
2248
+ events: [
2249
+ {
2250
+ name: "click",
2251
+ payload: "void"
2252
+ }
2253
+ ]
2254
+ },
2255
+ {
2256
+ id: "message-avatar",
2257
+ exportPath: "@refineui/react",
2258
+ exportName: "MessageAvatar",
2259
+ kind: "part",
2260
+ category: "parts",
2261
+ label: "Message Avatar",
2262
+ props: [],
2263
+ preview: {
2264
+ mode: "full"
2265
+ },
2266
+ parents: [
2267
+ {
2268
+ component: "Message",
2269
+ slot: "children"
2270
+ }
2271
+ ]
2272
+ },
2273
+ {
2274
+ id: "message-content",
2275
+ exportPath: "@refineui/react",
2276
+ exportName: "MessageContent",
2277
+ kind: "part",
2278
+ category: "parts",
2279
+ label: "Message Content",
2280
+ props: [],
2281
+ preview: {
2282
+ mode: "full"
2283
+ },
2284
+ parents: [
2285
+ {
2286
+ component: "Message",
2287
+ slot: "children"
2288
+ }
2289
+ ]
2290
+ },
2291
+ {
2292
+ id: "message-footer",
2293
+ exportPath: "@refineui/react",
2294
+ exportName: "MessageFooter",
2295
+ kind: "part",
2296
+ category: "parts",
2297
+ label: "Message Footer",
2298
+ props: [],
2299
+ preview: {
2300
+ mode: "full"
2301
+ },
2302
+ parents: [
2303
+ {
2304
+ component: "Message",
2305
+ slot: "children"
2306
+ }
2307
+ ]
2308
+ },
2309
+ {
2310
+ id: "marker",
2311
+ exportPath: "@refineui/react",
2312
+ exportName: "Marker",
2313
+ kind: "root",
2314
+ category: "utilities",
2315
+ label: "Marker",
2316
+ props: [],
2317
+ preview: {
2318
+ mode: "full"
2319
+ },
2320
+ slots: [
2321
+ {
2322
+ name: "children",
2323
+ accepts: [
2324
+ "MarkerContent",
2325
+ "MarkerIcon"
2326
+ ],
2327
+ repeatable: true,
2328
+ allowText: true,
2329
+ allowAnyComponent: false,
2330
+ defaultChildren: []
2331
+ }
2332
+ ],
2333
+ presets: [
2334
+ {
2335
+ id: "default",
2336
+ label: "Default",
2337
+ root: {
2338
+ component: "Marker",
2339
+ slots: {}
2340
+ }
2341
+ }
2342
+ ],
2343
+ events: [
2344
+ {
2345
+ name: "click",
2346
+ payload: "void"
2347
+ }
2348
+ ]
2349
+ },
2350
+ {
2351
+ id: "marker-content",
2352
+ exportPath: "@refineui/react",
2353
+ exportName: "MarkerContent",
2354
+ kind: "part",
2355
+ category: "parts",
2356
+ label: "Marker Content",
2357
+ props: [],
2358
+ preview: {
2359
+ mode: "full"
2360
+ },
2361
+ parents: [
2362
+ {
2363
+ component: "Marker",
2364
+ slot: "children"
2365
+ }
2366
+ ]
2367
+ },
2368
+ {
2369
+ id: "marker-icon",
2370
+ exportPath: "@refineui/react",
2371
+ exportName: "MarkerIcon",
2372
+ kind: "part",
2373
+ category: "parts",
2374
+ label: "Marker Icon",
2375
+ props: [],
2376
+ preview: {
2377
+ mode: "full"
2378
+ },
2379
+ parents: [
2380
+ {
2381
+ component: "Marker",
2382
+ slot: "children"
2383
+ }
2384
+ ]
2385
+ },
2165
2386
  {
2166
2387
  id: "avatar",
2167
2388
  exportPath: "@refineui/react",
@@ -6509,7 +6730,21 @@ var manifest_default = {
6509
6730
  kind: "part",
6510
6731
  category: "parts",
6511
6732
  label: "Navigation Menu Content",
6512
- props: [],
6733
+ props: [
6734
+ {
6735
+ name: "layout",
6736
+ valueType: "enum",
6737
+ control: "segmented",
6738
+ options: [
6739
+ "dropdown",
6740
+ "floating",
6741
+ "overlay"
6742
+ ],
6743
+ defaultValue: "dropdown",
6744
+ section: "variants",
6745
+ label: "layout"
6746
+ }
6747
+ ],
6513
6748
  preview: {
6514
6749
  mode: "full"
6515
6750
  },
@@ -6522,10 +6757,10 @@ var manifest_default = {
6522
6757
  slots: [
6523
6758
  {
6524
6759
  name: "children",
6525
- accepts: [
6526
- "NavigationMenuLink"
6527
- ],
6528
- repeatable: true
6760
+ accepts: [],
6761
+ repeatable: true,
6762
+ allowAnyComponent: true,
6763
+ allowText: true
6529
6764
  }
6530
6765
  ]
6531
6766
  },