@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
package/refineui.css
CHANGED
|
@@ -337,8 +337,8 @@
|
|
|
337
337
|
.inset-x-0 {
|
|
338
338
|
inset-inline: 0px;
|
|
339
339
|
}
|
|
340
|
-
.inset-x-refineui-size-
|
|
341
|
-
inset-inline: var(--spacing-refineui-size-
|
|
340
|
+
.inset-x-refineui-size-small {
|
|
341
|
+
inset-inline: var(--spacing-refineui-size-small);
|
|
342
342
|
}
|
|
343
343
|
.inset-y-0 {
|
|
344
344
|
inset-block: 0px;
|
|
@@ -346,8 +346,8 @@
|
|
|
346
346
|
.inset-y-\[calc\(var\(--refineui-spacing-size-small\)-var\(--refineui-spacing-size-x-small\)\)\] {
|
|
347
347
|
inset-block: calc(var(--refineui-spacing-size-small) - var(--refineui-spacing-size-x-small));
|
|
348
348
|
}
|
|
349
|
-
.inset-y-refineui-size-
|
|
350
|
-
inset-block: var(--spacing-refineui-size-
|
|
349
|
+
.inset-y-refineui-size-small {
|
|
350
|
+
inset-block: var(--spacing-refineui-size-small);
|
|
351
351
|
}
|
|
352
352
|
.start-0 {
|
|
353
353
|
inset-inline-start: calc(var(--spacing) * 0);
|
|
@@ -871,6 +871,9 @@
|
|
|
871
871
|
.min-h-refineui-pagination-button-min-width {
|
|
872
872
|
min-height: var(--spacing-refineui-pagination-button-min-width);
|
|
873
873
|
}
|
|
874
|
+
.min-h-refineui-size-x-large {
|
|
875
|
+
min-height: var(--spacing-refineui-size-x-large);
|
|
876
|
+
}
|
|
874
877
|
.w-\[calc\(var\(--refineui-sidebar-peek-panel-width\)\+2\*var\(--refineui-spacing-size-x-small\)\)\] {
|
|
875
878
|
width: calc(var(--refineui-sidebar-peek-panel-width) + 2 * var(--refineui-spacing-size-x-small));
|
|
876
879
|
}
|
|
@@ -1000,6 +1003,9 @@
|
|
|
1000
1003
|
.min-w-refineui-popover-panel-width {
|
|
1001
1004
|
min-width: var(--spacing-refineui-popover-panel-width);
|
|
1002
1005
|
}
|
|
1006
|
+
.min-w-refineui-size-x-large {
|
|
1007
|
+
min-width: var(--spacing-refineui-size-x-large);
|
|
1008
|
+
}
|
|
1003
1009
|
.min-w-refineui-size-xx-large {
|
|
1004
1010
|
min-width: var(--spacing-refineui-size-xx-large);
|
|
1005
1011
|
}
|
|
@@ -1353,6 +1359,9 @@
|
|
|
1353
1359
|
.self-center {
|
|
1354
1360
|
align-self: center;
|
|
1355
1361
|
}
|
|
1362
|
+
.self-end {
|
|
1363
|
+
align-self: flex-end;
|
|
1364
|
+
}
|
|
1356
1365
|
.self-start {
|
|
1357
1366
|
align-self: flex-start;
|
|
1358
1367
|
}
|
|
@@ -1732,6 +1741,18 @@
|
|
|
1732
1741
|
.align-middle {
|
|
1733
1742
|
vertical-align: middle;
|
|
1734
1743
|
}
|
|
1744
|
+
.refineui-typo-caption-1 {
|
|
1745
|
+
font-family: var(--refineui-typography-caption-1-font-family);
|
|
1746
|
+
font-size: var(--refineui-typography-caption-1-font-size);
|
|
1747
|
+
font-weight: var(--refineui-typography-caption-1-font-weight);
|
|
1748
|
+
line-height: var(--refineui-typography-caption-1-line-height);
|
|
1749
|
+
}
|
|
1750
|
+
.refineui-typo-caption-2 {
|
|
1751
|
+
font-family: var(--refineui-typography-caption-2-font-family);
|
|
1752
|
+
font-size: var(--refineui-typography-caption-2-font-size);
|
|
1753
|
+
font-weight: var(--refineui-typography-caption-2-font-weight);
|
|
1754
|
+
line-height: var(--refineui-typography-caption-2-line-height);
|
|
1755
|
+
}
|
|
1735
1756
|
.\[font-family\:var\(--refineui-typography-sub-title-1-font-family\)\] {
|
|
1736
1757
|
font-family: var(--refineui-typography-sub-title-1-font-family);
|
|
1737
1758
|
}
|
|
@@ -2314,6 +2335,22 @@
|
|
|
2314
2335
|
content: var(--tw-content);
|
|
2315
2336
|
z-index: 0;
|
|
2316
2337
|
}
|
|
2338
|
+
.before\:h-\(--refineui-stroke-width-thin\)::before {
|
|
2339
|
+
content: var(--tw-content);
|
|
2340
|
+
height: var(--refineui-stroke-width-thin);
|
|
2341
|
+
}
|
|
2342
|
+
.before\:min-w-0::before {
|
|
2343
|
+
content: var(--tw-content);
|
|
2344
|
+
min-width: 0px;
|
|
2345
|
+
}
|
|
2346
|
+
.before\:flex-1::before {
|
|
2347
|
+
content: var(--tw-content);
|
|
2348
|
+
flex: 1;
|
|
2349
|
+
}
|
|
2350
|
+
.before\:bg-refineui-alias-border-default::before {
|
|
2351
|
+
content: var(--tw-content);
|
|
2352
|
+
background-color: var(--color-refineui-alias-border-default);
|
|
2353
|
+
}
|
|
2317
2354
|
.before\:content-\[\'\'\]::before {
|
|
2318
2355
|
--tw-content: '';
|
|
2319
2356
|
content: var(--tw-content);
|
|
@@ -2339,6 +2376,14 @@
|
|
|
2339
2376
|
content: var(--tw-content);
|
|
2340
2377
|
height: var(--refineui-stroke-width-thin);
|
|
2341
2378
|
}
|
|
2379
|
+
.after\:min-w-0::after {
|
|
2380
|
+
content: var(--tw-content);
|
|
2381
|
+
min-width: 0px;
|
|
2382
|
+
}
|
|
2383
|
+
.after\:flex-1::after {
|
|
2384
|
+
content: var(--tw-content);
|
|
2385
|
+
flex: 1;
|
|
2386
|
+
}
|
|
2342
2387
|
.after\:scale-0::after {
|
|
2343
2388
|
content: var(--tw-content);
|
|
2344
2389
|
--tw-scale-x: 0%;
|
|
@@ -2664,6 +2709,9 @@
|
|
|
2664
2709
|
.data-\[active\=true\]\:\!opacity-100[data-active="true"] {
|
|
2665
2710
|
opacity: 100% !important;
|
|
2666
2711
|
}
|
|
2712
|
+
.data-\[align\=end\]\:flex-row-reverse[data-align="end"] {
|
|
2713
|
+
flex-direction: row-reverse;
|
|
2714
|
+
}
|
|
2667
2715
|
.data-\[align\=end\]\:self-end[data-align="end"] {
|
|
2668
2716
|
align-self: flex-end;
|
|
2669
2717
|
}
|
|
@@ -3455,29 +3503,29 @@
|
|
|
3455
3503
|
.\[\&\>\*\]\:flex-1 > * {
|
|
3456
3504
|
flex: 1;
|
|
3457
3505
|
}
|
|
3458
|
-
.\[\&\>\[data-refineui\=bubble\]\[data-align\=end\]\:first-child\:not\(\:only-child\)_\[data-refineui\=bubble-content\]\]\:\[border-end-end-radius\:var\(--refineui-radius-rounded-
|
|
3459
|
-
border-end-end-radius: var(--refineui-radius-rounded-
|
|
3506
|
+
.\[\&\>\[data-refineui\=bubble\]\[data-align\=end\]\:first-child\:not\(\:only-child\)_\[data-refineui\=bubble-content\]\]\:\[border-end-end-radius\:var\(--refineui-radius-rounded-large\)\] > [data-refineui=bubble][data-align=end]:first-child:not(:only-child) [data-refineui=bubble-content] {
|
|
3507
|
+
border-end-end-radius: var(--refineui-radius-rounded-large);
|
|
3460
3508
|
}
|
|
3461
|
-
.\[\&\>\[data-refineui\=bubble\]\[data-align\=end\]\:last-child\:not\(\:only-child\)_\[data-refineui\=bubble-content\]\]\:\[border-start-end-radius\:var\(--refineui-radius-rounded-
|
|
3462
|
-
border-start-end-radius: var(--refineui-radius-rounded-
|
|
3509
|
+
.\[\&\>\[data-refineui\=bubble\]\[data-align\=end\]\:last-child\:not\(\:only-child\)_\[data-refineui\=bubble-content\]\]\:\[border-start-end-radius\:var\(--refineui-radius-rounded-large\)\] > [data-refineui=bubble][data-align=end]:last-child:not(:only-child) [data-refineui=bubble-content] {
|
|
3510
|
+
border-start-end-radius: var(--refineui-radius-rounded-large);
|
|
3463
3511
|
}
|
|
3464
|
-
.\[\&\>\[data-refineui\=bubble\]\[data-align\=end\]\:not\(\:first-child\)\:not\(\:last-child\)_\[data-refineui\=bubble-content\]\]\:\[border-start-end-radius\:var\(--refineui-radius-rounded-
|
|
3465
|
-
border-start-end-radius: var(--refineui-radius-rounded-
|
|
3512
|
+
.\[\&\>\[data-refineui\=bubble\]\[data-align\=end\]\:not\(\:first-child\)\:not\(\:last-child\)_\[data-refineui\=bubble-content\]\]\:\[border-start-end-radius\:var\(--refineui-radius-rounded-large\)\] > [data-refineui=bubble][data-align=end]:not(:first-child):not(:last-child) [data-refineui=bubble-content] {
|
|
3513
|
+
border-start-end-radius: var(--refineui-radius-rounded-large);
|
|
3466
3514
|
}
|
|
3467
|
-
.\[\&\>\[data-refineui\=bubble\]\[data-align\=end\]\:not\(\:first-child\)\:not\(\:last-child\)_\[data-refineui\=bubble-content\]\]\:\[border-end-end-radius\:var\(--refineui-radius-rounded-
|
|
3468
|
-
border-end-end-radius: var(--refineui-radius-rounded-
|
|
3515
|
+
.\[\&\>\[data-refineui\=bubble\]\[data-align\=end\]\:not\(\:first-child\)\:not\(\:last-child\)_\[data-refineui\=bubble-content\]\]\:\[border-end-end-radius\:var\(--refineui-radius-rounded-large\)\] > [data-refineui=bubble][data-align=end]:not(:first-child):not(:last-child) [data-refineui=bubble-content] {
|
|
3516
|
+
border-end-end-radius: var(--refineui-radius-rounded-large);
|
|
3469
3517
|
}
|
|
3470
|
-
.\[\&\>\[data-refineui\=bubble\]\[data-align\=start\]\:first-child\:not\(\:only-child\)_\[data-refineui\=bubble-content\]\]\:\[border-end-start-radius\:var\(--refineui-radius-rounded-
|
|
3471
|
-
border-end-start-radius: var(--refineui-radius-rounded-
|
|
3518
|
+
.\[\&\>\[data-refineui\=bubble\]\[data-align\=start\]\:first-child\:not\(\:only-child\)_\[data-refineui\=bubble-content\]\]\:\[border-end-start-radius\:var\(--refineui-radius-rounded-large\)\] > [data-refineui=bubble][data-align=start]:first-child:not(:only-child) [data-refineui=bubble-content] {
|
|
3519
|
+
border-end-start-radius: var(--refineui-radius-rounded-large);
|
|
3472
3520
|
}
|
|
3473
|
-
.\[\&\>\[data-refineui\=bubble\]\[data-align\=start\]\:last-child\:not\(\:only-child\)_\[data-refineui\=bubble-content\]\]\:\[border-start-start-radius\:var\(--refineui-radius-rounded-
|
|
3474
|
-
border-start-start-radius: var(--refineui-radius-rounded-
|
|
3521
|
+
.\[\&\>\[data-refineui\=bubble\]\[data-align\=start\]\:last-child\:not\(\:only-child\)_\[data-refineui\=bubble-content\]\]\:\[border-start-start-radius\:var\(--refineui-radius-rounded-large\)\] > [data-refineui=bubble][data-align=start]:last-child:not(:only-child) [data-refineui=bubble-content] {
|
|
3522
|
+
border-start-start-radius: var(--refineui-radius-rounded-large);
|
|
3475
3523
|
}
|
|
3476
|
-
.\[\&\>\[data-refineui\=bubble\]\[data-align\=start\]\:not\(\:first-child\)\:not\(\:last-child\)_\[data-refineui\=bubble-content\]\]\:\[border-start-start-radius\:var\(--refineui-radius-rounded-
|
|
3477
|
-
border-start-start-radius: var(--refineui-radius-rounded-
|
|
3524
|
+
.\[\&\>\[data-refineui\=bubble\]\[data-align\=start\]\:not\(\:first-child\)\:not\(\:last-child\)_\[data-refineui\=bubble-content\]\]\:\[border-start-start-radius\:var\(--refineui-radius-rounded-large\)\] > [data-refineui=bubble][data-align=start]:not(:first-child):not(:last-child) [data-refineui=bubble-content] {
|
|
3525
|
+
border-start-start-radius: var(--refineui-radius-rounded-large);
|
|
3478
3526
|
}
|
|
3479
|
-
.\[\&\>\[data-refineui\=bubble\]\[data-align\=start\]\:not\(\:first-child\)\:not\(\:last-child\)_\[data-refineui\=bubble-content\]\]\:\[border-end-start-radius\:var\(--refineui-radius-rounded-
|
|
3480
|
-
border-end-start-radius: var(--refineui-radius-rounded-
|
|
3527
|
+
.\[\&\>\[data-refineui\=bubble\]\[data-align\=start\]\:not\(\:first-child\)\:not\(\:last-child\)_\[data-refineui\=bubble-content\]\]\:\[border-end-start-radius\:var\(--refineui-radius-rounded-large\)\] > [data-refineui=bubble][data-align=start]:not(:first-child):not(:last-child) [data-refineui=bubble-content] {
|
|
3528
|
+
border-end-start-radius: var(--refineui-radius-rounded-large);
|
|
3481
3529
|
}
|
|
3482
3530
|
.\[\&\>\[data-refineui\=bubble\]\[data-has-reactions-bottom\]\:not\(\:last-child\)\]\:mb-refineui-size-xx-large > [data-refineui=bubble][data-has-reactions-bottom]:not(:last-child) {
|
|
3483
3531
|
margin-bottom: var(--spacing-refineui-size-xx-large);
|
|
@@ -3523,6 +3571,15 @@
|
|
|
3523
3571
|
border-start-end-radius: var(--radius-refineui-large);
|
|
3524
3572
|
border-end-end-radius: var(--radius-refineui-large);
|
|
3525
3573
|
}
|
|
3574
|
+
.\[\&\[data-align\=end\]_\[data-refineui\=message-content\]\]\:items-end[data-align=end] [data-refineui=message-content] {
|
|
3575
|
+
align-items: flex-end;
|
|
3576
|
+
}
|
|
3577
|
+
.\[\&\[data-align\=end\]_\[data-refineui\=message-footer\]\]\:text-end[data-align=end] [data-refineui=message-footer] {
|
|
3578
|
+
text-align: end;
|
|
3579
|
+
}
|
|
3580
|
+
.\[\&\[data-align\=start\]_\[data-refineui\=message-content\]\]\:items-start[data-align=start] [data-refineui=message-content] {
|
|
3581
|
+
align-items: flex-start;
|
|
3582
|
+
}
|
|
3526
3583
|
.\[\&\[data-disabled\=true\]\[data-checked\=true\]\]\:border-refineui-alias-background-surface-selected[data-disabled=true][data-checked=true] {
|
|
3527
3584
|
border-color: var(--color-refineui-alias-background-surface-selected);
|
|
3528
3585
|
}
|
|
@@ -3554,6 +3611,20 @@
|
|
|
3554
3611
|
transform: none;
|
|
3555
3612
|
}
|
|
3556
3613
|
}
|
|
3614
|
+
.\[\&\[role\=status\]_\[data-refineui\=marker-content\]\]\:animate-pulse[role=status] [data-refineui=marker-content] {
|
|
3615
|
+
animation: var(--animate-pulse);
|
|
3616
|
+
}
|
|
3617
|
+
.\[\&\[role\=status\]_\[data-refineui\=marker-content\]\]\:\[animation-duration\:var\(--refineui-motion-duration-skeleton\)\][role=status] [data-refineui=marker-content] {
|
|
3618
|
+
animation-duration: var(--refineui-motion-duration-skeleton);
|
|
3619
|
+
}
|
|
3620
|
+
.\[\&\[role\=status\]_\[data-refineui\=marker-content\]\]\:\[animation-timing-function\:var\(--refineui-motion-easing-ease-in-out\)\][role=status] [data-refineui=marker-content] {
|
|
3621
|
+
animation-timing-function: var(--refineui-motion-easing-ease-in-out);
|
|
3622
|
+
}
|
|
3623
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3624
|
+
.motion-reduce\:\[\&\[role\=status\]_\[data-refineui\=marker-content\]\]\:animate-none[role=status] [data-refineui=marker-content] {
|
|
3625
|
+
animation: none;
|
|
3626
|
+
}
|
|
3627
|
+
}
|
|
3557
3628
|
}
|
|
3558
3629
|
:root {
|
|
3559
3630
|
--refineui-color-primary-light-gray: #E6E6E6;
|
|
@@ -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
|
+
}
|