@galaxy-ds/core 2.0.14 → 2.0.15

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 (116) hide show
  1. package/dist/Autocomplete/Autocomplete.types.d.ts +1 -31
  2. package/dist/Autocomplete/createFilterOptions.d.ts +1 -1
  3. package/dist/AvatarGroup/AvatarGroup.types.d.ts +0 -1
  4. package/dist/DateRangePicker/DateRangePicker.types.d.ts +3 -1
  5. package/dist/Tab/Tab.styled.d.ts +4 -0
  6. package/dist/TabListItem/TabListItem.styled.d.ts +5 -3
  7. package/dist/TabListItem/TabListItem.types.d.ts +2 -2
  8. package/dist/Tabs/Tabs.d.ts +4 -1
  9. package/dist/Tabs/Tabs.styled.d.ts +8 -0
  10. package/dist/Theme/custom-types/global-shapes.d.ts +1 -0
  11. package/dist/Theme/leap/desktop/design-tokens/shapes.d.ts +1 -0
  12. package/dist/Theme/leap/web/design-tokens/shapes.d.ts +1 -0
  13. package/dist/index.d.ts +0 -1
  14. package/dist/index.esm.js +12291 -12252
  15. package/dist/index.esm.js.map +1 -1
  16. package/dist/index.js +12291 -12253
  17. package/dist/index.js.map +1 -1
  18. package/package.json +12 -8
  19. package/dist/Icons/lawconnect/Accredited.d.ts +0 -3
  20. package/dist/Icons/lawconnect/AccreditedSpecialist.d.ts +0 -3
  21. package/dist/Icons/lawconnect/Annotations.d.ts +0 -3
  22. package/dist/Icons/lawconnect/App.d.ts +0 -3
  23. package/dist/Icons/lawconnect/AppleCalendar.d.ts +0 -3
  24. package/dist/Icons/lawconnect/ArrowLeft.d.ts +0 -3
  25. package/dist/Icons/lawconnect/ArrowRight.d.ts +0 -3
  26. package/dist/Icons/lawconnect/ArrowTop.d.ts +0 -3
  27. package/dist/Icons/lawconnect/Award.d.ts +0 -3
  28. package/dist/Icons/lawconnect/BestPractice.d.ts +0 -3
  29. package/dist/Icons/lawconnect/Bubble.d.ts +0 -3
  30. package/dist/Icons/lawconnect/Building.d.ts +0 -3
  31. package/dist/Icons/lawconnect/Calendar.d.ts +0 -3
  32. package/dist/Icons/lawconnect/Camera.d.ts +0 -3
  33. package/dist/Icons/lawconnect/ChevronDownLg.d.ts +0 -3
  34. package/dist/Icons/lawconnect/ChevronLeftLg.d.ts +0 -3
  35. package/dist/Icons/lawconnect/ChevronRightLg.d.ts +0 -3
  36. package/dist/Icons/lawconnect/ChevronUpLg.d.ts +0 -3
  37. package/dist/Icons/lawconnect/Clock.d.ts +0 -3
  38. package/dist/Icons/lawconnect/ClosedEye.d.ts +0 -3
  39. package/dist/Icons/lawconnect/Collaborate.d.ts +0 -3
  40. package/dist/Icons/lawconnect/Contact.d.ts +0 -3
  41. package/dist/Icons/lawconnect/Courthouse.d.ts +0 -3
  42. package/dist/Icons/lawconnect/Cross.d.ts +0 -3
  43. package/dist/Icons/lawconnect/Day.d.ts +0 -3
  44. package/dist/Icons/lawconnect/Detract.d.ts +0 -3
  45. package/dist/Icons/lawconnect/Direction.d.ts +0 -3
  46. package/dist/Icons/lawconnect/Download.d.ts +0 -3
  47. package/dist/Icons/lawconnect/Expand.d.ts +0 -3
  48. package/dist/Icons/lawconnect/ExternalArrow.d.ts +0 -3
  49. package/dist/Icons/lawconnect/Eye.d.ts +0 -3
  50. package/dist/Icons/lawconnect/Facebook.d.ts +0 -3
  51. package/dist/Icons/lawconnect/Filled/BuildingFilled.d.ts +0 -3
  52. package/dist/Icons/lawconnect/Filled/CalendarFilled.d.ts +0 -3
  53. package/dist/Icons/lawconnect/Filled/ClockFilled.d.ts +0 -3
  54. package/dist/Icons/lawconnect/Filled/LocationPinFilled.d.ts +0 -3
  55. package/dist/Icons/lawconnect/Filled/PhoneFilled.d.ts +0 -3
  56. package/dist/Icons/lawconnect/Filled/StarFilled.d.ts +0 -3
  57. package/dist/Icons/lawconnect/Filled/SuccessFilled.d.ts +0 -3
  58. package/dist/Icons/lawconnect/Filled/VideoCallFilled.d.ts +0 -3
  59. package/dist/Icons/lawconnect/Filter.d.ts +0 -3
  60. package/dist/Icons/lawconnect/FixedCost.d.ts +0 -3
  61. package/dist/Icons/lawconnect/FreeFirstAppointment.d.ts +0 -3
  62. package/dist/Icons/lawconnect/GoogleCalendar.d.ts +0 -3
  63. package/dist/Icons/lawconnect/GridView.d.ts +0 -3
  64. package/dist/Icons/lawconnect/History.d.ts +0 -3
  65. package/dist/Icons/lawconnect/Home.d.ts +0 -3
  66. package/dist/Icons/lawconnect/Info.d.ts +0 -3
  67. package/dist/Icons/lawconnect/Invoice.d.ts +0 -3
  68. package/dist/Icons/lawconnect/ItemSearch.d.ts +0 -3
  69. package/dist/Icons/lawconnect/LawconnectLogo.d.ts +0 -2
  70. package/dist/Icons/lawconnect/Legal.d.ts +0 -3
  71. package/dist/Icons/lawconnect/LegalAid.d.ts +0 -3
  72. package/dist/Icons/lawconnect/Linkedin.d.ts +0 -3
  73. package/dist/Icons/lawconnect/List.d.ts +0 -3
  74. package/dist/Icons/lawconnect/ListView.d.ts +0 -3
  75. package/dist/Icons/lawconnect/LocationPin.d.ts +0 -3
  76. package/dist/Icons/lawconnect/LocationPointer.d.ts +0 -3
  77. package/dist/Icons/lawconnect/Midday.d.ts +0 -3
  78. package/dist/Icons/lawconnect/Minus.d.ts +0 -3
  79. package/dist/Icons/lawconnect/MobileService.d.ts +0 -3
  80. package/dist/Icons/lawconnect/More.d.ts +0 -3
  81. package/dist/Icons/lawconnect/MoreVerticalIcon.d.ts +0 -3
  82. package/dist/Icons/lawconnect/NowinNofee.d.ts +0 -3
  83. package/dist/Icons/lawconnect/OnlineSign.d.ts +0 -3
  84. package/dist/Icons/lawconnect/OutlookCalendar.d.ts +0 -3
  85. package/dist/Icons/lawconnect/Payment.d.ts +0 -3
  86. package/dist/Icons/lawconnect/Pegman.d.ts +0 -3
  87. package/dist/Icons/lawconnect/Phone.d.ts +0 -3
  88. package/dist/Icons/lawconnect/Plus.d.ts +0 -3
  89. package/dist/Icons/lawconnect/Print.d.ts +0 -3
  90. package/dist/Icons/lawconnect/QuestionBalloon.d.ts +0 -3
  91. package/dist/Icons/lawconnect/QuestionCircle.d.ts +0 -3
  92. package/dist/Icons/lawconnect/RapidPay.d.ts +0 -3
  93. package/dist/Icons/lawconnect/Refresh.d.ts +0 -3
  94. package/dist/Icons/lawconnect/Search.d.ts +0 -3
  95. package/dist/Icons/lawconnect/SecureDocCollab.d.ts +0 -3
  96. package/dist/Icons/lawconnect/SecurePayments.d.ts +0 -3
  97. package/dist/Icons/lawconnect/Send.d.ts +0 -3
  98. package/dist/Icons/lawconnect/Settings.d.ts +0 -3
  99. package/dist/Icons/lawconnect/Share.d.ts +0 -3
  100. package/dist/Icons/lawconnect/SidebarToggleLeft.d.ts +0 -3
  101. package/dist/Icons/lawconnect/SidebarToggleRight.d.ts +0 -3
  102. package/dist/Icons/lawconnect/StarEmpty.d.ts +0 -3
  103. package/dist/Icons/lawconnect/Sunrise.d.ts +0 -3
  104. package/dist/Icons/lawconnect/Sunset.d.ts +0 -3
  105. package/dist/Icons/lawconnect/Tick.d.ts +0 -3
  106. package/dist/Icons/lawconnect/TopRightCurvedArrow.d.ts +0 -3
  107. package/dist/Icons/lawconnect/Upload.d.ts +0 -3
  108. package/dist/Icons/lawconnect/User.d.ts +0 -3
  109. package/dist/Icons/lawconnect/UserProfile.d.ts +0 -3
  110. package/dist/Icons/lawconnect/Video.d.ts +0 -3
  111. package/dist/Icons/lawconnect/VideoCall.d.ts +0 -3
  112. package/dist/Icons/lawconnect/Wallet.d.ts +0 -3
  113. package/dist/Icons/lawconnect/Warning.d.ts +0 -3
  114. package/dist/Icons/lawconnect/World.d.ts +0 -3
  115. package/dist/Icons/lawconnect/index.d.ts +0 -96
  116. package/dist/Theme/lawconnect/design-tokens/spacers.d.ts +0 -12
