@ssa-ui-kit/core 2.33.0 → 3.1.0

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 (222) hide show
  1. package/dist/components/AccordionGroup/Accordion.d.ts +37 -0
  2. package/dist/components/AccordionGroup/AccordionContent.d.ts +48 -0
  3. package/dist/components/AccordionGroup/AccordionContext.d.ts +76 -2
  4. package/dist/components/AccordionGroup/AccordionGroup.d.ts +56 -0
  5. package/dist/components/AccordionGroup/AccordionTitle.d.ts +41 -0
  6. package/dist/components/AccordionGroup/types.d.ts +199 -1
  7. package/dist/components/Avatar/Avatar.d.ts +33 -0
  8. package/dist/components/Button/Button.d.ts +61 -0
  9. package/dist/components/Button/fixtures.d.ts +52 -31
  10. package/dist/components/Button/styles.d.ts +7 -12
  11. package/dist/components/Button/types.d.ts +98 -4
  12. package/dist/components/Charts/BarGaugeChart/components/BarGaugeChartHeader.d.ts +1 -1
  13. package/dist/components/Charts/BarLineComplexChart/BarLineComplexChartView.d.ts +2 -2
  14. package/dist/components/Charts/BarLineComplexChart/types.d.ts +2 -2
  15. package/dist/components/Charts/BigNumberChart/BigNumberChart.d.ts +4 -2
  16. package/dist/components/Charts/BigNumberChart/components/BigNumberChartHeader.d.ts +1 -1
  17. package/dist/components/Charts/BigNumberChart/components/TrendLine.d.ts +8 -3
  18. package/dist/components/Charts/BigNumberChart/components/TrendLineTooltip.d.ts +8 -5
  19. package/dist/components/Charts/GaugeChart/components/GaugeChartBase.d.ts +3 -1
  20. package/dist/components/Charts/GaugeChart/components/GaugeChartHeader.d.ts +1 -1
  21. package/dist/components/Charts/PieChart/PieChartLegendMarker.d.ts +1 -1
  22. package/dist/components/Charts/PieChart/styles.d.ts +1 -1
  23. package/dist/components/Charts/PieChart/types.d.ts +1 -1
  24. package/dist/components/Charts/RadarChart/RadarChart.d.ts +1 -1
  25. package/dist/components/Charts/RadarChart/components/RadarChartHeader.d.ts +1 -1
  26. package/dist/components/Charts/TreeMapChart/TreeMapChart.d.ts +1 -1
  27. package/dist/components/Charts/TreeMapChart/TreeMapChartHeader.d.ts +1 -1
  28. package/dist/components/Charts/index.d.ts +1 -0
  29. package/dist/components/Charts/utils/nivoReact19Compat.d.ts +18 -0
  30. package/dist/components/Checkbox/Checkbox.d.ts +84 -0
  31. package/dist/components/Checkbox/CheckboxBase.d.ts +1 -1
  32. package/dist/components/Checkbox/styles.d.ts +2 -2
  33. package/dist/components/Checkbox/types.d.ts +104 -3
  34. package/dist/components/Chip/Chip.d.ts +70 -0
  35. package/dist/components/Chip/constants.d.ts +1 -1
  36. package/dist/components/Chip/helpers.d.ts +6 -0
  37. package/dist/components/Chip/types.d.ts +129 -1
  38. package/dist/components/CollapsibleNavBar/CollapsibleNavBar.d.ts +1 -1
  39. package/dist/components/CollapsibleNavBar/CollapsibleNavBarContext.d.ts +2 -2
  40. package/dist/components/CollapsibleNavBar/components/TriggerIcon.d.ts +4 -2
  41. package/dist/components/CollapsibleNavBar/types.d.ts +9 -2
  42. package/dist/components/ColorPicker/components/CopyButton.d.ts +1 -1
  43. package/dist/components/DatePicker/constants.d.ts +22 -0
  44. package/dist/components/DatePicker/hooks/useDatePicker.d.ts +7 -5
  45. package/dist/components/DatePicker/index.d.ts +1 -0
  46. package/dist/components/DatePicker/styles.d.ts +3 -2
  47. package/dist/components/DatePicker/types.d.ts +10 -2
  48. package/dist/components/DatePicker/utils/dates.d.ts +2 -2
  49. package/dist/components/DateRangePicker/DateRangePicker.d.ts +1 -1
  50. package/dist/components/DateRangePicker/DateRangePickerFormBridge.d.ts +46 -0
  51. package/dist/components/DateRangePicker/components/DatesListWrapper.d.ts +3 -2
  52. package/dist/components/DateRangePicker/constants.d.ts +1 -0
  53. package/dist/components/DateRangePicker/hooks/useDateRangePicker.d.ts +22 -17
  54. package/dist/components/DateRangePicker/index.d.ts +3 -0
  55. package/dist/components/DateRangePicker/styles.d.ts +6 -4
  56. package/dist/components/DateRangePicker/types.d.ts +24 -7
  57. package/dist/components/DateRangePicker/utils/dates.d.ts +2 -2
  58. package/dist/components/Drawer/index.d.ts +2 -1
  59. package/dist/components/Dropdown/Dropdown.d.ts +88 -0
  60. package/dist/components/Dropdown/types.d.ts +102 -1
  61. package/dist/components/DropdownOption/DropdownOption.d.ts +2 -0
  62. package/dist/components/DropdownOptions/DropdownOptions.d.ts +31 -0
  63. package/dist/components/DropdownOptions/types.d.ts +22 -0
  64. package/dist/components/DropdownToggle/DropdownToggle.d.ts +3 -2
  65. package/dist/components/DropdownToggle/types.d.ts +5 -3
  66. package/dist/components/Field/FieldControl.d.ts +62 -1
  67. package/dist/components/Field/FieldDescription.d.ts +33 -0
  68. package/dist/components/Field/FieldError.d.ts +36 -0
  69. package/dist/components/Field/FieldLabel.d.ts +37 -0
  70. package/dist/components/Field/FieldProvider.d.ts +19 -1
  71. package/dist/components/Field/FieldRoot.d.ts +90 -0
  72. package/dist/components/Field/FieldSuccess.d.ts +34 -0
  73. package/dist/components/Field/index.d.ts +4 -0
  74. package/dist/components/Filters/FilterBlockWrapper.d.ts +3 -2
  75. package/dist/components/Filters/FiltersContext.d.ts +4 -4
  76. package/dist/components/Filters/hooks/useVisibility.d.ts +2 -2
  77. package/dist/components/FullscreenModeContext.d.ts +1 -4
  78. package/dist/components/Icon/icons/Assessment.d.ts +1 -1
  79. package/dist/components/Icon/icons/Award.d.ts +3 -0
  80. package/dist/components/Icon/icons/Bench.d.ts +3 -0
  81. package/dist/components/Icon/icons/Briefcase.d.ts +3 -0
  82. package/dist/components/Icon/icons/Building.d.ts +3 -0
  83. package/dist/components/Icon/icons/CalendarSchedule.d.ts +3 -0
  84. package/dist/components/Icon/icons/Camera.d.ts +3 -0
  85. package/dist/components/Icon/icons/CardText.d.ts +3 -0
  86. package/dist/components/Icon/icons/Case.d.ts +3 -0
  87. package/dist/components/Icon/icons/Comments.d.ts +3 -0
  88. package/dist/components/Icon/icons/Compensation.d.ts +3 -0
  89. package/dist/components/Icon/icons/Contacts.d.ts +3 -0
  90. package/dist/components/Icon/icons/CopyLink.d.ts +3 -0
  91. package/dist/components/Icon/icons/Delete.d.ts +3 -0
  92. package/dist/components/Icon/icons/DiamondRing.d.ts +3 -0
  93. package/dist/components/Icon/icons/Document.d.ts +3 -0
  94. package/dist/components/Icon/icons/Documents.d.ts +3 -0
  95. package/dist/components/Icon/icons/Education.d.ts +3 -0
  96. package/dist/components/Icon/icons/EmployeeProfile.d.ts +3 -0
  97. package/dist/components/Icon/icons/Export.d.ts +3 -0
  98. package/dist/components/Icon/icons/FollowLink.d.ts +3 -0
  99. package/dist/components/Icon/icons/Form.d.ts +3 -0
  100. package/dist/components/Icon/icons/Gender.d.ts +3 -0
  101. package/dist/components/Icon/icons/Gift.d.ts +3 -0
  102. package/dist/components/Icon/icons/Inventory.d.ts +3 -0
  103. package/dist/components/Icon/icons/Link.d.ts +3 -0
  104. package/dist/components/Icon/icons/OfficeChair.d.ts +3 -0
  105. package/dist/components/Icon/icons/OpenBook.d.ts +3 -0
  106. package/dist/components/Icon/icons/Report.d.ts +1 -1
  107. package/dist/components/Icon/icons/Results.d.ts +3 -0
  108. package/dist/components/Icon/icons/Signature.d.ts +3 -0
  109. package/dist/components/Icon/icons/Summery.d.ts +3 -0
  110. package/dist/components/Icon/icons/Team.d.ts +3 -0
  111. package/dist/components/Icon/icons/TechnicalReview.d.ts +3 -0
  112. package/dist/components/Icon/icons/TennisBall.d.ts +3 -0
  113. package/dist/components/Icon/icons/Timeline.d.ts +3 -0
  114. package/dist/components/Icon/icons/UnionCircle.d.ts +3 -0
  115. package/dist/components/Icon/icons/Url.d.ts +3 -0
  116. package/dist/components/Icon/icons/all.d.ts +36 -1
  117. package/dist/components/Icon/icons/iconsList.d.ts +1 -1
  118. package/dist/components/IconButton/IconButton.d.ts +39 -0
  119. package/dist/components/IconButton/index.d.ts +2 -0
  120. package/dist/components/IconButton/styles.d.ts +2 -0
  121. package/dist/components/IconButton/types.d.ts +41 -0
  122. package/dist/components/Indicator/types.d.ts +4 -2
  123. package/dist/components/Input/types.d.ts +157 -0
  124. package/dist/components/JsonSchemaForm/fields/DateRangeField.d.ts +15 -1
  125. package/dist/components/JsonSchemaForm/utils/dateFormats.d.ts +37 -0
  126. package/dist/components/JsonSchemaForm/utils/dateRangeField.d.ts +24 -0
  127. package/dist/components/JsonSchemaForm/utils/index.d.ts +1 -0
  128. package/dist/components/JsonSchemaForm/utils/selectWidget.d.ts +16 -0
  129. package/dist/components/Modal/Modal.d.ts +60 -0
  130. package/dist/components/Modal/types.d.ts +21 -1
  131. package/dist/components/ModalContent/ModalContent.d.ts +42 -1
  132. package/dist/components/ModalDialog/ModalDialog.d.ts +27 -0
  133. package/dist/components/ModalDialog/types.d.ts +18 -0
  134. package/dist/components/ModalDismissButton/ModalDismissButton.d.ts +29 -2
  135. package/dist/components/ModalOpenButton/ModalOpenButton.d.ts +25 -1
  136. package/dist/components/MultipleDropdown/index.d.ts +1 -0
  137. package/dist/components/MultipleDropdown/types.d.ts +74 -0
  138. package/dist/components/NavBar/types.d.ts +1 -1
  139. package/dist/components/NotificationMenu/types.d.ts +3 -3
  140. package/dist/components/Pagination/ArrowButton.d.ts +32 -0
  141. package/dist/components/Pagination/Pagination.d.ts +81 -0
  142. package/dist/components/Pagination/PaginationButtons.d.ts +35 -0
  143. package/dist/components/Pagination/PaginationContext.d.ts +30 -0
  144. package/dist/components/Pagination/WithPagination.d.ts +47 -4
  145. package/dist/components/Pagination/components/RowsPerPageDropdown/RowsPerPageDropdown.d.ts +41 -0
  146. package/dist/components/Pagination/components/RowsPerPageDropdown/types.d.ts +39 -0
  147. package/dist/components/Pagination/styles.d.ts +1 -1
  148. package/dist/components/Pagination/types.d.ts +178 -0
  149. package/dist/components/PersonInfo/styles.d.ts +1 -1
  150. package/dist/components/Popover/Popover.d.ts +120 -0
  151. package/dist/components/Popover/PopoverClose.d.ts +26 -0
  152. package/dist/components/Popover/PopoverContent.d.ts +33 -0
  153. package/dist/components/Popover/PopoverDescription.d.ts +22 -1
  154. package/dist/components/Popover/PopoverHeading.d.ts +22 -1
  155. package/dist/components/Popover/PopoverTrigger.d.ts +30 -0
  156. package/dist/components/Popover/hooks/usePopover.d.ts +21 -0
  157. package/dist/components/Popover/hooks/usePopoverContext.d.ts +23 -0
  158. package/dist/components/Popover/types.d.ts +86 -0
  159. package/dist/components/Radio/Radio.d.ts +69 -1
  160. package/dist/components/Radio/RadioBase.d.ts +1 -1
  161. package/dist/components/Radio/types.d.ts +109 -0
  162. package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
  163. package/dist/components/RadioGroup/index.d.ts +1 -0
  164. package/dist/components/RadioGroup/types.d.ts +42 -0
  165. package/dist/components/SearchBox/SearchBox.d.ts +60 -0
  166. package/dist/components/SearchBox/SearchBoxInput.d.ts +1 -1
  167. package/dist/components/SearchBox/types.d.ts +46 -0
  168. package/dist/components/Slider/Slider.d.ts +53 -0
  169. package/dist/components/Slider/consts.d.ts +4 -0
  170. package/dist/components/Slider/index.d.ts +4 -0
  171. package/dist/components/Slider/styles.d.ts +90 -0
  172. package/dist/components/Slider/types.d.ts +69 -0
  173. package/dist/components/Switch/Switch.d.ts +66 -1
  174. package/dist/components/Switch/SwitchBase.d.ts +5 -1
  175. package/dist/components/Switch/SwitchContext.d.ts +50 -0
  176. package/dist/components/Switch/types.d.ts +74 -0
  177. package/dist/components/Table/Table.d.ts +74 -0
  178. package/dist/components/TableBody/TableBody.d.ts +55 -0
  179. package/dist/components/TableCell/TableCell.d.ts +56 -4
  180. package/dist/components/TableCell/types.d.ts +33 -0
  181. package/dist/components/TableCellHeader/TableCellHeader.d.ts +63 -2
  182. package/dist/components/TableCellHeader/types.d.ts +28 -0
  183. package/dist/components/TableFilters/TableFilters.d.ts +72 -0
  184. package/dist/components/TableFilters/hooks/useTableData.d.ts +3 -3
  185. package/dist/components/TableFilters/types.d.ts +130 -2
  186. package/dist/components/TableHead/TableHead.d.ts +37 -0
  187. package/dist/components/TableRow/TableRow.d.ts +2 -7
  188. package/dist/components/TableRow/types.d.ts +34 -0
  189. package/dist/components/TextField/TextField.d.ts +76 -0
  190. package/dist/components/TextField/types.d.ts +80 -0
  191. package/dist/components/Textarea/Textarea.d.ts +81 -0
  192. package/dist/components/Textarea/TextareaBase.d.ts +6 -1
  193. package/dist/components/Textarea/types.d.ts +109 -0
  194. package/dist/components/Tooltip/SimpleChartTooltip.d.ts +2 -1
  195. package/dist/components/Tooltip/Tooltip.d.ts +73 -0
  196. package/dist/components/Tooltip/types.d.ts +116 -5
  197. package/dist/components/TooltipContent/TooltipContent.d.ts +45 -0
  198. package/dist/components/TooltipTrigger/TooltipTrigger.d.ts +27 -1
  199. package/dist/components/Typeahead/Typeahead.context.d.ts +10 -4
  200. package/dist/components/Typeahead/Typeahead.d.ts +173 -9
  201. package/dist/components/Typeahead/components/TypeaheadOption.d.ts +1 -1
  202. package/dist/components/Typeahead/styles.d.ts +10 -5
  203. package/dist/components/Typeahead/types.d.ts +191 -1
  204. package/dist/components/Typeahead/useTypeahead.d.ts +13 -5
  205. package/dist/components/Typography/Typography.d.ts +50 -0
  206. package/dist/components/Typography/types.d.ts +67 -0
  207. package/dist/components/UserProfile/UserProfile.d.ts +76 -0
  208. package/dist/components/UserProfile/styles.d.ts +6 -4
  209. package/dist/components/UserProfile/types.d.ts +85 -1
  210. package/dist/components/WidgetCard/Title.d.ts +1 -1
  211. package/dist/components/WidgetCard/WidgetCardBase.d.ts +1 -1
  212. package/dist/components/WithLink.d.ts +1 -1
  213. package/dist/components/Wrapper/Wrapper.d.ts +83 -2
  214. package/dist/components/Wrapper/index.d.ts +1 -0
  215. package/dist/components/index.d.ts +113 -85
  216. package/dist/index.d.ts +1 -0
  217. package/dist/index.js +48942 -19624
  218. package/dist/index.js.map +1 -1
  219. package/dist/types/emotion.d.ts +65 -0
  220. package/dist/utils/react19HocCompat.d.ts +14 -0
  221. package/package.json +42 -33
  222. package/dist/components/Icon/icons/Company.d.ts +0 -3
