@godxjp/ui 13.6.0 → 13.8.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/dist/app/index.js +4 -4
- package/dist/{checkbox-DAIwpMHO.d.ts → checkbox-BpnDa6_M.d.ts} +1 -1
- package/dist/{chunk-2JW2QLUU.js → chunk-2MRAHKOD.js} +3 -3
- package/dist/{chunk-6MZMMMHV.js → chunk-3VFNWVR7.js} +5 -5
- package/dist/{chunk-IRPZJKLU.js → chunk-4FGE5XVC.js} +10 -0
- package/dist/{chunk-J254ZX3A.js → chunk-4SSJ54R2.js} +4 -4
- package/dist/{chunk-C7W5BO7R.js → chunk-5732TWQF.js} +22 -1
- package/dist/chunk-57VDEN64.js +881 -0
- package/dist/{chunk-UKTVFPRV.js → chunk-65RWSIZF.js} +4 -4
- package/dist/{chunk-5XFFEW2P.js → chunk-A3J2G2ZA.js} +2 -2
- package/dist/{chunk-QTEPKNQE.js → chunk-B6S6LTWT.js} +1 -1
- package/dist/{chunk-PKSHDFKP.js → chunk-BJTNKNMY.js} +36 -10
- package/dist/{chunk-W2RYT6NT.js → chunk-D4JX6O2W.js} +3 -3
- package/dist/{chunk-KNI7QI4J.js → chunk-FLY23H4G.js} +2 -2
- package/dist/{chunk-ZYJRZLMZ.js → chunk-HIEGUYPP.js} +1 -1
- package/dist/{chunk-UVGI2RPC.js → chunk-HRW7JDUJ.js} +4 -4
- package/dist/{chunk-UDMFKYZG.js → chunk-I5D4QYZI.js} +3 -3
- package/dist/{chunk-76S3TQFH.js → chunk-IAJOP2Z3.js} +31 -13
- package/dist/{chunk-LFO5BJ4H.js → chunk-ION2KFXK.js} +2 -2
- package/dist/{chunk-6AIYMYSG.js → chunk-K24AQV4R.js} +1 -1
- package/dist/{chunk-6VUW6EKH.js → chunk-L6NMIUKC.js} +2 -2
- package/dist/{chunk-RBXVCWXL.js → chunk-LVLPNKJP.js} +2 -2
- package/dist/{chunk-HS73G2C3.js → chunk-NU2SOVTU.js} +9 -3
- package/dist/{chunk-B7R7DHZF.js → chunk-NZBAFFWP.js} +1 -1
- package/dist/{chunk-LTKHPOE3.js → chunk-PL4NEIVO.js} +1 -1
- package/dist/{chunk-ZOMIELKI.js → chunk-Q3KUZG4P.js} +1 -1
- package/dist/{chunk-DVV6UYVS.js → chunk-QE4IYHJU.js} +3 -3
- package/dist/{chunk-3JQDPNTA.js → chunk-R2TXLS7S.js} +1 -1
- package/dist/{chunk-2FJ5TMQU.js → chunk-X6AJ5HEI.js} +1 -1
- package/dist/{chunk-XZH3URGD.js → chunk-XBFUROAY.js} +6 -3
- package/dist/{chunk-I472SSN2.js → chunk-YLRCDJMR.js} +1 -1
- package/dist/chunk-YXVJFYQE.js +191 -0
- package/dist/components/admin/index.d.ts +2 -2
- package/dist/components/admin/index.js +23 -23
- package/dist/components/data-display/badge.js +3 -3
- package/dist/components/data-display/card.d.ts +2 -2
- package/dist/components/data-display/carousel.js +3 -3
- package/dist/components/data-display/index.js +7 -7
- package/dist/components/data-entry/calendar.d.ts +1 -1
- package/dist/components/data-entry/calendar.js +4 -4
- package/dist/components/data-entry/cascader.d.ts +1 -1
- package/dist/components/data-entry/cascader.js +4 -4
- package/dist/components/data-entry/checkbox.d.ts +2 -2
- package/dist/components/data-entry/color-picker.d.ts +1 -1
- package/dist/components/data-entry/color-picker.js +4 -4
- package/dist/components/data-entry/date-picker.d.ts +1 -1
- package/dist/components/data-entry/date-picker.js +6 -6
- package/dist/components/data-entry/date-range-picker.d.ts +6 -4
- package/dist/components/data-entry/date-range-picker.js +5 -6
- package/dist/components/data-entry/index.d.ts +24 -6
- package/dist/components/data-entry/index.js +21 -21
- package/dist/components/data-entry/input.js +3 -3
- package/dist/components/data-entry/radio.d.ts +1 -1
- package/dist/components/data-entry/select.d.ts +1 -1
- package/dist/components/data-entry/select.js +5 -5
- package/dist/components/data-entry/slider.d.ts +1 -1
- package/dist/components/data-entry/switch.d.ts +1 -1
- package/dist/components/data-entry/textarea.js +3 -3
- package/dist/components/data-entry/time-input.js +2 -2
- package/dist/components/data-entry/time-picker.d.ts +1 -1
- package/dist/components/data-entry/time-picker.js +5 -5
- package/dist/components/data-entry/transfer.d.ts +2 -2
- package/dist/components/data-entry/transfer.js +6 -6
- package/dist/components/data-entry/tree-select.d.ts +1 -1
- package/dist/components/data-entry/tree-select.js +4 -4
- package/dist/components/data-entry/upload.d.ts +2 -2
- package/dist/components/data-entry/upload.js +7 -7
- package/dist/components/data-grid/index.js +6 -6
- package/dist/components/feedback/alert.js +5 -5
- package/dist/components/feedback/dialog.js +5 -5
- package/dist/components/feedback/index.js +7 -7
- package/dist/components/general/button.d.ts +3 -1
- package/dist/components/general/button.js +3 -3
- package/dist/components/general/index.d.ts +1 -1
- package/dist/components/general/index.js +3 -3
- package/dist/components/layout/index.js +3 -3
- package/dist/components/navigation/index.js +9 -9
- package/dist/components/navigation/pagination.js +6 -6
- package/dist/components/navigation/steps.js +3 -3
- package/dist/components/query/index.d.ts +2 -2
- package/dist/components/query/index.js +5 -5
- package/dist/components/ui/index.d.ts +3 -3
- package/dist/components/ui/index.js +22 -22
- package/dist/{data-entry.prop-vn5VGnwY.d.ts → data-entry.prop-C9QWj5Kl.d.ts} +61 -2
- package/dist/form/index.js +1 -1
- package/dist/{general.prop-CzcLDzMw.d.ts → general.prop-CzlQin6v.d.ts} +11 -1
- package/dist/i18n/index.d.ts +6 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +31 -31
- package/dist/lib/datetime/index.js +1 -1
- package/dist/props/components/index.d.ts +3 -3
- package/dist/props/index.d.ts +3 -3
- package/dist/props/index.js +1 -1
- package/dist/props/registry.d.ts +10 -0
- package/dist/props/registry.js +1 -1
- package/dist/{query.prop-DAILZ0x5.d.ts → query.prop-CT2gFtr4.d.ts} +1 -1
- package/dist/{search-input-Oxwpv_s9.d.ts → search-input-d1g8eW9z.d.ts} +1 -1
- package/dist/styles/form-layout.css +5 -5
- package/dist/styles/layout.css +2 -2
- package/dist/tokens/base.css +1 -0
- package/dist/tokens/components/form.css +11 -0
- package/dist/tokens/semantic/layout.css +11 -0
- package/package.json +4 -2
- package/dist/chunk-GFDKJY63.js +0 -467
- package/dist/chunk-OIAT773P.js +0 -183
package/dist/app/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useAppContext } from '../chunk-
|
|
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-
|
|
3
|
-
import { formatDate } from '../chunk-
|
|
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-
|
|
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-
|
|
4
|
+
import { b as CheckboxGroupProp } from './data-entry.prop-C9QWj5Kl.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,6 +1,6 @@
|
|
|
1
|
-
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
3
|
-
import { useTranslation } from './chunk-
|
|
1
|
+
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from './chunk-BJTNKNMY.js';
|
|
2
|
+
import { Button } from './chunk-XBFUROAY.js';
|
|
3
|
+
import { useTranslation } from './chunk-B6S6LTWT.js';
|
|
4
4
|
import { cn } from './chunk-U7N2A7A3.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { MoreHorizontal, ChevronLeft, ChevronRight } from 'lucide-react';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Calendar } from './chunk-
|
|
2
|
-
import { Input } from './chunk-
|
|
3
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Calendar } from './chunk-NU2SOVTU.js';
|
|
2
|
+
import { Input } from './chunk-K24AQV4R.js';
|
|
3
|
+
import { Button } from './chunk-XBFUROAY.js';
|
|
4
4
|
import { Popover, PopoverAnchor, PopoverTrigger, PopoverContent } from './chunk-DY5C44UP.js';
|
|
5
|
-
import { useTranslation, usePickerLocales } from './chunk-
|
|
6
|
-
import { toIsoDate, parseDateInput } from './chunk-
|
|
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';
|
|
@@ -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",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { formatBytes } from './chunk-
|
|
2
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from './chunk-
|
|
1
|
+
import { formatBytes } from './chunk-X6AJ5HEI.js';
|
|
2
|
+
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogFooter } from './chunk-I5D4QYZI.js';
|
|
3
3
|
import { Slider } from './chunk-TBJBVEIP.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-XBFUROAY.js';
|
|
5
5
|
import { controlIconClass } from './chunk-B4K4BXEF.js';
|
|
6
|
-
import { useTranslation } from './chunk-
|
|
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';
|
|
@@ -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: {
|
|
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: {
|