@factorialco/deprecated-design-system 0.0.12 → 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.
|
@@ -923,6 +923,7 @@ export declare type DesignSystemSelectProps = LabeledInputProps & DefaultOptionP
|
|
|
923
923
|
value?: string;
|
|
924
924
|
defaultValue?: string;
|
|
925
925
|
hideError?: boolean;
|
|
926
|
+
extra?: React_2.HTMLAttributes<HTMLSelectElement>;
|
|
926
927
|
missingLabel: string;
|
|
927
928
|
selectValue: string;
|
|
928
929
|
};
|
|
@@ -963,7 +964,7 @@ export declare type DesignSystemTextFieldProps = LabeledInputProps & {
|
|
|
963
964
|
defaultValue?: string;
|
|
964
965
|
title?: string;
|
|
965
966
|
avoidPasswordManagers?: boolean;
|
|
966
|
-
|
|
967
|
+
extra?: default_2.HTMLAttributes<HTMLInputElement>;
|
|
967
968
|
missingLabel: string;
|
|
968
969
|
selectValue: string;
|
|
969
970
|
};
|
|
@@ -1854,16 +1855,16 @@ declare const POPOVER_COMPONENTS: {
|
|
|
1854
1855
|
|
|
1855
1856
|
export declare const PopoverMenu: {
|
|
1856
1857
|
({ children, onClick, type, open, defaultOpen, }: React_2.PropsWithChildren<Props_17>): JSX_2.Element;
|
|
1857
|
-
Trigger: ({ children, disabled, asChild, "aria-label": ariaLabel,
|
|
1858
|
+
Trigger: ({ children, disabled, asChild, "aria-label": ariaLabel, extra, }: React_2.PropsWithChildren<{
|
|
1858
1859
|
disabled?: boolean;
|
|
1859
1860
|
asChild?: boolean;
|
|
1860
1861
|
"aria-label"?: string;
|
|
1861
|
-
|
|
1862
|
+
extra?: React_2.HTMLAttributes<HTMLElement>;
|
|
1862
1863
|
}>) => JSX_2.Element;
|
|
1863
1864
|
Content: ({ children, side, align, onInteractOutside, width, "aria-label": ariaLabel, hideWhenDetached, disablePortal, focusOnOpen, offset, paddingTop, paddingBottom, hideOutline, }: React_2.PropsWithChildren<ContentProps>) => JSX_2.Element;
|
|
1864
1865
|
HrefOption: ({ title, description, icon, danger, disabled, fullWidth, href, download, target, extraContent, }: HrefOptionComponentProps) => JSX_2.Element;
|
|
1865
1866
|
RouterOption: ({ title, description, icon, danger, disabled, fullWidth, to, onClick, asChild, extraContent, }: RouterOptionComponentProps) => JSX_2.Element;
|
|
1866
|
-
TouchableOption: ({ title, description, icon, danger, disabled, fullWidth, onClick, rightIcon,
|
|
1867
|
+
TouchableOption: ({ title, description, icon, danger, disabled, fullWidth, onClick, rightIcon, extra, extraContent, }: TouchableOptionComponentProps) => JSX_2.Element;
|
|
1867
1868
|
Close: ({ children }: React_2.PropsWithChildren) => JSX_2.Element;
|
|
1868
1869
|
Portal: ({ children, container, }: React_2.PropsWithChildren<{
|
|
1869
1870
|
container?: HTMLElement;
|
|
@@ -1952,7 +1953,7 @@ declare interface Props extends ComponentProps<typeof Button> {
|
|
|
1952
1953
|
rel?: string;
|
|
1953
1954
|
title?: string;
|
|
1954
1955
|
download?: boolean | string;
|
|
1955
|
-
|
|
1956
|
+
extra?: React.HTMLAttributes<HTMLAnchorElement>;
|
|
1956
1957
|
}
|
|
1957
1958
|
|
|
1958
1959
|
declare interface Props_100 {
|
|
@@ -2153,7 +2154,7 @@ declare interface Props_2 {
|
|
|
2153
2154
|
submit?: boolean;
|
|
2154
2155
|
disabled?: boolean;
|
|
2155
2156
|
loading?: boolean;
|
|
2156
|
-
|
|
2157
|
+
extra?: React.HTMLAttributes<HTMLButtonElement>;
|
|
2157
2158
|
}
|
|
2158
2159
|
|
|
2159
2160
|
declare interface Props_20 {
|
|
@@ -2379,7 +2380,7 @@ declare type Props_4 = Omit<ComponentProps<typeof Button>, 'children'> & {
|
|
|
2379
2380
|
*/
|
|
2380
2381
|
optionsDisabled?: boolean;
|
|
2381
2382
|
dropdownAriaLabel?: string;
|
|
2382
|
-
|
|
2383
|
+
extra?: React.HTMLAttributes<HTMLElement>;
|
|
2383
2384
|
};
|
|
2384
2385
|
|
|
2385
2386
|
declare interface Props_40 extends Props_37 {
|
|
@@ -2423,6 +2424,7 @@ declare type Props_46 = DesignSystemTextAreaProps & {
|
|
|
2423
2424
|
info?: string;
|
|
2424
2425
|
showInfo?: boolean;
|
|
2425
2426
|
showCharacterCount?: boolean;
|
|
2427
|
+
extra?: React_2.HTMLAttributes<HTMLTextAreaElement>;
|
|
2426
2428
|
missingLabel: string;
|
|
2427
2429
|
selectValue: string;
|
|
2428
2430
|
};
|
|
@@ -2457,7 +2459,7 @@ declare interface Props_5 {
|
|
|
2457
2459
|
onClick?: () => void;
|
|
2458
2460
|
disabled?: boolean;
|
|
2459
2461
|
iconName?: MediumIcon;
|
|
2460
|
-
|
|
2462
|
+
extra?: React.HTMLAttributes<HTMLElement>;
|
|
2461
2463
|
}
|
|
2462
2464
|
|
|
2463
2465
|
declare interface Props_50 {
|
|
@@ -2680,6 +2682,7 @@ declare interface Props_72 {
|
|
|
2680
2682
|
to?: To;
|
|
2681
2683
|
onClick?: () => void;
|
|
2682
2684
|
height?: Dimensions;
|
|
2685
|
+
extra?: React.HTMLAttributes<HTMLElement>;
|
|
2683
2686
|
}
|
|
2684
2687
|
|
|
2685
2688
|
declare interface Props_73 {
|
|
@@ -3048,11 +3051,11 @@ declare type SecondaryAction<T> = {
|
|
|
3048
3051
|
};
|
|
3049
3052
|
|
|
3050
3053
|
declare const Section: {
|
|
3051
|
-
({ 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;
|
|
3052
3055
|
TwoThirds: ({ illustration, title, description, action, link, settings, banner, children, size, }: React_2.PropsWithChildren<SectionSettingsProps>) => JSX_2.Element;
|
|
3053
3056
|
CustomTwoThirds: ({ secondary, primary }: React_2.PropsWithChildren<CustomSectionProps>) => JSX_2.Element;
|
|
3054
3057
|
FullWidth: ({ illustration, title, description, action, children, link, size, }: React_2.PropsWithChildren<SectionProps>) => JSX_2.Element;
|
|
3055
|
-
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;
|
|
3056
3059
|
List: ({ illustration, title, description, action, settings, children, size, paddingX, paddingY, }: React_2.PropsWithChildren<SectionSettingsProps>) => JSX_2.Element;
|
|
3057
3060
|
Empty: ({ children }: React_2.PropsWithChildren) => JSX_2.Element;
|
|
3058
3061
|
};
|
|
@@ -3067,6 +3070,7 @@ declare interface SectionProps {
|
|
|
3067
3070
|
link?: TitleProps['link'];
|
|
3068
3071
|
banner?: React_2.ReactNode;
|
|
3069
3072
|
size?: TitleProps['variant'];
|
|
3073
|
+
extra?: React_2.HTMLAttributes<HTMLElement>;
|
|
3070
3074
|
}
|
|
3071
3075
|
|
|
3072
3076
|
declare interface SectionSettingsProps extends SectionProps {
|
|
@@ -3075,7 +3079,7 @@ declare interface SectionSettingsProps extends SectionProps {
|
|
|
3075
3079
|
paddingY?: Dimensions | null | undefined;
|
|
3076
3080
|
}
|
|
3077
3081
|
|
|
3078
|
-
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;
|
|
3079
3083
|
export { Select }
|
|
3080
3084
|
export { Select as SelectField }
|
|
3081
3085
|
|
|
@@ -3281,7 +3285,7 @@ declare interface SubComponents_4 {
|
|
|
3281
3285
|
}
|
|
3282
3286
|
|
|
3283
3287
|
declare const Table: {
|
|
3284
|
-
({ 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;
|
|
3285
3289
|
Blank: ({ colSpan, text, textAlign, ctaButtonText, ctaButtonOnClick }: TableBlankProps) => JSX_2.Element;
|
|
3286
3290
|
Body: (props: {
|
|
3287
3291
|
children?: React_2.ReactNode | undefined;
|
|
@@ -3296,7 +3300,7 @@ declare const Table: {
|
|
|
3296
3300
|
HeadCell: ({ left, children, width, sticky, highlighted, colSpan, wide, ellipsis, justifyContent, padding, paddingY, paddingX, background, style, }: React_2.PropsWithChildren< TableHeadCellProps>) => JSX_2.Element;
|
|
3297
3301
|
Loading: ({ colSpan }: TableLoadingProps) => JSX_2.Element;
|
|
3298
3302
|
Row: {
|
|
3299
|
-
({ 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;
|
|
3300
3304
|
Router: ({ children, to, background }: {
|
|
3301
3305
|
to: string;
|
|
3302
3306
|
background?: Colors;
|
|
@@ -3392,6 +3396,7 @@ declare interface TableProps {
|
|
|
3392
3396
|
key?: number;
|
|
3393
3397
|
style?: Partial<CSSStyleDeclaration>;
|
|
3394
3398
|
density?: TableDensity;
|
|
3399
|
+
extra?: React_2.HTMLAttributes<HTMLElement>;
|
|
3395
3400
|
}
|
|
3396
3401
|
|
|
3397
3402
|
declare type TableRowProps = React_2.PropsWithChildren<{
|
|
@@ -3405,6 +3410,7 @@ declare type TableRowProps = React_2.PropsWithChildren<{
|
|
|
3405
3410
|
className?: string;
|
|
3406
3411
|
backgroundHover?: Colors;
|
|
3407
3412
|
style?: React_2.CSSProperties;
|
|
3413
|
+
extra?: React_2.HTMLAttributes<HTMLTableRowElement>;
|
|
3408
3414
|
}>;
|
|
3409
3415
|
|
|
3410
3416
|
declare interface TableSortingHeaderProps {
|
|
@@ -3493,7 +3499,7 @@ export { Text_2 as Text }
|
|
|
3493
3499
|
|
|
3494
3500
|
export declare type TextAlign = keyof typeof base.textAlign;
|
|
3495
3501
|
|
|
3496
|
-
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;
|
|
3497
3503
|
export { TextAreaField as TextArea }
|
|
3498
3504
|
export { TextAreaField }
|
|
3499
3505
|
|
|
@@ -3503,7 +3509,7 @@ declare interface TextCalloutProps extends BaseCalloutProps {
|
|
|
3503
3509
|
}
|
|
3504
3510
|
|
|
3505
3511
|
export declare const TextField: {
|
|
3506
|
-
({ 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,
|
|
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;
|
|
3507
3513
|
Select(props: DesignSystemTextFieldProps): JSX_2.Element;
|
|
3508
3514
|
};
|
|
3509
3515
|
|
|
@@ -4960,7 +4966,7 @@ declare type TouchableOptionComponentProps = BaseOptionProps & {
|
|
|
4960
4966
|
onClick?: ((event: Event) => void) | undefined;
|
|
4961
4967
|
fullWidth?: boolean;
|
|
4962
4968
|
rightIcon?: boolean;
|
|
4963
|
-
|
|
4969
|
+
extra?: React_2.HTMLAttributes<HTMLElement>;
|
|
4964
4970
|
};
|
|
4965
4971
|
export { TouchableOptionComponentProps as PopoverMenuTouchableOptionProps }
|
|
4966
4972
|
export { TouchableOptionComponentProps }
|