@cascivo/react 0.3.1 → 0.3.3
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/README.md +17 -1
- package/dist/cascivo.css +1 -1
- package/dist/index.d.ts +200 -1
- package/dist/index.js +1358 -917
- package/package.json +2 -2
- package/readme.body.md +17 -1
package/README.md
CHANGED
|
@@ -147,7 +147,7 @@ routing break after adding one of these, check that the import resolves to
|
|
|
147
147
|
|
|
148
148
|
## Component index
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
181 components, exported from `@cascivo/react`. Full props, examples, and live demos at [docs.cascivo.com](https://docs.cascivo.com).
|
|
151
151
|
|
|
152
152
|
### Inputs
|
|
153
153
|
|
|
@@ -156,12 +156,14 @@ routing break after adding one of these, check that the import resolves to
|
|
|
156
156
|
- **Calendar** — An accessible standalone month-grid date picker.
|
|
157
157
|
- **Checkbox** — Binary toggle for forms, with indeterminate support
|
|
158
158
|
- **CheckboxCard** — Multi-selectable card backed by a native checkbox. Use multiple independent CheckboxCards for multi-select scenarios.
|
|
159
|
+
- **CodeEditor** — Lightweight code editor — a native textarea overlaid on a syntax-highlighted layer, with line numbers and Tab indent.
|
|
159
160
|
- **ColorPicker** — Interactive color selection widget with saturation/lightness area, hue and alpha sliders
|
|
160
161
|
- **Combobox** — Filterable single-select with an animated custom listbox, built on the dropdown open/close machine
|
|
161
162
|
- **CopyButton** — Icon button that copies a value to the clipboard with copied feedback
|
|
162
163
|
- **DatePicker** — An accessible date-picker with a calendar popover.
|
|
163
164
|
- **DateRangePicker** — A dual-calendar picker for selecting a contiguous date range.
|
|
164
165
|
- **Editable** — Inline click-to-edit text field
|
|
166
|
+
- **Fab** — Floating action button anchored to a screen corner, with an optional speed-dial of secondary actions
|
|
165
167
|
- **Field** — Form-field wrapper composing label, control, description, and error
|
|
166
168
|
- **FileUploader** — Drag-and-drop file upload zone with file list and status indicators.
|
|
167
169
|
- **Filter** — A group of toggleable pill or outline buttons for filtering content by category
|
|
@@ -211,7 +213,17 @@ routing break after adding one of these, check that the import resolves to
|
|
|
211
213
|
- **DataTable** — Signal-driven data table with client/server sort, filter, pagination, multi-selection, expandable rows, and CSS content-visibility row containment for large datasets
|
|
212
214
|
- **EmptyDashboard** — Dashboard page showing an empty state with a call-to-action button.
|
|
213
215
|
- **EmptyState** — Placeholder for views that have no data to display
|
|
216
|
+
- **Flow** — The declarative, AI-first flow surface — render a node/edge graph from plain serializable data.
|
|
217
|
+
- **FlowBackground** — Decorative dots / grid / cross canvas background, drawn purely in CSS gradients.
|
|
218
|
+
- **FlowControls** — Zoom in / out / fit-view controls for a flow canvas — real, i18n-labeled buttons.
|
|
219
|
+
- **FlowEdge** — An SVG edge with bezier/straight/smoothstep paths, an arrowhead, an optional label, and animation.
|
|
220
|
+
- **FlowHandle** — A connection port on a node edge — where edges attach and interactive connect starts.
|
|
221
|
+
- **FlowMiniMap** — A scaled SVG overview of the graph with a draggable viewport rectangle.
|
|
222
|
+
- **FlowNode** — An HTML node box positioned in the viewport pane — draggable, selectable, with arbitrary children.
|
|
223
|
+
- **FlowPanel** — An absolutely-positioned slot for custom flow-canvas UI (legend, toolbar).
|
|
224
|
+
- **FlowStory** — A scripted, sequenced, looping flow animation — walks a graph step by step with fade-in captions.
|
|
214
225
|
- **Heading** — Section heading with semantic level decoupled from visual size
|
|
226
|
+
- **Highlight** — Read-only syntax-highlighted code block — the same owned tokenizer as CodeEditor, without the textarea.
|
|
215
227
|
- **Image** — Image with load state, blur-up placeholder, graceful fallback, and optional zoom
|
|
216
228
|
- **Item** — Generic content row primitive with media, content, and action regions
|
|
217
229
|
- **Kbd** — Displays a keyboard key or shortcut
|
|
@@ -230,6 +242,7 @@ routing break after adding one of these, check that the import resolves to
|
|
|
230
242
|
- **StatsCards** — Grid of KPI stat cards with trend badges.
|
|
231
243
|
- **Status** — Colored dot with a label communicating the state of a system or entity
|
|
232
244
|
- **StructuredList** — Tabular row list for scannable data, optionally single-selectable
|
|
245
|
+
- **SwipeItem** — List row whose leading/trailing actions are revealed by a horizontal swipe, with keyboard parity
|
|
233
246
|
- **Tag** — Compact chip for labeling, categorizing, or filtering content
|
|
234
247
|
- **Text** — Body text with size, weight, and muted variants
|
|
235
248
|
- **Timeline** — Ordered sequence of events with status markers and a connector line
|
|
@@ -240,7 +253,9 @@ routing break after adding one of these, check that the import resolves to
|
|
|
240
253
|
|
|
241
254
|
### Overlay
|
|
242
255
|
|
|
256
|
+
- **ActionSheet** — Bottom-rising sheet of discrete actions (iOS action-sheet pattern) with a Cancel button
|
|
243
257
|
- **AlertDialog** — Confirmation dialog requiring explicit user action; no light-dismiss
|
|
258
|
+
- **BottomSheet** — Mobile bottom sheet with drag-to-resize detents, velocity-projected snapping, and drag-to-dismiss
|
|
244
259
|
- **CommandMenu** — Cmd+K command palette with fuzzy search over grouped commands
|
|
245
260
|
- **ContextMenu** — Right-click context menu anchored at pointer coordinates via CSS custom properties
|
|
246
261
|
- **Drawer** — Edge-anchored dialog panel that slides in from a screen edge with CSS-only enter/exit motion
|
|
@@ -313,6 +328,7 @@ routing break after adding one of these, check that the import resolves to
|
|
|
313
328
|
- **Progress** — Horizontal bar showing the completion progress of a tracked operation
|
|
314
329
|
- **ProgressBar** — Shows determinate or indeterminate progress of a task
|
|
315
330
|
- **ProgressCircle** — Circular determinate progress indicator rendered as an SVG arc
|
|
331
|
+
- **PullToRefresh** — Wraps a scrollable region and triggers a refresh when pulled down past a threshold at the top
|
|
316
332
|
- **RadialProgress** — Circular progress indicator using conic-gradient, with percentage label and variant colors
|
|
317
333
|
- **Spinner** — Indeterminate loading indicator
|
|
318
334
|
|