@texturehq/edges 1.28.3 → 1.29.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/{RichTextEditor-BjXePCmA.d.cts → RichTextEditor-CxrunTg7.d.cts} +7 -1
- package/dist/{RichTextEditor-BjXePCmA.d.ts → RichTextEditor-CxrunTg7.d.ts} +7 -1
- package/dist/{TimeField-DDhiyenr.d.ts → TimeField-DRQshIHX.d.ts} +1 -1
- package/dist/{TimeField-B4qAwv88.d.cts → TimeField-WCmeiLu3.d.cts} +1 -1
- package/dist/{colors-CEdtNxvm.d.cts → colors-CkJf6_Bz.d.cts} +2 -2
- package/dist/{colors-BhJKDQEw.d.ts → colors-DR1jXZhL.d.ts} +2 -2
- package/dist/components.manifest.json +1 -1
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +12 -12
- 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 +2 -2
- package/dist/rhf/index.d.ts +2 -2
- package/dist/rhf/index.js +1 -1
- package/dist/rhf/index.js.map +1 -1
- package/dist/server.d.cts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/utilities.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -359,6 +359,7 @@ interface FileUploadProps {
|
|
|
359
359
|
*/
|
|
360
360
|
declare function FileUpload({ value, onChange, onUrlChange, accept, maxSize, isDisabled, onUpload, className, showPreview, placeholder, }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
361
361
|
|
|
362
|
+
type HeadingLevel = 1 | 2;
|
|
362
363
|
interface RichTextEditorProps {
|
|
363
364
|
/**
|
|
364
365
|
* The initial content of the editor
|
|
@@ -388,6 +389,11 @@ interface RichTextEditorProps {
|
|
|
388
389
|
* Size variant controlling toolbar padding, content area height, and typography scale
|
|
389
390
|
*/
|
|
390
391
|
size?: Size;
|
|
392
|
+
/**
|
|
393
|
+
* Which heading levels to enable in the toolbar and editor.
|
|
394
|
+
* @default [1, 2]
|
|
395
|
+
*/
|
|
396
|
+
headingLevels?: HeadingLevel[];
|
|
391
397
|
}
|
|
392
398
|
/**
|
|
393
399
|
* RichTextEditor
|
|
@@ -395,6 +401,6 @@ interface RichTextEditorProps {
|
|
|
395
401
|
* A rich text editor with formatting capabilities including headings, bold, italic, lists, and links.
|
|
396
402
|
* Built on top of TipTap/ProseMirror.
|
|
397
403
|
*/
|
|
398
|
-
declare function RichTextEditor({ initialContent, onChange, className, isDisabled, placeholder, id, size, }: RichTextEditorProps): react_jsx_runtime.JSX.Element | null;
|
|
404
|
+
declare function RichTextEditor({ initialContent, onChange, className, isDisabled, placeholder, id, size, headingLevels, }: RichTextEditorProps): react_jsx_runtime.JSX.Element | null;
|
|
399
405
|
|
|
400
406
|
export { type BaseInputProps as B, ClearButton as C, type DateFieldProps as D, type FileUploadProps as F, Icon as I, Label as L, type RichTextEditorProps as R, type Size as S, DateField as a, FileUpload as b, RichTextEditor as c, type IconName as d, type BaseProps as e, Description as f, type DescriptionPlacement as g, type DescriptionProps as h, FieldError as i, type FieldErrorProps as j, FieldGroup as k, type FieldGroupProps as l, Input as m, type InputProps as n, type InputStyleProps as o, InputWrapper as p, type LabelProps as q, getFieldGroupStyles as r, getInputBackgroundStyles as s, getInputBaseStyles as t, getInputStateStyles as u, useInputFocus as v };
|
|
@@ -359,6 +359,7 @@ interface FileUploadProps {
|
|
|
359
359
|
*/
|
|
360
360
|
declare function FileUpload({ value, onChange, onUrlChange, accept, maxSize, isDisabled, onUpload, className, showPreview, placeholder, }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
361
361
|
|
|
362
|
+
type HeadingLevel = 1 | 2;
|
|
362
363
|
interface RichTextEditorProps {
|
|
363
364
|
/**
|
|
364
365
|
* The initial content of the editor
|
|
@@ -388,6 +389,11 @@ interface RichTextEditorProps {
|
|
|
388
389
|
* Size variant controlling toolbar padding, content area height, and typography scale
|
|
389
390
|
*/
|
|
390
391
|
size?: Size;
|
|
392
|
+
/**
|
|
393
|
+
* Which heading levels to enable in the toolbar and editor.
|
|
394
|
+
* @default [1, 2]
|
|
395
|
+
*/
|
|
396
|
+
headingLevels?: HeadingLevel[];
|
|
391
397
|
}
|
|
392
398
|
/**
|
|
393
399
|
* RichTextEditor
|
|
@@ -395,6 +401,6 @@ interface RichTextEditorProps {
|
|
|
395
401
|
* A rich text editor with formatting capabilities including headings, bold, italic, lists, and links.
|
|
396
402
|
* Built on top of TipTap/ProseMirror.
|
|
397
403
|
*/
|
|
398
|
-
declare function RichTextEditor({ initialContent, onChange, className, isDisabled, placeholder, id, size, }: RichTextEditorProps): react_jsx_runtime.JSX.Element | null;
|
|
404
|
+
declare function RichTextEditor({ initialContent, onChange, className, isDisabled, placeholder, id, size, headingLevels, }: RichTextEditorProps): react_jsx_runtime.JSX.Element | null;
|
|
399
405
|
|
|
400
406
|
export { type BaseInputProps as B, ClearButton as C, type DateFieldProps as D, type FileUploadProps as F, Icon as I, Label as L, type RichTextEditorProps as R, type Size as S, DateField as a, FileUpload as b, RichTextEditor as c, type IconName as d, type BaseProps as e, Description as f, type DescriptionPlacement as g, type DescriptionProps as h, FieldError as i, type FieldErrorProps as j, FieldGroup as k, type FieldGroupProps as l, Input as m, type InputProps as n, type InputStyleProps as o, InputWrapper as p, type LabelProps as q, getFieldGroupStyles as r, getInputBackgroundStyles as s, getInputBaseStyles as t, getInputStateStyles as u, useInputFocus as v };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ComponentProps, ReactNode } from 'react';
|
|
3
3
|
import { Key, ValidationResult, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, CheckboxRenderProps, CheckboxGroupProps as CheckboxGroupProps$1, TextFieldProps as TextFieldProps$1, NumberFieldProps as NumberFieldProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, SwitchProps as SwitchProps$1, TimeFieldProps as TimeFieldProps$1, TimeValue } from 'react-aria-components';
|
|
4
|
-
import { S as Size, I as Icon, B as BaseInputProps } from './RichTextEditor-
|
|
4
|
+
import { S as Size, I as Icon, B as BaseInputProps } from './RichTextEditor-CxrunTg7.js';
|
|
5
5
|
|
|
6
6
|
interface Item {
|
|
7
7
|
id: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ComponentProps, ReactNode } from 'react';
|
|
3
3
|
import { Key, ValidationResult, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, CheckboxRenderProps, CheckboxGroupProps as CheckboxGroupProps$1, TextFieldProps as TextFieldProps$1, NumberFieldProps as NumberFieldProps$1, RadioProps, RadioGroupProps as RadioGroupProps$1, SelectProps as SelectProps$1, SwitchProps as SwitchProps$1, TimeFieldProps as TimeFieldProps$1, TimeValue } from 'react-aria-components';
|
|
4
|
-
import { S as Size, I as Icon, B as BaseInputProps } from './RichTextEditor-
|
|
4
|
+
import { S as Size, I as Icon, B as BaseInputProps } from './RichTextEditor-CxrunTg7.cjs';
|
|
5
5
|
|
|
6
6
|
interface Item {
|
|
7
7
|
id: string;
|
|
@@ -3,7 +3,7 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
4
4
|
import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { d as IconName } from './RichTextEditor-
|
|
6
|
+
import { d as IconName } from './RichTextEditor-CxrunTg7.cjs';
|
|
7
7
|
import * as react_map_gl from 'react-map-gl';
|
|
8
8
|
import { ViewState, MapRef } from 'react-map-gl';
|
|
9
9
|
import { MeterProps as MeterProps$1 } from 'react-aria-components';
|
|
@@ -527,7 +527,7 @@ interface AvatarProps {
|
|
|
527
527
|
*/
|
|
528
528
|
declare function Avatar({ src, alt, firstName, lastName, fullName, onClick, size, shape, variant, className, status, bordered, piiEntity, }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
529
529
|
|
|
530
|
-
type DeviceState = "unknown" | "on" | "off" | "idle" | "charging" | "discharging" | "heat" | "eco" | "cool" | "auto";
|
|
530
|
+
type DeviceState = "unknown" | "on" | "off" | "idle" | "charging" | "discharging" | "heat" | "eco" | "cool" | "auto" | "connected" | "disconnected";
|
|
531
531
|
type MetricFormat = "percentage" | "kW" | "temperature";
|
|
532
532
|
declare const deviceStateMetricFormats: Record<DeviceState, MetricFormat | undefined>;
|
|
533
533
|
/**
|
|
@@ -3,7 +3,7 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { ReactNode, ComponentType } from 'react';
|
|
4
4
|
import { ScaleTime, ScaleLinear } from 'd3-scale';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
|
-
import { d as IconName } from './RichTextEditor-
|
|
6
|
+
import { d as IconName } from './RichTextEditor-CxrunTg7.js';
|
|
7
7
|
import * as react_map_gl from 'react-map-gl';
|
|
8
8
|
import { ViewState, MapRef } from 'react-map-gl';
|
|
9
9
|
import { MeterProps as MeterProps$1 } from 'react-aria-components';
|
|
@@ -527,7 +527,7 @@ interface AvatarProps {
|
|
|
527
527
|
*/
|
|
528
528
|
declare function Avatar({ src, alt, firstName, lastName, fullName, onClick, size, shape, variant, className, status, bordered, piiEntity, }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
529
529
|
|
|
530
|
-
type DeviceState = "unknown" | "on" | "off" | "idle" | "charging" | "discharging" | "heat" | "eco" | "cool" | "auto";
|
|
530
|
+
type DeviceState = "unknown" | "on" | "off" | "idle" | "charging" | "discharging" | "heat" | "eco" | "cool" | "auto" | "connected" | "disconnected";
|
|
531
531
|
type MetricFormat = "percentage" | "kW" | "temperature";
|
|
532
532
|
declare const deviceStateMetricFormats: Record<DeviceState, MetricFormat | undefined>;
|
|
533
533
|
/**
|