@nulogy/components 9.0.1 → 9.0.3

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.
@@ -52,3 +52,4 @@ export declare const SetToDisabled: {
52
52
  name: string;
53
53
  };
54
54
  };
55
+ export declare const WithConditionallyRenderedMenuItems: () => React.JSX.Element;
@@ -1,3 +1,7 @@
1
1
  import React from "react";
2
- declare const MaybeFieldLabel: ({ labelText, children, ...props }: any) => React.JSX.Element;
2
+ import type { FieldLabelProps } from "./FieldLabel.type";
3
+ interface Props extends Omit<FieldLabelProps, "id"> {
4
+ labelText: string | undefined;
5
+ }
6
+ declare const MaybeFieldLabel: ({ labelText, children, ...props }: Props) => React.JSX.Element;
3
7
  export default MaybeFieldLabel;
@@ -69,3 +69,4 @@ export declare const WithAFooter: {
69
69
  name: string;
70
70
  };
71
71
  };
72
+ export declare const WithRowBorder: () => React.JSX.Element;
@@ -14,5 +14,5 @@ type TextareaProps = StyledTextareaProps & {
14
14
  rows?: number;
15
15
  isResizeable?: boolean;
16
16
  };
17
- declare const Textarea: React.FC<TextareaProps>;
17
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
18
18
  export default Textarea;
@@ -1,5 +1,6 @@
1
1
  import { TooltipProps } from "../Tooltip/Tooltip";
2
- export type TruncatedTextProps = {
2
+ import { TextProps } from "../Type";
3
+ export interface TruncatedTextProps extends TextProps {
3
4
  children?: string;
4
5
  indicator?: string;
5
6
  element?: any;
@@ -8,4 +9,4 @@ export type TruncatedTextProps = {
8
9
  fullWidth?: boolean;
9
10
  "data-testid"?: string;
10
11
  tooltipProps?: TooltipProps;
11
- };
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nulogy/components",
3
- "version": "9.0.1",
3
+ "version": "9.0.3",
4
4
  "description": "Component library for the Nulogy Design System - http://nulogy.design",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -76,7 +76,7 @@
76
76
  "@storybook/addon-actions": "^6.1.9",
77
77
  "@storybook/addon-knobs": "^6.1.9",
78
78
  "@storybook/addon-storysource": "^6.1.9",
79
- "@storybook/addon-viewport": "^6.1.9",
79
+ "@storybook/addon-viewport": "^7.6.6",
80
80
  "@storybook/codemod": "^6.1.9",
81
81
  "@storybook/react": "^6.3.12",
82
82
  "@storybook/theming": "^6.1.9",
@@ -88,7 +88,6 @@
88
88
  "@types/react-datepicker": "^4.1.0",
89
89
  "@types/react-dom": "^17.0.20",
90
90
  "@types/styled-components": "^5.1.9",
91
- "@types/styled-system": "^5.1.11",
92
91
  "@typescript-eslint/eslint-plugin": "^4.0.0",
93
92
  "@typescript-eslint/parser": "^5.30.5",
94
93
  "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
@@ -164,7 +163,8 @@
164
163
  "react-resize-detector": "^9.1.0",
165
164
  "react-windowed-select": "2.0.5",
166
165
  "smoothscroll-polyfill": "^0.4.4",
167
- "styled-system": "^5.1.4"
166
+ "styled-system": "^5.1.4",
167
+ "@types/styled-system": "5.1.22"
168
168
  },
169
169
  "husky": {
170
170
  "hooks": {