@deskpro/deskpro-ui 2.0.0-rc.1 → 2.1.1

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 (73) hide show
  1. package/dist/cjs/components/ButtonGroup/index.js +5 -1
  2. package/dist/cjs/components/ButtonGroup/index.js.map +1 -1
  3. package/dist/cjs/components/Dropdown/Dropdown.js +5 -4
  4. package/dist/cjs/components/Dropdown/Dropdown.js.map +1 -1
  5. package/dist/cjs/components/Icon/DeskproCustomIcon.js +2 -1
  6. package/dist/cjs/components/Icon/DeskproCustomIcon.js.map +1 -1
  7. package/dist/cjs/components/Icon/Icon.js +5 -5
  8. package/dist/cjs/components/Icon/Icon.js.map +1 -1
  9. package/dist/cjs/components/NonIdealState/NonIdealState.js +2 -2
  10. package/dist/cjs/components/Overlay/index.js +5 -1
  11. package/dist/cjs/components/Overlay/index.js.map +1 -1
  12. package/dist/cjs/components/TabBar/TabBar.js +17 -29
  13. package/dist/cjs/components/TabBar/TabBar.js.map +1 -1
  14. package/dist/cjs/components/TabBar/styles/bar.js +28 -0
  15. package/dist/cjs/components/TabBar/styles/bar.js.map +1 -0
  16. package/dist/cjs/components/TabBar/styles/button.js +45 -0
  17. package/dist/cjs/components/TabBar/styles/button.js.map +1 -0
  18. package/dist/cjs/components/TabBar/styles/index.js +14 -0
  19. package/dist/cjs/components/TabBar/styles/index.js.map +1 -0
  20. package/dist/cjs/components/TabBar/styles/nav.js +89 -0
  21. package/dist/cjs/components/TabBar/styles/nav.js.map +1 -0
  22. package/dist/cjs/components/TabBar/styles/tab.js +34 -0
  23. package/dist/cjs/components/TabBar/styles/tab.js.map +1 -0
  24. package/dist/cjs/components/TabBar/types.js +3 -0
  25. package/dist/cjs/components/TabBar/types.js.map +1 -0
  26. package/dist/cjs/components/Tabs/index.js +5 -1
  27. package/dist/cjs/components/Tabs/index.js.map +1 -1
  28. package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
  29. package/dist/cjs/components/Typography/Typography.js +15 -1
  30. package/dist/cjs/components/Typography/Typography.js.map +1 -1
  31. package/dist/cjs/components/Typography/index.js +5 -1
  32. package/dist/cjs/components/Typography/index.js.map +1 -1
  33. package/dist/cjs/components/index.js +5 -2
  34. package/dist/cjs/components/index.js.map +1 -1
  35. package/dist/cjs/lib.js +5 -1
  36. package/dist/cjs/lib.js.map +1 -1
  37. package/dist/deskpro-ui.css +0 -5
  38. package/dist/deskpro-ui.d.ts +95 -333
  39. package/dist/esm/components/Dropdown/Dropdown.js +5 -4
  40. package/dist/esm/components/Dropdown/Dropdown.js.map +1 -1
  41. package/dist/esm/components/Icon/DeskproCustomIcon.js +2 -1
  42. package/dist/esm/components/Icon/DeskproCustomIcon.js.map +1 -1
  43. package/dist/esm/components/Icon/Icon.js +5 -5
  44. package/dist/esm/components/Icon/Icon.js.map +1 -1
  45. package/dist/esm/components/NonIdealState/NonIdealState.js +2 -2
  46. package/dist/esm/components/TabBar/TabBar.js +15 -28
  47. package/dist/esm/components/TabBar/TabBar.js.map +1 -1
  48. package/dist/esm/components/TabBar/styles/bar.js +26 -0
  49. package/dist/esm/components/TabBar/styles/bar.js.map +1 -0
  50. package/dist/esm/components/TabBar/styles/button.js +43 -0
  51. package/dist/esm/components/TabBar/styles/button.js.map +1 -0
  52. package/dist/esm/components/TabBar/styles/index.js +12 -0
  53. package/dist/esm/components/TabBar/styles/index.js.map +1 -0
  54. package/dist/esm/components/TabBar/styles/nav.js +87 -0
  55. package/dist/esm/components/TabBar/styles/nav.js.map +1 -0
  56. package/dist/esm/components/TabBar/styles/tab.js +32 -0
  57. package/dist/esm/components/TabBar/styles/tab.js.map +1 -0
  58. package/dist/esm/components/TabBar/types.js +2 -0
  59. package/dist/esm/components/TabBar/types.js.map +1 -0
  60. package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
  61. package/dist/esm/components/Typography/Typography.js +14 -0
  62. package/dist/esm/components/Typography/Typography.js.map +1 -1
  63. package/dist/esm/components/index.js +0 -1
  64. package/dist/esm/components/index.js.map +1 -1
  65. package/package.json +17 -15
  66. package/dist/cjs/components/FlagImg/FlagImg.js +0 -288
  67. package/dist/cjs/components/FlagImg/FlagImg.js.map +0 -1
  68. package/dist/cjs/components/FlagImg/index.js +0 -8
  69. package/dist/cjs/components/FlagImg/index.js.map +0 -1
  70. package/dist/esm/components/FlagImg/FlagImg.js +0 -284
  71. package/dist/esm/components/FlagImg/FlagImg.js.map +0 -1
  72. package/dist/esm/components/FlagImg/index.js +0 -2
  73. package/dist/esm/components/FlagImg/index.js.map +0 -1
