eidos-ui 4.3.0 → 4.4.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/{chunk-YAZSZFLB.js → chunk-5IOT3QKC.js} +2 -2
- package/dist/{chunk-I36GOOCM.cjs → chunk-CDHNAASM.cjs} +11 -11
- package/dist/{chunk-I36GOOCM.cjs.map → chunk-CDHNAASM.cjs.map} +1 -1
- package/dist/{chunk-QVUMYDRE.js → chunk-EWCVMY7Q.js} +2 -2
- package/dist/{chunk-6Z42NMP4.cjs → chunk-HSXLSB5X.cjs} +3 -3
- package/dist/{chunk-6Z42NMP4.cjs.map → chunk-HSXLSB5X.cjs.map} +1 -1
- package/dist/{chunk-7OWJQHHM.cjs → chunk-L5EZWBUT.cjs} +12 -12
- package/dist/{chunk-7OWJQHHM.cjs.map → chunk-L5EZWBUT.cjs.map} +1 -1
- package/dist/{chunk-BMRZHFDP.js → chunk-RYAWIDL3.js} +82 -24
- package/dist/chunk-RYAWIDL3.js.map +1 -0
- package/dist/{chunk-KUP3CP24.js → chunk-YRE433X4.js} +2 -2
- package/dist/{chunk-QKCYXFET.cjs → chunk-Z5B7OTPL.cjs} +104 -46
- package/dist/chunk-Z5B7OTPL.cjs.map +1 -0
- package/dist/data-grid/index.cjs +4 -4
- package/dist/data-grid/index.js +3 -3
- package/dist/date-picker/index.cjs +2 -2
- package/dist/date-picker/index.d.cts +21 -2
- package/dist/date-picker/index.d.ts +21 -2
- package/dist/date-picker/index.js +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.css +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/table/index.cjs +4 -4
- package/dist/table/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-BMRZHFDP.js.map +0 -1
- package/dist/chunk-QKCYXFET.cjs.map +0 -1
- /package/dist/{chunk-YAZSZFLB.js.map → chunk-5IOT3QKC.js.map} +0 -0
- /package/dist/{chunk-QVUMYDRE.js.map → chunk-EWCVMY7Q.js.map} +0 -0
- /package/dist/{chunk-KUP3CP24.js.map → chunk-YRE433X4.js.map} +0 -0
package/dist/data-grid/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataGrid
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-YRE433X4.js";
|
|
4
|
+
import "../chunk-5IOT3QKC.js";
|
|
5
5
|
import "../chunk-BHZ76J2K.js";
|
|
6
6
|
import "../chunk-LPSRS5GI.js";
|
|
7
7
|
import "../chunk-GVLQQGI3.js";
|
|
8
8
|
import "../chunk-KGXGTWUL.js";
|
|
9
9
|
import "../chunk-6NZXWKUE.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-RYAWIDL3.js";
|
|
11
11
|
import "../chunk-5TRO6CYR.js";
|
|
12
12
|
import "../chunk-DI2VKKLW.js";
|
|
13
13
|
import "../chunk-DGXHR6FV.js";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkZ5B7OTPLcjs = require('../chunk-Z5B7OTPL.cjs');
|
|
6
6
|
require('../chunk-VY7DTPO3.cjs');
|
|
7
7
|
require('../chunk-KF2OGUAD.cjs');
|
|
8
8
|
require('../chunk-CPRNLW4M.cjs');
|
|
@@ -18,5 +18,5 @@ require('../chunk-DZUJEN5N.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
exports.Calendar =
|
|
21
|
+
exports.Calendar = _chunkZ5B7OTPLcjs.Calendar; exports.DatePicker = _chunkZ5B7OTPLcjs.DatePicker; exports.TimeInput = _chunkZ5B7OTPLcjs.TimeInput;
|
|
22
22
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -43,6 +43,16 @@ interface DateFormatConfig {
|
|
|
43
43
|
timezone?: string;
|
|
44
44
|
}
|
|
45
45
|
type DateGranularity = 'day' | 'month';
|
|
46
|
+
interface DatePickerPreset<T extends DateSelectionMode = 'single'> {
|
|
47
|
+
/** Stable identity - React key and active-state lookup. */
|
|
48
|
+
id: string;
|
|
49
|
+
label: string;
|
|
50
|
+
/**
|
|
51
|
+
* The value to apply, computed at click time so relative ranges
|
|
52
|
+
* ("this year") are evaluated when used rather than when declared.
|
|
53
|
+
*/
|
|
54
|
+
getValue: () => DateTimeValue<T>['date'];
|
|
55
|
+
}
|
|
46
56
|
interface DatePickerProps<T extends DateSelectionMode = 'single'> {
|
|
47
57
|
mode: T;
|
|
48
58
|
value?: DateTimeValue<T>;
|
|
@@ -62,6 +72,15 @@ interface DatePickerProps<T extends DateSelectionMode = 'single'> {
|
|
|
62
72
|
* closes the panel exactly as before.
|
|
63
73
|
*/
|
|
64
74
|
showActions?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Quick-range shortcuts rendered as a group inside the picker panel.
|
|
77
|
+
* Clicking one applies its `getValue()` result like a selection: it
|
|
78
|
+
* commits and closes the panel immediately, or - with `showActions` -
|
|
79
|
+
* updates the pending selection so Apply still commits it. A preset
|
|
80
|
+
* shows as active while the current value matches its computed value
|
|
81
|
+
* at the picker's `granularity`. Absent or empty renders nothing.
|
|
82
|
+
*/
|
|
83
|
+
presets?: DatePickerPreset<T>[];
|
|
65
84
|
time?: TimeConfig;
|
|
66
85
|
calendar?: CalendarConfig;
|
|
67
86
|
format?: DateFormatConfig;
|
|
@@ -112,7 +131,7 @@ interface CalendarProps {
|
|
|
112
131
|
}
|
|
113
132
|
|
|
114
133
|
declare const DatePicker: {
|
|
115
|
-
<T extends DateSelectionMode = "single">({ mode, value, onChange, granularity, showActions, time, calendar, format, label, placeholder, disabled, required, name, id, inputProps, minDate, maxDate, disabledDates, disabledDaysOfWeek, className, fullWidth, minWidth, maxWidth, minHeight, maxHeight, autoWidth, }: DatePickerProps<T>): React__default.JSX.Element;
|
|
134
|
+
<T extends DateSelectionMode = "single">({ mode, value, onChange, granularity, showActions, presets, time, calendar, format, label, placeholder, disabled, required, name, id, inputProps, minDate, maxDate, disabledDates, disabledDaysOfWeek, className, fullWidth, minWidth, maxWidth, minHeight, maxHeight, autoWidth, }: DatePickerProps<T>): React__default.JSX.Element;
|
|
116
135
|
displayName: string;
|
|
117
136
|
};
|
|
118
137
|
|
|
@@ -127,4 +146,4 @@ interface TimeInputProps {
|
|
|
127
146
|
}
|
|
128
147
|
declare const TimeInput: React__default.FC<TimeInputProps>;
|
|
129
148
|
|
|
130
|
-
export { Calendar, type CalendarConfig, type CalendarProps, type DateFormatConfig, type DateGranularity, DatePicker, type DatePickerProps, type DateSelectionMode, type DateTimeValue, type MultipleDateValue, type RangeDateValue, type RangeTimeValue, type SingleDateValue, type TimeConfig, TimeInput, type TimeValue };
|
|
149
|
+
export { Calendar, type CalendarConfig, type CalendarProps, type DateFormatConfig, type DateGranularity, DatePicker, type DatePickerPreset, type DatePickerProps, type DateSelectionMode, type DateTimeValue, type MultipleDateValue, type RangeDateValue, type RangeTimeValue, type SingleDateValue, type TimeConfig, TimeInput, type TimeValue };
|
|
@@ -43,6 +43,16 @@ interface DateFormatConfig {
|
|
|
43
43
|
timezone?: string;
|
|
44
44
|
}
|
|
45
45
|
type DateGranularity = 'day' | 'month';
|
|
46
|
+
interface DatePickerPreset<T extends DateSelectionMode = 'single'> {
|
|
47
|
+
/** Stable identity - React key and active-state lookup. */
|
|
48
|
+
id: string;
|
|
49
|
+
label: string;
|
|
50
|
+
/**
|
|
51
|
+
* The value to apply, computed at click time so relative ranges
|
|
52
|
+
* ("this year") are evaluated when used rather than when declared.
|
|
53
|
+
*/
|
|
54
|
+
getValue: () => DateTimeValue<T>['date'];
|
|
55
|
+
}
|
|
46
56
|
interface DatePickerProps<T extends DateSelectionMode = 'single'> {
|
|
47
57
|
mode: T;
|
|
48
58
|
value?: DateTimeValue<T>;
|
|
@@ -62,6 +72,15 @@ interface DatePickerProps<T extends DateSelectionMode = 'single'> {
|
|
|
62
72
|
* closes the panel exactly as before.
|
|
63
73
|
*/
|
|
64
74
|
showActions?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Quick-range shortcuts rendered as a group inside the picker panel.
|
|
77
|
+
* Clicking one applies its `getValue()` result like a selection: it
|
|
78
|
+
* commits and closes the panel immediately, or - with `showActions` -
|
|
79
|
+
* updates the pending selection so Apply still commits it. A preset
|
|
80
|
+
* shows as active while the current value matches its computed value
|
|
81
|
+
* at the picker's `granularity`. Absent or empty renders nothing.
|
|
82
|
+
*/
|
|
83
|
+
presets?: DatePickerPreset<T>[];
|
|
65
84
|
time?: TimeConfig;
|
|
66
85
|
calendar?: CalendarConfig;
|
|
67
86
|
format?: DateFormatConfig;
|
|
@@ -112,7 +131,7 @@ interface CalendarProps {
|
|
|
112
131
|
}
|
|
113
132
|
|
|
114
133
|
declare const DatePicker: {
|
|
115
|
-
<T extends DateSelectionMode = "single">({ mode, value, onChange, granularity, showActions, time, calendar, format, label, placeholder, disabled, required, name, id, inputProps, minDate, maxDate, disabledDates, disabledDaysOfWeek, className, fullWidth, minWidth, maxWidth, minHeight, maxHeight, autoWidth, }: DatePickerProps<T>): React__default.JSX.Element;
|
|
134
|
+
<T extends DateSelectionMode = "single">({ mode, value, onChange, granularity, showActions, presets, time, calendar, format, label, placeholder, disabled, required, name, id, inputProps, minDate, maxDate, disabledDates, disabledDaysOfWeek, className, fullWidth, minWidth, maxWidth, minHeight, maxHeight, autoWidth, }: DatePickerProps<T>): React__default.JSX.Element;
|
|
116
135
|
displayName: string;
|
|
117
136
|
};
|
|
118
137
|
|
|
@@ -127,4 +146,4 @@ interface TimeInputProps {
|
|
|
127
146
|
}
|
|
128
147
|
declare const TimeInput: React__default.FC<TimeInputProps>;
|
|
129
148
|
|
|
130
|
-
export { Calendar, type CalendarConfig, type CalendarProps, type DateFormatConfig, type DateGranularity, DatePicker, type DatePickerProps, type DateSelectionMode, type DateTimeValue, type MultipleDateValue, type RangeDateValue, type RangeTimeValue, type SingleDateValue, type TimeConfig, TimeInput, type TimeValue };
|
|
149
|
+
export { Calendar, type CalendarConfig, type CalendarProps, type DateFormatConfig, type DateGranularity, DatePicker, type DatePickerPreset, type DatePickerProps, type DateSelectionMode, type DateTimeValue, type MultipleDateValue, type RangeDateValue, type RangeTimeValue, type SingleDateValue, type TimeConfig, TimeInput, type TimeValue };
|
package/dist/index.cjs
CHANGED
|
@@ -12,7 +12,7 @@ var _chunkRUDXHT76cjs = require('./chunk-RUDXHT76.cjs');
|
|
|
12
12
|
var _chunkHFZ5FKRGcjs = require('./chunk-HFZ5FKRG.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkCDHNAASMcjs = require('./chunk-CDHNAASM.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -94,10 +94,10 @@ var _chunkAFGC62ALcjs = require('./chunk-AFGC62AL.cjs');
|
|
|
94
94
|
var _chunkK73JO4FKcjs = require('./chunk-K73JO4FK.cjs');
|
|
95
95
|
|
|
96
96
|
|
|
97
|
-
var
|
|
97
|
+
var _chunkL5EZWBUTcjs = require('./chunk-L5EZWBUT.cjs');
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
var
|
|
100
|
+
var _chunkHSXLSB5Xcjs = require('./chunk-HSXLSB5X.cjs');
|
|
101
101
|
|
|
102
102
|
|
|
103
103
|
var _chunkE7BFBU6Kcjs = require('./chunk-E7BFBU6K.cjs');
|
|
@@ -113,7 +113,7 @@ require('./chunk-I44YNYI6.cjs');
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
var
|
|
116
|
+
var _chunkZ5B7OTPLcjs = require('./chunk-Z5B7OTPL.cjs');
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
var _chunkVY7DTPO3cjs = require('./chunk-VY7DTPO3.cjs');
|
|
@@ -318,5 +318,5 @@ require('./chunk-DZUJEN5N.cjs');
|
|
|
318
318
|
|
|
319
319
|
|
|
320
320
|
|
|
321
|
-
exports.Accordion = _chunkEAJGSXEWcjs.Accordion; exports.AccordionItem = _chunkEAJGSXEWcjs.AccordionItem; exports.Alert = _chunkYWXS4IPHcjs.Alert; exports.Avatar = _chunkQ3GNKF74cjs.Avatar; exports.AvatarGroup = _chunkQ3GNKF74cjs.AvatarGroup; exports.Badge = _chunk3ETWFS2Ncjs.Badge; exports.Breadcrumb = _chunkGP6EEZH5cjs.Breadcrumb; exports.Button = _chunkNSA7ASZ7cjs.Button; exports.ButtonGroup = _chunk2ROKOO22cjs.ButtonGroup; exports.Calendar =
|
|
321
|
+
exports.Accordion = _chunkEAJGSXEWcjs.Accordion; exports.AccordionItem = _chunkEAJGSXEWcjs.AccordionItem; exports.Alert = _chunkYWXS4IPHcjs.Alert; exports.Avatar = _chunkQ3GNKF74cjs.Avatar; exports.AvatarGroup = _chunkQ3GNKF74cjs.AvatarGroup; exports.Badge = _chunk3ETWFS2Ncjs.Badge; exports.Breadcrumb = _chunkGP6EEZH5cjs.Breadcrumb; exports.Button = _chunkNSA7ASZ7cjs.Button; exports.ButtonGroup = _chunk2ROKOO22cjs.ButtonGroup; exports.Calendar = _chunkZ5B7OTPLcjs.Calendar; exports.Card = _chunkV5RS3JZNcjs.Card; exports.Chat = _chunkU4MV7P4Acjs.Chat; exports.Checkbox = _chunkYJNQLH2Lcjs.Checkbox; exports.Chip = _chunkTFCOF5FCcjs.Chip; exports.ColorPicker = _chunk5YTPZN6Xcjs.ColorPicker; exports.Combobox = _chunkEM4WYYFNcjs.Combobox; exports.CommandPalette = _chunkFJSK2RT7cjs.CommandPalette; exports.CommentThread = _chunkU4MV7P4Acjs.CommentThread; exports.ContextMenu = _chunkEJS22Y4Bcjs.ContextMenu; exports.DataGrid = _chunkL5EZWBUTcjs.DataGrid; exports.DatePicker = _chunkZ5B7OTPLcjs.DatePicker; exports.Divider = _chunk366R4GKRcjs.Divider; exports.Drawer = _chunkZ6FZ7GI5cjs.Drawer; exports.Dropdown = _chunkCPRNLW4Mcjs.Dropdown; exports.DropdownProvider = _chunkCPRNLW4Mcjs.DropdownProvider; exports.EmptyState = _chunkKV3V2CPHcjs.EmptyState; exports.FONT_ACCEPT = _chunkO45W57Y4cjs.FONT_ACCEPT; exports.FileUpload = _chunkXRVRGRC3cjs.FileUpload; exports.Footer = _chunkPTBBY4ZXcjs.Footer; exports.Header = _chunkZVA5KJAJcjs.Header; exports.IconButton = _chunkNSA7ASZ7cjs.IconButton; exports.IdentityHeader = _chunkZVA5KJAJcjs.IdentityHeader; exports.InlineEdit = _chunkLLHR6QW3cjs.InlineEdit; exports.Input = _chunkKF2OGUADcjs.Input; exports.Kbd = _chunkKVIL4EP4cjs.Kbd; exports.LinkProvider = _chunkXZILHRKGcjs.LinkProvider; exports.Menu = _chunkUSGEUG2Ocjs.Menu; exports.MenuPanel = _chunkUSGEUG2Ocjs.MenuPanel; exports.MessageComposer = _chunkU4MV7P4Acjs.MessageComposer; exports.Modal = _chunkAFGC62ALcjs.Modal; exports.Navigation = _chunkK73JO4FKcjs.Navigation; exports.NumberInput = _chunkXR72A66Qcjs.NumberInput; exports.OTPInput = _chunkVHO6JPRRcjs.OTPInput; exports.PageLayout = _chunkSHGRJX7Bcjs.PageLayout; exports.Pagination = _chunkEAUTJAKVcjs.Pagination; exports.Pill = _chunkEQ6BNPTLcjs.Pill; exports.Popover = _chunkVCG647BYcjs.Popover; exports.Progress = _chunkV2S6XWIQcjs.Progress; exports.Radio = _chunkKPMIIGHHcjs.Radio; exports.RadioGroup = _chunkKPMIIGHHcjs.RadioGroup; exports.SegmentedControl = _chunkE7BFBU6Kcjs.SegmentedControl; exports.Select = _chunkVY7DTPO3cjs.Select; exports.Skeleton = _chunkIGFR5TEScjs.Skeleton; exports.Slider = _chunkOZZHOEN5cjs.Slider; exports.SnackbarContainer = _chunk6ZFXIYH7cjs.SnackbarContainer; exports.SnackbarProvider = _chunk6ZFXIYH7cjs.SnackbarProvider; exports.Spinner = _chunkTROYIUDHcjs.Spinner; exports.SplitButton = _chunkS3IZPWYPcjs.SplitButton; exports.SplitChip = _chunkNLTNIQG7cjs.SplitChip; exports.Stepper = _chunkHFZ5FKRGcjs.Stepper; exports.Switch = _chunkIXZMKIV5cjs.Switch; exports.Tab = _chunk2URFSWJTcjs.Tab; exports.TabPanel = _chunk2URFSWJTcjs.TabPanel; exports.Table = _chunkCDHNAASMcjs.Table; exports.TableFiltersDropdown = _chunkHSXLSB5Xcjs.TableFiltersDropdown; exports.Tabs = _chunk2URFSWJTcjs.Tabs; exports.TagInput = _chunkTTFZKWPHcjs.TagInput; exports.Textarea = _chunkOC2OBBGMcjs.Textarea; exports.ThemeEditor = _chunkU4B6C7OPcjs.ThemeEditor; exports.ThemeProvider = _chunkO45W57Y4cjs.ThemeProvider; exports.TimeInput = _chunkZ5B7OTPLcjs.TimeInput; exports.Timeline = _chunkVYF7WV4Kcjs.Timeline; exports.Toolbar = _chunkNNNMXVHIcjs.Toolbar; exports.Tooltip = _chunkRZMQCVAScjs.Tooltip; exports.TreeView = _chunkXKQMEVODcjs.TreeView; exports.VirtualList = _chunkRUDXHT76cjs.VirtualList; exports.defaultTheme = _chunkO45W57Y4cjs.defaultTheme; exports.familyNameFromFile = _chunkO45W57Y4cjs.familyNameFromFile; exports.isFontAvailable = _chunkO45W57Y4cjs.isFontAvailable; exports.isFontStackAvailable = _chunkO45W57Y4cjs.isFontStackAvailable; exports.registerFontFace = _chunkO45W57Y4cjs.registerFontFace; exports.registerFontFile = _chunkO45W57Y4cjs.registerFontFile; exports.registerIcons = _chunkCJT7L764cjs.registerIcons; exports.renderIcon = _chunkR5WI5IGRcjs.renderIcon; exports.toFontStack = _chunkO45W57Y4cjs.toFontStack; exports.useDropdownContext = _chunkCPRNLW4Mcjs.useDropdownContext; exports.useLinkComponent = _chunk75Q5OS7Lcjs.useLinkComponent; exports.useSnackbar = _chunk6ZFXIYH7cjs.useSnackbar; exports.useSnackbarContext = _chunk6ZFXIYH7cjs.useSnackbarContext; exports.useTheme = _chunkO45W57Y4cjs.useTheme;
|
|
322
322
|
//# sourceMappingURL=index.cjs.map
|