@drawbridge/components 0.1.23 → 0.1.24
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/bridge/form-subdomain-embed.js +1 -0
- package/dist/bridge/form-subdomain-embed.mjs +1 -0
- package/dist/bridge/form-subdomain.js +5 -2
- package/dist/bridge/form-subdomain.mjs +5 -2
- package/dist/bridge/template-modal.js +2 -2
- package/dist/bridge/template-modal.mjs +2 -2
- package/dist/dashboard/buttons-subscription.js +27 -66
- package/dist/dashboard/buttons-subscription.mjs +27 -65
- package/dist/dashboard/card-payment-method.js +1 -1
- package/dist/dashboard/card-payment-method.mjs +1 -1
- package/dist/dashboard/card-section.js +2 -2
- package/dist/dashboard/card-section.mjs +2 -2
- package/dist/dashboard/card-setting.js +3 -4
- package/dist/dashboard/card-setting.mjs +3 -4
- package/dist/dashboard/card-task.js +4 -22
- package/dist/dashboard/card-task.mjs +4 -22
- package/dist/dashboard/card-tile.js +6 -6
- package/dist/dashboard/card-tile.mjs +6 -6
- package/dist/dashboard/drawer.js +2 -7
- package/dist/dashboard/drawer.mjs +3 -8
- package/dist/dashboard/form-organization-campaign.js +1 -1
- package/dist/dashboard/form-organization-campaign.mjs +1 -1
- package/dist/dashboard/form-organization-identity.js +3 -3
- package/dist/dashboard/form-organization-identity.mjs +3 -3
- package/dist/dashboard/form-organization-workflow.js +9 -7
- package/dist/dashboard/form-organization-workflow.mjs +9 -7
- package/dist/dashboard/form-organization.js +40 -3
- package/dist/dashboard/form-organization.mjs +40 -3
- package/dist/dashboard/guide.js +238 -0
- package/dist/dashboard/guide.mjs +209 -0
- package/dist/dashboard/input-combobox.js +2 -7
- package/dist/dashboard/input-combobox.mjs +2 -7
- package/dist/dashboard/list.js +1 -1
- package/dist/dashboard/list.mjs +1 -1
- package/dist/dashboard/menu.js +96 -188
- package/dist/dashboard/menu.mjs +97 -189
- package/dist/dashboard/modal.js +3 -9
- package/dist/dashboard/modal.mjs +4 -10
- package/dist/dashboard/notice.js +3 -5
- package/dist/dashboard/notice.mjs +3 -5
- package/dist/dashboard/table-cell-title.js +0 -2
- package/dist/dashboard/table-cell-title.mjs +0 -2
- package/dist/dashboard/table.js +20 -61
- package/dist/dashboard/table.mjs +20 -61
- package/dist/dashboard/template-dashboard.js +133 -35
- package/dist/dashboard/template-dashboard.mjs +134 -36
- package/dist/dashboard/template-socket.js +3 -19
- package/dist/dashboard/template-socket.mjs +3 -19
- package/dist/dashboard/template-ui.js +186 -150
- package/dist/dashboard/template-ui.mjs +187 -151
- package/dist/shared/lib/helpers.js +2 -9
- package/dist/shared/lib/helpers.mjs +2 -9
- package/dist/shared/overlay.js +3 -5
- package/dist/shared/overlay.mjs +3 -5
- package/package.json +13 -28
- package/types/dashboard/card-task.d.ts +1 -5
- package/types/dashboard/guide.d.ts +23 -0
- package/types/dashboard/table.d.ts +1 -3
- package/types/dashboard/template-dashboard.d.ts +1 -4
- package/types/dashboard/template-ui.d.ts +2 -2
- package/dist/dashboard/lib/escape.js +0 -48
- package/dist/dashboard/lib/escape.mjs +0 -25
- package/dist/dashboard/lib/rail.js +0 -75
- package/dist/dashboard/lib/rail.mjs +0 -46
- package/dist/dashboard/lib/throttle.js +0 -57
- package/dist/dashboard/lib/throttle.mjs +0 -34
- package/dist/dashboard/template-rail.js +0 -674
- package/dist/dashboard/template-rail.mjs +0 -640
- package/dist/icons/book-open.js +0 -46
- package/dist/icons/book-open.mjs +0 -27
- package/dist/icons/task.js +0 -46
- package/dist/icons/task.mjs +0 -27
- package/dist/shared/lib/motion.js +0 -27
- package/dist/shared/lib/motion.mjs +0 -4
- package/types/dashboard/lib/rail.d.ts +0 -32
- package/types/dashboard/lib/throttle.d.ts +0 -5
- package/types/dashboard/template-rail.d.ts +0 -36
- package/types/icons/book-open.d.ts +0 -5
- package/types/icons/task.d.ts +0 -5
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var guide_exports = {};
|
|
29
|
+
__export(guide_exports, {
|
|
30
|
+
default: () => guide_default
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(guide_exports);
|
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
+
var import_react = require("react");
|
|
35
|
+
var import_dynamic = __toESM(require("next/dynamic"));
|
|
36
|
+
var import_times = __toESM(require("../icons/times"));
|
|
37
|
+
var import_button = __toESM(require("../shared/button"));
|
|
38
|
+
var import_wrapper_gradient = __toESM(require("../wrapper-gradient"));
|
|
39
|
+
const Joyride = (0, import_dynamic.default)(() => import("react-joyride"), { ssr: false });
|
|
40
|
+
const Video = (0, import_dynamic.default)(() => import("../video"), { ssr: false });
|
|
41
|
+
const Beacon = (0, import_react.forwardRef)((props, ref) => {
|
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
+
import_button.default,
|
|
44
|
+
{
|
|
45
|
+
...{
|
|
46
|
+
"aria-label": props["aria-label"],
|
|
47
|
+
inline: true,
|
|
48
|
+
onClick: props.onClick,
|
|
49
|
+
onMouseEnter: props.onMouseEnter,
|
|
50
|
+
ref,
|
|
51
|
+
title: props.title,
|
|
52
|
+
variant: "link"
|
|
53
|
+
},
|
|
54
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
55
|
+
"span",
|
|
56
|
+
{
|
|
57
|
+
...{
|
|
58
|
+
className: "block w-4 h-4 bg-green rounded-full animate-pulse"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
});
|
|
65
|
+
Beacon.displayName = "Beacon";
|
|
66
|
+
const Tooltip = ({
|
|
67
|
+
backProps,
|
|
68
|
+
continuous,
|
|
69
|
+
index,
|
|
70
|
+
primaryProps,
|
|
71
|
+
skipProps,
|
|
72
|
+
step,
|
|
73
|
+
tooltipProps
|
|
74
|
+
}) => {
|
|
75
|
+
var _a;
|
|
76
|
+
const { children: skipLabel, ...skip } = skipProps;
|
|
77
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
78
|
+
"div",
|
|
79
|
+
{
|
|
80
|
+
...{
|
|
81
|
+
className: "w-dvw max-w-md bg-white rounded overflow-hidden shadow-lg",
|
|
82
|
+
...tooltipProps
|
|
83
|
+
},
|
|
84
|
+
children: [
|
|
85
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
86
|
+
"div",
|
|
87
|
+
{
|
|
88
|
+
...{
|
|
89
|
+
className: "w-full flex items-center justify-between bg-white px-6 pt-6 pb-3 space-x-6"
|
|
90
|
+
},
|
|
91
|
+
children: [
|
|
92
|
+
(step == null ? void 0 : step.title) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
93
|
+
"p",
|
|
94
|
+
{
|
|
95
|
+
...{
|
|
96
|
+
className: "text-md lg:text-lg"
|
|
97
|
+
},
|
|
98
|
+
children: step.title
|
|
99
|
+
}
|
|
100
|
+
),
|
|
101
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
102
|
+
import_button.default,
|
|
103
|
+
{
|
|
104
|
+
...{
|
|
105
|
+
icon: import_times.default,
|
|
106
|
+
inline: true,
|
|
107
|
+
variant: "link",
|
|
108
|
+
...skip
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
)
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
),
|
|
115
|
+
((step == null ? void 0 : step.title) || (step == null ? void 0 : step.content)) && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
116
|
+
"div",
|
|
117
|
+
{
|
|
118
|
+
...{
|
|
119
|
+
className: "w-full relative px-6 space-y-2"
|
|
120
|
+
},
|
|
121
|
+
children: [
|
|
122
|
+
((_a = step == null ? void 0 : step.data) == null ? void 0 : _a.video) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
123
|
+
"div",
|
|
124
|
+
{
|
|
125
|
+
...{
|
|
126
|
+
className: "w-full py-3"
|
|
127
|
+
},
|
|
128
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
129
|
+
Video,
|
|
130
|
+
{
|
|
131
|
+
...{
|
|
132
|
+
className: "aspect-video",
|
|
133
|
+
controls: true,
|
|
134
|
+
mp4: step.data.video
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
}
|
|
139
|
+
),
|
|
140
|
+
(step == null ? void 0 : step.content) && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
141
|
+
import_wrapper_gradient.default,
|
|
142
|
+
{
|
|
143
|
+
...{
|
|
144
|
+
classNameScroll: "max-h-48 space-y-4 ",
|
|
145
|
+
classNameGradient: "from-white from-[16%] to-transparent h-8"
|
|
146
|
+
},
|
|
147
|
+
children: step.content.map((line, key) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: line }, key))
|
|
148
|
+
}
|
|
149
|
+
)
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
),
|
|
153
|
+
continuous && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
154
|
+
"div",
|
|
155
|
+
{
|
|
156
|
+
...{
|
|
157
|
+
className: "flex items-center justify-between space-x-6 p-6"
|
|
158
|
+
},
|
|
159
|
+
children: [
|
|
160
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: index > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
161
|
+
import_button.default,
|
|
162
|
+
{
|
|
163
|
+
...{
|
|
164
|
+
inline: true,
|
|
165
|
+
size: "small",
|
|
166
|
+
variant: "secondary",
|
|
167
|
+
...backProps
|
|
168
|
+
},
|
|
169
|
+
children: backProps.title
|
|
170
|
+
}
|
|
171
|
+
) }),
|
|
172
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
173
|
+
import_button.default,
|
|
174
|
+
{
|
|
175
|
+
...{
|
|
176
|
+
inline: true,
|
|
177
|
+
size: "small",
|
|
178
|
+
...primaryProps
|
|
179
|
+
},
|
|
180
|
+
children: primaryProps.title
|
|
181
|
+
}
|
|
182
|
+
) })
|
|
183
|
+
]
|
|
184
|
+
}
|
|
185
|
+
)
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
);
|
|
189
|
+
};
|
|
190
|
+
const Guide = ({
|
|
191
|
+
steps = [],
|
|
192
|
+
...rest
|
|
193
|
+
}) => {
|
|
194
|
+
if (steps.length > 0) {
|
|
195
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
196
|
+
Joyride,
|
|
197
|
+
{
|
|
198
|
+
...{
|
|
199
|
+
beaconComponent: Beacon,
|
|
200
|
+
continuous: true,
|
|
201
|
+
disableCloseOnEsc: true,
|
|
202
|
+
disableOverlayClose: true,
|
|
203
|
+
disableScrolling: false,
|
|
204
|
+
disableScrollParentFix: true,
|
|
205
|
+
floaterProps: {
|
|
206
|
+
styles: {
|
|
207
|
+
arrow: {
|
|
208
|
+
length: 8,
|
|
209
|
+
spread: 16
|
|
210
|
+
},
|
|
211
|
+
floater: {
|
|
212
|
+
filter: "none"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
locale: {
|
|
217
|
+
back: "Back",
|
|
218
|
+
close: "Close",
|
|
219
|
+
last: "Done",
|
|
220
|
+
next: "Next",
|
|
221
|
+
skip: "Skip"
|
|
222
|
+
},
|
|
223
|
+
spotlightPadding: 0,
|
|
224
|
+
steps,
|
|
225
|
+
styles: {
|
|
226
|
+
overlay: {
|
|
227
|
+
height: "100%"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
tooltipComponent: Tooltip,
|
|
231
|
+
...rest
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
);
|
|
235
|
+
}
|
|
236
|
+
return null;
|
|
237
|
+
};
|
|
238
|
+
var guide_default = Guide;
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import dynamic from "next/dynamic";
|
|
4
|
+
import Times from "../icons/times.mjs";
|
|
5
|
+
import Button from "../shared/button.mjs";
|
|
6
|
+
const Joyride = dynamic(() => import("react-joyride"), { ssr: false });
|
|
7
|
+
const Video = dynamic(() => import("../video.mjs"), { ssr: false });
|
|
8
|
+
import WrapperGradient from "../wrapper-gradient.mjs";
|
|
9
|
+
const Beacon = forwardRef((props, ref) => {
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
Button,
|
|
12
|
+
{
|
|
13
|
+
...{
|
|
14
|
+
"aria-label": props["aria-label"],
|
|
15
|
+
inline: true,
|
|
16
|
+
onClick: props.onClick,
|
|
17
|
+
onMouseEnter: props.onMouseEnter,
|
|
18
|
+
ref,
|
|
19
|
+
title: props.title,
|
|
20
|
+
variant: "link"
|
|
21
|
+
},
|
|
22
|
+
children: /* @__PURE__ */ jsx(
|
|
23
|
+
"span",
|
|
24
|
+
{
|
|
25
|
+
...{
|
|
26
|
+
className: "block w-4 h-4 bg-green rounded-full animate-pulse"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
});
|
|
33
|
+
Beacon.displayName = "Beacon";
|
|
34
|
+
const Tooltip = ({
|
|
35
|
+
backProps,
|
|
36
|
+
continuous,
|
|
37
|
+
index,
|
|
38
|
+
primaryProps,
|
|
39
|
+
skipProps,
|
|
40
|
+
step,
|
|
41
|
+
tooltipProps
|
|
42
|
+
}) => {
|
|
43
|
+
var _a;
|
|
44
|
+
const { children: skipLabel, ...skip } = skipProps;
|
|
45
|
+
return /* @__PURE__ */ jsxs(
|
|
46
|
+
"div",
|
|
47
|
+
{
|
|
48
|
+
...{
|
|
49
|
+
className: "w-dvw max-w-md bg-white rounded overflow-hidden shadow-lg",
|
|
50
|
+
...tooltipProps
|
|
51
|
+
},
|
|
52
|
+
children: [
|
|
53
|
+
/* @__PURE__ */ jsxs(
|
|
54
|
+
"div",
|
|
55
|
+
{
|
|
56
|
+
...{
|
|
57
|
+
className: "w-full flex items-center justify-between bg-white px-6 pt-6 pb-3 space-x-6"
|
|
58
|
+
},
|
|
59
|
+
children: [
|
|
60
|
+
(step == null ? void 0 : step.title) && /* @__PURE__ */ jsx(
|
|
61
|
+
"p",
|
|
62
|
+
{
|
|
63
|
+
...{
|
|
64
|
+
className: "text-md lg:text-lg"
|
|
65
|
+
},
|
|
66
|
+
children: step.title
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
/* @__PURE__ */ jsx(
|
|
70
|
+
Button,
|
|
71
|
+
{
|
|
72
|
+
...{
|
|
73
|
+
icon: Times,
|
|
74
|
+
inline: true,
|
|
75
|
+
variant: "link",
|
|
76
|
+
...skip
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
)
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
),
|
|
83
|
+
((step == null ? void 0 : step.title) || (step == null ? void 0 : step.content)) && /* @__PURE__ */ jsxs(
|
|
84
|
+
"div",
|
|
85
|
+
{
|
|
86
|
+
...{
|
|
87
|
+
className: "w-full relative px-6 space-y-2"
|
|
88
|
+
},
|
|
89
|
+
children: [
|
|
90
|
+
((_a = step == null ? void 0 : step.data) == null ? void 0 : _a.video) && /* @__PURE__ */ jsx(
|
|
91
|
+
"div",
|
|
92
|
+
{
|
|
93
|
+
...{
|
|
94
|
+
className: "w-full py-3"
|
|
95
|
+
},
|
|
96
|
+
children: /* @__PURE__ */ jsx(
|
|
97
|
+
Video,
|
|
98
|
+
{
|
|
99
|
+
...{
|
|
100
|
+
className: "aspect-video",
|
|
101
|
+
controls: true,
|
|
102
|
+
mp4: step.data.video
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
)
|
|
106
|
+
}
|
|
107
|
+
),
|
|
108
|
+
(step == null ? void 0 : step.content) && /* @__PURE__ */ jsx(
|
|
109
|
+
WrapperGradient,
|
|
110
|
+
{
|
|
111
|
+
...{
|
|
112
|
+
classNameScroll: "max-h-48 space-y-4 ",
|
|
113
|
+
classNameGradient: "from-white from-[16%] to-transparent h-8"
|
|
114
|
+
},
|
|
115
|
+
children: step.content.map((line, key) => /* @__PURE__ */ jsx("p", { children: line }, key))
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
),
|
|
121
|
+
continuous && /* @__PURE__ */ jsxs(
|
|
122
|
+
"div",
|
|
123
|
+
{
|
|
124
|
+
...{
|
|
125
|
+
className: "flex items-center justify-between space-x-6 p-6"
|
|
126
|
+
},
|
|
127
|
+
children: [
|
|
128
|
+
/* @__PURE__ */ jsx("span", { children: index > 0 && /* @__PURE__ */ jsx(
|
|
129
|
+
Button,
|
|
130
|
+
{
|
|
131
|
+
...{
|
|
132
|
+
inline: true,
|
|
133
|
+
size: "small",
|
|
134
|
+
variant: "secondary",
|
|
135
|
+
...backProps
|
|
136
|
+
},
|
|
137
|
+
children: backProps.title
|
|
138
|
+
}
|
|
139
|
+
) }),
|
|
140
|
+
/* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
141
|
+
Button,
|
|
142
|
+
{
|
|
143
|
+
...{
|
|
144
|
+
inline: true,
|
|
145
|
+
size: "small",
|
|
146
|
+
...primaryProps
|
|
147
|
+
},
|
|
148
|
+
children: primaryProps.title
|
|
149
|
+
}
|
|
150
|
+
) })
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
)
|
|
154
|
+
]
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
};
|
|
158
|
+
const Guide = ({
|
|
159
|
+
steps = [],
|
|
160
|
+
...rest
|
|
161
|
+
}) => {
|
|
162
|
+
if (steps.length > 0) {
|
|
163
|
+
return /* @__PURE__ */ jsx(
|
|
164
|
+
Joyride,
|
|
165
|
+
{
|
|
166
|
+
...{
|
|
167
|
+
beaconComponent: Beacon,
|
|
168
|
+
continuous: true,
|
|
169
|
+
disableCloseOnEsc: true,
|
|
170
|
+
disableOverlayClose: true,
|
|
171
|
+
disableScrolling: false,
|
|
172
|
+
disableScrollParentFix: true,
|
|
173
|
+
floaterProps: {
|
|
174
|
+
styles: {
|
|
175
|
+
arrow: {
|
|
176
|
+
length: 8,
|
|
177
|
+
spread: 16
|
|
178
|
+
},
|
|
179
|
+
floater: {
|
|
180
|
+
filter: "none"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
locale: {
|
|
185
|
+
back: "Back",
|
|
186
|
+
close: "Close",
|
|
187
|
+
last: "Done",
|
|
188
|
+
next: "Next",
|
|
189
|
+
skip: "Skip"
|
|
190
|
+
},
|
|
191
|
+
spotlightPadding: 0,
|
|
192
|
+
steps,
|
|
193
|
+
styles: {
|
|
194
|
+
overlay: {
|
|
195
|
+
height: "100%"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
tooltipComponent: Tooltip,
|
|
199
|
+
...rest
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
);
|
|
203
|
+
}
|
|
204
|
+
return null;
|
|
205
|
+
};
|
|
206
|
+
var guide_default = Guide;
|
|
207
|
+
export {
|
|
208
|
+
guide_default as default
|
|
209
|
+
};
|
|
@@ -259,13 +259,8 @@ const InputCombobox = ({
|
|
|
259
259
|
import_react2.ComboboxOptions,
|
|
260
260
|
{
|
|
261
261
|
...{
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
anchor: {
|
|
265
|
-
gap: 8,
|
|
266
|
-
to: "bottom start"
|
|
267
|
-
},
|
|
268
|
-
className: "z-50 w-[var(--input-width)]",
|
|
262
|
+
anchor: "bottom start",
|
|
263
|
+
className: "z-50 w-[var(--input-width)] mt-2",
|
|
269
264
|
...panelWidth && {
|
|
270
265
|
style: {
|
|
271
266
|
width: panelWidth
|
|
@@ -233,13 +233,8 @@ const InputCombobox = ({
|
|
|
233
233
|
ComboboxOptions,
|
|
234
234
|
{
|
|
235
235
|
...{
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
anchor: {
|
|
239
|
-
gap: 8,
|
|
240
|
-
to: "bottom start"
|
|
241
|
-
},
|
|
242
|
-
className: "z-50 w-[var(--input-width)]",
|
|
236
|
+
anchor: "bottom start",
|
|
237
|
+
className: "z-50 w-[var(--input-width)] mt-2",
|
|
243
238
|
...panelWidth && {
|
|
244
239
|
style: {
|
|
245
240
|
width: panelWidth
|
package/dist/dashboard/list.js
CHANGED
|
@@ -49,7 +49,7 @@ const List = ({
|
|
|
49
49
|
className
|
|
50
50
|
},
|
|
51
51
|
// icon and element shape the row; left in rest they reach the DOM.
|
|
52
|
-
children: items.map(({ complete, element, icon, title, ...rest }, key) => {
|
|
52
|
+
children: items.map(({ complete, element, icon, increment, title, ...rest }, key) => {
|
|
53
53
|
const same = Boolean(rest == null ? void 0 : rest.href) && rest.href === pathname;
|
|
54
54
|
const linked = Boolean(rest == null ? void 0 : rest.href) && !same;
|
|
55
55
|
const IconComponent = icon || import_arrow_right.default;
|
package/dist/dashboard/list.mjs
CHANGED
|
@@ -17,7 +17,7 @@ const List = ({
|
|
|
17
17
|
className
|
|
18
18
|
},
|
|
19
19
|
// icon and element shape the row; left in rest they reach the DOM.
|
|
20
|
-
children: items.map(({ complete, element, icon, title, ...rest }, key) => {
|
|
20
|
+
children: items.map(({ complete, element, icon, increment, title, ...rest }, key) => {
|
|
21
21
|
const same = Boolean(rest == null ? void 0 : rest.href) && rest.href === pathname;
|
|
22
22
|
const linked = Boolean(rest == null ? void 0 : rest.href) && !same;
|
|
23
23
|
const IconComponent = icon || ArrowRight;
|