@@ -12,6 +12,7 @@ import type { ComponentProps } from 'react';
12
12
  import type { ComponentType } from 'react';
13
13
  import { CSSProp } from 'styled-components';
14
14
  import { CSSProperties } from 'react';
15
+ import { CSSProperties as CSSProperties_2 } from 'styled-components';
15
16
  import { DefaultTheme } from 'styled-components';
16
17
  import { ErrorMessageProps } from 'formik';
17
18
  import type { Except } from 'type-fest';
@@ -62,8 +63,6 @@ style?: React_2.CSSProperties | undefined;
62
63
  title?: string | undefined;
63
64
  className?: string | undefined;
64
65
  type?: string | undefined;
65
- id?: string | undefined;
66
- is?: string | undefined;
67
66
  defaultChecked?: boolean | undefined;
68
67
  defaultValue?: string | number | readonly string[] | undefined;
69
68
  suppressContentEditableWarning?: boolean | undefined;
@@ -74,11 +73,12 @@ contextMenu?: string | undefined;
74
73
  dir?: string | undefined;
75
74
  draggable?: (boolean | "true" | "false") | undefined;
76
75
  hidden?: boolean | undefined;
76
+ id?: string | undefined;
77
77
  lang?: string | undefined;
78
78
  placeholder?: string | undefined;
79
79
  spellCheck?: (boolean | "true" | "false") | undefined;
80
80
  tabIndex?: number | undefined;
81
- translate?: "no" | "yes" | undefined;
81
+ translate?: "yes" | "no" | undefined;
82
82
  radioGroup?: string | undefined;
83
83
  role?: React_2.AriaRole | undefined;
84
84
  about?: string | undefined;
@@ -102,6 +102,7 @@ results?: number | undefined;
102
102
  security?: string | undefined;
103
103
  unselectable?: "on" | "off" | undefined;
104
104
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
105
+ is?: string | undefined;
105
106
  'aria-activedescendant'?: string | undefined;
106
107
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
107
108
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
@@ -335,7 +336,7 @@ export declare type AnchorButtonProps = HTMLAnchorButtonProps & CommonButtonProp
335
336
  /**
336
337
  * @public
337
338
  */
338
- export declare type AnyIcon = IconDefinition | ISO3166Code | DpCustomIconsId | SVGRIconType;
339
+ export declare type AnyIcon = IconDefinition | DpCustomIconsId | SVGRIconType | JSX.Element;
339
340
 