@@ -1,11 +1,78 @@
1
+ /**
2
+ * Props for the Typography component
3
+ *
4
+ * Text typography component with semantic variants, font weights, and customizable
5
+ * styling. Renders appropriate HTML elements based on variant while allowing
6
+ * custom element override via `as` prop. Supports all standard typography variants
7
+ * from headings to body text and captions.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * // Heading variant
12
+ * <Typography variant="h1">Main Title</Typography>
13
+ * ```
14
+ *
15
+ * @example
16
+ * ```tsx
17
+ * // Body text with custom styling
18
+ * <Typography variant="body1" weight="bold" color="#333">
19
+ * Important text
20
+ * </Typography>
21
+ * ```
22
+ *
23
+ * @example
24
+ * ```tsx
25
+ * // Semantic override
26
+ * <Typography variant="h2" as="h1">
27
+ * Looks like h2, but renders as h1
28
+ * </Typography>
29
+ * ```
30
+ */
1
31
  export interface TypographyProps {
32
+ /**
33
+ * Typography variant determining size, line-height, and semantic HTML element
34
+ * - `h1`-`h6`: Heading variants (renders as h1-h6)
35
+ * - `subtitle`: Subtitle text (renders as h6)
36
+ * - `body1`-`body3`: Body text variants (renders as p)
37
+ * - `caption`: Caption/small text (renders as span)
38
+ * @default 'body1'
39
+ */
2
40
  variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle' | 'body1' | 'body2' | 'body3' | 'caption';
41
+ /**
42
+ * Font weight variant
43
+ * @default 'regular'
44
+ */
3
45
  weight?: 'lighter' | 'regular' | 'medium' | 'bold';
46
+ /**
47
+ * Whether to add bottom margin (gutter)
48
+ * Useful for spacing between typography elements
49
+ * @default false
50
+ */
4
51
  gutter?: boolean;
52
+ /**
53
+ * Text color (CSS color value)
54
+ * @default 'rgba(43, 45, 49, 1)'
55
+ */
5
56
  color?: string;
57
+ /**
58
+ * Text content to display
59
+ */
6
60
  children: React.ReactNode;
61
+ /**
62
+ * Override the HTML element type
63
+ * Allows semantic HTML override (e.g., h2 variant as h1 element)
64
+ */
7
65
  as?: React.ElementType;
66
+ /**
67
+ * Custom CSS class name
68
+ */
8
69
  className?: string;
70
+ /**
71
+ * Ref to the rendered element
72
+ */
9
73
  ref?: React.Ref<HTMLElement>;
74
+ /**
75
+ * HTML id attribute
76
+ */
10
77
  id?: string;
11
78
  }
