@digigov/ui 0.12.0 → 0.13.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/CHANGELOG.md +22 -1
- package/app/i18n.js +9 -3
- package/core/Button/index.js +4 -3
- package/core/Divider/index.d.ts +1 -1
- package/core/ServiceBadge/index.js +1 -1
- package/core/index.d.ts +3 -0
- package/core/index.js +28 -0
- package/es/app/i18n.js +9 -3
- package/es/core/Button/index.js +4 -3
- package/es/core/ServiceBadge/index.js +1 -1
- package/es/core/index.js +4 -1
- package/esm/app/i18n.js +9 -3
- package/esm/core/Button/index.js +4 -3
- package/esm/core/ServiceBadge/index.js +1 -1
- package/esm/core/index.js +4 -1
- package/esm/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
# Change Log - @digigov/ui
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 01 Mar 2022 10:56:06 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.13.0
|
|
6
|
+
Tue, 01 Mar 2022 10:56:06 GMT
|
|
7
|
+
|
|
8
|
+
### Minor changes
|
|
9
|
+
|
|
10
|
+
- remove unnecessary ";" from ServiceBadge
|
|
11
|
+
|
|
12
|
+
## 0.12.2
|
|
13
|
+
Fri, 25 Feb 2022 12:45:57 GMT
|
|
14
|
+
|
|
15
|
+
### Patches
|
|
16
|
+
|
|
17
|
+
- fix defaultTranslate func to return the translated text
|
|
18
|
+
|
|
19
|
+
## 0.12.1
|
|
20
|
+
Thu, 24 Feb 2022 14:51:06 GMT
|
|
21
|
+
|
|
22
|
+
### Patches
|
|
23
|
+
|
|
24
|
+
- comment out variant prop in Button, add Table and Button in index for exporting
|
|
4
25
|
|
|
5
26
|
## 0.12.0
|
|
6
27
|
Wed, 16 Feb 2022 12:49:28 GMT
|
package/app/i18n.js
CHANGED
|
@@ -19,9 +19,15 @@ var _excluded = ["t", "children"];
|
|
|
19
19
|
|
|
20
20
|
var defaultTranslate = function defaultTranslate(key) {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
return locale
|
|
24
|
-
|
|
22
|
+
if (key.split('.').length > 0) {
|
|
23
|
+
return key.split('.').reduce(function (locale, path) {
|
|
24
|
+
return locale[path] ? locale[path] : key;
|
|
25
|
+
}, _el["default"]);
|
|
26
|
+
} else if (_el["default"][key]) {
|
|
27
|
+
return _el["default"][key];
|
|
28
|
+
} else {
|
|
29
|
+
return key;
|
|
30
|
+
}
|
|
25
31
|
} catch (err) {
|
|
26
32
|
console.error("Translation key `".concat(key, "` not found"));
|
|
27
33
|
return key;
|
package/core/Button/index.js
CHANGED
|
@@ -95,9 +95,10 @@ var Button = (0, _withDeprecation["default"])(_Button["default"], {
|
|
|
95
95
|
href: {
|
|
96
96
|
error: 'To use a button with a link import ButtonLink instead'
|
|
97
97
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
|
|
99
|
+
/* variant: {
|
|
100
|
+
error: true,
|
|
101
|
+
}, */
|
|
101
102
|
size: {
|
|
102
103
|
error: true
|
|
103
104
|
},
|
package/core/Divider/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SectionBreakProps as CoreSectionBreakProps } from '@digigov/react-core/SectionBreak';
|
|
3
3
|
export declare type SectionBreakProps = CoreSectionBreakProps;
|
|
4
|
-
export declare const SectionBreak: import("react").ForwardRefExoticComponent<Pick<CoreSectionBreakProps, "color" | "className" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "
|
|
4
|
+
export declare const SectionBreak: import("react").ForwardRefExoticComponent<Pick<CoreSectionBreakProps, "color" | "className" | "children" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "size" | "visible"> & import("react").RefAttributes<HTMLHRElement>>;
|
|
5
5
|
export default SectionBreak;
|
|
@@ -26,7 +26,7 @@ var ServiceBadge = (0, _withDeprecation["default"])(function (_ref) {
|
|
|
26
26
|
text = _ref.text,
|
|
27
27
|
children = _ref.children,
|
|
28
28
|
props = (0, _objectWithoutProperties2["default"])(_ref, _excluded);
|
|
29
|
-
return /*#__PURE__*/_react["default"].createElement(_PhaseBanner["default"], props, children ? children : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_PhaseBannerTag["default"], null, label), text && /*#__PURE__*/_react["default"].createElement(_PhaseBannerText["default"], null, text))
|
|
29
|
+
return /*#__PURE__*/_react["default"].createElement(_PhaseBanner["default"], props, children ? children : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_PhaseBannerTag["default"], null, label), text && /*#__PURE__*/_react["default"].createElement(_PhaseBannerText["default"], null, text)));
|
|
30
30
|
}, {
|
|
31
31
|
name: 'ServiceBadge',
|
|
32
32
|
rename: 'PhaseBanner'
|
package/core/index.d.ts
CHANGED
|
@@ -12,3 +12,6 @@ export * from '@digigov/ui/core/ServiceBadge';
|
|
|
12
12
|
export * from '@digigov/ui/core/SummaryList';
|
|
13
13
|
export * from '@digigov/ui/core/Tabs';
|
|
14
14
|
export * from '@digigov/ui/core/NotificationBanner';
|
|
15
|
+
export * from '@digigov/ui/core/Table';
|
|
16
|
+
export * from '@digigov/ui/core/Button';
|
|
17
|
+
export * from '@digigov/ui/core/Divider';
|
package/core/index.js
CHANGED
|
@@ -194,6 +194,34 @@ Object.keys(_NotificationBanner).forEach(function (key) {
|
|
|
194
194
|
});
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
+
var _Table = require("@digigov/ui/core/Table");
|
|
198
|
+
|
|
199
|
+
Object.keys(_Table).forEach(function (key) {
|
|
200
|
+
if (key === "default" || key === "__esModule") return;
|
|
201
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
202
|
+
if (key in exports && exports[key] === _Table[key]) return;
|
|
203
|
+
Object.defineProperty(exports, key, {
|
|
204
|
+
enumerable: true,
|
|
205
|
+
get: function get() {
|
|
206
|
+
return _Table[key];
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
});
|
|
210
|
+
|
|
211
|
+
var _Divider = require("@digigov/ui/core/Divider");
|
|
212
|
+
|
|
213
|
+
Object.keys(_Divider).forEach(function (key) {
|
|
214
|
+
if (key === "default" || key === "__esModule") return;
|
|
215
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
216
|
+
if (key in exports && exports[key] === _Divider[key]) return;
|
|
217
|
+
Object.defineProperty(exports, key, {
|
|
218
|
+
enumerable: true,
|
|
219
|
+
get: function get() {
|
|
220
|
+
return _Divider[key];
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
|
|
197
225
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
198
226
|
|
|
199
227
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
package/es/app/i18n.js
CHANGED
|
@@ -6,9 +6,15 @@ import el from '@digigov/ui/locales/el';
|
|
|
6
6
|
|
|
7
7
|
var defaultTranslate = function defaultTranslate(key) {
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
return locale
|
|
11
|
-
|
|
9
|
+
if (key.split('.').length > 0) {
|
|
10
|
+
return key.split('.').reduce(function (locale, path) {
|
|
11
|
+
return locale[path] ? locale[path] : key;
|
|
12
|
+
}, el);
|
|
13
|
+
} else if (el[key]) {
|
|
14
|
+
return el[key];
|
|
15
|
+
} else {
|
|
16
|
+
return key;
|
|
17
|
+
}
|
|
12
18
|
} catch (err) {
|
|
13
19
|
console.error("Translation key `".concat(key, "` not found"));
|
|
14
20
|
return key;
|
package/es/core/Button/index.js
CHANGED
|
@@ -12,7 +12,7 @@ export var ServiceBadge = withDeprecation(function (_ref) {
|
|
|
12
12
|
children = _ref.children,
|
|
13
13
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
14
|
|
|
15
|
-
return /*#__PURE__*/React.createElement(PhaseBanner, props, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PhaseBannerTag, null, label), text && /*#__PURE__*/React.createElement(PhaseBannerText, null, text))
|
|
15
|
+
return /*#__PURE__*/React.createElement(PhaseBanner, props, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PhaseBannerTag, null, label), text && /*#__PURE__*/React.createElement(PhaseBannerText, null, text)));
|
|
16
16
|
}, {
|
|
17
17
|
name: 'ServiceBadge',
|
|
18
18
|
rename: 'PhaseBanner'
|
package/es/core/index.js
CHANGED
|
@@ -11,4 +11,7 @@ export * from '@digigov/ui/core/NavList';
|
|
|
11
11
|
export * from '@digigov/ui/core/ServiceBadge';
|
|
12
12
|
export * from '@digigov/ui/core/SummaryList';
|
|
13
13
|
export * from '@digigov/ui/core/Tabs';
|
|
14
|
-
export * from '@digigov/ui/core/NotificationBanner';
|
|
14
|
+
export * from '@digigov/ui/core/NotificationBanner';
|
|
15
|
+
export * from '@digigov/ui/core/Table';
|
|
16
|
+
export * from '@digigov/ui/core/Button';
|
|
17
|
+
export * from '@digigov/ui/core/Divider';
|
package/esm/app/i18n.js
CHANGED
|
@@ -6,9 +6,15 @@ import el from '@digigov/ui/locales/el';
|
|
|
6
6
|
|
|
7
7
|
var defaultTranslate = function defaultTranslate(key) {
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
return locale
|
|
11
|
-
|
|
9
|
+
if (key.split('.').length > 0) {
|
|
10
|
+
return key.split('.').reduce(function (locale, path) {
|
|
11
|
+
return locale[path] ? locale[path] : key;
|
|
12
|
+
}, el);
|
|
13
|
+
} else if (el[key]) {
|
|
14
|
+
return el[key];
|
|
15
|
+
} else {
|
|
16
|
+
return key;
|
|
17
|
+
}
|
|
12
18
|
} catch (err) {
|
|
13
19
|
console.error("Translation key `".concat(key, "` not found"));
|
|
14
20
|
return key;
|
package/esm/core/Button/index.js
CHANGED
|
@@ -12,7 +12,7 @@ export var ServiceBadge = withDeprecation(function (_ref) {
|
|
|
12
12
|
children = _ref.children,
|
|
13
13
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
14
14
|
|
|
15
|
-
return /*#__PURE__*/React.createElement(PhaseBanner, props, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PhaseBannerTag, null, label), text && /*#__PURE__*/React.createElement(PhaseBannerText, null, text))
|
|
15
|
+
return /*#__PURE__*/React.createElement(PhaseBanner, props, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PhaseBannerTag, null, label), text && /*#__PURE__*/React.createElement(PhaseBannerText, null, text)));
|
|
16
16
|
}, {
|
|
17
17
|
name: 'ServiceBadge',
|
|
18
18
|
rename: 'PhaseBanner'
|
package/esm/core/index.js
CHANGED
|
@@ -11,4 +11,7 @@ export * from '@digigov/ui/core/NavList';
|
|
|
11
11
|
export * from '@digigov/ui/core/ServiceBadge';
|
|
12
12
|
export * from '@digigov/ui/core/SummaryList';
|
|
13
13
|
export * from '@digigov/ui/core/Tabs';
|
|
14
|
-
export * from '@digigov/ui/core/NotificationBanner';
|
|
14
|
+
export * from '@digigov/ui/core/NotificationBanner';
|
|
15
|
+
export * from '@digigov/ui/core/Table';
|
|
16
|
+
export * from '@digigov/ui/core/Button';
|
|
17
|
+
export * from '@digigov/ui/core/Divider';
|
package/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "@digigov reusable components toolkit",
|
|
5
5
|
"module": "./esm/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"clsx": "1.1.1",
|
|
19
19
|
"react": "16.14.0",
|
|
20
20
|
"react-dom": "16.14.0",
|
|
21
|
-
"@digigov/react-core": "0.6.
|
|
21
|
+
"@digigov/react-core": "0.6.2"
|
|
22
22
|
},
|
|
23
23
|
"gitHead": "c903a46306f77f55ad7fc4d2e274006f39a6c871",
|
|
24
24
|
"private": false,
|