jcicl 1.0.24 → 1.0.26
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/SiteBanner/SiteBanner.d.ts +6 -0
- package/SiteBanner/SiteBanner.js +28 -0
- package/SiteBanner/index.d.ts +1 -0
- package/SiteBanner/index.js +4 -0
- package/Table/Table.d.ts +9 -0
- package/Table/Table.js +309 -250
- package/Timer/Timer.d.ts +8 -1
- package/Timer/Timer.js +67 -42
- package/index.d.ts +1 -0
- package/index.js +26 -24
- package/package.json +1 -1
- package/utils.js +13 -12
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { n as t } from "../.chunks/emotion-styled.browser.esm.js";
|
|
3
|
+
import n from "../theme.js";
|
|
4
|
+
import { useThemeColors as i } from "../ThemeContext.js";
|
|
5
|
+
const a = t.div(({ backgroundColor: o }) => ({
|
|
6
|
+
width: "100%",
|
|
7
|
+
padding: "13px 0",
|
|
8
|
+
backgroundColor: o,
|
|
9
|
+
boxShadow: n.boxShadows.gray63,
|
|
10
|
+
display: "flex",
|
|
11
|
+
alignItems: "center",
|
|
12
|
+
justifyContent: "center",
|
|
13
|
+
boxSizing: "border-box"
|
|
14
|
+
})), s = t.span({
|
|
15
|
+
color: n.colors.white,
|
|
16
|
+
fontFamily: "Roboto, sans-serif",
|
|
17
|
+
fontSize: "19px",
|
|
18
|
+
fontWeight: 500,
|
|
19
|
+
textAlign: "center",
|
|
20
|
+
textShadow: "0px 0px 5px rgba(0, 0, 0, 0.5)"
|
|
21
|
+
}), c = ({ text: o }) => {
|
|
22
|
+
const r = i();
|
|
23
|
+
return /* @__PURE__ */ e(a, { backgroundColor: r.themeColor, children: /* @__PURE__ */ e(s, { children: o }) });
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
c as SiteBanner,
|
|
27
|
+
c as default
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, type SiteBannerProps } from './SiteBanner';
|
package/Table/Table.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Interface for components that support table value extraction via ref
|
|
4
|
+
*/
|
|
5
|
+
export interface TableValueHandle {
|
|
6
|
+
getTableValue: () => string | number;
|
|
7
|
+
}
|
|
2
8
|
export interface TableProps {
|
|
3
9
|
data: Record<string, any>[];
|
|
4
10
|
columnTitles?: Record<string, string>;
|
|
@@ -11,6 +17,9 @@ export interface TableProps {
|
|
|
11
17
|
direction: 'asc' | 'desc';
|
|
12
18
|
};
|
|
13
19
|
extraActions?: React.ReactNode;
|
|
20
|
+
notSearchableColumns?: string[];
|
|
21
|
+
notSortableColumns?: string[];
|
|
22
|
+
notExportableColumns?: string[];
|
|
14
23
|
}
|
|
15
24
|
declare const DataTable: React.FC<TableProps>;
|
|
16
25
|
export default DataTable;
|