@xfers/design-system 7.1.0-dev.8caa55d6e1 → 7.1.0-dev.8fcc223fee

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 (65) hide show
  1. package/cjs/{StraitsXPersonalAccountLightLogo-63cb9f22.js → StraitsXPersonalAccountDarkLogo-95a3ea64.js} +1 -1
  2. package/cjs/StraitsXPersonalAccountDarkLogo-95a3ea64.js.map +1 -0
  3. package/cjs/index.js +505 -288
  4. package/cjs/index.js.map +1 -1
  5. package/cjs/logos.js +1 -1
  6. package/dist/components/Carousel/index.js +2 -7
  7. package/dist/components/Carousel/index.js.map +1 -1
  8. package/dist/components/Select/index.js +2 -2
  9. package/dist/components/Select/index.js.map +1 -1
  10. package/dist/components/Sidebar/CompanyProfile.js +85 -0
  11. package/dist/components/Sidebar/CompanyProfile.js.map +1 -0
  12. package/dist/components/Sidebar/CompanyProfileDropdown.js +32 -0
  13. package/dist/components/Sidebar/CompanyProfileDropdown.js.map +1 -0
  14. package/dist/components/Sidebar/CopyrightNotice.js +14 -0
  15. package/dist/components/Sidebar/CopyrightNotice.js.map +1 -0
  16. package/dist/components/Sidebar/Sidebar.js +119 -0
  17. package/dist/components/Sidebar/Sidebar.js.map +1 -0
  18. package/dist/components/Sidebar/SidebarNavItem.js +24 -0
  19. package/dist/components/Sidebar/SidebarNavItem.js.map +1 -0
  20. package/dist/components/Sidebar/SidebarSubItem.js +11 -0
  21. package/dist/components/Sidebar/SidebarSubItem.js.map +1 -0
  22. package/dist/components/Sidebar/index.js +55 -0
  23. package/dist/components/Sidebar/index.js.map +1 -0
  24. package/dist/components/Sidebar/styles.js +274 -0
  25. package/dist/components/Sidebar/styles.js.map +1 -0
  26. package/dist/components/Steps/DesktopSteps.js +41 -32
  27. package/dist/components/Steps/DesktopSteps.js.map +1 -1
  28. package/dist/components/Tabs/index.js +2 -15
  29. package/dist/components/Tabs/index.js.map +1 -1
  30. package/dist/components/Timeline/index.js +30 -11
  31. package/dist/components/Timeline/index.js.map +1 -1
  32. package/dist/components/Tooltip/index.js +2 -2
  33. package/dist/components/Tooltip/index.js.map +1 -1
  34. package/dist/constants/Colors/colors.js +2 -0
  35. package/dist/constants/Colors/colors.js.map +1 -1
  36. package/dist/index.js +11 -1
  37. package/dist/index.js.map +1 -1
  38. package/dist/shared/momentDatePicker.js +1 -1
  39. package/dist/shared/momentDatePicker.js.map +1 -1
  40. package/dist/types/components/CopyBox/styles.d.ts +4 -4
  41. package/dist/types/components/DynamicSelect/DynamicSelect.d.ts +1 -1
  42. package/dist/types/components/Select/index.d.ts +3 -2
  43. package/dist/types/components/Select/style.d.ts +3 -3
  44. package/dist/types/components/Sidebar/CompanyProfile.d.ts +14 -0
  45. package/dist/types/components/Sidebar/CompanyProfileDropdown.d.ts +24 -0
  46. package/dist/types/components/Sidebar/CopyrightNotice.d.ts +6 -0
  47. package/dist/types/components/Sidebar/Sidebar.d.ts +47 -0
  48. package/dist/types/components/Sidebar/SidebarNavItem.d.ts +19 -0
  49. package/dist/types/components/Sidebar/SidebarSubItem.d.ts +10 -0
  50. package/dist/types/components/Sidebar/index.d.ts +12 -0
  51. package/dist/types/components/Sidebar/styles.d.ts +44 -0
  52. package/dist/types/components/Steps/DesktopSteps.d.ts +4 -13
  53. package/dist/types/components/Tabs/index.d.ts +2 -4
  54. package/dist/types/constants/Colors/colors.d.ts +3 -1
  55. package/dist/types/index.d.ts +2 -0
  56. package/dist/types/shared/momentDatePicker.d.ts +8 -70
  57. package/es/StraitsXPersonalAccountDarkLogo-85aa39f5.js +2 -0
  58. package/es/StraitsXPersonalAccountDarkLogo-85aa39f5.js.map +1 -0
  59. package/es/index.js +527 -310
  60. package/es/index.js.map +1 -1
  61. package/es/logos.js +1 -1
  62. package/package.json +2 -2
  63. package/cjs/StraitsXPersonalAccountLightLogo-63cb9f22.js.map +0 -1
  64. package/es/StraitsXPersonalAccountLightLogo-f003f1e2.js +0 -2
  65. package/es/StraitsXPersonalAccountLightLogo-f003f1e2.js.map +0 -1
