@godxjp/ui 13.7.0 → 13.9.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.
Files changed (122) hide show
  1. package/dist/app/index.js +4 -4
  2. package/dist/{checkbox-ChJ2PyIz.d.ts → checkbox-bBfLARyF.d.ts} +1 -1
  3. package/dist/{chunk-CSTUENE6.js → chunk-2JOJYHG2.js} +4 -4
  4. package/dist/{chunk-TNFAUPEV.js → chunk-3UTHNXKB.js} +4 -4
  5. package/dist/{chunk-IRPZJKLU.js → chunk-4FGE5XVC.js} +10 -0
  6. package/dist/{chunk-C7W5BO7R.js → chunk-5732TWQF.js} +22 -1
  7. package/dist/{chunk-IMERLXSC.js → chunk-5LTW2LWF.js} +6 -1
  8. package/dist/{chunk-SXECWZZV.js → chunk-6SZKFJYY.js} +8 -8
  9. package/dist/{chunk-QMGNMDQG.js → chunk-76YSDJDP.js} +5 -5
  10. package/dist/chunk-7PBKPDBJ.js +881 -0
  11. package/dist/{chunk-QTEPKNQE.js → chunk-B6S6LTWT.js} +1 -1
  12. package/dist/{chunk-GOJQHYED.js → chunk-DBVZ73ML.js} +9 -5
  13. package/dist/{chunk-I472SSN2.js → chunk-E3Z3XCQR.js} +4 -3
  14. package/dist/{chunk-ZYJRZLMZ.js → chunk-HIEGUYPP.js} +1 -1
  15. package/dist/{chunk-W3AS2GEC.js → chunk-HNL7CJFO.js} +5 -5
  16. package/dist/{chunk-76S3TQFH.js → chunk-IAJOP2Z3.js} +31 -13
  17. package/dist/{chunk-RBXVCWXL.js → chunk-IESBK6XZ.js} +2 -2
  18. package/dist/{chunk-LFO5BJ4H.js → chunk-ION2KFXK.js} +2 -2
  19. package/dist/{chunk-QPRBPE4S.js → chunk-IRBI2EZ2.js} +4 -4
  20. package/dist/{chunk-3KPEZ5CF.js → chunk-J2DEWIYY.js} +1 -1
  21. package/dist/{chunk-6AIYMYSG.js → chunk-K24AQV4R.js} +1 -1
  22. package/dist/{chunk-B23A5CPA.js → chunk-KZ7ZDNUN.js} +3 -3
  23. package/dist/{chunk-6EKAEN6T.js → chunk-MSRJC3RT.js} +3 -3
  24. package/dist/{chunk-O3F3KF2B.js → chunk-N2WBUCVY.js} +4 -4
  25. package/dist/{chunk-MUUO7SPN.js → chunk-NU2SOVTU.js} +9 -3
  26. package/dist/{chunk-B7R7DHZF.js → chunk-NZBAFFWP.js} +1 -1
  27. package/dist/{chunk-ZOMIELKI.js → chunk-Q3KUZG4P.js} +1 -1
  28. package/dist/{chunk-LTKHPOE3.js → chunk-QROC2RMH.js} +2 -2
  29. package/dist/{chunk-P5KPCT6R.js → chunk-QVBOICFU.js} +2 -0
  30. package/dist/{chunk-3JQDPNTA.js → chunk-R2TXLS7S.js} +1 -1
  31. package/dist/{chunk-JXGDDD46.js → chunk-TRBD4RXJ.js} +4 -4
  32. package/dist/{chunk-KW54IV4X.js → chunk-UT6DAJUL.js} +3 -3
  33. package/dist/{chunk-2FJ5TMQU.js → chunk-X6AJ5HEI.js} +1 -1
  34. package/dist/{chunk-5L77S5CL.js → chunk-XBFUROAY.js} +1 -1
  35. package/dist/chunk-YXVJFYQE.js +191 -0
  36. package/dist/components/admin/index.d.ts +4 -4
  37. package/dist/components/admin/index.js +30 -30
  38. package/dist/components/data-display/badge.js +3 -3
  39. package/dist/components/data-display/card.d.ts +6 -4
  40. package/dist/components/data-display/card.js +1 -1
  41. package/dist/components/data-display/carousel.js +3 -3
  42. package/dist/components/data-display/index.js +11 -11
  43. package/dist/components/data-display/scroll-area.js +1 -1
  44. package/dist/components/data-entry/calendar.d.ts +2 -2
  45. package/dist/components/data-entry/calendar.js +4 -4
  46. package/dist/components/data-entry/cascader.d.ts +2 -2
  47. package/dist/components/data-entry/cascader.js +5 -5
  48. package/dist/components/data-entry/checkbox.d.ts +3 -3
  49. package/dist/components/data-entry/color-picker.d.ts +2 -2
  50. package/dist/components/data-entry/color-picker.js +4 -4
  51. package/dist/components/data-entry/date-picker.d.ts +2 -2
  52. package/dist/components/data-entry/date-picker.js +6 -6
  53. package/dist/components/data-entry/date-range-picker.d.ts +7 -5
  54. package/dist/components/data-entry/date-range-picker.js +5 -6
  55. package/dist/components/data-entry/index.d.ts +25 -7
  56. package/dist/components/data-entry/index.js +25 -25
  57. package/dist/components/data-entry/input.js +3 -3
  58. package/dist/components/data-entry/radio.d.ts +2 -2
  59. package/dist/components/data-entry/select.d.ts +2 -2
  60. package/dist/components/data-entry/select.js +5 -5
  61. package/dist/components/data-entry/slider.d.ts +2 -2
  62. package/dist/components/data-entry/switch.d.ts +2 -2
  63. package/dist/components/data-entry/textarea.js +3 -3
  64. package/dist/components/data-entry/time-input.js +2 -2
  65. package/dist/components/data-entry/time-picker.d.ts +2 -2
  66. package/dist/components/data-entry/time-picker.js +5 -5
  67. package/dist/components/data-entry/transfer.d.ts +3 -3
  68. package/dist/components/data-entry/transfer.js +7 -7
  69. package/dist/components/data-entry/tree-select.d.ts +2 -2
  70. package/dist/components/data-entry/tree-select.js +6 -6
  71. package/dist/components/data-entry/upload.d.ts +3 -3
  72. package/dist/components/data-entry/upload.js +7 -7
  73. package/dist/components/data-grid/index.js +9 -9
  74. package/dist/components/feedback/alert.js +5 -5
  75. package/dist/components/feedback/dialog.js +5 -5
  76. package/dist/components/feedback/index.js +10 -10
  77. package/dist/components/feedback/sheet.d.ts +1 -1
  78. package/dist/components/feedback/sheet.js +1 -1
  79. package/dist/components/general/button.js +3 -3
  80. package/dist/components/general/index.js +3 -3
  81. package/dist/components/layout/index.d.ts +4 -4
  82. package/dist/components/layout/index.js +5 -5
  83. package/dist/components/navigation/index.js +9 -9
  84. package/dist/components/navigation/pagination.js +6 -6
  85. package/dist/components/navigation/steps.js +3 -3
  86. package/dist/components/query/index.js +5 -5
  87. package/dist/components/ui/index.d.ts +3 -3
  88. package/dist/components/ui/index.js +32 -32
  89. package/dist/{data-entry.prop-CyiZuEI8.d.ts → data-entry.prop-BSUaseKh.d.ts} +41 -3
  90. package/dist/{flex-X2EFU1d5.d.ts → flex-1Cy46L0M.d.ts} +1 -1
  91. package/dist/form/index.js +1 -1
  92. package/dist/i18n/index.d.ts +6 -0
  93. package/dist/i18n/index.js +2 -2
  94. package/dist/index.d.ts +4 -4
  95. package/dist/index.js +43 -43
  96. package/dist/{layout.prop-D2be7gOo.d.ts → layout.prop-fCz-Vlie.d.ts} +2 -0
  97. package/dist/lib/datetime/index.js +1 -1
  98. package/dist/props/components/index.d.ts +2 -2
  99. package/dist/props/index.d.ts +2 -2
  100. package/dist/props/index.js +1 -1
  101. package/dist/props/registry.d.ts +10 -0
  102. package/dist/props/registry.js +1 -1
  103. package/dist/{search-input--ui38eQV.d.ts → search-input-D4v1JGOA.d.ts} +1 -1
  104. package/dist/styles/alert-layout.css +2 -2
  105. package/dist/styles/card-layout.css +10 -10
  106. package/dist/styles/control.css +8 -8
  107. package/dist/styles/data-display-layout.css +7 -7
  108. package/dist/styles/data-entry-layout.css +2 -2
  109. package/dist/styles/dialog-layout.css +1 -1
  110. package/dist/styles/form-layout.css +5 -5
  111. package/dist/styles/index.css +1 -1
  112. package/dist/styles/layout.css +10 -10
  113. package/dist/styles/navigation-layout.css +5 -5
  114. package/dist/styles/shell-layout.css +10 -10
  115. package/dist/styles/table-layout.css +6 -6
  116. package/dist/tokens/base.css +1 -0
  117. package/dist/tokens/components/card.css +4 -0
  118. package/dist/tokens/components/form.css +11 -0
  119. package/dist/tokens/semantic/layout.css +11 -0
  120. package/package.json +5 -3
  121. package/dist/chunk-3ZNSR2NL.js +0 -467
  122. package/dist/chunk-G7A6SUIN.js +0 -183
