@cere/cere-design-system 0.0.45 → 0.1.0
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/WorkflowNode-BnxXO6t_.d.mts +46 -0
- package/dist/WorkflowNode-BnxXO6t_.d.ts +46 -0
- package/dist/buttons.d.mts +114 -0
- package/dist/buttons.d.ts +114 -0
- package/dist/buttons.js +19 -0
- package/dist/buttons.js.map +1 -0
- package/dist/buttons.mjs +19 -0
- package/dist/buttons.mjs.map +1 -0
- package/dist/carousel.d.mts +51 -0
- package/dist/carousel.d.ts +51 -0
- package/dist/carousel.js +185 -0
- package/dist/carousel.js.map +1 -0
- package/dist/carousel.mjs +185 -0
- package/dist/carousel.mjs.map +1 -0
- package/dist/charts.d.mts +209 -0
- package/dist/charts.d.ts +209 -0
- package/dist/charts.js +20 -0
- package/dist/charts.js.map +1 -0
- package/dist/charts.mjs +20 -0
- package/dist/charts.mjs.map +1 -0
- package/dist/chunk-27JEWSWA.mjs +233 -0
- package/dist/chunk-27JEWSWA.mjs.map +1 -0
- package/dist/chunk-2EBCST6X.js +25 -0
- package/dist/chunk-2EBCST6X.js.map +1 -0
- package/dist/chunk-3WCMINE5.mjs +490 -0
- package/dist/chunk-3WCMINE5.mjs.map +1 -0
- package/dist/chunk-463SRKKD.js +111 -0
- package/dist/chunk-463SRKKD.js.map +1 -0
- package/dist/chunk-5ASG6G6U.mjs +40 -0
- package/dist/chunk-5ASG6G6U.mjs.map +1 -0
- package/dist/chunk-6EUAU67C.mjs +374 -0
- package/dist/chunk-6EUAU67C.mjs.map +1 -0
- package/dist/chunk-AIY6222Q.js +11 -0
- package/dist/chunk-AIY6222Q.js.map +1 -0
- package/dist/chunk-AJBM7IE6.mjs +2366 -0
- package/dist/chunk-AJBM7IE6.mjs.map +1 -0
- package/dist/chunk-ATIFLPH6.mjs +278 -0
- package/dist/chunk-ATIFLPH6.mjs.map +1 -0
- package/dist/chunk-BIZK6FUD.js +37 -0
- package/dist/chunk-BIZK6FUD.js.map +1 -0
- package/dist/chunk-CCN6M4LI.js +103 -0
- package/dist/chunk-CCN6M4LI.js.map +1 -0
- package/dist/chunk-CUCKULYC.mjs +2658 -0
- package/dist/chunk-CUCKULYC.mjs.map +1 -0
- package/dist/chunk-CWJ4OU6W.mjs +45 -0
- package/dist/chunk-CWJ4OU6W.mjs.map +1 -0
- package/dist/chunk-EOF3QNPF.js +2366 -0
- package/dist/chunk-EOF3QNPF.js.map +1 -0
- package/dist/chunk-FFZ5S7PQ.mjs +146 -0
- package/dist/chunk-FFZ5S7PQ.mjs.map +1 -0
- package/dist/chunk-FN5YL4BK.js +278 -0
- package/dist/chunk-FN5YL4BK.js.map +1 -0
- package/dist/chunk-HLH2VWXL.js +2658 -0
- package/dist/chunk-HLH2VWXL.js.map +1 -0
- package/dist/chunk-IE6GCHDI.mjs +530 -0
- package/dist/chunk-IE6GCHDI.mjs.map +1 -0
- package/dist/chunk-JBHRAAN3.js +31 -0
- package/dist/chunk-JBHRAAN3.js.map +1 -0
- package/dist/chunk-JS4IB5IU.mjs +162 -0
- package/dist/chunk-JS4IB5IU.mjs.map +1 -0
- package/dist/chunk-KF2Y7HO3.js +595 -0
- package/dist/chunk-KF2Y7HO3.js.map +1 -0
- package/dist/chunk-KPDYKK3V.js +162 -0
- package/dist/chunk-KPDYKK3V.js.map +1 -0
- package/dist/chunk-KVBMZNWT.mjs +103 -0
- package/dist/chunk-KVBMZNWT.mjs.map +1 -0
- package/dist/chunk-L2TIGA7I.js +530 -0
- package/dist/chunk-L2TIGA7I.js.map +1 -0
- package/dist/chunk-MNM6HE72.js +146 -0
- package/dist/chunk-MNM6HE72.js.map +1 -0
- package/dist/chunk-NXTVJ6PY.js +374 -0
- package/dist/chunk-NXTVJ6PY.js.map +1 -0
- package/dist/chunk-OWWDNDF4.js +40 -0
- package/dist/chunk-OWWDNDF4.js.map +1 -0
- package/dist/chunk-PHMNZK2R.mjs +18 -0
- package/dist/chunk-PHMNZK2R.mjs.map +1 -0
- package/dist/chunk-PWF2NJDB.mjs +377 -0
- package/dist/chunk-PWF2NJDB.mjs.map +1 -0
- package/dist/chunk-QBCRH7YF.mjs +37 -0
- package/dist/chunk-QBCRH7YF.mjs.map +1 -0
- package/dist/chunk-QD6RLAO2.mjs +11 -0
- package/dist/chunk-QD6RLAO2.mjs.map +1 -0
- package/dist/chunk-QY65OUAC.mjs +111 -0
- package/dist/chunk-QY65OUAC.mjs.map +1 -0
- package/dist/chunk-QYYQYZHV.js +45 -0
- package/dist/chunk-QYYQYZHV.js.map +1 -0
- package/dist/chunk-T7LPABOL.mjs +595 -0
- package/dist/chunk-T7LPABOL.mjs.map +1 -0
- package/dist/chunk-THQKYTQE.js +490 -0
- package/dist/chunk-THQKYTQE.js.map +1 -0
- package/dist/chunk-U2QHFISG.js +18 -0
- package/dist/chunk-U2QHFISG.js.map +1 -0
- package/dist/chunk-UPGFBPFX.mjs +25 -0
- package/dist/chunk-UPGFBPFX.mjs.map +1 -0
- package/dist/chunk-X7E6GMFL.js +233 -0
- package/dist/chunk-X7E6GMFL.js.map +1 -0
- package/dist/chunk-XF66WQZE.mjs +1535 -0
- package/dist/chunk-XF66WQZE.mjs.map +1 -0
- package/dist/chunk-YQOZPLTY.js +1535 -0
- package/dist/chunk-YQOZPLTY.js.map +1 -0
- package/dist/chunk-ZGCN5WCG.js +377 -0
- package/dist/chunk-ZGCN5WCG.js.map +1 -0
- package/dist/chunk-ZP26PGMS.mjs +31 -0
- package/dist/chunk-ZP26PGMS.mjs.map +1 -0
- package/dist/feedback.d.mts +356 -0
- package/dist/feedback.d.ts +356 -0
- package/dist/feedback.js +43 -0
- package/dist/feedback.js.map +1 -0
- package/dist/feedback.mjs +43 -0
- package/dist/feedback.mjs.map +1 -0
- package/dist/icons.d.mts +22 -0
- package/dist/icons.d.ts +22 -0
- package/dist/icons.js +23 -0
- package/dist/icons.js.map +1 -0
- package/dist/icons.mjs +23 -0
- package/dist/icons.mjs.map +1 -0
- package/dist/index.d.mts +165 -3080
- package/dist/index.d.ts +165 -3080
- package/dist/index.js +320 -10082
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +262 -9983
- package/dist/index.mjs.map +1 -1
- package/dist/inputs.d.mts +109 -0
- package/dist/inputs.d.ts +109 -0
- package/dist/inputs.js +43 -0
- package/dist/inputs.js.map +1 -0
- package/dist/inputs.mjs +43 -0
- package/dist/inputs.mjs.map +1 -0
- package/dist/layout.d.mts +927 -0
- package/dist/layout.d.ts +927 -0
- package/dist/layout.js +122 -0
- package/dist/layout.js.map +1 -0
- package/dist/layout.mjs +122 -0
- package/dist/layout.mjs.map +1 -0
- package/dist/navigation.d.mts +716 -0
- package/dist/navigation.d.ts +716 -0
- package/dist/navigation.js +58 -0
- package/dist/navigation.js.map +1 -0
- package/dist/navigation.mjs +58 -0
- package/dist/navigation.mjs.map +1 -0
- package/dist/third-party.d.mts +637 -0
- package/dist/third-party.d.ts +637 -0
- package/dist/third-party.js +45 -0
- package/dist/third-party.js.map +1 -0
- package/dist/third-party.mjs +45 -0
- package/dist/third-party.mjs.map +1 -0
- package/dist/utilities.d.mts +39 -0
- package/dist/utilities.d.ts +39 -0
- package/dist/utilities.js +19 -0
- package/dist/utilities.js.map +1 -0
- package/dist/utilities.mjs +19 -0
- package/dist/utilities.mjs.map +1 -0
- package/package.json +55 -1
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { BadgeProps as BadgeProps$1 } from '@mui/material/Badge';
|
|
4
|
+
import { ChipProps as ChipProps$1 } from '@mui/material/Chip';
|
|
5
|
+
import { Theme } from '@mui/material/styles';
|
|
6
|
+
import { TooltipProps as TooltipProps$1 } from '@mui/material/Tooltip';
|
|
7
|
+
import { AlertProps as AlertProps$1 } from '@mui/material/Alert';
|
|
8
|
+
import { SnackbarProps as SnackbarProps$1 } from '@mui/material/Snackbar';
|
|
9
|
+
import { CircularProgressProps as CircularProgressProps$1 } from '@mui/material';
|
|
10
|
+
|
|
11
|
+
type BadgeVariant = 'default' | 'primary' | 'success' | 'error';
|
|
12
|
+
interface BadgeProps extends Omit<BadgeProps$1, 'color' | 'variant'> {
|
|
13
|
+
variant?: BadgeVariant;
|
|
14
|
+
children?: React__default.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
declare const Badge: React__default.FC<BadgeProps>;
|
|
17
|
+
|
|
18
|
+
type ChipVariant = 'default' | 'active' | 'success' | 'error' | 'warning' | 'info';
|
|
19
|
+
interface ChipVariantStyles {
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
color: string;
|
|
22
|
+
hoverBackgroundColor: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Resolve a Chip variant to its themed background/foreground/hover colors.
|
|
26
|
+
*
|
|
27
|
+
* Status variants (success/error/warning/info) use the `main` surface with
|
|
28
|
+
* `contrastText` (typically white) so chips read as loud solid pills.
|
|
29
|
+
* `default` is neutral grey; `active` uses the brand-selected background.
|
|
30
|
+
*/
|
|
31
|
+
declare function getChipVariantStyles(variant: ChipVariant, theme: Theme): ChipVariantStyles;
|
|
32
|
+
|
|
33
|
+
type ChipTone = 'default' | 'onGradient';
|
|
34
|
+
interface ChipProps extends Omit<ChipProps$1, 'color' | 'variant'> {
|
|
35
|
+
variant?: ChipVariant;
|
|
36
|
+
/**
|
|
37
|
+
* Visual tone overlay. `onGradient` styles the chip to read on a dark
|
|
38
|
+
* gradient surface (white text, mono caps, translucent border + bg).
|
|
39
|
+
* Positioning is the consumer's job.
|
|
40
|
+
* @default 'default'
|
|
41
|
+
*/
|
|
42
|
+
tone?: ChipTone;
|
|
43
|
+
}
|
|
44
|
+
declare const Chip: React__default.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
|
|
46
|
+
type StatusDotStatus = 'success' | 'error' | 'warning' | 'info' | 'primary' | 'neutral';
|
|
47
|
+
interface StatusDotProps extends Omit<React__default.HTMLAttributes<HTMLSpanElement>, 'role'> {
|
|
48
|
+
/** Which themed color to render. `neutral` uses a grey for idle/queued states. */
|
|
49
|
+
status: StatusDotStatus;
|
|
50
|
+
/** Diameter in pixels. @default 8 */
|
|
51
|
+
size?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Pulse animation for in-progress states (e.g., a running run). Respects
|
|
54
|
+
* `prefers-reduced-motion` and falls back to a static dot.
|
|
55
|
+
*/
|
|
56
|
+
pulse?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* When provided, the dot becomes an accessible image with this label. When
|
|
59
|
+
* omitted, the dot is marked `aria-hidden` — assume an adjacent element
|
|
60
|
+
* carries the status semantics.
|
|
61
|
+
*/
|
|
62
|
+
'aria-label'?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* StatusDot — a small colored circle indicating entity status.
|
|
66
|
+
*
|
|
67
|
+
* Use alongside a text label for a labeled status; use with `aria-label` to
|
|
68
|
+
* make the dot itself a standalone accessible indicator.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```tsx
|
|
72
|
+
* // Labeled context — the dot is decorative
|
|
73
|
+
* <>
|
|
74
|
+
* <StatusDot status="success" />
|
|
75
|
+
* <span>Succeeded</span>
|
|
76
|
+
* </>
|
|
77
|
+
*
|
|
78
|
+
* // Standalone — dot carries the status meaning
|
|
79
|
+
* <StatusDot status="info" pulse aria-label="Running" />
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
declare const StatusDot: React__default.ForwardRefExoticComponent<StatusDotProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
83
|
+
|
|
84
|
+
type StatusLabelSize = 'small' | 'medium';
|
|
85
|
+
interface StatusLabelProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
86
|
+
/** Themed status; forwarded to StatusDot. */
|
|
87
|
+
status: StatusDotStatus;
|
|
88
|
+
/** Text rendered next to the dot. */
|
|
89
|
+
label: string;
|
|
90
|
+
/** Sizes the dot + text pair. @default 'medium' */
|
|
91
|
+
size?: StatusLabelSize;
|
|
92
|
+
/**
|
|
93
|
+
* Adds a pulsing animation on the dot for in-progress states. When true,
|
|
94
|
+
* the row also exposes an `aria-live="polite"` region so SR users hear
|
|
95
|
+
* updates.
|
|
96
|
+
*/
|
|
97
|
+
pulse?: boolean;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* StatusLabel — a flex row pairing `StatusDot` with a text label.
|
|
101
|
+
*
|
|
102
|
+
* Use this when a status indicator needs an accompanying label; the row
|
|
103
|
+
* keeps the dot baseline-aligned with the text at all sizes.
|
|
104
|
+
*/
|
|
105
|
+
declare const StatusLabel: React.ForwardRefExoticComponent<StatusLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
106
|
+
|
|
107
|
+
interface CopyChipProps {
|
|
108
|
+
/** The text to display and copy to the clipboard. */
|
|
109
|
+
text: string;
|
|
110
|
+
/** Max width in pixels for the (ellipsized) text label. @default 260 */
|
|
111
|
+
maxWidth?: number;
|
|
112
|
+
/**
|
|
113
|
+
* Accessible label for the button. Defaults to `Copy <text>`. Override when
|
|
114
|
+
* the raw text would be unclear to a screen-reader user (e.g., long hex IDs).
|
|
115
|
+
*/
|
|
116
|
+
'aria-label'?: string;
|
|
117
|
+
/** Tooltip copy shown before clicking. @default 'Copy' */
|
|
118
|
+
tooltipLabel?: string;
|
|
119
|
+
/** Tooltip copy shown after a successful copy. @default 'Copied' */
|
|
120
|
+
tooltipCopiedLabel?: string;
|
|
121
|
+
/** Fires after the clipboard write succeeds. */
|
|
122
|
+
onCopy?: () => void;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* CopyChip — compact inline copy-to-clipboard control.
|
|
126
|
+
*
|
|
127
|
+
* Shows a monospace text label with an adjacent copy icon that toggles to a
|
|
128
|
+
* check mark for a moment after a successful copy. Use in dense metadata
|
|
129
|
+
* rows where an `IDBlock` would be visually too heavy; use `IDBlock` when
|
|
130
|
+
* the identifier is the primary affordance on the surface and deserves a
|
|
131
|
+
* full boxed treatment with snackbar feedback.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* ```tsx
|
|
135
|
+
* <CopyChip text="run_abc123" />
|
|
136
|
+
* <CopyChip text={longHexId} aria-label="Copy workspace ID" onCopy={track} />
|
|
137
|
+
* ```
|
|
138
|
+
*/
|
|
139
|
+
declare const CopyChip: React__default.FC<CopyChipProps>;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Color variants for the RoleBadge component
|
|
143
|
+
*/
|
|
144
|
+
type RoleBadgeColor = 'primary' | 'secondary' | 'success' | 'error' | 'warning';
|
|
145
|
+
/**
|
|
146
|
+
* Size variants for the RoleBadge component
|
|
147
|
+
*/
|
|
148
|
+
type RoleBadgeSize = 'small' | 'medium';
|
|
149
|
+
/**
|
|
150
|
+
* RoleBadge component props
|
|
151
|
+
*/
|
|
152
|
+
interface RoleBadgeProps extends Omit<ChipProps$1, 'label' | 'variant' | 'color' | 'size'> {
|
|
153
|
+
/**
|
|
154
|
+
* The text content to display in the badge
|
|
155
|
+
*/
|
|
156
|
+
label: string;
|
|
157
|
+
/**
|
|
158
|
+
* The color theme of the badge
|
|
159
|
+
* @default 'primary'
|
|
160
|
+
*/
|
|
161
|
+
color?: RoleBadgeColor;
|
|
162
|
+
/**
|
|
163
|
+
* The size of the badge
|
|
164
|
+
* @default 'small'
|
|
165
|
+
*/
|
|
166
|
+
size?: RoleBadgeSize;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* RoleBadge - Pill-shaped badge component for displaying roles or status labels
|
|
170
|
+
*
|
|
171
|
+
* A reusable badge component that extends MUI Chip with a pill-shaped outline style.
|
|
172
|
+
* Designed for displaying user roles, status indicators, or categorization labels.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* ```tsx
|
|
176
|
+
* // Basic usage
|
|
177
|
+
* <RoleBadge label="Manager" />
|
|
178
|
+
*
|
|
179
|
+
* // With color variants
|
|
180
|
+
* <RoleBadge label="Admin" color="error" />
|
|
181
|
+
* <RoleBadge label="Active" color="success" />
|
|
182
|
+
*
|
|
183
|
+
* // With size variants
|
|
184
|
+
* <RoleBadge label="Owner" size="medium" />
|
|
185
|
+
* ```
|
|
186
|
+
*
|
|
187
|
+
* @see Figma node 17-3595 for design specifications
|
|
188
|
+
*/
|
|
189
|
+
declare const RoleBadge: React__default.FC<RoleBadgeProps>;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* IDBlock component props
|
|
193
|
+
*/
|
|
194
|
+
interface IDBlockProps {
|
|
195
|
+
/**
|
|
196
|
+
* The identifier value to display and copy
|
|
197
|
+
*/
|
|
198
|
+
id: string;
|
|
199
|
+
/**
|
|
200
|
+
* Label prefix text
|
|
201
|
+
* @default 'ID'
|
|
202
|
+
*/
|
|
203
|
+
label?: string;
|
|
204
|
+
/**
|
|
205
|
+
* Entity type for accessibility (used in aria-label)
|
|
206
|
+
* @default 'entity'
|
|
207
|
+
*/
|
|
208
|
+
entityType?: string;
|
|
209
|
+
/**
|
|
210
|
+
* Additional callback to execute after successful copy
|
|
211
|
+
*/
|
|
212
|
+
onCopy?: () => void;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* IDBlock - Read-only identifier display with integrated copy-to-clipboard button
|
|
216
|
+
*
|
|
217
|
+
* A component that displays an identifier (ID, account number, etc.) with a copy button.
|
|
218
|
+
* Provides user feedback via an inline Snackbar when copy succeeds or fails.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* ```tsx
|
|
222
|
+
* // Basic usage
|
|
223
|
+
* <IDBlock id="W1234567890" />
|
|
224
|
+
*
|
|
225
|
+
* // With custom label
|
|
226
|
+
* <IDBlock id="ACC-9876543" label="Account ID" entityType="account" />
|
|
227
|
+
*
|
|
228
|
+
* // With callback
|
|
229
|
+
* <IDBlock
|
|
230
|
+
* id="DEPLOY-12345"
|
|
231
|
+
* label="Deployment ID"
|
|
232
|
+
* entityType="deployment"
|
|
233
|
+
* onCopy={() => console.log('ID copied')}
|
|
234
|
+
* />
|
|
235
|
+
* ```
|
|
236
|
+
*
|
|
237
|
+
* @see Figma node 17-3596 for design specifications
|
|
238
|
+
*/
|
|
239
|
+
declare const IDBlock: React__default.FC<IDBlockProps>;
|
|
240
|
+
|
|
241
|
+
type TooltipProps = TooltipProps$1;
|
|
242
|
+
declare const Tooltip: React__default.ForwardRefExoticComponent<Omit<TooltipProps$1, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
243
|
+
|
|
244
|
+
type ProgressVariant = 'linear' | 'circular';
|
|
245
|
+
interface ProgressProps {
|
|
246
|
+
variant?: ProgressVariant;
|
|
247
|
+
value?: number;
|
|
248
|
+
size?: number;
|
|
249
|
+
thickness?: number;
|
|
250
|
+
}
|
|
251
|
+
declare const Progress: React__default.FC<ProgressProps>;
|
|
252
|
+
|
|
253
|
+
type AlertSeverity = 'success' | 'error' | 'warning' | 'info';
|
|
254
|
+
interface AlertProps extends Omit<AlertProps$1, 'severity'> {
|
|
255
|
+
severity?: AlertSeverity;
|
|
256
|
+
/**
|
|
257
|
+
* Title to display above the alert message
|
|
258
|
+
*/
|
|
259
|
+
title?: string;
|
|
260
|
+
}
|
|
261
|
+
declare const Alert: React__default.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
262
|
+
|
|
263
|
+
interface SnackbarProps extends Omit<SnackbarProps$1, 'children'> {
|
|
264
|
+
/**
|
|
265
|
+
* Message to display in the snackbar
|
|
266
|
+
*/
|
|
267
|
+
message?: string;
|
|
268
|
+
/**
|
|
269
|
+
* Severity of the alert inside snackbar
|
|
270
|
+
*/
|
|
271
|
+
severity?: AlertSeverity;
|
|
272
|
+
/**
|
|
273
|
+
* Title to display in the alert (optional)
|
|
274
|
+
*/
|
|
275
|
+
title?: string;
|
|
276
|
+
/**
|
|
277
|
+
* Alert variant
|
|
278
|
+
* @default 'filled'
|
|
279
|
+
*/
|
|
280
|
+
variant?: 'filled' | 'standard' | 'outlined';
|
|
281
|
+
/**
|
|
282
|
+
* Callback when snackbar is closed
|
|
283
|
+
*/
|
|
284
|
+
onClose?: () => void;
|
|
285
|
+
/**
|
|
286
|
+
* Children to render instead of message (allows custom content)
|
|
287
|
+
* Must be a ReactElement to match MuiSnackbar requirements
|
|
288
|
+
*/
|
|
289
|
+
children?: React__default.ReactElement;
|
|
290
|
+
}
|
|
291
|
+
declare const Snackbar: React__default.ForwardRefExoticComponent<Omit<SnackbarProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
292
|
+
|
|
293
|
+
interface EmptyStateProps {
|
|
294
|
+
title?: string;
|
|
295
|
+
description?: string;
|
|
296
|
+
icon?: React__default.ReactNode;
|
|
297
|
+
action?: React__default.ReactNode;
|
|
298
|
+
}
|
|
299
|
+
declare const EmptyState: React__default.ForwardRefExoticComponent<EmptyStateProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
300
|
+
|
|
301
|
+
interface LoadingProps {
|
|
302
|
+
message?: string;
|
|
303
|
+
size?: number;
|
|
304
|
+
fullScreen?: boolean;
|
|
305
|
+
}
|
|
306
|
+
declare const Loading: React__default.ForwardRefExoticComponent<LoadingProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
307
|
+
|
|
308
|
+
interface AppLoadingProps {
|
|
309
|
+
/**
|
|
310
|
+
* Loading message to display
|
|
311
|
+
* @default "Loading..."
|
|
312
|
+
*/
|
|
313
|
+
message?: string;
|
|
314
|
+
/**
|
|
315
|
+
* Logo source URL or path
|
|
316
|
+
* @default "/icons/logo.png"
|
|
317
|
+
*/
|
|
318
|
+
logo?: string;
|
|
319
|
+
/**
|
|
320
|
+
* Custom styles
|
|
321
|
+
*/
|
|
322
|
+
sx?: any;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* AppLoading component - Full-screen loading indicator with logo
|
|
326
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
* ```tsx
|
|
329
|
+
* <AppLoading message="Initializing application..." />
|
|
330
|
+
* ```
|
|
331
|
+
*/
|
|
332
|
+
declare const AppLoading: React__default.FC<AppLoadingProps>;
|
|
333
|
+
|
|
334
|
+
interface CircularProgressProps extends CircularProgressProps$1 {
|
|
335
|
+
/**
|
|
336
|
+
* Size of the progress indicator
|
|
337
|
+
* @default 40
|
|
338
|
+
*/
|
|
339
|
+
size?: number | string;
|
|
340
|
+
/**
|
|
341
|
+
* Thickness of the progress indicator
|
|
342
|
+
* @default 4
|
|
343
|
+
*/
|
|
344
|
+
thickness?: number;
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* CircularProgress component - wrapper around MUI CircularProgress
|
|
348
|
+
*
|
|
349
|
+
* @example
|
|
350
|
+
* ```tsx
|
|
351
|
+
* <CircularProgress size={40} thickness={4} />
|
|
352
|
+
* ```
|
|
353
|
+
*/
|
|
354
|
+
declare const CircularProgress: React__default.ForwardRefExoticComponent<Omit<CircularProgressProps, "ref"> & React__default.RefAttributes<HTMLSpanElement>>;
|
|
355
|
+
|
|
356
|
+
export { Alert, type AlertProps, type AlertSeverity, AppLoading, type AppLoadingProps, Badge, type BadgeProps, Chip, type ChipProps, type ChipTone, type ChipVariant, type ChipVariantStyles, CircularProgress, type CircularProgressProps, CopyChip, type CopyChipProps, EmptyState, type EmptyStateProps, IDBlock, type IDBlockProps, Loading, type LoadingProps, Progress, type ProgressProps, RoleBadge, type RoleBadgeColor, type RoleBadgeProps, type RoleBadgeSize, Snackbar, type SnackbarProps, StatusDot, type StatusDotProps, type StatusDotStatus, StatusLabel, type StatusLabelProps, type StatusLabelSize, Tooltip, type TooltipProps, getChipVariantStyles };
|
package/dist/feedback.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkL2TIGA7Ijs = require('./chunk-L2TIGA7I.js');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
var _chunkKPDYKK3Vjs = require('./chunk-KPDYKK3V.js');
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
var _chunkBIZK6FUDjs = require('./chunk-BIZK6FUD.js');
|
|
23
|
+
require('./chunk-FN5YL4BK.js');
|
|
24
|
+
require('./chunk-ZGCN5WCG.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
exports.Alert = _chunkL2TIGA7Ijs.Alert; exports.AppLoading = _chunkL2TIGA7Ijs.AppLoading; exports.Badge = _chunkBIZK6FUDjs.Badge; exports.Chip = _chunkL2TIGA7Ijs.Chip; exports.CircularProgress = _chunkL2TIGA7Ijs.CircularProgress; exports.CopyChip = _chunkL2TIGA7Ijs.CopyChip; exports.EmptyState = _chunkL2TIGA7Ijs.EmptyState; exports.IDBlock = _chunkKPDYKK3Vjs.IDBlock; exports.Loading = _chunkL2TIGA7Ijs.Loading; exports.Progress = _chunkL2TIGA7Ijs.Progress; exports.RoleBadge = _chunkKPDYKK3Vjs.RoleBadge; exports.Snackbar = _chunkL2TIGA7Ijs.Snackbar; exports.StatusDot = _chunkL2TIGA7Ijs.StatusDot; exports.StatusLabel = _chunkL2TIGA7Ijs.StatusLabel; exports.Tooltip = _chunkL2TIGA7Ijs.Tooltip; exports.getChipVariantStyles = _chunkL2TIGA7Ijs.getChipVariantStyles;
|
|
43
|
+
//# sourceMappingURL=feedback.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cere-design-system/cere-design-system/dist/feedback.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACF,sDAA4B;AAC5B;AACE;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+vBAAC","file":"/home/runner/work/cere-design-system/cere-design-system/dist/feedback.js"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Alert,
|
|
3
|
+
AppLoading,
|
|
4
|
+
Chip,
|
|
5
|
+
CircularProgress,
|
|
6
|
+
CopyChip,
|
|
7
|
+
EmptyState,
|
|
8
|
+
Loading,
|
|
9
|
+
Progress,
|
|
10
|
+
Snackbar,
|
|
11
|
+
StatusDot,
|
|
12
|
+
StatusLabel,
|
|
13
|
+
Tooltip,
|
|
14
|
+
getChipVariantStyles
|
|
15
|
+
} from "./chunk-IE6GCHDI.mjs";
|
|
16
|
+
import {
|
|
17
|
+
IDBlock,
|
|
18
|
+
RoleBadge
|
|
19
|
+
} from "./chunk-JS4IB5IU.mjs";
|
|
20
|
+
import {
|
|
21
|
+
Badge
|
|
22
|
+
} from "./chunk-QBCRH7YF.mjs";
|
|
23
|
+
import "./chunk-ATIFLPH6.mjs";
|
|
24
|
+
import "./chunk-PWF2NJDB.mjs";
|
|
25
|
+
export {
|
|
26
|
+
Alert,
|
|
27
|
+
AppLoading,
|
|
28
|
+
Badge,
|
|
29
|
+
Chip,
|
|
30
|
+
CircularProgress,
|
|
31
|
+
CopyChip,
|
|
32
|
+
EmptyState,
|
|
33
|
+
IDBlock,
|
|
34
|
+
Loading,
|
|
35
|
+
Progress,
|
|
36
|
+
RoleBadge,
|
|
37
|
+
Snackbar,
|
|
38
|
+
StatusDot,
|
|
39
|
+
StatusLabel,
|
|
40
|
+
Tooltip,
|
|
41
|
+
getChipVariantStyles
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=feedback.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/icons.d.mts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { SvgIconProps } from '@mui/material';
|
|
4
|
+
import { SvgIconProps as SvgIconProps$1 } from '@mui/material/SvgIcon';
|
|
5
|
+
|
|
6
|
+
declare const ActivityAppIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
7
|
+
|
|
8
|
+
declare const BarTrackingIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
9
|
+
|
|
10
|
+
declare const CereIcon: React.ForwardRefExoticComponent<Omit<SvgIconProps$1, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
11
|
+
|
|
12
|
+
declare const CloudFlashIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
13
|
+
|
|
14
|
+
declare const DecentralizedServerIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
15
|
+
|
|
16
|
+
declare const DiscordIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
17
|
+
|
|
18
|
+
declare const GithubLogoIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
19
|
+
|
|
20
|
+
declare const StorageAppIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
21
|
+
|
|
22
|
+
export { ActivityAppIcon, BarTrackingIcon, CereIcon, CloudFlashIcon, DecentralizedServerIcon, DiscordIcon, GithubLogoIcon, StorageAppIcon };
|
package/dist/icons.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { SvgIconProps } from '@mui/material';
|
|
4
|
+
import { SvgIconProps as SvgIconProps$1 } from '@mui/material/SvgIcon';
|
|
5
|
+
|
|
6
|
+
declare const ActivityAppIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
7
|
+
|
|
8
|
+
declare const BarTrackingIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
9
|
+
|
|
10
|
+
declare const CereIcon: React.ForwardRefExoticComponent<Omit<SvgIconProps$1, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
11
|
+
|
|
12
|
+
declare const CloudFlashIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
13
|
+
|
|
14
|
+
declare const DecentralizedServerIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
15
|
+
|
|
16
|
+
declare const DiscordIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
17
|
+
|
|
18
|
+
declare const GithubLogoIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
19
|
+
|
|
20
|
+
declare const StorageAppIcon: React.MemoExoticComponent<(props: SvgIconProps) => react_jsx_runtime.JSX.Element>;
|
|
21
|
+
|
|
22
|
+
export { ActivityAppIcon, BarTrackingIcon, CereIcon, CloudFlashIcon, DecentralizedServerIcon, DiscordIcon, GithubLogoIcon, StorageAppIcon };
|
package/dist/icons.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkNXTVJ6PYjs = require('./chunk-NXTVJ6PY.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunk2EBCST6Xjs = require('./chunk-2EBCST6X.js');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
exports.ActivityAppIcon = _chunkNXTVJ6PYjs.ActivityAppIcon; exports.BarTrackingIcon = _chunkNXTVJ6PYjs.BarTrackingIcon; exports.CereIcon = _chunk2EBCST6Xjs.CereIcon; exports.CloudFlashIcon = _chunkNXTVJ6PYjs.CloudFlashIcon; exports.DecentralizedServerIcon = _chunkNXTVJ6PYjs.DecentralizedServerIcon; exports.DiscordIcon = _chunkNXTVJ6PYjs.DiscordIcon; exports.GithubLogoIcon = _chunkNXTVJ6PYjs.GithubLogoIcon; exports.StorageAppIcon = _chunkNXTVJ6PYjs.StorageAppIcon;
|
|
23
|
+
//# sourceMappingURL=icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/cere-design-system/cere-design-system/dist/icons.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,mdAAC","file":"/home/runner/work/cere-design-system/cere-design-system/dist/icons.js"}
|
package/dist/icons.mjs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ActivityAppIcon,
|
|
3
|
+
BarTrackingIcon,
|
|
4
|
+
CloudFlashIcon,
|
|
5
|
+
DecentralizedServerIcon,
|
|
6
|
+
DiscordIcon,
|
|
7
|
+
GithubLogoIcon,
|
|
8
|
+
StorageAppIcon
|
|
9
|
+
} from "./chunk-6EUAU67C.mjs";
|
|
10
|
+
import {
|
|
11
|
+
CereIcon
|
|
12
|
+
} from "./chunk-UPGFBPFX.mjs";
|
|
13
|
+
export {
|
|
14
|
+
ActivityAppIcon,
|
|
15
|
+
BarTrackingIcon,
|
|
16
|
+
CereIcon,
|
|
17
|
+
CloudFlashIcon,
|
|
18
|
+
DecentralizedServerIcon,
|
|
19
|
+
DiscordIcon,
|
|
20
|
+
GithubLogoIcon,
|
|
21
|
+
StorageAppIcon
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=icons.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|