@cloudtower/eagle 0.32.28 → 0.32.30
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/coreX/Show/index.js +20 -0
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +3031 -3032
- package/dist/esm/coreX/Show/index.js +14 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/stats1.html +1 -1
- package/dist/src/coreX/Show/index.d.ts +3 -0
- package/dist/src/coreX/Show/show.type.d.ts +13 -0
- package/dist/src/coreX/index.d.ts +1 -0
- package/dist/stories/docs/coreX/Show.stories.d.ts +31 -0
- package/dist/style.css +2302 -2302
- package/package.json +4 -4
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
|
|
3
|
+
const Show = ({
|
|
4
|
+
condition,
|
|
5
|
+
children,
|
|
6
|
+
fallback
|
|
7
|
+
}) => {
|
|
8
|
+
if (typeof condition === "function") {
|
|
9
|
+
condition = condition();
|
|
10
|
+
}
|
|
11
|
+
return condition ? /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, children) : fallback != null ? fallback : /* @__PURE__ */ React__default.createElement(React__default.Fragment, null);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { Show };
|
package/dist/esm/index.js
CHANGED
|
@@ -134,6 +134,7 @@ export { default as AbsoluteDate } from './coreX/DateRangePicker/AbsoluteDate.js
|
|
|
134
134
|
export { default as DateRangePickerCalendar } from './coreX/DateRangePicker/Calendar.js';
|
|
135
135
|
export { default as InputTime } from './coreX/DateRangePicker/InputTime.js';
|
|
136
136
|
export { default as RelativeTime } from './coreX/DateRangePicker/RelativeTime.js';
|
|
137
|
+
export { Show } from './coreX/Show/index.js';
|
|
137
138
|
export { Animation, Keyframes } from './styles/token/animation.js';
|
|
138
139
|
export { Color } from './styles/token/color.js';
|
|
139
140
|
export { zIndices } from './styles/token/zIndices.js';
|