opus-react 0.2.18 → 0.2.20

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/index.d.cts CHANGED
@@ -313,6 +313,7 @@ declare function TextField({ error, help, id, label, labelPosition, mode, placeh
313
313
 
314
314
  type ThemeToggleFieldProps = {
315
315
  className?: string;
316
+ help?: string;
316
317
  id: string;
317
318
  label?: string;
318
319
  labelPosition?: LabelPosition;
@@ -321,7 +322,7 @@ type ThemeToggleFieldProps = {
321
322
  value: Theme;
322
323
  onChange: (value: Theme) => void;
323
324
  };
324
- declare function ThemeToggleField({ className, id, label, labelPosition, labelVisuallyHidden, mode, value, onChange, }: ThemeToggleFieldProps): react.JSX.Element;
325
+ declare function ThemeToggleField({ className, help, id, label, labelPosition, labelVisuallyHidden, mode, value, onChange, }: ThemeToggleFieldProps): react.JSX.Element;
325
326
 
326
327
  type FilterSelectGroup = {
327
328
  label: string;
@@ -531,7 +532,7 @@ type TooltipProps = {
531
532
  label?: string;
532
533
  /** Optional trigger to wrap. When omitted, a default "i" info button is rendered. */
533
534
  children?: ReactNode;
534
- /** Where the tooltip appears relative to its trigger. Defaults to "top". */
535
+ /** Preferred side the tooltip appears on relative to its trigger. Defaults to "top". */
535
536
  placement?: TooltipPlacement;
536
537
  /** Prevents the tooltip from opening (trigger still renders). */
537
538
  disabled?: boolean;
@@ -1335,6 +1336,7 @@ declare function useAccentPreference(): {
1335
1336
  setAccent: (next: string) => void;
1336
1337
  };
1337
1338
  type AccentColorPickerProps = {
1339
+ help?: string;
1338
1340
  id: string;
1339
1341
  label?: string;
1340
1342
  labelPosition?: LabelPosition;
@@ -1342,7 +1344,7 @@ type AccentColorPickerProps = {
1342
1344
  value: string;
1343
1345
  onChange: (value: string) => void;
1344
1346
  };
1345
- declare function AccentColorPicker({ id, label, labelPosition, mode, onChange, value, }: AccentColorPickerProps): react.JSX.Element;
1347
+ declare function AccentColorPicker({ help, id, label, labelPosition, mode, onChange, value, }: AccentColorPickerProps): react.JSX.Element;
1346
1348
 
1347
1349
  type CatalogIconProps = {
1348
1350
  iconName: string;
@@ -1350,6 +1352,7 @@ type CatalogIconProps = {
1350
1352
  declare function CatalogIcon({ iconName }: CatalogIconProps): react.JSX.Element;
1351
1353
 
1352
1354
  type IconPickerProps = {
1355
+ help?: string;
1353
1356
  id: string;
1354
1357
  label?: string;
1355
1358
  labelPosition?: LabelPosition;
@@ -1358,7 +1361,7 @@ type IconPickerProps = {
1358
1361
  value: string;
1359
1362
  onChange: (value: string) => void;
1360
1363
  };
1361
- declare function IconPicker({ id, label, labelPosition, mode, onChange, searchPlaceholder, value, }: IconPickerProps): react.JSX.Element;
1364
+ declare function IconPicker({ help, id, label, labelPosition, mode, onChange, searchPlaceholder, value, }: IconPickerProps): react.JSX.Element;
1362
1365
 
1363
1366
  declare const cartesianSpecializedVariants: ChartVariant[];
1364
1367
 
package/dist/index.d.ts CHANGED
@@ -313,6 +313,7 @@ declare function TextField({ error, help, id, label, labelPosition, mode, placeh
313
313
 
314
314
  type ThemeToggleFieldProps = {
315
315
  className?: string;
316
+ help?: string;
316
317
  id: string;
317
318
  label?: string;
318
319
  labelPosition?: LabelPosition;
@@ -321,7 +322,7 @@ type ThemeToggleFieldProps = {
321
322
  value: Theme;
322
323
  onChange: (value: Theme) => void;
323
324
  };
324
- declare function ThemeToggleField({ className, id, label, labelPosition, labelVisuallyHidden, mode, value, onChange, }: ThemeToggleFieldProps): react.JSX.Element;
325
+ declare function ThemeToggleField({ className, help, id, label, labelPosition, labelVisuallyHidden, mode, value, onChange, }: ThemeToggleFieldProps): react.JSX.Element;
325
326
 
326
327
  type FilterSelectGroup = {
327
328
  label: string;
@@ -531,7 +532,7 @@ type TooltipProps = {
531
532
  label?: string;
532
533
  /** Optional trigger to wrap. When omitted, a default "i" info button is rendered. */
533
534
  children?: ReactNode;
534
- /** Where the tooltip appears relative to its trigger. Defaults to "top". */
535
+ /** Preferred side the tooltip appears on relative to its trigger. Defaults to "top". */
535
536
  placement?: TooltipPlacement;
536
537
  /** Prevents the tooltip from opening (trigger still renders). */
537
538
  disabled?: boolean;
@@ -1335,6 +1336,7 @@ declare function useAccentPreference(): {
1335
1336
  setAccent: (next: string) => void;
1336
1337
  };
1337
1338
  type AccentColorPickerProps = {
1339
+ help?: string;
1338
1340
  id: string;
1339
1341
  label?: string;
1340
1342
  labelPosition?: LabelPosition;
@@ -1342,7 +1344,7 @@ type AccentColorPickerProps = {
1342
1344
  value: string;
1343
1345
  onChange: (value: string) => void;
1344
1346
  };
1345
- declare function AccentColorPicker({ id, label, labelPosition, mode, onChange, value, }: AccentColorPickerProps): react.JSX.Element;
1347
+ declare function AccentColorPicker({ help, id, label, labelPosition, mode, onChange, value, }: AccentColorPickerProps): react.JSX.Element;
1346
1348
 
1347
1349
  type CatalogIconProps = {
1348
1350
  iconName: string;
@@ -1350,6 +1352,7 @@ type CatalogIconProps = {
1350
1352
  declare function CatalogIcon({ iconName }: CatalogIconProps): react.JSX.Element;
1351
1353
 
1352
1354
  type IconPickerProps = {
1355
+ help?: string;
1353
1356
  id: string;
1354
1357
  label?: string;
1355
1358
  labelPosition?: LabelPosition;
@@ -1358,7 +1361,7 @@ type IconPickerProps = {
1358
1361
  value: string;
1359
1362
  onChange: (value: string) => void;
1360
1363
  };
1361
- declare function IconPicker({ id, label, labelPosition, mode, onChange, searchPlaceholder, value, }: IconPickerProps): react.JSX.Element;
1364
+ declare function IconPicker({ help, id, label, labelPosition, mode, onChange, searchPlaceholder, value, }: IconPickerProps): react.JSX.Element;
1362
1365
 
1363
1366
  declare const cartesianSpecializedVariants: ChartVariant[];
1364
1367