colibri-ui 0.8.97 → 0.8.99

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 (166) hide show
  1. package/Accordion/index.js +4 -2
  2. package/Accordion/index.props.d.ts +2 -1
  3. package/Avatar/index.js +2 -5
  4. package/Avatar/index.props.d.ts +2 -1
  5. package/Badge/Control/index.props.d.ts +2 -1
  6. package/Badge/index.js +1 -2
  7. package/Button/index.js +0 -1
  8. package/Checkbox/index.js +4 -2
  9. package/Checkbox/index.props.d.ts +2 -1
  10. package/Chip/index.js +2 -4
  11. package/Chip/index.props.d.ts +2 -2
  12. package/ColorPicker/ColorPicker.d.ts +1 -1
  13. package/ColorPicker/ColorPicker.js +4 -2
  14. package/ColorPicker/index.props.d.ts +2 -1
  15. package/Counter/index.js +4 -2
  16. package/Counter/index.props.d.ts +2 -1
  17. package/Datepicker/index.d.ts +1 -1
  18. package/Datepicker/index.js +5 -3
  19. package/Datepicker/index.props.d.ts +2 -1
  20. package/DotsLoader/index.js +5 -2
  21. package/DotsLoader/index.props.d.ts +2 -1
  22. package/Dropdown/index.js +2 -2
  23. package/Dropdown/index.props.d.ts +2 -1
  24. package/Grid/index.js +3 -1
  25. package/Grid/index.props.d.ts +2 -1
  26. package/InputRadio/index.js +3 -3
  27. package/InputRadio/index.props.d.ts +2 -2
  28. package/Menu/components/MenuItem/index.js +0 -1
  29. package/Menu/components/MenuItem/index.props.d.ts +2 -1
  30. package/Menu/index.d.ts +1 -1
  31. package/Menu/index.js +4 -2
  32. package/Menu/index.props.d.ts +2 -1
  33. package/Modal/index.js +3 -1
  34. package/Modal/index.props.d.ts +2 -1
  35. package/MultiSelect/index.js +3 -1
  36. package/NavigationMenu/NavigationMenu.d.ts +3 -0
  37. package/NavigationMenu/NavigationMenu.js +170 -0
  38. package/NavigationMenu/NavigationMenu.module.css +67 -0
  39. package/NavigationMenu/components/MoreMenu/MoreMenu.module.css +19 -0
  40. package/NavigationMenu/components/MoreMenu/index.d.ts +16 -0
  41. package/NavigationMenu/components/MoreMenu/index.js +155 -0
  42. package/NavigationMenu/components/NavigationLink/NavigationLink.module.css +59 -0
  43. package/NavigationMenu/components/NavigationLink/index.d.ts +16 -0
  44. package/NavigationMenu/components/NavigationLink/index.js +51 -0
  45. package/NavigationMenu/helpers.d.ts +9 -0
  46. package/NavigationMenu/helpers.js +20 -0
  47. package/NavigationMenu/index.d.ts +2 -0
  48. package/NavigationMenu/index.js +7 -0
  49. package/NavigationMenu/index.props.d.ts +40 -0
  50. package/NavigationMenu/package.json +9 -0
  51. package/NavigationMenu/splitItems.d.ts +30 -0
  52. package/NavigationMenu/splitItems.js +54 -0
  53. package/NavigationMenu/useOverflowSplit.d.ts +25 -0
  54. package/NavigationMenu/useOverflowSplit.js +63 -0
  55. package/RadioGroup/Radio.js +2 -2
  56. package/RadioGroup/index.js +1 -1
  57. package/RadioGroup/index.props.d.ts +1 -1
  58. package/Select/index.d.ts +1 -1
  59. package/Select/index.js +4 -3
  60. package/Separator/index.js +6 -4
  61. package/Separator/index.props.d.ts +2 -1
  62. package/Skeleton/index.js +6 -2
  63. package/Skeleton/index.props.d.ts +3 -2
  64. package/Status/index.d.ts +1 -1
  65. package/Status/index.js +3 -1
  66. package/Status/index.props.d.ts +2 -1
  67. package/TextArea/index.js +0 -1
  68. package/Theme/index.d.ts +8 -0
  69. package/Theme/themes/buenos_aires.d.ts +4 -0
  70. package/Theme/themes/buenos_aires.js +4 -0
  71. package/Theme/themes/jaipur.d.ts +4 -0
  72. package/Theme/themes/jaipur.js +4 -0
  73. package/TimeSelect/index.js +3 -1
  74. package/Tooltip/index.js +3 -1
  75. package/Tooltip/index.props.d.ts +2 -1
  76. package/base/FormField/index.d.ts +1 -1
  77. package/base/FormField/index.js +4 -2
  78. package/base/FormField/index.props.d.ts +2 -1
  79. package/esm/Accordion/index.js +4 -2
  80. package/esm/Accordion/index.props.d.ts +2 -1
  81. package/esm/Avatar/index.js +2 -5
  82. package/esm/Avatar/index.props.d.ts +2 -1
  83. package/esm/Badge/Control/index.props.d.ts +2 -1
  84. package/esm/Badge/index.js +1 -2
  85. package/esm/Button/index.js +0 -1
  86. package/esm/Checkbox/index.js +4 -2
  87. package/esm/Checkbox/index.props.d.ts +2 -1
  88. package/esm/Chip/index.js +2 -4
  89. package/esm/Chip/index.props.d.ts +2 -2
  90. package/esm/ColorPicker/ColorPicker.d.ts +1 -1
  91. package/esm/ColorPicker/ColorPicker.js +4 -2
  92. package/esm/ColorPicker/index.props.d.ts +2 -1
  93. package/esm/Counter/index.js +4 -2
  94. package/esm/Counter/index.props.d.ts +2 -1
  95. package/esm/Datepicker/index.d.ts +1 -1
  96. package/esm/Datepicker/index.js +5 -3
  97. package/esm/Datepicker/index.props.d.ts +2 -1
  98. package/esm/DotsLoader/index.js +5 -2
  99. package/esm/DotsLoader/index.props.d.ts +2 -1
  100. package/esm/Dropdown/index.js +2 -2
  101. package/esm/Dropdown/index.props.d.ts +2 -1
  102. package/esm/Grid/index.js +3 -1
  103. package/esm/Grid/index.props.d.ts +2 -1
  104. package/esm/InputRadio/index.js +3 -3
  105. package/esm/InputRadio/index.props.d.ts +2 -2
  106. package/esm/Menu/components/MenuItem/index.js +0 -1
  107. package/esm/Menu/components/MenuItem/index.props.d.ts +2 -1
  108. package/esm/Menu/index.d.ts +1 -1
  109. package/esm/Menu/index.js +4 -2
  110. package/esm/Menu/index.props.d.ts +2 -1
  111. package/esm/Modal/index.js +3 -1
  112. package/esm/Modal/index.props.d.ts +2 -1
  113. package/esm/MultiSelect/index.js +3 -1
  114. package/esm/NavigationMenu/NavigationMenu.d.ts +3 -0
  115. package/esm/NavigationMenu/NavigationMenu.js +162 -0
  116. package/esm/NavigationMenu/NavigationMenu.module.css +67 -0
  117. package/esm/NavigationMenu/components/MoreMenu/MoreMenu.module.css +19 -0
  118. package/esm/NavigationMenu/components/MoreMenu/index.d.ts +16 -0
  119. package/esm/NavigationMenu/components/MoreMenu/index.js +147 -0
  120. package/esm/NavigationMenu/components/NavigationLink/NavigationLink.module.css +59 -0
  121. package/esm/NavigationMenu/components/NavigationLink/index.d.ts +16 -0
  122. package/esm/NavigationMenu/components/NavigationLink/index.js +41 -0
  123. package/esm/NavigationMenu/helpers.d.ts +9 -0
  124. package/esm/NavigationMenu/helpers.js +15 -0
  125. package/esm/NavigationMenu/index.d.ts +2 -0
  126. package/esm/NavigationMenu/index.js +1 -0
  127. package/esm/NavigationMenu/index.props.d.ts +40 -0
  128. package/esm/NavigationMenu/splitItems.d.ts +30 -0
  129. package/esm/NavigationMenu/splitItems.js +51 -0
  130. package/esm/NavigationMenu/useOverflowSplit.d.ts +25 -0
  131. package/esm/NavigationMenu/useOverflowSplit.js +61 -0
  132. package/esm/RadioGroup/Radio.js +2 -2
  133. package/esm/RadioGroup/index.js +1 -1
  134. package/esm/RadioGroup/index.props.d.ts +1 -1
  135. package/esm/Select/index.d.ts +1 -1
  136. package/esm/Select/index.js +4 -3
  137. package/esm/Separator/index.js +6 -4
  138. package/esm/Separator/index.props.d.ts +2 -1
  139. package/esm/Skeleton/index.js +6 -2
  140. package/esm/Skeleton/index.props.d.ts +3 -2
  141. package/esm/Status/index.d.ts +1 -1
  142. package/esm/Status/index.js +3 -1
  143. package/esm/Status/index.props.d.ts +2 -1
  144. package/esm/TextArea/index.js +0 -1
  145. package/esm/Theme/index.d.ts +8 -0
  146. package/esm/Theme/themes/buenos_aires.d.ts +4 -0
  147. package/esm/Theme/themes/buenos_aires.js +4 -0
  148. package/esm/Theme/themes/jaipur.d.ts +4 -0
  149. package/esm/Theme/themes/jaipur.js +4 -0
  150. package/esm/TimeSelect/index.js +3 -1
  151. package/esm/Tooltip/index.js +3 -1
  152. package/esm/Tooltip/index.props.d.ts +2 -1
  153. package/esm/base/FormField/index.d.ts +1 -1
  154. package/esm/base/FormField/index.js +4 -2
  155. package/esm/base/FormField/index.props.d.ts +2 -1
  156. package/esm/helpers/testId.d.ts +18 -0
  157. package/esm/index.d.ts +3 -0
  158. package/esm/index.js +1 -0
  159. package/esm/theme_ba_variables.css +4 -0
  160. package/esm/theme_jaipur_variables.css +4 -0
  161. package/helpers/testId.d.ts +18 -0
  162. package/index.d.ts +3 -0
  163. package/index.js +3 -0
  164. package/package.json +1 -1
  165. package/theme_ba_variables.css +4 -0
  166. package/theme_jaipur_variables.css +4 -0