package/dist/app/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { useAppContext } from '../chunk-QTEPKNQE.js';
2
- export { APP_LOCALES, APP_REQUEST_HEADER_LOCALE, APP_REQUEST_HEADER_TIMEZONE, APP_TIMEZONE_PRESET, APP_TIME_FORMAT_OPTIONS, AppProvider, DEFAULT_STORAGE_KEY, TIMEZONE_ALIASES, formatTimezoneDisplayLabel, getAllIanaTimezones, getAppRequestHeaders, getBrowserTimezone, getTimeFormatLabel, getTimezoneCityName, getTimezoneLabel, getTimezoneOffsetLabel, isValidIanaTimezone, readStoredPreferences, resetAppRequestHeaders, resetIanaTimezoneCacheForTests, resolveDefaultTimeFormat, resolveDefaultTimezone, resolveTimezoneForIntl, resolveTimezonePickerOptions, syncAppRequestHeaders, useAppContext, useAppDateFormat, useAppLocale, useAppTimeFormat, useAppTimezone, useOptionalAppContext, usePickerLocales, useTranslation, writeStoredPreferences } from '../chunk-QTEPKNQE.js';
3
- import { formatDate } from '../chunk-C7W5BO7R.js';
4
- export { APP_DATE_FORMATS, APP_DATE_FORMAT_OPTIONS, APP_LOCALE_CONFIG, APP_REQUEST_HEADER_DATE_FORMAT, APP_REQUEST_HEADER_TIME_FORMAT, APP_TIME_FORMATS, detectFormatDateKind, formatAppDate, formatAppDateLong, formatAppDateTime, formatAppRelative, formatAppTime, formatCalendarDate, formatDate, formatTimeOfDay, getDateFnsLocale, getDateFormatLabel, getDatePattern, getDateTimePattern, getDatetimeContext, getDayPickerLocale, getTimePattern, isAppDateFormat, isAppLocale, isAppTimeFormat, isFormatDateValue, isValidHhmm, normalizeHhmm, parseDateInput, resolveDefaultDateFormat, syncDatetimeContext } from '../chunk-C7W5BO7R.js';
1
+ import { useAppContext } from '../chunk-B6S6LTWT.js';
2
+ export { APP_LOCALES, APP_REQUEST_HEADER_LOCALE, APP_REQUEST_HEADER_TIMEZONE, APP_TIMEZONE_PRESET, APP_TIME_FORMAT_OPTIONS, AppProvider, DEFAULT_STORAGE_KEY, TIMEZONE_ALIASES, formatTimezoneDisplayLabel, getAllIanaTimezones, getAppRequestHeaders, getBrowserTimezone, getTimeFormatLabel, getTimezoneCityName, getTimezoneLabel, getTimezoneOffsetLabel, isValidIanaTimezone, readStoredPreferences, resetAppRequestHeaders, resetIanaTimezoneCacheForTests, resolveDefaultTimeFormat, resolveDefaultTimezone, resolveTimezoneForIntl, resolveTimezonePickerOptions, syncAppRequestHeaders, useAppContext, useAppDateFormat, useAppLocale, useAppTimeFormat, useAppTimezone, useOptionalAppContext, usePickerLocales, useTranslation, writeStoredPreferences } from '../chunk-B6S6LTWT.js';
3
+ import { formatDate } from '../chunk-5732TWQF.js';
4
+ export { APP_DATE_FORMATS, APP_DATE_FORMAT_OPTIONS, APP_LOCALE_CONFIG, APP_REQUEST_HEADER_DATE_FORMAT, APP_REQUEST_HEADER_TIME_FORMAT, APP_TIME_FORMATS, detectFormatDateKind, formatAppDate, formatAppDateLong, formatAppDateTime, formatAppRelative, formatAppTime, formatCalendarDate, formatDate, formatTimeOfDay, getDateFnsLocale, getDateFormatLabel, getDatePattern, getDateTimePattern, getDatetimeContext, getDayPickerLocale, getTimePattern, isAppDateFormat, isAppLocale, isAppTimeFormat, isFormatDateValue, isValidHhmm, normalizeHhmm, parseDateInput, resolveDefaultDateFormat, syncDatetimeContext } from '../chunk-5732TWQF.js';
5
5
  import { useMemo } from 'react';
