@aurora-ds/components 0.6.8 → 0.10.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 (209) hide show
  1. package/README.md +2 -0
  2. package/dist/cjs/components/actions/button/Button.d.ts +12 -0
  3. package/dist/cjs/components/actions/button/Button.props.d.ts +41 -0
  4. package/dist/cjs/components/actions/button/Button.styles.d.ts +18 -0
  5. package/dist/cjs/components/actions/button/index.d.ts +2 -0
  6. package/dist/cjs/components/actions/icon-button/IconButton.d.ts +4 -0
  7. package/dist/cjs/components/actions/icon-button/IconButton.props.d.ts +37 -0
  8. package/dist/cjs/components/actions/icon-button/IconButton.styles.d.ts +4 -0
  9. package/dist/cjs/components/actions/icon-button/index.d.ts +2 -0
  10. package/dist/cjs/components/data-display/chip/Chip.props.d.ts +10 -0
  11. package/dist/cjs/components/forms/form/Form.d.ts +3 -0
  12. package/dist/cjs/components/forms/form/Form.props.d.ts +9 -0
  13. package/dist/cjs/components/forms/form/Form.styles.d.ts +3 -0
  14. package/dist/cjs/components/forms/form/index.d.ts +2 -0
  15. package/dist/cjs/components/forms/input/Input.d.ts +3 -0
  16. package/dist/cjs/components/forms/input/Input.props.d.ts +32 -0
  17. package/dist/cjs/components/forms/input/Input.styles.d.ts +15 -0
  18. package/dist/cjs/components/forms/input/index.d.ts +2 -0
  19. package/dist/cjs/components/forms/textarea/TextArea.d.ts +3 -0
  20. package/dist/cjs/components/forms/textarea/TextArea.props.d.ts +27 -0
  21. package/dist/cjs/components/forms/textarea/TextArea.styles.d.ts +11 -0
  22. package/dist/cjs/components/forms/textarea/index.d.ts +2 -0
  23. package/dist/cjs/components/foundation/icon/Icon.d.ts +35 -0
  24. package/dist/cjs/components/foundation/icon/Icon.props.d.ts +24 -0
  25. package/dist/cjs/components/foundation/icon/Icon.styles.d.ts +3 -0
  26. package/dist/cjs/components/foundation/icon/index.d.ts +2 -0
  27. package/dist/cjs/components/foundation/text/Text.d.ts +21 -0
  28. package/dist/cjs/components/foundation/text/Text.props.d.ts +38 -0
  29. package/dist/cjs/components/foundation/text/Text.styles.d.ts +4 -0
  30. package/dist/cjs/components/foundation/text/index.d.ts +2 -0
  31. package/dist/cjs/components/index.d.ts +11 -5
  32. package/dist/cjs/components/inputs/input/Input.d.ts +6 -0
  33. package/dist/cjs/components/inputs/input/Input.props.d.ts +17 -0
  34. package/dist/cjs/components/inputs/input/Input.styles.d.ts +7 -0
  35. package/dist/cjs/components/inputs/input/index.d.ts +2 -0
  36. package/dist/cjs/components/layout/card/Card.props.d.ts +10 -0
  37. package/dist/cjs/components/layout/grid/Grid.props.d.ts +10 -0
  38. package/dist/cjs/components/layout/page-construction/page/Page.d.ts +10 -0
  39. package/dist/cjs/components/layout/page-construction/page/Page.props.d.ts +30 -0
  40. package/dist/cjs/components/layout/page-construction/page/Page.styles.d.ts +5 -0
  41. package/dist/cjs/components/layout/page-construction/page/index.d.ts +2 -0
  42. package/dist/cjs/components/layout/page-construction/page-section/PageSection.d.ts +10 -0
  43. package/dist/cjs/components/layout/page-construction/page-section/PageSection.props.d.ts +34 -0
  44. package/dist/cjs/components/layout/page-construction/page-section/PageSection.styles.d.ts +4 -0
  45. package/dist/cjs/components/layout/page-construction/page-section/index.d.ts +2 -0
  46. package/dist/cjs/components/layout/stack/Stack.props.d.ts +10 -0
  47. package/dist/cjs/components/navigation/breadcrumb/Breadcrumb.d.ts +12 -0
  48. package/dist/cjs/components/navigation/breadcrumb/Breadcrumb.props.d.ts +13 -0
  49. package/dist/cjs/components/navigation/breadcrumb/Breadcrumb.styles.d.ts +6 -0
  50. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbEllipsis/BreadcrumbEllipsis.d.ts +8 -0
  51. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbEllipsis/BreadcrumbEllipsis.props.d.ts +5 -0
  52. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbEllipsis/BreadcrumbEllipsis.styles.d.ts +7 -0
  53. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbEllipsis/index.d.ts +2 -0
  54. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  55. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbItem/BreadcrumbItem.d.ts +6 -0
  56. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbItem/BreadcrumbItem.styles.d.ts +6 -0
  57. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbItem/index.d.ts +1 -0
  58. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbItem.d.ts +6 -0
  59. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbLink/BreadcrumbLink.d.ts +7 -0
  60. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbLink/BreadcrumbLink.props.d.ts +14 -0
  61. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbLink/BreadcrumbLink.styles.d.ts +7 -0
  62. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbLink/index.d.ts +2 -0
  63. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbLink.d.ts +6 -0
  64. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbList/BreadcrumbList.d.ts +6 -0
  65. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbList/BreadcrumbList.styles.d.ts +6 -0
  66. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbList/index.d.ts +1 -0
  67. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbList.d.ts +6 -0
  68. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbPage/BreadcrumbPage.d.ts +7 -0
  69. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbPage/BreadcrumbPage.props.d.ts +10 -0
  70. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbPage/BreadcrumbPage.styles.d.ts +7 -0
  71. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbPage/index.d.ts +2 -0
  72. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbPage.d.ts +6 -0
  73. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbSeparator/BreadcrumbSeparator.d.ts +7 -0
  74. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbSeparator/BreadcrumbSeparator.props.d.ts +5 -0
  75. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbSeparator/BreadcrumbSeparator.styles.d.ts +6 -0
  76. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbSeparator/index.d.ts +2 -0
  77. package/dist/cjs/components/navigation/breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  78. package/dist/cjs/components/navigation/breadcrumb/index.d.ts +10 -0
  79. package/dist/cjs/components/navigation/drawer-item/DrawerItem.props.d.ts +10 -0
  80. package/dist/cjs/components/overlay/accordion/Accordion.d.ts +10 -0
  81. package/dist/cjs/components/overlay/accordion/Accordion.props.d.ts +52 -0
  82. package/dist/cjs/components/overlay/accordion/Accordion.styles.d.ts +7 -0
  83. package/dist/cjs/components/overlay/accordion/index.d.ts +2 -0
  84. package/dist/cjs/index.js +709 -185
  85. package/dist/cjs/index.js.map +1 -1
  86. package/dist/cjs/interfaces/button.types.d.ts +14 -1
  87. package/dist/cjs/resources/Icons.d.ts +5 -1
  88. package/dist/cjs/resources/icons/ChevronRightIcon.d.ts +1 -0
  89. package/dist/cjs/resources/icons/EyeIcon.d.ts +1 -0
  90. package/dist/cjs/resources/icons/EyeOffIcon.d.ts +1 -0
  91. package/dist/cjs/resources/icons/MoreHorizontalIcon.d.ts +1 -0
  92. package/dist/cjs/utils/ui/components/actions/button/getButtonSizeStyles.utils.d.ts +12 -0
  93. package/dist/cjs/utils/ui/components/actions/button/getButtonVariantStyles.utils.d.ts +7 -0
  94. package/dist/cjs/utils/ui/components/actions/icon-button/getIconButtonSizeStyles.utils.d.ts +9 -0
  95. package/dist/cjs/utils/ui/components/data-display/chip/getChipColorStyles.utils.d.ts +7 -0
  96. package/dist/cjs/utils/ui/components/data-display/chip/getChipContentSize.utils.d.ts +8 -0
  97. package/dist/cjs/utils/ui/components/data-display/chip/getChipSizeStyles.utils.d.ts +12 -0
  98. package/dist/cjs/utils/ui/components/foundation/text/getTextVariantStyles.utils.d.ts +7 -0
  99. package/dist/cjs/utils/ui/components/foundation/text/getTruncateTextStyles.utils.d.ts +17 -0
  100. package/dist/cjs/utils/ui/components/foundation/text/parseTextWithBold.utils.d.ts +7 -0
  101. package/dist/cjs/utils/ui/components/navigation/breadcrumb/buildBreadcrumbChildren.utils.d.ts +5 -0
  102. package/dist/cjs/utils/ui/components/navigation/breadcrumb/flattenChildren.utils.d.ts +5 -0
  103. package/dist/cjs/utils/ui/components/navigation/breadcrumb/insertSeparators.utils.d.ts +5 -0
  104. package/dist/cjs/utils/ui/components/navigation/breadcrumb/isSeparator.utils.d.ts +5 -0
  105. package/dist/esm/components/actions/button/Button.d.ts +12 -0
  106. package/dist/esm/components/actions/button/Button.props.d.ts +41 -0
  107. package/dist/esm/components/actions/button/Button.styles.d.ts +18 -0
  108. package/dist/esm/components/actions/button/index.d.ts +2 -0
  109. package/dist/esm/components/actions/icon-button/IconButton.d.ts +4 -0
  110. package/dist/esm/components/actions/icon-button/IconButton.props.d.ts +37 -0
  111. package/dist/esm/components/actions/icon-button/IconButton.styles.d.ts +4 -0
  112. package/dist/esm/components/actions/icon-button/index.d.ts +2 -0
  113. package/dist/esm/components/data-display/chip/Chip.props.d.ts +10 -0
  114. package/dist/esm/components/forms/form/Form.d.ts +3 -0
  115. package/dist/esm/components/forms/form/Form.props.d.ts +9 -0
  116. package/dist/esm/components/forms/form/Form.styles.d.ts +3 -0
  117. package/dist/esm/components/forms/form/index.d.ts +2 -0
  118. package/dist/esm/components/forms/input/Input.d.ts +3 -0
  119. package/dist/esm/components/forms/input/Input.props.d.ts +32 -0
  120. package/dist/esm/components/forms/input/Input.styles.d.ts +15 -0
  121. package/dist/esm/components/forms/input/index.d.ts +2 -0
  122. package/dist/esm/components/forms/textarea/TextArea.d.ts +3 -0
  123. package/dist/esm/components/forms/textarea/TextArea.props.d.ts +27 -0
  124. package/dist/esm/components/forms/textarea/TextArea.styles.d.ts +11 -0
  125. package/dist/esm/components/forms/textarea/index.d.ts +2 -0
  126. package/dist/esm/components/foundation/icon/Icon.d.ts +35 -0
  127. package/dist/esm/components/foundation/icon/Icon.props.d.ts +24 -0
  128. package/dist/esm/components/foundation/icon/Icon.styles.d.ts +3 -0
  129. package/dist/esm/components/foundation/icon/index.d.ts +2 -0
  130. package/dist/esm/components/foundation/text/Text.d.ts +21 -0
  131. package/dist/esm/components/foundation/text/Text.props.d.ts +38 -0
  132. package/dist/esm/components/foundation/text/Text.styles.d.ts +4 -0
  133. package/dist/esm/components/foundation/text/index.d.ts +2 -0
  134. package/dist/esm/components/index.d.ts +11 -5
  135. package/dist/esm/components/inputs/input/Input.d.ts +6 -0
  136. package/dist/esm/components/inputs/input/Input.props.d.ts +17 -0
  137. package/dist/esm/components/inputs/input/Input.styles.d.ts +7 -0
  138. package/dist/esm/components/inputs/input/index.d.ts +2 -0
  139. package/dist/esm/components/layout/card/Card.props.d.ts +10 -0
  140. package/dist/esm/components/layout/grid/Grid.props.d.ts +10 -0
  141. package/dist/esm/components/layout/page-construction/page/Page.d.ts +10 -0
  142. package/dist/esm/components/layout/page-construction/page/Page.props.d.ts +30 -0
  143. package/dist/esm/components/layout/page-construction/page/Page.styles.d.ts +5 -0
  144. package/dist/esm/components/layout/page-construction/page/index.d.ts +2 -0
  145. package/dist/esm/components/layout/page-construction/page-section/PageSection.d.ts +10 -0
  146. package/dist/esm/components/layout/page-construction/page-section/PageSection.props.d.ts +34 -0
  147. package/dist/esm/components/layout/page-construction/page-section/PageSection.styles.d.ts +4 -0
  148. package/dist/esm/components/layout/page-construction/page-section/index.d.ts +2 -0
  149. package/dist/esm/components/layout/stack/Stack.props.d.ts +10 -0
  150. package/dist/esm/components/navigation/breadcrumb/Breadcrumb.d.ts +12 -0
  151. package/dist/esm/components/navigation/breadcrumb/Breadcrumb.props.d.ts +13 -0
  152. package/dist/esm/components/navigation/breadcrumb/Breadcrumb.styles.d.ts +6 -0
  153. package/dist/esm/components/navigation/breadcrumb/BreadcrumbEllipsis/BreadcrumbEllipsis.d.ts +8 -0
  154. package/dist/esm/components/navigation/breadcrumb/BreadcrumbEllipsis/BreadcrumbEllipsis.props.d.ts +5 -0
  155. package/dist/esm/components/navigation/breadcrumb/BreadcrumbEllipsis/BreadcrumbEllipsis.styles.d.ts +7 -0
  156. package/dist/esm/components/navigation/breadcrumb/BreadcrumbEllipsis/index.d.ts +2 -0
  157. package/dist/esm/components/navigation/breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  158. package/dist/esm/components/navigation/breadcrumb/BreadcrumbItem/BreadcrumbItem.d.ts +6 -0
  159. package/dist/esm/components/navigation/breadcrumb/BreadcrumbItem/BreadcrumbItem.styles.d.ts +6 -0
  160. package/dist/esm/components/navigation/breadcrumb/BreadcrumbItem/index.d.ts +1 -0
  161. package/dist/esm/components/navigation/breadcrumb/BreadcrumbItem.d.ts +6 -0
  162. package/dist/esm/components/navigation/breadcrumb/BreadcrumbLink/BreadcrumbLink.d.ts +7 -0
  163. package/dist/esm/components/navigation/breadcrumb/BreadcrumbLink/BreadcrumbLink.props.d.ts +14 -0
  164. package/dist/esm/components/navigation/breadcrumb/BreadcrumbLink/BreadcrumbLink.styles.d.ts +7 -0
  165. package/dist/esm/components/navigation/breadcrumb/BreadcrumbLink/index.d.ts +2 -0
  166. package/dist/esm/components/navigation/breadcrumb/BreadcrumbLink.d.ts +6 -0
  167. package/dist/esm/components/navigation/breadcrumb/BreadcrumbList/BreadcrumbList.d.ts +6 -0
  168. package/dist/esm/components/navigation/breadcrumb/BreadcrumbList/BreadcrumbList.styles.d.ts +6 -0
  169. package/dist/esm/components/navigation/breadcrumb/BreadcrumbList/index.d.ts +1 -0
  170. package/dist/esm/components/navigation/breadcrumb/BreadcrumbList.d.ts +6 -0
  171. package/dist/esm/components/navigation/breadcrumb/BreadcrumbPage/BreadcrumbPage.d.ts +7 -0
  172. package/dist/esm/components/navigation/breadcrumb/BreadcrumbPage/BreadcrumbPage.props.d.ts +10 -0
  173. package/dist/esm/components/navigation/breadcrumb/BreadcrumbPage/BreadcrumbPage.styles.d.ts +7 -0
  174. package/dist/esm/components/navigation/breadcrumb/BreadcrumbPage/index.d.ts +2 -0
  175. package/dist/esm/components/navigation/breadcrumb/BreadcrumbPage.d.ts +6 -0
  176. package/dist/esm/components/navigation/breadcrumb/BreadcrumbSeparator/BreadcrumbSeparator.d.ts +7 -0
  177. package/dist/esm/components/navigation/breadcrumb/BreadcrumbSeparator/BreadcrumbSeparator.props.d.ts +5 -0
  178. package/dist/esm/components/navigation/breadcrumb/BreadcrumbSeparator/BreadcrumbSeparator.styles.d.ts +6 -0
  179. package/dist/esm/components/navigation/breadcrumb/BreadcrumbSeparator/index.d.ts +2 -0
  180. package/dist/esm/components/navigation/breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  181. package/dist/esm/components/navigation/breadcrumb/index.d.ts +10 -0
  182. package/dist/esm/components/navigation/drawer-item/DrawerItem.props.d.ts +10 -0
  183. package/dist/esm/components/overlay/accordion/Accordion.d.ts +10 -0
  184. package/dist/esm/components/overlay/accordion/Accordion.props.d.ts +52 -0
  185. package/dist/esm/components/overlay/accordion/Accordion.styles.d.ts +7 -0
  186. package/dist/esm/components/overlay/accordion/index.d.ts +2 -0
  187. package/dist/esm/index.js +701 -187
  188. package/dist/esm/index.js.map +1 -1
  189. package/dist/esm/interfaces/button.types.d.ts +14 -1
  190. package/dist/esm/resources/Icons.d.ts +5 -1
  191. package/dist/esm/resources/icons/ChevronRightIcon.d.ts +1 -0
  192. package/dist/esm/resources/icons/EyeIcon.d.ts +1 -0
  193. package/dist/esm/resources/icons/EyeOffIcon.d.ts +1 -0
  194. package/dist/esm/resources/icons/MoreHorizontalIcon.d.ts +1 -0
  195. package/dist/esm/utils/ui/components/actions/button/getButtonSizeStyles.utils.d.ts +12 -0
  196. package/dist/esm/utils/ui/components/actions/button/getButtonVariantStyles.utils.d.ts +7 -0
  197. package/dist/esm/utils/ui/components/actions/icon-button/getIconButtonSizeStyles.utils.d.ts +9 -0
  198. package/dist/esm/utils/ui/components/data-display/chip/getChipColorStyles.utils.d.ts +7 -0
  199. package/dist/esm/utils/ui/components/data-display/chip/getChipContentSize.utils.d.ts +8 -0
  200. package/dist/esm/utils/ui/components/data-display/chip/getChipSizeStyles.utils.d.ts +12 -0
  201. package/dist/esm/utils/ui/components/foundation/text/getTextVariantStyles.utils.d.ts +7 -0
  202. package/dist/esm/utils/ui/components/foundation/text/getTruncateTextStyles.utils.d.ts +17 -0
  203. package/dist/esm/utils/ui/components/foundation/text/parseTextWithBold.utils.d.ts +7 -0
  204. package/dist/esm/utils/ui/components/navigation/breadcrumb/buildBreadcrumbChildren.utils.d.ts +5 -0
  205. package/dist/esm/utils/ui/components/navigation/breadcrumb/flattenChildren.utils.d.ts +5 -0
  206. package/dist/esm/utils/ui/components/navigation/breadcrumb/insertSeparators.utils.d.ts +5 -0
  207. package/dist/esm/utils/ui/components/navigation/breadcrumb/isSeparator.utils.d.ts +5 -0
  208. package/dist/index.d.ts +379 -45
  209. package/package.json +76 -77
