@secondstaxorg/sscomp 1.6.7 → 1.6.8
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/dist/index.es.js +308 -216
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +468 -244
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +300 -208
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
- package/types/components/DatePicker/style.d.ts +1 -0
- package/types/components/DatePicker/type.d.ts +7 -0
- package/types/components/DropdownList/style.d.ts +1 -1
- package/types/components/DropdownList/type.d.ts +7 -0
- package/types/components/MarketData/helpers.d.ts +2 -0
- package/types/components/Ribbon/style.d.ts +1 -0
- package/types/components/SSXBar/style.d.ts +1 -0
- package/types/components/SSXBar/types.d.ts +3 -2
- package/types/components/Selector/styles.d.ts +4 -0
- package/types/components/Selector/types.d.ts +28 -2
- package/types/components/TextField/style.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secondstaxorg/sscomp",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "
|
|
9
|
+
"url": "https://github.com/Secondstax/sscomp.git"
|
|
10
10
|
},
|
|
11
11
|
"description": "A react component library for secondstax",
|
|
12
12
|
"main": "dist/index.min.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"chromatic-force": "npx chromatic --project-token=chpt_2b0f52cf5545391 --force-rebuild"
|
|
28
28
|
},
|
|
29
29
|
"author": {
|
|
30
|
-
"name": "augustus Otu,
|
|
30
|
+
"name": "augustus Otu, Mark Obuobi"
|
|
31
31
|
},
|
|
32
32
|
"license": "ISC",
|
|
33
33
|
"devDependencies": {
|
|
@@ -2,3 +2,4 @@ export declare const InputLabel: import("styled-components").StyledComponent<"di
|
|
|
2
2
|
export declare const DatePickerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const InputField: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const CalendarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const ErrorMessage: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
@@ -23,5 +23,12 @@ export interface DatePickerProps {
|
|
|
23
23
|
* Placeholder text for the datepicker field
|
|
24
24
|
*/
|
|
25
25
|
placeholder?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Determine how wide the date picker field should be
|
|
28
|
+
*/
|
|
26
29
|
width?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Specify whether the field is a required field
|
|
32
|
+
*/
|
|
33
|
+
required?: boolean;
|
|
27
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
export declare const InputLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
2
|
export declare const FieldContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const LabelContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const DropdownField: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const DisabledContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const DropdownIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -33,5 +33,12 @@ export interface DropdownProps {
|
|
|
33
33
|
* Boolean to specify whether the list is searchable
|
|
34
34
|
*/
|
|
35
35
|
searchable?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Specify the width of the component
|
|
38
|
+
*/
|
|
36
39
|
width?: number | "fit-content";
|
|
40
|
+
/**
|
|
41
|
+
* Boolean to specify whether the field is required
|
|
42
|
+
*/
|
|
43
|
+
required?: boolean;
|
|
37
44
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
export declare const RibbonGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
2
|
export declare const RibbonContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
3
|
export declare const RibbonItem: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from "react";
|
|
2
|
-
export interface SSXBarProps {
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
export interface SSXBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
background: 'dark' | 'light';
|
|
5
|
+
className?: string;
|
|
5
6
|
}
|
|
@@ -1 +1,5 @@
|
|
|
1
|
+
export declare const MainContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const FieldContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const InputLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const SrInput: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
1
5
|
export declare const SelectorContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -12,6 +12,32 @@ export interface SelectorProps {
|
|
|
12
12
|
selectedItem: (a: {
|
|
13
13
|
label: string;
|
|
14
14
|
value?: string;
|
|
15
|
-
} |
|
|
16
|
-
|
|
15
|
+
} | {
|
|
16
|
+
label: string;
|
|
17
|
+
value?: string;
|
|
18
|
+
}[] | null) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Specify the CSS width of the component
|
|
21
|
+
*/
|
|
22
|
+
width?: number | string;
|
|
23
|
+
/**
|
|
24
|
+
* Specify whether multiple options can be selected
|
|
25
|
+
*/
|
|
26
|
+
multiSelect?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Specify whether the field is required
|
|
29
|
+
*/
|
|
30
|
+
required?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Label for the field
|
|
33
|
+
*/
|
|
34
|
+
label?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Accompanying subtext for the label
|
|
37
|
+
*/
|
|
38
|
+
subText?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Custom error message to be displayed when validation fails
|
|
41
|
+
*/
|
|
42
|
+
errMsg?: string;
|
|
17
43
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const InputLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const MainContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
3
|
export declare const InputField: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
3
4
|
export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
5
|
export declare const ErrorMessage: import("styled-components").StyledComponent<"p", any, {}, never>;
|