340
341
  /**
341
342
  * @public
@@ -483,9 +484,6 @@ title?: string | undefined;
483
484
  className?: string | undefined;
484
485
  type?: "button" | "submit" | "reset" | undefined;
485
486
  value?: string | number | readonly string[] | undefined;
486
- id?: string | undefined;
487
- is?: string | undefined;
488
- name?: string | undefined;
489
487
  defaultChecked?: boolean | undefined;
490
488
  defaultValue?: string | number | readonly string[] | undefined;
491
489
  suppressContentEditableWarning?: boolean | undefined;
@@ -496,11 +494,12 @@ contextMenu?: string | undefined;
496
494
  dir?: string | undefined;
497
495
  draggable?: (boolean | "true" | "false") | undefined;
498
496
  hidden?: boolean | undefined;
497
+ id?: string | undefined;
499
498
  lang?: string | undefined;
500
499
  placeholder?: string | undefined;
501
500
  spellCheck?: (boolean | "true" | "false") | undefined;
502
501
  tabIndex?: number | undefined;
503
- translate?: "no" | "yes" | undefined;
502
+ translate?: "yes" | "no" | undefined;
504
503
  radioGroup?: string | undefined;
505
504
  role?: React_2.AriaRole | undefined;
506
505
  about?: string | undefined;
@@ -524,6 +523,7 @@ results?: number | undefined;
524
523
  security?: string | undefined;
525
524
  unselectable?: "on" | "off" | undefined;
526
525
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
526
+ is?: string | undefined;
527
527
  'aria-activedescendant'?: string | undefined;
528
528
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
529
529
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
@@ -735,6 +735,7 @@ onAnimationIteration?: React_2.AnimationEventHandler<HTMLButtonElement> | undefi
735
735
  onAnimationIterationCapture?: React_2.AnimationEventHandler<HTMLButtonElement> | undefined;
736
736
  onTransitionEnd?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
737
737
  onTransitionEndCapture?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
738
+ name?: string | undefined;
738
739
  autoFocus?: boolean | undefined;
739
740
  disabled?: boolean | undefined;
740
741
  formAction?: string | undefined;
@@ -743,7 +744,7 @@ formMethod?: string | undefined;
743
744
  formNoValidate?: boolean | undefined;
744
745
  formTarget?: string | undefined;
745
746
  } & Omit<CommonButtonProps, "text" | "icon" | "fill" | "alignText" | "intent"> & {
746
- icon: JSX.Element | AnyIcon | IconProps | null;
747
+ icon: AnyIcon | IconProps | null;
747
748
  intent?: IconButtonIntent | undefined;
748
749
  } & {
749
750
  themeColor?: keyof ThemeColors | undefined;
@@ -781,9 +782,6 @@ title?: string | undefined;
781
782
  className?: string | undefined;
782
783
  type?: "button" | "submit" | "reset" | undefined;
783
784
  value?: string | number | readonly string[] | undefined;
784
- id?: string | undefined;
785
- is?: string | undefined;
786
- name?: string | undefined;
787
785
  defaultChecked?: boolean | undefined;
788
786
  defaultValue?: string | number | readonly string[] | undefined;
789
787
  suppressContentEditableWarning?: boolean | undefined;
@@ -794,11 +792,12 @@ contextMenu?: string | undefined;
794
792
  dir?: string | undefined;
795
793
  draggable?: (boolean | "true" | "false") | undefined;
796
794
  hidden?: boolean | undefined;
795
+ id?: string | undefined;
797
796
  lang?: string | undefined;
798
797
  placeholder?: string | undefined;
799
798
  spellCheck?: (boolean | "true" | "false") | undefined;
800
799
  tabIndex?: number | undefined;
801
- translate?: "no" | "yes" | undefined;
800
+ translate?: "yes" | "no" | undefined;
802
801
  radioGroup?: string | undefined;
803
802
  role?: React_2.AriaRole | undefined;
804
803
  about?: string | undefined;
@@ -822,6 +821,7 @@ results?: number | undefined;
822
821
  security?: string | undefined;
823
822
  unselectable?: "on" | "off" | undefined;
824
823
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
824
+ is?: string | undefined;
825
825
  'aria-activedescendant'?: string | undefined;
826
826
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
827
827
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
@@ -1033,6 +1033,7 @@ onAnimationIteration?: React_2.AnimationEventHandler<HTMLButtonElement> | undefi
1033
1033
  onAnimationIterationCapture?: React_2.AnimationEventHandler<HTMLButtonElement> | undefined;
1034
1034
  onTransitionEnd?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
1035
1035
  onTransitionEndCapture?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
1036
+ name?: string | undefined;
1036
1037
  autoFocus?: boolean | undefined;
1037
1038
  disabled?: boolean | undefined;
1038
1039
  formAction?: string | undefined;
@@ -1041,7 +1042,7 @@ formMethod?: string | undefined;
1041
1042
  formNoValidate?: boolean | undefined;
1042
1043
  formTarget?: string | undefined;
1043
1044
  } & Omit<CommonButtonProps, "text" | "icon" | "fill" | "alignText" | "intent"> & {
1044
- icon: JSX.Element | AnyIcon | IconProps | null;
1045
+ icon: AnyIcon | IconProps | null;
1045
1046
  intent?: IconButtonIntent | undefined;
1046
1047
  } & {
1047
1048
  themeColor?: keyof ThemeColors | undefined;
@@ -1143,9 +1144,6 @@ title?: string | undefined;
1143
1144
  className?: string | undefined;
1144
1145
  type?: "button" | "submit" | "reset" | undefined;
1145
1146
  value?: string | number | readonly string[] | undefined;
1146
- id?: string | undefined;
1147
- is?: string | undefined;
1148
- name?: string | undefined;
1149
1147
  defaultChecked?: boolean | undefined;
1150
1148
  defaultValue?: string | number | readonly string[] | undefined;
1151
1149
  suppressContentEditableWarning?: boolean | undefined;
@@ -1156,11 +1154,12 @@ contextMenu?: string | undefined;
1156
1154
  dir?: string | undefined;
1157
1155
  draggable?: (boolean | "true" | "false") | undefined;
1158
1156
  hidden?: boolean | undefined;
1157
+ id?: string | undefined;
1159
1158
  lang?: string | undefined;
1160
1159
  placeholder?: string | undefined;
1161
1160
  spellCheck?: (boolean | "true" | "false") | undefined;
1162
1161
  tabIndex?: number | undefined;
1163
- translate?: "no" | "yes" | undefined;
1162
+ translate?: "yes" | "no" | undefined;
1164
1163
  radioGroup?: string | undefined;
1165
1164
  role?: React_2.AriaRole | undefined;
1166
1165
  about?: string | undefined;
@@ -1184,6 +1183,7 @@ results?: number | undefined;
1184
1183
  security?: string | undefined;
1185
1184
  unselectable?: "on" | "off" | undefined;
1186
1185
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1186
+ is?: string | undefined;
1187
1187
  'aria-activedescendant'?: string | undefined;
1188
1188
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
1189
1189
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
@@ -1395,6 +1395,7 @@ onAnimationIteration?: React_2.AnimationEventHandler<HTMLButtonElement> | undefi
1395
1395
  onAnimationIterationCapture?: React_2.AnimationEventHandler<HTMLButtonElement> | undefined;
1396
1396
  onTransitionEnd?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
1397
1397
  onTransitionEndCapture?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
1398
+ name?: string | undefined;
1398
1399
  autoFocus?: boolean | undefined;
1399
1400
  disabled?: boolean | undefined;
1400
1401
  formAction?: string | undefined;
@@ -1718,7 +1719,7 @@ declare type DpCustomIconsId = "active-call" | "admin" | "agent" | "api" | "apps
1718
1719
  * </Dropdown>
1719
1720
  * ```
1720
1721
  */
