@refineui/react 0.4.0 → 0.5.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 +897 -52
- package/dist/authoring-manifest.cjs.map +1 -1
- package/dist/authoring-manifest.js +897 -52
- package/dist/authoring-manifest.js.map +1 -1
- package/dist/index.cjs +6626 -5228
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +191 -11
- package/dist/index.d.ts +191 -11
- package/dist/index.js +6517 -5142
- package/dist/index.js.map +1 -1
- package/dist/spec/authoring/components/button-group.json +104 -0
- 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/{command-separator.json → command-divider.json} +3 -3
- package/dist/spec/authoring/components/command-list.json +1 -1
- package/dist/spec/authoring/components/context-menu-content.json +1 -1
- package/{spec/authoring/components/context-menu-separator.json → dist/spec/authoring/components/context-menu-divider.json} +3 -3
- package/dist/spec/authoring/components/context-menu-sub-content.json +1 -1
- package/dist/spec/authoring/components/date-input.json +61 -0
- package/dist/spec/authoring/components/dropdown-content.json +1 -1
- package/{spec/authoring/components/dropdown-separator.json → dist/spec/authoring/components/dropdown-divider.json} +3 -3
- package/dist/spec/authoring/components/dropdown-group.json +1 -1
- 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/{spec/authoring/components/select-separator.json → dist/spec/authoring/components/select-divider.json} +3 -3
- package/dist/spec/authoring/components/select-group.json +1 -1
- package/dist/spec/authoring/components/select-viewport.json +1 -1
- package/dist/spec/authoring/components/time-input.json +38 -0
- package/dist/spec/authoring/components/toolbar-button.json +22 -0
- package/dist/spec/authoring/components/toolbar-divider.json +18 -0
- package/dist/spec/authoring/components/toolbar-group.json +29 -0
- package/dist/spec/authoring/components/toolbar-toggle-button.json +22 -0
- package/dist/spec/authoring/components/toolbar.json +119 -0
- package/dist/spec/authoring/manifest.json +897 -52
- package/dist/spec/components/button-group.json +77 -0
- package/dist/spec/components/calendar.json +9 -0
- package/dist/spec/components/code-block.json +18 -0
- package/dist/spec/components/command.json +1 -1
- package/dist/spec/components/date-input.json +71 -0
- package/dist/spec/components/dropdown.json +1 -1
- package/dist/spec/components/result.json +1 -0
- package/dist/spec/components/time-input.json +24 -0
- package/dist/spec/components/toolbar.json +91 -0
- package/dist/spec/contract-index.json +48 -3
- package/dist/spec/manifest.json +47 -2
- package/dist/spec/token-trace-v2.json +1 -1
- package/package.json +2 -2
- package/refineui.css +235 -20
- package/spec/authoring/components/button-group.json +104 -0
- 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/{command-separator.json → command-divider.json} +3 -3
- package/spec/authoring/components/command-list.json +1 -1
- package/spec/authoring/components/context-menu-content.json +1 -1
- package/{dist/spec/authoring/components/context-menu-separator.json → spec/authoring/components/context-menu-divider.json} +3 -3
- package/spec/authoring/components/context-menu-sub-content.json +1 -1
- package/spec/authoring/components/date-input.json +61 -0
- package/spec/authoring/components/dropdown-content.json +1 -1
- package/{dist/spec/authoring/components/dropdown-separator.json → spec/authoring/components/dropdown-divider.json} +3 -3
- package/spec/authoring/components/dropdown-group.json +1 -1
- 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/{dist/spec/authoring/components/select-separator.json → spec/authoring/components/select-divider.json} +3 -3
- package/spec/authoring/components/select-group.json +1 -1
- package/spec/authoring/components/select-viewport.json +1 -1
- package/spec/authoring/components/time-input.json +38 -0
- package/spec/authoring/components/toolbar-button.json +22 -0
- package/spec/authoring/components/toolbar-divider.json +18 -0
- package/spec/authoring/components/toolbar-group.json +29 -0
- package/spec/authoring/components/toolbar-toggle-button.json +22 -0
- package/spec/authoring/components/toolbar.json +119 -0
- package/spec/authoring/manifest.json +897 -52
- package/spec/components/button-group.json +77 -0
- package/spec/components/calendar.json +9 -0
- package/spec/components/code-block.json +18 -0
- package/spec/components/command.json +1 -1
- package/spec/components/date-input.json +71 -0
- package/spec/components/dropdown.json +1 -1
- package/spec/components/result.json +1 -0
- package/spec/components/time-input.json +24 -0
- package/spec/components/toolbar.json +91 -0
- package/spec/manifest.json +47 -2
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "result",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "Result",
|
|
5
|
+
"kind": "root",
|
|
6
|
+
"category": "utilities",
|
|
7
|
+
"label": "Result",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"slots": [
|
|
13
|
+
{
|
|
14
|
+
"name": "children",
|
|
15
|
+
"accepts": [
|
|
16
|
+
"ResultActions",
|
|
17
|
+
"ResultButton",
|
|
18
|
+
"ResultDescription",
|
|
19
|
+
"ResultIcon",
|
|
20
|
+
"ResultTitle"
|
|
21
|
+
],
|
|
22
|
+
"repeatable": true,
|
|
23
|
+
"allowText": false,
|
|
24
|
+
"allowAnyComponent": false,
|
|
25
|
+
"defaultChildren": []
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"presets": [
|
|
29
|
+
{
|
|
30
|
+
"id": "default",
|
|
31
|
+
"label": "Default",
|
|
32
|
+
"root": {
|
|
33
|
+
"component": "Result",
|
|
34
|
+
"slots": {}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"events": [
|
|
39
|
+
{
|
|
40
|
+
"name": "click",
|
|
41
|
+
"payload": "void"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "select-
|
|
2
|
+
"id": "select-divider",
|
|
3
3
|
"exportPath": "@refineui/react",
|
|
4
|
-
"exportName": "
|
|
4
|
+
"exportName": "SelectDivider",
|
|
5
5
|
"kind": "part",
|
|
6
6
|
"category": "parts",
|
|
7
|
-
"label": "Select
|
|
7
|
+
"label": "Select Divider",
|
|
8
8
|
"props": [],
|
|
9
9
|
"preview": {
|
|
10
10
|
"mode": "full"
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "time-input",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "TimeInput",
|
|
5
|
+
"kind": "root",
|
|
6
|
+
"category": "utilities",
|
|
7
|
+
"label": "Time Input",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"slots": [
|
|
13
|
+
{
|
|
14
|
+
"name": "children",
|
|
15
|
+
"accepts": [],
|
|
16
|
+
"repeatable": true,
|
|
17
|
+
"allowText": false,
|
|
18
|
+
"allowAnyComponent": true,
|
|
19
|
+
"defaultChildren": []
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"presets": [
|
|
23
|
+
{
|
|
24
|
+
"id": "default",
|
|
25
|
+
"label": "Default",
|
|
26
|
+
"root": {
|
|
27
|
+
"component": "TimeInput",
|
|
28
|
+
"slots": {}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"events": [
|
|
33
|
+
{
|
|
34
|
+
"name": "click",
|
|
35
|
+
"payload": "void"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "toolbar-button",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "ToolbarButton",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Toolbar Button",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "Toolbar",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"component": "ToolbarGroup",
|
|
19
|
+
"slot": "children"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "toolbar-divider",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "ToolbarDivider",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Toolbar Divider",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "Toolbar",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "toolbar-group",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "ToolbarGroup",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Toolbar Group",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "Toolbar",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"slots": [
|
|
19
|
+
{
|
|
20
|
+
"name": "children",
|
|
21
|
+
"accepts": [
|
|
22
|
+
"ToolbarButton",
|
|
23
|
+
"ToolbarToggleButton"
|
|
24
|
+
],
|
|
25
|
+
"repeatable": true,
|
|
26
|
+
"min": 1
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "toolbar-toggle-button",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "ToolbarToggleButton",
|
|
5
|
+
"kind": "part",
|
|
6
|
+
"category": "parts",
|
|
7
|
+
"label": "Toolbar Toggle Button",
|
|
8
|
+
"props": [],
|
|
9
|
+
"preview": {
|
|
10
|
+
"mode": "full"
|
|
11
|
+
},
|
|
12
|
+
"parents": [
|
|
13
|
+
{
|
|
14
|
+
"component": "Toolbar",
|
|
15
|
+
"slot": "children"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"component": "ToolbarGroup",
|
|
19
|
+
"slot": "children"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "toolbar",
|
|
3
|
+
"exportPath": "@refineui/react",
|
|
4
|
+
"exportName": "Toolbar",
|
|
5
|
+
"kind": "root",
|
|
6
|
+
"category": "components",
|
|
7
|
+
"label": "Toolbar",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "size",
|
|
11
|
+
"label": "size",
|
|
12
|
+
"valueType": "enum",
|
|
13
|
+
"control": "segmented",
|
|
14
|
+
"options": [
|
|
15
|
+
"sm",
|
|
16
|
+
"md",
|
|
17
|
+
"lg"
|
|
18
|
+
],
|
|
19
|
+
"defaultValue": "sm",
|
|
20
|
+
"section": "variants"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "orientation",
|
|
24
|
+
"label": "orientation",
|
|
25
|
+
"valueType": "enum",
|
|
26
|
+
"control": "segmented",
|
|
27
|
+
"options": [
|
|
28
|
+
"horizontal",
|
|
29
|
+
"vertical"
|
|
30
|
+
],
|
|
31
|
+
"defaultValue": "horizontal",
|
|
32
|
+
"section": "variants"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"preview": {
|
|
36
|
+
"mode": "full"
|
|
37
|
+
},
|
|
38
|
+
"slots": [
|
|
39
|
+
{
|
|
40
|
+
"name": "children",
|
|
41
|
+
"accepts": [
|
|
42
|
+
"ToolbarGroup",
|
|
43
|
+
"ToolbarButton",
|
|
44
|
+
"ToolbarToggleButton",
|
|
45
|
+
"ToolbarDivider"
|
|
46
|
+
],
|
|
47
|
+
"repeatable": true
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"presets": [
|
|
51
|
+
{
|
|
52
|
+
"id": "formatting",
|
|
53
|
+
"label": "Text formatting",
|
|
54
|
+
"root": {
|
|
55
|
+
"component": "Toolbar",
|
|
56
|
+
"props": {
|
|
57
|
+
"label": "Text formatting"
|
|
58
|
+
},
|
|
59
|
+
"slots": {
|
|
60
|
+
"children": [
|
|
61
|
+
{
|
|
62
|
+
"component": "ToolbarGroup",
|
|
63
|
+
"props": {
|
|
64
|
+
"aria-label": "Text style"
|
|
65
|
+
},
|
|
66
|
+
"slots": {
|
|
67
|
+
"children": [
|
|
68
|
+
{
|
|
69
|
+
"component": "ToolbarToggleButton",
|
|
70
|
+
"props": {
|
|
71
|
+
"aria-label": "Bold"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"component": "ToolbarToggleButton",
|
|
76
|
+
"props": {
|
|
77
|
+
"aria-label": "Italic"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"component": "ToolbarDivider"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"component": "ToolbarGroup",
|
|
88
|
+
"props": {
|
|
89
|
+
"aria-label": "Clipboard"
|
|
90
|
+
},
|
|
91
|
+
"slots": {
|
|
92
|
+
"children": [
|
|
93
|
+
{
|
|
94
|
+
"component": "ToolbarButton",
|
|
95
|
+
"props": {
|
|
96
|
+
"aria-label": "Copy"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"component": "ToolbarButton",
|
|
101
|
+
"props": {
|
|
102
|
+
"aria-label": "Cut"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
"events": [
|
|
114
|
+
{
|
|
115
|
+
"name": "click",
|
|
116
|
+
"payload": "void"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
}
|