cecomponent 1.0.110 → 1.0.112
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.
|
@@ -54439,7 +54439,16 @@ const CEInputBox$1 = ({
|
|
|
54439
54439
|
},
|
|
54440
54440
|
n
|
|
54441
54441
|
)) });
|
|
54442
|
-
}
|
|
54442
|
+
}, CERoundTabNav = ({ tabs: e, activeTab: t, onTabClick: i, tabBarBgColor: n, tabBarItemBgColor: s }) => /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "om-om-radiusTab-bar-nwo", style: { backgroundColor: n || "#6fb744" }, children: e.map((a) => /* @__PURE__ */ jsxRuntimeExports$1.jsx(
|
|
54443
|
+
"div",
|
|
54444
|
+
{
|
|
54445
|
+
className: `om-radiusTab-item-nwo ${a.value === t ? "active" : ""}`,
|
|
54446
|
+
onClick: (o) => i(a.value, o),
|
|
54447
|
+
style: { backgroundColor: a.value === t ? s || "#ebebf0" : "" },
|
|
54448
|
+
children: a.label
|
|
54449
|
+
},
|
|
54450
|
+
a.value
|
|
54451
|
+
)) });
|
|
54443
54452
|
export {
|
|
54444
54453
|
CEAutoSuggestInput,
|
|
54445
54454
|
CEAvatarMenu,
|
|
@@ -54479,6 +54488,7 @@ export {
|
|
|
54479
54488
|
CERadioButton,
|
|
54480
54489
|
CERadioButtonGroup as CERadioGroup,
|
|
54481
54490
|
CERichTextEditor,
|
|
54491
|
+
CERoundTabNav,
|
|
54482
54492
|
CESearchBar,
|
|
54483
54493
|
CESearchButton,
|
|
54484
54494
|
CESkeletonTable,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface TabItem {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
interface TabsProps {
|
|
7
|
+
tabs: TabItem[];
|
|
8
|
+
activeTab: string;
|
|
9
|
+
onTabClick: (value: string, e: React.MouseEvent) => void;
|
|
10
|
+
tabBarBgColor?: string;
|
|
11
|
+
tabBarItemBgColor?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const CERoundTabNav: React.FC<TabsProps>;
|
|
14
|
+
export default CERoundTabNav;
|
package/dist/index.d.ts
CHANGED
|
@@ -51,3 +51,4 @@ export { default as CETruncatedTextWithTooltip } from './components/Common/DataG
|
|
|
51
51
|
export { default as CESkeletonTable } from './components/Common/DataGrid/CESkeletonTable';
|
|
52
52
|
export { default as CEToggleYesNo } from './components/Common/CEToggleGroup/CEToggleYesNo';
|
|
53
53
|
export { default as CEOperatingDaysSelector } from './components/Common/OperatingDaysSelector/CEOperatingDaysSelector';
|
|
54
|
+
export { default as CERoundTabNav } from './components/Common/CERadiusTabNavigation/CERoundTabNav';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cecomponent",
|
|
3
3
|
"description": "A React component library for building modern UIs for Cleanearth",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.112",
|
|
5
5
|
"main": "dist/ce-component-lib.js",
|
|
6
6
|
"module": "dist/ce-component-lib.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|