1721
- export declare function Dropdown<T, TargetRef extends HTMLElement = any, TabId extends string = string>({ children, options, stickyHeaderOptions, stickyFooterOptions, inputValue, searchPlaceholder, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, hideIcons, iconColumnWidth, containerWidth, containerHeight, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, optionsRenderer, tabProps, disabled, fetchMoreText, autoscrollText, externalLinkIcon, selectedIcon, }: DropdownProps<T, TargetRef, TabId>): JSX.Element;
1722
+ export declare function Dropdown<T, TargetRef extends HTMLElement = any>({ children, options, stickyHeaderOptions, stickyFooterOptions, inputValue, searchPlaceholder, placement, showInternalSearch, isLoading, usePortal, closeOnSelect, isOpen: isOpenProp, renderCreateNewOption, hideIcons, iconColumnWidth, containerWidth, containerHeight, onSelectOption, onInputChange, onFetchMore, onClear, onClose, onOpen, optionsRenderer, tabProps, disabled, fetchMoreText, autoscrollText, externalLinkIcon, selectedIcon, }: DropdownProps<T, TargetRef>): JSX.Element;
1722
1723
 
1723
1724
  /**
1724
1725
  * @public
@@ -1809,7 +1810,7 @@ export declare type DropdownItemType<T = unknown> = DropdownValueType<T> | Dropd
1809
1810
  /**
1810
1811
  * @public
1811
1812
  */
