@helpwave/hightide 0.1.0 → 0.1.2
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/coloring/shading.cjs +121 -106
- package/dist/coloring/shading.cjs.map +1 -1
- package/dist/coloring/shading.js +123 -108
- package/dist/coloring/shading.js.map +1 -1
- package/dist/components/date/DatePicker.cjs +15 -6
- package/dist/components/date/DatePicker.cjs.map +1 -1
- package/dist/components/date/DatePicker.js +15 -6
- package/dist/components/date/DatePicker.js.map +1 -1
- package/dist/components/date/YearMonthPicker.cjs +15 -6
- package/dist/components/date/YearMonthPicker.cjs.map +1 -1
- package/dist/components/date/YearMonthPicker.js +15 -6
- package/dist/components/date/YearMonthPicker.js.map +1 -1
- package/dist/components/{modals → dialogs}/ConfirmDialog.cjs +187 -31
- package/dist/components/dialogs/ConfirmDialog.cjs.map +1 -0
- package/dist/components/{modals → dialogs}/ConfirmDialog.d.cts +7 -8
- package/dist/components/{modals → dialogs}/ConfirmDialog.d.ts +7 -8
- package/dist/components/{modals → dialogs}/ConfirmDialog.js +186 -30
- package/dist/components/dialogs/ConfirmDialog.js.map +1 -0
- package/dist/components/layout-and-navigation/Expandable.cjs +15 -6
- package/dist/components/layout-and-navigation/Expandable.cjs.map +1 -1
- package/dist/components/layout-and-navigation/Expandable.d.cts +2 -0
- package/dist/components/layout-and-navigation/Expandable.d.ts +2 -0
- package/dist/components/layout-and-navigation/Expandable.js +15 -6
- package/dist/components/layout-and-navigation/Expandable.js.map +1 -1
- package/dist/components/layout-and-navigation/FAQSection.cjs +16 -8
- package/dist/components/layout-and-navigation/FAQSection.cjs.map +1 -1
- package/dist/components/layout-and-navigation/FAQSection.js +16 -8
- package/dist/components/layout-and-navigation/FAQSection.js.map +1 -1
- package/dist/components/layout-and-navigation/Overlay.cjs +11 -18
- package/dist/components/layout-and-navigation/Overlay.cjs.map +1 -1
- package/dist/components/layout-and-navigation/Overlay.d.cts +14 -9
- package/dist/components/layout-and-navigation/Overlay.d.ts +14 -9
- package/dist/components/layout-and-navigation/Overlay.js +9 -16
- package/dist/components/layout-and-navigation/Overlay.js.map +1 -1
- package/dist/components/modals/ConfirmModal.cjs +524 -0
- package/dist/components/modals/ConfirmModal.cjs.map +1 -0
- package/dist/components/modals/ConfirmModal.d.cts +36 -0
- package/dist/components/modals/ConfirmModal.d.ts +36 -0
- package/dist/components/modals/ConfirmModal.js +487 -0
- package/dist/components/modals/ConfirmModal.js.map +1 -0
- package/dist/components/modals/DiscardChangesModal.cjs +126 -59
- package/dist/components/modals/DiscardChangesModal.cjs.map +1 -1
- package/dist/components/modals/DiscardChangesModal.d.cts +4 -2
- package/dist/components/modals/DiscardChangesModal.d.ts +4 -2
- package/dist/components/modals/DiscardChangesModal.js +125 -58
- package/dist/components/modals/DiscardChangesModal.js.map +1 -1
- package/dist/components/modals/InputModal.cjs +186 -30
- package/dist/components/modals/InputModal.cjs.map +1 -1
- package/dist/components/modals/InputModal.d.cts +1 -1
- package/dist/components/modals/InputModal.d.ts +1 -1
- package/dist/components/modals/InputModal.js +186 -30
- package/dist/components/modals/InputModal.js.map +1 -1
- package/dist/components/modals/LanguageModal.cjs +5 -5
- package/dist/components/modals/LanguageModal.cjs.map +1 -1
- package/dist/components/modals/LanguageModal.js +5 -5
- package/dist/components/modals/LanguageModal.js.map +1 -1
- package/dist/components/modals/ThemeModal.cjs +5 -5
- package/dist/components/modals/ThemeModal.cjs.map +1 -1
- package/dist/components/modals/ThemeModal.js +5 -5
- package/dist/components/modals/ThemeModal.js.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.cjs +15 -6
- package/dist/components/user-action/DateAndTimePicker.cjs.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.js +15 -6
- package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
- package/dist/css/globals.css +11 -10
- package/dist/css/uncompiled/globals.css +8 -5
- package/dist/index.cjs +1740 -1681
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1707 -1649
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/components/modals/ConfirmDialog.cjs.map +0 -1
- package/dist/components/modals/ConfirmDialog.js.map +0 -1
package/dist/coloring/shading.js
CHANGED
|
@@ -76,6 +76,7 @@ var Expandable = forwardRef(({
|
|
|
76
76
|
icon,
|
|
77
77
|
initialExpansion = false,
|
|
78
78
|
clickOnlyOnHeader = true,
|
|
79
|
+
disabled = false,
|
|
79
80
|
className = "",
|
|
80
81
|
headerClassName = ""
|
|
81
82
|
}, ref) => {
|
|
@@ -85,21 +86,29 @@ var Expandable = forwardRef(({
|
|
|
85
86
|
"div",
|
|
86
87
|
{
|
|
87
88
|
ref,
|
|
88
|
-
className: clsx5("col bg-surface text-on-surface group rounded-lg shadow-sm", { "cursor-pointer": !clickOnlyOnHeader }, className),
|
|
89
|
-
onClick: () => !clickOnlyOnHeader && setIsExpanded(!isExpanded),
|
|
89
|
+
className: clsx5("col gap-y-0 bg-surface text-on-surface group rounded-lg shadow-sm", { "cursor-pointer": !clickOnlyOnHeader && !disabled }, className),
|
|
90
|
+
onClick: () => !clickOnlyOnHeader && !disabled && setIsExpanded(!isExpanded),
|
|
90
91
|
children: [
|
|
91
92
|
/* @__PURE__ */ jsxs4(
|
|
92
|
-
"
|
|
93
|
+
"div",
|
|
93
94
|
{
|
|
94
|
-
className: clsx5(
|
|
95
|
-
|
|
95
|
+
className: clsx5(
|
|
96
|
+
"row py-2 px-4 rounded-lg justify-between items-center bg-surface text-on-surface select-none",
|
|
97
|
+
{
|
|
98
|
+
"group-hover:brightness-95": !isExpanded,
|
|
99
|
+
"hover:brightness-95": isExpanded && !disabled,
|
|
100
|
+
"cursor-pointer": clickOnlyOnHeader && !disabled
|
|
101
|
+
},
|
|
102
|
+
headerClassName
|
|
103
|
+
),
|
|
104
|
+
onClick: () => clickOnlyOnHeader && !disabled && setIsExpanded(!isExpanded),
|
|
96
105
|
children: [
|
|
97
106
|
label,
|
|
98
107
|
icon(isExpanded)
|
|
99
108
|
]
|
|
100
109
|
}
|
|
101
110
|
),
|
|
102
|
-
isExpanded && /* @__PURE__ */ jsx6("div", { className: "col", children })
|
|
111
|
+
isExpanded && /* @__PURE__ */ jsx6("div", { className: "col px-4 pb-2", children })
|
|
103
112
|
]
|
|
104
113
|
}
|
|
105
114
|
);
|
|
@@ -126,92 +135,98 @@ import { Scrollbars as Scrollbars2 } from "react-custom-scrollbars-2";
|
|
|
126
135
|
import clsx9 from "clsx";
|
|
127
136
|
import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
128
137
|
|
|
138
|
+
// src/components/dialogs/ConfirmDialog.tsx
|
|
139
|
+
import clsx12 from "clsx";
|
|
140
|
+
|
|
141
|
+
// src/components/layout-and-navigation/Overlay.tsx
|
|
142
|
+
import { useEffect as useEffect8, useRef as useRef3, useState as useState9 } from "react";
|
|
143
|
+
import ReactDOM from "react-dom";
|
|
144
|
+
import clsx11 from "clsx";
|
|
145
|
+
|
|
146
|
+
// src/hooks/useHoverState.ts
|
|
147
|
+
import { useEffect as useEffect7, useState as useState8 } from "react";
|
|
148
|
+
|
|
149
|
+
// src/components/user-action/Tooltip.tsx
|
|
150
|
+
import { clsx as clsx10 } from "clsx";
|
|
151
|
+
import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
152
|
+
|
|
153
|
+
// src/components/layout-and-navigation/Overlay.tsx
|
|
154
|
+
import { X } from "lucide-react";
|
|
155
|
+
import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
156
|
+
|
|
157
|
+
// src/components/dialogs/ConfirmDialog.tsx
|
|
158
|
+
import { jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
159
|
+
|
|
129
160
|
// src/components/icons-and-geometry/Avatar.tsx
|
|
130
161
|
import Image2 from "next/image";
|
|
131
|
-
import
|
|
132
|
-
import { jsx as
|
|
162
|
+
import clsx13 from "clsx";
|
|
163
|
+
import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
133
164
|
|
|
134
165
|
// src/components/icons-and-geometry/Circle.tsx
|
|
135
|
-
import
|
|
136
|
-
import { jsx as
|
|
166
|
+
import clsx14 from "clsx";
|
|
167
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
137
168
|
|
|
138
169
|
// src/components/icons-and-geometry/Ring.tsx
|
|
139
|
-
import { useCallback as useCallback2, useEffect as
|
|
140
|
-
import
|
|
141
|
-
import { jsx as
|
|
170
|
+
import { useCallback as useCallback2, useEffect as useEffect9, useState as useState10 } from "react";
|
|
171
|
+
import clsx15 from "clsx";
|
|
172
|
+
import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
142
173
|
|
|
143
174
|
// src/components/icons-and-geometry/Tag.tsx
|
|
144
175
|
import Image3 from "next/image";
|
|
145
|
-
import { jsx as
|
|
176
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
146
177
|
|
|
147
178
|
// src/components/layout-and-navigation/BreadCrumb.tsx
|
|
148
179
|
import Link from "next/link";
|
|
149
|
-
import
|
|
150
|
-
import { jsx as
|
|
180
|
+
import clsx16 from "clsx";
|
|
181
|
+
import { jsx as jsx19, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
151
182
|
|
|
152
183
|
// src/components/layout-and-navigation/Carousel.tsx
|
|
153
|
-
import { useCallback as useCallback3, useEffect as
|
|
154
|
-
import
|
|
184
|
+
import { useCallback as useCallback3, useEffect as useEffect10, useMemo, useRef as useRef4, useState as useState11 } from "react";
|
|
185
|
+
import clsx17 from "clsx";
|
|
155
186
|
import { ChevronLeft, ChevronRight } from "lucide-react";
|
|
156
|
-
import { Fragment, jsx as
|
|
187
|
+
import { Fragment, jsx as jsx20, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
157
188
|
|
|
158
189
|
// src/components/layout-and-navigation/Chip.tsx
|
|
159
|
-
import
|
|
160
|
-
import { jsx as
|
|
190
|
+
import clsx18 from "clsx";
|
|
191
|
+
import { jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
161
192
|
|
|
162
193
|
// src/components/layout-and-navigation/DividerInserter.tsx
|
|
163
|
-
import
|
|
164
|
-
import { jsx as
|
|
194
|
+
import clsx19 from "clsx";
|
|
195
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
165
196
|
|
|
166
197
|
// src/components/layout-and-navigation/FAQSection.tsx
|
|
167
|
-
import
|
|
198
|
+
import clsx20 from "clsx";
|
|
168
199
|
import { ChevronDown as ChevronDown3, ChevronUp as ChevronUp2 } from "lucide-react";
|
|
169
200
|
|
|
170
201
|
// src/components/layout-and-navigation/MarkdownInterpreter.tsx
|
|
171
|
-
import { Fragment as Fragment2, jsx as
|
|
202
|
+
import { Fragment as Fragment2, jsx as jsx23 } from "react/jsx-runtime";
|
|
172
203
|
|
|
173
204
|
// src/components/layout-and-navigation/FAQSection.tsx
|
|
174
|
-
import { jsx as
|
|
175
|
-
|
|
176
|
-
// src/components/layout-and-navigation/Overlay.tsx
|
|
177
|
-
import { useEffect as useEffect10, useRef as useRef4, useState as useState11 } from "react";
|
|
178
|
-
import ReactDOM from "react-dom";
|
|
179
|
-
import clsx19 from "clsx";
|
|
180
|
-
|
|
181
|
-
// src/hooks/useHoverState.ts
|
|
182
|
-
import { useEffect as useEffect9, useState as useState10 } from "react";
|
|
183
|
-
|
|
184
|
-
// src/components/user-action/Tooltip.tsx
|
|
185
|
-
import { clsx as clsx18 } from "clsx";
|
|
186
|
-
import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
187
|
-
|
|
188
|
-
// src/components/layout-and-navigation/Overlay.tsx
|
|
189
|
-
import { X } from "lucide-react";
|
|
190
|
-
import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
205
|
+
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
191
206
|
|
|
192
207
|
// src/components/layout-and-navigation/Pagination.tsx
|
|
193
208
|
import { ChevronFirst, ChevronLast, ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight2 } from "lucide-react";
|
|
194
|
-
import
|
|
195
|
-
import { jsx as
|
|
209
|
+
import clsx21 from "clsx";
|
|
210
|
+
import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
196
211
|
|
|
197
212
|
// src/components/layout-and-navigation/SearchableList.tsx
|
|
198
213
|
import { useEffect as useEffect13, useMemo as useMemo2, useState as useState14 } from "react";
|
|
199
214
|
import { Search } from "lucide-react";
|
|
200
|
-
import
|
|
215
|
+
import clsx24 from "clsx";
|
|
201
216
|
|
|
202
217
|
// src/components/user-action/Input.tsx
|
|
203
218
|
import { forwardRef as forwardRef2, useEffect as useEffect12, useRef as useRef5, useState as useState13 } from "react";
|
|
204
|
-
import
|
|
219
|
+
import clsx23 from "clsx";
|
|
205
220
|
|
|
206
221
|
// src/hooks/useSaveDelay.ts
|
|
207
222
|
import { useEffect as useEffect11, useState as useState12 } from "react";
|
|
208
223
|
|
|
209
224
|
// src/components/user-action/Label.tsx
|
|
210
|
-
import
|
|
211
|
-
import { jsx as
|
|
225
|
+
import clsx22 from "clsx";
|
|
226
|
+
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
212
227
|
|
|
213
228
|
// src/components/user-action/Input.tsx
|
|
214
|
-
import { jsx as
|
|
229
|
+
import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
215
230
|
var FormInput = forwardRef2(function FormInput2({
|
|
216
231
|
id,
|
|
217
232
|
labelText,
|
|
@@ -223,13 +238,13 @@ var FormInput = forwardRef2(function FormInput2({
|
|
|
223
238
|
required,
|
|
224
239
|
...restProps
|
|
225
240
|
}, ref) {
|
|
226
|
-
const input = /* @__PURE__ */
|
|
241
|
+
const input = /* @__PURE__ */ jsx27(
|
|
227
242
|
"input",
|
|
228
243
|
{
|
|
229
244
|
ref,
|
|
230
245
|
id,
|
|
231
246
|
...restProps,
|
|
232
|
-
className:
|
|
247
|
+
className: clsx23(
|
|
233
248
|
{
|
|
234
249
|
"focus:border-primary focus:ring-primary": !errorText,
|
|
235
250
|
"focus:border-negative focus:ring-negative text-negative": !!errorText
|
|
@@ -238,23 +253,23 @@ var FormInput = forwardRef2(function FormInput2({
|
|
|
238
253
|
)
|
|
239
254
|
}
|
|
240
255
|
);
|
|
241
|
-
return /* @__PURE__ */
|
|
242
|
-
labelText && /* @__PURE__ */
|
|
256
|
+
return /* @__PURE__ */ jsxs17("div", { className: clsx23("flex flex-col gap-y-1", containerClassName), children: [
|
|
257
|
+
labelText && /* @__PURE__ */ jsxs17("label", { htmlFor: id, className: clsx23("textstyle-label-md", labelClassName), children: [
|
|
243
258
|
labelText,
|
|
244
|
-
required && /* @__PURE__ */
|
|
259
|
+
required && /* @__PURE__ */ jsx27("span", { className: "text-primary font-bold", children: "*" })
|
|
245
260
|
] }),
|
|
246
261
|
input,
|
|
247
|
-
errorText && /* @__PURE__ */
|
|
262
|
+
errorText && /* @__PURE__ */ jsx27("label", { htmlFor: id, className: clsx23("text-negative", errorClassName), children: errorText })
|
|
248
263
|
] });
|
|
249
264
|
});
|
|
250
265
|
|
|
251
266
|
// src/components/layout-and-navigation/SearchableList.tsx
|
|
252
|
-
import { jsx as
|
|
267
|
+
import { jsx as jsx28, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
253
268
|
|
|
254
269
|
// src/components/layout-and-navigation/StepperBar.tsx
|
|
255
270
|
import { Check, ChevronLeft as ChevronLeft3, ChevronRight as ChevronRight3 } from "lucide-react";
|
|
256
|
-
import
|
|
257
|
-
import { jsx as
|
|
271
|
+
import clsx25 from "clsx";
|
|
272
|
+
import { jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
258
273
|
|
|
259
274
|
// src/components/layout-and-navigation/Table.tsx
|
|
260
275
|
import { useEffect as useEffect14, useRef as useRef6, useState as useState16 } from "react";
|
|
@@ -264,62 +279,62 @@ import { Scrollbars as Scrollbars3 } from "react-custom-scrollbars-2";
|
|
|
264
279
|
import { useState as useState15 } from "react";
|
|
265
280
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
266
281
|
import { Check as Check2, Minus } from "lucide-react";
|
|
267
|
-
import clsx25 from "clsx";
|
|
268
|
-
import { jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
269
|
-
|
|
270
|
-
// src/components/layout-and-navigation/Table.tsx
|
|
271
282
|
import clsx26 from "clsx";
|
|
272
|
-
import { ChevronDown as ChevronDown4, ChevronsUpDown, ChevronUp as ChevronUp3 } from "lucide-react";
|
|
273
283
|
import { jsx as jsx30, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
274
284
|
|
|
275
|
-
// src/components/layout-and-navigation/
|
|
285
|
+
// src/components/layout-and-navigation/Table.tsx
|
|
276
286
|
import clsx27 from "clsx";
|
|
287
|
+
import { ChevronDown as ChevronDown4, ChevronsUpDown, ChevronUp as ChevronUp3 } from "lucide-react";
|
|
277
288
|
import { jsx as jsx31, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
278
289
|
|
|
279
|
-
// src/components/layout-and-navigation/
|
|
290
|
+
// src/components/layout-and-navigation/TextImage.tsx
|
|
291
|
+
import clsx28 from "clsx";
|
|
280
292
|
import { jsx as jsx32, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
281
293
|
|
|
294
|
+
// src/components/layout-and-navigation/VerticalDivider.tsx
|
|
295
|
+
import { jsx as jsx33, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
296
|
+
|
|
282
297
|
// src/components/loading-states/ErrorComponent.tsx
|
|
283
298
|
import { AlertOctagon } from "lucide-react";
|
|
284
|
-
import
|
|
285
|
-
import { jsx as
|
|
299
|
+
import clsx29 from "clsx";
|
|
300
|
+
import { jsx as jsx34, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
286
301
|
|
|
287
302
|
// src/components/loading-states/LoadingAndErrorComponent.tsx
|
|
288
303
|
import { useState as useState17 } from "react";
|
|
289
304
|
|
|
290
305
|
// src/components/loading-states/LoadingAnimation.tsx
|
|
291
|
-
import
|
|
292
|
-
import { jsx as
|
|
306
|
+
import clsx30 from "clsx";
|
|
307
|
+
import { jsx as jsx35, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
293
308
|
|
|
294
309
|
// src/components/loading-states/LoadingAndErrorComponent.tsx
|
|
295
|
-
import { jsx as
|
|
310
|
+
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
296
311
|
|
|
297
312
|
// src/components/loading-states/LoadingButton.tsx
|
|
298
|
-
import
|
|
299
|
-
import { jsx as jsx36, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
300
|
-
|
|
301
|
-
// src/components/loading-states/ProgressIndicator.tsx
|
|
313
|
+
import clsx31 from "clsx";
|
|
302
314
|
import { jsx as jsx37, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
303
315
|
|
|
304
|
-
// src/components/
|
|
305
|
-
import clsx31 from "clsx";
|
|
316
|
+
// src/components/loading-states/ProgressIndicator.tsx
|
|
306
317
|
import { jsx as jsx38, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
307
318
|
|
|
308
|
-
// src/components/modals/
|
|
319
|
+
// src/components/modals/ConfirmModal.tsx
|
|
320
|
+
import clsx32 from "clsx";
|
|
309
321
|
import { jsx as jsx39, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
310
322
|
|
|
311
|
-
// src/components/modals/
|
|
323
|
+
// src/components/modals/DiscardChangesModal.tsx
|
|
312
324
|
import { jsx as jsx40 } from "react/jsx-runtime";
|
|
313
325
|
|
|
326
|
+
// src/components/modals/InputModal.tsx
|
|
327
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
328
|
+
|
|
314
329
|
// src/components/user-action/Select.tsx
|
|
315
330
|
import { Menu } from "@headlessui/react";
|
|
316
331
|
import { ChevronDown as ChevronDown5, ChevronUp as ChevronUp4, Search as Search2 } from "lucide-react";
|
|
317
332
|
import { useEffect as useEffect15, useState as useState18 } from "react";
|
|
318
|
-
import
|
|
319
|
-
import { Fragment as Fragment3, jsx as
|
|
333
|
+
import clsx33 from "clsx";
|
|
334
|
+
import { Fragment as Fragment3, jsx as jsx42, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
320
335
|
|
|
321
336
|
// src/components/modals/LanguageModal.tsx
|
|
322
|
-
import { jsx as
|
|
337
|
+
import { jsx as jsx43, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
323
338
|
var defaultLanguageModalTranslation = {
|
|
324
339
|
en: {
|
|
325
340
|
title: "Language",
|
|
@@ -337,7 +352,7 @@ var defaultLanguageModalTranslation = {
|
|
|
337
352
|
|
|
338
353
|
// src/theming/useTheme.tsx
|
|
339
354
|
import { createContext as createContext2, useContext as useContext2, useEffect as useEffect16, useState as useState19 } from "react";
|
|
340
|
-
import { jsx as
|
|
355
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
341
356
|
var themes = ["light", "dark"];
|
|
342
357
|
var defaultThemeTypeTranslation = {
|
|
343
358
|
en: {
|
|
@@ -359,7 +374,7 @@ var ThemeContext = createContext2({
|
|
|
359
374
|
});
|
|
360
375
|
|
|
361
376
|
// src/components/modals/ThemeModal.tsx
|
|
362
|
-
import { jsx as
|
|
377
|
+
import { jsx as jsx45, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
363
378
|
var defaultConfirmDialogTranslation = {
|
|
364
379
|
en: {
|
|
365
380
|
title: "Theme",
|
|
@@ -380,78 +395,78 @@ import { Check as Check3 } from "lucide-react";
|
|
|
380
395
|
|
|
381
396
|
// src/components/properties/PropertyBase.tsx
|
|
382
397
|
import { AlertTriangle } from "lucide-react";
|
|
383
|
-
import
|
|
384
|
-
import { jsx as
|
|
398
|
+
import clsx34 from "clsx";
|
|
399
|
+
import { jsx as jsx46, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
385
400
|
|
|
386
401
|
// src/components/properties/CheckboxProperty.tsx
|
|
387
|
-
import { jsx as
|
|
402
|
+
import { jsx as jsx47 } from "react/jsx-runtime";
|
|
388
403
|
|
|
389
404
|
// src/components/properties/DateProperty.tsx
|
|
390
405
|
import { CalendarDays } from "lucide-react";
|
|
391
|
-
import
|
|
392
|
-
import { jsx as
|
|
406
|
+
import clsx35 from "clsx";
|
|
407
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
393
408
|
|
|
394
409
|
// src/components/properties/MultiSelectProperty.tsx
|
|
395
410
|
import { List } from "lucide-react";
|
|
396
|
-
import
|
|
411
|
+
import clsx38 from "clsx";
|
|
397
412
|
|
|
398
413
|
// src/components/user-action/MultiSelect.tsx
|
|
399
414
|
import { useState as useState20 } from "react";
|
|
400
415
|
import { Search as Search3 } from "lucide-react";
|
|
401
|
-
import
|
|
416
|
+
import clsx37 from "clsx";
|
|
402
417
|
|
|
403
418
|
// src/components/user-action/Menu.tsx
|
|
404
419
|
import { useRef as useRef7 } from "react";
|
|
405
|
-
import
|
|
420
|
+
import clsx36 from "clsx";
|
|
406
421
|
|
|
407
422
|
// src/hooks/useOutsideClick.ts
|
|
408
423
|
import { useEffect as useEffect17 } from "react";
|
|
409
424
|
|
|
410
425
|
// src/components/user-action/Menu.tsx
|
|
411
|
-
import { jsx as
|
|
426
|
+
import { jsx as jsx49, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
412
427
|
|
|
413
428
|
// src/components/user-action/MultiSelect.tsx
|
|
414
|
-
import { jsx as
|
|
429
|
+
import { jsx as jsx50, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
415
430
|
|
|
416
431
|
// src/components/properties/MultiSelectProperty.tsx
|
|
417
|
-
import { jsx as
|
|
432
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
418
433
|
|
|
419
434
|
// src/components/properties/NumberProperty.tsx
|
|
420
435
|
import { Binary } from "lucide-react";
|
|
421
|
-
import
|
|
422
|
-
import { jsx as
|
|
436
|
+
import clsx39 from "clsx";
|
|
437
|
+
import { jsx as jsx52, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
423
438
|
|
|
424
439
|
// src/components/properties/SelectProperty.tsx
|
|
425
440
|
import { List as List2 } from "lucide-react";
|
|
426
|
-
import
|
|
427
|
-
import { jsx as
|
|
441
|
+
import clsx40 from "clsx";
|
|
442
|
+
import { jsx as jsx53 } from "react/jsx-runtime";
|
|
428
443
|
|
|
429
444
|
// src/components/properties/TextProperty.tsx
|
|
430
445
|
import { Text } from "lucide-react";
|
|
431
|
-
import
|
|
446
|
+
import clsx42 from "clsx";
|
|
432
447
|
|
|
433
448
|
// src/components/user-action/Textarea.tsx
|
|
434
449
|
import { useEffect as useEffect18, useState as useState21 } from "react";
|
|
435
|
-
import
|
|
436
|
-
import { jsx as
|
|
450
|
+
import clsx41 from "clsx";
|
|
451
|
+
import { jsx as jsx54, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
437
452
|
|
|
438
453
|
// src/components/properties/TextProperty.tsx
|
|
439
|
-
import { jsx as
|
|
454
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
440
455
|
|
|
441
456
|
// src/components/user-action/DateAndTimePicker.tsx
|
|
442
|
-
import
|
|
443
|
-
import { jsx as
|
|
457
|
+
import clsx43 from "clsx";
|
|
458
|
+
import { jsx as jsx56, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
444
459
|
|
|
445
460
|
// src/components/user-action/ScrollPicker.tsx
|
|
446
461
|
import { useCallback as useCallback4, useEffect as useEffect19, useState as useState22 } from "react";
|
|
447
|
-
import
|
|
448
|
-
import { jsx as
|
|
462
|
+
import clsx44 from "clsx";
|
|
463
|
+
import { jsx as jsx57, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
449
464
|
|
|
450
465
|
// src/components/user-action/ToggleableInput.tsx
|
|
451
466
|
import { useEffect as useEffect20, useRef as useRef8, useState as useState23 } from "react";
|
|
452
467
|
import { Pencil } from "lucide-react";
|
|
453
|
-
import
|
|
454
|
-
import { jsx as
|
|
468
|
+
import clsx45 from "clsx";
|
|
469
|
+
import { jsx as jsx58, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
455
470
|
|
|
456
471
|
// src/util/news.ts
|
|
457
472
|
import { z } from "zod";
|