@@ -1,38 +1,18 @@
1
- /// <reference types="react" />
2
1
  import { AutocompleteProps as MuiAutocompleteProps } from '@mui/material';
3
- export interface AutocompleteProps extends MuiAutocompleteProps<any, false, false, false> {
2
+ export interface AutocompleteProps extends MuiAutocompleteProps<any, boolean, boolean, boolean> {
4
3
  /**
5
4
  * Custom action label to prepend at the bottom of the option list.
6
5
  */
7
6
  actionLabel?: string;
8
- autoComplete?: boolean;
9
7
  bottomButtonHeight?: number;
10
- defaultValue?: any;
11
8
  /**
12
9
  * A function fires when clicking the custom action button prepended at the bottom of the option list.
13
10
  */
14
11
  actionClick?: (e: any) => void;
15
- /**
16
- * A filter function that determines the options that are eligible
17
- */
18
- filterOptions?: (options: any, state: any) => any;
19
- /**
20
- * Used to determine the string value for a given option. It's used to fill the input (and the list box options if renderOption is not provided).
21
- */
22
- getOptionLabel?: (option: any) => string;
23
12
  /**
24
13
  * Input label
25
14
  */
26
15
  label?: string;
27
- /**
28
- * Callback fired when the value changes.
29
- */
30
- onChange?: (event: object, value: any | any[], reason: string) => any;
31
- open?: boolean;
32
- /**
33
- * Array of options.
34
- */
35
- options: any[];
36
16
  /**
37
17
  * Placeholder passed to input
38
18
  */
@@ -41,14 +21,4 @@ export interface AutocompleteProps extends MuiAutocompleteProps<any, false, fals
41
21
  * Deprecated. Now styles automatically change based on theme.
42
22
  */
43
23
  platform?: 'desktop' | 'web';
44
- /**
45
- * Render the selected value.
46
- * (value: T[], getTagProps: function) => ReactNode
47
- * value: The value provided to the component.
48
- * getTagProps: A tag props getter.
49
- */
50
- renderTags?: (value: any, getTagProps: any) => React.ReactNode;
51
- filterSelectedOptions?: boolean;
52
- onBlur?: (e: any | undefined) => void;
53
- onFocus?: (e: any | undefined) => void;
54
24
  }
@@ -1 +1 @@
1
- export declare const createFilterOptions: (config: any) => (options: unknown[], state: import("@mui/base").FilterOptionsState<unknown>) => unknown[];
1
+ export declare const createFilterOptions: (config?: any) => (options: unknown[], state: import("@mui/base").FilterOptionsState<unknown>) => unknown[];
@@ -1,6 +1,5 @@
1
1
  import { AvatarGroupProps as MuiAvatarGroupProps } from '@mui/material';
2
2
  export interface AvatarGroupProps extends MuiAvatarGroupProps {
3
- children?: any;
4
3
  size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge';
5
4
  color?: 'default' | 'primary' | 'secondary' | string;
6
5
  tooltip?: any;
@@ -1,3 +1,5 @@
1
1
  import type { DateRangePickerProps as ReactDateRangePickerProps, Range, RangeFocus, RangeKeyDict, Preview, StaticRange, InputRange } from 'react-date-range';
2
- export type DateRangePickerProps = ReactDateRangePickerProps;
2
+ export interface DateRangePickerProps extends ReactDateRangePickerProps {
3
+ hasBorder?: boolean;
4
+ }
3
5
  export { Range, RangeFocus, RangeKeyDict, Preview, StaticRange, InputRange };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledTab: import("@emotion/styled").StyledComponent<import("@mui/material").TabOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
+ ref?: import("react").Ref<HTMLDivElement>;
4
+ }, "children" | "disabled" | "style" | "icon" | "label" | "classes" | "className" | "sx" | "tabIndex" | "action" | "value" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "iconPosition" | "wrapped"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,7 +1,9 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material/ListItemButton").ListItemButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: import("react").Ref<HTMLDivElement>;
4
- }, "children" | "disabled" | "alignItems" | "style" | "dense" | "divider" | "selected" | "classes" | "className" | "sx" | "autoFocus" | "tabIndex" | "action" | "disableGutters" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
2
+ export declare const StyledListItem: import("@emotion/styled").StyledComponent<{
3
+ button?: false;
4
+ } & import("@mui/material/ListItem").ListItemOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
5
+ ref?: import("react").Ref<HTMLLIElement>;
6
+ }, "children" | "button" | "disabled" | "alignItems" | "style" | "dense" | "divider" | "selected" | "classes" | "className" | "components" | "componentsProps" | "slots" | "slotProps" | "sx" | "autoFocus" | "secondaryAction" | "disableGutters" | "disablePadding" | "ContainerComponent" | "ContainerProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
5
7
  export declare const ShowOnHover: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