@@ -1,2 +1,78 @@
1
1
  import { UserProfileProps } from './types';
2
+ /**
3
+ * UserProfile - User profile dropdown with logout functionality
4
+ *
5
+ * A user profile component that displays user information (name, email) and a
6
+ * logout button in a popover dropdown. Supports custom trigger elements, additional
7
+ * information display, and custom content sections. Uses Popover component for
8
+ * positioning and interactions.
9
+ *
10
+ * Component structure:
11
+ * - UserProfile (main component)
12
+ * - Popover (wrapper with positioning)
13
+ * - PopoverTrigger (custom trigger element)
14
+ * - PopoverContent (profile content)
15
+ * - UserInfo (name, email, additional info)
16
+ * - CustomContent (optional custom section)
17
+ * - LogoutButton (logout action)
18
+ *
19
+ * @category Components
20
+ * @subcategory Navigation
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * // Basic user profile with icon trigger
25
+ * <UserProfile
26
+ * name="John Doe"
27
+ * email="john.doe@example.com"
28
+ * trigger={<Icon name="user" size={32} />}
29
+ * onClick={() => handleLogout()}
30
+ * />
31
+ * ```
32
+ *
33
+ * @example
34
+ * ```tsx
35
+ * // With avatar trigger and additional info
36
+ * <UserProfile
37
+ * name="Jane Smith"
38
+ * email="jane@example.com"
39
+ * trigger={<Avatar src="/avatar.jpg" size={40} />}
40
+ * onClick={handleLogout}
41
+ * additionalInfo={[
42
+ * <Typography key="role">Administrator</Typography>,
43
+ * <Typography key="department">Engineering</Typography>,
44
+ * ]}
45
+ * />
46
+ * ```
47
+ *
48
+ * @example
49
+ * ```tsx
50
+ * // With custom content section
51
+ * <UserProfile
52
+ * name="Bob Johnson"
53
+ * email="bob@example.com"
54
+ * trigger={<Button variant="secondary">Profile</Button>}
55
+ * onClick={handleLogout}
56
+ * customContent={
57
+ * <div css={{ padding: '12px', borderTop: '1px solid #eee' }}>
58
+ * <Button onClick={handleSettings} variant="secondary">
59
+ * Settings
60
+ * </Button>
61
+ * </div>
62
+ * }
63
+ * logOutText="Sign Out"
64
+ * />
65
+ * ```
66
+ *
67
+ * @see {@link Popover} - Used for dropdown positioning and interactions
68
+ * @see {@link Icon} - Common trigger element
69
+ * @see {@link Avatar} - Common trigger element
70
+ *
71
+ * @accessibility
72
+ * - ARIA attributes via Popover component
73
+ * - Keyboard navigation support
74
+ * - Screen reader friendly
75
+ * - Proper focus management
76
+ * - Semantic heading structure
77
+ */
2
78
  export declare const UserProfile: ({ name, email, trigger, onClick, logOutText, className, additionalInfo, customContent, }: UserProfileProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -8,8 +8,9 @@ export declare const AdditionalInfoWrapper: import("@emotion/styled").StyledComp
8
8
  theme?: Theme;
9
9
  as?: React.ElementType;
10
10
  } & {
11
- direction?: string;
12
- alignItems?: string;
11
+ direction?: import("../Wrapper").WrapperDirection;
12
+ alignItems?: import("../Wrapper").WrapperAlignItems;
13
+ justifyContent?: import("../Wrapper").WrapperJustifyContent;
13
14
  fade?: boolean;
14
15
  fadeDelay?: number;
15
16
  isVisible?: boolean;
@@ -20,8 +21,9 @@ export declare const CustomContentWrapper: import("@emotion/styled").StyledCompo
20
21
  theme?: Theme;
21
22
  as?: React.ElementType;
22
23
  } & {
23
- direction?: string;
24
- alignItems?: string;
24
+ direction?: import("../Wrapper").WrapperDirection;
25
+ alignItems?: import("../Wrapper").WrapperAlignItems;
26
+ justifyContent?: import("../Wrapper").WrapperJustifyContent;
25
27
  fade?: boolean;
26
28
  fadeDelay?: number;
27
29
  isVisible?: boolean;
@@ -1,11 +1,95 @@
1
1
  import { ReactNode } from 'react';
2
+ /**
3
+ * Props for the UserProfile component
4
+ *
5
+ * A user profile dropdown component that displays user information and a logout
6
+ * button in a popover. Supports custom trigger elements, additional info, and
7
+ * custom content sections.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * // Basic user profile
12
+ * <UserProfile
13
+ * name="John Doe"
14
+ * email="john.doe@example.com"
15
+ * trigger={<Icon name="user" size={32} />}
16
+ * onClick={() => handleLogout()}
17
+ * />
18
+ * ```
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * // With additional info
23
+ * <UserProfile
24
+ * name="Jane Smith"
25
+ * email="jane@example.com"
26
+ * trigger={<Avatar src="/avatar.jpg" />}
27
+ * onClick={handleLogout}
28
+ * additionalInfo={[
29
+ * <Typography key="role">Administrator</Typography>,
30
+ * <Typography key="org">Acme Corp</Typography>,
31
+ * ]}
32
+ * />
33
+ * ```
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * // With custom content
38
+ * <UserProfile
39
+ * name="Bob Johnson"
40
+ * email="bob@example.com"
41
+ * trigger={<Button>Profile</Button>}
42
+ * onClick={handleLogout}
43
+ * customContent={
44
+ * <div>
45
+ * <Button onClick={handleSettings}>Settings</Button>
46
+ * <Button onClick={handlePreferences}>Preferences</Button>
47
+ * </div>
48
+ * }
49
+ * logOutText="Sign Out"
50
+ * />
51
+ * ```
52
+ */
2
53
  export interface UserProfileProps {
54
+ /**
55
+ * User's full name
56
+ * Displayed as heading in the profile popover
57
+ */
3
58
  name: string;
59
+ /**
60
+ * User's email address
61
+ * Displayed as description text in the profile popover
62
+ */
4
63
  email: string;
5
- trigger: string | JSX.Element;
64
+ /**
65
+ * Trigger element that opens the profile popover
66
+ * Can be a string, icon, avatar, button, or any React element
67
+ */
68
+ trigger: string | React.JSX.Element;
69
+ /**
70
+ * Callback function when logout button is clicked
71
+ * Typically handles user logout logic
72
+ */
6
73
  onClick: () => void;
74
+ /**
75
+ * Text for the logout button
76
+ * @default 'Log Out'
77
+ */
7
78
  logOutText?: string;
79
+ /**
80
+ * Custom CSS class name for the popover content
81
+ */
8
82
  className?: string;
83
+ /**
84
+ * Array of additional information elements
85
+ * Displayed between email and custom content sections
86
+ * Each element is rendered in a wrapper div
87
+ */
9
88
  additionalInfo?: ReactNode[];
89
+ /**
90
+ * Custom content section
91
+ * Displayed between user info and logout button
92
+ * Useful for additional actions or information
93
+ */
10
94
  customContent?: ReactNode;
11
95
  }
@@ -1,3 +1,3 @@
1
- export declare const WidgetCardTitle: import("@emotion/styled").StyledComponent<Omit<import("../Typography/types").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
1
+ export declare const WidgetCardTitle: import("@emotion/styled").StyledComponent<Omit<import("..").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
2
2
  theme?: import("@emotion/react").Theme;
3
3
  }, {}, {}>;
