@secondstaxorg/sscomp 1.7.85 → 1.7.87

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.7.85",
3
+ "version": "1.7.87",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -1,3 +1,4 @@
1
1
  export declare const SearchBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
2
  export declare const SearchBox: import("styled-components").StyledComponent<"input", any, {}, never>;
3
3
  export declare const SearchButton: import("styled-components").StyledComponent<"button", any, {}, never>;
4
+ export declare const ConsolidatedContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -8,4 +8,8 @@ export interface SearchProps extends React.HTMLAttributes<any> {
8
8
  * Function to be called when the search button is clicked
9
9
  */
10
10
  submitFxn: (val: string | undefined) => void;
11
+ /**
12
+ * Specify if the button should be consolidated into the search field or should stand alone
13
+ */
14
+ consolidateBtn?: boolean;
11
15
  }
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { statusProps } from "./type";
3
+ import '../../styles/typography.css';
3
4
  /**
4
5
  * Badges to displayed to show the status of something
5
6
  */
@@ -2,7 +2,7 @@ export interface statusProps {
2
2
  /**
3
3
  * The status of the item
4
4
  */
5
- status: 'default' | 'warning' | 'primary' | 'neutral' | 'success' | 'error';
5
+ status: 'default' | 'warning' | 'primary' | 'neutral' | 'success' | 'error' | 'initiated' | 'in-progress' | 'pending' | 'approved' | 'uploaded' | 'denied' | 'completed' | 'cancelled';
6
6
  /**
7
7
  * Label of the status
8
8
  */
@@ -10,5 +10,9 @@ export interface statusProps {
10
10
  /**
11
11
  * How wide should the badge be
12
12
  */
13
- width?: number | "fit-content";
13
+ width?: number | string;
14
+ /**
15
+ * Specify if the badge should be large or small
16
+ */
17
+ size?: 'sm' | 'lg';
14
18
  }