@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/index.js
CHANGED
|
@@ -65,10 +65,6 @@ import { default as _Slider } from './components/slider/Slider';
|
|
|
65
65
|
export { _Slider as Slider };
|
|
66
66
|
import { default as _RangeSlider } from './components/slider/RangeSlider';
|
|
67
67
|
export { _RangeSlider as RangeSlider };
|
|
68
|
-
import { default as _Tag } from './components/tag/Tag';
|
|
69
|
-
export { _Tag as Tag };
|
|
70
|
-
import { default as _TagList } from './components/tag/TagList';
|
|
71
|
-
export { _TagList as TagList };
|
|
72
68
|
import { default as _Collapse } from './components/collapse/Collapse';
|
|
73
69
|
export { _Collapse as Collapse };
|
|
74
70
|
import { default as _Fade } from './components/fade/Fade';
|
|
@@ -93,25 +89,10 @@ import { default as _SteppedProgressBar } from './components/steppedProgressBar/
|
|
|
93
89
|
export { _SteppedProgressBar as SteppedProgressBar };
|
|
94
90
|
import { default as _Position } from './components/position/Position';
|
|
95
91
|
export { _Position as Position };
|
|
96
|
-
import { default as _Notification } from './components/notification/Notification';
|
|
97
|
-
import { default as _NotificationsContainer } from './components/notification/NotificationsContainer';
|
|
98
|
-
export { _Notification as Notification, _NotificationsContainer as NotificationsContainer };
|
|
99
92
|
import { default as _ApplicationHeader } from './components/applicationHeader/ApplicationHeader';
|
|
100
93
|
export { _ApplicationHeader as ApplicationHeader };
|
|
101
|
-
import { default as _NotFoundState } from './components/states/NotFoundState';
|
|
102
|
-
export { _NotFoundState as NotFoundState };
|
|
103
|
-
import { default as _EmptyState } from './components/states/EmptyState';
|
|
104
|
-
export { _EmptyState as EmptyState };
|
|
105
|
-
import { default as _ErrorState } from './components/states/ErrorState';
|
|
106
|
-
export { _ErrorState as ErrorState };
|
|
107
|
-
import { default as _ForbiddenState } from './components/states/ForbiddenState';
|
|
108
|
-
export { _ForbiddenState as ForbiddenState };
|
|
109
94
|
import { default as _NotBookedState } from './components/states/NotBookedState';
|
|
110
95
|
export { _NotBookedState as NotBookedState };
|
|
111
|
-
import { default as _CustomState } from './components/states/CustomState';
|
|
112
|
-
export { _CustomState as CustomState };
|
|
113
|
-
import { default as _TimePicker } from './components/timepicker/TimePicker';
|
|
114
|
-
export { _TimePicker as TimePicker };
|
|
115
96
|
import { default as _ResponsiveColumnStripe } from './components/responsiveColumnStripe/ResponsiveColumnStripe';
|
|
116
97
|
export { _ResponsiveColumnStripe as ResponsiveColumnStripe };
|
|
117
98
|
import { SortArrowUp as _SortArrowUp, SortArrowDown as _SortArrowDown, SortArrows as _SortArrows, } from './components/table/SortArrows';
|
|
@@ -157,14 +138,8 @@ export { default as ActionBarItem } from './components/actionBarItem/ActionBarIt
|
|
|
157
138
|
export * from './components/actionBarItem/ActionBarItem';
|
|
158
139
|
import { default as _ReleaseNotesDialog } from './components/dialog/ReleaseNotesDialog';
|
|
159
140
|
export { _ReleaseNotesDialog as ReleaseNotesDialog };
|
|
160
|
-
import { default as _Teaser } from './components/teaser/Teaser';
|
|
161
|
-
export { _Teaser as Teaser };
|
|
162
|
-
import { default as _TeaserContainer } from './components/teaser/TeaserContainer';
|
|
163
|
-
export { _TeaserContainer as TeaserContainer };
|
|
164
141
|
import { default as _OnboardingTip } from './components/onboarding/OnboardingTip';
|
|
165
142
|
export { _OnboardingTip as OnboardingTip };
|
|
166
|
-
import { default as _TagManager } from './components/tagManager/TagManager';
|
|
167
|
-
export { _TagManager as TagManager };
|
|
168
143
|
import { default as _BrowserWarning } from './components/browserWarning/BrowserWarning';
|
|
169
144
|
export { _BrowserWarning as BrowserWarning };
|
|
170
145
|
import { default as _RuleConnector } from './components/rules/RuleConnector';
|
|
@@ -265,3 +240,31 @@ export { default as DataTab } from './components/dataTabs/DataTab';
|
|
|
265
240
|
export * from './components/dataTabs/DataTab';
|
|
266
241
|
export { default as DataTabs } from './components/dataTabs/DataTabs';
|
|
267
242
|
export * from './components/dataTabs/DataTabs';
|
|
243
|
+
export { default as TagManager } from './components/tagManager/TagManager';
|
|
244
|
+
export * from './components/tagManager/TagManager';
|
|
245
|
+
export { default as Tag } from './components/tag/Tag';
|
|
246
|
+
export * from './components/tag/Tag';
|
|
247
|
+
export { default as TagList } from './components/tag/TagList';
|
|
248
|
+
export * from './components/tag/TagList';
|
|
249
|
+
export { default as CustomState } from './components/states/CustomState';
|
|
250
|
+
export * from './components/states/CustomState';
|
|
251
|
+
export { default as EmptyState } from './components/states/EmptyState';
|
|
252
|
+
export * from './components/states/EmptyState';
|
|
253
|
+
export { default as ErrorState } from './components/states/ErrorState';
|
|
254
|
+
export * from './components/states/ErrorState';
|
|
255
|
+
export { default as ForbiddenState } from './components/states/ForbiddenState';
|
|
256
|
+
export * from './components/states/ForbiddenState';
|
|
257
|
+
export { default as MaintenanceState } from './components/states/MaintenanceState';
|
|
258
|
+
export * from './components/states/MaintenanceState';
|
|
259
|
+
export { default as NotFoundState } from './components/states/NotFoundState';
|
|
260
|
+
export * from './components/states/NotFoundState';
|
|
261
|
+
export { default as Teaser } from './components/teaser/Teaser';
|
|
262
|
+
export * from './components/teaser/Teaser';
|
|
263
|
+
export { default as TeaserContainer } from './components/teaser/TeaserContainer';
|
|
264
|
+
export * from './components/teaser/TeaserContainer';
|
|
265
|
+
export { default as TimePicker } from './components/timepicker/TimePicker';
|
|
266
|
+
export * from './components/timepicker/TimePicker';
|
|
267
|
+
export { default as Notification } from './components/notification/Notification';
|
|
268
|
+
export * from './components/notification/Notification';
|
|
269
|
+
export { default as NotificationsContainer } from './components/notification/NotificationsContainer';
|
|
270
|
+
export * from './components/notification/NotificationsContainer';
|
package/lib/es/CustomState.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { CustomStateProps } from './types';
|
|
4
|
-
export default class CustomState extends React.Component<CustomStateProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/states/CustomState';
|
|
2
|
+
export * from './components/states/CustomState';
|
package/lib/es/CustomState.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return CustomState_1.default; } });
|
|
5
|
+
var CustomState_1 = require("./components/states/CustomState");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(CustomState_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/states/CustomState"), exports);
|
package/lib/es/EmptyState.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { EmptyStateProps } from './types';
|
|
4
|
-
export default class EmptyState extends React.Component<EmptyStateProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/states/EmptyState';
|
|
2
|
+
export * from './components/states/EmptyState';
|
package/lib/es/EmptyState.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return EmptyState_1.default; } });
|
|
5
|
+
var EmptyState_1 = require("./components/states/EmptyState");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(EmptyState_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/states/EmptyState"), exports);
|
package/lib/es/ErrorState.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ErrorStateProps } from './types';
|
|
4
|
-
export default class ErrorState extends React.Component<ErrorStateProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/states/ErrorState';
|
|
2
|
+
export * from './components/states/ErrorState';
|
package/lib/es/ErrorState.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return ErrorState_1.default; } });
|
|
5
|
+
var ErrorState_1 = require("./components/states/ErrorState");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(ErrorState_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/states/ErrorState"), exports);
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { ForbiddenStateProps } from './types';
|
|
4
|
-
export default class ForbiddenState extends React.Component<ForbiddenStateProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/states/ForbiddenState';
|
|
2
|
+
export * from './components/states/ForbiddenState';
|
package/lib/es/ForbiddenState.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return ForbiddenState_1.default; } });
|
|
5
|
+
var ForbiddenState_1 = require("./components/states/ForbiddenState");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(ForbiddenState_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/states/ForbiddenState"), exports);
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { MaintenanceStateProps } from './types';
|
|
4
|
-
export default class MaintenanceState extends React.Component<MaintenanceStateProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/states/MaintenanceState';
|
|
2
|
+
export * from './components/states/MaintenanceState';
|
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return MaintenanceState_1.default; } });
|
|
5
|
+
var MaintenanceState_1 = require("./components/states/MaintenanceState");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(MaintenanceState_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/states/MaintenanceState"), exports);
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { NotBookedStateProps } from './types';
|
|
4
|
-
export default class NotBookedState extends React.Component<NotBookedStateProps> {}
|
|
5
|
-
}
|
|
1
|
+
import { default as _NotBookedState } from './components/states/NotBookedState';
|
|
2
|
+
export { _NotBookedState as default };
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { NotFoundStateProps } from './types';
|
|
4
|
-
export default class NotFoundState extends React.Component<NotFoundStateProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/states/NotFoundState';
|
|
2
|
+
export * from './components/states/NotFoundState';
|
package/lib/es/NotFoundState.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return NotFoundState_1.default; } });
|
|
5
|
+
var NotFoundState_1 = require("./components/states/NotFoundState");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(NotFoundState_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/states/NotFoundState"), exports);
|
package/lib/es/Notification.d.ts
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default class Notification {
|
|
4
|
-
static success: notificationTriggerFunction;
|
|
5
|
-
static info: notificationTriggerFunction;
|
|
6
|
-
static warning: notificationTriggerFunction;
|
|
7
|
-
static error: notificationTriggerFunction;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
1
|
+
export { default } from './components/notification/Notification';
|
|
2
|
+
export * from './components/notification/Notification';
|
package/lib/es/Notification.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return Notification_1.default; } });
|
|
5
|
+
var Notification_1 = require("./components/notification/Notification");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(Notification_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/notification/Notification"), exports);
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { NotificationsContainerProps } from './types';
|
|
4
|
-
export default class NotificationsContainer extends React.Component<NotificationsContainerProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/notification/NotificationsContainer';
|
|
2
|
+
export * from './components/notification/NotificationsContainer';
|
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return NotificationsContainer_1.default; } });
|
|
5
|
+
var NotificationsContainer_1 = require("./components/notification/NotificationsContainer");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(NotificationsContainer_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/notification/NotificationsContainer"), exports);
|
package/lib/es/Tag.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { TagProps } from './types';
|
|
4
|
-
export default class Tag extends React.Component<TagProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/tag/Tag';
|
|
2
|
+
export * from './components/tag/Tag';
|
package/lib/es/Tag.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return Tag_1.default; } });
|
|
5
|
+
var Tag_1 = require("./components/tag/Tag");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(Tag_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/tag/Tag"), exports);
|
package/lib/es/TagList.d.ts
CHANGED
package/lib/es/TagList.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.default = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return TagList_1.default; } });
|
|
7
|
+
var TagList_1 = require("./components/tag/TagList");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(TagList_1).default; } });
|
package/lib/es/TagManager.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { TagManagerTag } from './types';
|
|
5
|
-
export default class TagManager extends React.Component<TagManagerProps> {}
|
|
1
|
+
export { default } from './components/tagManager/TagManager';
|
|
2
|
+
export * from './components/tagManager/TagManager';
|
package/lib/es/TagManager.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return TagManager_1.default; } });
|
|
5
|
+
var TagManager_1 = require("./components/tagManager/TagManager");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(TagManager_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/tagManager/TagManager"), exports);
|
package/lib/es/Teaser.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { TeaserProps } from './types';
|
|
4
|
-
export default class Teaser extends React.Component<TeaserProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/teaser/Teaser';
|
|
2
|
+
export * from './components/teaser/Teaser';
|
package/lib/es/Teaser.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return Teaser_1.default; } });
|
|
5
|
+
var Teaser_1 = require("./components/teaser/Teaser");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(Teaser_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/teaser/Teaser"), exports);
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { TeaserContainerProps } from './types';
|
|
4
|
-
export default class TeaserContainer extends React.Component<TeaserContainerProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/teaser/TeaserContainer';
|
|
2
|
+
export * from './components/teaser/TeaserContainer';
|
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return TeaserContainer_1.default; } });
|
|
5
|
+
var TeaserContainer_1 = require("./components/teaser/TeaserContainer");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(TeaserContainer_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/teaser/TeaserContainer"), exports);
|
package/lib/es/TimePicker.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { TimePickerProps } from './types';
|
|
4
|
-
export default class TimePicker extends React.Component<TimePickerProps> {}
|
|
5
|
-
}
|
|
1
|
+
export { default } from './components/timepicker/TimePicker';
|
|
2
|
+
export * from './components/timepicker/TimePicker';
|
package/lib/es/TimePicker.js
CHANGED
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return TimePicker_1.default; } });
|
|
5
|
+
var TimePicker_1 = require("./components/timepicker/TimePicker");
|
|
6
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return tslib_1.__importDefault(TimePicker_1).default; } });
|
|
7
|
+
tslib_1.__exportStar(require("./components/timepicker/TimePicker"), exports);
|
|
@@ -19,6 +19,7 @@ declare namespace ExpanderPanel {
|
|
|
19
19
|
export const className: PropTypes.Requireable<string>;
|
|
20
20
|
export const headerClassName: PropTypes.Requireable<string>;
|
|
21
21
|
export const titleClassName: PropTypes.Requireable<string>;
|
|
22
|
+
export const iconClassName: PropTypes.Requireable<string>;
|
|
22
23
|
export const bodyClassName: PropTypes.Requireable<string>;
|
|
23
24
|
export const title: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
|
|
24
25
|
const bsStyle_1: PropTypes.Requireable<string>;
|
|
@@ -4,10 +4,10 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
6
|
const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
|
|
7
|
-
const Collapse_1 = tslib_1.__importDefault(require("../collapse/Collapse"));
|
|
8
7
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
8
|
+
const Collapse_1 = tslib_1.__importDefault(require("../collapse/Collapse"));
|
|
9
9
|
const ExpanderPanel = props => {
|
|
10
|
-
const { bsStyle, className, iconLeft, title, headerClassName, titleClassName, bodyClassName, mountOnEnter, unmountOnExit, onEnter, onEntering, onEntered, onExit, onExiting, onExited, children, onToggle, open } = props, remainingProps = tslib_1.__rest(props, ["bsStyle", "className", "iconLeft", "title", "headerClassName", "titleClassName", "bodyClassName", "mountOnEnter", "unmountOnExit", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "children", "onToggle", "open"]);
|
|
10
|
+
const { bsStyle, className, iconLeft, title, headerClassName, titleClassName, bodyClassName, iconClassName, mountOnEnter, unmountOnExit, onEnter, onEntering, onEntered, onExit, onExiting, onExited, children, onToggle, open } = props, remainingProps = tslib_1.__rest(props, ["bsStyle", "className", "iconLeft", "title", "headerClassName", "titleClassName", "bodyClassName", "iconClassName", "mountOnEnter", "unmountOnExit", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "children", "onToggle", "open"]);
|
|
11
11
|
const [isOpen, setIsOpen] = (0, react_1.useState)(open);
|
|
12
12
|
// Update internal state from external prop change
|
|
13
13
|
(0, react_1.useEffect)(() => {
|
|
@@ -19,7 +19,7 @@ const ExpanderPanel = props => {
|
|
|
19
19
|
onToggle(newState);
|
|
20
20
|
};
|
|
21
21
|
const wrapperClassNames = (0, classnames_1.default)('expander-panel panel', `panel-${bsStyle}`, className);
|
|
22
|
-
const iconClassNames = (0, classnames_1.default)('expander-icon', 'rioglyph', 'rioglyph-chevron-down');
|
|
22
|
+
const iconClassNames = (0, classnames_1.default)('expander-icon', iconClassName, 'rioglyph', 'rioglyph-chevron-down');
|
|
23
23
|
const headerClassNames = (0, classnames_1.default)('panel-heading', isOpen && 'open', iconLeft && 'icon-left', headerClassName && headerClassName);
|
|
24
24
|
const titleClassNames = (0, classnames_1.default)('title', titleClassName && titleClassName);
|
|
25
25
|
const bodyClassNames = (0, classnames_1.default)('panel-body', bodyClassName && bodyClassName);
|
|
@@ -44,6 +44,7 @@ ExpanderPanel.propTypes = {
|
|
|
44
44
|
className: prop_types_1.default.string,
|
|
45
45
|
headerClassName: prop_types_1.default.string,
|
|
46
46
|
titleClassName: prop_types_1.default.string,
|
|
47
|
+
iconClassName: prop_types_1.default.string,
|
|
47
48
|
bodyClassName: prop_types_1.default.string,
|
|
48
49
|
title: prop_types_1.default.oneOfType([prop_types_1.default.string, prop_types_1.default.node]).isRequired,
|
|
49
50
|
bsStyle: prop_types_1.default.oneOf([
|
|
@@ -1 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type TriggerFunction = (
|
|
3
|
+
/**
|
|
4
|
+
* The message to be shown.
|
|
5
|
+
*/
|
|
6
|
+
message: string | React.ReactNode,
|
|
7
|
+
/**
|
|
8
|
+
* The title to be shown.
|
|
9
|
+
*/
|
|
10
|
+
title?: string | React.ReactNode,
|
|
11
|
+
/**
|
|
12
|
+
* The popup timeout in milliseconds.
|
|
13
|
+
*
|
|
14
|
+
* If you do not want it to automatically disappear you can define a very high timeOut.
|
|
15
|
+
*/
|
|
16
|
+
timeOut?: number,
|
|
17
|
+
/**
|
|
18
|
+
* A function that gets invoked when the notification is clicked.
|
|
19
|
+
*/
|
|
20
|
+
callback?: VoidFunction,
|
|
21
|
+
/**
|
|
22
|
+
* If true, the message gets inserted at the top of the notification stack.
|
|
23
|
+
*/
|
|
24
|
+
priority?: boolean) => void;
|
|
25
|
+
type NotificationTypeStub = {
|
|
26
|
+
success: TriggerFunction;
|
|
27
|
+
info: TriggerFunction;
|
|
28
|
+
warning: TriggerFunction;
|
|
29
|
+
error: TriggerFunction;
|
|
30
|
+
};
|
|
31
|
+
declare const _default: NotificationTypeStub;
|
|
32
|
+
export default _default;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// @ts-ignore-next-line importsNotUsedAsValues
|
|
4
|
+
require("react");
|
|
5
|
+
// @ts-ignore-next-line 7016
|
|
3
6
|
const react_notifications_1 = require("react-notifications");
|
|
4
|
-
// TODO: implement: if callback + missing time => sticky
|
|
5
|
-
//const STICKY_TIME = 10000;
|
|
6
7
|
exports.default = react_notifications_1.NotificationManager;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
+
export type NotificationsContainerProps = {
|
|
2
|
+
/**
|
|
3
|
+
* Defines whether the notification are stacked.
|
|
4
|
+
*/
|
|
5
|
+
stacked?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const NotificationsContainer: ({ stacked }: NotificationsContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
8
|
export default NotificationsContainer;
|
|
2
|
-
declare function NotificationsContainer({ stacked }: {
|
|
3
|
-
stacked: any;
|
|
4
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare namespace NotificationsContainer {
|
|
6
|
-
namespace defaultProps {
|
|
7
|
-
const stacked: boolean;
|
|
8
|
-
}
|
|
9
|
-
namespace propTypes {
|
|
10
|
-
const stacked_1: PropTypes.Requireable<boolean>;
|
|
11
|
-
export { stacked_1 as stacked };
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
import PropTypes from "prop-types";
|
|
@@ -2,18 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
|
|
6
|
-
const prop_types_1 = tslib_1.__importDefault(require("prop-types"));
|
|
5
|
+
require("react");
|
|
7
6
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
7
|
+
// @ts-ignore-next-line 7016
|
|
8
8
|
const react_notifications_1 = require("react-notifications");
|
|
9
9
|
const NotificationsContainer = ({ stacked }) => {
|
|
10
10
|
const wrapperClasses = (0, classnames_1.default)('notification-container-wrapper', stacked && 'stacked');
|
|
11
11
|
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: wrapperClasses }, { children: (0, jsx_runtime_1.jsx)(react_notifications_1.NotificationContainer, {}) })));
|
|
12
12
|
};
|
|
13
|
-
NotificationsContainer.defaultProps = {
|
|
14
|
-
stacked: false,
|
|
15
|
-
};
|
|
16
|
-
NotificationsContainer.propTypes = {
|
|
17
|
-
stacked: prop_types_1.default.bool,
|
|
18
|
-
};
|
|
19
13
|
exports.default = NotificationsContainer;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TextAlignment } from '../../values/TextAlignment';
|
|
3
|
+
import type { StateButtonProps } from './StateButton';
|
|
4
|
+
import type { StateIconProps } from './StateIcon';
|
|
5
|
+
export type BaseStateProps = {
|
|
6
|
+
/**
|
|
7
|
+
* The icon to be shown.
|
|
8
|
+
*
|
|
9
|
+
* Default icons are defined for all states.
|
|
10
|
+
*/
|
|
11
|
+
icon?: string;
|
|
12
|
+
/**
|
|
13
|
+
* List of icons to show instead a single icon.
|
|
14
|
+
*
|
|
15
|
+
* @default []
|
|
16
|
+
*/
|
|
17
|
+
icons?: StateIconProps[];
|
|
18
|
+
/**
|
|
19
|
+
* Custom Image if needed.
|
|
20
|
+
*/
|
|
21
|
+
image?: React.ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* The headline to be shown.
|
|
24
|
+
*/
|
|
25
|
+
headline?: string | React.ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* The text to display.
|
|
28
|
+
*/
|
|
29
|
+
message?: string | React.ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Definitions for the buttons to show.
|
|
32
|
+
*
|
|
33
|
+
* @default []
|
|
34
|
+
*/
|
|
35
|
+
buttons?: StateButtonProps[];
|
|
36
|
+
/**
|
|
37
|
+
* Defines whether to use 100% width or default width.
|
|
38
|
+
*
|
|
39
|
+
* Note: Only to be used for special cases on the CustomState component.
|
|
40
|
+
*
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
fullWidth?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Smaller icon and headline size.
|
|
46
|
+
*
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
condensed?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Defines where the panel is aligned.
|
|
52
|
+
*
|
|
53
|
+
* Possible values are: 'left', 'center' and 'right'.
|
|
54
|
+
*
|
|
55
|
+
* @default 'center'
|
|
56
|
+
*/
|
|
57
|
+
alignment?: TextAlignment;
|
|
58
|
+
/**
|
|
59
|
+
* Optional class names for the wrapper.
|
|
60
|
+
*/
|
|
61
|
+
outerClassName?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Optional class names for the content.
|
|
64
|
+
*/
|
|
65
|
+
innerClassName?: string;
|
|
66
|
+
};
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
|
+
import type { BaseStateProps } from './BaseStateProps';
|
|
3
|
+
export type CustomStateProps = BaseStateProps;
|
|
4
|
+
declare const CustomState: (props: PropsWithChildren<CustomStateProps>) => import("react/jsx-runtime").JSX.Element;
|
|
1
5
|
export default CustomState;
|
|
2
|
-
declare function CustomState(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace CustomState {
|
|
4
|
-
export namespace defaultProps {
|
|
5
|
-
export const icon: string;
|
|
6
|
-
export const icons: never[];
|
|
7
|
-
export const buttons: never[];
|
|
8
|
-
export { ALIGN_CENTER as alignment };
|
|
9
|
-
export const fullWidth: boolean;
|
|
10
|
-
export const condensed: boolean;
|
|
11
|
-
}
|
|
12
|
-
export { baseStatePropTypes as propTypes };
|
|
13
|
-
}
|
|
14
|
-
import { ALIGN_CENTER } from "./baseStatePropTypes";
|
|
15
|
-
import { baseStatePropTypes } from "./baseStatePropTypes";
|