@@ -1,4 +1,4 @@
1
- export declare const WidgetCardBase: import("@emotion/styled").StyledComponent<import("../Card/types").CardProps & {
1
+ export declare const WidgetCardBase: import("@emotion/styled").StyledComponent<import("..").CardProps & {
2
2
  theme?: import("@emotion/react").Theme;
3
3
  } & {
4
4
  isFullscreenMode?: boolean;
@@ -4,4 +4,4 @@ export declare const WithLink: ({ link, onClick, children, className, }: {
4
4
  className?: string;
5
5
  onClick?: () => void;
6
6
  link?: To;
7
- }) => string | number | boolean | Iterable<import("react").ReactNode> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
7
+ }) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
@@ -1,12 +1,93 @@
1
1
  import { CommonProps } from '../../types/emotion';
2
+ /**
3
+ * Wrapper - Flexible flexbox container component
4
+ *
5
+ * A styled div component that provides a flexible flexbox layout container
6
+ * with optional fade animation. Useful for wrapping content with consistent
7
+ * flex layout, alignment, and visibility animations.
8
+ *
9
+ * Features:
10
+ * - Flexbox layout with configurable direction and alignment
11
+ * - Optional fade in/out animation with configurable delay
12
+ * - Visibility control with smooth transitions
13
+ * - Full width by default
14
+ *
15
+ * @category Components
16
+ * @subcategory Layout
17
+
18
+ * @example
19
+ * ```tsx
20
+ * // Basic wrapper
21
+ * <Wrapper>
22
+ * <Button>Button 1</Button>
23
+ * <Button>Button 2</Button>
24
+ * </Wrapper>
25
+ * ```
26
+ *
27
+ * @example
28
+ * ```tsx
29
+ * // Vertical layout
30
+ * <Wrapper direction="column" alignItems="flex-start">
31
+ * <Typography>Item 1</Typography>
32
+ * <Typography>Item 2</Typography>
33
+ * </Wrapper>
34
+ * ```
35
+ *
36
+ * @example
37
+ * ```tsx
38
+ * // With fade animation
39
+ * <Wrapper fade isVisible={isVisible} fadeDelay={0.5}>
40
+ * <Content />
41
+ * </Wrapper>
42
+ * ```
43
+ *
44
+ * @example
45
+ * ```tsx
46
+ * // Conditionally visible
47
+ * <Wrapper isVisible={showContent}>
48
+ * {showContent && <DynamicContent />}
49
+ * </Wrapper>
50
+ * ```
51
+ */
52
+ /** Flex container direction (maps to CSS flex-direction) */
53
+ export type WrapperDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
54
+ /** Cross-axis alignment (maps to CSS align-items) */
55
+ export type WrapperAlignItems = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline' | 'start' | 'end' | 'self-start' | 'self-end' | 'normal';
56
+ /** Main-axis alignment (maps to CSS justify-content) */
57
+ export type WrapperJustifyContent = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end' | 'left' | 'right' | 'normal';
2
58
  declare const Wrapper: import("@emotion/styled").StyledComponent<{
3
59
  theme?: import("@emotion/react").Theme;
4
60
  as?: React.ElementType;
5
61
  } & {
6
- direction?: string;
7
- alignItems?: string;
62
+ /**
63
+ * Flex direction (row, column, row-reverse, column-reverse)
64
+ * @default 'row'
65
+ */
66
+ direction?: WrapperDirection;
67
+ /**
68
+ * Align items value (flex-start, center, flex-end, stretch, baseline, etc.)
69
+ * @default 'center'
70
+ */
71
+ alignItems?: WrapperAlignItems;
72
+ /**
73
+ * Justify content value (flex-start, center, flex-end, space-between, etc.)
74
+ */
75
+ justifyContent?: WrapperJustifyContent;
76
+ /**
77
+ * Enable fade in/out transition animation
78
+ * @default false
79
+ */
8
80
  fade?: boolean;
81
+ /**
82
+ * Fade animation duration in seconds
83
+ * @default 0.3
84
+ */
9
85
  fadeDelay?: number;
86
+ /**
87
+ * Visibility state
88
+ * When false, element has opacity 0 and visibility hidden
89
+ * @default true
90
+ */
10
91
  isVisible?: boolean;
11
92
  } & CommonProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
