cecomponent 1.0.100 → 1.0.101
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/ce-component-lib.css +1 -1
- package/dist/ce-component-lib.js +40 -40
- package/dist/ce-component-lib.mjs +78 -55
- package/dist/components/Common/CECharts/CEActivityGauges.d.ts +15 -0
- package/dist/components/Common/CECharts/CEBarCharts.d.ts +26 -0
- package/dist/components/Common/CECharts/CEBarCharts03.d.ts +0 -0
- package/dist/components/Common/CECharts/CEChartsDemo.d.ts +1 -0
- package/dist/components/Common/CECharts/CELineCharts.d.ts +17 -0
- package/dist/components/Common/CECharts/CELineCharts03.d.ts +15 -0
- package/dist/components/Common/CECharts/CELineCharts04.d.ts +15 -0
- package/dist/components/Common/CECharts/CEPieCharts.d.ts +17 -0
- package/dist/components/Common/CECharts/CEProgressCircles.d.ts +10 -0
- package/dist/components/Common/CECharts/CERadarCharts.d.ts +15 -0
- package/dist/components/Common/CECharts/charts-base.d.ts +35 -0
- package/dist/components/Common/CEToggleGroup/CEToggleYesNo.d.ts +8 -0
- package/dist/components/Common/OperatingDaysSelector/CEOperatingDaysSelector.d.ts +7 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -15469,62 +15469,35 @@ const CloudUploadIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports$1.jsx("p
|
|
|
15469
15469
|
size: s = "medium",
|
|
15470
15470
|
onStepClick: a
|
|
15471
15471
|
}) => {
|
|
15472
|
-
const o = (c) => i.includes(c) ? /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "ce-stepper-icon completed", children: /* @__PURE__ */ jsxRuntimeExports$1.jsxs(
|
|
15473
|
-
"
|
|
15474
|
-
{
|
|
15475
|
-
|
|
15476
|
-
|
|
15477
|
-
|
|
15478
|
-
|
|
15479
|
-
|
|
15480
|
-
|
|
15481
|
-
]
|
|
15482
|
-
}
|
|
15483
|
-
) }) : n.includes(c) ? /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "ce-stepper-icon error", children: /* @__PURE__ */ jsxRuntimeExports$1.jsxs(
|
|
15484
|
-
"svg",
|
|
15472
|
+
const o = (c) => i.includes(c) ? /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "ce-stepper-icon completed", children: /* @__PURE__ */ jsxRuntimeExports$1.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [
|
|
15473
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsx("path", { d: "M0 0h24v24H0z", fill: "none" }),
|
|
15474
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsx("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" })
|
|
15475
|
+
] }) }) : n.includes(c) ? /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "ce-stepper-icon error", children: /* @__PURE__ */ jsxRuntimeExports$1.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: [
|
|
15476
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsx("path", { d: "M0 0h24v24H0z", fill: "none" }),
|
|
15477
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsx("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" })
|
|
15478
|
+
] }) }) : c === t ? /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "ce-stepper-icon current", children: c + 1 }) : /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "ce-stepper-icon future", children: c + 1 }), l = (c) => i.includes(c) ? "completed" : n.includes(c) ? "error" : c === t ? "current" : "future";
|
|
15479
|
+
return /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: `ce-stepper-container ce-stepper-${s}`, children: /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "ce-stepper", children: e.map((c, f) => /* @__PURE__ */ jsxRuntimeExports$1.jsxs(
|
|
15480
|
+
"div",
|
|
15485
15481
|
{
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
15482
|
+
className: `ce-step-wrapper ${l(f)}`,
|
|
15483
|
+
onClick: () => a && a(f),
|
|
15484
|
+
style: { cursor: a ? "pointer" : "default" },
|
|
15489
15485
|
children: [
|
|
15490
|
-
/* @__PURE__ */ jsxRuntimeExports$1.jsx("
|
|
15491
|
-
/* @__PURE__ */ jsxRuntimeExports$1.jsx(
|
|
15492
|
-
|
|
15493
|
-
|
|
15494
|
-
|
|
15495
|
-
|
|
15496
|
-
|
|
15497
|
-
|
|
15498
|
-
{
|
|
15499
|
-
className: l(f),
|
|
15500
|
-
onClick: () => a && a(f),
|
|
15501
|
-
style: { cursor: a ? "pointer" : "default" },
|
|
15502
|
-
children: [
|
|
15503
|
-
o(f),
|
|
15504
|
-
f < e.length - 1 && /* @__PURE__ */ jsxRuntimeExports$1.jsx(
|
|
15505
|
-
"div",
|
|
15506
|
-
{
|
|
15507
|
-
className: `ce-stepper-connector ${i.includes(f) ? "completed" : n.includes(f) ? "error" : ""}`
|
|
15508
|
-
}
|
|
15509
|
-
)
|
|
15510
|
-
]
|
|
15511
|
-
},
|
|
15512
|
-
f
|
|
15513
|
-
)) }),
|
|
15514
|
-
/* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "ce-stepper-labels", children: e.map((c, f) => /* @__PURE__ */ jsxRuntimeExports$1.jsxs(
|
|
15515
|
-
"div",
|
|
15516
|
-
{
|
|
15517
|
-
className: `ce-step-label ${i.includes(f) ? "completed" : n.includes(f) ? "error" : f === t ? "current" : "future"}`,
|
|
15518
|
-
onClick: () => a && a(f),
|
|
15519
|
-
style: { cursor: a ? "pointer" : "default" },
|
|
15520
|
-
children: [
|
|
15486
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "ce-step", children: o(f) }),
|
|
15487
|
+
f < e.length - 1 && /* @__PURE__ */ jsxRuntimeExports$1.jsx(
|
|
15488
|
+
"div",
|
|
15489
|
+
{
|
|
15490
|
+
className: `ce-stepper-connector ${i.includes(f) ? "completed" : n.includes(f) ? "error" : ""}`
|
|
15491
|
+
}
|
|
15492
|
+
),
|
|
15493
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsxs("div", { className: `ce-step-label ${l(f)}`, children: [
|
|
15521
15494
|
/* @__PURE__ */ jsxRuntimeExports$1.jsx("span", { className: "ce-step-text", children: c.label }),
|
|
15522
15495
|
n.includes(f) && c.errorMessage && /* @__PURE__ */ jsxRuntimeExports$1.jsx("span", { className: "ce-step-error-message", children: c.errorMessage })
|
|
15523
|
-
]
|
|
15524
|
-
|
|
15525
|
-
|
|
15526
|
-
|
|
15527
|
-
|
|
15496
|
+
] })
|
|
15497
|
+
]
|
|
15498
|
+
},
|
|
15499
|
+
f
|
|
15500
|
+
)) }) });
|
|
15528
15501
|
}, CECheckBox = ({ label: e, checked: t, onChange: i, disabled: n = !1 }) => {
|
|
15529
15502
|
const s = (a) => {
|
|
15530
15503
|
i(a.target.checked);
|
|
@@ -23996,7 +23969,7 @@ function pad0r(e, t) {
|
|
|
23996
23969
|
function SSF_isgeneral(e, t) {
|
|
23997
23970
|
return t = t || 0, e.length >= 7 + t && (e.charCodeAt(t) | 32) === 103 && (e.charCodeAt(t + 1) | 32) === 101 && (e.charCodeAt(t + 2) | 32) === 110 && (e.charCodeAt(t + 3) | 32) === 101 && (e.charCodeAt(t + 4) | 32) === 114 && (e.charCodeAt(t + 5) | 32) === 97 && (e.charCodeAt(t + 6) | 32) === 108;
|
|
23998
23971
|
}
|
|
23999
|
-
var days = [
|
|
23972
|
+
var days$1 = [
|
|
24000
23973
|
["Sun", "Sunday"],
|
|
24001
23974
|
["Mon", "Monday"],
|
|
24002
23975
|
["Tue", "Tuesday"],
|
|
@@ -24230,9 +24203,9 @@ function SSF_write_date(e, t, i, n) {
|
|
|
24230
24203
|
c = i.d, f = t.length;
|
|
24231
24204
|
break;
|
|
24232
24205
|
case 3:
|
|
24233
|
-
return days[i.q][0];
|
|
24206
|
+
return days$1[i.q][0];
|
|
24234
24207
|
default:
|
|
24235
|
-
return days[i.q][1];
|
|
24208
|
+
return days$1[i.q][1];
|
|
24236
24209
|
}
|
|
24237
24210
|
break;
|
|
24238
24211
|
case 104:
|
|
@@ -54247,6 +54220,54 @@ const CEInputBox$1 = ({
|
|
|
54247
54220
|
]
|
|
54248
54221
|
}
|
|
54249
54222
|
);
|
|
54223
|
+
}, CEToggleYesNo = ({ value: e, onChange: t, label: i }) => /* @__PURE__ */ jsxRuntimeExports$1.jsxs("div", { className: "toggle-container", children: [
|
|
54224
|
+
i && /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "label", children: i }),
|
|
54225
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsxs("div", { className: "toggle-group", children: [
|
|
54226
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsxs(
|
|
54227
|
+
CEButton,
|
|
54228
|
+
{
|
|
54229
|
+
size: "small",
|
|
54230
|
+
variant: e === "yes" ? "primary" : "outlined",
|
|
54231
|
+
className: `toggle-btn ${e === "yes" ? "active" : ""}`,
|
|
54232
|
+
onClick: () => t("yes"),
|
|
54233
|
+
children: [
|
|
54234
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsx("span", { className: "circle" }),
|
|
54235
|
+
"YES"
|
|
54236
|
+
]
|
|
54237
|
+
}
|
|
54238
|
+
),
|
|
54239
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsxs(
|
|
54240
|
+
CEButton,
|
|
54241
|
+
{
|
|
54242
|
+
size: "small",
|
|
54243
|
+
variant: e === "no" ? "primary" : "outlined",
|
|
54244
|
+
className: `toggle-btn ${e === "no" ? "active" : ""}`,
|
|
54245
|
+
onClick: () => t("no"),
|
|
54246
|
+
children: [
|
|
54247
|
+
/* @__PURE__ */ jsxRuntimeExports$1.jsx("span", { className: "circle" }),
|
|
54248
|
+
"NO"
|
|
54249
|
+
]
|
|
54250
|
+
}
|
|
54251
|
+
)
|
|
54252
|
+
] })
|
|
54253
|
+
] }), days = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], CEOperatingDaysSelector = ({
|
|
54254
|
+
selectedDays: e,
|
|
54255
|
+
onChange: t
|
|
54256
|
+
}) => {
|
|
54257
|
+
const i = (n) => {
|
|
54258
|
+
e.includes(n) ? t(e.filter((s) => s !== n)) : t([...e, n]);
|
|
54259
|
+
};
|
|
54260
|
+
return /* @__PURE__ */ jsxRuntimeExports$1.jsx("div", { className: "days-group", children: days.map((n) => /* @__PURE__ */ jsxRuntimeExports$1.jsx(
|
|
54261
|
+
CEButton,
|
|
54262
|
+
{
|
|
54263
|
+
size: "small",
|
|
54264
|
+
variant: e.includes(n) ? "primary" : "outlined",
|
|
54265
|
+
className: `day-btn ${e.includes(n) ? "active" : ""}`,
|
|
54266
|
+
onClick: () => i(n),
|
|
54267
|
+
children: n
|
|
54268
|
+
},
|
|
54269
|
+
n
|
|
54270
|
+
)) });
|
|
54250
54271
|
};
|
|
54251
54272
|
export {
|
|
54252
54273
|
CEAutoSuggestInput,
|
|
@@ -54282,6 +54303,7 @@ export {
|
|
|
54282
54303
|
CEMessageModal,
|
|
54283
54304
|
CECustomModal as CEModalPopUp,
|
|
54284
54305
|
CENotificationButton,
|
|
54306
|
+
CEOperatingDaysSelector,
|
|
54285
54307
|
CEPagination,
|
|
54286
54308
|
CERadioButton,
|
|
54287
54309
|
CERadioButtonGroup as CERadioGroup,
|
|
@@ -54295,6 +54317,7 @@ export {
|
|
|
54295
54317
|
CETabView,
|
|
54296
54318
|
CETemplate,
|
|
54297
54319
|
CETimePicker,
|
|
54320
|
+
CEToggleYesNo,
|
|
54298
54321
|
CETransferButton,
|
|
54299
54322
|
CETruncatedTextWithTooltip,
|
|
54300
54323
|
CEUploadModalWrapper,
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const radialData: {
|
|
2
|
+
name: string;
|
|
3
|
+
value: number;
|
|
4
|
+
className: string;
|
|
5
|
+
}[];
|
|
6
|
+
interface CEActivityGaugeProps {
|
|
7
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
8
|
+
title?: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
data?: typeof radialData;
|
|
11
|
+
className?: string;
|
|
12
|
+
showLegend?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const CEActivityGauge: ({ size, title, subtitle, data, className, showLegend, }: CEActivityGaugeProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const barData: {
|
|
2
|
+
month: Date;
|
|
3
|
+
A: number;
|
|
4
|
+
B: number;
|
|
5
|
+
C: number;
|
|
6
|
+
}[];
|
|
7
|
+
interface CEBarChartProps {
|
|
8
|
+
data?: typeof barData;
|
|
9
|
+
className?: string;
|
|
10
|
+
colors?: Record<string, string>;
|
|
11
|
+
showLegend?: boolean;
|
|
12
|
+
showGrid?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const CEBarChart: ({ data, className, colors, showLegend, showGrid, }: CEBarChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
interface CEBarChart02Props {
|
|
16
|
+
data?: Array<{
|
|
17
|
+
A: number;
|
|
18
|
+
B: number;
|
|
19
|
+
date: string;
|
|
20
|
+
}>;
|
|
21
|
+
className?: string;
|
|
22
|
+
colors?: Record<string, string>;
|
|
23
|
+
showGrid?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare const CEBarChart02: ({ data, className, colors, showGrid, }: CEBarChart02Props) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CEChartsDemo: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const lineData: {
|
|
2
|
+
date: Date;
|
|
3
|
+
A: number;
|
|
4
|
+
B: number;
|
|
5
|
+
C: number;
|
|
6
|
+
}[];
|
|
7
|
+
interface CELineChartProps {
|
|
8
|
+
data?: typeof lineData;
|
|
9
|
+
height?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
colors?: Record<string, string>;
|
|
12
|
+
showLegend?: boolean;
|
|
13
|
+
showGrid?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const CELineChart: ({ data, className, colors, showLegend, showGrid, }: Omit<CELineChartProps, "height">) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const CELineChart02: ({ data, className, colors, showLegend, showGrid, }: Omit<CELineChartProps, "height">) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const lineData: {
|
|
2
|
+
date: Date;
|
|
3
|
+
A: number;
|
|
4
|
+
B: number;
|
|
5
|
+
C: number;
|
|
6
|
+
}[];
|
|
7
|
+
interface CELineChart03Props {
|
|
8
|
+
data?: typeof lineData;
|
|
9
|
+
className?: string;
|
|
10
|
+
colors?: Record<string, string>;
|
|
11
|
+
showLegend?: boolean;
|
|
12
|
+
showGrid?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const CELineChart03: ({ data, className, colors, showLegend, showGrid, }: CELineChart03Props) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const lineData: {
|
|
2
|
+
date: Date;
|
|
3
|
+
A: number;
|
|
4
|
+
B: number;
|
|
5
|
+
C: number;
|
|
6
|
+
}[];
|
|
7
|
+
interface CELineChart04Props {
|
|
8
|
+
data?: typeof lineData;
|
|
9
|
+
className?: string;
|
|
10
|
+
colors?: Record<string, string>;
|
|
11
|
+
showLegend?: boolean;
|
|
12
|
+
showGrid?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const CELineChart04: ({ data, className, colors, showLegend, showGrid, }: CELineChart04Props) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const pieChartData: {
|
|
2
|
+
name: string;
|
|
3
|
+
value: number;
|
|
4
|
+
className: string;
|
|
5
|
+
}[];
|
|
6
|
+
interface CEPieChartProps {
|
|
7
|
+
data?: typeof pieChartData;
|
|
8
|
+
size?: "xxs" | "xs" | "sm" | "md" | "lg";
|
|
9
|
+
className?: string;
|
|
10
|
+
showLegend?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const CEPieChart: ({ data, size, className, showLegend, }: CEPieChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
interface CEDonutChartProps extends CEPieChartProps {
|
|
14
|
+
donut?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const CEDonutChart: ({ data, size, className, showLegend, donut, }: CEDonutChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface CEProgressCircleProps {
|
|
2
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
3
|
+
title?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
value?: number;
|
|
6
|
+
maxValue?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const CEProgressCircle: ({ size, title, subtitle, value, maxValue, className, }: CEProgressCircleProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const radarData: {
|
|
2
|
+
subject: string;
|
|
3
|
+
A: number;
|
|
4
|
+
B: number;
|
|
5
|
+
C: number;
|
|
6
|
+
}[];
|
|
7
|
+
interface CERadarChartProps {
|
|
8
|
+
data?: typeof radarData;
|
|
9
|
+
className?: string;
|
|
10
|
+
colors?: Record<string, string>;
|
|
11
|
+
showLegend?: boolean;
|
|
12
|
+
showGrid?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const CERadarChart: ({ data, className, colors, showLegend, showGrid, }: CERadarChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { TooltipProps } from 'recharts';
|
|
2
|
+
import { Props as LegendContentProps } from 'recharts/types/component/DefaultLegendContent';
|
|
3
|
+
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
4
|
+
import { Props as DotProps } from 'recharts/types/shape/Dot';
|
|
5
|
+
/**
|
|
6
|
+
* Selects evenly spaced items from an array. Used for rendering
|
|
7
|
+
* certain number of x-axis labels.
|
|
8
|
+
* @param dataArray - The array of items to select from.
|
|
9
|
+
* @param count - The number of items to select.
|
|
10
|
+
* @returns The selected items.
|
|
11
|
+
*/
|
|
12
|
+
export declare const selectEvenlySpacedItems: <T extends readonly unknown[]>(dataArray: T, count: number) => Array<T[number]>;
|
|
13
|
+
interface ChartLegendContentProps extends LegendContentProps {
|
|
14
|
+
reversed?: boolean;
|
|
15
|
+
className?: string;
|
|
16
|
+
align?: "left" | "center" | "right";
|
|
17
|
+
}
|
|
18
|
+
export declare const ChartLegendContent: ({ payload, verticalAlign, reversed, className, align, }: ChartLegendContentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
19
|
+
interface ChartTooltipContentProps extends TooltipProps<ValueType, NameType> {
|
|
20
|
+
isRadialChart?: boolean;
|
|
21
|
+
isPieChart?: boolean;
|
|
22
|
+
formatter?: (value: ValueType, name: NameType, props: any, index: number, payload: any) => [string | number | (string | number)[], string?];
|
|
23
|
+
labelFormatter?: (label: any, payload: any) => string;
|
|
24
|
+
}
|
|
25
|
+
export declare const ChartTooltipContent: ({ active, payload, label, isRadialChart, isPieChart, formatter, labelFormatter, }: ChartTooltipContentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
interface ChartActiveDotProps extends DotProps {
|
|
27
|
+
cx?: number;
|
|
28
|
+
cy?: number;
|
|
29
|
+
}
|
|
30
|
+
export declare const ChartActiveDot: ({ cx, cy }: ChartActiveDotProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
/**
|
|
32
|
+
* Hook to detect breakpoints (simplified version)
|
|
33
|
+
*/
|
|
34
|
+
export declare const useBreakpoint: (size: "sm" | "md" | "lg" | "xl") => boolean;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type OperatingDaysSelectorProps = {
|
|
3
|
+
selectedDays: string[];
|
|
4
|
+
onChange: (days: string[]) => void;
|
|
5
|
+
};
|
|
6
|
+
declare const CEOperatingDaysSelector: React.FC<OperatingDaysSelectorProps>;
|
|
7
|
+
export default CEOperatingDaysSelector;
|
package/dist/index.d.ts
CHANGED
|
@@ -49,3 +49,5 @@ export { default as CEChatbox } from './components/Common/CEChatbox/CEChatbox';
|
|
|
49
49
|
export { default as CEStatusDropdown } from './components/Common/StatusDropDown/CEStatusDropdown';
|
|
50
50
|
export { default as CETruncatedTextWithTooltip } from './components/Common/DataGrid/CETruncatedTextWithTooltip';
|
|
51
51
|
export { default as CESkeletonTable } from './components/Common/DataGrid/CESkeletonTable';
|
|
52
|
+
export { default as CEToggleYesNo } from './components/Common/CEToggleGroup/CEToggleYesNo';
|
|
53
|
+
export { default as CEOperatingDaysSelector } from './components/Common/OperatingDaysSelector/CEOperatingDaysSelector';
|
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.101",
|
|
5
5
|
"main": "dist/ce-component-lib.js",
|
|
6
6
|
"module": "dist/ce-component-lib.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|