cynx-ui 1.3.22 → 1.3.23

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.
@@ -1,4 +1,4 @@
1
- import { useMemo, useState, useRef } from 'react';
1
+ import { useState, useRef } from 'react';
2
2
 
3
3
  const card = {
4
4
  background: 'var(--surface,#fff)',
@@ -7,64 +7,26 @@ const card = {
7
7
  boxShadow: 'var(--shadow, 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04))',
8
8
  };
9
9
 
10
- const MONTHS = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
11
-
12
- function formatDate(date) {
13
- return `${MONTHS[date.getMonth()]} ${date.getDate()}`;
14
- }
15
-
16
10
  export default function UptimeBar({
17
- title = 'Uptime',
11
+ title,
18
12
  subtitle,
19
- successValues = [],
20
- failedValues = [],
21
- totalSlots = 90,
22
- greenColor = 'var(--success, #27ae60)',
23
- redColor = 'var(--danger, #f64747)',
24
- emptyColor = 'var(--grey-1, #f5f5f8)',
25
- barHeight = 28,
26
- barRadius = 3,
13
+ items = [],
14
+ value,
27
15
  leftLabel,
28
16
  rightLabel,
17
+ legend,
29
18
  showDot = true,
30
- dotColor,
19
+ dotColor = 'var(--success, #27ae60)',
20
+ barHeight = 28,
21
+ barRadius = 3,
22
+ emptyColor = 'var(--grey-1, #f5f5f8)',
31
23
  style,
24
+ renderTooltip,
32
25
  }) {
33
26
  const [hovered, setHovered] = useState(null);
34
27
  const [tooltipPos, setTooltipPos] = useState({ x: 0, y: 0 });
35
28
  const containerRef = useRef(null);
36
29
 
37
- const bars = useMemo(() => {
38
- const len = Math.max(successValues.length, failedValues.length, totalSlots);
39
- const result = [];
40
- const stepS = successValues.length / len;
41
- const stepF = failedValues.length / len;
42
- for (let i = 0; i < len; i++) {
43
- const si = Math.min(Math.floor(i * stepS), successValues.length - 1);
44
- const fi = Math.min(Math.floor(i * stepF), failedValues.length - 1);
45
- const s = successValues[si] || 0;
46
- const f = failedValues[fi] || 0;
47
- result.push({ success: s, failed: f });
48
- }
49
- return result;
50
- }, [successValues, failedValues, totalSlots]);
51
-
52
- const dates = useMemo(() => {
53
- const result = [];
54
- const now = new Date();
55
- for (let i = 0; i < bars.length; i++) {
56
- const d = new Date(now);
57
- d.setDate(d.getDate() - (bars.length - 1 - i));
58
- result.push(d);
59
- }
60
- return result;
61
- }, [bars.length]);
62
-
63
- const totalSuccess = bars.reduce((a, b) => a + b.success, 0);
64
- const totalFailed = bars.reduce((a, b) => a + b.failed, 0);
65
- const totalAll = totalSuccess + totalFailed;
66
- const uptimePercent = totalAll > 0 ? Math.round((totalSuccess / totalAll) * 100) : 100;
67
-
68
30
  function handleMouseEnter(e, idx) {
69
31
  const rect = e.currentTarget.getBoundingClientRect();
70
32
  const containerRect = containerRef.current.getBoundingClientRect();
@@ -75,126 +37,99 @@ export default function UptimeBar({
75
37
  setHovered(idx);
76
38
  }
77
39
 
40
+ // Smart tooltip shift so edge items are never clipped
41
+ const tooltipShift = hovered !== null
42
+ ? (hovered > items.length - 8 ? '-92%' : hovered < 8 ? '-8%' : '-50%')
43
+ : '-50%';
44
+
78
45
  return (
79
46
  <div ref={containerRef} style={{ ...card, padding: '14px 18px 14px', position: 'relative', ...style }}>
80
47
  {/* Header */}
81
- <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 12 }}>
82
- <div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
83
- {showDot && (
84
- <span style={{
85
- width: 8, height: 8, borderRadius: '50%',
86
- background: dotColor || greenColor, flexShrink: 0,
87
- }} />
48
+ {(title || subtitle || (Array.isArray(legend) && legend.length > 0)) && (
49
+ <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginBottom: 12 }}>
50
+ <div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>
51
+ {showDot && (
52
+ <span style={{
53
+ width: 8, height: 8, borderRadius: '50%',
54
+ background: dotColor, flexShrink: 0,
55
+ }} />
56
+ )}
57
+ {title && (
58
+ <span style={{ fontSize: '.78rem', fontWeight: 700, color: 'var(--primary-text, #0f172a)', letterSpacing: '-.01em' }}>
59
+ {title}
60
+ </span>
61
+ )}
62
+ {subtitle && (
63
+ <span style={{ fontSize: '.65rem', color: 'var(--muted, #797b8d)', fontWeight: 500 }}>
64
+ {subtitle}
65
+ </span>
66
+ )}
67
+ </div>
68
+ {/* Legend */}
69
+ {Array.isArray(legend) && legend.length > 0 && (
70
+ <div style={{ display: 'flex', alignItems: 'center', gap: 10 }}>
71
+ {legend.map((item, idx) => (
72
+ <div key={idx} style={{ display: 'flex', alignItems: 'center', gap: 4 }}>
73
+ <span style={{ width: 7, height: 7, borderRadius: 2, background: item.color, flexShrink: 0 }} />
74
+ <span style={{ fontSize: '.55rem', color: 'var(--muted, #797b8d)', fontWeight: 500 }}>{item.label}</span>
75
+ </div>
76
+ ))}
77
+ </div>
88
78
  )}
89
- <span style={{ fontSize: '.78rem', fontWeight: 700, color: 'var(--primary-text, #0f172a)', letterSpacing: '-.01em' }}>{title}</span>
90
- {subtitle && <span style={{ fontSize: '.65rem', color: 'var(--muted, #797b8d)', fontWeight: 500 }}>{subtitle}</span>}
91
- </div>
92
- {/* Legend */}
93
- <div style={{ display: 'flex', alignItems: 'center', gap: 10 }}>
94
- <LegendDot color={greenColor} label="Success" />
95
- <LegendDot color={redColor} label="Failed" />
96
- <LegendDot color={emptyColor} label="None" />
97
79
  </div>
98
- </div>
80
+ )}
99
81
 
100
- {/* Bars */}
82
+ {/* Bars: purely renders precomputed items */}
101
83
  <div style={{ display: 'flex', alignItems: 'flex-end', gap: 2, height: barHeight, marginBottom: 6 }}>
102
- {bars.map((b, i) => {
103
- const total = b.success + b.failed;
104
- const hasData = total > 0;
105
- const successPct = hasData ? (b.success / total) * 100 : 0;
106
- const failedPct = hasData ? (b.failed / total) * 100 : 0;
107
-
108
- return (
109
- <div
110
- key={i}
111
- onMouseEnter={(e) => handleMouseEnter(e, i)}
112
- onMouseLeave={() => setHovered(null)}
113
- style={{
114
- flex: 1,
115
- height: '100%',
116
- borderRadius: barRadius,
117
- overflow: 'hidden',
118
- display: 'flex',
119
- flexDirection: 'column',
120
- background: hasData ? 'transparent' : emptyColor,
121
- }}
122
- >
123
- {hasData && (
124
- <>
125
- {/* Failed on bottom */}
126
- {b.failed > 0 && (
127
- <div style={{ height: `${failedPct}%`, background: redColor, marginTop: 'auto' }} />
128
- )}
129
- {/* Success on top */}
130
- {b.success > 0 && (
131
- <div style={{ height: `${successPct}%`, background: greenColor }} />
132
- )}
133
- </>
134
- )}
135
- </div>
136
- );
137
- })}
84
+ {items.map((item, i) => (
85
+ <div
86
+ key={item.id || i}
87
+ onMouseEnter={(e) => handleMouseEnter(e, i)}
88
+ onMouseLeave={() => setHovered(null)}
89
+ style={{
90
+ flex: 1,
91
+ height: '100%',
92
+ borderRadius: barRadius,
93
+ background: item.color || emptyColor,
94
+ }}
95
+ />
96
+ ))}
138
97
  </div>
139
98
 
140
- {/* Tooltip */}
141
- {hovered !== null && (
99
+ {/* Tooltip: renders caller content only */}
100
+ {hovered !== null && items[hovered] && (renderTooltip || items[hovered].tooltip) && (
142
101
  <div style={{
143
102
  position: 'absolute',
144
103
  left: tooltipPos.x,
145
104
  top: tooltipPos.y,
146
- transform: 'translate(-50%, -100%)',
105
+ transform: `translate(${tooltipShift}, -100%)`,
147
106
  background: 'var(--surface,#fff)',
148
107
  border: '1px solid var(--border, #e2e8f0)',
149
108
  borderRadius: 'var(--rads, 8px)',
150
109
  boxShadow: 'var(--smd, 0 4px 12px rgba(0,0,0,.12))',
151
110
  padding: '8px 12px',
152
111
  pointerEvents: 'none',
153
- zIndex: 100,
112
+ zIndex: 1000,
154
113
  whiteSpace: 'nowrap',
155
114
  }}>
156
- <div style={{ fontSize: '.65rem', color: 'var(--muted, #797b8d)', fontWeight: 500, marginBottom: 4 }}>
157
- {formatDate(dates[hovered])}
158
- </div>
159
- <div style={{ display: 'flex', flexDirection: 'column', gap: 2 }}>
160
- {bars[hovered].success > 0 && (
161
- <div style={{ fontSize: '.7rem', fontWeight: 700, color: greenColor }}>
162
- {bars[hovered].success} success login{bars[hovered].success !== 1 ? 's' : ''}
163
- {bars[hovered].failed > 0 && <span style={{ fontWeight: 500, color: 'var(--muted, #797b8d)' }}> ({Math.round((bars[hovered].success / (bars[hovered].success + bars[hovered].failed)) * 100)}%)</span>}
164
- </div>
165
- )}
166
- {bars[hovered].failed > 0 && (
167
- <div style={{ fontSize: '.7rem', fontWeight: 700, color: redColor }}>
168
- {bars[hovered].failed} failed login{bars[hovered].failed !== 1 ? 's' : ''}
169
- {bars[hovered].success > 0 && <span style={{ fontWeight: 500, color: 'var(--muted, #797b8d)' }}> ({Math.round((bars[hovered].failed / (bars[hovered].success + bars[hovered].failed)) * 100)}%)</span>}
170
- </div>
171
- )}
172
- {bars[hovered].success === 0 && bars[hovered].failed === 0 && (
173
- <div style={{ fontSize: '.7rem', fontWeight: 500, color: 'var(--muted, #797b8d)' }}>
174
- No logins
175
- </div>
176
- )}
177
- </div>
115
+ {renderTooltip
116
+ ? renderTooltip(items[hovered], hovered)
117
+ : typeof items[hovered].tooltip === 'function'
118
+ ? items[hovered].tooltip(items[hovered], hovered)
119
+ : items[hovered].tooltip}
178
120
  </div>
179
121
  )}
180
122
 
181
123
  {/* Footer */}
182
124
  <div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
183
- <span style={{ fontSize: '.58rem', color: 'var(--muted, #797b8d)', fontWeight: 500 }}>{leftLabel || '90 days ago'}</span>
184
- <span style={{ fontSize: '.78rem', fontWeight: 700, color: greenColor, fontFamily: 'var(--mono, ui-monospace, monospace)' }}>
185
- {uptimePercent}%
186
- </span>
187
- <span style={{ fontSize: '.58rem', color: 'var(--muted, #797b8d)', fontWeight: 500 }}>{rightLabel || 'Today'}</span>
125
+ <span style={{ fontSize: '.58rem', color: 'var(--muted, #797b8d)', fontWeight: 500 }}>{leftLabel}</span>
126
+ {value && (
127
+ <span style={{ fontSize: '.78rem', fontWeight: 700, color: dotColor, fontFamily: 'var(--mono, ui-monospace, monospace)' }}>
128
+ {value}
129
+ </span>
130
+ )}
131
+ <span style={{ fontSize: '.58rem', color: 'var(--muted, #797b8d)', fontWeight: 500 }}>{rightLabel}</span>
188
132
  </div>
189
133
  </div>
190
134
  );
191
135
  }
192
-
193
- function LegendDot({ color, label }) {
194
- return (
195
- <div style={{ display: 'flex', alignItems: 'center', gap: 4 }}>
196
- <span style={{ width: 7, height: 7, borderRadius: 2, background: color, flexShrink: 0 }} />
197
- <span style={{ fontSize: '.55rem', color: 'var(--muted, #797b8d)', fontWeight: 500 }}>{label}</span>
198
- </div>
199
- );
200
- }
package/index.js CHANGED
@@ -1,97 +1,97 @@
1
- // cynx-ui — shared component library
2
- import { default as _Button } from './components/Button.jsx';
3
- import { default as _Input } from './components/Input.jsx';
4
- import { default as _Toggle } from './components/Toggle.jsx';
5
- import { default as _Spinner, Spinner as _SpinnerNamed } from './components/Spinner.jsx';
6
- import { default as _TabBar } from './components/TabBar.jsx';
7
- import { default as _ImageUpload } from './components/ImageUpload.jsx';
8
- import { default as _ChipSelect } from './components/ChipSelect.jsx';
9
- import { default as _Checkbox } from './components/Checkbox.jsx';
10
- import { default as _AuthOverlay } from './components/AuthOverlay.jsx';
11
- import { default as _UptimeBar } from './components/UptimeBar.jsx';
12
- import { default as _LinearProgress } from './components/LinearProgress.jsx';
13
- import { default as _StatBarCard } from './components/StatBarCard.jsx';
14
- import { default as _StatsCard } from './components/StatsCard.jsx';
15
- import { default as _ActivityCard } from './components/ActivityCard.jsx';
16
- import { default as _HoverCard } from './components/HoverCard.jsx';
17
- import { default as _StatsBar } from './components/StatsBar.jsx';
18
- import { default as _Select } from './components/Select.jsx';
19
- import { default as _Badge } from './components/Badge.jsx';
20
- import { default as _PulseDot } from './components/PulseDot.jsx';
21
- import { default as _CircularProgress } from './components/CircularProgress.jsx';
22
- import { default as _Skeleton } from './components/Skeleton.jsx';
23
- import { Modal as _Modal, Confirm as _Confirm } from './components/Modal.jsx';
24
- import { toast as _toast, useToast as _useToast, Toast as _Toast } from './components/Toast.jsx';
25
- import { ConfirmRoot as _ConfirmRoot, confirm as _confirm } from './components/Confirm.jsx';
26
- import { Pagination as _Pagination } from './components/Pagination.jsx';
27
- import { DatePicker as _DatePicker } from './components/DatePicker.jsx';
28
- import { TimePicker as _TimePicker } from './components/TimePicker.jsx';
29
- import { ActionsMenu as _ActionsMenu } from './components/ActionsMenu.jsx';
30
- import { BrandingCard as _BrandingCard } from './components/BrandingCard.jsx';
31
- import { Dropzone as _Dropzone } from './components/Dropzone.jsx';
32
- import { Tabs as _Tabs } from './components/Tabs.jsx';
33
- import { SkeletonText as _SkeletonText, SkeletonCard as _SkeletonCard, SkeletonRows as _SkeletonRows, SkeletonStats as _SkeletonStats } from './components/Skeleton.jsx';
34
- import { XTable as _XTable, XThead as _XThead, XTbody as _XTbody, XTr as _XTr, XTh as _XTh, XTd as _XTd, SkeletonTable as _SkeletonTable } from './components/XTable.jsx';
35
- import { PageShell as _PageShell, TableCard as _TableCard, TableCardFilters as _TableCardFilters, TableCardBody as _TableCardBody, TableCardFooter as _TableCardFooter, CardHdr as _CardHdr, StatCard as _StatCard, StatCardSkeleton as _StatCardSkeleton } from './components/Card.jsx';
36
-
37
- import { default as _FilePicker } from './components/FilePicker.jsx';
38
- import { default as _Divider } from './components/Divider.jsx';
39
- import { default as _InfoBadge } from './components/InfoBadge.jsx';
40
-
41
- export const Button = _Button;
42
- export const FilePicker = _FilePicker;
43
- export const Divider = _Divider;
44
- export const InfoBadge = _InfoBadge;
45
- export const Input = _Input;
46
- export const Toggle = _Toggle;
47
- export const Spinner = _Spinner || _SpinnerNamed;
48
- export const TabBar = _TabBar;
49
- export const ImageUpload = _ImageUpload;
50
- export const ChipSelect = _ChipSelect;
51
- export const Checkbox = _Checkbox;
52
- export const AuthOverlay = _AuthOverlay;
53
- export const UptimeBar = _UptimeBar;
54
- export const LinearProgress = _LinearProgress;
55
- export const StatBarCard = _StatBarCard;
56
- export const StatsCard = _StatsCard;
57
- export const ActivityCard = _ActivityCard;
58
- export const HoverCard = _HoverCard;
59
- export const StatsBar = _StatsBar;
60
- export const Select = _Select;
61
- export const Badge = _Badge;
62
- export const PulseDot = _PulseDot;
63
- export const CircularProgress = _CircularProgress;
64
- export const Skeleton = _Skeleton;
65
- export const Modal = _Modal;
66
- export const Confirm = _Confirm;
67
- export const toast = _toast;
68
- export const useToast = _useToast;
69
- export const Toast = _Toast;
70
- export const ConfirmRoot = _ConfirmRoot;
71
- export const confirm = _confirm;
72
- export const Pagination = _Pagination;
73
- export const DatePicker = _DatePicker;
74
- export const TimePicker = _TimePicker;
75
- export const ActionsMenu = _ActionsMenu;
76
- export const BrandingCard = _BrandingCard;
77
- export const Dropzone = _Dropzone;
78
- export const Tabs = _Tabs;
79
- export const SkeletonText = _SkeletonText;
80
- export const SkeletonCard = _SkeletonCard;
81
- export const SkeletonRows = _SkeletonRows;
82
- export const SkeletonStats = _SkeletonStats;
83
- export const XTable = _XTable;
84
- export const XThead = _XThead;
85
- export const XTbody = _XTbody;
86
- export const XTr = _XTr;
87
- export const XTh = _XTh;
88
- export const XTd = _XTd;
89
- export const SkeletonTable = _SkeletonTable;
90
- export const PageShell = _PageShell;
91
- export const TableCard = _TableCard;
92
- export const TableCardFilters = _TableCardFilters;
93
- export const TableCardBody = _TableCardBody;
94
- export const TableCardFooter = _TableCardFooter;
95
- export const CardHdr = _CardHdr;
96
- export const StatCard = _StatCard;
97
- export const StatCardSkeleton = _StatCardSkeleton;
1
+ // cynx-ui — shared component library
2
+ import { default as _Button } from './components/Button.jsx';
3
+ import { default as _Input } from './components/Input.jsx';
4
+ import { default as _Toggle } from './components/Toggle.jsx';
5
+ import { default as _Spinner, Spinner as _SpinnerNamed } from './components/Spinner.jsx';
6
+ import { default as _TabBar } from './components/TabBar.jsx';
7
+ import { default as _ImageUpload } from './components/ImageUpload.jsx';
8
+ import { default as _ChipSelect } from './components/ChipSelect.jsx';
9
+ import { default as _Checkbox } from './components/Checkbox.jsx';
10
+ import { default as _AuthOverlay } from './components/AuthOverlay.jsx';
11
+ import { default as _UptimeBar } from './components/UptimeBar.jsx';
12
+ import { default as _LinearProgress } from './components/LinearProgress.jsx';
13
+ import { default as _StatBarCard } from './components/StatBarCard.jsx';
14
+ import { default as _StatsCard } from './components/StatsCard.jsx';
15
+ import { default as _ActivityCard } from './components/ActivityCard.jsx';
16
+ import { default as _HoverCard } from './components/HoverCard.jsx';
17
+ import { default as _StatsBar } from './components/StatsBar.jsx';
18
+ import { default as _Select } from './components/Select.jsx';
19
+ import { default as _Badge } from './components/Badge.jsx';
20
+ import { default as _PulseDot } from './components/PulseDot.jsx';
21
+ import { default as _CircularProgress } from './components/CircularProgress.jsx';
22
+ import { default as _Skeleton } from './components/Skeleton.jsx';
23
+ import { Modal as _Modal, Confirm as _Confirm } from './components/Modal.jsx';
24
+ import { toast as _toast, useToast as _useToast, Toast as _Toast } from './components/Toast.jsx';
25
+ import { ConfirmRoot as _ConfirmRoot, confirm as _confirm } from './components/Confirm.jsx';
26
+ import { Pagination as _Pagination } from './components/Pagination.jsx';
27
+ import { DatePicker as _DatePicker } from './components/DatePicker.jsx';
28
+ import { TimePicker as _TimePicker } from './components/TimePicker.jsx';
29
+ import { ActionsMenu as _ActionsMenu } from './components/ActionsMenu.jsx';
30
+ import { BrandingCard as _BrandingCard } from './components/BrandingCard.jsx';
31
+ import { Dropzone as _Dropzone } from './components/Dropzone.jsx';
32
+ import { Tabs as _Tabs } from './components/Tabs.jsx';
33
+ import { SkeletonText as _SkeletonText, SkeletonCard as _SkeletonCard, SkeletonRows as _SkeletonRows, SkeletonStats as _SkeletonStats } from './components/Skeleton.jsx';
34
+ import { XTable as _XTable, XThead as _XThead, XTbody as _XTbody, XTr as _XTr, XTh as _XTh, XTd as _XTd, SkeletonTable as _SkeletonTable } from './components/XTable.jsx';
35
+ import { PageShell as _PageShell, TableCard as _TableCard, TableCardFilters as _TableCardFilters, TableCardBody as _TableCardBody, TableCardFooter as _TableCardFooter, CardHdr as _CardHdr, StatCard as _StatCard, StatCardSkeleton as _StatCardSkeleton } from './components/Card.jsx';
36
+
37
+ import { default as _FilePicker } from './components/FilePicker.jsx';
38
+ import { default as _Divider } from './components/Divider.jsx';
39
+ import { default as _InfoBadge } from './components/InfoBadge.jsx';
40
+
41
+ export const Button = _Button;
42
+ export const FilePicker = _FilePicker;
43
+ export const Divider = _Divider;
44
+ export const InfoBadge = _InfoBadge;
45
+ export const Input = _Input;
46
+ export const Toggle = _Toggle;
47
+ export const Spinner = _Spinner || _SpinnerNamed;
48
+ export const TabBar = _TabBar;
49
+ export const ImageUpload = _ImageUpload;
50
+ export const ChipSelect = _ChipSelect;
51
+ export const Checkbox = _Checkbox;
52
+ export const AuthOverlay = _AuthOverlay;
53
+ export const UptimeBar = _UptimeBar;
54
+ export const LinearProgress = _LinearProgress;
55
+ export const StatBarCard = _StatBarCard;
56
+ export const StatsCard = _StatsCard;
57
+ export const ActivityCard = _ActivityCard;
58
+ export const HoverCard = _HoverCard;
59
+ export const StatsBar = _StatsBar;
60
+ export const Select = _Select;
61
+ export const Badge = _Badge;
62
+ export const PulseDot = _PulseDot;
63
+ export const CircularProgress = _CircularProgress;
64
+ export const Skeleton = _Skeleton;
65
+ export const Modal = _Modal;
66
+ export const Confirm = _Confirm;
67
+ export const toast = _toast;
68
+ export const useToast = _useToast;
69
+ export const Toast = _Toast;
70
+ export const ConfirmRoot = _ConfirmRoot;
71
+ export const confirm = _confirm;
72
+ export const Pagination = _Pagination;
73
+ export const DatePicker = _DatePicker;
74
+ export const TimePicker = _TimePicker;
75
+ export const ActionsMenu = _ActionsMenu;
76
+ export const BrandingCard = _BrandingCard;
77
+ export const Dropzone = _Dropzone;
78
+ export const Tabs = _Tabs;
79
+ export const SkeletonText = _SkeletonText;
80
+ export const SkeletonCard = _SkeletonCard;
81
+ export const SkeletonRows = _SkeletonRows;
82
+ export const SkeletonStats = _SkeletonStats;
83
+ export const XTable = _XTable;
84
+ export const XThead = _XThead;
85
+ export const XTbody = _XTbody;
86
+ export const XTr = _XTr;
87
+ export const XTh = _XTh;
88
+ export const XTd = _XTd;
89
+ export const SkeletonTable = _SkeletonTable;
90
+ export const PageShell = _PageShell;
91
+ export const TableCard = _TableCard;
92
+ export const TableCardFilters = _TableCardFilters;
93
+ export const TableCardBody = _TableCardBody;
94
+ export const TableCardFooter = _TableCardFooter;
95
+ export const CardHdr = _CardHdr;
96
+ export const StatCard = _StatCard;
97
+ export const StatCardSkeleton = _StatCardSkeleton;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cynx-ui",
3
- "version": "1.3.22",
3
+ "version": "1.3.23",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.js"