93
  export default Wrapper;
@@ -1 +1,2 @@
1
1
  export { default } from './Wrapper';
2
+ export type { WrapperDirection, WrapperAlignItems, WrapperJustifyContent, } from './Wrapper';
@@ -1,119 +1,147 @@
1
- export { default as Avatar } from './Avatar';
2
- export { default as Badge } from './Badge';
3
1
  export { default as Button } from './Button';
4
- export { default as Card } from './Card';
5
- export { default as CardBase } from './Card/CardBase';
6
- export { default as CardContent } from './CardContent';
7
- export { default as CardHeader } from './CardHeader';
2
+ export type * from './Button/types';
3
+ export * from './ButtonGroup';
4
+ export * from './IconButton';
8
5
  export { default as Checkbox } from './Checkbox';
6
+ export * from './Checkbox';
7
+ export type * from './Checkbox/types';
8
+ export { default as Input } from './Input';
9
+ export type * from './Input/types';
10
+ export { default as Textarea } from './Textarea';
11
+ export * from './Textarea';
12
+ export type * from './Textarea/types';
13
+ export { default as TextField } from './TextField';
14
+ export * from './TextField';
15
+ export type * from './TextField/types';
16
+ export * from './NumberField';
17
+ export { default as Switch } from './Switch';
18
+ export * from './Switch';
19
+ export type * from './Switch/types';
20
+ export * from './Slider';
21
+ export { default as Radio } from './Radio';
22
+ export type { RadioProps } from './Radio/types';
23
+ export { default as RadioGroup } from './RadioGroup';
24
+ export type * from './RadioGroup/types';
9
25
  export { default as Dropdown } from './Dropdown';
