@refineui/react 0.3.0 → 0.4.1
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 +1812 -1060
- package/dist/authoring-manifest.cjs.map +1 -1
- package/dist/authoring-manifest.js +1812 -1060
- package/dist/authoring-manifest.js.map +1 -1
- package/dist/index.cjs +6013 -5103
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +176 -22
- package/dist/index.d.ts +176 -22
- package/dist/index.js +6331 -5444
- package/dist/index.js.map +1 -1
- package/dist/spec/authoring/components/calendar.json +14 -1
- package/dist/spec/authoring/components/code-block-actions.json +28 -0
- package/dist/spec/authoring/components/code-block-content.json +45 -0
- package/dist/spec/authoring/components/code-block-copy-button.json +28 -0
- package/dist/spec/authoring/components/code-block-header.json +28 -0
- package/dist/spec/authoring/components/code-block-line.json +31 -0
- package/dist/spec/authoring/components/code-block-title.json +18 -0
- package/dist/spec/authoring/components/code-block.json +90 -0
- package/dist/spec/authoring/components/date-input.json +61 -0
- 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/components/popover-content.json +18 -1
- package/dist/spec/authoring/components/result-actions.json +18 -0
- package/dist/spec/authoring/components/result-button.json +18 -0
- package/dist/spec/authoring/components/result-description.json +18 -0
- package/dist/spec/authoring/components/result-icon.json +18 -0
- package/dist/spec/authoring/components/result-title.json +18 -0
- package/dist/spec/authoring/components/result.json +44 -0
- package/dist/spec/authoring/components/time-input.json +38 -0
- package/dist/spec/authoring/manifest.json +1812 -1060
- package/dist/spec/components/calendar.json +9 -0
- package/dist/spec/components/code-block.json +18 -0
- package/dist/spec/components/date-input.json +71 -0
- 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/components/result.json +1 -0
- package/dist/spec/components/time-input.json +24 -0
- package/dist/spec/contract-index.json +25 -1
- package/dist/spec/manifest.json +24 -0
- package/dist/spec/token-trace-v2.json +1 -1
- package/package.json +2 -2
- package/refineui.css +211 -32
- package/spec/authoring/components/calendar.json +14 -1
- package/spec/authoring/components/code-block-actions.json +28 -0
- package/spec/authoring/components/code-block-content.json +45 -0
- package/spec/authoring/components/code-block-copy-button.json +28 -0
- package/spec/authoring/components/code-block-header.json +28 -0
- package/spec/authoring/components/code-block-line.json +31 -0
- package/spec/authoring/components/code-block-title.json +18 -0
- package/spec/authoring/components/code-block.json +90 -0
- package/spec/authoring/components/date-input.json +61 -0
- 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/components/popover-content.json +18 -1
- package/spec/authoring/components/result-actions.json +18 -0
- package/spec/authoring/components/result-button.json +18 -0
- package/spec/authoring/components/result-description.json +18 -0
- package/spec/authoring/components/result-icon.json +18 -0
- package/spec/authoring/components/result-title.json +18 -0
- package/spec/authoring/components/result.json +44 -0
- package/spec/authoring/components/time-input.json +38 -0
- package/spec/authoring/manifest.json +1812 -1060
- package/spec/components/calendar.json +9 -0
- package/spec/components/code-block.json +18 -0
- package/spec/components/date-input.json +71 -0
- package/spec/components/kbd.json +16 -0
- package/spec/components/marker.json +21 -0
- package/spec/components/message.json +22 -0
- package/spec/components/result.json +1 -0
- package/spec/components/time-input.json +24 -0
- package/spec/manifest.json +24 -0
package/refineui.css
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
--font-weight-medium: 500;
|
|
15
15
|
--font-weight-semibold: 600;
|
|
16
16
|
--tracking-wide: 0.025em;
|
|
17
|
+
--leading-relaxed: 1.625;
|
|
17
18
|
--animate-spin: spin 1s linear infinite;
|
|
18
19
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
19
20
|
--default-transition-duration: 150ms;
|
|
@@ -77,6 +78,7 @@
|
|
|
77
78
|
--color-refineui-alias-surface-frosted: var(--refineui-color-alias-surface-frosted);
|
|
78
79
|
--color-refineui-alias-surface-overlay: var(--refineui-color-alias-surface-overlay);
|
|
79
80
|
--color-refineui-alias-surface-popover: var(--refineui-color-alias-surface-popover);
|
|
81
|
+
--color-refineui-alias-surface-sunken: var(--refineui-color-alias-surface-sunken);
|
|
80
82
|
--radius-refineui-circle: var(--refineui-radius-rounded-circle);
|
|
81
83
|
--radius-refineui-large: var(--refineui-radius-rounded-large);
|
|
82
84
|
--radius-refineui-medium: var(--refineui-radius-rounded-medium);
|
|
@@ -107,9 +109,11 @@
|
|
|
107
109
|
--spacing-refineui-foundation-size-100: var(--refineui-size-foundation-size-100);
|
|
108
110
|
--spacing-refineui-foundation-size-120: var(--refineui-size-foundation-size-120);
|
|
109
111
|
--spacing-refineui-foundation-size-160: var(--refineui-size-foundation-size-160);
|
|
112
|
+
--spacing-refineui-foundation-size-2000: var(--refineui-size-foundation-size-2000);
|
|
110
113
|
--spacing-refineui-foundation-size-200: var(--refineui-size-foundation-size-200);
|
|
111
114
|
--spacing-refineui-foundation-size-240: var(--refineui-size-foundation-size-240);
|
|
112
115
|
--spacing-refineui-foundation-size-280: var(--refineui-size-foundation-size-280);
|
|
116
|
+
--spacing-refineui-foundation-size-3200: var(--refineui-size-foundation-size-3200);
|
|
113
117
|
--spacing-refineui-foundation-size-320: var(--refineui-size-foundation-size-320);
|
|
114
118
|
--spacing-refineui-foundation-size-360: var(--refineui-size-foundation-size-360);
|
|
115
119
|
--spacing-refineui-foundation-size-400: var(--refineui-size-foundation-size-400);
|
|
@@ -118,6 +122,7 @@
|
|
|
118
122
|
--spacing-refineui-foundation-size-540: var(--refineui-size-foundation-size-540);
|
|
119
123
|
--spacing-refineui-foundation-size-600: var(--refineui-size-foundation-size-600);
|
|
120
124
|
--spacing-refineui-foundation-size-60: var(--refineui-size-foundation-size-60);
|
|
125
|
+
--spacing-refineui-foundation-size-800: var(--refineui-size-foundation-size-800);
|
|
121
126
|
--spacing-refineui-foundation-size-80: var(--refineui-size-foundation-size-80);
|
|
122
127
|
--spacing-refineui-icon-xsmall: var(--refineui-icon-size-xsmall);
|
|
123
128
|
--spacing-refineui-menu-panel-width: var(--refineui-size-menu-panel-width);
|
|
@@ -150,6 +155,7 @@
|
|
|
150
155
|
--spacing-refineui-switch-padding: var(--refineui-size-switch-padding);
|
|
151
156
|
--spacing-refineui-switch-thumb: var(--refineui-size-switch-thumb);
|
|
152
157
|
--spacing-refineui-switch-width: var(--refineui-size-switch-width);
|
|
158
|
+
--spacing-refineui-time-input-wheel-height: var(--refineui-size-time-input-wheel-height);
|
|
153
159
|
--spacing-refineui-toast-max-width: var(--refineui-size-toast-max-width);
|
|
154
160
|
--spacing-refineui-tooltip-max-width: var(--refineui-size-tooltip-max-width);
|
|
155
161
|
--z-index-refineui-content: var(--refineui-z-content);
|
|
@@ -337,8 +343,8 @@
|
|
|
337
343
|
.inset-x-0 {
|
|
338
344
|
inset-inline: 0px;
|
|
339
345
|
}
|
|
340
|
-
.inset-x-refineui-size-
|
|
341
|
-
inset-inline: var(--spacing-refineui-size-
|
|
346
|
+
.inset-x-refineui-size-small {
|
|
347
|
+
inset-inline: var(--spacing-refineui-size-small);
|
|
342
348
|
}
|
|
343
349
|
.inset-y-0 {
|
|
344
350
|
inset-block: 0px;
|
|
@@ -346,8 +352,8 @@
|
|
|
346
352
|
.inset-y-\[calc\(var\(--refineui-spacing-size-small\)-var\(--refineui-spacing-size-x-small\)\)\] {
|
|
347
353
|
inset-block: calc(var(--refineui-spacing-size-small) - var(--refineui-spacing-size-x-small));
|
|
348
354
|
}
|
|
349
|
-
.inset-y-refineui-size-
|
|
350
|
-
inset-block: var(--spacing-refineui-size-
|
|
355
|
+
.inset-y-refineui-size-small {
|
|
356
|
+
inset-block: var(--spacing-refineui-size-small);
|
|
351
357
|
}
|
|
352
358
|
.start-0 {
|
|
353
359
|
inset-inline-start: calc(var(--spacing) * 0);
|
|
@@ -454,15 +460,15 @@
|
|
|
454
460
|
.isolate {
|
|
455
461
|
isolation: isolate;
|
|
456
462
|
}
|
|
457
|
-
.-z-1 {
|
|
458
|
-
z-index: calc(1 * -1);
|
|
459
|
-
}
|
|
460
463
|
.z-0 {
|
|
461
464
|
z-index: 0;
|
|
462
465
|
}
|
|
463
466
|
.z-1 {
|
|
464
467
|
z-index: 1;
|
|
465
468
|
}
|
|
469
|
+
.z-10 {
|
|
470
|
+
z-index: 10;
|
|
471
|
+
}
|
|
466
472
|
.z-\[1\] {
|
|
467
473
|
z-index: 1;
|
|
468
474
|
}
|
|
@@ -781,6 +787,9 @@
|
|
|
781
787
|
.h-refineui-foundation-size-240 {
|
|
782
788
|
height: var(--spacing-refineui-foundation-size-240);
|
|
783
789
|
}
|
|
790
|
+
.h-refineui-foundation-size-320 {
|
|
791
|
+
height: var(--spacing-refineui-foundation-size-320);
|
|
792
|
+
}
|
|
784
793
|
.h-refineui-pagination-button-min-width {
|
|
785
794
|
height: var(--spacing-refineui-pagination-button-min-width);
|
|
786
795
|
}
|
|
@@ -799,6 +808,9 @@
|
|
|
799
808
|
.h-refineui-switch-thumb {
|
|
800
809
|
height: var(--spacing-refineui-switch-thumb);
|
|
801
810
|
}
|
|
811
|
+
.h-refineui-time-input-wheel-height {
|
|
812
|
+
height: var(--spacing-refineui-time-input-wheel-height);
|
|
813
|
+
}
|
|
802
814
|
.max-h-\[var\(--refineui-select-content-available-height\,100dvh\)\] {
|
|
803
815
|
max-height: var(--refineui-select-content-available-height,100dvh);
|
|
804
816
|
}
|
|
@@ -808,6 +820,9 @@
|
|
|
808
820
|
.max-h-refineui-dialog-max-height-viewport {
|
|
809
821
|
max-height: var(--spacing-refineui-dialog-max-height-viewport);
|
|
810
822
|
}
|
|
823
|
+
.max-h-refineui-time-input-wheel-height {
|
|
824
|
+
max-height: var(--spacing-refineui-time-input-wheel-height);
|
|
825
|
+
}
|
|
811
826
|
.min-h-\(--refineui-stroke-width-thin\) {
|
|
812
827
|
min-height: var(--refineui-stroke-width-thin);
|
|
813
828
|
}
|
|
@@ -868,9 +883,18 @@
|
|
|
868
883
|
.min-h-refineui-foundation-size-240 {
|
|
869
884
|
min-height: var(--spacing-refineui-foundation-size-240);
|
|
870
885
|
}
|
|
886
|
+
.min-h-refineui-foundation-size-320 {
|
|
887
|
+
min-height: var(--spacing-refineui-foundation-size-320);
|
|
888
|
+
}
|
|
871
889
|
.min-h-refineui-pagination-button-min-width {
|
|
872
890
|
min-height: var(--spacing-refineui-pagination-button-min-width);
|
|
873
891
|
}
|
|
892
|
+
.min-h-refineui-size-x-large {
|
|
893
|
+
min-height: var(--spacing-refineui-size-x-large);
|
|
894
|
+
}
|
|
895
|
+
.min-h-refineui-time-input-wheel-height {
|
|
896
|
+
min-height: var(--spacing-refineui-time-input-wheel-height);
|
|
897
|
+
}
|
|
874
898
|
.w-\[calc\(var\(--refineui-sidebar-peek-panel-width\)\+2\*var\(--refineui-spacing-size-x-small\)\)\] {
|
|
875
899
|
width: calc(var(--refineui-sidebar-peek-panel-width) + 2 * var(--refineui-spacing-size-x-small));
|
|
876
900
|
}
|
|
@@ -907,6 +931,9 @@
|
|
|
907
931
|
.w-refineui-foundation-size-120 {
|
|
908
932
|
width: var(--spacing-refineui-foundation-size-120);
|
|
909
933
|
}
|
|
934
|
+
.w-refineui-foundation-size-800 {
|
|
935
|
+
width: var(--spacing-refineui-foundation-size-800);
|
|
936
|
+
}
|
|
910
937
|
.w-refineui-menu-panel-width {
|
|
911
938
|
width: var(--spacing-refineui-menu-panel-width);
|
|
912
939
|
}
|
|
@@ -919,6 +946,9 @@
|
|
|
919
946
|
.w-refineui-size-medium {
|
|
920
947
|
width: var(--spacing-refineui-size-medium);
|
|
921
948
|
}
|
|
949
|
+
.w-refineui-size-x-large {
|
|
950
|
+
width: var(--spacing-refineui-size-x-large);
|
|
951
|
+
}
|
|
922
952
|
.w-refineui-spin-stepper-width {
|
|
923
953
|
width: var(--spacing-refineui-spin-stepper-width);
|
|
924
954
|
}
|
|
@@ -940,6 +970,12 @@
|
|
|
940
970
|
.max-w-max {
|
|
941
971
|
max-width: max-content;
|
|
942
972
|
}
|
|
973
|
+
.max-w-refineui-foundation-size-2000 {
|
|
974
|
+
max-width: var(--spacing-refineui-foundation-size-2000);
|
|
975
|
+
}
|
|
976
|
+
.max-w-refineui-foundation-size-3200 {
|
|
977
|
+
max-width: var(--spacing-refineui-foundation-size-3200);
|
|
978
|
+
}
|
|
943
979
|
.max-w-refineui-toast-max-width {
|
|
944
980
|
max-width: var(--spacing-refineui-toast-max-width);
|
|
945
981
|
}
|
|
@@ -1000,6 +1036,9 @@
|
|
|
1000
1036
|
.min-w-refineui-popover-panel-width {
|
|
1001
1037
|
min-width: var(--spacing-refineui-popover-panel-width);
|
|
1002
1038
|
}
|
|
1039
|
+
.min-w-refineui-size-x-large {
|
|
1040
|
+
min-width: var(--spacing-refineui-size-x-large);
|
|
1041
|
+
}
|
|
1003
1042
|
.min-w-refineui-size-xx-large {
|
|
1004
1043
|
min-width: var(--spacing-refineui-size-xx-large);
|
|
1005
1044
|
}
|
|
@@ -1170,6 +1209,15 @@
|
|
|
1170
1209
|
.resize-y {
|
|
1171
1210
|
resize: vertical;
|
|
1172
1211
|
}
|
|
1212
|
+
.snap-y {
|
|
1213
|
+
scroll-snap-type: y var(--tw-scroll-snap-strictness);
|
|
1214
|
+
}
|
|
1215
|
+
.snap-mandatory {
|
|
1216
|
+
--tw-scroll-snap-strictness: mandatory;
|
|
1217
|
+
}
|
|
1218
|
+
.snap-center {
|
|
1219
|
+
scroll-snap-align: center;
|
|
1220
|
+
}
|
|
1173
1221
|
.\[scrollbar-width\:none\] {
|
|
1174
1222
|
scrollbar-width: none;
|
|
1175
1223
|
}
|
|
@@ -1353,6 +1401,9 @@
|
|
|
1353
1401
|
.self-center {
|
|
1354
1402
|
align-self: center;
|
|
1355
1403
|
}
|
|
1404
|
+
.self-end {
|
|
1405
|
+
align-self: flex-end;
|
|
1406
|
+
}
|
|
1356
1407
|
.self-start {
|
|
1357
1408
|
align-self: flex-start;
|
|
1358
1409
|
}
|
|
@@ -1364,6 +1415,9 @@
|
|
|
1364
1415
|
text-overflow: ellipsis;
|
|
1365
1416
|
white-space: nowrap;
|
|
1366
1417
|
}
|
|
1418
|
+
.overflow-auto {
|
|
1419
|
+
overflow: auto;
|
|
1420
|
+
}
|
|
1367
1421
|
.overflow-clip {
|
|
1368
1422
|
overflow: clip;
|
|
1369
1423
|
}
|
|
@@ -1376,6 +1430,9 @@
|
|
|
1376
1430
|
.overflow-x-auto {
|
|
1377
1431
|
overflow-x: auto;
|
|
1378
1432
|
}
|
|
1433
|
+
.overflow-x-hidden {
|
|
1434
|
+
overflow-x: hidden;
|
|
1435
|
+
}
|
|
1379
1436
|
.overflow-y-hidden {
|
|
1380
1437
|
overflow-y: hidden;
|
|
1381
1438
|
}
|
|
@@ -1516,6 +1573,9 @@
|
|
|
1516
1573
|
.border-refineui-alias-border-strong {
|
|
1517
1574
|
border-color: var(--color-refineui-alias-border-strong);
|
|
1518
1575
|
}
|
|
1576
|
+
.border-refineui-alias-border-subtle {
|
|
1577
|
+
border-color: var(--color-refineui-alias-border-subtle);
|
|
1578
|
+
}
|
|
1519
1579
|
.border-refineui-alias-border-success {
|
|
1520
1580
|
border-color: var(--color-refineui-alias-border-success);
|
|
1521
1581
|
}
|
|
@@ -1585,9 +1645,15 @@
|
|
|
1585
1645
|
.bg-refineui-alias-surface-popover {
|
|
1586
1646
|
background-color: var(--color-refineui-alias-surface-popover);
|
|
1587
1647
|
}
|
|
1648
|
+
.bg-refineui-alias-surface-sunken {
|
|
1649
|
+
background-color: var(--color-refineui-alias-surface-sunken);
|
|
1650
|
+
}
|
|
1588
1651
|
.bg-transparent {
|
|
1589
1652
|
background-color: transparent;
|
|
1590
1653
|
}
|
|
1654
|
+
.\[mask-image\:linear-gradient\(to_bottom\,transparent\,black_35\%\,black_65\%\,transparent\)\] {
|
|
1655
|
+
mask-image: linear-gradient(to bottom,transparent,black 35%,black 65%,transparent);
|
|
1656
|
+
}
|
|
1591
1657
|
.object-cover {
|
|
1592
1658
|
object-fit: cover;
|
|
1593
1659
|
}
|
|
@@ -1600,9 +1666,6 @@
|
|
|
1600
1666
|
.p-refineui-size-medium {
|
|
1601
1667
|
padding: var(--spacing-refineui-size-medium);
|
|
1602
1668
|
}
|
|
1603
|
-
.p-refineui-size-x-large {
|
|
1604
|
-
padding: var(--spacing-refineui-size-x-large);
|
|
1605
|
-
}
|
|
1606
1669
|
.p-refineui-size-x-small {
|
|
1607
1670
|
padding: var(--spacing-refineui-size-x-small);
|
|
1608
1671
|
}
|
|
@@ -1702,6 +1765,9 @@
|
|
|
1702
1765
|
.pt-refineui-size-none {
|
|
1703
1766
|
padding-top: var(--spacing-refineui-size-none);
|
|
1704
1767
|
}
|
|
1768
|
+
.pt-refineui-size-x-large {
|
|
1769
|
+
padding-top: var(--spacing-refineui-size-x-large);
|
|
1770
|
+
}
|
|
1705
1771
|
.pt-refineui-size-x-small {
|
|
1706
1772
|
padding-top: var(--spacing-refineui-size-x-small);
|
|
1707
1773
|
}
|
|
@@ -1732,6 +1798,30 @@
|
|
|
1732
1798
|
.align-middle {
|
|
1733
1799
|
vertical-align: middle;
|
|
1734
1800
|
}
|
|
1801
|
+
.refineui-typo-body-1 {
|
|
1802
|
+
font-family: var(--refineui-typography-body-1-font-family);
|
|
1803
|
+
font-size: var(--refineui-typography-body-1-font-size);
|
|
1804
|
+
font-weight: var(--refineui-typography-body-1-font-weight);
|
|
1805
|
+
line-height: var(--refineui-typography-body-1-line-height);
|
|
1806
|
+
}
|
|
1807
|
+
.refineui-typo-body-2 {
|
|
1808
|
+
font-family: var(--refineui-typography-body-2-font-family);
|
|
1809
|
+
font-size: var(--refineui-typography-body-2-font-size);
|
|
1810
|
+
font-weight: var(--refineui-typography-body-2-font-weight);
|
|
1811
|
+
line-height: var(--refineui-typography-body-2-line-height);
|
|
1812
|
+
}
|
|
1813
|
+
.refineui-typo-caption-1 {
|
|
1814
|
+
font-family: var(--refineui-typography-caption-1-font-family);
|
|
1815
|
+
font-size: var(--refineui-typography-caption-1-font-size);
|
|
1816
|
+
font-weight: var(--refineui-typography-caption-1-font-weight);
|
|
1817
|
+
line-height: var(--refineui-typography-caption-1-line-height);
|
|
1818
|
+
}
|
|
1819
|
+
.refineui-typo-caption-2 {
|
|
1820
|
+
font-family: var(--refineui-typography-caption-2-font-family);
|
|
1821
|
+
font-size: var(--refineui-typography-caption-2-font-size);
|
|
1822
|
+
font-weight: var(--refineui-typography-caption-2-font-weight);
|
|
1823
|
+
line-height: var(--refineui-typography-caption-2-line-height);
|
|
1824
|
+
}
|
|
1735
1825
|
.\[font-family\:var\(--refineui-typography-sub-title-1-font-family\)\] {
|
|
1736
1826
|
font-family: var(--refineui-typography-sub-title-1-font-family);
|
|
1737
1827
|
}
|
|
@@ -1741,6 +1831,9 @@
|
|
|
1741
1831
|
.\[font-family\:var\(--refineui-typography-title-3-font-family\)\] {
|
|
1742
1832
|
font-family: var(--refineui-typography-title-3-font-family);
|
|
1743
1833
|
}
|
|
1834
|
+
.font-mono {
|
|
1835
|
+
font-family: var(--font-mono);
|
|
1836
|
+
}
|
|
1744
1837
|
.text-\[length\:var\(--refineui-typography-sub-title-1-font-size\)\] {
|
|
1745
1838
|
font-size: var(--refineui-typography-sub-title-1-font-size);
|
|
1746
1839
|
}
|
|
@@ -1766,6 +1859,10 @@
|
|
|
1766
1859
|
--tw-leading: 1;
|
|
1767
1860
|
line-height: 1;
|
|
1768
1861
|
}
|
|
1862
|
+
.leading-relaxed {
|
|
1863
|
+
--tw-leading: var(--leading-relaxed);
|
|
1864
|
+
line-height: var(--leading-relaxed);
|
|
1865
|
+
}
|
|
1769
1866
|
.font-\[var\(--refineui-typography-sub-title-1-font-weight\)\] {
|
|
1770
1867
|
--tw-font-weight: var(--refineui-typography-sub-title-1-font-weight);
|
|
1771
1868
|
font-weight: var(--refineui-typography-sub-title-1-font-weight);
|
|
@@ -1782,6 +1879,10 @@
|
|
|
1782
1879
|
--tw-font-weight: var(--font-weight-medium);
|
|
1783
1880
|
font-weight: var(--font-weight-medium);
|
|
1784
1881
|
}
|
|
1882
|
+
.font-semibold {
|
|
1883
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
1884
|
+
font-weight: var(--font-weight-semibold);
|
|
1885
|
+
}
|
|
1785
1886
|
.tracking-wide {
|
|
1786
1887
|
--tw-tracking: var(--tracking-wide);
|
|
1787
1888
|
letter-spacing: var(--tracking-wide);
|
|
@@ -1798,6 +1899,15 @@
|
|
|
1798
1899
|
.whitespace-nowrap {
|
|
1799
1900
|
white-space: nowrap;
|
|
1800
1901
|
}
|
|
1902
|
+
.whitespace-pre {
|
|
1903
|
+
white-space: pre;
|
|
1904
|
+
}
|
|
1905
|
+
.whitespace-pre-line {
|
|
1906
|
+
white-space: pre-line;
|
|
1907
|
+
}
|
|
1908
|
+
.whitespace-pre-wrap {
|
|
1909
|
+
white-space: pre-wrap;
|
|
1910
|
+
}
|
|
1801
1911
|
.\!text-refineui-alias-foreground-disabled {
|
|
1802
1912
|
color: var(--color-refineui-alias-foreground-disabled) !important;
|
|
1803
1913
|
}
|
|
@@ -1995,6 +2105,11 @@
|
|
|
1995
2105
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1996
2106
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1997
2107
|
}
|
|
2108
|
+
.transition-\[background-color\,color\,transform\] {
|
|
2109
|
+
transition-property: background-color,color,transform;
|
|
2110
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2111
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2112
|
+
}
|
|
1998
2113
|
.transition-\[background-color\,color\] {
|
|
1999
2114
|
transition-property: background-color,color;
|
|
2000
2115
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -2314,6 +2429,22 @@
|
|
|
2314
2429
|
content: var(--tw-content);
|
|
2315
2430
|
z-index: 0;
|
|
2316
2431
|
}
|
|
2432
|
+
.before\:h-\(--refineui-stroke-width-thin\)::before {
|
|
2433
|
+
content: var(--tw-content);
|
|
2434
|
+
height: var(--refineui-stroke-width-thin);
|
|
2435
|
+
}
|
|
2436
|
+
.before\:min-w-0::before {
|
|
2437
|
+
content: var(--tw-content);
|
|
2438
|
+
min-width: 0px;
|
|
2439
|
+
}
|
|
2440
|
+
.before\:flex-1::before {
|
|
2441
|
+
content: var(--tw-content);
|
|
2442
|
+
flex: 1;
|
|
2443
|
+
}
|
|
2444
|
+
.before\:bg-refineui-alias-border-default::before {
|
|
2445
|
+
content: var(--tw-content);
|
|
2446
|
+
background-color: var(--color-refineui-alias-border-default);
|
|
2447
|
+
}
|
|
2317
2448
|
.before\:content-\[\'\'\]::before {
|
|
2318
2449
|
--tw-content: '';
|
|
2319
2450
|
content: var(--tw-content);
|
|
@@ -2339,6 +2470,14 @@
|
|
|
2339
2470
|
content: var(--tw-content);
|
|
2340
2471
|
height: var(--refineui-stroke-width-thin);
|
|
2341
2472
|
}
|
|
2473
|
+
.after\:min-w-0::after {
|
|
2474
|
+
content: var(--tw-content);
|
|
2475
|
+
min-width: 0px;
|
|
2476
|
+
}
|
|
2477
|
+
.after\:flex-1::after {
|
|
2478
|
+
content: var(--tw-content);
|
|
2479
|
+
flex: 1;
|
|
2480
|
+
}
|
|
2342
2481
|
.after\:scale-0::after {
|
|
2343
2482
|
content: var(--tw-content);
|
|
2344
2483
|
--tw-scale-x: 0%;
|
|
@@ -2518,6 +2657,9 @@
|
|
|
2518
2657
|
outline-style: var(--tw-outline-style);
|
|
2519
2658
|
outline-width: var(--refineui-stroke-width-thick);
|
|
2520
2659
|
}
|
|
2660
|
+
.focus-visible\:\[outline-offset\:calc\(-1\*var\(--refineui-stroke-width-thick\)\)\]:focus-visible {
|
|
2661
|
+
outline-offset: calc(-1 * var(--refineui-stroke-width-thick));
|
|
2662
|
+
}
|
|
2521
2663
|
.focus-visible\:\[outline-offset\:var\(--refineui-focus-offset\)\]:focus-visible {
|
|
2522
2664
|
outline-offset: var(--refineui-focus-offset);
|
|
2523
2665
|
}
|
|
@@ -2538,6 +2680,9 @@
|
|
|
2538
2680
|
.active\:scale-\[var\(--refineui-motion-scale-press\)\]:active {
|
|
2539
2681
|
scale: var(--refineui-motion-scale-press);
|
|
2540
2682
|
}
|
|
2683
|
+
.active\:\[transform\:scale\(var\(--refineui-foundation-motion-scale-96\)\)\]:active {
|
|
2684
|
+
transform: scale(var(--refineui-foundation-motion-scale-96));
|
|
2685
|
+
}
|
|
2541
2686
|
.active\:transform-none:active {
|
|
2542
2687
|
transform: none;
|
|
2543
2688
|
}
|
|
@@ -2664,6 +2809,9 @@
|
|
|
2664
2809
|
.data-\[active\=true\]\:\!opacity-100[data-active="true"] {
|
|
2665
2810
|
opacity: 100% !important;
|
|
2666
2811
|
}
|
|
2812
|
+
.data-\[align\=end\]\:flex-row-reverse[data-align="end"] {
|
|
2813
|
+
flex-direction: row-reverse;
|
|
2814
|
+
}
|
|
2667
2815
|
.data-\[align\=end\]\:self-end[data-align="end"] {
|
|
2668
2816
|
align-self: flex-end;
|
|
2669
2817
|
}
|
|
@@ -2793,12 +2941,6 @@
|
|
|
2793
2941
|
color: var(--color-refineui-alias-foreground-disabled);
|
|
2794
2942
|
}
|
|
2795
2943
|
}
|
|
2796
|
-
.data-\[inactive\=true\]\:active\:scale-100[data-inactive="true"]:active {
|
|
2797
|
-
--tw-scale-x: 100%;
|
|
2798
|
-
--tw-scale-y: 100%;
|
|
2799
|
-
--tw-scale-z: 100%;
|
|
2800
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2801
|
-
}
|
|
2802
2944
|
.data-\[orientation\=horizontal\]\:top-0[data-orientation="horizontal"] {
|
|
2803
2945
|
top: 0px;
|
|
2804
2946
|
}
|
|
@@ -3198,6 +3340,9 @@
|
|
|
3198
3340
|
content: var(--tw-content);
|
|
3199
3341
|
background-color: var(--color-refineui-alias-background-brand);
|
|
3200
3342
|
}
|
|
3343
|
+
.focus-visible\:\[\&_\[data-selected\]\]\:text-refineui-alias-foreground-brand:focus-visible [data-selected] {
|
|
3344
|
+
color: var(--color-refineui-alias-foreground-brand);
|
|
3345
|
+
}
|
|
3201
3346
|
.\[\&_svg\]\:block svg {
|
|
3202
3347
|
display: block;
|
|
3203
3348
|
}
|
|
@@ -3455,29 +3600,29 @@
|
|
|
3455
3600
|
.\[\&\>\*\]\:flex-1 > * {
|
|
3456
3601
|
flex: 1;
|
|
3457
3602
|
}
|
|
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-
|
|
3603
|
+
.\[\&\>\[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] {
|
|
3604
|
+
border-end-end-radius: var(--refineui-radius-rounded-large);
|
|
3460
3605
|
}
|
|
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-
|
|
3606
|
+
.\[\&\>\[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] {
|
|
3607
|
+
border-start-end-radius: var(--refineui-radius-rounded-large);
|
|
3463
3608
|
}
|
|
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-
|
|
3609
|
+
.\[\&\>\[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] {
|
|
3610
|
+
border-start-end-radius: var(--refineui-radius-rounded-large);
|
|
3466
3611
|
}
|
|
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-
|
|
3612
|
+
.\[\&\>\[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] {
|
|
3613
|
+
border-end-end-radius: var(--refineui-radius-rounded-large);
|
|
3469
3614
|
}
|
|
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-
|
|
3615
|
+
.\[\&\>\[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] {
|
|
3616
|
+
border-end-start-radius: var(--refineui-radius-rounded-large);
|
|
3472
3617
|
}
|
|
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-
|
|
3618
|
+
.\[\&\>\[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] {
|
|
3619
|
+
border-start-start-radius: var(--refineui-radius-rounded-large);
|
|
3475
3620
|
}
|
|
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-
|
|
3621
|
+
.\[\&\>\[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] {
|
|
3622
|
+
border-start-start-radius: var(--refineui-radius-rounded-large);
|
|
3478
3623
|
}
|
|
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-
|
|
3624
|
+
.\[\&\>\[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] {
|
|
3625
|
+
border-end-start-radius: var(--refineui-radius-rounded-large);
|
|
3481
3626
|
}
|
|
3482
3627
|
.\[\&\>\[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
3628
|
margin-bottom: var(--spacing-refineui-size-xx-large);
|
|
@@ -3491,6 +3636,9 @@
|
|
|
3491
3636
|
.\[\&\>\[data-refineui\=scroll-area\]\>\[data-refineui\=scroll-area-scrollbar\]\[data-orientation\=vertical\]\]\:inset-y-\[calc\(var\(--refineui-command-list-radius\)\/2\)\] > [data-refineui=scroll-area] > [data-refineui=scroll-area-scrollbar][data-orientation=vertical] {
|
|
3492
3637
|
inset-block: calc(var(--refineui-command-list-radius) / 2);
|
|
3493
3638
|
}
|
|
3639
|
+
.\[\&\>span\]\:shrink-0 > span {
|
|
3640
|
+
flex-shrink: 0;
|
|
3641
|
+
}
|
|
3494
3642
|
.\[\&\>span\]\:leading-none > span {
|
|
3495
3643
|
--tw-leading: 1;
|
|
3496
3644
|
line-height: 1;
|
|
@@ -3523,6 +3671,15 @@
|
|
|
3523
3671
|
border-start-end-radius: var(--radius-refineui-large);
|
|
3524
3672
|
border-end-end-radius: var(--radius-refineui-large);
|
|
3525
3673
|
}
|
|
3674
|
+
.\[\&\[data-align\=end\]_\[data-refineui\=message-content\]\]\:items-end[data-align=end] [data-refineui=message-content] {
|
|
3675
|
+
align-items: flex-end;
|
|
3676
|
+
}
|
|
3677
|
+
.\[\&\[data-align\=end\]_\[data-refineui\=message-footer\]\]\:text-end[data-align=end] [data-refineui=message-footer] {
|
|
3678
|
+
text-align: end;
|
|
3679
|
+
}
|
|
3680
|
+
.\[\&\[data-align\=start\]_\[data-refineui\=message-content\]\]\:items-start[data-align=start] [data-refineui=message-content] {
|
|
3681
|
+
align-items: flex-start;
|
|
3682
|
+
}
|
|
3526
3683
|
.\[\&\[data-disabled\=true\]\[data-checked\=true\]\]\:border-refineui-alias-background-surface-selected[data-disabled=true][data-checked=true] {
|
|
3527
3684
|
border-color: var(--color-refineui-alias-background-surface-selected);
|
|
3528
3685
|
}
|
|
@@ -3554,6 +3711,20 @@
|
|
|
3554
3711
|
transform: none;
|
|
3555
3712
|
}
|
|
3556
3713
|
}
|
|
3714
|
+
.\[\&\[role\=status\]_\[data-refineui\=marker-content\]\]\:animate-pulse[role=status] [data-refineui=marker-content] {
|
|
3715
|
+
animation: var(--animate-pulse);
|
|
3716
|
+
}
|
|
3717
|
+
.\[\&\[role\=status\]_\[data-refineui\=marker-content\]\]\:\[animation-duration\:var\(--refineui-motion-duration-skeleton\)\][role=status] [data-refineui=marker-content] {
|
|
3718
|
+
animation-duration: var(--refineui-motion-duration-skeleton);
|
|
3719
|
+
}
|
|
3720
|
+
.\[\&\[role\=status\]_\[data-refineui\=marker-content\]\]\:\[animation-timing-function\:var\(--refineui-motion-easing-ease-in-out\)\][role=status] [data-refineui=marker-content] {
|
|
3721
|
+
animation-timing-function: var(--refineui-motion-easing-ease-in-out);
|
|
3722
|
+
}
|
|
3723
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3724
|
+
.motion-reduce\:\[\&\[role\=status\]_\[data-refineui\=marker-content\]\]\:animate-none[role=status] [data-refineui=marker-content] {
|
|
3725
|
+
animation: none;
|
|
3726
|
+
}
|
|
3727
|
+
}
|
|
3557
3728
|
}
|
|
3558
3729
|
:root {
|
|
3559
3730
|
--refineui-color-primary-light-gray: #E6E6E6;
|
|
@@ -3720,6 +3891,7 @@
|
|
|
3720
3891
|
--refineui-size-foundation-size-540: 54px;
|
|
3721
3892
|
--refineui-size-foundation-size-600: 60px;
|
|
3722
3893
|
--refineui-size-foundation-size-800: 80px;
|
|
3894
|
+
--refineui-size-foundation-size-1400: 140px;
|
|
3723
3895
|
--refineui-size-foundation-size-2000: 200px;
|
|
3724
3896
|
--refineui-size-foundation-size-2440: 244px;
|
|
3725
3897
|
--refineui-size-foundation-size-2560: 256px;
|
|
@@ -3745,6 +3917,7 @@
|
|
|
3745
3917
|
--refineui-size-control-checkbox: var(--refineui-size-foundation-size-200);
|
|
3746
3918
|
--refineui-size-control-checkbox-radio: var(--refineui-size-foundation-size-200);
|
|
3747
3919
|
--refineui-size-control-textarea-min: var(--refineui-size-foundation-size-800);
|
|
3920
|
+
--refineui-size-time-input-wheel-height: var(--refineui-size-foundation-size-1400);
|
|
3748
3921
|
--refineui-size-popover-panel-width: var(--refineui-size-foundation-size-3250);
|
|
3749
3922
|
--refineui-size-popover-beak-inset-from-start-edge: var(--refineui-size-foundation-size-340);
|
|
3750
3923
|
--refineui-size-popover-beak-inset-from-end-edge: var(--refineui-size-foundation-size-300);
|
|
@@ -4465,6 +4638,11 @@
|
|
|
4465
4638
|
syntax: "*";
|
|
4466
4639
|
inherits: false;
|
|
4467
4640
|
}
|
|
4641
|
+
@property --tw-scroll-snap-strictness {
|
|
4642
|
+
syntax: "*";
|
|
4643
|
+
inherits: false;
|
|
4644
|
+
initial-value: proximity;
|
|
4645
|
+
}
|
|
4468
4646
|
@property --tw-border-style {
|
|
4469
4647
|
syntax: "*";
|
|
4470
4648
|
inherits: false;
|
|
@@ -4779,6 +4957,7 @@
|
|
|
4779
4957
|
--tw-pan-x: initial;
|
|
4780
4958
|
--tw-pan-y: initial;
|
|
4781
4959
|
--tw-pinch-zoom: initial;
|
|
4960
|
+
--tw-scroll-snap-strictness: proximity;
|
|
4782
4961
|
--tw-border-style: solid;
|
|
4783
4962
|
--tw-leading: initial;
|
|
4784
4963
|
--tw-font-weight: initial;
|
|
@@ -5,7 +5,20 @@
|
|
|
5
5
|
"kind": "root",
|
|
6
6
|
"category": "components",
|
|
7
7
|
"label": "Calendar",
|
|
8
|
-
"props": [
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "mode",
|
|
11
|
+
"label": "mode",
|
|
12
|
+
"valueType": "enum",
|
|
13
|
+
"control": "segmented",
|
|
14
|
+
"options": [
|
|
15
|
+
"single",
|
|
16
|
+
"range"
|
|
17
|
+
],
|
|
18
|
+
"defaultValue": "single",
|
|
19
|
+
"section": "variants"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
9
22
|
"preview": {
|
|
10
23
|
"mode": "full"
|
|
11
24
|
},
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "code-block-actions",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "CodeBlockActions",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Code Block Actions",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "CodeBlockHeader",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"slots": [
|
|
19
|
+
{
|
|
20
|
+
"name": "children",
|
|
21
|
+
"accepts": [
|
|
22
|
+
"CodeBlockCopyButton",
|
|
23
|
+
"Button"
|
|
24
|
+
],
|
|
25
|
+
"repeatable": true
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "code-block-content",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "CodeBlockContent",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Code Block Content",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "wrap",
|
|
11
|
+
"valueType": "boolean",
|
|
12
|
+
"control": "toggle",
|
|
13
|
+
"defaultValue": false,
|
|
14
|
+
"section": "properties",
|
|
15
|
+
"label": "wrap"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "lineNumbers",
|
|
19
|
+
"valueType": "boolean",
|
|
20
|
+
"control": "toggle",
|
|
21
|
+
"defaultValue": false,
|
|
22
|
+
"section": "properties",
|
|
23
|
+
"label": "line Numbers"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"preview": {
|
|
27
|
+
"mode": "full"
|
|
28
|
+
},
|
|
29
|
+
"parents": [
|
|
30
|
+
{
|
|
31
|
+
"component": "CodeBlock",
|
|
32
|
+
"slot": "children"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"slots": [
|
|
36
|
+
{
|
|
37
|
+
"name": "children",
|
|
38
|
+
"accepts": [
|
|
39
|
+
"CodeBlockLine"
|
|
40
|
+
],
|
|
41
|
+
"repeatable": true,
|
|
42
|
+
"min": 1
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "code-block-copy-button",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "CodeBlockCopyButton",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Code Block Copy Button",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "value",
|
|
11
|
+
"label": "value",
|
|
12
|
+
"valueType": "string",
|
|
13
|
+
"control": "textarea",
|
|
14
|
+
"defaultValue": "",
|
|
15
|
+
"required": true,
|
|
16
|
+
"section": "properties"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"preview": {
|
|
20
|
+
"mode": "full"
|
|
21
|
+
},
|
|
22
|
+
"parents": [
|
|
23
|
+
{
|
|
24
|
+
"component": "CodeBlockActions",
|
|
25
|
+
"slot": "children"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|