1812
- export declare interface DropdownProps<T, TargetRef extends HTMLElement, TabId extends string = string> {
1813
+ export declare interface DropdownProps<T, TargetRef extends HTMLElement> {
1813
1814
  /** List of options to render */
1814
1815
  options: DropdownItemType<T>[];
1815
1816
  /** Control over whether the dropdown is open - default uncontrolled */
@@ -1891,7 +1892,7 @@ export declare interface DropdownProps<T, TargetRef extends HTMLElement, TabId e
1891
1892
  /** Override the rendering of the contents of the dropdown container */
1892
1893
  optionsRenderer?: (options: DropdownItemType<T>[], handleSelectOption: (value: DropdownValueType<T>) => void, activeItem: DropdownValueType<T> | null, activeSubItem: string | null, setActiveSubItem: React_2.Dispatch<React_2.SetStateAction<string | null>>, hideIcons: boolean | undefined) => ReactNode;
1893
1894
  /** Props for rendering tabs within the dropdown */
1894
- tabProps?: DropdownTabProps<TabId>;
1895
+ tabProps?: DropdownTabProps;
1895
1896
  /** The text to show for the fetch more button */
1896
1897
  fetchMoreText: ReactNode;
1897
1898
  /** The text to show for the autoscroll button */
@@ -1919,10 +1920,10 @@ declare interface DropdownResetButtonProps {
1919
1920
  /**
1920
1921
  * @public
1921
1922
  */
1922
- export declare interface DropdownTabProps<TabId> {
1923
- tabs: TabbedSectionTabType<TabId>[];
1924
- activeTabId: TabId;
1925
- onTabChange: (value: TabbedSectionTabType<TabId>) => void;
1923
+ export declare interface DropdownTabProps {
1924
+ tabs: TabBarItemType[];
1925
+ activeTabIndex: number;
1926
+ onTabChange: (index: number) => void;
1926
1927
  }
1927
1928
 
1928
1929
  /**
@@ -2000,26 +2001,6 @@ export declare interface FaIconAvatarProps {
2000
2001
  iconStyles?: CSSProperties;
2001
2002
  }
2002
2003
 
2003
- /**
2004
- * Renders img with high quality flag svg using ISO 3166 code.
2005
- * Supports ISO 3166-1 alpha-2 codes (e.g. "US", "GB") and ISO 3166-2 codes
2006
- * for Scotland, Wales, Northern Ireland, and England (e.g. "GB-SCT")
2007
- * @public
2008
- */
2009
- export declare const FlagImg: StyledComponent<React_2.ForwardRefExoticComponent<FlagProps & React_2.RefAttributes<HTMLSpanElement>>, DefaultTheme, {}, never>;
2010
-
2011
- /**
2012
- * @public
2013
- */
2014
- export declare interface FlagProps extends HTMLAttributes<HTMLImageElement> {
2015
- /**
2016
- * ISO 3166-1 alpha-2 code or ISO 3166-2 codes for Scotland, Wales, Northern
2017
- * Ireland, and England
2018
- */
2019
- isoCode: string;
2020
- className?: string;
2021
- }
2022
-
2023
2004
  /**
2024
2005
  * Wrapper around Formik's useField hook and ErrorMessage component
2025
2006
  * @public
@@ -2121,6 +2102,11 @@ export declare const H6: StyledComponent<"h6", DefaultTheme, {}, never>;
2121
2102
  */
2122
2103
  export declare const H7: StyledComponent<"h6", DefaultTheme, {}, never>;
2123
2104
 
2105
+ /**
2106
+ * @public
2107
+ */
2108
+ export declare const H8: StyledComponent<"h6", DefaultTheme, {}, never>;
2109
+
2124
2110
  /**
2125
2111
  * @public
2126
2112
  */
@@ -2133,6 +2119,7 @@ export declare const headingStyles: {
2133
2119
  h5: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2134
2120
  h6: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2135
2121
  h7: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2122
+ h8: FlattenInterpolation<ThemeProps<DefaultTheme>>;
2136
2123
  };
2137
2124
 
2138
2125
  declare type HTMLAnchorButtonProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children">;
@@ -2184,9 +2171,6 @@ title?: string | undefined;
2184
2171
  className?: string | undefined;
2185
2172
  type?: "button" | "submit" | "reset" | undefined;
2186
2173
  value?: string | number | readonly string[] | undefined;
2187
- id?: string | undefined;
2188
- is?: string | undefined;
2189
- name?: string | undefined;
2190
2174
  defaultChecked?: boolean | undefined;
2191
2175
  defaultValue?: string | number | readonly string[] | undefined;
2192
2176
  suppressContentEditableWarning?: boolean | undefined;
@@ -2197,11 +2181,12 @@ contextMenu?: string | undefined;
2197
2181
  dir?: string | undefined;
2198
2182
  draggable?: (boolean | "true" | "false") | undefined;
2199
2183
  hidden?: boolean | undefined;
2184
+ id?: string | undefined;
2200
2185
  lang?: string | undefined;
2201
2186
  placeholder?: string | undefined;
2202
2187
  spellCheck?: (boolean | "true" | "false") | undefined;
2203
2188
  tabIndex?: number | undefined;
2204
- translate?: "no" | "yes" | undefined;
2189
+ translate?: "yes" | "no" | undefined;
2205
2190
  radioGroup?: string | undefined;
2206
2191
  role?: React_2.AriaRole | undefined;
2207
2192
  about?: string | undefined;
@@ -2225,6 +2210,7 @@ results?: number | undefined;
2225
2210
  security?: string | undefined;
2226
2211
  unselectable?: "on" | "off" | undefined;
2227
2212
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
2213
+ is?: string | undefined;
2228
2214
  'aria-activedescendant'?: string | undefined;
2229
2215
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
2230
2216
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
@@ -2436,6 +2422,7 @@ onAnimationIteration?: React_2.AnimationEventHandler<HTMLButtonElement> | undefi
2436
2422
  onAnimationIterationCapture?: React_2.AnimationEventHandler<HTMLButtonElement> | undefined;
2437
2423
  onTransitionEnd?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
2438
2424
  onTransitionEndCapture?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
2425
+ name?: string | undefined;
2439
2426
  autoFocus?: boolean | undefined;
2440
2427
  disabled?: boolean | undefined;
2441
2428
  formAction?: string | undefined;
@@ -2444,7 +2431,7 @@ formMethod?: string | undefined;
2444
2431
  formNoValidate?: boolean | undefined;
2445
2432
  formTarget?: string | undefined;
2446
2433
  } & Omit<CommonButtonProps, "text" | "icon" | "fill" | "alignText" | "intent"> & {
2447
- icon: JSX.Element | AnyIcon | IconProps | null;
2434
+ icon: AnyIcon | IconProps | null;
2448
2435
  intent?: IconButtonIntent | undefined;
2449
2436
  } & {
2450
2437
  themeColor?: keyof ThemeColors | undefined;
@@ -2626,275 +2613,6 @@ export declare function isFaIcon(icon: unknown): icon is IconDefinition;
2626
2613
  */
2627
2614
  export declare function isIconProps(props: unknown): props is IconProps;
2628
2615
 
2629
- /**
2630
- * @public
2631
- */
2632
- export declare function isISO3166(code: unknown): code is ISO3166Code;
2633
-
2634
- /**
2635
- * @public
2636
- */
2637
- export declare type ISO3166Code = keyof typeof iso3166FlagMap;
2638
-
2639
- /**
2640
- * @public
2641
- */
2642
- export declare const iso3166FlagMap: {
2643
- AD: string;
2644
- AE: string;
2645
- AF: string;
2646
- AG: string;
2647
- AI: string;
2648
- AL: string;
2649
- AM: string;
2650
- AO: string;
2651
- AQ: string;
2652
- AR: string;
2653
- AS: string;
2654
- AT: string;
2655
- AU: string;
2656
- AW: string;
2657
- AX: string;
2658
- AZ: string;
2659
- BA: string;
2660
- BB: string;
2661
- BD: string;
2662
- BE: string;
2663
- BF: string;
2664
- BG: string;
2665
- BH: string;
2666
- BI: string;
2667
- BJ: string;
2668
- BL: string;
2669
- BM: string;
2670
- BN: string;
2671
- BO: string;
2672
- BQ: string;
2673
- BR: string;
2674
- BS: string;
2675
- BT: string;
2676
- BV: string;
2677
- BW: string;
2678
- BY: string;
2679
- BZ: string;
2680
- CA: string;
2681
- CC: string;
2682
- CD: string;
2683
- CF: string;
2684
- CG: string;
2685
- CH: string;
2686
- CI: string;
2687
- CK: string;
2688
- CL: string;
2689
- CM: string;
2690
- CN: string;
2691
- CO: string;
2692
- CR: string;
2693
- CU: string;
2694
- CV: string;
2695
- CW: string;
2696
- CX: string;
2697
- CY: string;
2698
- CZ: string;
2699
- DE: string;
2700
- DJ: string;
2701
- DK: string;
2702
- DM: string;
2703
- DO: string;
2704
- DZ: string;
2705
- EC: string;
2706
- EE: string;
2707
- EG: string;
2708
- EH: string;
2709
- ER: string;
2710
- ES: string;
2711
- ET: string;
2712
- FI: string;
2713
- FJ: string;
2714
- FK: string;
2715
- FM: string;
2716
- FO: string;
2717
- FR: string;
2718
- GA: string;
2719
- "GB-ENG": string;
2720
- "GB-SCT": string;
2721
- "GB-WLS": string;
2722
- GB: string;
2723
- GD: string;
2724
- GE: string;
2725
- GF: string;
2726
- GG: string;
2727
- GH: string;
2728
- GI: string;
2729
- GL: string;
2730
- GM: string;
2731
- GN: string;
2732
- GP: string;
2733
- GQ: string;
2734
- GR: string;
2735
- GS: string;
2736
- GT: string;
2737
- GU: string;
2738
- GW: string;
2739
- GY: string;
2740
- HK: string;
2741
- HM: string;
2742
- HN: string;
2743
- HR: string;
2744
- HT: string;
2745
- HU: string;
2746
- ID: string;
2747
- IE: string;
2748
- IL: string;
2749
- IM: string;
2750
- IN: string;
2751
- IO: string;
2752
- IQ: string;
2753
- IR: string;
2754
- IS: string;
2755
- IT: string;
2756
- JE: string;
2757
- JM: string;
2758
- JO: string;
2759
- JP: string;
2760
- KE: string;
2761
- KG: string;
2762
- KH: string;
2763
- KI: string;
2764
- KM: string;
2765
- KN: string;
2766
- KP: string;
2767
- KR: string;
2768
- KW: string;
2769
- KY: string;
2770
- KZ: string;
2771
- LA: string;
2772
- LB: string;
2773
- LC: string;
2774
- LI: string;
2775
- LK: string;
2776
- LR: string;
2777
- LS: string;
2778
- LT: string;
2779
- LU: string;
2780
- LV: string;
2781
- LY: string;
2782
- MA: string;
2783
- MC: string;
2784
- MD: string;
2785
- ME: string;
2786
- MF: string;
2787
- MG: string;
2788
- MH: string;
2789
- MK: string;
2790
- ML: string;
2791
- MM: string;
2792
- MN: string;
2793
- MO: string;
2794
- MP: string;
2795
- MQ: string;
2796
- MR: string;
2797
- MS: string;
2798
- MT: string;
2799
- MU: string;
2800
- MV: string;
2801
- MW: string;
2802
- MX: string;
2803
- MY: string;
2804
- MZ: string;
2805
- NA: string;
2806
- NC: string;
2807
- NE: string;
2808
- NF: string;
2809
- NG: string;
2810
- NI: string;
2811
- NL: string;
2812
- NO: string;
2813
- NP: string;
2814
- NR: string;
2815
- NU: string;
2816
- NZ: string;
2817
- OM: string;
2818
- PA: string;
2819
- PE: string;
2820
- PF: string;
2821
- PG: string;
2822
- PH: string;
2823
- PK: string;
2824
- PL: string;
2825
- PM: string;
2826
- PN: string;
2827
- PR: string;
2828
- PS: string;
2829
- PT: string;
2830
- PW: string;
2831
- PY: string;
2832
- QA: string;
2833
- RE: string;
2834
- RO: string;
2835
- RS: string;
2836
- RU: string;
2837
- RW: string;
2838
- SA: string;
2839
- SB: string;
2840
- SC: string;
2841
- SD: string;
2842
- SE: string;
2843
- SG: string;
2844
- SH: string;
2845
- SI: string;
2846
- SJ: string;
2847
- SK: string;
2848
- SL: string;
2849
- SM: string;
2850
- SN: string;
2851
- SO: string;
2852
- SR: string;
2853
- SS: string;
2854
- ST: string;
2855
- SV: string;
2856
- SX: string;
2857
- SY: string;
2858
- SZ: string;
2859
- TC: string;
2860
- TD: string;
2861
- TF: string;
2862
- TG: string;
2863
- TH: string;
2864
- TJ: string;
2865
- TK: string;
2866
- TL: string;
2867
- TM: string;
2868
- TN: string;
2869
- TO: string;
2870
- TR: string;
2871
- TT: string;
2872
- TV: string;
2873
- TW: string;
2874
- TZ: string;
2875
- UA: string;
2876
- UG: string;
2877
- UM: string;
2878
- US: string;
2879
- UY: string;
2880
- UZ: string;
2881
- JD: string;
2882
- VC: string;
2883
- VE: string;
2884
- VG: string;
2885
- VI: string;
2886
- VN: string;
2887
- VU: string;
2888
- WF: string;
2889
- WS: string;
2890
- XK: string;
2891
- YE: string;
2892
- YT: string;
2893
- ZA: string;
2894
- ZM: string;
2895
- ZW: string;
2896
- };
2897
-
2898
2616
  /**
2899
2617
  * @public
2900
2618
  */
@@ -3147,7 +2865,10 @@ export declare interface ModalProps extends Omit<OverlayProps, "scrollable"> {
3147
2865
  closeIcon: AnyIcon;
3148
2866
  }
3149
2867
 
3150
- declare type modalStyleTypes = "extraDark" | "dark" | "light" | "lightBox" | "lightBoxModal";
2868
+ /**
2869
+ * @public
2870
+ */
2871
+ export declare type ModalStyleTypes = "extraDark" | "dark" | "light" | "lightBox" | "lightBoxModal";
3151
2872
 
3152
2873
  /**
3153
2874
  * @public
@@ -3160,9 +2881,6 @@ title?: string | undefined;
3160
2881
  className?: string | undefined;
3161
2882
  type?: "button" | "submit" | "reset" | undefined;
3162
2883
  value?: string | number | readonly string[] | undefined;
3163
- id?: string | undefined;
3164
- is?: string | undefined;
3165
- name?: string | undefined;
3166
2884
  defaultChecked?: boolean | undefined;
3167
2885
  defaultValue?: string | number | readonly string[] | undefined;
3168
2886
  suppressContentEditableWarning?: boolean | undefined;
@@ -3173,11 +2891,12 @@ contextMenu?: string | undefined;
3173
2891
  dir?: string | undefined;
3174
2892
  draggable?: (boolean | "true" | "false") | undefined;
3175
2893
  hidden?: boolean | undefined;
2894
+ id?: string | undefined;
3176
2895
  lang?: string | undefined;
3177
2896
  placeholder?: string | undefined;
3178
2897
  spellCheck?: (boolean | "true" | "false") | undefined;
3179
2898
  tabIndex?: number | undefined;
3180
- translate?: "no" | "yes" | undefined;
2899
+ translate?: "yes" | "no" | undefined;
3181
2900
  radioGroup?: string | undefined;
3182
2901
  role?: React_2.AriaRole | undefined;
3183
2902
  about?: string | undefined;
@@ -3201,6 +2920,7 @@ results?: number | undefined;
3201
2920
  security?: string | undefined;
3202
2921
  unselectable?: "on" | "off" | undefined;
3203
2922
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
2923
+ is?: string | undefined;
3204
2924
  'aria-activedescendant'?: string | undefined;
3205
2925
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
3206
2926
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
@@ -3412,6 +3132,7 @@ onAnimationIteration?: React_2.AnimationEventHandler<HTMLButtonElement> | undefi
3412
3132
  onAnimationIterationCapture?: React_2.AnimationEventHandler<HTMLButtonElement> | undefined;
3413
3133
  onTransitionEnd?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
3414
3134
  onTransitionEndCapture?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
3135
+ name?: string | undefined;
3415
3136
  autoFocus?: boolean | undefined;
3416
3137
  disabled?: boolean | undefined;
3417
3138
  formAction?: string | undefined;
@@ -3420,7 +3141,7 @@ formMethod?: string | undefined;
3420
3141
  formNoValidate?: boolean | undefined;
3421
3142
  formTarget?: string | undefined;
3422
3143
  } & Omit<CommonButtonProps, "icon" | "size" | "fill" | "loading" | "danger" | "rightIcon" | "minimal"> & {
3423
- icon: JSX.Element | AnyIcon | IconProps | null;
3144
+ icon: AnyIcon | IconProps | null;
3424
3145
  size?: "small" | "normal" | undefined;
3425
3146
  reverse?: boolean | undefined;
3426
3147
  } & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {}, never>;
@@ -3495,9 +3216,6 @@ title?: string | undefined;
3495
3216
  className?: string | undefined;
3496
3217
  type?: "button" | "submit" | "reset" | undefined;
3497
3218
  value?: string | number | readonly string[] | undefined;
3498
- id?: string | undefined;
3499
- is?: string | undefined;
3500
- name?: string | undefined;
3501
3219
  defaultChecked?: boolean | undefined;
3502
3220
  defaultValue?: string | number | readonly string[] | undefined;
3503
3221
  suppressContentEditableWarning?: boolean | undefined;
@@ -3508,11 +3226,12 @@ contextMenu?: string | undefined;
3508
3226
  dir?: string | undefined;
3509
3227
  draggable?: (boolean | "true" | "false") | undefined;
3510
3228
  hidden?: boolean | undefined;
3229
+ id?: string | undefined;
3511
3230
  lang?: string | undefined;
3512
3231
  placeholder?: string | undefined;
3513
3232
  spellCheck?: (boolean | "true" | "false") | undefined;
3514
3233
  tabIndex?: number | undefined;
3515
- translate?: "no" | "yes" | undefined;
3234
+ translate?: "yes" | "no" | undefined;
3516
3235
  radioGroup?: string | undefined;
3517
3236
  role?: React_2.AriaRole | undefined;
3518
3237
  about?: string | undefined;
@@ -3536,6 +3255,7 @@ results?: number | undefined;
3536
3255
  security?: string | undefined;
3537
3256
  unselectable?: "on" | "off" | undefined;
3538
3257
  inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
3258
+ is?: string | undefined;
3539
3259
  'aria-activedescendant'?: string | undefined;
3540
3260
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
3541
3261
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
@@ -3747,6 +3467,7 @@ onAnimationIteration?: React_2.AnimationEventHandler<HTMLButtonElement> | undefi
3747
3467
  onAnimationIterationCapture?: React_2.AnimationEventHandler<HTMLButtonElement> | undefined;
3748
3468
  onTransitionEnd?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
3749
3469
  onTransitionEndCapture?: React_2.TransitionEventHandler<HTMLButtonElement> | undefined;
3470
+ name?: string | undefined;
3750
3471
  autoFocus?: boolean | undefined;
3751
3472
  disabled?: boolean | undefined;
3752
3473
  formAction?: string | undefined;
@@ -3755,9 +3476,9 @@ formMethod?: string | undefined;
3755
3476
  formNoValidate?: boolean | undefined;
3756
3477
  formTarget?: string | undefined;
3757
3478
  } & Omit<CommonButtonProps, "icon" | "size" | "fill" | "rightIcon" | "minimal"> & {
3758
- icon?: JSX.Element | AnyIcon | IconProps | null | undefined;
3479
+ icon?: AnyIcon | IconProps | null | undefined;
3759
3480
  placement?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "middle-top" | "middle-bottom" | undefined;
3760
- rightIcon?: JSX.Element | AnyIcon | IconProps | null | undefined;
3481
+ rightIcon?: AnyIcon | IconProps | null | undefined;
3761
3482
  } & React_2.RefAttributes<HTMLButtonElement>>, DefaultTheme, {
3762
3483
  position?: "absolute" | "relative" | undefined;
3763
3484
  }, never>;
@@ -4282,6 +4003,13 @@ export declare const StyledA: StyledComponent<"a", DefaultTheme, {
4282
4003
  underline?: boolean | undefined;
4283
4004
  }, never>;
4284
4005
 
4006
+ declare const styles: {
4007
+ bar: TabStyleDef;
4008
+ button: TabStyleDef;
4009
+ nav: TabStyleDef;
4010
+ tab: TabStyleDef;
4011
+ };
4012
+
4285
4013
  declare type SVGRIconType = (props: ComponentProps<"svg">) => JSX.Element;
4286
4014
 
4287
4015
  /**
@@ -4292,7 +4020,7 @@ export declare const Tab: React_2.ForwardRefExoticComponent<TabProps & React_2.R
4292
4020
  /**
4293
4021
  * @public
4294
4022
  */
4295
- export declare const TabBar: ({ tabs, activeIndex, onClickTab, ...rest }: TabBarProps) => JSX.Element;
4023
+ export declare const TabBar: ({ tabs, activeIndex, onClickTab, type, isTicketHistory, tooltipStyle, tooltipPlacement, containerStyles, className, ...rest }: TabBarProps) => JSX.Element;
4296
4024
 
4297
4025
  /**
4298
4026
  * @public
@@ -4300,6 +4028,8 @@ export declare const TabBar: ({ tabs, activeIndex, onClickTab, ...rest }: TabBar
4300
4028
  export declare type TabBarItemType = {
4301
4029
  label: ReactNode;
4302
4030
  icon?: AnyIcon;
4031
+ disabled?: boolean;
4032
+ tooltip?: ReactNode;
4303
4033
  };
4304
4034
 
4305
4035
  /**
@@ -4309,6 +4039,12 @@ export declare interface TabBarProps extends HTMLAttributes<HTMLDivElement> {
4309
4039
  tabs: TabBarItemType[];
4310
4040
  activeIndex?: number;
4311
4041
  onClickTab: (activeIndex: number) => void;
4042
+ type?: TabType;
4043
+ isTicketHistory?: boolean;
4044
+ tooltipStyle?: ModalStyleTypes;
4045
+ tooltipPlacement?: TooltipPlacement;
4046
+ containerStyles?: CSSProperties_2;
4047
+ className?: string;
4312
4048
  }
4313
4049
 
4314
4050
  /**
@@ -4319,6 +4055,12 @@ export declare interface TabBarTabProps {
4319
4055
  label: ReactNode;
4320
4056
  active: boolean;
4321
4057
  onClick: () => void;
4058
+ type: TabType;
4059
+ disabled?: boolean;
4060
+ isTicketHistory?: boolean;
4061
+ tooltip?: ReactNode;
4062
+ tooltipStyle?: ModalStyleTypes;
4063
+ tooltipPlacement?: TooltipPlacement;
4322
4064
  }
4323
4065
 
4324
4066
  /**
@@ -4385,6 +4127,26 @@ export declare function Tabs({ children }: {
4385
4127
  children: ReactNode;
4386
4128
  }): JSX.Element;
4387
4129
 
4130
+ declare type TabStyleDef = {
4131
+ container?: () => FlattenInterpolation<ThemeProps<DefaultTheme>>;
4132
+ TabContainer?: (props: {
4133
+ active?: boolean;
4134
+ disabled?: boolean;
4135
+ isTicketHistory?: boolean;
4136
+ }) => FlattenInterpolation<ThemeProps<DefaultTheme>>;
4137
+ TabInner?: (props: {
4138
+ active?: boolean;
4139
+ disabled?: boolean;
4140
+ isTicketHistory?: boolean;
4141
+ }) => FlattenInterpolation<ThemeProps<DefaultTheme>>;
4142
+ label?: () => FlattenInterpolation<ThemeProps<DefaultTheme>>;
4143
+ };
4144
+
4145
+ /**
4146
+ * @public
4147
+ */
4148
+ export declare type TabType = keyof typeof styles;
4149
+
4388
4150
  /**
4389
4151
  * @public
4390
4152
  */
@@ -4759,7 +4521,7 @@ export declare type TooltipPlacement = TippyProps["placement"];
4759
4521
  * @public
4760
4522
  */
4761
4523
  export declare interface TooltipProps extends TippyProps {
4762
- styleType?: modalStyleTypes;
4524
+ styleType?: ModalStyleTypes;
4763
4525
  suppressClassNameWarning?: boolean;
4764
4526
  width?: number | string;
4765
4527
  offsetTop?: number | string;