@@ -1,4 +1,5 @@
1
1
  import type { ReactNode } from "react";
2
+ import type { TestIdProps } from "../helpers/testId";
2
3
  export type StatusTag = "span" | "div";
3
4
  export declare enum STATUS_TYPE {
4
5
  SUCCESS = "success",
@@ -6,7 +7,7 @@ export declare enum STATUS_TYPE {
6
7
  INFO = "info",
7
8
  WARNING = "warning"
8
9
  }
9
- export type StatusProps = {
10
+ export type StatusProps = TestIdProps & {
10
11
  className?: string;
11
12
  indicator?: ReactNode;
12
13
  showIndicator?: boolean;
@@ -44,7 +44,6 @@ const TextArea = _a => {
44
44
  hasError: hasError
45
45
  }, /*#__PURE__*/React.createElement(TextareaAutosize, Object.assign({
46
46
  ref: inputRef,
47
- "data-testid": "textarea",
48
47
  disabled: disabled,
49
48
  minRows: minRows,
50
49
  maxRows: maxRows,
@@ -692,7 +692,11 @@ export declare const THEMES: {
692
692
  "component-pagination-bg-current": string;
693
693
  "component-pagination-bg-hover": string;
694
694
  "component-pagination-focus-ring": string;
695
+ "component-navigation-item-text": string;
696
+ "component-navigation-item-text-selected": string;
697
+ "component-navigation-item-bg-hover": string;
695
698
  "component-navigation-item-bg-selected": string;
699
+ "component-navigation-item-focus-ring": string;
696
700
  "component-chip-bg-selected": string;
697
701
  "component-chip-bg-selected-strong": string;
698
702
  "palette-black": string;
@@ -1536,7 +1540,11 @@ export declare const THEMES: {
1536
1540
  "component-pagination-bg-current": string;
1537
1541
  "component-pagination-bg-hover": string;
1538
1542
  "component-pagination-focus-ring": string;
1543
+ "component-navigation-item-text": string;
1544
+ "component-navigation-item-text-selected": string;
1545
+ "component-navigation-item-bg-hover": string;
1539
1546
  "component-navigation-item-bg-selected": string;
1547
+ "component-navigation-item-focus-ring": string;
1540
1548
  "component-chip-bg-selected": string;
1541
1549
  "component-chip-bg-selected-strong": string;
1542
1550
  "palette-black": string;
@@ -613,7 +613,11 @@ declare const _default: {
613
613
  "component-pagination-bg-current": string;
614
614
  "component-pagination-bg-hover": string;
615
615
  "component-pagination-focus-ring": string;
616
+ "component-navigation-item-text": string;
617
+ "component-navigation-item-text-selected": string;
618
+ "component-navigation-item-bg-hover": string;
616
619
  "component-navigation-item-bg-selected": string;
620
+ "component-navigation-item-focus-ring": string;
617
621
  "component-chip-bg-selected": string;
618
622
  "component-chip-bg-selected-strong": string;
619
623
  "palette-black": string;
@@ -615,7 +615,11 @@ var THEME_BA = {
615
615
  "component-pagination-bg-current": Color.BRAND_BA_FOREST,
616
616
  "component-pagination-bg-hover": Color.NEUTRAL_BA_100,
617
617
  "component-pagination-focus-ring": Color.BRAND_BA_LIME,
618
+ "component-navigation-item-text": Color.BRAND_BA_FOREST,
619
+ "component-navigation-item-text-selected": Color.BRAND_BA_LIME,
620
+ "component-navigation-item-bg-hover": Color.NEUTRAL_BA_100,
618
621
  "component-navigation-item-bg-selected": Color.BRAND_BA_FOREST,
622
+ "component-navigation-item-focus-ring": Color.BRAND_BA_LIME,
619
623
  "component-chip-bg-selected": Color.BRAND_BA_FOREST,
620
624
  "component-chip-bg-selected-strong": Color.BRAND_BA_LIME,
621
625
  "palette-black": Color.BRAND_BA_FOREST,
@@ -613,7 +613,11 @@ declare const _default: {
613
613
  "component-pagination-bg-current": string;
614
614
  "component-pagination-bg-hover": string;
615
615
  "component-pagination-focus-ring": string;
616
+ "component-navigation-item-text": string;
617
+ "component-navigation-item-text-selected": string;
618
+ "component-navigation-item-bg-hover": string;
616
619
  "component-navigation-item-bg-selected": string;
620
+ "component-navigation-item-focus-ring": string;
617
621
  "component-chip-bg-selected": string;
618
622
  "component-chip-bg-selected-strong": string;
619
623
  "palette-black": string;
@@ -615,7 +615,11 @@ var theme_jaipur = {
615
615
  "component-pagination-bg-current": Color.BRAND_JP_EGGPLANT,
616
616
  "component-pagination-bg-hover": Color.NEUTRAL_JP_100,
617
617
  "component-pagination-focus-ring": Color.BRAND_JP_PINK,
618
+ "component-navigation-item-text": Color.BRAND_JP_EGGPLANT,
619
+ "component-navigation-item-text-selected": Color.BRAND_JP_PINK,
620
+ "component-navigation-item-bg-hover": Color.NEUTRAL_JP_100,
618
621
  "component-navigation-item-bg-selected": Color.BRAND_JP_EGGPLANT,
622
+ "component-navigation-item-focus-ring": Color.BRAND_JP_PINK,
619
623
  "component-chip-bg-selected": Color.BRAND_JP_EGGPLANT,
620
624
  "component-chip-bg-selected-strong": Color.BRAND_JP_PINK,
621
625
  "palette-black": Color.BRAND_JP_EGGPLANT,
@@ -23,7 +23,8 @@ const TimeSelect = ({
23
23
  zIndex,
24
24
  hasError,
25
25
  hint,
26
- "aria-label": ariaLabel
26
+ "aria-label": ariaLabel,
27
+ "data-testid": testId
27
28
  }) => {
28
29
  const baseOptions = useMemo(() => generateSuggest(interval).map(item => ({
29
30
  value: item.time,
@@ -39,6 +40,7 @@ const TimeSelect = ({
39
40
  }), [baseOptions, currentDate, selectedDate, allowedTimeRange, interval]);
40
41
  return /*#__PURE__*/React.createElement(Select, {
41
42
  "aria-label": ariaLabel,
43
+ "data-testid": testId,
42
44
  className: className,
43
45
  customInputRoot: customInputRoot,
44
46
  fontSize: fontSize,
@@ -10,7 +10,8 @@ const Tooltip = ({
10
10
  withTail = false,
11
11
  placement = "bottom",
12
12
  strategy = "absolute",
13
- className
13
+ className,
14
+ "data-testid": testId
14
15
  }) => {
15
16
  const [isOpen, setIsOpen] = useState(false);
16
17
  const arrowRef = useRef(null);
@@ -58,6 +59,7 @@ const Tooltip = ({
58
59
  ref: refs.setFloating
59
60
  }, getFloatingProps(), {
60
61
  className: clsx(styles.tooltip, className),
62
+ "data-testid": testId,
61
63
  style: Object.assign(Object.assign({}, floatingStyles), {
62
64
  zIndex
63
65
  })
@@ -1,6 +1,7 @@
1
1
  import type { Placement, Strategy } from "@floating-ui/react";
2
2
  import type { ReactNode } from "react";
3
- export type TooltipProps = {
3
+ import type { PopupTestIdProps } from "../helpers/testId";
4
+ export type TooltipProps = PopupTestIdProps & {
4
5
  content: ReactNode;
5
6
  zIndex?: number;
6
7
  placement?: Placement;
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import type { FormFieldProps } from "./index.props";
3
- export declare const FormField: ({ label, hint, children, hasError, hintId, htmlFor, labelId, required, className, ref, }: FormFieldProps) => React.JSX.Element;
3
+ export declare const FormField: ({ label, hint, children, hasError, hintId, htmlFor, labelId, required, className, ref, "data-testid": testId, }: FormFieldProps) => React.JSX.Element;
@@ -13,10 +13,12 @@ const FormField = ({
13
13
  labelId,
14
14
  required,
15
15
  className,
16
- ref
16
+ ref,
17
+ "data-testid": testId
17
18
  }) => (/*#__PURE__*/React.createElement("div", {
18
19
  className: clsx(styles.container, className),
19
- ref: ref
20
+ ref: ref,
21
+ "data-testid": testId
20
22
  }, label && (/*#__PURE__*/React.createElement(Typography, {
21
23
  className: clsx(styles.label, {
22
24
  [styles.label_required]: Boolean(required)
@@ -1,6 +1,7 @@
1
1
  import type { ReactNode } from "react";
2
2
  import type { PropsWithChildren } from "react";
3
- export type FormFieldProps = PropsWithChildren<{
3
+ import type { TestIdProps } from "../../helpers/testId";
4
+ export type FormFieldProps = PropsWithChildren<TestIdProps & {
4
5
  className?: string;
5
6
  hasError?: boolean;
6
7
  hint?: ReactNode;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * A test id a consumer gives a component; the component puts it on its own
3
+ * root element. Fields put it on the native control. Components set no test
4
+ * id of their own. A component without a root of its own takes
5
+ * `PopupTestIdProps` instead.
6
+ */
7
+ export type TestIdProps = {
8
+ "data-testid"?: string;
9
+ };
10
+ /**
11
+ * A test id of a popup (`Dropdown`, `Tooltip`): it names the floating panel,
12
+ * which is in the DOM only while open. The trigger is the consumer's own
13
+ * element and keeps its own `data-testid`; the component never writes one on
14
+ * it.
15
+ */
16
+ export type PopupTestIdProps = {
17
+ "data-testid"?: string;
18
+ };
package/esm/index.d.ts CHANGED
@@ -52,6 +52,8 @@ export { Modal, ModalHeader, ModalTitle, ModalBody, ModalFooter, } from "./Modal
52
52
  export type { ModalProps, ModalHeaderProps, ModalTitleProps, ModalBodyProps, ModalFooterProps, } from "./Modal/index.props";
53
53
  export { MultiSelect } from "./MultiSelect";
54
54
  export type { MultiSelectProps } from "./MultiSelect/index.props";
55
+ export { NavigationMenu } from "./NavigationMenu";
56
+ export type { NavigationMenuItem, NavigationMenuLayout, NavigationMenuLinkProps, NavigationMenuProps, NavigationMenuRenderLink, NavigationMenuSize, } from "./NavigationMenu";
55
57
  export { NumberInput } from "./NumberInput";
56
58
  export type { NumberInputGroupStyle, NumberInputProps, NumberInputSize, NumberInputValues, } from "./NumberInput";
57
59
  export { Pagination, getPaginationItems } from "./Pagination";
@@ -95,3 +97,4 @@ export type { TypographyFontWeight, TypographyProps, TypographyResponsiveSize, T
95
97
  export { useMediaSizes } from "./hooks/useMediaSizes";
96
98
  export { useScrollLock } from "./hooks/useScrollLock";
97
99
  export * from "./Icons";
100
+ export type { PopupTestIdProps, TestIdProps } from "./helpers/testId";
package/esm/index.js CHANGED
@@ -26,6 +26,7 @@ export { Menu } from './Menu/index.js';
26
26
  export { MenuItem } from './Menu/components/MenuItem/index.js';
27
27
  export { Modal } from './Modal/index.js';
28
28
  export { MultiSelect } from './MultiSelect/index.js';
29
+ export { NavigationMenu } from './NavigationMenu/NavigationMenu.js';
29
30
  export { NumberInput } from './NumberInput/NumberInput.js';
30
31
  export { Pagination } from './Pagination/Pagination.js';
31
32
  export { getPaginationItems } from './Pagination/helpers.js';
@@ -613,7 +613,11 @@
613
613
  --component-pagination-bg-current: #163300;
614
614
  --component-pagination-bg-hover: #EDF0EA;
615
615
  --component-pagination-focus-ring: #9FE870;
616
+ --component-navigation-item-text: #163300;
617
+ --component-navigation-item-text-selected: #9FE870;
618
+ --component-navigation-item-bg-hover: #EDF0EA;
616
619
  --component-navigation-item-bg-selected: #163300;
620
+ --component-navigation-item-focus-ring: #9FE870;
617
621
  --component-chip-bg-selected: #163300;
618
622
  --component-chip-bg-selected-strong: #9FE870;
619
623
  --palette-black: #163300;
@@ -613,7 +613,11 @@
613
613
  --component-pagination-bg-current: #2C2242;
614
614
  --component-pagination-bg-hover: #F2F1EE;
615
615
  --component-pagination-focus-ring: #FFA8CD;
616
+ --component-navigation-item-text: #2C2242;
617
+ --component-navigation-item-text-selected: #FFA8CD;
618
+ --component-navigation-item-bg-hover: #F2F1EE;
616
619
  --component-navigation-item-bg-selected: #2C2242;
620
+ --component-navigation-item-focus-ring: #FFA8CD;
617
621
  --component-chip-bg-selected: #2C2242;
618
622
  --component-chip-bg-selected-strong: #FFA8CD;
619
623
  --palette-black: #2C2242;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * A test id a consumer gives a component; the component puts it on its own
3
+ * root element. Fields put it on the native control. Components set no test
4
+ * id of their own. A component without a root of its own takes
5
+ * `PopupTestIdProps` instead.
6
+ */
7
+ export type TestIdProps = {
8
+ "data-testid"?: string;
9
+ };
10
+ /**
11
+ * A test id of a popup (`Dropdown`, `Tooltip`): it names the floating panel,
12
+ * which is in the DOM only while open. The trigger is the consumer's own
13
+ * element and keeps its own `data-testid`; the component never writes one on
14
+ * it.
15
+ */
16
+ export type PopupTestIdProps = {
17
+ "data-testid"?: string;
18
+ };
package/index.d.ts CHANGED
@@ -52,6 +52,8 @@ export { Modal, ModalHeader, ModalTitle, ModalBody, ModalFooter, } from "./Modal
52
52
  export type { ModalProps, ModalHeaderProps, ModalTitleProps, ModalBodyProps, ModalFooterProps, } from "./Modal/index.props";
53
53
  export { MultiSelect } from "./MultiSelect";
54
54
  export type { MultiSelectProps } from "./MultiSelect/index.props";
55
+ export { NavigationMenu } from "./NavigationMenu";
56
+ export type { NavigationMenuItem, NavigationMenuLayout, NavigationMenuLinkProps, NavigationMenuProps, NavigationMenuRenderLink, NavigationMenuSize, } from "./NavigationMenu";
55
57
  export { NumberInput } from "./NumberInput";
56
58
  export type { NumberInputGroupStyle, NumberInputProps, NumberInputSize, NumberInputValues, } from "./NumberInput";
57
59
  export { Pagination, getPaginationItems } from "./Pagination";
@@ -95,3 +97,4 @@ export type { TypographyFontWeight, TypographyProps, TypographyResponsiveSize, T
95
97
  export { useMediaSizes } from "./hooks/useMediaSizes";
96
98
  export { useScrollLock } from "./hooks/useScrollLock";
97
99
  export * from "./Icons";
100
+ export type { PopupTestIdProps, TestIdProps } from "./helpers/testId";
package/index.js CHANGED
@@ -27,6 +27,7 @@ var index$e = require('./Menu/index.js');
27
27
  var index$f = require('./Menu/components/MenuItem/index.js');
28
28
  var index$g = require('./Modal/index.js');
29
29
  var index$l = require('./MultiSelect/index.js');
30
+ require('./NavigationMenu/index.js');
30
31
  require('./NumberInput/index.js');
31
32
  require('./Pagination/index.js');
32
33
  var index$m = require('./Portal/index.js');
@@ -81,6 +82,7 @@ var index$i = require('./Modal/components/Footer/index.js');
81
82
  var index$j = require('./Modal/components/Header/index.js');
82
83
  var index$k = require('./Modal/components/Title/index.js');
83
84
  var More = require('./Icons/More.js');
85
+ var NavigationMenu = require('./NavigationMenu/NavigationMenu.js');
84
86
  var NumberInput = require('./NumberInput/NumberInput.js');
85
87
  var Pagination = require('./Pagination/Pagination.js');
86
88
  var Pipette = require('./Icons/Pipette.js');
@@ -174,6 +176,7 @@ exports.ModalFooter = index$i.Footer;
174
176
  exports.ModalHeader = index$j.Header;
175
177
  exports.ModalTitle = index$k.Title;
176
178
  exports.More = More.More;
179
+ exports.NavigationMenu = NavigationMenu.NavigationMenu;
177
180
  exports.NumberInput = NumberInput.NumberInput;
178
181
  exports.Pagination = Pagination.Pagination;
179
182
  exports.Pipette = Pipette.Pipette;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "colibri-ui",
3
- "version": "0.8.97",
3
+ "version": "0.8.99",
4
4
  "description": "React UI components library",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -613,7 +613,11 @@
613
613
  --component-pagination-bg-current: #163300;
614
614
  --component-pagination-bg-hover: #EDF0EA;
615
615
  --component-pagination-focus-ring: #9FE870;
616
+ --component-navigation-item-text: #163300;
617
+ --component-navigation-item-text-selected: #9FE870;
618
+ --component-navigation-item-bg-hover: #EDF0EA;
616
619
  --component-navigation-item-bg-selected: #163300;
620
+ --component-navigation-item-focus-ring: #9FE870;
617
621
  --component-chip-bg-selected: #163300;
618
622
  --component-chip-bg-selected-strong: #9FE870;
619
623
  --palette-black: #163300;
@@ -613,7 +613,11 @@
613
613
  --component-pagination-bg-current: #2C2242;
614
614
  --component-pagination-bg-hover: #F2F1EE;
615
615
  --component-pagination-focus-ring: #FFA8CD;
616
+ --component-navigation-item-text: #2C2242;
617
+ --component-navigation-item-text-selected: #FFA8CD;
618
+ --component-navigation-item-bg-hover: #F2F1EE;
616
619
  --component-navigation-item-bg-selected: #2C2242;
620
+ --component-navigation-item-focus-ring: #FFA8CD;
617
621
  --component-chip-bg-selected: #2C2242;
618
622
  --component-chip-bg-selected-strong: #FFA8CD;
619
623
  --palette-black: #2C2242;