@texturehq/edges 5.1.5 → 5.2.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.
@@ -280,6 +280,14 @@ interface MultiSelectProps {
280
280
  onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
281
281
  /** Ref to the search input, so callers (and `setFocus`) can focus the control. */
282
282
  inputRef?: React__default.Ref<HTMLInputElement>;
283
+ /**
284
+ * Render the label to assistive technology only. For a control embedded in a
285
+ * surface that already names the field — a filter panel carrying the field name
286
+ * as its section heading — a visible label just repeats it. The label stays in
287
+ * the DOM and stays associated, because it is the combobox's accessible name;
288
+ * only its presentation changes. Never a way to omit `label`.
289
+ */
290
+ labelHidden?: boolean;
283
291
  className?: string;
284
292
  id?: string;
285
293
  }
@@ -290,7 +298,7 @@ interface MultiSelectProps {
290
298
  * input narrows a checkbox list, and current selections live in their own
291
299
  * pinned region above it.
292
300
  */
293
- declare function MultiSelect({ options, value, defaultValue, onChange, label, placeholder, size, loading, disabled, maxSelected, allowLiteral, onSearchChange, truncated, totalCount, emptyMessage, showSelectAll, description, errorMessage, isRequired, onBlur, inputRef: forwardedInputRef, className, id, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
301
+ declare function MultiSelect({ options, value, defaultValue, onChange, label, placeholder, size, loading, disabled, maxSelected, allowLiteral, onSearchChange, truncated, totalCount, emptyMessage, showSelectAll, description, errorMessage, isRequired, onBlur, inputRef: forwardedInputRef, labelHidden, className, id, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
294
302
 
295
303
  /**
296
304
  * NumberField
@@ -280,6 +280,14 @@ interface MultiSelectProps {
280
280
  onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
281
281
  /** Ref to the search input, so callers (and `setFocus`) can focus the control. */
282
282
  inputRef?: React__default.Ref<HTMLInputElement>;
283
+ /**
284
+ * Render the label to assistive technology only. For a control embedded in a
285
+ * surface that already names the field — a filter panel carrying the field name
286
+ * as its section heading — a visible label just repeats it. The label stays in
287
+ * the DOM and stays associated, because it is the combobox's accessible name;
288
+ * only its presentation changes. Never a way to omit `label`.
289
+ */
290
+ labelHidden?: boolean;
283
291
  className?: string;
284
292
  id?: string;
285
293
  }
@@ -290,7 +298,7 @@ interface MultiSelectProps {
290
298
  * input narrows a checkbox list, and current selections live in their own
291
299
  * pinned region above it.
292
300
  */
293
- declare function MultiSelect({ options, value, defaultValue, onChange, label, placeholder, size, loading, disabled, maxSelected, allowLiteral, onSearchChange, truncated, totalCount, emptyMessage, showSelectAll, description, errorMessage, isRequired, onBlur, inputRef: forwardedInputRef, className, id, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
301
+ declare function MultiSelect({ options, value, defaultValue, onChange, label, placeholder, size, loading, disabled, maxSelected, allowLiteral, onSearchChange, truncated, totalCount, emptyMessage, showSelectAll, description, errorMessage, isRequired, onBlur, inputRef: forwardedInputRef, labelHidden, className, id, }: MultiSelectProps): react_jsx_runtime.JSX.Element;
294
302
 
295
303
  /**
296
304
  * NumberField
@@ -1247,9 +1247,12 @@ interface ChartContextType {
1247
1247
  categoryColors?: Record<string, string>;
1248
1248
  /** Category labels for translating category values */
1249
1249
  categoryLabels?: Record<string, string>;
1250
+ /** Set by the engines: whether the chart has already played its entrance (see `useChartEntrance`). */
1251
+ entrance?: {
1252
+ played: boolean;
1253
+ };
1250
1254
  }
1251
1255
  declare const ChartContext: React$1.Context<ChartContextType | null>;
1252
-
1253
1256
  declare const useChartContext: () => ChartContextType;
1254
1257
 
1255
1258
  interface BaseDataPoint {
@@ -1247,9 +1247,12 @@ interface ChartContextType {
1247
1247
  categoryColors?: Record<string, string>;
1248
1248
  /** Category labels for translating category values */
1249
1249
  categoryLabels?: Record<string, string>;
1250
+ /** Set by the engines: whether the chart has already played its entrance (see `useChartEntrance`). */
1251
+ entrance?: {
1252
+ played: boolean;
1253
+ };
1250
1254
  }
1251
1255
  declare const ChartContext: React$1.Context<ChartContextType | null>;
1252
-
1253
1256
  declare const useChartContext: () => ChartContextType;
1254
1257
 
1255
1258
  interface BaseDataPoint {