@factorialco/deprecated-design-system 0.0.11 → 0.0.13

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.
@@ -475,6 +475,7 @@ declare interface BoxProps {
475
475
  [key in Breakpoint]?: GridSpan;
476
476
  };
477
477
  gridRowSpan?: GridSpan;
478
+ extra?: React_2.HTMLAttributes<HTMLElement>;
478
479
  }
479
480
 
480
481
  declare type BoxShadow = keyof typeof shadows;
@@ -922,6 +923,7 @@ export declare type DesignSystemSelectProps = LabeledInputProps & DefaultOptionP
922
923
  value?: string;
923
924
  defaultValue?: string;
924
925
  hideError?: boolean;
926
+ extra?: React_2.HTMLAttributes<HTMLSelectElement>;
925
927
  missingLabel: string;
926
928
  selectValue: string;
927
929
  };
@@ -962,7 +964,7 @@ export declare type DesignSystemTextFieldProps = LabeledInputProps & {
962
964
  defaultValue?: string;
963
965
  title?: string;
964
966
  avoidPasswordManagers?: boolean;
965
- onboardingId?: string;
967
+ extra?: default_2.HTMLAttributes<HTMLInputElement>;
966
968
  missingLabel: string;
967
969
  selectValue: string;
968
970
  };
@@ -1853,16 +1855,16 @@ declare const POPOVER_COMPONENTS: {
1853
1855
 
1854
1856
  export declare const PopoverMenu: {
1855
1857
  ({ children, onClick, type, open, defaultOpen, }: React_2.PropsWithChildren<Props_17>): JSX_2.Element;
1856
- Trigger: ({ children, disabled, asChild, "aria-label": ariaLabel, onboardingId, }: React_2.PropsWithChildren<{
1858
+ Trigger: ({ children, disabled, asChild, "aria-label": ariaLabel, extra, }: React_2.PropsWithChildren<{
1857
1859
  disabled?: boolean;
1858
1860
  asChild?: boolean;
1859
1861
  "aria-label"?: string;
1860
- onboardingId?: string;
1862
+ extra?: React_2.HTMLAttributes<HTMLElement>;
1861
1863
  }>) => JSX_2.Element;
1862
1864
  Content: ({ children, side, align, onInteractOutside, width, "aria-label": ariaLabel, hideWhenDetached, disablePortal, focusOnOpen, offset, paddingTop, paddingBottom, hideOutline, }: React_2.PropsWithChildren<ContentProps>) => JSX_2.Element;
1863
1865
  HrefOption: ({ title, description, icon, danger, disabled, fullWidth, href, download, target, extraContent, }: HrefOptionComponentProps) => JSX_2.Element;
1864
1866
  RouterOption: ({ title, description, icon, danger, disabled, fullWidth, to, onClick, asChild, extraContent, }: RouterOptionComponentProps) => JSX_2.Element;
1865
- TouchableOption: ({ title, description, icon, danger, disabled, fullWidth, onClick, rightIcon, onboardingId, extraContent, }: TouchableOptionComponentProps) => JSX_2.Element;
1867
+ TouchableOption: ({ title, description, icon, danger, disabled, fullWidth, onClick, rightIcon, extra, extraContent, }: TouchableOptionComponentProps) => JSX_2.Element;
1866
1868
  Close: ({ children }: React_2.PropsWithChildren) => JSX_2.Element;
1867
1869
  Portal: ({ children, container, }: React_2.PropsWithChildren<{
1868
1870
  container?: HTMLElement;
@@ -1951,7 +1953,7 @@ declare interface Props extends ComponentProps<typeof Button> {
1951
1953
  rel?: string;
1952
1954
  title?: string;
1953
1955
  download?: boolean | string;
1954
- onboardingId?: string;
1956
+ extra?: React.HTMLAttributes<HTMLAnchorElement>;
1955
1957
  }
1956
1958
 
1957
1959
  declare interface Props_100 {
@@ -2152,7 +2154,7 @@ declare interface Props_2 {
2152
2154
  submit?: boolean;
2153
2155
  disabled?: boolean;
2154
2156
  loading?: boolean;
2155
- onboardingId?: string;
2157
+ extra?: React.HTMLAttributes<HTMLButtonElement>;
2156
2158
  }
2157
2159
 
2158
2160
  declare interface Props_20 {
@@ -2321,6 +2323,7 @@ declare interface Props_34 {
2321
2323
  onClickAction?: (event: React_2.SyntheticEvent) => unknown;
2322
2324
  bang?: boolean;
2323
2325
  children?: React_2.ReactNode;
2326
+ extra?: React_2.HTMLAttributes<HTMLDivElement>;
2324
2327
  }
2325
2328
 
2326
2329
  declare interface Props_35 {
@@ -2377,7 +2380,7 @@ declare type Props_4 = Omit<ComponentProps<typeof Button>, 'children'> & {
2377
2380
  */
2378
2381
  optionsDisabled?: boolean;
2379
2382
  dropdownAriaLabel?: string;
2380
- onboardingId?: string;
2383
+ extra?: React.HTMLAttributes<HTMLElement>;
2381
2384
  };
2382
2385
 
2383
2386
  declare interface Props_40 extends Props_37 {
@@ -2421,6 +2424,7 @@ declare type Props_46 = DesignSystemTextAreaProps & {
2421
2424
  info?: string;
2422
2425
  showInfo?: boolean;
2423
2426
  showCharacterCount?: boolean;
2427
+ extra?: React_2.HTMLAttributes<HTMLTextAreaElement>;
2424
2428
  missingLabel: string;
2425
2429
  selectValue: string;
2426
2430
  };
@@ -2455,7 +2459,7 @@ declare interface Props_5 {
2455
2459
  onClick?: () => void;
2456
2460
  disabled?: boolean;
2457
2461
  iconName?: MediumIcon;
2458
- onboardingId?: string;
2462
+ extra?: React.HTMLAttributes<HTMLElement>;
2459
2463
  }
2460
2464
 
2461
2465
  declare interface Props_50 {
@@ -2678,6 +2682,7 @@ declare interface Props_72 {
2678
2682
  to?: To;
2679
2683
  onClick?: () => void;
2680
2684
  height?: Dimensions;
2685
+ extra?: React.HTMLAttributes<HTMLElement>;
2681
2686
  }
2682
2687
 
2683
2688
  declare interface Props_73 {
@@ -3046,11 +3051,11 @@ declare type SecondaryAction<T> = {
3046
3051
  };
3047
3052
 
3048
3053
  declare const Section: {
3049
- ({ illustration, title, description, action, link, settings, banner, size, paddingX, paddingY, children, }: React_2.PropsWithChildren<SectionSettingsProps>): JSX_2.Element;
3054
+ ({ illustration, title, description, action, link, settings, banner, size, paddingX, paddingY, children, extra, }: React_2.PropsWithChildren<SectionSettingsProps>): JSX_2.Element;
3050
3055
  TwoThirds: ({ illustration, title, description, action, link, settings, banner, children, size, }: React_2.PropsWithChildren<SectionSettingsProps>) => JSX_2.Element;
3051
3056
  CustomTwoThirds: ({ secondary, primary }: React_2.PropsWithChildren<CustomSectionProps>) => JSX_2.Element;
3052
3057
  FullWidth: ({ illustration, title, description, action, children, link, size, }: React_2.PropsWithChildren<SectionProps>) => JSX_2.Element;
3053
- Form: ({ illustration, title, description, action, link, children, onSubmit, isDirty, submitLabel, disabled, paddingX, paddingY, }: React_2.PropsWithChildren<FormProps>) => JSX_2.Element;
3058
+ Form: ({ illustration, title, description, action, link, children, onSubmit, isDirty, submitLabel, disabled, paddingX, paddingY, extra, }: React_2.PropsWithChildren<FormProps>) => JSX_2.Element;
3054
3059
  List: ({ illustration, title, description, action, settings, children, size, paddingX, paddingY, }: React_2.PropsWithChildren<SectionSettingsProps>) => JSX_2.Element;
3055
3060
  Empty: ({ children }: React_2.PropsWithChildren) => JSX_2.Element;
3056
3061
  };
@@ -3065,6 +3070,7 @@ declare interface SectionProps {
3065
3070
  link?: TitleProps['link'];
3066
3071
  banner?: React_2.ReactNode;
3067
3072
  size?: TitleProps['variant'];
3073
+ extra?: React_2.HTMLAttributes<HTMLElement>;
3068
3074
  }
3069
3075
 
3070
3076
  declare interface SectionSettingsProps extends SectionProps {
@@ -3073,7 +3079,7 @@ declare interface SectionSettingsProps extends SectionProps {
3073
3079
  paddingY?: Dimensions | null | undefined;
3074
3080
  }
3075
3081
 
3076
- declare const Select: ({ description, mandatory, attachmentPosition, none, label, hideLabel, secondaryLabel, readonly, showOriginalLabelText, hideBorder, options, onFocus, onBlur, onChange, error, value, defaultOption, defaultValue, hideError, loading, autofilled, missingLabel, selectValue, }: DesignSystemSelectWithOptionsProps) => JSX_2.Element;
3082
+ declare const Select: ({ description, mandatory, attachmentPosition, none, label, hideLabel, secondaryLabel, readonly, showOriginalLabelText, hideBorder, options, onFocus, onBlur, onChange, error, value, defaultOption, defaultValue, hideError, loading, autofilled, extra, missingLabel, selectValue, }: DesignSystemSelectWithOptionsProps) => JSX_2.Element;
3077
3083
  export { Select }
3078
3084
  export { Select as SelectField }
3079
3085
 
@@ -3279,7 +3285,7 @@ declare interface SubComponents_4 {
3279
3285
  }
3280
3286
 
3281
3287
  declare const Table: {
3282
- ({ children, autoLayout, grid, overflowX, overflowY, fullWidth, maxHeight, autoWidth, noRadius, noTopRadius, noBottomRadius, withTabs, hideBorder, background, options, optionsBackground, optionsBottom, bottomSticky, optionsBottomBackground, style, density, }: React_2.PropsWithChildren<TableProps>): JSX_2.Element;
3288
+ ({ children, autoLayout, grid, overflowX, overflowY, fullWidth, maxHeight, autoWidth, noRadius, noTopRadius, noBottomRadius, withTabs, hideBorder, background, options, optionsBackground, optionsBottom, bottomSticky, optionsBottomBackground, style, density, extra, }: React_2.PropsWithChildren<TableProps>): JSX_2.Element;
3283
3289
  Blank: ({ colSpan, text, textAlign, ctaButtonText, ctaButtonOnClick }: TableBlankProps) => JSX_2.Element;
3284
3290
  Body: (props: {
3285
3291
  children?: React_2.ReactNode | undefined;
@@ -3294,7 +3300,7 @@ declare const Table: {
3294
3300
  HeadCell: ({ left, children, width, sticky, highlighted, colSpan, wide, ellipsis, justifyContent, padding, paddingY, paddingX, background, style, }: React_2.PropsWithChildren< TableHeadCellProps>) => JSX_2.Element;
3295
3301
  Loading: ({ colSpan }: TableLoadingProps) => JSX_2.Element;
3296
3302
  Row: {
3297
- ({ trRef, children, onMouseEnter, onMouseLeave, onClick, link, background, clickable, className, backgroundHover, style, }: TableRowProps): JSX_2.Element;
3303
+ ({ trRef, children, onMouseEnter, onMouseLeave, onClick, link, background, clickable, className, backgroundHover, style, extra, }: TableRowProps): JSX_2.Element;
3298
3304
  Router: ({ children, to, background }: {
3299
3305
  to: string;
3300
3306
  background?: Colors;
@@ -3390,6 +3396,7 @@ declare interface TableProps {
3390
3396
  key?: number;
3391
3397
  style?: Partial<CSSStyleDeclaration>;
3392
3398
  density?: TableDensity;
3399
+ extra?: React_2.HTMLAttributes<HTMLElement>;
3393
3400
  }
3394
3401
 
3395
3402
  declare type TableRowProps = React_2.PropsWithChildren<{
@@ -3403,6 +3410,7 @@ declare type TableRowProps = React_2.PropsWithChildren<{
3403
3410
  className?: string;
3404
3411
  backgroundHover?: Colors;
3405
3412
  style?: React_2.CSSProperties;
3413
+ extra?: React_2.HTMLAttributes<HTMLTableRowElement>;
3406
3414
  }>;
3407
3415
 
3408
3416
  declare interface TableSortingHeaderProps {
@@ -3491,7 +3499,7 @@ export { Text_2 as Text }
3491
3499
 
3492
3500
  export declare type TextAlign = keyof typeof base.textAlign;
3493
3501
 
3494
- declare const TextAreaField: ({ mandatory, readonly, label, hideLabel, placeholder, secondaryLabel, width, onBlur, onFocus, onChange, value, error, maxLength, minRows, defaultValue, loading, attachmentPosition, autofilled, description, info, showInfo, showCharacterCount, maxHeight, missingLabel, selectValue, }: Props_46) => JSX_2.Element;
3502
+ declare const TextAreaField: ({ mandatory, readonly, label, hideLabel, placeholder, secondaryLabel, width, onBlur, onFocus, onChange, value, error, maxLength, minRows, defaultValue, loading, attachmentPosition, autofilled, description, info, showInfo, showCharacterCount, maxHeight, extra, missingLabel, selectValue, }: Props_46) => JSX_2.Element;
3495
3503
  export { TextAreaField as TextArea }
3496
3504
  export { TextAreaField }
3497
3505
 
@@ -3501,7 +3509,7 @@ declare interface TextCalloutProps extends BaseCalloutProps {
3501
3509
  }
3502
3510
 
3503
3511
  export declare const TextField: {
3504
- ({ type, onClick, onChange, onFocus, onBlur, onKeyDown, autofocus, error, hideError, isNotValid, label, inputId, hideLabel, hideBorder, value, placeholder, maxLength, getRef, focused: forceFocus, readonly, description, secondaryLabel, ariaHidden, completed, loading, mandatory, indicator, min, max, step, isClickableIcon, isFloatingIndicator, defaultValue, showEllipsis, textAlign, attachmentPosition, autofilled, title, avoidPasswordManagers, onboardingId, missingLabel, selectValue, }: DesignSystemTextFieldProps): JSX_2.Element;
3512
+ ({ type, onClick, onChange, onFocus, onBlur, onKeyDown, autofocus, error, hideError, isNotValid, label, inputId, hideLabel, hideBorder, value, placeholder, maxLength, getRef, focused: forceFocus, readonly, description, secondaryLabel, ariaHidden, completed, loading, mandatory, indicator, min, max, step, isClickableIcon, isFloatingIndicator, defaultValue, showEllipsis, textAlign, attachmentPosition, autofilled, title, avoidPasswordManagers, extra, missingLabel, selectValue, }: DesignSystemTextFieldProps): JSX_2.Element;
3505
3513
  Select(props: DesignSystemTextFieldProps): JSX_2.Element;
3506
3514
  };
3507
3515
 
@@ -4958,7 +4966,7 @@ declare type TouchableOptionComponentProps = BaseOptionProps & {
4958
4966
  onClick?: ((event: Event) => void) | undefined;
4959
4967
  fullWidth?: boolean;
4960
4968
  rightIcon?: boolean;
4961
- onboardingId?: string;
4969
+ extra?: React_2.HTMLAttributes<HTMLElement>;
4962
4970
  };
4963
4971
  export { TouchableOptionComponentProps as PopoverMenuTouchableOptionProps }
4964
4972
  export { TouchableOptionComponentProps }