@indico-data/design-system 2.0.3 → 2.1.2

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.
Files changed (36) hide show
  1. package/.commitlintrc.ts +13 -0
  2. package/.harness/pipeline.yaml +1 -1
  3. package/.releaserc.json +16 -1
  4. package/README.md +47 -26
  5. package/lib/index.css +84 -67
  6. package/lib/index.d.ts +49 -156
  7. package/lib/index.esm.css +84 -67
  8. package/lib/index.esm.js +1 -287
  9. package/lib/index.esm.js.map +1 -1
  10. package/lib/index.js +0 -291
  11. package/lib/index.js.map +1 -1
  12. package/lib/legacy/components/index.d.ts +0 -2
  13. package/package.json +4 -3
  14. package/src/components/button/{Button.scss → styles/Button.scss} +5 -69
  15. package/src/components/button/styles/_variables.scss +89 -0
  16. package/src/index.ts +0 -5
  17. package/src/legacy/components/index.ts +0 -2
  18. package/src/styles/index.scss +1 -1
  19. package/src/styles/variables/themes/dark.scss +70 -74
  20. package/src/stylesAndAnimations/colors/constants.ts +60 -60
  21. package/lib/legacy/components/Wizard/Wizard.d.ts +0 -48
  22. package/lib/legacy/components/Wizard/Wizard.stories.d.ts +0 -29
  23. package/lib/legacy/components/Wizard/Wizard.styles.d.ts +0 -4
  24. package/lib/legacy/components/Wizard/index.d.ts +0 -2
  25. package/lib/legacy/components/WizardWithSidebar/WizardWithSidebar.d.ts +0 -58
  26. package/lib/legacy/components/WizardWithSidebar/WizardWithSidebar.stories.d.ts +0 -46
  27. package/lib/legacy/components/WizardWithSidebar/WizardWithSidebar.styles.d.ts +0 -9
  28. package/lib/legacy/components/WizardWithSidebar/index.d.ts +0 -2
  29. package/src/legacy/components/Wizard/Wizard.stories.tsx +0 -180
  30. package/src/legacy/components/Wizard/Wizard.styles.ts +0 -72
  31. package/src/legacy/components/Wizard/Wizard.tsx +0 -211
  32. package/src/legacy/components/Wizard/index.ts +0 -2
  33. package/src/legacy/components/WizardWithSidebar/WizardWithSidebar.stories.tsx +0 -143
  34. package/src/legacy/components/WizardWithSidebar/WizardWithSidebar.styles.ts +0 -107
  35. package/src/legacy/components/WizardWithSidebar/WizardWithSidebar.tsx +0 -278
  36. package/src/legacy/components/WizardWithSidebar/index.ts +0 -2
package/lib/index.d.ts CHANGED
@@ -7,7 +7,6 @@ import { PermafrostComponent, IconName as IconName$1 } from '@/types';
7
7
  import { AriaButtonProps } from '@react-types/button';
8
8
  import { AriaRadioProps, RadioGroupProps as RadioGroupProps$1, AriaRadioGroupProps } from '@react-types/radio';
9
9
  import { DateRange } from 'react-day-picker';
10
- import * as styled_components_dist_types from 'styled-components/dist/types';
11
10
  import { ContainerProps, RowProps, ColProps } from 'react-grid-system';
12
11
 
13
12
  declare const GlobalStyles: () => react_jsx_runtime.JSX.Element;
@@ -445,25 +444,25 @@ declare const allColors: {
445
444
  readonly backgroundColor: "#182432";
446
445
  };
447
446
 