6
6
 
7
7
  function useFormatting() {
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import { b as CheckboxGroupProp } from './data-entry.prop-CyiZuEI8.js';
4
+ import { b as CheckboxGroupProp } from './data-entry.prop-BSUaseKh.js';
5
5
 
6
6
  declare function CheckboxGroup({ value: controlledValue, defaultValue, onValueChange, options, orientation, disabled, name, className, children, }: CheckboxGroupProp): react_jsx_runtime.JSX.Element;
7
7
 
@@ -1,8 +1,8 @@
1
- import { Input } from './chunk-6AIYMYSG.js';
1
+ import { Input } from './chunk-K24AQV4R.js';
2
2
  import { Popover, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
3
- import { Button } from './chunk-5L77S5CL.js';
4
- import { useTranslation, usePickerLocales } from './chunk-QTEPKNQE.js';
5
- import { normalizeHhmm, isValidHhmm } from './chunk-C7W5BO7R.js';
3
+ import { Button } from './chunk-XBFUROAY.js';
4
+ import { useTranslation, usePickerLocales } from './chunk-B6S6LTWT.js';
5
+ import { normalizeHhmm, isValidHhmm } from './chunk-5732TWQF.js';
6
6
  import { cn } from './chunk-U7N2A7A3.js';
7
7
  import * as React from 'react';
8
8
  import { X, Clock } from 'lucide-react';
@@ -1,7 +1,7 @@
1
- import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-GOJQHYED.js';
2
- import { Button } from './chunk-5L77S5CL.js';
3
- import { useOptionalAppContext, useTranslation, APP_TIME_FORMAT_OPTIONS, getTimeFormatLabel, resolveTimezonePickerOptions, getTimezoneLabel, APP_LOCALES } from './chunk-QTEPKNQE.js';
4
- import { APP_DATE_FORMAT_OPTIONS, getDateFormatLabel } from './chunk-C7W5BO7R.js';
1
+ import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-DBVZ73ML.js';
2
+ import { Button } from './chunk-XBFUROAY.js';
3
+ import { useOptionalAppContext, useTranslation, APP_TIME_FORMAT_OPTIONS, getTimeFormatLabel, resolveTimezonePickerOptions, getTimezoneLabel, APP_LOCALES } from './chunk-B6S6LTWT.js';
4
+ import { APP_DATE_FORMAT_OPTIONS, getDateFormatLabel } from './chunk-5732TWQF.js';
5
5
  import { cn } from './chunk-U7N2A7A3.js';
6
6
  import * as React from 'react';
7
7
  import { useId } from 'react';
@@ -570,6 +570,16 @@ var COMPONENT_PROP_REGISTRY = {
570
570
  file: "components/data-entry.prop.ts",
571
571
  vocabulary: ["ValueProp", "OnValueChangeProp", "PlaceholderProp", "DisabledProp", "IdProp"]
572
572
  },
573
+ MonthPickerProp: {
574
+ group: "data-entry",
575
+ file: "components/data-entry.prop.ts",
576
+ vocabulary: ["ValueProp", "OnValueChangeProp", "PlaceholderProp", "DisabledProp", "IdProp"]
577
+ },
578
+ MonthRangePickerProp: {
579
+ group: "data-entry",
580
+ file: "components/data-entry.prop.ts",
581
+ vocabulary: ["ValueProp", "OnValueChangeProp", "PlaceholderProp", "DisabledProp", "IdProp"]
582
+ },
573
583
  DateRangePickerProp: {
574
584
  group: "data-entry",
575
585
  file: "components/data-entry.prop.ts",
@@ -156,6 +156,12 @@ var en_default = {
156
156
  clear: "Clear selection",
157
157
  loading: "Loading\u2026",
158
158
  empty: "No results"
159
+ },
160
+ monthPicker: {
161
+ openGrid: "Open month grid",
162
+ previousYear: "Previous year",
163
+ nextYear: "Next year",
164
+ placeholder: "yyyy/mm"
159
165
  }
160
166
  },
161
167
  feedback: {
@@ -244,7 +250,10 @@ var en_default = {
244
250
  page: "Page {page}",
245
251
  pageSize: "Page size",
246
252
  pageSizeOption: "{size} / page",
247
- total: { one: "Total {total} item", other: "Total {total} items" }
253
+ total: {
254
+ one: "Total {total} item",
255
+ other: "Total {total} items"
256
+ }
248
257
  }
249
258
  },
250
259
  locale: {
@@ -428,6 +437,12 @@ var ja_default = {
428
437
  clear: "\u9078\u629E\u3092\u30AF\u30EA\u30A2",
429
438
  loading: "\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026",
430
439
  empty: "\u8A72\u5F53\u306A\u3057"
440
+ },
441
+ monthPicker: {
442
+ openGrid: "\u6708\u9078\u629E\u3092\u958B\u304F",
443
+ previousYear: "\u524D\u5E74\u3078",
444
+ nextYear: "\u7FCC\u5E74\u3078",
445
+ placeholder: "yyyy/mm"
431
446
  }
432
447
  },
433
448
  feedback: {
@@ -700,6 +715,12 @@ var vi_default = {
700
715
  clear: "X\xF3a l\u1EF1a ch\u1ECDn",
701
716
  loading: "\u0110ang t\u1EA3i\u2026",
702
717
  empty: "Kh\xF4ng c\xF3 k\u1EBFt qu\u1EA3"
718
+ },
719
+ monthPicker: {
720
+ openGrid: "M\u1EDF ch\u1ECDn th\xE1ng",
721
+ previousYear: "N\u0103m tr\u01B0\u1EDBc",
722
+ nextYear: "N\u0103m sau",
723
+ placeholder: "yyyy/mm"
703
724
  }
704
725
  },
705
726
  feedback: {
@@ -36,8 +36,13 @@ var sheetVariants = cva(
36
36
  "fixed z-50 flex flex-col gap-[var(--space-chrome-gap)] bg-background px-[var(--sheet-pad-x)] py-[var(--sheet-pad-y)] shadow-lg transition ease-in-out data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:animate-in data-[state=open]:duration-500",
37
37
  {
38
38
  variants: {
39
+ // `side` is a deliberately PHYSICAL API (left/right/top/bottom) — a sheet
40
+ // opens from the edge the consumer names, not a locale-flipped one, matching
41
+ // the Radix/shadcn Sheet convention. The physical classes below are intended.
39
42
  side: {
43
+ /* rtl-ignore: named physical side */
40
44
  right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-md",
45
+ /* rtl-ignore: named physical side */
41
46
  left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-md",
42
47
  top: "inset-x-0 top-0 h-auto border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
43
48
  bottom: "inset-x-0 bottom-0 h-auto border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom"
@@ -138,7 +143,7 @@ var SheetBody = ({ className, ...props }) => (
138
143
  var SheetFooter = ({ className, ...props }) => (
139
144
  // Pinned action bar (Ant Design Drawer footer): sticks to the bottom, full-bleed top border, actions
140
145
  // RIGHT-aligned (primary rightmost). A destructive / clear / reset action goes far-LEFT — give it
141
- // `className="mr-auto"`. See cardinal rule "Drawer & dialog footer layout".
146
+ // `className="me-auto"`. See cardinal rule "Drawer & dialog footer layout".
142
147
  // Owns its full vertical padding (symmetric 16/16) via `py-4`; `-mb-6` cancels SheetContent's
143
148
  // `p-6` bottom so the footer doesn't inherit an asymmetric 16-top / 24-bottom rhythm.
144
149
  /* @__PURE__ */ jsx(
@@ -1,9 +1,9 @@
1
- import { formatBytes } from './chunk-2FJ5TMQU.js';
2
- import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from './chunk-O3F3KF2B.js';
1
+ import { formatBytes } from './chunk-X6AJ5HEI.js';
2
+ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from './chunk-N2WBUCVY.js';
3
3
  import { Slider } from './chunk-TBJBVEIP.js';
4
- import { Button } from './chunk-5L77S5CL.js';
4
+ import { Button } from './chunk-XBFUROAY.js';
5
5
  import { controlIconClass } from './chunk-B4K4BXEF.js';
6
- import { useTranslation } from './chunk-QTEPKNQE.js';
6
+ import { useTranslation } from './chunk-B6S6LTWT.js';
7
7
  import { cn } from './chunk-U7N2A7A3.js';
8
8
  import * as React2 from 'react';
9
9
  import { Upload as Upload$1, ImagePlus, Camera, Trash2, RotateCcw, X } from 'lucide-react';
@@ -384,7 +384,7 @@ function Upload({
384
384
  hiddenInput,
385
385
  liveRegion,
386
386
  /* @__PURE__ */ jsxs(Button, { type: "button", variant: "outline", disabled, onClick: openPicker, children: [
387
- /* @__PURE__ */ jsx(Upload$1, { className: "mr-2 size-4", "aria-hidden": "true" }),
387
+ /* @__PURE__ */ jsx(Upload$1, { className: "me-2 size-4", "aria-hidden": "true" }),
388
388
  children ?? t("dataEntry.upload.buttonLabel")
389
389
  ] }),
390
390
  items.length > 0 && /* @__PURE__ */ jsx(UploadFileList, { items, onRemove: removable ? removeItem : void 0 })
@@ -431,7 +431,7 @@ function Upload({
431
431
  item2?.previewUrl && !item2.pendingDelete ? /* @__PURE__ */ jsxs("div", { className: "relative overflow-hidden rounded-md border", children: [
432
432
  /* @__PURE__ */ jsx("img", { src: item2.previewUrl, alt: "", className: "max-h-48 w-full object-cover" }),
433
433
  item2.status === "uploading" && /* @__PURE__ */ jsx("div", { className: "bg-background/70 absolute inset-0 flex items-center justify-center text-sm", children: t("dataEntry.upload.uploading") }),
434
- item2.pendingReplace && /* @__PURE__ */ jsx("div", { className: "bg-warning text-warning-foreground absolute top-2 left-2 rounded px-2 py-0.5 text-xs", children: t("dataEntry.upload.pendingReplace") })
434
+ item2.pendingReplace && /* @__PURE__ */ jsx("div", { className: "bg-warning text-warning-foreground absolute start-2 top-2 rounded px-2 py-0.5 text-xs", children: t("dataEntry.upload.pendingReplace") })
435
435
  ] }) : /* @__PURE__ */ jsxs(
436
436
  "button",
437
437
  {
@@ -497,7 +497,7 @@ function Upload({
497
497
  type: "button",
498
498
  disabled,
499
499
  onClick: () => draft.markRemove(),
500
- className: "bg-background hover:bg-destructive hover:text-destructive-foreground absolute -top-1 -right-1 rounded-full border p-1 shadow-sm",
500
+ className: "bg-background hover:bg-destructive hover:text-destructive-foreground absolute -end-1 -top-1 rounded-full border p-1 shadow-sm",
501
501
  "aria-label": t("dataEntry.upload.removeAvatar"),
502
502
  children: /* @__PURE__ */ jsx(Trash2, { className: "size-3.5", "aria-hidden": "true" })
503
503
  }
@@ -517,7 +517,7 @@ function UploadDraftActions({
517
517
  return /* @__PURE__ */ jsxs("div", { className: "border-destructive/40 bg-destructive/5 flex flex-wrap items-center gap-2 rounded-md border border-dashed px-3 py-2 text-sm", children: [
518
518
  /* @__PURE__ */ jsx("span", { className: "text-destructive", children: t("dataEntry.upload.markedForDelete") }),
519
519
  /* @__PURE__ */ jsxs(Button, { type: "button", size: "sm", variant: "outline", disabled, onClick: undoRemove, children: [
520
- /* @__PURE__ */ jsx(RotateCcw, { className: "mr-1 size-3.5", "aria-hidden": "true" }),
520
+ /* @__PURE__ */ jsx(RotateCcw, { className: "me-1 size-3.5", "aria-hidden": "true" }),
521
521
  t("dataEntry.upload.undo")
522
522
  ] })
523
523
  ] });
@@ -1,9 +1,9 @@
1
- import { Input } from './chunk-6AIYMYSG.js';
1
+ import { Input } from './chunk-K24AQV4R.js';
2
+ import { Calendar } from './chunk-NU2SOVTU.js';
2
3
  import { Popover, PopoverAnchor, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
3
- import { Calendar } from './chunk-MUUO7SPN.js';
4
- import { Button } from './chunk-5L77S5CL.js';
5
- import { useTranslation, usePickerLocales } from './chunk-QTEPKNQE.js';
6
- import { toIsoDate, parseDateInput } from './chunk-C7W5BO7R.js';
4
+ import { Button } from './chunk-XBFUROAY.js';
5
+ import { useTranslation, usePickerLocales } from './chunk-B6S6LTWT.js';
6
+ import { toIsoDate, parseDateInput } from './chunk-5732TWQF.js';
7
7
  import { cn } from './chunk-U7N2A7A3.js';
8
8
  import * as React from 'react';
9
9
  import { X, CalendarIcon } from 'lucide-react';