@texturehq/edges 1.12.0 → 1.12.1
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/components.manifest.json +3 -3
- package/dist/generated/tailwind-tokens-dark.css +3 -3
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -6
- package/dist/index.d.ts +39 -6
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/styles/utilities.css +19 -0
- package/dist/styles.css +28 -46
- package/dist/utilities.manifest.json +2 -2
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.12.
|
|
3
|
-
"generatedAt": "2025-10-
|
|
2
|
+
"version": "1.12.1",
|
|
3
|
+
"generatedAt": "2025-10-24T17:11:02.263Z",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"name": "ActionCell",
|
|
@@ -854,7 +854,7 @@
|
|
|
854
854
|
{
|
|
855
855
|
"name": "Dialog",
|
|
856
856
|
"category": "Overlays",
|
|
857
|
-
"description": "Dialog Responsive modal dialog component with backdrop. **Desktop (≥768px):** Centered modal with scale and fade animation **Mobile (<768px):**
|
|
857
|
+
"description": "Dialog Responsive modal dialog component with backdrop. **Desktop (≥768px):** Centered modal with scale and fade animation **Mobile (<768px):** Uses Tray component for native bottom sheet experience with drag handle Includes optional header with title/back button and footer with action buttons. ## Usage Patterns ### Uncontrolled with DialogTrigger (Recommended) ```tsx import { DialogTrigger, Dialog, Button } from \"@texturehq/edges\"; <DialogTrigger> <Button>Open Dialog</Button> <Dialog title=\"My Dialog\"> <p>Dialog content</p> </Dialog> </DialogTrigger> ``` ### Controlled (Advanced) ```tsx const [isOpen, setIsOpen] = useState(false); <Dialog isOpen={isOpen} onClose={() => setIsOpen(false)} title=\"My Dialog\"> <p>Dialog content</p> </Dialog> ```",
|
|
858
858
|
"importRoot": "@texturehq/edges",
|
|
859
859
|
"importPath": "@texturehq/edges/components/Dialog",
|
|
860
860
|
"props": [],
|
|
@@ -217,9 +217,9 @@
|
|
|
217
217
|
--color-action-brand: #7a8ee1;
|
|
218
218
|
--color-action-brand-hover: #6a6fcc;
|
|
219
219
|
--color-action-brand-text: #ffffff;
|
|
220
|
-
--color-action-default: #
|
|
221
|
-
--color-action-default-hover: #
|
|
222
|
-
--color-action-default-text: #
|
|
220
|
+
--color-action-default: #ededef;
|
|
221
|
+
--color-action-default-hover: #ffffff;
|
|
222
|
+
--color-action-default-text: #111827;
|
|
223
223
|
--color-state-charging: #581c87;
|
|
224
224
|
--color-state-charging-border: #a855f7;
|
|
225
225
|
--color-state-charging-text: #e9d5ff;
|