26
+ export type * from './Dropdown/types';
10
27
  export { default as DropdownArrow } from './DropdownArrow';
11
28
  export { default as DropdownBase } from './DropdownBase';
12
29
  export { default as DropdownOption } from './DropdownOption';
13
30
  export { default as DropdownOptions } from './DropdownOptions';
31
+ export type { DropdownOptionProps } from './DropdownOptions';
14
32
  export { default as DropdownToggle } from './DropdownToggle';
33
+ export type * from './DropdownToggle/types';
34
+ export { default as MultipleDropdown } from './MultipleDropdown';
35
+ export { default as MultipleDropdownNotification } from './MultipleDropdownNotification';
36
+ export { default as MultipleDropdownOptions } from './MultipleDropdownOptions';
37
+ export * from './Typeahead';
38
+ export * from './DatePicker';
39
+ export * from './DateRangePicker';
40
+ export type { CalendarType } from './DatePicker/types';
41
+ export * from './ColorPicker';
42
+ export * from './SearchBox';
43
+ export type * from './SearchBox/types';
44
+ export * from './Field';
15
45
  export { default as Form } from './Form';
16
46
  export { default as FormAction } from './FormAction';
17
47
  export { default as FormCheckbox } from './FormCheckbox';
48
+ export * from './FormCheckbox';
18
49
  export { default as FormGroup } from './FormGroup';