@@ -9,8 +9,8 @@ export declare const TextContainer: import("@emotion/styled-base").StyledCompone
9
9
  export declare const TextValueStyles: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
10
10
  isBankAddress: boolean;
11
11
  }, object>;
12
- export declare const CopyButton: import("@emotion/styled-base").StyledComponent<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
13
- ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
14
- }, Pick<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & {
15
- ref?: ((instance: HTMLAnchorElement | HTMLButtonElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLAnchorElement | HTMLButtonElement> | null | undefined;
12
+ export declare const CopyButton: import("@emotion/styled-base").StyledComponent<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>, "ref"> & {
13
+ ref?: ((instance: HTMLButtonElement | HTMLAnchorElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement | HTMLAnchorElement> | null | undefined;
14
+ }, Pick<Omit<import("antd").ButtonProps & import("react").RefAttributes<HTMLButtonElement | HTMLAnchorElement>, "ref"> & {
15
+ ref?: ((instance: HTMLButtonElement | HTMLAnchorElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLButtonElement | HTMLAnchorElement> | null | undefined;
16
16
  }, keyof import("antd").ButtonProps>, object>;
@@ -13,7 +13,7 @@ export type IExtraElementProps = {
13
13
  type IAddItemProps = Omit<IExtraElementProps, 'topContent' | 'bottomContent'>;
14
14
  declare const DynamicSelect: {
15
15
  ({ className, children, disabled, mode, label, iconSrc, extraText, extraAction, isAddItemBarVisible, topContent, bottomContent, actionContent, ...rest }: IDynamicSelectProps): React.JSX.Element;
16
- Option: import("@rc-component/select/lib/Option").OptionFC;
16
+ Option: import("rc-select/lib/Option").OptionFC;
17
17
  };
18
18
  export declare const AddIcon: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, Pick<React.ClassAttributes<HTMLImageElement> & React.ImgHTMLAttributes<HTMLImageElement>, keyof React.ImgHTMLAttributes<HTMLImageElement>>, object>;
19
19
  export declare const AddButton: import("@emotion/styled-base").StyledComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & Pick<Pick<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement>>, keyof React.HTMLAttributes<HTMLDivElement>> & {
@@ -1,6 +1,7 @@
1
1
  import React, { RefObject } from 'react';
2
2
  import { SelectProps } from 'antd';
3
- import type { BaseSelectRef, BaseOptionType, DefaultOptionType } from '@rc-component/select';
3
+ import type { BaseSelectRef } from 'rc-select';
4
+ import type { BaseOptionType, DefaultOptionType } from 'rc-select/lib/Select';
4
5
  export type Props = {
5
6
  disabled?: boolean;
6
7
  children?: React.ReactNode;
@@ -24,6 +25,6 @@ export type Props = {
24
25
  } & Omit<SelectProps<unknown, DefaultOptionType | BaseOptionType>, 'disabled' | 'size'>;
25
26
  declare const Select: {
26
27
  ({ children, disabled, size, mode, label, labelTooltip, selectRef, placeholder, error, secondaryText, helperText, options, ...rest }: Props): React.JSX.Element;
27
- Option: import("@rc-component/select/lib/Option").OptionFC;
28
+ Option: import("rc-select/lib/Option").OptionFC;
28
29
  };
29
30
  export default Select;
@@ -1,10 +1,10 @@
1
1
  export declare const LabelContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
2
2
  export declare const OptionContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
3
3
  export declare const SelectContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
4
- export declare const StyledAntSelect: import("@emotion/styled-base").StyledComponent<Omit<import("antd").SelectProps<unknown, import("@rc-component/select").DefaultOptionType | import("@rc-component/select").BaseOptionType> & {
4
+ export declare const StyledAntSelect: import("@emotion/styled-base").StyledComponent<Omit<import("antd").SelectProps<unknown, import("rc-select/lib/Select").DefaultOptionType | import("rc-select/lib/Select").BaseOptionType> & {
5
5
  children?: import("react").ReactNode | undefined;
6
- } & import("react").RefAttributes<import("antd").RefSelectProps>, "ref"> & {
7
- ref?: ((instance: import("antd").RefSelectProps | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<import("antd").RefSelectProps> | null | undefined;
6
+ } & import("react").RefAttributes<import("rc-select").BaseSelectRef>, "ref"> & {
7
+ ref?: ((instance: import("rc-select").BaseSelectRef | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<import("rc-select").BaseSelectRef> | null | undefined;
8
8
  }, {
9
9
  $size: "sm" | "lg";
10
10
  $mode?: "multiple";
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { CompanyOption } from './CompanyProfileDropdown';
3
+ type CompanyProfileProps = {
4
+ companyName?: string;
5
+ subtitle?: string;
6
+ enableDropdown?: boolean;
7
+ /** Renders only the company switcher, without the menu items. */
8
+ switchOnly?: boolean;
9
+ companies?: CompanyOption[];
10
+ onMenuItemClick?: (label: string) => void;
11
+ onClick?: () => void;
12
+ };
13
+ declare const CompanyProfile: ({ companyName, subtitle, enableDropdown, switchOnly, companies, onMenuItemClick, onClick, }: CompanyProfileProps) => React.JSX.Element;
14
+ export default CompanyProfile;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { MaterialSymbol } from 'material-symbols';
3
+ export type CompanyOption = {
4
+ name: string;
5
+ subtitle?: string;
6
+ active?: boolean;
7
+ onClick?: () => void;
8
+ };
9
+ type MenuItemDef = {
10
+ icon: MaterialSymbol;
11
+ label: string;
12
+ };
13
+ export declare const COMPANY_MENU_ITEMS: MenuItemDef[];
14
+ export type CompanyMenuItem = (typeof COMPANY_MENU_ITEMS)[number]['label'];
15
+ type CompanyProfileDropdownProps = {
16
+ /** When false, only the company switcher is rendered (Figma `switchOnly`). */
17
+ showMenuItems?: boolean;
18
+ /** When false, the switch-company block is hidden (Figma `switchCompany`). */
19
+ switchCompany?: boolean;
20
+ companies?: CompanyOption[];
21
+ onMenuItemClick?: (label: CompanyMenuItem) => void;
22
+ };
23
+ declare const CompanyProfileDropdown: ({ showMenuItems, switchCompany, companies, onMenuItemClick, }: CompanyProfileDropdownProps) => React.JSX.Element;
24
+ export default CompanyProfileDropdown;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ type CopyrightNoticeProps = {
3
+ text?: string;
4
+ };
5
+ declare const CopyrightNotice: ({ text, }: CopyrightNoticeProps) => React.JSX.Element;
6
+ export default CopyrightNotice;
@@ -0,0 +1,47 @@
1
+ import React from 'react';
2
+ import type { SidebarVariant } from './styles';
3
+ import type { CompanyOption } from './CompanyProfileDropdown';
4
+ type SidebarBaseProps = {
5
+ variant?: SidebarVariant;
6
+ logo?: React.ReactNode;
7
+ companyProfile?: React.ReactNode;
8
+ children?: React.ReactNode;
9
+ footer?: React.ReactNode;
10
+ };
11
+ export declare const SidebarBase: ({ variant, logo, companyProfile, children, footer, }: SidebarBaseProps) => React.JSX.Element;
12
+ /** All possible nav item labels in the Business/Sandbox sidebar. */
13
+ export type SidebarNavLabel = 'Home' | 'Cards' | 'DVA Payments' | 'Transaction History' | 'API Tools' | 'Support';
14
+ /** All possible nav item labels in the Personal sidebar. */
15
+ export type PersonalNavLabel = 'Home' | 'Mint' | 'Transaction History' | 'Support';
16
+ /** Union of all sidebar nav labels across all variants. */
17
+ export type SidebarItemLabel = SidebarNavLabel | PersonalNavLabel;
18
+ type SidebarProductsProps = {
19
+ variant?: SidebarVariant;
20
+ companyProfile?: boolean;
21
+ companyName?: string;
22
+ companySubtitle?: string;
23
+ /**
24
+ * Labels of nav items to hide. Items not in this array remain visible.
25
+ * Type-safe: only accepts known nav item labels.
26
+ * Example: `['Cards', 'DVA Payments']` hides those two items.
27
+ */
28
+ hiddenItems?: SidebarItemLabel[];
29
+ /**
30
+ * Label of the currently selected row. Shared by top-level items and
31
+ * sub-items so exactly one row is ever highlighted.
32
+ */
33
+ activeItem?: string;
34
+ onItemClick?: (label: string) => void;
35
+ onCompanyProfileClick?: () => void;
36
+ /** Companies listed in the SWITCH COMPANY block of the profile dropdown. */
37
+ companies?: CompanyOption[];
38
+ /** Renders only the company switcher in the dropdown, without menu items. */
39
+ switchOnly?: boolean;
40
+ onCompanyMenuItemClick?: (label: string) => void;
41
+ };
42
+ export declare const SidebarProducts: ({ variant, companyProfile, companyName, companySubtitle, hiddenItems, activeItem, onItemClick, onCompanyProfileClick, companies, switchOnly, onCompanyMenuItemClick, }: SidebarProductsProps) => React.JSX.Element;
43
+ declare const Sidebar: {
44
+ Base: ({ variant, logo, companyProfile, children, footer, }: SidebarBaseProps) => React.JSX.Element;
45
+ Products: ({ variant, companyProfile, companyName, companySubtitle, hiddenItems, activeItem, onItemClick, onCompanyProfileClick, companies, switchOnly, onCompanyMenuItemClick, }: SidebarProductsProps) => React.JSX.Element;
46
+ };
47
+ export default Sidebar;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { MaterialSymbol } from 'material-symbols';
3
+ import type { SidebarVariant } from './styles';
4
+ export type SubItem = {
5
+ label: string;
6
+ active?: boolean;
7
+ onClick?: () => void;
8
+ };
9
+ type SidebarNavItemProps = {
10
+ icon: MaterialSymbol;
11
+ label: string;
12
+ variant?: SidebarVariant;
13
+ active?: boolean;
14
+ onClick?: () => void;
15
+ subItems?: SubItem[];
16
+ isExpanded?: boolean;
17
+ };
18
+ declare const SidebarNavItem: ({ icon, label, variant, active, onClick, subItems, isExpanded, }: SidebarNavItemProps) => React.JSX.Element;
19
+ export default SidebarNavItem;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { SidebarVariant } from './styles';
3
+ type SidebarSubItemProps = {
4
+ label: string;
5
+ variant?: SidebarVariant;
6
+ active?: boolean;
7
+ onClick?: () => void;
8
+ };
9
+ declare const SidebarSubItem: ({ label, variant, active, onClick, }: SidebarSubItemProps) => React.JSX.Element;
10
+ export default SidebarSubItem;
@@ -0,0 +1,12 @@
1
+ import Sidebar, { SidebarBase, SidebarProducts, SidebarNavLabel, PersonalNavLabel, SidebarItemLabel } from './Sidebar';
2
+ import SidebarNavItem from './SidebarNavItem';
3
+ import SidebarSubItem from './SidebarSubItem';
4
+ import CompanyProfile from './CompanyProfile';
5
+ import CompanyProfileDropdown, { COMPANY_MENU_ITEMS } from './CompanyProfileDropdown';
6
+ import CopyrightNotice from './CopyrightNotice';
7
+ export { SidebarBase, SidebarProducts, SidebarNavItem, SidebarSubItem, CompanyProfile, CompanyProfileDropdown, CopyrightNotice, COMPANY_MENU_ITEMS, };
8
+ export type { SidebarVariant } from './styles';
9
+ export type { SubItem } from './SidebarNavItem';
10
+ export type { CompanyOption, CompanyMenuItem } from './CompanyProfileDropdown';
11
+ export type { SidebarNavLabel, PersonalNavLabel, SidebarItemLabel };
12
+ export default Sidebar;
@@ -0,0 +1,44 @@
1
+ import { BASE, STATUS } from '../../constants/Colors/colors';
2
+ export type SidebarVariant = 'business' | 'personal' | 'sandbox';
3
+ export declare const itemTextColor: (variant: SidebarVariant, active?: boolean) => BASE.ON_CONTAINER | BASE.ON_NEUTRAL_SECONDARY | STATUS.POSITIVE;
4
+ export declare const SidebarWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
5
+ variant: SidebarVariant;
6
+ }, object>;
7
+ export declare const MenuHeader: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
8
+ export declare const LogoWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
9
+ export declare const MenuContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
10
+ export declare const NavItemWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
11
+ variant: SidebarVariant;
12
+ active?: boolean;
13
+ }, object>;
14
+ export declare const NavItemLabel: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
15
+ variant: SidebarVariant;
16
+ active?: boolean;
17
+ }, object>;
18
+ export declare const NavItemAffordance: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
19
+ export declare const SubItemWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
20
+ variant: SidebarVariant;
21
+ active?: boolean;
22
+ }, object>;
23
+ export declare const SubItemLabel: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
24
+ variant: SidebarVariant;
25
+ active?: boolean;
26
+ }, object>;
27
+ export declare const CompanyProfileContainer: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
28
+ export declare const CompanyProfileWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
29
+ export declare const CompanyProfileContent: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
30
+ export declare const CompanyName: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
31
+ export declare const CompanySubtitle: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
32
+ export declare const CopyrightNoticeWrapper: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
33
+ export declare const CopyrightNoticeText: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
34
+ export declare const DropdownPanel: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
35
+ export declare const DropdownSectionLabel: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
36
+ export declare const DropdownRow: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
37
+ active?: boolean;
38
+ }, object>;
39
+ export declare const DropdownMenuRow: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
40
+ export declare const DropdownRowContent: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
41
+ export declare const DropdownPrimaryText: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
42
+ export declare const DropdownSecondaryText: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
43
+ export declare const DropdownMenuLabel: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, Pick<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement>, keyof import("react").HTMLAttributes<HTMLSpanElement>>, object>;
44
+ export declare const DropdownDivider: import("@emotion/styled-base").StyledComponent<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Pick<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement>>, object>;
@@ -1,18 +1,9 @@
1
1
  import React from 'react';
2
- import { StepsProps } from 'antd';
3
- type StepItem = {
4
- title?: React.ReactNode;
5
- description?: React.ReactNode;
6
- status?: 'wait' | 'process' | 'finish' | 'error';
7
- disabled?: boolean;
8
- icon?: React.ReactNode;
9
- subTitle?: React.ReactNode;
10
- className?: string;
11
- };
2
+ import { StepsProps, StepProps } from 'antd';
12
3
  declare const DesktopSteps: {
13
- ({ className, children, ...rest }: StepsProps & {
14
- children?: React.ReactNode;
4
+ ({ className, ...rest }: StepsProps & {
5
+ children: React.ReactNode;
15
6
  }): React.JSX.Element;
16
- Step: React.FC<StepItem>;
7
+ Step: React.FC<StepProps>;
17
8
  };
18
9
  export default DesktopSteps;
@@ -1,14 +1,12 @@
1
1
  import React from 'react';
2
- import type { TabsProps } from 'antd';
3
2
  type Props = {
4
3
  activeKey?: string;
5
4
  onChange?: any;
6
5
  animated?: boolean;
7
- items?: TabsProps['items'];
8
- children?: React.ReactNode;
6
+ children: React.ReactNode;
9
7
  };
10
8
  declare const Tabs: {
11
- ({ children, items, ...rest }: Props): React.JSX.Element;
9
+ ({ children, ...rest }: Props): React.JSX.Element;
12
10
  TabPane: React.FC<import("antd").TabPaneProps>;
13
11
  };
14
12
  export default Tabs;
@@ -105,5 +105,7 @@ export declare enum COMPONENT {
105
105
  BUTTON_PRIMARY = "#00A965",
106
106
  LABEL_INPUT = "#757575",
107
107
  HELPER_INPUT = "#757575",
108
- PLACEHOLDER_INPUT = "#B6B6B6"
108
+ PLACEHOLDER_INPUT = "#B6B6B6",
109
+ SIDEBAR_ACTIVE = "#D7EFE2",
110
+ SIDEBAR_ACTIVE_SANDBOX = "#005755"
109
111
  }
@@ -44,6 +44,8 @@ export { default as Spin } from './components/Spin';
44
44
  export { default as SummaryCard } from './components/SummaryCard';
45
45
  export { default as Timeline } from './components/Timeline';
46
46
  export { default as Coachmark } from './components/Coachmark';
47
+ export { default as Sidebar, SidebarBase, SidebarProducts, SidebarNavItem, SidebarSubItem, CompanyProfile, CompanyProfileDropdown, CopyrightNotice, COMPANY_MENU_ITEMS, } from './components/Sidebar';
48
+ export type { SidebarVariant, SubItem as SidebarSubItemType, CompanyOption as SidebarCompanyOption, CompanyMenuItem as SidebarCompanyMenuItem, SidebarNavLabel, PersonalNavLabel, SidebarItemLabel, } from './components/Sidebar';
47
49
  export { getCoachmarkJoyrideConfig } from './components/Coachmark/getJoyrideConfig';
48
50
  export * from './icons';
49
51
  export { MaterialSymbols } from './icons/MaterialSymbols';
@@ -1,18 +1,18 @@
1
1
  import type { Moment } from 'moment';
2
- declare const MomentDatePicker: (<ValueType = Moment, IsMultiple extends boolean = false>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, import("antd/es/date-picker/generatePicker").PickerProps<Moment>, ValueType, IsMultiple>) => React.ReactElement) & {
2
+ declare const MomentDatePicker: (<ValueType = Moment>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, import("antd/es/date-picker/generatePicker").PickerProps<Moment>, ValueType>) => React.ReactElement) & {
3
3
  displayName?: string;
4
4
  } & {
5
5
  displayName?: string;
6
- WeekPicker: (<ValueType = Moment, IsMultiple extends boolean = false>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Moment>, "picker">, ValueType, IsMultiple>) => React.ReactElement) & {
6
+ WeekPicker: (<ValueType = Moment>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Moment>, "picker">, ValueType>) => React.ReactElement) & {
7
7
  displayName?: string;
8
8
  };
9
- MonthPicker: (<ValueType = Moment, IsMultiple extends boolean = false>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Moment>, "picker">, ValueType, IsMultiple>) => React.ReactElement) & {
9
+ MonthPicker: (<ValueType = Moment>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Moment>, "picker">, ValueType>) => React.ReactElement) & {
10
10
  displayName?: string;
11
11
  };
12
- YearPicker: (<ValueType = Moment, IsMultiple extends boolean = false>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Moment>, "picker">, ValueType, IsMultiple>) => React.ReactElement) & {
12
+ YearPicker: (<ValueType = Moment>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Moment>, "picker">, ValueType>) => React.ReactElement) & {
13
13
  displayName?: string;
14
14
  };
15
- RangePicker: import("react").ForwardRefExoticComponent<Omit<import("@rc-component/picker").RangePickerProps<Moment>, "locale" | "generateConfig" | "hideHeader" | "classNames" | "styles"> & {
15
+ RangePicker: import("react").ForwardRefExoticComponent<Omit<import("rc-picker").RangePickerProps<Moment>, "locale" | "generateConfig" | "hideHeader"> & {
16
16
  locale?: import("antd/es/date-picker/generatePicker").PickerLocale;
17
17
  size?: import("antd/es/button").ButtonSize;
18
18
  placement?: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
@@ -23,73 +23,11 @@ declare const MomentDatePicker: (<ValueType = Moment, IsMultiple extends boolean
23
23
  popupClassName?: string;
24
24
  rootClassName?: string;
25
25
  popupStyle?: React.CSSProperties;
26
- classNames?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
27
- root?: string;
28
- prefix?: string;
29
- input?: string;
30
- suffix?: string;
31
- popup?: string | {
32
- root?: string;
33
- header?: string;
34
- body?: string;
35
- content?: string;
36
- item?: string;
37
- footer?: string;
38
- container?: string;
39
- };
40
- } | undefined> | ((info: {
41
- props: import("antd/es/date-picker/generatePicker/interface").InjectDefaultProps<import("@rc-component/picker").RangePickerProps<Moment>>;
42
- }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
43
- root?: string;
44
- prefix?: string;
45
- input?: string;
46
- suffix?: string;
47
- popup?: string | {
48
- root?: string;
49
- header?: string;
50
- body?: string;
51
- content?: string;
52
- item?: string;
53
- footer?: string;
54
- container?: string;
55
- };
56
- } | undefined>);
57
- styles?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
58
- root?: React.CSSProperties;
59
- prefix?: React.CSSProperties;
60
- input?: React.CSSProperties;
61
- suffix?: React.CSSProperties;
62
- popup?: {
63
- root?: React.CSSProperties;
64
- header?: React.CSSProperties;
65
- body?: React.CSSProperties;
66
- content?: React.CSSProperties;
67
- item?: React.CSSProperties;
68
- footer?: React.CSSProperties;
69
- container?: React.CSSProperties;
70
- };
71
- } | undefined> | ((info: {
72
- props: import("antd/es/date-picker/generatePicker/interface").InjectDefaultProps<import("@rc-component/picker").RangePickerProps<Moment>>;
73
- }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
74
- root?: React.CSSProperties;
75
- prefix?: React.CSSProperties;
76
- input?: React.CSSProperties;
77
- suffix?: React.CSSProperties;
78
- popup?: {
79
- root?: React.CSSProperties;
80
- header?: React.CSSProperties;
81
- body?: React.CSSProperties;
82
- content?: React.CSSProperties;
83
- item?: React.CSSProperties;
84
- footer?: React.CSSProperties;
85
- container?: React.CSSProperties;
86
- };
87
- } | undefined>);
88
- } & import("react").RefAttributes<import("@rc-component/picker").PickerRef>>;
89
- TimePicker: (<ValueType = Moment, IsMultiple extends boolean = false>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker/interface").GenericTimePickerProps<Moment>, "picker">, ValueType, IsMultiple>) => React.ReactElement) & {
26
+ } & import("react").RefAttributes<import("rc-picker").PickerRef>>;
27
+ TimePicker: (<ValueType = Moment>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker/interface").GenericTimePickerProps<Moment>, "picker">, ValueType>) => React.ReactElement) & {
90
28
  displayName?: string;
91
29
  };
92
- QuarterPicker: (<ValueType = Moment, IsMultiple extends boolean = false>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Moment>, "picker">, ValueType, IsMultiple>) => React.ReactElement) & {
30
+ QuarterPicker: (<ValueType = Moment>(props: import("antd/es/date-picker/generatePicker/interface").PickerPropsWithMultiple<Moment, Omit<import("antd/es/date-picker/generatePicker").PickerProps<Moment>, "picker">, ValueType>) => React.ReactElement) & {
93
31
  displayName?: string;
94
32
  };
95
33
  };