448
- type Props$s = PermafrostComponent & {
447
+ type Props$q = PermafrostComponent & {
449
448
  content: React__default.ReactNode;
450
449
  header?: React__default.ReactNode | string;
451
450
  open?: boolean;
452
451
  };
453
- declare const Accordion: (props: Props$s) => react_jsx_runtime.JSX.Element;
452
+ declare const Accordion: (props: Props$q) => react_jsx_runtime.JSX.Element;
454
453
 
455
- type Props$r = PermafrostComponent & {
454
+ type Props$p = PermafrostComponent & {
456
455
  style?: object;
457
456
  children: React__default.ReactNode;
458
457
  };
459
- declare const Section: (props: Props$r) => react_jsx_runtime.JSX.Element;
458
+ declare const Section: (props: Props$p) => react_jsx_runtime.JSX.Element;
460
459
 
461
- type Props$q = PermafrostComponent & {
460
+ type Props$o = PermafrostComponent & {
462
461
  title?: string;
463
462
  style?: object;
464
463
  children: React__default.ReactNode;
465
464
  };
466
- declare const SectionBlock: (props: Props$q) => react_jsx_runtime.JSX.Element;
465
+ declare const SectionBlock: (props: Props$o) => react_jsx_runtime.JSX.Element;
467
466
 
468
467
  type SectionBodyProps = PermafrostComponent & {
469
468
  style?: object;
@@ -471,12 +470,12 @@ type SectionBodyProps = PermafrostComponent & {
471
470
  };
472
471
  declare const SectionBody: (props: SectionBodyProps) => react_jsx_runtime.JSX.Element;
473
472
 
474
- type Props$p = PermafrostComponent & {
473
+ type Props$n = PermafrostComponent & {
475
474
  style?: object;
476
475
  children?: React__default.ReactNode;
477
476
  };
478
477
  declare const SectionHeader: {
479
- (props: Props$p): react_jsx_runtime.JSX.Element;
478
+ (props: Props$n): react_jsx_runtime.JSX.Element;
480
479
  defaultProps: {
481
480
  className: string;
482
481
  style: {};
@@ -508,7 +507,7 @@ declare function Button$1(props: ButtonProps$1): React__default.ReactElement;
508
507
  type IconButtonVariant = 'default' | 'primary' | 'destructive' | 'outline';
509
508
  type ButtonSize = 'normal' | 'large';
510
509
 
511
- type Props$o = PermafrostComponent & {
510
+ type Props$m = PermafrostComponent & {
512
511
  /**
513
512
  * Adjusts vertical alignment of the text label, in relation to the icon
514
513
  */
@@ -534,9 +533,9 @@ type Props$o = PermafrostComponent & {
534
533
  *
535
534
  * @see {@link https://react-spectrum.adobe.com/blog/building-a-button-part-1.html}
536
535
  */
537
- declare function IconButton(props: Props$o): react_jsx_runtime.JSX.Element;
536
+ declare function IconButton(props: Props$m): react_jsx_runtime.JSX.Element;
538
537
 
539
- type Props$n = PermafrostComponent & {
538
+ type Props$l = PermafrostComponent & {
540
539
  defaultValue?: string;
541
540
  disabled?: boolean;
542
541
  horizontal?: boolean;
@@ -551,7 +550,7 @@ type Props$n = PermafrostComponent & {
551
550
  value?: string | number;
552
551
  validationErrors?: string[];
553
552
  };
554
- declare const BorderSelect: (props: Props$n) => react_jsx_runtime.JSX.Element;
553
+ declare const BorderSelect: (props: Props$l) => react_jsx_runtime.JSX.Element;
555
554
 
556
555
  type ComboboxProps = {
557
556
  'aria-label'?: string;
@@ -599,7 +598,7 @@ type ComboboxOption = {
599
598
  type ComboboxSize = 'small' | 'medium';
600
599
  type ComboboxVariant = 'default' | 'light';
601
600
 
602
- type Props$m = PermafrostComponent & {
601
+ type Props$k = PermafrostComponent & {
603
602
  disabled?: boolean;
604
603
  initialText?: string;
605
604
  options: {
@@ -613,7 +612,7 @@ type Props$m = PermafrostComponent & {
613
612
  onChange(e: React__default.ChangeEvent<HTMLSelectElement>): void;
614
613
  onClick?(e: React__default.MouseEvent<HTMLDivElement, MouseEvent>): void;
615
614
  };
616
- declare const Select: (props: Props$m) => react_jsx_runtime.JSX.Element;
615
+ declare const Select: (props: Props$k) => react_jsx_runtime.JSX.Element;
617
616
 
618
617
  /**
619
618
  * Multiselect combobox component. If selections are not bound to outside state
@@ -654,7 +653,7 @@ declare const SingleCombobox: React__default.ForwardRefExoticComponent<Permafros
654
653
  onChange: (selectedOption: ComboboxOption) => void;
655
654
  } & React__default.RefAttributes<unknown>>;
656
655
 
657
- type Props$l = PermafrostComponent & {
656
+ type Props$j = PermafrostComponent & {
658
657
  ariaLabel?: string;
659
658
  fill?: string;
660
659
  name: IconName$1;
@@ -667,9 +666,9 @@ type Props$l = PermafrostComponent & {
667
666
  * Generic icon component, hidden from Assistive Technology by default.
668
667
  * If icon should be available to AT, pass the desired name into the `ariaLabel` prop.
669
668
  */
670
- declare function Icon({ style, ...props }: Props$l): React__default.ReactElement | null;
669
+ declare function Icon({ style, ...props }: Props$j): React__default.ReactElement | null;
671
670
 
672
- type Props$k = PermafrostComponent & {
671
+ type Props$i = PermafrostComponent & {
673
672
  children: React__default.ReactNode | string;
674
673
  minLength?: number;
675
674
  onUpdate?(newValue: string): void;
@@ -678,9 +677,9 @@ type Props$k = PermafrostComponent & {
678
677
  * Wrapper component which enables text editing in place directly on a child component,
679
678
  * element, or plain text.
680
679
  */
681
- declare function EditableInput(props: Props$k): react_jsx_runtime.JSX.Element;
680
+ declare function EditableInput(props: Props$i): react_jsx_runtime.JSX.Element;
682
681
 
683
- type Props$j = PermafrostComponent & {
682
+ type Props$h = PermafrostComponent & {
684
683
  autoFocus?: boolean;
685
684
  decrement?(): void;
686
685
  disabled?: boolean;
@@ -700,9 +699,9 @@ type Props$j = PermafrostComponent & {
700
699
  * Basic numeric input field. A label is required, but may be visually hidden
701
700
  * using the `hiddenLabel` property.
702
701
  */
703
- declare function NumberInput(props: Props$j): React__default.ReactElement;
702
+ declare function NumberInput(props: Props$h): React__default.ReactElement;
704
703
 
705
- type Props$i = PermafrostComponent & {
704
+ type Props$g = PermafrostComponent & {
706
705
  inputBorder?: boolean;
707
706
  showClearInputIcon?: boolean;
708
707
  showSearchIcon?: boolean;
@@ -716,13 +715,13 @@ type Props$i = PermafrostComponent & {
716
715
  value?: string;
717
716
  };
718
717
  declare const SearchInput: {
719
- (props: Props$i): react_jsx_runtime.JSX.Element;
718
+ (props: Props$g): react_jsx_runtime.JSX.Element;
720
719
  defaultProps: {
721
720
  className: string;
722
721
  };
723
722
  };
724
723
 
725
- type Props$h = PermafrostComponent & {
724
+ type Props$f = PermafrostComponent & {
726
725
  autoComplete?: 'email' | 'current-password' | 'new-password' | string;
727
726
  autoFocus?: boolean;
728
727
  defaultValue?: string;
@@ -743,9 +742,9 @@ type Props$h = PermafrostComponent & {
743
742
  value?: string;
744
743
  readOnly?: boolean;
745
744
  };
746
- declare function TextInput(props: Props$h): React__default.ReactElement;
745
+ declare function TextInput(props: Props$f): React__default.ReactElement;
747
746
 
748
- type Props$g = {
747
+ type Props$e = {
749
748
  ['aria-label']: string;
750
749
  children?: React__default.ReactNode;
751
750
  hideFocusRing: boolean;
@@ -761,7 +760,7 @@ type Props$g = {
761
760
  * A group label must be included: either pass a string or markup into the
762
761
  * `label` prop, or include an `aria-label` or `aria-labelledby` attribute.
763
762
  */
764
- declare function RadioGroup$1({ children, ...props }: Props$g): react_jsx_runtime.JSX.Element;
763
+ declare function RadioGroup$1({ children, ...props }: Props$e): react_jsx_runtime.JSX.Element;
765
764
  /**
766
765
  * A single radio button and its label.
767
766
  */
@@ -790,7 +789,7 @@ declare function Radio(props: AriaRadioProps & {
790
789
  isVisuallySelected?: (selectedValue: string) => void;
791
790
  }): react_jsx_runtime.JSX.Element;
792
791
 
793
- type Props$f = PermafrostComponent & {
792
+ type Props$d = PermafrostComponent & {
794
793
  ariaLabel?: string;
795
794
  disableBeforeDate?: Date;
796
795
  disableAfterDate?: Date;
@@ -802,9 +801,9 @@ type Props$f = PermafrostComponent & {
802
801
  selected?: Date | undefined;
803
802
  value: Date | undefined;
804
803
  };
805
- declare const DatePicker: (props: Props$f) => react_jsx_runtime.JSX.Element;
804
+ declare const DatePicker: (props: Props$d) => react_jsx_runtime.JSX.Element;
806
805
 
807
- type Props$e = PermafrostComponent & {
806
+ type Props$c = PermafrostComponent & {
808
807
  ariaLabel?: string;
809
808
  disableBeforeDate?: Date;
810
809
  disableAfterDate?: Date;
@@ -821,9 +820,9 @@ type Props$e = PermafrostComponent & {
821
820
  isOpen?: boolean;
822
821
  clearOnClose?: boolean;
823
822
  };
824
- declare const NoInputDatePicker: (props: Props$e) => react_jsx_runtime.JSX.Element;
823
+ declare const NoInputDatePicker: (props: Props$c) => react_jsx_runtime.JSX.Element;
825
824
 
826
- type Props$d = PermafrostComponent & {
825
+ type Props$b = PermafrostComponent & {
827
826
  ariaLabel?: string;
828
827
  size?: string;
829
828
  style?: {
@@ -831,24 +830,24 @@ type Props$d = PermafrostComponent & {
831
830
  };
832
831
  fill?: string;
833
832
  };
834
- declare function CircleSpinner(props: Props$d): React__default.ReactElement;
833
+ declare function CircleSpinner(props: Props$b): React__default.ReactElement;
835
834
 
836
- type Props$c = PermafrostComponent & {
835
+ type Props$a = PermafrostComponent & {
837
836
  width?: string;
838
837
  };
839
- declare function BarSpinner(props: Props$c): React__default.ReactElement;
838
+ declare function BarSpinner(props: Props$a): React__default.ReactElement;
840
839
 
841
- type Props$b = PermafrostComponent & {
840
+ type Props$9 = PermafrostComponent & {
842
841
  color?: string;
843
842
  overallSize?: string | number;
844
843
  rippleSize?: string | number;
845
844
  showRandomMessage?: boolean;
846
845
  };
847
- declare function CirclePulse(props: Props$b): React__default.ReactElement;
846
+ declare function CirclePulse(props: Props$9): React__default.ReactElement;
848
847
 
849
848
  declare const RandomLoadingMessage: () => react_jsx_runtime.JSX.Element;
850
849
 
851
- type Props$a = PermafrostComponent & {
850
+ type Props$8 = PermafrostComponent & {
852
851
  backgroundColor?: string;
853
852
  foregroundColor?: string;
854
853
  ringRadius?: number;
@@ -857,11 +856,11 @@ type Props$a = PermafrostComponent & {
857
856
  value: number;
858
857
  valueFontSize?: number;
859
858
  };
860
- declare function PercentageRing(props: Props$a): react_jsx_runtime.JSX.Element;
859
+ declare function PercentageRing(props: Props$8): react_jsx_runtime.JSX.Element;
861
860
 
862
861
  declare const LoadingList: () => react_jsx_runtime.JSX.Element;
863
862
 
864
- type Props$9 = PermafrostComponent & {
863
+ type Props$7 = PermafrostComponent & {
865
864
  accordion?: boolean;
866
865
  accordionDefaultOpen?: boolean;
867
866
  emptyListMessage?: string;
@@ -898,9 +897,9 @@ type Props$9 = PermafrostComponent & {
898
897
  title: string;
899
898
  totalCount?: number;
900
899
  };
901
- declare const ListTable: (props: Props$9) => react_jsx_runtime.JSX.Element;
900
+ declare const ListTable: (props: Props$7) => react_jsx_runtime.JSX.Element;
902
901
 
903
- type Props$8 = PermafrostComponent & {
902
+ type Props$6 = PermafrostComponent & {
904
903
  currentPage: number;
905
904
  limit: number;
906
905
  pageInfo: {
@@ -915,9 +914,9 @@ type Props$8 = PermafrostComponent & {
915
914
  getNextPage(cursor: number): void;
916
915
  getPreviousPage(cursor: number): void;
917
916
  };
918
- declare function Pagination(props: Props$8): react_jsx_runtime.JSX.Element;
917
+ declare function Pagination(props: Props$6): react_jsx_runtime.JSX.Element;
919
918
 
920
- type Props$7 = PermafrostComponent & {
919
+ type Props$5 = PermafrostComponent & {
921
920
  actionLink?: string;
922
921
  actionText?: string;
923
922
  buttonAction?(): void;
@@ -927,7 +926,7 @@ type Props$7 = PermafrostComponent & {
927
926
  'data-cy': string;
928
927
  };
929
928
  };
930
- declare function Shrug(props: Props$7): React__default.ReactElement;
929
+ declare function Shrug(props: Props$5): React__default.ReactElement;
931
930
 
932
931
  type ModalBaseProps = PermafrostComponent & {
933
932
  children: React__default.ReactNode | React__default.ReactNode[];
@@ -955,7 +954,7 @@ type ModalBaseProps = PermafrostComponent & {
955
954
  */
956
955
  declare function ModalBase(props: ModalBaseProps): react_jsx_runtime.JSX.Element;
957
956
 
958
- type Props$6 = PermafrostComponent & Pick<ModalBaseProps, 'open'> & {
957
+ type Props$4 = PermafrostComponent & Pick<ModalBaseProps, 'open'> & {
959
958
  describedBy?: string;
960
959
  clickOutsideHandler(e?: React__default.SyntheticEvent): void;
961
960
  confirmText?: string;
@@ -967,9 +966,9 @@ type Props$6 = PermafrostComponent & Pick<ModalBaseProps, 'open'> & {
967
966
  title?: string | React__default.ReactNode;
968
967
  width?: number;
969
968
  };
970
- declare function ConfirmModal(props: Props$6): react_jsx_runtime.JSX.Element;
969
+ declare function ConfirmModal(props: Props$4): react_jsx_runtime.JSX.Element;
971
970
 
972
- type Props$5 = {
971
+ type Props$3 = {
973
972
  children: React__default.ReactNode | React__default.ReactNode[];
974
973
  className?: string;
975
974
  isLoading?: boolean;
@@ -981,113 +980,7 @@ type Props$5 = {
981
980
  *
982
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
983
982
  */
984
- declare function LoadingAwareContainer(props: Props$5): React__default.ReactElement;
985
-
986
- type CancelText$1 = {
987
- confirmText: string;
988
- message?: string;
989
- rejectText: string;
990
- title: string;
991
- };
992
- type Props$4 = PermafrostComponent & {
993
- children: React__default.ReactNode;
994
- /**
995
- * text for the cancel confirmation modal
996
- */
997
- confirmCancel: CancelText$1;
998
- disableNextStep?: boolean;
999
- disablePrevStep?: boolean;
1000
- disableSubmit?: boolean;
1001
- isLastStep?: boolean;
1002
- /**
1003
- * for testing/mocking purposes
1004
- */
1005
- startingStep?: string;
1006
- steps: string[];
1007
- /**
1008
- * the text to appear on the submit button
1009
- */
1010
- submitButtonLabel: string;
1011
- /**
1012
- * Puts button in "busy" mode, and replaces button label with this text
1013
- */
1014
- submitProcessing?: string;
1015
- wizardTitle: string;
1016
- onCancel?(): void;
1017
- onNextPress?(): boolean;
1018
- /**
1019
- * returns the current step name to the parent component
1020
- */
1021
- onStepChange(stepName: string): void;
1022
- onSubmit(): void;
1023
- /**
1024
- * Allows for any custom attribute to be added directly to "next button" in wizard
1025
- */
1026
- nextButtonProps?: {
1027
- 'data-cy': string;
1028
- };
1029
- };
1030
- declare function Wizard(props: Props$4): react_jsx_runtime.JSX.Element;
1031
-
1032
- declare const StyledWizard: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
1033
- declare const WizardCard: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
1034
- declare const WizardSection: styled_components.IStyledComponent<"web", styled_components_dist_types.FastOmit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
1035
-
1036
- type CancelText = {
1037
- confirmText: string;
1038
- message?: string;
1039
- rejectText: string;
1040
- title: string;
1041
- };
1042
- type Props$3 = PermafrostComponent & {
1043
- children: React__default.ReactNode;
1044
- /**
1045
- * text for the cancel confirmation modal
1046
- */
1047
- confirmCancel: CancelText;
1048
- disableNextStep?: boolean;
1049
- disablePrevStep?: boolean;
1050
- disableSubmit?: boolean;
1051
- isLastStep?: boolean;
1052
- /**
1053
- * for testing/mocking purposes
1054
- */
1055
- startingStep?: string;
1056
- stepSchema: {
1057
- [key: string]: {
1058
- inputsRequiringValidation: string[];
1059
- description: string[];
1060
- };
1061
- };
1062
- /**
1063
- * the text to appear on the submit button
1064
- */
1065
- submitButtonLabel: string;
1066
- /**
1067
- * Puts button in "busy" mode, and replaces button label with this text
1068
- */
1069
- submitProcessing?: string;
1070
- wizardTitle: string;
1071
- onCancel?(): void;
1072
- onNextPress?(): boolean;
1073
- /**
1074
- * returns the current step name to the parent component
1075
- */
1076
- onStepChange(stepName: string): void;
1077
- onSubmit(): void;
1078
- /**
1079
- * Allows for any custom attribute to be added directly to "next button" in wizard
1080
- */
1081
- nextButtonProps?: {
1082
- 'data-cy': string;
1083
- };
1084
- bottomNav?: boolean;
1085
- validationErrors?: any;
1086
- backgroundColor?: string;
1087
- color?: string;
1088
- buttonColor?: string;
1089
- };
1090
- declare function WizardWithSidebar(props: Props$3): react_jsx_runtime.JSX.Element;
983
+ declare function LoadingAwareContainer(props: Props$3): React__default.ReactElement;
1091
984
 
1092
985
  type ListItem = {
1093
986
  id: string;
@@ -1479,4 +1372,4 @@ interface ButtonProps {
1479
1372
 
1480
1373
  declare const Button: (props: ButtonProps) => react_jsx_runtime.JSX.Element;
1481
1374
 
1482
- export { animation as ANIMATION, Radio as AbstractRadio, RadioGroup as AbstractRadioGroup, Accordion, breakpoints as BREAKPOINT, BarSpinner, BorderSelect, Button, allColors as COLORS, CirclePulse, CircleSpinner, Col, ConfirmModal, Container, DatePicker, Drawer, EditableInput, GlobalStyles, Icon, IconButton, Button$1 as LegacyButton, 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, Row, 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 };
1375
+ export { animation as ANIMATION, Radio as AbstractRadio, RadioGroup as AbstractRadioGroup, Accordion, breakpoints as BREAKPOINT, BarSpinner, BorderSelect, Button, allColors as COLORS, CirclePulse, CircleSpinner, Col, ConfirmModal, Container, DatePicker, Drawer, EditableInput, GlobalStyles, Icon, IconButton, Button$1 as LegacyButton, 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, Row, spacings as SPACING, SearchInput, Section, SectionBlock, SectionBody, SectionHeader, SectionTable, Select, Shrug, SingleCombobox, typography as TYPOGRAPHY, TextInput, TextTruncate, Toggle, Tooltip, color_d as colorUtils, faIcons, indicons, number_d as numberUtils, string_d as stringUtils };
package/lib/index.esm.css CHANGED
@@ -96,66 +96,66 @@
96
96
  }
97
97
 
98
98
  :root [data-theme=dark] {
99
- --pf-primary-color: #27374D;
100
- --pf-primary-color-100: #E2E4E8;
101
- --pf-primary-color-200: #B6BAC1;
102
- --pf-primary-color-300: #898F9A;
103
- --pf-primary-color-400: #5D6573;
104
- --pf-primary-color-500: #27374D;
105
- --pf-primary-color-600: #202C3A;
106
- --pf-primary-color-700: #192228;
107
- --pf-primary-color-800: #131816;
108
- --pf-primary-color-900: #0D0E0E;
109
- --pf-secondary-color: #526D82;
110
- --pf-secondary-color-100: #E6E9EB;
111
- --pf-secondary-color-200: #C0C7CD;
112
- --pf-secondary-color-300: #99A5AF;
113
- --pf-secondary-color-400: #738491;
114
- --pf-secondary-color-500: #526D82;
115
- --pf-secondary-color-600: #3F5866;
116
- --pf-secondary-color-700: #2C434A;
117
- --pf-secondary-color-800: #1A2E2E;
118
- --pf-secondary-color-900: #071919;
119
- --pf-gray-color: #DDE6ED;
120
- --pf-gray-color-100: #F7F9FA;
121
- --pf-gray-color-200: #EAF2F5;
122
- --pf-gray-color-300: #DDE6ED;
123
- --pf-gray-color-400: #D1DAE5;
124
- --pf-gray-color-500: #C4CFDD;
125
- --pf-gray-color-600: #B7C3D5;
126
- --pf-gray-color-700: #AAB8CD;
127
- --pf-gray-color-800: #9DACB5;
128
- --pf-gray-color-900: #90A19D;
129
- --pf-green-color: #82DD55;
130
- --pf-green-color-100: #F0FFF2;
131
- --pf-green-color-200: #E1FFD5;
132
- --pf-green-color-300: #D2FFB8;
133
- --pf-green-color-400: #C3FF9B;
134
- --pf-green-color-500: #82DD55;
135
- --pf-green-color-600: #6FC94A;
136
- --pf-green-color-700: #5CB53F;
137
- --pf-green-color-800: #4AA134;
138
- --pf-green-color-900: #388D29;
139
- --pf-orange-color: #EDB95E;
140
- --pf-orange-color-100: #FFF7E6;
141
- --pf-orange-color-200: #FFEDCC;
142
- --pf-orange-color-300: #FFE4B2;
143
- --pf-orange-color-400: #FFDA99;
144
- --pf-orange-color-500: #EDB95E;
145
- --pf-orange-color-600: #DAA54D;
146
- --pf-orange-color-700: #C7913D;
147
- --pf-orange-color-800: #B47D2D;
148
- --pf-orange-color-900: #A1691D;
149
- --pf-red-color: #E23636;
150
- --pf-red-color-100: #FDECEC;
151
- --pf-red-color-200: #FBD1D1;
152
- --pf-red-color-300: #F9B6B6;
153
- --pf-red-color-400: #F79B9B;
154
- --pf-red-color-500: #E23636;
155
- --pf-red-color-600: #C72F2F;
156
- --pf-red-color-700: #AC2828;
157
- --pf-red-color-800: #912121;
158
- --pf-red-color-900: #761A1A;
99
+ --pf-primary-color: #262c3a;
100
+ --pf-primary-color-100: #8194c0;
101
+ --pf-primary-color-200: #5b6b8f;
102
+ --pf-primary-color-300: #3b455e;
103
+ --pf-primary-color-400: #323a4d;
104
+ --pf-primary-color-500: #262c3a;
105
+ --pf-primary-color-600: #1f2431;
106
+ --pf-primary-color-700: #1c2632;
107
+ --pf-primary-color-800: #1b202c;
108
+ --pf-primary-color-900: #141b24;
109
+ --pf-secondary-color: #0070f5;
110
+ --pf-secondary-color-100: #dceafd;
111
+ --pf-secondary-color-200: #b3d4fc;
112
+ --pf-secondary-color-300: #7ab5fa;
113
+ --pf-secondary-color-400: #4797f5;
114
+ --pf-secondary-color-500: #0070f5;
115
+ --pf-secondary-color-600: #0067e1;
116
+ --pf-secondary-color-700: #005ac4;
117
+ --pf-secondary-color-800: #004eac;
118
+ --pf-secondary-color-900: #004393;
119
+ --pf-gray-color: #bfc1c3;
120
+ --pf-gray-color-100: #efefef;
121
+ --pf-gray-color-200: #eaeaea;
122
+ --pf-gray-color-300: #dcdcdc;
123
+ --pf-gray-color-400: #d2d2d2;
124
+ --pf-gray-color-500: #bfc1c3;
125
+ --pf-gray-color-600: #a0a0a0;
126
+ --pf-gray-color-700: #828588;
127
+ --pf-gray-color-800: #797979;
128
+ --pf-gray-color-900: #585858;
129
+ --pf-green-color: #199d19;
130
+ --pf-green-color-100: #98ff98;
131
+ --pf-green-color-200: #76ff76;
132
+ --pf-green-color-300: #63eb63;
133
+ --pf-green-color-400: #41ca41;
134
+ --pf-green-color-500: #199d19;
135
+ --pf-green-color-600: #168116;
136
+ --pf-green-color-700: #106710;
137
+ --pf-green-color-800: #0d5a0d;
138
+ --pf-green-color-900: #0a500a;
139
+ --pf-orange-color: #da9534;
140
+ --pf-orange-color-100: #ffd599;
141
+ --pf-orange-color-200: #ffc676;
142
+ --pf-orange-color-300: #f7b75b;
143
+ --pf-orange-color-400: #f1ab48;
144
+ --pf-orange-color-500: #da9534;
145
+ --pf-orange-color-600: #c7892f;
146
+ --pf-orange-color-700: #a87428;
147
+ --pf-orange-color-800: #825b22;
148
+ --pf-orange-color-900: #68481a;
149
+ --pf-red-color: #f44d4f;
150
+ --pf-red-color-100: #ffa9aa;
151
+ --pf-red-color-200: #ff8a8b;
152
+ --pf-red-color-300: #ff7577;
153
+ --pf-red-color-400: #ff6466;
154
+ --pf-red-color-500: #f44d4f;
155
+ --pf-red-color-600: #cf4244;
156
+ --pf-red-color-700: #b4393a;
157
+ --pf-red-color-800: #9a3132;
158
+ --pf-red-color-900: #752324;
159
159
  --pf-error-color: var(--pf-red-color);
160
160
  --pf-success-color: var(--pf-green-color);
161
161
  --pf-warning-color: var(--pf-orange-color);
@@ -286,8 +286,9 @@
286
286
  padding-bottom: 10px;
287
287
  }
288
288
 
289
+ :root,
289
290
  :root [data-theme=light],
290
- :root {
291
+ :root [data-theme=dark] {
291
292
  --pf-button-font-weight-bold: var(--pf-font-weight-bold);
292
293
  --pf-button-font-weight-regular: var(--pf-button-font-weight-regular);
293
294
  --pf-button-background-primary-color: var(--pf-primary-color);
@@ -312,32 +313,44 @@
312
313
  --pf-button-error-text-color: var(--pf-white-color);
313
314
  --pf-button-outline-hover-error-color: var(--pf-red-color-100);
314
315
  --pf-button-background-success-color: var(--pf-success-color);
315
- --pf-button-disabled-success-color: var(--pf-green-color-300);
316
316
  --pf-button-focus-success-color: var(--pf-green-color-900);
317
317
  --pf-button-hover-success-color: var(--pf-green-color-400);
318
318
  --pf-button-success-color: var(--pf-success-color);
319
319
  --pf-button-success-text-color: var(--pf-white-color);
320
320
  --pf-button-outline-hover-success-color: var(--pf-green-color-100);
321
321
  --pf-button-background-warning-color: var(--pf-warning-color);
322
- --pf-button-disabled-warning-color: var(--pf-orange-color-300);
323
322
  --pf-button-focus-warning-color: var(--pf-orange-color-900);
324
323
  --pf-button-hover-warning-color: var(--pf-orange-color-400);
325
324
  --pf-button-warning-color: var(--pf-warning-color);
326
325
  --pf-button-warning-text-color: var(--pf-white-color);
327
- --pf-button-outline-hover-warning-color: var(--pf-orange-color-100);
328
- --pf-button-background-info-color: var(--pf-info-color);
329
326
  --pf-button-disabled-info-color: var(--pf-gray-color-300);
330
327
  --pf-button-focus-info-color: var(--pf-gray-color-900);
331
- --pf-button-hover-info-color: var(--pf-gray-color-400);
332
328
  --pf-button-info-color: var(--pf-info-color);
333
329
  --pf-button-info-text-color: var(--pf-white-color);
334
- --pf-button-outline-hover-info-color: var(--pf-gray-color-100);
335
330
  --pf-button-gray-color: var(--pf-gray-color);
336
331
  --pf-button-gray-disabled-color: var(--pf-gray-color-400);
337
332
  --pf-button-outline-background-color: var(--pf-white-color);
338
333
  --pf-button-rounded: var(--pf-rounded);
339
334
  }
340
335
 
336
+ :root [data-theme=light] {
337
+ --pf-button-disabled-success-color: var(--pf-green-color-300);
338
+ --pf-button-disabled-warning-color: var(--pf-orange-color-300);
339
+ --pf-button-outline-hover-warning-color: var(--pf-orange-color-100);
340
+ --pf-button-background-info-color: var(--pf-info-color);
341
+ --pf-button-hover-info-color: var(--pf-gray-color-400);
342
+ --pf-button-outline-hover-info-color: var(--pf-gray-color-100);
343
+ }
344
+
345
+ :root [data-theme=dark] {
346
+ --pf-button-disabled-success-color: var(--pf-green-color-400);
347
+ --pf-button-disabled-warning-color: var(--pf-orange-color-400);
348
+ --pf-button-outline-hover-warning-color: var(--pf-orange-color-300);
349
+ --pf-button-background-info-color: var(--pf-gray-color-800);
350
+ --pf-button-hover-info-color: var(--pf-gray-color-600);
351
+ --pf-button-outline-hover-info-color: var(--pf-gray-color-300);
352
+ }
353
+
341
354
  .btn {
342
355
  display: inline-flex;
343
356
  padding: var(--pf-padding-0) var(--pf-padding-3);
@@ -699,6 +712,10 @@
699
712
  color: var(--pf-button-gray-disabled-color);
700
713
  }
701
714
 
715
+ .btn--info {
716
+ background-color: var(--pf-button-background-info-color);
717
+ }
718
+
702
719
  .btn--info.btn--text {
703
720
  background: transparent;
704
721
  color: var(--pf-button-info-color);