@cascivo/react 0.3.8 → 0.5.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/LICENSE +1 -1
- package/README.md +6 -3
- package/dist/alert/alert.css +1 -1
- package/dist/alert/alert.module.js +7 -7
- package/dist/alert-dialog/alert-dialog.js +36 -36
- package/dist/avatar/avatar.js +3 -3
- package/dist/combobox/combobox.css +1 -1
- package/dist/combobox/combobox.js +46 -46
- package/dist/combobox/combobox.module.js +15 -15
- package/dist/data-table/data-table.css +1 -1
- package/dist/data-table/data-table.js +7 -5
- package/dist/data-table/data-table.module.js +29 -29
- package/dist/date-picker/date-picker.css +1 -1
- package/dist/date-picker/date-picker.module.js +19 -19
- package/dist/date-range-picker/date-range-picker.js +1 -0
- package/dist/dock/dock.js +21 -19
- package/dist/fab/fab.js +1 -1
- package/dist/file-uploader/file-uploader.css +1 -1
- package/dist/file-uploader/file-uploader.module.js +14 -14
- package/dist/header/header.js +2 -2
- package/dist/index.d.ts +50 -2
- package/dist/log-viewer/log-viewer.css +1 -1
- package/dist/log-viewer/log-viewer.module.js +12 -12
- package/dist/menu/menu.css +1 -1
- package/dist/menu/menu.js +60 -35
- package/dist/menu/menu.module.js +4 -4
- package/dist/modal/modal.js +43 -46
- package/dist/multi-select/multi-select.js +3 -2
- package/dist/password-input/password-input.js +4 -0
- package/dist/popover/popover.css +1 -1
- package/dist/popover/popover.module.js +2 -2
- package/dist/radial-progress/radial-progress.js +13 -10
- package/dist/shell-header/shell-header.js +5 -4
- package/dist/side-nav/side-nav.js +4 -4
- package/dist/stat/stat.css +1 -1
- package/dist/stat/stat.module.js +6 -6
- package/dist/steps/steps.css +1 -1
- package/dist/steps/steps.js +19 -16
- package/dist/steps/steps.module.js +4 -4
- package/dist/styles.css +42 -13
- package/dist/swipe-item/swipe-item.js +2 -2
- package/dist/switcher/switcher.css +1 -1
- package/dist/switcher/switcher.js +3 -2
- package/dist/switcher/switcher.module.js +4 -4
- package/dist/tag/tag.css +1 -1
- package/dist/tag/tag.module.js +2 -2
- package/dist/tags-input/tags-input.css +1 -1
- package/dist/tags-input/tags-input.js +1 -0
- package/dist/tags-input/tags-input.module.js +4 -4
- package/dist/tooltip/tooltip.js +11 -11
- package/package.json +3 -3
- package/readme.body.md +6 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cascivo/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Prebuilt cascivo design system components — use without copying source",
|
|
6
6
|
"keywords": [
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"provenance": true
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@cascivo/core": "^0.
|
|
48
|
-
"@cascivo/i18n": "^0.
|
|
47
|
+
"@cascivo/core": "^0.3.0",
|
|
48
|
+
"@cascivo/i18n": "^0.2.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@testing-library/jest-dom": "^6.9.1",
|
package/readme.body.md
CHANGED
|
@@ -90,8 +90,10 @@ cascivo.base < cascivo.theme < cascivo.component
|
|
|
90
90
|
**Unlayered** CSS in your app always beats every cascivo layer regardless of
|
|
91
91
|
specificity, so your own (unlayered) styles win by default. To override cascivo
|
|
92
92
|
from within a layer, declare a layer ordered after `cascivo.component`. See
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
[CSS-LAYERS-PITFALL.md](https://github.com/cascivo/cascivo/blob/main/docs/CSS-LAYERS-PITFALL.md)
|
|
94
|
+
for the full story and the recommended `@layer` declaration. Token names and
|
|
95
|
+
aliases are documented in
|
|
96
|
+
[TOKENS.md](https://github.com/cascivo/cascivo/blob/main/docs/TOKENS.md).
|
|
95
97
|
|
|
96
98
|
All components are client components (`'use client'` is preserved in the
|
|
97
99
|
bundle), so the package works in Next.js App Router projects out of the box.
|
|
@@ -132,7 +134,7 @@ routing break after adding one of these, check that the import resolves to
|
|
|
132
134
|
|
|
133
135
|
## Component index
|
|
134
136
|
|
|
135
|
-
|
|
137
|
+
192 components, exported from `@cascivo/react`. Full props, examples, and live demos at [docs.cascivo.com](https://docs.cascivo.com).
|
|
136
138
|
|
|
137
139
|
### Inputs
|
|
138
140
|
|
|
@@ -200,6 +202,7 @@ routing break after adding one of these, check that the import resolves to
|
|
|
200
202
|
- **EmptyState** — Placeholder for views that have no data to display
|
|
201
203
|
- **Flow** — The declarative, AI-first flow surface — render a node/edge graph from plain serializable data.
|
|
202
204
|
- **FlowBackground** — Decorative dots / grid / cross canvas background, drawn purely in CSS gradients.
|
|
205
|
+
- **FlowCanvas** — The pan/zoom canvas pane — a single CSS-transformed layer driven by the viewport signal.
|
|
203
206
|
- **FlowControls** — Zoom in / out / fit-view controls for a flow canvas — real, i18n-labeled buttons.
|
|
204
207
|
- **FlowEdge** — An SVG edge with bezier/straight/smoothstep paths, an arrowhead, an optional label, and animation.
|
|
205
208
|
- **FlowHandle** — A connection port on a node edge — where edges attach and interactive connect starts.
|