@rio-cloud/rio-uikit 0.16.4-beta.13 → 0.16.4-beta.14
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/CustomState.d.ts +2 -5
- package/CustomState.js +2 -2
- package/EmptyState.d.ts +2 -5
- package/EmptyState.js +2 -2
- package/ErrorState.d.ts +2 -5
- package/ErrorState.js +2 -2
- package/ForbiddenState.d.ts +2 -5
- package/ForbiddenState.js +2 -2
- package/MaintenanceState.d.ts +2 -5
- package/MaintenanceState.js +2 -2
- package/NotBookedState.d.ts +2 -5
- package/NotFoundState.d.ts +2 -5
- package/NotFoundState.js +2 -2
- package/Notification.d.ts +2 -9
- package/Notification.js +2 -2
- package/NotificationsContainer.d.ts +2 -5
- package/NotificationsContainer.js +2 -2
- package/Tag.d.ts +2 -5
- package/Tag.js +2 -2
- package/TagList.d.ts +1 -5
- package/TagList.js +1 -2
- package/TagManager.d.ts +2 -5
- package/TagManager.js +2 -2
- package/Teaser.d.ts +2 -5
- package/Teaser.js +2 -2
- package/TeaserContainer.d.ts +2 -5
- package/TeaserContainer.js +2 -2
- package/TimePicker.d.ts +2 -5
- package/TimePicker.js +2 -2
- package/components/expander/ExpanderPanel.d.ts +1 -0
- package/components/expander/ExpanderPanel.js +4 -3
- package/components/notification/Notification.d.ts +32 -1
- package/components/notification/Notification.js +3 -2
- package/components/notification/NotificationsContainer.d.ts +7 -13
- package/components/notification/NotificationsContainer.js +2 -8
- package/components/states/BaseStateProps.d.ts +66 -0
- package/components/states/BaseStateProps.js +2 -0
- package/components/states/CustomState.d.ts +4 -14
- package/components/states/CustomState.js +13 -40
- package/components/states/EmptyState.d.ts +4 -8
- package/components/states/EmptyState.js +6 -6
- package/components/states/ErrorState.d.ts +4 -8
- package/components/states/ErrorState.js +6 -6
- package/components/states/ForbiddenState.d.ts +4 -8
- package/components/states/ForbiddenState.js +6 -6
- package/components/states/MaintenanceState.d.ts +4 -8
- package/components/states/MaintenanceState.js +6 -6
- package/components/states/NotBookedState.d.ts +9 -19
- package/components/states/NotBookedState.js +8 -23
- package/components/states/NotFoundState.d.ts +4 -8
- package/components/states/NotFoundState.js +6 -6
- package/components/states/StateButton.d.ts +27 -0
- package/components/states/StateButton.js +13 -0
- package/components/states/StateIcon.d.ts +7 -0
- package/components/states/StateIcon.js +4 -0
- package/components/tag/Tag.d.ts +69 -36
- package/components/tag/Tag.js +7 -30
- package/components/tag/TagList.d.ts +24 -16
- package/components/tag/TagList.js +6 -15
- package/components/tagManager/CustomSuggestionItem.d.ts +6 -12
- package/components/tagManager/CustomSuggestionItem.js +4 -9
- package/components/tagManager/TagManager.d.ts +61 -26
- package/components/tagManager/TagManager.js +22 -39
- package/components/tagManager/TagManagerItemList.d.ts +6 -13
- package/components/tagManager/TagManagerItemList.js +3 -13
- package/components/tagManager/TagManagerTag.d.ts +5 -0
- package/components/tagManager/TagManagerTag.js +1 -0
- package/components/teaser/Teaser.d.ts +93 -50
- package/components/teaser/Teaser.js +69 -118
- package/components/teaser/TeaserContainer.d.ts +25 -12
- package/components/teaser/TeaserContainer.js +10 -23
- package/components/timepicker/TimePicker.d.ts +34 -26
- package/components/timepicker/TimePicker.js +13 -30
- package/hooks/useDocumentTitle.d.ts +2 -0
- package/hooks/useDocumentTitle.js +9 -0
- package/hooks/useIsFirstRender.d.ts +2 -0
- package/hooks/useIsFirstRender.js +10 -0
- package/index.d.ts +28 -25
- package/index.js +28 -25
- package/lib/es/CustomState.d.ts +2 -5
- package/lib/es/CustomState.js +3 -2
- package/lib/es/EmptyState.d.ts +2 -5
- package/lib/es/EmptyState.js +3 -2
- package/lib/es/ErrorState.d.ts +2 -5
- package/lib/es/ErrorState.js +3 -2
- package/lib/es/ForbiddenState.d.ts +2 -5
- package/lib/es/ForbiddenState.js +3 -2
- package/lib/es/MaintenanceState.d.ts +2 -5
- package/lib/es/MaintenanceState.js +3 -2
- package/lib/es/NotBookedState.d.ts +2 -5
- package/lib/es/NotFoundState.d.ts +2 -5
- package/lib/es/NotFoundState.js +3 -2
- package/lib/es/Notification.d.ts +2 -9
- package/lib/es/Notification.js +3 -2
- package/lib/es/NotificationsContainer.d.ts +2 -5
- package/lib/es/NotificationsContainer.js +3 -2
- package/lib/es/Tag.d.ts +2 -5
- package/lib/es/Tag.js +3 -2
- package/lib/es/TagList.d.ts +1 -5
- package/lib/es/TagList.js +5 -3
- package/lib/es/TagManager.d.ts +2 -5
- package/lib/es/TagManager.js +3 -2
- package/lib/es/Teaser.d.ts +2 -5
- package/lib/es/Teaser.js +3 -2
- package/lib/es/TeaserContainer.d.ts +2 -5
- package/lib/es/TeaserContainer.js +3 -2
- package/lib/es/TimePicker.d.ts +2 -5
- package/lib/es/TimePicker.js +3 -2
- package/lib/es/components/expander/ExpanderPanel.d.ts +1 -0
- package/lib/es/components/expander/ExpanderPanel.js +4 -3
- package/lib/es/components/notification/Notification.d.ts +32 -1
- package/lib/es/components/notification/Notification.js +3 -2
- package/lib/es/components/notification/NotificationsContainer.d.ts +7 -13
- package/lib/es/components/notification/NotificationsContainer.js +2 -8
- package/lib/es/components/states/BaseStateProps.d.ts +66 -0
- package/lib/es/components/states/BaseStateProps.js +4 -0
- package/lib/es/components/states/CustomState.d.ts +4 -14
- package/lib/es/components/states/CustomState.js +14 -41
- package/lib/es/components/states/EmptyState.d.ts +4 -8
- package/lib/es/components/states/EmptyState.js +5 -6
- package/lib/es/components/states/ErrorState.d.ts +4 -8
- package/lib/es/components/states/ErrorState.js +5 -6
- package/lib/es/components/states/ForbiddenState.d.ts +4 -8
- package/lib/es/components/states/ForbiddenState.js +5 -6
- package/lib/es/components/states/MaintenanceState.d.ts +4 -8
- package/lib/es/components/states/MaintenanceState.js +5 -6
- package/lib/es/components/states/NotBookedState.d.ts +9 -19
- package/lib/es/components/states/NotBookedState.js +7 -22
- package/lib/es/components/states/NotFoundState.d.ts +4 -8
- package/lib/es/components/states/NotFoundState.js +5 -6
- package/lib/es/components/states/StateButton.d.ts +27 -0
- package/lib/es/components/states/StateButton.js +16 -0
- package/lib/es/components/states/StateIcon.d.ts +7 -0
- package/lib/es/components/states/StateIcon.js +6 -0
- package/lib/es/components/tag/Tag.d.ts +69 -36
- package/lib/es/components/tag/Tag.js +7 -30
- package/lib/es/components/tag/TagList.d.ts +24 -16
- package/lib/es/components/tag/TagList.js +6 -15
- package/lib/es/components/tagManager/CustomSuggestionItem.d.ts +6 -12
- package/lib/es/components/tagManager/CustomSuggestionItem.js +4 -9
- package/lib/es/components/tagManager/TagManager.d.ts +61 -26
- package/lib/es/components/tagManager/TagManager.js +22 -39
- package/lib/es/components/tagManager/TagManagerItemList.d.ts +6 -13
- package/lib/es/components/tagManager/TagManagerItemList.js +3 -13
- package/lib/es/components/tagManager/TagManagerTag.d.ts +5 -0
- package/lib/es/components/tagManager/TagManagerTag.js +2 -0
- package/lib/es/components/teaser/Teaser.d.ts +93 -50
- package/lib/es/components/teaser/Teaser.js +69 -120
- package/lib/es/components/teaser/TeaserContainer.d.ts +25 -12
- package/lib/es/components/teaser/TeaserContainer.js +10 -23
- package/lib/es/components/timepicker/TimePicker.d.ts +34 -26
- package/lib/es/components/timepicker/TimePicker.js +13 -30
- package/lib/es/hooks/useDocumentTitle.d.ts +2 -0
- package/lib/es/hooks/useDocumentTitle.js +11 -0
- package/lib/es/hooks/useIsFirstRender.d.ts +2 -0
- package/lib/es/hooks/useIsFirstRender.js +12 -0
- package/lib/es/index.d.ts +28 -25
- package/lib/es/index.js +46 -30
- package/lib/es/types.d.ts +1 -112
- package/lib/es/useDocumentTitle.d.ts +2 -0
- package/lib/es/useDocumentTitle.js +7 -0
- package/lib/es/useIsFirstRender.d.ts +2 -0
- package/lib/es/useIsFirstRender.js +7 -0
- package/lib/es/version.json +1 -1
- package/package.json +28 -22
- package/types.d.ts +1 -112
- package/useDocumentTitle.d.ts +2 -0
- package/useDocumentTitle.js +2 -0
- package/useIsFirstRender.d.ts +2 -0
- package/useIsFirstRender.js +2 -0
- package/version.json +1 -1
package/types.d.ts
CHANGED
|
@@ -60,19 +60,6 @@ export interface AssetTreeProps {
|
|
|
60
60
|
className?: string;
|
|
61
61
|
children?: TreeCategoryProps[];
|
|
62
62
|
}
|
|
63
|
-
export interface BaseStateProps {
|
|
64
|
-
icon?: string;
|
|
65
|
-
icons?: object[];
|
|
66
|
-
image?: React.ReactFragment;
|
|
67
|
-
headline?: string | React.ReactFragment;
|
|
68
|
-
message?: string | React.ReactFragment;
|
|
69
|
-
buttons?: object[];
|
|
70
|
-
fullWidth?: boolean;
|
|
71
|
-
condensed?: boolean;
|
|
72
|
-
alignment?: TextAlignment;
|
|
73
|
-
outerClassName?: string;
|
|
74
|
-
innerClassName?: string;
|
|
75
|
-
}
|
|
76
63
|
export interface BaseDialogProps {
|
|
77
64
|
show: boolean;
|
|
78
65
|
title?: React.ReactNode;
|
|
@@ -250,8 +237,6 @@ export interface CollapseProps {
|
|
|
250
237
|
onExiting?: Function;
|
|
251
238
|
onExited?: Function;
|
|
252
239
|
}
|
|
253
|
-
export interface CustomStateProps extends BaseStateProps {
|
|
254
|
-
}
|
|
255
240
|
export interface DatePickerProps extends DatetimepickerProps {
|
|
256
241
|
className?: string;
|
|
257
242
|
alignRight?: boolean;
|
|
@@ -323,10 +308,6 @@ export interface DropdownSubmenuProps {
|
|
|
323
308
|
disabled?: boolean;
|
|
324
309
|
className?: string;
|
|
325
310
|
}
|
|
326
|
-
export interface EmptyStateProps extends BaseStateProps {
|
|
327
|
-
}
|
|
328
|
-
export interface ErrorStateProps extends BaseStateProps {
|
|
329
|
-
}
|
|
330
311
|
export interface ExpanderListItem {
|
|
331
312
|
id?: string | number;
|
|
332
313
|
header: string | React.ReactNode;
|
|
@@ -353,6 +334,7 @@ export interface ExpanderPanelProps {
|
|
|
353
334
|
headerClassName?: string;
|
|
354
335
|
titleClassName?: string;
|
|
355
336
|
bodyClassName?: string;
|
|
337
|
+
iconClassName?: string;
|
|
356
338
|
onToggle?: (isOpen: boolean) => void;
|
|
357
339
|
onEnter?: Function;
|
|
358
340
|
onEntering?: Function;
|
|
@@ -399,8 +381,6 @@ export interface FilePickerProps {
|
|
|
399
381
|
};
|
|
400
382
|
children?: ({ isDragActive }: FilePickerRenderProps) => any;
|
|
401
383
|
}
|
|
402
|
-
export interface ForbiddenStateProps extends BaseStateProps {
|
|
403
|
-
}
|
|
404
384
|
export interface ImagePreloaderProps {
|
|
405
385
|
src: string;
|
|
406
386
|
onLoaded?: Function;
|
|
@@ -485,8 +465,6 @@ export interface ListMenuProps {
|
|
|
485
465
|
responsive?: boolean;
|
|
486
466
|
autoClose?: boolean;
|
|
487
467
|
}
|
|
488
|
-
export interface MaintenanceStateProps extends BaseStateProps {
|
|
489
|
-
}
|
|
490
468
|
export type markerColor = 'bg-map-marker-asset' | 'bg-map-marker-poi' | 'bg-map-marker-geofence' | 'bg-map-marker-route';
|
|
491
469
|
export interface MediaDialogMedia {
|
|
492
470
|
type: 'image' | 'video';
|
|
@@ -689,21 +667,6 @@ export interface NavItem {
|
|
|
689
667
|
item: React.ReactNode;
|
|
690
668
|
disabled?: boolean;
|
|
691
669
|
}
|
|
692
|
-
export interface NotificationsContainerProps {
|
|
693
|
-
stacked?: boolean;
|
|
694
|
-
}
|
|
695
|
-
export type notificationTriggerFunction = (message: string | JSX.Element | JSX.Element[], title?: string | JSX.Element | JSX.Element[], timeOut?: number, callback?: Function, priority?: boolean) => void;
|
|
696
|
-
export interface NotBookedStateProps {
|
|
697
|
-
headline: string | React.ReactNode;
|
|
698
|
-
message: string | React.ReactNode;
|
|
699
|
-
buttons?: object[];
|
|
700
|
-
features?: React.ReactNode[];
|
|
701
|
-
condensed?: boolean;
|
|
702
|
-
fullWidth?: boolean;
|
|
703
|
-
image?: React.ReactNode;
|
|
704
|
-
}
|
|
705
|
-
export interface NotFoundStateProps extends BaseStateProps {
|
|
706
|
-
}
|
|
707
670
|
export interface OnboardingTipProps {
|
|
708
671
|
id?: string | number;
|
|
709
672
|
placement?: Placement;
|
|
@@ -1139,84 +1102,10 @@ export interface TableViewTogglesProps {
|
|
|
1139
1102
|
disabled?: boolean;
|
|
1140
1103
|
className?: string;
|
|
1141
1104
|
}
|
|
1142
|
-
export interface TagProps {
|
|
1143
|
-
active?: boolean;
|
|
1144
|
-
className?: string;
|
|
1145
|
-
clickable?: boolean;
|
|
1146
|
-
deletable?: boolean;
|
|
1147
|
-
revertable?: boolean;
|
|
1148
|
-
disabled?: boolean;
|
|
1149
|
-
icon?: string;
|
|
1150
|
-
muted?: boolean;
|
|
1151
|
-
rounded?: boolean;
|
|
1152
|
-
selectable?: boolean;
|
|
1153
|
-
size?: string;
|
|
1154
|
-
}
|
|
1155
|
-
export interface TagListProps {
|
|
1156
|
-
inline?: boolean;
|
|
1157
|
-
autoWidthTags?: boolean;
|
|
1158
|
-
tagsPerRow?: 1 | 2 | 3 | 4 | 6;
|
|
1159
|
-
className?: string;
|
|
1160
|
-
}
|
|
1161
|
-
export interface TagManagerTag {
|
|
1162
|
-
label?: string;
|
|
1163
|
-
toAdd?: boolean;
|
|
1164
|
-
toRemove?: boolean;
|
|
1165
|
-
}
|
|
1166
|
-
export interface TagManagerProps {
|
|
1167
|
-
tagList: TagManagerTag[];
|
|
1168
|
-
tagSuggestions: TagManagerTag[];
|
|
1169
|
-
onTagListChange?: Function;
|
|
1170
|
-
placeholder?: string;
|
|
1171
|
-
customTagPlaceholder?: string;
|
|
1172
|
-
dropdownSeparatorText?: string;
|
|
1173
|
-
useCustomTags?: boolean;
|
|
1174
|
-
showInput?: boolean;
|
|
1175
|
-
noItemMessage?: string | React.ReactNode;
|
|
1176
|
-
}
|
|
1177
|
-
export interface TeaserContainerProps {
|
|
1178
|
-
children?: any;
|
|
1179
|
-
teaserPerRow?: 1 | 2 | 3 | 4 | 6 | 12;
|
|
1180
|
-
columnClassName?: string;
|
|
1181
|
-
className?: string;
|
|
1182
|
-
}
|
|
1183
|
-
export interface TeaserProps {
|
|
1184
|
-
headline?: string;
|
|
1185
|
-
content?: string | React.ReactNode;
|
|
1186
|
-
image?: {
|
|
1187
|
-
src: string;
|
|
1188
|
-
alt?: string;
|
|
1189
|
-
placeholder?: string;
|
|
1190
|
-
align?: string;
|
|
1191
|
-
onClick?: () => void;
|
|
1192
|
-
className?: string;
|
|
1193
|
-
};
|
|
1194
|
-
button?: {
|
|
1195
|
-
text?: string;
|
|
1196
|
-
bsStyle?: string;
|
|
1197
|
-
onClick?: Function;
|
|
1198
|
-
className?: string;
|
|
1199
|
-
};
|
|
1200
|
-
verticalAlignment?: string;
|
|
1201
|
-
segmentation?: string;
|
|
1202
|
-
className?: string;
|
|
1203
|
-
}
|
|
1204
1105
|
export interface TextMarkerProps {
|
|
1205
1106
|
position: Position;
|
|
1206
1107
|
text: string;
|
|
1207
1108
|
}
|
|
1208
|
-
export interface TimePickerInputProps {
|
|
1209
|
-
className?: string;
|
|
1210
|
-
}
|
|
1211
|
-
export interface TimePickerProps {
|
|
1212
|
-
onChange?: Function;
|
|
1213
|
-
onComplete?: Function;
|
|
1214
|
-
value?: string;
|
|
1215
|
-
alwaysShowMask?: boolean;
|
|
1216
|
-
showIcon?: boolean;
|
|
1217
|
-
className?: string;
|
|
1218
|
-
inputProps?: TimePickerInputProps;
|
|
1219
|
-
}
|
|
1220
1109
|
export interface TreeCategoryProps {
|
|
1221
1110
|
id: string;
|
|
1222
1111
|
icon: string;
|
package/version.json
CHANGED