@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.
@@ -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';