19
50
  export { default as FormHelperText } from './FormHelperText';
20
51
  export { default as FormRadioGroup } from './FormRadioGroup';
21
- export { default as Icon } from './Icon';
22
- export { default as Indicator } from './Indicator';
23
- export { default as Input } from './Input';
52
+ export * from './Filters';
53
+ export * from './FiltersMultiSelect';
54
+ export * as JsonSchema from './JsonSchemaForm';
55
+ export { default as Table } from './Table';
56
+ export { default as TableBody } from './TableBody';
57
+ export { default as TableCell } from './TableCell';
58
+ export { default as TableCellHeader } from './TableCellHeader';
59
+ export * from './TableFilters';
60
+ export { default as TableHead } from './TableHead';
61
+ export { default as TableRow } from './TableRow';
62
+ export * from './NestedTable';
63
+ export { default as Card } from './Card';
64
+ export type * from './Card/types';
65
+ export { default as CardBase } from './Card/CardBase';
66
+ export { default as CardContent } from './CardContent';
67
+ export { default as CardHeader } from './CardHeader';
68
+ export * from './CardList';
69
+ export { default as Typography } from './Typography';
70
+ export * from './Typography';
71
+ export type * from './Typography/types';
72
+ export { default as Badge } from './Badge';
73
+ export type * from './Badge/types';
74
+ export { default as Tag } from './Tag';
75
+ export * from './Tag';
76
+ export type * from './Tag/types';
77
+ export * from './Chip';
78
+ export type * from './Chip/types';
79
+ export { default as Avatar } from './Avatar';
24
80
  export { default as Label } from './Label';
25
- export { default as LargeTab } from './LargeTab';
26
- export { default as Link } from './Link';
27
- export { default as Modal } from './Modal';
28
- export { default as ModalContent } from './ModalContent';
29
- export { default as ModalDialog } from './ModalDialog';
30
- export { default as ModalDismissButton } from './ModalDismissButton';
31
- export { default as ModalOpenButton } from './ModalOpenButton';
32
- export { default as MultipleDropdown } from './MultipleDropdown';
33
- export { default as MultipleDropdownNotification } from './MultipleDropdownNotification';
34
- export { default as MultipleDropdownOptions } from './MultipleDropdownOptions';
35
- export { default as NavBar } from './NavBar';
81
+ export type * from './Label/types';
82
+ export { default as Indicator } from './Indicator';
83
+ export type * from './Indicator/types';
36
84
  export { default as Progress } from './Progress';
85
+ export type * from './Progress/types';
37
86
  export { default as ProgressBar } from './ProgressBar';
87
+ export type * from './ProgressBar/types';
38
88
  export { default as ProgressCircle } from './ProgressCircle';
89
+ export type * from './ProgressCircle/types';
39
90
  export { default as ProgressInfo } from './ProgressInfo';
91
+ export * from './ProgressInfo';
40
92
  export { default as ProgressLegend } from './ProgressLegend';
41
93
  export { default as ProgressLegendItem } from './ProgressLegendItem';
