@up42/up-components 3.4.0 → 4.1.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/cjs/index.js +2 -2
- package/dist/cjs/types/components/FormDatePickers/FormDatePickerWrapper.d.ts +2 -2
- package/dist/cjs/types/components/FormDatePickers/FormDateRangePickerList/FormDateRangePickerList.d.ts +27 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/components/FormDatePickers/FormDatePickerWrapper.d.ts +2 -2
- package/dist/esm/types/components/FormDatePickers/FormDateRangePickerList/FormDateRangePickerList.d.ts +27 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +320 -5
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React, { PropsWithChildren } from 'react';
|
|
1
|
+
import React, { PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
export type DatePickerWrapperProps = {
|
|
3
3
|
error?: boolean;
|
|
4
|
-
label?: string;
|
|
4
|
+
label?: string | ReactNode;
|
|
5
5
|
helperText?: string;
|
|
6
6
|
};
|
|
7
7
|
export declare const FormDatePickerWrapper: ({ label, error, helperText, children, }: PropsWithChildren<DatePickerWrapperProps>) => React.JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DateRangePickerProps } from '@mui/x-date-pickers-pro/DateRangePicker';
|
|
3
|
+
import { type DatePickerWrapperProps } from '../FormDatePickerWrapper';
|
|
4
|
+
import { DatePickerDateType } from '../FormDatePicker/FormDatePicker';
|
|
5
|
+
export type DateRange = {
|
|
6
|
+
start: DatePickerDateType | Date;
|
|
7
|
+
end: DatePickerDateType | Date;
|
|
8
|
+
};
|
|
9
|
+
export type FormDateRangePickerListProps = {
|
|
10
|
+
startLabel?: string;
|
|
11
|
+
endLabel?: string;
|
|
12
|
+
value: DateRange[];
|
|
13
|
+
onChange?: (value: DateRange[]) => void;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Defines the minimum number of days after the "start date" that the "end date" can be selected.
|
|
17
|
+
*/
|
|
18
|
+
minEndDateOffset?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Defines the maximum number of days after the "start date" that the "end date" can be selected.
|
|
21
|
+
*/
|
|
22
|
+
maxEndDateOffset?: number;
|
|
23
|
+
} & DatePickerWrapperProps & Omit<DateRangePickerProps<DatePickerDateType | Date>, 'value'>;
|
|
24
|
+
/**
|
|
25
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form-formdaterangepickerlist--docs
|
|
26
|
+
*/
|
|
27
|
+
export declare const FormDateRangePickerList: ({ value, onChange, label, helperText, error, startLabel, endLabel, disabled, minEndDateOffset, maxEndDateOffset, ...props }: FormDateRangePickerListProps) => React.JSX.Element;
|
|
@@ -13,6 +13,7 @@ export { FormCheckbox, type FormCheckboxProps } from './components/FormCheckbox/
|
|
|
13
13
|
export { FormDatePicker, type FormDatePickerProps, type DatePickerDateType, } from './components/FormDatePickers/FormDatePicker/FormDatePicker';
|
|
14
14
|
export { FormDateRangePicker, type FormDateRangePickerProps, } from './components/FormDatePickers/FormDateRangePicker/FormDateRangePicker';
|
|
15
15
|
export { FormDateTimePicker, type FormDateTimePickerProps, } from './components/FormDatePickers/FormDateTimePicker/FormDateTimePicker';
|
|
16
|
+
export { FormDateRangePickerList, type FormDateRangePickerListProps, type DateRange, } from './components/FormDatePickers/FormDateRangePickerList/FormDateRangePickerList';
|
|
16
17
|
export { Radio, type RadioProps } from './components/Radio/Radio';
|
|
17
18
|
export { FormRadio, type FormRadioProps } from './components/FormRadio/FormRadio';
|
|
18
19
|
export { Switch, type SwitchProps } from './components/Switch/Switch';
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import * as _mui_material_OverridableComponent from '@mui/material/OverridableCo
|
|
|
11
11
|
import * as _mui_system from '@mui/system';
|
|
12
12
|
import { DatePickerProps, DateTimePickerProps } from '@mui/x-date-pickers-pro';
|
|
13
13
|
import dayjs, { Dayjs } from 'dayjs';
|
|
14
|
+
import { DateRangePickerProps } from '@mui/x-date-pickers-pro/DateRangePicker';
|
|
14
15
|
import { TableProps as TableProps$1 } from '@mui/material/Table';
|
|
15
16
|
import { TableBodyProps as TableBodyProps$1 } from '@mui/material/TableBody';
|
|
16
17
|
import { TableCellProps as TableCellProps$1 } from '@mui/material/TableCell';
|
|
@@ -21,7 +22,8 @@ import { TablePaginationProps as TablePaginationProps$1 } from '@mui/material/Ta
|
|
|
21
22
|
import { TableSortLabelProps as TableSortLabelProps$1 } from '@mui/material/TableSortLabel';
|
|
22
23
|
import { TableFooterProps as TableFooterProps$1 } from '@mui/material/TableFooter';
|
|
23
24
|
import { DataGridPremiumProps } from '@mui/x-data-grid-premium';
|
|
24
|
-
export { GRID_DETAIL_PANEL_TOGGLE_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, GridCell,
|
|
25
|
+
export { GRID_DETAIL_PANEL_TOGGLE_COL_DEF, GRID_DETAIL_PANEL_TOGGLE_FIELD, GridCell, GridFooter, GridLoadingOverlay, GridNoRowsOverlay, GridPagination, GridRow, GridRowCount, GridSelectedRowCount, gridColumnDefinitionsSelector, gridColumnVisibilityModelSelector, gridDetailPanelExpandedRowIdsSelector, gridDetailPanelExpandedRowsContentCacheSelector, gridRowsLookupSelector, useGridApiContext, useGridApiRef, useGridSelector } from '@mui/x-data-grid-premium';
|
|
26
|
+
export type { GridColDef, GridRenderCellParams, GridRowId, GridRowParams, GridRowSelectionModel, GridRowsProp, GridSortModel } from '@mui/x-data-grid-premium';
|
|
25
27
|
|
|
26
28
|
interface UpComponentsProviderProps extends Omit<ThemeProviderProps, 'theme'> {
|
|
27
29
|
licenseKey: string;
|
|
@@ -176,15 +178,19 @@ declare const FormCheckbox: React__default.ForwardRefExoticComponent<Omit<_mui_s
|
|
|
176
178
|
|
|
177
179
|
type DatePickerWrapperProps = {
|
|
178
180
|
error?: boolean;
|
|
179
|
-
label?: string;
|
|
181
|
+
label?: string | ReactNode;
|
|
180
182
|
helperText?: string;
|
|
181
183
|
};
|
|
182
184
|
|
|
185
|
+
|
|
186
|
+
|
|
183
187
|
type DatePickerDateType = Dayjs | null | undefined;
|
|
184
188
|
type NonGenericMuiDatePickerProps$1 = DatePickerProps<DatePickerDateType>;
|
|
185
189
|
type FormDatePickerProps = NonGenericMuiDatePickerProps$1 & DatePickerWrapperProps;
|
|
186
190
|
declare const FormDatePicker: React__default.ForwardRefExoticComponent<NonGenericMuiDatePickerProps$1 & DatePickerWrapperProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
187
191
|
|
|
192
|
+
|
|
193
|
+
|
|
188
194
|
type NonGenericMuiDatePickerProps = DatePickerProps<DatePickerDateType>;
|
|
189
195
|
type FormDateRangePickerProps = Omit<MUIGlobalOmit<NonGenericMuiDatePickerProps>, 'value' | 'onChange'> & {
|
|
190
196
|
start: DatePickerDateType;
|
|
@@ -204,10 +210,38 @@ type FormDateRangePickerProps = Omit<MUIGlobalOmit<NonGenericMuiDatePickerProps>
|
|
|
204
210
|
*/
|
|
205
211
|
declare const FormDateRangePicker: ({ start, onStartChange, end, onEndChange, label, minDate, maxDate, startPickerProps, endPickerProps, ...props }: FormDateRangePickerProps) => React__default.JSX.Element;
|
|
206
212
|
|
|
213
|
+
|
|
214
|
+
|
|
207
215
|
type NonGenericMuiDateTimePickerProps = DateTimePickerProps<Dayjs | null | undefined>;
|
|
208
216
|
type FormDateTimePickerProps = NonGenericMuiDateTimePickerProps & DatePickerWrapperProps;
|
|
209
217
|
declare const FormDateTimePicker: React__default.ForwardRefExoticComponent<NonGenericMuiDateTimePickerProps & DatePickerWrapperProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
210
218
|
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
type DateRange = {
|
|
222
|
+
start: DatePickerDateType | Date;
|
|
223
|
+
end: DatePickerDateType | Date;
|
|
224
|
+
};
|
|
225
|
+
type FormDateRangePickerListProps = {
|
|
226
|
+
startLabel?: string;
|
|
227
|
+
endLabel?: string;
|
|
228
|
+
value: DateRange[];
|
|
229
|
+
onChange?: (value: DateRange[]) => void;
|
|
230
|
+
disabled?: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Defines the minimum number of days after the "start date" that the "end date" can be selected.
|
|
233
|
+
*/
|
|
234
|
+
minEndDateOffset?: number;
|
|
235
|
+
/**
|
|
236
|
+
* Defines the maximum number of days after the "start date" that the "end date" can be selected.
|
|
237
|
+
*/
|
|
238
|
+
maxEndDateOffset?: number;
|
|
239
|
+
} & DatePickerWrapperProps & Omit<DateRangePickerProps<DatePickerDateType | Date>, 'value'>;
|
|
240
|
+
/**
|
|
241
|
+
* Documentation: https://up-components.up42.com/?path=/docs/patterns-form-formdaterangepickerlist--docs
|
|
242
|
+
*/
|
|
243
|
+
declare const FormDateRangePickerList: ({ value, onChange, label, helperText, error, startLabel, endLabel, disabled, minEndDateOffset, maxEndDateOffset, ...props }: FormDateRangePickerListProps) => React__default.JSX.Element;
|
|
244
|
+
|
|
211
245
|
type RadioProps = MUIGlobalOmit<RadioProps$1>;
|
|
212
246
|
/**
|
|
213
247
|
* Documentation: https://up-components.up42.com/?path=/docs/data-entry-radio--docs
|
|
@@ -4434,7 +4468,203 @@ var SvgZoomOut = function SvgZoomOut(props) {
|
|
|
4434
4468
|
};
|
|
4435
4469
|
|
|
4436
4470
|
declare namespace icons {
|
|
4437
|
-
export {
|
|
4471
|
+
export {
|
|
4472
|
+
SvgAccessTime as AccessTime,
|
|
4473
|
+
SvgAdd as Add,
|
|
4474
|
+
SvgAddCircleFilled as AddCircleFilled,
|
|
4475
|
+
SvgAddPlusCircle as AddPlusCircle,
|
|
4476
|
+
SvgAlarmBell as AlarmBell,
|
|
4477
|
+
SvgAlertCircleFilled as AlertCircleFilled,
|
|
4478
|
+
SvgAlertTriangle as AlertTriangle,
|
|
4479
|
+
SvgAngle as Angle,
|
|
4480
|
+
SvgAppWindowCode as AppWindowCode,
|
|
4481
|
+
SvgArrowBack as ArrowBack,
|
|
4482
|
+
SvgArrowBackIos as ArrowBackIos,
|
|
4483
|
+
SvgArrowDownLeft as ArrowDownLeft,
|
|
4484
|
+
SvgArrowDownRight as ArrowDownRight,
|
|
4485
|
+
SvgArrowDownward as ArrowDownward,
|
|
4486
|
+
SvgArrowForward as ArrowForward,
|
|
4487
|
+
SvgArrowTopLeft as ArrowTopLeft,
|
|
4488
|
+
SvgArrowTopRight as ArrowTopRight,
|
|
4489
|
+
SvgArrowUpward as ArrowUpward,
|
|
4490
|
+
SvgAttachment as Attachment,
|
|
4491
|
+
SvgAutoStoriesOutlined as AutoStoriesOutlined,
|
|
4492
|
+
SvgBalance as Balance,
|
|
4493
|
+
SvgBin as Bin,
|
|
4494
|
+
SvgBlock as Block,
|
|
4495
|
+
SvgBlocked as Blocked,
|
|
4496
|
+
SvgBoxes as Boxes,
|
|
4497
|
+
SvgBoxesGrid as BoxesGrid,
|
|
4498
|
+
SvgBrightness1 as Brightness1,
|
|
4499
|
+
SvgCalendar as Calendar,
|
|
4500
|
+
SvgCalendarAdd as CalendarAdd,
|
|
4501
|
+
SvgCalendarCheck as CalendarCheck,
|
|
4502
|
+
SvgCalendarDate as CalendarDate,
|
|
4503
|
+
SvgCalendarEdit as CalendarEdit,
|
|
4504
|
+
SvgCalendarRemove as CalendarRemove,
|
|
4505
|
+
SvgCalendarSearchDate as CalendarSearchDate,
|
|
4506
|
+
SvgCampaignOutlined as CampaignOutlined,
|
|
4507
|
+
SvgCaretCircleFilledDown as CaretCircleFilledDown,
|
|
4508
|
+
SvgCaretCircleFilledLeft as CaretCircleFilledLeft,
|
|
4509
|
+
SvgCaretCircleFilledRight as CaretCircleFilledRight,
|
|
4510
|
+
SvgCaretCircleFilledUp as CaretCircleFilledUp,
|
|
4511
|
+
SvgCatalog as Catalog,
|
|
4512
|
+
SvgCheckCircleFilled as CheckCircleFilled,
|
|
4513
|
+
SvgCheckList as CheckList,
|
|
4514
|
+
SvgCheckMark as CheckMark,
|
|
4515
|
+
SvgChevronCircleFilledDown as ChevronCircleFilledDown,
|
|
4516
|
+
SvgChevronCircleFilledLeft as ChevronCircleFilledLeft,
|
|
4517
|
+
SvgChevronCircleFilledRight as ChevronCircleFilledRight,
|
|
4518
|
+
SvgChevronCircleFilledUp as ChevronCircleFilledUp,
|
|
4519
|
+
SvgClose as Close,
|
|
4520
|
+
SvgCloseCircle as CloseCircle,
|
|
4521
|
+
SvgCloseCircleFilled as CloseCircleFilled,
|
|
4522
|
+
SvgCloud as Cloud,
|
|
4523
|
+
SvgCloudCheck as CloudCheck,
|
|
4524
|
+
SvgCloudDownload as CloudDownload,
|
|
4525
|
+
SvgCloudOff as CloudOff,
|
|
4526
|
+
SvgCloudRemove as CloudRemove,
|
|
4527
|
+
SvgCloudSearch as CloudSearch,
|
|
4528
|
+
SvgCloudSync as CloudSync,
|
|
4529
|
+
SvgCloudUpload as CloudUpload,
|
|
4530
|
+
SvgCloudWarning as CloudWarning,
|
|
4531
|
+
SvgCoin as Coin,
|
|
4532
|
+
SvgCoinEuro as CoinEuro,
|
|
4533
|
+
SvgCompass as Compass,
|
|
4534
|
+
SvgContactSupportOutlined as ContactSupportOutlined,
|
|
4535
|
+
SvgContentCut as ContentCut,
|
|
4536
|
+
SvgContentPaste as ContentPaste,
|
|
4537
|
+
SvgCopy as Copy,
|
|
4538
|
+
SvgCredit as Credit,
|
|
4539
|
+
SvgDashboard as Dashboard,
|
|
4540
|
+
SvgDataTransferVertical as DataTransferVertical,
|
|
4541
|
+
SvgDollarCoinCircleFilled as DollarCoinCircleFilled,
|
|
4542
|
+
SvgDottedLines as DottedLines,
|
|
4543
|
+
SvgDownload as Download,
|
|
4544
|
+
SvgDownloadCircle as DownloadCircle,
|
|
4545
|
+
SvgEditPencil as EditPencil,
|
|
4546
|
+
SvgEuroCoinCircleFilled as EuroCoinCircleFilled,
|
|
4547
|
+
SvgExitLeaveBack as ExitLeaveBack,
|
|
4548
|
+
SvgExternalLink as ExternalLink,
|
|
4549
|
+
SvgEyeCircleFilled as EyeCircleFilled,
|
|
4550
|
+
SvgFlagQuestion as FlagQuestion,
|
|
4551
|
+
SvgFolderEmpty as FolderEmpty,
|
|
4552
|
+
SvgFootprint as Footprint,
|
|
4553
|
+
SvgHeadphonesQuestion as HeadphonesQuestion,
|
|
4554
|
+
SvgHeart as Heart,
|
|
4555
|
+
SvgHeartCircleFilled as HeartCircleFilled,
|
|
4556
|
+
SvgHyperlink as Hyperlink,
|
|
4557
|
+
SvgImageResolution as ImageResolution,
|
|
4558
|
+
SvgInvoice as Invoice,
|
|
4559
|
+
SvgKeyboardArrowDown as KeyboardArrowDown,
|
|
4560
|
+
SvgKeyboardArrowLeft as KeyboardArrowLeft,
|
|
4561
|
+
SvgKeyboardArrowRight as KeyboardArrowRight,
|
|
4562
|
+
SvgKeyboardArrowUp as KeyboardArrowUp,
|
|
4563
|
+
SvgLayers as Layers,
|
|
4564
|
+
SvgLibrary as Library,
|
|
4565
|
+
SvgLightbulb as Lightbulb,
|
|
4566
|
+
SvgLightbulbOutlined as LightbulbOutlined,
|
|
4567
|
+
SvgLocalOfferOutlined as LocalOfferOutlined,
|
|
4568
|
+
SvgLock as Lock,
|
|
4569
|
+
SvgLockCircleFilled as LockCircleFilled,
|
|
4570
|
+
SvgLockShield as LockShield,
|
|
4571
|
+
SvgLogo as Logo,
|
|
4572
|
+
SvgMap as Map,
|
|
4573
|
+
SvgMapPin as MapPin,
|
|
4574
|
+
SvgMapSearch as MapSearch,
|
|
4575
|
+
SvgMarketplace as Marketplace,
|
|
4576
|
+
SvgMenuCircleFilledHorizontal as MenuCircleFilledHorizontal,
|
|
4577
|
+
SvgMenuCircleFilledVertical as MenuCircleFilledVertical,
|
|
4578
|
+
SvgMenuOpenHorizontal as MenuOpenHorizontal,
|
|
4579
|
+
SvgMenuOpenVertical as MenuOpenVertical,
|
|
4580
|
+
SvgMinusCircleFilled as MinusCircleFilled,
|
|
4581
|
+
SvgModule as Module,
|
|
4582
|
+
SvgModule2 as Module2,
|
|
4583
|
+
SvgModuleThree as ModuleThree,
|
|
4584
|
+
SvgMoreHoriz as MoreHoriz,
|
|
4585
|
+
SvgMultipleUsers as MultipleUsers,
|
|
4586
|
+
SvgNotificationError as NotificationError,
|
|
4587
|
+
SvgNotificationInfo as NotificationInfo,
|
|
4588
|
+
SvgNotificationSuccess as NotificationSuccess,
|
|
4589
|
+
SvgNotificationWarning as NotificationWarning,
|
|
4590
|
+
SvgPenCircleFilled as PenCircleFilled,
|
|
4591
|
+
SvgPencil as Pencil,
|
|
4592
|
+
SvgPercentCircle as PercentCircle,
|
|
4593
|
+
SvgPerson as Person,
|
|
4594
|
+
SvgPin as Pin,
|
|
4595
|
+
SvgPolygon as Polygon,
|
|
4596
|
+
SvgProjects as Projects,
|
|
4597
|
+
SvgQuestionBubble as QuestionBubble,
|
|
4598
|
+
SvgQuestionCircle as QuestionCircle,
|
|
4599
|
+
SvgQuestionCircleFilled as QuestionCircleFilled,
|
|
4600
|
+
SvgQuestionMark as QuestionMark,
|
|
4601
|
+
SvgRectangle as Rectangle,
|
|
4602
|
+
SvgRectangleAoi as RectangleAOI,
|
|
4603
|
+
SvgRedo as Redo,
|
|
4604
|
+
SvgRemove as Remove,
|
|
4605
|
+
SvgResolution as Resolution,
|
|
4606
|
+
SvgSatellite$1 as Satellite,
|
|
4607
|
+
SvgSave as Save,
|
|
4608
|
+
SvgScissors as Scissors,
|
|
4609
|
+
SvgSearch as Search,
|
|
4610
|
+
SvgServerCheck as ServerCheck,
|
|
4611
|
+
SvgServerDeny as ServerDeny,
|
|
4612
|
+
SvgServerDownload as ServerDownload,
|
|
4613
|
+
SvgServerEdit as ServerEdit,
|
|
4614
|
+
SvgServerError as ServerError,
|
|
4615
|
+
SvgServerLock as ServerLock,
|
|
4616
|
+
SvgServerMinus as ServerMinus,
|
|
4617
|
+
SvgServerQuestion as ServerQuestion,
|
|
4618
|
+
SvgServerRefresh as ServerRefresh,
|
|
4619
|
+
SvgServerSearch as ServerSearch,
|
|
4620
|
+
SvgServerSync as ServerSync,
|
|
4621
|
+
SvgServerUpload as ServerUpload,
|
|
4622
|
+
SvgServerWarning as ServerWarning,
|
|
4623
|
+
SvgSettingsCog as SettingsCog,
|
|
4624
|
+
SvgSettingsCog2 as SettingsCog2,
|
|
4625
|
+
SvgSettingsSliderHorizontal as SettingsSliderHorizontal,
|
|
4626
|
+
SvgSettingsVertical as SettingsVertical,
|
|
4627
|
+
SvgShare as Share,
|
|
4628
|
+
SvgShareNetwork as ShareNetwork,
|
|
4629
|
+
SvgShield as Shield,
|
|
4630
|
+
SvgShieldWithLock as ShieldWithLock,
|
|
4631
|
+
SvgShoppingCartCheck as ShoppingCartCheck,
|
|
4632
|
+
SvgShoppingCartClose as ShoppingCartClose,
|
|
4633
|
+
SvgShoppingCartMinus as ShoppingCartMinus,
|
|
4634
|
+
SvgShoppingCartOutlined as ShoppingCartOutlined,
|
|
4635
|
+
SvgShoppingCartPlus as ShoppingCartPlus,
|
|
4636
|
+
SvgStorage as Storage,
|
|
4637
|
+
SvgSupport as Support,
|
|
4638
|
+
SvgSupportClear as SupportClear,
|
|
4639
|
+
SvgSupportHeadphones as SupportHeadphones,
|
|
4640
|
+
SvgSystem as System,
|
|
4641
|
+
SvgTag as Tag,
|
|
4642
|
+
SvgTagAlert as TagAlert,
|
|
4643
|
+
SvgTagCheck as TagCheck,
|
|
4644
|
+
SvgTagDouble as TagDouble,
|
|
4645
|
+
SvgTagEdit as TagEdit,
|
|
4646
|
+
SvgTagMinus as TagMinus,
|
|
4647
|
+
SvgTagPlus as TagPlus,
|
|
4648
|
+
SvgTagSearch as TagSearch,
|
|
4649
|
+
SvgTagX as TagX,
|
|
4650
|
+
SvgTarget as Target,
|
|
4651
|
+
SvgTransaction as Transaction,
|
|
4652
|
+
SvgTrashBin as TrashBin,
|
|
4653
|
+
SvgUndo as Undo,
|
|
4654
|
+
SvgUnlock as Unlock,
|
|
4655
|
+
SvgUpgradeShield as UpgradeShield,
|
|
4656
|
+
SvgUpload as Upload,
|
|
4657
|
+
SvgUploadCircle as UploadCircle,
|
|
4658
|
+
SvgUser as User,
|
|
4659
|
+
SvgVisibilityOffOutlined as VisibilityOffOutlined,
|
|
4660
|
+
SvgVisibilityOutlined as VisibilityOutlined,
|
|
4661
|
+
SvgWeatherCloud as WeatherCloud,
|
|
4662
|
+
SvgWebhooks as Webhooks,
|
|
4663
|
+
SvgWorkflow as Workflow,
|
|
4664
|
+
SvgWorkflowPencil as WorkflowPencil,
|
|
4665
|
+
SvgZoomIn as ZoomIn,
|
|
4666
|
+
SvgZoomOut as ZoomOut,
|
|
4667
|
+
};
|
|
4438
4668
|
}
|
|
4439
4669
|
|
|
4440
4670
|
type IconProps = {
|
|
@@ -4793,7 +5023,13 @@ var SvgApproveDoc = function SvgApproveDoc(props) {
|
|
|
4793
5023
|
// Custom SVG
|
|
4794
5024
|
|
|
4795
5025
|
declare namespace illustrations {
|
|
4796
|
-
export {
|
|
5026
|
+
export {
|
|
5027
|
+
SvgApproveDoc as ApproveDoc,
|
|
5028
|
+
SvgEmailCheck as EmailCheck,
|
|
5029
|
+
SvgFloppyDisk as FloppyDisk,
|
|
5030
|
+
SvgRocketFixing as RocketFixing,
|
|
5031
|
+
SvgSatellite as Satellite,
|
|
5032
|
+
};
|
|
4797
5033
|
}
|
|
4798
5034
|
|
|
4799
5035
|
type IllustrationProps = {
|
|
@@ -4947,6 +5183,14 @@ declare const TableSortLabel: ({ children, ...props }: TableSortLabelProps) => R
|
|
|
4947
5183
|
type TableFooterProps = MUIGlobalOmit<TableFooterProps$1>;
|
|
4948
5184
|
declare const TableFooter: ({ children, ...props }: TableFooterProps) => React__default.JSX.Element;
|
|
4949
5185
|
|
|
5186
|
+
|
|
5187
|
+
|
|
5188
|
+
|
|
5189
|
+
|
|
5190
|
+
|
|
5191
|
+
|
|
5192
|
+
|
|
5193
|
+
|
|
4950
5194
|
/**
|
|
4951
5195
|
* Documentation: https://up-components.up42.com/?path=/docs/data-display-datagrid--docs
|
|
4952
5196
|
*/
|
|
@@ -5119,4 +5363,75 @@ type ContextState = {
|
|
|
5119
5363
|
*/
|
|
5120
5364
|
declare const useAlert: () => ContextState;
|
|
5121
5365
|
|
|
5122
|
-
|
|
5366
|
+
|
|
5367
|
+
|
|
5368
|
+
|
|
5369
|
+
|
|
5370
|
+
|
|
5371
|
+
|
|
5372
|
+
|
|
5373
|
+
|
|
5374
|
+
|
|
5375
|
+
|
|
5376
|
+
|
|
5377
|
+
|
|
5378
|
+
|
|
5379
|
+
|
|
5380
|
+
|
|
5381
|
+
|
|
5382
|
+
|
|
5383
|
+
|
|
5384
|
+
|
|
5385
|
+
|
|
5386
|
+
|
|
5387
|
+
|
|
5388
|
+
|
|
5389
|
+
|
|
5390
|
+
|
|
5391
|
+
|
|
5392
|
+
|
|
5393
|
+
|
|
5394
|
+
|
|
5395
|
+
|
|
5396
|
+
|
|
5397
|
+
|
|
5398
|
+
|
|
5399
|
+
|
|
5400
|
+
|
|
5401
|
+
|
|
5402
|
+
|
|
5403
|
+
|
|
5404
|
+
|
|
5405
|
+
|
|
5406
|
+
|
|
5407
|
+
|
|
5408
|
+
|
|
5409
|
+
|
|
5410
|
+
|
|
5411
|
+
|
|
5412
|
+
|
|
5413
|
+
|
|
5414
|
+
|
|
5415
|
+
|
|
5416
|
+
|
|
5417
|
+
|
|
5418
|
+
|
|
5419
|
+
|
|
5420
|
+
|
|
5421
|
+
|
|
5422
|
+
|
|
5423
|
+
|
|
5424
|
+
|
|
5425
|
+
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
|
|
5429
|
+
|
|
5430
|
+
|
|
5431
|
+
|
|
5432
|
+
|
|
5433
|
+
|
|
5434
|
+
|
|
5435
|
+
|
|
5436
|
+
export { Alert, Avatar, Badge, Banner, Button, Checkbox, CodeInline, CodeSnippet, ContactBox, ControlButton, CopyButton, DataGrid, DateTime, Divider, DocumentationPopover, EmptyState, FormCheckbox, FormDatePicker, FormDateRangePicker, FormDateRangePickerList, FormDateTimePicker, FormInput, FormRadio, FormSelect, FormSwitch, GridContainer, GridItem, Icon, Illustration, InfoCard, InfoModal, InfoPopover, Input, Link, Loading, NotFound, PageContainer, PageHeader, Radio, Select, Slider, Switch, Tab, TabGroup, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TablePagination, TableRow, TableSortLabel, Tabs, Tag, Typography, UpComponentsProvider, capitalize, copyToClipboard, formatDate, formatFileSize, formatNumber, theme, useAlert, useCursorPagination, useDebounce, useQueryParams, useRemotePagination };
|
|
5437
|
+
export type { AlertProps, AvatarProps, BadgeProps, BannerProps, ButtonProps, CheckboxProps, CodeInlineProps, CodeSnippetItemProps, CodeSnippetProps, ContactBoxProps, ControlButtonProps, CopyButtonProps, CreateAlertProps, CreateSnackbarProps, CursorPaginatedResponse, DatePickerDateType, DateRange, DateTimeProps, DividerProps, DocumentationPopoverProps, EmptyStateProps, FormCheckboxProps, FormDatePickerProps, FormDateRangePickerListProps, FormDateRangePickerProps, FormDateTimePickerProps, FormInputProps, FormRadioProps, FormSelectProps, FormSwitchProps, GridContainerProps, GridItemProps, IconProps, IllustrationProps, InfoCardProps, InfoModalProps, InfoPopoverProps, InputProps, LinkProps, LoadingProps, NotFoundProps, PageContainerProps, PageHeaderProps, PaginatedResponse, RadioProps, SelectProps, SliderProps, SwitchProps, TabGroupProps, TabProps, TableBodyProps, TableCellProps, TableContainerProps, TableFooterProps, TableHeadProps, TablePaginationProps, TableProps, TableRowProps, TableSortLabelProps, TabsProps, TagProps, TypographyProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@up42/up-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "UP42 Component Library",
|
|
5
5
|
"author": "Axel Fuhrmann axel.fuhrmann@up42.com",
|
|
6
6
|
"license": "ISC",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"homepage": "https://github.com/up42/up-components#readme",
|
|
120
120
|
"access": "private",
|
|
121
121
|
"engines": {
|
|
122
|
-
"node": ">=
|
|
122
|
+
"node": ">= 22",
|
|
123
123
|
"npm": ">= 8"
|
|
124
124
|
},
|
|
125
125
|
"commit-and-tag-version": {
|