@indico-data/design-system 1.0.56 → 1.0.58
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/.yarn/sdks/prettier/package.json +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/inputs/RadioButtons/RadioButtons.styles.d.ts +1 -1
- package/lib/components/text-truncate/TextTruncate.d.ts +2 -1
- package/lib/index.d.ts +72 -58
- package/lib/index.esm.js +1856 -221
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1855 -219
- package/lib/index.js.map +1 -1
- package/package.json +32 -31
- package/src/components/Tooltip/Tooltip.stories.tsx +107 -0
- package/src/components/Tooltip/Tooltip.styles.ts +76 -0
- package/src/components/Tooltip/Tooltip.tsx +71 -0
- package/src/components/Wizard/Wizard.stories.tsx +1 -1
- package/src/components/WizardWithSidebar/WizardWithSidebar.styles.ts +26 -7
- package/src/components/WizardWithSidebar/WizardWithSidebar.tsx +44 -42
- package/src/components/index.ts +3 -0
- package/src/components/text-truncate/TextTruncate.tsx +3 -2
- package/src/index.ts +1 -0
- package/lib/components/Navigation/Drawer/constants.d.ts +0 -3
- package/lib/components/containment/Tooltip/Tooltip.d.ts +0 -15
- package/lib/components/containment/Tooltip/Tooltip.stories.d.ts +0 -6
- package/lib/components/containment/Tooltip/Tooltip.styles.d.ts +0 -2
- /package/{lib/components/containment/Tooltip/index.d.ts → src/components/Tooltip/index.ts} +0 -0
|
@@ -5,7 +5,7 @@ export declare const StyledRadioGroup: import("styled-components").IStyledCompon
|
|
|
5
5
|
onChange?: ((value: string) => void) | undefined;
|
|
6
6
|
children: import("react").ReactNode;
|
|
7
7
|
className?: string | undefined;
|
|
8
|
-
} & import("
|
|
8
|
+
} & import("react-aria").AriaRadioGroupProps, {
|
|
9
9
|
hideFocusRing: boolean;
|
|
10
10
|
color: string;
|
|
11
11
|
labelColor: string;
|
|
@@ -2,6 +2,7 @@ interface TextTruncateProps {
|
|
|
2
2
|
string: string;
|
|
3
3
|
maxChars: number;
|
|
4
4
|
children?: any;
|
|
5
|
+
noTitle?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare function TextTruncate({ string, maxChars, children }: TextTruncateProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function TextTruncate({ string, maxChars, children, noTitle }: TextTruncateProps): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
package/lib/index.d.ts
CHANGED
|
@@ -444,25 +444,25 @@ declare const allColors: {
|
|
|
444
444
|
readonly backgroundColor: "#182432";
|
|
445
445
|
};
|
|
446
446
|
|
|
447
|
-
type Props$
|
|
447
|
+
type Props$s = PermafrostComponent & {
|
|
448
448
|
content: React__default.ReactNode;
|
|
449
449
|
header?: React__default.ReactNode | string;
|
|
450
450
|
open?: boolean;
|
|
451
451
|
};
|
|
452
|
-
declare const Accordion: (props: Props$
|
|
452
|
+
declare const Accordion: (props: Props$s) => react_jsx_runtime.JSX.Element;
|
|
453
453
|
|
|
454
|
-
type Props$
|
|
454
|
+
type Props$r = PermafrostComponent & {
|
|
455
455
|
style?: object;
|
|
456
456
|
children: React__default.ReactNode;
|
|
457
457
|
};
|
|
458
|
-
declare const Section: (props: Props$
|
|
458
|
+
declare const Section: (props: Props$r) => react_jsx_runtime.JSX.Element;
|
|
459
459
|
|
|
460
|
-
type Props$
|
|
460
|
+
type Props$q = PermafrostComponent & {
|
|
461
461
|
title?: string;
|
|
462
462
|
style?: object;
|
|
463
463
|
children: React__default.ReactNode;
|
|
464
464
|
};
|
|
465
|
-
declare const SectionBlock: (props: Props$
|
|
465
|
+
declare const SectionBlock: (props: Props$q) => react_jsx_runtime.JSX.Element;
|
|
466
466
|
|
|
467
467
|
type SectionBodyProps = PermafrostComponent & {
|
|
468
468
|
style?: object;
|
|
@@ -470,12 +470,12 @@ type SectionBodyProps = PermafrostComponent & {
|
|
|
470
470
|
};
|
|
471
471
|
declare const SectionBody: (props: SectionBodyProps) => react_jsx_runtime.JSX.Element;
|
|
472
472
|
|
|
473
|
-
type Props$
|
|
473
|
+
type Props$p = PermafrostComponent & {
|
|
474
474
|
style?: object;
|
|
475
475
|
children?: React__default.ReactNode;
|
|
476
476
|
};
|
|
477
477
|
declare const SectionHeader: {
|
|
478
|
-
(props: Props$
|
|
478
|
+
(props: Props$p): react_jsx_runtime.JSX.Element;
|
|
479
479
|
defaultProps: {
|
|
480
480
|
className: string;
|
|
481
481
|
style: {};
|
|
@@ -507,7 +507,7 @@ declare function Button(props: ButtonProps): React__default.ReactElement;
|
|
|
507
507
|
type IconButtonVariant = 'default' | 'primary' | 'destructive' | 'outline';
|
|
508
508
|
type ButtonSize = 'normal' | 'large';
|
|
509
509
|
|
|
510
|
-
type Props$
|
|
510
|
+
type Props$o = PermafrostComponent & {
|
|
511
511
|
/**
|
|
512
512
|
* Adjusts vertical alignment of the text label, in relation to the icon
|
|
513
513
|
*/
|
|
@@ -533,9 +533,9 @@ type Props$n = PermafrostComponent & {
|
|
|
533
533
|
*
|
|
534
534
|
* @see {@link https://react-spectrum.adobe.com/blog/building-a-button-part-1.html}
|
|
535
535
|
*/
|
|
536
|
-
declare function IconButton(props: Props$
|
|
536
|
+
declare function IconButton(props: Props$o): react_jsx_runtime.JSX.Element;
|
|
537
537
|
|
|
538
|
-
type Props$
|
|
538
|
+
type Props$n = PermafrostComponent & {
|
|
539
539
|
defaultValue?: string;
|
|
540
540
|
disabled?: boolean;
|
|
541
541
|
horizontal?: boolean;
|
|
@@ -550,7 +550,7 @@ type Props$m = PermafrostComponent & {
|
|
|
550
550
|
value?: string | number;
|
|
551
551
|
validationErrors?: string[];
|
|
552
552
|
};
|
|
553
|
-
declare const BorderSelect: (props: Props$
|
|
553
|
+
declare const BorderSelect: (props: Props$n) => react_jsx_runtime.JSX.Element;
|
|
554
554
|
|
|
555
555
|
type ComboboxProps = {
|
|
556
556
|
'aria-label'?: string;
|
|
@@ -598,7 +598,7 @@ type ComboboxOption = {
|
|
|
598
598
|
type ComboboxSize = 'small' | 'medium';
|
|
599
599
|
type ComboboxVariant = 'default' | 'light';
|
|
600
600
|
|
|
601
|
-
type Props$
|
|
601
|
+
type Props$m = PermafrostComponent & {
|
|
602
602
|
disabled?: boolean;
|
|
603
603
|
initialText?: string;
|
|
604
604
|
options: {
|
|
@@ -612,7 +612,7 @@ type Props$l = PermafrostComponent & {
|
|
|
612
612
|
onChange(e: React__default.ChangeEvent<HTMLSelectElement>): void;
|
|
613
613
|
onClick?(e: React__default.MouseEvent<HTMLDivElement, MouseEvent>): void;
|
|
614
614
|
};
|
|
615
|
-
declare const Select: (props: Props$
|
|
615
|
+
declare const Select: (props: Props$m) => react_jsx_runtime.JSX.Element;
|
|
616
616
|
|
|
617
617
|
/**
|
|
618
618
|
* Multiselect combobox component. If selections are not bound to outside state
|
|
@@ -653,7 +653,7 @@ declare const SingleCombobox: React__default.ForwardRefExoticComponent<Permafros
|
|
|
653
653
|
onChange: (selectedOption: ComboboxOption) => void;
|
|
654
654
|
} & React__default.RefAttributes<unknown>>;
|
|
655
655
|
|
|
656
|
-
type Props$
|
|
656
|
+
type Props$l = PermafrostComponent & {
|
|
657
657
|
ariaLabel?: string;
|
|
658
658
|
fill?: string;
|
|
659
659
|
name: IconName;
|
|
@@ -666,9 +666,9 @@ type Props$k = PermafrostComponent & {
|
|
|
666
666
|
* Generic icon component, hidden from Assistive Technology by default.
|
|
667
667
|
* If icon should be available to AT, pass the desired name into the `ariaLabel` prop.
|
|
668
668
|
*/
|
|
669
|
-
declare function Icon({ style, ...props }: Props$
|
|
669
|
+
declare function Icon({ style, ...props }: Props$l): React__default.ReactElement | null;
|
|
670
670
|
|
|
671
|
-
type Props$
|
|
671
|
+
type Props$k = PermafrostComponent & {
|
|
672
672
|
children: React__default.ReactNode | string;
|
|
673
673
|
minLength?: number;
|
|
674
674
|
onUpdate?(newValue: string): void;
|
|
@@ -677,9 +677,9 @@ type Props$j = PermafrostComponent & {
|
|
|
677
677
|
* Wrapper component which enables text editing in place directly on a child component,
|
|
678
678
|
* element, or plain text.
|
|
679
679
|
*/
|
|
680
|
-
declare function EditableInput(props: Props$
|
|
680
|
+
declare function EditableInput(props: Props$k): react_jsx_runtime.JSX.Element;
|
|
681
681
|
|
|
682
|
-
type Props$
|
|
682
|
+
type Props$j = PermafrostComponent & {
|
|
683
683
|
autoFocus?: boolean;
|
|
684
684
|
decrement?(): void;
|
|
685
685
|
disabled?: boolean;
|
|
@@ -699,9 +699,9 @@ type Props$i = PermafrostComponent & {
|
|
|
699
699
|
* Basic numeric input field. A label is required, but may be visually hidden
|
|
700
700
|
* using the `hiddenLabel` property.
|
|
701
701
|
*/
|
|
702
|
-
declare function NumberInput(props: Props$
|
|
702
|
+
declare function NumberInput(props: Props$j): React__default.ReactElement;
|
|
703
703
|
|
|
704
|
-
type Props$
|
|
704
|
+
type Props$i = PermafrostComponent & {
|
|
705
705
|
border?: boolean;
|
|
706
706
|
showClearInputIcon?: boolean;
|
|
707
707
|
showSearchIcon?: boolean;
|
|
@@ -715,13 +715,13 @@ type Props$h = PermafrostComponent & {
|
|
|
715
715
|
value?: string;
|
|
716
716
|
};
|
|
717
717
|
declare const SearchInput: {
|
|
718
|
-
(props: Props$
|
|
718
|
+
(props: Props$i): react_jsx_runtime.JSX.Element;
|
|
719
719
|
defaultProps: {
|
|
720
720
|
className: string;
|
|
721
721
|
};
|
|
722
722
|
};
|
|
723
723
|
|
|
724
|
-
type Props$
|
|
724
|
+
type Props$h = PermafrostComponent & {
|
|
725
725
|
autoComplete?: 'email' | 'current-password' | 'new-password' | string;
|
|
726
726
|
autoFocus?: boolean;
|
|
727
727
|
defaultValue?: string;
|
|
@@ -742,9 +742,9 @@ type Props$g = PermafrostComponent & {
|
|
|
742
742
|
value?: string;
|
|
743
743
|
readOnly?: boolean;
|
|
744
744
|
};
|
|
745
|
-
declare function TextInput(props: Props$
|
|
745
|
+
declare function TextInput(props: Props$h): React__default.ReactElement;
|
|
746
746
|
|
|
747
|
-
type Props$
|
|
747
|
+
type Props$g = {
|
|
748
748
|
['aria-label']: string;
|
|
749
749
|
children?: React__default.ReactNode;
|
|
750
750
|
hideFocusRing: boolean;
|
|
@@ -760,7 +760,7 @@ type Props$f = {
|
|
|
760
760
|
* A group label must be included: either pass a string or markup into the
|
|
761
761
|
* `label` prop, or include an `aria-label` or `aria-labelledby` attribute.
|
|
762
762
|
*/
|
|
763
|
-
declare function RadioGroup$1({ children, ...props }: Props$
|
|
763
|
+
declare function RadioGroup$1({ children, ...props }: Props$g): react_jsx_runtime.JSX.Element;
|
|
764
764
|
/**
|
|
765
765
|
* A single radio button and its label.
|
|
766
766
|
*/
|
|
@@ -789,7 +789,7 @@ declare function Radio(props: AriaRadioProps & {
|
|
|
789
789
|
isVisuallySelected?: (selectedValue: string) => void;
|
|
790
790
|
}): react_jsx_runtime.JSX.Element;
|
|
791
791
|
|
|
792
|
-
type Props$
|
|
792
|
+
type Props$f = PermafrostComponent & {
|
|
793
793
|
ariaLabel?: string;
|
|
794
794
|
disableBeforeDate?: Date;
|
|
795
795
|
disableAfterDate?: Date;
|
|
@@ -801,9 +801,9 @@ type Props$e = PermafrostComponent & {
|
|
|
801
801
|
selected?: Date | undefined;
|
|
802
802
|
value: Date | undefined;
|
|
803
803
|
};
|
|
804
|
-
declare const DatePicker: (props: Props$
|
|
804
|
+
declare const DatePicker: (props: Props$f) => react_jsx_runtime.JSX.Element;
|
|
805
805
|
|
|
806
|
-
type Props$
|
|
806
|
+
type Props$e = PermafrostComponent & {
|
|
807
807
|
ariaLabel?: string;
|
|
808
808
|
disableBeforeDate?: Date;
|
|
809
809
|
disableAfterDate?: Date;
|
|
@@ -820,9 +820,9 @@ type Props$d = PermafrostComponent & {
|
|
|
820
820
|
isOpen?: boolean;
|
|
821
821
|
clearOnClose?: boolean;
|
|
822
822
|
};
|
|
823
|
-
declare const NoInputDatePicker: (props: Props$
|
|
823
|
+
declare const NoInputDatePicker: (props: Props$e) => react_jsx_runtime.JSX.Element;
|
|
824
824
|
|
|
825
|
-
type Props$
|
|
825
|
+
type Props$d = PermafrostComponent & {
|
|
826
826
|
ariaLabel?: string;
|
|
827
827
|
size?: string;
|
|
828
828
|
style?: {
|
|
@@ -830,24 +830,24 @@ type Props$c = PermafrostComponent & {
|
|
|
830
830
|
};
|
|
831
831
|
fill?: string;
|
|
832
832
|
};
|
|
833
|
-
declare function CircleSpinner(props: Props$
|
|
833
|
+
declare function CircleSpinner(props: Props$d): React__default.ReactElement;
|
|
834
834
|
|
|
835
|
-
type Props$
|
|
835
|
+
type Props$c = PermafrostComponent & {
|
|
836
836
|
width?: string;
|
|
837
837
|
};
|
|
838
|
-
declare function BarSpinner(props: Props$
|
|
838
|
+
declare function BarSpinner(props: Props$c): React__default.ReactElement;
|
|
839
839
|
|
|
840
|
-
type Props$
|
|
840
|
+
type Props$b = PermafrostComponent & {
|
|
841
841
|
color?: string;
|
|
842
842
|
overallSize?: string | number;
|
|
843
843
|
rippleSize?: string | number;
|
|
844
844
|
showRandomMessage?: boolean;
|
|
845
845
|
};
|
|
846
|
-
declare function CirclePulse(props: Props$
|
|
846
|
+
declare function CirclePulse(props: Props$b): React__default.ReactElement;
|
|
847
847
|
|
|
848
848
|
declare const RandomLoadingMessage: () => react_jsx_runtime.JSX.Element;
|
|
849
849
|
|
|
850
|
-
type Props$
|
|
850
|
+
type Props$a = PermafrostComponent & {
|
|
851
851
|
backgroundColor?: string;
|
|
852
852
|
foregroundColor?: string;
|
|
853
853
|
ringRadius?: number;
|
|
@@ -856,11 +856,11 @@ type Props$9 = PermafrostComponent & {
|
|
|
856
856
|
value: number;
|
|
857
857
|
valueFontSize?: number;
|
|
858
858
|
};
|
|
859
|
-
declare function PercentageRing(props: Props$
|
|
859
|
+
declare function PercentageRing(props: Props$a): react_jsx_runtime.JSX.Element;
|
|
860
860
|
|
|
861
861
|
declare const LoadingList: () => react_jsx_runtime.JSX.Element;
|
|
862
862
|
|
|
863
|
-
type Props$
|
|
863
|
+
type Props$9 = PermafrostComponent & {
|
|
864
864
|
accordion?: boolean;
|
|
865
865
|
accordionDefaultOpen?: boolean;
|
|
866
866
|
emptyListMessage?: string;
|
|
@@ -897,9 +897,9 @@ type Props$8 = PermafrostComponent & {
|
|
|
897
897
|
title: string;
|
|
898
898
|
totalCount?: number;
|
|
899
899
|
};
|
|
900
|
-
declare const ListTable: (props: Props$
|
|
900
|
+
declare const ListTable: (props: Props$9) => react_jsx_runtime.JSX.Element;
|
|
901
901
|
|
|
902
|
-
type Props$
|
|
902
|
+
type Props$8 = PermafrostComponent & {
|
|
903
903
|
currentPage: number;
|
|
904
904
|
limit: number;
|
|
905
905
|
pageInfo: {
|
|
@@ -914,9 +914,9 @@ type Props$7 = PermafrostComponent & {
|
|
|
914
914
|
getNextPage(cursor: number): void;
|
|
915
915
|
getPreviousPage(cursor: number): void;
|
|
916
916
|
};
|
|
917
|
-
declare function Pagination(props: Props$
|
|
917
|
+
declare function Pagination(props: Props$8): react_jsx_runtime.JSX.Element;
|
|
918
918
|
|
|
919
|
-
type Props$
|
|
919
|
+
type Props$7 = PermafrostComponent & {
|
|
920
920
|
actionLink?: string;
|
|
921
921
|
actionText?: string;
|
|
922
922
|
buttonAction?(): void;
|
|
@@ -926,7 +926,7 @@ type Props$6 = PermafrostComponent & {
|
|
|
926
926
|
'data-cy': string;
|
|
927
927
|
};
|
|
928
928
|
};
|
|
929
|
-
declare function Shrug(props: Props$
|
|
929
|
+
declare function Shrug(props: Props$7): React__default.ReactElement;
|
|
930
930
|
|
|
931
931
|
type ModalBaseProps = PermafrostComponent & {
|
|
932
932
|
children: React__default.ReactNode | React__default.ReactNode[];
|
|
@@ -954,7 +954,7 @@ type ModalBaseProps = PermafrostComponent & {
|
|
|
954
954
|
*/
|
|
955
955
|
declare function ModalBase(props: ModalBaseProps): react_jsx_runtime.JSX.Element;
|
|
956
956
|
|
|
957
|
-
type Props$
|
|
957
|
+
type Props$6 = PermafrostComponent & Pick<ModalBaseProps, 'open'> & {
|
|
958
958
|
describedBy?: string;
|
|
959
959
|
clickOutsideHandler(e?: React__default.SyntheticEvent): void;
|
|
960
960
|
confirmText?: string;
|
|
@@ -966,9 +966,9 @@ type Props$5 = PermafrostComponent & Pick<ModalBaseProps, 'open'> & {
|
|
|
966
966
|
title?: string | React__default.ReactNode;
|
|
967
967
|
width?: number;
|
|
968
968
|
};
|
|
969
|
-
declare function ConfirmModal(props: Props$
|
|
969
|
+
declare function ConfirmModal(props: Props$6): react_jsx_runtime.JSX.Element;
|
|
970
970
|
|
|
971
|
-
type Props$
|
|
971
|
+
type Props$5 = {
|
|
972
972
|
children: React__default.ReactNode | React__default.ReactNode[];
|
|
973
973
|
className?: string;
|
|
974
974
|
isLoading?: boolean;
|
|
@@ -980,7 +980,7 @@ type Props$4 = {
|
|
|
980
980
|
*
|
|
981
981
|
* todo: this is an extremely simple version of this component; as I get more familiar with LoadingIndicator use cases, this will be refactored. - jm 9/1/2020
|
|
982
982
|
*/
|
|
983
|
-
declare function LoadingAwareContainer(props: Props$
|
|
983
|
+
declare function LoadingAwareContainer(props: Props$5): React__default.ReactElement;
|
|
984
984
|
|
|
985
985
|
type CancelText$1 = {
|
|
986
986
|
confirmText: string;
|
|
@@ -988,7 +988,7 @@ type CancelText$1 = {
|
|
|
988
988
|
rejectText: string;
|
|
989
989
|
title: string;
|
|
990
990
|
};
|
|
991
|
-
type Props$
|
|
991
|
+
type Props$4 = PermafrostComponent & {
|
|
992
992
|
children: React__default.ReactNode;
|
|
993
993
|
/**
|
|
994
994
|
* text for the cancel confirmation modal
|
|
@@ -1026,7 +1026,7 @@ type Props$3 = PermafrostComponent & {
|
|
|
1026
1026
|
'data-cy': string;
|
|
1027
1027
|
};
|
|
1028
1028
|
};
|
|
1029
|
-
declare function Wizard(props: Props$
|
|
1029
|
+
declare function Wizard(props: Props$4): react_jsx_runtime.JSX.Element;
|
|
1030
1030
|
|
|
1031
1031
|
declare const StyledWizard: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
1032
1032
|
declare const WizardCard: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
@@ -1038,7 +1038,7 @@ type CancelText = {
|
|
|
1038
1038
|
rejectText: string;
|
|
1039
1039
|
title: string;
|
|
1040
1040
|
};
|
|
1041
|
-
type Props$
|
|
1041
|
+
type Props$3 = PermafrostComponent & {
|
|
1042
1042
|
children: React__default.ReactNode;
|
|
1043
1043
|
/**
|
|
1044
1044
|
* text for the cancel confirmation modal
|
|
@@ -1086,7 +1086,7 @@ type Props$2 = PermafrostComponent & {
|
|
|
1086
1086
|
color?: string;
|
|
1087
1087
|
buttonColor?: string;
|
|
1088
1088
|
};
|
|
1089
|
-
declare function WizardWithSidebar(props: Props$
|
|
1089
|
+
declare function WizardWithSidebar(props: Props$3): react_jsx_runtime.JSX.Element;
|
|
1090
1090
|
|
|
1091
1091
|
type ListItem = {
|
|
1092
1092
|
id: string;
|
|
@@ -1095,7 +1095,7 @@ type ListItem = {
|
|
|
1095
1095
|
path: string;
|
|
1096
1096
|
};
|
|
1097
1097
|
|
|
1098
|
-
type Props$
|
|
1098
|
+
type Props$2 = PermafrostComponent & {
|
|
1099
1099
|
style?: React__default.CSSProperties;
|
|
1100
1100
|
logoText?: string;
|
|
1101
1101
|
logoIcon?: IconName;
|
|
@@ -1105,16 +1105,17 @@ type Props$1 = PermafrostComponent & {
|
|
|
1105
1105
|
$expandedWidth?: string;
|
|
1106
1106
|
$collapsedWidth?: string;
|
|
1107
1107
|
};
|
|
1108
|
-
declare const Drawer: (props: Props$
|
|
1108
|
+
declare const Drawer: (props: Props$2) => react_jsx_runtime.JSX.Element;
|
|
1109
1109
|
|
|
1110
1110
|
interface TextTruncateProps {
|
|
1111
1111
|
string: string;
|
|
1112
1112
|
maxChars: number;
|
|
1113
1113
|
children?: any;
|
|
1114
|
+
noTitle?: boolean;
|
|
1114
1115
|
}
|
|
1115
|
-
declare function TextTruncate({ string, maxChars, children }: TextTruncateProps): react_jsx_runtime.JSX.Element;
|
|
1116
|
+
declare function TextTruncate({ string, maxChars, children, noTitle }: TextTruncateProps): react_jsx_runtime.JSX.Element;
|
|
1116
1117
|
|
|
1117
|
-
type Props = {
|
|
1118
|
+
type Props$1 = {
|
|
1118
1119
|
disabled: boolean;
|
|
1119
1120
|
onChange: any;
|
|
1120
1121
|
value: boolean;
|
|
@@ -1123,7 +1124,20 @@ type Props = {
|
|
|
1123
1124
|
checkedIconName?: IconName;
|
|
1124
1125
|
notCheckedIconName?: IconName;
|
|
1125
1126
|
} & PermafrostComponent;
|
|
1126
|
-
declare const Toggle: (props: Props) => react_jsx_runtime.JSX.Element;
|
|
1127
|
+
declare const Toggle: (props: Props$1) => react_jsx_runtime.JSX.Element;
|
|
1128
|
+
|
|
1129
|
+
type Props = PermafrostComponent & {
|
|
1130
|
+
questionMark?: boolean;
|
|
1131
|
+
for?: string | null;
|
|
1132
|
+
place?: string;
|
|
1133
|
+
clickToShow?: boolean;
|
|
1134
|
+
delayShow?: number;
|
|
1135
|
+
delayHide?: number;
|
|
1136
|
+
questionMarkClassName?: string;
|
|
1137
|
+
children: React__default.ReactNode;
|
|
1138
|
+
block?: boolean;
|
|
1139
|
+
};
|
|
1140
|
+
declare const Tooltip: (props: Props) => react_jsx_runtime.JSX.Element;
|
|
1127
1141
|
|
|
1128
1142
|
declare const mix: (color_1: string, color_2: string, weight: number) => string;
|
|
1129
1143
|
declare const shade: (color: string, percentage: number) => string;
|
|
@@ -1211,4 +1225,4 @@ declare namespace number_d {
|
|
|
1211
1225
|
export { number_d_formatConfidence as formatConfidence, number_d_maxDecimalPlaces as maxDecimalPlaces, number_d_numberWithCommas as numberWithCommas };
|
|
1212
1226
|
}
|
|
1213
1227
|
|
|
1214
|
-
export { animation as ANIMATION, Radio as AbstractRadio, RadioGroup as AbstractRadioGroup, Accordion, breakpoints as BREAKPOINT, BarSpinner, BorderSelect, Button, allColors as COLORS, CirclePulse, CircleSpinner, ConfirmModal, DatePicker, Drawer, EditableInput, GlobalStyles, Icon, IconButton, ListTable, LoadingAwareContainer, LoadingList, margin as MARGINS, MATH, mediaQueries as MEDIA_QUERIES, ModalBase, MultiCombobox, NoInputDatePicker, NumberInput, padding as PADDINGS, Pagination, PercentageRing, Radio$1 as Radio, RadioGroup$1 as RadioGroup, RandomLoadingMessage, spacings as SPACING, SearchInput, Section, SectionBlock, SectionBody, SectionHeader, SectionTable, Select, Shrug, SingleCombobox, StyledWizard, typography as TYPOGRAPHY, TextInput, TextTruncate, Toggle, Wizard, WizardCard, WizardSection, WizardWithSidebar, color_d as colorUtils, faIcons, indicons, number_d as numberUtils, string_d as stringUtils };
|
|
1228
|
+
export { animation as ANIMATION, Radio as AbstractRadio, RadioGroup as AbstractRadioGroup, Accordion, breakpoints as BREAKPOINT, BarSpinner, BorderSelect, Button, allColors as COLORS, CirclePulse, CircleSpinner, ConfirmModal, DatePicker, Drawer, EditableInput, GlobalStyles, Icon, IconButton, ListTable, LoadingAwareContainer, LoadingList, margin as MARGINS, MATH, mediaQueries as MEDIA_QUERIES, ModalBase, MultiCombobox, NoInputDatePicker, NumberInput, padding as PADDINGS, Pagination, PercentageRing, Radio$1 as Radio, RadioGroup$1 as RadioGroup, RandomLoadingMessage, spacings as SPACING, SearchInput, Section, SectionBlock, SectionBody, SectionHeader, SectionTable, Select, Shrug, SingleCombobox, StyledWizard, typography as TYPOGRAPHY, TextInput, TextTruncate, Toggle, Tooltip, Wizard, WizardCard, WizardSection, WizardWithSidebar, color_d as colorUtils, faIcons, indicons, number_d as numberUtils, string_d as stringUtils };
|