@@ -0,0 +1 @@
1
+ export declare const MoreHorizontalIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { IconButtonSizes } from '@interfaces/button.types.ts';
3
+ type ButtonSizeConfig = {
4
+ height: number;
5
+ padding: {
6
+ vertical: keyof Theme['spacing'];
7
+ horizontal: keyof Theme['spacing'];
8
+ };
9
+ fontSize: keyof Theme['fontSize'];
10
+ };
11
+ export declare const getButtonSizeStyles: () => Record<IconButtonSizes, ButtonSizeConfig>;
12
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { ButtonVariants, ButtonVariantStyle } from '@interfaces/button.types.ts';
3
+ /**
4
+ * Get button variant styles based on the theme
5
+ * @param theme
6
+ */
7
+ export declare const getButtonVariantStyles: (theme: Theme) => Record<ButtonVariants, ButtonVariantStyle>;
@@ -0,0 +1,9 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { IconButtonSizes } from '@interfaces/button.types.ts';
3
+ type IconButtonSizeConfig = {
4
+ size: number;
5
+ padding: keyof Theme['spacing'];
6
+ iconSize: keyof Theme['fontSize'];
7
+ };
8
+ export declare const getIconButtonSizeStyles: () => Record<IconButtonSizes, IconButtonSizeConfig>;
9
+ export {};
@@ -0,0 +1,7 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { ChipStyleParams } from '@components/data-display/chip/Chip.props.ts';
3
+ export declare const getChipColorStyles: (theme: Theme, color: ChipStyleParams["color"], variant: ChipStyleParams["variant"], disabled: ChipStyleParams["disabled"]) => {
4
+ backgroundColor: string;
5
+ color: string;
6
+ borderColor: string;
7
+ };
@@ -0,0 +1,8 @@
1
+ import { BaseFontSize } from '@aurora-ds/theme';
2
+ import { ChipStyleParams } from '@components/data-display/chip/Chip.props.ts';
3
+ /**
4
+ * Get chip content size based on the chip size
5
+ * @param size
6
+ * @constructor
7
+ */
8
+ export declare const getChipContentSize: (size: ChipStyleParams["size"]) => keyof BaseFontSize;
@@ -0,0 +1,12 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { ChipStyleParams } from '@components/data-display/chip/Chip.props.ts';
3
+ /**
4
+ * Get chip size styles based on the theme, size and icon-only state
5
+ * @param theme - Theme object
6
+ * @param size - Chip size
7
+ * @param isIconOnly - Whether the chip has only an icon (no label)
8
+ */
9
+ export declare const getChipSizeStyles: (theme: Theme, size: ChipStyleParams["size"], isIconOnly: ChipStyleParams["isIconOnly"]) => {
10
+ padding: string;
11
+ fontSize: string;
12
+ };
@@ -0,0 +1,7 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { TextVariants, TextVariantStyle } from '@interfaces/text.types.ts';
3
+ /**
4
+ * Get text variant styles based on the theme
5
+ * @param theme
6
+ */
7
+ export declare const getTextVariantStyles: (theme: Theme) => Record<TextVariants, TextVariantStyle>;
@@ -0,0 +1,17 @@
1
+ export declare const getTruncateTextStyles: (maxLines: number) => {
2
+ whiteSpace: "nowrap";
3
+ overflow: string;
4
+ textOverflow: string;
5
+ display?: undefined;
6
+ WebkitLineClamp?: undefined;
7
+ WebkitBoxOrient?: undefined;
8
+ lineClamp?: undefined;
9
+ } | {
10
+ overflow: string;
11
+ textOverflow: string;
12
+ display: string;
13
+ WebkitLineClamp: number;
14
+ WebkitBoxOrient: "vertical";
15
+ lineClamp: number;
16
+ whiteSpace?: undefined;
17
+ };
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * Parses text content and converts **bold** syntax to <strong> elements
4
+ * @param children - The content to parse (string or ReactNode)
5
+ * @returns Parsed content with bold text wrapped in <strong> elements
6
+ */
7
+ export declare const parseTextWithBold: (children: ReactNode) => ReactNode;
@@ -0,0 +1,5 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+ /**
3
+ * Builds the breadcrumb children with ellipsis logic
4
+ */
5
+ export declare const buildBreadcrumbChildren: (items: ReactNode[], maxItems: number | undefined, EllipsisComponent: ComponentType, SeparatorComponent: ComponentType) => ReactNode[];
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * Flattens children, extracting children from Fragments
4
+ */
5
+ export declare const flattenChildren: (children: ReactNode) => ReactNode[];
@@ -0,0 +1,5 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+ /**
3
+ * Inserts separators between breadcrumb items automatically
4
+ */
5
+ export declare const insertSeparators: (items: ReactNode[], SeparatorComponent: ComponentType) => ReactNode[];
@@ -0,0 +1,5 @@
1
+ import { ReactNode } from 'react';
2
+ /**
3
+ * Checks if a React element is a BreadcrumbSeparator
4
+ */
5
+ export declare const isSeparator: (child: ReactNode) => boolean;
@@ -0,0 +1,12 @@
1
+ import { FC } from 'react';
2
+ import { ButtonProps } from '@components/actions/button/Button.props.ts';
3
+ /**
4
+ * Button component
5
+ *
6
+ * **Variants:**
7
+ * - `contained`: Solid background button (default)
8
+ * - `outlined`: Border only button
9
+ * - `text`: Text only button without background
10
+ */
11
+ declare const Button: FC<ButtonProps>;
12
+ export default Button;
@@ -0,0 +1,41 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { ReactNode } from 'react';
3
+ import { ButtonVariants, IconButtonSizes } from '@interfaces/button.types.ts';
4
+ export type ButtonProps = {
5
+ /** Button text label */
6
+ label: string;
7
+ /** Optional icon to display before label */
8
+ startIcon?: ReactNode;
9
+ /** Optional icon to display after label */
10
+ endIcon?: ReactNode;
11
+ /** Click handler */
12
+ onClick?: () => void;
13
+ /** Visual variant of the button */
14
+ variant?: ButtonVariants;
15
+ /** Button type attribute */
16
+ type?: 'button' | 'submit';
17
+ /** Active/pressed state */
18
+ active?: boolean;
19
+ /** Disabled state */
20
+ disabled?: boolean;
21
+ /** Custom text color (overrides variant color) */
22
+ textColor?: keyof Theme['colors'];
23
+ /** Size of the button */
24
+ size?: IconButtonSizes;
25
+ /** Accessibility label for screen readers */
26
+ ariaLabel?: string;
27
+ /** ID of element that labels this button */
28
+ ariaLabelledBy?: string;
29
+ /** ID of element that describes this button */
30
+ ariaDescribedBy?: string;
31
+ /** ARIA role */
32
+ role?: string;
33
+ /** Tab index for keyboard navigation */
34
+ tabIndex?: number;
35
+ };
36
+ export type ButtonStyleParams = {
37
+ variant?: ButtonVariants;
38
+ active?: boolean;
39
+ textColor?: keyof Theme['colors'];
40
+ size?: IconButtonSizes;
41
+ };
@@ -0,0 +1,18 @@
1
+ import { ButtonStyleParams } from '@components/actions/button/Button.props.ts';
2
+ /**
3
+ * Button styles using createStyles from @aurora-ds/theme
4
+ *
5
+ * Override via className with createStyles:
6
+ * ```tsx
7
+ * const myStyles = createStyles((theme) => ({
8
+ * custom: {
9
+ * backgroundColor: theme.colors.accent,
10
+ * ':hover': { backgroundColor: theme.colors.accentHover }
11
+ * }
12
+ * }))
13
+ * <Button className={myStyles.custom} label="Custom" />
14
+ * ```
15
+ */
16
+ export declare const BUTTON_STYLES: {
17
+ root: (args_0: ButtonStyleParams) => string;
18
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Button } from '@components/actions/button/Button.tsx';
2
+ export type { ButtonProps } from '@components/actions/button/Button.props.ts';
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { IconButtonProps } from '@components/actions/icon-button/IconButton.props.ts';
3
+ declare const IconButton: FC<IconButtonProps>;
4
+ export default IconButton;
@@ -0,0 +1,37 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { ReactNode } from 'react';
3
+ import { IconButtonSizes, IconButtonVariants } from '@/interfaces';
4
+ export type IconButtonProps = {
5
+ /** IconButton icon */
6
+ icon?: ReactNode;
7
+ /** Click handler */
8
+ onClick?: () => void;
9
+ /** Visual variant of the button */
10
+ variant?: IconButtonVariants;
11
+ /** Button type attribute */
12
+ type?: 'button' | 'submit';
13
+ /** Active/pressed state */
14
+ active?: boolean;
15
+ /** Disabled state */
16
+ disabled?: boolean;
17
+ /** Custom text/icon color (overrides variant color) */
18
+ textColor?: keyof Theme['colors'];
19
+ /** Size of the icon button */
20
+ size?: IconButtonSizes;
21
+ /** Accessibility label for screen readers */
22
+ ariaLabel?: string;
23
+ /** ID of element that labels this button */
24
+ ariaLabelledBy?: string;
25
+ /** ID of element that describes this button */
26
+ ariaDescribedBy?: string;
27
+ /** ARIA role */
28
+ role?: string;
29
+ /** Tab index for keyboard navigation */
30
+ tabIndex?: number;
31
+ };
32
+ export type IconButtonStyleParams = {
33
+ variant?: IconButtonVariants;
34
+ active?: boolean;
35
+ size?: IconButtonSizes;
36
+ textColor?: keyof Theme['colors'];
37
+ };
@@ -0,0 +1,4 @@
1
+ import { IconButtonStyleParams } from '@components/actions/icon-button/IconButton.props.ts';
2
+ export declare const ICON_BUTTON_STYLES: {
3
+ root: (args_0: IconButtonStyleParams) => string;
4
+ };
@@ -0,0 +1,2 @@
1
+ export { default as IconButton } from '@components/actions/icon-button/IconButton.tsx';
2
+ export type { IconButtonProps } from '@components/actions/icon-button/IconButton.props.ts';
@@ -18,6 +18,16 @@ export type ChipProps = {
18
18
  radius?: keyof Theme['radius'];
19
19
  /** Disabled state */
20
20
  disabled?: boolean;
21
+ /** Accessibility label for screen readers */
22
+ ariaLabel?: string;
23
+ /** ID of element that labels this chip */
24
+ ariaLabelledBy?: string;
25
+ /** ID of element that describes this chip */
26
+ ariaDescribedBy?: string;
27
+ /** ARIA role */
28
+ role?: string;
29
+ /** Tab index for keyboard navigation */
30
+ tabIndex?: number;
21
31
  };
