@reopt-ai/opt-ui 1.4.1 → 1.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/COMPONENT_CATALOG.md +291 -46
- package/dist/{chunk-N4NDU5ET.cjs → chunk-3QFYBBL6.cjs} +66 -52
- package/dist/{chunk-QWBHD54V.js → chunk-3XD4HIFL.js} +26 -3
- package/dist/{chunk-X5WCXJAF.cjs → chunk-NXZJIHEZ.cjs} +26 -3
- package/dist/{chunk-ELWICXYY.js → chunk-VBGPEW45.js} +69 -55
- package/dist/core/index.cjs +2 -2
- package/dist/core/index.d.cts +2 -1
- package/dist/core/index.d.ts +2 -1
- package/dist/core/index.js +1 -1
- package/dist/docs/02-components/01-core.md +156 -18
- package/dist/docs/02-components/03-shells.md +137 -30
- package/dist/docs/03-recipes/03-layouts.md +4 -0
- package/dist/docs/04-theming.md +3 -1
- package/dist/id-registry.cjs +8 -8
- package/dist/id-registry.js +8 -8
- package/dist/id-registry.json +16 -16
- package/dist/{index-DlAcuvQp.d.cts → index-DWyqDIkH.d.cts} +14 -11
- package/dist/{index-Slu5hOj1.d.ts → index-Uyijm14M.d.ts} +14 -11
- package/dist/index.cjs +282 -105
- package/dist/index.d.cts +7 -3
- package/dist/index.d.ts +7 -3
- package/dist/index.js +254 -77
- package/dist/meta.cjs +120 -10
- package/dist/meta.js +120 -10
- package/dist/shells/index.cjs +2 -2
- package/dist/shells/index.js +1 -1
- package/dist/tailwind.css +5 -5
- package/dist/theme/presets/default.css +12 -12
- package/dist/theme/server.cjs +281 -0
- package/dist/theme/server.d.cts +129 -0
- package/dist/theme/server.d.ts +129 -0
- package/dist/theme/server.js +242 -0
- package/package.json +14 -3
|
@@ -3075,59 +3075,83 @@ function Section({
|
|
|
3075
3075
|
Section.displayName = "Section";
|
|
3076
3076
|
|
|
3077
3077
|
// src/core/resizable.tsx
|
|
3078
|
+
|
|
3078
3079
|
var _reactresizablepanels = require('react-resizable-panels');
|
|
3079
3080
|
|
|
3080
|
-
function
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3081
|
+
function toPanelSize(size) {
|
|
3082
|
+
return typeof size === "number" ? `${size}%` : size;
|
|
3083
|
+
}
|
|
3084
|
+
function ResizablePanelGroup(_a) {
|
|
3085
|
+
var _b = _a, {
|
|
3086
|
+
direction,
|
|
3087
|
+
children,
|
|
3088
|
+
className,
|
|
3089
|
+
id,
|
|
3090
|
+
autoSaveId
|
|
3091
|
+
} = _b, props = _chunkONE3C5RVcjs.__objRest.call(void 0, _b, [
|
|
3092
|
+
"direction",
|
|
3093
|
+
"children",
|
|
3094
|
+
"className",
|
|
3095
|
+
"id",
|
|
3096
|
+
"autoSaveId"
|
|
3097
|
+
]);
|
|
3086
3098
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3087
3099
|
_reactresizablepanels.Group,
|
|
3088
|
-
{
|
|
3100
|
+
_chunkONE3C5RVcjs.__spreadProps.call(void 0, _chunkONE3C5RVcjs.__spreadValues.call(void 0, {
|
|
3089
3101
|
orientation: direction,
|
|
3090
|
-
id: autoSaveId,
|
|
3091
|
-
className: _chunkAFF2HPE5cjs.cn.call(void 0, "flex h-full w-full", className)
|
|
3092
|
-
|
|
3102
|
+
id: id != null ? id : autoSaveId,
|
|
3103
|
+
className: _chunkAFF2HPE5cjs.cn.call(void 0, "flex h-full w-full", className)
|
|
3104
|
+
}, props), {
|
|
3105
|
+
"data-opt-id": "BM5RR",
|
|
3093
3106
|
"data-opt-slug": "resizable.ResizablePanelGroup",
|
|
3094
3107
|
children
|
|
3095
|
-
}
|
|
3108
|
+
})
|
|
3096
3109
|
);
|
|
3097
3110
|
}
|
|
3098
3111
|
ResizablePanelGroup.displayName = "ResizablePanelGroup";
|
|
3099
|
-
function ResizablePanel({
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
}
|
|
3112
|
+
function ResizablePanel(_a) {
|
|
3113
|
+
var _b = _a, {
|
|
3114
|
+
collapsedSize,
|
|
3115
|
+
defaultSize,
|
|
3116
|
+
minSize,
|
|
3117
|
+
maxSize,
|
|
3118
|
+
children,
|
|
3119
|
+
className
|
|
3120
|
+
} = _b, props = _chunkONE3C5RVcjs.__objRest.call(void 0, _b, [
|
|
3121
|
+
"collapsedSize",
|
|
3122
|
+
"defaultSize",
|
|
3123
|
+
"minSize",
|
|
3124
|
+
"maxSize",
|
|
3125
|
+
"children",
|
|
3126
|
+
"className"
|
|
3127
|
+
]);
|
|
3108
3128
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3109
3129
|
_reactresizablepanels.Panel,
|
|
3110
|
-
{
|
|
3111
|
-
|
|
3112
|
-
defaultSize,
|
|
3113
|
-
minSize,
|
|
3114
|
-
maxSize,
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
"data-opt-id": "
|
|
3130
|
+
_chunkONE3C5RVcjs.__spreadProps.call(void 0, _chunkONE3C5RVcjs.__spreadValues.call(void 0, {
|
|
3131
|
+
collapsedSize: toPanelSize(collapsedSize),
|
|
3132
|
+
defaultSize: toPanelSize(defaultSize),
|
|
3133
|
+
minSize: toPanelSize(minSize),
|
|
3134
|
+
maxSize: toPanelSize(maxSize),
|
|
3135
|
+
className: _chunkAFF2HPE5cjs.cn.call(void 0, "overflow-auto", className)
|
|
3136
|
+
}, props), {
|
|
3137
|
+
"data-opt-id": "88X4V",
|
|
3118
3138
|
"data-opt-slug": "resizable.ResizablePanel",
|
|
3119
3139
|
children
|
|
3120
|
-
}
|
|
3140
|
+
})
|
|
3121
3141
|
);
|
|
3122
3142
|
}
|
|
3123
3143
|
ResizablePanel.displayName = "ResizablePanel";
|
|
3124
|
-
function ResizableHandle({
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3144
|
+
function ResizableHandle(_a) {
|
|
3145
|
+
var _b = _a, {
|
|
3146
|
+
className,
|
|
3147
|
+
withHandle = false
|
|
3148
|
+
} = _b, props = _chunkONE3C5RVcjs.__objRest.call(void 0, _b, [
|
|
3149
|
+
"className",
|
|
3150
|
+
"withHandle"
|
|
3151
|
+
]);
|
|
3128
3152
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3129
3153
|
_reactresizablepanels.Separator,
|
|
3130
|
-
{
|
|
3154
|
+
_chunkONE3C5RVcjs.__spreadProps.call(void 0, _chunkONE3C5RVcjs.__spreadValues.call(void 0, {
|
|
3131
3155
|
className: _chunkAFF2HPE5cjs.cn.call(void 0,
|
|
3132
3156
|
"bg-border relative flex items-center justify-center",
|
|
3133
3157
|
"after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2",
|
|
@@ -3135,28 +3159,18 @@ function ResizableHandle({
|
|
|
3135
3159
|
"[&[data-orientation=vertical]]:h-px [&[data-orientation=vertical]]:w-full",
|
|
3136
3160
|
"[&[data-orientation=horizontal]]:h-full [&[data-orientation=horizontal]]:w-px",
|
|
3137
3161
|
className
|
|
3138
|
-
)
|
|
3139
|
-
|
|
3162
|
+
)
|
|
3163
|
+
}, props), {
|
|
3164
|
+
"data-opt-id": "6Z22W",
|
|
3140
3165
|
"data-opt-slug": "resizable.ResizableHandle",
|
|
3141
|
-
children: withHandle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-border bg-surface z-10 flex h-4 w-3 items-center justify-center rounded-sm border", children: /* @__PURE__ */ _jsxruntime.
|
|
3142
|
-
|
|
3166
|
+
children: withHandle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-border bg-surface z-10 flex h-4 w-3 items-center justify-center rounded-sm border", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3167
|
+
_lucidereact.GripVertical,
|
|
3143
3168
|
{
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
viewBox: "0 0 6 10",
|
|
3147
|
-
fill: "none",
|
|
3148
|
-
className: "text-text-tertiary",
|
|
3149
|
-
children: [
|
|
3150
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "1", cy: "2", r: "0.75", fill: "currentColor" }),
|
|
3151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "1", cy: "5", r: "0.75", fill: "currentColor" }),
|
|
3152
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "1", cy: "8", r: "0.75", fill: "currentColor" }),
|
|
3153
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "5", cy: "2", r: "0.75", fill: "currentColor" }),
|
|
3154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "5", cy: "5", r: "0.75", fill: "currentColor" }),
|
|
3155
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "circle", { cx: "5", cy: "8", r: "0.75", fill: "currentColor" })
|
|
3156
|
-
]
|
|
3169
|
+
"aria-hidden": "true",
|
|
3170
|
+
className: "text-text-tertiary h-3 w-3"
|
|
3157
3171
|
}
|
|
3158
3172
|
) })
|
|
3159
|
-
}
|
|
3173
|
+
})
|
|
3160
3174
|
);
|
|
3161
3175
|
}
|
|
3162
3176
|
ResizableHandle.displayName = "ResizableHandle";
|
|
@@ -2040,12 +2040,21 @@ function DataTable({
|
|
|
2040
2040
|
OPT_TH,
|
|
2041
2041
|
"relative",
|
|
2042
2042
|
alignmentClass[(_a = col.align) != null ? _a : "left"],
|
|
2043
|
-
isSortable && "hover:text-text-primary cursor-pointer select-none"
|
|
2043
|
+
isSortable && "hover:text-text-primary cursor-pointer select-none",
|
|
2044
|
+
isSortable && OPT_FOCUS_VISIBLE
|
|
2044
2045
|
),
|
|
2045
2046
|
style: {
|
|
2046
2047
|
width: colWidths[col.id] || col.width || void 0
|
|
2047
2048
|
},
|
|
2048
2049
|
onClick: isSortable ? () => handleSort(col.id) : void 0,
|
|
2050
|
+
onKeyDown: (event) => {
|
|
2051
|
+
if (!isSortable || event.key !== "Enter" && event.key !== " ") {
|
|
2052
|
+
return;
|
|
2053
|
+
}
|
|
2054
|
+
event.preventDefault();
|
|
2055
|
+
handleSort(col.id);
|
|
2056
|
+
},
|
|
2057
|
+
tabIndex: isSortable ? 0 : void 0,
|
|
2049
2058
|
"aria-sort": sortCol === col.id && sortDir ? sortDir === "asc" ? "ascending" : "descending" : void 0,
|
|
2050
2059
|
children: [
|
|
2051
2060
|
/* @__PURE__ */ jsxs16("span", { className: "flex items-center", children: [
|
|
@@ -2061,14 +2070,21 @@ function DataTable({
|
|
|
2061
2070
|
"aria-valuemin": MIN_COLUMN_WIDTH,
|
|
2062
2071
|
"aria-valuemax": resizeMax,
|
|
2063
2072
|
"aria-valuenow": resizeValue,
|
|
2073
|
+
"aria-valuetext": `${resizeValue} pixels`,
|
|
2064
2074
|
tabIndex: 0,
|
|
2065
2075
|
className: "bg-border absolute top-0 right-0 bottom-0 w-1 cursor-col-resize opacity-0 hover:opacity-100",
|
|
2066
2076
|
onKeyDown: (e) => {
|
|
2067
|
-
if (e.key !== "ArrowLeft" && e.key !== "ArrowRight") {
|
|
2077
|
+
if (e.key !== "ArrowLeft" && e.key !== "ArrowRight" && e.key !== "Home" && e.key !== "End") {
|
|
2068
2078
|
return;
|
|
2069
2079
|
}
|
|
2070
2080
|
e.preventDefault();
|
|
2071
2081
|
e.stopPropagation();
|
|
2082
|
+
if (e.key === "Home" || e.key === "End") {
|
|
2083
|
+
setColWidths((prev) => __spreadProps(__spreadValues({}, prev), {
|
|
2084
|
+
[col.id]: e.key === "Home" ? MIN_COLUMN_WIDTH : resizeMax
|
|
2085
|
+
}));
|
|
2086
|
+
return;
|
|
2087
|
+
}
|
|
2072
2088
|
const delta = e.shiftKey ? 40 : 10;
|
|
2073
2089
|
const direction = e.key === "ArrowRight" ? 1 : -1;
|
|
2074
2090
|
setColWidths((prev) => {
|
|
@@ -2186,7 +2202,7 @@ function DataTable({
|
|
|
2186
2202
|
isExpanded && "rotate-90"
|
|
2187
2203
|
),
|
|
2188
2204
|
"aria-expanded": isExpanded,
|
|
2189
|
-
"aria-label": "Expand row
|
|
2205
|
+
"aria-label": `${isExpanded ? "Collapse" : "Expand"} row ${key}`,
|
|
2190
2206
|
children: "\u25B6"
|
|
2191
2207
|
}
|
|
2192
2208
|
)
|
|
@@ -2209,6 +2225,13 @@ function DataTable({
|
|
|
2209
2225
|
}
|
|
2210
2226
|
),
|
|
2211
2227
|
className: OPT_TABLE_ROW_ACTIVE,
|
|
2228
|
+
onKeyDown: (event) => {
|
|
2229
|
+
if (!onRowClick || event.target !== event.currentTarget || event.key !== "Enter" && event.key !== " ") {
|
|
2230
|
+
return;
|
|
2231
|
+
}
|
|
2232
|
+
event.preventDefault();
|
|
2233
|
+
onRowClick(row);
|
|
2234
|
+
},
|
|
2212
2235
|
children: [
|
|
2213
2236
|
getCellValue(row, col.accessor),
|
|
2214
2237
|
col.bar && /* @__PURE__ */ jsx18(
|
|
@@ -2040,12 +2040,21 @@ function DataTable({
|
|
|
2040
2040
|
_chunkAFF2HPE5cjs.OPT_TH,
|
|
2041
2041
|
"relative",
|
|
2042
2042
|
alignmentClass[(_a = col.align) != null ? _a : "left"],
|
|
2043
|
-
isSortable && "hover:text-text-primary cursor-pointer select-none"
|
|
2043
|
+
isSortable && "hover:text-text-primary cursor-pointer select-none",
|
|
2044
|
+
isSortable && _chunkAFF2HPE5cjs.OPT_FOCUS_VISIBLE
|
|
2044
2045
|
),
|
|
2045
2046
|
style: {
|
|
2046
2047
|
width: colWidths[col.id] || col.width || void 0
|
|
2047
2048
|
},
|
|
2048
2049
|
onClick: isSortable ? () => handleSort(col.id) : void 0,
|
|
2050
|
+
onKeyDown: (event) => {
|
|
2051
|
+
if (!isSortable || event.key !== "Enter" && event.key !== " ") {
|
|
2052
|
+
return;
|
|
2053
|
+
}
|
|
2054
|
+
event.preventDefault();
|
|
2055
|
+
handleSort(col.id);
|
|
2056
|
+
},
|
|
2057
|
+
tabIndex: isSortable ? 0 : void 0,
|
|
2049
2058
|
"aria-sort": sortCol === col.id && sortDir ? sortDir === "asc" ? "ascending" : "descending" : void 0,
|
|
2050
2059
|
children: [
|
|
2051
2060
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center", children: [
|
|
@@ -2061,14 +2070,21 @@ function DataTable({
|
|
|
2061
2070
|
"aria-valuemin": MIN_COLUMN_WIDTH,
|
|
2062
2071
|
"aria-valuemax": resizeMax,
|
|
2063
2072
|
"aria-valuenow": resizeValue,
|
|
2073
|
+
"aria-valuetext": `${resizeValue} pixels`,
|
|
2064
2074
|
tabIndex: 0,
|
|
2065
2075
|
className: "bg-border absolute top-0 right-0 bottom-0 w-1 cursor-col-resize opacity-0 hover:opacity-100",
|
|
2066
2076
|
onKeyDown: (e) => {
|
|
2067
|
-
if (e.key !== "ArrowLeft" && e.key !== "ArrowRight") {
|
|
2077
|
+
if (e.key !== "ArrowLeft" && e.key !== "ArrowRight" && e.key !== "Home" && e.key !== "End") {
|
|
2068
2078
|
return;
|
|
2069
2079
|
}
|
|
2070
2080
|
e.preventDefault();
|
|
2071
2081
|
e.stopPropagation();
|
|
2082
|
+
if (e.key === "Home" || e.key === "End") {
|
|
2083
|
+
setColWidths((prev) => _chunkONE3C5RVcjs.__spreadProps.call(void 0, _chunkONE3C5RVcjs.__spreadValues.call(void 0, {}, prev), {
|
|
2084
|
+
[col.id]: e.key === "Home" ? MIN_COLUMN_WIDTH : resizeMax
|
|
2085
|
+
}));
|
|
2086
|
+
return;
|
|
2087
|
+
}
|
|
2072
2088
|
const delta = e.shiftKey ? 40 : 10;
|
|
2073
2089
|
const direction = e.key === "ArrowRight" ? 1 : -1;
|
|
2074
2090
|
setColWidths((prev) => {
|
|
@@ -2186,7 +2202,7 @@ function DataTable({
|
|
|
2186
2202
|
isExpanded && "rotate-90"
|
|
2187
2203
|
),
|
|
2188
2204
|
"aria-expanded": isExpanded,
|
|
2189
|
-
"aria-label": "Expand row
|
|
2205
|
+
"aria-label": `${isExpanded ? "Collapse" : "Expand"} row ${key}`,
|
|
2190
2206
|
children: "\u25B6"
|
|
2191
2207
|
}
|
|
2192
2208
|
)
|
|
@@ -2209,6 +2225,13 @@ function DataTable({
|
|
|
2209
2225
|
}
|
|
2210
2226
|
),
|
|
2211
2227
|
className: _chunkAFF2HPE5cjs.OPT_TABLE_ROW_ACTIVE,
|
|
2228
|
+
onKeyDown: (event) => {
|
|
2229
|
+
if (!onRowClick || event.target !== event.currentTarget || event.key !== "Enter" && event.key !== " ") {
|
|
2230
|
+
return;
|
|
2231
|
+
}
|
|
2232
|
+
event.preventDefault();
|
|
2233
|
+
onRowClick(row);
|
|
2234
|
+
},
|
|
2212
2235
|
children: [
|
|
2213
2236
|
getCellValue(row, col.accessor),
|
|
2214
2237
|
col.bar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -3075,59 +3075,83 @@ function Section({
|
|
|
3075
3075
|
Section.displayName = "Section";
|
|
3076
3076
|
|
|
3077
3077
|
// src/core/resizable.tsx
|
|
3078
|
+
import { GripVertical } from "lucide-react";
|
|
3078
3079
|
import { Group, Panel, Separator as Separator2 } from "react-resizable-panels";
|
|
3079
|
-
import { jsx as jsx25
|
|
3080
|
-
function
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3080
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
3081
|
+
function toPanelSize(size) {
|
|
3082
|
+
return typeof size === "number" ? `${size}%` : size;
|
|
3083
|
+
}
|
|
3084
|
+
function ResizablePanelGroup(_a) {
|
|
3085
|
+
var _b = _a, {
|
|
3086
|
+
direction,
|
|
3087
|
+
children,
|
|
3088
|
+
className,
|
|
3089
|
+
id,
|
|
3090
|
+
autoSaveId
|
|
3091
|
+
} = _b, props = __objRest(_b, [
|
|
3092
|
+
"direction",
|
|
3093
|
+
"children",
|
|
3094
|
+
"className",
|
|
3095
|
+
"id",
|
|
3096
|
+
"autoSaveId"
|
|
3097
|
+
]);
|
|
3086
3098
|
return /* @__PURE__ */ jsx25(
|
|
3087
3099
|
Group,
|
|
3088
|
-
{
|
|
3100
|
+
__spreadProps(__spreadValues({
|
|
3089
3101
|
orientation: direction,
|
|
3090
|
-
id: autoSaveId,
|
|
3091
|
-
className: cn("flex h-full w-full", className)
|
|
3092
|
-
|
|
3102
|
+
id: id != null ? id : autoSaveId,
|
|
3103
|
+
className: cn("flex h-full w-full", className)
|
|
3104
|
+
}, props), {
|
|
3105
|
+
"data-opt-id": "BM5RR",
|
|
3093
3106
|
"data-opt-slug": "resizable.ResizablePanelGroup",
|
|
3094
3107
|
children
|
|
3095
|
-
}
|
|
3108
|
+
})
|
|
3096
3109
|
);
|
|
3097
3110
|
}
|
|
3098
3111
|
ResizablePanelGroup.displayName = "ResizablePanelGroup";
|
|
3099
|
-
function ResizablePanel({
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
}
|
|
3112
|
+
function ResizablePanel(_a) {
|
|
3113
|
+
var _b = _a, {
|
|
3114
|
+
collapsedSize,
|
|
3115
|
+
defaultSize,
|
|
3116
|
+
minSize,
|
|
3117
|
+
maxSize,
|
|
3118
|
+
children,
|
|
3119
|
+
className
|
|
3120
|
+
} = _b, props = __objRest(_b, [
|
|
3121
|
+
"collapsedSize",
|
|
3122
|
+
"defaultSize",
|
|
3123
|
+
"minSize",
|
|
3124
|
+
"maxSize",
|
|
3125
|
+
"children",
|
|
3126
|
+
"className"
|
|
3127
|
+
]);
|
|
3108
3128
|
return /* @__PURE__ */ jsx25(
|
|
3109
3129
|
Panel,
|
|
3110
|
-
{
|
|
3111
|
-
|
|
3112
|
-
defaultSize,
|
|
3113
|
-
minSize,
|
|
3114
|
-
maxSize,
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
"data-opt-id": "
|
|
3130
|
+
__spreadProps(__spreadValues({
|
|
3131
|
+
collapsedSize: toPanelSize(collapsedSize),
|
|
3132
|
+
defaultSize: toPanelSize(defaultSize),
|
|
3133
|
+
minSize: toPanelSize(minSize),
|
|
3134
|
+
maxSize: toPanelSize(maxSize),
|
|
3135
|
+
className: cn("overflow-auto", className)
|
|
3136
|
+
}, props), {
|
|
3137
|
+
"data-opt-id": "88X4V",
|
|
3118
3138
|
"data-opt-slug": "resizable.ResizablePanel",
|
|
3119
3139
|
children
|
|
3120
|
-
}
|
|
3140
|
+
})
|
|
3121
3141
|
);
|
|
3122
3142
|
}
|
|
3123
3143
|
ResizablePanel.displayName = "ResizablePanel";
|
|
3124
|
-
function ResizableHandle({
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3144
|
+
function ResizableHandle(_a) {
|
|
3145
|
+
var _b = _a, {
|
|
3146
|
+
className,
|
|
3147
|
+
withHandle = false
|
|
3148
|
+
} = _b, props = __objRest(_b, [
|
|
3149
|
+
"className",
|
|
3150
|
+
"withHandle"
|
|
3151
|
+
]);
|
|
3128
3152
|
return /* @__PURE__ */ jsx25(
|
|
3129
3153
|
Separator2,
|
|
3130
|
-
{
|
|
3154
|
+
__spreadProps(__spreadValues({
|
|
3131
3155
|
className: cn(
|
|
3132
3156
|
"bg-border relative flex items-center justify-center",
|
|
3133
3157
|
"after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2",
|
|
@@ -3135,35 +3159,25 @@ function ResizableHandle({
|
|
|
3135
3159
|
"[&[data-orientation=vertical]]:h-px [&[data-orientation=vertical]]:w-full",
|
|
3136
3160
|
"[&[data-orientation=horizontal]]:h-full [&[data-orientation=horizontal]]:w-px",
|
|
3137
3161
|
className
|
|
3138
|
-
)
|
|
3139
|
-
|
|
3162
|
+
)
|
|
3163
|
+
}, props), {
|
|
3164
|
+
"data-opt-id": "6Z22W",
|
|
3140
3165
|
"data-opt-slug": "resizable.ResizableHandle",
|
|
3141
|
-
children: withHandle && /* @__PURE__ */ jsx25("div", { className: "border-border bg-surface z-10 flex h-4 w-3 items-center justify-center rounded-sm border", children: /* @__PURE__ */
|
|
3142
|
-
|
|
3166
|
+
children: withHandle && /* @__PURE__ */ jsx25("div", { className: "border-border bg-surface z-10 flex h-4 w-3 items-center justify-center rounded-sm border", children: /* @__PURE__ */ jsx25(
|
|
3167
|
+
GripVertical,
|
|
3143
3168
|
{
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
viewBox: "0 0 6 10",
|
|
3147
|
-
fill: "none",
|
|
3148
|
-
className: "text-text-tertiary",
|
|
3149
|
-
children: [
|
|
3150
|
-
/* @__PURE__ */ jsx25("circle", { cx: "1", cy: "2", r: "0.75", fill: "currentColor" }),
|
|
3151
|
-
/* @__PURE__ */ jsx25("circle", { cx: "1", cy: "5", r: "0.75", fill: "currentColor" }),
|
|
3152
|
-
/* @__PURE__ */ jsx25("circle", { cx: "1", cy: "8", r: "0.75", fill: "currentColor" }),
|
|
3153
|
-
/* @__PURE__ */ jsx25("circle", { cx: "5", cy: "2", r: "0.75", fill: "currentColor" }),
|
|
3154
|
-
/* @__PURE__ */ jsx25("circle", { cx: "5", cy: "5", r: "0.75", fill: "currentColor" }),
|
|
3155
|
-
/* @__PURE__ */ jsx25("circle", { cx: "5", cy: "8", r: "0.75", fill: "currentColor" })
|
|
3156
|
-
]
|
|
3169
|
+
"aria-hidden": "true",
|
|
3170
|
+
className: "text-text-tertiary h-3 w-3"
|
|
3157
3171
|
}
|
|
3158
3172
|
) })
|
|
3159
|
-
}
|
|
3173
|
+
})
|
|
3160
3174
|
);
|
|
3161
3175
|
}
|
|
3162
3176
|
ResizableHandle.displayName = "ResizableHandle";
|
|
3163
3177
|
|
|
3164
3178
|
// src/core/logo.tsx
|
|
3165
3179
|
import { useState as useState4 } from "react";
|
|
3166
|
-
import { Fragment as Fragment3, jsx as jsx26, jsxs as
|
|
3180
|
+
import { Fragment as Fragment3, jsx as jsx26, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
3167
3181
|
var markSizeStyles = {
|
|
3168
3182
|
sm: "h-6 w-6",
|
|
3169
3183
|
md: "h-8 w-8",
|
|
@@ -3224,7 +3238,7 @@ function Logo({
|
|
|
3224
3238
|
}
|
|
3225
3239
|
);
|
|
3226
3240
|
}
|
|
3227
|
-
const content = /* @__PURE__ */
|
|
3241
|
+
const content = /* @__PURE__ */ jsxs18(Fragment3, { children: [
|
|
3228
3242
|
mark,
|
|
3229
3243
|
text && /* @__PURE__ */ jsx26(
|
|
3230
3244
|
"span",
|
package/dist/core/index.cjs
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
var
|
|
64
|
+
var _chunk3QFYBBL6cjs = require('../chunk-3QFYBBL6.cjs');
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
@@ -321,4 +321,4 @@ require('../chunk-ONE3C5RV.cjs');
|
|
|
321
321
|
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
exports.AccordionContent =
|
|
324
|
+
exports.AccordionContent = _chunk3QFYBBL6cjs.AccordionContent; exports.AccordionItem = _chunk3QFYBBL6cjs.AccordionItem; exports.AccordionRoot = _chunk3QFYBBL6cjs.AccordionRoot; exports.AccordionTrigger = _chunk3QFYBBL6cjs.AccordionTrigger; exports.Alert = _chunkAFF2HPE5cjs.Alert; exports.AlertDialogPanel = _chunkAFF2HPE5cjs.AlertDialogPanel; exports.Avatar = _chunk3QFYBBL6cjs.Avatar; exports.AvatarGroup = _chunk3QFYBBL6cjs.AvatarGroup; exports.Badge = _chunkAFF2HPE5cjs.Badge; exports.BlockLayout = _chunk3QFYBBL6cjs.BlockLayout; exports.Breadcrumb = _chunk3QFYBBL6cjs.Breadcrumb; exports.Button = _chunkAFF2HPE5cjs.Button; exports.Card = _chunk3QFYBBL6cjs.Card; exports.CardContent = _chunk3QFYBBL6cjs.CardContent; exports.CardDescription = _chunk3QFYBBL6cjs.CardDescription; exports.CardFooter = _chunk3QFYBBL6cjs.CardFooter; exports.CardHeader = _chunk3QFYBBL6cjs.CardHeader; exports.CardTitle = _chunk3QFYBBL6cjs.CardTitle; exports.Checkbox = _chunkAFF2HPE5cjs.Checkbox; exports.CheckboxGroup = _chunkAFF2HPE5cjs.CheckboxGroup; exports.CircularProgress = _chunk3QFYBBL6cjs.CircularProgress; exports.ColorPicker = _chunkAFF2HPE5cjs.ColorPicker; exports.ComboboxEmpty = _chunkAFF2HPE5cjs.ComboboxEmpty; exports.ComboboxGroup = _chunkAFF2HPE5cjs.ComboboxGroup; exports.ComboboxGroupLabel = _chunkAFF2HPE5cjs.ComboboxGroupLabel; exports.ComboboxInput = _chunkAFF2HPE5cjs.ComboboxInput; exports.ComboboxItem = _chunkAFF2HPE5cjs.ComboboxItem; exports.ComboboxPopover = _chunkAFF2HPE5cjs.ComboboxPopover; exports.ComboboxRoot = _chunkAFF2HPE5cjs.ComboboxRoot; exports.Composite = _chunkAFF2HPE5cjs.Composite; exports.CompositeItem = _chunkAFF2HPE5cjs.CompositeItem; exports.CompositeProvider = _chunkAFF2HPE5cjs.CompositeProvider; exports.CompositeRow = _chunkAFF2HPE5cjs.CompositeRow; exports.CompositeZone = _chunkAFF2HPE5cjs.CompositeZone; exports.ConditionBuilder = _chunk3QFYBBL6cjs.ConditionBuilder; exports.Container = _chunk3QFYBBL6cjs.Container; exports.DEFAULT_PRESETS = _chunkAFF2HPE5cjs.DEFAULT_PRESETS; exports.DateRangePicker = _chunkAFF2HPE5cjs.DateRangePicker; exports.DialogBody = _chunkAFF2HPE5cjs.DialogBody; exports.DialogDescription = _chunkAFF2HPE5cjs.DialogDescription; exports.DialogDisclosure = _chunkAFF2HPE5cjs.DialogDisclosure; exports.DialogDismiss = _chunkAFF2HPE5cjs.DialogDismiss; exports.DialogFooter = _chunkAFF2HPE5cjs.DialogFooter; exports.DialogHeader = _chunkAFF2HPE5cjs.DialogHeader; exports.DialogHeading = _chunkAFF2HPE5cjs.DialogHeading; exports.DialogPanel = _chunkAFF2HPE5cjs.DialogPanel; exports.DialogRoot = _chunkAFF2HPE5cjs.DialogRoot; exports.DisclosureContent = _chunkAFF2HPE5cjs.DisclosureContent; exports.DisclosureRoot = _chunkAFF2HPE5cjs.DisclosureRoot; exports.DisclosureTrigger = _chunkAFF2HPE5cjs.DisclosureTrigger; exports.DrawerClose = _chunk3QFYBBL6cjs.DrawerClose; exports.DrawerPanel = _chunk3QFYBBL6cjs.DrawerPanel; exports.DrawerRoot = _chunk3QFYBBL6cjs.DrawerRoot; exports.DropdownContent = _chunk3QFYBBL6cjs.DropdownContent; exports.DropdownItem = _chunk3QFYBBL6cjs.DropdownItem; exports.DropdownMenu = _chunk3QFYBBL6cjs.DropdownMenu; exports.DropdownSeparator = _chunk3QFYBBL6cjs.DropdownSeparator; exports.DropdownTrigger = _chunk3QFYBBL6cjs.DropdownTrigger; exports.EmptyState = _chunkAFF2HPE5cjs.EmptyState; exports.FormCheckbox = _chunkAFF2HPE5cjs.FormCheckbox; exports.FormControl = _chunkAFF2HPE5cjs.FormControl; exports.FormDescription = _chunkAFF2HPE5cjs.FormDescription; exports.FormError = _chunkAFF2HPE5cjs.FormError; exports.FormField = _chunkAFF2HPE5cjs.FormField; exports.FormGroup = _chunkAFF2HPE5cjs.FormGroup; exports.FormGroupLabel = _chunkAFF2HPE5cjs.FormGroupLabel; exports.FormInput = _chunkAFF2HPE5cjs.FormInput; exports.FormLabel = _chunkAFF2HPE5cjs.FormLabel; exports.FormProvider = _chunkAFF2HPE5cjs.FormProvider; exports.FormPush = _chunkAFF2HPE5cjs.FormPush; exports.FormRadio = _chunkAFF2HPE5cjs.FormRadio; exports.FormRadioGroup = _chunkAFF2HPE5cjs.FormRadioGroup; exports.FormRemove = _chunkAFF2HPE5cjs.FormRemove; exports.FormReset = _chunkAFF2HPE5cjs.FormReset; exports.FormRoot = _chunkAFF2HPE5cjs.FormRoot; exports.FormSelect = _chunkAFF2HPE5cjs.FormSelect; exports.FormSelectItem = _chunkAFF2HPE5cjs.FormSelectItem; exports.FormSelectPopover = _chunkAFF2HPE5cjs.FormSelectPopover; exports.FormSubmit = _chunkAFF2HPE5cjs.FormSubmit; exports.FormSwitch = _chunkAFF2HPE5cjs.FormSwitch; exports.FormTextarea = _chunkAFF2HPE5cjs.FormTextarea; exports.Heading = _chunk3QFYBBL6cjs.Heading; exports.IconPicker = _chunkAFF2HPE5cjs.IconPicker; exports.Input = _chunk3QFYBBL6cjs.Input; exports.Kbd = _chunkAFF2HPE5cjs.Kbd; exports.Logo = _chunk3QFYBBL6cjs.Logo; exports.MenuButtonArrow = _chunkAFF2HPE5cjs.MenuButtonArrow; exports.MenuItem = _chunkAFF2HPE5cjs.MenuItem; exports.MenuItemCheckbox = _chunkAFF2HPE5cjs.MenuItemCheckbox; exports.MenuItemRadio = _chunkAFF2HPE5cjs.MenuItemRadio; exports.MenuPopover = _chunkAFF2HPE5cjs.MenuPopover; exports.MenuRoot = _chunkAFF2HPE5cjs.MenuRoot; exports.MenuSeparator = _chunkAFF2HPE5cjs.MenuSeparator; exports.MenuTrigger = _chunkAFF2HPE5cjs.MenuTrigger; exports.MenubarContainer = _chunkAFF2HPE5cjs.MenubarContainer; exports.MenubarRoot = _chunkAFF2HPE5cjs.MenubarRoot; exports.Meter = _chunk3QFYBBL6cjs.Meter; exports.NumberInput = _chunkAFF2HPE5cjs.NumberInput; exports.OtpField = _chunk3QFYBBL6cjs.OtpField; exports.PageHeader = _chunk3QFYBBL6cjs.PageHeader; exports.Pagination = _chunkAFF2HPE5cjs.Pagination; exports.PopoverClose = _chunkAFF2HPE5cjs.PopoverClose; exports.PopoverContent = _chunkAFF2HPE5cjs.PopoverContent; exports.PopoverRoot = _chunkAFF2HPE5cjs.PopoverRoot; exports.PopoverTrigger = _chunkAFF2HPE5cjs.PopoverTrigger; exports.Progress = _chunk3QFYBBL6cjs.Progress; exports.Radio = _chunk3QFYBBL6cjs.Radio; exports.RadioGroup = _chunk3QFYBBL6cjs.RadioGroup; exports.ResizableHandle = _chunk3QFYBBL6cjs.ResizableHandle; exports.ResizablePanel = _chunk3QFYBBL6cjs.ResizablePanel; exports.ResizablePanelGroup = _chunk3QFYBBL6cjs.ResizablePanelGroup; exports.SHADER_OVERLAY_PARAM_KEYS = _chunk3QFYBBL6cjs.SHADER_OVERLAY_PARAM_KEYS; exports.SHADER_PARAM_FALLBACK = _chunk3QFYBBL6cjs.SHADER_PARAM_FALLBACK; exports.SHADER_PARAM_KEYS = _chunk3QFYBBL6cjs.SHADER_PARAM_KEYS; exports.SHADER_PRESETS = _chunk3QFYBBL6cjs.SHADER_PRESETS; exports.SHADER_PRESET_IDS = _chunk3QFYBBL6cjs.SHADER_PRESET_IDS; exports.ScrollArea = _chunk3QFYBBL6cjs.ScrollArea; exports.Section = _chunk3QFYBBL6cjs.Section; exports.SelectItem = _chunkAFF2HPE5cjs.SelectItem; exports.SelectLabel = _chunkAFF2HPE5cjs.SelectLabel; exports.SelectPopover = _chunkAFF2HPE5cjs.SelectPopover; exports.SelectRoot = _chunkAFF2HPE5cjs.SelectRoot; exports.SelectTrigger = _chunkAFF2HPE5cjs.SelectTrigger; exports.Separator = _chunk3QFYBBL6cjs.Separator; exports.ShaderSurface = _chunk3QFYBBL6cjs.ShaderSurface; exports.Skeleton = _chunk3QFYBBL6cjs.Skeleton; exports.SkeletonAvatar = _chunk3QFYBBL6cjs.SkeletonAvatar; exports.SkeletonCard = _chunk3QFYBBL6cjs.SkeletonCard; exports.SkeletonTable = _chunk3QFYBBL6cjs.SkeletonTable; exports.SkeletonText = _chunk3QFYBBL6cjs.SkeletonText; exports.Slider = _chunkAFF2HPE5cjs.Slider; exports.Spinner = _chunkAFF2HPE5cjs.Spinner; exports.StatCard = _chunkAFF2HPE5cjs.StatCard; exports.StepBuilder = _chunk3QFYBBL6cjs.StepBuilder; exports.SurfaceLayout = _chunk3QFYBBL6cjs.BlockLayout; exports.Switch = _chunk3QFYBBL6cjs.Switch; exports.Tab = _chunkAFF2HPE5cjs.Tab; exports.TabList = _chunkAFF2HPE5cjs.TabList; exports.TabPanel = _chunkAFF2HPE5cjs.TabPanel; exports.TabsRoot = _chunkAFF2HPE5cjs.TabsRoot; exports.TagInput = _chunkAFF2HPE5cjs.TagInput; exports.Text = _chunk3QFYBBL6cjs.Text; exports.Textarea = _chunk3QFYBBL6cjs.Textarea; exports.Toggle = _chunk3QFYBBL6cjs.Toggle; exports.ToggleGroup = _chunk3QFYBBL6cjs.ToggleGroup; exports.ToolbarButton = _chunkAFF2HPE5cjs.ToolbarButton; exports.ToolbarContainer = _chunkAFF2HPE5cjs.ToolbarContainer; exports.ToolbarRoot = _chunkAFF2HPE5cjs.ToolbarRoot; exports.ToolbarSeparator = _chunkAFF2HPE5cjs.ToolbarSeparator; exports.Tooltip = _chunkAFF2HPE5cjs.Tooltip; exports.TooltipAnchor = _chunkAFF2HPE5cjs.TooltipAnchor; exports.TooltipProvider = _chunkAFF2HPE5cjs.TooltipProvider; exports.VirtualList = _chunk3QFYBBL6cjs.VirtualList; exports.createBlock = _chunk3QFYBBL6cjs.createBlock; exports.createSurface = _chunk3QFYBBL6cjs.createBlock; exports.getShaderFragment = _chunk3QFYBBL6cjs.getShaderFragment; exports.getShaderPreset = _chunk3QFYBBL6cjs.getShaderPreset; exports.useFormContext = _chunkAFF2HPE5cjs.useFormContext; exports.useFormStore = _chunkAFF2HPE5cjs.useFormStore;
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { A as AccordionContent, a as AccordionItem, b as AccordionRoot, c as AccordionTrigger, d as Alert, e as AlertDialogPanel, f as AlertDialogPanelProps, g as AlertProps, h as Avatar, i as AvatarGroup, j as AvatarGroupProps, k as AvatarProps, B as Badge, l as BadgeProps, m as BlockBaseProps, n as BlockLayout, o as BlockLayoutProps, p as Breadcrumb, q as BreadcrumbItem, r as BreadcrumbProps, s as Button, t as ButtonProps, C as Card, u as CardContent, v as CardContentProps, w as CardDescription, x as CardDescriptionProps, y as CardFooter, z as CardFooterProps, E as CardHeader, F as CardHeaderProps, G as CardProps, H as CardTitle, J as CardTitleProps, K as Checkbox, L as CheckboxGroup, M as CheckboxGroupProps, N as CheckboxProps, O as CircularProgress, P as CircularProgressProps, Q as ColorPicker, R as ColorPickerProps, S as ComboboxEmpty, T as ComboboxGroup, U as ComboboxGroupLabel, V as ComboboxInput, W as ComboboxItem, X as ComboboxPopover, Y as ComboboxRoot, Z as ComparisonMode, _ as CompositeZone, $ as ConditionBuilder, a0 as ConditionBuilderProps, a1 as ConditionDef, a2 as ConditionGroup, a3 as ConditionOperator, a4 as ConditionTypeRenderer, a5 as Container, a6 as ContainerProps, a7 as DEFAULT_PRESETS, a8 as DateGranularity, D as DateRange, a9 as DateRangePicker, aa as DateRangePickerProps, ab as DateRangePreset, ac as DialogBody, ad as DialogBodyProps, ae as DialogDescription, af as DialogDisclosure, ag as DialogDismiss, ah as DialogFooter, ai as DialogFooterProps, aj as DialogHeader, ak as DialogHeaderProps, al as DialogHeading, am as DialogPanel, an as DialogRoot, ao as DialogSize, ap as DisclosureContent, aq as DisclosureRoot, ar as DisclosureTrigger, as as DrawerClose, at as DrawerPanel, au as DrawerPanelProps, av as DrawerRoot, aw as DrawerSide, ax as DrawerSize, ay as DropdownContent, az as DropdownItem, aA as DropdownMenu, aB as DropdownSeparator, aC as DropdownTrigger, aD as EmptyState, aE as EmptyStateAction, aF as EmptyStateProps, aG as FormCheckbox, aJ as FormControl, aM as FormDescription, aN as FormError, aO as FormField, aP as FormGroup, aQ as FormGroupLabel, aT as FormInput, aU as FormLabel, aX as FormProvider, aY as FormPush, aZ as FormRadio, a_ as FormRadioGroup, a$ as FormRemove, b0 as FormReset, b1 as FormRoot, b2 as FormSelect, b3 as FormSelectItem, b4 as FormSelectPopover, b5 as FormSelectProps, ba as FormSubmit, bb as FormSwitch, bc as FormSwitchProps, bf as FormTextarea, bg as FormTextareaProps, bh as Heading, bi as HeadingLevel, bj as HeadingProps, bk as HeadingRole, I as IconDef, bl as IconPicker, bm as IconPickerProps, bn as Input, bo as InputProps, bp as Kbd, bq as KbdProps, br as Logo, bs as LogoProps, bt as MenuButtonArrow, bu as MenuItem, bv as MenuItemCheckbox, bw as MenuItemRadio, bx as MenuPopover, by as MenuRoot, bz as MenuSeparator, bA as MenuTrigger, bB as MenubarContainer, bC as MenubarRoot, bD as Meter, bE as MeterProps, bF as NumberInput, bG as NumberInputProps, bH as OtpField, bI as OtpFieldProps, bJ as PageHeader, bK as PageHeaderProps, bL as Pagination, bM as PaginationProps, bN as PopoverClose, bO as PopoverContent, bP as PopoverContentProps, bQ as PopoverRoot, bR as PopoverTrigger, bS as Progress, bT as ProgressProps, bU as Radio, bV as RadioGroup, bW as RadioGroupProps, bX as RadioProps, bY as ResizableHandle, bZ as ResizableHandleProps, b_ as ResizablePanel, b$ as ResizablePanelGroup, c0 as ResizablePanelGroupProps, c1 as ResizablePanelProps, c2 as SHADER_OVERLAY_PARAM_KEYS, c3 as SHADER_PARAM_FALLBACK, c4 as SHADER_PARAM_KEYS, c5 as SHADER_PRESETS, c6 as SHADER_PRESET_IDS, c7 as ScrollArea, c8 as ScrollAreaProps, c9 as Section, ca as SectionProps, cb as SelectItem, cc as SelectLabel, cd as SelectPopover, ce as SelectRoot, cf as SelectTrigger, cg as Separator, ch as SeparatorProps, ci as ShaderParamKey, cj as ShaderParamSpec, ck as ShaderPreset, cl as ShaderPresetCategory, cm as ShaderPresetId, cn as ShaderSurface, co as ShaderSurfaceHandle, cp as ShaderSurfaceProps, cq as Skeleton, cr as SkeletonAvatar, cs as SkeletonCard, ct as SkeletonProps, cu as SkeletonTable, cv as SkeletonText, cw as Slider, cx as SliderProps, cy as Spinner, cz as SpinnerProps, cC as StatCard, cD as StatCardProps, cE as StepBuilder, cF as StepBuilderProps, cG as StepDef, m as SurfaceBaseProps, n as SurfaceLayout, o as SurfaceLayoutProps, cH as Switch, cI as SwitchProps, cJ as Tab, cK as TabList, cL as TabPanel, cM as TabsRoot, cN as TagInput, cO as TagInputProps, cP as Text, cQ as TextElement, cR as TextProps, cS as TextRole, cT as TextTone, cU as Textarea, cV as TextareaProps, cW as Toggle, cX as ToggleGroup, cY as ToggleGroupProps, cZ as ToggleProps, c_ as ToolbarButton, c$ as ToolbarContainer, d0 as ToolbarRoot, d1 as ToolbarSeparator, d2 as Tooltip, d3 as TooltipAnchor, d4 as TooltipProvider, d5 as VirtualList, d6 as VirtualListProps, d7 as createBlock, d7 as createSurface, d8 as getShaderFragment, d9 as getShaderPreset } from '../index-
|
|
1
|
+
export { A as AccordionContent, a as AccordionItem, b as AccordionRoot, c as AccordionTrigger, d as Alert, e as AlertDialogPanel, f as AlertDialogPanelProps, g as AlertProps, h as Avatar, i as AvatarGroup, j as AvatarGroupProps, k as AvatarProps, B as Badge, l as BadgeProps, m as BlockBaseProps, n as BlockLayout, o as BlockLayoutProps, p as Breadcrumb, q as BreadcrumbItem, r as BreadcrumbProps, s as Button, t as ButtonProps, C as Card, u as CardContent, v as CardContentProps, w as CardDescription, x as CardDescriptionProps, y as CardFooter, z as CardFooterProps, E as CardHeader, F as CardHeaderProps, G as CardProps, H as CardTitle, J as CardTitleProps, K as Checkbox, L as CheckboxGroup, M as CheckboxGroupProps, N as CheckboxProps, O as CircularProgress, P as CircularProgressProps, Q as ColorPicker, R as ColorPickerProps, S as ComboboxEmpty, T as ComboboxGroup, U as ComboboxGroupLabel, V as ComboboxInput, W as ComboboxItem, X as ComboboxPopover, Y as ComboboxRoot, Z as ComparisonMode, _ as CompositeZone, $ as ConditionBuilder, a0 as ConditionBuilderProps, a1 as ConditionDef, a2 as ConditionGroup, a3 as ConditionOperator, a4 as ConditionTypeRenderer, a5 as Container, a6 as ContainerProps, a7 as DEFAULT_PRESETS, a8 as DateGranularity, D as DateRange, a9 as DateRangePicker, aa as DateRangePickerProps, ab as DateRangePreset, ac as DialogBody, ad as DialogBodyProps, ae as DialogDescription, af as DialogDisclosure, ag as DialogDismiss, ah as DialogFooter, ai as DialogFooterProps, aj as DialogHeader, ak as DialogHeaderProps, al as DialogHeading, am as DialogPanel, an as DialogRoot, ao as DialogSize, ap as DisclosureContent, aq as DisclosureRoot, ar as DisclosureTrigger, as as DrawerClose, at as DrawerPanel, au as DrawerPanelProps, av as DrawerRoot, aw as DrawerSide, ax as DrawerSize, ay as DropdownContent, az as DropdownItem, aA as DropdownMenu, aB as DropdownSeparator, aC as DropdownTrigger, aD as EmptyState, aE as EmptyStateAction, aF as EmptyStateProps, aG as FormCheckbox, aJ as FormControl, aM as FormDescription, aN as FormError, aO as FormField, aP as FormGroup, aQ as FormGroupLabel, aT as FormInput, aU as FormLabel, aX as FormProvider, aY as FormPush, aZ as FormRadio, a_ as FormRadioGroup, a$ as FormRemove, b0 as FormReset, b1 as FormRoot, b2 as FormSelect, b3 as FormSelectItem, b4 as FormSelectPopover, b5 as FormSelectProps, ba as FormSubmit, bb as FormSwitch, bc as FormSwitchProps, bf as FormTextarea, bg as FormTextareaProps, bh as Heading, bi as HeadingLevel, bj as HeadingProps, bk as HeadingRole, I as IconDef, bl as IconPicker, bm as IconPickerProps, bn as Input, bo as InputProps, bp as Kbd, bq as KbdProps, br as Logo, bs as LogoProps, bt as MenuButtonArrow, bu as MenuItem, bv as MenuItemCheckbox, bw as MenuItemRadio, bx as MenuPopover, by as MenuRoot, bz as MenuSeparator, bA as MenuTrigger, bB as MenubarContainer, bC as MenubarRoot, bD as Meter, bE as MeterProps, bF as NumberInput, bG as NumberInputProps, bH as OtpField, bI as OtpFieldProps, bJ as PageHeader, bK as PageHeaderProps, bL as Pagination, bM as PaginationProps, bN as PopoverClose, bO as PopoverContent, bP as PopoverContentProps, bQ as PopoverRoot, bR as PopoverTrigger, bS as Progress, bT as ProgressProps, bU as Radio, bV as RadioGroup, bW as RadioGroupProps, bX as RadioProps, bY as ResizableHandle, bZ as ResizableHandleProps, b_ as ResizablePanel, b$ as ResizablePanelGroup, c0 as ResizablePanelGroupProps, c1 as ResizablePanelProps, c2 as SHADER_OVERLAY_PARAM_KEYS, c3 as SHADER_PARAM_FALLBACK, c4 as SHADER_PARAM_KEYS, c5 as SHADER_PRESETS, c6 as SHADER_PRESET_IDS, c7 as ScrollArea, c8 as ScrollAreaProps, c9 as Section, ca as SectionProps, cb as SelectItem, cc as SelectLabel, cd as SelectPopover, ce as SelectRoot, cf as SelectTrigger, cg as Separator, ch as SeparatorProps, ci as ShaderParamKey, cj as ShaderParamSpec, ck as ShaderPreset, cl as ShaderPresetCategory, cm as ShaderPresetId, cn as ShaderSurface, co as ShaderSurfaceHandle, cp as ShaderSurfaceProps, cq as Skeleton, cr as SkeletonAvatar, cs as SkeletonCard, ct as SkeletonProps, cu as SkeletonTable, cv as SkeletonText, cw as Slider, cx as SliderProps, cy as Spinner, cz as SpinnerProps, cC as StatCard, cD as StatCardProps, cE as StepBuilder, cF as StepBuilderProps, cG as StepDef, m as SurfaceBaseProps, n as SurfaceLayout, o as SurfaceLayoutProps, cH as Switch, cI as SwitchProps, cJ as Tab, cK as TabList, cL as TabPanel, cM as TabsRoot, cN as TagInput, cO as TagInputProps, cP as Text, cQ as TextElement, cR as TextProps, cS as TextRole, cT as TextTone, cU as Textarea, cV as TextareaProps, cW as Toggle, cX as ToggleGroup, cY as ToggleGroupProps, cZ as ToggleProps, c_ as ToolbarButton, c$ as ToolbarContainer, d0 as ToolbarRoot, d1 as ToolbarSeparator, d2 as Tooltip, d3 as TooltipAnchor, d4 as TooltipProvider, d5 as VirtualList, d6 as VirtualListProps, d7 as createBlock, d7 as createSurface, d8 as getShaderFragment, d9 as getShaderPreset } from '../index-DWyqDIkH.cjs';
|
|
2
2
|
export { AccordionContentProps, AccordionItemProps, AccordionRootProps, AccordionTriggerProps, Composite, CompositeItem, CompositeProvider, CompositeRow, useFormContext, useFormStore } from '@reopt-ai/opt-ui-primitives';
|
|
3
|
+
export { GroupImperativeHandle as ResizablePanelGroupHandle, PanelImperativeHandle as ResizablePanelHandle, Layout as ResizablePanelLayout, PanelSize as ResizablePanelSize } from 'react-resizable-panels';
|
|
3
4
|
import 'react/jsx-runtime';
|
|
4
5
|
import 'react';
|
|
5
6
|
import '../types-D4-0lwaE.cjs';
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { A as AccordionContent, a as AccordionItem, b as AccordionRoot, c as AccordionTrigger, d as Alert, e as AlertDialogPanel, f as AlertDialogPanelProps, g as AlertProps, h as Avatar, i as AvatarGroup, j as AvatarGroupProps, k as AvatarProps, B as Badge, l as BadgeProps, m as BlockBaseProps, n as BlockLayout, o as BlockLayoutProps, p as Breadcrumb, q as BreadcrumbItem, r as BreadcrumbProps, s as Button, t as ButtonProps, C as Card, u as CardContent, v as CardContentProps, w as CardDescription, x as CardDescriptionProps, y as CardFooter, z as CardFooterProps, E as CardHeader, F as CardHeaderProps, G as CardProps, H as CardTitle, J as CardTitleProps, K as Checkbox, L as CheckboxGroup, M as CheckboxGroupProps, N as CheckboxProps, O as CircularProgress, P as CircularProgressProps, Q as ColorPicker, R as ColorPickerProps, S as ComboboxEmpty, T as ComboboxGroup, U as ComboboxGroupLabel, V as ComboboxInput, W as ComboboxItem, X as ComboboxPopover, Y as ComboboxRoot, Z as ComparisonMode, _ as CompositeZone, $ as ConditionBuilder, a0 as ConditionBuilderProps, a1 as ConditionDef, a2 as ConditionGroup, a3 as ConditionOperator, a4 as ConditionTypeRenderer, a5 as Container, a6 as ContainerProps, a7 as DEFAULT_PRESETS, a8 as DateGranularity, D as DateRange, a9 as DateRangePicker, aa as DateRangePickerProps, ab as DateRangePreset, ac as DialogBody, ad as DialogBodyProps, ae as DialogDescription, af as DialogDisclosure, ag as DialogDismiss, ah as DialogFooter, ai as DialogFooterProps, aj as DialogHeader, ak as DialogHeaderProps, al as DialogHeading, am as DialogPanel, an as DialogRoot, ao as DialogSize, ap as DisclosureContent, aq as DisclosureRoot, ar as DisclosureTrigger, as as DrawerClose, at as DrawerPanel, au as DrawerPanelProps, av as DrawerRoot, aw as DrawerSide, ax as DrawerSize, ay as DropdownContent, az as DropdownItem, aA as DropdownMenu, aB as DropdownSeparator, aC as DropdownTrigger, aD as EmptyState, aE as EmptyStateAction, aF as EmptyStateProps, aG as FormCheckbox, aJ as FormControl, aM as FormDescription, aN as FormError, aO as FormField, aP as FormGroup, aQ as FormGroupLabel, aT as FormInput, aU as FormLabel, aX as FormProvider, aY as FormPush, aZ as FormRadio, a_ as FormRadioGroup, a$ as FormRemove, b0 as FormReset, b1 as FormRoot, b2 as FormSelect, b3 as FormSelectItem, b4 as FormSelectPopover, b5 as FormSelectProps, ba as FormSubmit, bb as FormSwitch, bc as FormSwitchProps, bf as FormTextarea, bg as FormTextareaProps, bh as Heading, bi as HeadingLevel, bj as HeadingProps, bk as HeadingRole, I as IconDef, bl as IconPicker, bm as IconPickerProps, bn as Input, bo as InputProps, bp as Kbd, bq as KbdProps, br as Logo, bs as LogoProps, bt as MenuButtonArrow, bu as MenuItem, bv as MenuItemCheckbox, bw as MenuItemRadio, bx as MenuPopover, by as MenuRoot, bz as MenuSeparator, bA as MenuTrigger, bB as MenubarContainer, bC as MenubarRoot, bD as Meter, bE as MeterProps, bF as NumberInput, bG as NumberInputProps, bH as OtpField, bI as OtpFieldProps, bJ as PageHeader, bK as PageHeaderProps, bL as Pagination, bM as PaginationProps, bN as PopoverClose, bO as PopoverContent, bP as PopoverContentProps, bQ as PopoverRoot, bR as PopoverTrigger, bS as Progress, bT as ProgressProps, bU as Radio, bV as RadioGroup, bW as RadioGroupProps, bX as RadioProps, bY as ResizableHandle, bZ as ResizableHandleProps, b_ as ResizablePanel, b$ as ResizablePanelGroup, c0 as ResizablePanelGroupProps, c1 as ResizablePanelProps, c2 as SHADER_OVERLAY_PARAM_KEYS, c3 as SHADER_PARAM_FALLBACK, c4 as SHADER_PARAM_KEYS, c5 as SHADER_PRESETS, c6 as SHADER_PRESET_IDS, c7 as ScrollArea, c8 as ScrollAreaProps, c9 as Section, ca as SectionProps, cb as SelectItem, cc as SelectLabel, cd as SelectPopover, ce as SelectRoot, cf as SelectTrigger, cg as Separator, ch as SeparatorProps, ci as ShaderParamKey, cj as ShaderParamSpec, ck as ShaderPreset, cl as ShaderPresetCategory, cm as ShaderPresetId, cn as ShaderSurface, co as ShaderSurfaceHandle, cp as ShaderSurfaceProps, cq as Skeleton, cr as SkeletonAvatar, cs as SkeletonCard, ct as SkeletonProps, cu as SkeletonTable, cv as SkeletonText, cw as Slider, cx as SliderProps, cy as Spinner, cz as SpinnerProps, cC as StatCard, cD as StatCardProps, cE as StepBuilder, cF as StepBuilderProps, cG as StepDef, m as SurfaceBaseProps, n as SurfaceLayout, o as SurfaceLayoutProps, cH as Switch, cI as SwitchProps, cJ as Tab, cK as TabList, cL as TabPanel, cM as TabsRoot, cN as TagInput, cO as TagInputProps, cP as Text, cQ as TextElement, cR as TextProps, cS as TextRole, cT as TextTone, cU as Textarea, cV as TextareaProps, cW as Toggle, cX as ToggleGroup, cY as ToggleGroupProps, cZ as ToggleProps, c_ as ToolbarButton, c$ as ToolbarContainer, d0 as ToolbarRoot, d1 as ToolbarSeparator, d2 as Tooltip, d3 as TooltipAnchor, d4 as TooltipProvider, d5 as VirtualList, d6 as VirtualListProps, d7 as createBlock, d7 as createSurface, d8 as getShaderFragment, d9 as getShaderPreset } from '../index-
|
|
1
|
+
export { A as AccordionContent, a as AccordionItem, b as AccordionRoot, c as AccordionTrigger, d as Alert, e as AlertDialogPanel, f as AlertDialogPanelProps, g as AlertProps, h as Avatar, i as AvatarGroup, j as AvatarGroupProps, k as AvatarProps, B as Badge, l as BadgeProps, m as BlockBaseProps, n as BlockLayout, o as BlockLayoutProps, p as Breadcrumb, q as BreadcrumbItem, r as BreadcrumbProps, s as Button, t as ButtonProps, C as Card, u as CardContent, v as CardContentProps, w as CardDescription, x as CardDescriptionProps, y as CardFooter, z as CardFooterProps, E as CardHeader, F as CardHeaderProps, G as CardProps, H as CardTitle, J as CardTitleProps, K as Checkbox, L as CheckboxGroup, M as CheckboxGroupProps, N as CheckboxProps, O as CircularProgress, P as CircularProgressProps, Q as ColorPicker, R as ColorPickerProps, S as ComboboxEmpty, T as ComboboxGroup, U as ComboboxGroupLabel, V as ComboboxInput, W as ComboboxItem, X as ComboboxPopover, Y as ComboboxRoot, Z as ComparisonMode, _ as CompositeZone, $ as ConditionBuilder, a0 as ConditionBuilderProps, a1 as ConditionDef, a2 as ConditionGroup, a3 as ConditionOperator, a4 as ConditionTypeRenderer, a5 as Container, a6 as ContainerProps, a7 as DEFAULT_PRESETS, a8 as DateGranularity, D as DateRange, a9 as DateRangePicker, aa as DateRangePickerProps, ab as DateRangePreset, ac as DialogBody, ad as DialogBodyProps, ae as DialogDescription, af as DialogDisclosure, ag as DialogDismiss, ah as DialogFooter, ai as DialogFooterProps, aj as DialogHeader, ak as DialogHeaderProps, al as DialogHeading, am as DialogPanel, an as DialogRoot, ao as DialogSize, ap as DisclosureContent, aq as DisclosureRoot, ar as DisclosureTrigger, as as DrawerClose, at as DrawerPanel, au as DrawerPanelProps, av as DrawerRoot, aw as DrawerSide, ax as DrawerSize, ay as DropdownContent, az as DropdownItem, aA as DropdownMenu, aB as DropdownSeparator, aC as DropdownTrigger, aD as EmptyState, aE as EmptyStateAction, aF as EmptyStateProps, aG as FormCheckbox, aJ as FormControl, aM as FormDescription, aN as FormError, aO as FormField, aP as FormGroup, aQ as FormGroupLabel, aT as FormInput, aU as FormLabel, aX as FormProvider, aY as FormPush, aZ as FormRadio, a_ as FormRadioGroup, a$ as FormRemove, b0 as FormReset, b1 as FormRoot, b2 as FormSelect, b3 as FormSelectItem, b4 as FormSelectPopover, b5 as FormSelectProps, ba as FormSubmit, bb as FormSwitch, bc as FormSwitchProps, bf as FormTextarea, bg as FormTextareaProps, bh as Heading, bi as HeadingLevel, bj as HeadingProps, bk as HeadingRole, I as IconDef, bl as IconPicker, bm as IconPickerProps, bn as Input, bo as InputProps, bp as Kbd, bq as KbdProps, br as Logo, bs as LogoProps, bt as MenuButtonArrow, bu as MenuItem, bv as MenuItemCheckbox, bw as MenuItemRadio, bx as MenuPopover, by as MenuRoot, bz as MenuSeparator, bA as MenuTrigger, bB as MenubarContainer, bC as MenubarRoot, bD as Meter, bE as MeterProps, bF as NumberInput, bG as NumberInputProps, bH as OtpField, bI as OtpFieldProps, bJ as PageHeader, bK as PageHeaderProps, bL as Pagination, bM as PaginationProps, bN as PopoverClose, bO as PopoverContent, bP as PopoverContentProps, bQ as PopoverRoot, bR as PopoverTrigger, bS as Progress, bT as ProgressProps, bU as Radio, bV as RadioGroup, bW as RadioGroupProps, bX as RadioProps, bY as ResizableHandle, bZ as ResizableHandleProps, b_ as ResizablePanel, b$ as ResizablePanelGroup, c0 as ResizablePanelGroupProps, c1 as ResizablePanelProps, c2 as SHADER_OVERLAY_PARAM_KEYS, c3 as SHADER_PARAM_FALLBACK, c4 as SHADER_PARAM_KEYS, c5 as SHADER_PRESETS, c6 as SHADER_PRESET_IDS, c7 as ScrollArea, c8 as ScrollAreaProps, c9 as Section, ca as SectionProps, cb as SelectItem, cc as SelectLabel, cd as SelectPopover, ce as SelectRoot, cf as SelectTrigger, cg as Separator, ch as SeparatorProps, ci as ShaderParamKey, cj as ShaderParamSpec, ck as ShaderPreset, cl as ShaderPresetCategory, cm as ShaderPresetId, cn as ShaderSurface, co as ShaderSurfaceHandle, cp as ShaderSurfaceProps, cq as Skeleton, cr as SkeletonAvatar, cs as SkeletonCard, ct as SkeletonProps, cu as SkeletonTable, cv as SkeletonText, cw as Slider, cx as SliderProps, cy as Spinner, cz as SpinnerProps, cC as StatCard, cD as StatCardProps, cE as StepBuilder, cF as StepBuilderProps, cG as StepDef, m as SurfaceBaseProps, n as SurfaceLayout, o as SurfaceLayoutProps, cH as Switch, cI as SwitchProps, cJ as Tab, cK as TabList, cL as TabPanel, cM as TabsRoot, cN as TagInput, cO as TagInputProps, cP as Text, cQ as TextElement, cR as TextProps, cS as TextRole, cT as TextTone, cU as Textarea, cV as TextareaProps, cW as Toggle, cX as ToggleGroup, cY as ToggleGroupProps, cZ as ToggleProps, c_ as ToolbarButton, c$ as ToolbarContainer, d0 as ToolbarRoot, d1 as ToolbarSeparator, d2 as Tooltip, d3 as TooltipAnchor, d4 as TooltipProvider, d5 as VirtualList, d6 as VirtualListProps, d7 as createBlock, d7 as createSurface, d8 as getShaderFragment, d9 as getShaderPreset } from '../index-Uyijm14M.js';
|
|
2
2
|
export { AccordionContentProps, AccordionItemProps, AccordionRootProps, AccordionTriggerProps, Composite, CompositeItem, CompositeProvider, CompositeRow, useFormContext, useFormStore } from '@reopt-ai/opt-ui-primitives';
|
|
3
|
+
export { GroupImperativeHandle as ResizablePanelGroupHandle, PanelImperativeHandle as ResizablePanelHandle, Layout as ResizablePanelLayout, PanelSize as ResizablePanelSize } from 'react-resizable-panels';
|
|
3
4
|
import 'react/jsx-runtime';
|
|
4
5
|
import 'react';
|
|
5
6
|
import '../types-D4-0lwaE.js';
|