8
  export declare const HideOnHover: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
9
  export declare const HoverContentWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { ListItemButtonProps } from '@mui/material';
3
- export interface TabListItemProps extends ListItemButtonProps {
2
+ import { ListItemProps } from '@mui/material';
3
+ export interface TabListItemProps extends ListItemProps {
4
4
  /**
5
5
  * Content that hidden when list item on hover
6
6
  */
@@ -1,3 +1,6 @@
1
+ import { Theme } from '@mui/material';
1
2
  import { TabsProps } from './Tabs.types';
2
- export declare const Tabs: (props: TabsProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Tabs: (props: TabsProps & {
4
+ theme: Theme;
5
+ }) => import("react/jsx-runtime").JSX.Element;
3
6
  export default Tabs;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { Theme } from '@mui/material';
3
+ import { TabsProps } from './Tabs.types';
4
+ export declare const StyledTabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
+ ref?: import("react").Ref<HTMLDivElement>;
6
+ }, "children" | "style" | "classes" | "className" | "slots" | "slotProps" | "sx" | "aria-label" | "aria-labelledby" | "onChange" | "action" | "variant" | "value" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<Theme> & TabsProps & {
7
+ theme: Theme;
8
+ }, {}, {}>;
@@ -9,4 +9,5 @@ export interface Shapes {
9
9
  chip?: number | string;
10
10
  tag?: number | string;
11
11
  circle?: number | string;
12
+ tab?: number | string;
12
13
  }
@@ -8,5 +8,6 @@ declare const shapes: {
8
8
  chip: string;
9
9
  tag: string;
10
10
  circle: string;
11
+ tab: string;
11
12
  };
12
13
  export default shapes;
@@ -8,5 +8,6 @@ declare const shapes: {
8
8
  chip: string;
9
9
  tag: string;
10
10
  circle: string;
11
+ tab: string;
11
12
  };
12
13
  export default shapes;
package/dist/index.d.ts CHANGED
@@ -87,4 +87,3 @@ export * from './Icons/common/Forms';
87
87
  export * from './Logos/Leap';
88
88
  export * from './Icons/doctypes/Doctype';
89
89
  export * from './Icons/doctypes/Doctype16';
90
- export declare const IconsPath = "../Icons/lawconnect/";