22
32
  export type ChipStyleParams = {
23
33
  variant: ChipVariant;
@@ -0,0 +1,3 @@
1
+ import { FormProps } from '@components/forms/form/Form.props';
2
+ declare const _default: import("react").NamedExoticComponent<FormProps>;
3
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { FormEvent, ReactNode } from 'react';
2
+ export type FormProps = {
3
+ /** Form content (inputs, buttons, etc.) */
4
+ children: ReactNode;
5
+ /** Callback fired when the form is submitted (preventDefault is called automatically) */
6
+ onSubmit?: (e: FormEvent) => void;
7
+ /** Accessibility label for the form */
8
+ ariaLabel?: string;
9
+ };
@@ -0,0 +1,3 @@
1
+ export declare const FORM_STYLES: {
2
+ root: string;
3
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Form } from '@components/forms/form/Form';
2
+ export type { FormProps } from '@components/forms/form/Form.props';
@@ -0,0 +1,3 @@
1
+ import { InputProps } from '@components/forms/input/Input.props.ts';
2
+ declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>>;
3
+ export default _default;
@@ -0,0 +1,32 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export type InputProps = {
3
+ /** The value of the input */
4
+ value: string;
5
+ /** Callback fired when the value changes */
6
+ onChange: (value: string) => void;
7
+ /** Label displayed above the input */
8
+ label?: string;
9
+ /** Whether the field is mandatory (displays an asterisk next to the label) */
10
+ mandatory?: boolean;
11
+ /** Placeholder text */
12
+ placeholder?: string;
13
+ /** Whether the input is disabled */
14
+ disabled?: boolean;
15
+ /** Input type */
16
+ type?: 'text' | 'password' | 'email' | 'number';
17
+ /** Accessibility label */
18
+ ariaLabel?: string;
19
+ /** Icon to display before the input */
20
+ startIcon?: ReactNode;
21
+ /** Icon to display after the input */
22
+ endIcon?: ReactNode;
23
+ /** Custom width for the input */
24
+ width?: CSSProperties['width'];
25
+ };
26
+ export type InputStyleParams = {
27
+ disabled?: boolean;
28
+ hasStartIcon?: boolean;
29
+ hasEndIcon?: boolean;
30
+ hasPasswordToggle?: boolean;
31
+ width?: CSSProperties['width'];
32
+ };
@@ -0,0 +1,15 @@
1
+ import { InputStyleParams } from '@components/forms/input/Input.props.ts';
2
+ import type { CSSProperties } from 'react';
3
+ /**
4
+ * Input styles using createStyles from @aurora-ds/theme
5
+ */
6
+ export declare const INPUT_STYLES: {
7
+ container: (args_0: {
8
+ width?: CSSProperties["width"];
9
+ }) => string;
10
+ startIcon: string;
11
+ endIcon: string;
12
+ endIconShifted: string;
13
+ passwordToggle: string;
14
+ root: (args_0: InputStyleParams) => string;
15
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Input } from '@components/forms/input/Input.tsx';
2
+ export type { InputProps } from '@components/forms/input/Input.props.ts';
@@ -0,0 +1,3 @@
1
+ import { TextAreaProps } from '@components/forms/textarea/TextArea.props.ts';
2
+ declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>>;
3
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { CSSProperties } from 'react';
2
+ export type TextAreaProps = {
3
+ /** The value of the textarea */
4
+ value: string;
5
+ /** Callback fired when the value changes */
6
+ onChange: (value: string) => void;
7
+ /** Label displayed above the textarea */
8
+ label?: string;
9
+ /** Whether the field is mandatory (displays an asterisk next to the label) */
10
+ mandatory?: boolean;
11
+ /** Placeholder text */
12
+ placeholder?: string;
13
+ /** Whether the textarea is disabled */
14
+ disabled?: boolean;
15
+ /** Accessibility label */
16
+ ariaLabel?: string;
17
+ /** Custom width for the textarea */
18
+ width?: CSSProperties['width'];
19
+ /** Minimum number of visible text lines (auto-expands with content) */
20
+ minRows?: number;
21
+ /** Maximum number of visible text lines (adds scroll when exceeded) */
22
+ maxRows?: number;
23
+ };
24
+ export type TextAreaStyleParams = {
25
+ disabled?: boolean;
26
+ width?: CSSProperties['width'];
27
+ };
@@ -0,0 +1,11 @@
1
+ import { TextAreaStyleParams } from '@components/forms/textarea/TextArea.props.ts';
2
+ import type { CSSProperties } from 'react';
3
+ /**
4
+ * TextArea styles using createStyles from @aurora-ds/theme
5
+ */
6
+ export declare const TEXTAREA_STYLES: {
7
+ container: (args_0: {
8
+ width?: CSSProperties["width"];
9
+ }) => string;
10
+ root: (args_0: TextAreaStyleParams) => string;
11
+ };
@@ -0,0 +1,2 @@
1
+ export { default as TextArea } from '@components/forms/textarea/TextArea.tsx';
2
+ export type { TextAreaProps } from '@components/forms/textarea/TextArea.props.ts';
@@ -0,0 +1,35 @@
1
+ import { FC } from 'react';
2
+ import { IconProps } from '@components/foundation/icon/Icon.props.ts';
3
+ /**
4
+ * Icon component - Wrapper for SVG icons with theme-aware styling
5
+ *
6
+ * **Features:**
7
+ * - Theme-aware sizing via font sizes
8
+ * - Color and fill support from theme
9
+ * - Optional background with padding and border radius
10
+ * - Transition animation on color changes
11
+ *
12
+ * **Usage:**
13
+ * ```tsx
14
+ * import { SomeIcon } from 'some-icon-library'
15
+ *
16
+ * <Icon size="md" color="primary">
17
+ * <SomeIcon />
18
+ * </Icon>
19
+ * ```
20
+ *
21
+ * **With background:**
22
+ * ```tsx
23
+ * <Icon
24
+ * size="lg"
25
+ * color="onPrimary"
26
+ * backgroundColor="primary"
27
+ * padding="sm"
28
+ * borderRadius="full"
29
+ * >
30
+ * <SomeIcon />
31
+ * </Icon>
32
+ * ```
33
+ */
34
+ declare const Icon: FC<IconProps>;
35
+ export default Icon;
@@ -0,0 +1,24 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { PropsWithChildren } from 'react';
3
+ export type IconProps = PropsWithChildren<{
4
+ /** Icon size based on theme font sizes */
5
+ size?: keyof Theme['fontSize'];
6
+ /** Icon stroke/line color from theme */
7
+ color?: keyof Theme['colors'];
8
+ /** Background color from theme */
9
+ backgroundColor?: keyof Theme['colors'];
10
+ /** Padding from theme spacing */
11
+ padding?: keyof Theme['spacing'];
12
+ /** Border radius from theme */
13
+ borderRadius?: keyof Theme['radius'];
14
+ /** Accessibility label for screen readers */
15
+ ariaLabel?: string;
16
+ /** ID of element that labels this icon */
17
+ ariaLabelledBy?: string;
18
+ /** ID of element that describes this icon */
19
+ ariaDescribedBy?: string;
20
+ /** ARIA role */
21
+ role?: string;
22
+ /** Tab index for keyboard navigation */
23
+ tabIndex?: number;
24
+ }>;
@@ -0,0 +1,3 @@
1
+ export declare const ICON_STYLES: {
2
+ root: (size?: keyof import("@aurora-ds/theme").BaseFontSize | undefined, color?: keyof import("@aurora-ds/theme").BaseColors | undefined, backgroundColor?: keyof import("@aurora-ds/theme").BaseColors | undefined, padding?: keyof import("@aurora-ds/theme").BaseSpacing | undefined, borderRadius?: keyof import("@aurora-ds/theme").BaseRadius | undefined) => string;
3
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Icon } from '@components/foundation/icon/Icon.tsx';
2
+ export type { IconProps } from '@components/foundation/icon/Icon.props.ts';
@@ -0,0 +1,21 @@
1
+ import { FC } from 'react';
2
+ import { TextProps } from '@components/foundation/text/Text.props.ts';
3
+ /**
4
+ * Text component - Renders semantic HTML elements based on variant
5
+ *
6
+ * **Variants:**
7
+ * - `h1-h6`: Heading elements with appropriate styling
8
+ * - `p`: Paragraph element with relaxed line height
9
+ * - `span`: Inline text element (default)
10
+ * - `label`: Label element with medium font weight
11
+ *
12
+ * **Features:**
13
+ * - Automatic HTML tag selection based on variant
14
+ * - Theme-aware colors
15
+ * - Text truncation with `maxLines`
16
+ * - Underline support
17
+ * - Preserve whitespace with `preserveWhitespace` prop
18
+ * - Bold text with **double asterisks** syntax
19
+ */
20
+ declare const Text: FC<TextProps>;
21
+ export default Text;
@@ -0,0 +1,38 @@
1
+ import { Theme } from '@aurora-ds/theme';
2
+ import { PropsWithChildren } from 'react';
3
+ import { TextVariants } from '@interfaces/text.types.ts';
4
+ export type TextProps = PropsWithChildren<{
5
+ /** Text variant that determines the HTML tag and default styling */
6
+ variant?: TextVariants;
7
+ /** Text color from theme */
8
+ color?: keyof Theme['colors'];
9
+ /** Font size from theme (overrides variant fontSize if provided) */
10
+ fontSize?: keyof Theme['fontSize'];
11
+ /** Font family override (CSS value) */
12
+ fontFamily?: string;
13
+ /** Maximum number of lines before truncation with ellipsis */
14
+ maxLines?: number;
15
+ /** Add underline text decoration */
16
+ underline?: boolean;
17
+ /** Preserve whitespace and line breaks */
18
+ preserveWhitespace?: boolean;
19
+ /** Accessibility label for screen readers */
20
+ ariaLabel?: string;
21
+ /** ID of element that labels this text */
22
+ ariaLabelledBy?: string;
23
+ /** ID of element that describes this text */
24
+ ariaDescribedBy?: string;
25
+ /** ARIA role */
26
+ role?: string;
27
+ /** Tab index for keyboard navigation */
28
+ tabIndex?: number;
29
+ }>;
30
+ export type TextStyleParams = {
31
+ variant?: TextVariants;
32
+ color?: keyof Theme['colors'];
33
+ fontSize?: keyof Theme['fontSize'];
34
+ fontFamily?: string;
35
+ maxLines?: number;
36
+ underline?: boolean;
37
+ preserveWhitespace?: boolean;
38
+ };
@@ -0,0 +1,4 @@
1
+ import { TextStyleParams } from '@components/foundation/text/Text.props.ts';
2
+ export declare const TEXT_STYLES: {
3
+ root: (args_0: TextStyleParams) => string;
4
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Text } from '@components/foundation/text/Text.tsx';
2
+ export type { TextProps } from '@components/foundation/text/Text.props.ts';
@@ -1,13 +1,19 @@
1
- export * from '@components/data-display/icon';
1
+ export * from '@components/foundation/icon';
2
+ export * from '@components/foundation/text';
2
3
  export * from '@components/data-display/chip';
3
- export * from '@components/layout/text';
4
- export * from '@components/inputs/button';
5
- export * from '@components/inputs/icon-button';
4
+ export * from '@components/actions/button';
5
+ export * from '@components/actions/icon-button';
6
+ export * from '@components/forms/form';
7
+ export * from '@components/forms/input';
8
+ export * from '@components/forms/textarea';
6
9
  export * from '@components/layout/stack';
7
10
  export * from '@components/layout/card';
8
11
  export * from '@components/layout/grid';
9
- export * from '@components/layout/accordion';
12
+ export * from '@components/layout/page-construction/page-section';
13
+ export * from '@components/layout/page-construction/page';
14
+ export * from '@components/overlay/accordion';
10
15
  export * from '@components/navigation/drawer-item';
16
+ export * from '@components/navigation/breadcrumb';
11
17
  export type { ButtonVariants, ButtonVariantStyle } from '@interfaces/button.types';
12
18
  export type { TextVariants, TextVariantStyle } from '@interfaces/text.types';
13
19
  export type { ChipVariant, ChipColor, ChipSize } from '@interfaces/chip.types';
@@ -0,0 +1,6 @@
1
+ import { InputProps } from '@components/inputs/input/Input.props.ts';
2
+ /**
3
+ * Input component
4
+ */
5
+ declare const Input: import("react").ForwardRefExoticComponent<InputProps & import("react").RefAttributes<HTMLInputElement>>;
6
+ export default Input;
@@ -0,0 +1,17 @@
1
+ export type InputProps = {
2
+ /** The value of the input */
3
+ value: string;
4
+ /** Callback fired when the value changes */
5
+ onChange: (value: string) => void;
6
+ /** Placeholder text */
7
+ placeholder?: string;
8
+ /** Whether the input is disabled */
9
+ disabled?: boolean;
10
+ /** Input type */
11
+ type?: 'text' | 'password' | 'email' | 'number';
12
+ /** Accessibility label */
13
+ ariaLabel?: string;
14
+ };
15
+ export type InputStyleParams = {
16
+ disabled?: boolean;
17
+ };
@@ -0,0 +1,7 @@
1
+ import { InputStyleParams } from '@components/inputs/input/Input.props.ts';
2
+ /**
3
+ * Input styles using createStyles from @aurora-ds/theme
4
+ */
5
+ export declare const INPUT_STYLES: {
6
+ root: (args_0: InputStyleParams) => string;
7
+ };
@@ -0,0 +1,2 @@
1
+ export { default as Input } from '@components/inputs/input/Input.tsx';
2
+ export type { InputProps } from '@components/inputs/input/Input.props.ts';