@cloudtower/eagle 0.33.19 → 0.33.20
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/core/BasicCTError/BasicCTError.style.js +5 -0
- package/dist/cjs/core/{CTModalFooterError → BasicCTError}/index.js +4 -10
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +1424 -1424
- package/dist/esm/core/BasicCTError/BasicCTError.style.js +3 -0
- package/dist/esm/core/{CTModalFooterError → BasicCTError}/index.js +4 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/stats1.html +1 -1
- package/dist/linaria.merged.scss +1486 -1486
- package/dist/src/core/BasicCTError/BasicCTError.style.d.ts +1 -0
- package/dist/src/core/{CTModalFooterError/CTModalFooterError.type.d.ts → BasicCTError/BasicCTError.type.d.ts} +3 -3
- package/dist/src/core/BasicCTError/index.d.ts +3 -0
- package/dist/src/core/index.d.ts +1 -1
- package/dist/stories/docs/core/{CTModalFooterError.stories.d.ts → BasicCTError.stories.d.ts} +4 -4
- package/dist/style.css +1242 -1242
- package/package.json +4 -4
- package/dist/cjs/core/CTModalFooterError/CTModalFooterError.style.js +0 -5
- package/dist/esm/core/CTModalFooterError/CTModalFooterError.style.js +0 -3
- package/dist/src/core/CTModalFooterError/CTModalFooterError.style.d.ts +0 -1
- package/dist/src/core/CTModalFooterError/index.d.ts +0 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var core = require('@linaria/core');
|
|
5
|
-
var
|
|
5
|
+
var BasicCTError_style = require('./BasicCTError.style.js');
|
|
6
6
|
var index = require('../Typo/index.js');
|
|
7
7
|
var useCTErrorMsg = require('../../hooks/useCTErrorMsg.js');
|
|
8
8
|
var useParrotTranslation = require('../../hooks/useParrotTranslation.js');
|
|
@@ -15,15 +15,9 @@ const defaultErrorContainerRender = ({
|
|
|
15
15
|
children,
|
|
16
16
|
className
|
|
17
17
|
}) => {
|
|
18
|
-
return /* @__PURE__ */ React__default.default.createElement(
|
|
19
|
-
"span",
|
|
20
|
-
{
|
|
21
|
-
className: core.cx(index.Typo.Label.l3_regular, CTModalFooterError_style.CTModalFooterErrorStyle, className)
|
|
22
|
-
},
|
|
23
|
-
children
|
|
24
|
-
);
|
|
18
|
+
return /* @__PURE__ */ React__default.default.createElement("span", { className: core.cx(index.Typo.Label.l3_regular, BasicCTError_style.BasicCTErrorStyle, className) }, children);
|
|
25
19
|
};
|
|
26
|
-
const
|
|
20
|
+
const BasicCTError = (props) => {
|
|
27
21
|
const {
|
|
28
22
|
error,
|
|
29
23
|
className,
|
|
@@ -43,4 +37,4 @@ const CTModalFooterError = (props) => {
|
|
|
43
37
|
return /* @__PURE__ */ React__default.default.createElement(ContainerRender, { className, errorMsgs: msgs, children: child });
|
|
44
38
|
};
|
|
45
39
|
|
|
46
|
-
exports.
|
|
40
|
+
exports.BasicCTError = BasicCTError;
|
package/dist/cjs/index.js
CHANGED
|
@@ -86,7 +86,7 @@ var cascader_style = require('./core/Cascader/cascader.style.js');
|
|
|
86
86
|
var cascader_widget = require('./core/Cascader/cascader.widget.js');
|
|
87
87
|
var index$1a = require('./core/Cascader/index.js');
|
|
88
88
|
var index$1b = require('./core/ConfigProvider/index.js');
|
|
89
|
-
var index$1c = require('./core/
|
|
89
|
+
var index$1c = require('./core/BasicCTError/index.js');
|
|
90
90
|
var ExpandableContainer = require('./core/ExpandableList/ExpandableContainer.js');
|
|
91
91
|
var ExpandableItem = require('./core/ExpandableList/ExpandableItem.js');
|
|
92
92
|
var ExpandIcon = require('./core/ExpandableList/ExpandIcon.js');
|
|
@@ -435,7 +435,7 @@ exports.defaultTagRender = cascader_widget.defaultTagRender;
|
|
|
435
435
|
exports.Cascader = index$1a.Cascader;
|
|
436
436
|
exports.ConfigProvider = index$1b.ConfigProvider;
|
|
437
437
|
exports.useConfig = index$1b.useConfig;
|
|
438
|
-
exports.
|
|
438
|
+
exports.BasicCTError = index$1c.BasicCTError;
|
|
439
439
|
exports.ExpandableContainer = ExpandableContainer;
|
|
440
440
|
exports.ExpandableItem = ExpandableItem;
|
|
441
441
|
exports.ExpandIcon = ExpandIcon;
|