@datum-cloud/datum-ui 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/base/dialog/dialog.d.ts.map +1 -1
- package/dist/dialog/index.mjs +1 -1
- package/dist/{dialog-D_EdsXvl.mjs → dialog-ZmYSe4-x.mjs} +4 -4
- package/dist/form/index.mjs +1 -1
- package/dist/{form-De6Tukoy.mjs → form-JM1Rqh6g.mjs} +1 -1
- package/dist/index.mjs +3 -3
- package/dist/task-queue/index.mjs +1 -1
- package/dist/{task-queue-dropdown-BRP0lLzA.mjs → task-queue-dropdown-CGLFsgM1.mjs} +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/base/dialog/dialog.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,UAAU,WAAW;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,iBAAS,MAAM,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,qBAElD;kBAFQ,MAAM;yCA8BgC,kBAAkB;2CAavB,kBAAkB;oFAkCzD,iBAAiB;wCAiCmB,eAAe;
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/base/dialog/dialog.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,UAAU,WAAW;IACnB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,WAA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
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Dialog } from "../dialog-
|
|
1
|
+
import { t as Dialog } from "../dialog-ZmYSe4-x.mjs";
|
|
2
2
|
export { Dialog };
|
|
@@ -25,13 +25,13 @@ function Trigger({ children, asChild = true }) {
|
|
|
25
25
|
}
|
|
26
26
|
function Content({ children, className }) {
|
|
27
27
|
return /* @__PURE__ */ jsxs(DialogPortal, { children: [/* @__PURE__ */ jsx(DialogOverlay, {}), /* @__PURE__ */ jsx(DialogPrimitive.Content, {
|
|
28
|
-
className: cn("dark:bg-muted dark:border-dialog-border data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 flex max-h-[80vh] w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] flex-col gap-0 overflow-
|
|
28
|
+
className: cn("dark:bg-muted dark:border-dialog-border data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 flex max-h-[80vh] w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] flex-col gap-0 overflow-hidden rounded-lg bg-white p-0 shadow-xl duration-200 sm:max-w-lg dark:border [&>button:last-child]:hidden", className),
|
|
29
29
|
children
|
|
30
30
|
})] });
|
|
31
31
|
}
|
|
32
32
|
function Header({ title, description, onClose, className, descriptionClassName }) {
|
|
33
33
|
return /* @__PURE__ */ jsxs("div", {
|
|
34
|
-
className: cn("dark:bg-muted dark:border-dialog-border
|
|
34
|
+
className: cn("dark:bg-muted dark:border-dialog-border flex shrink-0 flex-col gap-2 bg-white p-5", className),
|
|
35
35
|
children: [
|
|
36
36
|
/* @__PURE__ */ jsx(DialogTitle, {
|
|
37
37
|
className: "text-base font-semibold",
|
|
@@ -51,13 +51,13 @@ function Header({ title, description, onClose, className, descriptionClassName }
|
|
|
51
51
|
}
|
|
52
52
|
function Body({ children, className }) {
|
|
53
53
|
return /* @__PURE__ */ jsx("div", {
|
|
54
|
-
className: cn("py-5", className),
|
|
54
|
+
className: cn("min-h-0 max-h-[max(0px,calc(80vh-9rem))] flex-1 overflow-y-auto py-5", className),
|
|
55
55
|
children
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
function Footer({ children, className }) {
|
|
59
59
|
return /* @__PURE__ */ jsx(DialogFooter, {
|
|
60
|
-
className: cn("dark:bg-muted dark:border-dialog-border
|
|
60
|
+
className: cn("dark:bg-muted dark:border-dialog-border shrink-0 gap-3 bg-white p-5", className),
|
|
61
61
|
children
|
|
62
62
|
});
|
|
63
63
|
}
|
package/dist/form/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "../form-
|
|
1
|
+
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "../form-JM1Rqh6g.mjs";
|
|
2
2
|
import { n as useAdapter, t as FormAdapterProvider } from "../adapter-context-h0jCVqGO.mjs";
|
|
3
3
|
export { Form, FormAdapterProvider, FormAutocomplete, FormAutosearch, FormButton, FormCheckbox, FormCombobox, FormCopyBox, FormCustom, FormDatePicker, FormDateTimePicker, FormDescription, FormDialog, FormError, FormField, FormFieldArray, FormInput, FormRadioGroup, FormRadioItem, FormRoot, FormSelect, FormSelectItem, FormSubmit, FormSwitch, FormTextarea, FormTimePicker, FormTransfer, FormWhen, useAdapter, useField, useFieldContext, useFormContext, useFormState, useWatch, useWatchAll };
|
|
@@ -2,7 +2,7 @@ import { t as cn } from "./cn-dlASUkDY.mjs";
|
|
|
2
2
|
import { t as Button } from "./button-B_N7A8gv.mjs";
|
|
3
3
|
import { t as Icon } from "./icon-wrapper-DKfJlJd0.mjs";
|
|
4
4
|
import { t as Checkbox } from "./checkbox-BZr9bkke.mjs";
|
|
5
|
-
import { t as Dialog } from "./dialog-
|
|
5
|
+
import { t as Dialog } from "./dialog-ZmYSe4-x.mjs";
|
|
6
6
|
import { t as Input } from "./input-DBzgl-pN.mjs";
|
|
7
7
|
import { t as Label } from "./label-CiVSCTp9.mjs";
|
|
8
8
|
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-kjKWAwdr.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import { t as Checkbox } from "./checkbox-BZr9bkke.mjs";
|
|
|
16
16
|
import { n as CollapsibleContent, r as CollapsibleTrigger, t as Collapsible } from "./collapsible-BeCdkxTJ.mjs";
|
|
17
17
|
import { a as CommandInput, c as CommandSeparator, i as CommandGroup, l as CommandShortcut, n as CommandDialog, o as CommandItem, r as CommandEmpty, s as CommandList, t as Command } from "./command-B1sx-XVY.mjs";
|
|
18
18
|
import { t as CloseIcon } from "./close.icon-ClpRDt_H.mjs";
|
|
19
|
-
import { t as Dialog } from "./dialog-
|
|
19
|
+
import { t as Dialog } from "./dialog-ZmYSe4-x.mjs";
|
|
20
20
|
import { n as HoverCardContent, r as HoverCardTrigger, t as HoverCard } from "./hover-card-08jU9cD8.mjs";
|
|
21
21
|
import { t as Input } from "./input-DBzgl-pN.mjs";
|
|
22
22
|
import { a as InputGroupText, i as InputGroupInput, n as InputGroupAddon, o as InputGroupTextarea, r as InputGroupButton, t as InputGroup } from "./input-group-Cr_BOTbn.mjs";
|
|
@@ -53,7 +53,7 @@ import { t as toast } from "./toast-qSJgeN-g.mjs";
|
|
|
53
53
|
import { n as Toaster, t as useToast } from "./toast-0C5jhuto.mjs";
|
|
54
54
|
import { i as FileInputButton, n as DropzoneContent, r as DropzoneEmptyState, t as Dropzone } from "./dropzone-ZJhq4Ec9.mjs";
|
|
55
55
|
import { t as EmptyContent } from "./empty-content-C4Z0QVfg.mjs";
|
|
56
|
-
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "./form-
|
|
56
|
+
import { A as FormCheckbox, C as FormDialog, D as FormCustom, E as FormDatePicker, M as FormAutosearch, N as FormAutocomplete, O as FormCopyBox, S as FormError, T as FormDateTimePicker, _ as FormRadioGroup, a as useField, b as FormFieldArray, c as useWatchAll, d as FormTextarea, f as FormSwitch, g as FormRoot, h as FormSelectItem, i as useFieldContext, j as FormButton, k as FormCombobox, l as FormTransfer, m as FormSelect, n as useFormState, o as FormWhen, p as FormSubmit, r as useFormContext, s as useWatch, t as Form, u as FormTimePicker, v as FormRadioItem, w as FormDescription, x as FormField, y as FormInput } from "./form-JM1Rqh6g.mjs";
|
|
57
57
|
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-BOCe6C1j.mjs";
|
|
58
58
|
import { n as useAdapter, t as FormAdapterProvider } from "./adapter-context-h0jCVqGO.mjs";
|
|
59
59
|
import { InputWithAddons } from "./input-with-addons/index.mjs";
|
|
@@ -69,7 +69,7 @@ import { t as PageTitle } from "./page-title-Wj1lF0BP.mjs";
|
|
|
69
69
|
import { n as useRichTextEditor, r as RichTextContent, t as RichTextEditor } from "./rich-text-editor-B3i5csUE.mjs";
|
|
70
70
|
import { t as defineStepper } from "./stepper-DV9FH5Cy.mjs";
|
|
71
71
|
import { t as TagsInput } from "./tag-input-DZJUc1hL.mjs";
|
|
72
|
-
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "./task-queue-dropdown-
|
|
72
|
+
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "./task-queue-dropdown-CGLFsgM1.mjs";
|
|
73
73
|
import { C as utcToLocalInputString, S as utcStringToZonedDate, _ as getBrowserTimezone, a as TimeRangePicker, b as getTimezoneOffset, c as getPresetByKey, d as TimezoneSelector, f as QuickRangesPanel, g as formatUtcForDisplay, h as formatTimezoneLabel, i as formatTimeRangeDisplay, l as getPresetByShortcut, m as createTimezoneOption, n as formatDateForInput, o as DEFAULT_PRESETS, p as CustomRangePanel, r as formatSingleTimeDisplay, s as getDefaultPreset, t as toApiTimeRange, u as getPresetRange, v as getDefaultTimezoneOptions, w as zonedDateToUtcString, x as localInputStringToUtc, y as getShortTimezoneDisplay } from "./to-api-format-tidT5mxa.mjs";
|
|
74
74
|
import { t as useDebounce } from "./hooks-CwZ6hyI1.mjs";
|
|
75
75
|
import { n as toUTCTimestampStartOfDay, t as toUTCTimestampEndOfDay } from "./utils-BAytYO8b.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "../task-queue-dropdown-
|
|
1
|
+
import { _ as RedisTaskStorage, a as TaskPanelItem, b as createProjectMetadata, c as TaskPanelHeader, d as useCurrentScope, f as useTasksWithLabels, g as detectStorage, h as TaskQueue, i as TaskPanel, l as getContextLabel, m as TaskQueueProvider, n as TaskSummaryDialog, o as TaskPanelCounter, p as useTaskQueue, r as TaskQueueTrigger, s as TaskPanelActions, t as TaskQueueDropdown, u as matchesCurrentScope, v as LocalTaskStorage, x as createUserMetadata, y as createOrgMetadata } from "../task-queue-dropdown-CGLFsgM1.mjs";
|
|
2
2
|
export { LocalTaskStorage, RedisTaskStorage, TaskPanel, TaskPanelActions, TaskPanelCounter, TaskPanelHeader, TaskPanelItem, TaskQueue, TaskQueueDropdown, TaskQueueProvider, TaskQueueTrigger, TaskSummaryDialog, createOrgMetadata, createProjectMetadata, createUserMetadata, detectStorage, getContextLabel, matchesCurrentScope, useCurrentScope, useTaskQueue, useTasksWithLabels };
|
|
@@ -3,7 +3,7 @@ import { t as Badge } from "./badge-DO2_XsXD.mjs";
|
|
|
3
3
|
import { t as SpinnerIcon } from "./spinner.icon-DSvVwPjx.mjs";
|
|
4
4
|
import { t as Button } from "./button-B_N7A8gv.mjs";
|
|
5
5
|
import { t as Icon } from "./icon-wrapper-DKfJlJd0.mjs";
|
|
6
|
-
import { t as Dialog } from "./dialog-
|
|
6
|
+
import { t as Dialog } from "./dialog-ZmYSe4-x.mjs";
|
|
7
7
|
import { t as ResponsiveDropdown } from "./responsive-dropdown-BhvBzT_1.mjs";
|
|
8
8
|
import { a as TooltipTrigger, n as Tooltip, r as TooltipContent, t as Tooltip$1 } from "./tooltip-BqrOCH8l.mjs";
|
|
9
9
|
import { c as TableRow, i as TableCell, n as TableBody, o as TableHead, s as TableHeader, t as Table } from "./table-BR3mwU8X.mjs";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datum-cloud/datum-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/datum-cloud/datum-ui"
|
|
@@ -403,8 +403,8 @@
|
|
|
403
403
|
"dist"
|
|
404
404
|
],
|
|
405
405
|
"peerDependencies": {
|
|
406
|
-
"@conform-to/react": ">=1",
|
|
407
|
-
"@conform-to/zod": ">=1",
|
|
406
|
+
"@conform-to/react": ">=1.19.4",
|
|
407
|
+
"@conform-to/zod": ">=1.19.4",
|
|
408
408
|
"@dnd-kit/core": ">=6",
|
|
409
409
|
"@dnd-kit/sortable": ">=8",
|
|
410
410
|
"@hookform/resolvers": ">=5.2.2",
|
|
@@ -631,8 +631,8 @@
|
|
|
631
631
|
"typescript": "^6.0.3",
|
|
632
632
|
"vitest": "^4.1.9",
|
|
633
633
|
"zod": "^4.4.3",
|
|
634
|
-
"@repo/
|
|
635
|
-
"@repo/
|
|
634
|
+
"@repo/shadcn": "0.0.0",
|
|
635
|
+
"@repo/config": "0.0.0"
|
|
636
636
|
},
|
|
637
637
|
"publishConfig": {
|
|
638
638
|
"access": "public"
|