@texturehq/edges 1.24.1 → 1.25.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/README.md +9 -0
- package/dist/{TimeField-D3hN7DMK.d.ts → TimeField-Blk2Ci2M.d.ts} +6 -1
- package/dist/{TimeField-CC3x7lhz.d.cts → TimeField-p31z8xSR.d.cts} +6 -1
- package/dist/{colors-ZfVYHdic.d.cts → colors-B3YgFfeQ.d.cts} +9 -0
- package/dist/{colors-BYkYTR7E.d.ts → colors-Y8iUUTUP.d.ts} +9 -0
- package/dist/components.manifest.json +403 -312
- package/dist/form/index.cjs +1 -1
- package/dist/form/index.cjs.map +1 -1
- package/dist/form/index.js +1 -1
- package/dist/form/index.js.map +1 -1
- package/dist/index.cjs +14 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +379 -5
- package/dist/index.d.ts +379 -5
- package/dist/index.js +14 -8
- package/dist/index.js.map +1 -1
- package/dist/rhf/index.cjs +1 -1
- package/dist/rhf/index.cjs.map +1 -1
- package/dist/rhf/index.d.cts +1 -1
- package/dist/rhf/index.d.ts +1 -1
- package/dist/rhf/index.js +1 -1
- package/dist/rhf/index.js.map +1 -1
- package/dist/server.cjs +2 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/dist/styles.css +91 -15
- package/dist/utilities.manifest.json +1 -2
- package/package.json +2 -2
- package/scripts/generate-edges-docs.js +17 -6
- package/scripts/setup-cursor-rules.js +79 -31
- package/templates/codex-rules/codex.md +85 -0
package/README.md
CHANGED
|
@@ -90,4 +90,13 @@ yarn dev
|
|
|
90
90
|
|
|
91
91
|
```bash
|
|
92
92
|
yarn storybook
|
|
93
|
+
# Default port: 6010
|
|
93
94
|
```
|
|
95
|
+
|
|
96
|
+
To use a custom port:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
STORYBOOK_PORT=6011 yarn storybook
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
See [STORYBOOK_PORT.md](./STORYBOOK_PORT.md) for multi-instance setups and dynamic port configuration.
|
|
@@ -356,12 +356,17 @@ interface TextFieldProps extends Omit<TextFieldProps$1, "isRequired" | "size" |
|
|
|
356
356
|
* @default true
|
|
357
357
|
*/
|
|
358
358
|
reserveErrorSpace?: boolean;
|
|
359
|
+
/**
|
|
360
|
+
* Shows a loading spinner instead of the search icon (only applicable when showSearchIcon is true)
|
|
361
|
+
* @default false
|
|
362
|
+
*/
|
|
363
|
+
isLoading?: boolean;
|
|
359
364
|
}
|
|
360
365
|
/**
|
|
361
366
|
* Renders an Edges TextField with label, description, validation states and
|
|
362
367
|
* optional search/clear/password affordances.
|
|
363
368
|
*/
|
|
364
|
-
declare function TextField({ label, description, errorMessage, size, tooltip, isRequired, transparent, showSearchIcon, isClearable, onClear, type, validationResult, reserveErrorSpace, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
369
|
+
declare function TextField({ label, description, errorMessage, size, tooltip, isRequired, transparent, showSearchIcon, isClearable, onClear, type, validationResult, reserveErrorSpace, isLoading, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
365
370
|
|
|
366
371
|
/**
|
|
367
372
|
* TimeField
|
|
@@ -356,12 +356,17 @@ interface TextFieldProps extends Omit<TextFieldProps$1, "isRequired" | "size" |
|
|
|
356
356
|
* @default true
|
|
357
357
|
*/
|
|
358
358
|
reserveErrorSpace?: boolean;
|
|
359
|
+
/**
|
|
360
|
+
* Shows a loading spinner instead of the search icon (only applicable when showSearchIcon is true)
|
|
361
|
+
* @default false
|
|
362
|
+
*/
|
|
363
|
+
isLoading?: boolean;
|
|
359
364
|
}
|
|
360
365
|
/**
|
|
361
366
|
* Renders an Edges TextField with label, description, validation states and
|
|
362
367
|
* optional search/clear/password affordances.
|
|
363
368
|
*/
|
|
364
|
-
declare function TextField({ label, description, errorMessage, size, tooltip, isRequired, transparent, showSearchIcon, isClearable, onClear, type, validationResult, reserveErrorSpace, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
369
|
+
declare function TextField({ label, description, errorMessage, size, tooltip, isRequired, transparent, showSearchIcon, isClearable, onClear, type, validationResult, reserveErrorSpace, isLoading, ...props }: TextFieldProps): react_jsx_runtime.JSX.Element;
|
|
365
370
|
|
|
366
371
|
/**
|
|
367
372
|
* TimeField
|
|
@@ -395,7 +395,16 @@ declare const SideNav: React$1.FC<SideNavProps>;
|
|
|
395
395
|
|
|
396
396
|
type ColorMode = "system" | "light" | "dark";
|
|
397
397
|
type TopNavProps = {
|
|
398
|
+
/**
|
|
399
|
+
* Content for the right side (avatar, actions, etc.)
|
|
400
|
+
* @deprecated Use centerContent and actions instead for better layout control
|
|
401
|
+
*/
|
|
398
402
|
rightContent?: React$1.ReactNode;
|
|
403
|
+
/**
|
|
404
|
+
* Content for the center area (typically search)
|
|
405
|
+
* On mobile, this moves to rightContent position
|
|
406
|
+
*/
|
|
407
|
+
centerContent?: React$1.ReactNode;
|
|
399
408
|
showMobileMenu?: boolean;
|
|
400
409
|
avatar?: React$1.ReactNode;
|
|
401
410
|
showColorModeSwitcher?: boolean;
|
|
@@ -395,7 +395,16 @@ declare const SideNav: React$1.FC<SideNavProps>;
|
|
|
395
395
|
|
|
396
396
|
type ColorMode = "system" | "light" | "dark";
|
|
397
397
|
type TopNavProps = {
|
|
398
|
+
/**
|
|
399
|
+
* Content for the right side (avatar, actions, etc.)
|
|
400
|
+
* @deprecated Use centerContent and actions instead for better layout control
|
|
401
|
+
*/
|
|
398
402
|
rightContent?: React$1.ReactNode;
|
|
403
|
+
/**
|
|
404
|
+
* Content for the center area (typically search)
|
|
405
|
+
* On mobile, this moves to rightContent position
|
|
406
|
+
*/
|
|
407
|
+
centerContent?: React$1.ReactNode;
|
|
399
408
|
showMobileMenu?: boolean;
|
|
400
409
|
avatar?: React$1.ReactNode;
|
|
401
410
|
showColorModeSwitcher?: boolean;
|