@refineui/react 0.4.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 +534 -3
- package/dist/authoring-manifest.cjs.map +1 -1
- package/dist/authoring-manifest.js +534 -3
- package/dist/authoring-manifest.js.map +1 -1
- package/dist/index.cjs +10694 -9944
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +115 -2
- package/dist/index.d.ts +115 -2
- package/dist/index.js +6159 -5424
- 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/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 +534 -3
- 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/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 +120 -12
- 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/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 +534 -3
- 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/result.json +1 -0
- package/spec/components/time-input.json +24 -0
- package/spec/manifest.json +24 -0
|
@@ -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-15T06:08:39.174Z",
|
|
7
7
|
"role": "Behavior and DOM contracts — source of truth for Doctor, MCP, and Docs",
|
|
8
8
|
"files": {
|
|
9
9
|
"manifest": "./manifest.json",
|
|
@@ -151,6 +151,15 @@
|
|
|
151
151
|
"calendar-day"
|
|
152
152
|
]
|
|
153
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"name": "DateInput",
|
|
156
|
+
"id": "date-input",
|
|
157
|
+
"spec": "./components/date-input.json",
|
|
158
|
+
"export": "DateInput",
|
|
159
|
+
"dataRefineui": [
|
|
160
|
+
"date-input"
|
|
161
|
+
]
|
|
162
|
+
},
|
|
154
163
|
{
|
|
155
164
|
"name": "Card",
|
|
156
165
|
"id": "card",
|
|
@@ -231,6 +240,21 @@
|
|
|
231
240
|
"chip-remove"
|
|
232
241
|
]
|
|
233
242
|
},
|
|
243
|
+
{
|
|
244
|
+
"name": "CodeBlock",
|
|
245
|
+
"id": "code-block",
|
|
246
|
+
"spec": "./components/code-block.json",
|
|
247
|
+
"export": "CodeBlock",
|
|
248
|
+
"dataRefineui": [
|
|
249
|
+
"code-block",
|
|
250
|
+
"code-block-actions",
|
|
251
|
+
"code-block-content",
|
|
252
|
+
"code-block-copy",
|
|
253
|
+
"code-block-header",
|
|
254
|
+
"code-block-line",
|
|
255
|
+
"code-block-title"
|
|
256
|
+
]
|
|
257
|
+
},
|
|
234
258
|
{
|
|
235
259
|
"name": "Command",
|
|
236
260
|
"id": "command",
|
package/dist/spec/manifest.json
CHANGED
|
@@ -117,6 +117,15 @@
|
|
|
117
117
|
"calendar-day"
|
|
118
118
|
]
|
|
119
119
|
},
|
|
120
|
+
{
|
|
121
|
+
"name": "DateInput",
|
|
122
|
+
"id": "date-input",
|
|
123
|
+
"spec": "./components/date-input.json",
|
|
124
|
+
"export": "DateInput",
|
|
125
|
+
"dataRefineui": [
|
|
126
|
+
"date-input"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
120
129
|
{
|
|
121
130
|
"name": "Card",
|
|
122
131
|
"id": "card",
|
|
@@ -197,6 +206,21 @@
|
|
|
197
206
|
"chip-remove"
|
|
198
207
|
]
|
|
199
208
|
},
|
|
209
|
+
{
|
|
210
|
+
"name": "CodeBlock",
|
|
211
|
+
"id": "code-block",
|
|
212
|
+
"spec": "./components/code-block.json",
|
|
213
|
+
"export": "CodeBlock",
|
|
214
|
+
"dataRefineui": [
|
|
215
|
+
"code-block",
|
|
216
|
+
"code-block-actions",
|
|
217
|
+
"code-block-content",
|
|
218
|
+
"code-block-copy",
|
|
219
|
+
"code-block-header",
|
|
220
|
+
"code-block-line",
|
|
221
|
+
"code-block-title"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
200
224
|
{
|
|
201
225
|
"name": "Command",
|
|
202
226
|
"id": "command",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refineui/react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "RefineUI React components — Pelagornis RefineUI Web Kit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"test:authoring:browser": "vitest run --config vitest.authoring.browser.config.ts"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@refineui/tokens": "2.2.
|
|
40
|
+
"@refineui/tokens": "2.2.2",
|
|
41
41
|
"@refineui/utilities": "0.0.4",
|
|
42
42
|
"@refineui/web-icons": "^0.3.39",
|
|
43
43
|
"clsx": "2.1.1"
|
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);
|
|
@@ -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,12 +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
|
}
|
|
874
892
|
.min-h-refineui-size-x-large {
|
|
875
893
|
min-height: var(--spacing-refineui-size-x-large);
|
|
876
894
|
}
|
|
895
|
+
.min-h-refineui-time-input-wheel-height {
|
|
896
|
+
min-height: var(--spacing-refineui-time-input-wheel-height);
|
|
897
|
+
}
|
|
877
898
|
.w-\[calc\(var\(--refineui-sidebar-peek-panel-width\)\+2\*var\(--refineui-spacing-size-x-small\)\)\] {
|
|
878
899
|
width: calc(var(--refineui-sidebar-peek-panel-width) + 2 * var(--refineui-spacing-size-x-small));
|
|
879
900
|
}
|
|
@@ -910,6 +931,9 @@
|
|
|
910
931
|
.w-refineui-foundation-size-120 {
|
|
911
932
|
width: var(--spacing-refineui-foundation-size-120);
|
|
912
933
|
}
|
|
934
|
+
.w-refineui-foundation-size-800 {
|
|
935
|
+
width: var(--spacing-refineui-foundation-size-800);
|
|
936
|
+
}
|
|
913
937
|
.w-refineui-menu-panel-width {
|
|
914
938
|
width: var(--spacing-refineui-menu-panel-width);
|
|
915
939
|
}
|
|
@@ -922,6 +946,9 @@
|
|
|
922
946
|
.w-refineui-size-medium {
|
|
923
947
|
width: var(--spacing-refineui-size-medium);
|
|
924
948
|
}
|
|
949
|
+
.w-refineui-size-x-large {
|
|
950
|
+
width: var(--spacing-refineui-size-x-large);
|
|
951
|
+
}
|
|
925
952
|
.w-refineui-spin-stepper-width {
|
|
926
953
|
width: var(--spacing-refineui-spin-stepper-width);
|
|
927
954
|
}
|
|
@@ -943,6 +970,12 @@
|
|
|
943
970
|
.max-w-max {
|
|
944
971
|
max-width: max-content;
|
|
945
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
|
+
}
|
|
946
979
|
.max-w-refineui-toast-max-width {
|
|
947
980
|
max-width: var(--spacing-refineui-toast-max-width);
|
|
948
981
|
}
|
|
@@ -1176,6 +1209,15 @@
|
|
|
1176
1209
|
.resize-y {
|
|
1177
1210
|
resize: vertical;
|
|
1178
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
|
+
}
|
|
1179
1221
|
.\[scrollbar-width\:none\] {
|
|
1180
1222
|
scrollbar-width: none;
|
|
1181
1223
|
}
|
|
@@ -1373,6 +1415,9 @@
|
|
|
1373
1415
|
text-overflow: ellipsis;
|
|
1374
1416
|
white-space: nowrap;
|
|
1375
1417
|
}
|
|
1418
|
+
.overflow-auto {
|
|
1419
|
+
overflow: auto;
|
|
1420
|
+
}
|
|
1376
1421
|
.overflow-clip {
|
|
1377
1422
|
overflow: clip;
|
|
1378
1423
|
}
|
|
@@ -1385,6 +1430,9 @@
|
|
|
1385
1430
|
.overflow-x-auto {
|
|
1386
1431
|
overflow-x: auto;
|
|
1387
1432
|
}
|
|
1433
|
+
.overflow-x-hidden {
|
|
1434
|
+
overflow-x: hidden;
|
|
1435
|
+
}
|
|
1388
1436
|
.overflow-y-hidden {
|
|
1389
1437
|
overflow-y: hidden;
|
|
1390
1438
|
}
|
|
@@ -1525,6 +1573,9 @@
|
|
|
1525
1573
|
.border-refineui-alias-border-strong {
|
|
1526
1574
|
border-color: var(--color-refineui-alias-border-strong);
|
|
1527
1575
|
}
|
|
1576
|
+
.border-refineui-alias-border-subtle {
|
|
1577
|
+
border-color: var(--color-refineui-alias-border-subtle);
|
|
1578
|
+
}
|
|
1528
1579
|
.border-refineui-alias-border-success {
|
|
1529
1580
|
border-color: var(--color-refineui-alias-border-success);
|
|
1530
1581
|
}
|
|
@@ -1594,9 +1645,15 @@
|
|
|
1594
1645
|
.bg-refineui-alias-surface-popover {
|
|
1595
1646
|
background-color: var(--color-refineui-alias-surface-popover);
|
|
1596
1647
|
}
|
|
1648
|
+
.bg-refineui-alias-surface-sunken {
|
|
1649
|
+
background-color: var(--color-refineui-alias-surface-sunken);
|
|
1650
|
+
}
|
|
1597
1651
|
.bg-transparent {
|
|
1598
1652
|
background-color: transparent;
|
|
1599
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
|
+
}
|
|
1600
1657
|
.object-cover {
|
|
1601
1658
|
object-fit: cover;
|
|
1602
1659
|
}
|
|
@@ -1609,9 +1666,6 @@
|
|
|
1609
1666
|
.p-refineui-size-medium {
|
|
1610
1667
|
padding: var(--spacing-refineui-size-medium);
|
|
1611
1668
|
}
|
|
1612
|
-
.p-refineui-size-x-large {
|
|
1613
|
-
padding: var(--spacing-refineui-size-x-large);
|
|
1614
|
-
}
|
|
1615
1669
|
.p-refineui-size-x-small {
|
|
1616
1670
|
padding: var(--spacing-refineui-size-x-small);
|
|
1617
1671
|
}
|
|
@@ -1711,6 +1765,9 @@
|
|
|
1711
1765
|
.pt-refineui-size-none {
|
|
1712
1766
|
padding-top: var(--spacing-refineui-size-none);
|
|
1713
1767
|
}
|
|
1768
|
+
.pt-refineui-size-x-large {
|
|
1769
|
+
padding-top: var(--spacing-refineui-size-x-large);
|
|
1770
|
+
}
|
|
1714
1771
|
.pt-refineui-size-x-small {
|
|
1715
1772
|
padding-top: var(--spacing-refineui-size-x-small);
|
|
1716
1773
|
}
|
|
@@ -1741,6 +1798,18 @@
|
|
|
1741
1798
|
.align-middle {
|
|
1742
1799
|
vertical-align: middle;
|
|
1743
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
|
+
}
|
|
1744
1813
|
.refineui-typo-caption-1 {
|
|
1745
1814
|
font-family: var(--refineui-typography-caption-1-font-family);
|
|
1746
1815
|
font-size: var(--refineui-typography-caption-1-font-size);
|
|
@@ -1762,6 +1831,9 @@
|
|
|
1762
1831
|
.\[font-family\:var\(--refineui-typography-title-3-font-family\)\] {
|
|
1763
1832
|
font-family: var(--refineui-typography-title-3-font-family);
|
|
1764
1833
|
}
|
|
1834
|
+
.font-mono {
|
|
1835
|
+
font-family: var(--font-mono);
|
|
1836
|
+
}
|
|
1765
1837
|
.text-\[length\:var\(--refineui-typography-sub-title-1-font-size\)\] {
|
|
1766
1838
|
font-size: var(--refineui-typography-sub-title-1-font-size);
|
|
1767
1839
|
}
|
|
@@ -1787,6 +1859,10 @@
|
|
|
1787
1859
|
--tw-leading: 1;
|
|
1788
1860
|
line-height: 1;
|
|
1789
1861
|
}
|
|
1862
|
+
.leading-relaxed {
|
|
1863
|
+
--tw-leading: var(--leading-relaxed);
|
|
1864
|
+
line-height: var(--leading-relaxed);
|
|
1865
|
+
}
|
|
1790
1866
|
.font-\[var\(--refineui-typography-sub-title-1-font-weight\)\] {
|
|
1791
1867
|
--tw-font-weight: var(--refineui-typography-sub-title-1-font-weight);
|
|
1792
1868
|
font-weight: var(--refineui-typography-sub-title-1-font-weight);
|
|
@@ -1803,6 +1879,10 @@
|
|
|
1803
1879
|
--tw-font-weight: var(--font-weight-medium);
|
|
1804
1880
|
font-weight: var(--font-weight-medium);
|
|
1805
1881
|
}
|
|
1882
|
+
.font-semibold {
|
|
1883
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
1884
|
+
font-weight: var(--font-weight-semibold);
|
|
1885
|
+
}
|
|
1806
1886
|
.tracking-wide {
|
|
1807
1887
|
--tw-tracking: var(--tracking-wide);
|
|
1808
1888
|
letter-spacing: var(--tracking-wide);
|
|
@@ -1819,6 +1899,15 @@
|
|
|
1819
1899
|
.whitespace-nowrap {
|
|
1820
1900
|
white-space: nowrap;
|
|
1821
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
|
+
}
|
|
1822
1911
|
.\!text-refineui-alias-foreground-disabled {
|
|
1823
1912
|
color: var(--color-refineui-alias-foreground-disabled) !important;
|
|
1824
1913
|
}
|
|
@@ -2016,6 +2105,11 @@
|
|
|
2016
2105
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2017
2106
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2018
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
|
+
}
|
|
2019
2113
|
.transition-\[background-color\,color\] {
|
|
2020
2114
|
transition-property: background-color,color;
|
|
2021
2115
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -2563,6 +2657,9 @@
|
|
|
2563
2657
|
outline-style: var(--tw-outline-style);
|
|
2564
2658
|
outline-width: var(--refineui-stroke-width-thick);
|
|
2565
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
|
+
}
|
|
2566
2663
|
.focus-visible\:\[outline-offset\:var\(--refineui-focus-offset\)\]:focus-visible {
|
|
2567
2664
|
outline-offset: var(--refineui-focus-offset);
|
|
2568
2665
|
}
|
|
@@ -2583,6 +2680,9 @@
|
|
|
2583
2680
|
.active\:scale-\[var\(--refineui-motion-scale-press\)\]:active {
|
|
2584
2681
|
scale: var(--refineui-motion-scale-press);
|
|
2585
2682
|
}
|
|
2683
|
+
.active\:\[transform\:scale\(var\(--refineui-foundation-motion-scale-96\)\)\]:active {
|
|
2684
|
+
transform: scale(var(--refineui-foundation-motion-scale-96));
|
|
2685
|
+
}
|
|
2586
2686
|
.active\:transform-none:active {
|
|
2587
2687
|
transform: none;
|
|
2588
2688
|
}
|
|
@@ -2841,12 +2941,6 @@
|
|
|
2841
2941
|
color: var(--color-refineui-alias-foreground-disabled);
|
|
2842
2942
|
}
|
|
2843
2943
|
}
|
|
2844
|
-
.data-\[inactive\=true\]\:active\:scale-100[data-inactive="true"]:active {
|
|
2845
|
-
--tw-scale-x: 100%;
|
|
2846
|
-
--tw-scale-y: 100%;
|
|
2847
|
-
--tw-scale-z: 100%;
|
|
2848
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
2849
|
-
}
|
|
2850
2944
|
.data-\[orientation\=horizontal\]\:top-0[data-orientation="horizontal"] {
|
|
2851
2945
|
top: 0px;
|
|
2852
2946
|
}
|
|
@@ -3246,6 +3340,9 @@
|
|
|
3246
3340
|
content: var(--tw-content);
|
|
3247
3341
|
background-color: var(--color-refineui-alias-background-brand);
|
|
3248
3342
|
}
|
|
3343
|
+
.focus-visible\:\[\&_\[data-selected\]\]\:text-refineui-alias-foreground-brand:focus-visible [data-selected] {
|
|
3344
|
+
color: var(--color-refineui-alias-foreground-brand);
|
|
3345
|
+
}
|
|
3249
3346
|
.\[\&_svg\]\:block svg {
|
|
3250
3347
|
display: block;
|
|
3251
3348
|
}
|
|
@@ -3539,6 +3636,9 @@
|
|
|
3539
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] {
|
|
3540
3637
|
inset-block: calc(var(--refineui-command-list-radius) / 2);
|
|
3541
3638
|
}
|
|
3639
|
+
.\[\&\>span\]\:shrink-0 > span {
|
|
3640
|
+
flex-shrink: 0;
|
|
3641
|
+
}
|
|
3542
3642
|
.\[\&\>span\]\:leading-none > span {
|
|
3543
3643
|
--tw-leading: 1;
|
|
3544
3644
|
line-height: 1;
|
|
@@ -3791,6 +3891,7 @@
|
|
|
3791
3891
|
--refineui-size-foundation-size-540: 54px;
|
|
3792
3892
|
--refineui-size-foundation-size-600: 60px;
|
|
3793
3893
|
--refineui-size-foundation-size-800: 80px;
|
|
3894
|
+
--refineui-size-foundation-size-1400: 140px;
|
|
3794
3895
|
--refineui-size-foundation-size-2000: 200px;
|
|
3795
3896
|
--refineui-size-foundation-size-2440: 244px;
|
|
3796
3897
|
--refineui-size-foundation-size-2560: 256px;
|
|
@@ -3816,6 +3917,7 @@
|
|
|
3816
3917
|
--refineui-size-control-checkbox: var(--refineui-size-foundation-size-200);
|
|
3817
3918
|
--refineui-size-control-checkbox-radio: var(--refineui-size-foundation-size-200);
|
|
3818
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);
|
|
3819
3921
|
--refineui-size-popover-panel-width: var(--refineui-size-foundation-size-3250);
|
|
3820
3922
|
--refineui-size-popover-beak-inset-from-start-edge: var(--refineui-size-foundation-size-340);
|
|
3821
3923
|
--refineui-size-popover-beak-inset-from-end-edge: var(--refineui-size-foundation-size-300);
|
|
@@ -4536,6 +4638,11 @@
|
|
|
4536
4638
|
syntax: "*";
|
|
4537
4639
|
inherits: false;
|
|
4538
4640
|
}
|
|
4641
|
+
@property --tw-scroll-snap-strictness {
|
|
4642
|
+
syntax: "*";
|
|
4643
|
+
inherits: false;
|
|
4644
|
+
initial-value: proximity;
|
|
4645
|
+
}
|
|
4539
4646
|
@property --tw-border-style {
|
|
4540
4647
|
syntax: "*";
|
|
4541
4648
|
inherits: false;
|
|
@@ -4850,6 +4957,7 @@
|
|
|
4850
4957
|
--tw-pan-x: initial;
|
|
4851
4958
|
--tw-pan-y: initial;
|
|
4852
4959
|
--tw-pinch-zoom: initial;
|
|
4960
|
+
--tw-scroll-snap-strictness: proximity;
|
|
4853
4961
|
--tw-border-style: solid;
|
|
4854
4962
|
--tw-leading: initial;
|
|
4855
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
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "code-block-header",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "CodeBlockHeader",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Code Block Header",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "CodeBlock",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"slots": [
|
|
19
|
+
{
|
|
20
|
+
"name": "children",
|
|
21
|
+
"accepts": [
|
|
22
|
+
"CodeBlockTitle",
|
|
23
|
+
"CodeBlockActions"
|
|
24
|
+
],
|
|
25
|
+
"repeatable": true
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "code-block-line",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "CodeBlockLine",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Code Block Line",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "variant",
|
|
11
|
+
"valueType": "enum",
|
|
12
|
+
"control": "segmented",
|
|
13
|
+
"options": [
|
|
14
|
+
"default",
|
|
15
|
+
"highlighted"
|
|
16
|
+
],
|
|
17
|
+
"defaultValue": "default",
|
|
18
|
+
"section": "variants",
|
|
19
|
+
"label": "variant"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"preview": {
|
|
23
|
+
"mode": "full"
|
|
24
|
+
},
|
|
25
|
+
"parents": [
|
|
26
|
+
{
|
|
27
|
+
"component": "CodeBlockContent",
|
|
28
|
+
"slot": "children"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|