42
94
  export { default as ProgressVertical } from './ProgressVertical';
43
- export { default as Radio } from './Radio';
44
- export { default as RadioGroup } from './RadioGroup';
95
+ export * from './Charts';
96
+ export * from './ImageItem';
45
97
  export { default as ResponsiveImage } from './ResponsiveImage';
98
+ export * from './ResponsiveImage';
99
+ export type * from './ResponsiveImage/types';
100
+ export { default as NavBar } from './NavBar';
101
+ export * from './NavBar';
102
+ export * from './CollapsibleNavBar';
103
+ export { default as Tab } from './Tab';
104
+ export { default as TabBar } from './TabBar';
105
+ export * from './TabBar';
106
+ export type * from './TabBar/types';
107
+ export { default as LargeTab } from './LargeTab';
108
+ export * from './LinksTabBar';
109
+ export { default as Stepper } from './Stepper';
110
+ export type * from './Stepper/types';
46
111
  export { default as Step } from './Step';
47
112
  export { default as StepConnector } from './StepConnector';
48
113
  export { default as StepLabel } from './StepLabel';
49
- export { default as Stepper } from './Stepper';
50
- export { default as Switch } from './Switch';
51
- export { default as Tab } from './Tab';
52
- export { default as TabBar } from './TabBar';
53
- export { default as Table } from './Table';
54
- export { default as TableBody } from './TableBody';
55
- export { default as TableCell } from './TableCell';
56
- export { default as TableCellHeader } from './TableCellHeader';
57
- export { default as TableHead } from './TableHead';
58
- export { default as TableRow } from './TableRow';
59
- export { default as Tag } from './Tag';
60
- export { default as Textarea } from './Textarea';
61
- export { default as TextField } from './TextField';
114
+ export * from './Pagination';
115
+ export { default as Link } from './Link';
116
+ export * from './WithLink';
117
+ export { default as Wrapper } from './Wrapper';
118
+ export * from './Wrapper';
119
+ export * from './WithVisibleLG';
120
+ export * from './WithVisibleMD';
121
+ export * from './WithVisibleSM';
122
+ export * from './WithVisibleUpToLG';
123
+ export { default as Modal } from './Modal';
124
+ export * from './Modal';
125
+ export type * from './Modal/types';
126
+ export { default as ModalContent } from './ModalContent';
127
+ export { default as ModalDialog } from './ModalDialog';
128
+ export type * from './ModalDialog/types';
129
+ export { default as ModalDismissButton } from './ModalDismissButton';
130
+ export { default as ModalOpenButton } from './ModalOpenButton';
131
+ export * from './Drawer';
62
132
  export { default as Tooltip } from './Tooltip';
133
+ export * from './Tooltip';
63
134
  export { default as TooltipContent } from './TooltipContent';
64
135
  export { default as TooltipTrigger } from './TooltipTrigger';
65
- export { default as Typography } from './Typography';
66
- export { default as Wrapper } from './Wrapper';
136
+ export * from './Popover';
137
+ export * from './NotificationCard';
138
+ export * from './NotificationMenu';
67
139
  export * from './AccordionGroup';
68
140
  export * from './AddNewAccountCard';
69
- export * from './ButtonGroup';
70
- export * from './CardList';
71
- export * from './Chip';
72
- export * from './Charts';
73
- export * from './Checkbox';
74
- export * from './CollapsibleNavBar';
75
- export * from './ColorPicker';
76
- export * from './DatePicker';
77
141
  export * from './PersonInfo';
78
- export * from './DateRangePicker';
79
- export * from './Drawer';
80
- export * from './Field';
81
- export * from './Filters';
82
- export * from './FiltersMultiSelect';
83
- export * from './FormCheckbox';
84
- export * from './FullscreenModeContext';
85
- export * from './Icon';
86
- export * from './Icon/types';
87
- export * from './ImageItem';
88
- export * from './LinksTabBar';
89
- export * from './Modal';
90
- export * from './NavBar';
91
- export * from './NestedTable';
92
- export * from './NotificationCard';
93
- export * from './NotificationMenu';
94
- export * from './NumberField';
95
- export * from './Pagination';
96
- export * from './Popover';
97
- export * from './ProgressInfo';
98
- export * from './ResponsiveImage';
99
- export * from './SearchBox';
100
- export * from './Switch';
101
- export * from './TabBar';
102
- export * from './TableFilters';
103
- export * from './Tag';
104
- export * from './Textarea';
105
- export * from './TextField';
106
- export * from './Tooltip';
107
- export * from './Typeahead';
108
- export * from './Typography';
109
142
  export * from './UserProfile';
110
143
  export * from './WidgetCard';
111
- export * from './WithLink';
112
- export * from './WithVisibleLG';
113
- export * from './WithVisibleMD';
114
- export * from './WithVisibleSM';
115
- export * from './WithVisibleUpToLG';
116
- export * from './Wrapper';
117
- export * as JsonSchema from './JsonSchemaForm';
118
- export type { DropdownOptionProps } from './DropdownOptions';
119
- export type { RadioProps } from './Radio/types';
144
+ export { default as Icon } from './Icon';
145
+ export * from './Icon';
146
+ export * from './Icon/types';
147
+ export * from './FullscreenModeContext';
package/dist/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export * as globalStyles from './styles/global';
8
8
  export * as styleUtils from './styles/safari-focus-outline';
9
9
  export * from './components';
10
10
  export * from './contexts';
11
+ export * from './utils/react19HocCompat';